diff --git a/0033300c-async.6eb5faef.js b/0033300c-async.6eb5faef.js new file mode 100644 index 0000000..37bc2a3 --- /dev/null +++ b/0033300c-async.6eb5faef.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["0033300c"],{"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return c.default;},Prompts:function(){return l.default;},Sender:function(){return u.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return v.default;},XProvider:function(){return f.default;},XRequest:function(){return m.default;},XStream:function(){return b.default;},useXAgent:function(){return I.default;},useXChat:function(){return p.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),c=t._(a("11781cbc")),l=t._(a("5a025bc4")),i=t._(a("e2d1bf07")),s=t._(a("d0c39811")),v=t._(a("0176aebf")),f=t._(a("8b35f51f")),p=t._(a("92b2492a")),I=t._(a("1e122ed0")),b=t._(a("470d5fd8")),m=t._(a("e0f10014"));},"65613a4b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("6ca575ed");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Pie, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u997C\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ],\n "innerRadius": 0.6\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Pie]: Pie },\n style: { width: 350, height: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"752abf58":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("42213b1f");var t="import { Pie } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { category: '\u5206\u7C7B\u4E00', value: 27 },\n { category: '\u5206\u7C7B\u4E8C', value: 25 },\n { category: '\u5206\u7C7B\u4E09', value: 18 },\n { category: '\u5206\u7C7B\u56DB', value: 15 },\n { category: '\u5206\u7C7B\u4E94', value: 10 },\n { category: '\u5176\u4ED6', value: 5 },\n];\n\nexport default () => {\n return ;\n};\n";},"7bc96565":function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return c;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("2bd58e4d");var u=d._(a("df67f0d6")),o=d._(a("1c5d635b"));let c={"pie-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("eae4b260")]).then(a.dr(t,a.bind(a,"d55c5a58"))))),asset:{type:"BLOCK",id:"pie-demo-common",refAtomIds:["Pie"],dependencies:{"index.tsx":{type:"FILE",value:a("752abf58").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"pie-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("eae4b260")]).then(a.dr(t,a.bind(a,"9d705fec"))))),asset:{type:"BLOCK",id:"pie-demo-markdown",refAtomIds:["Pie"],dependencies:{"index.tsx":{type:"FILE",value:a("65613a4b").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE",description:"\u6DFB\u52A0 innerRadius \u5C5E\u6027\u4FEE\u6539\u997C\u56FE\u5185\u534A\u5F84\uFF0C\u8BBE\u7F6E\u4E3A\u73AF\u56FE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return c.default;},GPTVisLite:function(){return l.default;},useEventPublish:function(){return l.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=d._(a("a7265236")),c=d._(a("2c69d5f6")),l=r._(a("033b3748")),i=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},f959d751:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("2bd58e4d");let t=[{value:'{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n',paraId:0,tocIndex:4},{value:"\u5C5E\u6027",paraId:1,tocIndex:6},{value:"\u7C7B\u578B",paraId:1,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:6},{value:"\u8BF4\u660E",paraId:1,tocIndex:6},{value:"data",paraId:1,tocIndex:6},{value:"PieDataItem[]",paraId:1,tocIndex:6},{value:"\u662F",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u997C\u56FE\u6570\u636E",paraId:1,tocIndex:6},{value:"title",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"innerRadius",paraId:1,tocIndex:6},{value:"number",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u997C\u56FE\u5185\u534A\u5F84\uFF0C\u8BBE\u7F6E\u4E3A\u73AF\u56FE",paraId:1,tocIndex:6},{value:"...",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:6},{value:"Ant Design Charts ",paraId:1,tocIndex:6},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"category",paraId:2,tocIndex:7},{value:"string",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6247\u5F62\u533A\u57DF\u7684\u540D\u79F0",paraId:2,tocIndex:7},{value:"value",paraId:2,tocIndex:7},{value:"number",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6247\u5F62\u533A\u57DF\u7684\u503C",paraId:2,tocIndex:7}];}}]); +//# sourceMappingURL=0033300c-async.6eb5faef.js.map \ No newline at end of file diff --git a/0033300c-async.6eb5faef.js.map b/0033300c-async.6eb5faef.js.map new file mode 100644 index 0000000..2c77017 --- /dev/null +++ b/0033300c-async.6eb5faef.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Pie/demos/markdown.tsx?dumi-raw","src/Pie/demos/common.tsx?dumi-raw","src/Pie/index.md?type=demo","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Pie/index.md?type=text"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Pie, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n以下是为你绘制的一个饼图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ],\\n \\\"innerRadius\\\": 0.6\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Pie]: Pie },\\n style: { width: 350, height: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/common.tsx?watch=parent';\n export default \"import { Pie } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { category: '分类一', value: 27 },\\n { category: '分类二', value: 25 },\\n { category: '分类三', value: 18 },\\n { category: '分类四', value: 15 },\\n { category: '分类五', value: 10 },\\n { category: '其他', value: 5 },\\n];\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/index.md?watch=parent';\nimport * as pie_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as pie_demo_common_deps_2 from 'react';\nimport * as pie_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'pie-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Pie__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pie-demo-common\",\n \"refAtomIds\": [\n \"Pie\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": pie_demo_common_deps_1,\n \"react\": pie_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'pie-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Pie__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pie-demo-markdown\",\n \"refAtomIds\": [\n \"Pie\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\",\n \"description\": \"添加 innerRadius 属性修改饼图内半径,设置为环图\"\n},\n context: {\n \"@ant-design/x\": pie_demo_markdown_deps_1,\n \"@antv/gpt-vis\": pie_demo_common_deps_1,\n \"react\": pie_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"PieDataItem[]\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"饼图数据\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"innerRadius\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"number\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"饼图内半径,设置为环图\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"category\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"扇形区域的名称\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"扇形区域的值\",\"paraId\":2,\"tocIndex\":7}];\n "],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,G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,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,uCAAS,OAAS,EAAE,SAAW,CAAC,EAAE"} \ No newline at end of file diff --git a/01ca5838-async.95460b17.js b/01ca5838-async.95460b17.js new file mode 100644 index 0000000..b7a32f8 --- /dev/null +++ b/01ca5838-async.95460b17.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["01ca5838"],{"01ca5838":function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var l=s("777fffbe"),r=s("a2e753d8"),a=l._(s("1b472ae8")),i=l._(s("49f20ac6")),n=s("5ca000fa"),t=l._(s("9b3f9685")),c=s("9d065c04");function h(){let{texts:e}=(0,n.useRouteMeta)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h1",{id:"bar-\u6761\u5F62\u56FE",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#bar-\u6761\u5F62\u56FE",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Bar \u6761\u5F62\u56FE"]}),(0,r.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,r.jsx)(n.DumiDemo,{demo:{id:"bar-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Bar/demos/common.tsx"}}),(0,r.jsx)(n.DumiDemo,{demo:{id:"bar-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Bar/demos/markdown.tsx"}}),(0,r.jsx)(n.DumiDemoGrid,{items:[{demo:{id:"bar-demo-group"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E group \u4E3A true

",title:"\u5206\u7EC4\u6761\u5F62\u56FE",filename:"src/Bar/demos/group.tsx"}},{demo:{id:"bar-demo-stack"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true

",title:"\u5806\u53E0\u6761\u5F62\u56FE",filename:"src/Bar/demos/stack.tsx"}}]}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h2",{id:"spec",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,r.jsx)(a.default,{lang:"json",children:e[0].value}),(0,r.jsxs)("h2",{id:"api",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,r.jsxs)("h3",{id:"barprops",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#barprops",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"BarProps"]}),(0,r.jsxs)(i.default,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[1].value}),(0,r.jsx)("th",{children:e[2].value}),(0,r.jsx)("th",{children:e[3].value}),(0,r.jsx)("th",{children:e[4].value}),(0,r.jsx)("th",{children:e[5].value})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[6].value}),(0,r.jsx)("td",{children:e[7].value}),(0,r.jsx)("td",{children:e[8].value}),(0,r.jsx)("td",{children:e[9].value}),(0,r.jsx)("td",{children:e[10].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[11].value}),(0,r.jsx)("td",{children:e[12].value}),(0,r.jsx)("td",{children:e[13].value}),(0,r.jsx)("td",{children:e[14].value}),(0,r.jsx)("td",{children:e[15].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[16].value}),(0,r.jsx)("td",{children:e[17].value}),(0,r.jsx)("td",{children:e[18].value}),(0,r.jsx)("td",{children:e[19].value}),(0,r.jsx)("td",{children:e[20].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[21].value}),(0,r.jsx)("td",{children:e[22].value}),(0,r.jsx)("td",{children:e[23].value}),(0,r.jsx)("td",{children:e[24].value}),(0,r.jsx)("td",{children:e[25].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[26].value}),(0,r.jsx)("td",{children:e[27].value}),(0,r.jsx)("td",{children:e[28].value}),(0,r.jsx)("td",{children:e[29].value}),(0,r.jsx)("td",{children:e[30].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[31].value}),(0,r.jsx)("td",{children:e[32].value}),(0,r.jsx)("td",{children:e[33].value}),(0,r.jsx)("td",{children:e[34].value}),(0,r.jsx)("td",{children:e[35].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[36].value}),(0,r.jsx)("td",{children:e[37].value}),(0,r.jsx)("td",{children:e[38].value}),(0,r.jsx)("td",{children:e[39].value}),(0,r.jsxs)("td",{children:[e[40].value,(0,r.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[41].value})]})]})]})]}),(0,r.jsxs)("h3",{id:"bardataitem",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#bardataitem",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"BarDataItem"]}),(0,r.jsxs)(i.default,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[42].value}),(0,r.jsx)("th",{children:e[43].value}),(0,r.jsx)("th",{children:e[44].value}),(0,r.jsx)("th",{children:e[45].value}),(0,r.jsx)("th",{children:e[46].value})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[47].value}),(0,r.jsx)("td",{children:e[48].value}),(0,r.jsx)("td",{children:e[49].value}),(0,r.jsx)("td",{children:e[50].value}),(0,r.jsx)("td",{children:e[51].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[52].value}),(0,r.jsx)("td",{children:e[53].value}),(0,r.jsx)("td",{children:e[54].value}),(0,r.jsx)("td",{children:e[55].value}),(0,r.jsx)("td",{children:e[56].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[57].value}),(0,r.jsx)("td",{children:e[58].value}),(0,r.jsx)("td",{children:e[59].value}),(0,r.jsx)("td",{children:e[60].value}),(0,r.jsx)("td",{children:e[61].value})]})]})]})]})]});}var x=function(){return(0,r.jsx)(n.DumiPage,{children:(0,r.jsx)(c.Suspense,{fallback:(0,r.jsx)(t.default,{}),children:(0,r.jsx)(h,{})})});};}}]); +//# sourceMappingURL=01ca5838-async.95460b17.js.map \ No newline at end of file diff --git a/01ca5838-async.95460b17.js.map b/01ca5838-async.95460b17.js.map new file mode 100644 index 0000000..04be5a0 --- /dev/null +++ b/01ca5838-async.95460b17.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Bar/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Bar 条形图\"}

{\"代码演示\"}

在 data 中传入额外的字段,并且设置 group 为 true

\",\n \"title\": \"分组条形图\",\n \"filename\": \"src/Bar/demos/group.tsx\"\n }\n}, {\n \"demo\": {\n \"id\": \"bar-demo-stack\"\n },\n \"previewerProps\": {\n \"description\": \"

在 data 中传入额外的字段,并且设置 stack 为 true

\",\n \"title\": \"堆叠条形图\",\n \"filename\": \"src/Bar/demos/stack.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"BarProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}
{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}
{$$contentTexts[36].value}{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}

{\"BarDataItem\"}

{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}
{$$contentTexts[57].value}{$$contentTexts[58].value}{$$contentTexts[59].value}{$$contentTexts[60].value}{$$contentTexts[61].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA+DA,+CAAA,kDA1DuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,mCAAU,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,mCAAW,UAAC,QAAK,UAAU,qBAAwB,4BAAe,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACjS,KAAQ,CACN,GAAM,iBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,0BACd,IACG,UAAC,UAAQ,EACZ,KAAQ,CACN,GAAM,mBACR,EACA,eAAkB,CAChB,MAAS,qCACT,SAAY,4BACd,IACG,UAAC,cAAY,EAAC,MAAO,CAAC,CACzB,KAAQ,CACN,GAAM,gBACR,EACA,eAAkB,CAChB,YAAe,sHACf,MAAS,iCACT,SAAY,yBACd,CACF,EAAG,CACD,KAAQ,CACN,GAAM,gBACR,EACA,eAAkB,CAChB,YAAe,sHACf,MAAS,iCACT,SAAY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AK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACp4F,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/03d60c13-async.a22ec903.js b/03d60c13-async.a22ec903.js new file mode 100644 index 0000000..50e66a4 --- /dev/null +++ b/03d60c13-async.a22ec903.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["03d60c13"],{"068e9b7f":function(n,e,a){"use strict";var t=a("852bbaa9")._;a.d(e,"__esModule",{value:!0}),a.d(e,"demos",{enumerable:!0,get:function(){return l;}});var r=a("852bbaa9"),o=r._(a("9d065c04"));a("48e642d4");var d=r._(a("df67f0d6")),u=r._(a("1c5d635b"));let l={"bar-demo-common":{component:o.default.memo(o.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2cf24a06")]).then(a.dr(t,a.bind(a,"fd5e13ef"))))),asset:{type:"BLOCK",id:"bar-demo-common",refAtomIds:["Bar"],dependencies:{"index.tsx":{type:"FILE",value:a("0e1d41ed").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":d,react:o},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}},"bar-demo-markdown":{component:o.default.memo(o.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2cf24a06")]).then(a.dr(t,a.bind(a,"1856afc8"))))),asset:{type:"BLOCK",id:"bar-demo-markdown",refAtomIds:["Bar"],dependencies:{"index.tsx":{type:"FILE",value:a("a819f4e8").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:o},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}},"bar-demo-group":{component:o.default.memo(o.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2cf24a06")]).then(a.dr(t,a.bind(a,"0d19db32"))))),asset:{type:"BLOCK",id:"bar-demo-group",refAtomIds:["Bar"],dependencies:{"index.tsx":{type:"FILE",value:a("53361730").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5206\u7EC4\u6761\u5F62\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E group \u4E3A true"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:o},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}},"bar-demo-stack":{component:o.default.memo(o.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2cf24a06")]).then(a.dr(t,a.bind(a,"42afd7cf"))))),asset:{type:"BLOCK",id:"bar-demo-stack",refAtomIds:["Bar"],dependencies:{"index.tsx":{type:"FILE",value:a("bc4b87ef").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5806\u53E0\u6761\u5F62\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:o},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}}};},"0e1d41ed":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("68491f3d");var t="import { Bar } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n \u57CE\u5E02: '\u4E03\u53F0\u6CB3',\n \u9500\u552E\u989D: 52827.32,\n },\n {\n \u57CE\u5E02: '\u4E07\u53BF',\n \u9500\u552E\u989D: 16921.576,\n },\n {\n \u57CE\u5E02: '\u4E09\u4E9A',\n \u9500\u552E\u989D: 22698.396,\n },\n {\n \u57CE\u5E02: '\u4E09\u5C94\u5B50',\n \u9500\u552E\u989D: 3262.98,\n },\n {\n \u57CE\u5E02: '\u4E0A\u6D77',\n \u9500\u552E\u989D: 182450.567,\n },\n {\n \u57CE\u5E02: '\u4E0A\u865E',\n \u9500\u552E\u989D: 10672.872,\n },\n {\n \u57CE\u5E02: '\u4E1C\u4E30',\n \u9500\u552E\u989D: 1785.84,\n },\n {\n \u57CE\u5E02: '\u4E1C\u53F0',\n \u9500\u552E\u989D: 2789.892,\n },\n {\n \u57CE\u5E02: '\u4E1C\u5B81',\n \u9500\u552E\u989D: 2706.2,\n },\n {\n \u57CE\u5E02: '\u4E1C\u6751',\n \u9500\u552E\u989D: 13692.14,\n },\n {\n \u57CE\u5E02: '\u4E1C\u6D77',\n \u9500\u552E\u989D: 4508.28,\n },\n {\n \u57CE\u5E02: '\u4E1C\u80DC',\n \u9500\u552E\u989D: 12766.068,\n },\n {\n \u57CE\u5E02: '\u4E1C\u839E',\n \u9500\u552E\u989D: 10165.89,\n },\n {\n \u57CE\u5E02: '\u4E1C\u8425',\n \u9500\u552E\u989D: 17153.92,\n },\n {\n \u57CE\u5E02: '\u4E2D\u67A2',\n \u9500\u552E\u989D: 1050.42,\n },\n {\n \u57CE\u5E02: '\u4E30\u53BF',\n \u9500\u552E\u989D: 10309.516,\n },\n {\n \u57CE\u5E02: '\u4E30\u9547',\n \u9500\u552E\u989D: 3507.336,\n },\n {\n \u57CE\u5E02: '\u4E34\u6C34',\n \u9500\u552E\u989D: 21443.1,\n },\n {\n \u57CE\u5E02: '\u4E34\u6C5F',\n \u9500\u552E\u989D: 36496.74,\n },\n {\n \u57CE\u5E02: '\u4E34\u6C7E',\n \u9500\u552E\u989D: 26205.48,\n },\n {\n \u57CE\u5E02: '\u4E34\u6C82',\n \u9500\u552E\u989D: 97200.74,\n },\n {\n \u57CE\u5E02: '\u4E34\u6D77',\n \u9500\u552E\u989D: 7071.456,\n },\n {\n \u57CE\u5E02: '\u4E34\u6E05',\n \u9500\u552E\u989D: 38676.12,\n },\n {\n \u57CE\u5E02: '\u4E39\u4E1C',\n \u9500\u552E\u989D: 45447.612,\n },\n {\n \u57CE\u5E02: '\u4E39\u6C5F\u53E3',\n \u9500\u552E\u989D: 4879.616,\n },\n {\n \u57CE\u5E02: '\u4E3D\u6C34',\n \u9500\u552E\u989D: 3983.616,\n },\n {\n \u57CE\u5E02: '\u4E49\u4E4C',\n \u9500\u552E\u989D: 34511.624,\n },\n {\n \u57CE\u5E02: '\u4E49\u9A6C',\n \u9500\u552E\u989D: 1144.024,\n },\n {\n \u57CE\u5E02: '\u4E4C\u6D77',\n \u9500\u552E\u989D: 16096.64,\n },\n {\n \u57CE\u5E02: '\u4E4C\u8FBE',\n \u9500\u552E\u989D: 3474.66,\n },\n {\n \u57CE\u5E02: '\u4E50\u57CE',\n \u9500\u552E\u989D: 3241,\n },\n {\n \u57CE\u5E02: '\u4E50\u5C71',\n \u9500\u552E\u989D: 12561.892,\n },\n {\n \u57CE\u5E02: '\u4E5D\u53F0',\n \u9500\u552E\u989D: 32535.944,\n },\n {\n \u57CE\u5E02: '\u4E5D\u6C5F',\n \u9500\u552E\u989D: 29890.7,\n },\n {\n \u57CE\u5E02: '\u4E8C\u9053\u6C5F',\n \u9500\u552E\u989D: 4461.24,\n },\n {\n \u57CE\u5E02: '\u4E91\u6D6E',\n \u9500\u552E\u989D: 6351.212,\n },\n {\n \u57CE\u5E02: '\u4E91\u9633',\n \u9500\u552E\u989D: 24699.64,\n },\n {\n \u57CE\u5E02: '\u4E94\u5E38',\n \u9500\u552E\u989D: 3771.46,\n },\n {\n \u57CE\u5E02: '\u4EB3\u5DDE',\n \u9500\u552E\u989D: 16961.14,\n },\n {\n \u57CE\u5E02: '\u4ED9\u5C45',\n \u9500\u552E\u989D: 6868.512,\n },\n {\n \u57CE\u5E02: '\u4ED9\u6843',\n \u9500\u552E\u989D: 16600.164,\n },\n {\n \u57CE\u5E02: '\u4EEA\u5F81',\n \u9500\u552E\u989D: 8566.628,\n },\n {\n \u57CE\u5E02: '\u4EFB\u4E18',\n \u9500\u552E\u989D: 12106.78,\n },\n {\n \u57CE\u5E02: '\u4F59\u4E0B',\n \u9500\u552E\u989D: 103.04,\n },\n {\n \u57CE\u5E02: '\u4F59\u59DA',\n \u9500\u552E\u989D: 12621.84,\n },\n {\n \u57CE\u5E02: '\u4F5B\u5C71',\n \u9500\u552E\u989D: 7500.388,\n },\n {\n \u57CE\u5E02: '\u4F73\u6728\u65AF',\n \u9500\u552E\u989D: 63263.34,\n },\n {\n \u57CE\u5E02: '\u4F9D\u5170',\n \u9500\u552E\u989D: 26874.82,\n },\n {\n \u57CE\u5E02: '\u4FDD\u5B9A',\n \u9500\u552E\u989D: 124133.1,\n },\n {\n \u57CE\u5E02: '\u4FE1\u5B9C',\n \u9500\u552E\u989D: 4771.06,\n },\n {\n \u57CE\u5E02: '\u4FE1\u9633',\n \u9500\u552E\u989D: 38849.412,\n },\n {\n \u57CE\u5E02: '\u5156\u5DDE',\n \u9500\u552E\u989D: 28648.2,\n },\n {\n \u57CE\u5E02: '\u516C\u4E3B\u5CAD',\n \u9500\u552E\u989D: 21210.756,\n },\n {\n \u57CE\u5E02: '\u516D\u5408',\n \u9500\u552E\u989D: 5775.98,\n },\n {\n \u57CE\u5E02: '\u5170\u5DDE',\n \u9500\u552E\u989D: 42543.144,\n },\n];\n\nexport default () => {\n return ;\n};\n";},"1c5d635b":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{Attachments:function(){return o.default;},Bubble:function(){return u.default;},Conversations:function(){return l.default;},Prompts:function(){return c.default;},Sender:function(){return d.default;},Suggestion:function(){return i.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return p.default;},XProvider:function(){return v.default;},XRequest:function(){return b.default;},XStream:function(){return m.default;},useXAgent:function(){return g.default;},useXChat:function(){return f.default;},version:function(){return r.default;}});var t=a("777fffbe"),r=t._(a("61551e8a")),o=t._(a("150d8a7a")),d=t._(a("013e81db")),u=t._(a("d161127f")),l=t._(a("11781cbc")),c=t._(a("5a025bc4")),s=t._(a("e2d1bf07")),i=t._(a("d0c39811")),p=t._(a("0176aebf")),v=t._(a("8b35f51f")),f=t._(a("92b2492a")),g=t._(a("1e122ed0")),m=t._(a("470d5fd8")),b=t._(a("e0f10014"));},53361730:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("fbf8d061");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6761\u5F62\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "bar",\n "data": [\n { "group": "London", "category": "Jan.", "value": 18.9 },\n { "group": "London", "category": "Feb.", "value": 28.8 },\n { "group": "London", "category": "Mar.", "value": 39.3 },\n { "group": "London", "category": "Apr.", "value": 81.4 },\n { "group": "London", "category": "May.", "value": 47 },\n { "group": "London", "category": "Jun.", "value": 20.3 },\n { "group": "London", "category": "Jul.", "value": 24 },\n { "group": "London", "category": "Aug.", "value": 35.6 },\n { "group": "Berlin", "category": "Jan.", "value": 12.4 },\n { "group": "Berlin", "category": "Feb.", "value": 23.2 },\n { "group": "Berlin", "category": "Mar.", "value": 34.5 },\n { "group": "Berlin", "category": "Apr.", "value": 99.7 },\n { "group": "Berlin", "category": "May.", "value": 52.6 },\n { "group": "Berlin", "category": "Jun.", "value": 35.5 },\n { "group": "Berlin", "category": "Jul.", "value": 37.4 },\n { "group": "Berlin", "category": "Aug.", "value": 42.4 }\n ],\n "group": true,\n "axisXTitle": "month",\n "axisYTitle": "value"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},a819f4e8:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("a7cff687");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6761\u5F62\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "bar",\n "data": [\n { "category": "1951 \u5E74", "value": 38 },\n { "category": "1952 \u5E74", "value": 52 },\n { "category": "1956 \u5E74", "value": 61 },\n { "category": "1957 \u5E74", "value": 145 },\n { "category": "1958 \u5E74", "value": 48 },\n { "category": "1959 \u5E74", "value": 38 },\n { "category": "1960 \u5E74", "value": 38 },\n { "category": "1962 \u5E74", "value": 38 }\n ],\n "axisXTitle": "year",\n "axisYTitle": "sales"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},b339a21b:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"texts",{enumerable:!0,get:function(){return t;}}),a("48e642d4");let t=[{value:'{\n "type": "bar",\n "data": [\n { "category": "<\u5206\u7C7B\u4E00>", "value": <\u6570\u503C> },\n { "category": "<\u5206\u7C7B\u4E8C>", "value": <\u6570\u503C> },\n { "category": "<\u5206\u7C7B\u4E09>", "value": <\u6570\u503C> }\n ]\n}\n',paraId:0,tocIndex:6},{value:"\u5C5E\u6027",paraId:1,tocIndex:8},{value:"\u7C7B\u578B",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:8},{value:"\u8BF4\u660E",paraId:1,tocIndex:8},{value:"data",paraId:1,tocIndex:8},{value:"BarDataItem[]",paraId:1,tocIndex:8},{value:"\u662F",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u6570\u636E",paraId:1,tocIndex:8},{value:"title",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"group",paraId:1,tocIndex:8},{value:"boolean",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5F00\u542F\u5206\u7EC4\uFF0C\u5F00\u542F\u5206\u7EC4\u6761\u5F62\u56FE\u9700\u6570\u636E\u4E2D\u542B\u6709 group \u5B57\u6BB5",paraId:1,tocIndex:8},{value:"stack",paraId:1,tocIndex:8},{value:"boolean",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5F00\u542F\u5806\u53E0\uFF0C\u5F00\u542F\u5806\u53E0\u6761\u5F62\u56FE\u9700\u6570\u636E\u4E2D\u542B\u6709 group \u5B57\u6BB5",paraId:1,tocIndex:8},{value:"axisXTitle",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"axisYTitle",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"...",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:8},{value:"Ant Design Charts ",paraId:1,tocIndex:8},{value:"\u5C5E\u6027",paraId:2,tocIndex:9},{value:"\u7C7B\u578B",paraId:2,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:9},{value:"\u8BF4\u660E",paraId:2,tocIndex:9},{value:"category",paraId:2,tocIndex:9},{value:"string",paraId:2,tocIndex:9},{value:"\u662F",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7C7B\u540D\u79F0",paraId:2,tocIndex:9},{value:"value",paraId:2,tocIndex:9},{value:"number",paraId:2,tocIndex:9},{value:"\u662F",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7C7B\u503C",paraId:2,tocIndex:9},{value:"group",paraId:2,tocIndex:9},{value:"number",paraId:2,tocIndex:9},{value:"\u5426",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7EC4\u540D\u79F0",paraId:2,tocIndex:9}];},bc4b87ef:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("b31cf3ca");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6761\u5F62\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "bar",\n "data": [\n { "group": "London", "category": "Jan.", "value": 18.9 },\n { "group": "London", "category": "Feb.", "value": 28.8 },\n { "group": "London", "category": "Mar.", "value": 39.3 },\n { "group": "London", "category": "Apr.", "value": 81.4 },\n { "group": "London", "category": "May.", "value": 47 },\n { "group": "London", "category": "Jun.", "value": 20.3 },\n { "group": "London", "category": "Jul.", "value": 24 },\n { "group": "London", "category": "Aug.", "value": 35.6 },\n { "group": "Berlin", "category": "Jan.", "value": 12.4 },\n { "group": "Berlin", "category": "Feb.", "value": 23.2 },\n { "group": "Berlin", "category": "Mar.", "value": 34.5 },\n { "group": "Berlin", "category": "Apr.", "value": 99.7 },\n { "group": "Berlin", "category": "May.", "value": 52.6 },\n { "group": "Berlin", "category": "Jun.", "value": 35.5 },\n { "group": "Berlin", "category": "Jul.", "value": 37.4 },\n { "group": "Berlin", "category": "Aug.", "value": 42.4 }\n ],\n "stack": true,\n "axisXTitle": "month",\n "axisYTitle": "value"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},df67f0d6:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{ConfigProvider:function(){return u.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var t=a("d1751d7c"),r=a("777fffbe"),o=a("852bbaa9");t._(a("5639510f"),e),t._(a("d382b880"),e);var d=a("a574afdb"),u=r._(a("a7265236")),l=r._(a("2c69d5f6")),c=o._(a("033b3748")),s=r._(a("7cf1dc46"));},e7bada6d:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"Source",{enumerable:!0,get:function(){return r.default;}});var t=a("d1751d7c"),r=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),e),t._(a("969efd31"),e),t._(a("f21af0e0"),e),t._(a("33eda958"),e),t._(a("112b9a67"),e),t._(a("a45613fd"),e),t._(a("432777ba"),e);}}]); +//# sourceMappingURL=03d60c13-async.a22ec903.js.map \ No newline at end of file diff --git a/03d60c13-async.a22ec903.js.map b/03d60c13-async.a22ec903.js.map new file mode 100644 index 0000000..799c809 --- /dev/null +++ b/03d60c13-async.a22ec903.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Bar/index.md?type=demo","src/Bar/demos/common.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Bar/demos/group.tsx?dumi-raw","src/Bar/demos/markdown.tsx?dumi-raw","src/Bar/index.md?type=text","src/Bar/demos/stack.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/index.md?watch=parent';\nimport * as bar_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as bar_demo_common_deps_2 from 'react';\nimport * as bar_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'bar-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Bar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"bar-demo-common\",\n \"refAtomIds\": [\n \"Bar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": bar_demo_common_deps_1,\n \"react\": bar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'bar-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Bar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"bar-demo-markdown\",\n \"refAtomIds\": [\n \"Bar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": bar_demo_markdown_deps_1,\n \"@antv/gpt-vis\": bar_demo_common_deps_1,\n \"react\": bar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'bar-demo-group': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Bar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/group.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"bar-demo-group\",\n \"refAtomIds\": [\n \"Bar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/group.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"分组条形图\",\n \"description\": \"在 data 中传入额外的字段,并且设置 group 为 true\"\n},\n context: {\n \"@ant-design/x\": bar_demo_markdown_deps_1,\n \"@antv/gpt-vis\": bar_demo_common_deps_1,\n \"react\": bar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'bar-demo-stack': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Bar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/stack.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"bar-demo-stack\",\n \"refAtomIds\": [\n \"Bar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/stack.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"堆叠条形图\",\n \"description\": \"在 data 中传入额外的字段,并且设置 stack 为 true\"\n},\n context: {\n \"@ant-design/x\": bar_demo_markdown_deps_1,\n \"@antv/gpt-vis\": bar_demo_common_deps_1,\n \"react\": bar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/common.tsx?watch=parent';\n export default \"import { Bar } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n {\\n 城市: '七台河',\\n 销售额: 52827.32,\\n },\\n {\\n 城市: '万县',\\n 销售额: 16921.576,\\n },\\n {\\n 城市: '三亚',\\n 销售额: 22698.396,\\n },\\n {\\n 城市: '三岔子',\\n 销售额: 3262.98,\\n },\\n {\\n 城市: '上海',\\n 销售额: 182450.567,\\n },\\n {\\n 城市: '上虞',\\n 销售额: 10672.872,\\n },\\n {\\n 城市: '东丰',\\n 销售额: 1785.84,\\n },\\n {\\n 城市: '东台',\\n 销售额: 2789.892,\\n },\\n {\\n 城市: '东宁',\\n 销售额: 2706.2,\\n },\\n {\\n 城市: '东村',\\n 销售额: 13692.14,\\n },\\n {\\n 城市: '东海',\\n 销售额: 4508.28,\\n },\\n {\\n 城市: '东胜',\\n 销售额: 12766.068,\\n },\\n {\\n 城市: '东莞',\\n 销售额: 10165.89,\\n },\\n {\\n 城市: '东营',\\n 销售额: 17153.92,\\n },\\n {\\n 城市: '中枢',\\n 销售额: 1050.42,\\n },\\n {\\n 城市: '丰县',\\n 销售额: 10309.516,\\n },\\n {\\n 城市: '丰镇',\\n 销售额: 3507.336,\\n },\\n {\\n 城市: '临水',\\n 销售额: 21443.1,\\n },\\n {\\n 城市: '临江',\\n 销售额: 36496.74,\\n },\\n {\\n 城市: '临汾',\\n 销售额: 26205.48,\\n },\\n {\\n 城市: '临沂',\\n 销售额: 97200.74,\\n },\\n {\\n 城市: '临海',\\n 销售额: 7071.456,\\n },\\n {\\n 城市: '临清',\\n 销售额: 38676.12,\\n },\\n {\\n 城市: '丹东',\\n 销售额: 45447.612,\\n },\\n {\\n 城市: '丹江口',\\n 销售额: 4879.616,\\n },\\n {\\n 城市: '丽水',\\n 销售额: 3983.616,\\n },\\n {\\n 城市: '义乌',\\n 销售额: 34511.624,\\n },\\n {\\n 城市: '义马',\\n 销售额: 1144.024,\\n },\\n {\\n 城市: '乌海',\\n 销售额: 16096.64,\\n },\\n {\\n 城市: '乌达',\\n 销售额: 3474.66,\\n },\\n {\\n 城市: '乐城',\\n 销售额: 3241,\\n },\\n {\\n 城市: '乐山',\\n 销售额: 12561.892,\\n },\\n {\\n 城市: '九台',\\n 销售额: 32535.944,\\n },\\n {\\n 城市: '九江',\\n 销售额: 29890.7,\\n },\\n {\\n 城市: '二道江',\\n 销售额: 4461.24,\\n },\\n {\\n 城市: '云浮',\\n 销售额: 6351.212,\\n },\\n {\\n 城市: '云阳',\\n 销售额: 24699.64,\\n },\\n {\\n 城市: '五常',\\n 销售额: 3771.46,\\n },\\n {\\n 城市: '亳州',\\n 销售额: 16961.14,\\n },\\n {\\n 城市: '仙居',\\n 销售额: 6868.512,\\n },\\n {\\n 城市: '仙桃',\\n 销售额: 16600.164,\\n },\\n {\\n 城市: '仪征',\\n 销售额: 8566.628,\\n },\\n {\\n 城市: '任丘',\\n 销售额: 12106.78,\\n },\\n {\\n 城市: '余下',\\n 销售额: 103.04,\\n },\\n {\\n 城市: '余姚',\\n 销售额: 12621.84,\\n },\\n {\\n 城市: '佛山',\\n 销售额: 7500.388,\\n },\\n {\\n 城市: '佳木斯',\\n 销售额: 63263.34,\\n },\\n {\\n 城市: '依兰',\\n 销售额: 26874.82,\\n },\\n {\\n 城市: '保定',\\n 销售额: 124133.1,\\n },\\n {\\n 城市: '信宜',\\n 销售额: 4771.06,\\n },\\n {\\n 城市: '信阳',\\n 销售额: 38849.412,\\n },\\n {\\n 城市: '兖州',\\n 销售额: 28648.2,\\n },\\n {\\n 城市: '公主岭',\\n 销售额: 21210.756,\\n },\\n {\\n 城市: '六合',\\n 销售额: 5775.98,\\n },\\n {\\n 城市: '兰州',\\n 销售额: 42543.144,\\n },\\n];\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/group.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个条形图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"bar\\\",\\n \\\"data\\\": [\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jan.\\\", \\\"value\\\": 18.9 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Feb.\\\", \\\"value\\\": 28.8 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Mar.\\\", \\\"value\\\": 39.3 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Apr.\\\", \\\"value\\\": 81.4 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"May.\\\", \\\"value\\\": 47 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jun.\\\", \\\"value\\\": 20.3 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jul.\\\", \\\"value\\\": 24 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Aug.\\\", \\\"value\\\": 35.6 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jan.\\\", \\\"value\\\": 12.4 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Feb.\\\", \\\"value\\\": 23.2 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Mar.\\\", \\\"value\\\": 34.5 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Apr.\\\", \\\"value\\\": 99.7 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"May.\\\", \\\"value\\\": 52.6 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jun.\\\", \\\"value\\\": 35.5 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jul.\\\", \\\"value\\\": 37.4 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Aug.\\\", \\\"value\\\": 42.4 }\\n ],\\n \\\"group\\\": true,\\n \\\"axisXTitle\\\": \\\"month\\\",\\n \\\"axisYTitle\\\": \\\"value\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Bar]: Bar },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个条形图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"bar\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"1951 年\\\", \\\"value\\\": 38 },\\n { \\\"category\\\": \\\"1952 年\\\", \\\"value\\\": 52 },\\n { \\\"category\\\": \\\"1956 年\\\", \\\"value\\\": 61 },\\n { \\\"category\\\": \\\"1957 年\\\", \\\"value\\\": 145 },\\n { \\\"category\\\": \\\"1958 年\\\", \\\"value\\\": 48 },\\n { \\\"category\\\": \\\"1959 年\\\", \\\"value\\\": 38 },\\n { \\\"category\\\": \\\"1960 年\\\", \\\"value\\\": 38 },\\n { \\\"category\\\": \\\"1962 年\\\", \\\"value\\\": 38 }\\n ],\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"sales\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Bar]: Bar },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"bar\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"<分类一>\\\", \\\"value\\\": <数值> },\\n { \\\"category\\\": \\\"<分类二>\\\", \\\"value\\\": <数值> },\\n { \\\"category\\\": \\\"<分类三>\\\", \\\"value\\\": <数值> }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"BarDataItem[]\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"group\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"boolean\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否开启分组,开启分组条形图需数据中含有 group 字段\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"stack\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"boolean\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否开启堆叠,开启堆叠条形图需数据中含有 group 字段\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":8},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"category\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分类名称\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分类值\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"group\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分组名称\",\"paraId\":2,\"tocIndex\":9}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/stack.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个条形图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"bar\\\",\\n \\\"data\\\": [\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jan.\\\", \\\"value\\\": 18.9 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Feb.\\\", \\\"value\\\": 28.8 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Mar.\\\", \\\"value\\\": 39.3 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Apr.\\\", \\\"value\\\": 81.4 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"May.\\\", \\\"value\\\": 47 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jun.\\\", \\\"value\\\": 20.3 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Jul.\\\", \\\"value\\\": 24 },\\n { \\\"group\\\": \\\"London\\\", \\\"category\\\": \\\"Aug.\\\", \\\"value\\\": 35.6 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jan.\\\", \\\"value\\\": 12.4 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Feb.\\\", \\\"value\\\": 23.2 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Mar.\\\", \\\"value\\\": 34.5 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Apr.\\\", \\\"value\\\": 99.7 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"May.\\\", \\\"value\\\": 52.6 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jun.\\\", \\\"value\\\": 35.5 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Jul.\\\", \\\"value\\\": 37.4 },\\n { \\\"group\\\": \\\"Berlin\\\", \\\"category\\\": \\\"Aug.\\\", \\\"value\\\": 42.4 }\\n ],\\n \\\"stack\\\": true,\\n \\\"axisXTitle\\\": \\\"month\\\",\\n \\\"axisYTitle\\\": \\\"value\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Bar]: Bar },\\n});\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"qRAKa,6CAAA,kCALK,eACX,wBACiC,qBAEE,aACnC,IAAM,EAAQ,CACnB,kBAAmB,CACjB,UAAW,SAAK,C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@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["12b214d4"],{"1c5d635b":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return c.default;},Prompts:function(){return l.default;},Sender:function(){return o.default;},Suggestion:function(){return i.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return f.default;},XProvider:function(){return I.default;},XRequest:function(){return x.default;},XStream:function(){return m.default;},useXAgent:function(){return p.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var t=n("777fffbe"),d=t._(n("61551e8a")),r=t._(n("150d8a7a")),o=t._(n("013e81db")),u=t._(n("d161127f")),c=t._(n("11781cbc")),l=t._(n("5a025bc4")),s=t._(n("e2d1bf07")),i=t._(n("d0c39811")),f=t._(n("0176aebf")),I=t._(n("8b35f51f")),v=t._(n("92b2492a")),p=t._(n("1e122ed0")),m=t._(n("470d5fd8")),x=t._(n("e0f10014"));},"6e5a3421":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"texts",{enumerable:!0,get:function(){return t;}}),n("7843f419");let t=[{value:"\u6D41\u7A0B\u56FE\uFF0C\u7528\u4E8E\u76F4\u89C2\u5730\u8868\u793A\u8FC7\u7A0B\u6216\u7CFB\u7EDF\u7684\u6B65\u9AA4\u548C\u51B3\u7B56\u70B9\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "flow-diagram",\n "data": {\n "nodes": [{ "name": "node1" }, { "name": "node2" }],\n "edges": [{ "source": "node1", "target": "node2", "name": "edge1" }]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"FlowDiagramData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"nodes",paraId:3,tocIndex:7},{value:"FlowDiagramNode[]",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7F51\u7EDC\u56FE\u4E2D\u7684\u8282\u70B9\u6570\u7EC4\uFF0C\u6BCF\u4E2A\u8282\u70B9\u8868\u793A\u4E00\u4E2A\u5B9E\u4F53",paraId:3,tocIndex:7},{value:"edges",paraId:3,tocIndex:7},{value:"FlowDiagramEdge[]",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7F51\u7EDC\u56FE\u4E2D\u7684\u8FB9\u6570\u7EC4\uFF0C\u6BCF\u6761\u8FB9\u8868\u793A\u4E24\u4E2A\u8282\u70B9\u4E4B\u95F4\u7684\u5173\u7CFB",paraId:3,tocIndex:7},{value:"\u5C5E\u6027",paraId:4,tocIndex:8},{value:"\u7C7B\u578B",paraId:4,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:4,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:8},{value:"\u8BF4\u660E",paraId:4,tocIndex:8},{value:"name",paraId:4,tocIndex:8},{value:"string",paraId:4,tocIndex:8},{value:"\u662F",paraId:4,tocIndex:8},{value:"-",paraId:4,tocIndex:8},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u5FC5\u987B\u552F\u4E00\uFF0C\u7528\u4E8E\u6807\u8BC6\u8282\u70B9",paraId:4,tocIndex:8},{value:"\u5C5E\u6027",paraId:5,tocIndex:9},{value:"\u7C7B\u578B",paraId:5,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:5,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:9},{value:"\u8BF4\u660E",paraId:5,tocIndex:9},{value:"source",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u662F",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u8D77\u59CB\u8282\u70B9\u540D\u79F0\uFF0C\u6307\u5411 ",paraId:5,tocIndex:9},{value:"FlowDiagramNode",paraId:5,tocIndex:9},{value:" \u7684 ",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:" \u5C5E\u6027",paraId:5,tocIndex:9},{value:"target",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u662F",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u76EE\u6807\u8282\u70B9\u540D\u79F0\uFF0C\u6307\u5411 ",paraId:5,tocIndex:9},{value:"FlowDiagramNode",paraId:5,tocIndex:9},{value:" \u7684 ",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:" \u5C5E\u6027",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u5426",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u540D\u79F0\uFF0C\u7528\u4E8E\u6807\u8BC6\u8FB9",paraId:5,tocIndex:9}];},cda29c86:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("4f7c7a04");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, FlowDiagram, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6D41\u7A0B\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "flow-diagram",\n "data": {\n "nodes": [\n { "name": "\u5BA2\u6237\u4E0B\u5355" },\n { "name": "\u7CFB\u7EDF\u751F\u6210\u8BA2\u5355" },\n { "name": "\u4ED3\u5E93\u62E3\u8D27" },\n { "name": "\u4ED3\u5E93\u6253\u5305" },\n { "name": "\u7269\u6D41\u914D\u9001" },\n { "name": "\u5BA2\u6237\u6536\u8D27" }\n ],\n "edges": [\n { "source": "\u5BA2\u6237\u4E0B\u5355", "target": "\u7CFB\u7EDF\u751F\u6210\u8BA2\u5355" },\n { "source": "\u7CFB\u7EDF\u751F\u6210\u8BA2\u5355", "target": "\u4ED3\u5E93\u62E3\u8D27" },\n { "source": "\u4ED3\u5E93\u62E3\u8D27", "target": "\u4ED3\u5E93\u6253\u5305" },\n { "source": "\u4ED3\u5E93\u6253\u5305", "target": "\u7269\u6D41\u914D\u9001" },\n { "source": "\u7269\u6D41\u914D\u9001", "target": "\u5BA2\u6237\u6536\u8D27" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.FlowDiagram]: FlowDiagram },\n style: { width: 500, height: 250 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},cfc0ed85:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("a71666f1");var t="import { FlowDiagram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n nodes: [\n { name: '\u8BBF\u95EE\u6CE8\u518C\u9875\u9762' },\n { name: '\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355' },\n { name: '\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F' },\n { name: '\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237' },\n { name: '\u63D0\u793A\u4FEE\u6539\u9519\u8BEF\u4FE1\u606F' },\n { name: '\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6' },\n { name: '\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5' },\n { name: '\u6CE8\u518C\u6210\u529F\uFF0C\u8DF3\u8F6C\u5230\u767B\u5F55\u9875\u9762' },\n ],\n edges: [\n { source: '\u8BBF\u95EE\u6CE8\u518C\u9875\u9762', target: '\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355' },\n { source: '\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355', target: '\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F' },\n { source: '\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F', target: '\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237', name: '\u4FE1\u606F\u65E0\u8BEF' },\n { source: '\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F', target: '\u63D0\u793A\u4FEE\u6539\u9519\u8BEF\u4FE1\u606F', name: '\u4FE1\u606F\u6709\u8BEF' },\n { source: '\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237', target: '\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6' },\n { source: '\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6', target: '\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5' },\n { source: '\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5', target: '\u6CE8\u518C\u6210\u529F\uFF0C\u8DF3\u8F6C\u5230\u767B\u5F55\u9875\u9762' },\n ],\n};\n\nexport default () => ;\n";},df67f0d6:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{ConfigProvider:function(){return u.default;},GPTVis:function(){return c.default;},GPTVisLite:function(){return l.default;},useEventPublish:function(){return l.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=n("d1751d7c"),d=n("777fffbe"),r=n("852bbaa9");t._(n("5639510f"),a),t._(n("d382b880"),a);var o=n("a574afdb"),u=d._(n("a7265236")),c=d._(n("2c69d5f6")),l=r._(n("033b3748")),s=d._(n("7cf1dc46"));},e7bada6d:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"Source",{enumerable:!0,get:function(){return d.default;}});var t=n("d1751d7c"),d=n("777fffbe")._(n("b00709ad"));t._(n("5e2dda25"),a),t._(n("969efd31"),a),t._(n("f21af0e0"),a),t._(n("33eda958"),a),t._(n("112b9a67"),a),t._(n("a45613fd"),a),t._(n("432777ba"),a);},f34637ac:function(e,a,n){"use strict";var t=n("852bbaa9")._;n.d(a,"__esModule",{value:!0}),n.d(a,"demos",{enumerable:!0,get:function(){return c;}});var d=n("852bbaa9"),r=d._(n("9d065c04"));n("7843f419");var o=d._(n("df67f0d6")),u=d._(n("1c5d635b"));let c={"flowdiagram-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("faadd566")]).then(n.dr(t,n.bind(n,"65ff8f37"))))),asset:{type:"BLOCK",id:"flowdiagram-demo-common",refAtomIds:["FlowDiagram"],dependencies:{"index.tsx":{type:"FILE",value:n("cfc0ed85").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}},"flowdiagram-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("faadd566")]).then(n.dr(t,n.bind(n,"c8ae6864"))))),asset:{type:"BLOCK",id:"flowdiagram-demo-markdown",refAtomIds:["FlowDiagram"],dependencies:{"index.tsx":{type:"FILE",value:n("cda29c86").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}}};}}]); +//# sourceMappingURL=12b214d4-async.ce9a9534.js.map \ No newline at end of file diff --git a/12b214d4-async.ce9a9534.js.map b/12b214d4-async.ce9a9534.js.map new file mode 100644 index 0000000..8e9fd97 --- /dev/null +++ b/12b214d4-async.ce9a9534.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/FlowDiagram/index.md?type=text","src/FlowDiagram/demos/markdown.tsx?dumi-raw","src/FlowDiagram/demos/common.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/FlowDiagram/index.md?type=demo"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/index.md?watch=parent';\n export const texts = [{\"value\":\"流程图,用于直观地表示过程或系统的步骤和决策点。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"flow-diagram\\\",\\n \\\"data\\\": {\\n \\\"nodes\\\": [{ \\\"name\\\": \\\"node1\\\" }, { \\\"name\\\": \\\"node2\\\" }],\\n \\\"edges\\\": [{ \\\"source\\\": \\\"node1\\\", \\\"target\\\": \\\"node2\\\", \\\"name\\\": \\\"edge1\\\" }]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"FlowDiagramData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"nodes\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"FlowDiagramNode[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"网络图中的节点数组,每个节点表示一个实体\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"edges\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"FlowDiagramEdge[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"网络图中的边数组,每条边表示两个节点之间的关系\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"name\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"节点的名称,必须唯一,用于标识节点\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"source\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的起始节点名称,指向 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"FlowDiagramNode\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 的 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"target\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的目标节点名称,指向 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"FlowDiagramNode\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 的 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的名称,用于标识边\",\"paraId\":5,\"tocIndex\":9}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, FlowDiagram, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个流程图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"flow-diagram\\\",\\n \\\"data\\\": {\\n \\\"nodes\\\": [\\n { \\\"name\\\": \\\"客户下单\\\" },\\n { \\\"name\\\": \\\"系统生成订单\\\" },\\n { \\\"name\\\": \\\"仓库拣货\\\" },\\n { \\\"name\\\": \\\"仓库打包\\\" },\\n { \\\"name\\\": \\\"物流配送\\\" },\\n { \\\"name\\\": \\\"客户收货\\\" }\\n ],\\n \\\"edges\\\": [\\n { \\\"source\\\": \\\"客户下单\\\", \\\"target\\\": \\\"系统生成订单\\\" },\\n { \\\"source\\\": \\\"系统生成订单\\\", \\\"target\\\": \\\"仓库拣货\\\" },\\n { \\\"source\\\": \\\"仓库拣货\\\", \\\"target\\\": \\\"仓库打包\\\" },\\n { \\\"source\\\": \\\"仓库打包\\\", \\\"target\\\": \\\"物流配送\\\" },\\n { \\\"source\\\": \\\"物流配送\\\", \\\"target\\\": \\\"客户收货\\\" }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.FlowDiagram]: FlowDiagram },\\n style: { width: 500, height: 250 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/common.tsx?watch=parent';\n export default \"import { FlowDiagram } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n nodes: [\\n { name: '访问注册页面' },\\n { name: '填写并提交注册表单' },\\n { name: '验证用户信息' },\\n { name: '创建新用户账户' },\\n { name: '提示修改错误信息' },\\n { name: '发送验证邮件' },\\n { name: '点击验证链接' },\\n { name: '注册成功,跳转到登录页面' },\\n ],\\n edges: [\\n { source: '访问注册页面', target: '填写并提交注册表单' },\\n { source: '填写并提交注册表单', target: '验证用户信息' },\\n { source: '验证用户信息', target: '创建新用户账户', name: '信息无误' },\\n { source: '验证用户信息', target: '提示修改错误信息', name: '信息有误' },\\n { source: '创建新用户账户', target: '发送验证邮件' },\\n { source: '发送验证邮件', target: '点击验证链接' },\\n { source: '点击验证链接', target: '注册成功,跳转到登录页面' },\\n ],\\n};\\n\\nexport default () => ;\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/index.md?watch=parent';\nimport * as flowdiagram_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as flowdiagram_demo_common_deps_2 from 'react';\nimport * as flowdiagram_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'flowdiagram-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"FlowDiagram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"flowdiagram-demo-common\",\n \"refAtomIds\": [\n \"FlowDiagram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": flowdiagram_demo_common_deps_1,\n \"react\": flowdiagram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'flowdiagram-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"FlowDiagram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"flowdiagram-demo-markdown\",\n \"refAtomIds\": [\n \"FlowDiagram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": flowdiagram_demo_markdown_deps_1,\n \"@antv/gpt-vis\": flowdiagram_demo_common_deps_1,\n \"react\": flowdiagram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAA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BAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF"} \ No newline at end of file diff --git a/1c1f66b7-async.fe17fcb7.js b/1c1f66b7-async.fe17fcb7.js new file mode 100644 index 0000000..ffa4d01 --- /dev/null +++ b/1c1f66b7-async.fe17fcb7.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["1c1f66b7"],{"1020249a":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("491fceda");let t=[{value:'{\n "type": "treemap",\n "data": [\n {\n "name": "<\u5206\u7C7B\u540D\u79F0\u4E00>",\n "value": <\u6570\u503C>,\n "children": [\n { "name": "<\u5B50\u5206\u7C7B\u540D\u79F0>", "value": <\u6570\u503C> },\n { "name": "<\u5B50\u5206\u7C7B\u540D\u79F0>", "value": <\u6570\u503C> },\n { "name": "<\u5B50\u5206\u7C7B\u540D\u79F0>", "value": <\u6570\u503C> }\n ]\n },\n {\n "name": "<\u5206\u7C7B\u540D\u79F0\u4E8C>",\n "value": <\u6570\u503C>,\n "children": [\n { "name": "<\u5B50\u5206\u7C7B\u540D\u79F0>", "value": <\u6570\u503C> },\n { "name": "<\u5B50\u5206\u7C7B\u540D\u79F0>", "value": <\u6570\u503C> }\n ]\n }\n ],\n}\n',paraId:0,tocIndex:4},{value:"\u5C5E\u6027",paraId:1,tocIndex:6},{value:"\u7C7B\u578B",paraId:1,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:6},{value:"\u8BF4\u660E",paraId:1,tocIndex:6},{value:"data",paraId:1,tocIndex:6},{value:"TreeNode[]",paraId:1,tocIndex:6},{value:"\u662F",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u6570\u636E",paraId:1,tocIndex:6},{value:"title",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"...",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:6},{value:"Ant Design Charts ",paraId:1,tocIndex:6},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"name",paraId:2,tocIndex:7},{value:"string",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u5206\u7C7B\u540D\u79F0",paraId:2,tocIndex:7},{value:"value",paraId:2,tocIndex:7},{value:"number",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u5206\u7C7B\u7684\u6570\u503C\u5927\u5C0F",paraId:2,tocIndex:7},{value:"children",paraId:2,tocIndex:7},{value:"TreeNode[]",paraId:2,tocIndex:7},{value:"\u5426",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u5B50\u5206\u7C7B\u5217\u8868",paraId:2,tocIndex:7}];},"14e6e495":function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return l;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("491fceda");var u=d._(a("df67f0d6")),o=d._(a("1c5d635b"));let l={"treemap-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("d78fc9ed")]).then(a.dr(t,a.bind(a,"bfbc2563"))))),asset:{type:"BLOCK",id:"treemap-demo-common",refAtomIds:["Treemap"],dependencies:{"index.tsx":{type:"FILE",value:a("de6b3d24").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"treemap-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("d78fc9ed")]).then(a.dr(t,a.bind(a,"32aa6a66"))))),asset:{type:"BLOCK",id:"treemap-demo-markdown",refAtomIds:["Treemap"],dependencies:{"index.tsx":{type:"FILE",value:a("a6da6983").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return l.default;},Prompts:function(){return c.default;},Sender:function(){return u.default;},Suggestion:function(){return v.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return i.default;},XProvider:function(){return f.default;},XRequest:function(){return b.default;},XStream:function(){return I.default;},useXAgent:function(){return p.default;},useXChat:function(){return m.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),l=t._(a("11781cbc")),c=t._(a("5a025bc4")),s=t._(a("e2d1bf07")),v=t._(a("d0c39811")),i=t._(a("0176aebf")),f=t._(a("8b35f51f")),m=t._(a("92b2492a")),p=t._(a("1e122ed0")),I=t._(a("470d5fd8")),b=t._(a("e0f10014"));},a6da6983:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("39551e86");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Treemap, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u77E9\u9635\u6811\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "treemap",\n "data": [\n {\n "name": "\u4EA7\u54C1A",\n "value": 500,\n "children": [\n { "name": "\u5B50\u4EA7\u54C1A1", "value": 200 },\n { "name": "\u5B50\u4EA7\u54C1A2", "value": 300 }\n ]\n },\n { "name": "\u4EA7\u54C1B", "value": 400 }\n ]\n}\n\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Treemap]: Treemap },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},de6b3d24:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("2c47140d");var t="import { Treemap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { name: '\u5206\u7C7B 1', value: 560 },\n { name: '\u5206\u7C7B 2', value: 500 },\n { name: '\u5206\u7C7B 3', value: 150 },\n { name: '\u5206\u7C7B 4', value: 140 },\n { name: '\u5206\u7C7B 5', value: 115 },\n { name: '\u5206\u7C7B 6', value: 95 },\n { name: '\u5206\u7C7B 7', value: 90 },\n { name: '\u5206\u7C7B 8', value: 75 },\n { name: '\u5206\u7C7B 9', value: 98 },\n { name: '\u5206\u7C7B 10', value: 60 },\n { name: '\u5206\u7C7B 11', value: 45 },\n { name: '\u5206\u7C7B 12', value: 40 },\n { name: '\u5206\u7C7B 13', value: 40 },\n { name: '\u5206\u7C7B 14', value: 35 },\n { name: '\u5206\u7C7B 15', value: 40 },\n { name: '\u5206\u7C7B 16', value: 40 },\n { name: '\u5206\u7C7B 17', value: 40 },\n { name: '\u5206\u7C7B 18', value: 30 },\n { name: '\u5206\u7C7B 19', value: 28 },\n { name: '\u5206\u7C7B 20', value: 16 },\n];\n\nexport default () => {\n return ;\n};\n";},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=d._(a("a7265236")),l=d._(a("2c69d5f6")),c=r._(a("033b3748")),s=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);}}]); +//# sourceMappingURL=1c1f66b7-async.fe17fcb7.js.map \ No newline at end of file diff --git a/1c1f66b7-async.fe17fcb7.js.map b/1c1f66b7-async.fe17fcb7.js.map new file mode 100644 index 0000000..1856c23 --- /dev/null +++ b/1c1f66b7-async.fe17fcb7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Treemap/index.md?type=text","src/Treemap/index.md?type=demo","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Treemap/demos/markdown.tsx?dumi-raw","src/Treemap/demos/common.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"treemap\\\",\\n \\\"data\\\": [\\n {\\n \\\"name\\\": \\\"<分类名称一>\\\",\\n \\\"value\\\": <数值>,\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"<子分类名称>\\\", \\\"value\\\": <数值> },\\n { \\\"name\\\": \\\"<子分类名称>\\\", \\\"value\\\": <数值> },\\n { \\\"name\\\": \\\"<子分类名称>\\\", \\\"value\\\": <数值> }\\n ]\\n },\\n {\\n \\\"name\\\": \\\"<分类名称二>\\\",\\n \\\"value\\\": <数值>,\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"<子分类名称>\\\", \\\"value\\\": <数值> },\\n { \\\"name\\\": \\\"<子分类名称>\\\", \\\"value\\\": <数值> }\\n ]\\n }\\n ],\\n}\\n\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"TreeNode[]\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"name\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"分类名称\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"分类的数值大小\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"children\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"TreeNode[]\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"子分类列表\",\"paraId\":2,\"tocIndex\":7}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/index.md?watch=parent';\nimport * as treemap_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as treemap_demo_common_deps_2 from 'react';\nimport * as treemap_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'treemap-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Treemap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"treemap-demo-common\",\n \"refAtomIds\": [\n \"Treemap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": treemap_demo_common_deps_1,\n \"react\": treemap_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'treemap-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Treemap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"treemap-demo-markdown\",\n \"refAtomIds\": [\n \"Treemap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": treemap_demo_markdown_deps_1,\n \"@antv/gpt-vis\": treemap_demo_common_deps_1,\n \"react\": treemap_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Treemap, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个矩阵树图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"treemap\\\",\\n \\\"data\\\": [\\n {\\n \\\"name\\\": \\\"产品A\\\",\\n \\\"value\\\": 500,\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"子产品A1\\\", \\\"value\\\": 200 },\\n { \\\"name\\\": \\\"子产品A2\\\", \\\"value\\\": 300 }\\n ]\\n },\\n { \\\"name\\\": \\\"产品B\\\", \\\"value\\\": 400 }\\n ]\\n}\\n\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Treemap]: Treemap },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/common.tsx?watch=parent';\n export default \"import { Treemap } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { name: '分类 1', value: 560 },\\n { name: '分类 2', value: 500 },\\n { name: '分类 3', value: 150 },\\n { name: '分类 4', value: 140 },\\n { name: '分类 5', value: 115 },\\n { name: '分类 6', value: 95 },\\n { name: '分类 7', value: 90 },\\n { name: '分类 8', value: 75 },\\n { name: '分类 9', value: 98 },\\n { name: '分类 10', value: 60 },\\n { name: '分类 11', value: 45 },\\n { name: '分类 12', value: 40 },\\n { name: '分类 13', value: 40 },\\n { name: '分类 14', value: 35 },\\n { name: '分类 15', value: 40 },\\n { name: '分类 16', value: 40 },\\n { name: '分类 17', value: 40 },\\n { name: '分类 18', value: 30 },\\n { name: '分类 19', value: 28 },\\n { name: '分类 20', value: 16 },\\n];\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAEe,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,ysBAAwgB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,OAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,aAAa,OA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iB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,oCACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,kFClFoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,0FCXlC,+CAAA,QADO,gBACP,EAAe,6zDCAf,+CAAA,QADO,gBACP,EAAe,skCCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/1c5d635b-async.1f40a8bf.js b/1c5d635b-async.1f40a8bf.js new file mode 100644 index 0000000..59be760 --- /dev/null +++ b/1c5d635b-async.1f40a8bf.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["1c5d635b"],{"1c5d635b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Attachments:function(){return r.default;},Bubble:function(){return d.default;},Conversations:function(){return o.default;},Prompts:function(){return i.default;},Sender:function(){return a.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return l.default;},Welcome:function(){return s.default;},XProvider:function(){return _.default;},XRequest:function(){return v.default;},XStream:function(){return g.default;},useXAgent:function(){return h.default;},useXChat:function(){return b.default;},version:function(){return f.default;}});var u=n("777fffbe"),f=u._(n("61551e8a")),r=u._(n("150d8a7a")),a=u._(n("013e81db")),d=u._(n("d161127f")),o=u._(n("11781cbc")),i=u._(n("5a025bc4")),l=u._(n("e2d1bf07")),c=u._(n("d0c39811")),s=u._(n("0176aebf")),_=u._(n("8b35f51f")),b=u._(n("92b2492a")),h=u._(n("1e122ed0")),g=u._(n("470d5fd8")),v=u._(n("e0f10014"));}}]); +//# sourceMappingURL=1c5d635b-async.1f40a8bf.js.map \ No newline at end of file diff --git a/1c5d635b-async.1f40a8bf.js.map b/1c5d635b-async.1f40a8bf.js.map new file mode 100644 index 0000000..0f5e2ad --- /dev/null +++ b/1c5d635b-async.1f40a8bf.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC"} \ No newline at end of file diff --git a/214d877e-async.5f1955e1.js b/214d877e-async.5f1955e1.js new file mode 100644 index 0000000..7733865 --- /dev/null +++ b/214d877e-async.5f1955e1.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["214d877e"],{"214d877e":function(e,a,d){"use strict";d.d(a,"__esModule",{value:!0}),d.d(a,"default",{enumerable:!0,get:function(){return x;}});var s=d("777fffbe"),n=d("a2e753d8"),i=s._(d("1b472ae8")),l=s._(d("49f20ac6")),r=d("5ca000fa"),h=s._(d("9b3f9685")),c=d("9d065c04");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"heatmap-\u70ED\u529B\u5730\u56FE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#heatmap-\u70ED\u529B\u5730\u56FE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"HeatMap \u70ED\u529B\u5730\u56FE"]}),(0,n.jsx)("p",{children:e[0].value}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,n.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,n.jsx)(r.DumiDemo,{demo:{id:"heatmap-demo-0"},previewerProps:{}}),(0,n.jsx)("div",{className:"markdown",children:(0,n.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,n.jsx)(r.DumiDemo,{demo:{id:"heatmap-demo-1"},previewerProps:{}}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"spec",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,n.jsx)(i.default,{lang:"json",children:e[1].value}),(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)("h3",{id:"heatmapprops",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#heatmapprops",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"HeatMapProps"]}),(0,n.jsxs)(l.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value}),(0,n.jsx)("th",{children:e[5].value}),(0,n.jsx)("th",{children:e[6].value})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:e[8].value}),(0,n.jsx)("td",{children:e[9].value}),(0,n.jsx)("td",{children:e[10].value}),(0,n.jsx)("td",{children:e[11].value})]})})]}),(0,n.jsxs)("h3",{id:"heatmapdataitem",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#heatmapdataitem",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"HeatMapDataItem"]}),(0,n.jsxs)(l.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[12].value}),(0,n.jsx)("th",{children:e[13].value}),(0,n.jsx)("th",{children:e[14].value}),(0,n.jsx)("th",{children:e[15].value}),(0,n.jsx)("th",{children:e[16].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[17].value}),(0,n.jsx)("td",{children:e[18].value}),(0,n.jsx)("td",{children:e[19].value}),(0,n.jsx)("td",{children:e[20].value}),(0,n.jsx)("td",{children:e[21].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[22].value}),(0,n.jsx)("td",{children:e[23].value}),(0,n.jsx)("td",{children:e[24].value}),(0,n.jsx)("td",{children:e[25].value}),(0,n.jsx)("td",{children:e[26].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[27].value}),(0,n.jsx)("td",{children:e[28].value}),(0,n.jsx)("td",{children:e[29].value}),(0,n.jsx)("td",{children:e[30].value}),(0,n.jsx)("td",{children:e[31].value})]})]})]})]})]});}var x=function(){return(0,n.jsx)(r.DumiPage,{children:(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)(h.default,{}),children:(0,n.jsx)(t,{})})});};}}]); +//# sourceMappingURL=214d877e-async.5f1955e1.js.map \ No newline at end of file diff --git a/214d877e-async.5f1955e1.js.map b/214d877e-async.5f1955e1.js.map new file mode 100644 index 0000000..da73f7b --- /dev/null +++ b/214d877e-async.5f1955e1.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/HeatMap/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"HeatMap 热力地图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"HeatMapProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"HeatMapDataItem\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAuCA,+CAAA,kDAlCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,6CAAe,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,6CAAgB,UAAC,QAAK,UAAU,qBAAwB,sCAAoB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACnc,KAAQ,CACN,GAAM,gBACR,EACA,eAAkB,CAAC,IAChB,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,0CAA4B,UAAC,UAAQ,EAC7L,KAAQ,CACN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c,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACtuD,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/27c597df-async.ad455065.js b/27c597df-async.ad455065.js new file mode 100644 index 0000000..171b0cb --- /dev/null +++ b/27c597df-async.ad455065.js @@ -0,0 +1,27 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["27c597df"],{"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return u.default;},Bubble:function(){return f.default;},Conversations:function(){return i.default;},Prompts:function(){return o.default;},Sender:function(){return d.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return l.default;},XProvider:function(){return m.default;},XRequest:function(){return A.default;},XStream:function(){return _.default;},useXAgent:function(){return h.default;},useXChat:function(){return b.default;},version:function(){return r.default;}});var t=a("777fffbe"),r=t._(a("61551e8a")),u=t._(a("150d8a7a")),d=t._(a("013e81db")),f=t._(a("d161127f")),i=t._(a("11781cbc")),o=t._(a("5a025bc4")),c=t._(a("e2d1bf07")),s=t._(a("d0c39811")),l=t._(a("0176aebf")),m=t._(a("8b35f51f")),b=t._(a("92b2492a")),h=t._(a("1e122ed0")),_=t._(a("470d5fd8")),A=t._(a("e0f10014"));},"671c5363":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return c;}});var t=a("a2e753d8");a("83b16f1a");var r=a("1c5d635b"),u=a("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{9C7C}\u{9AA8}\u{56FE} + +\`\`\`vis-chart +{ + "type": "fishbone-diagram", + "data": { + "name": "\u{751F}\u{4EA7}\u{6548}\u{7387}\u{4F4E}", + "children": [ + { + "name": "\u{8BBE}\u{5907}\u{95EE}\u{9898}", + "children": [{ "name": "\u{8BBE}\u{5907}\u{8001}\u{5316}" }, { "name": "\u{7EF4}\u{62A4}\u{4E0D}\u{53CA}\u{65F6}" }] + }, + { + "name": "\u{5458}\u{5DE5}\u{95EE}\u{9898}", + "children": [{ "name": "\u{6280}\u{80FD}\u{4E0D}\u{8DB3}" }, { "name": "\u{5DE5}\u{4F5C}\u{6001}\u{5EA6}\u{5DEE}" }] + }, + { + "name": "\u{6D41}\u{7A0B}\u{95EE}\u{9898}", + "children": [{ "name": "\u{6D41}\u{7A0B}\u{7E41}\u{7410}" }, { "name": "\u{7F3A}\u{4E4F}\u{6807}\u{51C6}\u{5316}" }] + } + ] + } +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,u.withChartCode)({components:{[u.ChartType.FishboneDiagram]:u.FishboneDiagram}}),o=e=>(0,t.jsx)(u.GPTVisLite,{components:{code:i},children:e});var c=()=>(0,t.jsxs)("div",{style:f,children:[(0,t.jsx)(r.Bubble,{placement:"end",content:'\u7528\u9C7C\u9AA8\u56FE\u6765\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E {"problem":"\u751F\u4EA7\u6548\u7387\u4F4E","bones":[{"category":"\u8BBE\u5907\u95EE\u9898","factors":["\u8BBE\u5907\u8001\u5316","\u7EF4\u62A4\u4E0D\u53CA\u65F6"]},{"category":"\u5458\u5DE5\u95EE\u9898","factors":["\u6280\u80FD\u4E0D\u8DB3","\u5DE5\u4F5C\u6001\u5EA6\u5DEE"]},{"category":"\u6D41\u7A0B\u95EE\u9898","factors":["\u6D41\u7A0B\u7E41\u7410","\u7F3A\u4E4F\u6807\u51C6\u5316"]}]}',avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,t.jsx)(r.Bubble,{content:d,messageRender:o,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return f.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var t=a("d1751d7c"),r=a("777fffbe"),u=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var d=a("a574afdb"),f=r._(a("a7265236")),i=r._(a("2c69d5f6")),o=u._(a("033b3748")),c=r._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return r.default;}});var t=a("d1751d7c"),r=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},f110f2c3:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return d;}});var t=a("a2e753d8");a("8649da6d");var r=a("df67f0d6");let u={name:"\u4EA7\u54C1\u76C8\u5229\u672A\u8FBE\u5230\u9884\u671F\u76EE\u6807",children:[{name:"\u95EE\u9898\u63CF\u8FF0\u4E0E\u5206\u6790",children:[{name:"\u54C1\u724C\u9500\u91CF\u5206\u6790"},{name:"\u5E02\u573A\u5BB9\u91CF\u8BC4\u4F30"},{name:"\u54C1\u724C\u7684\u5E02\u573A\u4EFD\u989D\u5206\u6790"},{name:"\u603B\u8D21\u732E\u6BDB\u5229\u8BA1\u7B97"}]},{name:"\u54C1\u724C\u5B9A\u4F4D\u7B56\u7565",children:[{name:"\u5916\u5305\u88C5\u8BBE\u8BA1"},{name:"\u54C1\u724C\u540D\u79F0\u9009\u62E9"},{name:"\u9500\u552E\u4EF7\u683C\u5B9A\u4F4D"},{name:"\u4EA7\u54C1\u89C4\u683C\u5B9A\u4E49"}]},{name:"\u5206\u9500\u6E20\u9053\u7BA1\u7406",children:[{name:"\u5730\u533A\u5206\u5E03"},{name:"\u6E20\u9053\u9009\u62E9"},{name:"\u5BA2\u6237\u7C7B\u578B\u5206\u7C7B"},{name:"\u9500\u552E\u4EBA\u5458\u8986\u76D6\u8303\u56F4"}]},{name:"\u5E02\u573A\u77E5\u540D\u5EA6\u63D0\u5347",children:[{name:"\u5730\u533A\u6743\u91CD\u5206\u6790"},{name:"\u5A92\u4F53\u7EC4\u5408\u7B56\u7565"},{name:"\u5E7F\u544A\u6295\u5165\u9884\u7B97"},{name:"\u54C1\u8D28\u610F\u8BC6\u63D0\u5347"}]},{name:"\u8BD5\u8D2D\u4E70\u7B56\u7565",children:[{name:"\u73B0\u573A\u5C55\u793A\u6548\u679C"},{name:"\u4FC3\u9500\u5F62\u5F0F\u8BBE\u8BA1"},{name:"\u4FC3\u9500\u65F6\u673A\u9009\u62E9"},{name:"\u4F9B\u8D27\u4FDD\u8BC1\u63AA\u65BD"}]},{name:"\u91CD\u590D\u8D2D\u4E70\u7B56\u7565",children:[{name:"\u6D88\u8D39\u8005\u6863\u6848\u7BA1\u7406"},{name:"\u4F7F\u7528\u573A\u5408\u5206\u6790"},{name:"\u4F7F\u7528\u6B21\u6570\u7EDF\u8BA1"},{name:"\u4EA7\u54C1\u539F\u56E0\u9000\u8D27\u5904\u7406"}]}]};var d=()=>(0,t.jsx)(r.FishboneDiagram,{data:u});}}]); +//# sourceMappingURL=27c597df-async.ad455065.js.map \ No newline at end of file diff --git a/27c597df-async.ad455065.js.map b/27c597df-async.ad455065.js.map new file mode 100644 index 0000000..2485393 --- /dev/null +++ b/27c597df-async.ad455065.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/FishboneDiagram/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/FishboneDiagram/demos/common.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, FishboneDiagram, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个鱼骨图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"fishbone-diagram\",\n \"data\": {\n \"name\": \"生产效率低\",\n \"children\": [\n {\n \"name\": \"设备问题\",\n \"children\": [{ \"name\": \"设备老化\" }, { \"name\": \"维护不及时\" }]\n },\n {\n \"name\": \"员工问题\",\n \"children\": [{ \"name\": \"技能不足\" }, { \"name\": \"工作态度差\" }]\n },\n {\n \"name\": \"流程问题\",\n \"children\": [{ \"name\": \"流程繁琐\" }, { \"name\": \"缺乏标准化\" }]\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.FishboneDiagram]: FishboneDiagram },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/common.tsx?watch=parent';import { FishboneDiagram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: '产品盈利未达到预期目标',\n children: [\n {\n name: '问题描述与分析',\n children: [\n { name: '品牌销量分析' },\n { name: '市场容量评估' },\n { name: '品牌的市场份额分析' },\n { name: '总贡献毛利计算' },\n ],\n },\n {\n name: '品牌定位策略',\n children: [\n { name: '外包装设计' },\n { name: '品牌名称选择' },\n { name: '销售价格定位' },\n { name: '产品规格定义' },\n ],\n },\n {\n name: '分销渠道管理',\n children: [\n { name: '地区分布' },\n { name: '渠道选择' },\n { name: '客户类型分类' },\n { name: '销售人员覆盖范围' },\n ],\n },\n {\n name: '市场知名度提升',\n children: [\n { name: '地区权重分析' },\n { name: '媒体组合策略' },\n { name: '广告投入预算' },\n { name: '品质意识提升' },\n ],\n },\n {\n name: '试购买策略',\n children: [\n { name: '现场展示效果' },\n { name: '促销形式设计' },\n { name: '促销时机选择' },\n { name: '供货保证措施' },\n ],\n },\n {\n name: '重复购买策略',\n children: [\n { name: '消费者档案管理' },\n { name: '使用场合分析' },\n { name: '使用次数统计' },\n { name: '产品原因退货处理' },\n ],\n },\n ],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,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCuDd,+CAAA,4BA/DO,oBAAsH,YAG7H,IAAM,EAAO,CACX,KAAM,qEACN,SAAU,CACR,CACE,KAAM,6CACN,SAAU,CACR,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,wDAAY,EACpB,CAAE,KAAM,4CAAU,EACnB,AACH,EACA,CACE,KAAM,uCACN,SAAU,CACR,CAAE,KAAM,gCAAQ,EAChB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EAClB,AACH,EACA,CACE,KAAM,uCACN,SAAU,CACR,CAAE,KAAM,0BAAO,EACf,CAAE,KAAM,0BAAO,EACf,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,kDAAW,EACpB,AACH,EACA,CACE,KAAM,6CACN,SAAU,CACR,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EAClB,AACH,EACA,CACE,KAAM,iCACN,SAAU,CACR,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EAClB,AACH,EACA,CACE,KAAM,uCACN,SAAU,CACR,CAAE,KAAM,4CAAU,EAClB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,kDAAW,EACpB,AACH,EACD,AACH,MAEA,EAAe,IAAM,UAAC,iBAAe,EAAC,KAAM"} \ No newline at end of file diff --git a/285a6620-async.6f57d95d.js b/285a6620-async.6f57d95d.js new file mode 100644 index 0000000..a16b928 --- /dev/null +++ b/285a6620-async.6f57d95d.js @@ -0,0 +1,63 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["285a6620"],{"172709dc":function(y,x,e){"use strict";e.d(x,"__esModule",{value:!0}),e.d(x,"default",{enumerable:!0,get:function(){return i;}});var t=e("a2e753d8");e("39adb226");var n=e("1c5d635b"),a=e("df67f0d6");let u=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6563}\u{70B9}\u{56FE} + +\`\`\`vis-chart +{ + "type": "scatter", + "data": [ + { "x": 22, "y": 3000 }, + { "x": 23, "y": 3200 }, + { "x": 24, "y": 3100 }, + { "x": 25, "y": 3500 }, + { "x": 26, "y": 3300 }, + { "x": 27, "y": 3600 }, + { "x": 28, "y": 4000 }, + { "x": 29, "y": 3900 }, + { "x": 30, "y": 4200 }, + { "x": 31, "y": 4100 }, + { "x": 32, "y": 4500 }, + { "x": 33, "y": 4700 }, + { "x": 34, "y": 4600 }, + { "x": 35, "y": 4800 }, + { "x": 36, "y": 5000 }, + { "x": 37, "y": 5200 }, + { "x": 38, "y": 5100 }, + { "x": 39, "y": 5500 }, + { "x": 40, "y": 5300 }, + { "x": 41, "y": 5700 }, + { "x": 42, "y": 5600 }, + { "x": 43, "y": 5900 }, + { "x": 44, "y": 5800 }, + { "x": 45, "y": 6000 }, + { "x": 46, "y": 6100 }, + { "x": 47, "y": 6500 }, + { "x": 48, "y": 6300 }, + { "x": 49, "y": 6700 }, + { "x": 50, "y": 6400 }, + { "x": 51, "y": 6800 }, + { "x": 52, "y": 6900 }, + { "x": 53, "y": 7100 }, + { "x": 54, "y": 7000 }, + { "x": 55, "y": 7300 }, + { "x": 56, "y": 7200 }, + { "x": 57, "y": 7500 }, + { "x": 58, "y": 7400 }, + { "x": 59, "y": 7600 }, + { "x": 60, "y": 7700 }, + { "x": 61, "y": 7900 }, + { "x": 62, "y": 7800 }, + { "x": 63, "y": 8000 }, + { "x": 64, "y": 8100 }, + { "x": 65, "y": 8200 }, + { "x": 66, "y": 8300 }, + { "x": 67, "y": 8500 }, + { "x": 68, "y": 8400 }, + { "x": 69, "y": 8600 }, + { "x": 70, "y": 8700 } + ], + "axisXTitle": "age", + "axisYTitle": "income" +} +\`\`\` +`,r={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},d=(0,a.withChartCode)({components:{[a.ChartType.Scatter]:a.Scatter},style:{width:350}}),f=y=>(0,t.jsx)(a.GPTVisLite,{components:{code:d},children:y});var i=()=>(0,t.jsxs)("div",{style:r,children:[(0,t.jsx)(n.Bubble,{placement:"end",content:"\u53EF\u89C6\u5316\u5E74\u9F84\u4E0E\u6536\u5165\u7684\u5173\u7CFB",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,t.jsx)(n.Bubble,{content:u,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"1c5d635b":function(y,x,e){"use strict";e.d(x,"__esModule",{value:!0}),e.e(x,{Attachments:function(){return a.default;},Bubble:function(){return r.default;},Conversations:function(){return d.default;},Prompts:function(){return f.default;},Sender:function(){return u.default;},Suggestion:function(){return o.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return c.default;},XProvider:function(){return s.default;},XRequest:function(){return h.default;},XStream:function(){return _.default;},useXAgent:function(){return b.default;},useXChat:function(){return l.default;},version:function(){return n.default;}});var t=e("777fffbe"),n=t._(e("61551e8a")),a=t._(e("150d8a7a")),u=t._(e("013e81db")),r=t._(e("d161127f")),d=t._(e("11781cbc")),f=t._(e("5a025bc4")),i=t._(e("e2d1bf07")),o=t._(e("d0c39811")),c=t._(e("0176aebf")),s=t._(e("8b35f51f")),l=t._(e("92b2492a")),b=t._(e("1e122ed0")),_=t._(e("470d5fd8")),h=t._(e("e0f10014"));},"7b0756f4":function(y,x,e){"use strict";e.d(x,"__esModule",{value:!0}),e.d(x,"default",{enumerable:!0,get:function(){return u;}});var t=e("a2e753d8");e("9b9608f1");var n=e("df67f0d6");let a=[{x:161.2,y:51.6},{x:167.5,y:59},{x:159.5,y:49.2},{x:157,y:63},{x:155.8,y:53.6},{x:170,y:59},{x:159.1,y:47.6},{x:166,y:69.8},{x:176.2,y:66.8},{x:160.2,y:75.2},{x:172.5,y:55.2},{x:170.9,y:54.2},{x:172.9,y:62.5},{x:153.4,y:42},{x:160,y:50},{x:147.2,y:49.8},{x:168.2,y:49.2},{x:175,y:73.2},{x:157,y:47.8},{x:167.6,y:68.8},{x:159.5,y:50.6},{x:175,y:82.5},{x:166.8,y:57.2},{x:176.5,y:87.8},{x:170.2,y:72.8},{x:174,y:54.5},{x:173,y:59.8},{x:179.9,y:67.3},{x:170.5,y:67.8},{x:160,y:47},{x:154.4,y:46.2},{x:162,y:55},{x:176.5,y:83},{x:160,y:54.4},{x:152,y:45.8},{x:162.1,y:53.6},{x:170,y:73.2},{x:160.2,y:52.1},{x:161.3,y:67.9},{x:166.4,y:56.6},{x:168.9,y:62.3},{x:163.8,y:58.5},{x:167.6,y:54.5},{x:160,y:50.2},{x:161.3,y:60.3},{x:167.6,y:58.3},{x:165.1,y:56.2},{x:160,y:50.2},{x:170,y:72.9},{x:157.5,y:59.8},{x:167.6,y:61},{x:160.7,y:69.1},{x:163.2,y:55.9},{x:152.4,y:46.5},{x:157.5,y:54.3},{x:168.3,y:54.8},{x:180.3,y:60.7},{x:165.5,y:60},{x:165,y:62},{x:164.5,y:60.3},{x:156,y:52.7},{x:160,y:74.3},{x:163,y:62},{x:165.7,y:73.1},{x:161,y:80},{x:162,y:54.7},{x:166,y:53.2},{x:174,y:75.7},{x:172.7,y:61.1},{x:167.6,y:55.7},{x:151.1,y:48.7},{x:164.5,y:52.3},{x:163.5,y:50},{x:152,y:59.3},{x:169,y:62.5},{x:164,y:55.7},{x:161.2,y:54.8},{x:155,y:45.9},{x:170,y:70.6},{x:176.2,y:67.2},{x:170,y:69.4},{x:162.5,y:58.2},{x:170.3,y:64.8},{x:164.1,y:71.6},{x:169.5,y:52.8},{x:163.2,y:59.8},{x:154.5,y:49},{x:159.8,y:50},{x:173.2,y:69.2},{x:170,y:55.9},{x:161.4,y:63.4},{x:169,y:58.2},{x:166.2,y:58.6},{x:159.4,y:45.7},{x:162.5,y:52.2},{x:159,y:48.6},{x:162.8,y:57.8},{x:159,y:55.6},{x:179.8,y:66.8},{x:162.9,y:59.4},{x:161,y:53.6},{x:151.1,y:73.2},{x:168.2,y:53.4},{x:168.9,y:69},{x:173.2,y:58.4},{x:171.8,y:56.2},{x:178,y:70.6},{x:164.3,y:59.8},{x:163,y:72},{x:168.5,y:65.2},{x:166.8,y:56.6},{x:172.7,y:105.2},{x:163.5,y:51.8},{x:169.4,y:63.4},{x:167.8,y:59},{x:159.5,y:47.6},{x:167.6,y:63},{x:161.2,y:55.2},{x:160,y:45},{x:163.2,y:54},{x:162.2,y:50.2},{x:161.3,y:60.2},{x:149.5,y:44.8},{x:157.5,y:58.8},{x:163.2,y:56.4},{x:172.7,y:62},{x:155,y:49.2},{x:156.5,y:67.2},{x:164,y:53.8},{x:160.9,y:54.4},{x:162.8,y:58},{x:167,y:59.8},{x:160,y:54.8},{x:160,y:43.2},{x:168.9,y:60.5},{x:158.2,y:46.4},{x:156,y:64.4},{x:160,y:48.8},{x:167.1,y:62.2},{x:158,y:55.5},{x:167.6,y:57.8},{x:156,y:54.6},{x:162.1,y:59.2},{x:173.4,y:52.7},{x:159.8,y:53.2},{x:170.5,y:64.5},{x:159.2,y:51.8},{x:157.5,y:56},{x:161.3,y:63.6},{x:162.6,y:63.2},{x:160,y:59.5},{x:168.9,y:56.8},{x:165.1,y:64.1},{x:162.6,y:50},{x:165.1,y:72.3},{x:166.4,y:55},{x:160,y:55.9},{x:152.4,y:60.4},{x:170.2,y:69.1},{x:162.6,y:84.5},{x:170.2,y:55.9},{x:158.8,y:55.5},{x:172.7,y:69.5},{x:167.6,y:76.4},{x:162.6,y:61.4},{x:167.6,y:65.9},{x:156.2,y:58.6},{x:175.2,y:66.8},{x:172.1,y:56.6},{x:162.6,y:58.6},{x:160,y:55.9},{x:165.1,y:59.1},{x:182.9,y:81.8},{x:166.4,y:70.7},{x:165.1,y:56.8},{x:177.8,y:60},{x:165.1,y:58.2},{x:175.3,y:72.7},{x:154.9,y:54.1},{x:158.8,y:49.1},{x:172.7,y:75.9},{x:168.9,y:55},{x:161.3,y:57.3},{x:167.6,y:55},{x:165.1,y:65.5},{x:175.3,y:65.5},{x:157.5,y:48.6},{x:163.8,y:58.6},{x:167.6,y:63.6},{x:165.1,y:55.2},{x:165.1,y:62.7},{x:168.9,y:56.6},{x:162.6,y:53.9},{x:164.5,y:63.2},{x:176.5,y:73.6},{x:168.9,y:62},{x:175.3,y:63.6},{x:159.4,y:53.2},{x:160,y:53.4},{x:170.2,y:55},{x:162.6,y:70.5},{x:167.6,y:54.5},{x:162.6,y:54.5},{x:160.7,y:55.9},{x:160,y:59},{x:157.5,y:63.6},{x:162.6,y:54.5},{x:152.4,y:47.3},{x:170.2,y:67.7},{x:165.1,y:80.9},{x:172.7,y:70.5},{x:165.1,y:60.9},{x:170.2,y:63.6},{x:170.2,y:54.5},{x:170.2,y:59.1},{x:161.3,y:70.5},{x:167.6,y:52.7},{x:167.6,y:62.7},{x:165.1,y:86.3},{x:162.6,y:66.4},{x:152.4,y:67.3},{x:168.9,y:63},{x:170.2,y:73.6},{x:175.2,y:62.3},{x:175.2,y:57.7},{x:160,y:55.4},{x:165.1,y:104.1},{x:174,y:55.5},{x:170.2,y:77.3},{x:160,y:80.5},{x:167.6,y:64.5},{x:167.6,y:72.3},{x:167.6,y:61.4},{x:154.9,y:58.2},{x:162.6,y:81.8},{x:175.3,y:63.6},{x:171.4,y:53.4},{x:157.5,y:54.5},{x:165.1,y:53.6},{x:160,y:60},{x:174,y:73.6},{x:162.6,y:61.4},{x:174,y:55.5},{x:162.6,y:63.6},{x:161.3,y:60.9},{x:156.2,y:60},{x:149.9,y:46.8},{x:169.5,y:57.3},{x:160,y:64.1},{x:175.3,y:63.6},{x:169.5,y:67.3},{x:160,y:75.5},{x:172.7,y:68.2},{x:162.6,y:61.4},{x:157.5,y:76.8},{x:176.5,y:71.8},{x:164.4,y:55.5},{x:160.7,y:48.6},{x:174,y:66.4},{x:163.8,y:67.3},{x:174,y:65.6},{x:175.3,y:71.8},{x:193.5,y:80.7},{x:186.5,y:72.6},{x:187.2,y:78.8},{x:181.5,y:74.8},{x:184,y:86.4},{x:184.5,y:78.4},{x:175,y:62},{x:184,y:81.6},{x:180,y:76.6},{x:177.8,y:83.6},{x:192,y:90},{x:176,y:74.6},{x:174,y:71},{x:184,y:79.6},{x:192.7,y:93.8},{x:171.5,y:70},{x:173,y:72.4},{x:176,y:85.9},{x:176,y:78.8},{x:180.5,y:77.8},{x:172.7,y:66.2},{x:176,y:86.4},{x:173.5,y:81.8},{x:178,y:89.6},{x:180.3,y:82.8},{x:180.3,y:76.4},{x:164.5,y:63.2},{x:173,y:60.9},{x:183.5,y:74.8},{x:175.5,y:70},{x:188,y:72.4},{x:189.2,y:84.1},{x:172.8,y:69.1},{x:170,y:59.5},{x:182,y:67.2},{x:170,y:61.3},{x:177.8,y:68.6},{x:184.2,y:80.1},{x:186.7,y:87.8},{x:171.4,y:84.7},{x:172.7,y:73.4},{x:175.3,y:72.1},{x:180.3,y:82.6},{x:182.9,y:88.7},{x:188,y:84.1},{x:177.2,y:94.1},{x:172.1,y:74.9},{x:167,y:59.1},{x:169.5,y:75.6},{x:174,y:86.2},{x:172.7,y:75.3},{x:182.2,y:87.1},{x:164.1,y:55.2},{x:163,y:57},{x:171.5,y:61.4},{x:184.2,y:76.8},{x:174,y:86.8},{x:174,y:72.2},{x:177,y:71.6},{x:186,y:84.8},{x:167,y:68.2},{x:171.8,y:66.1},{x:182,y:72},{x:167,y:64.6},{x:177.8,y:74.8},{x:164.5,y:70},{x:192,y:101.6},{x:175.5,y:63.2},{x:171.2,y:79.1},{x:181.6,y:78.9},{x:167.4,y:67.7},{x:181.1,y:66},{x:177,y:68.2},{x:174.5,y:63.9},{x:177.5,y:72},{x:170.5,y:56.8},{x:182.4,y:74.5},{x:197.1,y:90.9},{x:180.1,y:93},{x:175.5,y:80.9},{x:180.6,y:72.7},{x:184.4,y:68},{x:175.5,y:70.9},{x:180.6,y:72.5},{x:177,y:72.5},{x:177.1,y:83.4},{x:181.6,y:75.5},{x:176.5,y:73},{x:175,y:70.2},{x:174,y:73.4},{x:165.1,y:70.5},{x:177,y:68.9},{x:192,y:102.3},{x:176.5,y:68.4},{x:169.4,y:65.9},{x:182.1,y:75.7},{x:179.8,y:84.5},{x:175.3,y:87.7},{x:184.9,y:86.4},{x:177.3,y:73.2},{x:167.4,y:53.9},{x:178.1,y:72},{x:168.9,y:55.5},{x:157.2,y:58.4},{x:180.3,y:83.2},{x:170.2,y:72.7},{x:177.8,y:64.1},{x:172.7,y:72.3},{x:165.1,y:65},{x:186.7,y:86.4},{x:165.1,y:65},{x:174,y:88.6},{x:175.3,y:84.1},{x:185.4,y:66.8},{x:177.8,y:75.5},{x:180.3,y:93.2},{x:180.3,y:82.7},{x:177.8,y:58},{x:177.8,y:79.5},{x:177.8,y:78.6},{x:177.8,y:71.8},{x:177.8,y:116.4},{x:163.8,y:72.2},{x:188,y:83.6},{x:198.1,y:85.5},{x:175.3,y:90.9},{x:166.4,y:85.9},{x:190.5,y:89.1},{x:166.4,y:75},{x:177.8,y:77.7},{x:179.7,y:86.4},{x:172.7,y:90.9},{x:190.5,y:73.6},{x:185.4,y:76.4},{x:168.9,y:69.1},{x:167.6,y:84.5},{x:175.3,y:64.5},{x:170.2,y:69.1},{x:190.5,y:108.6},{x:177.8,y:86.4},{x:190.5,y:80.9},{x:177.8,y:87.7},{x:184.2,y:94.5},{x:176.5,y:80.2},{x:177.8,y:72},{x:180.3,y:71.4},{x:171.4,y:72.7},{x:172.7,y:84.1},{x:172.7,y:76.8},{x:177.8,y:63.6},{x:177.8,y:80.9},{x:182.9,y:80.9},{x:170.2,y:85.5},{x:167.6,y:68.6},{x:175.3,y:67.7},{x:165.1,y:66.4},{x:185.4,y:102.3},{x:181.6,y:70.5},{x:172.7,y:95.9},{x:190.5,y:84.1},{x:179.1,y:87.3},{x:175.3,y:71.8},{x:170.2,y:65.9},{x:193,y:95.9},{x:171.4,y:91.4},{x:177.8,y:81.8},{x:177.8,y:96.8},{x:167.6,y:69.1},{x:167.6,y:82.7},{x:180.3,y:75.5},{x:182.9,y:79.5},{x:176.5,y:73.6},{x:186.7,y:91.8},{x:188,y:84.1},{x:188,y:85.9},{x:177.8,y:81.8},{x:174,y:82.5},{x:177.8,y:80.5},{x:171.4,y:70},{x:185.4,y:81.8},{x:185.4,y:84.1},{x:188,y:90.5},{x:188,y:91.4},{x:182.9,y:89.1},{x:176.5,y:85},{x:175.3,y:69.1},{x:175.3,y:73.6},{x:188,y:80.5},{x:188,y:82.7},{x:175.3,y:86.4},{x:170.5,y:67.7},{x:179.1,y:92.7},{x:177.8,y:93.6},{x:175.3,y:70.9},{x:182.9,y:75},{x:170.8,y:93.2},{x:188,y:93.2},{x:180.3,y:77.7},{x:177.8,y:61.4},{x:185.4,y:94.1},{x:168.9,y:75},{x:185.4,y:83.6},{x:180.3,y:85.5},{x:174,y:73.9},{x:167.6,y:66.8},{x:182.9,y:87.3},{x:160,y:72.3},{x:180.3,y:88.6},{x:167.6,y:75.5},{x:186.7,y:101.4},{x:175.3,y:91.1},{x:175.3,y:67.3},{x:175.9,y:77.7},{x:175.3,y:81.8},{x:179.1,y:75.5},{x:181.6,y:84.5},{x:177.8,y:76.6},{x:182.9,y:85},{x:177.8,y:102.5},{x:184.2,y:77.3},{x:179.1,y:71.8},{x:176.5,y:87.9},{x:188,y:94.3},{x:174,y:70.9},{x:167.6,y:64.5},{x:170.2,y:77.3},{x:167.6,y:72.3},{x:188,y:87.3},{x:174,y:80},{x:176.5,y:82.3},{x:180.3,y:73.6},{x:167.6,y:74.1},{x:188,y:85.9},{x:180.3,y:73.2},{x:167.6,y:76.3},{x:183,y:65.9},{x:183,y:90.9},{x:179.1,y:89.1},{x:170.2,y:62.3},{x:177.8,y:82.7},{x:179.1,y:79.1},{x:190.5,y:98.2},{x:177.8,y:84.1},{x:180.3,y:83.2},{x:180.3,y:83.2}];var u=()=>(0,t.jsx)(n.Scatter,{data:a,axisXTitle:"\u8EAB\u9AD8",axisYTitle:"\u4F53\u91CD\uFF08KG\uFF09",containerStyle:{height:300}});},df67f0d6:function(y,x,e){"use strict";e.d(x,"__esModule",{value:!0}),e.e(x,{ConfigProvider:function(){return r.default;},GPTVis:function(){return d.default;},GPTVisLite:function(){return f.default;},useEventPublish:function(){return f.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=e("d1751d7c"),n=e("777fffbe"),a=e("852bbaa9");t._(e("5639510f"),x),t._(e("d382b880"),x);var u=e("a574afdb"),r=n._(e("a7265236")),d=n._(e("2c69d5f6")),f=a._(e("033b3748")),i=n._(e("7cf1dc46"));},e7bada6d:function(y,x,e){"use strict";e.d(x,"__esModule",{value:!0}),e.d(x,"Source",{enumerable:!0,get:function(){return n.default;}});var t=e("d1751d7c"),n=e("777fffbe")._(e("b00709ad"));t._(e("5e2dda25"),x),t._(e("969efd31"),x),t._(e("f21af0e0"),x),t._(e("33eda958"),x),t._(e("112b9a67"),x),t._(e("a45613fd"),x),t._(e("432777ba"),x);}}]); +//# sourceMappingURL=285a6620-async.6f57d95d.js.map \ No newline at end of file diff --git a/285a6620-async.6f57d95d.js.map b/285a6620-async.6f57d95d.js.map new file mode 100644 index 0000000..130dc63 --- /dev/null +++ b/285a6620-async.6f57d95d.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Scatter/demos/markdown.tsx?techStack=react","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Scatter/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Scatter, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个散点图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"scatter\",\n \"data\": [\n { \"x\": 22, \"y\": 3000 },\n { \"x\": 23, \"y\": 3200 },\n { \"x\": 24, \"y\": 3100 },\n { \"x\": 25, \"y\": 3500 },\n { \"x\": 26, \"y\": 3300 },\n { \"x\": 27, \"y\": 3600 },\n { \"x\": 28, \"y\": 4000 },\n { \"x\": 29, \"y\": 3900 },\n { \"x\": 30, \"y\": 4200 },\n { \"x\": 31, \"y\": 4100 },\n { \"x\": 32, \"y\": 4500 },\n { \"x\": 33, \"y\": 4700 },\n { \"x\": 34, \"y\": 4600 },\n { \"x\": 35, \"y\": 4800 },\n { \"x\": 36, \"y\": 5000 },\n { \"x\": 37, \"y\": 5200 },\n { \"x\": 38, \"y\": 5100 },\n { \"x\": 39, \"y\": 5500 },\n { \"x\": 40, \"y\": 5300 },\n { \"x\": 41, \"y\": 5700 },\n { \"x\": 42, \"y\": 5600 },\n { \"x\": 43, \"y\": 5900 },\n { \"x\": 44, \"y\": 5800 },\n { \"x\": 45, \"y\": 6000 },\n { \"x\": 46, \"y\": 6100 },\n { \"x\": 47, \"y\": 6500 },\n { \"x\": 48, \"y\": 6300 },\n { \"x\": 49, \"y\": 6700 },\n { \"x\": 50, \"y\": 6400 },\n { \"x\": 51, \"y\": 6800 },\n { \"x\": 52, \"y\": 6900 },\n { \"x\": 53, \"y\": 7100 },\n { \"x\": 54, \"y\": 7000 },\n { \"x\": 55, \"y\": 7300 },\n { \"x\": 56, \"y\": 7200 },\n { \"x\": 57, \"y\": 7500 },\n { \"x\": 58, \"y\": 7400 },\n { \"x\": 59, \"y\": 7600 },\n { \"x\": 60, \"y\": 7700 },\n { \"x\": 61, \"y\": 7900 },\n { \"x\": 62, \"y\": 7800 },\n { \"x\": 63, \"y\": 8000 },\n { \"x\": 64, \"y\": 8100 },\n { \"x\": 65, \"y\": 8200 },\n { \"x\": 66, \"y\": 8300 },\n { \"x\": 67, \"y\": 8500 },\n { \"x\": 68, \"y\": 8400 },\n { \"x\": 69, \"y\": 8600 },\n { \"x\": 70, \"y\": 8700 }\n ],\n \"axisXTitle\": \"age\",\n \"axisYTitle\": \"income\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Scatter]: Scatter },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/common.tsx?watch=parent';import { Scatter } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n x: 161.2,\n y: 51.6,\n },\n {\n x: 167.5,\n y: 59,\n },\n {\n x: 159.5,\n y: 49.2,\n },\n {\n x: 157,\n y: 63,\n },\n {\n x: 155.8,\n y: 53.6,\n },\n {\n x: 170,\n y: 59,\n },\n {\n x: 159.1,\n y: 47.6,\n },\n {\n x: 166,\n y: 69.8,\n },\n {\n x: 176.2,\n y: 66.8,\n },\n {\n x: 160.2,\n y: 75.2,\n },\n {\n x: 172.5,\n y: 55.2,\n },\n {\n x: 170.9,\n y: 54.2,\n },\n {\n x: 172.9,\n y: 62.5,\n },\n {\n x: 153.4,\n y: 42,\n },\n {\n x: 160,\n y: 50,\n },\n {\n x: 147.2,\n y: 49.8,\n },\n {\n x: 168.2,\n y: 49.2,\n },\n {\n x: 175,\n y: 73.2,\n },\n {\n x: 157,\n y: 47.8,\n },\n {\n x: 167.6,\n y: 68.8,\n },\n {\n x: 159.5,\n y: 50.6,\n },\n {\n x: 175,\n y: 82.5,\n },\n {\n x: 166.8,\n y: 57.2,\n },\n {\n x: 176.5,\n y: 87.8,\n },\n {\n x: 170.2,\n y: 72.8,\n },\n {\n x: 174,\n y: 54.5,\n },\n {\n x: 173,\n y: 59.8,\n },\n {\n x: 179.9,\n y: 67.3,\n },\n {\n x: 170.5,\n y: 67.8,\n },\n {\n x: 160,\n y: 47,\n },\n {\n x: 154.4,\n y: 46.2,\n },\n {\n x: 162,\n y: 55,\n },\n {\n x: 176.5,\n y: 83,\n },\n {\n x: 160,\n y: 54.4,\n },\n {\n x: 152,\n y: 45.8,\n },\n {\n x: 162.1,\n y: 53.6,\n },\n {\n x: 170,\n y: 73.2,\n },\n {\n x: 160.2,\n y: 52.1,\n },\n {\n x: 161.3,\n y: 67.9,\n },\n {\n x: 166.4,\n y: 56.6,\n },\n {\n x: 168.9,\n y: 62.3,\n },\n {\n x: 163.8,\n y: 58.5,\n },\n {\n x: 167.6,\n y: 54.5,\n },\n {\n x: 160,\n y: 50.2,\n },\n {\n x: 161.3,\n y: 60.3,\n },\n {\n x: 167.6,\n y: 58.3,\n },\n {\n x: 165.1,\n y: 56.2,\n },\n {\n x: 160,\n y: 50.2,\n },\n {\n x: 170,\n y: 72.9,\n },\n {\n x: 157.5,\n y: 59.8,\n },\n {\n x: 167.6,\n y: 61,\n },\n {\n x: 160.7,\n y: 69.1,\n },\n {\n x: 163.2,\n y: 55.9,\n },\n {\n x: 152.4,\n y: 46.5,\n },\n {\n x: 157.5,\n y: 54.3,\n },\n {\n x: 168.3,\n y: 54.8,\n },\n {\n x: 180.3,\n y: 60.7,\n },\n {\n x: 165.5,\n y: 60,\n },\n {\n x: 165,\n y: 62,\n },\n {\n x: 164.5,\n y: 60.3,\n },\n {\n x: 156,\n y: 52.7,\n },\n {\n x: 160,\n y: 74.3,\n },\n {\n x: 163,\n y: 62,\n },\n {\n x: 165.7,\n y: 73.1,\n },\n {\n x: 161,\n y: 80,\n },\n {\n x: 162,\n y: 54.7,\n },\n {\n x: 166,\n y: 53.2,\n },\n {\n x: 174,\n y: 75.7,\n },\n {\n x: 172.7,\n y: 61.1,\n },\n {\n x: 167.6,\n y: 55.7,\n },\n {\n x: 151.1,\n y: 48.7,\n },\n {\n x: 164.5,\n y: 52.3,\n },\n {\n x: 163.5,\n y: 50,\n },\n {\n x: 152,\n y: 59.3,\n },\n {\n x: 169,\n y: 62.5,\n },\n {\n x: 164,\n y: 55.7,\n },\n {\n x: 161.2,\n y: 54.8,\n },\n {\n x: 155,\n y: 45.9,\n },\n {\n x: 170,\n y: 70.6,\n },\n {\n x: 176.2,\n y: 67.2,\n },\n {\n x: 170,\n y: 69.4,\n },\n {\n x: 162.5,\n y: 58.2,\n },\n {\n x: 170.3,\n y: 64.8,\n },\n {\n x: 164.1,\n y: 71.6,\n },\n {\n x: 169.5,\n y: 52.8,\n },\n {\n x: 163.2,\n y: 59.8,\n },\n {\n x: 154.5,\n y: 49,\n },\n {\n x: 159.8,\n y: 50,\n },\n {\n x: 173.2,\n y: 69.2,\n },\n {\n x: 170,\n y: 55.9,\n },\n {\n x: 161.4,\n y: 63.4,\n },\n {\n x: 169,\n y: 58.2,\n },\n {\n x: 166.2,\n y: 58.6,\n },\n {\n x: 159.4,\n y: 45.7,\n },\n {\n x: 162.5,\n y: 52.2,\n },\n {\n x: 159,\n y: 48.6,\n },\n {\n x: 162.8,\n y: 57.8,\n },\n {\n x: 159,\n y: 55.6,\n },\n {\n x: 179.8,\n y: 66.8,\n },\n {\n x: 162.9,\n y: 59.4,\n },\n {\n x: 161,\n y: 53.6,\n },\n {\n x: 151.1,\n y: 73.2,\n },\n {\n x: 168.2,\n y: 53.4,\n },\n {\n x: 168.9,\n y: 69,\n },\n {\n x: 173.2,\n y: 58.4,\n },\n {\n x: 171.8,\n y: 56.2,\n },\n {\n x: 178,\n y: 70.6,\n },\n {\n x: 164.3,\n y: 59.8,\n },\n {\n x: 163,\n y: 72,\n },\n {\n x: 168.5,\n y: 65.2,\n },\n {\n x: 166.8,\n y: 56.6,\n },\n {\n x: 172.7,\n y: 105.2,\n },\n {\n x: 163.5,\n y: 51.8,\n },\n {\n x: 169.4,\n y: 63.4,\n },\n {\n x: 167.8,\n y: 59,\n },\n {\n x: 159.5,\n y: 47.6,\n },\n {\n x: 167.6,\n y: 63,\n },\n {\n x: 161.2,\n y: 55.2,\n },\n {\n x: 160,\n y: 45,\n },\n {\n x: 163.2,\n y: 54,\n },\n {\n x: 162.2,\n y: 50.2,\n },\n {\n x: 161.3,\n y: 60.2,\n },\n {\n x: 149.5,\n y: 44.8,\n },\n {\n x: 157.5,\n y: 58.8,\n },\n {\n x: 163.2,\n y: 56.4,\n },\n {\n x: 172.7,\n y: 62,\n },\n {\n x: 155,\n y: 49.2,\n },\n {\n x: 156.5,\n y: 67.2,\n },\n {\n x: 164,\n y: 53.8,\n },\n {\n x: 160.9,\n y: 54.4,\n },\n {\n x: 162.8,\n y: 58,\n },\n {\n x: 167,\n y: 59.8,\n },\n {\n x: 160,\n y: 54.8,\n },\n {\n x: 160,\n y: 43.2,\n },\n {\n x: 168.9,\n y: 60.5,\n },\n {\n x: 158.2,\n y: 46.4,\n },\n {\n x: 156,\n y: 64.4,\n },\n {\n x: 160,\n y: 48.8,\n },\n {\n x: 167.1,\n y: 62.2,\n },\n {\n x: 158,\n y: 55.5,\n },\n {\n x: 167.6,\n y: 57.8,\n },\n {\n x: 156,\n y: 54.6,\n },\n {\n x: 162.1,\n y: 59.2,\n },\n {\n x: 173.4,\n y: 52.7,\n },\n {\n x: 159.8,\n y: 53.2,\n },\n {\n x: 170.5,\n y: 64.5,\n },\n {\n x: 159.2,\n y: 51.8,\n },\n {\n x: 157.5,\n y: 56,\n },\n {\n x: 161.3,\n y: 63.6,\n },\n {\n x: 162.6,\n y: 63.2,\n },\n {\n x: 160,\n y: 59.5,\n },\n {\n x: 168.9,\n y: 56.8,\n },\n {\n x: 165.1,\n y: 64.1,\n },\n {\n x: 162.6,\n y: 50,\n },\n {\n x: 165.1,\n y: 72.3,\n },\n {\n x: 166.4,\n y: 55,\n },\n {\n x: 160,\n y: 55.9,\n },\n {\n x: 152.4,\n y: 60.4,\n },\n {\n x: 170.2,\n y: 69.1,\n },\n {\n x: 162.6,\n y: 84.5,\n },\n {\n x: 170.2,\n y: 55.9,\n },\n {\n x: 158.8,\n y: 55.5,\n },\n {\n x: 172.7,\n y: 69.5,\n },\n {\n x: 167.6,\n y: 76.4,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 167.6,\n y: 65.9,\n },\n {\n x: 156.2,\n y: 58.6,\n },\n {\n x: 175.2,\n y: 66.8,\n },\n {\n x: 172.1,\n y: 56.6,\n },\n {\n x: 162.6,\n y: 58.6,\n },\n {\n x: 160,\n y: 55.9,\n },\n {\n x: 165.1,\n y: 59.1,\n },\n {\n x: 182.9,\n y: 81.8,\n },\n {\n x: 166.4,\n y: 70.7,\n },\n {\n x: 165.1,\n y: 56.8,\n },\n {\n x: 177.8,\n y: 60,\n },\n {\n x: 165.1,\n y: 58.2,\n },\n {\n x: 175.3,\n y: 72.7,\n },\n {\n x: 154.9,\n y: 54.1,\n },\n {\n x: 158.8,\n y: 49.1,\n },\n {\n x: 172.7,\n y: 75.9,\n },\n {\n x: 168.9,\n y: 55,\n },\n {\n x: 161.3,\n y: 57.3,\n },\n {\n x: 167.6,\n y: 55,\n },\n {\n x: 165.1,\n y: 65.5,\n },\n {\n x: 175.3,\n y: 65.5,\n },\n {\n x: 157.5,\n y: 48.6,\n },\n {\n x: 163.8,\n y: 58.6,\n },\n {\n x: 167.6,\n y: 63.6,\n },\n {\n x: 165.1,\n y: 55.2,\n },\n {\n x: 165.1,\n y: 62.7,\n },\n {\n x: 168.9,\n y: 56.6,\n },\n {\n x: 162.6,\n y: 53.9,\n },\n {\n x: 164.5,\n y: 63.2,\n },\n {\n x: 176.5,\n y: 73.6,\n },\n {\n x: 168.9,\n y: 62,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 159.4,\n y: 53.2,\n },\n {\n x: 160,\n y: 53.4,\n },\n {\n x: 170.2,\n y: 55,\n },\n {\n x: 162.6,\n y: 70.5,\n },\n {\n x: 167.6,\n y: 54.5,\n },\n {\n x: 162.6,\n y: 54.5,\n },\n {\n x: 160.7,\n y: 55.9,\n },\n {\n x: 160,\n y: 59,\n },\n {\n x: 157.5,\n y: 63.6,\n },\n {\n x: 162.6,\n y: 54.5,\n },\n {\n x: 152.4,\n y: 47.3,\n },\n {\n x: 170.2,\n y: 67.7,\n },\n {\n x: 165.1,\n y: 80.9,\n },\n {\n x: 172.7,\n y: 70.5,\n },\n {\n x: 165.1,\n y: 60.9,\n },\n {\n x: 170.2,\n y: 63.6,\n },\n {\n x: 170.2,\n y: 54.5,\n },\n {\n x: 170.2,\n y: 59.1,\n },\n {\n x: 161.3,\n y: 70.5,\n },\n {\n x: 167.6,\n y: 52.7,\n },\n {\n x: 167.6,\n y: 62.7,\n },\n {\n x: 165.1,\n y: 86.3,\n },\n {\n x: 162.6,\n y: 66.4,\n },\n {\n x: 152.4,\n y: 67.3,\n },\n {\n x: 168.9,\n y: 63,\n },\n {\n x: 170.2,\n y: 73.6,\n },\n {\n x: 175.2,\n y: 62.3,\n },\n {\n x: 175.2,\n y: 57.7,\n },\n {\n x: 160,\n y: 55.4,\n },\n {\n x: 165.1,\n y: 104.1,\n },\n {\n x: 174,\n y: 55.5,\n },\n {\n x: 170.2,\n y: 77.3,\n },\n {\n x: 160,\n y: 80.5,\n },\n {\n x: 167.6,\n y: 64.5,\n },\n {\n x: 167.6,\n y: 72.3,\n },\n {\n x: 167.6,\n y: 61.4,\n },\n {\n x: 154.9,\n y: 58.2,\n },\n {\n x: 162.6,\n y: 81.8,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 171.4,\n y: 53.4,\n },\n {\n x: 157.5,\n y: 54.5,\n },\n {\n x: 165.1,\n y: 53.6,\n },\n {\n x: 160,\n y: 60,\n },\n {\n x: 174,\n y: 73.6,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 174,\n y: 55.5,\n },\n {\n x: 162.6,\n y: 63.6,\n },\n {\n x: 161.3,\n y: 60.9,\n },\n {\n x: 156.2,\n y: 60,\n },\n {\n x: 149.9,\n y: 46.8,\n },\n {\n x: 169.5,\n y: 57.3,\n },\n {\n x: 160,\n y: 64.1,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 169.5,\n y: 67.3,\n },\n {\n x: 160,\n y: 75.5,\n },\n {\n x: 172.7,\n y: 68.2,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 157.5,\n y: 76.8,\n },\n {\n x: 176.5,\n y: 71.8,\n },\n {\n x: 164.4,\n y: 55.5,\n },\n {\n x: 160.7,\n y: 48.6,\n },\n {\n x: 174,\n y: 66.4,\n },\n {\n x: 163.8,\n y: 67.3,\n },\n {\n x: 174,\n y: 65.6,\n },\n {\n x: 175.3,\n y: 71.8,\n },\n {\n x: 193.5,\n y: 80.7,\n },\n {\n x: 186.5,\n y: 72.6,\n },\n {\n x: 187.2,\n y: 78.8,\n },\n {\n x: 181.5,\n y: 74.8,\n },\n {\n x: 184,\n y: 86.4,\n },\n {\n x: 184.5,\n y: 78.4,\n },\n {\n x: 175,\n y: 62,\n },\n {\n x: 184,\n y: 81.6,\n },\n {\n x: 180,\n y: 76.6,\n },\n {\n x: 177.8,\n y: 83.6,\n },\n {\n x: 192,\n y: 90,\n },\n {\n x: 176,\n y: 74.6,\n },\n {\n x: 174,\n y: 71,\n },\n {\n x: 184,\n y: 79.6,\n },\n {\n x: 192.7,\n y: 93.8,\n },\n {\n x: 171.5,\n y: 70,\n },\n {\n x: 173,\n y: 72.4,\n },\n {\n x: 176,\n y: 85.9,\n },\n {\n x: 176,\n y: 78.8,\n },\n {\n x: 180.5,\n y: 77.8,\n },\n {\n x: 172.7,\n y: 66.2,\n },\n {\n x: 176,\n y: 86.4,\n },\n {\n x: 173.5,\n y: 81.8,\n },\n {\n x: 178,\n y: 89.6,\n },\n {\n x: 180.3,\n y: 82.8,\n },\n {\n x: 180.3,\n y: 76.4,\n },\n {\n x: 164.5,\n y: 63.2,\n },\n {\n x: 173,\n y: 60.9,\n },\n {\n x: 183.5,\n y: 74.8,\n },\n {\n x: 175.5,\n y: 70,\n },\n {\n x: 188,\n y: 72.4,\n },\n {\n x: 189.2,\n y: 84.1,\n },\n {\n x: 172.8,\n y: 69.1,\n },\n {\n x: 170,\n y: 59.5,\n },\n {\n x: 182,\n y: 67.2,\n },\n {\n x: 170,\n y: 61.3,\n },\n {\n x: 177.8,\n y: 68.6,\n },\n {\n x: 184.2,\n y: 80.1,\n },\n {\n x: 186.7,\n y: 87.8,\n },\n {\n x: 171.4,\n y: 84.7,\n },\n {\n x: 172.7,\n y: 73.4,\n },\n {\n x: 175.3,\n y: 72.1,\n },\n {\n x: 180.3,\n y: 82.6,\n },\n {\n x: 182.9,\n y: 88.7,\n },\n {\n x: 188,\n y: 84.1,\n },\n {\n x: 177.2,\n y: 94.1,\n },\n {\n x: 172.1,\n y: 74.9,\n },\n {\n x: 167,\n y: 59.1,\n },\n {\n x: 169.5,\n y: 75.6,\n },\n {\n x: 174,\n y: 86.2,\n },\n {\n x: 172.7,\n y: 75.3,\n },\n {\n x: 182.2,\n y: 87.1,\n },\n {\n x: 164.1,\n y: 55.2,\n },\n {\n x: 163,\n y: 57,\n },\n {\n x: 171.5,\n y: 61.4,\n },\n {\n x: 184.2,\n y: 76.8,\n },\n {\n x: 174,\n y: 86.8,\n },\n {\n x: 174,\n y: 72.2,\n },\n {\n x: 177,\n y: 71.6,\n },\n {\n x: 186,\n y: 84.8,\n },\n {\n x: 167,\n y: 68.2,\n },\n {\n x: 171.8,\n y: 66.1,\n },\n {\n x: 182,\n y: 72,\n },\n {\n x: 167,\n y: 64.6,\n },\n {\n x: 177.8,\n y: 74.8,\n },\n {\n x: 164.5,\n y: 70,\n },\n {\n x: 192,\n y: 101.6,\n },\n {\n x: 175.5,\n y: 63.2,\n },\n {\n x: 171.2,\n y: 79.1,\n },\n {\n x: 181.6,\n y: 78.9,\n },\n {\n x: 167.4,\n y: 67.7,\n },\n {\n x: 181.1,\n y: 66,\n },\n {\n x: 177,\n y: 68.2,\n },\n {\n x: 174.5,\n y: 63.9,\n },\n {\n x: 177.5,\n y: 72,\n },\n {\n x: 170.5,\n y: 56.8,\n },\n {\n x: 182.4,\n y: 74.5,\n },\n {\n x: 197.1,\n y: 90.9,\n },\n {\n x: 180.1,\n y: 93,\n },\n {\n x: 175.5,\n y: 80.9,\n },\n {\n x: 180.6,\n y: 72.7,\n },\n {\n x: 184.4,\n y: 68,\n },\n {\n x: 175.5,\n y: 70.9,\n },\n {\n x: 180.6,\n y: 72.5,\n },\n {\n x: 177,\n y: 72.5,\n },\n {\n x: 177.1,\n y: 83.4,\n },\n {\n x: 181.6,\n y: 75.5,\n },\n {\n x: 176.5,\n y: 73,\n },\n {\n x: 175,\n y: 70.2,\n },\n {\n x: 174,\n y: 73.4,\n },\n {\n x: 165.1,\n y: 70.5,\n },\n {\n x: 177,\n y: 68.9,\n },\n {\n x: 192,\n y: 102.3,\n },\n {\n x: 176.5,\n y: 68.4,\n },\n {\n x: 169.4,\n y: 65.9,\n },\n {\n x: 182.1,\n y: 75.7,\n },\n {\n x: 179.8,\n y: 84.5,\n },\n {\n x: 175.3,\n y: 87.7,\n },\n {\n x: 184.9,\n y: 86.4,\n },\n {\n x: 177.3,\n y: 73.2,\n },\n {\n x: 167.4,\n y: 53.9,\n },\n {\n x: 178.1,\n y: 72,\n },\n {\n x: 168.9,\n y: 55.5,\n },\n {\n x: 157.2,\n y: 58.4,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n {\n x: 170.2,\n y: 72.7,\n },\n {\n x: 177.8,\n y: 64.1,\n },\n {\n x: 172.7,\n y: 72.3,\n },\n {\n x: 165.1,\n y: 65,\n },\n {\n x: 186.7,\n y: 86.4,\n },\n {\n x: 165.1,\n y: 65,\n },\n {\n x: 174,\n y: 88.6,\n },\n {\n x: 175.3,\n y: 84.1,\n },\n {\n x: 185.4,\n y: 66.8,\n },\n {\n x: 177.8,\n y: 75.5,\n },\n {\n x: 180.3,\n y: 93.2,\n },\n {\n x: 180.3,\n y: 82.7,\n },\n {\n x: 177.8,\n y: 58,\n },\n {\n x: 177.8,\n y: 79.5,\n },\n {\n x: 177.8,\n y: 78.6,\n },\n {\n x: 177.8,\n y: 71.8,\n },\n {\n x: 177.8,\n y: 116.4,\n },\n {\n x: 163.8,\n y: 72.2,\n },\n {\n x: 188,\n y: 83.6,\n },\n {\n x: 198.1,\n y: 85.5,\n },\n {\n x: 175.3,\n y: 90.9,\n },\n {\n x: 166.4,\n y: 85.9,\n },\n {\n x: 190.5,\n y: 89.1,\n },\n {\n x: 166.4,\n y: 75,\n },\n {\n x: 177.8,\n y: 77.7,\n },\n {\n x: 179.7,\n y: 86.4,\n },\n {\n x: 172.7,\n y: 90.9,\n },\n {\n x: 190.5,\n y: 73.6,\n },\n {\n x: 185.4,\n y: 76.4,\n },\n {\n x: 168.9,\n y: 69.1,\n },\n {\n x: 167.6,\n y: 84.5,\n },\n {\n x: 175.3,\n y: 64.5,\n },\n {\n x: 170.2,\n y: 69.1,\n },\n {\n x: 190.5,\n y: 108.6,\n },\n {\n x: 177.8,\n y: 86.4,\n },\n {\n x: 190.5,\n y: 80.9,\n },\n {\n x: 177.8,\n y: 87.7,\n },\n {\n x: 184.2,\n y: 94.5,\n },\n {\n x: 176.5,\n y: 80.2,\n },\n {\n x: 177.8,\n y: 72,\n },\n {\n x: 180.3,\n y: 71.4,\n },\n {\n x: 171.4,\n y: 72.7,\n },\n {\n x: 172.7,\n y: 84.1,\n },\n {\n x: 172.7,\n y: 76.8,\n },\n {\n x: 177.8,\n y: 63.6,\n },\n {\n x: 177.8,\n y: 80.9,\n },\n {\n x: 182.9,\n y: 80.9,\n },\n {\n x: 170.2,\n y: 85.5,\n },\n {\n x: 167.6,\n y: 68.6,\n },\n {\n x: 175.3,\n y: 67.7,\n },\n {\n x: 165.1,\n y: 66.4,\n },\n {\n x: 185.4,\n y: 102.3,\n },\n {\n x: 181.6,\n y: 70.5,\n },\n {\n x: 172.7,\n y: 95.9,\n },\n {\n x: 190.5,\n y: 84.1,\n },\n {\n x: 179.1,\n y: 87.3,\n },\n {\n x: 175.3,\n y: 71.8,\n },\n {\n x: 170.2,\n y: 65.9,\n },\n {\n x: 193,\n y: 95.9,\n },\n {\n x: 171.4,\n y: 91.4,\n },\n {\n x: 177.8,\n y: 81.8,\n },\n {\n x: 177.8,\n y: 96.8,\n },\n {\n x: 167.6,\n y: 69.1,\n },\n {\n x: 167.6,\n y: 82.7,\n },\n {\n x: 180.3,\n y: 75.5,\n },\n {\n x: 182.9,\n y: 79.5,\n },\n {\n x: 176.5,\n y: 73.6,\n },\n {\n x: 186.7,\n y: 91.8,\n },\n {\n x: 188,\n y: 84.1,\n },\n {\n x: 188,\n y: 85.9,\n },\n {\n x: 177.8,\n y: 81.8,\n },\n {\n x: 174,\n y: 82.5,\n },\n {\n x: 177.8,\n y: 80.5,\n },\n {\n x: 171.4,\n y: 70,\n },\n {\n x: 185.4,\n y: 81.8,\n },\n {\n x: 185.4,\n y: 84.1,\n },\n {\n x: 188,\n y: 90.5,\n },\n {\n x: 188,\n y: 91.4,\n },\n {\n x: 182.9,\n y: 89.1,\n },\n {\n x: 176.5,\n y: 85,\n },\n {\n x: 175.3,\n y: 69.1,\n },\n {\n x: 175.3,\n y: 73.6,\n },\n {\n x: 188,\n y: 80.5,\n },\n {\n x: 188,\n y: 82.7,\n },\n {\n x: 175.3,\n y: 86.4,\n },\n {\n x: 170.5,\n y: 67.7,\n },\n {\n x: 179.1,\n y: 92.7,\n },\n {\n x: 177.8,\n y: 93.6,\n },\n {\n x: 175.3,\n y: 70.9,\n },\n {\n x: 182.9,\n y: 75,\n },\n {\n x: 170.8,\n y: 93.2,\n },\n {\n x: 188,\n y: 93.2,\n },\n {\n x: 180.3,\n y: 77.7,\n },\n {\n x: 177.8,\n y: 61.4,\n },\n {\n x: 185.4,\n y: 94.1,\n },\n {\n x: 168.9,\n y: 75,\n },\n {\n x: 185.4,\n y: 83.6,\n },\n {\n x: 180.3,\n y: 85.5,\n },\n {\n x: 174,\n y: 73.9,\n },\n {\n x: 167.6,\n y: 66.8,\n },\n {\n x: 182.9,\n y: 87.3,\n },\n {\n x: 160,\n y: 72.3,\n },\n {\n x: 180.3,\n y: 88.6,\n },\n {\n x: 167.6,\n y: 75.5,\n },\n {\n x: 186.7,\n y: 101.4,\n },\n {\n x: 175.3,\n y: 91.1,\n },\n {\n x: 175.3,\n y: 67.3,\n },\n {\n x: 175.9,\n y: 77.7,\n },\n {\n x: 175.3,\n y: 81.8,\n },\n {\n x: 179.1,\n y: 75.5,\n },\n {\n x: 181.6,\n y: 84.5,\n },\n {\n x: 177.8,\n y: 76.6,\n },\n {\n x: 182.9,\n y: 85,\n },\n {\n x: 177.8,\n y: 102.5,\n },\n {\n x: 184.2,\n y: 77.3,\n },\n {\n x: 179.1,\n y: 71.8,\n },\n {\n x: 176.5,\n y: 87.9,\n },\n {\n x: 188,\n y: 94.3,\n },\n {\n x: 174,\n y: 70.9,\n },\n {\n x: 167.6,\n y: 64.5,\n },\n {\n x: 170.2,\n y: 77.3,\n },\n {\n x: 167.6,\n y: 72.3,\n },\n {\n x: 188,\n y: 87.3,\n },\n {\n x: 174,\n y: 80,\n },\n {\n x: 176.5,\n y: 82.3,\n },\n {\n x: 180.3,\n y: 73.6,\n },\n {\n x: 167.6,\n y: 74.1,\n },\n {\n x: 188,\n y: 85.9,\n },\n {\n x: 180.3,\n y: 73.2,\n },\n {\n x: 167.6,\n y: 76.3,\n },\n {\n x: 183,\n y: 65.9,\n },\n {\n x: 183,\n y: 90.9,\n },\n {\n x: 179.1,\n y: 89.1,\n },\n {\n x: 170.2,\n y: 62.3,\n },\n {\n x: 177.8,\n y: 82.7,\n },\n {\n x: 179.1,\n y: 79.1,\n },\n {\n x: 190.5,\n y: 98.2,\n },\n {\n x: 177.8,\n y: 84.1,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n];\n\nexport default () => {\n return (\n \n );\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAoFA,+CAAA,4BApFO,oBAAyH,gBAClE,YAG9D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,OAAO,CAAC,CAAE,SAAO,AAAC,EAC3C,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,qEACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE,uFCpG5B,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCq+DpC,+CAAA,4BAl/DO,oBAAsG,YAG7G,IAAM,EAAO,CACX,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,KACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,EACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,IACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACA,CACE,EAAG,MACH,EAAG,IACL,EACD,KAED,EAAe,IAEX,UAAC,SAAO,EACN,KAAM,EACN,WAAW,eACX,WAAW,6BACX,eAAgB,CAAE,OAAQ,GAAI,kFC/+DhB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/2c5b0acf-async.834671ac.js b/2c5b0acf-async.834671ac.js new file mode 100644 index 0000000..16f189c --- /dev/null +++ b/2c5b0acf-async.834671ac.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["2c5b0acf"],{"2c5b0acf":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return u;}});var s=n("777fffbe"),i=n("a2e753d8"),l=n("5ca000fa"),d=s._(n("9b3f9685")),t=n("9d065c04");function r(){let{texts:e}=(0,l.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"markdown",children:(0,i.jsxs)("h3",{id:"\u4EE3\u7801\u793A\u4F8B",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u793A\u4F8B",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u793A\u4F8B"]})}),(0,i.jsx)(l.DumiDemo,{demo:{id:"map-demo-0"},previewerProps:{}})]});}var u=function(){return(0,i.jsx)(l.DumiPage,{children:(0,i.jsx)(t.Suspense,{fallback:(0,i.jsx)(d.default,{}),children:(0,i.jsx)(r,{})})});};}}]); +//# sourceMappingURL=2c5b0acf-async.834671ac.js.map \ No newline at end of file diff --git a/2c5b0acf-async.834671ac.js.map b/2c5b0acf-async.834671ac.js.map new file mode 100644 index 0000000..067a250 --- /dev/null +++ b/2c5b0acf-async.834671ac.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Map/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"代码示例\"}

;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAkCA,+CAAA,8CA1ByB,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,gCAAkB,UAAC,UAAQ,EACrK,KAAQ,CACN,GAAM,YACR,EACA,eAAkB,CAAC,OAErB,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/2cf24a06-async.d30b9ea9.js b/2cf24a06-async.d30b9ea9.js new file mode 100644 index 0000000..db76037 --- /dev/null +++ b/2cf24a06-async.d30b9ea9.js @@ -0,0 +1,80 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["2cf24a06"],{"0d19db32":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return i;}});var r=t("a2e753d8");t("fbf8d061");var n=t("1c5d635b"),u=t("df67f0d6");let o=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6761}\u{5F62}\u{56FE} + +\`\`\`vis-chart +{ + "type": "bar", + "data": [ + { "group": "London", "category": "Jan.", "value": 18.9 }, + { "group": "London", "category": "Feb.", "value": 28.8 }, + { "group": "London", "category": "Mar.", "value": 39.3 }, + { "group": "London", "category": "Apr.", "value": 81.4 }, + { "group": "London", "category": "May.", "value": 47 }, + { "group": "London", "category": "Jun.", "value": 20.3 }, + { "group": "London", "category": "Jul.", "value": 24 }, + { "group": "London", "category": "Aug.", "value": 35.6 }, + { "group": "Berlin", "category": "Jan.", "value": 12.4 }, + { "group": "Berlin", "category": "Feb.", "value": 23.2 }, + { "group": "Berlin", "category": "Mar.", "value": 34.5 }, + { "group": "Berlin", "category": "Apr.", "value": 99.7 }, + { "group": "Berlin", "category": "May.", "value": 52.6 }, + { "group": "Berlin", "category": "Jun.", "value": 35.5 }, + { "group": "Berlin", "category": "Jul.", "value": 37.4 }, + { "group": "Berlin", "category": "Aug.", "value": 42.4 } + ], + "group": true, + "axisXTitle": "month", + "axisYTitle": "value" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,u.withChartCode)({components:{[u.ChartType.Bar]:u.Bar}}),c=e=>(0,r.jsx)(u.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,r.jsxs)("div",{style:d,children:[(0,r.jsx)(n.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,r.jsx)(n.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"1856afc8":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return i;}});var r=t("a2e753d8");t("a7cff687");var n=t("1c5d635b"),u=t("df67f0d6");let o=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6761}\u{5F62}\u{56FE} + +\`\`\`vis-chart +{ + "type": "bar", + "data": [ + { "category": "1951 \u{5E74}", "value": 38 }, + { "category": "1952 \u{5E74}", "value": 52 }, + { "category": "1956 \u{5E74}", "value": 61 }, + { "category": "1957 \u{5E74}", "value": 145 }, + { "category": "1958 \u{5E74}", "value": 48 }, + { "category": "1959 \u{5E74}", "value": 38 }, + { "category": "1960 \u{5E74}", "value": 38 }, + { "category": "1962 \u{5E74}", "value": 38 } + ], + "axisXTitle": "year", + "axisYTitle": "sales" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,u.withChartCode)({components:{[u.ChartType.Bar]:u.Bar}}),c=e=>(0,r.jsx)(u.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,r.jsxs)("div",{style:d,children:[(0,r.jsx)(n.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6700\u8FD1\u51E0\u5E74\u9500\u552E\u60C5\u51B5",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,r.jsx)(n.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"1c5d635b":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.e(a,{Attachments:function(){return u.default;},Bubble:function(){return d.default;},Conversations:function(){return l.default;},Prompts:function(){return c.default;},Sender:function(){return o.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return f.default;},XProvider:function(){return g.default;},XRequest:function(){return p.default;},XStream:function(){return b.default;},useXAgent:function(){return v.default;},useXChat:function(){return A.default;},version:function(){return n.default;}});var r=t("777fffbe"),n=r._(t("61551e8a")),u=r._(t("150d8a7a")),o=r._(t("013e81db")),d=r._(t("d161127f")),l=r._(t("11781cbc")),c=r._(t("5a025bc4")),i=r._(t("e2d1bf07")),s=r._(t("d0c39811")),f=r._(t("0176aebf")),g=r._(t("8b35f51f")),A=r._(t("92b2492a")),v=r._(t("1e122ed0")),b=r._(t("470d5fd8")),p=r._(t("e0f10014"));},"42afd7cf":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return i;}});var r=t("a2e753d8");t("b31cf3ca");var n=t("1c5d635b"),u=t("df67f0d6");let o=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6761}\u{5F62}\u{56FE} + +\`\`\`vis-chart +{ + "type": "bar", + "data": [ + { "group": "London", "category": "Jan.", "value": 18.9 }, + { "group": "London", "category": "Feb.", "value": 28.8 }, + { "group": "London", "category": "Mar.", "value": 39.3 }, + { "group": "London", "category": "Apr.", "value": 81.4 }, + { "group": "London", "category": "May.", "value": 47 }, + { "group": "London", "category": "Jun.", "value": 20.3 }, + { "group": "London", "category": "Jul.", "value": 24 }, + { "group": "London", "category": "Aug.", "value": 35.6 }, + { "group": "Berlin", "category": "Jan.", "value": 12.4 }, + { "group": "Berlin", "category": "Feb.", "value": 23.2 }, + { "group": "Berlin", "category": "Mar.", "value": 34.5 }, + { "group": "Berlin", "category": "Apr.", "value": 99.7 }, + { "group": "Berlin", "category": "May.", "value": 52.6 }, + { "group": "Berlin", "category": "Jun.", "value": 35.5 }, + { "group": "Berlin", "category": "Jul.", "value": 37.4 }, + { "group": "Berlin", "category": "Aug.", "value": 42.4 } + ], + "stack": true, + "axisXTitle": "month", + "axisYTitle": "value" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,u.withChartCode)({components:{[u.ChartType.Bar]:u.Bar}}),c=e=>(0,r.jsx)(u.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,r.jsxs)("div",{style:d,children:[(0,r.jsx)(n.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,r.jsx)(n.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.e(a,{ConfigProvider:function(){return d.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var r=t("d1751d7c"),n=t("777fffbe"),u=t("852bbaa9");r._(t("5639510f"),a),r._(t("d382b880"),a);var o=t("a574afdb"),d=n._(t("a7265236")),l=n._(t("2c69d5f6")),c=u._(t("033b3748")),i=n._(t("7cf1dc46"));},e7bada6d:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"Source",{enumerable:!0,get:function(){return n.default;}});var r=t("d1751d7c"),n=t("777fffbe")._(t("b00709ad"));r._(t("5e2dda25"),a),r._(t("969efd31"),a),r._(t("f21af0e0"),a),r._(t("33eda958"),a),r._(t("112b9a67"),a),r._(t("a45613fd"),a),r._(t("432777ba"),a);},fd5e13ef:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return o;}});var r=t("a2e753d8");t("68491f3d");var n=t("df67f0d6");let u=[{\u57CE\u5E02:"\u4E03\u53F0\u6CB3",\u9500\u552E\u989D:52827.32},{\u57CE\u5E02:"\u4E07\u53BF",\u9500\u552E\u989D:16921.576},{\u57CE\u5E02:"\u4E09\u4E9A",\u9500\u552E\u989D:22698.396},{\u57CE\u5E02:"\u4E09\u5C94\u5B50",\u9500\u552E\u989D:3262.98},{\u57CE\u5E02:"\u4E0A\u6D77",\u9500\u552E\u989D:182450.567},{\u57CE\u5E02:"\u4E0A\u865E",\u9500\u552E\u989D:10672.872},{\u57CE\u5E02:"\u4E1C\u4E30",\u9500\u552E\u989D:1785.84},{\u57CE\u5E02:"\u4E1C\u53F0",\u9500\u552E\u989D:2789.892},{\u57CE\u5E02:"\u4E1C\u5B81",\u9500\u552E\u989D:2706.2},{\u57CE\u5E02:"\u4E1C\u6751",\u9500\u552E\u989D:13692.14},{\u57CE\u5E02:"\u4E1C\u6D77",\u9500\u552E\u989D:4508.28},{\u57CE\u5E02:"\u4E1C\u80DC",\u9500\u552E\u989D:12766.068},{\u57CE\u5E02:"\u4E1C\u839E",\u9500\u552E\u989D:10165.89},{\u57CE\u5E02:"\u4E1C\u8425",\u9500\u552E\u989D:17153.92},{\u57CE\u5E02:"\u4E2D\u67A2",\u9500\u552E\u989D:1050.42},{\u57CE\u5E02:"\u4E30\u53BF",\u9500\u552E\u989D:10309.516},{\u57CE\u5E02:"\u4E30\u9547",\u9500\u552E\u989D:3507.336},{\u57CE\u5E02:"\u4E34\u6C34",\u9500\u552E\u989D:21443.1},{\u57CE\u5E02:"\u4E34\u6C5F",\u9500\u552E\u989D:36496.74},{\u57CE\u5E02:"\u4E34\u6C7E",\u9500\u552E\u989D:26205.48},{\u57CE\u5E02:"\u4E34\u6C82",\u9500\u552E\u989D:97200.74},{\u57CE\u5E02:"\u4E34\u6D77",\u9500\u552E\u989D:7071.456},{\u57CE\u5E02:"\u4E34\u6E05",\u9500\u552E\u989D:38676.12},{\u57CE\u5E02:"\u4E39\u4E1C",\u9500\u552E\u989D:45447.612},{\u57CE\u5E02:"\u4E39\u6C5F\u53E3",\u9500\u552E\u989D:4879.616},{\u57CE\u5E02:"\u4E3D\u6C34",\u9500\u552E\u989D:3983.616},{\u57CE\u5E02:"\u4E49\u4E4C",\u9500\u552E\u989D:34511.624},{\u57CE\u5E02:"\u4E49\u9A6C",\u9500\u552E\u989D:1144.024},{\u57CE\u5E02:"\u4E4C\u6D77",\u9500\u552E\u989D:16096.64},{\u57CE\u5E02:"\u4E4C\u8FBE",\u9500\u552E\u989D:3474.66},{\u57CE\u5E02:"\u4E50\u57CE",\u9500\u552E\u989D:3241},{\u57CE\u5E02:"\u4E50\u5C71",\u9500\u552E\u989D:12561.892},{\u57CE\u5E02:"\u4E5D\u53F0",\u9500\u552E\u989D:32535.944},{\u57CE\u5E02:"\u4E5D\u6C5F",\u9500\u552E\u989D:29890.7},{\u57CE\u5E02:"\u4E8C\u9053\u6C5F",\u9500\u552E\u989D:4461.24},{\u57CE\u5E02:"\u4E91\u6D6E",\u9500\u552E\u989D:6351.212},{\u57CE\u5E02:"\u4E91\u9633",\u9500\u552E\u989D:24699.64},{\u57CE\u5E02:"\u4E94\u5E38",\u9500\u552E\u989D:3771.46},{\u57CE\u5E02:"\u4EB3\u5DDE",\u9500\u552E\u989D:16961.14},{\u57CE\u5E02:"\u4ED9\u5C45",\u9500\u552E\u989D:6868.512},{\u57CE\u5E02:"\u4ED9\u6843",\u9500\u552E\u989D:16600.164},{\u57CE\u5E02:"\u4EEA\u5F81",\u9500\u552E\u989D:8566.628},{\u57CE\u5E02:"\u4EFB\u4E18",\u9500\u552E\u989D:12106.78},{\u57CE\u5E02:"\u4F59\u4E0B",\u9500\u552E\u989D:103.04},{\u57CE\u5E02:"\u4F59\u59DA",\u9500\u552E\u989D:12621.84},{\u57CE\u5E02:"\u4F5B\u5C71",\u9500\u552E\u989D:7500.388},{\u57CE\u5E02:"\u4F73\u6728\u65AF",\u9500\u552E\u989D:63263.34},{\u57CE\u5E02:"\u4F9D\u5170",\u9500\u552E\u989D:26874.82},{\u57CE\u5E02:"\u4FDD\u5B9A",\u9500\u552E\u989D:124133.1},{\u57CE\u5E02:"\u4FE1\u5B9C",\u9500\u552E\u989D:4771.06},{\u57CE\u5E02:"\u4FE1\u9633",\u9500\u552E\u989D:38849.412},{\u57CE\u5E02:"\u5156\u5DDE",\u9500\u552E\u989D:28648.2},{\u57CE\u5E02:"\u516C\u4E3B\u5CAD",\u9500\u552E\u989D:21210.756},{\u57CE\u5E02:"\u516D\u5408",\u9500\u552E\u989D:5775.98},{\u57CE\u5E02:"\u5170\u5DDE",\u9500\u552E\u989D:42543.144}];var o=()=>(0,r.jsx)(n.Bar,{data:u,xField:"\u57CE\u5E02",yField:"\u9500\u552E\u989D",axisXTitle:"\u57CE\u5E02",axisYTitle:"\u9500\u552E\u989D"});}}]); +//# sourceMappingURL=2cf24a06-async.d30b9ea9.js.map \ No newline at end of file diff --git a/2cf24a06-async.d30b9ea9.js.map b/2cf24a06-async.d30b9ea9.js.map new file mode 100644 index 0000000..3e21318 --- /dev/null +++ b/2cf24a06-async.d30b9ea9.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Bar/demos/group.tsx?techStack=react","src/Bar/demos/markdown.tsx?techStack=react","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Bar/demos/stack.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Bar/demos/common.tsx?techStack=react"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/group.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个条形图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"bar\",\n \"data\": [\n { \"group\": \"London\", \"category\": \"Jan.\", \"value\": 18.9 },\n { \"group\": \"London\", \"category\": \"Feb.\", \"value\": 28.8 },\n { \"group\": \"London\", \"category\": \"Mar.\", \"value\": 39.3 },\n { \"group\": \"London\", \"category\": \"Apr.\", \"value\": 81.4 },\n { \"group\": \"London\", \"category\": \"May.\", \"value\": 47 },\n { \"group\": \"London\", \"category\": \"Jun.\", \"value\": 20.3 },\n { \"group\": \"London\", \"category\": \"Jul.\", \"value\": 24 },\n { \"group\": \"London\", \"category\": \"Aug.\", \"value\": 35.6 },\n { \"group\": \"Berlin\", \"category\": \"Jan.\", \"value\": 12.4 },\n { \"group\": \"Berlin\", \"category\": \"Feb.\", \"value\": 23.2 },\n { \"group\": \"Berlin\", \"category\": \"Mar.\", \"value\": 34.5 },\n { \"group\": \"Berlin\", \"category\": \"Apr.\", \"value\": 99.7 },\n { \"group\": \"Berlin\", \"category\": \"May.\", \"value\": 52.6 },\n { \"group\": \"Berlin\", \"category\": \"Jun.\", \"value\": 35.5 },\n { \"group\": \"Berlin\", \"category\": \"Jul.\", \"value\": 37.4 },\n { \"group\": \"Berlin\", \"category\": \"Aug.\", \"value\": 42.4 }\n ],\n \"group\": true,\n \"axisXTitle\": \"month\",\n \"axisYTitle\": \"value\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个条形图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"bar\",\n \"data\": [\n { \"category\": \"1951 年\", \"value\": 38 },\n { \"category\": \"1952 年\", \"value\": 52 },\n { \"category\": \"1956 年\", \"value\": 61 },\n { \"category\": \"1957 年\", \"value\": 145 },\n { \"category\": \"1958 年\", \"value\": 48 },\n { \"category\": \"1959 年\", \"value\": 38 },\n { \"category\": \"1960 年\", \"value\": 38 },\n { \"category\": \"1962 年\", \"value\": 38 }\n ],\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"sales\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/stack.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { Bar, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个条形图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"bar\",\n \"data\": [\n { \"group\": \"London\", \"category\": \"Jan.\", \"value\": 18.9 },\n { \"group\": \"London\", \"category\": \"Feb.\", \"value\": 28.8 },\n { \"group\": \"London\", \"category\": \"Mar.\", \"value\": 39.3 },\n { \"group\": \"London\", \"category\": \"Apr.\", \"value\": 81.4 },\n { \"group\": \"London\", \"category\": \"May.\", \"value\": 47 },\n { \"group\": \"London\", \"category\": \"Jun.\", \"value\": 20.3 },\n { \"group\": \"London\", \"category\": \"Jul.\", \"value\": 24 },\n { \"group\": \"London\", \"category\": \"Aug.\", \"value\": 35.6 },\n { \"group\": \"Berlin\", \"category\": \"Jan.\", \"value\": 12.4 },\n { \"group\": \"Berlin\", \"category\": \"Feb.\", \"value\": 23.2 },\n { \"group\": \"Berlin\", \"category\": \"Mar.\", \"value\": 34.5 },\n { \"group\": \"Berlin\", \"category\": \"Apr.\", \"value\": 99.7 },\n { \"group\": \"Berlin\", \"category\": \"May.\", \"value\": 52.6 },\n { \"group\": \"Berlin\", \"category\": \"Jun.\", \"value\": 35.5 },\n { \"group\": \"Berlin\", \"category\": \"Jul.\", \"value\": 37.4 },\n { \"group\": \"Berlin\", \"category\": \"Aug.\", \"value\": 42.4 }\n ],\n \"stack\": true,\n \"axisXTitle\": \"month\",\n \"axisYTitle\": \"value\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Bar]: Bar },\n});\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/demos/common.tsx?watch=parent';import { Bar } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n 城市: '七台河',\n 销售额: 52827.32,\n },\n {\n 城市: '万县',\n 销售额: 16921.576,\n },\n {\n 城市: '三亚',\n 销售额: 22698.396,\n },\n {\n 城市: '三岔子',\n 销售额: 3262.98,\n },\n {\n 城市: '上海',\n 销售额: 182450.567,\n },\n {\n 城市: '上虞',\n 销售额: 10672.872,\n },\n {\n 城市: '东丰',\n 销售额: 1785.84,\n },\n {\n 城市: '东台',\n 销售额: 2789.892,\n },\n {\n 城市: '东宁',\n 销售额: 2706.2,\n },\n {\n 城市: '东村',\n 销售额: 13692.14,\n },\n {\n 城市: '东海',\n 销售额: 4508.28,\n },\n {\n 城市: '东胜',\n 销售额: 12766.068,\n },\n {\n 城市: '东莞',\n 销售额: 10165.89,\n },\n {\n 城市: '东营',\n 销售额: 17153.92,\n },\n {\n 城市: '中枢',\n 销售额: 1050.42,\n },\n {\n 城市: '丰县',\n 销售额: 10309.516,\n },\n {\n 城市: '丰镇',\n 销售额: 3507.336,\n },\n {\n 城市: '临水',\n 销售额: 21443.1,\n },\n {\n 城市: '临江',\n 销售额: 36496.74,\n },\n {\n 城市: '临汾',\n 销售额: 26205.48,\n },\n {\n 城市: '临沂',\n 销售额: 97200.74,\n },\n {\n 城市: '临海',\n 销售额: 7071.456,\n },\n {\n 城市: '临清',\n 销售额: 38676.12,\n },\n {\n 城市: '丹东',\n 销售额: 45447.612,\n },\n {\n 城市: '丹江口',\n 销售额: 4879.616,\n },\n {\n 城市: '丽水',\n 销售额: 3983.616,\n },\n {\n 城市: '义乌',\n 销售额: 34511.624,\n },\n {\n 城市: '义马',\n 销售额: 1144.024,\n },\n {\n 城市: '乌海',\n 销售额: 16096.64,\n },\n {\n 城市: '乌达',\n 销售额: 3474.66,\n },\n {\n 城市: '乐城',\n 销售额: 3241,\n },\n {\n 城市: '乐山',\n 销售额: 12561.892,\n },\n {\n 城市: '九台',\n 销售额: 32535.944,\n },\n {\n 城市: '九江',\n 销售额: 29890.7,\n },\n {\n 城市: '二道江',\n 销售额: 4461.24,\n },\n {\n 城市: '云浮',\n 销售额: 6351.212,\n },\n {\n 城市: '云阳',\n 销售额: 24699.64,\n },\n {\n 城市: '五常',\n 销售额: 3771.46,\n },\n {\n 城市: '亳州',\n 销售额: 16961.14,\n },\n {\n 城市: '仙居',\n 销售额: 6868.512,\n },\n {\n 城市: '仙桃',\n 销售额: 16600.164,\n },\n {\n 城市: '仪征',\n 销售额: 8566.628,\n },\n {\n 城市: '任丘',\n 销售额: 12106.78,\n },\n {\n 城市: '余下',\n 销售额: 103.04,\n },\n {\n 城市: '余姚',\n 销售额: 12621.84,\n },\n {\n 城市: '佛山',\n 销售额: 7500.388,\n },\n {\n 城市: '佳木斯',\n 销售额: 63263.34,\n },\n {\n 城市: '依兰',\n 销售额: 26874.82,\n },\n {\n 城市: '保定',\n 销售额: 124133.1,\n },\n {\n 城市: '信宜',\n 销售额: 4771.06,\n },\n {\n 城市: '信阳',\n 销售额: 38849.412,\n },\n {\n 城市: '兖州',\n 销售额: 28648.2,\n },\n {\n 城市: '公主岭',\n 销售额: 21210.756,\n },\n {\n 城市: '六合',\n 销售额: 5775.98,\n },\n {\n 城市: '兰州',\n 销售额: 42543.144,\n },\n];\n\nexport default () => {\n return ;\n};\n"],"names":[],"mappings":"+PAmDA,+CAAA,4BAnDO,oBAAkH,gBAC/D,YAG1D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,GAAG,CAAC,CAAE,KAAG,AAAC,CACrC,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,qEACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE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EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,MACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,qBACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,IACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,qBACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,MACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,qBACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,QACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,qBACJ,mBAAK,SACP,EACA,CACE,aAAI,eACJ,mBAAK,OACP,EACA,CACE,aAAI,eACJ,mBAAK,SACP,EACD,KAED,EAAe,IACN,UAAC,KAAG,EAAC,KAAM,EAAM,OAAO,eAAK,OAAO,qBAAM,WAAW,eAAK,WAAW"} \ No newline at end of file diff --git a/2e2fc5f9-async.ea5cfdb4.js b/2e2fc5f9-async.ea5cfdb4.js new file mode 100644 index 0000000..b8e72b3 --- /dev/null +++ b/2e2fc5f9-async.ea5cfdb4.js @@ -0,0 +1,301 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["2e2fc5f9"],{"1c5d635b":function(e,a,u){"use strict";u.d(a,"__esModule",{value:!0}),u.e(a,{Attachments:function(){return t.default;},Bubble:function(){return r.default;},Conversations:function(){return f.default;},Prompts:function(){return d.default;},Sender:function(){return n.default;},Suggestion:function(){return o.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return s.default;},XProvider:function(){return c.default;},XRequest:function(){return A.default;},XStream:function(){return h.default;},useXAgent:function(){return _.default;},useXChat:function(){return b.default;},version:function(){return v.default;}});var l=u("777fffbe"),v=l._(u("61551e8a")),t=l._(u("150d8a7a")),n=l._(u("013e81db")),r=l._(u("d161127f")),f=l._(u("11781cbc")),d=l._(u("5a025bc4")),i=l._(u("e2d1bf07")),o=l._(u("d0c39811")),s=l._(u("0176aebf")),c=l._(u("8b35f51f")),b=l._(u("92b2492a")),_=l._(u("1e122ed0")),h=l._(u("470d5fd8")),A=l._(u("e0f10014"));},df67f0d6:function(e,a,u){"use strict";u.d(a,"__esModule",{value:!0}),u.e(a,{ConfigProvider:function(){return r.default;},GPTVis:function(){return f.default;},GPTVisLite:function(){return d.default;},useEventPublish:function(){return d.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return n.withChartCode;},withDefaultChartCode:function(){return n.withDefaultChartCode;}});var l=u("d1751d7c"),v=u("777fffbe"),t=u("852bbaa9");l._(u("5639510f"),a),l._(u("d382b880"),a);var n=u("a574afdb"),r=v._(u("a7265236")),f=v._(u("2c69d5f6")),d=t._(u("033b3748")),i=v._(u("7cf1dc46"));},e1bfee5c:function(e,a,u){"use strict";u.d(a,"__esModule",{value:!0}),u.d(a,"default",{enumerable:!0,get:function(){return i;}});var l=u("a2e753d8");u("f82c4002");var v=u("1c5d635b"),t=u("df67f0d6");let n=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{76F4}\u{65B9}\u{56FE} + +\`\`\`vis-chart +{ + "type": "histogram", + "data": [ + { + "value": 45 + }, + { + "value": 55 + }, + { + "value": 67 + }, + { + "value": 50 + }, + { + "value": 42 + }, + { + "value": 61 + }, + { + "value": 33 + }, + { + "value": 76 + }, + { + "value": 59 + }, + { + "value": 51 + }, + { + "value": 70 + }, + { + "value": 63 + }, + { + "value": 50 + }, + { + "value": 48 + }, + { + "value": 37 + }, + { + "value": 72 + }, + { + "value": 55 + }, + { + "value": 52 + }, + { + "value": 50 + }, + { + "value": 46 + }, + { + "value": 65 + }, + { + "value": 68 + }, + { + "value": 60 + }, + { + "value": 45 + }, + { + "value": 54 + }, + { + "value": 75 + }, + { + "value": 49 + }, + { + "value": 56 + }, + { + "value": 47 + }, + { + "value": 51 + }, + { + "value": 62 + }, + { + "value": 53 + }, + { + "value": 71 + }, + { + "value": 50 + }, + { + "value": 40 + }, + { + "value": 57 + }, + { + "value": 36 + }, + { + "value": 69 + }, + { + "value": 42 + }, + { + "value": 63 + }, + { + "value": 44 + }, + { + "value": 64 + }, + { + "value": 77 + }, + { + "value": 59 + }, + { + "value": 50 + }, + { + "value": 53 + }, + { + "value": 61 + }, + { + "value": 48 + }, + { + "value": 58 + }, + { + "value": 66 + }, + { + "value": 51 + }, + { + "value": 39 + }, + { + "value": 60 + }, + { + "value": 56 + }, + { + "value": 57 + }, + { + "value": 67 + }, + { + "value": 64 + }, + { + "value": 53 + }, + { + "value": 73 + }, + { + "value": 50 + }, + { + "value": 45 + }, + { + "value": 61 + }, + { + "value": 58 + }, + { + "value": 54 + }, + { + "value": 68 + }, + { + "value": 41 + }, + { + "value": 62 + }, + { + "value": 50 + }, + { + "value": 46 + }, + { + "value": 70 + }, + { + "value": 42 + }, + { + "value": 69 + }, + { + "value": 55 + }, + { + "value": 60 + }, + { + "value": 51 + }, + { + "value": 66 + }, + { + "value": 48 + }, + { + "value": 59 + }, + { + "value": 52 + }, + { + "value": 63 + }, + { + "value": 57 + }, + { + "value": 61 + }, + { + "value": 74 + }, + { + "value": 65 + }, + { + "value": 55 + }, + { + "value": 47 + }, + { + "value": 53 + }, + { + "value": 68 + }, + { + "value": 62 + }, + { + "value": 49 + }, + { + "value": 58 + }, + { + "value": 66 + }, + { + "value": 50 + }, + { + "value": 44 + }, + { + "value": 72 + }, + { + "value": 41 + } + ], + "binNumber": 10 +} +\`\`\` +`,r={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},f=(0,t.withChartCode)({components:{[t.ChartType.Histogram]:t.Histogram},style:{width:350}}),d=e=>(0,l.jsx)(t.GPTVisLite,{components:{code:f},children:e});var i=()=>(0,l.jsxs)("div",{style:r,children:[(0,l.jsx)(v.Bubble,{placement:"end",content:"\u76F4\u65B9\u56FE\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,l.jsx)(v.Bubble,{content:n,messageRender:d,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},e7bada6d:function(e,a,u){"use strict";u.d(a,"__esModule",{value:!0}),u.d(a,"Source",{enumerable:!0,get:function(){return v.default;}});var l=u("d1751d7c"),v=u("777fffbe")._(u("b00709ad"));l._(u("5e2dda25"),a),l._(u("969efd31"),a),l._(u("f21af0e0"),a),l._(u("33eda958"),a),l._(u("112b9a67"),a),l._(u("a45613fd"),a),l._(u("432777ba"),a);},f2d507f1:function(e,a,u){"use strict";u.d(a,"__esModule",{value:!0}),u.d(a,"default",{enumerable:!0,get:function(){return n;}});var l=u("a2e753d8");u("f2a80a64");var v=u("df67f0d6");let t=[{value:1.2},{value:3.4},{value:3.7},{value:4.3},{value:5.2},{value:5.8},{value:6.1},{value:6.5},{value:6.8},{value:7.1},{value:7.3},{value:7.7},{value:8.3},{value:8.6},{value:8.8},{value:9.1},{value:9.2},{value:9.4},{value:9.5},{value:9.7},{value:10.5},{value:10.7},{value:10.8},{value:11},{value:11},{value:11.1},{value:11.2},{value:11.3},{value:11.4},{value:11.4},{value:11.7},{value:12},{value:12.9},{value:12.9},{value:13.3},{value:13.7},{value:13.8},{value:13.9},{value:14},{value:14.2},{value:14.5},{value:15},{value:15.2},{value:15.6},{value:16},{value:16.3},{value:17.3},{value:17.5},{value:17.9},{value:18},{value:18},{value:20.6},{value:21},{value:23.4}];var n=()=>(0,l.jsx)(v.Histogram,{data:t,binNumber:10,axisXTitle:"range",axisYTitle:"count",containerStyle:{height:300}});}}]); +//# sourceMappingURL=2e2fc5f9-async.ea5cfdb4.js.map \ No newline at end of file diff --git a/2e2fc5f9-async.ea5cfdb4.js.map b/2e2fc5f9-async.ea5cfdb4.js.map new file mode 100644 index 0000000..1562db7 --- /dev/null +++ b/2e2fc5f9-async.ea5cfdb4.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/index.ts","src/Histogram/demos/markdown.tsx?techStack=react","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Histogram/demos/common.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Histogram, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个直方图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"histogram\",\n \"data\": [\n {\n \"value\": 45\n },\n {\n \"value\": 55\n },\n {\n \"value\": 67\n },\n {\n \"value\": 50\n },\n {\n \"value\": 42\n },\n {\n \"value\": 61\n },\n {\n \"value\": 33\n },\n {\n \"value\": 76\n },\n {\n \"value\": 59\n },\n {\n \"value\": 51\n },\n {\n \"value\": 70\n },\n {\n \"value\": 63\n },\n {\n \"value\": 50\n },\n {\n \"value\": 48\n },\n {\n \"value\": 37\n },\n {\n \"value\": 72\n },\n {\n \"value\": 55\n },\n {\n \"value\": 52\n },\n {\n \"value\": 50\n },\n {\n \"value\": 46\n },\n {\n \"value\": 65\n },\n {\n \"value\": 68\n },\n {\n \"value\": 60\n },\n {\n \"value\": 45\n },\n {\n \"value\": 54\n },\n {\n \"value\": 75\n },\n {\n \"value\": 49\n },\n {\n \"value\": 56\n },\n {\n \"value\": 47\n },\n {\n \"value\": 51\n },\n {\n \"value\": 62\n },\n {\n \"value\": 53\n },\n {\n \"value\": 71\n },\n {\n \"value\": 50\n },\n {\n \"value\": 40\n },\n {\n \"value\": 57\n },\n {\n \"value\": 36\n },\n {\n \"value\": 69\n },\n {\n \"value\": 42\n },\n {\n \"value\": 63\n },\n {\n \"value\": 44\n },\n {\n \"value\": 64\n },\n {\n \"value\": 77\n },\n {\n \"value\": 59\n },\n {\n \"value\": 50\n },\n {\n \"value\": 53\n },\n {\n \"value\": 61\n },\n {\n \"value\": 48\n },\n {\n \"value\": 58\n },\n {\n \"value\": 66\n },\n {\n \"value\": 51\n },\n {\n \"value\": 39\n },\n {\n \"value\": 60\n },\n {\n \"value\": 56\n },\n {\n \"value\": 57\n },\n {\n \"value\": 67\n },\n {\n \"value\": 64\n },\n {\n \"value\": 53\n },\n {\n \"value\": 73\n },\n {\n \"value\": 50\n },\n {\n \"value\": 45\n },\n {\n \"value\": 61\n },\n {\n \"value\": 58\n },\n {\n \"value\": 54\n },\n {\n \"value\": 68\n },\n {\n \"value\": 41\n },\n {\n \"value\": 62\n },\n {\n \"value\": 50\n },\n {\n \"value\": 46\n },\n {\n \"value\": 70\n },\n {\n \"value\": 42\n },\n {\n \"value\": 69\n },\n {\n \"value\": 55\n },\n {\n \"value\": 60\n },\n {\n \"value\": 51\n },\n {\n \"value\": 66\n },\n {\n \"value\": 48\n },\n {\n \"value\": 59\n },\n {\n \"value\": 52\n },\n {\n \"value\": 63\n },\n {\n \"value\": 57\n },\n {\n \"value\": 61\n },\n {\n \"value\": 74\n },\n {\n \"value\": 65\n },\n {\n \"value\": 55\n },\n {\n \"value\": 47\n },\n {\n \"value\": 53\n },\n {\n \"value\": 68\n },\n {\n \"value\": 62\n },\n {\n \"value\": 49\n },\n {\n \"value\": 58\n },\n {\n \"value\": 66\n },\n {\n \"value\": 50\n },\n {\n \"value\": 44\n },\n {\n \"value\": 72\n },\n {\n \"value\": 41\n }\n ],\n \"binNumber\": 10\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Histogram]: Histogram },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/common.tsx?watch=parent';import { Histogram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { value: 1.2 },\n { value: 3.4 },\n { value: 3.7 },\n { value: 4.3 },\n { value: 5.2 },\n { value: 5.8 },\n { value: 6.1 },\n { value: 6.5 },\n { value: 6.8 },\n { value: 7.1 },\n { value: 7.3 },\n { value: 7.7 },\n { value: 8.3 },\n { value: 8.6 },\n { value: 8.8 },\n { value: 9.1 },\n { value: 9.2 },\n { value: 9.4 },\n { value: 9.5 },\n { value: 9.7 },\n { value: 10.5 },\n { value: 10.7 },\n { value: 10.8 },\n { value: 11.0 },\n { value: 11.0 },\n { value: 11.1 },\n { value: 11.2 },\n { value: 11.3 },\n { value: 11.4 },\n { value: 11.4 },\n { value: 11.7 },\n { value: 12.0 },\n { value: 12.9 },\n { value: 12.9 },\n { value: 13.3 },\n { value: 13.7 },\n { value: 13.8 },\n { value: 13.9 },\n { value: 14.0 },\n { value: 14.2 },\n { value: 14.5 },\n { value: 15 },\n { value: 15.2 },\n { value: 15.6 },\n { value: 16.0 },\n { value: 16.3 },\n { value: 17.3 },\n { value: 17.5 },\n { value: 17.9 },\n { value: 18.0 },\n { value: 18.0 },\n { value: 20.6 },\n { value: 21 },\n { value: 23.4 },\n];\n\nexport default () => {\n return (\n \n );\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,2FCJhB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mB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AK,EACd,CAAE,MAAO,EAAG,EACZ,CAAE,MAAO,IAAK,EACf,KAED,EAAe,IAEX,UAAC,WAAS,EACR,KAAM,EACN,UAAW,GACX,WAAW,QACX,WAAW,QACX,eAAgB,CAAE,OAAQ,GAAI"} \ No newline at end of file diff --git a/31c800c6-async.169b13b7.js b/31c800c6-async.169b13b7.js new file mode 100644 index 0000000..62bba6a --- /dev/null +++ b/31c800c6-async.169b13b7.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["31c800c6"],{"31c800c6":function(e,s,n){"use strict";n.d(s,"__esModule",{value:!0}),n.d(s,"default",{enumerable:!0,get:function(){return t;}});var i=n("777fffbe"),d=n("a2e753d8"),a=i._(n("1b472ae8")),l=i._(n("49f20ac6")),r=n("5ca000fa"),h=i._(n("9b3f9685")),c=n("9d065c04");function x(){let{texts:e}=(0,r.useRouteMeta)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h1",{id:"fishbonediagram-\u9C7C\u9AA8\u56FE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#fishbonediagram-\u9C7C\u9AA8\u56FE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"FishboneDiagram \u9C7C\u9AA8\u56FE"]}),(0,d.jsx)("p",{children:e[0].value}),(0,d.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,d.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,d.jsx)(r.DumiDemo,{demo:{id:"fishbonediagram-demo-common"},previewerProps:{filename:"src/FishboneDiagram/demos/common.tsx"}}),(0,d.jsx)("div",{className:"markdown",children:(0,d.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,d.jsx)(r.DumiDemo,{demo:{id:"fishbonediagram-demo-markdown"},previewerProps:{filename:"src/FishboneDiagram/demos/markdown.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"spec",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,d.jsx)(a.default,{lang:"json",children:e[1].value}),(0,d.jsxs)("h2",{id:"api",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,d.jsxs)("h3",{id:"fishboneprops",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#fishboneprops",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"FishboneProps"]}),(0,d.jsxs)(l.default,{children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:e[2].value}),(0,d.jsx)("th",{children:e[3].value}),(0,d.jsx)("th",{children:e[4].value}),(0,d.jsx)("th",{children:e[5].value}),(0,d.jsx)("th",{children:e[6].value})]})}),(0,d.jsx)("tbody",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[7].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[8].value})}),(0,d.jsx)("td",{children:e[9].value}),(0,d.jsx)("td",{children:e[10].value}),(0,d.jsx)("td",{children:e[11].value})]})})]}),(0,d.jsxs)("h3",{id:"fishbonedata",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#fishbonedata",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"FishboneData"]}),(0,d.jsxs)(l.default,{children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:e[12].value}),(0,d.jsx)("th",{children:e[13].value}),(0,d.jsx)("th",{children:e[14].value}),(0,d.jsx)("th",{children:e[15].value}),(0,d.jsx)("th",{children:e[16].value})]})}),(0,d.jsxs)("tbody",{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[17].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[18].value})}),(0,d.jsx)("td",{children:e[19].value}),(0,d.jsx)("td",{children:e[20].value}),(0,d.jsx)("td",{children:e[21].value})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[22].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[23].value})}),(0,d.jsx)("td",{children:e[24].value}),(0,d.jsx)("td",{children:e[25].value}),(0,d.jsxs)("td",{children:[e[26].value,(0,d.jsx)("code",{children:e[27].value}),e[28].value]})]})]})]})]})]});}var t=function(){return(0,d.jsx)(r.DumiPage,{children:(0,d.jsx)(c.Suspense,{fallback:(0,d.jsx)(h.default,{}),children:(0,d.jsx)(x,{})})});};}}]); +//# sourceMappingURL=31c800c6-async.169b13b7.js.map \ No newline at end of file diff --git a/31c800c6-async.169b13b7.js.map b/31c800c6-async.169b13b7.js.map new file mode 100644 index 0000000..b7ee7d1 --- /dev/null +++ b/31c800c6-async.169b13b7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/FishboneDiagram/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"FishboneDiagram 鱼骨图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"FishboneProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"FishboneData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA2CA,+CAAA,kDAtCuB,qBACL,iBAEO,oBAII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C,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,WAAC,gBAAI,CAAc,CAAC,GAAG,CAAC,KAAK,CAAC,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,GAAS,CAAc,CAAC,GAAG,CAAC,KAAK,mBAChpD,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/32e00b5e-async.a8863a52.js b/32e00b5e-async.a8863a52.js new file mode 100644 index 0000000..2d19c4e --- /dev/null +++ b/32e00b5e-async.a8863a52.js @@ -0,0 +1,82 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["32e00b5e"],{"0039c572":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return l;}});var n=a("a2e753d8");a("71e4927d");var u=a("df67f0d6");let r=` +\`\`\`vis-chart +{ + "type": "column", + "data": [ + { "category": "\u{7B2C}\u{4E00}\u{4EA7}\u{4E1A}", "value": 7200.0 }, + { "category": "\u{7B2C}\u{4E8C}\u{4EA7}\u{4E1A}", "value": 36600.0 }, + { "category": "\u{7B2C}\u{4E09}\u{4EA7}\u{4E1A}" ,"value": 41000.0 }, + { "category": "\u{7B2C}\u{56DB}\u{4EA7}\u{4E1A}" ,"value": 21000.0 }, + { "category": "\u{5176}\u{4ED6}\u{4EA7}\u{4E1A}" ,"value": 81000.0 } + ] +} +\`\`\` +`,d=(0,u.withChartCode)({components:{[u.ChartType.Column]:u.Column},debug:!0});var l=()=>(0,n.jsx)(u.GPTVisLite,{components:{code:d},children:r});},"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return r.default;},Bubble:function(){return l.default;},Conversations:function(){return o.default;},Prompts:function(){return i.default;},Sender:function(){return d.default;},Suggestion:function(){return f.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return s.default;},XProvider:function(){return b.default;},XRequest:function(){return m.default;},XStream:function(){return h.default;},useXAgent:function(){return v.default;},useXChat:function(){return g.default;},version:function(){return u.default;}});var n=a("777fffbe"),u=n._(a("61551e8a")),r=n._(a("150d8a7a")),d=n._(a("013e81db")),l=n._(a("d161127f")),o=n._(a("11781cbc")),i=n._(a("5a025bc4")),c=n._(a("e2d1bf07")),f=n._(a("d0c39811")),s=n._(a("0176aebf")),b=n._(a("8b35f51f")),g=n._(a("92b2492a")),v=n._(a("1e122ed0")),h=n._(a("470d5fd8")),m=n._(a("e0f10014"));},"1feffc3e":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return s;}});var n=a("a2e753d8");a("b70d1ea4");var u=a("1c5d635b"),r=a("df67f0d6"),d=a("9d065c04");let l=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{67F1}\u{72B6}\u{56FE} + +\`\`\`vis-chart +{ + "type": "column", + "data": [ + { "category": "\u{7B2C}\u{4E00}\u{4EA7}\u{4E1A}", "value": 7200.0 }, + { "category": "\u{7B2C}\u{4E8C}\u{4EA7}\u{4E1A}", "value": 36600.0 }, + { "category": "\u{7B2C}\u{4E09}\u{4EA7}\u{4E1A}" ,"value": 41000.0 } + ] +} +\`\`\` +`,o={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,r.withChartCode)({components:{[r.ChartType.Column]:r.Column},loadingTimeout:3e3}),c=e=>(0,n.jsx)(r.GPTVisLite,{components:{code:i},children:e}),f=()=>{let[e,t]=(0,d.useState)(""),a=(0,d.useRef)(""),n=(0,d.useRef)(null),u=()=>{n.current=setInterval(()=>{let u=parseInt((10*Math.random()).toString(),20),r=a.current+l.substring(a.current.length,a.current.length+u);a.current=r,t(r),e.length===l.length-1&&clearTimeout(n.current);},200);};return[e,()=>{n.current&&clearTimeout(n.current),n.current=null,a.current="",t(""),u();}];};var s=()=>{let[e,t]=f();return(0,d.useEffect)(()=>{t();},[]),(0,n.jsxs)("div",{style:o,children:[(0,n.jsx)("button",{onClick:t,type:"button",children:"\u91CD\u65B0\u6F14\u793A"}),(0,n.jsx)(u.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,n.jsx)(u.Bubble,{content:e,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}}),(0,n.jsx)(u.Bubble,{content:"\u751F\u6210\u8D85\u65F6\u7684\u6F14\u793A\n"+e.substring(0,e.length-10),messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});};},"42a9474b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return l;}});var n=a("a2e753d8");a("93d1d306");var u=a("df67f0d6");let r=` +\`\`\`my-ui +my data ... +\`\`\` + +\`\`\`vis-chart +{ + "type": "pin-map", + "data": [ + { "label": "\u{6768}\u{6885}\u{5CAD}", "longitude": 120.118362, "latitude": 30.217175 }, + { "label": "\u{7406}\u{5B89}\u{5BFA}", "longitude": 120.112958, "latitude": 30.207319 }, + { "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}", "longitude": 120.11335, "latitude": 30.202395 }, + { "label": "\u{98DE}\u{6765}\u{5CF0}", "longitude": 120.100549, "latitude": 30.236875 }, + { "label": "\u{7075}\u{9690}\u{5BFA}", "longitude": 120.101406, "latitude": 30.240826 }, + { "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}", "longitude": 120.105337, "latitude": 30.236818 }, + { "label": "\u{676D}\u{5DDE}\u{690D}\u{7269}\u{56ED}", "longitude": 120.116979, "latitude": 30.252876 }, + { "label": "\u{676D}\u{5DDE}\u{82B1}\u{5703}", "longitude": 120.127654, "latitude": 30.245663 }, + { "label": "\u{82CF}\u{5824}", "longitude": 120.135764, "latitude": 30.251448 }, + { "label": "\u{864E}\u{8DD1}\u{516C}\u{56ED}", "longitude": 120.130095, "latitude": 30.207505 }, + { "label": "\u{7389}\u{7687}\u{98DE}\u{4E91}", "longitude": 120.145323, "latitude": 30.214993 }, + { "label": "\u{957F}\u{6865}\u{516C}\u{56ED}", "longitude": 120.155057, "latitude": 30.232985 } + ] +} +\`\`\` +`,d=(0,u.withDefaultChartCode)({languageRenderers:{"my-ui":({children:e})=>(0,n.jsx)("div",{style:{backgroundColor:"#f0f0f0",padding:"10px"},children:e})}});var l=()=>(0,n.jsx)("div",{children:(0,n.jsx)(u.GPTVisLite,{components:{code:d},children:r})});},"5dee4d26":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var n=a("a2e753d8");a("ff1ba601");var u=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{53EF}\u{4EE5}\u{FF01}\u{5728} JavaScript \u{4E2D}\u{FF0C}\u{4F60}\u{53EF}\u{4EE5}\u{4F7F}\u{7528}\u{52A0}\u{6CD5}\u{8FD0}\u{7B97}\u{7B26} \`+\` \u{6765}\u{5B9E}\u{73B0}\u{4E24}\u{4E2A}\u{6570}\u{5B57}\u{7684}\u{76F8}\u{52A0}\u{3002}\u{4EE5}\u{4E0B}\u{662F}\u{4E00}\u{4E2A}\u{7B80}\u{5355}\u{7684}\u{51FD}\u{6570}\u{FF0C}\u{5B83}\u{63A5}\u{53D7}\u{4E24}\u{4E2A}\u{53C2}\u{6570} \`a\` \u{548C} \`b\`,\u{5E76}\u{8FD4}\u{56DE}\u{5B83}\u{4EEC}\u{7684}\u{548C}\u{FF1A} + +\`\`\`javascript +function add(a, b) { + return a + b; +} + +// \u{793A}\u{4F8B}\u{7528}\u{6CD5} +const result = add(3, 4); +console.log(result); // \u{8F93}\u{51FA}\u{FF1A}7 +\`\`\` + +\u{5728}\u{8FD9}\u{4E2A}\u{793A}\u{4F8B}\u{4E2D}\u{FF0C}\u{6211}\u{4EEC}\u{5B9A}\u{4E49}\u{4E86}\u{4E00}\u{4E2A}\u{540D}\u{4E3A} \`add\` \u{7684}\u{51FD}\u{6570}\u{FF0C}\u{5B83}\u{63A5}\u{53D7}\u{4E24}\u{4E2A}\u{53C2}\u{6570} \`a\` \u{548C} \`b\`\u{3002}\u{51FD}\u{6570}\u{7684}\u{4E3B}\u{4F53}\u{53EA}\u{6709}\u{4E00}\u{884C}\u{4EE3}\u{7801}\u{FF0C}\u{4F7F}\u{7528}\u{52A0}\u{6CD5}\u{8FD0}\u{7B97}\u{7B26} \`+\` \u{5C06} \`a\` \u{548C} \`b\` \u{76F8}\u{52A0}\u{FF0C}\u{5E76}\u{8FD4}\u{56DE}\u{7ED3}\u{679C}\u{3002} + +\u{7136}\u{540E}\u{FF0C}\u{6211}\u{4EEC}\u{8C03}\u{7528} +`,d=` +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +\`\`\` +`,l=(0,u.withDefaultChartCode)({debug:!0});var o=()=>(0,n.jsxs)("div",{children:[(0,n.jsx)(u.GPTVisLite,{children:r}),(0,n.jsx)(u.GPTVisLite,{components:{code:l},children:d})]});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return l.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var n=a("d1751d7c"),u=a("777fffbe"),r=a("852bbaa9");n._(a("5639510f"),t),n._(a("d382b880"),t);var d=a("a574afdb"),l=u._(a("a7265236")),o=u._(a("2c69d5f6")),i=r._(a("033b3748")),c=u._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var n=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));n._(a("5e2dda25"),t),n._(a("969efd31"),t),n._(a("f21af0e0"),t),n._(a("33eda958"),t),n._(a("112b9a67"),t),n._(a("a45613fd"),t),n._(a("432777ba"),t);}}]); +//# sourceMappingURL=32e00b5e-async.a8863a52.js.map \ No newline at end of file diff --git a/32e00b5e-async.a8863a52.js.map b/32e00b5e-async.a8863a52.js.map new file mode 100644 index 0000000..d500919 --- /dev/null +++ b/32e00b5e-async.a8863a52.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ChartCodeRender/demos/common.tsx?techStack=react","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/ChartCodeRender/demos/stream.tsx?techStack=react","src/ChartCodeRender/demos/extra.tsx?techStack=react","src/ChartCodeRender/demos/default.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/common.tsx?watch=parent';import { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [\n { \"category\": \"第一产业\", \"value\": 7200.0 },\n { \"category\": \"第二产业\", \"value\": 36600.0 },\n { \"category\": \"第三产业\" ,\"value\": 41000.0 },\n { \"category\": \"第四产业\" ,\"value\": 21000.0 },\n { \"category\": \"其他产业\" ,\"value\": 81000.0 }\n ]\n}\n\\`\\`\\`\n`;\n\n// 自定义代码块渲染组件,NOTE: withChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n debug: true,\n});\n\nexport default () => {\n return (\n \n {markdownContent}\n \n );\n};\n","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/stream.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React, { useEffect, useRef, useState } from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个柱状图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [\n { \"category\": \"第一产业\", \"value\": 7200.0 },\n { \"category\": \"第二产业\", \"value\": 36600.0 },\n { \"category\": \"第三产业\" ,\"value\": 41000.0 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\n// 自定义代码块渲染组件,NOTE: withChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n loadingTimeout: 3000,\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nconst useStreamText = () => {\n const [text, setText] = useState('');\n const nowTextRef = useRef('');\n const timerRef = useRef(null);\n\n /** 模拟流式输出markdownContent */\n const streamOutput = () => {\n timerRef.current = setInterval(() => {\n const step = parseInt((Math.random() * 10).toString(), 20);\n const nowText =\n nowTextRef.current +\n markdownContent.substring(nowTextRef.current.length, nowTextRef.current.length + step);\n nowTextRef.current = nowText;\n setText(nowText);\n if (text.length === markdownContent.length - 1) {\n clearTimeout(timerRef.current);\n }\n }, 200);\n };\n\n const restart = () => {\n if (timerRef.current) clearTimeout(timerRef.current);\n timerRef.current = null;\n nowTextRef.current = '';\n setText('');\n streamOutput();\n };\n\n return [text, restart] as const;\n};\n\nexport default () => {\n const [text, restart] = useStreamText();\n\n useEffect(() => {\n restart();\n }, []);\n\n return (\n
\n \n\n \n \n \n
\n );\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/extra.tsx?watch=parent';import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\n/**\n * 自定义代码块渲染器\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n return
{children}
;\n};\n\nconst markdownContent = `\n\\`\\`\\`my-ui\nmy data ...\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pin-map\",\n \"data\": [\n { \"label\": \"杨梅岭\", \"longitude\": 120.118362, \"latitude\": 30.217175 },\n { \"label\": \"理安寺\", \"longitude\": 120.112958, \"latitude\": 30.207319 },\n { \"label\": \"九溪烟树\", \"longitude\": 120.11335, \"latitude\": 30.202395 },\n { \"label\": \"飞来峰\", \"longitude\": 120.100549, \"latitude\": 30.236875 },\n { \"label\": \"灵隐寺\", \"longitude\": 120.101406, \"latitude\": 30.240826 },\n { \"label\": \"天竺三寺\", \"longitude\": 120.105337, \"latitude\": 30.236818 },\n { \"label\": \"杭州植物园\", \"longitude\": 120.116979, \"latitude\": 30.252876 },\n { \"label\": \"杭州花圃\", \"longitude\": 120.127654, \"latitude\": 30.245663 },\n { \"label\": \"苏堤\", \"longitude\": 120.135764, \"latitude\": 30.251448 },\n { \"label\": \"虎跑公园\", \"longitude\": 120.130095, \"latitude\": 30.207505 },\n { \"label\": \"玉皇飞云\", \"longitude\": 120.145323, \"latitude\": 30.214993 },\n { \"label\": \"长桥公园\", \"longitude\": 120.155057, \"latitude\": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\n\n// 自定义代码块渲染组件,NOTE: withDefaultChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\nconst CodeComponent = withDefaultChartCode({\n languageRenderers: {\n 'my-ui': MyUIRenderer,\n },\n});\n\nexport default () => (\n
\n \n {markdownContent}\n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/default.tsx?watch=parent';import { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst commonString = `\n当然可以!在 JavaScript 中,你可以使用加法运算符 \\`+\\` 来实现两个数字的相加。以下是一个简单的函数,它接受两个参数 \\`a\\` 和 \\`b\\`,并返回它们的和:\n\n\\`\\`\\`javascript\\nfunction add(a, b) {\\n return a + b;\\n}\\n\\n// 示例用法\\nconst result = add(3, 4);\\nconsole.log(result); // 输出:7\\n\\`\\`\\`\\n\\n在这个示例中,我们定义了一个名为 \\`add\\` 的函数,它接受两个参数 \\`a\\` 和 \\`b\\`。函数的主体只有一行代码,使用加法运算符 \\`+\\` 将 \\`a\\` 和 \\`b\\` 相加,并返回结果。\\n\\n然后,我们调用\n`;\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n\\`\\`\\`\n`;\n\n// 自定义代码块渲染组件,NOTE: withDefaultChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\nconst CodeComponent = withDefaultChartCode({\n debug: true,\n});\n\nexport default () => (\n
\n {commonString}\n \n {markdownContent}\n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAwBA,+CAAA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ACjB,QAjCqC,CAAC,CAAE,SAAA,CAAQ,CAAE,GAC7C,UAAC,OAAI,MAAO,CAAE,gBAAiB,UAAW,QAAS,MAAO,WAAI,GAiCrE,CACF,OAEA,EAAe,IACb,UAAC,gBACC,UAAC,YAAU,EACT,WAAY,CACV,KAAM,CACR,WAEC,qFCrBP,+CAAA,4BA9BO,oBAAwI,YAG/I,IAAM,EAAe,CAAC;;;;;;;;;;;;;;;;AAItB,CAAC,CAEK,EAAkB,CAAC;;;;;;;;;;;;;;AAczB,CAAC,CAGK,EAAgB,GAAA,sBAAoB,EAAC,CACzC,MAAO,CAAA,CACT,OAEA,EAAe,IACb,WAAC,iBACC,UAAC,YAAU,WAAE,IACb,UAAC,YAAU,EACT,WAAY,CACV,KAAM,CACR,WAEC,qFC7Ba,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/335479ed-async.8517973a.js b/335479ed-async.8517973a.js new file mode 100644 index 0000000..016ed09 --- /dev/null +++ b/335479ed-async.8517973a.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["335479ed"],{"335479ed":function(e,d,l){"use strict";l.d(d,"__esModule",{value:!0}),l.d(d,"default",{enumerable:!0,get:function(){return x;}});var s=l("777fffbe"),i=l("a2e753d8"),n=s._(l("1b472ae8")),r=s._(l("49f20ac6")),a=l("5ca000fa"),t=s._(l("9b3f9685")),c=l("9d065c04");function h(){let{texts:e}=(0,a.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h1",{id:"line-\u6298\u7EBF\u56FE",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#line-\u6298\u7EBF\u56FE",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Line \u6298\u7EBF\u56FE"]}),(0,i.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,i.jsx)(a.DumiDemo,{demo:{id:"line-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Line/demos/common.tsx"}}),(0,i.jsx)(a.DumiDemoGrid,{items:[{demo:{id:"line-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Line/demos/markdown.tsx"}},{demo:{id:"line-demo-category"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165 group \u5B57\u6BB5

",title:"\u591A\u6298\u7EBF\u56FE",filename:"src/Line/demos/category.tsx"}}]}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"spec",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,i.jsx)(n.default,{lang:"json",children:e[0].value}),(0,i.jsxs)("h2",{id:"api",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,i.jsxs)("h3",{id:"lineprops",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#lineprops",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"LineProps"]}),(0,i.jsxs)(r.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[1].value}),(0,i.jsx)("th",{children:e[2].value}),(0,i.jsx)("th",{children:e[3].value}),(0,i.jsx)("th",{children:e[4].value}),(0,i.jsx)("th",{children:e[5].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[6].value}),(0,i.jsx)("td",{children:e[7].value}),(0,i.jsx)("td",{children:e[8].value}),(0,i.jsx)("td",{children:e[9].value}),(0,i.jsx)("td",{children:e[10].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[11].value}),(0,i.jsx)("td",{children:e[12].value}),(0,i.jsx)("td",{children:e[13].value}),(0,i.jsx)("td",{children:e[14].value}),(0,i.jsx)("td",{children:e[15].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[16].value}),(0,i.jsx)("td",{children:e[17].value}),(0,i.jsx)("td",{children:e[18].value}),(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[21].value}),(0,i.jsx)("td",{children:e[22].value}),(0,i.jsx)("td",{children:e[23].value}),(0,i.jsx)("td",{children:e[24].value}),(0,i.jsx)("td",{children:e[25].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[26].value}),(0,i.jsx)("td",{children:e[27].value}),(0,i.jsx)("td",{children:e[28].value}),(0,i.jsx)("td",{children:e[29].value}),(0,i.jsxs)("td",{children:[e[30].value,(0,i.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[31].value})]})]})]})]}),(0,i.jsxs)("h3",{id:"linedataitem",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#linedataitem",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"LineDataItem"]}),(0,i.jsxs)(r.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[32].value}),(0,i.jsx)("th",{children:e[33].value}),(0,i.jsx)("th",{children:e[34].value}),(0,i.jsx)("th",{children:e[35].value}),(0,i.jsx)("th",{children:e[36].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[37].value}),(0,i.jsx)("td",{children:e[38].value}),(0,i.jsx)("td",{children:e[39].value}),(0,i.jsx)("td",{children:e[40].value}),(0,i.jsx)("td",{children:e[41].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[42].value}),(0,i.jsx)("td",{children:e[43].value}),(0,i.jsx)("td",{children:e[44].value}),(0,i.jsx)("td",{children:e[45].value}),(0,i.jsx)("td",{children:e[46].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[47].value}),(0,i.jsx)("td",{children:e[48].value}),(0,i.jsx)("td",{children:e[49].value}),(0,i.jsx)("td",{children:e[50].value}),(0,i.jsx)("td",{children:e[51].value})]})]})]})]})]});}var x=function(){return(0,i.jsx)(a.DumiPage,{children:(0,i.jsx)(c.Suspense,{fallback:(0,i.jsx)(t.default,{}),children:(0,i.jsx)(h,{})})});};}}]); +//# sourceMappingURL=335479ed-async.8517973a.js.map \ No newline at end of file diff --git a/335479ed-async.8517973a.js.map b/335479ed-async.8517973a.js.map new file mode 100644 index 0000000..e99cac5 --- /dev/null +++ b/335479ed-async.8517973a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Line/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Line 折线图\"}

{\"代码演示\"}

在 data 中传入 group 字段

\",\n \"title\": \"多折线图\",\n \"filename\": \"src/Line/demos/category.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"LineProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}

{\"LineDataItem\"}

{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAsDA,+CAAA,kDAjDuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,oCAAW,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,oCAAY,UAAC,QAAK,UAAU,qBAAwB,6BAAgB,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACpS,KAAQ,CACN,GAAM,kBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,2BACd,IACG,UAAC,cAAY,EAAC,MAAO,CAAC,CACzB,KAAQ,CACN,GAAM,oBACR,EACA,eAAkB,CAChB,MAAS,qCACT,SAAY,6BACd,CACF,EAAG,CACD,KAAQ,CACN,GAAM,oBACR,EACA,eAAkB,CAChB,YAAe,2DACf,MAAS,2BACT,SAAY,6BACd,CACF,EAAE,GAAI,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,gBAAQ,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,gBAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,gBAAO,UAAC,QAAK,UAAU,qBAAwB,SAAW,WAAC,MAAG,GAAG,sBAAY,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK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AI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAC1hF,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/37a41e41-async.be1fd787.js b/37a41e41-async.be1fd787.js new file mode 100644 index 0000000..9df8476 --- /dev/null +++ b/37a41e41-async.be1fd787.js @@ -0,0 +1,21 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["37a41e41"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return d.default;},Bubble:function(){return i.default;},Conversations:function(){return o.default;},Prompts:function(){return f.default;},Sender:function(){return n.default;},Suggestion:function(){return b.default;},ThoughtChain:function(){return r.default;},Welcome:function(){return c.default;},XProvider:function(){return s.default;},XRequest:function(){return _.default;},XStream:function(){return m.default;},useXAgent:function(){return A.default;},useXChat:function(){return g.default;},version:function(){return u.default;}});var l=a("777fffbe"),u=l._(a("61551e8a")),d=l._(a("150d8a7a")),n=l._(a("013e81db")),i=l._(a("d161127f")),o=l._(a("11781cbc")),f=l._(a("5a025bc4")),r=l._(a("e2d1bf07")),b=l._(a("d0c39811")),c=l._(a("0176aebf")),s=l._(a("8b35f51f")),g=l._(a("92b2492a")),A=l._(a("1e122ed0")),m=l._(a("470d5fd8")),_=l._(a("e0f10014"));},"7eb0772e":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return d;}});var l=a("a2e753d8");a("c63affee");var u=a("df67f0d6"),d=()=>(0,l.jsx)(u.PinMap,{data:[{label:"\u77F3\u5C4B\u6D1E",longitude:120.130638,latitude:30.219835,cityname:"\u676D\u5DDE\u5E02"},{label:"\u6EE1\u89C9\u9647",longitude:120.128125,latitude:30.219386},{label:"\u6768\u6885\u5CAD",longitude:120.118362,latitude:30.217175},{label:"\u7406\u5B89\u5BFA",longitude:120.112958,latitude:30.207319},{label:"\u4E5D\u6EAA\u70DF\u6811",longitude:120.11335,latitude:30.202395},{label:"\u98DE\u6765\u5CF0",longitude:120.100549,latitude:30.236875},{label:"\u7075\u9690\u5BFA",longitude:120.101406,latitude:30.240826},{label:"\u5929\u7AFA\u4E09\u5BFA",longitude:120.105337,latitude:30.236818},{label:"\u676D\u5DDE\u690D\u7269\u56ED",longitude:120.116979,latitude:30.252876},{label:"\u676D\u5DDE\u82B1\u5703",longitude:120.127654,latitude:30.245663},{label:"\u82CF\u5824",longitude:120.135764,latitude:30.251448},{label:"\u864E\u8DD1\u516C\u56ED",longitude:120.130095,latitude:30.207505},{label:"\u7389\u7687\u98DE\u4E91",longitude:120.145323,latitude:30.214993},{label:"\u957F\u6865\u516C\u56ED",longitude:120.155057,latitude:30.232985}],markerStyle:{iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original",width:5,anchorY:-1,label:{color:"#735142",fontSize:10,bgColor:"#ffffff"}},mapType:"amap://styles/2acc71263b1344d93a902db8df1c8b68"});},"9a365c18":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return r;}});var l=a("a2e753d8");a("f86a0457");var u=a("1c5d635b"),d=a("df67f0d6");let n={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=e=>(0,l.jsx)(d.GPTVisLite,{components:{code:f},children:e}),o=` + ~~~vis-chart + { + "type": "pin-map", + "data": [ + { "label": "\u{6768}\u{6885}\u{5CAD}", "longitude": 120.118362, "latitude": 30.217175 }, + { "label": "\u{7406}\u{5B89}\u{5BFA}", "longitude": 120.112958, "latitude": 30.207319 }, + { "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}", "longitude": 120.11335, "latitude": 30.202395 }, + { "label": "\u{98DE}\u{6765}\u{5CF0}", "longitude": 120.100549, "latitude": 30.236875 }, + { "label": "\u{7075}\u{9690}\u{5BFA}", "longitude": 120.101406, "latitude": 30.240826 }, + { "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}", "longitude": 120.105337, "latitude": 30.236818 }, + { "label": "\u{676D}\u{5DDE}\u{690D}\u{7269}\u{56ED}", "longitude": 120.116979, "latitude": 30.252876 }, + { "label": "\u{676D}\u{5DDE}\u{82B1}\u{5703}", "longitude": 120.127654, "latitude": 30.245663 }, + { "label": "\u{82CF}\u{5824}", "longitude": 120.135764, "latitude": 30.251448 }, + { "label": "\u{864E}\u{8DD1}\u{516C}\u{56ED}", "longitude": 120.130095, "latitude": 30.207505 }, + { "label": "\u{7389}\u{7687}\u{98DE}\u{4E91}", "longitude": 120.145323, "latitude": 30.214993 }, + { "label": "\u{957F}\u{6865}\u{516C}\u{56ED}", "longitude": 120.155057, "latitude": 30.232985 } + ] +} +~~~`,f=(0,d.withChartCode)({components:{[d.ChartType.PinMap]:d.PinMap},debug:!0,style:{width:500}});var r=()=>(0,l.jsx)(d.ConfigProvider,{map:{style:"amap://styles/2acc71263b1344d93a902db8df1c8b68",token:"\u4F60\u7684\u5730\u56FEtoken"},components:{PinMap:{markerStyle:{iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original"}}},children:(0,l.jsxs)("div",{style:n,children:[(0,l.jsx)(u.Bubble,{placement:"end",content:"\u676D\u5DDE\u53EF\u4EE5\u770B\u6842\u82B1\u7684\u5730\u65B9",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,l.jsx)(u.Bubble,{content:o,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]})});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return i.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return f.default;},useEventPublish:function(){return f.useEventPublish;},version:function(){return r.default;},withChartCode:function(){return n.withChartCode;},withDefaultChartCode:function(){return n.withDefaultChartCode;}});var l=a("d1751d7c"),u=a("777fffbe"),d=a("852bbaa9");l._(a("5639510f"),t),l._(a("d382b880"),t);var n=a("a574afdb"),i=u._(a("a7265236")),o=u._(a("2c69d5f6")),f=d._(a("033b3748")),r=u._(a("7cf1dc46"));},e1919698:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return d;}});var l=a("a2e753d8");a("b6ae7a74");var u=a("df67f0d6"),d=()=>(0,l.jsx)(u.PinMap,{data:[{label:"\u77F3\u5C4B\u6D1E",longitude:120.130638,latitude:30.219835,cityname:"\u676D\u5DDE\u5E02"},{label:"\u6EE1\u89C9\u9647",longitude:120.128125,latitude:30.219386},{label:"\u6768\u6885\u5CAD",longitude:120.118362,latitude:30.217175},{label:"\u7406\u5B89\u5BFA",longitude:120.112958,latitude:30.207319},{label:"\u4E5D\u6EAA\u70DF\u6811",longitude:120.11335,latitude:30.202395},{label:"\u98DE\u6765\u5CF0",longitude:120.100549,latitude:30.236875},{label:"\u7075\u9690\u5BFA",longitude:120.101406,latitude:30.240826},{label:"\u5929\u7AFA\u4E09\u5BFA",longitude:120.105337,latitude:30.236818},{label:"\u676D\u5DDE\u690D\u7269\u56ED",longitude:120.116979,latitude:30.252876},{label:"\u676D\u5DDE\u82B1\u5703",longitude:120.127654,latitude:30.245663},{label:"\u82CF\u5824",longitude:120.135764,latitude:30.251448},{label:"\u864E\u8DD1\u516C\u56ED",longitude:120.130095,latitude:30.207505},{label:"\u7389\u7687\u98DE\u4E91",longitude:120.145323,latitude:30.214993},{label:"\u957F\u6865\u516C\u56ED",longitude:120.155057,latitude:30.232985}],mapType:"amap://styles/2acc71263b1344d93a902db8df1c8b68"});},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var l=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));l._(a("5e2dda25"),t),l._(a("969efd31"),t),l._(a("f21af0e0"),t),l._(a("33eda958"),t),l._(a("112b9a67"),t),l._(a("a45613fd"),t),l._(a("432777ba"),t);}}]); +//# sourceMappingURL=37a41e41-async.be1fd787.js.map \ No newline at end of file diff --git a/37a41e41-async.be1fd787.js.map b/37a41e41-async.be1fd787.js.map new file mode 100644 index 0000000..75e89c3 --- /dev/null +++ b/37a41e41-async.be1fd787.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/PinMap/demos/marker.tsx?techStack=react","src/PinMap/demos/markdown.tsx?techStack=react","src/index.ts","src/PinMap/demos/default.tsx?techStack=react","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/marker.tsx?watch=parent';import { PinMap } from '@antv/gpt-vis';\nimport React from 'react';\nexport default () => {\n const data = [\n {\n label: '石屋洞',\n longitude: 120.130638,\n latitude: 30.219835,\n cityname: '杭州市',\n },\n {\n label: '满觉陇',\n longitude: 120.128125,\n latitude: 30.219386,\n },\n { label: '杨梅岭', longitude: 120.118362, latitude: 30.217175 },\n { label: '理安寺', longitude: 120.112958, latitude: 30.207319 },\n { label: '九溪烟树', longitude: 120.11335, latitude: 30.202395 },\n { label: '飞来峰', longitude: 120.100549, latitude: 30.236875 },\n { label: '灵隐寺', longitude: 120.101406, latitude: 30.240826 },\n { label: '天竺三寺', longitude: 120.105337, latitude: 30.236818 },\n { label: '杭州植物园', longitude: 120.116979, latitude: 30.252876 },\n { label: '杭州花圃', longitude: 120.127654, latitude: 30.245663 },\n { label: '苏堤', longitude: 120.135764, latitude: 30.251448 },\n { label: '虎跑公园', longitude: 120.130095, latitude: 30.207505 },\n { label: '玉皇飞云', longitude: 120.145323, latitude: 30.214993 },\n { label: '长桥公园', longitude: 120.155057, latitude: 30.232985 },\n ];\n const markerStyle = {\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\n width: 5,\n anchorY: -1,\n label: {\n color: '#735142',\n fontSize: 10,\n bgColor: '#ffffff',\n },\n };\n\n return (\n \n );\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, ConfigProvider, GPTVisLite, PinMap, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nconst markdownContent = `\n ~~~vis-chart\n {\n \"type\": \"pin-map\",\n \"data\": [\n { \"label\": \"杨梅岭\", \"longitude\": 120.118362, \"latitude\": 30.217175 },\n { \"label\": \"理安寺\", \"longitude\": 120.112958, \"latitude\": 30.207319 },\n { \"label\": \"九溪烟树\", \"longitude\": 120.11335, \"latitude\": 30.202395 },\n { \"label\": \"飞来峰\", \"longitude\": 120.100549, \"latitude\": 30.236875 },\n { \"label\": \"灵隐寺\", \"longitude\": 120.101406, \"latitude\": 30.240826 },\n { \"label\": \"天竺三寺\", \"longitude\": 120.105337, \"latitude\": 30.236818 },\n { \"label\": \"杭州植物园\", \"longitude\": 120.116979, \"latitude\": 30.252876 },\n { \"label\": \"杭州花圃\", \"longitude\": 120.127654, \"latitude\": 30.245663 },\n { \"label\": \"苏堤\", \"longitude\": 120.135764, \"latitude\": 30.251448 },\n { \"label\": \"虎跑公园\", \"longitude\": 120.130095, \"latitude\": 30.207505 },\n { \"label\": \"玉皇飞云\", \"longitude\": 120.145323, \"latitude\": 30.214993 },\n { \"label\": \"长桥公园\", \"longitude\": 120.155057, \"latitude\": 30.232985 }\n ]\n}\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.PinMap]: PinMap },\n debug: true,\n style: { width: 500 },\n});\n\nexport default () => {\n return (\n \n
\n \n \n
\n \n );\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/default.tsx?watch=parent';import { PinMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nexport default () => {\n const data = [\n {\n label: '石屋洞',\n longitude: 120.130638,\n latitude: 30.219835,\n cityname: '杭州市',\n },\n {\n label: '满觉陇',\n longitude: 120.128125,\n latitude: 30.219386,\n },\n { label: '杨梅岭', longitude: 120.118362, latitude: 30.217175 },\n { label: '理安寺', longitude: 120.112958, latitude: 30.207319 },\n { label: '九溪烟树', longitude: 120.11335, latitude: 30.202395 },\n { label: '飞来峰', longitude: 120.100549, latitude: 30.236875 },\n { label: '灵隐寺', longitude: 120.101406, latitude: 30.240826 },\n { label: '天竺三寺', longitude: 120.105337, latitude: 30.236818 },\n { label: '杭州植物园', longitude: 120.116979, latitude: 30.252876 },\n { label: '杭州花圃', longitude: 120.127654, latitude: 30.245663 },\n { label: '苏堤', longitude: 120.135764, latitude: 30.251448 },\n { label: '虎跑公园', longitude: 120.130095, latitude: 30.207505 },\n { label: '玉皇飞云', longitude: 120.145323, latitude: 30.214993 },\n { label: '长桥公园', longitude: 120.155057, latitude: 30.232985 },\n ];\n\n return ;\n};\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,G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,UAAW,WAAY,SAAU,SAAU,EAC3D,CAAE,MAAO,qBAAO,UAAW,WAAY,SAAU,SAAU,EAC3D,CAAE,MAAO,2BAAQ,UAAW,UAAW,SAAU,SAAU,EAC3D,CAAE,MAAO,qBAAO,UAAW,WAAY,SAAU,SAAU,EAC3D,CAAE,MAAO,qBAAO,UAAW,WAAY,SAAU,SAAU,EAC3D,CAAE,MAAO,2BAAQ,UAAW,WAAY,SAAU,SAAU,EAC5D,CAAE,MAAO,iCAAS,UAAW,WAAY,SAAU,SAAU,EAC7D,CAAE,MAAO,2BAAQ,UAAW,WAAY,SAAU,SAAU,EAC5D,CAAE,MAAO,eAAM,UAAW,WAAY,SAAU,SAAU,EAC1D,CAAE,MAAO,2BAAQ,UAAW,WAAY,SAAU,SAAU,EAC5D,CAAE,MAAO,2BAAQ,UAAW,WAAY,SAAU,SAAU,EAC5D,CAAE,MAAO,2BAAQ,UAAW,WAAY,SAAU,SAAU,EAC7D,CAE0B,QAAQ,gICpBnC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/3ca0749a-async.b3a45b0a.js b/3ca0749a-async.b3a45b0a.js new file mode 100644 index 0000000..d933d1d --- /dev/null +++ b/3ca0749a-async.b3a45b0a.js @@ -0,0 +1,91 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["3ca0749a"],{"3c9e98d5":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return d;}});var n=t("a2e753d8");t("a28246c2");var i=t("df67f0d6");let r=` + ~~~vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +~~~`,u={legend:!1,innerRadius:.6,style:{stroke:"#fff",inset:1,radius:10}};var d=()=>(0,n.jsx)(i.ConfigProvider,{components:{Pie:u},children:(0,n.jsx)(i.GPTVis,{children:r})});},"4791efb4":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return d;}});var n=t("a2e753d8");t("902a8da0");var i=t("df67f0d6");let r=` + ~~~vis-chart +{ + "type": "mind-map", + "data": { + "name": "\u{53F0}\u{98CE}\u{5F62}\u{6210}\u{7684}\u{56E0}\u{7D20}", + "children": [ + { + "name": "\u{6C14}\u{8C61}\u{6761}\u{4EF6}", + "children": [ + { "name": "\u{6E29}\u{6696}\u{7684}\u{6D77}\u{6C34}" }, + { "name": "\u{6C14}\u{538B}\u{5206}\u{5E03}" }, + { "name": "\u{6E7F}\u{5EA6}\u{6C34}\u{5E73}" }, + { "name": "\u{98CE}\u{7684}\u{5207}\u{53D8}" } + ] + }, + { + "name": "\u{5730}\u{7406}\u{73AF}\u{5883}", + "children": [ + { "name": "\u{5927}\u{9646}\u{67B6}\u{7684}\u{5F62}\u{72B6}\u{4E0E}\u{6DF1}\u{5EA6}" }, + { "name": "\u{6D77}\u{6D0B}\u{6696}\u{6D41}\u{7684}\u{5206}\u{5E03}" }, + { "name": "\u{70ED}\u{5E26}\u{5730}\u{533A}\u{7684}\u{6C14}\u{5019}\u{7279}\u{5F81}" }, + { "name": "\u{5C9B}\u{5C7F}\u{7684}\u{5F71}\u{54CD}" } + ] + } + ] + } +} +~~~`,u={type:"linear",direction:"right",behaviors:e=>[...e.filter(e=>"zoom-canvas"!==e.key),{key:"drag-element",type:"drag-element"}],transforms:e=>[...e.filter(e=>"collapse-expand-react-node"!==e.key),{...e.find(e=>"collapse-expand-react-node"===e.key),enable:!1}]};var d=()=>(0,n.jsx)(i.ConfigProvider,{components:{MindMap:u},children:(0,n.jsx)(i.GPTVis,{children:r})});},d9e2422f:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return u;}});var n=t("a2e753d8");t("f54b0301");var i=t("df67f0d6");let r=` + ~~~vis-chart +{ + "type": "line", + "data": [ + { "time": "2015 \u{5E74}", "value": 1700, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2015 \u{5E74}", "value": 965, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" }, + { "time": "2016 \u{5E74}", "value": 1500, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2016 \u{5E74}", "value": 846, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" }, + { "time": "2017 \u{5E74}", "value": 1200, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2017 \u{5E74}", "value": 782, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" }, + { "time": "2018 \u{5E74}", "value": 1250, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2018 \u{5E74}", "value": 762, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" }, + { "time": "2019 \u{5E74}", "value": 1290, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2019 \u{5E74}", "value": 862, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" }, + { "time": "2020 \u{5E74}", "value": 1100, "group": "\u{51FA}\u{751F}\u{4EBA}\u{53E3}" }, + { "time": "2020 \u{5E74}", "value": 962, "group": "\u{6B7B}\u{4EA1}\u{4EBA}\u{53E3}" } + ], + "axisXTitle": "year", + "axisYTitle": "count" +} +~~~`;var u=()=>(0,n.jsx)(i.ConfigProvider,{plot:{theme:{type:"academy"}},children:(0,n.jsx)(i.GPTVis,{children:r})});},df67f0d6:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.e(a,{ConfigProvider:function(){return d.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return f.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var n=t("d1751d7c"),i=t("777fffbe"),r=t("852bbaa9");n._(t("5639510f"),a),n._(t("d382b880"),a);var u=t("a574afdb"),d=i._(t("a7265236")),l=i._(t("2c69d5f6")),o=r._(t("033b3748")),f=i._(t("7cf1dc46"));},e6806ec7:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"default",{enumerable:!0,get:function(){return u;}});var n=t("a2e753d8");t("00a0c788");var i=t("df67f0d6");let r=` + ~~~vis-chart + { + "type": "pin-map", + "data": [ + { + "longitude": 120.210792, + "latitude": 30.246026, + "label": "\u{676D}\u{5DDE}" + }, + { + "longitude": 121.473667, + "latitude": 31.230525, + "label": "\u{4E0A}\u{6D77}" + }, + { + "longitude": 120.585294, + "latitude": 31.299758, + "label": "\u{82CF}\u{5DDE}" + }, + { + "longitude": 118.796624, + "latitude": 32.059344, + "label": "\u{5357}\u{4EAC}" + } + ] + } +~~~`;var u=()=>(0,n.jsx)(i.ConfigProvider,{map:{style:"dark",token:"\u4F60\u7684\u5730\u56FEtoken"},components:{PinMap:{markerStyle:{iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*oxcETa4MKgwAAAAAAAAAAAAADmJ7AQ/original"}}},children:(0,n.jsx)(i.GPTVis,{children:r})});},e7bada6d:function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"Source",{enumerable:!0,get:function(){return i.default;}});var n=t("d1751d7c"),i=t("777fffbe")._(t("b00709ad"));n._(t("5e2dda25"),a),n._(t("969efd31"),a),n._(t("f21af0e0"),a),n._(t("33eda958"),a),n._(t("112b9a67"),a),n._(t("a45613fd"),a),n._(t("432777ba"),a);}}]); +//# sourceMappingURL=3ca0749a-async.b3a45b0a.js.map \ No newline at end of file diff --git a/3ca0749a-async.b3a45b0a.js.map b/3ca0749a-async.b3a45b0a.js.map new file mode 100644 index 0000000..ec2077d --- /dev/null +++ b/3ca0749a-async.b3a45b0a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ConfigProvider/demos/components-config.tsx?techStack=react","src/ConfigProvider/demos/graph-components-config.tsx?techStack=react","src/ConfigProvider/demos/plot-theme.tsx?techStack=react","src/index.ts","src/ConfigProvider/demos/map-config.tsx?techStack=react","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/components-config.tsx?watch=parent';import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst content = `\n ~~~vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n~~~`;\n\nconst pieConfig = {\n legend: false,\n innerRadius: 0.6,\n style: {\n stroke: '#fff',\n inset: 1,\n radius: 10,\n },\n};\n\nexport default () => (\n \n {content}\n \n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/graph-components-config.tsx?watch=parent';import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst content = `\n ~~~vis-chart\n{\n \"type\": \"mind-map\",\n \"data\": {\n \"name\": \"台风形成的因素\",\n \"children\": [\n {\n \"name\": \"气象条件\",\n \"children\": [\n { \"name\": \"温暖的海水\" },\n { \"name\": \"气压分布\" },\n { \"name\": \"湿度水平\" },\n { \"name\": \"风的切变\" }\n ]\n },\n {\n \"name\": \"地理环境\",\n \"children\": [\n { \"name\": \"大陆架的形状与深度\" },\n { \"name\": \"海洋暖流的分布\" },\n { \"name\": \"热带地区的气候特征\" },\n { \"name\": \"岛屿的影响\" }\n ]\n }\n ]\n }\n}\n~~~`;\n\nconst mindmapConfig = {\n type: 'linear',\n direction: 'right',\n behaviors: (behaviors) => [\n // console.log(behaviors) 👉 [{ key: 'zoom-canvas', type: 'zoom-canvas' }, { key: 'drag-canvas', type: 'drag-canvas' }]\n // 默认启用两个交互,缩放画布和拖拽画布。此处移除缩放画布并添加拖拽元素\n ...behaviors.filter((behavior) => behavior.key !== 'zoom-canvas'),\n {\n key: 'drag-element',\n type: 'drag-element',\n },\n ],\n transforms: (prev) => [\n // 默认节点支持折叠展开,此处禁用\n ...prev.filter((transform) => transform.key !== 'collapse-expand-react-node'),\n {\n ...prev.find((transform) => transform.key === 'collapse-expand-react-node'),\n enable: false,\n },\n ],\n};\n\nexport default () => (\n \n {content}\n \n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/plot-theme.tsx?watch=parent';import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst content = `\n ~~~vis-chart\n{\n \"type\": \"line\",\n \"data\": [\n { \"time\": \"2015 年\", \"value\": 1700, \"group\": \"出生人口\" },\n { \"time\": \"2015 年\", \"value\": 965, \"group\": \"死亡人口\" },\n { \"time\": \"2016 年\", \"value\": 1500, \"group\": \"出生人口\" },\n { \"time\": \"2016 年\", \"value\": 846, \"group\": \"死亡人口\" },\n { \"time\": \"2017 年\", \"value\": 1200, \"group\": \"出生人口\" },\n { \"time\": \"2017 年\", \"value\": 782, \"group\": \"死亡人口\" },\n { \"time\": \"2018 年\", \"value\": 1250, \"group\": \"出生人口\" },\n { \"time\": \"2018 年\", \"value\": 762, \"group\": \"死亡人口\" },\n { \"time\": \"2019 年\", \"value\": 1290, \"group\": \"出生人口\" },\n { \"time\": \"2019 年\", \"value\": 862, \"group\": \"死亡人口\" },\n { \"time\": \"2020 年\", \"value\": 1100, \"group\": \"出生人口\" },\n { \"time\": \"2020 年\", \"value\": 962, \"group\": \"死亡人口\" }\n ],\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"count\"\n}\n~~~`;\n\nexport default () => (\n \n {content}\n \n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/map-config.tsx?watch=parent';import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst content = `\n ~~~vis-chart\n {\n \"type\": \"pin-map\",\n \"data\": [\n {\n \"longitude\": 120.210792,\n \"latitude\": 30.246026,\n \"label\": \"杭州\"\n },\n {\n \"longitude\": 121.473667,\n \"latitude\": 31.230525,\n \"label\": \"上海\"\n },\n {\n \"longitude\": 120.585294,\n \"latitude\": 31.299758,\n \"label\": \"苏州\"\n },\n {\n \"longitude\": 118.796624,\n \"latitude\": 32.059344,\n \"label\": \"南京\"\n }\n ]\n }\n~~~`;\n\nexport default () => (\n \n {content}\n \n);\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PA4BA,+CAAA,4BA5BO,oBAAuI,YAG9I,IAAM,EAAU,CAAC;;;;;;;;;;;;;GAad,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;GA2Bd,CAAC,KAEJ,EAAe,IACb,UAAC,gBAAc,EACb,IAAK,CAAE,MAAO,OAAQ,MAAO,+BAAY,EACzC,WAAY,CACV,OAAQ,CACN,YAAa,CACX,SACE,gGACJ,CACF,CACF,WAEA,UAAC,QAAM,WAAE,mFClCX,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/3e0a3146-async.f9dc4d24.js b/3e0a3146-async.f9dc4d24.js new file mode 100644 index 0000000..e79ad7e --- /dev/null +++ b/3e0a3146-async.f9dc4d24.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["3e0a3146"],{"0430d7b1":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("37349b31");var t="import { Area } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { time: '1991', value: 3 },\n { time: '1992', value: 4 },\n { time: '1993', value: 3.5 },\n { time: '1994', value: 5 },\n { time: '1995', value: 4.9 },\n { time: '1996', value: 6 },\n { time: '1997', value: 7 },\n { time: '1998', value: 9 },\n { time: '1999', value: 13 },\n];\n\nexport default () => {\n return (\n \n );\n};\n";},"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return l.default;},Prompts:function(){return s.default;},Sender:function(){return u.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return v.default;},XProvider:function(){return p.default;},XRequest:function(){return b.default;},XStream:function(){return I.default;},useXAgent:function(){return m.default;},useXChat:function(){return f.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),l=t._(a("11781cbc")),s=t._(a("5a025bc4")),i=t._(a("e2d1bf07")),c=t._(a("d0c39811")),v=t._(a("0176aebf")),p=t._(a("8b35f51f")),f=t._(a("92b2492a")),m=t._(a("1e122ed0")),I=t._(a("470d5fd8")),b=t._(a("e0f10014"));},"9dc33c18":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("7618d994");let t=[{value:'{\n "type": "area",\n "data": [\n { "time": 2018, "value": 91.9 },\n { "time": 2019, "value": 99.1 },\n { "time": 2020, "value": 101.6 },\n { "time": 2021, "value": 114.4 },\n { "time": 2022, "value": 121 }\n ]\n}\n',paraId:0,tocIndex:5},{value:"\u5C5E\u6027",paraId:1,tocIndex:7},{value:"\u7C7B\u578B",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:7},{value:"\u8BF4\u660E",paraId:1,tocIndex:7},{value:"data",paraId:1,tocIndex:7},{value:"AreaDataItem[]",paraId:1,tocIndex:7},{value:"\u662F",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u6570\u636E",paraId:1,tocIndex:7},{value:"stack",paraId:1,tocIndex:7},{value:"boolean",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5F00\u542F\u5806\u53E0\uFF0C\u5F00\u542F\u5806\u53E0\u9762\u79EF\u56FE\u9700\u6570\u636E\u4E2D\u542B\u6709 group \u5B57\u6BB5",paraId:1,tocIndex:7},{value:"title",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"axisXTitle",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"axisYTitle",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"...",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:7},{value:"Ant Design Charts ",paraId:1,tocIndex:7},{value:"\u5C5E\u6027",paraId:2,tocIndex:8},{value:"\u7C7B\u578B",paraId:2,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:8},{value:"\u8BF4\u660E",paraId:2,tocIndex:8},{value:"time",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u7684\u65F6\u5E8F\u540D\u79F0",paraId:2,tocIndex:8},{value:"value",paraId:2,tocIndex:8},{value:"number",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u7684\u503C",paraId:2,tocIndex:8},{value:"group",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u5426",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u5206\u7EC4\u540D\u79F0",paraId:2,tocIndex:8}];},b4d8c69b:function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return l;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("7618d994");var u=d._(a("df67f0d6")),o=d._(a("1c5d635b"));let l={"area-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("855b4b71")]).then(a.dr(t,a.bind(a,"3d66d808"))))),asset:{type:"BLOCK",id:"area-demo-common",refAtomIds:["Area"],dependencies:{"index.tsx":{type:"FILE",value:a("0430d7b1").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"area-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("855b4b71")]).then(a.dr(t,a.bind(a,"2c529b27"))))),asset:{type:"BLOCK",id:"area-demo-markdown",refAtomIds:["Area"],dependencies:{"index.tsx":{type:"FILE",value:a("c14a4ac9").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"area-demo-stack":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("855b4b71")]).then(a.dr(t,a.bind(a,"144f07ad"))))),asset:{type:"BLOCK",id:"area-demo-stack",refAtomIds:["Area"],dependencies:{"index.tsx":{type:"FILE",value:a("fce33132").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5806\u53E0\u9762\u79EF\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},c14a4ac9:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("e54ed773");var t='import type { BubbleProps } from \'@ant-design/x\';\nimport { Bubble } from \'@ant-design/x\';\nimport { Area, ChartType, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u9762\u79EF\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "area",\n "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}],\n "axisXTitle": "year",\n "axisYTitle": "GDP"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n padding: 20,\n background: \'#f7f7f7\',\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Area]: Area },\n style: { width: 350 },\n});\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=d._(a("a7265236")),l=d._(a("2c69d5f6")),s=r._(a("033b3748")),i=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},fce33132:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("4b2af025");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { Area, ChartType, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u9762\u79EF\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "area",\n "data": [\n {\n "time": "1974",\n "value": 107,\n "group": "Gas flaring"\n },\n {\n "time": "1974",\n "value": 208,\n "group": "Renewables"\n },\n {\n "time": "1974",\n "value": 356,\n "group": "Fossil fuels"\n },\n {\n "time": "1975",\n "value": 173,\n "group": "Gas flaring"\n },\n {\n "time": "1975",\n "value": 415,\n "group": "Renewables"\n },\n {\n "time": "1975",\n "value": 364,\n "group": "Fossil fuels"\n },\n {\n "time": "1976",\n "value": 117,\n "group": "Gas flaring"\n },\n {\n "time": "1976",\n "value": 220,\n "group": "Renewables"\n },\n {\n "time": "1976",\n "value": 373,\n "group": "Fossil fuels"\n },\n {\n "time": "1977",\n "value": 122,\n "group": "Gas flaring"\n },\n {\n "time": "1977",\n "value": 225,\n "group": "Renewables"\n },\n {\n "time": "1977",\n "value": 382,\n "group": "Fossil fuels"\n }\n ],\n "stack": true,\n "axisXTitle": "year",\n "axisYTitle": "value"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Area]: Area },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';}}]); +//# sourceMappingURL=3e0a3146-async.f9dc4d24.js.map \ No newline at end of file diff --git a/3e0a3146-async.f9dc4d24.js.map b/3e0a3146-async.f9dc4d24.js.map new file mode 100644 index 0000000..0b78a52 --- /dev/null +++ b/3e0a3146-async.f9dc4d24.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Area/demos/common.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Area/index.md?type=text","src/Area/index.md?type=demo","src/Area/demos/markdown.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Area/demos/stack.tsx?dumi-raw"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/common.tsx?watch=parent';\n export default \"import { Area } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { time: '1991', value: 3 },\\n { time: '1992', value: 4 },\\n { time: '1993', value: 3.5 },\\n { time: '1994', value: 5 },\\n { time: '1995', value: 4.9 },\\n { time: '1996', value: 6 },\\n { time: '1997', value: 7 },\\n { time: '1998', value: 9 },\\n { time: '1999', value: 13 },\\n];\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"area\\\",\\n \\\"data\\\": [\\n { \\\"time\\\": 2018, \\\"value\\\": 91.9 },\\n { \\\"time\\\": 2019, \\\"value\\\": 99.1 },\\n { \\\"time\\\": 2020, \\\"value\\\": 101.6 },\\n { \\\"time\\\": 2021, \\\"value\\\": 114.4 },\\n { \\\"time\\\": 2022, \\\"value\\\": 121 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"AreaDataItem[]\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"stack\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"boolean\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否开启堆叠,开启堆叠面积图需数据中含有 group 字段\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"time\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据的时序名称\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据的值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"group\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据分组名称\",\"paraId\":2,\"tocIndex\":8}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/index.md?watch=parent';\nimport * as area_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as area_demo_common_deps_2 from 'react';\nimport * as area_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'area-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Area__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"area-demo-common\",\n \"refAtomIds\": [\n \"Area\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": area_demo_common_deps_1,\n \"react\": area_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'area-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Area__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"area-demo-markdown\",\n \"refAtomIds\": [\n \"Area\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": area_demo_markdown_deps_1,\n \"@antv/gpt-vis\": area_demo_common_deps_1,\n \"react\": area_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'area-demo-stack': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Area__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/stack.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"area-demo-stack\",\n \"refAtomIds\": [\n \"Area\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/stack.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"堆叠面积图\",\n \"description\": \"在 data 中传入额外的字段,并且设置 stack 为 true\"\n},\n context: {\n \"@ant-design/x\": area_demo_markdown_deps_1,\n \"@antv/gpt-vis\": area_demo_common_deps_1,\n \"react\": area_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/markdown.tsx?watch=parent';\n export default \"import type { BubbleProps } from '@ant-design/x';\\nimport { Bubble } from '@ant-design/x';\\nimport { Area, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个面积图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"area\\\",\\n \\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}],\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"GDP\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n padding: 20,\\n background: '#f7f7f7',\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Area]: Area },\\n style: { width: 350 },\\n});\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/stack.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { Area, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个面积图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"area\\\",\\n \\\"data\\\": [\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 107,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 208,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 356,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 173,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 415,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 364,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 117,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 220,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 373,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 122,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 225,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 382,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n }\\n ],\\n \\\"stack\\\": true,\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"value\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Area]: Area },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n "],"names":[],"mappings":"+PAEE,+CAAA,QADO,gBACP,EAAe,6lBCDG,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXrB,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,4OAAsQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,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CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,kBACN,WAAc,CACZ,OACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAAuE,OAAO,AACjG,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,iCACT,YAAe,8GACjB,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+EC3HE,+CAAA,QADO,gBACP,EAAe,64DCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/404.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/46ad607b-async.99df3c6b.js b/46ad607b-async.99df3c6b.js new file mode 100644 index 0000000..a1f38ea --- /dev/null +++ b/46ad607b-async.99df3c6b.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["46ad607b"],{"46ad607b":function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return x;}});var s=a("777fffbe"),r=a("a2e753d8"),l=s._(a("1b472ae8")),i=s._(a("49f20ac6")),n=a("5ca000fa"),t=s._(a("9b3f9685")),c=a("9d065c04");function h(){let{texts:e}=(0,n.useRouteMeta)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h1",{id:"radar-\u96F7\u8FBE\u56FE",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#radar-\u96F7\u8FBE\u56FE",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Radar \u96F7\u8FBE\u56FE"]}),(0,r.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,r.jsx)(n.DumiDemo,{demo:{id:"radar-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Radar/demos/common.tsx"}}),(0,r.jsx)(n.DumiDemoGrid,{items:[{demo:{id:"radar-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Radar/demos/markdown.tsx"}},{demo:{id:"radar-demo-category"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165 group \u5B57\u6BB5

",title:"\u5206\u7EC4\u96F7\u8FBE\u56FE",filename:"src/Radar/demos/category.tsx"}}]}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsxs)("h2",{id:"spec",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,r.jsx)(l.default,{lang:"json",children:e[0].value}),(0,r.jsxs)("h2",{id:"api",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,r.jsxs)("h3",{id:"radarprops",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#radarprops",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"RadarProps"]}),(0,r.jsxs)(i.default,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[1].value}),(0,r.jsx)("th",{children:e[2].value}),(0,r.jsx)("th",{children:e[3].value}),(0,r.jsx)("th",{children:e[4].value}),(0,r.jsx)("th",{children:e[5].value})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[6].value}),(0,r.jsx)("td",{children:e[7].value}),(0,r.jsx)("td",{children:e[8].value}),(0,r.jsx)("td",{children:e[9].value}),(0,r.jsx)("td",{children:e[10].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[11].value}),(0,r.jsx)("td",{children:e[12].value}),(0,r.jsx)("td",{children:e[13].value}),(0,r.jsx)("td",{children:e[14].value}),(0,r.jsx)("td",{children:e[15].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[16].value}),(0,r.jsx)("td",{children:e[17].value}),(0,r.jsx)("td",{children:e[18].value}),(0,r.jsx)("td",{children:e[19].value}),(0,r.jsxs)("td",{children:[e[20].value,(0,r.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[21].value})]})]})]})]}),(0,r.jsxs)("h3",{id:"radardataitem",children:[(0,r.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#radardataitem",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"RadarDataItem"]}),(0,r.jsxs)(i.default,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:e[22].value}),(0,r.jsx)("th",{children:e[23].value}),(0,r.jsx)("th",{children:e[24].value}),(0,r.jsx)("th",{children:e[25].value}),(0,r.jsx)("th",{children:e[26].value})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[27].value}),(0,r.jsx)("td",{children:e[28].value}),(0,r.jsx)("td",{children:e[29].value}),(0,r.jsx)("td",{children:e[30].value}),(0,r.jsx)("td",{children:e[31].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[32].value}),(0,r.jsx)("td",{children:e[33].value}),(0,r.jsx)("td",{children:e[34].value}),(0,r.jsx)("td",{children:e[35].value}),(0,r.jsx)("td",{children:e[36].value})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e[37].value}),(0,r.jsx)("td",{children:e[38].value}),(0,r.jsx)("td",{children:e[39].value}),(0,r.jsx)("td",{children:e[40].value}),(0,r.jsx)("td",{children:e[41].value})]})]})]})]})]});}var x=function(){return(0,r.jsx)(n.DumiPage,{children:(0,r.jsx)(c.Suspense,{fallback:(0,r.jsx)(t.default,{}),children:(0,r.jsx)(h,{})})});};}}]); +//# sourceMappingURL=46ad607b-async.99df3c6b.js.map \ No newline at end of file diff --git a/46ad607b-async.99df3c6b.js.map b/46ad607b-async.99df3c6b.js.map new file mode 100644 index 0000000..4aa242e --- /dev/null +++ b/46ad607b-async.99df3c6b.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Radar/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Radar 雷达图\"}

{\"代码演示\"}

在 data 中传入 group 字段

\",\n \"title\": \"分组雷达图\",\n \"filename\": \"src/Radar/demos/category.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"RadarProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}

{\"RadarDataItem\"}

{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAsDA,+CAAA,kDAjDuB,qBACL,iBAEO,oBAII,iBACG,YA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C,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAChrE,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/4a69a1cb-async.f1513c55.js b/4a69a1cb-async.f1513c55.js new file mode 100644 index 0000000..ee11466 --- /dev/null +++ b/4a69a1cb-async.f1513c55.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["4a69a1cb"],{"1c5d635b":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return c.default;},Prompts:function(){return i.default;},Sender:function(){return o.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return f.default;},XProvider:function(){return m.default;},XRequest:function(){return h.default;},XStream:function(){return p.default;},useXAgent:function(){return b.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),o=t._(a("013e81db")),u=t._(a("d161127f")),c=t._(a("11781cbc")),i=t._(a("5a025bc4")),s=t._(a("e2d1bf07")),l=t._(a("d0c39811")),f=t._(a("0176aebf")),m=t._(a("8b35f51f")),v=t._(a("92b2492a")),b=t._(a("1e122ed0")),p=t._(a("470d5fd8")),h=t._(a("e0f10014"));},"5a9ccd12":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("83b16f1a");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, FishboneDiagram, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u9C7C\u9AA8\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "fishbone-diagram",\n "data": {\n "name": "\u751F\u4EA7\u6548\u7387\u4F4E",\n "children": [\n {\n "name": "\u8BBE\u5907\u95EE\u9898",\n "children": [{ "name": "\u8BBE\u5907\u8001\u5316" }, { "name": "\u7EF4\u62A4\u4E0D\u53CA\u65F6" }]\n },\n {\n "name": "\u5458\u5DE5\u95EE\u9898",\n "children": [{ "name": "\u6280\u80FD\u4E0D\u8DB3" }, { "name": "\u5DE5\u4F5C\u6001\u5EA6\u5DEE" }]\n },\n {\n "name": "\u6D41\u7A0B\u95EE\u9898",\n "children": [{ "name": "\u6D41\u7A0B\u7E41\u7410" }, { "name": "\u7F3A\u4E4F\u6807\u51C6\u5316" }]\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.FishboneDiagram]: FishboneDiagram },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"67be58a8":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"texts",{enumerable:!0,get:function(){return t;}}),a("efc54e21");let t=[{value:"\u9C7C\u9AA8\u56FE\uFF0C\u662F\u4E00\u79CD\u4EE5\u6838\u5FC3\u95EE\u9898\u4E3A\u9C7C\u5934\uFF0C\u901A\u8FC7\u9C7C\u9AA8\u5206\u652F\u7684\u5F62\u5F0F\u5206\u6790\u548C\u5C55\u793A\u95EE\u9898\u539F\u56E0\u6216\u7ED3\u679C\u7684\u56FE\u8868\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "fishbone-diagram",\n "data": {\n "name": "problem",\n "children": [\n {\n "name": "bone 1",\n "children": [{ "name": "factor 1-1" }, { "name": "factor 1-2" }]\n },\n {\n "name": "bone 2",\n "children": [{ "name": "factor 2-1" }, { "name": "factor 2-2" }]\n }\n ]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"FishboneData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"name",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u7528\u4E8E\u663E\u793A\u5728\u601D\u7EF4\u5BFC\u56FE\u7684\u8282\u70B9\u4E0A",paraId:3,tocIndex:7},{value:"children",paraId:3,tocIndex:7},{value:"FishboneData[]",paraId:3,tocIndex:7},{value:"\u5426",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u5F53\u524D\u8282\u70B9\u7684\u5B50\u8282\u70B9\u96C6\u5408\u3002\u5982\u679C\u5F53\u524D\u8282\u70B9\u6CA1\u6709\u5B50\u8282\u70B9\uFF0C\u8BE5\u5B57\u6BB5\u53EF\u4EE5\u7701\u7565\u3002\u6BCF\u4E2A\u5B50\u8282\u70B9\u672C\u8EAB\u4E5F\u662F\u4E00\u4E2A ",paraId:3,tocIndex:7},{value:"FishboneData",paraId:3,tocIndex:7},{value:" \u5BF9\u8C61\uFF0C\u8FD9\u610F\u5473\u7740\u5B83\u53EF\u4EE5\u5305\u542B\u81EA\u5DF1\u7684\u5B50\u8282\u70B9\uFF0C\u4ECE\u800C\u9012\u5F52\u5730\u6784\u5EFA\u51FA\u4E00\u4E2A\u591A\u5C42\u6B21\u7684\u6811\u72B6\u7ED3\u6784",paraId:3,tocIndex:7}];},"8e82210d":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return t;}}),a("8649da6d");var t="import { FishboneDiagram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: '\u4EA7\u54C1\u76C8\u5229\u672A\u8FBE\u5230\u9884\u671F\u76EE\u6807',\n children: [\n {\n name: '\u95EE\u9898\u63CF\u8FF0\u4E0E\u5206\u6790',\n children: [\n { name: '\u54C1\u724C\u9500\u91CF\u5206\u6790' },\n { name: '\u5E02\u573A\u5BB9\u91CF\u8BC4\u4F30' },\n { name: '\u54C1\u724C\u7684\u5E02\u573A\u4EFD\u989D\u5206\u6790' },\n { name: '\u603B\u8D21\u732E\u6BDB\u5229\u8BA1\u7B97' },\n ],\n },\n {\n name: '\u54C1\u724C\u5B9A\u4F4D\u7B56\u7565',\n children: [\n { name: '\u5916\u5305\u88C5\u8BBE\u8BA1' },\n { name: '\u54C1\u724C\u540D\u79F0\u9009\u62E9' },\n { name: '\u9500\u552E\u4EF7\u683C\u5B9A\u4F4D' },\n { name: '\u4EA7\u54C1\u89C4\u683C\u5B9A\u4E49' },\n ],\n },\n {\n name: '\u5206\u9500\u6E20\u9053\u7BA1\u7406',\n children: [\n { name: '\u5730\u533A\u5206\u5E03' },\n { name: '\u6E20\u9053\u9009\u62E9' },\n { name: '\u5BA2\u6237\u7C7B\u578B\u5206\u7C7B' },\n { name: '\u9500\u552E\u4EBA\u5458\u8986\u76D6\u8303\u56F4' },\n ],\n },\n {\n name: '\u5E02\u573A\u77E5\u540D\u5EA6\u63D0\u5347',\n children: [\n { name: '\u5730\u533A\u6743\u91CD\u5206\u6790' },\n { name: '\u5A92\u4F53\u7EC4\u5408\u7B56\u7565' },\n { name: '\u5E7F\u544A\u6295\u5165\u9884\u7B97' },\n { name: '\u54C1\u8D28\u610F\u8BC6\u63D0\u5347' },\n ],\n },\n {\n name: '\u8BD5\u8D2D\u4E70\u7B56\u7565',\n children: [\n { name: '\u73B0\u573A\u5C55\u793A\u6548\u679C' },\n { name: '\u4FC3\u9500\u5F62\u5F0F\u8BBE\u8BA1' },\n { name: '\u4FC3\u9500\u65F6\u673A\u9009\u62E9' },\n { name: '\u4F9B\u8D27\u4FDD\u8BC1\u63AA\u65BD' },\n ],\n },\n {\n name: '\u91CD\u590D\u8D2D\u4E70\u7B56\u7565',\n children: [\n { name: '\u6D88\u8D39\u8005\u6863\u6848\u7BA1\u7406' },\n { name: '\u4F7F\u7528\u573A\u5408\u5206\u6790' },\n { name: '\u4F7F\u7528\u6B21\u6570\u7EDF\u8BA1' },\n { name: '\u4EA7\u54C1\u539F\u56E0\u9000\u8D27\u5904\u7406' },\n ],\n },\n ],\n};\n\nexport default () => ;\n";},c583ebcb:function(n,e,a){"use strict";var t=a("852bbaa9")._;a.d(e,"__esModule",{value:!0}),a.d(e,"demos",{enumerable:!0,get:function(){return c;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("efc54e21");var o=d._(a("df67f0d6")),u=d._(a("1c5d635b"));let c={"fishbonediagram-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("27c597df")]).then(a.dr(t,a.bind(a,"f110f2c3"))))),asset:{type:"BLOCK",id:"fishbonediagram-demo-common",refAtomIds:["FishboneDiagram"],dependencies:{"index.tsx":{type:"FILE",value:a("8e82210d").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}},"fishbonediagram-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("27c597df")]).then(a.dr(t,a.bind(a,"671c5363"))))),asset:{type:"BLOCK",id:"fishbonediagram-demo-markdown",refAtomIds:["FishboneDiagram"],dependencies:{"index.tsx":{type:"FILE",value:a("5a9ccd12").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...n)}}};},df67f0d6:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{ConfigProvider:function(){return u.default;},GPTVis:function(){return c.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),e),t._(a("d382b880"),e);var o=a("a574afdb"),u=d._(a("a7265236")),c=d._(a("2c69d5f6")),i=r._(a("033b3748")),s=d._(a("7cf1dc46"));},e7bada6d:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),e),t._(a("969efd31"),e),t._(a("f21af0e0"),e),t._(a("33eda958"),e),t._(a("112b9a67"),e),t._(a("a45613fd"),e),t._(a("432777ba"),e);}}]); +//# sourceMappingURL=4a69a1cb-async.f1513c55.js.map \ No newline at end of file diff --git a/4a69a1cb-async.f1513c55.js.map b/4a69a1cb-async.f1513c55.js.map new file mode 100644 index 0000000..19f2f03 --- /dev/null +++ b/4a69a1cb-async.f1513c55.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/FishboneDiagram/demos/markdown.tsx?dumi-raw","src/FishboneDiagram/index.md?type=text","src/FishboneDiagram/demos/common.tsx?dumi-raw","src/FishboneDiagram/index.md?type=demo","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, FishboneDiagram, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个鱼骨图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"fishbone-diagram\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"生产效率低\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"设备问题\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"设备老化\\\" }, { \\\"name\\\": \\\"维护不及时\\\" }]\\n },\\n {\\n \\\"name\\\": \\\"员工问题\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"技能不足\\\" }, { \\\"name\\\": \\\"工作态度差\\\" }]\\n },\\n {\\n \\\"name\\\": \\\"流程问题\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"流程繁琐\\\" }, { \\\"name\\\": \\\"缺乏标准化\\\" }]\\n }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.FishboneDiagram]: FishboneDiagram },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/index.md?watch=parent';\n export const texts = [{\"value\":\"鱼骨图,是一种以核心问题为鱼头,通过鱼骨分支的形式分析和展示问题原因或结果的图表。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"fishbone-diagram\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"problem\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"bone 1\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"factor 1-1\\\" }, { \\\"name\\\": \\\"factor 1-2\\\" }]\\n },\\n {\\n \\\"name\\\": \\\"bone 2\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"factor 2-1\\\" }, { \\\"name\\\": \\\"factor 2-2\\\" }]\\n }\\n ]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"FishboneData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"name\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点的名称,用于显示在思维导图的节点上\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"children\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"FishboneData[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"当前节点的子节点集合。如果当前节点没有子节点,该字段可以省略。每个子节点本身也是一个 \",\"paraId\":3,\"tocIndex\":7},{\"value\":\"FishboneData\",\"paraId\":3,\"tocIndex\":7},{\"value\":\" 对象,这意味着它可以包含自己的子节点,从而递归地构建出一个多层次的树状结构\",\"paraId\":3,\"tocIndex\":7}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/common.tsx?watch=parent';\n export default \"import { FishboneDiagram } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n name: '产品盈利未达到预期目标',\\n children: [\\n {\\n name: '问题描述与分析',\\n children: [\\n { name: '品牌销量分析' },\\n { name: '市场容量评估' },\\n { name: '品牌的市场份额分析' },\\n { name: '总贡献毛利计算' },\\n ],\\n },\\n {\\n name: '品牌定位策略',\\n children: [\\n { name: '外包装设计' },\\n { name: '品牌名称选择' },\\n { name: '销售价格定位' },\\n { name: '产品规格定义' },\\n ],\\n },\\n {\\n name: '分销渠道管理',\\n children: [\\n { name: '地区分布' },\\n { name: '渠道选择' },\\n { name: '客户类型分类' },\\n { name: '销售人员覆盖范围' },\\n ],\\n },\\n {\\n name: '市场知名度提升',\\n children: [\\n { name: '地区权重分析' },\\n { name: '媒体组合策略' },\\n { name: '广告投入预算' },\\n { name: '品质意识提升' },\\n ],\\n },\\n {\\n name: '试购买策略',\\n children: [\\n { name: '现场展示效果' },\\n { name: '促销形式设计' },\\n { name: '促销时机选择' },\\n { name: '供货保证措施' },\\n ],\\n },\\n {\\n name: '重复购买策略',\\n children: [\\n { name: '消费者档案管理' },\\n { name: '使用场合分析' },\\n { name: '使用次数统计' },\\n { name: '产品原因退货处理' },\\n ],\\n },\\n ],\\n};\\n\\nexport default () => ;\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/index.md?watch=parent';\nimport * as fishbonediagram_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as fishbonediagram_demo_common_deps_2 from 'react';\nimport * as fishbonediagram_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'fishbonediagram-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"FishboneDiagram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"fishbonediagram-demo-common\",\n \"refAtomIds\": [\n \"FishboneDiagram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": fishbonediagram_demo_common_deps_1,\n \"react\": fishbonediagram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'fishbonediagram-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"FishboneDiagram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"fishbonediagram-demo-markdown\",\n \"refAtomIds\": [\n \"FishboneDiagram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": fishbonediagram_demo_markdown_deps_1,\n \"@antv/gpt-vis\": fishbonediagram_demo_common_deps_1,\n \"react\": fishbonediagram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXlC,+CAAA,QADO,gBACP,EAAe,2hFCAF,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,yPAA4C,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2VAAmY,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MA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AEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/4ec12f54-async.ae306554.js b/4ec12f54-async.ae306554.js new file mode 100644 index 0000000..83f50cd --- /dev/null +++ b/4ec12f54-async.ae306554.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["4ec12f54"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return i.default;},Prompts:function(){return l.default;},Sender:function(){return u.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return v.default;},XProvider:function(){return f.default;},XRequest:function(){return b.default;},XStream:function(){return I.default;},useXAgent:function(){return m.default;},useXChat:function(){return p.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),r=a._(t("150d8a7a")),u=a._(t("013e81db")),o=a._(t("d161127f")),i=a._(t("11781cbc")),l=a._(t("5a025bc4")),s=a._(t("e2d1bf07")),c=a._(t("d0c39811")),v=a._(t("0176aebf")),f=a._(t("8b35f51f")),p=a._(t("92b2492a")),m=a._(t("1e122ed0")),I=a._(t("470d5fd8")),b=a._(t("e0f10014"));},"214b96c7":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("86215bca");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Line, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6298\u7EBF\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "line",\n "data": [\n {\n "time": "1974",\n "value": 107,\n "group": "Gas flaring"\n },\n {\n "time": "1974",\n "value": 208,\n "group": "Renewables"\n },\n {\n "time": "1974",\n "value": 356,\n "group": "Fossil fuels"\n },\n {\n "time": "1975",\n "value": 173,\n "group": "Gas flaring"\n },\n {\n "time": "1975",\n "value": 415,\n "group": "Renewables"\n },\n {\n "time": "1975",\n "value": 364,\n "group": "Fossil fuels"\n },\n {\n "time": "1976",\n "value": 117,\n "group": "Gas flaring"\n },\n {\n "time": "1976",\n "value": 220,\n "group": "Renewables"\n },\n {\n "time": "1976",\n "value": 373,\n "group": "Fossil fuels"\n },\n {\n "time": "1977",\n "value": 122,\n "group": "Gas flaring"\n },\n {\n "time": "1977",\n "value": 225,\n "group": "Renewables"\n },\n {\n "time": "1977",\n "value": 382,\n "group": "Fossil fuels"\n }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Line]: Line },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"5207ac33":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("1b449fbb");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Line, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6298\u7EBF\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "line",\n "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}],\n "axisXTitle": "year",\n "axisYTitle": "GDP"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Line]: Line },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"80e152fb":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return i;}});var d=t("852bbaa9"),r=d._(t("9d065c04"));t("130fe4a2");var u=d._(t("df67f0d6")),o=d._(t("1c5d635b"));let i={"line-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("fdea2838")]).then(t.dr(a,t.bind(t,"fd22f00b"))))),asset:{type:"BLOCK",id:"line-demo-common",refAtomIds:["Line"],dependencies:{"index.tsx":{type:"FILE",value:t("ef2835f2").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"line-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("fdea2838")]).then(t.dr(a,t.bind(t,"bdde5fbb"))))),asset:{type:"BLOCK",id:"line-demo-markdown",refAtomIds:["Line"],dependencies:{"index.tsx":{type:"FILE",value:t("5207ac33").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"line-demo-category":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("fdea2838")]).then(t.dr(a,t.bind(t,"9327e2ef"))))),asset:{type:"BLOCK",id:"line-demo-category",refAtomIds:["Line"],dependencies:{"index.tsx":{type:"FILE",value:t("214b96c7").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u591A\u6298\u7EBF\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165 group \u5B57\u6BB5"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},ad68c7cf:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("130fe4a2");let a=[{value:'{\n "type": "line",\n "data": [\n { "time": 2018, "value": 91.9 },\n { "time": 2019, "value": 99.1 },\n { "time": 2020, "value": 101.6 },\n { "time": 2021, "value": 114.4 },\n { "time": 2022, "value": 121 }\n ]\n}\n',paraId:0,tocIndex:5},{value:"\u5C5E\u6027",paraId:1,tocIndex:7},{value:"\u7C7B\u578B",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:7},{value:"\u8BF4\u660E",paraId:1,tocIndex:7},{value:"data",paraId:1,tocIndex:7},{value:"LineDataItem[]",paraId:1,tocIndex:7},{value:"\u662F",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u6570\u636E",paraId:1,tocIndex:7},{value:"title",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"axisXTitle",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"axisYTitle",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"...",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:7},{value:"Ant Design Charts ",paraId:1,tocIndex:7},{value:"\u5C5E\u6027",paraId:2,tocIndex:8},{value:"\u7C7B\u578B",paraId:2,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:8},{value:"\u8BF4\u660E",paraId:2,tocIndex:8},{value:"time",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u7684\u65F6\u5E8F\u540D\u79F0",paraId:2,tocIndex:8},{value:"value",paraId:2,tocIndex:8},{value:"number",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u7684\u503C",paraId:2,tocIndex:8},{value:"group",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u5426",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u5206\u7EC4\u540D\u79F0",paraId:2,tocIndex:8}];},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return l.default;},useEventPublish:function(){return l.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),r=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var u=t("a574afdb"),o=d._(t("a7265236")),i=d._(t("2c69d5f6")),l=r._(t("033b3748")),s=d._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);},ef2835f2:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("a2e61449");var a="import { Line } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { time: '1991', value: 3 },\n { time: '1992', value: 4 },\n { time: '1993', value: 3.5 },\n { time: '1994', value: 5 },\n { time: '1995', value: 4.9 },\n { time: '1996', value: 6 },\n { time: '1997', value: 7 },\n { time: '1998', value: 9 },\n { time: '1999', value: 13 },\n];\n\nexport default () => {\n return (\n \n );\n};\n";}}]); +//# sourceMappingURL=4ec12f54-async.ae306554.js.map \ No newline at end of file diff --git a/4ec12f54-async.ae306554.js.map b/4ec12f54-async.ae306554.js.map new file mode 100644 index 0000000..c059e10 --- /dev/null +++ b/4ec12f54-async.ae306554.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Line/demos/category.tsx?dumi-raw","src/Line/demos/markdown.tsx?dumi-raw","src/Line/index.md?type=demo","src/Line/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Line/demos/common.tsx?dumi-raw"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/category.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Line, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n以下是为你绘制的一个折线图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 107,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 208,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1974\\\",\\n \\\"value\\\": 356,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 173,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 415,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1975\\\",\\n \\\"value\\\": 364,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 117,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 220,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1976\\\",\\n \\\"value\\\": 373,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 122,\\n \\\"group\\\": \\\"Gas flaring\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 225,\\n \\\"group\\\": \\\"Renewables\\\"\\n },\\n {\\n \\\"time\\\": \\\"1977\\\",\\n \\\"value\\\": 382,\\n \\\"group\\\": \\\"Fossil fuels\\\"\\n }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Line]: Line },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Line, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个折线图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}],\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"GDP\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Line]: Line },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/index.md?watch=parent';\nimport * as line_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as line_demo_common_deps_2 from 'react';\nimport * as line_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'line-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Line__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"line-demo-common\",\n \"refAtomIds\": [\n \"Line\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": line_demo_common_deps_1,\n \"react\": line_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'line-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Line__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"line-demo-markdown\",\n \"refAtomIds\": [\n \"Line\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": line_demo_markdown_deps_1,\n \"@antv/gpt-vis\": line_demo_common_deps_1,\n \"react\": line_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'line-demo-category': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Line__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/category.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"line-demo-category\",\n \"refAtomIds\": [\n \"Line\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/category.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"多折线图\",\n \"description\": \"在 data 中传入 group 字段\"\n},\n context: {\n \"@ant-design/x\": line_demo_markdown_deps_1,\n \"@antv/gpt-vis\": line_demo_common_deps_1,\n \"react\": line_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [\\n { \\\"time\\\": 2018, \\\"value\\\": 91.9 },\\n { \\\"time\\\": 2019, \\\"value\\\": 99.1 },\\n { \\\"time\\\": 2020, \\\"value\\\": 101.6 },\\n { \\\"time\\\": 2021, \\\"value\\\": 114.4 },\\n { \\\"time\\\": 2022, \\\"value\\\": 121 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"LineDataItem[]\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"time\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据的时序名称\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据的值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"group\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据分组名称\",\"paraId\":2,\"tocIndex\":8}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/common.tsx?watch=parent';\n export default \"import { Line } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { time: '1991', value: 3 },\\n { time: '1992', value: 4 },\\n { time: '1993', value: 3.5 },\\n { time: '1994', value: 5 },\\n { time: '1995', value: 4.9 },\\n { time: '1996', value: 6 },\\n { time: '1997', value: 7 },\\n { time: '1998', value: 9 },\\n { time: '1999', value: 13 },\\n];\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\";;\n "],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXlC,+CAAA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W,CAAC,EAAE,CAAC,MAAQ,6CAAU,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,QAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAS,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,QAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAS,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,uCAAS,OAAS,EAAE,SAAW,CAAC,EAAE,+ECOp1E,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/4f531b2b-async.5ac79336.js b/4f531b2b-async.5ac79336.js new file mode 100644 index 0000000..4c4f0b9 --- /dev/null +++ b/4f531b2b-async.5ac79336.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["4f531b2b"],{"4f531b2b":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return c;}});var s=n("777fffbe"),l=n("a2e753d8"),t=s._(n("1b472ae8")),d=s._(n("9b3f9685")),i=n("9d065c04"),r=n("5ca000fa");function u(){let{texts:e}=(0,r.useRouteMeta)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h2",{id:"\u6269\u5C55-react-markdown-\u4F7F\u7528",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6269\u5C55-react-markdown-\u4F7F\u7528",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u6269\u5C55 react-markdown \u4F7F\u7528"]}),(0,l.jsx)(t.default,{lang:"tsx",children:e[0].value})]})});}var c=function(){return(0,l.jsx)(r.DumiPage,{children:(0,l.jsx)(i.Suspense,{fallback:(0,l.jsx)(d.default,{}),children:(0,l.jsx)(u,{})})});};}}]); +//# sourceMappingURL=4f531b2b-async.5ac79336.js.map \ No newline at end of file diff --git a/4f531b2b-async.5ac79336.js.map b/4f531b2b-async.5ac79336.js.map new file mode 100644 index 0000000..314dfee --- /dev/null +++ b/4f531b2b-async.5ac79336.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/custome-markdown.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"扩展 react-markdown 使用\"}

{$$contentTexts[0].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA6BA,+CAAA,kDAxBuB,qBAOM,iBACG,gBACmB,YAEnD,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,+BAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,qDAAuB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qDAAwB,UAAC,QAAK,UAAU,qBAAwB,8CAA4B,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,QACvP,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/5024fe4d-async.0e247d6c.js b/5024fe4d-async.0e247d6c.js new file mode 100644 index 0000000..6fb9c60 --- /dev/null +++ b/5024fe4d-async.0e247d6c.js @@ -0,0 +1,33 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["5024fe4d"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return u.default;},Bubble:function(){return f.default;},Conversations:function(){return i.default;},Prompts:function(){return c.default;},Sender:function(){return r.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return o.default;},Welcome:function(){return s.default;},XProvider:function(){return m.default;},XRequest:function(){return A.default;},XStream:function(){return _.default;},useXAgent:function(){return h.default;},useXChat:function(){return b.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),u=a._(t("150d8a7a")),r=a._(t("013e81db")),f=a._(t("d161127f")),i=a._(t("11781cbc")),c=a._(t("5a025bc4")),o=a._(t("e2d1bf07")),l=a._(t("d0c39811")),s=a._(t("0176aebf")),m=a._(t("8b35f51f")),b=a._(t("92b2492a")),h=a._(t("1e122ed0")),_=a._(t("470d5fd8")),A=a._(t("e0f10014"));},"4af10e80":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return r;}});var a=t("a2e753d8");t("f64ca6db");var d=t("df67f0d6");let u={name:"\u9879\u76EE\u8BA1\u5212",children:[{name:"\u7814\u7A76\u9636\u6BB5",children:[{name:"\u5E02\u573A\u8C03\u7814"},{name:"\u6280\u672F\u53EF\u884C\u6027\u5206\u6790"}]},{name:"\u8BBE\u8BA1\u9636\u6BB5",children:[{name:"\u4EA7\u54C1\u529F\u80FD\u786E\u5B9A"},{name:"UI \u8BBE\u8BA1"}]},{name:"\u5F00\u53D1\u9636\u6BB5",children:[{name:"\u7F16\u5199\u4EE3\u7801"},{name:"\u5355\u5143\u6D4B\u8BD5"}]},{name:"\u6D4B\u8BD5\u9636\u6BB5",children:[{name:"\u529F\u80FD\u6D4B\u8BD5"},{name:"\u6027\u80FD\u6D4B\u8BD5"}]}]};var r=()=>(0,a.jsx)(d.MindMap,{data:u,containerStyle:{height:300}});},"6dfbec42":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}});var a=t("a2e753d8");t("d37f1b50");var d=t("1c5d635b"),u=t("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{601D}\u{7EF4}\u{5BFC}\u{56FE} + +\`\`\`vis-chart +{ + "type": "mind-map", + "data": { + "name": "\u{53F0}\u{98CE}\u{5F62}\u{6210}\u{7684}\u{56E0}\u{7D20}", + "children": [ + { + "name": "\u{6C14}\u{8C61}\u{6761}\u{4EF6}", + "children": [ + { "name": "\u{6E29}\u{6696}\u{7684}\u{6D77}\u{6C34}" }, + { "name": "\u{6C14}\u{538B}\u{5206}\u{5E03}" }, + { "name": "\u{6E7F}\u{5EA6}\u{6C34}\u{5E73}" }, + { "name": "\u{98CE}\u{7684}\u{5207}\u{53D8}" } + ] + }, + { + "name": "\u{5730}\u{7406}\u{73AF}\u{5883}", + "children": [ + { "name": "\u{5927}\u{9646}\u{67B6}\u{7684}\u{5F62}\u{72B6}\u{4E0E}\u{6DF1}\u{5EA6}" }, + { "name": "\u{6D77}\u{6D0B}\u{6696}\u{6D41}\u{7684}\u{5206}\u{5E03}" }, + { "name": "\u{70ED}\u{5E26}\u{5730}\u{533A}\u{7684}\u{6C14}\u{5019}\u{7279}\u{5F81}" }, + { "name": "\u{5C9B}\u{5C7F}\u{7684}\u{5F71}\u{54CD}" } + ] + } + ] + } +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,u.withChartCode)({components:{[u.ChartType.MindMap]:u.MindMap},style:{width:500}}),c=e=>(0,a.jsx)(u.GPTVisLite,{components:{code:i},children:e});var o=()=>(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)(d.Bubble,{placement:"end",content:'\u7528\u601D\u7EF4\u5BFC\u56FE\u6765\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E {"name":"\u53F0\u98CE\u5F62\u6210\u7684\u56E0\u7D20","children":[{"name":"\u6C14\u8C61\u6761\u4EF6","children":[{"name":"\u6E29\u6696\u7684\u6D77\u6C34"},{"name":"\u6C14\u538B\u5206\u5E03"},{"name":"\u6E7F\u5EA6\u6C34\u5E73"},{"name":"\u98CE\u7684\u5207\u53D8"}]},{"name":"\u5730\u7406\u73AF\u5883","children":[{"name":"\u5927\u9646\u67B6\u7684\u5F62\u72B6\u4E0E\u6DF1\u5EA6"},{"name":"\u6D77\u6D0B\u6696\u6D41\u7684\u5206\u5E03"},{"name":"\u70ED\u5E26\u5730\u533A\u7684\u6C14\u5019\u7279\u5F81"},{"name":"\u5C9B\u5C7F\u7684\u5F71\u54CD"}]}]}',avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb",maxWidth:"60%"}}}),(0,a.jsx)(d.Bubble,{content:r,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return f.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return o.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),u=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var r=t("a574afdb"),f=d._(t("a7265236")),i=d._(t("2c69d5f6")),c=u._(t("033b3748")),o=d._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);}}]); +//# sourceMappingURL=5024fe4d-async.0e247d6c.js.map \ No newline at end of file diff --git a/5024fe4d-async.0e247d6c.js.map b/5024fe4d-async.0e247d6c.js.map new file mode 100644 index 0000000..58639f9 --- /dev/null +++ b/5024fe4d-async.0e247d6c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/MindMap/demos/common.tsx?techStack=react","src/MindMap/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/common.tsx?watch=parent';import { MindMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: '项目计划',\n children: [\n {\n name: '研究阶段',\n children: [{ name: '市场调研' }, { name: '技术可行性分析' }],\n },\n {\n name: '设计阶段',\n children: [{ name: '产品功能确定' }, { name: 'UI 设计' }],\n },\n {\n name: '开发阶段',\n children: [{ name: '编写代码' }, { name: '单元测试' }],\n },\n {\n name: '测试阶段',\n children: [{ name: '功能测试' }, { name: '性能测试' }],\n },\n ],\n};\n\nexport default () => ;\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, MindMap, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个思维导图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"mind-map\",\n \"data\": {\n \"name\": \"台风形成的因素\",\n \"children\": [\n {\n \"name\": \"气象条件\",\n \"children\": [\n { \"name\": \"温暖的海水\" },\n { \"name\": \"气压分布\" },\n { \"name\": \"湿度水平\" },\n { \"name\": \"风的切变\" }\n ]\n },\n {\n \"name\": \"地理环境\",\n \"children\": [\n { \"name\": \"大陆架的形状与深度\" },\n { \"name\": \"海洋暖流的分布\" },\n { \"name\": \"热带地区的气候特征\" },\n { \"name\": \"岛屿的影响\" }\n ]\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.MindMap]: MindMap },\n style: { width: 500 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GAC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D,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,4nBACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,UAAW,SAAU,KAAM,CAAE,IAEhE,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE,qFC9D5B,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/55fc7f52-async.579d89e7.js b/55fc7f52-async.579d89e7.js new file mode 100644 index 0000000..5d35d79 --- /dev/null +++ b/55fc7f52-async.579d89e7.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["55fc7f52"],{"55fc7f52":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}});var a=t("777fffbe"),f=t("a2e753d8"),u=a._(t("9b3f9685")),s=t("9d065c04"),l=t("5ca000fa");function i(){let{texts:e}=(0,l.useRouteMeta)();return(0,f.jsx)(f.Fragment,{});}var o=function(){return(0,f.jsx)(l.DumiPage,{children:(0,f.jsx)(s.Suspense,{fallback:(0,f.jsx)(u.default,{}),children:(0,f.jsx)(i,{})})});};}}]); +//# sourceMappingURL=55fc7f52-async.579d89e7.js.map \ No newline at end of file diff --git a/55fc7f52-async.579d89e7.js.map b/55fc7f52-async.579d89e7.js.map new file mode 100644 index 0000000..d52d18c --- /dev/null +++ b/55fc7f52-async.579d89e7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA6BA,+CAAA,kDAjB6B,iBACG,gBACmB,YAEnD,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,yBACT,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/586840a9-async.89638c0f.js b/586840a9-async.89638c0f.js new file mode 100644 index 0000000..d68e62d --- /dev/null +++ b/586840a9-async.89638c0f.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["586840a9"],{"1c5d635b":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{Attachments:function(){return l.default;},Bubble:function(){return v.default;},Conversations:function(){return r.default;},Prompts:function(){return o.default;},Sender:function(){return d.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return i.default;},XProvider:function(){return f.default;},XRequest:function(){return b.default;},XStream:function(){return m.default;},useXAgent:function(){return I.default;},useXChat:function(){return p.default;},version:function(){return t.default;}});var u=a("777fffbe"),t=u._(a("61551e8a")),l=u._(a("150d8a7a")),d=u._(a("013e81db")),v=u._(a("d161127f")),r=u._(a("11781cbc")),o=u._(a("5a025bc4")),c=u._(a("e2d1bf07")),s=u._(a("d0c39811")),i=u._(a("0176aebf")),f=u._(a("8b35f51f")),p=u._(a("92b2492a")),I=u._(a("1e122ed0")),m=u._(a("470d5fd8")),b=u._(a("e0f10014"));},"37f025c0":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return u;}}),a("f82c4002");var u='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Histogram, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u76F4\u65B9\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "histogram",\n "data": [\n {\n "value": 45\n },\n {\n "value": 55\n },\n {\n "value": 67\n },\n {\n "value": 50\n },\n {\n "value": 42\n },\n {\n "value": 61\n },\n {\n "value": 33\n },\n {\n "value": 76\n },\n {\n "value": 59\n },\n {\n "value": 51\n },\n {\n "value": 70\n },\n {\n "value": 63\n },\n {\n "value": 50\n },\n {\n "value": 48\n },\n {\n "value": 37\n },\n {\n "value": 72\n },\n {\n "value": 55\n },\n {\n "value": 52\n },\n {\n "value": 50\n },\n {\n "value": 46\n },\n {\n "value": 65\n },\n {\n "value": 68\n },\n {\n "value": 60\n },\n {\n "value": 45\n },\n {\n "value": 54\n },\n {\n "value": 75\n },\n {\n "value": 49\n },\n {\n "value": 56\n },\n {\n "value": 47\n },\n {\n "value": 51\n },\n {\n "value": 62\n },\n {\n "value": 53\n },\n {\n "value": 71\n },\n {\n "value": 50\n },\n {\n "value": 40\n },\n {\n "value": 57\n },\n {\n "value": 36\n },\n {\n "value": 69\n },\n {\n "value": 42\n },\n {\n "value": 63\n },\n {\n "value": 44\n },\n {\n "value": 64\n },\n {\n "value": 77\n },\n {\n "value": 59\n },\n {\n "value": 50\n },\n {\n "value": 53\n },\n {\n "value": 61\n },\n {\n "value": 48\n },\n {\n "value": 58\n },\n {\n "value": 66\n },\n {\n "value": 51\n },\n {\n "value": 39\n },\n {\n "value": 60\n },\n {\n "value": 56\n },\n {\n "value": 57\n },\n {\n "value": 67\n },\n {\n "value": 64\n },\n {\n "value": 53\n },\n {\n "value": 73\n },\n {\n "value": 50\n },\n {\n "value": 45\n },\n {\n "value": 61\n },\n {\n "value": 58\n },\n {\n "value": 54\n },\n {\n "value": 68\n },\n {\n "value": 41\n },\n {\n "value": 62\n },\n {\n "value": 50\n },\n {\n "value": 46\n },\n {\n "value": 70\n },\n {\n "value": 42\n },\n {\n "value": 69\n },\n {\n "value": 55\n },\n {\n "value": 60\n },\n {\n "value": 51\n },\n {\n "value": 66\n },\n {\n "value": 48\n },\n {\n "value": 59\n },\n {\n "value": 52\n },\n {\n "value": 63\n },\n {\n "value": 57\n },\n {\n "value": 61\n },\n {\n "value": 74\n },\n {\n "value": 65\n },\n {\n "value": 55\n },\n {\n "value": 47\n },\n {\n "value": 53\n },\n {\n "value": 68\n },\n {\n "value": 62\n },\n {\n "value": 49\n },\n {\n "value": 58\n },\n {\n "value": 66\n },\n {\n "value": 50\n },\n {\n "value": 44\n },\n {\n "value": 72\n },\n {\n "value": 41\n }\n ],\n "binNumber": 10\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Histogram]: Histogram },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"5e872601":function(n,e,a){"use strict";var u=a("852bbaa9")._;a.d(e,"__esModule",{value:!0}),a.d(e,"demos",{enumerable:!0,get:function(){return r;}});var t=a("852bbaa9"),l=t._(a("9d065c04"));a("cbe5736b");var d=t._(a("df67f0d6")),v=t._(a("1c5d635b"));let r={"histogram-demo-common":{component:l.default.memo(l.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2e2fc5f9")]).then(a.dr(u,a.bind(a,"f2d507f1"))))),asset:{type:"BLOCK",id:"histogram-demo-common",refAtomIds:["Histogram"],dependencies:{"index.tsx":{type:"FILE",value:a("7ac86951").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":d,react:l},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(u,a.bind(a,"d030c320")))).default(...n)}},"histogram-demo-markdown":{component:l.default.memo(l.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("2e2fc5f9")]).then(a.dr(u,a.bind(a,"e1bfee5c"))))),asset:{type:"BLOCK",id:"histogram-demo-markdown",refAtomIds:["Histogram"],dependencies:{"index.tsx":{type:"FILE",value:a("37f025c0").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":v,"@antv/gpt-vis":d,react:l},renderOpts:{compile:async(...n)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(u,a.bind(a,"d030c320")))).default(...n)}}};},"7ac86951":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"default",{enumerable:!0,get:function(){return u;}}),a("f2a80a64");var u="import { Histogram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { value: 1.2 },\n { value: 3.4 },\n { value: 3.7 },\n { value: 4.3 },\n { value: 5.2 },\n { value: 5.8 },\n { value: 6.1 },\n { value: 6.5 },\n { value: 6.8 },\n { value: 7.1 },\n { value: 7.3 },\n { value: 7.7 },\n { value: 8.3 },\n { value: 8.6 },\n { value: 8.8 },\n { value: 9.1 },\n { value: 9.2 },\n { value: 9.4 },\n { value: 9.5 },\n { value: 9.7 },\n { value: 10.5 },\n { value: 10.7 },\n { value: 10.8 },\n { value: 11.0 },\n { value: 11.0 },\n { value: 11.1 },\n { value: 11.2 },\n { value: 11.3 },\n { value: 11.4 },\n { value: 11.4 },\n { value: 11.7 },\n { value: 12.0 },\n { value: 12.9 },\n { value: 12.9 },\n { value: 13.3 },\n { value: 13.7 },\n { value: 13.8 },\n { value: 13.9 },\n { value: 14.0 },\n { value: 14.2 },\n { value: 14.5 },\n { value: 15 },\n { value: 15.2 },\n { value: 15.6 },\n { value: 16.0 },\n { value: 16.3 },\n { value: 17.3 },\n { value: 17.5 },\n { value: 17.9 },\n { value: 18.0 },\n { value: 18.0 },\n { value: 20.6 },\n { value: 21 },\n { value: 23.4 },\n];\n\nexport default () => {\n return (\n \n );\n};\n";},"98de16c5":function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"texts",{enumerable:!0,get:function(){return u;}}),a("cbe5736b");let u=[{value:'{\n "type": "histogram",\n "data": [{ "value": 2 }, { "value": 5 }, { "value": 8 }, { "value": 3 }],\n "binNumber": 4\n}\n',paraId:0,tocIndex:4},{value:"\u5C5E\u6027",paraId:1,tocIndex:6},{value:"\u7C7B\u578B",paraId:1,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:6},{value:"\u8BF4\u660E",paraId:1,tocIndex:6},{value:"data",paraId:1,tocIndex:6},{value:"HistogramDataItem[]",paraId:1,tocIndex:6},{value:"\u662F",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u6570\u636E",paraId:1,tocIndex:6},{value:"binNumber",paraId:1,tocIndex:6},{value:"number",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u533A\u95F4\u4E2A\u6570\uFF0C\u7528\u4E8E\u5B9A\u4E49\u76F4\u65B9\u56FE\u7684\u533A\u95F4\u6570\u91CF",paraId:1,tocIndex:6},{value:"title",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"axisXTitle",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"axisYTitle",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"...",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:6},{value:"Ant Design Charts ",paraId:1,tocIndex:6},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"value",paraId:2,tocIndex:7},{value:"number",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6570\u636E\u7684\u503C",paraId:2,tocIndex:7}];},df67f0d6:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.e(e,{ConfigProvider:function(){return v.default;},GPTVis:function(){return r.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var u=a("d1751d7c"),t=a("777fffbe"),l=a("852bbaa9");u._(a("5639510f"),e),u._(a("d382b880"),e);var d=a("a574afdb"),v=t._(a("a7265236")),r=t._(a("2c69d5f6")),o=l._(a("033b3748")),c=t._(a("7cf1dc46"));},e7bada6d:function(n,e,a){"use strict";a.d(e,"__esModule",{value:!0}),a.d(e,"Source",{enumerable:!0,get:function(){return t.default;}});var u=a("d1751d7c"),t=a("777fffbe")._(a("b00709ad"));u._(a("5e2dda25"),e),u._(a("969efd31"),e),u._(a("f21af0e0"),e),u._(a("33eda958"),e),u._(a("112b9a67"),e),u._(a("a45613fd"),e),u._(a("432777ba"),e);}}]); +//# sourceMappingURL=586840a9-async.89638c0f.js.map \ No newline at end of file diff --git a/586840a9-async.89638c0f.js.map b/586840a9-async.89638c0f.js.map new file mode 100644 index 0000000..e1c7124 --- /dev/null +++ b/586840a9-async.89638c0f.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Histogram/demos/markdown.tsx?dumi-raw","src/Histogram/index.md?type=demo","src/Histogram/demos/common.tsx?dumi-raw","src/Histogram/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Histogram, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个直方图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"histogram\\\",\\n \\\"data\\\": [\\n {\\n \\\"value\\\": 45\\n },\\n {\\n \\\"value\\\": 55\\n },\\n {\\n \\\"value\\\": 67\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 42\\n },\\n {\\n \\\"value\\\": 61\\n },\\n {\\n \\\"value\\\": 33\\n },\\n {\\n \\\"value\\\": 76\\n },\\n {\\n \\\"value\\\": 59\\n },\\n {\\n \\\"value\\\": 51\\n },\\n {\\n \\\"value\\\": 70\\n },\\n {\\n \\\"value\\\": 63\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 48\\n },\\n {\\n \\\"value\\\": 37\\n },\\n {\\n \\\"value\\\": 72\\n },\\n {\\n \\\"value\\\": 55\\n },\\n {\\n \\\"value\\\": 52\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 46\\n },\\n {\\n \\\"value\\\": 65\\n },\\n {\\n \\\"value\\\": 68\\n },\\n {\\n \\\"value\\\": 60\\n },\\n {\\n \\\"value\\\": 45\\n },\\n {\\n \\\"value\\\": 54\\n },\\n {\\n \\\"value\\\": 75\\n },\\n {\\n \\\"value\\\": 49\\n },\\n {\\n \\\"value\\\": 56\\n },\\n {\\n \\\"value\\\": 47\\n },\\n {\\n \\\"value\\\": 51\\n },\\n {\\n \\\"value\\\": 62\\n },\\n {\\n \\\"value\\\": 53\\n },\\n {\\n \\\"value\\\": 71\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 40\\n },\\n {\\n \\\"value\\\": 57\\n },\\n {\\n \\\"value\\\": 36\\n },\\n {\\n \\\"value\\\": 69\\n },\\n {\\n \\\"value\\\": 42\\n },\\n {\\n \\\"value\\\": 63\\n },\\n {\\n \\\"value\\\": 44\\n },\\n {\\n \\\"value\\\": 64\\n },\\n {\\n \\\"value\\\": 77\\n },\\n {\\n \\\"value\\\": 59\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 53\\n },\\n {\\n \\\"value\\\": 61\\n },\\n {\\n \\\"value\\\": 48\\n },\\n {\\n \\\"value\\\": 58\\n },\\n {\\n \\\"value\\\": 66\\n },\\n {\\n \\\"value\\\": 51\\n },\\n {\\n \\\"value\\\": 39\\n },\\n {\\n \\\"value\\\": 60\\n },\\n {\\n \\\"value\\\": 56\\n },\\n {\\n \\\"value\\\": 57\\n },\\n {\\n \\\"value\\\": 67\\n },\\n {\\n \\\"value\\\": 64\\n },\\n {\\n \\\"value\\\": 53\\n },\\n {\\n \\\"value\\\": 73\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 45\\n },\\n {\\n \\\"value\\\": 61\\n },\\n {\\n \\\"value\\\": 58\\n },\\n {\\n \\\"value\\\": 54\\n },\\n {\\n \\\"value\\\": 68\\n },\\n {\\n \\\"value\\\": 41\\n },\\n {\\n \\\"value\\\": 62\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 46\\n },\\n {\\n \\\"value\\\": 70\\n },\\n {\\n \\\"value\\\": 42\\n },\\n {\\n \\\"value\\\": 69\\n },\\n {\\n \\\"value\\\": 55\\n },\\n {\\n \\\"value\\\": 60\\n },\\n {\\n \\\"value\\\": 51\\n },\\n {\\n \\\"value\\\": 66\\n },\\n {\\n \\\"value\\\": 48\\n },\\n {\\n \\\"value\\\": 59\\n },\\n {\\n \\\"value\\\": 52\\n },\\n {\\n \\\"value\\\": 63\\n },\\n {\\n \\\"value\\\": 57\\n },\\n {\\n \\\"value\\\": 61\\n },\\n {\\n \\\"value\\\": 74\\n },\\n {\\n \\\"value\\\": 65\\n },\\n {\\n \\\"value\\\": 55\\n },\\n {\\n \\\"value\\\": 47\\n },\\n {\\n \\\"value\\\": 53\\n },\\n {\\n \\\"value\\\": 68\\n },\\n {\\n \\\"value\\\": 62\\n },\\n {\\n \\\"value\\\": 49\\n },\\n {\\n \\\"value\\\": 58\\n },\\n {\\n \\\"value\\\": 66\\n },\\n {\\n \\\"value\\\": 50\\n },\\n {\\n \\\"value\\\": 44\\n },\\n {\\n \\\"value\\\": 72\\n },\\n {\\n \\\"value\\\": 41\\n }\\n ],\\n \\\"binNumber\\\": 10\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Histogram]: Histogram },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/index.md?watch=parent';\nimport * as histogram_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as histogram_demo_common_deps_2 from 'react';\nimport * as histogram_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'histogram-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Histogram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"histogram-demo-common\",\n \"refAtomIds\": [\n \"Histogram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": histogram_demo_common_deps_1,\n \"react\": histogram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'histogram-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Histogram__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"histogram-demo-markdown\",\n \"refAtomIds\": [\n \"Histogram\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": histogram_demo_markdown_deps_1,\n \"@antv/gpt-vis\": histogram_demo_common_deps_1,\n \"react\": histogram_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/demos/common.tsx?watch=parent';\n export default \"import { Histogram } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { value: 1.2 },\\n { value: 3.4 },\\n { value: 3.7 },\\n { value: 4.3 },\\n { value: 5.2 },\\n { value: 5.8 },\\n { value: 6.1 },\\n { value: 6.5 },\\n { value: 6.8 },\\n { value: 7.1 },\\n { value: 7.3 },\\n { value: 7.7 },\\n { value: 8.3 },\\n { value: 8.6 },\\n { value: 8.8 },\\n { value: 9.1 },\\n { value: 9.2 },\\n { value: 9.4 },\\n { value: 9.5 },\\n { value: 9.7 },\\n { value: 10.5 },\\n { value: 10.7 },\\n { value: 10.8 },\\n { value: 11.0 },\\n { value: 11.0 },\\n { value: 11.1 },\\n { value: 11.2 },\\n { value: 11.3 },\\n { value: 11.4 },\\n { value: 11.4 },\\n { value: 11.7 },\\n { value: 12.0 },\\n { value: 12.9 },\\n { value: 12.9 },\\n { value: 13.3 },\\n { value: 13.7 },\\n { value: 13.8 },\\n { value: 13.9 },\\n { value: 14.0 },\\n { value: 14.2 },\\n { value: 14.5 },\\n { value: 15 },\\n { value: 15.2 },\\n { value: 15.6 },\\n { value: 16.0 },\\n { value: 16.3 },\\n { value: 17.3 },\\n { value: 17.5 },\\n { value: 17.9 },\\n { value: 18.0 },\\n { value: 18.0 },\\n { value: 20.6 },\\n { value: 21 },\\n { value: 23.4 },\\n];\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"histogram\\\",\\n \\\"data\\\": [{ \\\"value\\\": 2 }, { \\\"value\\\": 5 }, { \\\"value\\\": 8 }, { \\\"value\\\": 3 }],\\n \\\"binNumber\\\": 4\\n}\\n\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"HistogramDataItem[]\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"binNumber\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"number\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"区间个数,用于定义直方图的区间数量\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"数据的值\",\"paraId\":2,\"tocIndex\":7}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXlC,+CAAA,QADO,gBACP,EAAe,4mMCGJ,6CAAA,kCALK,eACX,wBACuC,qBAEE,aACzC,IAAM,EAAQ,C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BACA,qBACA,qBACA"} \ No newline at end of file diff --git a/58f94c65-async.ff7b7739.js b/58f94c65-async.ff7b7739.js new file mode 100644 index 0000000..87114bd --- /dev/null +++ b/58f94c65-async.ff7b7739.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["58f94c65"],{"58f94c65":function(e,s,n){"use strict";n.d(s,"__esModule",{value:!0}),n.d(s,"default",{enumerable:!0,get:function(){return t;}});var i=n("777fffbe"),a=n("a2e753d8"),d=i._(n("1b472ae8")),l=n("5ca000fa"),r=i._(n("9b3f9685")),c=n("9d065c04");function o(){let{texts:e}=(0,l.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"\u5B9A\u5236\u56FE\u8868\u6837\u5F0F",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B9A\u5236\u56FE\u8868\u6837\u5F0F",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u5B9A\u5236\u56FE\u8868\u6837\u5F0F"]}),(0,a.jsxs)("p",{children:[e[0].value,(0,a.jsx)(l.Link,{to:"/components/config-provider",children:e[1].value}),e[2].value]}),(0,a.jsxs)("h2",{id:"\u5B9A\u5236\u7EC4\u4EF6\u7EA7\u6837\u5F0F",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B9A\u5236\u7EC4\u4EF6\u7EA7\u6837\u5F0F",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u5B9A\u5236\u7EC4\u4EF6\u7EA7\u6837\u5F0F"]}),(0,a.jsx)("p",{children:e[3].value}),(0,a.jsx)(d.default,{lang:"tsx",children:e[4].value})]}),(0,a.jsx)(l.DumiDemo,{demo:{id:"docs-guide-customize-style-demo-0"},previewerProps:{}}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"\u5B9A\u5236\u56FE\u8868\u7EA7\u4E3B\u9898",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B9A\u5236\u56FE\u8868\u7EA7\u4E3B\u9898",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u5B9A\u5236\u56FE\u8868\u7EA7\u4E3B\u9898"]}),(0,a.jsx)(d.default,{lang:"tsx",children:e[5].value})]}),(0,a.jsx)(l.DumiDemo,{demo:{id:"docs-guide-customize-style-demo-1"},previewerProps:{}}),(0,a.jsx)("div",{className:"markdown",children:(0,a.jsxs)("p",{children:[e[6].value,(0,a.jsx)(l.Link,{to:"/components/config-provider",children:e[7].value})]})})]});}var t=function(){return(0,a.jsx)(l.DumiPage,{children:(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(r.default,{}),children:(0,a.jsx)(o,{})})});};}}]); +//# sourceMappingURL=58f94c65-async.ff7b7739.js.map \ No newline at end of file diff --git a/58f94c65-async.ff7b7739.js.map b/58f94c65-async.ff7b7739.js.map new file mode 100644 index 0000000..5984c3f --- /dev/null +++ b/58f94c65-async.ff7b7739.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/customize-style.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"定制图表样式\"}

{$$contentTexts[0].value}{$$contentTexts[1].value}{$$contentTexts[2].value}

{\"定制组件级样式\"}

{$$contentTexts[3].value}

{$$contentTexts[4].value}

{\"定制图表级主题\"}

{$$contentTexts[5].value}

{$$contentTexts[6].value}{$$contentTexts[7].value}

;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAuCA,+CAAA,kDAlCuB,iBAGE,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iDAAS,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iDAAU,UAAC,QAAK,UAAU,qBAAwB,0CAAc,WAAC,eAAG,CAAc,CAAC,EAAE,CAAC,KAAK,CAAC,UAAC,MAAI,EAAC,GAAG,uCAA+B,CAAc,CAAC,EAAE,CAAC,KAAK,GAAS,CAAc,CAAC,EAAE,CAAC,KAAK,IAAK,WAAC,MAAG,GAAG,uDAAU,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,uDAAW,UAAC,QAAK,UAAU,qBAAwB,gDAAe,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,MAAoB,UAAC,UAAQ,EACpgB,KAAQ,CACN,GAAM,mCACR,EACA,eAAkB,CAAC,IAChB,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,uDAAU,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,uDAAW,UAAC,QAAK,UAAU,qBAAwB,gDAAe,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,MAAoB,UAAC,UAAQ,EACrO,KAAQ,CACN,GAAM,mCACR,EACA,eAAkB,CAAC,IAChB,UAAC,OAAI,UAAU,oBAAW,WAAC,eAAG,CAAc,CAAC,EAAE,CAAC,KAAK,CAAC,UAAC,MAAI,EAAC,GAAG,uCAA+B,CAAc,CAAC,EAAE,CAAC,KAAK,WAC1H,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/5ebba693-async.5be1f02d.js b/5ebba693-async.5be1f02d.js new file mode 100644 index 0000000..243560e --- /dev/null +++ b/5ebba693-async.5be1f02d.js @@ -0,0 +1,105 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["5ebba693"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return u.default;},Bubble:function(){return i.default;},Conversations:function(){return o.default;},Prompts:function(){return r.default;},Sender:function(){return n.default;},Suggestion:function(){return b.default;},ThoughtChain:function(){return f.default;},Welcome:function(){return s.default;},XProvider:function(){return c.default;},XRequest:function(){return A.default;},XStream:function(){return h.default;},useXAgent:function(){return p.default;},useXChat:function(){return g.default;},version:function(){return d.default;}});var l=a("777fffbe"),d=l._(a("61551e8a")),u=l._(a("150d8a7a")),n=l._(a("013e81db")),i=l._(a("d161127f")),o=l._(a("11781cbc")),r=l._(a("5a025bc4")),f=l._(a("e2d1bf07")),b=l._(a("d0c39811")),s=l._(a("0176aebf")),c=l._(a("8b35f51f")),g=l._(a("92b2492a")),p=l._(a("1e122ed0")),h=l._(a("470d5fd8")),A=l._(a("e0f10014"));},b7ece2c2:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var l=a("a2e753d8");a("ad28d068");var d=a("df67f0d6");let u=[{points:[{longitude:120.130638,latitude:30.219835,label:"\u77F3\u5C4B\u6D1E"},{longitude:120.128125,latitude:30.219386,label:"\u6EE1\u89C9\u9647"},{longitude:120.118362,latitude:30.217175,label:"\u6768\u6885\u5CAD"},{longitude:120.112958,latitude:30.207319,label:"\u7406\u5B89\u5BFA"},{longitude:120.11335,latitude:30.202395,label:"\u4E5D\u6EAA\u70DF\u6811"}]},{points:[{longitude:120.100549,latitude:30.236875,label:"\u98DE\u6765\u5CF0"},{longitude:120.101406,latitude:30.240826,label:"\u7075\u9690\u5BFA"},{longitude:120.105337,latitude:30.236818,label:"\u5929\u7AFA\u4E09\u5BFA"}]},{points:[{longitude:120.116979,latitude:30.252876,label:"\u676D\u5DDE\u690D\u7269\u56ED"},{longitude:120.127654,latitude:30.245663,label:"\u676D\u5DDE\u82B1\u5703"},{longitude:120.135764,latitude:30.251448,label:"\u82CF\u5824"}]},{points:[{longitude:120.130095,latitude:30.207505,label:"\u864E\u8DD1\u516C\u56ED"},{longitude:120.145323,latitude:30.214993,label:"\u7389\u7687\u98DE\u4E91"},{longitude:120.155057,latitude:30.232985,label:"\u957F\u6865\u516C\u56ED"}]}].map(e=>({path:e,markers:e.points})),n={iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original",width:5,anchorY:1,label:{color:"#735142",fontSize:10,bgColor:"#ffffff"}},i={color:"#86f",width:1,dottedLine:!0};var o=()=>(0,l.jsx)(d.PathMap,{data:u,pathStyle:i,markerStyle:n,mapType:"amap://styles/2acc71263b1344d93a902db8df1c8b68"});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return i.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return r.default;},useEventPublish:function(){return r.useEventPublish;},version:function(){return f.default;},withChartCode:function(){return n.withChartCode;},withDefaultChartCode:function(){return n.withDefaultChartCode;}});var l=a("d1751d7c"),d=a("777fffbe"),u=a("852bbaa9");l._(a("5639510f"),t),l._(a("d382b880"),t);var n=a("a574afdb"),i=d._(a("a7265236")),o=d._(a("2c69d5f6")),r=u._(a("033b3748")),f=d._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return d.default;}});var l=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));l._(a("5e2dda25"),t),l._(a("969efd31"),t),l._(a("f21af0e0"),t),l._(a("33eda958"),t),l._(a("112b9a67"),t),l._(a("a45613fd"),t),l._(a("432777ba"),t);},eba337ba:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return n;}});var l=a("a2e753d8");a("7817d584");var d=a("df67f0d6");let u=[{points:[{longitude:120.130638,latitude:30.219835,label:"\u77F3\u5C4B\u6D1E"},{longitude:120.128125,latitude:30.219386,label:"\u6EE1\u89C9\u9647"},{longitude:120.118362,latitude:30.217175,label:"\u6768\u6885\u5CAD"},{longitude:120.112958,latitude:30.207319,label:"\u7406\u5B89\u5BFA"},{longitude:120.11335,latitude:30.202395,label:"\u4E5D\u6EAA\u70DF\u6811"}]},{points:[{longitude:120.100549,latitude:30.236875,label:"\u98DE\u6765\u5CF0"},{longitude:120.101406,latitude:30.240826,label:"\u7075\u9690\u5BFA"},{longitude:120.105337,latitude:30.236818,label:"\u5929\u7AFA\u4E09\u5BFA"}]},{points:[{longitude:120.116979,latitude:30.252876,label:"\u676D\u5DDE\u690D\u7269\u56ED"},{longitude:120.127654,latitude:30.245663,label:"\u676D\u5DDE\u82B1\u5703"},{longitude:120.135764,latitude:30.251448,label:"\u82CF\u5824"}]},{points:[{longitude:120.130095,latitude:30.207505,label:"\u864E\u8DD1\u516C\u56ED"},{longitude:120.145323,latitude:30.214993,label:"\u7389\u7687\u98DE\u4E91"},{longitude:120.155057,latitude:30.232985,label:"\u957F\u6865\u516C\u56ED"}]}].map(e=>({path:e,markers:e.points}));var n=()=>(0,l.jsx)(d.PathMap,{data:u,mapType:"amap://styles/2acc71263b1344d93a902db8df1c8b68"});},f0d8c242:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return f;}});var l=a("a2e753d8");a("357fbfa7");var d=a("1c5d635b"),u=a("df67f0d6");let n={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=` + ~~~vis-chart + { + "type": "path-map", + "data": [ + { + "path": { + "points": [ + { + "longitude": 120.130638, + "latitude": 30.219835, + "label": "\u{77F3}\u{5C4B}\u{6D1E}" + }, + { + "longitude": 120.128125, + "latitude": 30.219386, + "label": "\u{6EE1}\u{89C9}\u{9647}" + }, + { + "longitude": 120.118362, + "latitude": 30.217175, + "label": "\u{6768}\u{6885}\u{5CAD}" + }, + { + "longitude": 120.112958, + "latitude": 30.207319, + "label": "\u{7406}\u{5B89}\u{5BFA}" + }, + { + "longitude": 120.11335, + "latitude": 30.202395, + "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}" + } + ] + }, + "markers": [ + { + "longitude": 120.130638, + "latitude": 30.219835, + "label": "\u{77F3}\u{5C4B}\u{6D1E}" + }, + { + "longitude": 120.128125, + "latitude": 30.219386, + "label": "\u{6EE1}\u{89C9}\u{9647}" + }, + { + "longitude": 120.118362, + "latitude": 30.217175, + "label": "\u{6768}\u{6885}\u{5CAD}" + }, + { + "longitude": 120.112958, + "latitude": 30.207319, + "label": "\u{7406}\u{5B89}\u{5BFA}" + }, + { + "longitude": 120.11335, + "latitude": 30.202395, + "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}" + } + ] + }, + { + "path": { + "points": [ + { + "longitude": 120.100549, + "latitude": 30.236875, + "label": "\u{98DE}\u{6765}\u{5CF0}" + }, + { + "longitude": 120.101406, + "latitude": 30.240826, + "label": "\u{7075}\u{9690}\u{5BFA}" + }, + { + "longitude": 120.105337, + "latitude": 30.236818, + "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}" + } + ] + }, + "markers": [ + { + "longitude": 120.100549, + "latitude": 30.236875, + "label": "\u{98DE}\u{6765}\u{5CF0}" + }, + { + "longitude": 120.101406, + "latitude": 30.240826, + "label": "\u{7075}\u{9690}\u{5BFA}" + }, + { + "longitude": 120.105337, + "latitude": 30.236818, + "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}" + } + ] + } + ] +} +~~~`,o=(0,u.withChartCode)({components:{[u.ChartType.PathMap]:u.PathMap},style:{width:500}}),r=e=>(0,l.jsx)(u.GPTVisLite,{components:{code:o},children:e});var f=()=>(0,l.jsx)(u.ConfigProvider,{map:{style:"amap://styles/2acc71263b1344d93a902db8df1c8b68",token:"\u4F60\u7684\u5730\u56FEtoken"},children:(0,l.jsxs)("div",{style:n,children:[(0,l.jsx)(d.Bubble,{placement:"end",content:"\u676D\u5DDE\u8D4F\u6842\u6700\u4F73\u8DEF\u7EBF\u63A8\u8350",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,l.jsx)(d.Bubble,{content:i,messageRender:r,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]})});}}]); +//# sourceMappingURL=5ebba693-async.5be1f02d.js.map \ No newline at end of file diff --git a/5ebba693-async.5be1f02d.js.map b/5ebba693-async.5be1f02d.js.map new file mode 100644 index 0000000..a10c582 --- /dev/null +++ b/5ebba693-async.5be1f02d.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/PathMap/demos/line.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/PathMap/demos/default.tsx?techStack=react","src/PathMap/demos/markdown.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/line.tsx?watch=parent';import { PathMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n points: [\n { longitude: 120.130638, latitude: 30.219835, label: '石屋洞' },\n { longitude: 120.128125, latitude: 30.219386, label: '满觉陇' },\n { longitude: 120.118362, latitude: 30.217175, label: '杨梅岭' },\n { longitude: 120.112958, latitude: 30.207319, label: '理安寺' },\n { longitude: 120.11335, latitude: 30.202395, label: '九溪烟树' },\n ],\n },\n {\n points: [\n { longitude: 120.100549, latitude: 30.236875, label: '飞来峰' },\n { longitude: 120.101406, latitude: 30.240826, label: '灵隐寺' },\n { longitude: 120.105337, latitude: 30.236818, label: '天竺三寺' },\n ],\n },\n {\n points: [\n { longitude: 120.116979, latitude: 30.252876, label: '杭州植物园' },\n { longitude: 120.127654, latitude: 30.245663, label: '杭州花圃' },\n { longitude: 120.135764, latitude: 30.251448, label: '苏堤' },\n ],\n },\n {\n points: [\n { longitude: 120.130095, latitude: 30.207505, label: '虎跑公园' },\n { longitude: 120.145323, latitude: 30.214993, label: '玉皇飞云' },\n { longitude: 120.155057, latitude: 30.232985, label: '长桥公园' },\n ],\n },\n];\nconst routeData = data.map((item) => {\n return {\n path: item,\n markers: item.points,\n };\n});\n\nconst markerStyle = {\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\n width: 5,\n anchorY: 1,\n label: {\n color: '#735142',\n fontSize: 10,\n bgColor: '#ffffff',\n },\n};\n\nconst pathStyle = {\n color: '#86f',\n width: 1,\n dottedLine: true,\n};\n\nexport default () => {\n return (\n \n );\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/default.tsx?watch=parent';import { PathMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n points: [\n { longitude: 120.130638, latitude: 30.219835, label: '石屋洞' },\n { longitude: 120.128125, latitude: 30.219386, label: '满觉陇' },\n { longitude: 120.118362, latitude: 30.217175, label: '杨梅岭' },\n { longitude: 120.112958, latitude: 30.207319, label: '理安寺' },\n { longitude: 120.11335, latitude: 30.202395, label: '九溪烟树' },\n ],\n },\n {\n points: [\n { longitude: 120.100549, latitude: 30.236875, label: '飞来峰' },\n { longitude: 120.101406, latitude: 30.240826, label: '灵隐寺' },\n { longitude: 120.105337, latitude: 30.236818, label: '天竺三寺' },\n ],\n },\n {\n points: [\n { longitude: 120.116979, latitude: 30.252876, label: '杭州植物园' },\n { longitude: 120.127654, latitude: 30.245663, label: '杭州花圃' },\n { longitude: 120.135764, latitude: 30.251448, label: '苏堤' },\n ],\n },\n {\n points: [\n { longitude: 120.130095, latitude: 30.207505, label: '虎跑公园' },\n { longitude: 120.145323, latitude: 30.214993, label: '玉皇飞云' },\n { longitude: 120.155057, latitude: 30.232985, label: '长桥公园' },\n ],\n },\n];\nconst routeData = data.map((item) => {\n return {\n path: item,\n markers: item.points,\n };\n});\n\nexport default () => {\n return ;\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, ConfigProvider, GPTVisLite, PathMap, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst markdownContent = `\n ~~~vis-chart\n {\n \"type\": \"path-map\",\n \"data\": [\n {\n \"path\": {\n \"points\": [\n {\n \"longitude\": 120.130638,\n \"latitude\": 30.219835,\n \"label\": \"石屋洞\"\n },\n {\n \"longitude\": 120.128125,\n \"latitude\": 30.219386,\n \"label\": \"满觉陇\"\n },\n {\n \"longitude\": 120.118362,\n \"latitude\": 30.217175,\n \"label\": \"杨梅岭\"\n },\n {\n \"longitude\": 120.112958,\n \"latitude\": 30.207319,\n \"label\": \"理安寺\"\n },\n {\n \"longitude\": 120.11335,\n \"latitude\": 30.202395,\n \"label\": \"九溪烟树\"\n }\n ]\n },\n \"markers\": [\n {\n \"longitude\": 120.130638,\n \"latitude\": 30.219835,\n \"label\": \"石屋洞\"\n },\n {\n \"longitude\": 120.128125,\n \"latitude\": 30.219386,\n \"label\": \"满觉陇\"\n },\n {\n \"longitude\": 120.118362,\n \"latitude\": 30.217175,\n \"label\": \"杨梅岭\"\n },\n {\n \"longitude\": 120.112958,\n \"latitude\": 30.207319,\n \"label\": \"理安寺\"\n },\n {\n \"longitude\": 120.11335,\n \"latitude\": 30.202395,\n \"label\": \"九溪烟树\"\n }\n ]\n },\n {\n \"path\": {\n \"points\": [\n {\n \"longitude\": 120.100549,\n \"latitude\": 30.236875,\n \"label\": \"飞来峰\"\n },\n {\n \"longitude\": 120.101406,\n \"latitude\": 30.240826,\n \"label\": \"灵隐寺\"\n },\n {\n \"longitude\": 120.105337,\n \"latitude\": 30.236818,\n \"label\": \"天竺三寺\"\n }\n ]\n },\n \"markers\": [\n {\n \"longitude\": 120.100549,\n \"latitude\": 30.236875,\n \"label\": \"飞来峰\"\n },\n {\n \"longitude\": 120.101406,\n \"latitude\": 30.240826,\n \"label\": \"灵隐寺\"\n },\n {\n \"longitude\": 120.105337,\n \"latitude\": 30.236818,\n \"label\": \"天竺三寺\"\n }\n ]\n }\n ]\n}\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.PathMap]: PathMap },\n style: { width: 500 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => {\n return (\n \n
\n \n \n
\n \n );\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO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,CACsB,GAAG,CAAC,AAAC,GACnB,CAAA,CACL,KAAM,EACN,QAAS,EAAK,MAAM,AACtB,CAAA,OAGF,EAAe,IACN,UAAC,SAAO,EAAC,KAAM,EAAW,QAAQ,gICmF3C,+CAAA,4BA9HO,oBAAyH,gBAClD,YAG9E,IAAM,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGtB,CAAC,CAEE,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,OAAO,CAAC,CAAE,SAAO,AAAC,EAC3C,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IAEX,UAAC,gBAAc,EACb,IAAK,CACH,MAAO,iDACP,MAAO,+BACT,WAEA,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,+DACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE"} \ No newline at end of file diff --git a/5f38bc1e-async.f6496f1b.js b/5f38bc1e-async.f6496f1b.js new file mode 100644 index 0000000..bc3c4ba --- /dev/null +++ b/5f38bc1e-async.f6496f1b.js @@ -0,0 +1,40 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["5f38bc1e"],{"12614c0e":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return l;}});var t=n("a2e753d8");n("10bd6db2");var u=n("1c5d635b"),r=n("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{96F7}\u{8FBE}\u{56FE} + +\`\`\`vis-chart +{ + "type": "radar", + "data": [ + { "group": "Apple", "name": "Vitamin C", "value": 5 }, + { "group": "Apple", "name": "Fiber", "value": 7 }, + { "group": "Apple", "name": "Sugar", "value": 6 }, + { "group": "Apple", "name": "Protein", "value": 2 }, + { "group": "Apple", "name": "Iron", "value": 3 }, + { "group": "Apple", "name": "Calcium", "value": 2 }, + { "group": "Banana", "name": "Vitamin C", "value": 4 }, + { "group": "Banana", "name": "Fiber", "value": 5 }, + { "group": "Banana", "name": "Sugar", "value": 7 }, + { "group": "Banana", "name": "Protein", "value": 3 }, + { "group": "Banana", "name": "Iron", "value": 2 }, + { "group": "Banana", "name": "Calcium", "value": 3 } + ] +} +\`\`\` +`,o={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,r.withChartCode)({components:{[r.ChartType.Radar]:r.Radar}}),f=e=>(0,t.jsx)(r.GPTVisLite,{components:{code:i},children:e});var l=()=>(0,t.jsxs)("div",{style:o,children:[(0,t.jsx)(u.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6C34\u679C\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,t.jsx)(u.Bubble,{content:d,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"1c5d635b":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return i.default;},Prompts:function(){return f.default;},Sender:function(){return d.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return l.default;},Welcome:function(){return c.default;},XProvider:function(){return b.default;},XRequest:function(){return p.default;},XStream:function(){return v.default;},useXAgent:function(){return A.default;},useXChat:function(){return m.default;},version:function(){return u.default;}});var t=n("777fffbe"),u=t._(n("61551e8a")),r=t._(n("150d8a7a")),d=t._(n("013e81db")),o=t._(n("d161127f")),i=t._(n("11781cbc")),f=t._(n("5a025bc4")),l=t._(n("e2d1bf07")),s=t._(n("d0c39811")),c=t._(n("0176aebf")),b=t._(n("8b35f51f")),m=t._(n("92b2492a")),A=t._(n("1e122ed0")),v=t._(n("470d5fd8")),p=t._(n("e0f10014"));},"938cfb3d":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return d;}});var t=n("a2e753d8");n("9e0e4e69");var u=n("df67f0d6");let r=[{name:"\u6C9F\u901A\u80FD\u529B",value:2},{name:"\u534F\u4F5C\u80FD\u529B",value:3},{name:"\u9886\u5BFC\u80FD\u529B",value:2},{name:"\u5B66\u4E60\u80FD\u529B",value:5},{name:"\u521B\u65B0\u80FD\u529B",value:6},{name:"\u6280\u672F\u80FD\u529B",value:9}];var d=()=>(0,t.jsx)(u.Radar,{data:r,containerStyle:{height:300}});},df67f0d6:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{ConfigProvider:function(){return o.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return f.default;},useEventPublish:function(){return f.useEventPublish;},version:function(){return l.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var t=n("d1751d7c"),u=n("777fffbe"),r=n("852bbaa9");t._(n("5639510f"),a),t._(n("d382b880"),a);var d=n("a574afdb"),o=u._(n("a7265236")),i=u._(n("2c69d5f6")),f=r._(n("033b3748")),l=u._(n("7cf1dc46"));},e7bada6d:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"Source",{enumerable:!0,get:function(){return u.default;}});var t=n("d1751d7c"),u=n("777fffbe")._(n("b00709ad"));t._(n("5e2dda25"),a),t._(n("969efd31"),a),t._(n("f21af0e0"),a),t._(n("33eda958"),a),t._(n("112b9a67"),a),t._(n("a45613fd"),a),t._(n("432777ba"),a);},e7f49784:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return l;}});var t=n("a2e753d8");n("85edf161");var u=n("1c5d635b"),r=n("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{96F7}\u{8FBE}\u{56FE} + +\`\`\`vis-chart +{ + "type": "radar", + "data": [ + { "name": "Vitamin C", "value": 7 }, + { "name": "Fiber", "value": 6 }, + { "name": "Sugar", "value": 5 }, + { "name": "Protein", "value": 4 }, + { "name": "Iron", "value": 3 }, + { "name": "Calcium", "value": 2 } + ] +} +\`\`\` +`,o={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,r.withChartCode)({components:{[r.ChartType.Radar]:r.Radar}}),f=e=>(0,t.jsx)(r.GPTVisLite,{components:{code:i},children:e});var l=()=>(0,t.jsxs)("div",{style:o,children:[(0,t.jsx)(u.Bubble,{placement:"end",content:"\u5BF9\u7EF4\u5EA6\u53EF\u89C6\u5316\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,t.jsx)(u.Bubble,{content:d,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});}}]); +//# sourceMappingURL=5f38bc1e-async.f6496f1b.js.map \ No newline at end of file diff --git a/5f38bc1e-async.f6496f1b.js.map b/5f38bc1e-async.f6496f1b.js.map new file mode 100644 index 0000000..854f5bc --- /dev/null +++ b/5f38bc1e-async.f6496f1b.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Radar/demos/category.tsx?techStack=react","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Radar/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Radar/demos/markdown.tsx?techStack=react"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/category.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Radar, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个雷达图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"radar\",\n \"data\": [\n { \"group\": \"Apple\", \"name\": \"Vitamin C\", \"value\": 5 },\n { \"group\": \"Apple\", \"name\": \"Fiber\", \"value\": 7 },\n { \"group\": \"Apple\", \"name\": \"Sugar\", \"value\": 6 },\n { \"group\": \"Apple\", \"name\": \"Protein\", \"value\": 2 },\n { \"group\": \"Apple\", \"name\": \"Iron\", \"value\": 3 },\n { \"group\": \"Apple\", \"name\": \"Calcium\", \"value\": 2 },\n { \"group\": \"Banana\", \"name\": \"Vitamin C\", \"value\": 4 },\n { \"group\": \"Banana\", \"name\": \"Fiber\", \"value\": 5 },\n { \"group\": \"Banana\", \"name\": \"Sugar\", \"value\": 7 },\n { \"group\": \"Banana\", \"name\": \"Protein\", \"value\": 3 },\n { \"group\": \"Banana\", \"name\": \"Iron\", \"value\": 2 },\n { \"group\": \"Banana\", \"name\": \"Calcium\", \"value\": 3 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Radar]: Radar },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/common.tsx?watch=parent';import { Radar } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { name: '沟通能力', value: 2 },\n { name: '协作能力', value: 3 },\n { name: '领导能力', value: 2 },\n { name: '学习能力', value: 5 },\n { name: '创新能力', value: 6 },\n { name: '技术能力', value: 9 },\n];\n\nexport default () => {\n return ;\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Radar, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个雷达图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"radar\",\n \"data\": [\n { \"name\": \"Vitamin C\", \"value\": 7 },\n { \"name\": \"Fiber\", \"value\": 6 },\n { \"name\": \"Sugar\", \"value\": 5 },\n { \"name\": \"Protein\", \"value\": 4 },\n { \"name\": \"Iron\", \"value\": 3 },\n { \"name\": \"Calcium\", \"value\": 2 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Radar]: Radar },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n"],"names":[],"mappings":"+PA4CA,+CAAA,4BA5CO,oBAAuH,gBAClE,YAG5D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;AAsBzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,K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,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FC8Bd,+CAAA,4BAtCO,oBAAuH,gBAClE,YAG5D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;AAgBzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,KAAK,CAAC,CAAE,OAAK,AAAC,CACzC,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,+DACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE"} \ No newline at end of file diff --git a/6eb1bbc9-async.8e5e38e1.js b/6eb1bbc9-async.8e5e38e1.js new file mode 100644 index 0000000..3284bed --- /dev/null +++ b/6eb1bbc9-async.8e5e38e1.js @@ -0,0 +1,59 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["6eb1bbc9"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return n.default;},Bubble:function(){return d.default;},Conversations:function(){return l.default;},Prompts:function(){return c.default;},Sender:function(){return o.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return f.default;},XProvider:function(){return g.default;},XRequest:function(){return p.default;},XStream:function(){return b.default;},useXAgent:function(){return v.default;},useXChat:function(){return A.default;},version:function(){return r.default;}});var u=a("777fffbe"),r=u._(a("61551e8a")),n=u._(a("150d8a7a")),o=u._(a("013e81db")),d=u._(a("d161127f")),l=u._(a("11781cbc")),c=u._(a("5a025bc4")),i=u._(a("e2d1bf07")),s=u._(a("d0c39811")),f=u._(a("0176aebf")),g=u._(a("8b35f51f")),A=u._(a("92b2492a")),v=u._(a("1e122ed0")),b=u._(a("470d5fd8")),p=u._(a("e0f10014"));},"2ce50c00":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return i;}});var u=a("a2e753d8");a("6012f323");var r=a("1c5d635b"),n=a("df67f0d6");let o=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{67F1}\u{72B6}\u{56FE} + +\`\`\`vis-chart +{ + "type": "column", + "data": [{"category":2013,"value":59.3},{"category":2014,"value":64.4},{"category":2015,"value":68.9},{"category":2016,"value":74.4},{"category":2017,"value":82.7},{"category":2018,"value":91.9},{"category":2019,"value":99.1},{"category":2020,"value":101.6},{"category":2021,"value":114.4},{"category":2022,"value":121}], + "axisXTitle": "year", + "axisYTitle": "GDP" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,n.withChartCode)({components:{[n.ChartType.Column]:n.Column},style:{width:350}}),c=e=>(0,u.jsx)(n.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,u.jsxs)("div",{style:d,children:[(0,u.jsx)(r.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6700\u8FD1\u51E0\u5E74 GDP \u60C5\u51B5",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,u.jsx)(r.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"79b43c44":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return i;}});var u=a("a2e753d8");a("9154e165");var r=a("1c5d635b"),n=a("df67f0d6");let o=` +\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{67F1}\u{72B6}\u{56FE} + +\`\`\`vis-chart +{ + "type": "column", + "data": [ + { "category": "\u{5317}\u{4EAC}", "value": 825.6, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{5317}\u{4EAC}", "value": 60.2, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{4E0A}\u{6D77}", "value": 450, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{4E0A}\u{6D77}", "value": 95, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{6DF1}\u{5733}", "value": 506, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{6DF1}\u{5733}", "value": 76.7, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{5E7F}\u{5DDE}", "value": 976.6, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{5E7F}\u{5DDE}", "value": 97.2, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{676D}\u{5DDE}", "value": 651.2, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{676D}\u{5DDE}", "value": 62, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" } + ], + "stack": true, + "axisXTitle": "\u{57CE}\u{5E02}", + "axisYTitle": "\u{552E}\u{91CF}" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,n.withChartCode)({components:{[n.ChartType.Column]:n.Column}}),c=e=>(0,u.jsx)(n.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,u.jsxs)("div",{style:d,children:[(0,u.jsx)(r.Bubble,{placement:"end",content:"\u4E3B\u8981\u57CE\u5E02\u6CB9\u8F66\u4E0E\u65B0\u80FD\u6E90\u6C7D\u8F66\u7684\u552E\u5356\u91CF\u5BF9\u6BD4",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,u.jsx)(r.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return d.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var u=a("d1751d7c"),r=a("777fffbe"),n=a("852bbaa9");u._(a("5639510f"),t),u._(a("d382b880"),t);var o=a("a574afdb"),d=r._(a("a7265236")),l=r._(a("2c69d5f6")),c=n._(a("033b3748")),i=r._(a("7cf1dc46"));},e0ce15c7:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return i;}});var u=a("a2e753d8");a("6944036d");var r=a("1c5d635b"),n=a("df67f0d6");let o=` +\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{67F1}\u{72B6}\u{56FE} + +\`\`\`vis-chart +{ + "type": "column", + "data": [ + { "category": "\u{5317}\u{4EAC}", "value": 825.6, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{5317}\u{4EAC}", "value": 60.2, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{4E0A}\u{6D77}", "value": 450, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{4E0A}\u{6D77}", "value": 95, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{6DF1}\u{5733}", "value": 506, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{6DF1}\u{5733}", "value": 76.7, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{5E7F}\u{5DDE}", "value": 976.6, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{5E7F}\u{5DDE}", "value": 97.2, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" }, + { "category": "\u{676D}\u{5DDE}", "value": 651.2, "group": "\u{6CB9}\u{8F66}" }, + { "category": "\u{676D}\u{5DDE}", "value": 62, "group": "\u{65B0}\u{80FD}\u{6E90}\u{6C7D}\u{8F66}" } + ], + "group": true, + "axisXTitle": "\u{57CE}\u{5E02}", + "axisYTitle": "\u{552E}\u{91CF}" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,n.withChartCode)({components:{[n.ChartType.Column]:n.Column}}),c=e=>(0,u.jsx)(n.GPTVisLite,{components:{code:l},children:e});var i=()=>(0,u.jsxs)("div",{style:d,children:[(0,u.jsx)(r.Bubble,{placement:"end",content:"\u4E3B\u8981\u57CE\u5E02\u6CB9\u8F66\u4E0E\u65B0\u80FD\u6E90\u6C7D\u8F66\u7684\u552E\u5356\u91CF\u5BF9\u6BD4",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,u.jsx)(r.Bubble,{content:o,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return r.default;}});var u=a("d1751d7c"),r=a("777fffbe")._(a("b00709ad"));u._(a("5e2dda25"),t),u._(a("969efd31"),t),u._(a("f21af0e0"),t),u._(a("33eda958"),t),u._(a("112b9a67"),t),u._(a("a45613fd"),t),u._(a("432777ba"),t);},f6144435:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var u=a("a2e753d8");a("9639f0de");var r=a("df67f0d6");let n=[{type:"1-3\u79D2",value:.16},{type:"4-10\u79D2",value:.125},{type:"11-30\u79D2",value:.24},{type:"31-60\u79D2",value:.19},{type:"1-3\u5206",value:.22},{type:"3-10\u5206",value:.05},{type:"10-30\u5206",value:.01},{type:"30+\u5206",value:.015}];var o=()=>(0,u.jsx)(r.Column,{data:n,xField:"type",yField:"value",axisXTitle:"type",axisYTitle:"value",containerStyle:{height:300}});}}]); +//# sourceMappingURL=6eb1bbc9-async.8e5e38e1.js.map \ No newline at end of file diff --git a/6eb1bbc9-async.8e5e38e1.js.map b/6eb1bbc9-async.8e5e38e1.js.map new file mode 100644 index 0000000..babfaf3 --- /dev/null +++ b/6eb1bbc9-async.8e5e38e1.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Column/demos/markdown.tsx?techStack=react","src/Column/demos/stack.tsx?techStack=react","src/index.ts","src/Column/demos/group.tsx?techStack=react","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Column/demos/common.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个柱状图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [{\"category\":2013,\"value\":59.3},{\"category\":2014,\"value\":64.4},{\"category\":2015,\"value\":68.9},{\"category\":2016,\"value\":74.4},{\"category\":2017,\"value\":82.7},{\"category\":2018,\"value\":91.9},{\"category\":2019,\"value\":99.1},{\"category\":2020,\"value\":101.6},{\"category\":2021,\"value\":114.4},{\"category\":2022,\"value\":121}],\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"GDP\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/stack.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n以下是为你绘制的一个柱状图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [\n { \"category\": \"北京\", \"value\": 825.6, \"group\": \"油车\" },\n { \"category\": \"北京\", \"value\": 60.2, \"group\": \"新能源汽车\" },\n { \"category\": \"上海\", \"value\": 450, \"group\": \"油车\" },\n { \"category\": \"上海\", \"value\": 95, \"group\": \"新能源汽车\" },\n { \"category\": \"深圳\", \"value\": 506, \"group\": \"油车\" },\n { \"category\": \"深圳\", \"value\": 76.7, \"group\": \"新能源汽车\" },\n { \"category\": \"广州\", \"value\": 976.6, \"group\": \"油车\" },\n { \"category\": \"广州\", \"value\": 97.2, \"group\": \"新能源汽车\" },\n { \"category\": \"杭州\", \"value\": 651.2, \"group\": \"油车\" },\n { \"category\": \"杭州\", \"value\": 62, \"group\": \"新能源汽车\" }\n ],\n \"stack\": true,\n \"axisXTitle\": \"城市\",\n \"axisYTitle\": \"售量\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/group.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n以下是为你绘制的一个柱状图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [\n { \"category\": \"北京\", \"value\": 825.6, \"group\": \"油车\" },\n { \"category\": \"北京\", \"value\": 60.2, \"group\": \"新能源汽车\" },\n { \"category\": \"上海\", \"value\": 450, \"group\": \"油车\" },\n { \"category\": \"上海\", \"value\": 95, \"group\": \"新能源汽车\" },\n { \"category\": \"深圳\", \"value\": 506, \"group\": \"油车\" },\n { \"category\": \"深圳\", \"value\": 76.7, \"group\": \"新能源汽车\" },\n { \"category\": \"广州\", \"value\": 976.6, \"group\": \"油车\" },\n { \"category\": \"广州\", \"value\": 97.2, \"group\": \"新能源汽车\" },\n { \"category\": \"杭州\", \"value\": 651.2, \"group\": \"油车\" },\n { \"category\": \"杭州\", \"value\": 62, \"group\": \"新能源汽车\" }\n ],\n \"group\": true,\n \"axisXTitle\": \"城市\",\n \"axisYTitle\": \"售量\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/common.tsx?watch=parent';import { Column } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { type: '1-3秒', value: 0.16 },\n { type: '4-10秒', value: 0.125 },\n { type: '11-30秒', value: 0.24 },\n { type: '31-60秒', value: 0.19 },\n { type: '1-3分', value: 0.22 },\n { type: '3-10分', value: 0.05 },\n { type: '10-30分', value: 0.01 },\n { type: '30+分', value: 0.015 },\n];\n\nexport default () => {\n return (\n \n );\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCqBpC,+CAAA,4BAlCO,oBAAwH,gBAClE,YAG7D,IAAM,EAAkB,CAAC;;;;;;;;;;;AAWzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,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OACX,WAAW,QACX,eAAgB,CAAE,OAAQ,GAAI"} \ No newline at end of file diff --git a/707b31e2-async.91a4b7ff.js b/707b31e2-async.91a4b7ff.js new file mode 100644 index 0000000..d1d0e4c --- /dev/null +++ b/707b31e2-async.91a4b7ff.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["707b31e2"],{"2f0481f5":function(e,t,n){"use strict";var a=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return o;}});var d=n("852bbaa9"),u=d._(n("9d065c04"));n("606bab50");var r=d._(n("df67f0d6"));let o={"map-demo-0":{component:u.default.memo(u.default.lazy(async function(){let{default:e,useEffect:t,useMemo:d}=await Promise.all([n.ensure("9d065c04")]).then(n.dr(a,n.bind(n,"9d065c04"))),{Map:u}=await Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("df67f0d6")]).then(n.dr(a,n.bind(n,"df67f0d6")));return{default:()=>e.createElement(u,{mapType:"light",scale:17,longitude:120.130638,latitude:30.219835,skew:0,rotate:0,containerStyle:{height:500}})};})),asset:{type:"BLOCK",id:"map-demo-0",refAtomIds:["Map"],dependencies:{"index.jsx":{type:"FILE",value:"import React, { useEffect, useMemo } from 'react';\nimport { Map } from '@antv/gpt-vis';\n\nexport default () => {\n const mapConfig = {\n mapType: 'light',\n scale: 17,\n longitude: 120.130638,\n latitude: 30.219835,\n skew: 0,\n rotate: 0,\n };\n\n return ;\n};"},react:{type:"NPM",value:"18.3.1"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.jsx"},context:{react:u,"@antv/gpt-vis":r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(a,n.bind(n,"d030c320")))).default(...e)}}};},dddc4177:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"texts",{enumerable:!0,get:function(){return a;}}),n("606bab50");let a=[];},df67f0d6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ConfigProvider:function(){return o.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return f.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var a=n("d1751d7c"),d=n("777fffbe"),u=n("852bbaa9");a._(n("5639510f"),t),a._(n("d382b880"),t);var r=n("a574afdb"),o=d._(n("a7265236")),i=d._(n("2c69d5f6")),s=u._(n("033b3748")),f=d._(n("7cf1dc46"));},e7bada6d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"Source",{enumerable:!0,get:function(){return d.default;}});var a=n("d1751d7c"),d=n("777fffbe")._(n("b00709ad"));a._(n("5e2dda25"),t),a._(n("969efd31"),t),a._(n("f21af0e0"),t),a._(n("33eda958"),t),a._(n("112b9a67"),t),a._(n("a45613fd"),t),a._(n("432777ba"),t);}}]); +//# sourceMappingURL=707b31e2-async.91a4b7ff.js.map \ No newline at end of file diff --git a/707b31e2-async.91a4b7ff.js.map b/707b31e2-async.91a4b7ff.js.map new file mode 100644 index 0000000..d33be86 --- /dev/null +++ b/707b31e2-async.91a4b7ff.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Map/index.md?type=demo","src/Map/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Map/index.md?watch=parent';\nimport * as map_demo_0_deps_0 from 'react';\nimport * as map_demo_0_deps_1 from '@antv/gpt-vis';\nexport const demos = {\n 'map-demo-0': {\n component: React.memo(React.lazy(async function() {\n const { default: React, useEffect: useEffect, useMemo: useMemo } = await import('react');\nconst { Map: Map } = await import('@antv/gpt-vis');\nreturn {\n default: ()=>{\n const mapConfig = {\n mapType: 'light',\n scale: 17,\n longitude: 120.130638,\n latitude: 30.219835,\n skew: 0,\n rotate: 0\n };\n return /*#__PURE__*/ React.createElement(Map, {\n ...mapConfig,\n containerStyle: {\n height: 500\n }\n });\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"map-demo-0\",\n \"refAtomIds\": [\n \"Map\"\n ],\n \"dependencies\": {\n \"index.jsx\": {\n \"type\": \"FILE\",\n \"value\": \"import React, { useEffect, useMemo } from 'react';\\nimport { Map } from '@antv/gpt-vis';\\n\\nexport default () => {\\n const mapConfig = {\\n mapType: 'light',\\n scale: 17,\\n longitude: 120.130638,\\n latitude: 30.219835,\\n skew: 0,\\n rotate: 0,\\n };\\n\\n return ;\\n};\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.jsx\"\n},\n context: {\n \"react\": map_demo_0_deps_0,\n \"@antv/gpt-vis\": map_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Map/index.md?watch=parent';\n export const texts = [];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"qRAIa,6CAAA,kCAJK,eACX,wBAE4B,aAC5B,IAAM,EAAQ,CACnB,aAAc,CACZ,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,iBACnC,GAAM,CAAE,QAAS,CAAK,CAAE,UAAW,CAAS,CAAE,QAAS,CAAO,CAAE,CAAG,MAAM,uEACrE,CAAE,IAAK,CAAG,CAAE,CAAG,MAAM,kLAC3B,MAAO,CACH,QAAS,IASgB,EAAM,aAAa,CAAC,EAAK,CAP1C,QAAS,QACT,MAAO,GACP,UAAW,WACX,SAAU,UACV,KAAM,EACN,OAAQ,EAIR,eAAgB,CACZ,OAAQ,GACZ,CACJ,EAER,EAEA,IACI,MAAO,CACT,KAAQ,QACR,GAAM,aACN,WAAc,CACZ,MACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,qVACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,CACF,EACA,MAAS,WACX,EACI,QAAS,CACX,MAAS,EACT,gBAAiB,CACnB,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+EC5De,6CAAA,QADN,YACA,IAAM,EAAQ,EAAE,+ECOL,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/70ff43c5-async.6e85e24c.js b/70ff43c5-async.6e85e24c.js new file mode 100644 index 0000000..d6d0752 --- /dev/null +++ b/70ff43c5-async.6e85e24c.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["70ff43c5"],{"06fd2969":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}}),t("b447189d");var o='import { GPTVisLite, withDefaultChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst components = {\n // Rewrite `a` style\n a(props: any) {\n const { href, children } = props;\n return (\n \n {children}\n \n );\n },\n // Rewrite `em`s (`*like so*`) to `i` with a color.\n em(props: any) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { node, ...rest } = props;\n return (\n \n );\n },\n code: withDefaultChartCode(),\n};\n\nconst content = `\n# Haidilao\'s Food Delivery Revenue (2013-2022)\n\nHere\u2019s a visualization of [Haidilao](/)\'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\n\n\\`\\`\\`vis-chart\n{\n "type": "line",\n "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}]\n}\n\\`\\`\\`\n`;\nexport default () => {content};\n';},"0c131a40":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}}),t("fc305c7d");var o='import { GPTVis } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst content = `# GPT-VIS \\n\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n`;\n\nexport default () => {\n return {content};\n};\n';},"15d3cba8":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}}),t("0247468d");var o="import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { GPTVisLite, useEventPublish, withChartCode } from '@antv/gpt-vis';\nimport React, { useState } from 'react';\n\n/**\n * \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u5668\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n const eventPublish = useEventPublish();\n return (\n
\n

{children}

\n {\n eventPublish('xxxclick', {});\n }}\n type=\"button\"\n >\n click\n \n
\n );\n};\nconst customRenderers = { 'my-ui': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers,\n components: {},\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy ui data ...\n\\`\\`\\`\n`;\nexport default () => {\n const [count, setCount] = useState(0);\n const onClick = (data: any) => {\n console.log('data: ', data);\n setCount((pre) => pre + 1);\n // do something\n };\n\n return (\n <>\n

count: {count}

\n \n {content}\n \n \n );\n};\n";},"246be606":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}}),t("79c44ed8");var o='import type { CodeBlockComponent } from \'@antv/gpt-vis\';\nimport { ChartType, GPTVisLite, Pie, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\n/**\n * \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u5668\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n return
{children}
;\n};\nconst customRenderers = { \'my-ui\': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers, // register custom block renderer\n components: { [ChartType.Pie]: Pie }, // register a pie chart\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy data ...\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n`;\nexport default () => {content};\n';},"6302cc33":function(e,n,t){"use strict";var o=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return d;}});var r=t("852bbaa9"),a=r._(t("9d065c04"));t("e34fb88a");var s=r._(t("df67f0d6"));let d={"gptvis-demo-default":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("91fd6521")]).then(t.dr(o,t.bind(t,"37903e7a"))))),asset:{type:"BLOCK",id:"gptvis-demo-default",refAtomIds:["GPTVis"],dependencies:{"index.tsx":{type:"FILE",value:t("0c131a40").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":s,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(o,t.bind(t,"d030c320")))).default(...e)}},"gptvis-demo-tag":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("91fd6521")]).then(t.dr(o,t.bind(t,"56c0d1a6"))))),asset:{type:"BLOCK",id:"gptvis-demo-tag",refAtomIds:["GPTVis"],dependencies:{"index.tsx":{type:"FILE",value:t("06fd2969").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":s,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(o,t.bind(t,"d030c320")))).default(...e)}},"gptvis-demo-code":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("91fd6521")]).then(t.dr(o,t.bind(t,"1d926a75"))))),asset:{type:"BLOCK",id:"gptvis-demo-code",refAtomIds:["GPTVis"],dependencies:{"index.tsx":{type:"FILE",value:t("246be606").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":s,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(o,t.bind(t,"d030c320")))).default(...e)}},"gptvis-demo-event":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("91fd6521")]).then(t.dr(o,t.bind(t,"9c07645c"))))),asset:{type:"BLOCK",id:"gptvis-demo-event",refAtomIds:["GPTVis"],dependencies:{"index.tsx":{type:"FILE",value:t("15d3cba8").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u8BA2\u9605\u7EC4\u4EF6\u4E8B\u4EF6"},context:{"@antv/gpt-vis":s,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(o,t.bind(t,"d030c320")))).default(...e)}},"gptvis-demo-context-provider":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("91fd6521")]).then(t.dr(o,t.bind(t,"b316d85b"))))),asset:{type:"BLOCK",id:"gptvis-demo-context-provider",refAtomIds:["GPTVis"],dependencies:{"index.tsx":{type:"FILE",value:t("784a1f47").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"Context \u4F20\u9012\u6570\u636E"},context:{"@antv/gpt-vis":s,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(o,t.bind(t,"d030c320")))).default(...e)}}};},"784a1f47":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return o;}}),t("b62c491c");var o="import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React, { useCallback, useMemo, useState } from 'react';\n\nexport const MyContext = React.createContext(null as any);\n\nexport function useMyContext() {\n const context = React.useContext(MyContext);\n if (context === undefined || Object.keys(context).length === 0) {\n throw new Error(`useMyContext must be used within a MyContext.Provider`);\n }\n\n return context;\n}\n\n/**\n * \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u5668\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n const context = useMyContext();\n console.log('context: ', context);\n return (\n
\n

{children}

\n \n
\n );\n};\nconst customRenderers = { 'my-ui': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers, // register custom block renderer\n components: {},\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy ui data ...\n\\`\\`\\`\n`;\n\nexport default () => {\n const [count, setCount] = useState(0);\n const handleClick = useCallback(() => {\n console.log('handleClick');\n setCount((pre) => pre + 1);\n // do something\n }, []);\n const context = useMemo(() => ({ count: count, onClick: handleClick }), [count]);\n\n return (\n <>\n

count: {count}

\n \n
\n {/* other component ... */}\n
\n {/* other component ... */}\n {content}\n
\n
\n
\n \n );\n};\n";},"9b77ec00":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return o;}}),t("e34fb88a");let o=[{value:"GPTVis \u534F\u8BAE\u7684 Markdown \u6E32\u67D3\u5668\uFF0C\u57FA\u4E8E Markdown \u8BED\u6CD5\u6269\u5C55 ",paraId:0,tocIndex:0},{value:"vis-chart",paraId:0,tocIndex:0},{value:" \u8BED\u6CD5\u5757\uFF0C\u652F\u6301\u81EA\u5B9A\u4E49\u6E32\u67D3\u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"GPTVis",paraId:1,tocIndex:1},{value:" \u7EC4\u4EF6\u5185\u7F6E\u4E86",paraId:1,tocIndex:1},{value:"\u9ED8\u8BA4\u7684\u56FE\u8868",paraId:1,tocIndex:1},{value:"\uFF0C\u63A5\u5165\u7B80\u5355",paraId:1,tocIndex:1},{value:"\u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\uFF0C",paraId:2,tocIndex:3},{value:"GPTVisLite",paraId:2,tocIndex:3},{value:" \u4E0D\u5185\u7F6E\u56FE\u8868\u7EC4\u4EF6\uFF0C\u4F7F\u7528\u56FE\u8868\u7EC4\u4EF6\u9700\u8981\u6CE8\u518C\u3002",paraId:2,tocIndex:3},{value:"\u901A\u8FC7\u53D1\u5E03\u8BA2\u9605\u7EC4\u4EF6\u4E8B\u4EF6\u4E0E Context \u4F20\u9012\u6570\u636E\uFF0C\u6765\u7528\u4E8E\u5B50\u7EC4\u4EF6\u4E0E\u5BB9\u5668\u7EC4\u4EF6\u901A\u4FE1\u3002",paraId:3,tocIndex:4},{value:"\u7EE7\u627F ",paraId:4,tocIndex:7},{value:"react-markdown",paraId:4,tocIndex:7},{value:" \u7EC4\u4EF6\u5168\u90E8\u5C5E\u6027\u3002",paraId:4,tocIndex:7}];},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return d.default;},GPTVis:function(){return u.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return s.withChartCode;},withDefaultChartCode:function(){return s.withDefaultChartCode;}});var o=t("d1751d7c"),r=t("777fffbe"),a=t("852bbaa9");o._(t("5639510f"),n),o._(t("d382b880"),n);var s=t("a574afdb"),d=r._(t("a7265236")),u=r._(t("2c69d5f6")),i=a._(t("033b3748")),c=r._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return r.default;}});var o=t("d1751d7c"),r=t("777fffbe")._(t("b00709ad"));o._(t("5e2dda25"),n),o._(t("969efd31"),n),o._(t("f21af0e0"),n),o._(t("33eda958"),n),o._(t("112b9a67"),n),o._(t("a45613fd"),n),o._(t("432777ba"),n);}}]); +//# sourceMappingURL=70ff43c5-async.6e85e24c.js.map \ No newline at end of file diff --git a/70ff43c5-async.6e85e24c.js.map b/70ff43c5-async.6e85e24c.js.map new file mode 100644 index 0000000..6855457 --- /dev/null +++ b/70ff43c5-async.6e85e24c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/GPTVis/demos/tag.tsx?dumi-raw","src/GPTVis/demos/default.tsx?dumi-raw","src/GPTVis/demos/event.tsx?dumi-raw","src/GPTVis/demos/code.tsx?dumi-raw","src/GPTVis/index.md?type=demo","src/GPTVis/demos/context-provider.tsx?dumi-raw","src/GPTVis/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/tag.tsx?watch=parent';\n export default \"import { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst components = {\\n // Rewrite `a` style\\n a(props: any) {\\n const { href, children } = props;\\n return (\\n \\n {children}\\n \\n );\\n },\\n // Rewrite `em`s (`*like so*`) to `i` with a color.\\n em(props: any) {\\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\\n const { node, ...rest } = props;\\n return (\\n \\n );\\n },\\n code: withDefaultChartCode(),\\n};\\n\\nconst content = `\\n# Haidilao's Food Delivery Revenue (2013-2022)\\n\\nHere’s a visualization of [Haidilao](/)'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\nexport default () => {content};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/default.tsx?watch=parent';\n export default \"import { GPTVis } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst content = `# GPT-VIS \\\\n\\\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nexport default () => {\\n return {content};\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/event.tsx?watch=parent';\n export default \"import type { CodeBlockComponent } from '@antv/gpt-vis';\\nimport { GPTVisLite, useEventPublish, withChartCode } from '@antv/gpt-vis';\\nimport React, { useState } from 'react';\\n\\n/**\\n * 自定义代码块渲染器\\n */\\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\\n const eventPublish = useEventPublish();\\n return (\\n
\\n

{children}

\\n {\\n eventPublish('xxxclick', {});\\n }}\\n type=\\\"button\\\"\\n >\\n click\\n \\n
\\n );\\n};\\nconst customRenderers = { 'my-ui': MyUIRenderer };\\nconst components = {\\n code: withChartCode({\\n languageRenderers: customRenderers,\\n components: {},\\n }),\\n};\\n\\nconst content = `\\n\\\\`\\\\`\\\\`my-ui\\nmy ui data ...\\n\\\\`\\\\`\\\\`\\n`;\\nexport default () => {\\n const [count, setCount] = useState(0);\\n const onClick = (data: any) => {\\n console.log('data: ', data);\\n setCount((pre) => pre + 1);\\n // do something\\n };\\n\\n return (\\n <>\\n

count: {count}

\\n \\n {content}\\n \\n \\n );\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/code.tsx?watch=parent';\n export default \"import type { CodeBlockComponent } from '@antv/gpt-vis';\\nimport { ChartType, GPTVisLite, Pie, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\n/**\\n * 自定义代码块渲染器\\n */\\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\\n return
{children}
;\\n};\\nconst customRenderers = { 'my-ui': MyUIRenderer };\\nconst components = {\\n code: withChartCode({\\n languageRenderers: customRenderers, // register custom block renderer\\n components: { [ChartType.Pie]: Pie }, // register a pie chart\\n }),\\n};\\n\\nconst content = `\\n\\\\`\\\\`\\\\`my-ui\\nmy data ...\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\nexport default () => {content};\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/index.md?watch=parent';\nimport * as gptvis_demo_default_deps_1 from '@antv/gpt-vis';\nimport * as gptvis_demo_default_deps_2 from 'react';\nexport const demos = {\n 'gptvis-demo-default': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"GPTVis__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/default.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"gptvis-demo-default\",\n \"refAtomIds\": [\n \"GPTVis\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/default.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": gptvis_demo_default_deps_1,\n \"react\": gptvis_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'gptvis-demo-tag': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"GPTVis__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/tag.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"gptvis-demo-tag\",\n \"refAtomIds\": [\n \"GPTVis\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/tag.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": gptvis_demo_default_deps_1,\n \"react\": gptvis_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'gptvis-demo-code': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"GPTVis__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/code.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"gptvis-demo-code\",\n \"refAtomIds\": [\n \"GPTVis\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/code.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": gptvis_demo_default_deps_1,\n \"react\": gptvis_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'gptvis-demo-event': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"GPTVis__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/event.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"gptvis-demo-event\",\n \"refAtomIds\": [\n \"GPTVis\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/event.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"订阅组件事件\"\n},\n context: {\n \"@antv/gpt-vis\": gptvis_demo_default_deps_1,\n \"react\": gptvis_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'gptvis-demo-context-provider': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"GPTVis__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/context-provider.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"gptvis-demo-context-provider\",\n \"refAtomIds\": [\n \"GPTVis\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/context-provider.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"Context 传递数据\"\n},\n context: {\n \"@antv/gpt-vis\": gptvis_demo_default_deps_1,\n \"react\": gptvis_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/context-provider.tsx?watch=parent';\n export default \"import type { CodeBlockComponent } from '@antv/gpt-vis';\\nimport { GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React, { useCallback, useMemo, useState } from 'react';\\n\\nexport const MyContext = React.createContext(null as any);\\n\\nexport function useMyContext() {\\n const context = React.useContext(MyContext);\\n if (context === undefined || Object.keys(context).length === 0) {\\n throw new Error(`useMyContext must be used within a MyContext.Provider`);\\n }\\n\\n return context;\\n}\\n\\n/**\\n * 自定义代码块渲染器\\n */\\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\\n const context = useMyContext();\\n console.log('context: ', context);\\n return (\\n
\\n

{children}

\\n \\n
\\n );\\n};\\nconst customRenderers = { 'my-ui': MyUIRenderer };\\nconst components = {\\n code: withChartCode({\\n languageRenderers: customRenderers, // register custom block renderer\\n components: {},\\n }),\\n};\\n\\nconst content = `\\n\\\\`\\\\`\\\\`my-ui\\nmy ui data ...\\n\\\\`\\\\`\\\\`\\n`;\\n\\nexport default () => {\\n const [count, setCount] = useState(0);\\n const handleClick = useCallback(() => {\\n console.log('handleClick');\\n setCount((pre) => pre + 1);\\n // do something\\n }, []);\\n const context = useMemo(() => ({ count: count, onClick: handleClick }), [count]);\\n\\n return (\\n <>\\n

count: {count}

\\n \\n
\\n {/* other component ... */}\\n
\\n {/* other component ... */}\\n {content}\\n
\\n
\\n
\\n \\n );\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/index.md?watch=parent';\n export const texts = [{\"value\":\"GPTVis 协议的 Markdown 渲染器,基于 Markdown 语法扩展 \",\"paraId\":0,\"tocIndex\":0},{\"value\":\"vis-chart\",\"paraId\":0,\"tocIndex\":0},{\"value\":\" 语法块,支持自定义渲染组件。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"GPTVis\",\"paraId\":1,\"tocIndex\":1},{\"value\":\" 组件内置了\",\"paraId\":1,\"tocIndex\":1},{\"value\":\"默认的图表\",\"paraId\":1,\"tocIndex\":1},{\"value\":\",接入简单\",\"paraId\":1,\"tocIndex\":1},{\"value\":\"自定义代码块渲染,\",\"paraId\":2,\"tocIndex\":3},{\"value\":\"GPTVisLite\",\"paraId\":2,\"tocIndex\":3},{\"value\":\" 不内置图表组件,使用图表组件需要注册。\",\"paraId\":2,\"tocIndex\":3},{\"value\":\"通过发布订阅组件事件与 Context 传递数据,来用于子组件与容器组件通信。\",\"paraId\":3,\"tocIndex\":4},{\"value\":\"继承 \",\"paraId\":4,\"tocIndex\":7},{\"value\":\"react-markdown\",\"paraId\":4,\"tocIndex\":7},{\"value\":\" 组件全部属性。\",\"paraId\":4,\"tocIndex\":7}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAEE,+CAAA,QADO,gBACP,EAAe,qiDCAf,+CAAA,QADO,gBACP,EAAe,wnBCAf,+CAAA,QADO,gBACP,EAAe,i0CCAf,+CAAA,QADO,gBACP,EAAe,0xCCEJ,6CAAA,kCAJK,eACX,wBACqC,aAErC,IAAM,EAAQ,CACnB,sBAAuB,CACrB,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,sBACN,WAAc,CACZ,SACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,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,SAAW,CAAC,EAAE,CAAC,MAAQ,iCAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,yDAAY,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,aAAa,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,sHAAuB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,gMAA0C,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,gBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,iBAAiB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,8CAAW,OAAS,EAAE,SAAW,CAAC,EAAE,+ECOxsB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/726cd1c1-async.62684822.js b/726cd1c1-async.62684822.js new file mode 100644 index 0000000..195d395 --- /dev/null +++ b/726cd1c1-async.62684822.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["726cd1c1"],{"726cd1c1":function(e,d,l){"use strict";l.d(d,"__esModule",{value:!0}),l.d(d,"default",{enumerable:!0,get:function(){return j;}});var a=l("777fffbe"),s=l("a2e753d8"),i=a._(l("1b472ae8")),n=a._(l("49f20ac6")),r=l("5ca000fa"),c=a._(l("9b3f9685")),h=l("9d065c04");function x(){let{texts:e}=(0,r.useRouteMeta)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"markdown",children:[(0,s.jsxs)("h1",{id:"flowdiagram-\u6D41\u7A0B\u56FE",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#flowdiagram-\u6D41\u7A0B\u56FE",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"FlowDiagram \u6D41\u7A0B\u56FE"]}),(0,s.jsx)("p",{children:e[0].value}),(0,s.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,s.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,s.jsx)(r.DumiDemo,{demo:{id:"flowdiagram-demo-common"},previewerProps:{filename:"src/FlowDiagram/demos/common.tsx"}}),(0,s.jsx)("div",{className:"markdown",children:(0,s.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,s.jsx)(r.DumiDemo,{demo:{id:"flowdiagram-demo-markdown"},previewerProps:{filename:"src/FlowDiagram/demos/markdown.tsx"}}),(0,s.jsxs)("div",{className:"markdown",children:[(0,s.jsxs)("h2",{id:"spec",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,s.jsx)(i.default,{lang:"json",children:e[1].value}),(0,s.jsxs)("h2",{id:"api",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,s.jsxs)("h3",{id:"flowdiagramprops",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#flowdiagramprops",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"FlowDiagramProps"]}),(0,s.jsxs)(n.default,{children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:e[2].value}),(0,s.jsx)("th",{children:e[3].value}),(0,s.jsx)("th",{children:e[4].value}),(0,s.jsx)("th",{children:e[5].value}),(0,s.jsx)("th",{children:e[6].value})]})}),(0,s.jsx)("tbody",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[7].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[8].value})}),(0,s.jsx)("td",{children:e[9].value}),(0,s.jsx)("td",{children:e[10].value}),(0,s.jsx)("td",{children:e[11].value})]})})]}),(0,s.jsxs)("h3",{id:"flowdiagramdata",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#flowdiagramdata",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"FlowDiagramData"]}),(0,s.jsxs)(n.default,{children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:e[12].value}),(0,s.jsx)("th",{children:e[13].value}),(0,s.jsx)("th",{children:e[14].value}),(0,s.jsx)("th",{children:e[15].value}),(0,s.jsx)("th",{children:e[16].value})]})}),(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[17].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[18].value})}),(0,s.jsx)("td",{children:e[19].value}),(0,s.jsx)("td",{children:e[20].value}),(0,s.jsx)("td",{children:e[21].value})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[22].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[23].value})}),(0,s.jsx)("td",{children:e[24].value}),(0,s.jsx)("td",{children:e[25].value}),(0,s.jsx)("td",{children:e[26].value})]})]})]}),(0,s.jsxs)("h3",{id:"flowdiagramnode",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#flowdiagramnode",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"FlowDiagramNode"]}),(0,s.jsxs)(n.default,{children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:e[27].value}),(0,s.jsx)("th",{children:e[28].value}),(0,s.jsx)("th",{children:e[29].value}),(0,s.jsx)("th",{children:e[30].value}),(0,s.jsx)("th",{children:e[31].value})]})}),(0,s.jsx)("tbody",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[32].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[33].value})}),(0,s.jsx)("td",{children:e[34].value}),(0,s.jsx)("td",{children:e[35].value}),(0,s.jsx)("td",{children:e[36].value})]})})]}),(0,s.jsxs)("h3",{id:"flowdiagramedge",children:[(0,s.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#flowdiagramedge",children:(0,s.jsx)("span",{className:"icon icon-link"})}),"FlowDiagramEdge"]}),(0,s.jsxs)(n.default,{children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:e[37].value}),(0,s.jsx)("th",{children:e[38].value}),(0,s.jsx)("th",{children:e[39].value}),(0,s.jsx)("th",{children:e[40].value}),(0,s.jsx)("th",{children:e[41].value})]})}),(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[42].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[43].value})}),(0,s.jsx)("td",{children:e[44].value}),(0,s.jsx)("td",{children:e[45].value}),(0,s.jsxs)("td",{children:[e[46].value,(0,s.jsx)("code",{children:e[47].value}),e[48].value,(0,s.jsx)("code",{children:e[49].value}),e[50].value]})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[51].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[52].value})}),(0,s.jsx)("td",{children:e[53].value}),(0,s.jsx)("td",{children:e[54].value}),(0,s.jsxs)("td",{children:[e[55].value,(0,s.jsx)("code",{children:e[56].value}),e[57].value,(0,s.jsx)("code",{children:e[58].value}),e[59].value]})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:e[60].value}),(0,s.jsx)("td",{children:(0,s.jsx)("code",{children:e[61].value})}),(0,s.jsx)("td",{children:e[62].value}),(0,s.jsx)("td",{children:e[63].value}),(0,s.jsx)("td",{children:e[64].value})]})]})]})]})]});}var j=function(){return(0,s.jsx)(r.DumiPage,{children:(0,s.jsx)(h.Suspense,{fallback:(0,s.jsx)(c.default,{}),children:(0,s.jsx)(x,{})})});};}}]); +//# sourceMappingURL=726cd1c1-async.62684822.js.map \ No newline at end of file diff --git a/726cd1c1-async.62684822.js.map b/726cd1c1-async.62684822.js.map new file mode 100644 index 0000000..7ef6d14 --- /dev/null +++ b/726cd1c1-async.62684822.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/FlowDiagram/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"FlowDiagram 流程图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"FlowDiagramProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"FlowDiagramData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}

{\"FlowDiagramNode\"}

{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}

{\"FlowDiagramEdge\"}

{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}
{$$contentTexts[51].value}{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}{$$contentTexts[57].value}{$$contentTexts[58].value}{$$contentTexts[59].value}
{$$contentTexts[60].value}{$$contentTexts[61].value}{$$contentTexts[62].value}{$$contentTexts[63].value}{$$contentTexts[64].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA2CA,+CAAA,kDAtCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,2CAAkB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,2CAAmB,UAAC,QAAK,UAAU,qBAAwB,oCAAuB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EAC5c,KAAQ,CACN,GAAM,yBACR,EACA,eAAkB,CAChB,SAAY,kCACd,IACG,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,0CAA4B,UAAC,UAAQ,EAC7L,KAAQ,CACN,GAAM,2BACR,EACA,eAAkB,CAChB,SAAY,oCACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,gBAAQ,CA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AAS,CAAc,CAAC,GAAG,CAAC,KAAK,OAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAC32G,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/734dbaa6-async.3a6a6160.js b/734dbaa6-async.3a6a6160.js new file mode 100644 index 0000000..9e27a80 --- /dev/null +++ b/734dbaa6-async.3a6a6160.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["734dbaa6"],{"734dbaa6":function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var l=s("777fffbe"),a=s("a2e753d8"),i=l._(s("1b472ae8")),n=l._(s("49f20ac6")),r=s("5ca000fa"),t=l._(s("9b3f9685")),h=s("9d065c04");function c(){let{texts:e}=(0,r.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"dualaxes-\u53CC\u8F74\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#dualaxes-\u53CC\u8F74\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"DualAxes \u53CC\u8F74\u56FE"]}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,a.jsx)(r.DumiDemo,{demo:{id:"dualaxes-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/DualAxes/demos/common.tsx"}}),(0,a.jsx)(r.DumiDemoGrid,{items:[{demo:{id:"dualaxes-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/DualAxes/demos/markdown.tsx"}},{demo:{id:"dualaxes-demo-multiple"},previewerProps:{title:"\u591A\u8F74\u56FE",filename:"src/DualAxes/demos/multiple.tsx"}}]}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(i.default,{lang:"json",children:e[0].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"dualaxesprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#dualaxesprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"DualAxesProps"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[1].value}),(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[6].value}),(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:e[8].value}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[11].value}),(0,a.jsx)("td",{children:e[12].value}),(0,a.jsx)("td",{children:e[13].value}),(0,a.jsx)("td",{children:e[14].value}),(0,a.jsx)("td",{children:e[15].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[16].value}),(0,a.jsx)("td",{children:e[17].value}),(0,a.jsx)("td",{children:e[18].value}),(0,a.jsx)("td",{children:e[19].value}),(0,a.jsx)("td",{children:e[20].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[21].value}),(0,a.jsx)("td",{children:e[22].value}),(0,a.jsx)("td",{children:e[23].value}),(0,a.jsx)("td",{children:e[24].value}),(0,a.jsx)("td",{children:e[25].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[26].value}),(0,a.jsx)("td",{children:e[27].value}),(0,a.jsx)("td",{children:e[28].value}),(0,a.jsx)("td",{children:e[29].value}),(0,a.jsxs)("td",{children:[e[30].value,(0,a.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[31].value})]})]})]})]}),(0,a.jsxs)("h3",{id:"seriesdataitem",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#seriesdataitem",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"SeriesDataItem"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[32].value}),(0,a.jsx)("th",{children:e[33].value}),(0,a.jsx)("th",{children:e[34].value}),(0,a.jsx)("th",{children:e[35].value}),(0,a.jsx)("th",{children:e[36].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[37].value}),(0,a.jsx)("td",{children:e[38].value}),(0,a.jsx)("td",{children:e[39].value}),(0,a.jsx)("td",{children:e[40].value}),(0,a.jsx)("td",{children:e[41].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[42].value}),(0,a.jsx)("td",{children:e[43].value}),(0,a.jsx)("td",{children:e[44].value}),(0,a.jsx)("td",{children:e[45].value}),(0,a.jsx)("td",{children:e[46].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[47].value}),(0,a.jsx)("td",{children:e[48].value}),(0,a.jsx)("td",{children:e[49].value}),(0,a.jsx)("td",{children:e[50].value}),(0,a.jsx)("td",{children:e[51].value})]})]})]})]})]});}var x=function(){return(0,a.jsx)(r.DumiPage,{children:(0,a.jsx)(h.Suspense,{fallback:(0,a.jsx)(t.default,{}),children:(0,a.jsx)(c,{})})});};}}]); +//# sourceMappingURL=734dbaa6-async.3a6a6160.js.map \ No newline at end of file diff --git a/734dbaa6-async.3a6a6160.js.map b/734dbaa6-async.3a6a6160.js.map new file mode 100644 index 0000000..ab25f17 --- /dev/null +++ b/734dbaa6-async.3a6a6160.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/DualAxes/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"DualAxes 双轴图\"}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"DualAxesProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}

{\"SeriesDataItem\"}

{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAqDA,+CAAA,kDAhDuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,wCAAe,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,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E,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/767a099f-async.f2cfe1dd.js b/767a099f-async.f2cfe1dd.js new file mode 100644 index 0000000..0282135 --- /dev/null +++ b/767a099f-async.f2cfe1dd.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["767a099f"],{"767a099f":function(e,s,a){"use strict";a.d(s,"__esModule",{value:!0}),a.d(s,"default",{enumerable:!0,get:function(){return r;}});var i=a("777fffbe"),n=a("a2e753d8"),u=i._(a("1b472ae8")),d=a("5ca000fa"),l=i._(a("9b3f9685")),t=a("9d065c04");function o(){let{texts:e}=(0,d.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"\u5B9A\u5236\u6A21\u578B\u8F93\u51FA-ui",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5B9A\u5236\u6A21\u578B\u8F93\u51FA-ui",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u5B9A\u5236\u6A21\u578B\u8F93\u51FA UI"]}),(0,n.jsx)("p",{children:e[0].value}),(0,n.jsx)(u.default,{lang:"tsx",children:e[1].value})]}),(0,n.jsx)(d.DumiDemo,{demo:{id:"docs-guide-custom-ui-demo-custom-ui"},previewerProps:{filename:"docs/guide/demos/custom-ui.tsx"}})]});}var r=function(){return(0,n.jsx)(d.DumiPage,{children:(0,n.jsx)(t.Suspense,{fallback:(0,n.jsx)(l.default,{}),children:(0,n.jsx)(o,{})})});};}}]); +//# sourceMappingURL=767a099f-async.f2cfe1dd.js.map \ No newline at end of file diff --git a/767a099f-async.f2cfe1dd.js.map b/767a099f-async.f2cfe1dd.js.map new file mode 100644 index 0000000..5060082 --- /dev/null +++ b/767a099f-async.f2cfe1dd.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/custom-ui.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"定制模型输出 UI\"}

{$$contentTexts[0].value}

{$$contentTexts[1].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PAoCA,+CAAA,kDA/BuB,iBAGE,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,oDAAY,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,oDAAa,UAAC,QAAK,UAAU,qBAAwB,6CAAiB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,MAAoB,UAAC,UAAQ,EACjR,KAAQ,CACN,GAAM,qCACR,EACA,eAAkB,CAChB,SAAY,gCACd,OAEF,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/77618d14-async.771255f0.js b/77618d14-async.771255f0.js new file mode 100644 index 0000000..916c998 --- /dev/null +++ b/77618d14-async.771255f0.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["77618d14"],{"77618d14":function(e,d,n){"use strict";n.d(d,"__esModule",{value:!0}),n.d(d,"default",{enumerable:!0,get:function(){return t;}});var s=n("777fffbe"),a=n("a2e753d8"),i=s._(n("1b472ae8")),l=s._(n("49f20ac6")),r=n("5ca000fa"),c=s._(n("9b3f9685")),h=n("9d065c04");function x(){let{texts:e}=(0,r.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"mindmap-\u601D\u7EF4\u5BFC\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mindmap-\u601D\u7EF4\u5BFC\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"MindMap \u601D\u7EF4\u5BFC\u56FE"]}),(0,a.jsx)("p",{children:e[0].value}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,a.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,a.jsx)(r.DumiDemo,{demo:{id:"mindmap-demo-common"},previewerProps:{filename:"src/MindMap/demos/common.tsx"}}),(0,a.jsx)("div",{className:"markdown",children:(0,a.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,a.jsx)(r.DumiDemo,{demo:{id:"mindmap-demo-markdown"},previewerProps:{filename:"src/MindMap/demos/markdown.tsx"}}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(i.default,{lang:"json",children:e[1].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"mindmapprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mindmapprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"MindMapProps"]}),(0,a.jsxs)(l.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value}),(0,a.jsx)("th",{children:e[6].value})]})}),(0,a.jsx)("tbody",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:e[8].value})}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value}),(0,a.jsx)("td",{children:e[11].value})]})})]}),(0,a.jsxs)("h3",{id:"mindmapdata",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mindmapdata",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"MindMapData"]}),(0,a.jsxs)(l.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[12].value}),(0,a.jsx)("th",{children:e[13].value}),(0,a.jsx)("th",{children:e[14].value}),(0,a.jsx)("th",{children:e[15].value}),(0,a.jsx)("th",{children:e[16].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[17].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:e[18].value})}),(0,a.jsx)("td",{children:e[19].value}),(0,a.jsx)("td",{children:e[20].value}),(0,a.jsx)("td",{children:e[21].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[22].value}),(0,a.jsx)("td",{children:(0,a.jsx)("code",{children:e[23].value})}),(0,a.jsx)("td",{children:e[24].value}),(0,a.jsx)("td",{children:e[25].value}),(0,a.jsxs)("td",{children:[e[26].value,(0,a.jsx)("code",{children:e[27].value}),e[28].value]})]})]})]})]})]});}var t=function(){return(0,a.jsx)(r.DumiPage,{children:(0,a.jsx)(h.Suspense,{fallback:(0,a.jsx)(c.default,{}),children:(0,a.jsx)(x,{})})});};}}]); +//# sourceMappingURL=77618d14-async.771255f0.js.map \ No newline at end of file diff --git a/77618d14-async.771255f0.js.map b/77618d14-async.771255f0.js.map new file mode 100644 index 0000000..bd7942a --- /dev/null +++ b/77618d14-async.771255f0.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/MindMap/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"MindMap 思维导图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"MindMapProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"MindMapData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA2CA,+CAAA,kDAtCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,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AAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,WAAC,gBAAI,CAAc,CAAC,GAAG,CAAC,KAAK,CAAC,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,GAAS,CAAc,CAAC,GAAG,CAAC,KAAK,mBAC1oD,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/7e52af90-async.c961fdf8.js b/7e52af90-async.c961fdf8.js new file mode 100644 index 0000000..98973ed --- /dev/null +++ b/7e52af90-async.c961fdf8.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["7e52af90"],{"7e52af90":function(e,s,d){"use strict";d.d(s,"__esModule",{value:!0}),d.d(s,"default",{enumerable:!0,get:function(){return x;}});var l=d("777fffbe"),i=d("a2e753d8"),a=l._(d("1b472ae8")),n=l._(d("49f20ac6")),r=d("5ca000fa"),t=l._(d("9b3f9685")),h=d("9d065c04");function c(){let{texts:e}=(0,r.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h1",{id:"histogram-\u76F4\u65B9\u56FE",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#histogram-\u76F4\u65B9\u56FE",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Histogram \u76F4\u65B9\u56FE"]}),(0,i.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,i.jsx)(r.DumiDemo,{demo:{id:"histogram-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Histogram/demos/common.tsx"}}),(0,i.jsx)(r.DumiDemo,{demo:{id:"histogram-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Histogram/demos/markdown.tsx"}}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"spec",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,i.jsx)(a.default,{lang:"json",children:e[0].value}),(0,i.jsxs)("h2",{id:"api",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,i.jsxs)("h3",{id:"histogramprops",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#histogramprops",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"HistogramProps"]}),(0,i.jsxs)(n.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[1].value}),(0,i.jsx)("th",{children:e[2].value}),(0,i.jsx)("th",{children:e[3].value}),(0,i.jsx)("th",{children:e[4].value}),(0,i.jsx)("th",{children:e[5].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[6].value}),(0,i.jsx)("td",{children:e[7].value}),(0,i.jsx)("td",{children:e[8].value}),(0,i.jsx)("td",{children:e[9].value}),(0,i.jsx)("td",{children:e[10].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[11].value}),(0,i.jsx)("td",{children:e[12].value}),(0,i.jsx)("td",{children:e[13].value}),(0,i.jsx)("td",{children:e[14].value}),(0,i.jsx)("td",{children:e[15].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[16].value}),(0,i.jsx)("td",{children:e[17].value}),(0,i.jsx)("td",{children:e[18].value}),(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[21].value}),(0,i.jsx)("td",{children:e[22].value}),(0,i.jsx)("td",{children:e[23].value}),(0,i.jsx)("td",{children:e[24].value}),(0,i.jsx)("td",{children:e[25].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[26].value}),(0,i.jsx)("td",{children:e[27].value}),(0,i.jsx)("td",{children:e[28].value}),(0,i.jsx)("td",{children:e[29].value}),(0,i.jsx)("td",{children:e[30].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[31].value}),(0,i.jsx)("td",{children:e[32].value}),(0,i.jsx)("td",{children:e[33].value}),(0,i.jsx)("td",{children:e[34].value}),(0,i.jsxs)("td",{children:[e[35].value,(0,i.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[36].value})]})]})]})]}),(0,i.jsxs)("h3",{id:"histogramdataitem",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#histogramdataitem",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"HistogramDataItem"]}),(0,i.jsxs)(n.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[37].value}),(0,i.jsx)("th",{children:e[38].value}),(0,i.jsx)("th",{children:e[39].value}),(0,i.jsx)("th",{children:e[40].value}),(0,i.jsx)("th",{children:e[41].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[42].value}),(0,i.jsx)("td",{children:e[43].value}),(0,i.jsx)("td",{children:e[44].value}),(0,i.jsx)("td",{children:e[45].value}),(0,i.jsx)("td",{children:e[46].value})]})})]})]})]});}var x=function(){return(0,i.jsx)(r.DumiPage,{children:(0,i.jsx)(h.Suspense,{fallback:(0,i.jsx)(t.default,{}),children:(0,i.jsx)(c,{})})});};}}]); +//# sourceMappingURL=7e52af90-async.c961fdf8.js.map \ No newline at end of file diff --git a/7e52af90-async.c961fdf8.js.map b/7e52af90-async.c961fdf8.js.map new file mode 100644 index 0000000..f31332f --- /dev/null +++ b/7e52af90-async.c961fdf8.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Histogram/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Histogram 直方图\"}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"HistogramProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}
{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}

{\"HistogramDataItem\"}

{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA6CA,+CAAA,kDAxCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,yCAAgB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,yCAAiB,UAAC,QAAK,UAAU,qBAAwB,kCAAqB,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACnT,KAAQ,CACN,GAAM,uBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,gCACd,IACG,UAAC,UAAQ,EACZ,KAAQ,CACN,GAAM,yBACR,EACA,eAAkB,CAChB,MAAS,qCACT,SAAY,kCACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,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AAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,UAAC,kBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,iBAC/3E,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/7ef3cdc9-async.0c033f01.js b/7ef3cdc9-async.0c033f01.js new file mode 100644 index 0000000..6012322 --- /dev/null +++ b/7ef3cdc9-async.0c033f01.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["7ef3cdc9"],{"07d392e7":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("10d94c54"));},"0d148e3f":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("b9e3b6e4"));},"0e8d23dc":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("80316141"));},"21b64d11":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("75ff639c"));},59907332:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("abd4e8af"));},"5fa1dbdc":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("78f89d4e"));},"711ea5e4":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("6a25e816"));},"7cdd6ae0":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("c8fc3da3"));},"7ef3cdc9":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return p;}});var a=u("777fffbe"),n=u("852bbaa9"),l=u("b1d9ed11"),f=a._(u("b02dbc36")),r=u("5ca000fa"),d=a._(u("9e58e2f7")),c=a._(u("f04fb1d7")),o=a._(u("21b64d11")),i=a._(u("a2567949")),s=a._(u("59907332")),m=a._(u("9a3e271b")),b=a._(u("981f6383")),_=a._(u("5fa1dbdc")),v=n._(u("9d065c04"));function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var u=0,a=Array(t);u0;return(0,v.useEffect)(function(){var e=p.replace("#","");e&&setTimeout(function(){var t=document.getElementById(decodeURIComponent(e));t&&(0,f.default)(t.offsetTop-80,{maxDuration:300});},1);},[h,p]),v.default.createElement("div",{className:"dumi-default-doc-layout","data-mobile-sidebar-active":T||void 0,onClick:function(){return S(!1);}},v.default.createElement(r.Helmet,null,v.default.createElement("html",{lang:t.locale.replace(/-.+$/,"")}),w.title&&v.default.createElement("title",null,w.title),w.title&&v.default.createElement("meta",{property:"og:title",content:w.title}),w.description&&v.default.createElement("meta",{name:"description",content:w.description}),w.description&&v.default.createElement("meta",{property:"og:description",content:w.description}),w.keywords&&v.default.createElement("meta",{name:"keywords",content:w.keywords.join(",")}),w.keywords&&w.keywords.map(function(e){return v.default.createElement("meta",{key:e,property:"article:tag",content:e});}),M&&v.default.createElement("link",{rel:"canonical",href:M+y})),v.default.createElement(s.default,null),v.default.createElement(m.default,null),v.default.createElement(o.default,null),C&&v.default.createElement("div",{className:"dumi-default-doc-layout-mobile-bar"},v.default.createElement("button",{type:"button",className:"dumi-default-sidebar-btn",onClick:function(e){e.stopPropagation(),S(function(e){return!e;});}},v.default.createElement(l.ReactComponent,null),t.formatMessage({id:"layout.sidebar.btn"}))),v.default.createElement("main",null,C&&v.default.createElement(b.default,null),v.default.createElement(d.default,null,v.default.createElement("article",null,u),v.default.createElement(c.default,null),v.default.createElement(i.default,null)),"content"===w.toc&&v.default.createElement("div",{className:"dumi-default-doc-layout-toc-wrapper"},v.default.createElement("h4",null,"TABLE OF CONTENTS"),v.default.createElement(_.default,null))));};},"8e7ed503":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("8dbc5be0"));},"961ec998":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("d7a91a3e"));},"981f6383":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("286f12d7"));},"9a3e271b":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("d35e62e0"));},"9e58e2f7":function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("83dcd696"));},a2567949:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("cc32df71"));},aed93caa:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("8ecd8f24"));},d1a861de:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("49c8f9f2"));},d7f5a42f:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("ba92e270"));},f04fb1d7:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("eefb8f70"));},f1f54b5e:function(e,t,u){"use strict";u.d(t,"__esModule",{value:!0}),u.d(t,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("a45c81f5"));}}]); +//# sourceMappingURL=7ef3cdc9-async.0c033f01.js.map \ No newline at end of file diff --git a/7ef3cdc9-async.0c033f01.js.map b/7ef3cdc9-async.0c033f01.js.map new file mode 100644 index 0000000..c67043d --- /dev/null +++ b/7ef3cdc9-async.0c033f01.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[".dumi/tmp-production/dumi/theme/slots/SearchBar.ts",".dumi/tmp-production/dumi/theme/slots/SearchResult.ts",".dumi/tmp-production/dumi/theme/slots/LangSwitch.ts",".dumi/tmp-production/dumi/theme/slots/Features.ts",".dumi/tmp-production/dumi/theme/slots/Header.ts",".dumi/tmp-production/dumi/theme/slots/Toc.ts",".dumi/tmp-production/dumi/theme/slots/Navbar.ts",".dumi/tmp-production/dumi/theme/slots/RtlSwitch.ts","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/layouts/DocLayout/index.js",".dumi/tmp-production/dumi/theme/slots/ColorSwitch.ts",".dumi/tmp-production/dumi/theme/slots/SocialIcon.ts",".dumi/tmp-production/dumi/theme/slots/Sidebar.ts",".dumi/tmp-production/dumi/theme/slots/Hero.ts",".dumi/tmp-production/dumi/theme/slots/Content.ts",".dumi/tmp-production/dumi/theme/slots/Footer.ts",".dumi/tmp-production/dumi/theme/slots/NavbarExtra.ts",".dumi/tmp-production/dumi/theme/slots/HeaderExtra.ts",".dumi/tmp-production/dumi/theme/slots/HeroTitle.ts",".dumi/tmp-production/dumi/theme/slots/ContentFooter.ts",".dumi/tmp-production/dumi/theme/slots/Logo.ts"],"sourcesContent":["// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/SearchBar/index.js';\nexport * from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/SearchBar/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/SearchResult/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/LangSwitch/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Features/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Header/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Toc/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Navbar/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/RtlSwitch/index.js';\n","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 { ReactComponent as IconSidebar } from '@ant-design/icons-svg/inline-svg/outlined/align-left.svg';\nimport animateScrollTo from 'animated-scroll-to';\nimport { Helmet, useIntl, useLocation, useOutlet, useRouteMeta, useSidebarData, useSiteData } from 'dumi';\nimport Content from 'dumi/theme/slots/Content';\nimport ContentFooter from 'dumi/theme/slots/ContentFooter';\nimport Features from 'dumi/theme/slots/Features';\nimport Footer from 'dumi/theme/slots/Footer';\nimport Header from 'dumi/theme/slots/Header';\nimport Hero from 'dumi/theme/slots/Hero';\nimport Sidebar from 'dumi/theme/slots/Sidebar';\nimport Toc from 'dumi/theme/slots/Toc';\nimport React, { useEffect, useState } from 'react';\nimport \"./index.less\";\nvar DocLayout = function DocLayout() {\n var intl = useIntl();\n var outlet = useOutlet();\n var sidebar = useSidebarData();\n var _useLocation = useLocation(),\n hash = _useLocation.hash,\n pathname = _useLocation.pathname;\n var _useSiteData = useSiteData(),\n loading = _useSiteData.loading,\n hostname = _useSiteData.hostname;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n activateSidebar = _useState2[0],\n updateActivateSidebar = _useState2[1];\n var _useRouteMeta = useRouteMeta(),\n fm = _useRouteMeta.frontmatter;\n var showSidebar = fm.sidebar !== false && (sidebar === null || sidebar === void 0 ? void 0 : sidebar.length) > 0;\n\n // handle hash change or visit page hash after async chunk loaded\n useEffect(function () {\n var id = hash.replace('#', '');\n if (id) {\n setTimeout(function () {\n var elm = document.getElementById(decodeURIComponent(id));\n if (elm) {\n // animated-scroll-to instead of native scroll\n animateScrollTo(elm.offsetTop - 80, {\n maxDuration: 300\n });\n }\n }, 1);\n }\n }, [loading, hash]);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-doc-layout\",\n \"data-mobile-sidebar-active\": activateSidebar || undefined,\n onClick: function onClick() {\n return updateActivateSidebar(false);\n }\n }, /*#__PURE__*/React.createElement(Helmet, null, /*#__PURE__*/React.createElement(\"html\", {\n lang: intl.locale.replace(/-.+$/, '')\n }), fm.title && /*#__PURE__*/React.createElement(\"title\", null, fm.title), fm.title && /*#__PURE__*/React.createElement(\"meta\", {\n property: \"og:title\",\n content: fm.title\n }), fm.description && /*#__PURE__*/React.createElement(\"meta\", {\n name: \"description\",\n content: fm.description\n }), fm.description && /*#__PURE__*/React.createElement(\"meta\", {\n property: \"og:description\",\n content: fm.description\n }), fm.keywords && /*#__PURE__*/React.createElement(\"meta\", {\n name: \"keywords\",\n content: fm.keywords.join(',')\n }), fm.keywords && fm.keywords.map(function (keyword) {\n return /*#__PURE__*/React.createElement(\"meta\", {\n key: keyword,\n property: \"article:tag\",\n content: keyword\n });\n }), hostname && /*#__PURE__*/React.createElement(\"link\", {\n rel: \"canonical\",\n href: hostname + pathname\n })), /*#__PURE__*/React.createElement(Header, null), /*#__PURE__*/React.createElement(Hero, null), /*#__PURE__*/React.createElement(Features, null), showSidebar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-doc-layout-mobile-bar\"\n }, /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: \"dumi-default-sidebar-btn\",\n onClick: function onClick(ev) {\n ev.stopPropagation();\n updateActivateSidebar(function (v) {\n return !v;\n });\n }\n }, /*#__PURE__*/React.createElement(IconSidebar, null), intl.formatMessage({\n id: 'layout.sidebar.btn'\n }))), /*#__PURE__*/React.createElement(\"main\", null, showSidebar && /*#__PURE__*/React.createElement(Sidebar, null), /*#__PURE__*/React.createElement(Content, null, /*#__PURE__*/React.createElement(\"article\", null, outlet), /*#__PURE__*/React.createElement(ContentFooter, null), /*#__PURE__*/React.createElement(Footer, null)), fm.toc === 'content' && /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-doc-layout-toc-wrapper\"\n }, /*#__PURE__*/React.createElement(\"h4\", null, \"TABLE OF CONTENTS\"), /*#__PURE__*/React.createElement(Toc, null))));\n};\nexport default DocLayout;","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/ColorSwitch/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/SocialIcon/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Sidebar/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Hero/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Content/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Footer/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/NavbarExtra/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/HeaderExtra/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/HeroTitle/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/ContentFooter/index.js';\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Logo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AO,6BAAQ,0FCAf,+CAAA,SAAO,6BAAQ"} \ No newline at end of file diff --git a/855b4b71-async.bcc241a0.js b/855b4b71-async.bcc241a0.js new file mode 100644 index 0000000..a985627 --- /dev/null +++ b/855b4b71-async.bcc241a0.js @@ -0,0 +1,86 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["855b4b71"],{"144f07ad":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var u=a("a2e753d8");a("4b2af025");var n=a("1c5d635b"),i=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{9762}\u{79EF}\u{56FE} + +\`\`\`vis-chart +{ + "type": "area", + "data": [ + { + "time": "1974", + "value": 107, + "group": "Gas flaring" + }, + { + "time": "1974", + "value": 208, + "group": "Renewables" + }, + { + "time": "1974", + "value": 356, + "group": "Fossil fuels" + }, + { + "time": "1975", + "value": 173, + "group": "Gas flaring" + }, + { + "time": "1975", + "value": 415, + "group": "Renewables" + }, + { + "time": "1975", + "value": 364, + "group": "Fossil fuels" + }, + { + "time": "1976", + "value": 117, + "group": "Gas flaring" + }, + { + "time": "1976", + "value": 220, + "group": "Renewables" + }, + { + "time": "1976", + "value": 373, + "group": "Fossil fuels" + }, + { + "time": "1977", + "value": 122, + "group": "Gas flaring" + }, + { + "time": "1977", + "value": 225, + "group": "Renewables" + }, + { + "time": "1977", + "value": 382, + "group": "Fossil fuels" + } + ], + "stack": true, + "axisXTitle": "year", + "axisYTitle": "value" +} +\`\`\` +`,l={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},d=(0,i.withChartCode)({components:{[i.ChartType.Area]:i.Area},style:{width:350}}),s=e=>(0,u.jsx)(i.GPTVisLite,{components:{code:d},children:e});var o=()=>(0,u.jsxs)("div",{style:l,children:[(0,u.jsx)(n.Bubble,{placement:"end",content:"\u9762\u79EF\u56FE\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb",maxWidth:"60%"}}}),(0,u.jsx)(n.Bubble,{content:r,messageRender:s,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return i.default;},Bubble:function(){return l.default;},Conversations:function(){return d.default;},Prompts:function(){return s.default;},Sender:function(){return r.default;},Suggestion:function(){return f.default;},ThoughtChain:function(){return o.default;},Welcome:function(){return c.default;},XProvider:function(){return v.default;},XRequest:function(){return g.default;},XStream:function(){return A.default;},useXAgent:function(){return m.default;},useXChat:function(){return b.default;},version:function(){return n.default;}});var u=a("777fffbe"),n=u._(a("61551e8a")),i=u._(a("150d8a7a")),r=u._(a("013e81db")),l=u._(a("d161127f")),d=u._(a("11781cbc")),s=u._(a("5a025bc4")),o=u._(a("e2d1bf07")),f=u._(a("d0c39811")),c=u._(a("0176aebf")),v=u._(a("8b35f51f")),b=u._(a("92b2492a")),m=u._(a("1e122ed0")),A=u._(a("470d5fd8")),g=u._(a("e0f10014"));},"2c529b27":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var u=a("a2e753d8");a("e54ed773");var n=a("1c5d635b"),i=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{9762}\u{79EF}\u{56FE} + +\`\`\`vis-chart +{ + "type": "area", + "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}], + "axisXTitle": "year", + "axisYTitle": "GDP" +} +\`\`\` +`,l={display:"grid",gridGap:"20px 0",padding:20,background:"#f7f7f7",borderRadius:8},d=(0,i.withChartCode)({components:{[i.ChartType.Area]:i.Area},style:{width:350}}),s=e=>(0,u.jsx)(i.GPTVisLite,{components:{code:d},children:e});var o=()=>(0,u.jsxs)("div",{style:l,children:[(0,u.jsx)(n.Bubble,{placement:"end",content:"\u5E2E\u6211\u9762\u79EF\u56FE\u663E\u793A\u6700\u8FD1\u51E0\u5E74 GDP \u60C5\u51B5",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,u.jsx)(n.Bubble,{content:r,messageRender:s,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"3d66d808":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return r;}});var u=a("a2e753d8");a("37349b31");var n=a("df67f0d6");let i=[{time:"1991",value:3},{time:"1992",value:4},{time:"1993",value:3.5},{time:"1994",value:5},{time:"1995",value:4.9},{time:"1996",value:6},{time:"1997",value:7},{time:"1998",value:9},{time:"1999",value:13}];var r=()=>(0,u.jsx)(n.Area,{data:i,axisXTitle:"year",axisYTitle:"growth",containerStyle:{height:300}});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return l.default;},GPTVis:function(){return d.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return o.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var u=a("d1751d7c"),n=a("777fffbe"),i=a("852bbaa9");u._(a("5639510f"),t),u._(a("d382b880"),t);var r=a("a574afdb"),l=n._(a("a7265236")),d=n._(a("2c69d5f6")),s=i._(a("033b3748")),o=n._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return n.default;}});var u=a("d1751d7c"),n=a("777fffbe")._(a("b00709ad"));u._(a("5e2dda25"),t),u._(a("969efd31"),t),u._(a("f21af0e0"),t),u._(a("33eda958"),t),u._(a("112b9a67"),t),u._(a("a45613fd"),t),u._(a("432777ba"),t);}}]); +//# sourceMappingURL=855b4b71-async.bcc241a0.js.map \ No newline at end of file diff --git a/855b4b71-async.bcc241a0.js.map b/855b4b71-async.bcc241a0.js.map new file mode 100644 index 0000000..262e400 --- /dev/null +++ b/855b4b71-async.bcc241a0.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Area/demos/stack.tsx?techStack=react","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Area/demos/markdown.tsx?techStack=react","src/Area/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/stack.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { Area, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个面积图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"area\",\n \"data\": [\n {\n \"time\": \"1974\",\n \"value\": 107,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1974\",\n \"value\": 208,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1974\",\n \"value\": 356,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1975\",\n \"value\": 173,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1975\",\n \"value\": 415,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1975\",\n \"value\": 364,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1976\",\n \"value\": 117,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1976\",\n \"value\": 220,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1976\",\n \"value\": 373,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1977\",\n \"value\": 122,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1977\",\n \"value\": 225,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1977\",\n \"value\": 382,\n \"group\": \"Fossil fuels\"\n }\n ],\n \"stack\": true,\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"value\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Area]: Area },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/markdown.tsx?watch=parent';import type { BubbleProps } from '@ant-design/x';\nimport { Bubble } from '@ant-design/x';\nimport { Area, ChartType, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个面积图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"area\",\n \"data\": [{\"time\":2013,\"value\":59.3},{\"time\":2014,\"value\":64.4},{\"time\":2015,\"value\":68.9},{\"time\":2016,\"value\":74.4},{\"time\":2017,\"value\":82.7},{\"time\":2018,\"value\":91.9},{\"time\":2019,\"value\":99.1},{\"time\":2020,\"value\":101.6},{\"time\":2021,\"value\":114.4},{\"time\":2022,\"value\":121}],\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"GDP\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n padding: 20,\n background: '#f7f7f7',\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Area]: Area },\n style: { width: 350 },\n});\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/demos/common.tsx?watch=parent';import { Area } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { time: '1991', value: 3 },\n { time: '1992', value: 4 },\n { time: '1993', value: 3.5 },\n { time: '1994', value: 5 },\n { time: '1995', value: 4.9 },\n { time: '1996', value: 6 },\n { time: '1997', value: 7 },\n { time: '1998', value: 9 },\n { time: '1999', value: 13 },\n];\n\nexport default () => {\n return (\n \n );\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAgGA,+CAAA,4BAhGO,oBAAmH,gBAC/D,YAG3D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,IAAI,CAAC,CAAE,MAAI,AAAC,EACrC,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,2EACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,UAAW,SAAU,KAAM,CAAE,IAEhE,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CA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AO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,GAAI,EAC3B,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,GAAI,EAC3B,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,EAAG,EAC3B,KAED,EAAe,IAEX,UAAC,MAAI,EAAC,KAAM,EAAM,WAAW,OAAO,WAAW,SAAS,eAAgB,CAAE,OAAQ,GAAI,kFCRtE,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/85df578f-async.c6848dac.js b/85df578f-async.c6848dac.js new file mode 100644 index 0000000..1cda220 --- /dev/null +++ b/85df578f-async.c6848dac.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["85df578f"],{"85df578f":function(e,d,l){"use strict";l.d(d,"__esModule",{value:!0}),l.d(d,"default",{enumerable:!0,get:function(){return x;}});var s=l("777fffbe"),n=l("a2e753d8"),r=s._(l("1b472ae8")),a=s._(l("49f20ac6")),i=l("5ca000fa"),h=s._(l("9b3f9685")),c=l("9d065c04");function t(){let{texts:e}=(0,i.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"networkgraph-\u7F51\u7EDC\u56FE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#networkgraph-\u7F51\u7EDC\u56FE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"NetworkGraph \u7F51\u7EDC\u56FE"]}),(0,n.jsx)("p",{children:e[0].value}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,n.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,n.jsx)(i.DumiDemo,{demo:{id:"networkgraph-demo-common"},previewerProps:{filename:"src/NetworkGraph/demos/common.tsx"}}),(0,n.jsx)("div",{className:"markdown",children:(0,n.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,n.jsx)(i.DumiDemo,{demo:{id:"networkgraph-demo-markdown"},previewerProps:{filename:"src/NetworkGraph/demos/markdown.tsx"}}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"spec",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,n.jsx)(r.default,{lang:"json",children:e[1].value}),(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)("h3",{id:"networkgraphprops",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#networkgraphprops",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"NetworkGraphProps"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value}),(0,n.jsx)("th",{children:e[5].value}),(0,n.jsx)("th",{children:e[6].value})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[8].value})}),(0,n.jsx)("td",{children:e[9].value}),(0,n.jsx)("td",{children:e[10].value}),(0,n.jsx)("td",{children:e[11].value})]})})]}),(0,n.jsxs)("h3",{id:"networkgraphdata",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#networkgraphdata",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"NetworkGraphData"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[12].value}),(0,n.jsx)("th",{children:e[13].value}),(0,n.jsx)("th",{children:e[14].value}),(0,n.jsx)("th",{children:e[15].value}),(0,n.jsx)("th",{children:e[16].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[17].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[18].value})}),(0,n.jsx)("td",{children:e[19].value}),(0,n.jsx)("td",{children:e[20].value}),(0,n.jsx)("td",{children:e[21].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[22].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[23].value})}),(0,n.jsx)("td",{children:e[24].value}),(0,n.jsx)("td",{children:e[25].value}),(0,n.jsx)("td",{children:e[26].value})]})]})]}),(0,n.jsxs)("h3",{id:"networkgraphnode",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#networkgraphnode",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"NetworkGraphNode"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[27].value}),(0,n.jsx)("th",{children:e[28].value}),(0,n.jsx)("th",{children:e[29].value}),(0,n.jsx)("th",{children:e[30].value}),(0,n.jsx)("th",{children:e[31].value})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[32].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[33].value})}),(0,n.jsx)("td",{children:e[34].value}),(0,n.jsx)("td",{children:e[35].value}),(0,n.jsx)("td",{children:e[36].value})]})})]}),(0,n.jsxs)("h3",{id:"networkgraphedge",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#networkgraphedge",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"NetworkGraphEdge"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[37].value}),(0,n.jsx)("th",{children:e[38].value}),(0,n.jsx)("th",{children:e[39].value}),(0,n.jsx)("th",{children:e[40].value}),(0,n.jsx)("th",{children:e[41].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[42].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[43].value})}),(0,n.jsx)("td",{children:e[44].value}),(0,n.jsx)("td",{children:e[45].value}),(0,n.jsxs)("td",{children:[e[46].value,(0,n.jsx)("code",{children:e[47].value}),e[48].value,(0,n.jsx)("code",{children:e[49].value}),e[50].value]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[51].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[52].value})}),(0,n.jsx)("td",{children:e[53].value}),(0,n.jsx)("td",{children:e[54].value}),(0,n.jsxs)("td",{children:[e[55].value,(0,n.jsx)("code",{children:e[56].value}),e[57].value,(0,n.jsx)("code",{children:e[58].value}),e[59].value]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[60].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[61].value})}),(0,n.jsx)("td",{children:e[62].value}),(0,n.jsx)("td",{children:e[63].value}),(0,n.jsx)("td",{children:e[64].value})]})]})]})]})]});}var x=function(){return(0,n.jsx)(i.DumiPage,{children:(0,n.jsx)(c.Suspense,{fallback:(0,n.jsx)(h.default,{}),children:(0,n.jsx)(t,{})})});};}}]); +//# sourceMappingURL=85df578f-async.c6848dac.js.map \ No newline at end of file diff --git a/85df578f-async.c6848dac.js.map b/85df578f-async.c6848dac.js.map new file mode 100644 index 0000000..677f72e --- /dev/null +++ b/85df578f-async.c6848dac.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/NetworkGraph/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"NetworkGraph 网络图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"NetworkGraphProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"NetworkGraphData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}

{\"NetworkGraphNode\"}

{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}

{\"NetworkGraphEdge\"}

{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}
{$$contentTexts[51].value}{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}{$$contentTexts[57].value}{$$contentTexts[58].value}{$$contentTexts[59].value}
{$$contentTexts[60].value}{$$contentTexts[61].value}{$$contentTexts[62].value}{$$contentTexts[63].value}{$$contentTexts[64].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA2CA,+CAAA,kDAtCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,4CAAmB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,4CAAoB,UAAC,QAAK,UAAU,qBAAwB,qCAAwB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EAC/c,KAAQ,CACN,GAAM,0BACR,EACA,eAAkB,CAChB,SAAY,mCACd,IACG,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,0CAA4B,UAAC,UAAQ,EAC7L,KAAQ,CACN,GAAM,4BACR,EACA,eAAkB,CAChB,SAAY,qCACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,gBAAQ,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,gBAAM,UAAC,KAAE,c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CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACv3G,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/890a0ebb-async.caef576b.js b/890a0ebb-async.caef576b.js new file mode 100644 index 0000000..47350af --- /dev/null +++ b/890a0ebb-async.caef576b.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["890a0ebb"],{"890a0ebb":function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var l=s("777fffbe"),a=s("a2e753d8"),r=l._(s("1b472ae8")),i=l._(s("49f20ac6")),n=s("5ca000fa"),t=l._(s("9b3f9685")),c=s("9d065c04");function h(){let{texts:e}=(0,n.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"area-\u9762\u79EF\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#area-\u9762\u79EF\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Area \u9762\u79EF\u56FE"]}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,a.jsx)(n.DumiDemo,{demo:{id:"area-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Area/demos/common.tsx"}}),(0,a.jsx)(n.DumiDemoGrid,{items:[{demo:{id:"area-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Area/demos/markdown.tsx"}},{demo:{id:"area-demo-stack"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true

",title:"\u5806\u53E0\u9762\u79EF\u56FE",filename:"src/Area/demos/stack.tsx"}}]}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(r.default,{lang:"json",children:e[0].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"areaprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#areaprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"AreaProps"]}),(0,a.jsxs)(i.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[1].value}),(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[6].value}),(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:e[8].value}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[11].value}),(0,a.jsx)("td",{children:e[12].value}),(0,a.jsx)("td",{children:e[13].value}),(0,a.jsx)("td",{children:e[14].value}),(0,a.jsx)("td",{children:e[15].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[16].value}),(0,a.jsx)("td",{children:e[17].value}),(0,a.jsx)("td",{children:e[18].value}),(0,a.jsx)("td",{children:e[19].value}),(0,a.jsx)("td",{children:e[20].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[21].value}),(0,a.jsx)("td",{children:e[22].value}),(0,a.jsx)("td",{children:e[23].value}),(0,a.jsx)("td",{children:e[24].value}),(0,a.jsx)("td",{children:e[25].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[26].value}),(0,a.jsx)("td",{children:e[27].value}),(0,a.jsx)("td",{children:e[28].value}),(0,a.jsx)("td",{children:e[29].value}),(0,a.jsx)("td",{children:e[30].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[31].value}),(0,a.jsx)("td",{children:e[32].value}),(0,a.jsx)("td",{children:e[33].value}),(0,a.jsx)("td",{children:e[34].value}),(0,a.jsxs)("td",{children:[e[35].value,(0,a.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[36].value})]})]})]})]}),(0,a.jsxs)("h3",{id:"areadataitem",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#areadataitem",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"AreaDataItem"]}),(0,a.jsxs)(i.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[37].value}),(0,a.jsx)("th",{children:e[38].value}),(0,a.jsx)("th",{children:e[39].value}),(0,a.jsx)("th",{children:e[40].value}),(0,a.jsx)("th",{children:e[41].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[42].value}),(0,a.jsx)("td",{children:e[43].value}),(0,a.jsx)("td",{children:e[44].value}),(0,a.jsx)("td",{children:e[45].value}),(0,a.jsx)("td",{children:e[46].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[47].value}),(0,a.jsx)("td",{children:e[48].value}),(0,a.jsx)("td",{children:e[49].value}),(0,a.jsx)("td",{children:e[50].value}),(0,a.jsx)("td",{children:e[51].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[52].value}),(0,a.jsx)("td",{children:e[53].value}),(0,a.jsx)("td",{children:e[54].value}),(0,a.jsx)("td",{children:e[55].value}),(0,a.jsx)("td",{children:e[56].value})]})]})]})]})]});}var x=function(){return(0,a.jsx)(n.DumiPage,{children:(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(t.default,{}),children:(0,a.jsx)(h,{})})});};}}]); +//# sourceMappingURL=890a0ebb-async.caef576b.js.map \ No newline at end of file diff --git a/890a0ebb-async.caef576b.js.map b/890a0ebb-async.caef576b.js.map new file mode 100644 index 0000000..ebc2946 --- /dev/null +++ b/890a0ebb-async.caef576b.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Area/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Area 面积图\"}

{\"代码演示\"}

在 data 中传入额外的字段,并且设置 stack 为 true

\",\n \"title\": \"堆叠面积图\",\n \"filename\": \"src/Area/demos/stack.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"AreaProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}
{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}

{\"AreaDataItem\"}

{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap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,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACltF,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/8d782fde-async.42e5c825.js b/8d782fde-async.42e5c825.js new file mode 100644 index 0000000..021d9f3 --- /dev/null +++ b/8d782fde-async.42e5c825.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["8d782fde"],{"008d01bc":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("19cf2f23");var t="import type { DualAxesProps } from '@antv/gpt-vis';\nimport { DualAxes } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst config: DualAxesProps = {\n categories: [\n '2020-08-20',\n '2020-08-21',\n '2020-08-22',\n '2020-08-23',\n '2020-08-24',\n '2020-08-25',\n '2020-08-26',\n '2020-08-27',\n '2020-08-28',\n '2020-08-29',\n '2020-08-30',\n '2020-08-31',\n '2020-09-01',\n '2020-09-02',\n '2020-09-03',\n '2020-09-04',\n '2020-09-05',\n '2020-09-06',\n '2020-09-07',\n '2020-09-08',\n '2020-09-09',\n '2020-09-10',\n '2020-09-11',\n '2020-09-12',\n '2020-09-13',\n '2020-09-14',\n '2020-09-15',\n '2020-09-16',\n '2020-09-17',\n '2020-09-18',\n ],\n series: [\n {\n type: 'column',\n data: [\n 10868, 8786, 10824, 7860, 13253, 17015, 19298, 13937, 11541, 15244, 14247, 9402, 10440,\n 9345, 18459, 9763, 11074, 11770, 12206, 11434, 16218, 11914, 16781, 10555, 10899, 10713, 0,\n 0, 20357, 10424,\n ],\n axisYTitle: '\u6D88\u8017\u65F6\u95F4',\n },\n {\n type: 'line',\n data: [\n 649.483, 1053.7, 679.817, 638.117, 843.3, 1092.983, 1036.317, 1031.9, 803.467, 830.733,\n 709.867, 665.233, 696.367, 692.867, 936.017, 782.867, 653.8, 856.683, 777.15, 773.283,\n 833.3, 793.517, 894.45, 725.55, 709.967, 787.6, 644.183, 1066.65, 932.45, 753.583,\n ],\n axisYTitle: '\u5B8C\u6210\u65F6\u95F4',\n },\n ],\n};\n\nexport default () => {\n return ;\n};\n";},"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return s.default;},Prompts:function(){return l.default;},Sender:function(){return o.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return p.default;},XProvider:function(){return f.default;},XRequest:function(){return I.default;},XStream:function(){return x.default;},useXAgent:function(){return m.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),o=t._(a("013e81db")),u=t._(a("d161127f")),s=t._(a("11781cbc")),l=t._(a("5a025bc4")),i=t._(a("e2d1bf07")),c=t._(a("d0c39811")),p=t._(a("0176aebf")),f=t._(a("8b35f51f")),v=t._(a("92b2492a")),m=t._(a("1e122ed0")),x=t._(a("470d5fd8")),I=t._(a("e0f10014"));},"520b7a3d":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("a165890a");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u591A\u8F74\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "dual-axes",\n "categories": [\n "Jan",\n "Feb",\n "Mar",\n "Apr",\n "May",\n "Jun",\n "Jul",\n "Aug",\n "Sep",\n "Oct",\n "Nov",\n "Dec"\n ],\n "series": [\n {\n "type": "column",\n "data": [\n 26,\n 59,\n 90,\n 264,\n 287,\n 707,\n 1756,\n 1822,\n 487,\n 188,\n 60,\n 23\n ],\n "axisYTitle": "\u603B\u4F53\u589E\u957F\u91CF"\n },\n {\n "type": "line",\n "data": [\n 2.6,\n 5.9,\n 9,\n 26.4,\n 28.7,\n 70.7,\n 175.6,\n 182.2,\n 48.7,\n 18.8,\n 6,\n 2.3\n ],\n "axisYTitle": "A\u589E\u957F\u7387"\n },\n {\n "type": "line",\n "data": [\n 2,\n 2.2,\n 3.3,\n 4.5,\n 6.3,\n 10.2,\n 20.3,\n 23.4,\n 23,\n 16.5,\n 12,\n 6.2\n ],\n "axisYTitle": "B\u589E\u957F\u7387"\n }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.DualAxes]: DualAxes },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"61c374db":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("b2344bf5");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u53CC\u8F74\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "dual-axes",\n "categories": ["2020", "2021", "2022"],\n "series": [\n {\n "type": "column",\n "data": [500, 600, 700],\n "axisYTitle": "amount"\n },\n {\n "type": "line",\n "data": [10, 12, 15],\n "axisYTitle": "rate"\n }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.DualAxes]: DualAxes },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"86adf600":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("86adcc76");let t=[{value:'{\n "type": "dual-axes",\n "categories": ["2018", "2019", "2020", "2021", "2022"],\n "title": "2018-2022\u9500\u552E\u989D\u4E0E\u5229\u6DA6\u7387",\n "axisXTitle": "\u5E74\u4EFD",\n "series": [\n {\n "type": "column",\n "data": [91.9, 99.1, 101.6, 114.4, 121],\n "axisYTitle": "\u9500\u552E\u989D"\n },\n {\n "type": "line",\n "data": [0.055, 0.06, 0.062, 0.07, 0.075],\n "axisYTitle": "\u5229\u6DA6\u7387"\n }\n ]\n}\n',paraId:0,tocIndex:5},{value:"\u5C5E\u6027",paraId:1,tocIndex:7},{value:"\u7C7B\u578B",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:7},{value:"\u8BF4\u660E",paraId:1,tocIndex:7},{value:"categories",paraId:1,tocIndex:7},{value:"string[]",paraId:1,tocIndex:7},{value:"\u662F",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"x \u8F74\u5BF9\u5E94\u7684\u6570\u636E",paraId:1,tocIndex:7},{value:"series",paraId:1,tocIndex:7},{value:"SeriesDataItem[]",paraId:1,tocIndex:7},{value:"\u662F",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u5B50\u56FE\u7684\u6570\u636E",paraId:1,tocIndex:7},{value:"title",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"axisXTitle",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"...",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:7},{value:"Ant Design Charts ",paraId:1,tocIndex:7},{value:"\u5C5E\u6027",paraId:2,tocIndex:8},{value:"\u7C7B\u578B",paraId:2,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:8},{value:"\u8BF4\u660E",paraId:2,tocIndex:8},{value:"type",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u5B50\u56FE\u7684\u7C7B\u578B",paraId:2,tocIndex:8},{value:"data",paraId:2,tocIndex:8},{value:"number[]",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u5B50\u56FE\u7684\u6570\u636E",paraId:2,tocIndex:8},{value:"axisYTitle",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u5426",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"y \u8F74\u7684\u6807\u9898",paraId:2,tocIndex:8}];},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return u.default;},GPTVis:function(){return s.default;},GPTVisLite:function(){return l.default;},useEventPublish:function(){return l.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var o=a("a574afdb"),u=d._(a("a7265236")),s=d._(a("2c69d5f6")),l=r._(a("033b3748")),i=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},f73f2dea:function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return s;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("86adcc76");var o=d._(a("df67f0d6")),u=d._(a("1c5d635b"));let s={"dualaxes-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("dda9d791")]).then(a.dr(t,a.bind(a,"cc7462f0"))))),asset:{type:"BLOCK",id:"dualaxes-demo-common",refAtomIds:["DualAxes"],dependencies:{"index.tsx":{type:"FILE",value:a("008d01bc").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"dualaxes-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("dda9d791")]).then(a.dr(t,a.bind(a,"ec063eeb"))))),asset:{type:"BLOCK",id:"dualaxes-demo-markdown",refAtomIds:["DualAxes"],dependencies:{"index.tsx":{type:"FILE",value:a("61c374db").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"dualaxes-demo-multiple":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("dda9d791")]).then(a.dr(t,a.bind(a,"b26e07f5"))))),asset:{type:"BLOCK",id:"dualaxes-demo-multiple",refAtomIds:["DualAxes"],dependencies:{"index.tsx":{type:"FILE",value:a("520b7a3d").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u591A\u8F74\u56FE"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};}}]); +//# sourceMappingURL=8d782fde-async.42e5c825.js.map \ No newline at end of file diff --git a/8d782fde-async.42e5c825.js.map b/8d782fde-async.42e5c825.js.map new file mode 100644 index 0000000..f73fd95 --- /dev/null +++ b/8d782fde-async.42e5c825.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/DualAxes/demos/common.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/DualAxes/demos/multiple.tsx?dumi-raw","src/DualAxes/demos/markdown.tsx?dumi-raw","src/DualAxes/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/DualAxes/index.md?type=demo"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/common.tsx?watch=parent';\n export default \"import type { DualAxesProps } from '@antv/gpt-vis';\\nimport { DualAxes } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst config: DualAxesProps = {\\n categories: [\\n '2020-08-20',\\n '2020-08-21',\\n '2020-08-22',\\n '2020-08-23',\\n '2020-08-24',\\n '2020-08-25',\\n '2020-08-26',\\n '2020-08-27',\\n '2020-08-28',\\n '2020-08-29',\\n '2020-08-30',\\n '2020-08-31',\\n '2020-09-01',\\n '2020-09-02',\\n '2020-09-03',\\n '2020-09-04',\\n '2020-09-05',\\n '2020-09-06',\\n '2020-09-07',\\n '2020-09-08',\\n '2020-09-09',\\n '2020-09-10',\\n '2020-09-11',\\n '2020-09-12',\\n '2020-09-13',\\n '2020-09-14',\\n '2020-09-15',\\n '2020-09-16',\\n '2020-09-17',\\n '2020-09-18',\\n ],\\n series: [\\n {\\n type: 'column',\\n data: [\\n 10868, 8786, 10824, 7860, 13253, 17015, 19298, 13937, 11541, 15244, 14247, 9402, 10440,\\n 9345, 18459, 9763, 11074, 11770, 12206, 11434, 16218, 11914, 16781, 10555, 10899, 10713, 0,\\n 0, 20357, 10424,\\n ],\\n axisYTitle: '消耗时间',\\n },\\n {\\n type: 'line',\\n data: [\\n 649.483, 1053.7, 679.817, 638.117, 843.3, 1092.983, 1036.317, 1031.9, 803.467, 830.733,\\n 709.867, 665.233, 696.367, 692.867, 936.017, 782.867, 653.8, 856.683, 777.15, 773.283,\\n 833.3, 793.517, 894.45, 725.55, 709.967, 787.6, 644.183, 1066.65, 932.45, 753.583,\\n ],\\n axisYTitle: '完成时间',\\n },\\n ],\\n};\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/multiple.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个多轴图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n\\t\\\"type\\\": \\\"dual-axes\\\",\\n\\t\\\"categories\\\": [\\n\\t\\t\\\"Jan\\\",\\n\\t\\t\\\"Feb\\\",\\n\\t\\t\\\"Mar\\\",\\n\\t\\t\\\"Apr\\\",\\n\\t\\t\\\"May\\\",\\n\\t\\t\\\"Jun\\\",\\n\\t\\t\\\"Jul\\\",\\n\\t\\t\\\"Aug\\\",\\n\\t\\t\\\"Sep\\\",\\n\\t\\t\\\"Oct\\\",\\n\\t\\t\\\"Nov\\\",\\n\\t\\t\\\"Dec\\\"\\n\\t],\\n\\t\\\"series\\\": [\\n {\\n\\t\\t\\t\\\"type\\\": \\\"column\\\",\\n\\t\\t\\t\\\"data\\\": [\\n\\t\\t\\t\\t26,\\n\\t\\t\\t\\t59,\\n\\t\\t\\t\\t90,\\n\\t\\t\\t\\t264,\\n\\t\\t\\t\\t287,\\n\\t\\t\\t\\t707,\\n\\t\\t\\t\\t1756,\\n\\t\\t\\t\\t1822,\\n\\t\\t\\t\\t487,\\n\\t\\t\\t\\t188,\\n\\t\\t\\t\\t60,\\n\\t\\t\\t\\t23\\n\\t\\t\\t],\\n \\\"axisYTitle\\\": \\\"总体增长量\\\"\\n\\t\\t},\\n {\\n\\t\\t\\t\\\"type\\\": \\\"line\\\",\\n\\t\\t\\t\\\"data\\\": [\\n\\t\\t\\t\\t2.6,\\n\\t\\t\\t\\t5.9,\\n\\t\\t\\t\\t9,\\n\\t\\t\\t\\t26.4,\\n\\t\\t\\t\\t28.7,\\n\\t\\t\\t\\t70.7,\\n\\t\\t\\t\\t175.6,\\n\\t\\t\\t\\t182.2,\\n\\t\\t\\t\\t48.7,\\n\\t\\t\\t\\t18.8,\\n\\t\\t\\t\\t6,\\n\\t\\t\\t\\t2.3\\n\\t\\t\\t],\\n \\\"axisYTitle\\\": \\\"A增长率\\\"\\n\\t\\t},\\n\\t\\t{\\n\\t\\t\\t\\\"type\\\": \\\"line\\\",\\n\\t\\t\\t\\\"data\\\": [\\n\\t\\t\\t\\t2,\\n\\t\\t\\t\\t2.2,\\n\\t\\t\\t\\t3.3,\\n\\t\\t\\t\\t4.5,\\n\\t\\t\\t\\t6.3,\\n\\t\\t\\t\\t10.2,\\n\\t\\t\\t\\t20.3,\\n\\t\\t\\t\\t23.4,\\n\\t\\t\\t\\t23,\\n\\t\\t\\t\\t16.5,\\n\\t\\t\\t\\t12,\\n\\t\\t\\t\\t6.2\\n\\t\\t\\t],\\n \\\"axisYTitle\\\": \\\"B增长率\\\"\\n\\t\\t}\\n\\t]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.DualAxes]: DualAxes },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个双轴图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"dual-axes\\\",\\n \\\"categories\\\": [\\\"2020\\\", \\\"2021\\\", \\\"2022\\\"],\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [500, 600, 700],\\n \\\"axisYTitle\\\": \\\"amount\\\"\\n },\\n {\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [10, 12, 15],\\n \\\"axisYTitle\\\": \\\"rate\\\"\\n }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.DualAxes]: DualAxes },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"dual-axes\\\",\\n \\\"categories\\\": [\\\"2018\\\", \\\"2019\\\", \\\"2020\\\", \\\"2021\\\", \\\"2022\\\"],\\n \\\"title\\\": \\\"2018-2022销售额与利润率\\\",\\n \\\"axisXTitle\\\": \\\"年份\\\",\\n \\\"series\\\": [\\n {\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [91.9, 99.1, 101.6, 114.4, 121],\\n \\\"axisYTitle\\\": \\\"销售额\\\"\\n },\\n {\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [0.055, 0.06, 0.062, 0.07, 0.075],\\n \\\"axisYTitle\\\": \\\"利润率\\\"\\n }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"categories\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string[]\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"x 轴对应的数据\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"series\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"SeriesDataItem[]\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"子图的数据\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"type\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"子图的类型\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"number[]\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"子图的数据\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"axisYTitle\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"y 轴的标题\",\"paraId\":2,\"tocIndex\":8}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/index.md?watch=parent';\nimport * as dualaxes_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as dualaxes_demo_common_deps_2 from 'react';\nimport * as dualaxes_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'dualaxes-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"DualAxes__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"dualaxes-demo-common\",\n \"refAtomIds\": [\n \"DualAxes\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": dualaxes_demo_common_deps_1,\n \"react\": dualaxes_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'dualaxes-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"DualAxes__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"dualaxes-demo-markdown\",\n \"refAtomIds\": [\n \"DualAxes\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": dualaxes_demo_markdown_deps_1,\n \"@antv/gpt-vis\": dualaxes_demo_common_deps_1,\n \"react\": dualaxes_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'dualaxes-demo-multiple': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"DualAxes__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/multiple.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"dualaxes-demo-multiple\",\n \"refAtomIds\": [\n \"DualAxes\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/multiple.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"多轴图\"\n},\n context: {\n \"@ant-design/x\": dualaxes_demo_markdown_deps_1,\n \"@antv/gpt-vis\": dualaxes_demo_common_deps_1,\n \"react\": dualaxes_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')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AS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF"} \ No newline at end of file diff --git a/8fe06593-worker.acf9bfb8.js b/8fe06593-worker.acf9bfb8.js new file mode 100644 index 0000000..f515416 --- /dev/null +++ b/8fe06593-worker.acf9bfb8.js @@ -0,0 +1,2 @@ +!function(){var e={vendors_0:"vendors_0-async.16a2f0b3.js",vendors_2:"vendors_2-async.3c551e90.js"},t={vendors_0:"vendors_0-async.b59e88dd.css"},r={"8fe06593":0},n="undefined"!=typeof globalThis?globalThis:self,o=function(n,o,u){var i,a,c,l={};function f(e){var t=l[e];if(void 0!==t)return t.exports;var r={id:e,exports:{}};l[e]=r;var o={id:e,module:r,factory:n[e],require:f};return f.requireInterceptors.forEach(function(e){e(o);}),o.factory.call(o.module.exports,o.module,o.module.exports,o.require),r.exports;}f.requireInterceptors=[],f.e=function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]});},f.d=Object.defineProperty.bind(Object),f.dr=function(e,t){return function(){var r=t();return r&&("object"==typeof r||"function"==typeof r)&&"function"==typeof r.then?r.then(function(t){return e(t);}):e(r);};},f.chunkEnsures={},f.ensure=function(e){return Promise.all(Object.keys(f.chunkEnsures).reduce(function(t,r){return f.chunkEnsures[r](e,t),t;},[]));},f.jsonpInstalled={},i=f.jsonpInstalled,f.chunkEnsures.jsonp=function(t,r){var n=i[t];if(0!==n){if(n)r.push(n[2]);else{var o=new Promise(function(e,r){n=i[t]=[e,r];});r.push(n[2]=o);var u=f.publicPath+e[t],a=Error();return f.loadScript(u,function(e){if(0!==(n=i[t])&&(i[t]=void 0),n){var r=e&&e.type,o=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed. ("+r+" : "+o+")",a.name="ChunkLoadError",a.type=r,n[1](a);}},"chunk-"+t),o;}}},f.cssInstalled=r,f.findStylesheet=function(e){try{a||(a=new URL(f.publicPath.replace(/^(\/\/)/,"https:$1")).pathname);}catch(e){}return Array.from(document.querySelectorAll("link[href][rel=stylesheet]")).find(function(t){var r=t.getAttribute("href").split("?")[0];return r===e||r===f.publicPath+e||a&&r===a+e;});},f.createStylesheet=function(e,t,n,o,u){var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",i.href=t,i.onerror=i.onload=function(t){if(i.onerror=i.onload=null,"load"===t.type)r[e]=0,o();else{delete r[e];var n=t&&t.type,a=t&&t.target&&t.target.href,c=Error("Loading CSS chunk "+e+" failed.\n("+a+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=n,c.request=a,i.parentNode.removeChild(i),u(c);}},n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i;},f.chunkEnsures.css=function(e,n){if(r[e])n.push(r[e]);else if(0!==r[e]&&t[e])return r[e]=new Promise(function(r,n){var o=t[e],u=f.publicPath+o;f.findStylesheet(o)?r():f.createStylesheet(e,u,null,r,n);}),n.push(r[e]),n;},c={},f.loadScript=function(e,t,r){if(!self.document)return importScripts(e),t();if(c[e])return c[e].push(t);var n=document.querySelector('script[src="'+e+'"], script[data-mako="@antv/gpt-vis:'+r+'"]');n||((n=document.createElement("script")).timeout=120,n.src=e),c[e]=[t];var o=function(t,r){clearTimeout(u);var o=c[e];if(delete c[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach(function(e){return e(r);}),t)return t(r);},u=setTimeout(o.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=o.bind(null,n.onerror),n.onload=o.bind(null,n.onload),document.head.appendChild(n);};var s=function(e){for(var t in e)n[t]=e[t];},p=function(e){var t=f.jsonpInstalled,r=e[0],n=e[1];r.some(function(e){return 0!==t[e];})&&s(n);for(var o=0;ot.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r;}function a(e,t,r,n){return new(r||(r=Promise))(function(o,u){function i(e){try{c(n.next(e));}catch(e){u(e);}}function a(e){try{c(n.throw(e));}catch(e){u(e);}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(i,a);}c((n=n.apply(e,t||[])).next());});}function c(e,t){var r,n,o,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function a(a){return function(c){return function(a){if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){u=0;continue;}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e};}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function s(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,u=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=u.next()).done;)i.push(n.value);}catch(e){o={error:e};}finally{try{n&&!n.done&&(r=u.return)&&r.call(u);}finally{if(o)throw o.error;}}return i;}function p(e,t,r){if(r||2==arguments.length)for(var n,o=0,u=t.length;o= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":[],"mappings":"kKA8cI,EAAO,AAAsB,aAAtB,OAAO,WAA6B,WAAa,KAExD,EAAU,AAhdd,SAAuB,CAAW,CAAE,CAAa,CAAE,CAAM,EAEvD,IA2FM,EAgDA,EAgHA,EA3PF,EAAkB,CAAC,EAGvB,SAAS,EAAc,CAAQ,EAC7B,IAAI,EAAe,CAAe,CAAC,EAAS,CAE5C,GAAI,AAAiB,KAAA,IAAjB,EAEF,OAAO,EAAa,OAAO,CAG7B,IAAI,EAAS,CACX,GAAI,EACJ,QAAS,CAAC,CACZ,EACA,CAAe,CAAC,EAAS,CAAG,EAG1B,IAAI,EAAc,CAChB,GAAI,EACJ,OAAQ,EACR,QAAS,CAAW,CAAC,EAAS,CAC9B,QAAS,CACX,EAYF,OAXE,EAAc,mBAAmB,CAAC,OAAO,CAAC,SAAU,CAAW,EAC7D,EAAY,GACd,GACA,E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at end of file diff --git a/91854130-async.afbead7b.js b/91854130-async.afbead7b.js new file mode 100644 index 0000000..474d536 --- /dev/null +++ b/91854130-async.afbead7b.js @@ -0,0 +1,31 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["91854130"],{"03f6bdfd":function(e,t,a){"use strict";var n=a("852bbaa9")._;a.d(t,"__esModule",{value:!0}),a.d(t,"demos",{enumerable:!0,get:function(){return x;}});var u=a("852bbaa9"),l=u._(a("9d065c04"));a("5d4227fc");var v=u._(a("df67f0d6")),d=u._(a("1c5d635b"));let x={"wordcloud-demo-0":{component:l.default.memo(l.default.lazy(async function(){let{default:e}=await Promise.all([a.ensure("9d065c04")]).then(a.dr(n,a.bind(a,"9d065c04"))),{WordCloud:t}=await Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("df67f0d6")]).then(a.dr(n,a.bind(a,"df67f0d6"))),u=[{value:11.3865516372,text:"\u7269\u8D28"},{value:7.75434839431,text:"\u4E07\u7269"},{value:9.29550746599,text:"\u611F\u5B98"},{value:6.89126871927,text:"\u4E8B\u7269"},{value:11.739204307083542,text:"\u4F1A\u53D8"},{value:9.29550746599,text:"\u611F\u5B98"},{value:8.70772080109,text:"\u8BA4\u77E5"},{value:13.68728134056,text:"\u5143\u7D20"},{value:8.29487558568,text:"\u4E16\u95F4"},{value:8.77077893705,text:"\u8089\u773C"},{value:8.10461990121,text:"\u5927\u81EA\u7136"},{value:7.69410172525,text:"\u7C92\u5B50"},{value:7.65457088649,text:"\u5206\u5272"},{value:21.6192703972,text:"\u79EF\u6728"},{value:10.7226238216,text:"\u6C38\u6052\u4E0D\u53D8"},{value:7.14957618304,text:"\u539F\u5B50"},{value:7.95787827685,text:"\u5C3A\u5EA6"},{value:7.36109169636,text:"\u8861\u91CF"},{value:11.7034530746,text:"\u660E\u8FA8\u662F\u975E"},{value:9.14102377386,text:"\u5B58\u5728"},{value:6.90950076485,text:"\u7406\u6027"},{value:12.06102341102,text:"\u6A21\u5F0F"},{value:11.739204307083542,text:"\u7406\u578B"},{value:11.3865516372,text:"\u7269\u8D28"},{value:9.54656840164,text:"\u4E1C\u897F"},{value:8.73505881114,text:"\u4E16\u754C"},{value:34.45634359635,text:"\u4E8B\u7269"},{value:27.886522397969998,text:"\u611F\u5B98"},{value:6.47412857958,text:"\u75DB\u82E6"},{value:6.06866347147,text:"\u907F\u514D"},{value:5.02315619812,text:"\u5F62\u5F0F"},{value:4.80149232937,text:"\u65B9\u5F0F"},{value:21.209681572,text:"\u4E07\u4E8B\u4E07\u7269"},{value:7.48068272383,text:"\u4E0A\u5E1D"},{value:7.37711534583,text:"\u4E00\u4F53"},{value:7.36834335975,text:"\u5B87\u5B99"},{value:9.17328983326,text:"\u8D66\u514D"},{value:8.04274449749,text:"\u62EF\u6551"},{value:7.48068272383,text:"\u4E0A\u5E1D"},{value:14.96136544766,text:"\u4E0A\u5E1D"},{value:7.95787827685,text:"\u4E16\u4EBA"},{value:14.96136544766,text:"\u4E0A\u5E1D"},{value:11.67082488616,text:"\u521B\u9020"},{value:9.80633308975,text:"\u865A\u7A7A"},{value:8.73505881114,text:"\u4E16\u754C"},{value:16.57509909118,text:"\u542F\u793A"},{value:14.51638170122,text:"\u4FE1\u4EF0"},{value:13.8190015297,text:"\u7406\u6027"},{value:10.5684731418,text:"\u89C2\u611F"},{value:12.57964972316,text:"\u5730\u7403"},{value:12.45583951066,text:"\u592A\u9633"},{value:11.39201164604,text:"\u8FD0\u884C"},{value:14.35128801962,text:"\u7269\u4F53"},{value:11.18052531558,text:"\u72B6\u6001"},{value:10.0505300503,text:"\u8F74\u5FC3"},{value:9.56994431169,text:"\u661F\u7403"},{value:9.29550746599,text:"\u611F\u5B98"},{value:21.52693202943,text:"\u7269\u4F53"},{value:7.36834335975,text:"\u5B87\u5B99"},{value:22.44204817149,text:"\u4E0A\u5E1D"},{value:12.1089181827,text:"\u4E3B\u5BB0\u4E16\u754C"},{value:10.8096351986,text:"\u7275\u7EBF"},{value:10.6818018271,text:"\u81EA\u7136\u6CD5\u5219"},{value:18.59101493198,text:"\u611F\u5B98"},{value:15.51728049278,text:"\u5FC3\u7075"},{value:10.1394775363,text:"\u4EFB\u4F55\u4E8B\u7269"},{value:14.95161725614,text:"\u54F2\u5B66\u5BB6"},{value:13.78796485028,text:"\u611F\u53D7"},{value:10.3743171274,text:"\u5929\u4E3B"},{value:10.2117981979,text:"\u8D28\u6599"},{value:9.14102377386,text:"\u5B58\u5728"},{value:14.96136544766,text:"\u4E0A\u5E1D"},{value:14.35850390238,text:"\u5934\u9876"},{value:12.5143832909,text:"\u56E0\u679C\u5F8B"},{value:11.0674643079,text:"\u6839\u690D"},{value:16.20923980242,text:"\u5927\u81EA\u7136"},{value:13.10258821671,text:"\u4E16\u754C"},{value:11.3865516372,text:"\u7269\u8D28"},{value:10.1164880181,text:"\u65E0\u4F11\u6B62"},{value:13.10258821671,text:"\u4E16\u754C"},{value:11.23942650284,text:"\u7CBE\u795E"},{value:10.1394775363,text:"\u811A\u8E0F\u5B9E\u5730"},{value:26.6063055869,text:"\u9636\u6BB5"},{value:13.0408437271,text:"\u771F\u5B9E"},{value:10.48883682488,text:"\u662F\u5426"},{value:17.0798274558,text:"\u7269\u8D28"},{value:11.739204307083542,text:"\u65B0\u7684"},{value:11.23942650284,text:"\u7CBE\u795E"},{value:10.4471578861,text:"\u6539\u53D8"},{value:10.21443458184,text:"\u9020\u6210"},{value:16.20923980242,text:"\u4E00\u8258"},{value:15.07529909688,text:"\u822A\u884C"},{value:11.739204307083542,text:"\u4EBA\u5219"},{value:11.7034530746,text:"\u7269\u7ADE\u5929\u62E9"},{value:10.5684731418,text:"\u9002\u8005\u751F\u5B58"},{value:19.89886786678,text:"\u6F5C\u610F\u8BC6"},{value:12.76848869812,text:"\u610F\u8BC6"}];return{default:()=>e.createElement(t,{data:u,containerStyle:{height:300}})};})),asset:{type:"BLOCK",id:"wordcloud-demo-0",refAtomIds:["WordCloud"],dependencies:{"index.jsx":{type:"FILE",value:"import React from 'react';\nimport { WordCloud } from '@antv/gpt-vis';\n\nconst data = [\n { value: 11.3865516372, text: '\u7269\u8D28' },\n { value: 7.75434839431, text: '\u4E07\u7269' },\n { value: 9.29550746599, text: '\u611F\u5B98' },\n { value: 6.89126871927, text: '\u4E8B\u7269' },\n { value: 11.739204307083542, text: '\u4F1A\u53D8' },\n { value: 9.29550746599, text: '\u611F\u5B98' },\n { value: 8.70772080109, text: '\u8BA4\u77E5' },\n { value: 13.68728134056, text: '\u5143\u7D20' },\n { value: 8.29487558568, text: '\u4E16\u95F4' },\n { value: 8.77077893705, text: '\u8089\u773C' },\n { value: 8.10461990121, text: '\u5927\u81EA\u7136' },\n { value: 7.69410172525, text: '\u7C92\u5B50' },\n { value: 7.65457088649, text: '\u5206\u5272' },\n { value: 21.6192703972, text: '\u79EF\u6728' },\n { value: 10.7226238216, text: '\u6C38\u6052\u4E0D\u53D8' },\n { value: 7.14957618304, text: '\u539F\u5B50' },\n { value: 7.95787827685, text: '\u5C3A\u5EA6' },\n { value: 7.36109169636, text: '\u8861\u91CF' },\n { value: 11.7034530746, text: '\u660E\u8FA8\u662F\u975E' },\n { value: 9.14102377386, text: '\u5B58\u5728' },\n { value: 6.90950076485, text: '\u7406\u6027' },\n { value: 12.06102341102, text: '\u6A21\u5F0F' },\n { value: 11.739204307083542, text: '\u7406\u578B' },\n { value: 11.3865516372, text: '\u7269\u8D28' },\n { value: 9.54656840164, text: '\u4E1C\u897F' },\n { value: 8.73505881114, text: '\u4E16\u754C' },\n { value: 34.45634359635, text: '\u4E8B\u7269' },\n { value: 27.886522397969998, text: '\u611F\u5B98' },\n { value: 6.47412857958, text: '\u75DB\u82E6' },\n { value: 6.06866347147, text: '\u907F\u514D' },\n { value: 5.02315619812, text: '\u5F62\u5F0F' },\n { value: 4.80149232937, text: '\u65B9\u5F0F' },\n { value: 21.209681572, text: '\u4E07\u4E8B\u4E07\u7269' },\n { value: 7.48068272383, text: '\u4E0A\u5E1D' },\n { value: 7.37711534583, text: '\u4E00\u4F53' },\n { value: 7.36834335975, text: '\u5B87\u5B99' },\n { value: 9.17328983326, text: '\u8D66\u514D' },\n { value: 8.04274449749, text: '\u62EF\u6551' },\n { value: 7.48068272383, text: '\u4E0A\u5E1D' },\n { value: 14.96136544766, text: '\u4E0A\u5E1D' },\n { value: 7.95787827685, text: '\u4E16\u4EBA' },\n { value: 14.96136544766, text: '\u4E0A\u5E1D' },\n { value: 11.67082488616, text: '\u521B\u9020' },\n { value: 9.80633308975, text: '\u865A\u7A7A' },\n { value: 8.73505881114, text: '\u4E16\u754C' },\n { value: 16.57509909118, text: '\u542F\u793A' },\n { value: 14.51638170122, text: '\u4FE1\u4EF0' },\n { value: 13.8190015297, text: '\u7406\u6027' },\n { value: 10.5684731418, text: '\u89C2\u611F' },\n { value: 12.57964972316, text: '\u5730\u7403' },\n { value: 12.45583951066, text: '\u592A\u9633' },\n { value: 11.39201164604, text: '\u8FD0\u884C' },\n { value: 14.35128801962, text: '\u7269\u4F53' },\n { value: 11.18052531558, text: '\u72B6\u6001' },\n { value: 10.0505300503, text: '\u8F74\u5FC3' },\n { value: 9.56994431169, text: '\u661F\u7403' },\n { value: 9.29550746599, text: '\u611F\u5B98' },\n { value: 21.52693202943, text: '\u7269\u4F53' },\n { value: 7.36834335975, text: '\u5B87\u5B99' },\n { value: 22.44204817149, text: '\u4E0A\u5E1D' },\n { value: 12.1089181827, text: '\u4E3B\u5BB0\u4E16\u754C' },\n { value: 10.8096351986, text: '\u7275\u7EBF' },\n { value: 10.6818018271, text: '\u81EA\u7136\u6CD5\u5219' },\n { value: 18.59101493198, text: '\u611F\u5B98' },\n { value: 15.51728049278, text: '\u5FC3\u7075' },\n { value: 10.1394775363, text: '\u4EFB\u4F55\u4E8B\u7269' },\n { value: 14.95161725614, text: '\u54F2\u5B66\u5BB6' },\n { value: 13.78796485028, text: '\u611F\u53D7' },\n { value: 10.3743171274, text: '\u5929\u4E3B' },\n { value: 10.2117981979, text: '\u8D28\u6599' },\n { value: 9.14102377386, text: '\u5B58\u5728' },\n { value: 14.96136544766, text: '\u4E0A\u5E1D' },\n { value: 14.35850390238, text: '\u5934\u9876' },\n { value: 12.5143832909, text: '\u56E0\u679C\u5F8B' },\n { value: 11.0674643079, text: '\u6839\u690D' },\n { value: 16.20923980242, text: '\u5927\u81EA\u7136' },\n { value: 13.10258821671, text: '\u4E16\u754C' },\n { value: 11.3865516372, text: '\u7269\u8D28' },\n { value: 10.1164880181, text: '\u65E0\u4F11\u6B62' },\n { value: 13.10258821671, text: '\u4E16\u754C' },\n { value: 11.23942650284, text: '\u7CBE\u795E' },\n { value: 10.1394775363, text: '\u811A\u8E0F\u5B9E\u5730' },\n { value: 26.6063055869, text: '\u9636\u6BB5' },\n { value: 13.0408437271, text: '\u771F\u5B9E' },\n { value: 10.48883682488, text: '\u662F\u5426' },\n { value: 17.0798274558, text: '\u7269\u8D28' },\n { value: 11.739204307083542, text: '\u65B0\u7684' },\n { value: 11.23942650284, text: '\u7CBE\u795E' },\n { value: 10.4471578861, text: '\u6539\u53D8' },\n { value: 10.21443458184, text: '\u9020\u6210' },\n { value: 16.20923980242, text: '\u4E00\u8258' },\n { value: 15.07529909688, text: '\u822A\u884C' },\n { value: 11.739204307083542, text: '\u4EBA\u5219' },\n { value: 11.7034530746, text: '\u7269\u7ADE\u5929\u62E9' },\n { value: 10.5684731418, text: '\u9002\u8005\u751F\u5B58' },\n { value: 19.89886786678, text: '\u6F5C\u610F\u8BC6' },\n { value: 12.76848869812, text: '\u610F\u8BC6' },\n];\nexport default () => ;"},react:{type:"NPM",value:"18.3.1"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.jsx"},context:{react:l,"@antv/gpt-vis":v},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(n,a.bind(a,"d030c320")))).default(...e)}},"wordcloud-demo-1":{component:l.default.memo(l.default.lazy(async function(){let{Bubble:e}=await Promise.all([a.ensure("vendors_3"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("1c5d635b")]).then(a.dr(n,a.bind(a,"1c5d635b"))),{WordCloud:t,withChartCode:u,ChartType:v,GPTVisLite:d}=await Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("df67f0d6")]).then(a.dr(n,a.bind(a,"df67f0d6"))),x={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},r=` + ~~~vis-chart + { + "type": "word-cloud", + "data": [ + { "value": 9, "text": "AntV" }, + { "value": 8, "text": "F2" }, + { "value": 8, "text": "G2" }, + { "value": 8, "text": "G6" }, + { "value": 8, "text": "DataSet" }, + { "value": 8, "text": "\u{58A8}\u{8005}\u{5B66}\u{9662}" }, + { "value": 6, "text": "Analysis" }, + { "value": 6, "text": "Data Mining" }, + { "value": 6, "text": "Data Vis" }, + { "value": 6, "text": "Design" }, + { "value": 6, "text": "Grammar" }, + { "value": 6, "text": "Graphics" }, + { "value": 6, "text": "Graph" }, + { "value": 6, "text": "Hierarchy" }, + { "value": 6, "text": "Labeling" }, + { "value": 6, "text": "Layout" }, + { "value": 6, "text": "Quantitative" }, + { "value": 6, "text": "Relation" }, + { "value": 6, "text": "Statistics" }, + { "value": 6, "text": "\u{53EF}\u{89C6}\u{5316}" }, + { "value": 6, "text": "\u{6570}\u{636E}" }, + { "value": 6, "text": "\u{6570}\u{636E}\u{53EF}\u{89C6}\u{5316}" } + ] + } +~~~`,o=u({components:{[v.WordCloud]:t},style:{width:400}}),s=e=>l.default.createElement(d,{components:{code:o}},e);return{default:()=>l.default.createElement("div",{style:x},l.default.createElement(e,{placement:"end",content:"\u4EE5\u8BCD\u4E91\u56FE\u53EF\u89C6\u5316\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),l.default.createElement(e,{content:r,messageRender:s,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}}))};})),asset:{type:"BLOCK",id:"wordcloud-demo-1",refAtomIds:["WordCloud"],dependencies:{"index.tsx":{type:"FILE",value:'import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { WordCloud, withChartCode, ChartType, GPTVisLite } from \'@antv/gpt-vis\';\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst markdownContent = `\n ~~~vis-chart\n {\n "type": "word-cloud",\n "data": [\n { "value": 9, "text": "AntV" },\n { "value": 8, "text": "F2" },\n { "value": 8, "text": "G2" },\n { "value": 8, "text": "G6" },\n { "value": 8, "text": "DataSet" },\n { "value": 8, "text": "\u58A8\u8005\u5B66\u9662" },\n { "value": 6, "text": "Analysis" },\n { "value": 6, "text": "Data Mining" },\n { "value": 6, "text": "Data Vis" },\n { "value": 6, "text": "Design" },\n { "value": 6, "text": "Grammar" },\n { "value": 6, "text": "Graphics" },\n { "value": 6, "text": "Graph" },\n { "value": 6, "text": "Hierarchy" },\n { "value": 6, "text": "Labeling" },\n { "value": 6, "text": "Layout" },\n { "value": 6, "text": "Quantitative" },\n { "value": 6, "text": "Relation" },\n { "value": 6, "text": "Statistics" },\n { "value": 6, "text": "\u53EF\u89C6\u5316" },\n { "value": 6, "text": "\u6570\u636E" },\n { "value": 6, "text": "\u6570\u636E\u53EF\u89C6\u5316" }\n ]\n }\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.WordCloud]: WordCloud },\n style: { width: 400 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => {\n return (\n
\n \n \n
\n );\n};'},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.tsx"},context:{"@ant-design/x":d,"@antv/gpt-vis":v},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(n,a.bind(a,"d030c320")))).default(...e)}}};},"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return l.default;},Bubble:function(){return d.default;},Conversations:function(){return x.default;},Prompts:function(){return r.default;},Sender:function(){return v.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return o.default;},Welcome:function(){return i.default;},XProvider:function(){return c.default;},XRequest:function(){return b.default;},XStream:function(){return m.default;},useXAgent:function(){return p.default;},useXChat:function(){return f.default;},version:function(){return u.default;}});var n=a("777fffbe"),u=n._(a("61551e8a")),l=n._(a("150d8a7a")),v=n._(a("013e81db")),d=n._(a("d161127f")),x=n._(a("11781cbc")),r=n._(a("5a025bc4")),o=n._(a("e2d1bf07")),s=n._(a("d0c39811")),i=n._(a("0176aebf")),c=n._(a("8b35f51f")),f=n._(a("92b2492a")),p=n._(a("1e122ed0")),m=n._(a("470d5fd8")),b=n._(a("e0f10014"));},"97d48417":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"texts",{enumerable:!0,get:function(){return n;}}),a("5d4227fc");let n=[{value:"\u8BCD\u4E91\u56FE\u901A\u8FC7\u628A\u6587\u672C\u4E2D\u5E38\u51FA\u73B0\u7684\u5173\u952E\u8BCD\u653E\u5927\uFF0C\u8BA9\u7528\u6237\u66F4\u5BB9\u6613\u627E\u5230\u91CD\u8981\u4FE1\u606F\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "word-cloud",\n "data": [\n { "value": 11.739204307083542, "text": "\u6C34\u662F" },\n { "value": 9.23723855786, "text": "\u4E4B\u6E90" },\n { "value": 7.75434839431, "text": "\u4E07\u7269" },\n { "value": 11.3865516372, "text": "\u7269\u8D28" },\n { "value": 7.75434839431, "text": "\u4E07\u7269" },\n { "value": 5.83541244308, "text": "\u521B\u9020" },\n { "value": 4.27215339948, "text": "\u5F62\u6210" }\n ]\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"WordCloudDataItem[]",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"title",paraId:2,tocIndex:6},{value:"string",paraId:2,tocIndex:6},{value:"\u5426",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"text",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u6587\u672C",paraId:3,tocIndex:7},{value:"value",paraId:3,tocIndex:7},{value:"number",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8BCD\u9891",paraId:3,tocIndex:7}];},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return d.default;},GPTVis:function(){return x.default;},GPTVisLite:function(){return r.default;},useEventPublish:function(){return r.useEventPublish;},version:function(){return o.default;},withChartCode:function(){return v.withChartCode;},withDefaultChartCode:function(){return v.withDefaultChartCode;}});var n=a("d1751d7c"),u=a("777fffbe"),l=a("852bbaa9");n._(a("5639510f"),t),n._(a("d382b880"),t);var v=a("a574afdb"),d=u._(a("a7265236")),x=u._(a("2c69d5f6")),r=l._(a("033b3748")),o=u._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var n=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));n._(a("5e2dda25"),t),n._(a("969efd31"),t),n._(a("f21af0e0"),t),n._(a("33eda958"),t),n._(a("112b9a67"),t),n._(a("a45613fd"),t),n._(a("432777ba"),t);}}]); +//# sourceMappingURL=91854130-async.afbead7b.js.map \ No newline at end of file diff --git a/91854130-async.afbead7b.js.map b/91854130-async.afbead7b.js.map new file mode 100644 index 0000000..587dc79 --- /dev/null +++ b/91854130-async.afbead7b.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/WordCloud/index.md?type=demo","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/WordCloud/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?watch=parent';\nimport * as wordcloud_demo_0_deps_0 from 'react';\nimport * as wordcloud_demo_0_deps_1 from '@antv/gpt-vis';\nimport * as wordcloud_demo_1_deps_0 from '@ant-design/x';\nexport const demos = {\n 'wordcloud-demo-0': {\n component: React.memo(React.lazy(async function() {\n const { default: React } = await import('react');\nconst { WordCloud: WordCloud } = await import('@antv/gpt-vis');\nconst data = [\n {\n value: 11.3865516372,\n text: '物质'\n },\n {\n value: 7.75434839431,\n text: '万物'\n },\n {\n value: 9.29550746599,\n text: '感官'\n },\n {\n value: 6.89126871927,\n text: '事物'\n },\n {\n value: 11.739204307083542,\n text: '会变'\n },\n {\n value: 9.29550746599,\n text: '感官'\n },\n {\n value: 8.70772080109,\n text: '认知'\n },\n {\n value: 13.68728134056,\n text: '元素'\n },\n {\n value: 8.29487558568,\n text: '世间'\n },\n {\n value: 8.77077893705,\n text: '肉眼'\n },\n {\n value: 8.10461990121,\n text: '大自然'\n },\n {\n value: 7.69410172525,\n text: '粒子'\n },\n {\n value: 7.65457088649,\n text: '分割'\n },\n {\n value: 21.6192703972,\n text: '积木'\n },\n {\n value: 10.7226238216,\n text: '永恒不变'\n },\n {\n value: 7.14957618304,\n text: '原子'\n },\n {\n value: 7.95787827685,\n text: '尺度'\n },\n {\n value: 7.36109169636,\n text: '衡量'\n },\n {\n value: 11.7034530746,\n text: '明辨是非'\n },\n {\n value: 9.14102377386,\n text: '存在'\n },\n {\n value: 6.90950076485,\n text: '理性'\n },\n {\n value: 12.06102341102,\n text: '模式'\n },\n {\n value: 11.739204307083542,\n text: '理型'\n },\n {\n value: 11.3865516372,\n text: '物质'\n },\n {\n value: 9.54656840164,\n text: '东西'\n },\n {\n value: 8.73505881114,\n text: '世界'\n },\n {\n value: 34.45634359635,\n text: '事物'\n },\n {\n value: 27.886522397969998,\n text: '感官'\n },\n {\n value: 6.47412857958,\n text: '痛苦'\n },\n {\n value: 6.06866347147,\n text: '避免'\n },\n {\n value: 5.02315619812,\n text: '形式'\n },\n {\n value: 4.80149232937,\n text: '方式'\n },\n {\n value: 21.209681572,\n text: '万事万物'\n },\n {\n value: 7.48068272383,\n text: '上帝'\n },\n {\n value: 7.37711534583,\n text: '一体'\n },\n {\n value: 7.36834335975,\n text: '宇宙'\n },\n {\n value: 9.17328983326,\n text: '赦免'\n },\n {\n value: 8.04274449749,\n text: '拯救'\n },\n {\n value: 7.48068272383,\n text: '上帝'\n },\n {\n value: 14.96136544766,\n text: '上帝'\n },\n {\n value: 7.95787827685,\n text: '世人'\n },\n {\n value: 14.96136544766,\n text: '上帝'\n },\n {\n value: 11.67082488616,\n text: '创造'\n },\n {\n value: 9.80633308975,\n text: '虚空'\n },\n {\n value: 8.73505881114,\n text: '世界'\n },\n {\n value: 16.57509909118,\n text: '启示'\n },\n {\n value: 14.51638170122,\n text: '信仰'\n },\n {\n value: 13.8190015297,\n text: '理性'\n },\n {\n value: 10.5684731418,\n text: '观感'\n },\n {\n value: 12.57964972316,\n text: '地球'\n },\n {\n value: 12.45583951066,\n text: '太阳'\n },\n {\n value: 11.39201164604,\n text: '运行'\n },\n {\n value: 14.35128801962,\n text: '物体'\n },\n {\n value: 11.18052531558,\n text: '状态'\n },\n {\n value: 10.0505300503,\n text: '轴心'\n },\n {\n value: 9.56994431169,\n text: '星球'\n },\n {\n value: 9.29550746599,\n text: '感官'\n },\n {\n value: 21.52693202943,\n text: '物体'\n },\n {\n value: 7.36834335975,\n text: '宇宙'\n },\n {\n value: 22.44204817149,\n text: '上帝'\n },\n {\n value: 12.1089181827,\n text: '主宰世界'\n },\n {\n value: 10.8096351986,\n text: '牵线'\n },\n {\n value: 10.6818018271,\n text: '自然法则'\n },\n {\n value: 18.59101493198,\n text: '感官'\n },\n {\n value: 15.51728049278,\n text: '心灵'\n },\n {\n value: 10.1394775363,\n text: '任何事物'\n },\n {\n value: 14.95161725614,\n text: '哲学家'\n },\n {\n value: 13.78796485028,\n text: '感受'\n },\n {\n value: 10.3743171274,\n text: '天主'\n },\n {\n value: 10.2117981979,\n text: '质料'\n },\n {\n value: 9.14102377386,\n text: '存在'\n },\n {\n value: 14.96136544766,\n text: '上帝'\n },\n {\n value: 14.35850390238,\n text: '头顶'\n },\n {\n value: 12.5143832909,\n text: '因果律'\n },\n {\n value: 11.0674643079,\n text: '根植'\n },\n {\n value: 16.20923980242,\n text: '大自然'\n },\n {\n value: 13.10258821671,\n text: '世界'\n },\n {\n value: 11.3865516372,\n text: '物质'\n },\n {\n value: 10.1164880181,\n text: '无休止'\n },\n {\n value: 13.10258821671,\n text: '世界'\n },\n {\n value: 11.23942650284,\n text: '精神'\n },\n {\n value: 10.1394775363,\n text: '脚踏实地'\n },\n {\n value: 26.6063055869,\n text: '阶段'\n },\n {\n value: 13.0408437271,\n text: '真实'\n },\n {\n value: 10.48883682488,\n text: '是否'\n },\n {\n value: 17.0798274558,\n text: '物质'\n },\n {\n value: 11.739204307083542,\n text: '新的'\n },\n {\n value: 11.23942650284,\n text: '精神'\n },\n {\n value: 10.4471578861,\n text: '改变'\n },\n {\n value: 10.21443458184,\n text: '造成'\n },\n {\n value: 16.20923980242,\n text: '一艘'\n },\n {\n value: 15.07529909688,\n text: '航行'\n },\n {\n value: 11.739204307083542,\n text: '人则'\n },\n {\n value: 11.7034530746,\n text: '物竞天择'\n },\n {\n value: 10.5684731418,\n text: '适者生存'\n },\n {\n value: 19.89886786678,\n text: '潜意识'\n },\n {\n value: 12.76848869812,\n text: '意识'\n }\n];\nreturn {\n default: ()=>/*#__PURE__*/ React.createElement(WordCloud, {\n data: data,\n containerStyle: {\n height: 300\n }\n })\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"wordcloud-demo-0\",\n \"refAtomIds\": [\n \"WordCloud\"\n ],\n \"dependencies\": {\n \"index.jsx\": {\n \"type\": \"FILE\",\n \"value\": \"import React from 'react';\\nimport { WordCloud } from '@antv/gpt-vis';\\n\\nconst data = [\\n { value: 11.3865516372, text: '物质' },\\n { value: 7.75434839431, text: '万物' },\\n { value: 9.29550746599, text: '感官' },\\n { value: 6.89126871927, text: '事物' },\\n { value: 11.739204307083542, text: '会变' },\\n { value: 9.29550746599, text: '感官' },\\n { value: 8.70772080109, text: '认知' },\\n { value: 13.68728134056, text: '元素' },\\n { value: 8.29487558568, text: '世间' },\\n { value: 8.77077893705, text: '肉眼' },\\n { value: 8.10461990121, text: '大自然' },\\n { value: 7.69410172525, text: '粒子' },\\n { value: 7.65457088649, text: '分割' },\\n { value: 21.6192703972, text: '积木' },\\n { value: 10.7226238216, text: '永恒不变' },\\n { value: 7.14957618304, text: '原子' },\\n { value: 7.95787827685, text: '尺度' },\\n { value: 7.36109169636, text: '衡量' },\\n { value: 11.7034530746, text: '明辨是非' },\\n { value: 9.14102377386, text: '存在' },\\n { value: 6.90950076485, text: '理性' },\\n { value: 12.06102341102, text: '模式' },\\n { value: 11.739204307083542, text: '理型' },\\n { value: 11.3865516372, text: '物质' },\\n { value: 9.54656840164, text: '东西' },\\n { value: 8.73505881114, text: '世界' },\\n { value: 34.45634359635, text: '事物' },\\n { value: 27.886522397969998, text: '感官' },\\n { value: 6.47412857958, text: '痛苦' },\\n { value: 6.06866347147, text: '避免' },\\n { value: 5.02315619812, text: '形式' },\\n { value: 4.80149232937, text: '方式' },\\n { value: 21.209681572, text: '万事万物' },\\n { value: 7.48068272383, text: '上帝' },\\n { value: 7.37711534583, text: '一体' },\\n { value: 7.36834335975, text: '宇宙' },\\n { value: 9.17328983326, text: '赦免' },\\n { value: 8.04274449749, text: '拯救' },\\n { value: 7.48068272383, text: '上帝' },\\n { value: 14.96136544766, text: '上帝' },\\n { value: 7.95787827685, text: '世人' },\\n { value: 14.96136544766, text: '上帝' },\\n { value: 11.67082488616, text: '创造' },\\n { value: 9.80633308975, text: '虚空' },\\n { value: 8.73505881114, text: '世界' },\\n { value: 16.57509909118, text: '启示' },\\n { value: 14.51638170122, text: '信仰' },\\n { value: 13.8190015297, text: '理性' },\\n { value: 10.5684731418, text: '观感' },\\n { value: 12.57964972316, text: '地球' },\\n { value: 12.45583951066, text: '太阳' },\\n { value: 11.39201164604, text: '运行' },\\n { value: 14.35128801962, text: '物体' },\\n { value: 11.18052531558, text: '状态' },\\n { value: 10.0505300503, text: '轴心' },\\n { value: 9.56994431169, text: '星球' },\\n { value: 9.29550746599, text: '感官' },\\n { value: 21.52693202943, text: '物体' },\\n { value: 7.36834335975, text: '宇宙' },\\n { value: 22.44204817149, text: '上帝' },\\n { value: 12.1089181827, text: '主宰世界' },\\n { value: 10.8096351986, text: '牵线' },\\n { value: 10.6818018271, text: '自然法则' },\\n { value: 18.59101493198, text: '感官' },\\n { value: 15.51728049278, text: '心灵' },\\n { value: 10.1394775363, text: '任何事物' },\\n { value: 14.95161725614, text: '哲学家' },\\n { value: 13.78796485028, text: '感受' },\\n { value: 10.3743171274, text: '天主' },\\n { value: 10.2117981979, text: '质料' },\\n { value: 9.14102377386, text: '存在' },\\n { value: 14.96136544766, text: '上帝' },\\n { value: 14.35850390238, text: '头顶' },\\n { value: 12.5143832909, text: '因果律' },\\n { value: 11.0674643079, text: '根植' },\\n { value: 16.20923980242, text: '大自然' },\\n { value: 13.10258821671, text: '世界' },\\n { value: 11.3865516372, text: '物质' },\\n { value: 10.1164880181, text: '无休止' },\\n { value: 13.10258821671, text: '世界' },\\n { value: 11.23942650284, text: '精神' },\\n { value: 10.1394775363, text: '脚踏实地' },\\n { value: 26.6063055869, text: '阶段' },\\n { value: 13.0408437271, text: '真实' },\\n { value: 10.48883682488, text: '是否' },\\n { value: 17.0798274558, text: '物质' },\\n { value: 11.739204307083542, text: '新的' },\\n { value: 11.23942650284, text: '精神' },\\n { value: 10.4471578861, text: '改变' },\\n { value: 10.21443458184, text: '造成' },\\n { value: 16.20923980242, text: '一艘' },\\n { value: 15.07529909688, text: '航行' },\\n { value: 11.739204307083542, text: '人则' },\\n { value: 11.7034530746, text: '物竞天择' },\\n { value: 10.5684731418, text: '适者生存' },\\n { value: 19.89886786678, text: '潜意识' },\\n { value: 12.76848869812, text: '意识' },\\n];\\nexport default () => ;\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.jsx\"\n},\n context: {\n \"react\": wordcloud_demo_0_deps_0,\n \"@antv/gpt-vis\": wordcloud_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'wordcloud-demo-1': {\n component: React.memo(React.lazy(async function() {\n const { Bubble: Bubble } = await import('@ant-design/x');\nconst { WordCloud: WordCloud, withChartCode: withChartCode, ChartType: ChartType, GPTVisLite: GPTVisLite } = await import('@antv/gpt-vis');\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst markdownContent = `\n ~~~vis-chart\n {\n \"type\": \"word-cloud\",\n \"data\": [\n { \"value\": 9, \"text\": \"AntV\" },\n { \"value\": 8, \"text\": \"F2\" },\n { \"value\": 8, \"text\": \"G2\" },\n { \"value\": 8, \"text\": \"G6\" },\n { \"value\": 8, \"text\": \"DataSet\" },\n { \"value\": 8, \"text\": \"墨者学院\" },\n { \"value\": 6, \"text\": \"Analysis\" },\n { \"value\": 6, \"text\": \"Data Mining\" },\n { \"value\": 6, \"text\": \"Data Vis\" },\n { \"value\": 6, \"text\": \"Design\" },\n { \"value\": 6, \"text\": \"Grammar\" },\n { \"value\": 6, \"text\": \"Graphics\" },\n { \"value\": 6, \"text\": \"Graph\" },\n { \"value\": 6, \"text\": \"Hierarchy\" },\n { \"value\": 6, \"text\": \"Labeling\" },\n { \"value\": 6, \"text\": \"Layout\" },\n { \"value\": 6, \"text\": \"Quantitative\" },\n { \"value\": 6, \"text\": \"Relation\" },\n { \"value\": 6, \"text\": \"Statistics\" },\n { \"value\": 6, \"text\": \"可视化\" },\n { \"value\": 6, \"text\": \"数据\" },\n { \"value\": 6, \"text\": \"数据可视化\" }\n ]\n }\n~~~`;\nconst CodeComponent = withChartCode({\n components: {\n [ChartType.WordCloud]: WordCloud\n },\n style: {\n width: 400\n }\n});\nconst RenderMarkdown = (content)=>/*#__PURE__*/ React.createElement(GPTVisLite, {\n components: {\n code: CodeComponent\n }\n }, content);\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n placement: \"end\",\n content: \"以词云图可视化我的数据\",\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp'\n },\n styles: {\n content: {\n background: '#ebebeb'\n }\n }\n }), /*#__PURE__*/ React.createElement(Bubble, {\n content: markdownContent,\n messageRender: RenderMarkdown,\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n }));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"wordcloud-demo-1\",\n \"refAtomIds\": [\n \"WordCloud\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { WordCloud, withChartCode, ChartType, GPTVisLite } from '@antv/gpt-vis';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst markdownContent = `\\n ~~~vis-chart\\n {\\n \\\"type\\\": \\\"word-cloud\\\",\\n \\\"data\\\": [\\n { \\\"value\\\": 9, \\\"text\\\": \\\"AntV\\\" },\\n { \\\"value\\\": 8, \\\"text\\\": \\\"F2\\\" },\\n { \\\"value\\\": 8, \\\"text\\\": \\\"G2\\\" },\\n { \\\"value\\\": 8, \\\"text\\\": \\\"G6\\\" },\\n { \\\"value\\\": 8, \\\"text\\\": \\\"DataSet\\\" },\\n { \\\"value\\\": 8, \\\"text\\\": \\\"墨者学院\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Analysis\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Data Mining\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Data Vis\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Design\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Grammar\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Graphics\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Graph\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Hierarchy\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Labeling\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Layout\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Quantitative\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Relation\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"Statistics\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"可视化\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"数据\\\" },\\n { \\\"value\\\": 6, \\\"text\\\": \\\"数据可视化\\\" }\\n ]\\n }\\n~~~`;\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.WordCloud]: WordCloud },\\n style: { width: 400 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => {\\n return (\\n
\\n \\n \\n
\\n );\\n};\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": wordcloud_demo_1_deps_0,\n \"@antv/gpt-vis\": wordcloud_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?watch=parent';\n export const texts = [{\"value\":\"词云图通过把文本中常出现的关键词放大,让用户更容易找到重要信息。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"word-cloud\\\",\\n \\\"data\\\": [\\n { \\\"value\\\": 11.739204307083542, \\\"text\\\": \\\"水是\\\" },\\n { \\\"value\\\": 9.23723855786, \\\"text\\\": \\\"之源\\\" },\\n { \\\"value\\\": 7.75434839431, \\\"text\\\": \\\"万物\\\" },\\n { \\\"value\\\": 11.3865516372, \\\"text\\\": \\\"物质\\\" },\\n { \\\"value\\\": 7.75434839431, \\\"text\\\": \\\"万物\\\" },\\n { \\\"value\\\": 5.83541244308, \\\"text\\\": \\\"创造\\\" },\\n { \\\"value\\\": 4.27215339948, \\\"text\\\": \\\"形成\\\" }\\n ]\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"WordCloudDataItem[]\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"title\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"图表的标题\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"text\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"文本\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"value\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"词频\",\"paraId\":3,\"tocIndex\":7}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"qRAKa,6CAAA,kCALK,eACX,wBAEkC,qBACA,aAClC,IAAM,EAAQ,CACnB,mBAAoB,CAClB,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,iBACnC,GAAM,CAAE,QAAS,CAAK,CAAE,CAAG,MAAM,uEAC7B,CAAE,UAAW,CAAS,CAAE,CAAG,MAAM,kLACjC,EAAO,CACT,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,mBACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,oBACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,mBACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,mBACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,aACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,eACP,KAAM,oBACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,oBACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,oBACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,oBACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,mBACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,eACP,KAAM,cACV,EACA,CACI,MAAO,mBACP,KAAM,cACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO,cACP,KAAM,0BACV,EACA,CACI,MAAO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AAW,CAAC,EAAE,CAAC,MAAQ,SAAS,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,+ECOttD,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/91fd6521-async.88e73380.js b/91fd6521-async.88e73380.js new file mode 100644 index 0000000..a6285b7 --- /dev/null +++ b/91fd6521-async.88e73380.js @@ -0,0 +1,54 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["91fd6521"],{"1d926a75":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var a=n("a2e753d8");n("79c44ed8");var r=n("df67f0d6");let u={code:(0,r.withChartCode)({languageRenderers:{"my-ui":({children:e})=>(0,a.jsx)("div",{style:{backgroundColor:"#f0f0f0",padding:"10px"},children:e})},components:{[r.ChartType.Pie]:r.Pie}})},d=` +\`\`\`my-ui +my data ... +\`\`\` + +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +\`\`\` +`;var i=()=>(0,a.jsx)(r.GPTVisLite,{components:u,children:d});},"37903e7a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8");n("fc305c7d");var r=n("df67f0d6");let u=`# GPT-VIS + +Components for GPTs, generative AI, and LLM projects. Not only UI Components. + +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +\`\`\` +`;var d=()=>(0,a.jsx)(r.GPTVis,{children:u});},"56c0d1a6":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var a=n("a2e753d8");n("b447189d");var r=n("df67f0d6");let u={a(e){let{href:t,children:n}=e;return(0,a.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",style:{textDecoration:"#2b8afe wavy underline"},children:n});},em(e){let{node:t,...n}=e;return(0,a.jsx)("b",{style:{background:"#f0f489",fontWeight:"bold"},...n});},code:(0,r.withDefaultChartCode)()},d=` +# Haidilao's Food Delivery Revenue (2013-2022) + +Here\u{2019}s a visualization of [Haidilao](/)'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years. + +\`\`\`vis-chart +{ + "type": "line", + "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}] +} +\`\`\` +`;var i=()=>(0,a.jsx)(r.GPTVisLite,{components:u,children:d});},"9c07645c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var a=n("a2e753d8");n("0247468d");var r=n("df67f0d6"),u=n("9d065c04");let d={code:(0,r.withChartCode)({languageRenderers:{"my-ui":({children:e})=>{let t=(0,r.useEventPublish)();return(0,a.jsxs)("div",{style:{backgroundColor:"#f0f0f0",padding:"10px"},children:[(0,a.jsx)("p",{children:e}),(0,a.jsx)("button",{onClick:()=>{t("xxxclick",{});},type:"button",children:"click"})]});}},components:{}})},i=` +\`\`\`my-ui +my ui data ... +\`\`\` +`;var l=()=>{let[e,t]=(0,u.useState)(0);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:["count: ",e]}),(0,a.jsx)(r.GPTVisLite,{eventSubs:{xxxclick:e=>{console.log("data: ",e),t(e=>e+1);}},components:d,children:i})]});};},b316d85b:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{MyContext:function(){return i;},default:function(){return s;},useMyContext:function(){return l;}});var a=n("852bbaa9"),r=n("a2e753d8");n("b62c491c");var u=n("df67f0d6"),d=a._(n("9d065c04"));let i=d.default.createContext(null);function l(){let e=d.default.useContext(i);if(void 0===e||0===Object.keys(e).length)throw Error("useMyContext must be used within a MyContext.Provider");return e;}let o={code:(0,u.withChartCode)({languageRenderers:{"my-ui":({children:e})=>{let t=l();return console.log("context: ",t),(0,r.jsxs)("div",{style:{backgroundColor:"#f0f0f0",padding:"10px"},children:[(0,r.jsx)("p",{children:e}),(0,r.jsx)("button",{onClick:null==t?void 0:t.onClick,type:"button",children:"click"})]});}},components:{}})},c=` +\`\`\`my-ui +my ui data ... +\`\`\` +`;var s=()=>{let[e,t]=(0,d.useState)(0),n=(0,d.useCallback)(()=>{console.log("handleClick"),t(e=>e+1);},[]),a=(0,d.useMemo)(()=>({count:e,onClick:n}),[e]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("p",{children:["count: ",e]}),(0,r.jsx)(i.Provider,{value:a,children:(0,r.jsx)("div",{children:(0,r.jsx)("div",{children:(0,r.jsx)(u.GPTVisLite,{components:o,children:c})})})})]});};},df67f0d6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ConfigProvider:function(){return i.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var a=n("d1751d7c"),r=n("777fffbe"),u=n("852bbaa9");a._(n("5639510f"),t),a._(n("d382b880"),t);var d=n("a574afdb"),i=r._(n("a7265236")),l=r._(n("2c69d5f6")),o=u._(n("033b3748")),c=r._(n("7cf1dc46"));},e7bada6d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"Source",{enumerable:!0,get:function(){return r.default;}});var a=n("d1751d7c"),r=n("777fffbe")._(n("b00709ad"));a._(n("5e2dda25"),t),a._(n("969efd31"),t),a._(n("f21af0e0"),t),a._(n("33eda958"),t),a._(n("112b9a67"),t),a._(n("a45613fd"),t),a._(n("432777ba"),t);}}]); +//# sourceMappingURL=91fd6521-async.88e73380.js.map \ No newline at end of file diff --git a/91fd6521-async.88e73380.js.map b/91fd6521-async.88e73380.js.map new file mode 100644 index 0000000..b705359 --- /dev/null +++ b/91fd6521-async.88e73380.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/GPTVis/demos/code.tsx?techStack=react","src/GPTVis/demos/default.tsx?techStack=react","src/GPTVis/demos/tag.tsx?techStack=react","src/GPTVis/demos/event.tsx?techStack=react","src/GPTVis/demos/context-provider.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/code.tsx?watch=parent';import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { ChartType, GPTVisLite, Pie, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\n/**\n * 自定义代码块渲染器\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n return
{children}
;\n};\nconst customRenderers = { 'my-ui': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers, // register custom block renderer\n components: { [ChartType.Pie]: Pie }, // register a pie chart\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy data ...\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n\\`\\`\\`\n`;\nexport default () => {content};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/default.tsx?watch=parent';import { GPTVis } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst content = `# GPT-VIS \\n\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n\\`\\`\\`\n`;\n\nexport default () => {\n return {content};\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/tag.tsx?watch=parent';import { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst components = {\n // Rewrite `a` style\n a(props: any) {\n const { href, children } = props;\n return (\n \n {children}\n \n );\n },\n // Rewrite `em`s (`*like so*`) to `i` with a color.\n em(props: any) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { node, ...rest } = props;\n return (\n \n );\n },\n code: withDefaultChartCode(),\n};\n\nconst content = `\n# Haidilao's Food Delivery Revenue (2013-2022)\n\nHere’s a visualization of [Haidilao](/)'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"line\",\n \"data\": [{\"time\":2013,\"value\":59.3},{\"time\":2014,\"value\":64.4},{\"time\":2015,\"value\":68.9},{\"time\":2016,\"value\":74.4},{\"time\":2017,\"value\":82.7},{\"time\":2018,\"value\":91.9},{\"time\":2019,\"value\":99.1},{\"time\":2020,\"value\":101.6},{\"time\":2021,\"value\":114.4},{\"time\":2022,\"value\":121}]\n}\n\\`\\`\\`\n`;\nexport default () => {content};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/event.tsx?watch=parent';import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { GPTVisLite, useEventPublish, withChartCode } from '@antv/gpt-vis';\nimport React, { useState } from 'react';\n\n/**\n * 自定义代码块渲染器\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n const eventPublish = useEventPublish();\n return (\n
\n

{children}

\n {\n eventPublish('xxxclick', {});\n }}\n type=\"button\"\n >\n click\n \n
\n );\n};\nconst customRenderers = { 'my-ui': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers,\n components: {},\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy ui data ...\n\\`\\`\\`\n`;\nexport default () => {\n const [count, setCount] = useState(0);\n const onClick = (data: any) => {\n console.log('data: ', data);\n setCount((pre) => pre + 1);\n // do something\n };\n\n return (\n <>\n

count: {count}

\n \n {content}\n \n \n );\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/demos/context-provider.tsx?watch=parent';import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport { GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React, { useCallback, useMemo, useState } from 'react';\n\nexport const MyContext = React.createContext(null as any);\n\nexport function useMyContext() {\n const context = React.useContext(MyContext);\n if (context === undefined || Object.keys(context).length === 0) {\n throw new Error(`useMyContext must be used within a MyContext.Provider`);\n }\n\n return context;\n}\n\n/**\n * 自定义代码块渲染器\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n const context = useMyContext();\n console.log('context: ', context);\n return (\n
\n

{children}

\n \n
\n );\n};\nconst customRenderers = { 'my-ui': MyUIRenderer };\nconst components = {\n code: withChartCode({\n languageRenderers: customRenderers, // register custom block renderer\n components: {},\n }),\n};\n\nconst content = `\n\\`\\`\\`my-ui\nmy ui data ...\n\\`\\`\\`\n`;\n\nexport default () => {\n const [count, setCount] = useState(0);\n const handleClick = useCallback(() => {\n console.log('handleClick');\n setCount((pre) => pre + 1);\n // do something\n }, []);\n const context = useMemo(() => ({ count: count, onClick: handleClick }), [count]);\n\n return (\n <>\n

count: {count}

\n \n
\n {/* other component ... */}\n
\n {/* other component ... */}\n {content}\n
\n
\n
\n \n );\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAqCA,+CAAA,4BArCO,oBACmD,YAU1D,IAAM,EAAa,CACjB,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AG,EAAE,EACC,EAAU,GAAA,SAAO,EAAC,IAAO,CAAA,CAAE,MAAO,EAAO,QAAS,CAAY,CAAA,EAAI,CAAC,EAAM,EAE/E,MACE,iCACE,WAAC,eAAE,UAAQ,KACX,UAAC,EAAU,QAAQ,EAAC,MAAO,WACzB,UAAC,gBAEC,UAAC,gBAEC,UAAC,YAAU,EAAC,WAAY,WAAa,aAMjD,gFC1DoB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/9644f4c5-async.a43648c1.js b/9644f4c5-async.a43648c1.js new file mode 100644 index 0000000..9e9d13b --- /dev/null +++ b/9644f4c5-async.a43648c1.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9644f4c5"],{"9644f4c5":function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var l=s("777fffbe"),n=s("a2e753d8"),r=l._(s("1b472ae8")),a=l._(s("49f20ac6")),i=s("5ca000fa"),c=l._(s("9b3f9685")),h=s("9d065c04");function t(){let{texts:e}=(0,i.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"treemap-\u77E9\u9635\u6811\u56FE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#treemap-\u77E9\u9635\u6811\u56FE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Treemap \u77E9\u9635\u6811\u56FE"]}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,n.jsx)(i.DumiDemo,{demo:{id:"treemap-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Treemap/demos/common.tsx"}}),(0,n.jsx)(i.DumiDemo,{demo:{id:"treemap-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Treemap/demos/markdown.tsx"}}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"spec",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,n.jsx)(r.default,{lang:"json",children:e[0].value}),(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)("h3",{id:"treemapprops",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#treemapprops",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"TreemapProps"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[1].value}),(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value}),(0,n.jsx)("th",{children:e[5].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[6].value}),(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:e[8].value}),(0,n.jsx)("td",{children:e[9].value}),(0,n.jsx)("td",{children:e[10].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[11].value}),(0,n.jsx)("td",{children:e[12].value}),(0,n.jsx)("td",{children:e[13].value}),(0,n.jsx)("td",{children:e[14].value}),(0,n.jsx)("td",{children:e[15].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[16].value}),(0,n.jsx)("td",{children:e[17].value}),(0,n.jsx)("td",{children:e[18].value}),(0,n.jsx)("td",{children:e[19].value}),(0,n.jsxs)("td",{children:[e[20].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[21].value})]})]})]})]}),(0,n.jsxs)("h3",{id:"treenode",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#treenode",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"TreeNode"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[22].value}),(0,n.jsx)("th",{children:e[23].value}),(0,n.jsx)("th",{children:e[24].value}),(0,n.jsx)("th",{children:e[25].value}),(0,n.jsx)("th",{children:e[26].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[27].value}),(0,n.jsx)("td",{children:e[28].value}),(0,n.jsx)("td",{children:e[29].value}),(0,n.jsx)("td",{children:e[30].value}),(0,n.jsx)("td",{children:e[31].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[32].value}),(0,n.jsx)("td",{children:e[33].value}),(0,n.jsx)("td",{children:e[34].value}),(0,n.jsx)("td",{children:e[35].value}),(0,n.jsx)("td",{children:e[36].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[37].value}),(0,n.jsx)("td",{children:e[38].value}),(0,n.jsx)("td",{children:e[39].value}),(0,n.jsx)("td",{children:e[40].value}),(0,n.jsx)("td",{children:e[41].value})]})]})]})]})]});}var x=function(){return(0,n.jsx)(i.DumiPage,{children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(c.default,{}),children:(0,n.jsx)(t,{})})});};}}]); +//# sourceMappingURL=9644f4c5-async.a43648c1.js.map \ No newline at end of file diff --git a/9644f4c5-async.a43648c1.js.map b/9644f4c5-async.a43648c1.js.map new file mode 100644 index 0000000..d52f2ea --- /dev/null +++ b/9644f4c5-async.a43648c1.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Treemap/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Treemap 矩阵树图\"}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"TreemapProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}

{\"TreeNode\"}

{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA6CA,+CAAA,kDAxCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,6CAAe,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,6CAAgB,UAAC,QAAK,UAAU,qBAAwB,sCAAoB,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EAChT,KAAQ,CACN,GAAM,qBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,8BACd,IACG,UAAC,UAAQ,EACZ,KAAQ,CACN,GAAM,uBACR,EACA,eAAkB,CAChB,MAAS,qCACT,SAAY,gCACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,U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AAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACtqE,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/98c9eb00-async.459c3929.js b/98c9eb00-async.459c3929.js new file mode 100644 index 0000000..f5aee94 --- /dev/null +++ b/98c9eb00-async.459c3929.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["98c9eb00"],{93844310:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"components",{enumerable:!0,get:function(){return o;}});let o=null;},"98c9eb00":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return v;}});var o=n("852bbaa9"),s=n("a2e753d8"),a=o._(n("9d065c04")),i=n("5ca000fa"),l=n("1806108e"),r=n("d41c46b6"),u=n("93844310"),c=n("cbdf8a81");let d={},p={name:"@antv/gpt-vis",description:"Components for GPTs, generative AI, and LLM projects. Not only UI Components.",version:"0.4.0",license:"MIT",repository:{type:"git",url:"https://github.com/antvis/GPT-Vis"},author:"antvis"},m="browser",h=void 0,f={footer:'Open-source MIT Licensed | Copyright \xa9 2024\n
\nPowered by AntV',prefersColor:{default:"light",switch:!1},nprogress:!0,lastUpdated:!0,name:"GPT-Vis",logo:"https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png",socialLinks:{github:"https://github.com/antvis/GPT-Vis"},sourceLink:"https://github.com/antvis/GPT-Vis/tree/HEAD/{fileName}#L{line}",editLink:"https://github.com/antvis/GPT-Vis/edit/HEAD/{filename}"};function v(){let e=(0,i.useOutlet)(),[t,n]=(0,a.useState)(!1),o=(0,a.useRef)(i.history.location.pathname);(0,a.useEffect)(()=>i.history.listen(e=>{e.location.pathname!==o.current&&(o.current=e.location.pathname,document.documentElement.scrollTo(0,0));}),[]);let v=a.default.useMemo(()=>{let e={pkg:p,historyType:m,entryExports:d,demos:null,components:u.components,locales:c.locales,loading:t,setLoading:n,hostname:h,themeConfig:f,_2_level_nav_available:!0};return Object.defineProperty(e,"demos",{get:()=>((0,l.warning)(!1,"`demos` return empty in latest version, please use `useDemo` instead."),{})}),e;},[p,m,d,u.components,c.locales,t,n,h,f,!0]);return(0,s.jsx)(r.SiteContext.Provider,{value:v,children:e});}}}]); +//# sourceMappingURL=98c9eb00-async.459c3929.js.map \ No newline at end of file diff --git a/98c9eb00-async.459c3929.js.map b/98c9eb00-async.459c3929.js.map new file mode 100644 index 0000000..0e60b98 --- /dev/null +++ b/98c9eb00-async.459c3929.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[".dumi/tmp-production/dumi/meta/atoms.ts",".dumi/tmp-production/dumi/theme/ContextWrapper.tsx"],"sourcesContent":["// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport const components = null;\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nimport React, { useState, useEffect, useRef } from 'react';\nimport { useOutlet, history } from 'dumi';\nimport { warning } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/rc-util@5.44.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util';\nimport { SiteContext, type ISiteContext } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/theme-api/context.js';\nimport { components } from '../meta/atoms';\nimport { locales } from '../locales/config';\n\n\n\nconst entryExports = {\n};\n\n// Static content\nconst pkg = {\"name\":\"@antv/gpt-vis\",\"description\":\"Components for GPTs, generative AI, and LLM projects. Not only UI Components.\",\"version\":\"0.4.0\",\"license\":\"MIT\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/antvis/GPT-Vis\"},\"author\":\"antvis\"};\nconst historyType = \"browser\";\nconst hostname = undefined;\nconst themeConfig = {\"footer\":\"Open-source MIT Licensed | Copyright © 2024\\n
\\nPowered by AntV\",\"prefersColor\":{\"default\":\"light\",\"switch\":false},\"nprogress\":true,\"lastUpdated\":true,\"name\":\"GPT-Vis\",\"logo\":\"https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png\",\"socialLinks\":{\"github\":\"https://github.com/antvis/GPT-Vis\"},\"sourceLink\":\"https://github.com/antvis/GPT-Vis/tree/HEAD/{fileName}#L{line}\",\"editLink\":\"https://github.com/antvis/GPT-Vis/edit/HEAD/{filename}\"};\nconst _2_level_nav_available = true;\n\nexport default function DumiContextWrapper() {\n const outlet = useOutlet();\n const [loading, setLoading] = useState(false);\n const prev = useRef(history.location.pathname);\n\n useEffect(() => {\n return history.listen((next) => {\n if (next.location.pathname !== prev.current) {\n prev.current = next.location.pathname;\n\n // scroll to top when route changed\n document.documentElement.scrollTo(0, 0);\n }\n });\n }, []);\n\n const context: ISiteContext = React.useMemo(() => {\n const ctx = {\n pkg,\n historyType,\n entryExports,\n demos: null,\n components,\n locales,\n loading,\n setLoading,\n hostname,\n themeConfig,\n _2_level_nav_available,\n };\n\n // Proxy do not warning since `Object.keys` will get nothing to loop\n Object.defineProperty(ctx, 'demos', {\n get: () => {\n warning(false, '`demos` return empty in latest version, please use `useDemo` instead.');\n return {};\n },\n });\n\n return ctx;\n }, [\n pkg,\n historyType,\n entryExports,\n components,\n locales,\n loading,\n setLoading,\n hostname,\n themeConfig,\n _2_level_nav_available,\n ]);\n\n return (\n \n {outlet}\n \n );\n}\n"],"names":[],"mappings":"6PAGa,kDAAA,MAAN,IAAM,EAAa,oFCmB1B,+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AqD5B,EAED,MACE,UAAC,aAAW,CAAC,QAAQ,EAAC,MAAO,WAC1B,IAGP"} \ No newline at end of file diff --git a/9924af32-async.b146e594.js b/9924af32-async.b146e594.js new file mode 100644 index 0000000..fc1a731 --- /dev/null +++ b/9924af32-async.b146e594.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9924af32"],{"9924af32":function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var i=s("777fffbe"),l=s("a2e753d8"),n=i._(s("1b472ae8")),a=i._(s("49f20ac6")),r=s("5ca000fa"),h=i._(s("9b3f9685")),c=s("9d065c04");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h1",{id:"pie-\u997C\u56FE",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pie-\u997C\u56FE",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Pie \u997C\u56FE"]}),(0,l.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,l.jsx)(r.DumiDemoGrid,{items:[{demo:{id:"pie-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Pie/demos/common.tsx"}},{demo:{id:"pie-demo-markdown"},previewerProps:{description:"

\u6DFB\u52A0 innerRadius \u5C5E\u6027\u4FEE\u6539\u997C\u56FE\u5185\u534A\u5F84\uFF0C\u8BBE\u7F6E\u4E3A\u73AF\u56FE

",title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Pie/demos/markdown.tsx"}}]}),(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h2",{id:"spec",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,l.jsx)(n.default,{lang:"json",children:e[0].value}),(0,l.jsxs)("h2",{id:"api",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,l.jsxs)("h3",{id:"pieprops",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pieprops",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"PieProps"]}),(0,l.jsxs)(a.default,{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:e[1].value}),(0,l.jsx)("th",{children:e[2].value}),(0,l.jsx)("th",{children:e[3].value}),(0,l.jsx)("th",{children:e[4].value}),(0,l.jsx)("th",{children:e[5].value})]})}),(0,l.jsxs)("tbody",{children:[(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[6].value}),(0,l.jsx)("td",{children:e[7].value}),(0,l.jsx)("td",{children:e[8].value}),(0,l.jsx)("td",{children:e[9].value}),(0,l.jsx)("td",{children:e[10].value})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[11].value}),(0,l.jsx)("td",{children:e[12].value}),(0,l.jsx)("td",{children:e[13].value}),(0,l.jsx)("td",{children:e[14].value}),(0,l.jsx)("td",{children:e[15].value})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[16].value}),(0,l.jsx)("td",{children:e[17].value}),(0,l.jsx)("td",{children:e[18].value}),(0,l.jsx)("td",{children:e[19].value}),(0,l.jsx)("td",{children:e[20].value})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[21].value}),(0,l.jsx)("td",{children:e[22].value}),(0,l.jsx)("td",{children:e[23].value}),(0,l.jsx)("td",{children:e[24].value}),(0,l.jsxs)("td",{children:[e[25].value,(0,l.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[26].value})]})]})]})]}),(0,l.jsxs)("h3",{id:"piedataitem",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#piedataitem",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"PieDataItem"]}),(0,l.jsxs)(a.default,{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:e[27].value}),(0,l.jsx)("th",{children:e[28].value}),(0,l.jsx)("th",{children:e[29].value}),(0,l.jsx)("th",{children:e[30].value}),(0,l.jsx)("th",{children:e[31].value})]})}),(0,l.jsxs)("tbody",{children:[(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[32].value}),(0,l.jsx)("td",{children:e[33].value}),(0,l.jsx)("td",{children:e[34].value}),(0,l.jsx)("td",{children:e[35].value}),(0,l.jsx)("td",{children:e[36].value})]}),(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[37].value}),(0,l.jsx)("td",{children:e[38].value}),(0,l.jsx)("td",{children:e[39].value}),(0,l.jsx)("td",{children:e[40].value}),(0,l.jsx)("td",{children:e[41].value})]})]})]})]})]});}var x=function(){return(0,l.jsx)(r.DumiPage,{children:(0,l.jsx)(c.Suspense,{fallback:(0,l.jsx)(h.default,{}),children:(0,l.jsx)(t,{})})});};}}]); +//# sourceMappingURL=9924af32-async.b146e594.js.map \ No newline at end of file diff --git a/9924af32-async.b146e594.js.map b/9924af32-async.b146e594.js.map new file mode 100644 index 0000000..b819227 --- /dev/null +++ b/9924af32-async.b146e594.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Pie/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Pie 饼图\"}

{\"代码演示\"}

添加 innerRadius 属性修改饼图内半径,设置为环图

\",\n \"title\": \"使用 Markdown 协议\",\n \"filename\": \"src/Pie/demos/markdown.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"PieProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}

{\"PieDataItem\"}

{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"+PA8CA,+CAAA,kDAzCuB,qBACL,iBAGW,oBAGA,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,6BAAS,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,6BAAU,UAAC,QAAK,UAAU,qBAAwB,sBAAc,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,cAAY,EAAC,MAAO,CAAC,CAC3S,KAAQ,CACN,GAAM,iBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,0BACd,CACF,EAAG,CACD,KAAQ,CACN,GAAM,mBACR,EACA,eAAkB,CAChB,YAAe,6HACf,MAAS,qCACT,SAAY,4BACd,CACF,EAAE,GAAI,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,gBAAQ,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,gBAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,gBAAO,UAAC,QAAK,UAAU,qBAAwB,SAAW,WAAC,MAAG,GAAG,qBAAW,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qBAAY,UAAC,QAAK,UAAU,qBAAwB,cAAgB,WAAC,SAAK,YAAC,UAAC,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null +++ b/9ca060df-async.87010b6a.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9ca060df"],{"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return d.default;},Bubble:function(){return o.default;},Conversations:function(){return l.default;},Prompts:function(){return s.default;},Sender:function(){return u.default;},Suggestion:function(){return i.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return p.default;},XProvider:function(){return v.default;},XRequest:function(){return I.default;},XStream:function(){return b.default;},useXAgent:function(){return m.default;},useXChat:function(){return f.default;},version:function(){return r.default;}});var t=a("777fffbe"),r=t._(a("61551e8a")),d=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),l=t._(a("11781cbc")),s=t._(a("5a025bc4")),c=t._(a("e2d1bf07")),i=t._(a("d0c39811")),p=t._(a("0176aebf")),v=t._(a("8b35f51f")),f=t._(a("92b2492a")),m=t._(a("1e122ed0")),b=t._(a("470d5fd8")),I=t._(a("e0f10014"));},"55a6292c":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("85edf161");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Radar, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u96F7\u8FBE\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "radar",\n "data": [\n { "name": "Vitamin C", "value": 7 },\n { "name": "Fiber", "value": 6 },\n { "name": "Sugar", "value": 5 },\n { "name": "Protein", "value": 4 },\n { "name": "Iron", "value": 3 },\n { "name": "Calcium", "value": 2 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Radar]: Radar },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"63070af8":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("9e0e4e69");var t="import { Radar } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { name: '\u6C9F\u901A\u80FD\u529B', value: 2 },\n { name: '\u534F\u4F5C\u80FD\u529B', value: 3 },\n { name: '\u9886\u5BFC\u80FD\u529B', value: 2 },\n { name: '\u5B66\u4E60\u80FD\u529B', value: 5 },\n { name: '\u521B\u65B0\u80FD\u529B', value: 6 },\n { name: '\u6280\u672F\u80FD\u529B', value: 9 },\n];\n\nexport default () => {\n return ;\n};\n";},"672db773":function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return l;}});var r=a("852bbaa9"),d=r._(a("9d065c04"));a("d04dc6e7");var u=r._(a("df67f0d6")),o=r._(a("1c5d635b"));let l={"radar-demo-common":{component:d.default.memo(d.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5f38bc1e")]).then(a.dr(t,a.bind(a,"938cfb3d"))))),asset:{type:"BLOCK",id:"radar-demo-common",refAtomIds:["Radar"],dependencies:{"index.tsx":{type:"FILE",value:a("63070af8").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":u,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"radar-demo-markdown":{component:d.default.memo(d.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5f38bc1e")]).then(a.dr(t,a.bind(a,"e7f49784"))))),asset:{type:"BLOCK",id:"radar-demo-markdown",refAtomIds:["Radar"],dependencies:{"index.tsx":{type:"FILE",value:a("55a6292c").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"radar-demo-category":{component:d.default.memo(d.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5f38bc1e")]).then(a.dr(t,a.bind(a,"12614c0e"))))),asset:{type:"BLOCK",id:"radar-demo-category",refAtomIds:["Radar"],dependencies:{"index.tsx":{type:"FILE",value:a("7c054c57").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5206\u7EC4\u96F7\u8FBE\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165 group \u5B57\u6BB5"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},"7c054c57":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("10bd6db2");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Radar, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u96F7\u8FBE\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "radar",\n "data": [\n { "group": "Apple", "name": "Vitamin C", "value": 5 },\n { "group": "Apple", "name": "Fiber", "value": 7 },\n { "group": "Apple", "name": "Sugar", "value": 6 },\n { "group": "Apple", "name": "Protein", "value": 2 },\n { "group": "Apple", "name": "Iron", "value": 3 },\n { "group": "Apple", "name": "Calcium", "value": 2 },\n { "group": "Banana", "name": "Vitamin C", "value": 4 },\n { "group": "Banana", "name": "Fiber", "value": 5 },\n { "group": "Banana", "name": "Sugar", "value": 7 },\n { "group": "Banana", "name": "Protein", "value": 3 },\n { "group": "Banana", "name": "Iron", "value": 2 },\n { "group": "Banana", "name": "Calcium", "value": 3 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Radar]: Radar },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},a35b3c59:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("d04dc6e7");let t=[{value:'{\n "type": "radar",\n "data": [\n { "name": "\u6C9F\u901A\u80FD\u529B", "value": 2 },\n { "name": "\u534F\u4F5C\u80FD\u529B", "value": 3 },\n { "name": "\u9886\u5BFC\u80FD\u529B", "value": 2 },\n { "name": "\u5B66\u4E60\u80FD\u529B", "value": 5 },\n { "name": "\u521B\u65B0\u80FD\u529B", "value": 6 },\n { "name": "\u6280\u672F\u80FD\u529B", "value": 9 }\n ]\n}\n',paraId:0,tocIndex:5},{value:"\u5C5E\u6027",paraId:1,tocIndex:7},{value:"\u7C7B\u578B",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:7},{value:"\u8BF4\u660E",paraId:1,tocIndex:7},{value:"data",paraId:1,tocIndex:7},{value:"RadarDataItem[]",paraId:1,tocIndex:7},{value:"\u662F",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u6570\u636E",paraId:1,tocIndex:7},{value:"title",paraId:1,tocIndex:7},{value:"string",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:7},{value:"...",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:7},{value:"Ant Design Charts ",paraId:1,tocIndex:7},{value:"\u5C5E\u6027",paraId:2,tocIndex:8},{value:"\u7C7B\u578B",paraId:2,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:8},{value:"\u8BF4\u660E",paraId:2,tocIndex:8},{value:"name",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u5206\u7C7B\u540D\u79F0",paraId:2,tocIndex:8},{value:"value",paraId:2,tocIndex:8},{value:"number",paraId:2,tocIndex:8},{value:"\u662F",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u7684\u503C",paraId:2,tocIndex:8},{value:"group",paraId:2,tocIndex:8},{value:"string",paraId:2,tocIndex:8},{value:"\u5426",paraId:2,tocIndex:8},{value:"-",paraId:2,tocIndex:8},{value:"\u6570\u636E\u5206\u7EC4\u540D\u79F0",paraId:2,tocIndex:8}];},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),r=a("777fffbe"),d=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=r._(a("a7265236")),l=r._(a("2c69d5f6")),s=d._(a("033b3748")),c=r._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return r.default;}});var t=a("d1751d7c"),r=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);}}]); +//# sourceMappingURL=9ca060df-async.87010b6a.js.map \ No newline at end of file diff --git a/9ca060df-async.87010b6a.js.map b/9ca060df-async.87010b6a.js.map new file mode 100644 index 0000000..fd150b2 --- /dev/null +++ b/9ca060df-async.87010b6a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Radar/demos/markdown.tsx?dumi-raw","src/Radar/demos/common.tsx?dumi-raw","src/Radar/index.md?type=demo","src/Radar/demos/category.tsx?dumi-raw","src/Radar/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Radar, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个雷达图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"radar\\\",\\n \\\"data\\\": [\\n { \\\"name\\\": \\\"Vitamin C\\\", \\\"value\\\": 7 },\\n { \\\"name\\\": \\\"Fiber\\\", \\\"value\\\": 6 },\\n { \\\"name\\\": \\\"Sugar\\\", \\\"value\\\": 5 },\\n { \\\"name\\\": \\\"Protein\\\", \\\"value\\\": 4 },\\n { \\\"name\\\": \\\"Iron\\\", \\\"value\\\": 3 },\\n { \\\"name\\\": \\\"Calcium\\\", \\\"value\\\": 2 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Radar]: Radar },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/common.tsx?watch=parent';\n export default \"import { Radar } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { name: '沟通能力', value: 2 },\\n { name: '协作能力', value: 3 },\\n { name: '领导能力', value: 2 },\\n { name: '学习能力', value: 5 },\\n { name: '创新能力', value: 6 },\\n { name: '技术能力', value: 9 },\\n];\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/index.md?watch=parent';\nimport * as radar_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as radar_demo_common_deps_2 from 'react';\nimport * as radar_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'radar-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Radar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"radar-demo-common\",\n \"refAtomIds\": [\n \"Radar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": radar_demo_common_deps_1,\n \"react\": radar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'radar-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Radar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"radar-demo-markdown\",\n \"refAtomIds\": [\n \"Radar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": radar_demo_markdown_deps_1,\n \"@antv/gpt-vis\": radar_demo_common_deps_1,\n \"react\": radar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'radar-demo-category': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Radar__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/category.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"radar-demo-category\",\n \"refAtomIds\": [\n \"Radar\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/category.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"分组雷达图\",\n \"description\": \"在 data 中传入 group 字段\"\n},\n context: {\n \"@ant-design/x\": radar_demo_markdown_deps_1,\n \"@antv/gpt-vis\": radar_demo_common_deps_1,\n \"react\": radar_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/demos/category.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Radar, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个雷达图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"radar\\\",\\n \\\"data\\\": [\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Vitamin C\\\", \\\"value\\\": 5 },\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Fiber\\\", \\\"value\\\": 7 },\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Sugar\\\", \\\"value\\\": 6 },\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Protein\\\", \\\"value\\\": 2 },\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Iron\\\", \\\"value\\\": 3 },\\n { \\\"group\\\": \\\"Apple\\\", \\\"name\\\": \\\"Calcium\\\", \\\"value\\\": 2 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Vitamin C\\\", \\\"value\\\": 4 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Fiber\\\", \\\"value\\\": 5 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Sugar\\\", \\\"value\\\": 7 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Protein\\\", \\\"value\\\": 3 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Iron\\\", \\\"value\\\": 2 },\\n { \\\"group\\\": \\\"Banana\\\", \\\"name\\\": \\\"Calcium\\\", \\\"value\\\": 3 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Radar]: Radar },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"radar\\\",\\n \\\"data\\\": [\\n { \\\"name\\\": \\\"沟通能力\\\", \\\"value\\\": 2 },\\n { \\\"name\\\": \\\"协作能力\\\", \\\"value\\\": 3 },\\n { \\\"name\\\": \\\"领导能力\\\", \\\"value\\\": 2 },\\n { \\\"name\\\": \\\"学习能力\\\", \\\"value\\\": 5 },\\n { \\\"name\\\": \\\"创新能力\\\", \\\"value\\\": 6 },\\n { \\\"name\\\": \\\"技术能力\\\", \\\"value\\\": 9 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"RadarDataItem[]\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"name\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据分类名称\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据的值\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"group\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"数据分组名称\",\"paraId\":2,\"tocIndex\":8}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS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AW,CAAC,EAAE,CAAC,MAAQ,QAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAS,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,uCAAS,OAAS,EAAE,SAAW,CAAC,EAAE,+ECOl+D,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/9d065c04-async.015e6159.js b/9d065c04-async.015e6159.js new file mode 100644 index 0000000..05fa310 --- /dev/null +++ b/9d065c04-async.015e6159.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9d065c04"],{"9d065c04":function(s,e,i){"use strict";s.exports=i("a1056416");}}]); +//# sourceMappingURL=9d065c04-async.015e6159.js.map \ No newline at end of file diff --git a/9d065c04-async.015e6159.js.map b/9d065c04-async.015e6159.js.map new file mode 100644 index 0000000..f4a4df7 --- /dev/null +++ b/9d065c04-async.015e6159.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n"],"names":[],"mappings":"6MAAA,aAGE,EAAO,OAAO,CAAG,EAAQ"} \ No newline at end of file diff --git a/9e8e2db3-async.04485fc6.js b/9e8e2db3-async.04485fc6.js new file mode 100644 index 0000000..ae383a4 --- /dev/null +++ b/9e8e2db3-async.04485fc6.js @@ -0,0 +1,39 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9e8e2db3"],{"1c5d635b":function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.e(t,{Attachments:function(){return r.default;},Bubble:function(){return v.default;},Conversations:function(){return d.default;},Prompts:function(){return x.default;},Sender:function(){return n.default;},Suggestion:function(){return u.default;},ThoughtChain:function(){return l.default;},Welcome:function(){return o.default;},XProvider:function(){return c.default;},XRequest:function(){return f.default;},XStream:function(){return m.default;},useXAgent:function(){return _.default;},useXChat:function(){return p.default;},version:function(){return a.default;}});var s=i("777fffbe"),a=s._(i("61551e8a")),r=s._(i("150d8a7a")),n=s._(i("013e81db")),v=s._(i("d161127f")),d=s._(i("11781cbc")),x=s._(i("5a025bc4")),l=s._(i("e2d1bf07")),u=s._(i("d0c39811")),o=s._(i("0176aebf")),c=s._(i("8b35f51f")),p=s._(i("92b2492a")),_=s._(i("1e122ed0")),m=s._(i("470d5fd8")),f=s._(i("e0f10014"));},"2350397c":function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.d(t,"default",{enumerable:!0,get:function(){return l;}});var s=i("a2e753d8");i("b6e067d8");var a=i("87653f76"),r=i("1c5d635b"),n=i("df67f0d6");let v=` +DAU \u{662F} 1.23\u{4EBF}\u{FF0C}\u{73AF}\u{6BD4}\u{6628}\u{65E5} 80\u{4E07}(2.3%)\u{FF0C}\u{5EFA}\u{8BAE}\u{4FDD}\u{6301}\u{5173}\u{6CE8}\u{3002} +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},x=e=>(0,s.jsx)(n.GPTVis,{components:{"vis-text":n.VisText},children:e});var l=()=>(0,s.jsx)(n.ConfigProvider,{components:{VisText:{__statics:{"icon:antd-up":a.CaretUpOutlined,"icon:antd-down":a.CaretDownOutlined},delta_value_pos:{color:"#13A8A8",prefix:"icon:antd-up"},delta_value_neg:{color:"#FA541C",prefix:"icon:antd-down"},ratio_value_pos:{color:"#13A8A8",prefix:"\u2191"},ratio_value_neg:{color:"#FA541C",prefix:"\u2193"},action_recommendation:{backgroundColor:"antiquewhite"}}},children:(0,s.jsx)("div",{style:d,children:(0,s.jsx)(r.Bubble,{content:v,messageRender:x,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})})});},"23d9a848":function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.d(t,"default",{enumerable:!0,get:function(){return v;}});var s=i("a2e753d8");i("af12e3a0");var a=i("df67f0d6"),r=i("64f5d8fc"),n=i("5ca000fa"),v=()=>{let[e]=(0,n.usePrefersColor)();return(0,s.jsx)(r.ConfigProvider,{theme:{algorithm:"dark"===e?r.theme.darkAlgorithm:r.theme.defaultAlgorithm},children:(0,s.jsxs)(r.Descriptions,{bordered:!0,column:2,size:"small",children:[(0,s.jsx)(r.Descriptions.Item,{label:"\u6307\u6807\u540D metric_name",children:(0,s.jsx)(a.VisText,{type:"metric_name",children:"DAU"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u6307\u6807\u503C metric_value",children:(0,s.jsx)(a.VisText,{type:"metric_value",origin:9012334,children:"90.1w"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u5176\u4ED6\u6307\u6807 other_metric_value",children:(0,s.jsx)(a.VisText,{type:"other_metric_value",children:"30%"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u5DEE\u503C delta_value",children:(0,s.jsxs)(r.Space,{children:[(0,s.jsx)(a.VisText,{type:"delta_value_pos",children:"100.33"}),(0,s.jsx)(a.VisText,{type:"delta_value_neg",children:"100.33"})]})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u6BD4\u7387 ratio_value",children:(0,s.jsxs)(r.Space,{children:[(0,s.jsx)(a.VisText,{type:"ratio_value_pos",children:"30%"}),(0,s.jsx)(a.VisText,{type:"ratio_value_neg",children:"30%"})]})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u8D21\u732E\u5EA6 contribute_ratio",children:(0,s.jsx)(a.VisText,{type:"contribute_ratio",children:"20%"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u8D8B\u52BF\u63CF\u8FF0 trend_desc",children:(0,s.jsx)(a.VisText,{type:"trend_desc",origin:[1,2,6,18,24,48],children:"\u8D8B\u52BF\u4E0A\u6DA8"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u7EF4\u5EA6\u503C dim_value",children:(0,s.jsx)(a.VisText,{type:"dim_value",children:"\u676D\u5DDE"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u65F6\u95F4\u63CF\u8FF0 time_desc",children:(0,s.jsx)(a.VisText,{type:"time_desc",children:"2021-10-11"})}),(0,s.jsx)(r.Descriptions.Item,{label:"\u5360\u6BD4 proportion",children:(0,s.jsx)(a.VisText,{type:"proportion",children:"30%"})})]})});};},"461b7564":function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.d(t,"default",{enumerable:!0,get:function(){return o;}});var s=i("777fffbe"),a=i("a2e753d8");i("b89f5729");var r=i("1c5d635b"),n=i("df67f0d6"),v=s._(i("7375b7a9"));let d=` +\`\`\`weather +{ + "locationName": "Hangzhou", + "temperature": 11.4, + "humidity": 82, + "wind": 6.8, + "cloudiness": 75, + "uv": "0.2 of 11" +} +\`\`\` + +In Hangzhou, the current weather is as follows: +- The temperature is 11.4\xb0C, humidity is 82%, and wind speed is 6.8 kph. +- There's 75% cloud cover, and the UV index is very low at 0.2 out of 11. +- This indicates cool, humid conditions with overcast skies and minimal UV exposure. +`,x={weather:v.default},l={code:(0,n.withChartCode)({languageRenderers:x})},u={display:"grid",gridGap:"20px 0",padding:20,borderRadius:8};var o=()=>(0,a.jsxs)("div",{style:u,children:[(0,a.jsx)(r.Bubble,{placement:"end",content:"How is the weather today?"}),(0,a.jsx)(r.Bubble,{content:(0,a.jsx)(n.GPTVisLite,{components:l,children:d})})]});},aae43095:function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.d(t,"default",{enumerable:!0,get:function(){return o;}});var s=i("777fffbe"),a=i("a2e753d8");i("1c9d0536");var r=i("1c5d635b"),n=i("df67f0d6"),v=s._(i("a7601adf"));let d=v.default.p` + font-size: 12px; + opacity: 0.88; +`,x=` +### \u{51B3}\u{7B56}\u{6570}\u{91CF}: +\u{672C}\u{6708}\u{5171}\u{4EA7}\u{751F}\u{51B3}\u{7B56}\u{6570}\u{91CF}2,783\u{4E2A}\u{FF0C}\u{73AF}\u{6BD4}\u{589E}\u{957F}15.2%\u{FF0C}\u{540C}\u{6BD4}\u{589E}\u{957F}23.5%\u{3002}\u{5176}\u{4E2D}\u{FF0C}\u{8425}\u{9500}\u{90E8}\u{95E8}\u{8D21}\u{732E}\u{6700}\u{591A}\u{FF0C}\u{5360}\u{6BD4}38.7%\u{FF1B}\u{5176}\u{6B21}\u{662F}\u{4EA7}\u{54C1}\u{90E8}\u{95E8}\u{FF0C}\u{5360}\u{6BD4}27.3%\u{3002}\u{9AD8}\u{4F18}\u{5148}\u{7EA7}\u{51B3}\u{7B56}\u{5360}\u{6BD4}56.2%\u{FF0C}\u{8F83}\u{4E0A}\u{6708}\u{4E0A}\u{5347}3.8\u{4E2A}\u{767E}\u{5206}\u{70B9}\u{3002}\u{51B3}\u{7B56}\u{6570}\u{91CF}\u{5448}\u{73B0}\u{7A33}\u{5B9A}\u{4E0A}\u{5347}\u{8D8B}\u{52BF}\u{FF0C}\u{9884}\u{8BA1}\u{4E0B}\u{6708}\u{5C06}\u{7A81}\u{7834}3,000\u{5927}\u{5173}\u{3002} + +### \u{51B3}\u{7B56}\u{51C6}\u{786E}\u{7387}: +\u{672C}\u{6708}\u{6574}\u{4F53}\u{51B3}\u{7B56}\u{51C6}\u{786E}\u{7387}\u{4E3A}87.6%\u{FF0C}\u{73AF}\u{6BD4}\u{4E0B}\u{964D}1.2\u{4E2A}\u{767E}\u{5206}\u{70B9}\u{FF0C}\u{4F46}\u{4ECD}\u{9AD8}\u{4E8E}\u{5E74}\u{5EA6}\u{76EE}\u{6807}2.6%\u{3002}\u{8D22}\u{52A1}\u{90E8}\u{95E8}\u{8868}\u{73B0}\u{6700}\u{4F73}\u{FF0C}\u{51C6}\u{786E}\u{7387}\u{8FBE}94.3%\u{FF1B}\u{4EBA}\u{529B}\u{8D44}\u{6E90}\u{90E8}\u{95E8}\u{8868}\u{73B0}\u{6B20}\u{4F73}\u{FF0C}\u{51C6}\u{786E}\u{7387}\u{4E3A}76.8%\u{FF0C}\u{5EFA}\u{8BAE}\u{52A0}\u{5F3A}\u{57F9}\u{8BAD}\u{3002}\u{6570}\u{636E}\u{9A71}\u{52A8}\u{578B}\u{51B3}\u{7B56}\u{7684}\u{51C6}\u{786E}\u{7387}\u{FF08}91.2%\u{FF09}\u{663E}\u{8457}\u{9AD8}\u{4E8E}\u{7ECF}\u{9A8C}\u{9A71}\u{52A8}\u{578B}\u{51B3}\u{7B56}\u{FF08}82.4%\u{FF09}\u{FF0C}\u{51F8}\u{663E}\u{4E86}\u{6570}\u{636E}\u{5206}\u{6790}\u{7684}\u{91CD}\u{8981}\u{6027}\u{3002} + +### \u{51B3}\u{7B56}\u{6267}\u{884C}\u{7387}: +\u{672C}\u{6708}\u{51B3}\u{7B56}\u{6267}\u{884C}\u{7387}\u{4E3A}82.3%\u{FF0C}\u{73AF}\u{6BD4}\u{63D0}\u{5347}5.7\u{4E2A}\u{767E}\u{5206}\u{70B9}\u{FF0C}\u{521B}\u{4E0B}\u{8FD1}6\u{4E2A}\u{6708}\u{65B0}\u{9AD8}\u{3002}\u{5176}\u{4E2D}\u{FF0C}\u{9AD8}\u{4F18}\u{5148}\u{7EA7}\u{51B3}\u{7B56}\u{6267}\u{884C}\u{7387}\u{8FBE}95.6%\u{FF0C}\u{4F4E}\u{4F18}\u{5148}\u{7EA7}\u{51B3}\u{7B56}\u{6267}\u{884C}\u{7387}\u{4EC5}\u{4E3A}68.7%\u{3002}\u{6280}\u{672F}\u{90E8}\u{95E8}\u{7684}\u{6267}\u{884C}\u{7387}\u{6700}\u{9AD8}\u{FF0C}\u{8FBE}91.2%\u{FF1B}\u{5E02}\u{573A}\u{90E8}\u{95E8}\u{6700}\u{4F4E}\u{FF0C}\u{4E3A}74.5%\u{3002}\u{5EFA}\u{8BAE}\u{5173}\u{6CE8}\u{5E02}\u{573A}\u{90E8}\u{95E8}\u{7684}\u{51B3}\u{7B56}\u{6267}\u{884C}\u{969C}\u{788D}\u{FF0C}\u{63D0}\u{4F9B}\u{5FC5}\u{8981}\u{652F}\u{6301}\u{3002} + +### \u{51B3}\u{7B56}\u{6536}\u{76CA}: +\u{672C}\u{6708}\u{51B3}\u{7B56}\u{6536}\u{76CA}\u{5E26}\u{6765}\u{7684}\u{603B}\u{6536}\u{76CA}\u{4E3A}1,275\u{4E07}\u{5143}\u{FF0C}\u{540C}\u{6BD4}\u{589E}\u{957F}31.8%\u{FF0C}\u{8D85}\u{51FA}\u{9884}\u{671F}18.6%\u{3002}\u{4EA7}\u{54C1}\u{51B3}\u{7B56}\u{8D21}\u{732E}\u{6700}\u{5927}\u{FF0C}\u{5360}\u{603B}\u{6536}\u{76CA}\u{7684}42.3%\u{FF1B}\u{5176}\u{6B21}\u{662F}\u{8425}\u{9500}\u{51B3}\u{7B56}\u{FF0C}\u{5360}27.6%\u{3002}\u{9AD8}\u{98CE}\u{9669}\u{51B3}\u{7B56}\u{7684}\u{5E73}\u{5747}\u{6536}\u{76CA}\u{FF08}87.3\u{4E07}\u{5143}/\u{4E2A}\u{FF09}\u{663E}\u{8457}\u{9AD8}\u{4E8E}\u{4F4E}\u{98CE}\u{9669}\u{51B3}\u{7B56}\u{FF08}23.1\u{4E07}\u{5143}/\u{4E2A}\u{FF09}\u{3002}\u{5EFA}\u{8BAE}\u{5728}\u{98CE}\u{9669}\u{53EF}\u{63A7}\u{7684}\u{524D}\u{63D0}\u{4E0B}\u{FF0C}\u{9002}\u{5F53}\u{589E}\u{52A0}\u{9AD8}\u{6536}\u{76CA}\u{6F5C}\u{529B}\u{7684}\u{51B3}\u{7B56}\u{6BD4}\u{4F8B}\u{3002} + +### \u{6570}\u{636E}\u{8D28}\u{91CF}: +\u{672C}\u{6708}\u{6570}\u{636E}\u{8D28}\u{91CF}\u{8BC4}\u{5206}\u{4E3A}88.5\u{5206}\u{FF08}\u{6EE1}\u{5206}100\u{5206}\u{FF09}\u{FF0C}\u{73AF}\u{6BD4}\u{63D0}\u{5347}\u{63D0}\u{5347}2.3\u{5206}\u{3002}\u{6570}\u{636E}\u{5B8C}\u{6574}\u{6027}\u{FF08}93.2\u{5206}\u{FF09}\u{548C}\u{53CA}\u{65F6}\u{6027}\u{FF08}91.7\u{5206}\u{FF09}\u{8868}\u{73B0}\u{4F18}\u{5F02}\u{FF0C}\u{800C}\u{51C6}\u{786E}\u{6027}\u{FF08}84.6\u{5206}\u{FF09}\u{548C}\u{4E00}\u{81F4}\u{6027}\u{FF08}82.5\u{5206}\u{FF09}\u{4ECD}\u{6709}\u{63D0}\u{5347}\u{7A7A}\u{95F4}\u{3002}\u{8D22}\u{52A1}\u{6570}\u{636E}\u{8D28}\u{91CF}\u{6700}\u{9AD8}\u{FF0C}\u{8FBE}95.3\u{5206}\u{FF1B}\u{7528}\u{6237}\u{884C}\u{4E3A}\u{6570}\u{636E}\u{8D28}\u{91CF}\u{6700}\u{4F4E}\u{FF0C}\u{4E3A}81.2\u{5206}\u{3002}\u{5EFA}\u{8BAE}\u{4F18}\u{5316}\u{7528}\u{6237}\u{884C}\u{4E3A}\u{6570}\u{636E}\u{91C7}\u{96C6}\u{6D41}\u{7A0B}\u{FF0C}\u{63D0}\u{9AD8}\u{6570}\u{636E}\u{51C6}\u{786E}\u{6027}\u{548C}\u{4E00}\u{81F4}\u{6027}\u{3002} + +`,l={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},u=e=>(0,a.jsx)(n.GPTVis,{components:{"vis-text":n.VisText,p:d},children:e});var o=()=>(0,a.jsx)("div",{style:l,children:(0,a.jsx)(r.Bubble,{content:x,messageRender:u,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})});},df67f0d6:function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.e(t,{ConfigProvider:function(){return v.default;},GPTVis:function(){return d.default;},GPTVisLite:function(){return x.default;},useEventPublish:function(){return x.useEventPublish;},version:function(){return l.default;},withChartCode:function(){return n.withChartCode;},withDefaultChartCode:function(){return n.withDefaultChartCode;}});var s=i("d1751d7c"),a=i("777fffbe"),r=i("852bbaa9");s._(i("5639510f"),t),s._(i("d382b880"),t);var n=i("a574afdb"),v=a._(i("a7265236")),d=a._(i("2c69d5f6")),x=r._(i("033b3748")),l=a._(i("7cf1dc46"));},e7bada6d:function(e,t,i){"use strict";i.d(t,"__esModule",{value:!0}),i.d(t,"Source",{enumerable:!0,get:function(){return a.default;}});var s=i("d1751d7c"),a=i("777fffbe")._(i("b00709ad"));s._(i("5e2dda25"),t),s._(i("969efd31"),t),s._(i("f21af0e0"),t),s._(i("33eda958"),t),s._(i("112b9a67"),t),s._(i("a45613fd"),t),s._(i("432777ba"),t);}}]); +//# sourceMappingURL=9e8e2db3-async.04485fc6.js.map \ No newline at end of file diff --git a/9e8e2db3-async.04485fc6.js.map b/9e8e2db3-async.04485fc6.js.map new file mode 100644 index 0000000..a660c4a --- /dev/null +++ b/9e8e2db3-async.04485fc6.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Text/demos/custom-markdown.tsx?techStack=react","src/Text/demos/common.tsx?techStack=react","docs/guide/demos/custom-ui.tsx?techStack=react","src/Text/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/custom-markdown.tsx?watch=parent';import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons';\nimport { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ConfigProvider, GPTVis, VisText } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\nDAU1.23亿,环比昨日 80万(2.3%),建议保持关注。\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n \n
\n \n
\n \n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/common.tsx?watch=parent';import { VisText } from '@antv/gpt-vis';\nimport { ConfigProvider, Descriptions, Space, theme } from 'antd';\nimport { usePrefersColor } from 'dumi';\nimport React from 'react';\n\nexport default () => {\n // dumi 文档当前的主题色\n const [color] = usePrefersColor();\n return (\n // 适配 antd 主题。待整体文档 demo 都适配主题后可以删除\n // https://github.com/antvis/GPT-Vis/pull/24\n \n \n \n DAU\n \n \n \n 90.1w\n \n \n \n 30%\n \n \n \n 100.33\n 100.33\n \n \n \n \n 30%\n 30%\n \n \n \n 20%\n \n \n \n 趋势上涨\n \n \n \n 杭州\n \n \n 2021-10-11\n \n \n 30%\n \n \n \n );\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/custom-ui.tsx?watch=parent';import { Bubble } from '@ant-design/x';\nimport { GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\nimport WeatherCard from './WeatherCard';\n\nconst markdownContent = `\n\\`\\`\\`weather\n{\n \"locationName\": \"Hangzhou\",\n \"temperature\": 11.4,\n \"humidity\": 82,\n \"wind\": 6.8,\n \"cloudiness\": 75,\n \"uv\": \"0.2 of 11\"\n}\n\\`\\`\\`\n\nIn Hangzhou, the current weather is as follows:\n- The temperature is 11.4°C, humidity is 82%, and wind speed is 6.8 kph.\n- There's 75% cloud cover, and the UV index is very low at 0.2 out of 11.\n- This indicates cool, humid conditions with overcast skies and minimal UV exposure.\n`;\n\nconst customRenderers = {\n weather: WeatherCard,\n};\nconst components = {\n code: withChartCode({\n // register custom block renderer\n languageRenderers: customRenderers,\n }),\n};\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n padding: 20,\n borderRadius: 8,\n};\n\nexport default () => {\n return (\n
\n \n {markdownContent}} />\n
\n );\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { GPTVis, VisText } from '@antv/gpt-vis';\nimport React from 'react';\nimport styled from 'styled-components';\n\nconst StyledP = styled.p`\n font-size: 12px;\n opacity: 0.88;\n`;\n\nconst markdownContent = `\n### 决策数量:\n本月共产生决策数量2,783个,环比增长15.2%,同比增长23.5%。其中,营销部门贡献最多,占比38.7%;其次是产品部门,占比27.3%高优先级决策占比56.2%,较上月上升3.8个百分点。决策数量呈现稳定上升趋势,预计下月将突破3,000大关。\n\n### 决策准确率:\n本月整体决策准确率87.6%,环比下降1.2个百分点,但仍高于年度目标2.6%财务部门表现最佳,准确率达94.3%人力资源部门表现欠佳,准确率为76.8%,建议加强培训。数据驱动型决策的准确率(91.2%)显著高于经验驱动型决策82.4%),凸显了数据分析的重要性。\n\n### 决策执行率:\n本月决策执行率82.3%,环比提升5.7个百分点,创下近6个月新高。其中,高优先级决策执行率达95.6%低优先级决策执行率仅为68.7%技术部门的执行率最高,达91.2%市场部门最低,为74.5%。建议关注市场部门的决策执行障碍,提供必要支持。\n\n### 决策收益:\n本月决策收益带来的总收益为1,275万元,同比增长31.8%,超出预期18.6%产品决策贡献最大,占总收益的42.3%;其次是营销决策,占27.6%高风险决策的平均收益(87.3万元/个)显著高于低风险决策23.1万元/个)。建议在风险可控的前提下,适当增加高收益潜力的决策比例。\n\n### 数据质量:\n本月数据质量评分为88.5分(满分100分),环比提升提升2.3分。数据完整性93.2分)和及时性91.7分)表现优异,而准确性84.6分)和一致性82.5分)仍有提升空间。财务数据质量最高,达95.3分;用户行为数据质量最低,为81.2分。建议优化用户行为数据采集流程,提高数据准确性一致性。\n\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCQpC,+CAAA,4BArBO,oBAAuI,gBACrG,gBACO,YAGhD,IAAM,EAAkB,CAAC;;AAEzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAA+C,AAAC,GACpD,UAAC,QAAM,EAAC,WAAY,CAAE,WAAY,SAAO,AAAC,WAAI,QAGhD,EAAe,IACb,UAAC,gBAAc,EACb,WAAY,CACV,QAAS,CACP,UAAW,CACT,eAAgB,iBAAe,CAC/B,iBAAkB,mBAAiB,AACrC,EACA,gBAAiB,CACf,MAAO,UACP,OAAQ,cACV,EACA,gBAAiB,CACf,MAAO,UACP,OAAQ,gBACV,EACA,gBAAiB,CACf,MAAO,UACP,OAAQ,QACV,EACA,gBAAiB,CACf,MAAO,UACP,OAAQ,QACV,EACA,sBAAuB,CACrB,gBAAiB,cACnB,CACF,C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,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/9f7aa744-async.71e14206.js b/9f7aa744-async.71e14206.js new file mode 100644 index 0000000..080b5d1 --- /dev/null +++ b/9f7aa744-async.71e14206.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["9f7aa744"],{ea160b80:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return s;}});var o=t("5ca000fa"),r=t("9d065c04"),a=t("3926a2d9"),s=function(){var e=(0,o.useParams)().id,n=(0,o.useDemo)(e),t=(0,a.useRenderer)({id:e,component:n.component,renderOpts:n.renderOpts}).canvasRef,s=n||{},u=s.component,i=s.renderOpts,d=(0,o.useLiveDemo)(e),l=d.node,f=d.setSource,c=d.error,m=d.loading,v=l||(null!=i&&i.renderer?(0,r.createElement)("div",{ref:t}):u&&(0,r.createElement)(u));return(0,r.useEffect)(function(){var e=function(e){"dumi.liveDemo.setSource"===e.data.type&&f(e.data.value);};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e);};},[f]),(0,r.useEffect)(function(){!m&&(c||l)&&window.postMessage({type:"dumi.liveDemo.compileDone",value:{err:c}});},[c,l,m]),v;};}}]); +//# sourceMappingURL=9f7aa744-async.71e14206.js.map \ No newline at end of file diff --git a/9f7aa744-async.71e14206.js.map b/9f7aa744-async.71e14206.js.map new file mode 100644 index 0000000..d5f54b6 --- /dev/null +++ b/9f7aa744-async.71e14206.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/pages/Demo/index.js"],"sourcesContent":["import { useDemo, useLiveDemo, useParams } from 'dumi';\nimport { createElement, useEffect } from 'react';\nimport { useRenderer } from \"../../theme-api/useRenderer\";\nimport \"./index.less\";\nvar DemoRenderPage = function DemoRenderPage() {\n var params = useParams();\n var id = params.id;\n var demo = useDemo(id);\n var _useRenderer = useRenderer({\n id: id,\n component: demo.component,\n renderOpts: demo.renderOpts\n }),\n canvasRef = _useRenderer.canvasRef;\n var _ref = demo || {},\n component = _ref.component,\n renderOpts = _ref.renderOpts;\n var _useLiveDemo = useLiveDemo(id),\n liveDemoNode = _useLiveDemo.node,\n setSource = _useLiveDemo.setSource,\n liveDemoError = _useLiveDemo.error,\n loading = _useLiveDemo.loading;\n var finalNode = liveDemoNode || (renderOpts !== null && renderOpts !== void 0 && renderOpts.renderer ? /*#__PURE__*/createElement('div', {\n ref: canvasRef\n }) : component && /*#__PURE__*/createElement(component));\n\n // listen message event for setSource\n useEffect(function () {\n var handler = function handler(ev) {\n if (ev.data.type === 'dumi.liveDemo.setSource') {\n setSource(ev.data.value);\n }\n };\n window.addEventListener('message', handler);\n return function () {\n return window.removeEventListener('message', handler);\n };\n }, [setSource]);\n\n // notify parent window that compile done\n useEffect(function () {\n if (!loading && (liveDemoError || liveDemoNode)) {\n window.postMessage({\n type: 'dumi.liveDemo.compileDone',\n value: {\n err: liveDemoError\n }\n });\n }\n }, [liveDemoError, liveDemoNode, loading]);\n return finalNode;\n};\nexport default DemoRenderPage;"],"names":[],"mappings":"6PAoDA,+CAAA,cApDgD,gBACP,gBACb,YAkD5B,EAhDqB,WAEnB,IAAI,EAAK,AADI,GAAA,WAAS,IACN,EAAE,CACd,EAAO,GAAA,SAAO,EAAC,GAMjB,EAAY,AALK,GAAA,aAAW,EAAC,CAC3B,GAAI,EACJ,UAAW,EAAK,SAAS,CACzB,WAAY,EAAK,UAAU,AAC7B,GACyB,SAAS,CAChC,EAAO,GAAQ,CAAC,EAClB,EAAY,EAAK,SAAS,CAC1B,EAAa,EAAK,UAAU,CAC1B,EAAe,GAAA,aAAW,EAAC,GAC7B,EAAe,EAAa,IAAI,CAChC,EAAY,EAAa,SAAS,CAClC,EAAgB,EAAa,KAAK,CAClC,EAAU,EAAa,OAAO,CAC5B,EAAY,GAAiB,CAAA,MAAA,GAAgD,EAAW,QAAQ,CAAgB,GAAA,eAAa,EAAC,MAAO,CACvI,IAAK,CACP,GAAK,GAA0B,GAAA,eAAa,EAAC,EAAS,EA0BtD,MAvBA,GAAA,WAAS,EAAC,WACR,IAAI,EAAU,SAAiB,CAAE,EACV,4BAAjB,EAAG,IAAI,CAAC,IAAI,EACd,EAAU,EAAG,IAAI,CAAC,KAAK,EAE3B,EAEA,OADA,OAAO,gBAAgB,CAAC,UAAW,GAC5B,WACL,OAAO,OAAO,mBAAmB,CAAC,UAAW,GAC/C,EACF,EAAG,CAAC,EAAU,EAGd,GAAA,WAAS,EAAC,WACJ,CAAC,GAAY,CAAA,GAAiB,CAAW,GAC3C,OAAO,WAAW,CAAC,CACjB,KAAM,4BACN,MAAO,CACL,IAAK,CACP,CACF,GAEJ,EAAG,CAAC,EAAe,EAAc,EAAQ,EAClC,EACT"} \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..0e50121 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +gpt-vis.antv.vision diff --git a/a09c5581-async.f3b4884c.js b/a09c5581-async.f3b4884c.js new file mode 100644 index 0000000..de7202e --- /dev/null +++ b/a09c5581-async.f3b4884c.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["a09c5581"],{a09c5581:function(e,s,i){"use strict";i.d(s,"__esModule",{value:!0}),i.d(s,"default",{enumerable:!0,get:function(){return h;}});var n=i("777fffbe"),d=i("a2e753d8"),a=n._(i("1b472ae8")),l=n._(i("49f20ac6")),r=i("5ca000fa"),c=n._(i("9b3f9685")),t=i("9d065c04");function x(){let{texts:e}=(0,r.useRouteMeta)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h1",{id:"vistext-\u6587\u672C",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#vistext-\u6587\u672C",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"VisText \u6587\u672C"]}),(0,d.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,d.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,d.jsx)(r.DumiDemo,{demo:{id:"src-text-demo-common"},previewerProps:{filename:"src/Text/demos/common.tsx"}}),(0,d.jsx)("div",{className:"markdown",children:(0,d.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,d.jsx)(r.DumiDemo,{demo:{id:"src-text-demo-markdown"},previewerProps:{filename:"src/Text/demos/markdown.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h3",{id:"\u4F7F\u7528-configprovider-\u5168\u5C40\u914D\u7F6E\u4E2A\u6027\u5316\u5B9A\u5236",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-configprovider-\u5168\u5C40\u914D\u7F6E\u4E2A\u6027\u5316\u5B9A\u5236",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 ConfigProvider \u5168\u5C40\u914D\u7F6E\uFF0C\u4E2A\u6027\u5316\u5B9A\u5236"]}),(0,d.jsxs)("ul",{children:[(0,d.jsx)("li",{children:e[0].value}),(0,d.jsx)("li",{children:e[1].value})]})]}),(0,d.jsx)(r.DumiDemo,{demo:{id:"src-text-demo-custom-markdown"},previewerProps:{filename:"src/Text/demos/custom-markdown.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"api",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,d.jsxs)("h3",{id:"vistextprops",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#vistextprops",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"VisTextProps"]}),(0,d.jsxs)(l.default,{children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:e[2].value}),(0,d.jsx)("th",{children:e[3].value}),(0,d.jsx)("th",{children:e[4].value}),(0,d.jsx)("th",{children:e[5].value}),(0,d.jsx)("th",{children:e[6].value})]})}),(0,d.jsxs)("tbody",{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[7].value}),(0,d.jsx)("td",{children:e[8].value}),(0,d.jsx)("td",{children:e[9].value}),(0,d.jsx)("td",{children:e[10].value}),(0,d.jsx)("td",{children:e[11].value})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[12].value}),(0,d.jsx)("td",{children:e[13].value}),(0,d.jsx)("td",{children:e[14].value}),(0,d.jsx)("td",{children:e[15].value}),(0,d.jsx)("td",{children:e[16].value})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[17].value}),(0,d.jsx)("td",{children:e[18].value}),(0,d.jsx)("td",{children:e[19].value}),(0,d.jsx)("td",{children:e[20].value}),(0,d.jsx)("td",{children:e[21].value})]})]})]}),(0,d.jsxs)("h3",{id:"globalconfigcomponentsvistext",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#globalconfigcomponentsvistext",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"GlobalConfig.components.VisText"]}),(0,d.jsxs)("p",{children:[e[22].value,(0,d.jsx)("code",{children:e[23].value}),e[24].value]}),(0,d.jsx)(a.default,{lang:"tsx",children:e[25].value})]})]});}var h=function(){return(0,d.jsx)(r.DumiPage,{children:(0,d.jsx)(t.Suspense,{fallback:(0,d.jsx)(c.default,{}),children:(0,d.jsx)(x,{})})});};}}]); +//# sourceMappingURL=a09c5581-async.f3b4884c.js.map \ No newline at end of file diff --git a/a09c5581-async.f3b4884c.js.map b/a09c5581-async.f3b4884c.js.map new file mode 100644 index 0000000..1655ea9 --- /dev/null +++ b/a09c5581-async.f3b4884c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Text/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"VisText 文本\"}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"使用 ConfigProvider 全局配置,个性化定制\"}

  • {$$contentTexts[0].value}
  • {$$contentTexts[1].value}

{\"API\"}

{\"VisTextProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}
{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}

{\"GlobalConfig.components.VisText\"}

{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}

{$$contentTexts[25].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAkDA,+CAAA,kDA7CuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iCAAa,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iCAAc,UAAC,QAAK,UAAU,qBAAwB,0BAAkB,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,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null +++ b/a0bdd78c-async.c29075a9.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["a0bdd78c"],{a0bdd78c:function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var r=s("777fffbe"),i=s("a2e753d8"),a=r._(s("d7152fa2")),l=r._(s("49f20ac6")),n=s("5ca000fa"),c=r._(s("9b3f9685")),h=s("9d065c04");function t(){let{texts:e}=(0,n.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h1",{id:"withchartcode-\u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#withchartcode-\u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"withChartCode \u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3"]}),(0,i.jsx)("p",{children:e[0].value})]}),(0,i.jsx)(a.default,{type:"warning",children:(0,i.jsxs)("p",{children:[e[1].value,(0,i.jsx)("code",{children:e[2].value}),e[3].value,(0,i.jsx)("code",{children:e[4].value}),e[5].value,(0,i.jsx)("code",{children:e[6].value}),e[7].value]})}),(0,i.jsx)("div",{className:"markdown",children:(0,i.jsxs)("h2",{id:"\u4F7F\u7528-withchartcode",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-withchartcode",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 withChartCode"]})}),(0,i.jsx)(n.DumiDemo,{demo:{id:"chartcoderender-demo-common"},previewerProps:{filename:"src/ChartCodeRender/demos/common.tsx"}}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"\u4F7F\u7528-withdefaultchartcode",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-withdefaultchartcode",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 withDefaultChartCode"]}),(0,i.jsxs)("p",{children:[(0,i.jsx)("code",{children:e[8].value}),e[9].value,(0,i.jsx)("a",{href:"https://github.com/antvis/GPT-Vis/tree/main/src/export.ts#L76",children:e[10].value}),e[11].value]})]}),(0,i.jsx)(n.DumiDemo,{demo:{id:"chartcoderender-demo-default"},previewerProps:{filename:"src/ChartCodeRender/demos/default.tsx"}}),(0,i.jsx)("div",{className:"markdown",children:(0,i.jsxs)("h2",{id:"\u5728\u6D41\u5F0F\u8F93\u51FA\u4E2D\u4F7F\u7528",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5728\u6D41\u5F0F\u8F93\u51FA\u4E2D\u4F7F\u7528",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u5728\u6D41\u5F0F\u8F93\u51FA\u4E2D\u4F7F\u7528"]})}),(0,i.jsx)(n.DumiDemo,{demo:{id:"chartcoderender-demo-stream"},previewerProps:{filename:"src/ChartCodeRender/demos/stream.tsx"}}),(0,i.jsx)("div",{className:"markdown",children:(0,i.jsxs)("h2",{id:"\u62D3\u5C55\u5176\u4ED6-code-\u7684\u81EA\u5B9A\u4E49\u6E32\u67D3",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u62D3\u5C55\u5176\u4ED6-code-\u7684\u81EA\u5B9A\u4E49\u6E32\u67D3",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u62D3\u5C55\u5176\u4ED6 code \u7684\u81EA\u5B9A\u4E49\u6E32\u67D3"]})}),(0,i.jsx)(n.DumiDemo,{demo:{id:"chartcoderender-demo-extra"},previewerProps:{filename:"src/ChartCodeRender/demos/extra.tsx"}}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"api",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,i.jsxs)("h3",{id:"withchartcodeoptions",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#withchartcodeoptions",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"WithChartCodeOptions"]}),(0,i.jsxs)(l.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[12].value}),(0,i.jsx)("th",{children:e[13].value}),(0,i.jsx)("th",{children:e[14].value}),(0,i.jsx)("th",{children:e[15].value}),(0,i.jsx)("th",{children:e[16].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[17].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[18].value})}),(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value}),(0,i.jsx)("td",{children:e[21].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[22].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[23].value})}),(0,i.jsx)("td",{children:e[24].value}),(0,i.jsx)("td",{children:e[25].value}),(0,i.jsx)("td",{children:e[26].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[27].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[28].value})}),(0,i.jsx)("td",{children:e[29].value}),(0,i.jsx)("td",{children:e[30].value}),(0,i.jsx)("td",{children:e[31].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[32].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[33].value})}),(0,i.jsx)("td",{children:e[34].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[35].value})}),(0,i.jsx)("td",{children:e[36].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[37].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[38].value})}),(0,i.jsx)("td",{children:e[39].value}),(0,i.jsx)("td",{children:e[40].value}),(0,i.jsx)("td",{children:e[41].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[42].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[43].value})}),(0,i.jsx)("td",{children:e[44].value}),(0,i.jsx)("td",{children:e[45].value}),(0,i.jsx)("td",{children:e[46].value})]})]})]})]})]});}var x=function(){return(0,i.jsx)(n.DumiPage,{children:(0,i.jsx)(h.Suspense,{fallback:(0,i.jsx)(c.default,{}),children:(0,i.jsx)(t,{})})});};}}]); +//# sourceMappingURL=a0bdd78c-async.c29075a9.js.map \ No newline at end of file diff --git a/a0bdd78c-async.c29075a9.js.map b/a0bdd78c-async.c29075a9.js.map new file mode 100644 index 0000000..cff21c4 --- /dev/null +++ b/a0bdd78c-async.c29075a9.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ChartCodeRender/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"withChartCode 拓展代码块渲染\"}

{$$contentTexts[0].value}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}{$$contentTexts[7].value}

{\"使用 withChartCode\"}

{\"使用 withDefaultChartCode\"}

{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"在流式输出中使用\"}

{\"拓展其他 code 的自定义渲染\"}

{\"API\"}

{\"WithChartCodeOptions\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAyDA,+CAAA,kDAtDsB,qBAGJ,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,qEAAwB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qEAA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Q,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/a7e230af-async.7b6b5577.js b/a7e230af-async.7b6b5577.js new file mode 100644 index 0000000..b343596 --- /dev/null +++ b/a7e230af-async.7b6b5577.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["a7e230af"],{a7e230af:function(e,d,l){"use strict";l.d(d,"__esModule",{value:!0}),l.d(d,"default",{enumerable:!0,get:function(){return x;}});var s=l("777fffbe"),a=l("a2e753d8"),i=s._(l("1b472ae8")),n=s._(l("49f20ac6")),r=l("5ca000fa"),h=s._(l("9b3f9685")),t=l("9d065c04");function c(){let{texts:e}=(0,r.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"pathmap-\u8DEF\u5F84\u5730\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pathmap-\u8DEF\u5F84\u5730\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"PathMap \u8DEF\u5F84\u5730\u56FE"]}),(0,a.jsx)("p",{children:e[0].value}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,a.jsx)(r.DumiDemoGrid,{items:[{demo:{id:"pathmap-demo-default"},previewerProps:{title:"\u9ED8\u8BA4\u5730\u56FE",filename:"src/PathMap/demos/default.tsx"}},{demo:{id:"pathmap-demo-line"},previewerProps:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F",filename:"src/PathMap/demos/line.tsx"}}]}),(0,a.jsx)(r.DumiDemo,{demo:{id:"pathmap-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/PathMap/demos/markdown.tsx"}}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(i.default,{lang:"json",children:e[1].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"pathmapprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pathmapprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"PathMapProps"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value}),(0,a.jsx)("th",{children:e[6].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:e[8].value}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value}),(0,a.jsx)("td",{children:e[11].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[12].value}),(0,a.jsx)("td",{children:e[13].value}),(0,a.jsx)("td",{children:e[14].value}),(0,a.jsx)("td",{children:e[15].value}),(0,a.jsx)("td",{children:e[16].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[17].value}),(0,a.jsx)("td",{children:e[18].value}),(0,a.jsx)("td",{children:e[19].value}),(0,a.jsx)("td",{children:e[20].value}),(0,a.jsx)("td",{children:e[21].value})]})]})]}),(0,a.jsxs)("h3",{id:"routdata",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#routdata",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"RoutData"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[22].value}),(0,a.jsx)("th",{children:e[23].value}),(0,a.jsx)("th",{children:e[24].value}),(0,a.jsx)("th",{children:e[25].value}),(0,a.jsx)("th",{children:e[26].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[27].value}),(0,a.jsx)("td",{children:e[28].value}),(0,a.jsx)("td",{children:e[29].value}),(0,a.jsx)("td",{children:e[30].value}),(0,a.jsx)("td",{children:e[31].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[32].value}),(0,a.jsx)("td",{children:e[33].value}),(0,a.jsx)("td",{children:e[34].value}),(0,a.jsx)("td",{children:e[35].value}),(0,a.jsx)("td",{children:e[36].value})]})]})]}),(0,a.jsxs)("h3",{id:"polyline",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#polyline",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Polyline"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[37].value}),(0,a.jsx)("th",{children:e[38].value}),(0,a.jsx)("th",{children:e[39].value}),(0,a.jsx)("th",{children:e[40].value}),(0,a.jsx)("th",{children:e[41].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[42].value}),(0,a.jsx)("td",{children:e[43].value}),(0,a.jsx)("td",{children:e[44].value}),(0,a.jsx)("td",{children:e[45].value}),(0,a.jsx)("td",{children:e[46].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[47].value}),(0,a.jsx)("td",{children:e[48].value}),(0,a.jsx)("td",{children:e[49].value}),(0,a.jsx)("td",{children:e[50].value}),(0,a.jsx)("td",{children:e[51].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[52].value}),(0,a.jsx)("td",{children:e[53].value}),(0,a.jsx)("td",{children:e[54].value}),(0,a.jsx)("td",{children:e[55].value}),(0,a.jsx)("td",{children:e[56].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[57].value}),(0,a.jsx)("td",{children:e[58].value}),(0,a.jsx)("td",{children:e[59].value}),(0,a.jsx)("td",{children:e[60].value}),(0,a.jsx)("td",{children:e[61].value})]})]})]}),(0,a.jsxs)("h3",{id:"markerdata",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#markerdata",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"MarkerData"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[62].value}),(0,a.jsx)("th",{children:e[63].value}),(0,a.jsx)("th",{children:e[64].value}),(0,a.jsx)("th",{children:e[65].value}),(0,a.jsx)("th",{children:e[66].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[67].value}),(0,a.jsx)("td",{children:e[68].value}),(0,a.jsx)("td",{children:e[69].value}),(0,a.jsx)("td",{children:e[70].value}),(0,a.jsx)("td",{children:e[71].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[72].value}),(0,a.jsx)("td",{children:e[73].value}),(0,a.jsx)("td",{children:e[74].value}),(0,a.jsx)("td",{children:e[75].value}),(0,a.jsx)("td",{children:e[76].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[77].value}),(0,a.jsx)("td",{children:e[78].value}),(0,a.jsx)("td",{children:e[79].value}),(0,a.jsx)("td",{children:e[80].value}),(0,a.jsx)("td",{children:e[81].value})]})]})]})]})]});}var x=function(){return(0,a.jsx)(r.DumiPage,{children:(0,a.jsx)(t.Suspense,{fallback:(0,a.jsx)(h.default,{}),children:(0,a.jsx)(c,{})})});};}}]); +//# sourceMappingURL=a7e230af-async.7b6b5577.js.map \ No newline at end of file diff --git a/a7e230af-async.7b6b5577.js.map b/a7e230af-async.7b6b5577.js.map new file mode 100644 index 0000000..d7d3fa8 --- /dev/null +++ b/a7e230af-async.7b6b5577.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/PathMap/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"PathMap 路径地图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"PathMapProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}
{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}

{\"RoutData\"}

{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}

{\"Polyline\"}

{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}
{$$contentTexts[57].value}{$$contentTexts[58].value}{$$contentTexts[59].value}{$$contentTexts[60].value}{$$contentTexts[61].value}

{\"MarkerData\"}

{$$contentTexts[62].value}{$$contentTexts[63].value}{$$contentTexts[64].value}{$$contentTexts[65].value}{$$contentTexts[66].value}
{$$contentTexts[67].value}{$$contentTexts[68].value}{$$contentTexts[69].value}{$$contentTexts[70].value}{$$contentTexts[71].value}
{$$contentTexts[72].value}{$$contentTexts[73].value}{$$contentTexts[74].value}{$$contentTexts[75].value}{$$contentTexts[76].value}
{$$contentTexts[77].value}{$$contentTexts[78].value}{$$contentTexts[79].value}{$$contentTexts[80].value}{$$contentTexts[81].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAqDA,+CAAA,kDAhDuB,qBACL,iB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gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAC/1H,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/ab1d009d-async.0a1878cf.js b/ab1d009d-async.0a1878cf.js new file mode 100644 index 0000000..4c2b39c --- /dev/null +++ b/ab1d009d-async.0a1878cf.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["ab1d009d"],{"1c5d635b":function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.e(x,{Attachments:function(){return a.default;},Bubble:function(){return r.default;},Conversations:function(){return u.default;},Prompts:function(){return o.default;},Sender:function(){return d.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return s.default;},XProvider:function(){return i.default;},XRequest:function(){return I.default;},XStream:function(){return p.default;},useXAgent:function(){return v.default;},useXChat:function(){return f.default;},version:function(){return t.default;}});var e=y("777fffbe"),t=e._(y("61551e8a")),a=e._(y("150d8a7a")),d=e._(y("013e81db")),r=e._(y("d161127f")),u=e._(y("11781cbc")),o=e._(y("5a025bc4")),c=e._(y("e2d1bf07")),l=e._(y("d0c39811")),s=e._(y("0176aebf")),i=e._(y("8b35f51f")),f=e._(y("92b2492a")),v=e._(y("1e122ed0")),p=e._(y("470d5fd8")),I=e._(y("e0f10014"));},"36f7c1b2":function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.d(x,"texts",{enumerable:!0,get:function(){return e;}}),y("1dcf9b4f");let e=[{value:'{\n "type": "scatter",\n "data": [\n { "x": 10, "y": 15 },\n { "x": 20, "y": 25 },\n { "x": 30, "y": 35 },\n { "x": 40, "y": 45 }\n ]\n}\n',paraId:0,tocIndex:4},{value:"\u5C5E\u6027",paraId:1,tocIndex:6},{value:"\u7C7B\u578B",paraId:1,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:6},{value:"\u8BF4\u660E",paraId:1,tocIndex:6},{value:"data",paraId:1,tocIndex:6},{value:"ScatterDataItem[]",paraId:1,tocIndex:6},{value:"\u662F",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u6570\u636E",paraId:1,tocIndex:6},{value:"title",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"axisXTitle",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"axisYTitle",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:6},{value:"...",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:6},{value:"Ant Design Charts ",paraId:1,tocIndex:6},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"x",paraId:2,tocIndex:7},{value:"number",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"X \u8F74\u4E0A\u7684\u6570\u503C\u53D8\u91CF",paraId:2,tocIndex:7},{value:"y",paraId:2,tocIndex:7},{value:"number",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"Y \u8F74\u4E0A\u7684\u6570\u503C\u53D8\u91CF",paraId:2,tocIndex:7}];},"60fc5dad":function(n,x,y){"use strict";var e=y("852bbaa9")._;y.d(x,"__esModule",{value:!0}),y.d(x,"demos",{enumerable:!0,get:function(){return u;}});var t=y("852bbaa9"),a=t._(y("9d065c04"));y("1dcf9b4f");var d=t._(y("df67f0d6")),r=t._(y("1c5d635b"));let u={"scatter-demo-common":{component:a.default.memo(a.default.lazy(()=>Promise.all([y.ensure("vendors_3"),y.ensure("common"),y.ensure("vendors_0"),y.ensure("vendors_1"),y.ensure("vendors_2"),y.ensure("285a6620")]).then(y.dr(e,y.bind(y,"7b0756f4"))))),asset:{type:"BLOCK",id:"scatter-demo-common",refAtomIds:["Scatter"],dependencies:{"index.tsx":{type:"FILE",value:y("e854eaa6").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":d,react:a},renderOpts:{compile:async(...n)=>(await Promise.all([y.ensure("vendors_0"),y.ensure("vendors_1"),y.ensure("d030c320")]).then(y.dr(e,y.bind(y,"d030c320")))).default(...n)}},"scatter-demo-markdown":{component:a.default.memo(a.default.lazy(()=>Promise.all([y.ensure("vendors_3"),y.ensure("common"),y.ensure("vendors_0"),y.ensure("vendors_1"),y.ensure("vendors_2"),y.ensure("285a6620")]).then(y.dr(e,y.bind(y,"172709dc"))))),asset:{type:"BLOCK",id:"scatter-demo-markdown",refAtomIds:["Scatter"],dependencies:{"index.tsx":{type:"FILE",value:y("d9840641").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":r,"@antv/gpt-vis":d,react:a},renderOpts:{compile:async(...n)=>(await Promise.all([y.ensure("vendors_0"),y.ensure("vendors_1"),y.ensure("d030c320")]).then(y.dr(e,y.bind(y,"d030c320")))).default(...n)}}};},d9840641:function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.d(x,"default",{enumerable:!0,get:function(){return e;}}),y("39adb226");var e='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, Scatter, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u6563\u70B9\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "scatter",\n "data": [\n { "x": 22, "y": 3000 },\n { "x": 23, "y": 3200 },\n { "x": 24, "y": 3100 },\n { "x": 25, "y": 3500 },\n { "x": 26, "y": 3300 },\n { "x": 27, "y": 3600 },\n { "x": 28, "y": 4000 },\n { "x": 29, "y": 3900 },\n { "x": 30, "y": 4200 },\n { "x": 31, "y": 4100 },\n { "x": 32, "y": 4500 },\n { "x": 33, "y": 4700 },\n { "x": 34, "y": 4600 },\n { "x": 35, "y": 4800 },\n { "x": 36, "y": 5000 },\n { "x": 37, "y": 5200 },\n { "x": 38, "y": 5100 },\n { "x": 39, "y": 5500 },\n { "x": 40, "y": 5300 },\n { "x": 41, "y": 5700 },\n { "x": 42, "y": 5600 },\n { "x": 43, "y": 5900 },\n { "x": 44, "y": 5800 },\n { "x": 45, "y": 6000 },\n { "x": 46, "y": 6100 },\n { "x": 47, "y": 6500 },\n { "x": 48, "y": 6300 },\n { "x": 49, "y": 6700 },\n { "x": 50, "y": 6400 },\n { "x": 51, "y": 6800 },\n { "x": 52, "y": 6900 },\n { "x": 53, "y": 7100 },\n { "x": 54, "y": 7000 },\n { "x": 55, "y": 7300 },\n { "x": 56, "y": 7200 },\n { "x": 57, "y": 7500 },\n { "x": 58, "y": 7400 },\n { "x": 59, "y": 7600 },\n { "x": 60, "y": 7700 },\n { "x": 61, "y": 7900 },\n { "x": 62, "y": 7800 },\n { "x": 63, "y": 8000 },\n { "x": 64, "y": 8100 },\n { "x": 65, "y": 8200 },\n { "x": 66, "y": 8300 },\n { "x": 67, "y": 8500 },\n { "x": 68, "y": 8400 },\n { "x": 69, "y": 8600 },\n { "x": 70, "y": 8700 }\n ],\n "axisXTitle": "age",\n "axisYTitle": "income"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Scatter]: Scatter },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},df67f0d6:function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.e(x,{ConfigProvider:function(){return r.default;},GPTVis:function(){return u.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var e=y("d1751d7c"),t=y("777fffbe"),a=y("852bbaa9");e._(y("5639510f"),x),e._(y("d382b880"),x);var d=y("a574afdb"),r=t._(y("a7265236")),u=t._(y("2c69d5f6")),o=a._(y("033b3748")),c=t._(y("7cf1dc46"));},e7bada6d:function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.d(x,"Source",{enumerable:!0,get:function(){return t.default;}});var e=y("d1751d7c"),t=y("777fffbe")._(y("b00709ad"));e._(y("5e2dda25"),x),e._(y("969efd31"),x),e._(y("f21af0e0"),x),e._(y("33eda958"),x),e._(y("112b9a67"),x),e._(y("a45613fd"),x),e._(y("432777ba"),x);},e854eaa6:function(n,x,y){"use strict";y.d(x,"__esModule",{value:!0}),y.d(x,"default",{enumerable:!0,get:function(){return e;}}),y("9b9608f1");var e="import { Scatter } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n x: 161.2,\n y: 51.6,\n },\n {\n x: 167.5,\n y: 59,\n },\n {\n x: 159.5,\n y: 49.2,\n },\n {\n x: 157,\n y: 63,\n },\n {\n x: 155.8,\n y: 53.6,\n },\n {\n x: 170,\n y: 59,\n },\n {\n x: 159.1,\n y: 47.6,\n },\n {\n x: 166,\n y: 69.8,\n },\n {\n x: 176.2,\n y: 66.8,\n },\n {\n x: 160.2,\n y: 75.2,\n },\n {\n x: 172.5,\n y: 55.2,\n },\n {\n x: 170.9,\n y: 54.2,\n },\n {\n x: 172.9,\n y: 62.5,\n },\n {\n x: 153.4,\n y: 42,\n },\n {\n x: 160,\n y: 50,\n },\n {\n x: 147.2,\n y: 49.8,\n },\n {\n x: 168.2,\n y: 49.2,\n },\n {\n x: 175,\n y: 73.2,\n },\n {\n x: 157,\n y: 47.8,\n },\n {\n x: 167.6,\n y: 68.8,\n },\n {\n x: 159.5,\n y: 50.6,\n },\n {\n x: 175,\n y: 82.5,\n },\n {\n x: 166.8,\n y: 57.2,\n },\n {\n x: 176.5,\n y: 87.8,\n },\n {\n x: 170.2,\n y: 72.8,\n },\n {\n x: 174,\n y: 54.5,\n },\n {\n x: 173,\n y: 59.8,\n },\n {\n x: 179.9,\n y: 67.3,\n },\n {\n x: 170.5,\n y: 67.8,\n },\n {\n x: 160,\n y: 47,\n },\n {\n x: 154.4,\n y: 46.2,\n },\n {\n x: 162,\n y: 55,\n },\n {\n x: 176.5,\n y: 83,\n },\n {\n x: 160,\n y: 54.4,\n },\n {\n x: 152,\n y: 45.8,\n },\n {\n x: 162.1,\n y: 53.6,\n },\n {\n x: 170,\n y: 73.2,\n },\n {\n x: 160.2,\n y: 52.1,\n },\n {\n x: 161.3,\n y: 67.9,\n },\n {\n x: 166.4,\n y: 56.6,\n },\n {\n x: 168.9,\n y: 62.3,\n },\n {\n x: 163.8,\n y: 58.5,\n },\n {\n x: 167.6,\n y: 54.5,\n },\n {\n x: 160,\n y: 50.2,\n },\n {\n x: 161.3,\n y: 60.3,\n },\n {\n x: 167.6,\n y: 58.3,\n },\n {\n x: 165.1,\n y: 56.2,\n },\n {\n x: 160,\n y: 50.2,\n },\n {\n x: 170,\n y: 72.9,\n },\n {\n x: 157.5,\n y: 59.8,\n },\n {\n x: 167.6,\n y: 61,\n },\n {\n x: 160.7,\n y: 69.1,\n },\n {\n x: 163.2,\n y: 55.9,\n },\n {\n x: 152.4,\n y: 46.5,\n },\n {\n x: 157.5,\n y: 54.3,\n },\n {\n x: 168.3,\n y: 54.8,\n },\n {\n x: 180.3,\n y: 60.7,\n },\n {\n x: 165.5,\n y: 60,\n },\n {\n x: 165,\n y: 62,\n },\n {\n x: 164.5,\n y: 60.3,\n },\n {\n x: 156,\n y: 52.7,\n },\n {\n x: 160,\n y: 74.3,\n },\n {\n x: 163,\n y: 62,\n },\n {\n x: 165.7,\n y: 73.1,\n },\n {\n x: 161,\n y: 80,\n },\n {\n x: 162,\n y: 54.7,\n },\n {\n x: 166,\n y: 53.2,\n },\n {\n x: 174,\n y: 75.7,\n },\n {\n x: 172.7,\n y: 61.1,\n },\n {\n x: 167.6,\n y: 55.7,\n },\n {\n x: 151.1,\n y: 48.7,\n },\n {\n x: 164.5,\n y: 52.3,\n },\n {\n x: 163.5,\n y: 50,\n },\n {\n x: 152,\n y: 59.3,\n },\n {\n x: 169,\n y: 62.5,\n },\n {\n x: 164,\n y: 55.7,\n },\n {\n x: 161.2,\n y: 54.8,\n },\n {\n x: 155,\n y: 45.9,\n },\n {\n x: 170,\n y: 70.6,\n },\n {\n x: 176.2,\n y: 67.2,\n },\n {\n x: 170,\n y: 69.4,\n },\n {\n x: 162.5,\n y: 58.2,\n },\n {\n x: 170.3,\n y: 64.8,\n },\n {\n x: 164.1,\n y: 71.6,\n },\n {\n x: 169.5,\n y: 52.8,\n },\n {\n x: 163.2,\n y: 59.8,\n },\n {\n x: 154.5,\n y: 49,\n },\n {\n x: 159.8,\n y: 50,\n },\n {\n x: 173.2,\n y: 69.2,\n },\n {\n x: 170,\n y: 55.9,\n },\n {\n x: 161.4,\n y: 63.4,\n },\n {\n x: 169,\n y: 58.2,\n },\n {\n x: 166.2,\n y: 58.6,\n },\n {\n x: 159.4,\n y: 45.7,\n },\n {\n x: 162.5,\n y: 52.2,\n },\n {\n x: 159,\n y: 48.6,\n },\n {\n x: 162.8,\n y: 57.8,\n },\n {\n x: 159,\n y: 55.6,\n },\n {\n x: 179.8,\n y: 66.8,\n },\n {\n x: 162.9,\n y: 59.4,\n },\n {\n x: 161,\n y: 53.6,\n },\n {\n x: 151.1,\n y: 73.2,\n },\n {\n x: 168.2,\n y: 53.4,\n },\n {\n x: 168.9,\n y: 69,\n },\n {\n x: 173.2,\n y: 58.4,\n },\n {\n x: 171.8,\n y: 56.2,\n },\n {\n x: 178,\n y: 70.6,\n },\n {\n x: 164.3,\n y: 59.8,\n },\n {\n x: 163,\n y: 72,\n },\n {\n x: 168.5,\n y: 65.2,\n },\n {\n x: 166.8,\n y: 56.6,\n },\n {\n x: 172.7,\n y: 105.2,\n },\n {\n x: 163.5,\n y: 51.8,\n },\n {\n x: 169.4,\n y: 63.4,\n },\n {\n x: 167.8,\n y: 59,\n },\n {\n x: 159.5,\n y: 47.6,\n },\n {\n x: 167.6,\n y: 63,\n },\n {\n x: 161.2,\n y: 55.2,\n },\n {\n x: 160,\n y: 45,\n },\n {\n x: 163.2,\n y: 54,\n },\n {\n x: 162.2,\n y: 50.2,\n },\n {\n x: 161.3,\n y: 60.2,\n },\n {\n x: 149.5,\n y: 44.8,\n },\n {\n x: 157.5,\n y: 58.8,\n },\n {\n x: 163.2,\n y: 56.4,\n },\n {\n x: 172.7,\n y: 62,\n },\n {\n x: 155,\n y: 49.2,\n },\n {\n x: 156.5,\n y: 67.2,\n },\n {\n x: 164,\n y: 53.8,\n },\n {\n x: 160.9,\n y: 54.4,\n },\n {\n x: 162.8,\n y: 58,\n },\n {\n x: 167,\n y: 59.8,\n },\n {\n x: 160,\n y: 54.8,\n },\n {\n x: 160,\n y: 43.2,\n },\n {\n x: 168.9,\n y: 60.5,\n },\n {\n x: 158.2,\n y: 46.4,\n },\n {\n x: 156,\n y: 64.4,\n },\n {\n x: 160,\n y: 48.8,\n },\n {\n x: 167.1,\n y: 62.2,\n },\n {\n x: 158,\n y: 55.5,\n },\n {\n x: 167.6,\n y: 57.8,\n },\n {\n x: 156,\n y: 54.6,\n },\n {\n x: 162.1,\n y: 59.2,\n },\n {\n x: 173.4,\n y: 52.7,\n },\n {\n x: 159.8,\n y: 53.2,\n },\n {\n x: 170.5,\n y: 64.5,\n },\n {\n x: 159.2,\n y: 51.8,\n },\n {\n x: 157.5,\n y: 56,\n },\n {\n x: 161.3,\n y: 63.6,\n },\n {\n x: 162.6,\n y: 63.2,\n },\n {\n x: 160,\n y: 59.5,\n },\n {\n x: 168.9,\n y: 56.8,\n },\n {\n x: 165.1,\n y: 64.1,\n },\n {\n x: 162.6,\n y: 50,\n },\n {\n x: 165.1,\n y: 72.3,\n },\n {\n x: 166.4,\n y: 55,\n },\n {\n x: 160,\n y: 55.9,\n },\n {\n x: 152.4,\n y: 60.4,\n },\n {\n x: 170.2,\n y: 69.1,\n },\n {\n x: 162.6,\n y: 84.5,\n },\n {\n x: 170.2,\n y: 55.9,\n },\n {\n x: 158.8,\n y: 55.5,\n },\n {\n x: 172.7,\n y: 69.5,\n },\n {\n x: 167.6,\n y: 76.4,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 167.6,\n y: 65.9,\n },\n {\n x: 156.2,\n y: 58.6,\n },\n {\n x: 175.2,\n y: 66.8,\n },\n {\n x: 172.1,\n y: 56.6,\n },\n {\n x: 162.6,\n y: 58.6,\n },\n {\n x: 160,\n y: 55.9,\n },\n {\n x: 165.1,\n y: 59.1,\n },\n {\n x: 182.9,\n y: 81.8,\n },\n {\n x: 166.4,\n y: 70.7,\n },\n {\n x: 165.1,\n y: 56.8,\n },\n {\n x: 177.8,\n y: 60,\n },\n {\n x: 165.1,\n y: 58.2,\n },\n {\n x: 175.3,\n y: 72.7,\n },\n {\n x: 154.9,\n y: 54.1,\n },\n {\n x: 158.8,\n y: 49.1,\n },\n {\n x: 172.7,\n y: 75.9,\n },\n {\n x: 168.9,\n y: 55,\n },\n {\n x: 161.3,\n y: 57.3,\n },\n {\n x: 167.6,\n y: 55,\n },\n {\n x: 165.1,\n y: 65.5,\n },\n {\n x: 175.3,\n y: 65.5,\n },\n {\n x: 157.5,\n y: 48.6,\n },\n {\n x: 163.8,\n y: 58.6,\n },\n {\n x: 167.6,\n y: 63.6,\n },\n {\n x: 165.1,\n y: 55.2,\n },\n {\n x: 165.1,\n y: 62.7,\n },\n {\n x: 168.9,\n y: 56.6,\n },\n {\n x: 162.6,\n y: 53.9,\n },\n {\n x: 164.5,\n y: 63.2,\n },\n {\n x: 176.5,\n y: 73.6,\n },\n {\n x: 168.9,\n y: 62,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 159.4,\n y: 53.2,\n },\n {\n x: 160,\n y: 53.4,\n },\n {\n x: 170.2,\n y: 55,\n },\n {\n x: 162.6,\n y: 70.5,\n },\n {\n x: 167.6,\n y: 54.5,\n },\n {\n x: 162.6,\n y: 54.5,\n },\n {\n x: 160.7,\n y: 55.9,\n },\n {\n x: 160,\n y: 59,\n },\n {\n x: 157.5,\n y: 63.6,\n },\n {\n x: 162.6,\n y: 54.5,\n },\n {\n x: 152.4,\n y: 47.3,\n },\n {\n x: 170.2,\n y: 67.7,\n },\n {\n x: 165.1,\n y: 80.9,\n },\n {\n x: 172.7,\n y: 70.5,\n },\n {\n x: 165.1,\n y: 60.9,\n },\n {\n x: 170.2,\n y: 63.6,\n },\n {\n x: 170.2,\n y: 54.5,\n },\n {\n x: 170.2,\n y: 59.1,\n },\n {\n x: 161.3,\n y: 70.5,\n },\n {\n x: 167.6,\n y: 52.7,\n },\n {\n x: 167.6,\n y: 62.7,\n },\n {\n x: 165.1,\n y: 86.3,\n },\n {\n x: 162.6,\n y: 66.4,\n },\n {\n x: 152.4,\n y: 67.3,\n },\n {\n x: 168.9,\n y: 63,\n },\n {\n x: 170.2,\n y: 73.6,\n },\n {\n x: 175.2,\n y: 62.3,\n },\n {\n x: 175.2,\n y: 57.7,\n },\n {\n x: 160,\n y: 55.4,\n },\n {\n x: 165.1,\n y: 104.1,\n },\n {\n x: 174,\n y: 55.5,\n },\n {\n x: 170.2,\n y: 77.3,\n },\n {\n x: 160,\n y: 80.5,\n },\n {\n x: 167.6,\n y: 64.5,\n },\n {\n x: 167.6,\n y: 72.3,\n },\n {\n x: 167.6,\n y: 61.4,\n },\n {\n x: 154.9,\n y: 58.2,\n },\n {\n x: 162.6,\n y: 81.8,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 171.4,\n y: 53.4,\n },\n {\n x: 157.5,\n y: 54.5,\n },\n {\n x: 165.1,\n y: 53.6,\n },\n {\n x: 160,\n y: 60,\n },\n {\n x: 174,\n y: 73.6,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 174,\n y: 55.5,\n },\n {\n x: 162.6,\n y: 63.6,\n },\n {\n x: 161.3,\n y: 60.9,\n },\n {\n x: 156.2,\n y: 60,\n },\n {\n x: 149.9,\n y: 46.8,\n },\n {\n x: 169.5,\n y: 57.3,\n },\n {\n x: 160,\n y: 64.1,\n },\n {\n x: 175.3,\n y: 63.6,\n },\n {\n x: 169.5,\n y: 67.3,\n },\n {\n x: 160,\n y: 75.5,\n },\n {\n x: 172.7,\n y: 68.2,\n },\n {\n x: 162.6,\n y: 61.4,\n },\n {\n x: 157.5,\n y: 76.8,\n },\n {\n x: 176.5,\n y: 71.8,\n },\n {\n x: 164.4,\n y: 55.5,\n },\n {\n x: 160.7,\n y: 48.6,\n },\n {\n x: 174,\n y: 66.4,\n },\n {\n x: 163.8,\n y: 67.3,\n },\n {\n x: 174,\n y: 65.6,\n },\n {\n x: 175.3,\n y: 71.8,\n },\n {\n x: 193.5,\n y: 80.7,\n },\n {\n x: 186.5,\n y: 72.6,\n },\n {\n x: 187.2,\n y: 78.8,\n },\n {\n x: 181.5,\n y: 74.8,\n },\n {\n x: 184,\n y: 86.4,\n },\n {\n x: 184.5,\n y: 78.4,\n },\n {\n x: 175,\n y: 62,\n },\n {\n x: 184,\n y: 81.6,\n },\n {\n x: 180,\n y: 76.6,\n },\n {\n x: 177.8,\n y: 83.6,\n },\n {\n x: 192,\n y: 90,\n },\n {\n x: 176,\n y: 74.6,\n },\n {\n x: 174,\n y: 71,\n },\n {\n x: 184,\n y: 79.6,\n },\n {\n x: 192.7,\n y: 93.8,\n },\n {\n x: 171.5,\n y: 70,\n },\n {\n x: 173,\n y: 72.4,\n },\n {\n x: 176,\n y: 85.9,\n },\n {\n x: 176,\n y: 78.8,\n },\n {\n x: 180.5,\n y: 77.8,\n },\n {\n x: 172.7,\n y: 66.2,\n },\n {\n x: 176,\n y: 86.4,\n },\n {\n x: 173.5,\n y: 81.8,\n },\n {\n x: 178,\n y: 89.6,\n },\n {\n x: 180.3,\n y: 82.8,\n },\n {\n x: 180.3,\n y: 76.4,\n },\n {\n x: 164.5,\n y: 63.2,\n },\n {\n x: 173,\n y: 60.9,\n },\n {\n x: 183.5,\n y: 74.8,\n },\n {\n x: 175.5,\n y: 70,\n },\n {\n x: 188,\n y: 72.4,\n },\n {\n x: 189.2,\n y: 84.1,\n },\n {\n x: 172.8,\n y: 69.1,\n },\n {\n x: 170,\n y: 59.5,\n },\n {\n x: 182,\n y: 67.2,\n },\n {\n x: 170,\n y: 61.3,\n },\n {\n x: 177.8,\n y: 68.6,\n },\n {\n x: 184.2,\n y: 80.1,\n },\n {\n x: 186.7,\n y: 87.8,\n },\n {\n x: 171.4,\n y: 84.7,\n },\n {\n x: 172.7,\n y: 73.4,\n },\n {\n x: 175.3,\n y: 72.1,\n },\n {\n x: 180.3,\n y: 82.6,\n },\n {\n x: 182.9,\n y: 88.7,\n },\n {\n x: 188,\n y: 84.1,\n },\n {\n x: 177.2,\n y: 94.1,\n },\n {\n x: 172.1,\n y: 74.9,\n },\n {\n x: 167,\n y: 59.1,\n },\n {\n x: 169.5,\n y: 75.6,\n },\n {\n x: 174,\n y: 86.2,\n },\n {\n x: 172.7,\n y: 75.3,\n },\n {\n x: 182.2,\n y: 87.1,\n },\n {\n x: 164.1,\n y: 55.2,\n },\n {\n x: 163,\n y: 57,\n },\n {\n x: 171.5,\n y: 61.4,\n },\n {\n x: 184.2,\n y: 76.8,\n },\n {\n x: 174,\n y: 86.8,\n },\n {\n x: 174,\n y: 72.2,\n },\n {\n x: 177,\n y: 71.6,\n },\n {\n x: 186,\n y: 84.8,\n },\n {\n x: 167,\n y: 68.2,\n },\n {\n x: 171.8,\n y: 66.1,\n },\n {\n x: 182,\n y: 72,\n },\n {\n x: 167,\n y: 64.6,\n },\n {\n x: 177.8,\n y: 74.8,\n },\n {\n x: 164.5,\n y: 70,\n },\n {\n x: 192,\n y: 101.6,\n },\n {\n x: 175.5,\n y: 63.2,\n },\n {\n x: 171.2,\n y: 79.1,\n },\n {\n x: 181.6,\n y: 78.9,\n },\n {\n x: 167.4,\n y: 67.7,\n },\n {\n x: 181.1,\n y: 66,\n },\n {\n x: 177,\n y: 68.2,\n },\n {\n x: 174.5,\n y: 63.9,\n },\n {\n x: 177.5,\n y: 72,\n },\n {\n x: 170.5,\n y: 56.8,\n },\n {\n x: 182.4,\n y: 74.5,\n },\n {\n x: 197.1,\n y: 90.9,\n },\n {\n x: 180.1,\n y: 93,\n },\n {\n x: 175.5,\n y: 80.9,\n },\n {\n x: 180.6,\n y: 72.7,\n },\n {\n x: 184.4,\n y: 68,\n },\n {\n x: 175.5,\n y: 70.9,\n },\n {\n x: 180.6,\n y: 72.5,\n },\n {\n x: 177,\n y: 72.5,\n },\n {\n x: 177.1,\n y: 83.4,\n },\n {\n x: 181.6,\n y: 75.5,\n },\n {\n x: 176.5,\n y: 73,\n },\n {\n x: 175,\n y: 70.2,\n },\n {\n x: 174,\n y: 73.4,\n },\n {\n x: 165.1,\n y: 70.5,\n },\n {\n x: 177,\n y: 68.9,\n },\n {\n x: 192,\n y: 102.3,\n },\n {\n x: 176.5,\n y: 68.4,\n },\n {\n x: 169.4,\n y: 65.9,\n },\n {\n x: 182.1,\n y: 75.7,\n },\n {\n x: 179.8,\n y: 84.5,\n },\n {\n x: 175.3,\n y: 87.7,\n },\n {\n x: 184.9,\n y: 86.4,\n },\n {\n x: 177.3,\n y: 73.2,\n },\n {\n x: 167.4,\n y: 53.9,\n },\n {\n x: 178.1,\n y: 72,\n },\n {\n x: 168.9,\n y: 55.5,\n },\n {\n x: 157.2,\n y: 58.4,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n {\n x: 170.2,\n y: 72.7,\n },\n {\n x: 177.8,\n y: 64.1,\n },\n {\n x: 172.7,\n y: 72.3,\n },\n {\n x: 165.1,\n y: 65,\n },\n {\n x: 186.7,\n y: 86.4,\n },\n {\n x: 165.1,\n y: 65,\n },\n {\n x: 174,\n y: 88.6,\n },\n {\n x: 175.3,\n y: 84.1,\n },\n {\n x: 185.4,\n y: 66.8,\n },\n {\n x: 177.8,\n y: 75.5,\n },\n {\n x: 180.3,\n y: 93.2,\n },\n {\n x: 180.3,\n y: 82.7,\n },\n {\n x: 177.8,\n y: 58,\n },\n {\n x: 177.8,\n y: 79.5,\n },\n {\n x: 177.8,\n y: 78.6,\n },\n {\n x: 177.8,\n y: 71.8,\n },\n {\n x: 177.8,\n y: 116.4,\n },\n {\n x: 163.8,\n y: 72.2,\n },\n {\n x: 188,\n y: 83.6,\n },\n {\n x: 198.1,\n y: 85.5,\n },\n {\n x: 175.3,\n y: 90.9,\n },\n {\n x: 166.4,\n y: 85.9,\n },\n {\n x: 190.5,\n y: 89.1,\n },\n {\n x: 166.4,\n y: 75,\n },\n {\n x: 177.8,\n y: 77.7,\n },\n {\n x: 179.7,\n y: 86.4,\n },\n {\n x: 172.7,\n y: 90.9,\n },\n {\n x: 190.5,\n y: 73.6,\n },\n {\n x: 185.4,\n y: 76.4,\n },\n {\n x: 168.9,\n y: 69.1,\n },\n {\n x: 167.6,\n y: 84.5,\n },\n {\n x: 175.3,\n y: 64.5,\n },\n {\n x: 170.2,\n y: 69.1,\n },\n {\n x: 190.5,\n y: 108.6,\n },\n {\n x: 177.8,\n y: 86.4,\n },\n {\n x: 190.5,\n y: 80.9,\n },\n {\n x: 177.8,\n y: 87.7,\n },\n {\n x: 184.2,\n y: 94.5,\n },\n {\n x: 176.5,\n y: 80.2,\n },\n {\n x: 177.8,\n y: 72,\n },\n {\n x: 180.3,\n y: 71.4,\n },\n {\n x: 171.4,\n y: 72.7,\n },\n {\n x: 172.7,\n y: 84.1,\n },\n {\n x: 172.7,\n y: 76.8,\n },\n {\n x: 177.8,\n y: 63.6,\n },\n {\n x: 177.8,\n y: 80.9,\n },\n {\n x: 182.9,\n y: 80.9,\n },\n {\n x: 170.2,\n y: 85.5,\n },\n {\n x: 167.6,\n y: 68.6,\n },\n {\n x: 175.3,\n y: 67.7,\n },\n {\n x: 165.1,\n y: 66.4,\n },\n {\n x: 185.4,\n y: 102.3,\n },\n {\n x: 181.6,\n y: 70.5,\n },\n {\n x: 172.7,\n y: 95.9,\n },\n {\n x: 190.5,\n y: 84.1,\n },\n {\n x: 179.1,\n y: 87.3,\n },\n {\n x: 175.3,\n y: 71.8,\n },\n {\n x: 170.2,\n y: 65.9,\n },\n {\n x: 193,\n y: 95.9,\n },\n {\n x: 171.4,\n y: 91.4,\n },\n {\n x: 177.8,\n y: 81.8,\n },\n {\n x: 177.8,\n y: 96.8,\n },\n {\n x: 167.6,\n y: 69.1,\n },\n {\n x: 167.6,\n y: 82.7,\n },\n {\n x: 180.3,\n y: 75.5,\n },\n {\n x: 182.9,\n y: 79.5,\n },\n {\n x: 176.5,\n y: 73.6,\n },\n {\n x: 186.7,\n y: 91.8,\n },\n {\n x: 188,\n y: 84.1,\n },\n {\n x: 188,\n y: 85.9,\n },\n {\n x: 177.8,\n y: 81.8,\n },\n {\n x: 174,\n y: 82.5,\n },\n {\n x: 177.8,\n y: 80.5,\n },\n {\n x: 171.4,\n y: 70,\n },\n {\n x: 185.4,\n y: 81.8,\n },\n {\n x: 185.4,\n y: 84.1,\n },\n {\n x: 188,\n y: 90.5,\n },\n {\n x: 188,\n y: 91.4,\n },\n {\n x: 182.9,\n y: 89.1,\n },\n {\n x: 176.5,\n y: 85,\n },\n {\n x: 175.3,\n y: 69.1,\n },\n {\n x: 175.3,\n y: 73.6,\n },\n {\n x: 188,\n y: 80.5,\n },\n {\n x: 188,\n y: 82.7,\n },\n {\n x: 175.3,\n y: 86.4,\n },\n {\n x: 170.5,\n y: 67.7,\n },\n {\n x: 179.1,\n y: 92.7,\n },\n {\n x: 177.8,\n y: 93.6,\n },\n {\n x: 175.3,\n y: 70.9,\n },\n {\n x: 182.9,\n y: 75,\n },\n {\n x: 170.8,\n y: 93.2,\n },\n {\n x: 188,\n y: 93.2,\n },\n {\n x: 180.3,\n y: 77.7,\n },\n {\n x: 177.8,\n y: 61.4,\n },\n {\n x: 185.4,\n y: 94.1,\n },\n {\n x: 168.9,\n y: 75,\n },\n {\n x: 185.4,\n y: 83.6,\n },\n {\n x: 180.3,\n y: 85.5,\n },\n {\n x: 174,\n y: 73.9,\n },\n {\n x: 167.6,\n y: 66.8,\n },\n {\n x: 182.9,\n y: 87.3,\n },\n {\n x: 160,\n y: 72.3,\n },\n {\n x: 180.3,\n y: 88.6,\n },\n {\n x: 167.6,\n y: 75.5,\n },\n {\n x: 186.7,\n y: 101.4,\n },\n {\n x: 175.3,\n y: 91.1,\n },\n {\n x: 175.3,\n y: 67.3,\n },\n {\n x: 175.9,\n y: 77.7,\n },\n {\n x: 175.3,\n y: 81.8,\n },\n {\n x: 179.1,\n y: 75.5,\n },\n {\n x: 181.6,\n y: 84.5,\n },\n {\n x: 177.8,\n y: 76.6,\n },\n {\n x: 182.9,\n y: 85,\n },\n {\n x: 177.8,\n y: 102.5,\n },\n {\n x: 184.2,\n y: 77.3,\n },\n {\n x: 179.1,\n y: 71.8,\n },\n {\n x: 176.5,\n y: 87.9,\n },\n {\n x: 188,\n y: 94.3,\n },\n {\n x: 174,\n y: 70.9,\n },\n {\n x: 167.6,\n y: 64.5,\n },\n {\n x: 170.2,\n y: 77.3,\n },\n {\n x: 167.6,\n y: 72.3,\n },\n {\n x: 188,\n y: 87.3,\n },\n {\n x: 174,\n y: 80,\n },\n {\n x: 176.5,\n y: 82.3,\n },\n {\n x: 180.3,\n y: 73.6,\n },\n {\n x: 167.6,\n y: 74.1,\n },\n {\n x: 188,\n y: 85.9,\n },\n {\n x: 180.3,\n y: 73.2,\n },\n {\n x: 167.6,\n y: 76.3,\n },\n {\n x: 183,\n y: 65.9,\n },\n {\n x: 183,\n y: 90.9,\n },\n {\n x: 179.1,\n y: 89.1,\n },\n {\n x: 170.2,\n y: 62.3,\n },\n {\n x: 177.8,\n y: 82.7,\n },\n {\n x: 179.1,\n y: 79.1,\n },\n {\n x: 190.5,\n y: 98.2,\n },\n {\n x: 177.8,\n y: 84.1,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n {\n x: 180.3,\n y: 83.2,\n },\n];\n\nexport default () => {\n return (\n \n );\n};\n";}}]); +//# sourceMappingURL=ab1d009d-async.0a1878cf.js.map \ No newline at end of file diff --git a/ab1d009d-async.0a1878cf.js.map b/ab1d009d-async.0a1878cf.js.map new file mode 100644 index 0000000..5823daf --- /dev/null +++ b/ab1d009d-async.0a1878cf.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Scatter/index.md?type=text","src/Scatter/index.md?type=demo","src/Scatter/demos/markdown.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Scatter/demos/common.tsx?dumi-raw"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"scatter\\\",\\n \\\"data\\\": [\\n { \\\"x\\\": 10, \\\"y\\\": 15 },\\n { \\\"x\\\": 20, \\\"y\\\": 25 },\\n { \\\"x\\\": 30, \\\"y\\\": 35 },\\n { \\\"x\\\": 40, \\\"y\\\": 45 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"ScatterDataItem[]\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"x\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"X 轴上的数值变量\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"y\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"Y 轴上的数值变量\",\"paraId\":2,\"tocIndex\":7}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/index.md?watch=parent';\nimport * as scatter_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as scatter_demo_common_deps_2 from 'react';\nimport * as scatter_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'scatter-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Scatter__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"scatter-demo-common\",\n \"refAtomIds\": [\n \"Scatter\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": scatter_demo_common_deps_1,\n \"react\": scatter_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'scatter-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Scatter__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"scatter-demo-markdown\",\n \"refAtomIds\": [\n \"Scatter\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": scatter_demo_markdown_deps_1,\n \"@antv/gpt-vis\": scatter_demo_common_deps_1,\n \"react\": scatter_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, Scatter, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个散点图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"scatter\\\",\\n \\\"data\\\": [\\n { \\\"x\\\": 22, \\\"y\\\": 3000 },\\n { \\\"x\\\": 23, \\\"y\\\": 3200 },\\n { \\\"x\\\": 24, \\\"y\\\": 3100 },\\n { \\\"x\\\": 25, \\\"y\\\": 3500 },\\n { \\\"x\\\": 26, \\\"y\\\": 3300 },\\n { \\\"x\\\": 27, \\\"y\\\": 3600 },\\n { \\\"x\\\": 28, \\\"y\\\": 4000 },\\n { \\\"x\\\": 29, \\\"y\\\": 3900 },\\n { \\\"x\\\": 30, \\\"y\\\": 4200 },\\n { \\\"x\\\": 31, \\\"y\\\": 4100 },\\n { \\\"x\\\": 32, \\\"y\\\": 4500 },\\n { \\\"x\\\": 33, \\\"y\\\": 4700 },\\n { \\\"x\\\": 34, \\\"y\\\": 4600 },\\n { \\\"x\\\": 35, \\\"y\\\": 4800 },\\n { \\\"x\\\": 36, \\\"y\\\": 5000 },\\n { \\\"x\\\": 37, \\\"y\\\": 5200 },\\n { \\\"x\\\": 38, \\\"y\\\": 5100 },\\n { \\\"x\\\": 39, \\\"y\\\": 5500 },\\n { \\\"x\\\": 40, \\\"y\\\": 5300 },\\n { \\\"x\\\": 41, \\\"y\\\": 5700 },\\n { \\\"x\\\": 42, \\\"y\\\": 5600 },\\n { \\\"x\\\": 43, \\\"y\\\": 5900 },\\n { \\\"x\\\": 44, \\\"y\\\": 5800 },\\n { \\\"x\\\": 45, \\\"y\\\": 6000 },\\n { \\\"x\\\": 46, \\\"y\\\": 6100 },\\n { \\\"x\\\": 47, \\\"y\\\": 6500 },\\n { \\\"x\\\": 48, \\\"y\\\": 6300 },\\n { \\\"x\\\": 49, \\\"y\\\": 6700 },\\n { \\\"x\\\": 50, \\\"y\\\": 6400 },\\n { \\\"x\\\": 51, \\\"y\\\": 6800 },\\n { \\\"x\\\": 52, \\\"y\\\": 6900 },\\n { \\\"x\\\": 53, \\\"y\\\": 7100 },\\n { \\\"x\\\": 54, \\\"y\\\": 7000 },\\n { \\\"x\\\": 55, \\\"y\\\": 7300 },\\n { \\\"x\\\": 56, \\\"y\\\": 7200 },\\n { \\\"x\\\": 57, \\\"y\\\": 7500 },\\n { \\\"x\\\": 58, \\\"y\\\": 7400 },\\n { \\\"x\\\": 59, \\\"y\\\": 7600 },\\n { \\\"x\\\": 60, \\\"y\\\": 7700 },\\n { \\\"x\\\": 61, \\\"y\\\": 7900 },\\n { \\\"x\\\": 62, \\\"y\\\": 7800 },\\n { \\\"x\\\": 63, \\\"y\\\": 8000 },\\n { \\\"x\\\": 64, \\\"y\\\": 8100 },\\n { \\\"x\\\": 65, \\\"y\\\": 8200 },\\n { \\\"x\\\": 66, \\\"y\\\": 8300 },\\n { \\\"x\\\": 67, \\\"y\\\": 8500 },\\n { \\\"x\\\": 68, \\\"y\\\": 8400 },\\n { \\\"x\\\": 69, \\\"y\\\": 8600 },\\n { \\\"x\\\": 70, \\\"y\\\": 8700 }\\n ],\\n \\\"axisXTitle\\\": \\\"age\\\",\\n \\\"axisYTitle\\\": \\\"income\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Scatter]: Scatter },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/demos/common.tsx?watch=parent';\n export default \"import { Scatter } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n {\\n x: 161.2,\\n y: 51.6,\\n },\\n {\\n x: 167.5,\\n y: 59,\\n },\\n {\\n x: 159.5,\\n y: 49.2,\\n },\\n {\\n x: 157,\\n y: 63,\\n },\\n {\\n x: 155.8,\\n y: 53.6,\\n },\\n {\\n x: 170,\\n y: 59,\\n },\\n {\\n x: 159.1,\\n y: 47.6,\\n },\\n {\\n x: 166,\\n y: 69.8,\\n },\\n {\\n x: 176.2,\\n y: 66.8,\\n },\\n {\\n x: 160.2,\\n y: 75.2,\\n },\\n {\\n x: 172.5,\\n y: 55.2,\\n },\\n {\\n x: 170.9,\\n y: 54.2,\\n },\\n {\\n x: 172.9,\\n y: 62.5,\\n },\\n {\\n x: 153.4,\\n y: 42,\\n },\\n {\\n x: 160,\\n y: 50,\\n },\\n {\\n x: 147.2,\\n y: 49.8,\\n },\\n {\\n x: 168.2,\\n y: 49.2,\\n },\\n {\\n x: 175,\\n y: 73.2,\\n },\\n {\\n x: 157,\\n y: 47.8,\\n },\\n {\\n x: 167.6,\\n y: 68.8,\\n },\\n {\\n x: 159.5,\\n y: 50.6,\\n },\\n {\\n x: 175,\\n y: 82.5,\\n },\\n {\\n x: 166.8,\\n y: 57.2,\\n },\\n {\\n x: 176.5,\\n y: 87.8,\\n },\\n {\\n x: 170.2,\\n y: 72.8,\\n },\\n {\\n x: 174,\\n y: 54.5,\\n },\\n {\\n x: 173,\\n y: 59.8,\\n },\\n {\\n x: 179.9,\\n y: 67.3,\\n },\\n {\\n x: 170.5,\\n y: 67.8,\\n },\\n {\\n x: 160,\\n y: 47,\\n },\\n {\\n x: 154.4,\\n y: 46.2,\\n },\\n {\\n x: 162,\\n y: 55,\\n },\\n {\\n x: 176.5,\\n y: 83,\\n },\\n {\\n x: 160,\\n y: 54.4,\\n },\\n {\\n x: 152,\\n y: 45.8,\\n },\\n {\\n x: 162.1,\\n y: 53.6,\\n },\\n {\\n x: 170,\\n y: 73.2,\\n },\\n {\\n x: 160.2,\\n y: 52.1,\\n },\\n {\\n x: 161.3,\\n y: 67.9,\\n },\\n {\\n x: 166.4,\\n y: 56.6,\\n },\\n {\\n x: 168.9,\\n y: 62.3,\\n },\\n {\\n x: 163.8,\\n y: 58.5,\\n },\\n {\\n x: 167.6,\\n y: 54.5,\\n },\\n {\\n x: 160,\\n y: 50.2,\\n },\\n {\\n x: 161.3,\\n y: 60.3,\\n },\\n {\\n x: 167.6,\\n y: 58.3,\\n },\\n {\\n x: 165.1,\\n y: 56.2,\\n },\\n {\\n x: 160,\\n y: 50.2,\\n },\\n {\\n x: 170,\\n y: 72.9,\\n },\\n {\\n x: 157.5,\\n y: 59.8,\\n },\\n {\\n x: 167.6,\\n y: 61,\\n },\\n {\\n x: 160.7,\\n y: 69.1,\\n },\\n {\\n x: 163.2,\\n y: 55.9,\\n },\\n {\\n x: 152.4,\\n y: 46.5,\\n },\\n {\\n x: 157.5,\\n y: 54.3,\\n },\\n {\\n x: 168.3,\\n y: 54.8,\\n },\\n {\\n x: 180.3,\\n y: 60.7,\\n },\\n {\\n x: 165.5,\\n y: 60,\\n },\\n {\\n x: 165,\\n y: 62,\\n },\\n {\\n x: 164.5,\\n y: 60.3,\\n },\\n {\\n x: 156,\\n y: 52.7,\\n },\\n {\\n x: 160,\\n y: 74.3,\\n },\\n {\\n x: 163,\\n y: 62,\\n },\\n {\\n x: 165.7,\\n y: 73.1,\\n },\\n {\\n x: 161,\\n y: 80,\\n },\\n {\\n x: 162,\\n y: 54.7,\\n },\\n {\\n x: 166,\\n y: 53.2,\\n },\\n {\\n x: 174,\\n y: 75.7,\\n },\\n {\\n x: 172.7,\\n y: 61.1,\\n },\\n {\\n x: 167.6,\\n y: 55.7,\\n },\\n {\\n x: 151.1,\\n y: 48.7,\\n },\\n {\\n x: 164.5,\\n y: 52.3,\\n },\\n {\\n x: 163.5,\\n y: 50,\\n },\\n {\\n x: 152,\\n y: 59.3,\\n },\\n {\\n x: 169,\\n y: 62.5,\\n },\\n {\\n x: 164,\\n y: 55.7,\\n },\\n {\\n x: 161.2,\\n y: 54.8,\\n },\\n {\\n x: 155,\\n y: 45.9,\\n },\\n {\\n x: 170,\\n y: 70.6,\\n },\\n {\\n x: 176.2,\\n y: 67.2,\\n },\\n {\\n x: 170,\\n y: 69.4,\\n },\\n {\\n x: 162.5,\\n y: 58.2,\\n },\\n {\\n x: 170.3,\\n y: 64.8,\\n },\\n {\\n x: 164.1,\\n y: 71.6,\\n },\\n {\\n x: 169.5,\\n y: 52.8,\\n },\\n {\\n x: 163.2,\\n y: 59.8,\\n },\\n {\\n x: 154.5,\\n y: 49,\\n },\\n {\\n x: 159.8,\\n y: 50,\\n },\\n {\\n x: 173.2,\\n y: 69.2,\\n },\\n {\\n x: 170,\\n y: 55.9,\\n },\\n {\\n x: 161.4,\\n y: 63.4,\\n },\\n {\\n x: 169,\\n y: 58.2,\\n },\\n {\\n x: 166.2,\\n y: 58.6,\\n },\\n {\\n x: 159.4,\\n y: 45.7,\\n },\\n {\\n x: 162.5,\\n y: 52.2,\\n },\\n {\\n x: 159,\\n y: 48.6,\\n },\\n {\\n x: 162.8,\\n y: 57.8,\\n },\\n {\\n x: 159,\\n y: 55.6,\\n },\\n {\\n x: 179.8,\\n y: 66.8,\\n },\\n {\\n x: 162.9,\\n y: 59.4,\\n },\\n {\\n x: 161,\\n y: 53.6,\\n },\\n {\\n x: 151.1,\\n y: 73.2,\\n },\\n {\\n x: 168.2,\\n y: 53.4,\\n },\\n {\\n x: 168.9,\\n y: 69,\\n },\\n {\\n x: 173.2,\\n y: 58.4,\\n },\\n {\\n x: 171.8,\\n y: 56.2,\\n },\\n {\\n x: 178,\\n y: 70.6,\\n },\\n {\\n x: 164.3,\\n y: 59.8,\\n },\\n {\\n x: 163,\\n y: 72,\\n },\\n {\\n x: 168.5,\\n y: 65.2,\\n },\\n {\\n x: 166.8,\\n y: 56.6,\\n },\\n {\\n x: 172.7,\\n y: 105.2,\\n },\\n {\\n x: 163.5,\\n y: 51.8,\\n },\\n {\\n x: 169.4,\\n y: 63.4,\\n },\\n {\\n x: 167.8,\\n y: 59,\\n },\\n {\\n x: 159.5,\\n y: 47.6,\\n },\\n {\\n x: 167.6,\\n y: 63,\\n },\\n {\\n x: 161.2,\\n y: 55.2,\\n },\\n {\\n x: 160,\\n y: 45,\\n },\\n {\\n x: 163.2,\\n y: 54,\\n },\\n {\\n x: 162.2,\\n y: 50.2,\\n },\\n {\\n x: 161.3,\\n y: 60.2,\\n },\\n {\\n x: 149.5,\\n y: 44.8,\\n },\\n {\\n x: 157.5,\\n y: 58.8,\\n },\\n {\\n x: 163.2,\\n y: 56.4,\\n },\\n {\\n x: 172.7,\\n y: 62,\\n },\\n {\\n x: 155,\\n y: 49.2,\\n },\\n {\\n x: 156.5,\\n y: 67.2,\\n },\\n {\\n x: 164,\\n y: 53.8,\\n },\\n {\\n x: 160.9,\\n y: 54.4,\\n },\\n {\\n x: 162.8,\\n y: 58,\\n },\\n {\\n x: 167,\\n y: 59.8,\\n },\\n {\\n x: 160,\\n y: 54.8,\\n },\\n {\\n x: 160,\\n y: 43.2,\\n },\\n {\\n x: 168.9,\\n y: 60.5,\\n },\\n {\\n x: 158.2,\\n y: 46.4,\\n },\\n {\\n x: 156,\\n y: 64.4,\\n },\\n {\\n x: 160,\\n y: 48.8,\\n },\\n {\\n x: 167.1,\\n y: 62.2,\\n },\\n {\\n x: 158,\\n y: 55.5,\\n },\\n {\\n x: 167.6,\\n y: 57.8,\\n },\\n {\\n x: 156,\\n y: 54.6,\\n },\\n {\\n x: 162.1,\\n y: 59.2,\\n },\\n {\\n x: 173.4,\\n y: 52.7,\\n },\\n {\\n x: 159.8,\\n y: 53.2,\\n },\\n {\\n x: 170.5,\\n y: 64.5,\\n },\\n {\\n x: 159.2,\\n y: 51.8,\\n },\\n {\\n x: 157.5,\\n y: 56,\\n },\\n {\\n x: 161.3,\\n y: 63.6,\\n },\\n {\\n x: 162.6,\\n y: 63.2,\\n },\\n {\\n x: 160,\\n y: 59.5,\\n },\\n {\\n x: 168.9,\\n y: 56.8,\\n },\\n {\\n x: 165.1,\\n y: 64.1,\\n },\\n {\\n x: 162.6,\\n y: 50,\\n },\\n {\\n x: 165.1,\\n y: 72.3,\\n },\\n {\\n x: 166.4,\\n y: 55,\\n },\\n {\\n x: 160,\\n y: 55.9,\\n },\\n {\\n x: 152.4,\\n y: 60.4,\\n },\\n {\\n x: 170.2,\\n y: 69.1,\\n },\\n {\\n x: 162.6,\\n y: 84.5,\\n },\\n {\\n x: 170.2,\\n y: 55.9,\\n },\\n {\\n x: 158.8,\\n y: 55.5,\\n },\\n {\\n x: 172.7,\\n y: 69.5,\\n },\\n {\\n x: 167.6,\\n y: 76.4,\\n },\\n {\\n x: 162.6,\\n y: 61.4,\\n },\\n {\\n x: 167.6,\\n y: 65.9,\\n },\\n {\\n x: 156.2,\\n y: 58.6,\\n },\\n {\\n x: 175.2,\\n y: 66.8,\\n },\\n {\\n x: 172.1,\\n y: 56.6,\\n },\\n {\\n x: 162.6,\\n y: 58.6,\\n },\\n {\\n x: 160,\\n y: 55.9,\\n },\\n {\\n x: 165.1,\\n y: 59.1,\\n },\\n {\\n x: 182.9,\\n y: 81.8,\\n },\\n {\\n x: 166.4,\\n y: 70.7,\\n },\\n {\\n x: 165.1,\\n y: 56.8,\\n },\\n {\\n x: 177.8,\\n y: 60,\\n },\\n {\\n x: 165.1,\\n y: 58.2,\\n },\\n {\\n x: 175.3,\\n y: 72.7,\\n },\\n {\\n x: 154.9,\\n y: 54.1,\\n },\\n {\\n x: 158.8,\\n y: 49.1,\\n },\\n {\\n x: 172.7,\\n y: 75.9,\\n },\\n {\\n x: 168.9,\\n y: 55,\\n },\\n {\\n x: 161.3,\\n y: 57.3,\\n },\\n {\\n x: 167.6,\\n y: 55,\\n },\\n {\\n x: 165.1,\\n y: 65.5,\\n },\\n {\\n x: 175.3,\\n y: 65.5,\\n },\\n {\\n x: 157.5,\\n y: 48.6,\\n },\\n {\\n x: 163.8,\\n y: 58.6,\\n },\\n {\\n x: 167.6,\\n y: 63.6,\\n },\\n {\\n x: 165.1,\\n y: 55.2,\\n },\\n {\\n x: 165.1,\\n y: 62.7,\\n },\\n {\\n x: 168.9,\\n y: 56.6,\\n },\\n {\\n x: 162.6,\\n y: 53.9,\\n },\\n {\\n x: 164.5,\\n y: 63.2,\\n },\\n {\\n x: 176.5,\\n y: 73.6,\\n },\\n {\\n x: 168.9,\\n y: 62,\\n },\\n {\\n x: 175.3,\\n y: 63.6,\\n },\\n {\\n x: 159.4,\\n y: 53.2,\\n },\\n {\\n x: 160,\\n y: 53.4,\\n },\\n {\\n x: 170.2,\\n y: 55,\\n },\\n {\\n x: 162.6,\\n y: 70.5,\\n },\\n {\\n x: 167.6,\\n y: 54.5,\\n },\\n {\\n x: 162.6,\\n y: 54.5,\\n },\\n {\\n x: 160.7,\\n y: 55.9,\\n },\\n {\\n x: 160,\\n y: 59,\\n },\\n {\\n x: 157.5,\\n y: 63.6,\\n },\\n {\\n x: 162.6,\\n y: 54.5,\\n },\\n {\\n x: 152.4,\\n y: 47.3,\\n },\\n {\\n x: 170.2,\\n y: 67.7,\\n },\\n {\\n x: 165.1,\\n y: 80.9,\\n },\\n {\\n x: 172.7,\\n y: 70.5,\\n },\\n {\\n x: 165.1,\\n y: 60.9,\\n },\\n {\\n x: 170.2,\\n y: 63.6,\\n },\\n {\\n x: 170.2,\\n y: 54.5,\\n },\\n {\\n x: 170.2,\\n y: 59.1,\\n },\\n {\\n x: 161.3,\\n y: 70.5,\\n },\\n {\\n x: 167.6,\\n y: 52.7,\\n },\\n {\\n x: 167.6,\\n y: 62.7,\\n },\\n {\\n x: 165.1,\\n y: 86.3,\\n },\\n {\\n x: 162.6,\\n y: 66.4,\\n },\\n {\\n x: 152.4,\\n y: 67.3,\\n },\\n {\\n x: 168.9,\\n y: 63,\\n },\\n {\\n x: 170.2,\\n y: 73.6,\\n },\\n {\\n x: 175.2,\\n y: 62.3,\\n },\\n {\\n x: 175.2,\\n y: 57.7,\\n },\\n {\\n x: 160,\\n y: 55.4,\\n },\\n {\\n x: 165.1,\\n y: 104.1,\\n },\\n {\\n x: 174,\\n y: 55.5,\\n },\\n {\\n x: 170.2,\\n y: 77.3,\\n },\\n {\\n x: 160,\\n y: 80.5,\\n },\\n {\\n x: 167.6,\\n y: 64.5,\\n },\\n {\\n x: 167.6,\\n y: 72.3,\\n },\\n {\\n x: 167.6,\\n y: 61.4,\\n },\\n {\\n x: 154.9,\\n y: 58.2,\\n },\\n {\\n x: 162.6,\\n y: 81.8,\\n },\\n {\\n x: 175.3,\\n y: 63.6,\\n },\\n {\\n x: 171.4,\\n y: 53.4,\\n },\\n {\\n x: 157.5,\\n y: 54.5,\\n },\\n {\\n x: 165.1,\\n y: 53.6,\\n },\\n {\\n x: 160,\\n y: 60,\\n },\\n {\\n x: 174,\\n y: 73.6,\\n },\\n {\\n x: 162.6,\\n y: 61.4,\\n },\\n {\\n x: 174,\\n y: 55.5,\\n },\\n {\\n x: 162.6,\\n y: 63.6,\\n },\\n {\\n x: 161.3,\\n y: 60.9,\\n },\\n {\\n x: 156.2,\\n y: 60,\\n },\\n {\\n x: 149.9,\\n y: 46.8,\\n },\\n {\\n x: 169.5,\\n y: 57.3,\\n },\\n {\\n x: 160,\\n y: 64.1,\\n },\\n {\\n x: 175.3,\\n y: 63.6,\\n },\\n {\\n x: 169.5,\\n y: 67.3,\\n },\\n {\\n x: 160,\\n y: 75.5,\\n },\\n {\\n x: 172.7,\\n y: 68.2,\\n },\\n {\\n x: 162.6,\\n y: 61.4,\\n },\\n {\\n x: 157.5,\\n y: 76.8,\\n },\\n {\\n x: 176.5,\\n y: 71.8,\\n },\\n {\\n x: 164.4,\\n y: 55.5,\\n },\\n {\\n x: 160.7,\\n y: 48.6,\\n },\\n {\\n x: 174,\\n y: 66.4,\\n },\\n {\\n x: 163.8,\\n y: 67.3,\\n },\\n {\\n x: 174,\\n y: 65.6,\\n },\\n {\\n x: 175.3,\\n y: 71.8,\\n },\\n {\\n x: 193.5,\\n y: 80.7,\\n },\\n {\\n x: 186.5,\\n y: 72.6,\\n },\\n {\\n x: 187.2,\\n y: 78.8,\\n },\\n {\\n x: 181.5,\\n y: 74.8,\\n },\\n {\\n x: 184,\\n y: 86.4,\\n },\\n {\\n x: 184.5,\\n y: 78.4,\\n },\\n {\\n x: 175,\\n y: 62,\\n },\\n {\\n x: 184,\\n y: 81.6,\\n },\\n {\\n x: 180,\\n y: 76.6,\\n },\\n {\\n x: 177.8,\\n y: 83.6,\\n },\\n {\\n x: 192,\\n y: 90,\\n },\\n {\\n x: 176,\\n y: 74.6,\\n },\\n {\\n x: 174,\\n y: 71,\\n },\\n {\\n x: 184,\\n y: 79.6,\\n },\\n {\\n x: 192.7,\\n y: 93.8,\\n },\\n {\\n x: 171.5,\\n y: 70,\\n },\\n {\\n x: 173,\\n y: 72.4,\\n },\\n {\\n x: 176,\\n y: 85.9,\\n },\\n {\\n x: 176,\\n y: 78.8,\\n },\\n {\\n x: 180.5,\\n y: 77.8,\\n },\\n {\\n x: 172.7,\\n y: 66.2,\\n },\\n {\\n x: 176,\\n y: 86.4,\\n },\\n {\\n x: 173.5,\\n y: 81.8,\\n },\\n {\\n x: 178,\\n y: 89.6,\\n },\\n {\\n x: 180.3,\\n y: 82.8,\\n },\\n {\\n x: 180.3,\\n y: 76.4,\\n },\\n {\\n x: 164.5,\\n y: 63.2,\\n },\\n {\\n x: 173,\\n y: 60.9,\\n },\\n {\\n x: 183.5,\\n y: 74.8,\\n },\\n {\\n x: 175.5,\\n y: 70,\\n },\\n {\\n x: 188,\\n y: 72.4,\\n },\\n {\\n x: 189.2,\\n y: 84.1,\\n },\\n {\\n x: 172.8,\\n y: 69.1,\\n },\\n {\\n x: 170,\\n y: 59.5,\\n },\\n {\\n x: 182,\\n y: 67.2,\\n },\\n {\\n x: 170,\\n y: 61.3,\\n },\\n {\\n x: 177.8,\\n y: 68.6,\\n },\\n {\\n x: 184.2,\\n y: 80.1,\\n },\\n {\\n x: 186.7,\\n y: 87.8,\\n },\\n {\\n x: 171.4,\\n y: 84.7,\\n },\\n {\\n x: 172.7,\\n y: 73.4,\\n },\\n {\\n x: 175.3,\\n y: 72.1,\\n },\\n {\\n x: 180.3,\\n y: 82.6,\\n },\\n {\\n x: 182.9,\\n y: 88.7,\\n },\\n {\\n x: 188,\\n y: 84.1,\\n },\\n {\\n x: 177.2,\\n y: 94.1,\\n },\\n {\\n x: 172.1,\\n y: 74.9,\\n },\\n {\\n x: 167,\\n y: 59.1,\\n },\\n {\\n x: 169.5,\\n y: 75.6,\\n },\\n {\\n x: 174,\\n y: 86.2,\\n },\\n {\\n x: 172.7,\\n y: 75.3,\\n },\\n {\\n x: 182.2,\\n y: 87.1,\\n },\\n {\\n x: 164.1,\\n y: 55.2,\\n },\\n {\\n x: 163,\\n y: 57,\\n },\\n {\\n x: 171.5,\\n y: 61.4,\\n },\\n {\\n x: 184.2,\\n y: 76.8,\\n },\\n {\\n x: 174,\\n y: 86.8,\\n },\\n {\\n x: 174,\\n y: 72.2,\\n },\\n {\\n x: 177,\\n y: 71.6,\\n },\\n {\\n x: 186,\\n y: 84.8,\\n },\\n {\\n x: 167,\\n y: 68.2,\\n },\\n {\\n x: 171.8,\\n y: 66.1,\\n },\\n {\\n x: 182,\\n y: 72,\\n },\\n {\\n x: 167,\\n y: 64.6,\\n },\\n {\\n x: 177.8,\\n y: 74.8,\\n },\\n {\\n x: 164.5,\\n y: 70,\\n },\\n {\\n x: 192,\\n y: 101.6,\\n },\\n {\\n x: 175.5,\\n y: 63.2,\\n },\\n {\\n x: 171.2,\\n y: 79.1,\\n },\\n {\\n x: 181.6,\\n y: 78.9,\\n },\\n {\\n x: 167.4,\\n y: 67.7,\\n },\\n {\\n x: 181.1,\\n y: 66,\\n },\\n {\\n x: 177,\\n y: 68.2,\\n },\\n {\\n x: 174.5,\\n y: 63.9,\\n },\\n {\\n x: 177.5,\\n y: 72,\\n },\\n {\\n x: 170.5,\\n y: 56.8,\\n },\\n {\\n x: 182.4,\\n y: 74.5,\\n },\\n {\\n x: 197.1,\\n y: 90.9,\\n },\\n {\\n x: 180.1,\\n y: 93,\\n },\\n {\\n x: 175.5,\\n y: 80.9,\\n },\\n {\\n x: 180.6,\\n y: 72.7,\\n },\\n {\\n x: 184.4,\\n y: 68,\\n },\\n {\\n x: 175.5,\\n y: 70.9,\\n },\\n {\\n x: 180.6,\\n y: 72.5,\\n },\\n {\\n x: 177,\\n y: 72.5,\\n },\\n {\\n x: 177.1,\\n y: 83.4,\\n },\\n {\\n x: 181.6,\\n y: 75.5,\\n },\\n {\\n x: 176.5,\\n y: 73,\\n },\\n {\\n x: 175,\\n y: 70.2,\\n },\\n {\\n x: 174,\\n y: 73.4,\\n },\\n {\\n x: 165.1,\\n y: 70.5,\\n },\\n {\\n x: 177,\\n y: 68.9,\\n },\\n {\\n x: 192,\\n y: 102.3,\\n },\\n {\\n x: 176.5,\\n y: 68.4,\\n },\\n {\\n x: 169.4,\\n y: 65.9,\\n },\\n {\\n x: 182.1,\\n y: 75.7,\\n },\\n {\\n x: 179.8,\\n y: 84.5,\\n },\\n {\\n x: 175.3,\\n y: 87.7,\\n },\\n {\\n x: 184.9,\\n y: 86.4,\\n },\\n {\\n x: 177.3,\\n y: 73.2,\\n },\\n {\\n x: 167.4,\\n y: 53.9,\\n },\\n {\\n x: 178.1,\\n y: 72,\\n },\\n {\\n x: 168.9,\\n y: 55.5,\\n },\\n {\\n x: 157.2,\\n y: 58.4,\\n },\\n {\\n x: 180.3,\\n y: 83.2,\\n },\\n {\\n x: 170.2,\\n y: 72.7,\\n },\\n {\\n x: 177.8,\\n y: 64.1,\\n },\\n {\\n x: 172.7,\\n y: 72.3,\\n },\\n {\\n x: 165.1,\\n y: 65,\\n },\\n {\\n x: 186.7,\\n y: 86.4,\\n },\\n {\\n x: 165.1,\\n y: 65,\\n },\\n {\\n x: 174,\\n y: 88.6,\\n },\\n {\\n x: 175.3,\\n y: 84.1,\\n },\\n {\\n x: 185.4,\\n y: 66.8,\\n },\\n {\\n x: 177.8,\\n y: 75.5,\\n },\\n {\\n x: 180.3,\\n y: 93.2,\\n },\\n {\\n x: 180.3,\\n y: 82.7,\\n },\\n {\\n x: 177.8,\\n y: 58,\\n },\\n {\\n x: 177.8,\\n y: 79.5,\\n },\\n {\\n x: 177.8,\\n y: 78.6,\\n },\\n {\\n x: 177.8,\\n y: 71.8,\\n },\\n {\\n x: 177.8,\\n y: 116.4,\\n },\\n {\\n x: 163.8,\\n y: 72.2,\\n },\\n {\\n x: 188,\\n y: 83.6,\\n },\\n {\\n x: 198.1,\\n y: 85.5,\\n },\\n {\\n x: 175.3,\\n y: 90.9,\\n },\\n {\\n x: 166.4,\\n y: 85.9,\\n },\\n {\\n x: 190.5,\\n y: 89.1,\\n },\\n {\\n x: 166.4,\\n y: 75,\\n },\\n {\\n x: 177.8,\\n y: 77.7,\\n },\\n {\\n x: 179.7,\\n y: 86.4,\\n },\\n {\\n x: 172.7,\\n y: 90.9,\\n },\\n {\\n x: 190.5,\\n y: 73.6,\\n },\\n {\\n x: 185.4,\\n y: 76.4,\\n },\\n {\\n x: 168.9,\\n y: 69.1,\\n },\\n {\\n x: 167.6,\\n y: 84.5,\\n },\\n {\\n x: 175.3,\\n y: 64.5,\\n },\\n {\\n x: 170.2,\\n y: 69.1,\\n },\\n {\\n x: 190.5,\\n y: 108.6,\\n },\\n {\\n x: 177.8,\\n y: 86.4,\\n },\\n {\\n x: 190.5,\\n y: 80.9,\\n },\\n {\\n x: 177.8,\\n y: 87.7,\\n },\\n {\\n x: 184.2,\\n y: 94.5,\\n },\\n {\\n x: 176.5,\\n y: 80.2,\\n },\\n {\\n x: 177.8,\\n y: 72,\\n },\\n {\\n x: 180.3,\\n y: 71.4,\\n },\\n {\\n x: 171.4,\\n y: 72.7,\\n },\\n {\\n x: 172.7,\\n y: 84.1,\\n },\\n {\\n x: 172.7,\\n y: 76.8,\\n },\\n {\\n x: 177.8,\\n y: 63.6,\\n },\\n {\\n x: 177.8,\\n y: 80.9,\\n },\\n {\\n x: 182.9,\\n y: 80.9,\\n },\\n {\\n x: 170.2,\\n y: 85.5,\\n },\\n {\\n x: 167.6,\\n y: 68.6,\\n },\\n {\\n x: 175.3,\\n y: 67.7,\\n },\\n {\\n x: 165.1,\\n y: 66.4,\\n },\\n {\\n x: 185.4,\\n y: 102.3,\\n },\\n {\\n x: 181.6,\\n y: 70.5,\\n },\\n {\\n x: 172.7,\\n y: 95.9,\\n },\\n {\\n x: 190.5,\\n y: 84.1,\\n },\\n {\\n x: 179.1,\\n y: 87.3,\\n },\\n {\\n x: 175.3,\\n y: 71.8,\\n },\\n {\\n x: 170.2,\\n y: 65.9,\\n },\\n {\\n x: 193,\\n y: 95.9,\\n },\\n {\\n x: 171.4,\\n y: 91.4,\\n },\\n {\\n x: 177.8,\\n y: 81.8,\\n },\\n {\\n x: 177.8,\\n y: 96.8,\\n },\\n {\\n x: 167.6,\\n y: 69.1,\\n },\\n {\\n x: 167.6,\\n y: 82.7,\\n },\\n {\\n x: 180.3,\\n y: 75.5,\\n },\\n {\\n x: 182.9,\\n y: 79.5,\\n },\\n {\\n x: 176.5,\\n y: 73.6,\\n },\\n {\\n x: 186.7,\\n y: 91.8,\\n },\\n {\\n x: 188,\\n y: 84.1,\\n },\\n {\\n x: 188,\\n y: 85.9,\\n },\\n {\\n x: 177.8,\\n y: 81.8,\\n },\\n {\\n x: 174,\\n y: 82.5,\\n },\\n {\\n x: 177.8,\\n y: 80.5,\\n },\\n {\\n x: 171.4,\\n y: 70,\\n },\\n {\\n x: 185.4,\\n y: 81.8,\\n },\\n {\\n x: 185.4,\\n y: 84.1,\\n },\\n {\\n x: 188,\\n y: 90.5,\\n },\\n {\\n x: 188,\\n y: 91.4,\\n },\\n {\\n x: 182.9,\\n y: 89.1,\\n },\\n {\\n x: 176.5,\\n y: 85,\\n },\\n {\\n x: 175.3,\\n y: 69.1,\\n },\\n {\\n x: 175.3,\\n y: 73.6,\\n },\\n {\\n x: 188,\\n y: 80.5,\\n },\\n {\\n x: 188,\\n y: 82.7,\\n },\\n {\\n x: 175.3,\\n y: 86.4,\\n },\\n {\\n x: 170.5,\\n y: 67.7,\\n },\\n {\\n x: 179.1,\\n y: 92.7,\\n },\\n {\\n x: 177.8,\\n y: 93.6,\\n },\\n {\\n x: 175.3,\\n y: 70.9,\\n },\\n {\\n x: 182.9,\\n y: 75,\\n },\\n {\\n x: 170.8,\\n y: 93.2,\\n },\\n {\\n x: 188,\\n y: 93.2,\\n },\\n {\\n x: 180.3,\\n y: 77.7,\\n },\\n {\\n x: 177.8,\\n y: 61.4,\\n },\\n {\\n x: 185.4,\\n y: 94.1,\\n },\\n {\\n x: 168.9,\\n y: 75,\\n },\\n {\\n x: 185.4,\\n y: 83.6,\\n },\\n {\\n x: 180.3,\\n y: 85.5,\\n },\\n {\\n x: 174,\\n y: 73.9,\\n },\\n {\\n x: 167.6,\\n y: 66.8,\\n },\\n {\\n x: 182.9,\\n y: 87.3,\\n },\\n {\\n x: 160,\\n y: 72.3,\\n },\\n {\\n x: 180.3,\\n y: 88.6,\\n },\\n {\\n x: 167.6,\\n y: 75.5,\\n },\\n {\\n x: 186.7,\\n y: 101.4,\\n },\\n {\\n x: 175.3,\\n y: 91.1,\\n },\\n {\\n x: 175.3,\\n y: 67.3,\\n },\\n {\\n x: 175.9,\\n y: 77.7,\\n },\\n {\\n x: 175.3,\\n y: 81.8,\\n },\\n {\\n x: 179.1,\\n y: 75.5,\\n },\\n {\\n x: 181.6,\\n y: 84.5,\\n },\\n {\\n x: 177.8,\\n y: 76.6,\\n },\\n {\\n x: 182.9,\\n y: 85,\\n },\\n {\\n x: 177.8,\\n y: 102.5,\\n },\\n {\\n x: 184.2,\\n y: 77.3,\\n },\\n {\\n x: 179.1,\\n y: 71.8,\\n },\\n {\\n x: 176.5,\\n y: 87.9,\\n },\\n {\\n x: 188,\\n y: 94.3,\\n },\\n {\\n x: 174,\\n y: 70.9,\\n },\\n {\\n x: 167.6,\\n y: 64.5,\\n },\\n {\\n x: 170.2,\\n y: 77.3,\\n },\\n {\\n x: 167.6,\\n y: 72.3,\\n },\\n {\\n x: 188,\\n y: 87.3,\\n },\\n {\\n x: 174,\\n y: 80,\\n },\\n {\\n x: 176.5,\\n y: 82.3,\\n },\\n {\\n x: 180.3,\\n y: 73.6,\\n },\\n {\\n x: 167.6,\\n y: 74.1,\\n },\\n {\\n x: 188,\\n y: 85.9,\\n },\\n {\\n x: 180.3,\\n y: 73.2,\\n },\\n {\\n x: 167.6,\\n y: 76.3,\\n },\\n {\\n x: 183,\\n y: 65.9,\\n },\\n {\\n x: 183,\\n y: 90.9,\\n },\\n {\\n x: 179.1,\\n y: 89.1,\\n },\\n {\\n x: 170.2,\\n y: 62.3,\\n },\\n {\\n x: 177.8,\\n y: 82.7,\\n },\\n {\\n x: 179.1,\\n y: 79.1,\\n },\\n {\\n x: 190.5,\\n y: 98.2,\\n },\\n {\\n x: 177.8,\\n y: 84.1,\\n },\\n {\\n x: 180.3,\\n y: 83.2,\\n },\\n {\\n x: 180.3,\\n y: 83.2,\\n },\\n];\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\";;\n "],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXrB,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,4JAAkL,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,OAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,oBAAoB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,S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C,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,wBACN,WAAc,CACZ,UACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAA6E,OAAO,AACvG,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,oCACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+ECjFE,+CAAA,QADO,gBACP,EAAe,mlGCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/afc1cb10-async.a9d094cd.js b/afc1cb10-async.a9d094cd.js new file mode 100644 index 0000000..138163f --- /dev/null +++ b/afc1cb10-async.a9d094cd.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["afc1cb10"],{afc1cb10:function(e,l,d){"use strict";d.d(l,"__esModule",{value:!0}),d.d(l,"default",{enumerable:!0,get:function(){return h;}});var s=d("777fffbe"),n=d("a2e753d8"),i=s._(d("49f20ac6")),r=d("5ca000fa"),c=s._(d("9b3f9685")),t=d("9d065c04");function a(){let{texts:e}=(0,r.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"configprovider-\u5168\u5C40\u5316\u914D\u7F6E",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#configprovider-\u5168\u5C40\u5316\u914D\u7F6E",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"ConfigProvider \u5168\u5C40\u5316\u914D\u7F6E"]}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,n.jsx)(r.DumiDemo,{demo:{id:"configprovider-demo-plot-theme"},previewerProps:{title:"\u8BBE\u7F6E\u7EDF\u8BA1\u56FE\u8868\u4E3B\u9898",filename:"src/ConfigProvider/demos/plot-theme.tsx"}}),(0,n.jsx)(r.DumiDemoGrid,{items:[{demo:{id:"configprovider-demo-map-config"},previewerProps:{title:"\u8BBE\u7F6E\u5730\u56FE token \u548C\u6837\u5F0F",filename:"src/ConfigProvider/demos/map-config.tsx"}},{demo:{id:"configprovider-demo-components-config"},previewerProps:{title:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027",filename:"src/ConfigProvider/demos/components-config.tsx"}},{demo:{id:"configprovider-demo-graph-components-config"},previewerProps:{title:"\u8BBE\u7F6E\u5173\u7CFB\u56FE\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027",filename:"src/ConfigProvider/demos/graph-components-config.tsx"}}]}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)(i.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[0].value}),(0,n.jsx)("th",{children:e[1].value}),(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[5].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[6].value})}),(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:e[8].value}),(0,n.jsx)("td",{children:e[9].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[10].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[11].value})}),(0,n.jsx)("td",{children:e[12].value}),(0,n.jsx)("td",{children:e[13].value}),(0,n.jsx)("td",{children:e[14].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[15].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[16].value})}),(0,n.jsx)("td",{children:e[17].value}),(0,n.jsx)("td",{children:e[18].value}),(0,n.jsx)("td",{children:e[19].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[20].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[21].value})}),(0,n.jsx)("td",{children:e[22].value}),(0,n.jsx)("td",{children:e[23].value}),(0,n.jsx)("td",{children:e[24].value})]})]})]}),(0,n.jsxs)("h3",{id:"plotglobalconfig",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#plotglobalconfig",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"PlotGlobalConfig"]}),(0,n.jsxs)(i.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[25].value}),(0,n.jsx)("th",{children:e[26].value}),(0,n.jsx)("th",{children:e[27].value}),(0,n.jsx)("th",{children:e[28].value}),(0,n.jsx)("th",{children:e[29].value})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[30].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[31].value})}),(0,n.jsx)("td",{children:e[32].value}),(0,n.jsx)("td",{children:e[33].value}),(0,n.jsxs)("td",{children:[e[34].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/theme/academy",children:e[35].value})]})]})})]}),(0,n.jsxs)("h3",{id:"graphglobalconfig",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#graphglobalconfig",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"GraphGlobalConfig"]}),(0,n.jsxs)("p",{children:[e[36].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/graphs/overview",children:e[37].value}),e[38].value]}),(0,n.jsxs)("h3",{id:"mapglobalconfig",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#mapglobalconfig",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"MapGlobalConfig"]}),(0,n.jsxs)(i.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[39].value}),(0,n.jsx)("th",{children:e[40].value}),(0,n.jsx)("th",{children:e[41].value}),(0,n.jsx)("th",{children:e[42].value}),(0,n.jsx)("th",{children:e[43].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[44].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[45].value})}),(0,n.jsx)("td",{children:e[46].value}),(0,n.jsx)("td",{children:e[47].value}),(0,n.jsx)("td",{children:e[48].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[49].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[50].value})}),(0,n.jsx)("td",{children:e[51].value}),(0,n.jsx)("td",{children:e[52].value}),(0,n.jsx)("td",{children:e[53].value})]})]})]}),(0,n.jsxs)("h3",{id:"componentsglobalconfig",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#componentsglobalconfig",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"ComponentsGlobalConfig"]}),(0,n.jsxs)(i.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[54].value}),(0,n.jsx)("th",{children:e[55].value}),(0,n.jsx)("th",{children:e[56].value}),(0,n.jsx)("th",{children:e[57].value}),(0,n.jsx)("th",{children:e[58].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[59].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[60].value})}),(0,n.jsx)("td",{children:e[61].value}),(0,n.jsx)("td",{children:e[62].value}),(0,n.jsxs)("td",{children:[e[63].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[64].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[65].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[66].value})}),(0,n.jsx)("td",{children:e[67].value}),(0,n.jsx)("td",{children:e[68].value}),(0,n.jsxs)("td",{children:[e[69].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[70].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[71].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[72].value})}),(0,n.jsx)("td",{children:e[73].value}),(0,n.jsx)("td",{children:e[74].value}),(0,n.jsxs)("td",{children:[e[75].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[76].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[77].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[78].value})}),(0,n.jsx)("td",{children:e[79].value}),(0,n.jsx)("td",{children:e[80].value}),(0,n.jsxs)("td",{children:[e[81].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[82].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[83].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[84].value})}),(0,n.jsx)("td",{children:e[85].value}),(0,n.jsx)("td",{children:e[86].value}),(0,n.jsxs)("td",{children:[e[87].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[88].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[89].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[90].value})}),(0,n.jsx)("td",{children:e[91].value}),(0,n.jsx)("td",{children:e[92].value}),(0,n.jsxs)("td",{children:[e[93].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[94].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[95].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[96].value})}),(0,n.jsx)("td",{children:e[97].value}),(0,n.jsx)("td",{children:e[98].value}),(0,n.jsxs)("td",{children:[e[99].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[100].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[101].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[102].value})}),(0,n.jsx)("td",{children:e[103].value}),(0,n.jsx)("td",{children:e[104].value}),(0,n.jsxs)("td",{children:[e[105].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[106].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[107].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[108].value})}),(0,n.jsx)("td",{children:e[109].value}),(0,n.jsx)("td",{children:e[110].value}),(0,n.jsxs)("td",{children:[e[111].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[112].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[113].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[114].value})}),(0,n.jsx)("td",{children:e[115].value}),(0,n.jsx)("td",{children:e[116].value}),(0,n.jsxs)("td",{children:[e[117].value,(0,n.jsx)(r.Link,{to:"/components/text#globalconfigcomponentsvistext",children:e[118].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[119].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[120].value})}),(0,n.jsx)("td",{children:e[121].value}),(0,n.jsx)("td",{children:e[122].value}),(0,n.jsxs)("td",{children:[e[123].value,(0,n.jsx)(r.Link,{to:"/components/pin-map/api",children:e[124].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[125].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[126].value})}),(0,n.jsx)("td",{children:e[127].value}),(0,n.jsx)("td",{children:e[128].value}),(0,n.jsxs)("td",{children:[e[129].value,(0,n.jsx)(r.Link,{to:"/components/path-map/api",children:e[130].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[131].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[132].value})}),(0,n.jsx)("td",{children:e[133].value}),(0,n.jsx)("td",{children:e[134].value}),(0,n.jsxs)("td",{children:[e[135].value,(0,n.jsx)(r.Link,{to:"/components/heat-map/api",children:e[136].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[137].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[138].value})}),(0,n.jsx)("td",{children:e[139].value}),(0,n.jsx)("td",{children:e[140].value}),(0,n.jsxs)("td",{children:[e[141].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/graphs/mind-map",children:e[142].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[143].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[144].value})}),(0,n.jsx)("td",{children:e[145].value}),(0,n.jsx)("td",{children:e[146].value}),(0,n.jsxs)("td",{children:[e[147].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/graphs/flow-graph",children:e[148].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[149].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[150].value})}),(0,n.jsx)("td",{children:e[151].value}),(0,n.jsx)("td",{children:e[152].value}),(0,n.jsxs)("td",{children:[e[153].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/graphs/network-graph",children:e[154].value})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[155].value}),(0,n.jsx)("td",{children:(0,n.jsx)("code",{children:e[156].value})}),(0,n.jsx)("td",{children:e[157].value}),(0,n.jsx)("td",{children:e[158].value}),(0,n.jsxs)("td",{children:[e[159].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/graphs/organization-chart",children:e[160].value})]})]})]})]})]})]});}var h=function(){return(0,n.jsx)(r.DumiPage,{children:(0,n.jsx)(t.Suspense,{fallback:(0,n.jsx)(c.default,{}),children:(0,n.jsx)(a,{})})});};}}]); +//# sourceMappingURL=afc1cb10-async.a9d094cd.js.map \ No newline at end of file diff --git a/afc1cb10-async.a9d094cd.js.map b/afc1cb10-async.a9d094cd.js.map new file mode 100644 index 0000000..c6c75f0 --- /dev/null +++ b/afc1cb10-async.a9d094cd.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ConfigProvider/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"ConfigProvider 全局化配置\"}

{\"代码演示\"}

{\"API\"}

{$$contentTexts[0].value}{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}
{$$contentTexts[5].value}{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}
{$$contentTexts[10].value}{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}
{$$contentTexts[15].value}{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}
{$$contentTexts[20].value}{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}

{\"PlotGlobalConfig\"}

{$$contentTexts[25].value}{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}
{$$contentTexts[30].value}{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}

{\"GraphGlobalConfig\"}

{$$contentTexts[36].value}{$$contentTexts[37].value}{$$contentTexts[38].value}

{\"MapGlobalConfig\"}

{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}{$$contentTexts[42].value}{$$contentTexts[43].value}
{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}{$$contentTexts[47].value}{$$contentTexts[48].value}
{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}{$$contentTexts[52].value}{$$contentTexts[53].value}

{\"ComponentsGlobalConfig\"}

{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}{$$contentTexts[57].value}{$$contentTexts[58].value}
{$$contentTexts[59].value}{$$contentTexts[60].value}{$$contentTexts[61].value}{$$contentTexts[62].value}{$$contentTexts[63].value}{$$contentTexts[64].value}
{$$contentTexts[65].value}{$$contentTexts[66].value}{$$contentTexts[67].value}{$$contentTexts[68].value}{$$contentTexts[69].value}{$$contentTexts[70].value}
{$$contentTexts[71].value}{$$contentTexts[72].value}{$$contentTexts[73].value}{$$contentTexts[74].value}{$$contentTexts[75].value}{$$contentTexts[76].value}
{$$contentTexts[77].value}{$$contentTexts[78].value}{$$contentTexts[79].value}{$$contentTexts[80].value}{$$contentTexts[81].value}{$$contentTexts[82].value}
{$$contentTexts[83].value}{$$contentTexts[84].value}{$$contentTexts[85].value}{$$contentTexts[86].value}{$$contentTexts[87].value}{$$contentTexts[88].value}
{$$contentTexts[89].value}{$$contentTexts[90].value}{$$contentTexts[91].value}{$$contentTexts[92].value}{$$contentTexts[93].value}{$$contentTexts[94].value}
{$$contentTexts[95].value}{$$contentTexts[96].value}{$$contentTexts[97].value}{$$contentTexts[98].value}{$$contentTexts[99].value}{$$contentTexts[100].value}
{$$contentTexts[101].value}{$$contentTexts[102].value}{$$contentTexts[103].value}{$$contentTexts[104].value}{$$contentTexts[105].value}{$$contentTexts[106].value}
{$$contentTexts[107].value}{$$contentTexts[108].value}{$$contentTexts[109].value}{$$contentTexts[110].value}{$$contentTexts[111].value}{$$contentTexts[112].value}
{$$contentTexts[113].value}{$$contentTexts[114].value}{$$contentTexts[115].value}{$$contentTexts[116].value}{$$contentTexts[117].value}{$$contentTexts[118].value}
{$$contentTexts[119].value}{$$contentTexts[120].value}{$$contentTexts[121].value}{$$contentTexts[122].value}{$$contentTexts[123].value}{$$contentTexts[124].value}
{$$contentTexts[125].value}{$$contentTexts[126].value}{$$contentTexts[127].value}{$$contentTexts[128].value}{$$contentTexts[129].value}{$$contentTexts[130].value}
{$$contentTexts[131].value}{$$contentTexts[132].value}{$$contentTexts[133].value}{$$contentTexts[134].value}{$$contentTexts[135].value}{$$contentTexts[136].value}
{$$contentTexts[137].value}{$$contentTexts[138].value}{$$contentTexts[139].value}{$$contentTexts[140].value}{$$contentTexts[141].value}{$$contentTexts[142].value}
{$$contentTexts[143].value}{$$contentTexts[144].value}{$$contentTexts[145].value}{$$contentTexts[146].value}{$$contentTexts[147].value}{$$contentTexts[148].value}
{$$contentTexts[149].value}{$$contentTexts[150].value}{$$contentTexts[151].value}{$$contentTexts[152].value}{$$contentTexts[153].value}{$$contentTexts[154].value}
{$$contentTexts[155].value}{$$contentTexts[156].value}{$$contentTexts[157].value}{$$contentTexts[158].value}{$$contentTexts[159].value}{$$contentTexts[160].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA6DA,+CAAA,kDAvDkB,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,0DAAuB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,0DAAwB,UAAC,QAAK,UAAU,qBAAwB,mDAA4B,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACxU,KAAQ,CACN,GAAM,g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A,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/b426b87a-async.101ae924.js b/b426b87a-async.101ae924.js new file mode 100644 index 0000000..59e9a43 --- /dev/null +++ b/b426b87a-async.101ae924.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["b426b87a"],{"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return d.default;},Bubble:function(){return i.default;},Conversations:function(){return u.default;},Prompts:function(){return c.default;},Sender:function(){return o.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return f.default;},XProvider:function(){return p.default;},XRequest:function(){return h.default;},XStream:function(){return b.default;},useXAgent:function(){return m.default;},useXChat:function(){return v.default;},version:function(){return r.default;}});var t=a("777fffbe"),r=t._(a("61551e8a")),d=t._(a("150d8a7a")),o=t._(a("013e81db")),i=t._(a("d161127f")),u=t._(a("11781cbc")),c=t._(a("5a025bc4")),s=t._(a("e2d1bf07")),l=t._(a("d0c39811")),f=t._(a("0176aebf")),p=t._(a("8b35f51f")),v=t._(a("92b2492a")),m=t._(a("1e122ed0")),b=t._(a("470d5fd8")),h=t._(a("e0f10014"));},"44dde26c":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("10de4670");let t=[{value:"\u7EC4\u7EC7\u67B6\u6784\u56FE\uFF0C\u7528\u4E8E\u5C55\u793A\u7EC4\u7EC7\u5185\u90E8\u7684\u5C42\u7EA7\u7ED3\u6784\u548C\u90E8\u95E8\u5173\u7CFB\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "organization-chart",\n "data": {\n "name": "Eric Joplin",\n "description": "Chief Executive Officer",\n "children": [\n {\n "name": "Linda Newland",\n "description": "Chief Executive Assistant"\n }\n ]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"OrganizationChartData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"name",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u8868\u793A\u804C\u4F4D\u6216\u90E8\u95E8\u7684\u540D\u79F0\uFF0C\u5FC5\u987B\u552F\u4E00",paraId:3,tocIndex:7},{value:"description",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u5426",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u7684\u63CF\u8FF0\u4FE1\u606F\uFF0C\u53EF\u4EE5\u5305\u542B\u804C\u4F4D\u804C\u8D23\u6216\u90E8\u95E8\u7B80\u4ECB\u7B49",paraId:3,tocIndex:7},{value:"children",paraId:3,tocIndex:7},{value:"OrganizationChartData[]",paraId:3,tocIndex:7},{value:"\u5426",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u6570\u7EC4\uFF0C\u8868\u793A\u4E0B\u7EA7\u804C\u4F4D\u6216\u90E8\u95E8\u3002\u5982\u679C\u5F53\u524D\u8282\u70B9\u6CA1\u6709\u5B50\u8282\u70B9\uFF0C\u8BE5\u5B57\u6BB5\u53EF\u4EE5\u7701\u7565\u3002\u6BCF\u4E2A\u5B50\u8282\u70B9\u672C\u8EAB\u4E5F\u662F\u4E00\u4E2A ",paraId:3,tocIndex:7},{value:"OrganizationChartData",paraId:3,tocIndex:7},{value:" \u5BF9\u8C61\uFF0C\u8FD9\u610F\u5473\u7740\u5B83\u53EF\u4EE5\u5305\u542B\u81EA\u5DF1\u7684\u5B50\u8282\u70B9\uFF0C\u4ECE\u800C\u9012\u5F52\u5730\u6784\u5EFA\u51FA\u4E00\u4E2A\u591A\u5C42\u6B21\u7684\u6811\u72B6\u7ED3\u6784",paraId:3,tocIndex:7}];},"7bb6b0ca":function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return u;}});var r=a("852bbaa9"),d=r._(a("9d065c04"));a("10de4670");var o=r._(a("df67f0d6")),i=r._(a("1c5d635b"));let u={"organizationchart-demo-common":{component:d.default.memo(d.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("bfae5255")]).then(a.dr(t,a.bind(a,"9cbd5565"))))),asset:{type:"BLOCK",id:"organizationchart-demo-common",refAtomIds:["OrganizationChart"],dependencies:{"index.tsx":{type:"FILE",value:a("f514699b").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"organizationchart-demo-markdown":{component:d.default.memo(d.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("bfae5255")]).then(a.dr(t,a.bind(a,"90c5b668"))))),asset:{type:"BLOCK",id:"organizationchart-demo-markdown",refAtomIds:["OrganizationChart"],dependencies:{"index.tsx":{type:"FILE",value:a("cd36a5eb").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":i,"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},cd36a5eb:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("adbdc238");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, OrganizationChart, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u7EC4\u7EC7\u67B6\u6784\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "organization-chart",\n "data": {\n "name": "Eric Joplin",\n "description": "Chief Executive Officer",\n "children": [\n {\n "name": "Linda Newland",\n "description": "Chief Executive Assistant"\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.OrganizationChart]: OrganizationChart },\n style: { width: 600, height: 250 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return i.default;},GPTVis:function(){return u.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=a("d1751d7c"),r=a("777fffbe"),d=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var o=a("a574afdb"),i=r._(a("a7265236")),u=r._(a("2c69d5f6")),c=d._(a("033b3748")),s=r._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return r.default;}});var t=a("d1751d7c"),r=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},f514699b:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("3e7dae99");var t="import { OrganizationChart } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: 'Alice Johnson',\n description: 'Chief Technology Officer',\n children: [\n {\n name: 'Bob Smith',\n description: 'Senior Software Engineer',\n children: [\n {\n name: 'Charlie Brown',\n description: 'Software Engineer',\n },\n {\n name: 'Diana White',\n description: 'Software Engineer',\n },\n ],\n },\n {\n name: 'Eve Black',\n description: 'IT Support Department Head',\n children: [\n {\n name: 'Frank Green',\n description: 'IT Support Specialist',\n },\n {\n name: 'Grace Blue',\n description: 'IT Support Specialist',\n },\n ],\n },\n ],\n};\n\nexport default () => ;\n";}}]); +//# sourceMappingURL=b426b87a-async.101ae924.js.map \ No newline at end of file diff --git a/b426b87a-async.101ae924.js.map b/b426b87a-async.101ae924.js.map new file mode 100644 index 0000000..c38a420 --- /dev/null +++ b/b426b87a-async.101ae924.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/OrganizationChart/index.md?type=text","src/OrganizationChart/index.md?type=demo","src/OrganizationChart/demos/markdown.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/OrganizationChart/demos/common.tsx?dumi-raw"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/index.md?watch=parent';\n export const texts = [{\"value\":\"组织架构图,用于展示组织内部的层级结构和部门关系。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"organization-chart\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"Eric Joplin\\\",\\n \\\"description\\\": \\\"Chief Executive Officer\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"Linda Newland\\\",\\n \\\"description\\\": \\\"Chief Executive Assistant\\\"\\n }\\n ]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"OrganizationChartData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"name\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点的名称,表示职位或部门的名称,必须唯一\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"description\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点的描述信息,可以包含职位职责或部门简介等\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"children\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"OrganizationChartData[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点数组,表示下级职位或部门。如果当前节点没有子节点,该字段可以省略。每个子节点本身也是一个 \",\"paraId\":3,\"tocIndex\":7},{\"value\":\"OrganizationChartData\",\"paraId\":3,\"tocIndex\":7},{\"value\":\" 对象,这意味着它可以包含自己的子节点,从而递归地构建出一个多层次的树状结构\",\"paraId\":3,\"tocIndex\":7}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/index.md?watch=parent';\nimport * as organizationchart_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as organizationchart_demo_common_deps_2 from 'react';\nimport * as organizationchart_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'organizationchart-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"OrganizationChart__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"organizationchart-demo-common\",\n \"refAtomIds\": [\n \"OrganizationChart\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": organizationchart_demo_common_deps_1,\n \"react\": organizationchart_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'organizationchart-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"OrganizationChart__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"organizationchart-demo-markdown\",\n \"refAtomIds\": [\n \"OrganizationChart\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": organizationchart_demo_markdown_deps_1,\n \"@antv/gpt-vis\": organizationchart_demo_common_deps_1,\n \"react\": organizationchart_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, OrganizationChart, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个组织架构图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"organization-chart\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"Eric Joplin\\\",\\n \\\"description\\\": \\\"Chief Executive Officer\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"Linda Newland\\\",\\n \\\"description\\\": \\\"Chief Executive Assistant\\\"\\n }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.OrganizationChart]: OrganizationChart },\\n style: { width: 600, height: 250 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/common.tsx?watch=parent';\n export default \"import { OrganizationChart } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n name: 'Alice Johnson',\\n description: 'Chief Technology Officer',\\n children: [\\n {\\n name: 'Bob Smith',\\n description: 'Senior Software Engineer',\\n children: [\\n {\\n name: 'Charlie Brown',\\n description: 'Software Engineer',\\n },\\n {\\n name: 'Diana White',\\n description: 'Software Engineer',\\n },\\n ],\\n },\\n {\\n name: 'Eve Black',\\n description: 'IT Support Department Head',\\n children: [\\n {\\n name: 'Frank Green',\\n description: 'IT Support Specialist',\\n },\\n {\\n name: 'Grace Blue',\\n description: 'IT Support Specialist',\\n },\\n ],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d,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAAqF,OAAO,AAC/G,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,WACX,EACI,QAAS,CACX,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,EACA,kCAAmC,CACjC,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,kCACN,WAAc,CACZ,oBACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAAuF,OAAO,AACjH,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,WACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+EC/EE,+CAAA,QADO,gBACP,EAAe,m1DCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/b44b050d-async.b656a678.js b/b44b050d-async.b656a678.js new file mode 100644 index 0000000..0a69638 --- /dev/null +++ b/b44b050d-async.b656a678.js @@ -0,0 +1,24 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["b44b050d"],{"1c5d635b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Attachments:function(){return r.default;},Bubble:function(){return f.default;},Conversations:function(){return o.default;},Prompts:function(){return i.default;},Sender:function(){return d.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return l.default;},XProvider:function(){return b.default;},XRequest:function(){return g.default;},XStream:function(){return m.default;},useXAgent:function(){return h.default;},useXChat:function(){return _.default;},version:function(){return u.default;}});var a=n("777fffbe"),u=a._(n("61551e8a")),r=a._(n("150d8a7a")),d=a._(n("013e81db")),f=a._(n("d161127f")),o=a._(n("11781cbc")),i=a._(n("5a025bc4")),s=a._(n("e2d1bf07")),c=a._(n("d0c39811")),l=a._(n("0176aebf")),b=a._(n("8b35f51f")),_=a._(n("92b2492a")),h=a._(n("1e122ed0")),m=a._(n("470d5fd8")),g=a._(n("e0f10014"));},"259ce1ba":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8");n("86d3b274");var u=n("df67f0d6");let r={nodes:[{name:"\u54C8\u5229\xb7\u6CE2\u7279"},{name:"\u8D6B\u654F\xb7\u683C\u5170\u6770"},{name:"\u7F57\u6069\xb7\u97E6\u65AF\u83B1"},{name:"\u4F0F\u5730\u9B54"}],edges:[{source:"\u54C8\u5229\xb7\u6CE2\u7279",target:"\u8D6B\u654F\xb7\u683C\u5170\u6770",name:"\u670B\u53CB"},{source:"\u54C8\u5229\xb7\u6CE2\u7279",target:"\u7F57\u6069\xb7\u97E6\u65AF\u83B1",name:"\u670B\u53CB"},{source:"\u54C8\u5229\xb7\u6CE2\u7279",target:"\u4F0F\u5730\u9B54",name:"\u654C\u4EBA"},{source:"\u4F0F\u5730\u9B54",target:"\u54C8\u5229\xb7\u6CE2\u7279",name:"\u8BD5\u56FE\u6740\u6B7B"}]};var d=()=>(0,a.jsx)(u.NetworkGraph,{data:r,containerStyle:{height:300}});},"2ba0a7b1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var a=n("a2e753d8");n("d20f707b");var u=n("1c5d635b"),r=n("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{7F51}\u{7EDC}\u{56FE} + +\`\`\`vis-chart +{ + "type": "network-graph", + "data": { + "nodes": [ + { "name": "\u{54C8}\u{5229}\xb7\u{6CE2}\u{7279}" }, + { "name": "\u{8D6B}\u{654F}\xb7\u{683C}\u{5170}\u{6770}" }, + { "name": "\u{7F57}\u{6069}\xb7\u{97E6}\u{65AF}\u{83B1}" }, + { "name": "\u{4F0F}\u{5730}\u{9B54}" } + ], + "edges": [ + { "source": "\u{54C8}\u{5229}\xb7\u{6CE2}\u{7279}", "target": "\u{8D6B}\u{654F}\xb7\u{683C}\u{5170}\u{6770}", "name": "\u{670B}\u{53CB}" }, + { "source": "\u{54C8}\u{5229}\xb7\u{6CE2}\u{7279}", "target": "\u{7F57}\u{6069}\xb7\u{97E6}\u{65AF}\u{83B1}", "name": "\u{670B}\u{53CB}" }, + { "source": "\u{54C8}\u{5229}\xb7\u{6CE2}\u{7279}", "target": "\u{4F0F}\u{5730}\u{9B54}", "name": "\u{654C}\u{4EBA}" }, + { "source": "\u{4F0F}\u{5730}\u{9B54}", "target": "\u{54C8}\u{5229}\xb7\u{6CE2}\u{7279}", "name": "\u{8BD5}\u{56FE}\u{6740}\u{6B7B}" } + ] + } +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},o=(0,r.withChartCode)({components:{[r.ChartType.NetworkGraph]:r.NetworkGraph},style:{width:400}}),i=e=>(0,a.jsx)(r.GPTVisLite,{components:{code:o},children:e});var s=()=>(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)(u.Bubble,{placement:"end",content:"\u5728\u300A\u54C8\u5229\u6CE2\u7279\u300B\u7CFB\u5217\u4E2D\uFF0C\u6709\u51E0\u4E2A\u4E3B\u8981\u4EBA\u7269\uFF1A\u54C8\u5229\xb7\u6CE2\u7279\u3001\u8D6B\u654F\xb7\u683C\u5170\u6770\u3001\u7F57\u6069\xb7\u97E6\u65AF\u83B1\u548C\u4F0F\u5730\u9B54\u3002\u54C8\u5229\xb7\u6CE2\u7279\u662F\u4E3B\u89D2\uFF0C\u4ED6\u7684\u4E24\u4E2A\u6700\u597D\u7684\u670B\u53CB\u662F\u8D6B\u654F\xb7\u683C\u5170\u6770\u548C\u7F57\u6069\xb7\u97E6\u65AF\u83B1\u3002\u4F0F\u5730\u9B54\u662F\u54C8\u5229\xb7\u6CE2\u7279\u7684\u4E3B\u8981\u654C\u4EBA\uFF0C\u66FE\u8BD5\u56FE\u6740\u6B7B\u54C8\u5229\u3002\u7528\u7F51\u7EDC\u56FE\u53EF\u89C6\u5316",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb",maxWidth:"60%"}}}),(0,a.jsx)(u.Bubble,{content:d,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ConfigProvider:function(){return f.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var a=n("d1751d7c"),u=n("777fffbe"),r=n("852bbaa9");a._(n("5639510f"),t),a._(n("d382b880"),t);var d=n("a574afdb"),f=u._(n("a7265236")),o=u._(n("2c69d5f6")),i=r._(n("033b3748")),s=u._(n("7cf1dc46"));},e7bada6d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var a=n("d1751d7c"),u=n("777fffbe")._(n("b00709ad"));a._(n("5e2dda25"),t),a._(n("969efd31"),t),a._(n("f21af0e0"),t),a._(n("33eda958"),t),a._(n("112b9a67"),t),a._(n("a45613fd"),t),a._(n("432777ba"),t);}}]); +//# sourceMappingURL=b44b050d-async.b656a678.js.map \ No newline at end of file diff --git a/b44b050d-async.b656a678.js.map b/b44b050d-async.b656a678.js.map new file mode 100644 index 0000000..aed155d --- /dev/null +++ b/b44b050d-async.b656a678.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/NetworkGraph/demos/common.tsx?techStack=react","src/NetworkGraph/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/common.tsx?watch=parent';import { NetworkGraph } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n nodes: [\n { name: '哈利·波特' },\n { name: '赫敏·格兰杰' },\n { name: '罗恩·韦斯莱' },\n { name: '伏地魔' },\n ],\n edges: [\n { source: '哈利·波特', target: '赫敏·格兰杰', name: '朋友' },\n { source: '哈利·波特', target: '罗恩·韦斯莱', name: '朋友' },\n { source: '哈利·波特', target: '伏地魔', name: '敌人' },\n { source: '伏地魔', target: '哈利·波特', name: '试图杀死' },\n ],\n};\n\nexport default () => ;\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, NetworkGraph, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个网络图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"network-graph\",\n \"data\": {\n \"nodes\": [\n { \"name\": \"哈利·波特\" },\n { \"name\": \"赫敏·格兰杰\" },\n { \"name\": \"罗恩·韦斯莱\" },\n { \"name\": \"伏地魔\" }\n ],\n \"edges\": [\n { \"source\": \"哈利·波特\", \"target\": \"赫敏·格兰杰\", \"name\": \"朋友\" },\n { \"source\": \"哈利·波特\", \"target\": \"罗恩·韦斯莱\", \"name\": \"朋友\" },\n { \"source\": \"哈利·波特\", \"target\": \"伏地魔\", \"name\": \"敌人\" },\n { \"source\": \"伏地魔\", \"target\": \"哈利·波特\", \"name\": \"试图杀死\" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.NetworkGraph]: NetworkGraph },\n style: { width: 400 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCKpC,+CAAA,4BAlBO,oBAAgH,YAGvH,IAAM,EAAO,CACX,MAAO,CACL,CAAE,KAAM,8BAAQ,EAChB,CAAE,KAAM,oCAAS,EACjB,CAAE,KAAM,oCAAS,EACjB,CAAE,KAAM,oBAAM,EACf,CACD,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HjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/b9936f1a-async.72a334a2.js b/b9936f1a-async.72a334a2.js new file mode 100644 index 0000000..18e7bbb --- /dev/null +++ b/b9936f1a-async.72a334a2.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["b9936f1a"],{"1c5d635b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Attachments:function(){return a.default;},Bubble:function(){return o.default;},Conversations:function(){return d.default;},Prompts:function(){return v.default;},Sender:function(){return r.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return u.default;},Welcome:function(){return p.default;},XProvider:function(){return l.default;},XRequest:function(){return f.default;},XStream:function(){return _.default;},useXAgent:function(){return m.default;},useXChat:function(){return x.default;},version:function(){return s.default;}});var i=n("777fffbe"),s=i._(n("61551e8a")),a=i._(n("150d8a7a")),r=i._(n("013e81db")),o=i._(n("d161127f")),d=i._(n("11781cbc")),v=i._(n("5a025bc4")),u=i._(n("e2d1bf07")),c=i._(n("d0c39811")),p=i._(n("0176aebf")),l=i._(n("8b35f51f")),x=i._(n("92b2492a")),m=i._(n("1e122ed0")),_=i._(n("470d5fd8")),f=i._(n("e0f10014"));},"5fa38aaf":function(e,t,n){"use strict";var i=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return p;}});var s=n("852bbaa9"),a=s._(n("9d065c04"));n("bb3eb6b2");var r=s._(n("df67f0d6")),o=s._(n("64f5d8fc")),d=s._(n("5ca000fa")),v=s._(n("1c5d635b")),u=s._(n("a7601adf")),c=s._(n("87653f76"));let p={"src-text-demo-common":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("9e8e2db3")]).then(n.dr(i,n.bind(n,"23d9a848"))))),asset:{type:"BLOCK",id:"src-text-demo-common",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:n("afa7871a").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},antd:{type:"NPM",value:"5.22.5"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":r,antd:o,dumi:d,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(i,n.bind(n,"d030c320")))).default(...e)}},"src-text-demo-markdown":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("9e8e2db3")]).then(n.dr(i,n.bind(n,"aae43095"))))),asset:{type:"BLOCK",id:"src-text-demo-markdown",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:n("6d2ac1b9").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"},"styled-components":{type:"NPM",value:"6.1.13"}},entry:"index.tsx"},context:{"@ant-design/x":v,"@antv/gpt-vis":r,react:a,"styled-components":u},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(i,n.bind(n,"d030c320")))).default(...e)}},"src-text-demo-custom-markdown":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("9e8e2db3")]).then(n.dr(i,n.bind(n,"2350397c"))))),asset:{type:"BLOCK",id:"src-text-demo-custom-markdown",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:n("c8f2e6ee").default},"@ant-design/icons":{type:"NPM",value:"5.5.2"},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/icons":c,"@ant-design/x":v,"@antv/gpt-vis":r,react:a},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(i,n.bind(n,"d030c320")))).default(...e)}}};},"62776d37":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"texts",{enumerable:!0,get:function(){return i;}}),n("bb3eb6b2");let i=[{value:"\u4FEE\u6539\u5185\u7F6E entityType \u7684 encoding \u6837\u5F0F\uFF0C\u5982\u5C06\u2018\u7EA2\u6DA8\u7EFF\u8DCC\u2019\u8BE5\u4E3A\u2018\u7EA2\u8DCC\u7EFF\u6DA8\u2019\uFF1B",paraId:0,tocIndex:4},{value:"\u4E3A\u81EA\u5B9A\u4E49 entityType \u5B9A\u4E49 encoding \u6837\u5F0F\uFF0C\u5982\u589E\u52A0\u2018\u884C\u52A8\u5EFA\u8BAE\u2019\u5B9E\u4F53\u7C7B\u578B\uFF1B",paraId:0,tocIndex:4},{value:"\u5C5E\u6027",paraId:1,tocIndex:6},{value:"\u7C7B\u578B",paraId:1,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:6},{value:"\u8BF4\u660E",paraId:1,tocIndex:6},{value:"type",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u5B9E\u4F53\u7C7B\u578B",paraId:1,tocIndex:6},{value:"children",paraId:1,tocIndex:6},{value:"string",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u6587\u672C\u5185\u5BB9",paraId:1,tocIndex:6},{value:"origin",paraId:1,tocIndex:6},{value:"any",paraId:1,tocIndex:6},{value:"\u5426",paraId:1,tocIndex:6},{value:"-",paraId:1,tocIndex:6},{value:"\u539F\u59CB\u6570\u636E\uFF0C\u6BD4\u5982\u672A\u7ECF\u683C\u5F0F\u5316\u7684\u6307\u6807\u503C\u3001\u5360\u6BD4\u3001\u8D8B\u52BF\u8BE6\u60C5\u7B49",paraId:1,tocIndex:6},{value:"\u901A\u8FC7 ",paraId:2,tocIndex:7},{value:"ConfigProvider",paraId:2,tocIndex:7},{value:" \u5168\u5C40\u914D\u7F6E\uFF0C\u4E2A\u6027\u5316\u5B9A\u5236 VisText \u7EC4\u4EF6\u3002",paraId:2,tocIndex:7},{value:"\n \n;\n\n/** \u6587\u672C\u7EC4\u4EF6\u914D\u7F6E\u4FE1\u606F */\nexport type TextConfig =\n // \u5B9E\u4F53\u77ED\u8BED\u7C7B\u578B\u6620\u5C04\n Record & {\n // \u9759\u6001\u7EC4\u4EF6\u6620\u5C04, \u5982 icon \u548C mimi-chart\n __statics: Record>;\n };\n",paraId:3,tocIndex:7}];},"6d2ac1b9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}}),n("1c9d0536");var i='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { GPTVis, VisText } from \'@antv/gpt-vis\';\nimport React from \'react\';\nimport styled from \'styled-components\';\n\nconst StyledP = styled.p`\n font-size: 12px;\n opacity: 0.88;\n`;\n\nconst markdownContent = `\n### \u51B3\u7B56\u6570\u91CF:\n\u672C\u6708\u5171\u4EA7\u751F\u51B3\u7B56\u6570\u91CF2,783\u4E2A\uFF0C\u73AF\u6BD4\u589E\u957F15.2%\uFF0C\u540C\u6BD4\u589E\u957F23.5%\u3002\u5176\u4E2D\uFF0C\u8425\u9500\u90E8\u95E8\u8D21\u732E\u6700\u591A\uFF0C\u5360\u6BD438.7%\uFF1B\u5176\u6B21\u662F\u4EA7\u54C1\u90E8\u95E8\uFF0C\u5360\u6BD427.3%\u3002\u9AD8\u4F18\u5148\u7EA7\u51B3\u7B56\u5360\u6BD456.2%\uFF0C\u8F83\u4E0A\u6708\u4E0A\u53473.8\u4E2A\u767E\u5206\u70B9\u3002\u51B3\u7B56\u6570\u91CF\u5448\u73B0\u7A33\u5B9A\u4E0A\u5347\u8D8B\u52BF\uFF0C\u9884\u8BA1\u4E0B\u6708\u5C06\u7A81\u78343,000\u5927\u5173\u3002\n\n### \u51B3\u7B56\u51C6\u786E\u7387:\n\u672C\u6708\u6574\u4F53\u51B3\u7B56\u51C6\u786E\u7387\u4E3A87.6%\uFF0C\u73AF\u6BD4\u4E0B\u964D1.2\u4E2A\u767E\u5206\u70B9\uFF0C\u4F46\u4ECD\u9AD8\u4E8E\u5E74\u5EA6\u76EE\u68072.6%\u3002\u8D22\u52A1\u90E8\u95E8\u8868\u73B0\u6700\u4F73\uFF0C\u51C6\u786E\u7387\u8FBE94.3%\uFF1B\u4EBA\u529B\u8D44\u6E90\u90E8\u95E8\u8868\u73B0\u6B20\u4F73\uFF0C\u51C6\u786E\u7387\u4E3A76.8%\uFF0C\u5EFA\u8BAE\u52A0\u5F3A\u57F9\u8BAD\u3002\u6570\u636E\u9A71\u52A8\u578B\u51B3\u7B56\u7684\u51C6\u786E\u7387\uFF0891.2%\uFF09\u663E\u8457\u9AD8\u4E8E\u7ECF\u9A8C\u9A71\u52A8\u578B\u51B3\u7B56\uFF0882.4%\uFF09\uFF0C\u51F8\u663E\u4E86\u6570\u636E\u5206\u6790\u7684\u91CD\u8981\u6027\u3002\n\n### \u51B3\u7B56\u6267\u884C\u7387:\n\u672C\u6708\u51B3\u7B56\u6267\u884C\u7387\u4E3A82.3%\uFF0C\u73AF\u6BD4\u63D0\u53475.7\u4E2A\u767E\u5206\u70B9\uFF0C\u521B\u4E0B\u8FD16\u4E2A\u6708\u65B0\u9AD8\u3002\u5176\u4E2D\uFF0C\u9AD8\u4F18\u5148\u7EA7\u51B3\u7B56\u6267\u884C\u7387\u8FBE95.6%\uFF0C\u4F4E\u4F18\u5148\u7EA7\u51B3\u7B56\u6267\u884C\u7387\u4EC5\u4E3A68.7%\u3002\u6280\u672F\u90E8\u95E8\u7684\u6267\u884C\u7387\u6700\u9AD8\uFF0C\u8FBE91.2%\uFF1B\u5E02\u573A\u90E8\u95E8\u6700\u4F4E\uFF0C\u4E3A74.5%\u3002\u5EFA\u8BAE\u5173\u6CE8\u5E02\u573A\u90E8\u95E8\u7684\u51B3\u7B56\u6267\u884C\u969C\u788D\uFF0C\u63D0\u4F9B\u5FC5\u8981\u652F\u6301\u3002\n\n### \u51B3\u7B56\u6536\u76CA:\n\u672C\u6708\u51B3\u7B56\u6536\u76CA\u5E26\u6765\u7684\u603B\u6536\u76CA\u4E3A1,275\u4E07\u5143\uFF0C\u540C\u6BD4\u589E\u957F31.8%\uFF0C\u8D85\u51FA\u9884\u671F18.6%\u3002\u4EA7\u54C1\u51B3\u7B56\u8D21\u732E\u6700\u5927\uFF0C\u5360\u603B\u6536\u76CA\u768442.3%\uFF1B\u5176\u6B21\u662F\u8425\u9500\u51B3\u7B56\uFF0C\u536027.6%\u3002\u9AD8\u98CE\u9669\u51B3\u7B56\u7684\u5E73\u5747\u6536\u76CA\uFF0887.3\u4E07\u5143/\u4E2A\uFF09\u663E\u8457\u9AD8\u4E8E\u4F4E\u98CE\u9669\u51B3\u7B56\uFF0823.1\u4E07\u5143/\u4E2A\uFF09\u3002\u5EFA\u8BAE\u5728\u98CE\u9669\u53EF\u63A7\u7684\u524D\u63D0\u4E0B\uFF0C\u9002\u5F53\u589E\u52A0\u9AD8\u6536\u76CA\u6F5C\u529B\u7684\u51B3\u7B56\u6BD4\u4F8B\u3002\n\n### \u6570\u636E\u8D28\u91CF:\n\u672C\u6708\u6570\u636E\u8D28\u91CF\u8BC4\u5206\u4E3A88.5\u5206\uFF08\u6EE1\u5206100\u5206\uFF09\uFF0C\u73AF\u6BD4\u63D0\u5347\u63D0\u53472.3\u5206\u3002\u6570\u636E\u5B8C\u6574\u6027\uFF0893.2\u5206\uFF09\u548C\u53CA\u65F6\u6027\uFF0891.7\u5206\uFF09\u8868\u73B0\u4F18\u5F02\uFF0C\u800C\u51C6\u786E\u6027\uFF0884.6\u5206\uFF09\u548C\u4E00\u81F4\u6027\uFF0882.5\u5206\uFF09\u4ECD\u6709\u63D0\u5347\u7A7A\u95F4\u3002\u8D22\u52A1\u6570\u636E\u8D28\u91CF\u6700\u9AD8\uFF0C\u8FBE95.3\u5206\uFF1B\u7528\u6237\u884C\u4E3A\u6570\u636E\u8D28\u91CF\u6700\u4F4E\uFF0C\u4E3A81.2\u5206\u3002\u5EFA\u8BAE\u4F18\u5316\u7528\u6237\u884C\u4E3A\u6570\u636E\u91C7\u96C6\u6D41\u7A0B\uFF0C\u63D0\u9AD8\u6570\u636E\u51C6\u786E\u6027\u548C\u4E00\u81F4\u6027\u3002\n\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n
\n);\n';},afa7871a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}}),n("af12e3a0");var i='import { VisText } from \'@antv/gpt-vis\';\nimport { ConfigProvider, Descriptions, Space, theme } from \'antd\';\nimport { usePrefersColor } from \'dumi\';\nimport React from \'react\';\n\nexport default () => {\n // dumi \u6587\u6863\u5F53\u524D\u7684\u4E3B\u9898\u8272\n const [color] = usePrefersColor();\n return (\n // \u9002\u914D antd \u4E3B\u9898\u3002\u5F85\u6574\u4F53\u6587\u6863 demo \u90FD\u9002\u914D\u4E3B\u9898\u540E\u53EF\u4EE5\u5220\u9664\n // https://github.com/antvis/GPT-Vis/pull/24\n \n \n \n DAU\n \n \n \n 90.1w\n \n \n \n 30%\n \n \n \n 100.33\n 100.33\n \n \n \n \n 30%\n 30%\n \n \n \n 20%\n \n \n \n \u8D8B\u52BF\u4E0A\u6DA8\n \n \n \n \u676D\u5DDE\n \n \n 2021-10-11\n \n \n 30%\n \n \n \n );\n};\n';},c8f2e6ee:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}}),n("b6e067d8");var i="import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons';\nimport { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ConfigProvider, GPTVis, VisText } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\nDAU \u662F 1.23\u4EBF\uFF0C\u73AF\u6BD4\u6628\u65E5 80\u4E07(2.3%)\uFF0C\u5EFA\u8BAE\u4FDD\u6301\u5173\u6CE8\u3002\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n \n
\n \n
\n \n);\n";},df67f0d6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ConfigProvider:function(){return o.default;},GPTVis:function(){return d.default;},GPTVisLite:function(){return v.default;},useEventPublish:function(){return v.useEventPublish;},version:function(){return u.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var i=n("d1751d7c"),s=n("777fffbe"),a=n("852bbaa9");i._(n("5639510f"),t),i._(n("d382b880"),t);var r=n("a574afdb"),o=s._(n("a7265236")),d=s._(n("2c69d5f6")),v=a._(n("033b3748")),u=s._(n("7cf1dc46"));},e7bada6d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"Source",{enumerable:!0,get:function(){return s.default;}});var i=n("d1751d7c"),s=n("777fffbe")._(n("b00709ad"));i._(n("5e2dda25"),t),i._(n("969efd31"),t),i._(n("f21af0e0"),t),i._(n("33eda958"),t),i._(n("112b9a67"),t),i._(n("a45613fd"),t),i._(n("432777ba"),t);}}]); +//# sourceMappingURL=b9936f1a-async.72a334a2.js.map \ No newline at end of file diff --git a/b9936f1a-async.72a334a2.js.map b/b9936f1a-async.72a334a2.js.map new file mode 100644 index 0000000..db34d1b --- /dev/null +++ b/b9936f1a-async.72a334a2.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Text/index.md?type=demo","src/Text/index.md?type=text","src/Text/demos/markdown.tsx?dumi-raw","src/Text/demos/common.tsx?dumi-raw","src/Text/demos/custom-markdown.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/index.md?watch=parent';\nimport * as src_text_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as src_text_demo_common_deps_2 from 'antd';\nimport * as src_text_demo_common_deps_3 from 'dumi';\nimport * as src_text_demo_common_deps_4 from 'react';\nimport * as src_text_demo_markdown_deps_1 from '@ant-design/x';\nimport * as src_text_demo_markdown_deps_4 from 'styled-components';\nimport * as src_text_demo_custom_markdown_deps_1 from '@ant-design/icons';\nexport const demos = {\n 'src-text-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"src-text-demo-common\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"antd\": {\n \"type\": \"NPM\",\n \"value\": \"5.22.5\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": src_text_demo_common_deps_1,\n \"antd\": src_text_demo_common_deps_2,\n \"dumi\": src_text_demo_common_deps_3,\n \"react\": src_text_demo_common_deps_4\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'src-text-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"src-text-demo-markdown\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n },\n \"styled-components\": {\n \"type\": \"NPM\",\n \"value\": \"6.1.13\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": src_text_demo_markdown_deps_1,\n \"@antv/gpt-vis\": src_text_demo_common_deps_1,\n \"react\": src_text_demo_common_deps_4,\n \"styled-components\": src_text_demo_markdown_deps_4\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'src-text-demo-custom-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/custom-markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"src-text-demo-custom-markdown\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/custom-markdown.tsx?dumi-raw').default\n },\n \"@ant-design/icons\": {\n \"type\": \"NPM\",\n \"value\": \"5.5.2\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/icons\": src_text_demo_custom_markdown_deps_1,\n \"@ant-design/x\": src_text_demo_markdown_deps_1,\n \"@antv/gpt-vis\": src_text_demo_common_deps_1,\n \"react\": src_text_demo_common_deps_4\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/index.md?watch=parent';\n export const texts = [{\"value\":\"修改内置 entityType 的 encoding 样式,如将‘红涨绿跌’该为‘红跌绿涨’;\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"为自定义 entityType 定义 encoding 样式,如增加‘行动建议’实体类型;\",\"paraId\":0,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"type\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"实体类型\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"children\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"文本内容\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"origin\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"any\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"原始数据,比如未经格式化的指标值、占比、趋势详情等\",\"paraId\":1,\"tocIndex\":6},{\"value\":\"通过 \",\"paraId\":2,\"tocIndex\":7},{\"value\":\"ConfigProvider\",\"paraId\":2,\"tocIndex\":7},{\"value\":\" 全局配置,个性化定制 VisText 组件。\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"\\n \\n;\\n\\n/** 文本组件配置信息 */\\nexport type TextConfig =\\n // 实体短语类型映射\\n Record & {\\n // 静态组件映射, 如 icon 和 mimi-chart\\n __statics: Record>;\\n };\\n\",\"paraId\":3,\"tocIndex\":7}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { GPTVis, VisText } from '@antv/gpt-vis';\\nimport React from 'react';\\nimport styled from 'styled-components';\\n\\nconst StyledP = styled.p`\\n font-size: 12px;\\n opacity: 0.88;\\n`;\\n\\nconst markdownContent = `\\n### 决策数量:\\n本月共产生决策数量2,783个,环比增长15.2%,同比增长23.5%。其中,营销部门贡献最多,占比38.7%;其次是产品部门,占比27.3%高优先级决策占比56.2%,较上月上升3.8个百分点。决策数量呈现稳定上升趋势,预计下月将突破3,000大关。\\n\\n### 决策准确率:\\n本月整体决策准确率87.6%,环比下降1.2个百分点,但仍高于年度目标2.6%财务部门表现最佳,准确率达94.3%人力资源部门表现欠佳,准确率为76.8%,建议加强培训。数据驱动型决策的准确率(91.2%)显著高于经验驱动型决策82.4%),凸显了数据分析的重要性。\\n\\n### 决策执行率:\\n本月决策执行率82.3%,环比提升5.7个百分点,创下近6个月新高。其中,高优先级决策执行率达95.6%低优先级决策执行率仅为68.7%技术部门的执行率最高,达91.2%市场部门最低,为74.5%。建议关注市场部门的决策执行障碍,提供必要支持。\\n\\n### 决策收益:\\n本月决策收益带来的总收益为1,275万元,同比增长31.8%,超出预期18.6%产品决策贡献最大,占总收益的42.3%;其次是营销决策,占27.6%高风险决策的平均收益(87.3万元/个)显著高于低风险决策23.1万元/个)。建议在风险可控的前提下,适当增加高收益潜力的决策比例。\\n\\n### 数据质量:\\n本月数据质量评分为88.5分(满分100分),环比提升提升2.3分。数据完整性93.2分)和及时性91.7分)表现优异,而准确性84.6分)和一致性82.5分)仍有提升空间。财务数据质量最高,达95.3分;用户行为数据质量最低,为81.2分。建议优化用户行为数据采集流程,提高数据准确性一致性。\\n\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/common.tsx?watch=parent';\n export default \"import { VisText } from '@antv/gpt-vis';\\nimport { ConfigProvider, Descriptions, Space, theme } from 'antd';\\nimport { usePrefersColor } from 'dumi';\\nimport React from 'react';\\n\\nexport default () => {\\n // dumi 文档当前的主题色\\n const [color] = usePrefersColor();\\n return (\\n // 适配 antd 主题。待整体文档 demo 都适配主题后可以删除\\n // https://github.com/antvis/GPT-Vis/pull/24\\n \\n \\n \\n DAU\\n \\n \\n \\n 90.1w\\n \\n \\n \\n 30%\\n \\n \\n \\n 100.33\\n 100.33\\n \\n \\n \\n \\n 30%\\n 30%\\n \\n \\n \\n 20%\\n \\n \\n \\n 趋势上涨\\n \\n \\n \\n 杭州\\n \\n \\n 2021-10-11\\n \\n \\n 30%\\n \\n \\n \\n );\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/demos/custom-markdown.tsx?watch=parent';\n export default \"import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons';\\nimport { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ConfigProvider, GPTVis, VisText } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\nDAU1.23亿,环比昨日 80万(2.3%),建议保持关注。\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n \\n
\\n \\n
\\n \\n);\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,kHCJvB,6CAAA,kCATK,eACX,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,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAS,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,MAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,yJAA4B,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,gBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,iBAAiB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2FAA0B,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,seAA+V,OAAS,EAAE,SAAW,CAAC,EAAE,gFCA7gD,+CAAA,QADO,gBACP,EAAe,6kPCAf,+CAAA,QADO,gBACP,EAAe,mqFCAf,+CAAA,QADO,gBACP,EAAe,0hECOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/bd9b0e6e-async.403e44ba.js b/bd9b0e6e-async.403e44ba.js new file mode 100644 index 0000000..d812858 --- /dev/null +++ b/bd9b0e6e-async.403e44ba.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["bd9b0e6e"],{"1b46a142":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"texts",{enumerable:!0,get:function(){return t;}}),n("e8043c88");let t=[{value:"\u7F51\u7EDC\u56FE\uFF0C\u53C8\u540D\u529B\u5BFC\u5411\u56FE\uFF0C\u7528\u4E8E\u5C55\u793A\u8282\u70B9\uFF08\u5B9E\u4F53\uFF09\u4E4B\u95F4\u7684\u5173\u7CFB\uFF08\u8FB9\uFF09\uFF0C\u76F4\u89C2\u5730\u8868\u793A\u590D\u6742\u7684\u7F51\u7EDC\u7ED3\u6784\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "network-graph",\n "data": {\n "nodes": [{ "name": "node1" }, { "name": "node2" }],\n "edges": [{ "source": "node1", "target": "node2", "name": "edge1" }]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"NetworkGraphData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"nodes",paraId:3,tocIndex:7},{value:"NetworkGraphNode[]",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7F51\u7EDC\u56FE\u4E2D\u7684\u8282\u70B9\u6570\u7EC4\uFF0C\u6BCF\u4E2A\u8282\u70B9\u8868\u793A\u4E00\u4E2A\u5B9E\u4F53",paraId:3,tocIndex:7},{value:"edges",paraId:3,tocIndex:7},{value:"NetworkGraphEdge[]",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7F51\u7EDC\u56FE\u4E2D\u7684\u8FB9\u6570\u7EC4\uFF0C\u6BCF\u6761\u8FB9\u8868\u793A\u4E24\u4E2A\u8282\u70B9\u4E4B\u95F4\u7684\u5173\u7CFB",paraId:3,tocIndex:7},{value:"\u5C5E\u6027",paraId:4,tocIndex:8},{value:"\u7C7B\u578B",paraId:4,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:4,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:8},{value:"\u8BF4\u660E",paraId:4,tocIndex:8},{value:"name",paraId:4,tocIndex:8},{value:"string",paraId:4,tocIndex:8},{value:"\u662F",paraId:4,tocIndex:8},{value:"-",paraId:4,tocIndex:8},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u5FC5\u987B\u552F\u4E00\uFF0C\u7528\u4E8E\u6807\u8BC6\u8282\u70B9",paraId:4,tocIndex:8},{value:"\u5C5E\u6027",paraId:5,tocIndex:9},{value:"\u7C7B\u578B",paraId:5,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:5,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:9},{value:"\u8BF4\u660E",paraId:5,tocIndex:9},{value:"source",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u662F",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u8D77\u59CB\u8282\u70B9\u540D\u79F0\uFF0C\u6307\u5411 ",paraId:5,tocIndex:9},{value:"NetworkGraphNode",paraId:5,tocIndex:9},{value:" \u7684 ",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:" \u5C5E\u6027",paraId:5,tocIndex:9},{value:"target",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u662F",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u76EE\u6807\u8282\u70B9\u540D\u79F0\uFF0C\u6307\u5411 ",paraId:5,tocIndex:9},{value:"NetworkGraphNode",paraId:5,tocIndex:9},{value:" \u7684 ",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:" \u5C5E\u6027",paraId:5,tocIndex:9},{value:"name",paraId:5,tocIndex:9},{value:"string",paraId:5,tocIndex:9},{value:"\u662F",paraId:5,tocIndex:9},{value:"-",paraId:5,tocIndex:9},{value:"\u8FB9\u7684\u540D\u79F0\uFF0C\u7528\u4E8E\u6807\u8BC6\u8FB9",paraId:5,tocIndex:9}];},"1c5d635b":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return c.default;},Prompts:function(){return l.default;},Sender:function(){return o.default;},Suggestion:function(){return p.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return I.default;},XProvider:function(){return i.default;},XRequest:function(){return x.default;},XStream:function(){return m.default;},useXAgent:function(){return f.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var t=n("777fffbe"),d=t._(n("61551e8a")),r=t._(n("150d8a7a")),o=t._(n("013e81db")),u=t._(n("d161127f")),c=t._(n("11781cbc")),l=t._(n("5a025bc4")),s=t._(n("e2d1bf07")),p=t._(n("d0c39811")),I=t._(n("0176aebf")),i=t._(n("8b35f51f")),v=t._(n("92b2492a")),f=t._(n("1e122ed0")),m=t._(n("470d5fd8")),x=t._(n("e0f10014"));},"5c67adbd":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("d20f707b");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, NetworkGraph, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u7F51\u7EDC\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "network-graph",\n "data": {\n "nodes": [\n { "name": "\u54C8\u5229\xb7\u6CE2\u7279" },\n { "name": "\u8D6B\u654F\xb7\u683C\u5170\u6770" },\n { "name": "\u7F57\u6069\xb7\u97E6\u65AF\u83B1" },\n { "name": "\u4F0F\u5730\u9B54" }\n ],\n "edges": [\n { "source": "\u54C8\u5229\xb7\u6CE2\u7279", "target": "\u8D6B\u654F\xb7\u683C\u5170\u6770", "name": "\u670B\u53CB" },\n { "source": "\u54C8\u5229\xb7\u6CE2\u7279", "target": "\u7F57\u6069\xb7\u97E6\u65AF\u83B1", "name": "\u670B\u53CB" },\n { "source": "\u54C8\u5229\xb7\u6CE2\u7279", "target": "\u4F0F\u5730\u9B54", "name": "\u654C\u4EBA" },\n { "source": "\u4F0F\u5730\u9B54", "target": "\u54C8\u5229\xb7\u6CE2\u7279", "name": "\u8BD5\u56FE\u6740\u6B7B" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.NetworkGraph]: NetworkGraph },\n style: { width: 400 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},ce1e9ed3:function(e,a,n){"use strict";var t=n("852bbaa9")._;n.d(a,"__esModule",{value:!0}),n.d(a,"demos",{enumerable:!0,get:function(){return c;}});var d=n("852bbaa9"),r=d._(n("9d065c04"));n("e8043c88");var o=d._(n("df67f0d6")),u=d._(n("1c5d635b"));let c={"networkgraph-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b44b050d")]).then(n.dr(t,n.bind(n,"259ce1ba"))))),asset:{type:"BLOCK",id:"networkgraph-demo-common",refAtomIds:["NetworkGraph"],dependencies:{"index.tsx":{type:"FILE",value:n("f30ba07f").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}},"networkgraph-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b44b050d")]).then(n.dr(t,n.bind(n,"2ba0a7b1"))))),asset:{type:"BLOCK",id:"networkgraph-demo-markdown",refAtomIds:["NetworkGraph"],dependencies:{"index.tsx":{type:"FILE",value:n("5c67adbd").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}}};},df67f0d6:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{ConfigProvider:function(){return u.default;},GPTVis:function(){return c.default;},GPTVisLite:function(){return l.default;},useEventPublish:function(){return l.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=n("d1751d7c"),d=n("777fffbe"),r=n("852bbaa9");t._(n("5639510f"),a),t._(n("d382b880"),a);var o=n("a574afdb"),u=d._(n("a7265236")),c=d._(n("2c69d5f6")),l=r._(n("033b3748")),s=d._(n("7cf1dc46"));},e7bada6d:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"Source",{enumerable:!0,get:function(){return d.default;}});var t=n("d1751d7c"),d=n("777fffbe")._(n("b00709ad"));t._(n("5e2dda25"),a),t._(n("969efd31"),a),t._(n("f21af0e0"),a),t._(n("33eda958"),a),t._(n("112b9a67"),a),t._(n("a45613fd"),a),t._(n("432777ba"),a);},f30ba07f:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("86d3b274");var t="import { NetworkGraph } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n nodes: [\n { name: '\u54C8\u5229\xb7\u6CE2\u7279' },\n { name: '\u8D6B\u654F\xb7\u683C\u5170\u6770' },\n { name: '\u7F57\u6069\xb7\u97E6\u65AF\u83B1' },\n { name: '\u4F0F\u5730\u9B54' },\n ],\n edges: [\n { source: '\u54C8\u5229\xb7\u6CE2\u7279', target: '\u8D6B\u654F\xb7\u683C\u5170\u6770', name: '\u670B\u53CB' },\n { source: '\u54C8\u5229\xb7\u6CE2\u7279', target: '\u7F57\u6069\xb7\u97E6\u65AF\u83B1', name: '\u670B\u53CB' },\n { source: '\u54C8\u5229\xb7\u6CE2\u7279', target: '\u4F0F\u5730\u9B54', name: '\u654C\u4EBA' },\n { source: '\u4F0F\u5730\u9B54', target: '\u54C8\u5229\xb7\u6CE2\u7279', name: '\u8BD5\u56FE\u6740\u6B7B' },\n ],\n};\n\nexport default () => ;\n";}}]); +//# sourceMappingURL=bd9b0e6e-async.403e44ba.js.map \ No newline at end of file diff --git a/bd9b0e6e-async.403e44ba.js.map b/bd9b0e6e-async.403e44ba.js.map new file mode 100644 index 0000000..0b09338 --- /dev/null +++ b/bd9b0e6e-async.403e44ba.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/NetworkGraph/index.md?type=text","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/NetworkGraph/demos/markdown.tsx?dumi-raw","src/NetworkGraph/index.md?type=demo","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/NetworkGraph/demos/common.tsx?dumi-raw"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/index.md?watch=parent';\n export const texts = [{\"value\":\"网络图,又名力导向图,用于展示节点(实体)之间的关系(边),直观地表示复杂的网络结构。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"network-graph\\\",\\n \\\"data\\\": {\\n \\\"nodes\\\": [{ \\\"name\\\": \\\"node1\\\" }, { \\\"name\\\": \\\"node2\\\" }],\\n \\\"edges\\\": [{ \\\"source\\\": \\\"node1\\\", \\\"target\\\": \\\"node2\\\", \\\"name\\\": \\\"edge1\\\" }]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"NetworkGraphData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"nodes\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"NetworkGraphNode[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"网络图中的节点数组,每个节点表示一个实体\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"edges\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"NetworkGraphEdge[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"网络图中的边数组,每条边表示两个节点之间的关系\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"name\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"节点的名称,必须唯一,用于标识节点\",\"paraId\":4,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"source\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的起始节点名称,指向 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"NetworkGraphNode\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 的 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"target\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的目标节点名称,指向 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"NetworkGraphNode\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 的 \",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\" 属性\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"name\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":9},{\"value\":\"边的名称,用于标识边\",\"paraId\":5,\"tocIndex\":9}];\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, NetworkGraph, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个网络图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"network-graph\\\",\\n \\\"data\\\": {\\n \\\"nodes\\\": [\\n { \\\"name\\\": \\\"哈利·波特\\\" },\\n { \\\"name\\\": \\\"赫敏·格兰杰\\\" },\\n { \\\"name\\\": \\\"罗恩·韦斯莱\\\" },\\n { \\\"name\\\": \\\"伏地魔\\\" }\\n ],\\n \\\"edges\\\": [\\n { \\\"source\\\": \\\"哈利·波特\\\", \\\"target\\\": \\\"赫敏·格兰杰\\\", \\\"name\\\": \\\"朋友\\\" },\\n { \\\"source\\\": \\\"哈利·波特\\\", \\\"target\\\": \\\"罗恩·韦斯莱\\\", \\\"name\\\": \\\"朋友\\\" },\\n { \\\"source\\\": \\\"哈利·波特\\\", \\\"target\\\": \\\"伏地魔\\\", \\\"name\\\": \\\"敌人\\\" },\\n { \\\"source\\\": \\\"伏地魔\\\", \\\"target\\\": \\\"哈利·波特\\\", \\\"name\\\": \\\"试图杀死\\\" }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.NetworkGraph]: NetworkGraph },\\n style: { width: 400 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/index.md?watch=parent';\nimport * as networkgraph_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as networkgraph_demo_common_deps_2 from 'react';\nimport * as networkgraph_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'networkgraph-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"NetworkGraph__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"networkgraph-demo-common\",\n \"refAtomIds\": [\n \"NetworkGraph\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": networkgraph_demo_common_deps_1,\n \"react\": networkgraph_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'networkgraph-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"NetworkGraph__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"networkgraph-demo-markdown\",\n \"refAtomIds\": [\n \"NetworkGraph\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": networkgraph_demo_markdown_deps_1,\n \"@antv/gpt-vis\": networkgraph_demo_common_deps_1,\n \"react\": networkgraph_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/demos/common.tsx?watch=parent';\n export default \"import { NetworkGraph } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n nodes: [\\n { name: '哈利·波特' },\\n { name: '赫敏·格兰杰' },\\n { name: '罗恩·韦斯莱' },\\n { name: '伏地魔' },\\n ],\\n edges: [\\n { source: '哈利·波特', target: '赫敏·格兰杰', name: '朋友' },\\n { source: '哈利·波特', target: '罗恩·韦斯莱', name: '朋友' },\\n { source: '哈利·波特', target: '伏地魔', name: '敌人' },\\n { source: '伏地魔', target: '哈利·波特', name: '试图杀死' },\\n ],\\n};\\n\\nexport default () => ;\\n\";;\n "],"names":[],"mappings":"+PAEe,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,qQAA8C,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2LAAyN,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,OAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,mBAAmB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,QAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAA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S,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,gFCxEoB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/be0a7f6e-async.0a2a1693.js b/be0a7f6e-async.0a2a1693.js new file mode 100644 index 0000000..c45d259 --- /dev/null +++ b/be0a7f6e-async.0a2a1693.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["be0a7f6e"],{be0a7f6e:function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var l=s("777fffbe"),n=s("a2e753d8"),i=l._(s("1b472ae8")),a=l._(s("49f20ac6")),r=s("5ca000fa"),c=l._(s("9b3f9685")),h=s("9d065c04");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"wordcloud-\u8BCD\u4E91\u56FE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#wordcloud-\u8BCD\u4E91\u56FE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"WordCloud \u8BCD\u4E91\u56FE"]}),(0,n.jsx)("p",{children:e[0].value}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,n.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,n.jsx)(r.DumiDemo,{demo:{id:"wordcloud-demo-0"},previewerProps:{}}),(0,n.jsx)("div",{className:"markdown",children:(0,n.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,n.jsx)(r.DumiDemo,{demo:{id:"wordcloud-demo-1"},previewerProps:{}}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"spec",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,n.jsx)(i.default,{lang:"json",children:e[1].value}),(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)("h3",{id:"wordcloudprops",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#wordcloudprops",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"WordCloudProps"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value}),(0,n.jsx)("th",{children:e[5].value}),(0,n.jsx)("th",{children:e[6].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:e[8].value}),(0,n.jsx)("td",{children:e[9].value}),(0,n.jsx)("td",{children:e[10].value}),(0,n.jsx)("td",{children:e[11].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[12].value}),(0,n.jsx)("td",{children:e[13].value}),(0,n.jsx)("td",{children:e[14].value}),(0,n.jsx)("td",{children:e[15].value}),(0,n.jsx)("td",{children:e[16].value})]})]})]}),(0,n.jsxs)("h3",{id:"wordclouddataitem",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#wordclouddataitem",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"WordCloudDataItem"]}),(0,n.jsxs)(a.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[17].value}),(0,n.jsx)("th",{children:e[18].value}),(0,n.jsx)("th",{children:e[19].value}),(0,n.jsx)("th",{children:e[20].value}),(0,n.jsx)("th",{children:e[21].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[22].value}),(0,n.jsx)("td",{children:e[23].value}),(0,n.jsx)("td",{children:e[24].value}),(0,n.jsx)("td",{children:e[25].value}),(0,n.jsx)("td",{children:e[26].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[27].value}),(0,n.jsx)("td",{children:e[28].value}),(0,n.jsx)("td",{children:e[29].value}),(0,n.jsx)("td",{children:e[30].value}),(0,n.jsx)("td",{children:e[31].value})]})]})]})]})]});}var x=function(){return(0,n.jsx)(r.DumiPage,{children:(0,n.jsx)(h.Suspense,{fallback:(0,n.jsx)(c.default,{}),children:(0,n.jsx)(t,{})})});};}}]); +//# sourceMappingURL=be0a7f6e-async.0a2a1693.js.map \ No newline at end of file diff --git a/be0a7f6e-async.0a2a1693.js.map b/be0a7f6e-async.0a2a1693.js.map new file mode 100644 index 0000000..259ae31 --- /dev/null +++ b/be0a7f6e-async.0a2a1693.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/WordCloud/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"WordCloud 词云图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"WordCloudProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}
{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}

{\"WordCloudDataItem\"}

{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAuCA,+CAAA,kDAlCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,yCAAgB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,yCAAiB,UAAC,QAAK,UAAU,qBAAwB,kCAAqB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACtc,KAAQ,CACN,GAAM,kBACR,EACA,eAAkB,CAAC,IAChB,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,0CAA4B,UAAC,UAAQ,EAC7L,KAAQ,CACN,GAAM,kBACR,EACA,eAAkB,CAAC,IAChB,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KA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,KAAK,8BAAqB,UAAC,QAAK,UAAU,qBAAwB,uBAAyB,WAAC,SAAK,YAAC,UAAC,kBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAClvD,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/be951759-async.3538e17c.js b/be951759-async.3538e17c.js new file mode 100644 index 0000000..4056032 --- /dev/null +++ b/be951759-async.3538e17c.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["be951759"],{be951759:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return u;}});var s=a("777fffbe"),l=a("a2e753d8"),i=s._(a("1b472ae8")),d=s._(a("9b3f9685")),r=a("9d065c04"),t=a("5ca000fa");function c(){let{texts:e}=(0,t.useRouteMeta)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h2",{id:"-\u5B89\u88C5",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#-\u5B89\u88C5",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u23EC \u5B89\u88C5"]}),(0,l.jsx)(i.default,{lang:"shell",children:e[0].value}),(0,l.jsxs)("h2",{id:"-\u4F7F\u7528",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#-\u4F7F\u7528",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u{1F330} \u4F7F\u7528"]}),(0,l.jsx)(i.default,{lang:"tsx",children:e[1].value}),(0,l.jsxs)("h2",{id:"-\u5B9A\u5236\u6E32\u67D3\u5668",children:[(0,l.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#-\u5B9A\u5236\u6E32\u67D3\u5668",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"\u{1F6E0} \u5B9A\u5236\u6E32\u67D3\u5668"]}),(0,l.jsx)("p",{children:e[2].value}),(0,l.jsx)(i.default,{lang:"tsx",children:e[3].value})]})});}var u=function(){return(0,l.jsx)(t.DumiPage,{children:(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(d.default,{}),children:(0,l.jsx)(c,{})})});};}}]); +//# sourceMappingURL=be951759-async.3538e17c.js.map \ No newline at end of file diff --git a/be951759-async.3538e17c.js.map b/be951759-async.3538e17c.js.map new file mode 100644 index 0000000..d5e7c19 --- /dev/null +++ b/be951759-async.3538e17c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/quick-start.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"⏬ 安装\"}

{$$contentTexts[0].value}

{\"🌰 使用\"}

{$$contentTexts[1].value}

{\"🛠 定制渲染器\"}

{$$contentTexts[2].value}

{$$contentTexts[3].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA6BA,+CAAA,kDAxBuB,qBAOM,iBACG,gBACmB,YAEnD,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,+BAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,0BAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,0BAAO,UAAC,QAAK,UAAU,qBAAwB,yBAAY,UAAC,SAAU,EAAC,KAAK,iBAAS,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,0BAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,0BAAO,UAAC,QAAK,UAAU,qBAAwB,4BAAa,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,4CAAS,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,4CAAU,UAAC,QAAK,UAAU,qBAAwB,8CAAgB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,QAC9kB,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/bf4531e7-async.999ac319.js b/bf4531e7-async.999ac319.js new file mode 100644 index 0000000..89649af --- /dev/null +++ b/bf4531e7-async.999ac319.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["bf4531e7"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return c.default;},Prompts:function(){return s.default;},Sender:function(){return o.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return i.default;},Welcome:function(){return f.default;},XProvider:function(){return m.default;},XRequest:function(){return I.default;},XStream:function(){return b.default;},useXAgent:function(){return p.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),r=a._(t("150d8a7a")),o=a._(t("013e81db")),u=a._(t("d161127f")),c=a._(t("11781cbc")),s=a._(t("5a025bc4")),i=a._(t("e2d1bf07")),l=a._(t("d0c39811")),f=a._(t("0176aebf")),m=a._(t("8b35f51f")),v=a._(t("92b2492a")),p=a._(t("1e122ed0")),b=a._(t("470d5fd8")),I=a._(t("e0f10014"));},"5cfd480c":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("d1d20e17");let a=[{value:"\u7F29\u8FDB\u6811\uFF0C\u7528\u4E8E\u76F4\u89C2\u5730\u5C55\u793A\u5C42\u7EA7\u7ED3\u6784\u548C\u7236\u5B50\u5173\u7CFB\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "indented-tree",\n "data": {\n "name": "node1",\n "children": [\n { "name": "node 1-1", "children": [{ "name": "node 1-1-1" }] },\n { "name": "node 1-2" },\n { "name": "node 1-3" }\n ]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"IndentedTreeData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"name",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u7528\u4E8E\u663E\u793A\u5728\u601D\u7EF4\u5BFC\u56FE\u7684\u8282\u70B9\u4E0A",paraId:3,tocIndex:7},{value:"children",paraId:3,tocIndex:7},{value:"IndentedTreeData[]",paraId:3,tocIndex:7},{value:"\u5426",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u5F53\u524D\u8282\u70B9\u7684\u5B50\u8282\u70B9\u96C6\u5408\u3002\u5982\u679C\u5F53\u524D\u8282\u70B9\u6CA1\u6709\u5B50\u8282\u70B9\uFF0C\u8BE5\u5B57\u6BB5\u53EF\u4EE5\u7701\u7565\u3002\u6BCF\u4E2A\u5B50\u8282\u70B9\u672C\u8EAB\u4E5F\u662F\u4E00\u4E2A ",paraId:3,tocIndex:7},{value:"IndentedTreeData",paraId:3,tocIndex:7},{value:" \u5BF9\u8C61\uFF0C\u8FD9\u610F\u5473\u7740\u5B83\u53EF\u4EE5\u5305\u542B\u81EA\u5DF1\u7684\u5B50\u8282\u70B9\uFF0C\u4ECE\u800C\u9012\u5F52\u5730\u6784\u5EFA\u51FA\u4E00\u4E2A\u591A\u5C42\u6B21\u7684\u6811\u72B6\u7ED3\u6784",paraId:3,tocIndex:7}];},b1d74bd7:function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return c;}});var d=t("852bbaa9"),r=d._(t("9d065c04"));t("d1d20e17");var o=d._(t("df67f0d6")),u=d._(t("1c5d635b"));let c={"indentedtree-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("ebc26251")]).then(t.dr(a,t.bind(t,"72c03fb9"))))),asset:{type:"BLOCK",id:"indentedtree-demo-common",refAtomIds:["IndentedTree"],dependencies:{"index.tsx":{type:"FILE",value:t("b27ef65e").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"indentedtree-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("ebc26251")]).then(t.dr(a,t.bind(t,"545ab194"))))),asset:{type:"BLOCK",id:"indentedtree-demo-markdown",refAtomIds:["IndentedTree"],dependencies:{"index.tsx":{type:"FILE",value:t("fe28112a").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},b27ef65e:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("0ae75d08");var a="import { IndentedTree } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: 'my-project',\n children: [\n {\n name: 'src',\n children: [\n {\n name: 'components',\n children: [\n {\n name: 'Header.tsx',\n },\n {\n name: 'Footer.tsx',\n },\n ],\n },\n {\n name: 'pages',\n children: [\n {\n name: 'Home.tsx',\n },\n {\n name: 'About.tsx',\n },\n ],\n },\n {\n name: 'App.tsx',\n },\n {\n name: 'index.tsx',\n },\n ],\n },\n {\n name: 'public',\n children: [\n {\n name: 'index.html',\n },\n {\n name: 'favicon.ico',\n },\n ],\n },\n {\n name: 'package.json',\n },\n {\n name: 'tsconfig.json',\n },\n {\n name: 'README.md',\n },\n ],\n};\n\nexport default () => ;\n";},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return u.default;},GPTVis:function(){return c.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return i.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),r=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var o=t("a574afdb"),u=d._(t("a7265236")),c=d._(t("2c69d5f6")),s=r._(t("033b3748")),i=d._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);},fe28112a:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("4b2eab52");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, IndentedTree, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u7F29\u8FDB\u6811\n\n\\`\\`\\`vis-chart\n{\n "type": "indented-tree",\n "data": {\n "name": "\u5BFC\u822A\u83DC\u5355",\n "children": [\n { "name": "\u9996\u9875" },\n {\n "name": "\u4EA7\u54C1",\n "children": [\n {\n "name": "\u4EA7\u54C1\u5206\u7C7B1",\n "children": [{ "name": "\u4EA7\u54C11-1" }, { "name": "\u4EA7\u54C11-2" }]\n },\n {\n "name": "\u4EA7\u54C1\u5206\u7C7B2",\n "children": [{ "name": "\u4EA7\u54C12-1" }, { "name": "\u4EA7\u54C12-2" }]\n }\n ]\n },\n {\n "name": "\u5173\u4E8E\u6211\u4EEC",\n "children": [{ "name": "\u516C\u53F8\u7B80\u4ECB" }, { "name": "\u56E2\u961F\u4ECB\u7ECD" }]\n },\n {\n "name": "\u670D\u52A1",\n "children": [{ "name": "\u54A8\u8BE2\u670D\u52A1" }, { "name": "\u6280\u672F\u652F\u6301" }]\n },\n { "name": "\u8054\u7CFB\u6211\u4EEC" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.IndentedTree]: IndentedTree },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';}}]); +//# sourceMappingURL=bf4531e7-async.999ac319.js.map \ No newline at end of file diff --git a/bf4531e7-async.999ac319.js.map b/bf4531e7-async.999ac319.js.map new file mode 100644 index 0000000..064c617 --- /dev/null +++ b/bf4531e7-async.999ac319.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/IndentedTree/index.md?type=text","src/IndentedTree/index.md?type=demo","src/IndentedTree/demos/common.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/IndentedTree/demos/markdown.tsx?dumi-raw"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/index.md?watch=parent';\n export const texts = [{\"value\":\"缩进树,用于直观地展示层级结构和父子关系。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"indented-tree\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"node1\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"node 1-1\\\", \\\"children\\\": [{ \\\"name\\\": \\\"node 1-1-1\\\" }] },\\n { \\\"name\\\": \\\"node 1-2\\\" },\\n { \\\"name\\\": \\\"node 1-3\\\" }\\n ]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"IndentedTreeData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"name\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点的名称,用于显示在思维导图的节点上\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"children\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"IndentedTreeData[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"当前节点的子节点集合。如果当前节点没有子节点,该字段可以省略。每个子节点本身也是一个 \",\"paraId\":3,\"tocIndex\":7},{\"value\":\"IndentedTreeData\",\"paraId\":3,\"tocIndex\":7},{\"value\":\" 对象,这意味着它可以包含自己的子节点,从而递归地构建出一个多层次的树状结构\",\"paraId\":3,\"tocIndex\":7}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/index.md?watch=parent';\nimport * as indentedtree_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as indentedtree_demo_common_deps_2 from 'react';\nimport * as indentedtree_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'indentedtree-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"IndentedTree__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"indentedtree-demo-common\",\n \"refAtomIds\": [\n \"IndentedTree\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": indentedtree_demo_common_deps_1,\n \"react\": indentedtree_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'indentedtree-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"IndentedTree__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"indentedtree-demo-markdown\",\n \"refAtomIds\": [\n \"IndentedTree\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": indentedtree_demo_markdown_deps_1,\n \"@antv/gpt-vis\": indentedtree_demo_common_deps_1,\n \"react\": indentedtree_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/common.tsx?watch=parent';\n export default \"import { IndentedTree } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n name: 'my-project',\\n children: [\\n {\\n name: 'src',\\n children: [\\n {\\n name: 'components',\\n children: [\\n {\\n name: 'Header.tsx',\\n },\\n {\\n name: 'Footer.tsx',\\n },\\n ],\\n },\\n {\\n name: 'pages',\\n children: [\\n {\\n name: 'Home.tsx',\\n },\\n {\\n name: 'About.tsx',\\n },\\n ],\\n },\\n {\\n name: 'App.tsx',\\n },\\n {\\n name: 'index.tsx',\\n },\\n ],\\n },\\n {\\n name: 'public',\\n children: [\\n {\\n name: 'index.html',\\n },\\n {\\n name: 'favicon.ico',\\n },\\n ],\\n },\\n {\\n name: 'package.json',\\n },\\n {\\n name: 'tsconfig.json',\\n },\\n {\\n name: 'README.md',\\n },\\n ],\\n};\\n\\nexport default () => ;\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, IndentedTree, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个缩进树\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"indented-tree\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"导航菜单\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"首页\\\" },\\n {\\n \\\"name\\\": \\\"产品\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"产品分类1\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"产品1-1\\\" }, { \\\"name\\\": \\\"产品1-2\\\" }]\\n },\\n {\\n \\\"name\\\": \\\"产品分类2\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"产品2-1\\\" }, { \\\"name\\\": \\\"产品2-2\\\" }]\\n }\\n ]\\n },\\n {\\n \\\"name\\\": \\\"关于我们\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"公司简介\\\" }, { \\\"name\\\": \\\"团队介绍\\\" }]\\n },\\n {\\n \\\"name\\\": \\\"服务\\\",\\n \\\"children\\\": [{ \\\"name\\\": \\\"咨询服务\\\" }, { \\\"name\\\": \\\"技术支持\\\" }]\\n },\\n { \\\"name\\\": \\\"联系我们\\\" }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.IndentedTree]: IndentedTree },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n "],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SA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R,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,oCACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+ECjFE,+CAAA,QADO,gBACP,EAAe,oqCCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/bfae5255-async.bb631db7.js b/bfae5255-async.bb631db7.js new file mode 100644 index 0000000..69e5d7a --- /dev/null +++ b/bfae5255-async.bb631db7.js @@ -0,0 +1,20 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["bfae5255"],{"1c5d635b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Attachments:function(){return i.default;},Bubble:function(){return d.default;},Conversations:function(){return f.default;},Prompts:function(){return o.default;},Sender:function(){return u.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return l.default;},XProvider:function(){return h.default;},XRequest:function(){return g.default;},XStream:function(){return p.default;},useXAgent:function(){return _.default;},useXChat:function(){return b.default;},version:function(){return r.default;}});var a=n("777fffbe"),r=a._(n("61551e8a")),i=a._(n("150d8a7a")),u=a._(n("013e81db")),d=a._(n("d161127f")),f=a._(n("11781cbc")),o=a._(n("5a025bc4")),c=a._(n("e2d1bf07")),s=a._(n("d0c39811")),l=a._(n("0176aebf")),h=a._(n("8b35f51f")),b=a._(n("92b2492a")),_=a._(n("1e122ed0")),p=a._(n("470d5fd8")),g=a._(n("e0f10014"));},"90c5b668":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var a=n("a2e753d8");n("adbdc238");var r=n("1c5d635b"),i=n("df67f0d6");let u=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{7EC4}\u{7EC7}\u{67B6}\u{6784}\u{56FE} + +\`\`\`vis-chart +{ + "type": "organization-chart", + "data": { + "name": "Eric Joplin", + "description": "Chief Executive Officer", + "children": [ + { + "name": "Linda Newland", + "description": "Chief Executive Assistant" + } + ] + } +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},f=(0,i.withChartCode)({components:{[i.ChartType.OrganizationChart]:i.OrganizationChart},style:{width:600,height:250}}),o=e=>(0,a.jsx)(i.GPTVisLite,{components:{code:f},children:e});var c=()=>(0,a.jsxs)("div",{style:d,children:[(0,a.jsx)(r.Bubble,{placement:"end",content:"\u7EC4\u7EC7\u67B6\u6784\u56FE\u6765\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,a.jsx)(r.Bubble,{content:u,messageRender:o,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"9cbd5565":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8");n("3e7dae99");var r=n("df67f0d6");let i={name:"Alice Johnson",description:"Chief Technology Officer",children:[{name:"Bob Smith",description:"Senior Software Engineer",children:[{name:"Charlie Brown",description:"Software Engineer"},{name:"Diana White",description:"Software Engineer"}]},{name:"Eve Black",description:"IT Support Department Head",children:[{name:"Frank Green",description:"IT Support Specialist"},{name:"Grace Blue",description:"IT Support Specialist"}]}]};var u=()=>(0,a.jsx)(r.OrganizationChart,{data:i,containerStyle:{height:300}});},df67f0d6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ConfigProvider:function(){return d.default;},GPTVis:function(){return f.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var a=n("d1751d7c"),r=n("777fffbe"),i=n("852bbaa9");a._(n("5639510f"),t),a._(n("d382b880"),t);var u=n("a574afdb"),d=r._(n("a7265236")),f=r._(n("2c69d5f6")),o=i._(n("033b3748")),c=r._(n("7cf1dc46"));},e7bada6d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"Source",{enumerable:!0,get:function(){return r.default;}});var a=n("d1751d7c"),r=n("777fffbe")._(n("b00709ad"));a._(n("5e2dda25"),t),a._(n("969efd31"),t),a._(n("f21af0e0"),t),a._(n("33eda958"),t),a._(n("112b9a67"),t),a._(n("a45613fd"),t),a._(n("432777ba"),t);}}]); +//# sourceMappingURL=bfae5255-async.bb631db7.js.map \ No newline at end of file diff --git a/bfae5255-async.bb631db7.js.map b/bfae5255-async.bb631db7.js.map new file mode 100644 index 0000000..a99a843 --- /dev/null +++ b/bfae5255-async.bb631db7.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/OrganizationChart/demos/markdown.tsx?techStack=react","src/OrganizationChart/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, OrganizationChart, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个组织架构图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"organization-chart\",\n \"data\": {\n \"name\": \"Eric Joplin\",\n \"description\": \"Chief Executive Officer\",\n \"children\": [\n {\n \"name\": \"Linda Newland\",\n \"description\": \"Chief Executive Assistant\"\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.OrganizationChart]: OrganizationChart },\n style: { width: 600, height: 250 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/demos/common.tsx?watch=parent';import { OrganizationChart } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: 'Alice Johnson',\n description: 'Chief Technology Officer',\n children: [\n {\n name: 'Bob Smith',\n description: 'Senior Software Engineer',\n children: [\n {\n name: 'Charlie Brown',\n description: 'Software Engineer',\n },\n {\n name: 'Diana White',\n description: 'Software Engineer',\n },\n ],\n },\n {\n name: 'Eve Black',\n description: 'IT Support Department Head',\n children: [\n {\n name: 'Frank Green',\n description: 'IT Support Specialist',\n },\n {\n name: 'Grace Blue',\n description: 'IT Support Specialist',\n },\n ],\n },\n ],\n};\n\nexport default () => ;\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,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,GAAI,kFC7B9D,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/c1d1586c-async.acdd8ffe.js b/c1d1586c-async.acdd8ffe.js new file mode 100644 index 0000000..b9c971c --- /dev/null +++ b/c1d1586c-async.acdd8ffe.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c1d1586c"],{c1d1586c:function(e,r,a){"use strict";var d,o;d=a("b8b2c27d"),o=a("da0b352d"),r.version=d.version,r.renderToString=d.renderToString,r.renderToStaticMarkup=d.renderToStaticMarkup,r.renderToNodeStream=d.renderToNodeStream,r.renderToStaticNodeStream=d.renderToStaticNodeStream,r.renderToReadableStream=o.renderToReadableStream;}}]); +//# sourceMappingURL=c1d1586c-async.acdd8ffe.js.map \ No newline at end of file diff --git a/c1d1586c-async.acdd8ffe.js.map b/c1d1586c-async.acdd8ffe.js.map new file mode 100644 index 0000000..cf470f7 --- /dev/null +++ b/c1d1586c-async.acdd8ffe.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/server.browser.js"],"sourcesContent":["'use strict';\n\nvar l, s;\nif (process.env.NODE_ENV === 'production') {\n l = require('./cjs/react-dom-server-legacy.browser.production.min.js');\n s = require('./cjs/react-dom-server.browser.production.min.js');\n} else {\n l = require('./cjs/react-dom-server-legacy.browser.development.js');\n s = require('./cjs/react-dom-server.browser.development.js');\n}\n\nexports.version = l.version;\nexports.renderToString = l.renderToString;\nexports.renderToStaticMarkup = l.renderToStaticMarkup;\nexports.renderToNodeStream = l.renderToNodeStream;\nexports.renderToStaticNodeStream = l.renderToStaticNodeStream;\nexports.renderToReadableStream = s.renderToReadableStream;\n"],"names":[],"mappings":"2MAAA,iBAEI,EAAG,EAEL,EAAI,EAAQ,YACZ,EAAI,EAAQ,YAMd,EAAQ,OAAO,CAAG,EAAE,OAAO,CAC3B,EAAQ,cAAc,CAAG,EAAE,cAAc,CACzC,EAAQ,oBAAoB,CAAG,EAAE,oBAAoB,CACrD,EAAQ,kBAAkB,CAAG,EAAE,kBAAkB,CACjD,EAAQ,wBAAwB,CAAG,EAAE,wBAAwB,CAC7D,EAAQ,sBAAsB,CAAG,EAAE,sBAAsB"} \ No newline at end of file diff --git a/c3118cec-async.38f02de8.js b/c3118cec-async.38f02de8.js new file mode 100644 index 0000000..1f361dd --- /dev/null +++ b/c3118cec-async.38f02de8.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c3118cec"],{"13daffc2":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("71e4927d");var a='import { ChartType, Column, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n "type": "column",\n "data": [\n { "category": "\u7B2C\u4E00\u4EA7\u4E1A", "value": 7200.0 },\n { "category": "\u7B2C\u4E8C\u4EA7\u4E1A", "value": 36600.0 },\n { "category": "\u7B2C\u4E09\u4EA7\u4E1A" ,"value": 41000.0 },\n { "category": "\u7B2C\u56DB\u4EA7\u4E1A" ,"value": 21000.0 },\n { "category": "\u5176\u4ED6\u4EA7\u4E1A" ,"value": 81000.0 }\n ]\n}\n\\`\\`\\`\n`;\n\n// \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u7EC4\u4EF6\uFF0CNOTE: withChartCode \u4E0D\u8981\u76F4\u63A5\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u907F\u514D\u91CD\u590D\u6E32\u67D3\u6296\u52A8\u95EE\u9898\uFF01\uFF01\uFF01\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n debug: true,\n});\n\nexport default () => {\n return (\n \n {markdownContent}\n \n );\n};\n';},"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return d.default;},Bubble:function(){return u.default;},Conversations:function(){return l.default;},Prompts:function(){return s.default;},Sender:function(){return o.default;},Suggestion:function(){return i.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return f.default;},XProvider:function(){return v.default;},XRequest:function(){return g.default;},XStream:function(){return b.default;},useXAgent:function(){return m.default;},useXChat:function(){return p.default;},version:function(){return r.default;}});var a=t("777fffbe"),r=a._(t("61551e8a")),d=a._(t("150d8a7a")),o=a._(t("013e81db")),u=a._(t("d161127f")),l=a._(t("11781cbc")),s=a._(t("5a025bc4")),c=a._(t("e2d1bf07")),i=a._(t("d0c39811")),f=a._(t("0176aebf")),v=a._(t("8b35f51f")),p=a._(t("92b2492a")),m=a._(t("1e122ed0")),b=a._(t("470d5fd8")),g=a._(t("e0f10014"));},"2d960e11":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("93d1d306");var a='import type { CodeBlockComponent } from \'@antv/gpt-vis\';\nimport { GPTVisLite, withDefaultChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\n/**\n * \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u5668\n */\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\n return
{children}
;\n};\n\nconst markdownContent = `\n\\`\\`\\`my-ui\nmy data ...\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n "type": "pin-map",\n "data": [\n { "label": "\u6768\u6885\u5CAD", "longitude": 120.118362, "latitude": 30.217175 },\n { "label": "\u7406\u5B89\u5BFA", "longitude": 120.112958, "latitude": 30.207319 },\n { "label": "\u4E5D\u6EAA\u70DF\u6811", "longitude": 120.11335, "latitude": 30.202395 },\n { "label": "\u98DE\u6765\u5CF0", "longitude": 120.100549, "latitude": 30.236875 },\n { "label": "\u7075\u9690\u5BFA", "longitude": 120.101406, "latitude": 30.240826 },\n { "label": "\u5929\u7AFA\u4E09\u5BFA", "longitude": 120.105337, "latitude": 30.236818 },\n { "label": "\u676D\u5DDE\u690D\u7269\u56ED", "longitude": 120.116979, "latitude": 30.252876 },\n { "label": "\u676D\u5DDE\u82B1\u5703", "longitude": 120.127654, "latitude": 30.245663 },\n { "label": "\u82CF\u5824", "longitude": 120.135764, "latitude": 30.251448 },\n { "label": "\u864E\u8DD1\u516C\u56ED", "longitude": 120.130095, "latitude": 30.207505 },\n { "label": "\u7389\u7687\u98DE\u4E91", "longitude": 120.145323, "latitude": 30.214993 },\n { "label": "\u957F\u6865\u516C\u56ED", "longitude": 120.155057, "latitude": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\n\n// \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u7EC4\u4EF6\uFF0CNOTE: withDefaultChartCode \u4E0D\u8981\u76F4\u63A5\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u907F\u514D\u91CD\u590D\u6E32\u67D3\u6296\u52A8\u95EE\u9898\uFF01\uFF01\uFF01\nconst CodeComponent = withDefaultChartCode({\n languageRenderers: {\n \'my-ui\': MyUIRenderer,\n },\n});\n\nexport default () => (\n
\n \n {markdownContent}\n \n
\n);\n';},"59eb9a76":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("ff1ba601");var a='import { GPTVisLite, withDefaultChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst commonString = `\n\u5F53\u7136\u53EF\u4EE5\uFF01\u5728 JavaScript \u4E2D\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u52A0\u6CD5\u8FD0\u7B97\u7B26 \\`+\\` \u6765\u5B9E\u73B0\u4E24\u4E2A\u6570\u5B57\u7684\u76F8\u52A0\u3002\u4EE5\u4E0B\u662F\u4E00\u4E2A\u7B80\u5355\u7684\u51FD\u6570\uFF0C\u5B83\u63A5\u53D7\u4E24\u4E2A\u53C2\u6570 \\`a\\` \u548C \\`b\\`,\u5E76\u8FD4\u56DE\u5B83\u4EEC\u7684\u548C\uFF1A\n\n\\`\\`\\`javascript\\nfunction add(a, b) {\\n return a + b;\\n}\\n\\n// \u793A\u4F8B\u7528\u6CD5\\nconst result = add(3, 4);\\nconsole.log(result); // \u8F93\u51FA\uFF1A7\\n\\`\\`\\`\\n\\n\u5728\u8FD9\u4E2A\u793A\u4F8B\u4E2D\uFF0C\u6211\u4EEC\u5B9A\u4E49\u4E86\u4E00\u4E2A\u540D\u4E3A \\`add\\` \u7684\u51FD\u6570\uFF0C\u5B83\u63A5\u53D7\u4E24\u4E2A\u53C2\u6570 \\`a\\` \u548C \\`b\\`\u3002\u51FD\u6570\u7684\u4E3B\u4F53\u53EA\u6709\u4E00\u884C\u4EE3\u7801\uFF0C\u4F7F\u7528\u52A0\u6CD5\u8FD0\u7B97\u7B26 \\`+\\` \u5C06 \\`a\\` \u548C \\`b\\` \u76F8\u52A0\uFF0C\u5E76\u8FD4\u56DE\u7ED3\u679C\u3002\\n\\n\u7136\u540E\uFF0C\u6211\u4EEC\u8C03\u7528\n`;\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n`;\n\n// \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u7EC4\u4EF6\uFF0CNOTE: withDefaultChartCode \u4E0D\u8981\u76F4\u63A5\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u907F\u514D\u91CD\u590D\u6E32\u67D3\u6296\u52A8\u95EE\u9898\uFF01\uFF01\uFF01\nconst CodeComponent = withDefaultChartCode({\n debug: true,\n});\n\nexport default () => (\n
\n {commonString}\n \n {markdownContent}\n \n
\n);\n';},"7ae5312c":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return l;}});var r=t("852bbaa9"),d=r._(t("9d065c04"));t("31a11f5f");var o=r._(t("df67f0d6")),u=r._(t("1c5d635b"));let l={"chartcoderender-demo-common":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("32e00b5e")]).then(t.dr(a,t.bind(t,"0039c572"))))),asset:{type:"BLOCK",id:"chartcoderender-demo-common",refAtomIds:["ChartCodeRender"],dependencies:{"index.tsx":{type:"FILE",value:t("13daffc2").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"chartcoderender-demo-default":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("32e00b5e")]).then(t.dr(a,t.bind(t,"5dee4d26"))))),asset:{type:"BLOCK",id:"chartcoderender-demo-default",refAtomIds:["ChartCodeRender"],dependencies:{"index.tsx":{type:"FILE",value:t("59eb9a76").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"chartcoderender-demo-stream":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("32e00b5e")]).then(t.dr(a,t.bind(t,"1feffc3e"))))),asset:{type:"BLOCK",id:"chartcoderender-demo-stream",refAtomIds:["ChartCodeRender"],dependencies:{"index.tsx":{type:"FILE",value:t("be2bfd06").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":u,"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"chartcoderender-demo-extra":{component:d.default.memo(d.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("32e00b5e")]).then(t.dr(a,t.bind(t,"42a9474b"))))),asset:{type:"BLOCK",id:"chartcoderender-demo-extra",refAtomIds:["ChartCodeRender"],dependencies:{"index.tsx":{type:"FILE",value:t("2d960e11").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":o,react:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},"98b0072f":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("31a11f5f");let a=[{value:"\u81EA\u5B9A\u4E49\u62D3\u5C55 Markdown \u4EE3\u7801\u5757\u6E32\u67D3\uFF0C\u5C06\u4EE3\u7801\u5757\u81EA\u5B9A\u4E49\u53EF\u89C6\u5316\u3002",paraId:0,tocIndex:0},{value:"\u8FD9\u662F\u4E00\u6761\u8B66\u544A\u4FE1\u606F\n",paraId:1},{value:"withChartCode",paraId:1},{value:"\u3001",paraId:1},{value:"withDefaultChartCode",paraId:1},{value:" \u65B9\u6CD5\u4E0D\u8981\u76F4\u63A5\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u907F\u514D\u91CD\u590D\u6E32\u67D3\u9020\u6210\u6296\u52A8\u95EE\u9898\uFF01\uFF01\uFF01\u5982\u9700\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u7528 ",paraId:1},{value:"useMemo",paraId:1},{value:" \u7F13\u5B58\u4E00\u4E0B\u3002",paraId:1},{value:"withDefaultChartCode",paraId:2,tocIndex:2},{value:"\u5305\u542B\u4E86",paraId:2,tocIndex:2},{value:"\u9ED8\u8BA4\u7684\u56FE\u8868",paraId:2,tocIndex:2},{value:"\uFF0C\u63A5\u5165\u7B80\u5355",paraId:2,tocIndex:2},{value:"\u5C5E\u6027",paraId:3,tocIndex:6},{value:"\u7C7B\u578B",paraId:3,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:6},{value:"\u8BF4\u660E",paraId:3,tocIndex:6},{value:"components",paraId:3,tocIndex:6},{value:"ChartComponents",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"\u8981\u989D\u5916\u52A0\u8F7D\u7684\u56FE\u8868\u7EC4\u4EF6",paraId:3,tocIndex:6},{value:"languageRenderers",paraId:3,tocIndex:6},{value:"LanguageRenderers",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"\u81EA\u5B9A\u4E49\u5176\u5B83\u8BED\u8A00\u4EE3\u7801\u5757\u6E32\u67D3\u5668",paraId:3,tocIndex:6},{value:"defaultRenderer",paraId:3,tocIndex:6},{value:"CodeRenderer",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"\u9ED8\u8BA4\u7684\u4EE3\u7801\u6E32\u67D3\u5668",paraId:3,tocIndex:6},{value:"debug",paraId:3,tocIndex:6},{value:"boolean",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"false",paraId:3,tocIndex:6},{value:"\u6253\u5F00\u8C03\u8BD5\u65E5\u5FD7",paraId:3,tocIndex:6},{value:"loadingTimeout",paraId:3,tocIndex:6},{value:"number",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"\u8BBE\u7F6E loading \u52A8\u753B\u7684\u8D85\u65F6\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u4E3A 5s",paraId:3,tocIndex:6},{value:"style",paraId:3,tocIndex:6},{value:"React.CSSProperties",paraId:3,tocIndex:6},{value:"\u5426",paraId:3,tocIndex:6},{value:"-",paraId:3,tocIndex:6},{value:"\u56FE\u8868\u6837\u5F0F\uFF0C\u914D\u7F6E\u5BB9\u5668\u6837\u5F0F",paraId:3,tocIndex:6}];},be2bfd06:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("b70d1ea4");var a="import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React, { useEffect, useRef, useState } from 'react';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u67F1\u72B6\u56FE\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"column\",\n \"data\": [\n { \"category\": \"\u7B2C\u4E00\u4EA7\u4E1A\", \"value\": 7200.0 },\n { \"category\": \"\u7B2C\u4E8C\u4EA7\u4E1A\", \"value\": 36600.0 },\n { \"category\": \"\u7B2C\u4E09\u4EA7\u4E1A\" ,\"value\": 41000.0 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\n// \u81EA\u5B9A\u4E49\u4EE3\u7801\u5757\u6E32\u67D3\u7EC4\u4EF6\uFF0CNOTE: withChartCode \u4E0D\u8981\u76F4\u63A5\u653E\u5165\u51FD\u6570\u5185\u90E8\uFF0C\u907F\u514D\u91CD\u590D\u6E32\u67D3\u6296\u52A8\u95EE\u9898\uFF01\uFF01\uFF01\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n loadingTimeout: 3000,\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nconst useStreamText = () => {\n const [text, setText] = useState('');\n const nowTextRef = useRef('');\n const timerRef = useRef(null);\n\n /** \u6A21\u62DF\u6D41\u5F0F\u8F93\u51FAmarkdownContent */\n const streamOutput = () => {\n timerRef.current = setInterval(() => {\n const step = parseInt((Math.random() * 10).toString(), 20);\n const nowText =\n nowTextRef.current +\n markdownContent.substring(nowTextRef.current.length, nowTextRef.current.length + step);\n nowTextRef.current = nowText;\n setText(nowText);\n if (text.length === markdownContent.length - 1) {\n clearTimeout(timerRef.current);\n }\n }, 200);\n };\n\n const restart = () => {\n if (timerRef.current) clearTimeout(timerRef.current);\n timerRef.current = null;\n nowTextRef.current = '';\n setText('');\n streamOutput();\n };\n\n return [text, restart] as const;\n};\n\nexport default () => {\n const [text, restart] = useStreamText();\n\n useEffect(() => {\n restart();\n }, []);\n\n return (\n
\n \n\n \n \n \n
\n );\n};\n";},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return u.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var a=t("d1751d7c"),r=t("777fffbe"),d=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var o=t("a574afdb"),u=r._(t("a7265236")),l=r._(t("2c69d5f6")),s=d._(t("033b3748")),c=r._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return r.default;}});var a=t("d1751d7c"),r=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);}}]); +//# sourceMappingURL=c3118cec-async.38f02de8.js.map \ No newline at end of file diff --git a/c3118cec-async.38f02de8.js.map b/c3118cec-async.38f02de8.js.map new file mode 100644 index 0000000..6ae1d5a --- /dev/null +++ b/c3118cec-async.38f02de8.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ChartCodeRender/demos/common.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/ChartCodeRender/demos/extra.tsx?dumi-raw","src/ChartCodeRender/demos/default.tsx?dumi-raw","src/ChartCodeRender/index.md?type=demo","src/ChartCodeRender/index.md?type=text","src/ChartCodeRender/demos/stream.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/common.tsx?watch=parent';\n export default \"import { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"第一产业\\\", \\\"value\\\": 7200.0 },\\n { \\\"category\\\": \\\"第二产业\\\", \\\"value\\\": 36600.0 },\\n { \\\"category\\\": \\\"第三产业\\\" ,\\\"value\\\": 41000.0 },\\n { \\\"category\\\": \\\"第四产业\\\" ,\\\"value\\\": 21000.0 },\\n { \\\"category\\\": \\\"其他产业\\\" ,\\\"value\\\": 81000.0 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\n// 自定义代码块渲染组件,NOTE: withChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Column]: Column },\\n debug: true,\\n});\\n\\nexport default () => {\\n return (\\n \\n {markdownContent}\\n \\n );\\n};\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/extra.tsx?watch=parent';\n export default \"import type { CodeBlockComponent } from '@antv/gpt-vis';\\nimport { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\n/**\\n * 自定义代码块渲染器\\n */\\nconst MyUIRenderer: CodeBlockComponent = ({ children }) => {\\n return
{children}
;\\n};\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`my-ui\\nmy data ...\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n { \\\"label\\\": \\\"杨梅岭\\\", \\\"longitude\\\": 120.118362, \\\"latitude\\\": 30.217175 },\\n { \\\"label\\\": \\\"理安寺\\\", \\\"longitude\\\": 120.112958, \\\"latitude\\\": 30.207319 },\\n { \\\"label\\\": \\\"九溪烟树\\\", \\\"longitude\\\": 120.11335, \\\"latitude\\\": 30.202395 },\\n { \\\"label\\\": \\\"飞来峰\\\", \\\"longitude\\\": 120.100549, \\\"latitude\\\": 30.236875 },\\n { \\\"label\\\": \\\"灵隐寺\\\", \\\"longitude\\\": 120.101406, \\\"latitude\\\": 30.240826 },\\n { \\\"label\\\": \\\"天竺三寺\\\", \\\"longitude\\\": 120.105337, \\\"latitude\\\": 30.236818 },\\n { \\\"label\\\": \\\"杭州植物园\\\", \\\"longitude\\\": 120.116979, \\\"latitude\\\": 30.252876 },\\n { \\\"label\\\": \\\"杭州花圃\\\", \\\"longitude\\\": 120.127654, \\\"latitude\\\": 30.245663 },\\n { \\\"label\\\": \\\"苏堤\\\", \\\"longitude\\\": 120.135764, \\\"latitude\\\": 30.251448 },\\n { \\\"label\\\": \\\"虎跑公园\\\", \\\"longitude\\\": 120.130095, \\\"latitude\\\": 30.207505 },\\n { \\\"label\\\": \\\"玉皇飞云\\\", \\\"longitude\\\": 120.145323, \\\"latitude\\\": 30.214993 },\\n { \\\"label\\\": \\\"长桥公园\\\", \\\"longitude\\\": 120.155057, \\\"latitude\\\": 30.232985 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\n// 自定义代码块渲染组件,NOTE: withDefaultChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\\nconst CodeComponent = withDefaultChartCode({\\n languageRenderers: {\\n 'my-ui': MyUIRenderer,\\n },\\n});\\n\\nexport default () => (\\n
\\n \\n {markdownContent}\\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/default.tsx?watch=parent';\n export default \"import { GPTVisLite, withDefaultChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst commonString = `\\n当然可以!在 JavaScript 中,你可以使用加法运算符 \\\\`+\\\\` 来实现两个数字的相加。以下是一个简单的函数,它接受两个参数 \\\\`a\\\\` 和 \\\\`b\\\\`,并返回它们的和:\\n\\n\\\\`\\\\`\\\\`javascript\\\\nfunction add(a, b) {\\\\n return a + b;\\\\n}\\\\n\\\\n// 示例用法\\\\nconst result = add(3, 4);\\\\nconsole.log(result); // 输出:7\\\\n\\\\`\\\\`\\\\`\\\\n\\\\n在这个示例中,我们定义了一个名为 \\\\`add\\\\` 的函数,它接受两个参数 \\\\`a\\\\` 和 \\\\`b\\\\`。函数的主体只有一行代码,使用加法运算符 \\\\`+\\\\` 将 \\\\`a\\\\` 和 \\\\`b\\\\` 相加,并返回结果。\\\\n\\\\n然后,我们调用\\n`;\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\n// 自定义代码块渲染组件,NOTE: withDefaultChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\\nconst CodeComponent = withDefaultChartCode({\\n debug: true,\\n});\\n\\nexport default () => (\\n
\\n {commonString}\\n \\n {markdownContent}\\n \\n
\\n);\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?watch=parent';\nimport * as chartcoderender_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as chartcoderender_demo_common_deps_2 from 'react';\nimport * as chartcoderender_demo_stream_deps_1 from '@ant-design/x';\nexport const demos = {\n 'chartcoderender-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ChartCodeRender__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"chartcoderender-demo-common\",\n \"refAtomIds\": [\n \"ChartCodeRender\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": chartcoderender_demo_common_deps_1,\n \"react\": chartcoderender_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'chartcoderender-demo-default': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ChartCodeRender__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/default.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"chartcoderender-demo-default\",\n \"refAtomIds\": [\n \"ChartCodeRender\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/default.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": chartcoderender_demo_common_deps_1,\n \"react\": chartcoderender_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'chartcoderender-demo-stream': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ChartCodeRender__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/stream.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"chartcoderender-demo-stream\",\n \"refAtomIds\": [\n \"ChartCodeRender\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/stream.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": chartcoderender_demo_stream_deps_1,\n \"@antv/gpt-vis\": chartcoderender_demo_common_deps_1,\n \"react\": chartcoderender_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'chartcoderender-demo-extra': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ChartCodeRender__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/extra.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"chartcoderender-demo-extra\",\n \"refAtomIds\": [\n \"ChartCodeRender\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/extra.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": chartcoderender_demo_common_deps_1,\n \"react\": chartcoderender_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?watch=parent';\n export const texts = [{\"value\":\"自定义拓展 Markdown 代码块渲染,将代码块自定义可视化。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"这是一条警告信息\\n\",\"paraId\":1},{\"value\":\"withChartCode\",\"paraId\":1},{\"value\":\"、\",\"paraId\":1},{\"value\":\"withDefaultChartCode\",\"paraId\":1},{\"value\":\" 方法不要直接放入函数内部,避免重复渲染造成抖动问题!!!如需放入函数内部,用 \",\"paraId\":1},{\"value\":\"useMemo\",\"paraId\":1},{\"value\":\" 缓存一下。\",\"paraId\":1},{\"value\":\"withDefaultChartCode\",\"paraId\":2,\"tocIndex\":2},{\"value\":\"包含了\",\"paraId\":2,\"tocIndex\":2},{\"value\":\"默认的图表\",\"paraId\":2,\"tocIndex\":2},{\"value\":\",接入简单\",\"paraId\":2,\"tocIndex\":2},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"components\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"ChartComponents\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"要额外加载的图表组件\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"languageRenderers\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"LanguageRenderers\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"自定义其它语言代码块渲染器\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"defaultRenderer\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"CodeRenderer\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"默认的代码渲染器\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"debug\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"boolean\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"false\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"打开调试日志\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"loadingTimeout\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"设置 loading 动画的超时时间,默认为 5s\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"style\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"React.CSSProperties\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":6},{\"value\":\"图表样式,配置容器样式\",\"paraId\":3,\"tocIndex\":6}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/demos/stream.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React, { useEffect, useRef, useState } from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个柱状图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"第一产业\\\", \\\"value\\\": 7200.0 },\\n { \\\"category\\\": \\\"第二产业\\\", \\\"value\\\": 36600.0 },\\n { \\\"category\\\": \\\"第三产业\\\" ,\\\"value\\\": 41000.0 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\n// 自定义代码块渲染组件,NOTE: withChartCode 不要直接放入函数内部,避免重复渲染抖动问题!!!\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Column]: Column },\\n loadingTimeout: 3000,\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nconst useStreamText = () => {\\n const [text, setText] = useState('');\\n const nowTextRef = useRef('');\\n const timerRef = useRef(null);\\n\\n /** 模拟流式输出markdownContent */\\n const streamOutput = () => {\\n timerRef.current = setInterval(() => {\\n const step = parseInt((Math.random() * 10).toString(), 20);\\n const nowText =\\n nowTextRef.current +\\n markdownContent.substring(nowTextRef.current.length, nowTextRef.current.length + step);\\n nowTextRef.current = nowText;\\n setText(nowText);\\n if (text.length === markdownContent.length - 1) {\\n clearTimeout(timerRef.current);\\n }\\n }, 200);\\n };\\n\\n const restart = () => {\\n if (timerRef.current) clearTimeout(timerRef.current);\\n timerRef.current = null;\\n nowTextRef.current = '';\\n setText('');\\n streamOutput();\\n };\\n\\n return [text, restart] as const;\\n};\\n\\nexport default () => {\\n const [text, restart] = useStreamText();\\n\\n useEffect(() => {\\n restart();\\n }, []);\\n\\n return (\\n
\\n \\n\\n \\n \\n \\n
\\n );\\n};\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAEE,+CAAA,QADO,gBACP,EAAe,qoCCDG,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXlC,+CAAA,QADO,gBACP,EAAe,8sECAf,+CAAA,QADO,gBACP,EAAe,orECGJ,6CAAA,kCALK,eACX,wBAC6C,qBAEA,aAC7C,IAAM,EAAQ,CACnB,8BAA+B,CAC7B,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,8BACN,WAAc,CACZ,kBACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAAmF,OAAO,AAC7G,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,WACX,EACI,QAAS,CACX,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,Q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OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qEAAc,OAAS,EAAE,SAAW,CAAC,EAAE,8ECA5hE,+CAAA,QADO,gBACP,EAAe,miHCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/c58de0b2-async.f0ea18ec.js b/c58de0b2-async.f0ea18ec.js new file mode 100644 index 0000000..ead83c1 --- /dev/null +++ b/c58de0b2-async.f0ea18ec.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c58de0b2"],{c58de0b2:function(e,s,n){"use strict";n.d(s,"__esModule",{value:!0}),n.d(s,"default",{enumerable:!0,get:function(){return t;}});var a=n("777fffbe"),d=n("a2e753d8"),l=a._(n("1b472ae8")),i=n("5ca000fa"),r=a._(n("9b3f9685")),u=n("9d065c04");function c(){let{texts:e}=(0,i.useRouteMeta)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]}),(0,d.jsx)("p",{children:e[0].value}),(0,d.jsx)(l.default,{lang:"js",children:e[1].value}),(0,d.jsx)("p",{children:e[2].value}),(0,d.jsx)(l.default,{lang:"tsx",children:e[3].value})]}),(0,d.jsx)(i.DumiDemo,{demo:{id:"docs-guide-antd-design-x-demo-0"},previewerProps:{}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"\u4F7F\u7528\u7ED3\u6784\u5316\u7684\u6570\u636E",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528\u7ED3\u6784\u5316\u7684\u6570\u636E",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528\u7ED3\u6784\u5316\u7684\u6570\u636E"]}),(0,d.jsx)("ol",{children:(0,d.jsx)("li",{children:e[4].value})}),(0,d.jsx)(l.default,{lang:"js",children:e[5].value}),(0,d.jsx)("ol",{start:"2",children:(0,d.jsx)("li",{children:e[6].value})}),(0,d.jsx)(l.default,{lang:"tsx",children:e[7].value})]}),(0,d.jsx)(i.DumiDemo,{demo:{id:"docs-guide-antd-design-x-demo-1"},previewerProps:{}})]});}var t=function(){return(0,d.jsx)(i.DumiPage,{children:(0,d.jsx)(u.Suspense,{fallback:(0,d.jsx)(r.default,{}),children:(0,d.jsx)(c,{})})});};}}]); +//# sourceMappingURL=c58de0b2-async.f0ea18ec.js.map \ No newline at end of file diff --git a/c58de0b2-async.f0ea18ec.js.map b/c58de0b2-async.f0ea18ec.js.map new file mode 100644 index 0000000..eae6866 --- /dev/null +++ b/c58de0b2-async.f0ea18ec.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/antd-design-x.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"使用 Markdown 协议\"}

{$$contentTexts[0].value}

{$$contentTexts[1].value}

{$$contentTexts[2].value}

{$$contentTexts[3].value}

{\"使用结构化的数据\"}

  1. {$$contentTexts[4].value}
{$$contentTexts[5].value}
  1. {$$contentTexts[6].value}
{$$contentTexts[7].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAuCA,+CAAA,kDAlCuB,iBAGE,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,wCAAsB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,UAAC,SAAU,EAAC,KAAK,cAAM,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,MAAoB,UAAC,UAAQ,EAC5X,KAAQ,CACN,GAAM,iCACR,EACA,eAAkB,CAAC,IAChB,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,6DAAW,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,6DAAY,UAAC,QAAK,UAAU,qBAAwB,sDAAgB,UAAC,eAAG,UAAC,eAAI,CAAc,CAAC,EAAE,CAAC,KAAK,KAAW,UAAC,SAAU,EAAC,KAAK,cAAM,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,UAAC,MAAG,MAAM,aAAI,UAAC,eAAI,CAAc,CAAC,EAAE,CAAC,KAAK,KAAW,UAAC,SAAU,EAAC,KAAK,eAAO,CAAc,CAAC,EAAE,CAAC,KAAK,MAAoB,UAAC,UAAQ,EACpY,KAAQ,CACN,GAAM,iCACR,EACA,eAAkB,CAAC,OAErB,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/c6ce43c9-async.08efad1a.js b/c6ce43c9-async.08efad1a.js new file mode 100644 index 0000000..1b6f287 --- /dev/null +++ b/c6ce43c9-async.08efad1a.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c6ce43c9"],{c6ce43c9:function(e,s,d){"use strict";d.d(s,"__esModule",{value:!0}),d.d(s,"default",{enumerable:!0,get:function(){return x;}});var l=d("777fffbe"),a=d("a2e753d8"),n=l._(d("1b472ae8")),r=l._(d("49f20ac6")),i=d("5ca000fa"),t=l._(d("9b3f9685")),c=d("9d065c04");function h(){let{texts:e}=(0,i.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"scatter-\u6563\u70B9\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#scatter-\u6563\u70B9\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Scatter \u6563\u70B9\u56FE"]}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,a.jsx)(i.DumiDemo,{demo:{id:"scatter-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Scatter/demos/common.tsx"}}),(0,a.jsx)(i.DumiDemo,{demo:{id:"scatter-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Scatter/demos/markdown.tsx"}}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(n.default,{lang:"json",children:e[0].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"scatterprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#scatterprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"ScatterProps"]}),(0,a.jsxs)(r.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[1].value}),(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[6].value}),(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:e[8].value}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[11].value}),(0,a.jsx)("td",{children:e[12].value}),(0,a.jsx)("td",{children:e[13].value}),(0,a.jsx)("td",{children:e[14].value}),(0,a.jsx)("td",{children:e[15].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[16].value}),(0,a.jsx)("td",{children:e[17].value}),(0,a.jsx)("td",{children:e[18].value}),(0,a.jsx)("td",{children:e[19].value}),(0,a.jsx)("td",{children:e[20].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[21].value}),(0,a.jsx)("td",{children:e[22].value}),(0,a.jsx)("td",{children:e[23].value}),(0,a.jsx)("td",{children:e[24].value}),(0,a.jsx)("td",{children:e[25].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[26].value}),(0,a.jsx)("td",{children:e[27].value}),(0,a.jsx)("td",{children:e[28].value}),(0,a.jsx)("td",{children:e[29].value}),(0,a.jsxs)("td",{children:[e[30].value,(0,a.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[31].value})]})]})]})]}),(0,a.jsxs)("h3",{id:"scatterdataitem",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#scatterdataitem",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"ScatterDataItem"]}),(0,a.jsxs)(r.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[32].value}),(0,a.jsx)("th",{children:e[33].value}),(0,a.jsx)("th",{children:e[34].value}),(0,a.jsx)("th",{children:e[35].value}),(0,a.jsx)("th",{children:e[36].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[37].value}),(0,a.jsx)("td",{children:e[38].value}),(0,a.jsx)("td",{children:e[39].value}),(0,a.jsx)("td",{children:e[40].value}),(0,a.jsx)("td",{children:e[41].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[42].value}),(0,a.jsx)("td",{children:e[43].value}),(0,a.jsx)("td",{children:e[44].value}),(0,a.jsx)("td",{children:e[45].value}),(0,a.jsx)("td",{children:e[46].value})]})]})]})]})]});}var x=function(){return(0,a.jsx)(i.DumiPage,{children:(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(t.default,{}),children:(0,a.jsx)(h,{})})});};}}]); +//# sourceMappingURL=c6ce43c9-async.08efad1a.js.map \ No newline at end of file diff --git a/c6ce43c9-async.08efad1a.js.map b/c6ce43c9-async.08efad1a.js.map new file mode 100644 index 0000000..88b0085 --- /dev/null +++ b/c6ce43c9-async.08efad1a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Scatter/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Scatter 散点图\"}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"ScatterProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}

{\"ScatterDataItem\"}

{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}
{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA6CA,+CAAA,kDAxCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,uCAAc,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,uCAAe,UAAC,QAAK,UAAU,qBAAwB,gCAAmB,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EAC7S,KAAQ,CACN,GAAM,qBACR,EACA,eAAkB,CAChB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AAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACn3E,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/c7fd9920-async.5defbdcc.js b/c7fd9920-async.5defbdcc.js new file mode 100644 index 0000000..f0e45cb --- /dev/null +++ b/c7fd9920-async.5defbdcc.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c7fd9920"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return l.default;},Bubble:function(){return o.default;},Conversations:function(){return r.default;},Prompts:function(){return i.default;},Sender:function(){return u.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return f.default;},XProvider:function(){return p.default;},XRequest:function(){return g.default;},XStream:function(){return m.default;},useXAgent:function(){return v.default;},useXChat:function(){return b.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),l=a._(t("150d8a7a")),u=a._(t("013e81db")),o=a._(t("d161127f")),r=a._(t("11781cbc")),i=a._(t("5a025bc4")),s=a._(t("e2d1bf07")),c=a._(t("d0c39811")),f=a._(t("0176aebf")),p=a._(t("8b35f51f")),b=a._(t("92b2492a")),v=a._(t("1e122ed0")),m=a._(t("470d5fd8")),g=a._(t("e0f10014"));},"3c9774a6":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("4b530b92");let a=[{value:"\u70B9\u6807\u6CE8\u5730\u56FE\uFF0C\u7528\u4E8E\u53EF\u89C6\u5316\u5C55\u793A POI \u70B9\u4F4D\u6570\u636E\u3002",paraId:0,tocIndex:0},{value:"{\n \"type\": \"pin-map\",\n \"data\": [\n { label: '\u6768\u6885\u5CAD', longitude: 120.118362, latitude: 30.217175 },\n { label: '\u7406\u5B89\u5BFA', longitude: 120.112958, latitude: 30.207319 },\n { label: '\u4E5D\u6EAA\u70DF\u6811', longitude: 120.11335, latitude: 30.202395 },\n { label: '\u98DE\u6765\u5CF0', longitude: 120.100549, latitude: 30.236875 },\n { label: '\u7075\u9690\u5BFA', longitude: 120.101406, latitude: 30.240826 },\n { label: '\u5929\u7AFA\u4E09\u5BFA', longitude: 120.105337, latitude: 30.236818 },\n { label: '\u676D\u5DDE\u690D\u7269\u56ED', longitude: 120.116979, latitude: 30.252876 },\n { label: '\u676D\u5DDE\u82B1\u5703', longitude: 120.127654, latitude: 30.245663 },\n { label: '\u82CF\u5824', longitude: 120.135764, latitude: 30.251448 },\n { label: '\u864E\u8DD1\u516C\u56ED', longitude: 120.130095, latitude: 30.207505 },\n { label: '\u7389\u7687\u98DE\u4E91', longitude: 120.145323, latitude: 30.214993 },\n { label: '\u957F\u6865\u516C\u56ED', longitude: 120.155057, latitude: 30.232985 },\n ]\n}\n\n",paraId:1,tocIndex:5},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"data",paraId:2,tocIndex:7},{value:"MarkerData[]",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6570\u636E",paraId:2,tocIndex:7},{value:"markerStyle",paraId:2,tocIndex:7},{value:"Marker",paraId:2,tocIndex:7},{value:"\u5426",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6807\u8BB0\u70B9\u6837\u5F0F",paraId:2,tocIndex:7},{value:"\u5C5E\u6027",paraId:3,tocIndex:8},{value:"\u7C7B\u578B",paraId:3,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:8},{value:"\u8BF4\u660E",paraId:3,tocIndex:8},{value:"longitude",paraId:3,tocIndex:8},{value:"number",paraId:3,tocIndex:8},{value:"\u662F",paraId:3,tocIndex:8},{value:"-",paraId:3,tocIndex:8},{value:"\u7ECF\u5EA6",paraId:3,tocIndex:8},{value:"latitude",paraId:3,tocIndex:8},{value:"number",paraId:3,tocIndex:8},{value:"\u662F",paraId:3,tocIndex:8},{value:"-",paraId:3,tocIndex:8},{value:"\u7EAC\u5EA6",paraId:3,tocIndex:8},{value:"label",paraId:3,tocIndex:8},{value:"number",paraId:3,tocIndex:8},{value:"\u662F",paraId:3,tocIndex:8},{value:"-",paraId:3,tocIndex:8},{value:"\u6587\u5B57\u6807\u6CE8",paraId:3,tocIndex:8}];},"3feeb1ce":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return r;}});var d=t("852bbaa9"),l=d._(t("9d065c04"));t("4b530b92");var u=d._(t("df67f0d6")),o=d._(t("1c5d635b"));let r={"pinmap-demo-default":{component:l.default.memo(l.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("37a41e41")]).then(t.dr(a,t.bind(t,"e1919698"))))),asset:{type:"BLOCK",id:"pinmap-demo-default",refAtomIds:["PinMap"],dependencies:{"index.tsx":{type:"FILE",value:t("e87acd6a").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u9ED8\u8BA4\u5730\u56FE"},context:{"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"pinmap-demo-marker":{component:l.default.memo(l.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("37a41e41")]).then(t.dr(a,t.bind(t,"7eb0772e"))))),asset:{type:"BLOCK",id:"pinmap-demo-marker",refAtomIds:["PinMap"],dependencies:{"index.tsx":{type:"FILE",value:t("e4e67cba").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u6837\u5F0F"},context:{"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"pinmap-demo-markdown":{component:l.default.memo(l.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("37a41e41")]).then(t.dr(a,t.bind(t,"9a365c18"))))),asset:{type:"BLOCK",id:"pinmap-demo-markdown",refAtomIds:["PinMap"],dependencies:{"index.tsx":{type:"FILE",value:t("3ff3282e").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},"3ff3282e":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("f86a0457");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, ConfigProvider, GPTVisLite, PinMap, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nconst markdownContent = `\n ~~~vis-chart\n {\n "type": "pin-map",\n "data": [\n { "label": "\u6768\u6885\u5CAD", "longitude": 120.118362, "latitude": 30.217175 },\n { "label": "\u7406\u5B89\u5BFA", "longitude": 120.112958, "latitude": 30.207319 },\n { "label": "\u4E5D\u6EAA\u70DF\u6811", "longitude": 120.11335, "latitude": 30.202395 },\n { "label": "\u98DE\u6765\u5CF0", "longitude": 120.100549, "latitude": 30.236875 },\n { "label": "\u7075\u9690\u5BFA", "longitude": 120.101406, "latitude": 30.240826 },\n { "label": "\u5929\u7AFA\u4E09\u5BFA", "longitude": 120.105337, "latitude": 30.236818 },\n { "label": "\u676D\u5DDE\u690D\u7269\u56ED", "longitude": 120.116979, "latitude": 30.252876 },\n { "label": "\u676D\u5DDE\u82B1\u5703", "longitude": 120.127654, "latitude": 30.245663 },\n { "label": "\u82CF\u5824", "longitude": 120.135764, "latitude": 30.251448 },\n { "label": "\u864E\u8DD1\u516C\u56ED", "longitude": 120.130095, "latitude": 30.207505 },\n { "label": "\u7389\u7687\u98DE\u4E91", "longitude": 120.145323, "latitude": 30.214993 },\n { "label": "\u957F\u6865\u516C\u56ED", "longitude": 120.155057, "latitude": 30.232985 }\n ]\n}\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.PinMap]: PinMap },\n debug: true,\n style: { width: 500 },\n});\n\nexport default () => {\n return (\n \n
\n \n \n
\n \n );\n};\n';},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return r.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),l=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var u=t("a574afdb"),o=d._(t("a7265236")),r=d._(t("2c69d5f6")),i=l._(t("033b3748")),s=d._(t("7cf1dc46"));},e4e67cba:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("c63affee");var a="import { PinMap } from '@antv/gpt-vis';\nimport React from 'react';\nexport default () => {\n const data = [\n {\n label: '\u77F3\u5C4B\u6D1E',\n longitude: 120.130638,\n latitude: 30.219835,\n cityname: '\u676D\u5DDE\u5E02',\n },\n {\n label: '\u6EE1\u89C9\u9647',\n longitude: 120.128125,\n latitude: 30.219386,\n },\n { label: '\u6768\u6885\u5CAD', longitude: 120.118362, latitude: 30.217175 },\n { label: '\u7406\u5B89\u5BFA', longitude: 120.112958, latitude: 30.207319 },\n { label: '\u4E5D\u6EAA\u70DF\u6811', longitude: 120.11335, latitude: 30.202395 },\n { label: '\u98DE\u6765\u5CF0', longitude: 120.100549, latitude: 30.236875 },\n { label: '\u7075\u9690\u5BFA', longitude: 120.101406, latitude: 30.240826 },\n { label: '\u5929\u7AFA\u4E09\u5BFA', longitude: 120.105337, latitude: 30.236818 },\n { label: '\u676D\u5DDE\u690D\u7269\u56ED', longitude: 120.116979, latitude: 30.252876 },\n { label: '\u676D\u5DDE\u82B1\u5703', longitude: 120.127654, latitude: 30.245663 },\n { label: '\u82CF\u5824', longitude: 120.135764, latitude: 30.251448 },\n { label: '\u864E\u8DD1\u516C\u56ED', longitude: 120.130095, latitude: 30.207505 },\n { label: '\u7389\u7687\u98DE\u4E91', longitude: 120.145323, latitude: 30.214993 },\n { label: '\u957F\u6865\u516C\u56ED', longitude: 120.155057, latitude: 30.232985 },\n ];\n const markerStyle = {\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\n width: 5,\n anchorY: -1,\n label: {\n color: '#735142',\n fontSize: 10,\n bgColor: '#ffffff',\n },\n };\n\n return (\n \n );\n};\n";},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);},e87acd6a:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("b6ae7a74");var a="import { PinMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nexport default () => {\n const data = [\n {\n label: '\u77F3\u5C4B\u6D1E',\n longitude: 120.130638,\n latitude: 30.219835,\n cityname: '\u676D\u5DDE\u5E02',\n },\n {\n label: '\u6EE1\u89C9\u9647',\n longitude: 120.128125,\n latitude: 30.219386,\n },\n { label: '\u6768\u6885\u5CAD', longitude: 120.118362, latitude: 30.217175 },\n { label: '\u7406\u5B89\u5BFA', longitude: 120.112958, latitude: 30.207319 },\n { label: '\u4E5D\u6EAA\u70DF\u6811', longitude: 120.11335, latitude: 30.202395 },\n { label: '\u98DE\u6765\u5CF0', longitude: 120.100549, latitude: 30.236875 },\n { label: '\u7075\u9690\u5BFA', longitude: 120.101406, latitude: 30.240826 },\n { label: '\u5929\u7AFA\u4E09\u5BFA', longitude: 120.105337, latitude: 30.236818 },\n { label: '\u676D\u5DDE\u690D\u7269\u56ED', longitude: 120.116979, latitude: 30.252876 },\n { label: '\u676D\u5DDE\u82B1\u5703', longitude: 120.127654, latitude: 30.245663 },\n { label: '\u82CF\u5824', longitude: 120.135764, latitude: 30.251448 },\n { label: '\u864E\u8DD1\u516C\u56ED', longitude: 120.130095, latitude: 30.207505 },\n { label: '\u7389\u7687\u98DE\u4E91', longitude: 120.145323, latitude: 30.214993 },\n { label: '\u957F\u6865\u516C\u56ED', longitude: 120.155057, latitude: 30.232985 },\n ];\n\n return ;\n};\n";}}]); +//# sourceMappingURL=c7fd9920-async.5defbdcc.js.map \ No newline at end of file diff --git a/c7fd9920-async.5defbdcc.js.map b/c7fd9920-async.5defbdcc.js.map new file mode 100644 index 0000000..08dbcce --- /dev/null +++ b/c7fd9920-async.5defbdcc.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/PinMap/index.md?type=text","src/PinMap/index.md?type=demo","src/PinMap/demos/markdown.tsx?dumi-raw","src/index.ts","src/PinMap/demos/marker.tsx?dumi-raw","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/PinMap/demos/default.tsx?dumi-raw"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/index.md?watch=parent';\n export const texts = [{\"value\":\"点标注地图,用于可视化展示 POI 点位数据。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n { label: '杨梅岭', longitude: 120.118362, latitude: 30.217175 },\\n { label: '理安寺', longitude: 120.112958, latitude: 30.207319 },\\n { label: '九溪烟树', longitude: 120.11335, latitude: 30.202395 },\\n { label: '飞来峰', longitude: 120.100549, latitude: 30.236875 },\\n { label: '灵隐寺', longitude: 120.101406, latitude: 30.240826 },\\n { label: '天竺三寺', longitude: 120.105337, latitude: 30.236818 },\\n { label: '杭州植物园', longitude: 120.116979, latitude: 30.252876 },\\n { label: '杭州花圃', longitude: 120.127654, latitude: 30.245663 },\\n { label: '苏堤', longitude: 120.135764, latitude: 30.251448 },\\n { label: '虎跑公园', longitude: 120.130095, latitude: 30.207505 },\\n { label: '玉皇飞云', longitude: 120.145323, latitude: 30.214993 },\\n { label: '长桥公园', longitude: 120.155057, latitude: 30.232985 },\\n ]\\n}\\n\\n\",\"paraId\":1,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"MarkerData[]\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"markerStyle\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"Marker\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"标记点样式\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"longitude\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"经度\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"latitude\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"纬度\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"label\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"文字标注\",\"paraId\":3,\"tocIndex\":8}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/index.md?watch=parent';\nimport * as pinmap_demo_default_deps_1 from '@antv/gpt-vis';\nimport * as pinmap_demo_default_deps_2 from 'react';\nimport * as pinmap_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'pinmap-demo-default': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PinMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/default.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pinmap-demo-default\",\n \"refAtomIds\": [\n \"PinMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/default.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"默认地图\"\n},\n context: {\n \"@antv/gpt-vis\": pinmap_demo_default_deps_1,\n \"react\": pinmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'pinmap-demo-marker': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PinMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/marker.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pinmap-demo-marker\",\n \"refAtomIds\": [\n \"PinMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/marker.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"自定义样式\"\n},\n context: {\n \"@antv/gpt-vis\": pinmap_demo_default_deps_1,\n \"react\": pinmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'pinmap-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PinMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pinmap-demo-markdown\",\n \"refAtomIds\": [\n \"PinMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": pinmap_demo_markdown_deps_1,\n \"@antv/gpt-vis\": pinmap_demo_default_deps_1,\n \"react\": pinmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, ConfigProvider, GPTVisLite, PinMap, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nconst markdownContent = `\\n ~~~vis-chart\\n {\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n { \\\"label\\\": \\\"杨梅岭\\\", \\\"longitude\\\": 120.118362, \\\"latitude\\\": 30.217175 },\\n { \\\"label\\\": \\\"理安寺\\\", \\\"longitude\\\": 120.112958, \\\"latitude\\\": 30.207319 },\\n { \\\"label\\\": \\\"九溪烟树\\\", \\\"longitude\\\": 120.11335, \\\"latitude\\\": 30.202395 },\\n { \\\"label\\\": \\\"飞来峰\\\", \\\"longitude\\\": 120.100549, \\\"latitude\\\": 30.236875 },\\n { \\\"label\\\": \\\"灵隐寺\\\", \\\"longitude\\\": 120.101406, \\\"latitude\\\": 30.240826 },\\n { \\\"label\\\": \\\"天竺三寺\\\", \\\"longitude\\\": 120.105337, \\\"latitude\\\": 30.236818 },\\n { \\\"label\\\": \\\"杭州植物园\\\", \\\"longitude\\\": 120.116979, \\\"latitude\\\": 30.252876 },\\n { \\\"label\\\": \\\"杭州花圃\\\", \\\"longitude\\\": 120.127654, \\\"latitude\\\": 30.245663 },\\n { \\\"label\\\": \\\"苏堤\\\", \\\"longitude\\\": 120.135764, \\\"latitude\\\": 30.251448 },\\n { \\\"label\\\": \\\"虎跑公园\\\", \\\"longitude\\\": 120.130095, \\\"latitude\\\": 30.207505 },\\n { \\\"label\\\": \\\"玉皇飞云\\\", \\\"longitude\\\": 120.145323, \\\"latitude\\\": 30.214993 },\\n { \\\"label\\\": \\\"长桥公园\\\", \\\"longitude\\\": 120.155057, \\\"latitude\\\": 30.232985 }\\n ]\\n}\\n~~~`;\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.PinMap]: PinMap },\\n debug: true,\\n style: { width: 500 },\\n});\\n\\nexport default () => {\\n return (\\n \\n
\\n \\n \\n
\\n \\n );\\n};\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/marker.tsx?watch=parent';\n export default \"import { PinMap } from '@antv/gpt-vis';\\nimport React from 'react';\\nexport default () => {\\n const data = [\\n {\\n label: '石屋洞',\\n longitude: 120.130638,\\n latitude: 30.219835,\\n cityname: '杭州市',\\n },\\n {\\n label: '满觉陇',\\n longitude: 120.128125,\\n latitude: 30.219386,\\n },\\n { label: '杨梅岭', longitude: 120.118362, latitude: 30.217175 },\\n { label: '理安寺', longitude: 120.112958, latitude: 30.207319 },\\n { label: '九溪烟树', longitude: 120.11335, latitude: 30.202395 },\\n { label: '飞来峰', longitude: 120.100549, latitude: 30.236875 },\\n { label: '灵隐寺', longitude: 120.101406, latitude: 30.240826 },\\n { label: '天竺三寺', longitude: 120.105337, latitude: 30.236818 },\\n { label: '杭州植物园', longitude: 120.116979, latitude: 30.252876 },\\n { label: '杭州花圃', longitude: 120.127654, latitude: 30.245663 },\\n { label: '苏堤', longitude: 120.135764, latitude: 30.251448 },\\n { label: '虎跑公园', longitude: 120.130095, latitude: 30.207505 },\\n { label: '玉皇飞云', longitude: 120.145323, latitude: 30.214993 },\\n { label: '长桥公园', longitude: 120.155057, latitude: 30.232985 },\\n ];\\n const markerStyle = {\\n iconPath:\\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\\n width: 5,\\n anchorY: -1,\\n label: {\\n color: '#735142',\\n fontSize: 10,\\n bgColor: '#ffffff',\\n },\\n };\\n\\n return (\\n \\n );\\n};\\n\";;\n ","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/demos/default.tsx?watch=parent';\n export default \"import { PinMap } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nexport default () => {\\n const data = [\\n {\\n label: '石屋洞',\\n longitude: 120.130638,\\n latitude: 30.219835,\\n cityname: '杭州市',\\n },\\n {\\n label: '满觉陇',\\n longitude: 120.128125,\\n latitude: 30.219386,\\n },\\n { label: '杨梅岭', longitude: 120.118362, latitude: 30.217175 },\\n { label: '理安寺', longitude: 120.112958, latitude: 30.207319 },\\n { label: '九溪烟树', longitude: 120.11335, latitude: 30.202395 },\\n { label: '飞来峰', longitude: 120.100549, latitude: 30.236875 },\\n { label: '灵隐寺', longitude: 120.101406, latitude: 30.240826 },\\n { label: '天竺三寺', longitude: 120.105337, latitude: 30.236818 },\\n { label: '杭州植物园', longitude: 120.116979, latitude: 30.252876 },\\n { label: '杭州花圃', longitude: 120.127654, latitude: 30.245663 },\\n { label: '苏堤', longitude: 120.135764, latitude: 30.251448 },\\n { label: '虎跑公园', longitude: 120.130095, latitude: 30.207505 },\\n { label: '玉皇飞云', longitude: 120.145323, latitude: 30.214993 },\\n { label: '长桥公园', longitude: 120.155057, latitude: 30.232985 },\\n ];\\n\\n return ;\\n};\\n\";;\n "],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXrB,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,oHAA0B,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2jCAAo2B,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,OAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAe,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAA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AAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAA4E,OAAO,AACtG,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,oCACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,iFCrHE,+CAAA,QADO,gBACP,EAAe,wiGCOG,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCXjC,+CAAA,QADO,gBACP,EAAe,i4DCQf,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/c8a00b18-async.1ec3cb22.js b/c8a00b18-async.1ec3cb22.js new file mode 100644 index 0000000..fcd2de6 --- /dev/null +++ b/c8a00b18-async.1ec3cb22.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c8a00b18"],{c8a00b18:function(e,l,d){"use strict";d.d(l,"__esModule",{value:!0}),d.d(l,"default",{enumerable:!0,get:function(){return u;}});var s=d("777fffbe"),n=d("a2e753d8"),i=s._(d("1b472ae8")),r=s._(d("49f20ac6")),a=d("5ca000fa"),c=s._(d("9b3f9685")),t=d("9d065c04");function h(){let{texts:e}=(0,a.useRouteMeta)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h1",{id:"column-\u67F1\u5F62\u56FE",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#column-\u67F1\u5F62\u56FE",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Column \u67F1\u5F62\u56FE"]}),(0,n.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,n.jsx)(a.DumiDemo,{demo:{id:"column-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/Column/demos/common.tsx"}}),(0,n.jsx)(a.DumiDemo,{demo:{id:"column-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/Column/demos/markdown.tsx"}}),(0,n.jsx)(a.DumiDemoGrid,{items:[{demo:{id:"column-demo-group"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E group \u4E3A true

",title:"\u5206\u7EC4\u67F1\u5F62\u56FE",filename:"src/Column/demos/group.tsx"}},{demo:{id:"column-demo-stack"},previewerProps:{description:"

\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true

",title:"\u5806\u53E0\u67F1\u5F62\u56FE",filename:"src/Column/demos/stack.tsx"}}]}),(0,n.jsxs)("div",{className:"markdown",children:[(0,n.jsxs)("h2",{id:"spec",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,n.jsx)(i.default,{lang:"json",children:e[0].value}),(0,n.jsxs)("h2",{id:"api",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,n.jsxs)("h3",{id:"columnprops",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#columnprops",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"ColumnProps"]}),(0,n.jsxs)(r.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[1].value}),(0,n.jsx)("th",{children:e[2].value}),(0,n.jsx)("th",{children:e[3].value}),(0,n.jsx)("th",{children:e[4].value}),(0,n.jsx)("th",{children:e[5].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[6].value}),(0,n.jsx)("td",{children:e[7].value}),(0,n.jsx)("td",{children:e[8].value}),(0,n.jsx)("td",{children:e[9].value}),(0,n.jsx)("td",{children:e[10].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[11].value}),(0,n.jsx)("td",{children:e[12].value}),(0,n.jsx)("td",{children:e[13].value}),(0,n.jsx)("td",{children:e[14].value}),(0,n.jsx)("td",{children:e[15].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[16].value}),(0,n.jsx)("td",{children:e[17].value}),(0,n.jsx)("td",{children:e[18].value}),(0,n.jsx)("td",{children:e[19].value}),(0,n.jsx)("td",{children:e[20].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[21].value}),(0,n.jsx)("td",{children:e[22].value}),(0,n.jsx)("td",{children:e[23].value}),(0,n.jsx)("td",{children:e[24].value}),(0,n.jsx)("td",{children:e[25].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[26].value}),(0,n.jsx)("td",{children:e[27].value}),(0,n.jsx)("td",{children:e[28].value}),(0,n.jsx)("td",{children:e[29].value}),(0,n.jsx)("td",{children:e[30].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[31].value}),(0,n.jsx)("td",{children:e[32].value}),(0,n.jsx)("td",{children:e[33].value}),(0,n.jsx)("td",{children:e[34].value}),(0,n.jsx)("td",{children:e[35].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[36].value}),(0,n.jsx)("td",{children:e[37].value}),(0,n.jsx)("td",{children:e[38].value}),(0,n.jsx)("td",{children:e[39].value}),(0,n.jsxs)("td",{children:[e[40].value,(0,n.jsx)("a",{href:"https://ant-design-charts.antgroup.com/options/plots/overview",children:e[41].value})]})]})]})]}),(0,n.jsxs)("h3",{id:"columndataitem",children:[(0,n.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#columndataitem",children:(0,n.jsx)("span",{className:"icon icon-link"})}),"ColumnDataItem"]}),(0,n.jsxs)(r.default,{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:e[42].value}),(0,n.jsx)("th",{children:e[43].value}),(0,n.jsx)("th",{children:e[44].value}),(0,n.jsx)("th",{children:e[45].value}),(0,n.jsx)("th",{children:e[46].value})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[47].value}),(0,n.jsx)("td",{children:e[48].value}),(0,n.jsx)("td",{children:e[49].value}),(0,n.jsx)("td",{children:e[50].value}),(0,n.jsx)("td",{children:e[51].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[52].value}),(0,n.jsx)("td",{children:e[53].value}),(0,n.jsx)("td",{children:e[54].value}),(0,n.jsx)("td",{children:e[55].value}),(0,n.jsx)("td",{children:e[56].value})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e[57].value}),(0,n.jsx)("td",{children:e[58].value}),(0,n.jsx)("td",{children:e[59].value}),(0,n.jsx)("td",{children:e[60].value}),(0,n.jsx)("td",{children:e[61].value})]})]})]})]})]});}var u=function(){return(0,n.jsx)(a.DumiPage,{children:(0,n.jsx)(t.Suspense,{fallback:(0,n.jsx)(c.default,{}),children:(0,n.jsx)(h,{})})});};}}]); +//# sourceMappingURL=c8a00b18-async.1ec3cb22.js.map \ No newline at end of file diff --git a/c8a00b18-async.1ec3cb22.js.map b/c8a00b18-async.1ec3cb22.js.map new file mode 100644 index 0000000..f5bc547 --- /dev/null +++ b/c8a00b18-async.1ec3cb22.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Column/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"Column 柱形图\"}

{\"代码演示\"}

在 data 中传入额外的字段,并且设置 group 为 true

\",\n \"title\": \"分组柱形图\",\n \"filename\": \"src/Column/demos/group.tsx\"\n }\n}, {\n \"demo\": {\n \"id\": \"column-demo-stack\"\n },\n \"previewerProps\": {\n \"description\": \"

在 data 中传入额外的字段,并且设置 stack 为 true

\",\n \"title\": \"堆叠柱形图\",\n \"filename\": \"src/Column/demos/stack.tsx\"\n }\n}]} />

{\"Spec\"}

{$$contentTexts[0].value}

{\"API\"}

{\"ColumnProps\"}

{$$contentTexts[1].value}{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}
{$$contentTexts[6].value}{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}
{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}
{$$contentTexts[16].value}{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}
{$$contentTexts[21].value}{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}
{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}
{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}
{$$contentTexts[36].value}{$$contentTexts[37].value}{$$contentTexts[38].value}{$$contentTexts[39].value}{$$contentTexts[40].value}{$$contentTexts[41].value}

{\"ColumnDataItem\"}

{$$contentTexts[42].value}{$$contentTexts[43].value}{$$contentTexts[44].value}{$$contentTexts[45].value}{$$contentTexts[46].value}
{$$contentTexts[47].value}{$$contentTexts[48].value}{$$contentTexts[49].value}{$$contentTexts[50].value}{$$contentTexts[51].value}
{$$contentTexts[52].value}{$$contentTexts[53].value}{$$contentTexts[54].value}{$$contentTexts[55].value}{$$contentTexts[56].value}
{$$contentTexts[57].value}{$$contentTexts[58].value}{$$contentTexts[59].value}{$$contentTexts[60].value}{$$contentTexts[61].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA+DA,+CAAA,kDA1DuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,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AC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBACt5F,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/c9bd98ac-async.525ed8ab.js b/c9bd98ac-async.525ed8ab.js new file mode 100644 index 0000000..2301d89 --- /dev/null +++ b/c9bd98ac-async.525ed8ab.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["c9bd98ac"],{"01400b03":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("00a0c788");var t='import { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst content = `\n ~~~vis-chart\n {\n "type": "pin-map",\n "data": [\n {\n "longitude": 120.210792,\n "latitude": 30.246026,\n "label": "\u676D\u5DDE"\n },\n {\n "longitude": 121.473667,\n "latitude": 31.230525,\n "label": "\u4E0A\u6D77"\n },\n {\n "longitude": 120.585294,\n "latitude": 31.299758,\n "label": "\u82CF\u5DDE"\n },\n {\n "longitude": 118.796624,\n "latitude": 32.059344,\n "label": "\u5357\u4EAC"\n }\n ]\n }\n~~~`;\n\nexport default () => (\n \n {content}\n \n);\n';},"02a024a9":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("a28246c2");var t='import { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst content = `\n ~~~vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n~~~`;\n\nconst pieConfig = {\n legend: false,\n innerRadius: 0.6,\n style: {\n stroke: \'#fff\',\n inset: 1,\n radius: 10,\n },\n};\n\nexport default () => (\n \n {content}\n \n);\n';},"09c91aaf":function(e,a,n){"use strict";var t=n("852bbaa9")._;n.d(a,"__esModule",{value:!0}),n.d(a,"demos",{enumerable:!0,get:function(){return u;}});var d=n("852bbaa9"),r=d._(n("9d065c04"));n("aca0c345");var o=d._(n("df67f0d6"));let u={"configprovider-demo-plot-theme":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3ca0749a")]).then(n.dr(t,n.bind(n,"d9e2422f"))))),asset:{type:"BLOCK",id:"configprovider-demo-plot-theme",refAtomIds:["ConfigProvider"],dependencies:{"index.tsx":{type:"FILE",value:n("f63301c2").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u8BBE\u7F6E\u7EDF\u8BA1\u56FE\u8868\u4E3B\u9898"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}},"configprovider-demo-map-config":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3ca0749a")]).then(n.dr(t,n.bind(n,"e6806ec7"))))),asset:{type:"BLOCK",id:"configprovider-demo-map-config",refAtomIds:["ConfigProvider"],dependencies:{"index.tsx":{type:"FILE",value:n("01400b03").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u8BBE\u7F6E\u5730\u56FE token \u548C\u6837\u5F0F"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}},"configprovider-demo-components-config":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3ca0749a")]).then(n.dr(t,n.bind(n,"3c9e98d5"))))),asset:{type:"BLOCK",id:"configprovider-demo-components-config",refAtomIds:["ConfigProvider"],dependencies:{"index.tsx":{type:"FILE",value:n("02a024a9").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}},"configprovider-demo-graph-components-config":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3ca0749a")]).then(n.dr(t,n.bind(n,"4791efb4"))))),asset:{type:"BLOCK",id:"configprovider-demo-graph-components-config",refAtomIds:["ConfigProvider"],dependencies:{"index.tsx":{type:"FILE",value:n("c6aebb85").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u8BBE\u7F6E\u5173\u7CFB\u56FE\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027"},context:{"@antv/gpt-vis":o,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d030c320")]).then(n.dr(t,n.bind(n,"d030c320")))).default(...e)}}};},c6aebb85:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("902a8da0");var t='import { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst content = `\n ~~~vis-chart\n{\n "type": "mind-map",\n "data": {\n "name": "\u53F0\u98CE\u5F62\u6210\u7684\u56E0\u7D20",\n "children": [\n {\n "name": "\u6C14\u8C61\u6761\u4EF6",\n "children": [\n { "name": "\u6E29\u6696\u7684\u6D77\u6C34" },\n { "name": "\u6C14\u538B\u5206\u5E03" },\n { "name": "\u6E7F\u5EA6\u6C34\u5E73" },\n { "name": "\u98CE\u7684\u5207\u53D8" }\n ]\n },\n {\n "name": "\u5730\u7406\u73AF\u5883",\n "children": [\n { "name": "\u5927\u9646\u67B6\u7684\u5F62\u72B6\u4E0E\u6DF1\u5EA6" },\n { "name": "\u6D77\u6D0B\u6696\u6D41\u7684\u5206\u5E03" },\n { "name": "\u70ED\u5E26\u5730\u533A\u7684\u6C14\u5019\u7279\u5F81" },\n { "name": "\u5C9B\u5C7F\u7684\u5F71\u54CD" }\n ]\n }\n ]\n }\n}\n~~~`;\n\nconst mindmapConfig = {\n type: \'linear\',\n direction: \'right\',\n behaviors: (behaviors) => [\n // console.log(behaviors) \u{1F449} [{ key: \'zoom-canvas\', type: \'zoom-canvas\' }, { key: \'drag-canvas\', type: \'drag-canvas\' }]\n // \u9ED8\u8BA4\u542F\u7528\u4E24\u4E2A\u4EA4\u4E92\uFF0C\u7F29\u653E\u753B\u5E03\u548C\u62D6\u62FD\u753B\u5E03\u3002\u6B64\u5904\u79FB\u9664\u7F29\u653E\u753B\u5E03\u5E76\u6DFB\u52A0\u62D6\u62FD\u5143\u7D20\n ...behaviors.filter((behavior) => behavior.key !== \'zoom-canvas\'),\n {\n key: \'drag-element\',\n type: \'drag-element\',\n },\n ],\n transforms: (prev) => [\n // \u9ED8\u8BA4\u8282\u70B9\u652F\u6301\u6298\u53E0\u5C55\u5F00\uFF0C\u6B64\u5904\u7981\u7528\n ...prev.filter((transform) => transform.key !== \'collapse-expand-react-node\'),\n {\n ...prev.find((transform) => transform.key === \'collapse-expand-react-node\'),\n enable: false,\n },\n ],\n};\n\nexport default () => (\n \n {content}\n \n);\n';},d01749d9:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"texts",{enumerable:!0,get:function(){return t;}}),n("aca0c345");let t=[{value:"\u5C5E\u6027",paraId:0,tocIndex:6},{value:"\u7C7B\u578B",paraId:0,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:0,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:0,tocIndex:6},{value:"\u8BF4\u660E",paraId:0,tocIndex:6},{value:"plot",paraId:0,tocIndex:6},{value:"PlotGlobalConfig",paraId:0,tocIndex:6},{value:"\u5426",paraId:0,tocIndex:6},{value:"-",paraId:0,tocIndex:6},{value:"\u56FE\u8868\u914D\u7F6E",paraId:0,tocIndex:6},{value:"graph",paraId:0,tocIndex:6},{value:"GraphGlobalConfig",paraId:0,tocIndex:6},{value:"\u5426",paraId:0,tocIndex:6},{value:"-",paraId:0,tocIndex:6},{value:"\u5173\u7CFB\u56FE\u914D\u7F6E",paraId:0,tocIndex:6},{value:"map",paraId:0,tocIndex:6},{value:"MapGlobalConfig",paraId:0,tocIndex:6},{value:"\u5426",paraId:0,tocIndex:6},{value:"-",paraId:0,tocIndex:6},{value:"\u5730\u56FE\u914D\u7F6E",paraId:0,tocIndex:6},{value:"components",paraId:0,tocIndex:6},{value:"ComponentsGlobalConfig",paraId:0,tocIndex:6},{value:"\u5426",paraId:0,tocIndex:6},{value:"-",paraId:0,tocIndex:6},{value:"\u7EC4\u4EF6\u914D\u7F6E",paraId:0,tocIndex:6},{value:"\u5C5E\u6027",paraId:1,tocIndex:7},{value:"\u7C7B\u578B",paraId:1,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:7},{value:"\u8BF4\u660E",paraId:1,tocIndex:7},{value:"theme",paraId:1,tocIndex:7},{value:"G2Theme",paraId:1,tocIndex:7},{value:"\u5426",paraId:1,tocIndex:7},{value:"-",paraId:1,tocIndex:7},{value:"\u7EDF\u8BA1\u56FE\u8868\u4E3B\u9898\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:7},{value:"plots theme",paraId:1,tocIndex:7},{value:"\u53C2\u8003 ",paraId:2,tocIndex:8},{value:"Ant Design Charts \u7684\u5173\u7CFB\u56FE\u914D\u7F6E\u9879",paraId:2,tocIndex:8},{value:"\u3002",paraId:2,tocIndex:8},{value:"\u5C5E\u6027",paraId:3,tocIndex:9},{value:"\u7C7B\u578B",paraId:3,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:9},{value:"\u8BF4\u660E",paraId:3,tocIndex:9},{value:"style",paraId:3,tocIndex:9},{value:"'normal' \uFF5C 'light' \uFF5C 'dark' \uFF5C string",paraId:3,tocIndex:9},{value:"\u5426",paraId:3,tocIndex:9},{value:"-",paraId:3,tocIndex:9},{value:"\u5730\u56FE\u6837\u5F0F",paraId:3,tocIndex:9},{value:"token",paraId:3,tocIndex:9},{value:"string",paraId:3,tocIndex:9},{value:"\u662F",paraId:3,tocIndex:9},{value:"-",paraId:3,tocIndex:9},{value:"\u9AD8\u5FB7\u5730\u56FE token",paraId:3,tocIndex:9},{value:"\u5C5E\u6027",paraId:4,tocIndex:10},{value:"\u7C7B\u578B",paraId:4,tocIndex:10},{value:"\u662F\u5426\u5FC5\u4F20",paraId:4,tocIndex:10},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:10},{value:"\u8BF4\u660E",paraId:4,tocIndex:10},{value:"Line",paraId:4,tocIndex:10},{value:"LineConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u6298\u7EBF\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Column",paraId:4,tocIndex:10},{value:"ColumnConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u67F1\u5F62\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Pie",paraId:4,tocIndex:10},{value:"PieConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u997C\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Area",paraId:4,tocIndex:10},{value:"AreaConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u9762\u79EF\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Bar",paraId:4,tocIndex:10},{value:"BarConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u6761\u5F62\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Scatter",paraId:4,tocIndex:10},{value:"ScatterConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u6563\u70B9\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Radar",paraId:4,tocIndex:10},{value:"RadarConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u96F7\u8FBE\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"Treemap",paraId:4,tocIndex:10},{value:"TreemapConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u77E9\u9635\u6811\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"WordCloud",paraId:4,tocIndex:10},{value:"WordCloudConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u8BCD\u8BED\u56FE\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts ",paraId:4,tocIndex:10},{value:"VisText",paraId:4,tocIndex:10},{value:"TextConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u53EF\u89C6\u6587\u672C\u7EC4\u4EF6\u4E2A\u6027\u5316\u5B9A\u5236\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"VisText",paraId:5,tocIndex:10},{value:"PinMap",paraId:4,tocIndex:10},{value:"PinMapConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u6807\u6CE8\u5730\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"PinMap",paraId:6,tocIndex:10},{value:"PathMa",paraId:4,tocIndex:10},{value:"PathMapConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u8DEF\u5F84\u5730\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"PathMa",paraId:7,tocIndex:10},{value:"HeatMap",paraId:4,tocIndex:10},{value:"TextConfig",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u70ED\u529B\u5730\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"HeatMap",paraId:8,tocIndex:10},{value:"MindMap",paraId:4,tocIndex:10},{value:"MindMapOptions",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u601D\u7EF4\u5BFC\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts",paraId:4,tocIndex:10},{value:"FlowDiagram",paraId:4,tocIndex:10},{value:"FlowGraphOptions",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u6D41\u7A0B\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts",paraId:4,tocIndex:10},{value:"NetworkGraph",paraId:4,tocIndex:10},{value:"NetworkGraphOptions",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u7F51\u7EDC\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts",paraId:4,tocIndex:10},{value:"OrganizationChart",paraId:4,tocIndex:10},{value:"OrganizationChartOptions",paraId:4,tocIndex:10},{value:"\u5426",paraId:4,tocIndex:10},{value:"-",paraId:4,tocIndex:10},{value:"\u7EC4\u7EC7\u67B6\u6784\u56FE\u7EC4\u4EF6\u9ED8\u8BA4\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:4,tocIndex:10},{value:"Ant Design Charts",paraId:4,tocIndex:10}];},df67f0d6:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{ConfigProvider:function(){return u.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return I.default;},withChartCode:function(){return o.withChartCode;},withDefaultChartCode:function(){return o.withDefaultChartCode;}});var t=n("d1751d7c"),d=n("777fffbe"),r=n("852bbaa9");t._(n("5639510f"),a),t._(n("d382b880"),a);var o=n("a574afdb"),u=d._(n("a7265236")),l=d._(n("2c69d5f6")),c=r._(n("033b3748")),I=d._(n("7cf1dc46"));},e7bada6d:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"Source",{enumerable:!0,get:function(){return d.default;}});var t=n("d1751d7c"),d=n("777fffbe")._(n("b00709ad"));t._(n("5e2dda25"),a),t._(n("969efd31"),a),t._(n("f21af0e0"),a),t._(n("33eda958"),a),t._(n("112b9a67"),a),t._(n("a45613fd"),a),t._(n("432777ba"),a);},f63301c2:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return t;}}),n("f54b0301");var t='import { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst content = `\n ~~~vis-chart\n{\n "type": "line",\n "data": [\n { "time": "2015 \u5E74", "value": 1700, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2015 \u5E74", "value": 965, "group": "\u6B7B\u4EA1\u4EBA\u53E3" },\n { "time": "2016 \u5E74", "value": 1500, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2016 \u5E74", "value": 846, "group": "\u6B7B\u4EA1\u4EBA\u53E3" },\n { "time": "2017 \u5E74", "value": 1200, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2017 \u5E74", "value": 782, "group": "\u6B7B\u4EA1\u4EBA\u53E3" },\n { "time": "2018 \u5E74", "value": 1250, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2018 \u5E74", "value": 762, "group": "\u6B7B\u4EA1\u4EBA\u53E3" },\n { "time": "2019 \u5E74", "value": 1290, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2019 \u5E74", "value": 862, "group": "\u6B7B\u4EA1\u4EBA\u53E3" },\n { "time": "2020 \u5E74", "value": 1100, "group": "\u51FA\u751F\u4EBA\u53E3" },\n { "time": "2020 \u5E74", "value": 962, "group": "\u6B7B\u4EA1\u4EBA\u53E3" }\n ],\n "axisXTitle": "year",\n "axisYTitle": "count"\n}\n~~~`;\n\nexport default () => (\n \n {content}\n \n);\n';}}]); +//# sourceMappingURL=c9bd98ac-async.525ed8ab.js.map \ No newline at end of file diff --git a/c9bd98ac-async.525ed8ab.js.map b/c9bd98ac-async.525ed8ab.js.map new file mode 100644 index 0000000..382be60 --- /dev/null +++ b/c9bd98ac-async.525ed8ab.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/ConfigProvider/demos/map-config.tsx?dumi-raw","src/ConfigProvider/demos/components-config.tsx?dumi-raw","src/ConfigProvider/index.md?type=demo","src/ConfigProvider/demos/graph-components-config.tsx?dumi-raw","src/ConfigProvider/index.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/ConfigProvider/demos/plot-theme.tsx?dumi-raw"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/map-config.tsx?watch=parent';\n export default \"import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst content = `\\n ~~~vis-chart\\n {\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n {\\n \\\"longitude\\\": 120.210792,\\n \\\"latitude\\\": 30.246026,\\n \\\"label\\\": \\\"杭州\\\"\\n },\\n {\\n \\\"longitude\\\": 121.473667,\\n \\\"latitude\\\": 31.230525,\\n \\\"label\\\": \\\"上海\\\"\\n },\\n {\\n \\\"longitude\\\": 120.585294,\\n \\\"latitude\\\": 31.299758,\\n \\\"label\\\": \\\"苏州\\\"\\n },\\n {\\n \\\"longitude\\\": 118.796624,\\n \\\"latitude\\\": 32.059344,\\n \\\"label\\\": \\\"南京\\\"\\n }\\n ]\\n }\\n~~~`;\\n\\nexport default () => (\\n \\n {content}\\n \\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/components-config.tsx?watch=parent';\n export default \"import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst content = `\\n ~~~vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n~~~`;\\n\\nconst pieConfig = {\\n legend: false,\\n innerRadius: 0.6,\\n style: {\\n stroke: '#fff',\\n inset: 1,\\n radius: 10,\\n },\\n};\\n\\nexport default () => (\\n \\n {content}\\n \\n);\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/index.md?watch=parent';\nimport * as configprovider_demo_plot_theme_deps_1 from '@antv/gpt-vis';\nimport * as configprovider_demo_plot_theme_deps_2 from 'react';\nexport const demos = {\n 'configprovider-demo-plot-theme': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ConfigProvider__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/plot-theme.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"configprovider-demo-plot-theme\",\n \"refAtomIds\": [\n \"ConfigProvider\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/plot-theme.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"设置统计图表主题\"\n},\n context: {\n \"@antv/gpt-vis\": configprovider_demo_plot_theme_deps_1,\n \"react\": configprovider_demo_plot_theme_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'configprovider-demo-map-config': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ConfigProvider__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/map-config.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"configprovider-demo-map-config\",\n \"refAtomIds\": [\n \"ConfigProvider\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/map-config.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"设置地图 token 和样式\"\n},\n context: {\n \"@antv/gpt-vis\": configprovider_demo_plot_theme_deps_1,\n \"react\": configprovider_demo_plot_theme_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'configprovider-demo-components-config': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ConfigProvider__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/components-config.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"configprovider-demo-components-config\",\n \"refAtomIds\": [\n \"ConfigProvider\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/components-config.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"设置组件的默认属性\"\n},\n context: {\n \"@antv/gpt-vis\": configprovider_demo_plot_theme_deps_1,\n \"react\": configprovider_demo_plot_theme_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'configprovider-demo-graph-components-config': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"ConfigProvider__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/graph-components-config.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"configprovider-demo-graph-components-config\",\n \"refAtomIds\": [\n \"ConfigProvider\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/graph-components-config.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"设置关系图组件的默认属性\"\n},\n context: {\n \"@antv/gpt-vis\": configprovider_demo_plot_theme_deps_1,\n \"react\": configprovider_demo_plot_theme_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/graph-components-config.tsx?watch=parent';\n export default \"import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst content = `\\n ~~~vis-chart\\n{\\n \\\"type\\\": \\\"mind-map\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"台风形成的因素\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"气象条件\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"温暖的海水\\\" },\\n { \\\"name\\\": \\\"气压分布\\\" },\\n { \\\"name\\\": \\\"湿度水平\\\" },\\n { \\\"name\\\": \\\"风的切变\\\" }\\n ]\\n },\\n {\\n \\\"name\\\": \\\"地理环境\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"大陆架的形状与深度\\\" },\\n { \\\"name\\\": \\\"海洋暖流的分布\\\" },\\n { \\\"name\\\": \\\"热带地区的气候特征\\\" },\\n { \\\"name\\\": \\\"岛屿的影响\\\" }\\n ]\\n }\\n ]\\n }\\n}\\n~~~`;\\n\\nconst mindmapConfig = {\\n type: 'linear',\\n direction: 'right',\\n behaviors: (behaviors) => [\\n // console.log(behaviors) 👉 [{ key: 'zoom-canvas', type: 'zoom-canvas' }, { key: 'drag-canvas', type: 'drag-canvas' }]\\n // 默认启用两个交互,缩放画布和拖拽画布。此处移除缩放画布并添加拖拽元素\\n ...behaviors.filter((behavior) => behavior.key !== 'zoom-canvas'),\\n {\\n key: 'drag-element',\\n type: 'drag-element',\\n },\\n ],\\n transforms: (prev) => [\\n // 默认节点支持折叠展开,此处禁用\\n ...prev.filter((transform) => transform.key !== 'collapse-expand-react-node'),\\n {\\n ...prev.find((transform) => transform.key === 'collapse-expand-react-node'),\\n enable: false,\\n },\\n ],\\n};\\n\\nexport default () => (\\n \\n {content}\\n \\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/index.md?watch=parent';\n export const texts = [{\"value\":\"属性\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"plot\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"PlotGlobalConfig\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"图表配置\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"graph\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"GraphGlobalConfig\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"关系图配置\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"map\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"MapGlobalConfig\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"地图配置\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"components\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"ComponentsGlobalConfig\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"否\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"组件配置\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"theme\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"G2Theme\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"统计图表主题,详见 \",\"paraId\":1,\"tocIndex\":7},{\"value\":\"plots theme\",\"paraId\":1,\"tocIndex\":7},{\"value\":\"参考 \",\"paraId\":2,\"tocIndex\":8},{\"value\":\"Ant Design Charts 的关系图配置项\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"。\",\"paraId\":2,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"style\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"'normal' | 'light' | 'dark' | string\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"地图样式\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"token\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"高德地图 token\",\"paraId\":3,\"tocIndex\":9},{\"value\":\"属性\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"类型\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"是否必传\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"默认值\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"说明\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Line\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"LineConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"折线图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Column\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"ColumnConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"柱形图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Pie\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"PieConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"饼图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Area\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"AreaConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"面积图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Bar\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"BarConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"条形图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Scatter\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"ScatterConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"散点图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Radar\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"RadarConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"雷达图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Treemap\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"TreemapConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"矩阵树图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"WordCloud\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"WordCloudConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"词语图图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"VisText\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"TextConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"可视文本组件个性化定制,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"VisText\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"PinMap\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"PinMapConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"标注地图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"PinMap\",\"paraId\":6,\"tocIndex\":10},{\"value\":\"PathMa\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"PathMapConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"路径地图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"PathMa\",\"paraId\":7,\"tocIndex\":10},{\"value\":\"HeatMap\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"TextConfig\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"热力地图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"HeatMap\",\"paraId\":8,\"tocIndex\":10},{\"value\":\"MindMap\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"MindMapOptions\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"思维导图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"FlowDiagram\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"FlowGraphOptions\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"流程图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"NetworkGraph\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"NetworkGraphOptions\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"网络图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"OrganizationChart\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"OrganizationChartOptions\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":10},{\"value\":\"组织架构图组件默认属性,详见 \",\"paraId\":4,\"tocIndex\":10},{\"value\":\"Ant Design Charts\",\"paraId\":4,\"tocIndex\":10}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/demos/plot-theme.tsx?watch=parent';\n export default \"import { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst content = `\\n ~~~vis-chart\\n{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [\\n { \\\"time\\\": \\\"2015 年\\\", \\\"value\\\": 1700, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2015 年\\\", \\\"value\\\": 965, \\\"group\\\": \\\"死亡人口\\\" },\\n { \\\"time\\\": \\\"2016 年\\\", \\\"value\\\": 1500, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2016 年\\\", \\\"value\\\": 846, \\\"group\\\": \\\"死亡人口\\\" },\\n { \\\"time\\\": \\\"2017 年\\\", \\\"value\\\": 1200, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2017 年\\\", \\\"value\\\": 782, \\\"group\\\": \\\"死亡人口\\\" },\\n { \\\"time\\\": \\\"2018 年\\\", \\\"value\\\": 1250, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2018 年\\\", \\\"value\\\": 762, \\\"group\\\": \\\"死亡人口\\\" },\\n { \\\"time\\\": \\\"2019 年\\\", \\\"value\\\": 1290, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2019 年\\\", \\\"value\\\": 862, \\\"group\\\": \\\"死亡人口\\\" },\\n { \\\"time\\\": \\\"2020 年\\\", \\\"value\\\": 1100, \\\"group\\\": \\\"出生人口\\\" },\\n { \\\"time\\\": \\\"2020 年\\\", \\\"value\\\": 962, \\\"group\\\": \\\"死亡人口\\\" }\\n ],\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"count\\\"\\n}\\n~~~`;\\n\\nexport default () => (\\n \\n {content}\\n \\n);\\n\";;\n "],"names":[],"mappings":"+PAEE,+CAAA,QADO,gBACP,EAAe,0nCCAf,+CAAA,QADO,gBACP,EAAe,s4BCEJ,6CAAA,kCAJK,eACX,wBACgD,aAEhD,IAAM,EAAQ,CACnB,iCAAkC,CAChC,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,iCACN,WAAc,CACZ,iBACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,EAAQ,YAAsF,OAAO,AAChH,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,MAAS,CACP,KAAQ,MACR,MAAS,QACX,CACF,EACA,MAAS,YACT,MAAS,kDACX,EACI,QAAS,CACX,gBAAiB,EACjB,MAAS,CACX,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,EACA,iCAAkC,CAChC,UAAW,SAAK,CAAC,IAAI,CAAC,SAAK,CAAC,IAAI,CAAC,IAAM,oLACvC,MAAO,CACT,KAAQ,QACR,GAAM,iCACN,WAAc,CACZ,iBACD,CACD,aAAgB,CACd,YAAa,CACX,KA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,IAAI,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,4EAAgB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,oBAAoB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,eAAe,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,sBAAsB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,4EAAgB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,oBAAoB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,oBAAoB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,2BAA2B,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,wFAAkB,OAAS,EAAE,SAAW,EAAE,EAAE,CAAC,MAAQ,oBAAoB,OAAS,EAAE,SAAW,EAAE,EAAE,+ECOjkO,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/cd8d7381-async.c673a922.js b/cd8d7381-async.c673a922.js new file mode 100644 index 0000000..30c931b --- /dev/null +++ b/cd8d7381-async.c673a922.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["cd8d7381"],{a1e123fc:function(e,f,u){"use strict";u.d(f,"__esModule",{value:!0}),u.d(f,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("6578daf9"));},b0812ac9:function(e,f,u){"use strict";u.d(f,"__esModule",{value:!0}),u.d(f,"default",{enumerable:!0,get:function(){return a.default;}});var a=u("777fffbe")._(u("a1e123fc"));}}]); +//# sourceMappingURL=cd8d7381-async.c673a922.js.map \ No newline at end of file diff --git a/cd8d7381-async.c673a922.js.map b/cd8d7381-async.c673a922.js.map new file mode 100644 index 0000000..2cf47f4 --- /dev/null +++ b/cd8d7381-async.c673a922.js.map @@ -0,0 +1 @@ +{"version":3,"sources":[".dumi/tmp-production/dumi/theme/slots/NotFound.ts","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/pages/404.js"],"sourcesContent":["// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nexport { default } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/NotFound/index.js';\n","// allow customize 404 via theme slots\nexport { default } from 'dumi/theme/slots/NotFound';"],"names":[],"mappings":"6PAGS,+CAAA,SAAO,6BAAQ,0FCFf,+CAAA,SAAO,6BAAQ"} \ No newline at end of file diff --git a/common-async.95875ad6.js b/common-async.95875ad6.js new file mode 100644 index 0000000..abc6b3d --- /dev/null +++ b/common-async.95875ad6.js @@ -0,0 +1,137 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["common"],{"00a0c788":function(e,t,n){},"0247468d":function(e,t,n){},"024a34de":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{formatMakerStyle:function(){return l;},formatMapStyle:function(){return i;},formatPolylineStyle:function(){return d;}});var a=n("bee223a7");let r={mapOptions:{center:[120.210792,30.246026],zoom:16,maxZoom:18,pitch:0,rotation:0,zoomEnable:!0,pitchEnable:!0}},i=e=>({mapOptions:{...r.mapOptions,center:e.longitude&&e.latitude?[e.longitude,e.latitude]:r.mapOptions.center,zoom:e.scale||r.mapOptions.zoom,pitch:e.skew||r.mapOptions.pitch,rotation:e.rotate||r.mapOptions.rotation,zoomEnable:e.enableZoom||r.mapOptions.zoomEnable,pitchEnable:e.enableRotate||r.mapOptions.pitchEnable,style:null==e?void 0:e.mapType,token:null==e?void 0:e.token},logoVisible:!1}),o={width:12,anchorX:0,anchorY:1,label:{content:"",color:"#000000",fontSize:10,borderRadius:5,bgColor:"#ffffff",padding:5},iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*3XdDTbsQ84QAAAAAAAAAAAAADmJ7AQ/original"},l=(e,t)=>{let n=Object.assign({},o.label,null==t?void 0:t.label);return e.map((e,r)=>{let{label:i,id:l,...u}=e;return{...o,...t,...u,label:{...n,...(0,a.isObject)(i)?i:{content:i}},id:l||r.toString()};});},u={width:2,color:"#16f",dottedLine:!1,zIndex:1},d=(e=[],t)=>e.map(e=>({...u,...t,...e}));},"033b3748":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return f;},useEventPublish:function(){return c.useEventPublish;}});var a=n("777fffbe"),r=n("a2e753d8"),i=a._(n("6e60059a")),o=n("9d065c04"),l=a._(n("b15a11ce")),u=a._(n("91af79dc")),d=a._(n("1a34e453")),s=n("fa62d01f"),c=n("2b3aaad3"),f=(0,o.memo)(({children:e,components:t,rehypePlugins:n,remarkPlugins:a,eventSubs:c,...f})=>{let p=(0,o.useMemo)(()=>new i.default,[]),h=(0,o.useMemo)(()=>({eventBus:p}),[p]);return(0,o.useEffect)(()=>{if(c){let e=Object.keys(c);for(let t of e)p.on(t,c[t]);return()=>{for(let t of e)p.off(t,c[t]);};}},[p,c]),(0,r.jsx)(s.GPTVisContext.Provider,{value:h,children:(0,r.jsx)(l.default,{components:t,rehypePlugins:[u.default,...n||[]],remarkPlugins:[d.default,...a||[]],...f,children:e})});});},"03f4b14d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{MapView:function(){return r.default;},Marker:function(){return i.default;},Polyline:function(){return o.default;}});var a=n("777fffbe"),r=a._(n("1659800f")),i=a._(n("f32bd331")),o=a._(n("2169cd38"));},"0a6f75a5":function(e,t,n){"use strict";var a,r;n.d(t,"__esModule",{value:!0}),n.d(t,"ChartType",{enumerable:!0,get:function(){return a;}}),(r=a||(a={})).Pie="pie",r.Column="column",r.Line="line",r.Area="area",r.Scatter="scatter",r.Histogram="histogram",r.Treemap="treemap",r.Bar="bar",r.WordCloud="word-cloud",r.DualAxes="dual-axes",r.Radar="radar",r.PinMap="pin-map",r.PathMap="path-map",r.HeatMap="heat-map",r.MindMap="mind-map",r.FishboneDiagram="fishbone-diagram",r.FlowDiagram="flow-diagram",r.IndentedTree="indented-tree",r.NetworkGraph="network-graph",r.OrganizationChart="organization-chart",r.VisText="vis-text";},"0ae75d08":function(e,t,n){},"0cd96389":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{DEFAULT_VIS_TEXT_CONFIG:function(){return r.DEFAULT_VIS_TEXT_CONFIG;},VisText:function(){return i.default;}});var a=n("777fffbe"),r=n("3919e139"),i=a._(n("2047f5c4"));},"0e3a9206":function(e,t,n){e.exports=("undefined"!=typeof globalThis?globalThis:self).mapboxgl;},"0fb2d057":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var a=n("777fffbe"),r=n("a2e753d8"),i=n("960c009e"),o=n("9d065c04"),l=n("9d7e840b"),u=a._(n("3ed21ec4"));let d={autoFit:!0,shape:"heatmap",size:{field:"value",value:[0,1]},style:{intensity:3,radius:20,opacity:1,rampColors:{colors:["#FF4818","#F7B74A","#FFF598","#F27DEB","#8C1EB2","#421EB2"],positions:[0,.2,.4,.6,.8,1]}}};var s=e=>{let{children:t,data:n=[],...a}=(0,l.useMapConfig)("HeatMap",e),s=(0,o.useMemo)(()=>({data:n,parser:{type:"json",x:"longitude",y:"latitude"}}),[n]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(u.default,{...a,children:[(0,r.jsx)(i.HeatmapLayer,{...d,source:s}),t]})});};},"107a97a5":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{HeatMap:function(){return o.default;},Map:function(){return r.default;},PathMap:function(){return l.default;},PinMap:function(){return i.default;}});var a=n("777fffbe"),r=a._(n("3ed21ec4")),i=a._(n("30f1797c")),o=a._(n("0fb2d057")),l=a._(n("e696926b"));},"10bd6db2":function(e,t,n){},"13a24dd1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useSvgWrapper",{enumerable:!0,get:function(){return a.useSvgWrapper;}});var a=n("a214b2b4");},"146e4978":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{mergeGlobalConfig:function(){return i;},mergeGraphOptions:function(){return function e(...t){if(0===t.length)return{};let n={...t[0]};for(let r=1;rn(e):function(t){let i=n.call(this,t);return(0,a.isPlainObject)(i)?e(r,i):i;};}(t,r,o):(0,a.isPlainObject)(r)&&(0,a.isPlainObject)(o)?n[t]=e(o,r):n[t]=r;}}return n;};}});var a=n("bee223a7"),r=n("4e74b1da");let i=e=>(0,a.mergeWith)({},r.DEFAULT_GLOBAL_CONFIG,e,e=>{if(Array.isArray(e))return e;});},"148c1929":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("9d065c04"),o=n("9d7e840b"),l=n("15c3fdcb");let u=e=>{let{xField:t="category",axisXTitle:n,legendTypeList:a}=e;return{xField:t,axis:{x:{title:n}},legend:{color:{itemMarker:(e,t)=>a[t]}},scale:{color:{palette:"category10"}}};};var d=e=>{let{categories:t,series:n,...d}=e,s=(0,i.useMemo)(()=>(0,l.transform)(n,t),[e]),c=(0,o.usePlotConfig)("DualAxes",u,{...d,...s});return(0,a.jsx)(r.DualAxes,{...c});};},"15c3fdcb":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"transform",{enumerable:!0,get:function(){return r;}});var a=n("d382b880");function r(e,t){return{children:e.map((e,t)=>{let{type:n,axisYTitle:r,...i}=e,o=r||`value_${t+1}`,l={...i,yField:o,axis:{y:{title:r}},data:void 0};return n===a.ChartType.Column?{...l,type:"interval"}:n===a.ChartType.Line?{...l,type:n,shapeField:"smooth",axis:{y:{position:"right",title:r}},style:{lineWidth:2}}:l;}),data:t.map((t,n)=>{let a={category:t};return e.forEach((e,t)=>{a[e.axisYTitle||`value_${t+1}`]=e.data[n];}),a;}),legendTypeList:e.map(e=>e.type===a.ChartType.Line?"smooth":"rect")};}},"1659800f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var a=n("960c009e"),r=n("9d065c04"),i=n("a79af5a9"),o=e=>{let t=(0,a.useScene)();return(0,r.useEffect)(()=>{(0,i.setMapView)(e,t);},[]),(0,r.useEffect)(()=>{(0,i.setMapStatus)(e,t);},[e.enableRotate,e.enableScroll,e.enableZoom]),(0,r.useEffect)(()=>{(0,i.fitBounds)(e,t);},[e.includePoints,e.markers,e.polyline,e.includePadding]),null;};},"19cf2f23":function(e,t,n){},"1b449fbb":function(e,t,n){},"1c9d0536":function(e,t,n){},"1ff1c74a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ConfigContext",{enumerable:!0,get:function(){return i;}});var a=n("777fffbe")._(n("9d065c04")),r=n("4e74b1da");let i=a.default.createContext(r.DEFAULT_GLOBAL_CONFIG);},"2047f5c4":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var a=n("a2e753d8"),r=n("64f5d8fc"),i=n("bee223a7"),o=n("9d7e840b"),l=n("3919e139"),u=n("5b612497");let{Text:d}=r.Typography;function s(e,t,n){if(!e)return null;let r=null==t?void 0:t[e];return r?(0,a.jsx)(r,{...n}):e;}var c=e=>{let{children:t,className:n,style:c,type:f,origin:p}=e,h=(0,u.useAntdDarkAlgorithm)(),g=(0,o.useComponentGlobalConfig)("VisText"),m=f?null==g?void 0:g[f]:{},v=null==g?void 0:g[l.STATICS_KEY];return(0,a.jsx)(r.Tooltip,{title:(0,i.toString)(p),children:(0,a.jsxs)(d,{className:n,style:{fontSize:"unset",color:(0,u.getThemeColor)({type:f,color:null==m?void 0:m.color,theme:h?"dark":"light"}),...c,...(0,i.pick)(m,["backgroundColor","fontWeight"])},children:[s(null==m?void 0:m.prefix,v,e),t,s(null==m?void 0:m.suffix,v,e)]})});};},"209202be":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="category",yField:a="value"}=e,r=void 0!==(0,i.get)(t,"[0].group"),o=(0,i.get)(e,"axis.y.title");return{xField:n,yField:a,colorField:r?"group":void 0,tooltip:e=>({name:o||e[n],value:e[a]}),style:{radiusTopLeft:5,radiusTopRight:5}};};var u=e=>{let t=(0,o.usePlotConfig)("Bar",l,e);return(0,a.jsx)(r.Bar,{...t});};},"2169cd38":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var a=n("960c009e"),r=n("9d065c04"),i=n("a79af5a9"),o=e=>{let t=(0,a.useScene)(),[n,o]=(0,r.useState)([]),l=()=>{n.forEach(e=>{t.removeLayer(e);});};return(0,r.useEffect)(()=>{if(!e.polyline)return;let n=(0,i.setPolyline)(e.polyline||[]);return l(),n.forEach(e=>{t.addLayer(e);}),o(n),()=>{l();};},[e.polyline]),null;};},"2673d7cc":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("a0ca69c2");let{OrganizationChartNode:u}=r.RCNode,d={padding:[40,0,0,120],autoFit:"view",autoResize:!0,node:{style:{component:e=>{var t;let n=null===(t=e.states)||void 0===t?void 0:t.includes("active");return(0,a.jsx)(u,{name:e.name,position:e.description,status:"online",isActive:n});},size:[280,80]}},edge:{state:{active:{stroke:"#1890ff",halo:!1}}},behaviors:e=>[...e,"hover-activate-neighbors"],transforms:e=>[...e.filter(e=>"collapse-expand-react-node"!==e.type),{...e.find(e=>"collapse-expand-react-node"===e.type),enable:!0,iconOffsetY:24}],animation:!1};var s=e=>{let{data:t,...n}=e,u=(0,i.useMemo)(()=>(0,l.visTreeData2GraphData)(t),[t]),s=(0,o.useGraphConfig)("OrganizationChart",d,n);return(0,a.jsx)(r.OrganizationChart,{data:u,...s});};},"2b3aaad3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useEventPublish",{enumerable:!0,get:function(){return r;}});var a=n("fa62d01f");let r=()=>{let{eventBus:e}=(0,a.useGPTVisContext)();return e.emit.bind(e);};},"2c47140d":function(e,t,n){},"2c69d5f6":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("777fffbe"),r=n("a2e753d8"),i=n("9d065c04"),o=n("a574afdb"),l=a._(n("033b3748"));let u=(0,o.withDefaultChartCode)();var d=(0,i.memo)(({children:e,components:t,...n})=>(0,r.jsx)(l.default,{components:{code:u,...t},...n,children:e}));},"2f8e909b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"getElementFontSize",{enumerable:!0,get:function(){return l;}});var a=n("8977d946");function r(e,t){var n;return window.getComputedStyle?window.getComputedStyle(e,null)[t]:null==e?void 0:null===(n=e.currentStyle)||void 0===n?void 0:n[t];}function i(e){return null==e?void 0:e.endsWith("px");}function o(e){let t=Number(e.replace(/px$/,""));if(!Number.isNaN(t))return t;}function l(e,t=a.TEXT_THEME.fontSizeBase){let n="font-size",u=r(e,n);if(u&&i(u)){let e=o(u);if(e)return e;}let d=r(window.document.body,n);if(d&&i(d)){let e=o(d);if(e)return e;}return t;}},"304313f2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"SingleLineChart",{enumerable:!0,get:function(){return a.SingleLineChart;}});var a=n("ae9c5387");},"30f1797c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("777fffbe"),r=n("a2e753d8"),i=n("9d065c04"),o=n("9d7e840b"),l=a._(n("3ed21ec4")),u=n("a79af5a9"),d=e=>{let{data:t=[],markerStyle:n={},...a}=(0,o.useMapConfig)("PinMap",e),d=(0,i.useMemo)(()=>(0,u.formatMakerStyle)(t,n),[t,n]);return(0,r.jsx)(l.default,{markers:d,includePoints:d,...a});};},"314c7226":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return f;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("146e4978"),u=n("a0ca69c2"),d=n("f4105942");let{TextNode:s}=r.RCNode,c={autoResize:!0,autoFit:"view",node:{style:{component:e=>{var t;let n=null===(t=e.states)||void 0===t?void 0:t.includes("active");return(0,a.jsx)(s,{text:e.id,isActive:n,type:"filled",style:{fontSize:12,background:"linear-gradient(-89deg, #64b7f2 0%, #4c95f3 100%)"},borderWidth:2});},size:[140,32]}},edge:{style:{endArrow:!0,labelBackground:!0,labelMaxLines:2,labelMaxWidth:"40%",labelWordWrap:!0},state:{active:{halo:!1,labelWordWrap:!1,stroke:"#001f98"}}},behaviors:e=>[...e,{type:"hover-activate-neighbors",onHover:e=>{e.view.setCursor("pointer");},onHoverEnd:e=>{e.view.setCursor("default");}}]};var f=e=>{let{data:t,...n}=e,s=(0,i.useMemo)(()=>(0,u.visGraphData2GraphData)(t),[t]),f=(0,o.useGraphConfig)("FlowDiagram",(0,l.mergeGraphOptions)(c,(0,d.getGraphOptionsByData)(s)),n);return(0,a.jsx)(r.FlowGraph,{data:s,...f});};},"345926cb":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("777fffbe"),r=n("a2e753d8"),i=n("87653f76"),o=a._(n("a7601adf"));let l=o.default.div` + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + height: 300px; + background-image: linear-gradient(135deg, #e3f3ff 0%, #f1eeff 100%); + color: rgba(0, 0, 0, 88%); + + &-icon { + margin-bottom: 6px; + } +`;var u=()=>(0,r.jsxs)(l,{className:"gpt-vis-loading",children:[(0,r.jsx)("div",{className:"gpt-vis-loading-icon",children:(0,r.jsx)(i.LoadingOutlined,{style:{fontSize:"24px",color:"rgb(56, 177, 246)"}})}),(0,r.jsx)("p",{children:"\u6570\u636E\u751F\u6210\u4E2D"})]});},"357fbfa7":function(e,t,n){},"37349b31":function(e,t,n){},"38a147d6":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="name",yField:a="value"}=e;return{xField:n,yField:a,colorField:void 0!==(0,i.get)(t,"[0].group")?"group":void 0,area:{style:{fillOpacity:.5}},scale:{x:{padding:.6,align:0},y:{nice:!0}},axis:{x:{title:!1,grid:!0},y:{zIndex:1,title:!1,gridConnect:"line",gridLineWidth:1}},tooltip:e=>({name:e[n],value:e[a]})};};var u=e=>{let t=(0,o.usePlotConfig)("Radar",l,e);return(0,a.jsx)(r.Radar,{...t});};},"3919e139":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{DEFAULT_VIS_TEXT_CONFIG:function(){return l;},STATICS_KEY:function(){return o;}});var a=n("c5086b57"),r=n("5b2912de"),i=n("8977d946");let o="__statics",l={[o]:{"icon:arrow-up":a.ArrowUp,"icon:arrow-down":a.ArrowDown,"mini-chart:proportion":r.ProportionChart,"mini-chart:line":r.SingleLineChart},metric_name:{color:i.TEXT_THEME.light.default88Color,fontWeight:500},metric_value:{color:i.TEXT_THEME.light.primaryColor},other_metric_value:{color:i.TEXT_THEME.light.default65Color},delta_value:{color:i.TEXT_THEME.light.default65Color},ratio_value:{color:i.TEXT_THEME.light.default65Color},delta_value_pos:{color:i.TEXT_THEME.light.posColor,prefix:"+"},delta_value_neg:{color:i.TEXT_THEME.light.negColor,prefix:"-"},ratio_value_pos:{color:i.TEXT_THEME.light.posColor,prefix:"icon:arrow-up"},ratio_value_neg:{color:i.TEXT_THEME.light.negColor,prefix:"icon:arrow-down"},contribute_ratio:{color:i.TEXT_THEME.light.conclusionColor},trend_desc:{color:i.TEXT_THEME.light.conclusionColor,suffix:"mini-chart:line"},dim_value:{color:i.TEXT_THEME.light.default88Color},time_desc:{color:i.TEXT_THEME.light.default88Color},proportion:{suffix:"mini-chart:proportion"}};},"39551e86":function(e,t,n){},"39adb226":function(e,t,n){},"3e7dae99":function(e,t,n){},"3ed21ec4":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("960c009e"),i=n("9d065c04"),o=n("a79af5a9"),l=n("03f4b14d"),u=e=>{let{className:t,containerStyle:n,children:u}=e,d=(0,i.useMemo)(()=>(0,o.formatMapStyle)(e),[e]),s=async()=>{e.onInitComplete&&e.onInitComplete();};return(0,a.jsxs)(r.LarkMap,{className:t,style:{height:300,...n},...d,onSceneLoaded:s,children:[(0,a.jsx)(l.MapView,{...e}),(0,a.jsx)(l.Marker,{...e}),(0,a.jsx)(l.Polyline,{...e}),u]});};},"42213b1f":function(e,t,n){},"4b2af025":function(e,t,n){},"4b2eab52":function(e,t,n){},"4e74b1da":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"DEFAULT_GLOBAL_CONFIG",{enumerable:!0,get:function(){return a;}});let a={map:{style:"light"},components:{VisText:n("0cd96389").DEFAULT_VIS_TEXT_CONFIG}};},"4f7c7a04":function(e,t,n){},"5639510f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Area:function(){return i.default;},Bar:function(){return o.default;},Column:function(){return l.default;},DEFAULT_CHART_COMPONENTS:function(){return T;},DualAxes:function(){return u.default;},FishboneDiagram:function(){return m.default;},FlowDiagram:function(){return v.default;},HeatMap:function(){return M.HeatMap;},Histogram:function(){return d.default;},IndentedTree:function(){return x.default;},Line:function(){return s.default;},Map:function(){return M.Map;},MindMap:function(){return b.default;},NetworkGraph:function(){return _.default;},OrganizationChart:function(){return y.default;},PathMap:function(){return M.PathMap;},Pie:function(){return c.default;},PinMap:function(){return M.PinMap;},Radar:function(){return f.default;},Scatter:function(){return p.default;},Treemap:function(){return h.default;},VisText:function(){return C.VisText;},WordCloud:function(){return g.default;}});var a=n("777fffbe"),r=n("d382b880"),i=a._(n("c104adee")),o=a._(n("209202be")),l=a._(n("97ce9679")),u=a._(n("148c1929")),d=a._(n("fe47a584")),s=a._(n("efc5e3c2")),c=a._(n("7c1d69bf")),f=a._(n("38a147d6")),p=a._(n("dae1edd8")),h=a._(n("e39e01de")),g=a._(n("be363cf4")),m=a._(n("762abd95")),v=a._(n("314c7226")),b=a._(n("da437ccc")),_=a._(n("e2c22c58")),x=a._(n("9e7dee3f")),y=a._(n("2673d7cc")),M=n("107a97a5"),C=n("0cd96389");let T={[r.ChartType.Line]:s.default,[r.ChartType.Column]:l.default,[r.ChartType.Pie]:c.default,[r.ChartType.Bar]:o.default,[r.ChartType.Area]:i.default,[r.ChartType.Scatter]:p.default,[r.ChartType.PinMap]:M.PinMap,[r.ChartType.HeatMap]:M.HeatMap,[r.ChartType.MindMap]:b.default,[r.ChartType.FlowDiagram]:v.default,[r.ChartType.NetworkGraph]:_.default};},"5b2912de":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0});var a=n("d1751d7c");a._(n("304313f2"),t),a._(n("e5f951ab"),t);},"5b612497":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0});var a=n("d1751d7c");a._(n("868f506a"),t),a._(n("fc284e57"),t);},"5d14c1b1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"setMapContext",{enumerable:!0,get:function(){return r;}});var a=n("fe2143e2");function r(e,t){if(e.markers)return Promise.all(Array.from(new Set(e.markers.filter(e=>void 0!==e.iconPath).map(e=>e.iconPath)).values()).map(async e=>{let n=(0,a.urlToMarkerId)(e);if(!t.hasImage(n))return await t.addImage(n,e);}));}},"6012f323":function(e,t,n){},"68491f3d":function(e,t,n){},"6918a40e":function(e,t,n){e.exports=("undefined"!=typeof globalThis?globalThis:self).maplibregl;},"6944036d":function(e,t,n){},"6ca575ed":function(e,t,n){},"71e4927d":function(e,t,n){},"7375b7a9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var a=n("777fffbe"),r=n("a2e753d8"),i=a._(n("cf15f9dc")),o=e=>{let{locationName:t,temperature:n,humidity:a,wind:o,cloudiness:l,uv:u}=JSON.parse(String(e.children).trim());return(0,r.jsx)(i.default,{children:(0,r.jsxs)("div",{className:"locationSection",children:[(0,r.jsxs)("div",{className:"temperatureWrapper",children:[(0,r.jsxs)("div",{className:"temperatureDetails",children:[(0,r.jsx)("img",{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1w1nS6N5McoAAAAAAAAAAAAADmJ7AQ/original",className:"imageIcon"}),(0,r.jsxs)("span",{className:"currentTemperature",children:[n,"\xb0"]})]}),(0,r.jsx)("span",{className:"locationName",children:t})]}),(0,r.jsxs)("div",{className:"weatherDetails",children:[(0,r.jsxs)("div",{className:"humiditySection",children:[(0,r.jsx)("span",{className:"attributeLabel",children:"Humidity"}),(0,r.jsxs)("span",{className:"uvIndexValue",children:[a,"%"]})]}),(0,r.jsxs)("div",{className:"windSection",children:[(0,r.jsx)("span",{className:"windSpeedLabel",children:"Wind"}),(0,r.jsxs)("span",{className:"windSpeedValue",children:[o,"kph"]})]}),(0,r.jsxs)("div",{className:"cloudinessSection",children:[(0,r.jsx)("span",{className:"cloudinessLabel",children:"Cloudiness"}),(0,r.jsxs)("span",{className:"cloudinessValue",children:[l,"%"]})]}),(0,r.jsxs)("div",{className:"uvIndexSection",children:[(0,r.jsx)("span",{className:"uvIndexLabel",children:"UV Index"}),(0,r.jsx)("span",{className:"uvIndexValue",children:u})]})]})]})});};},"762abd95":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("a0ca69c2");let u={autoFit:"view",autoResize:!0};var d=e=>{let{data:t,...n}=e,d=(0,i.useMemo)(()=>(0,l.visTreeData2GraphData)(t),[t]),s=(0,o.useGraphConfig)("FishboneDiagram",u,n);return(0,a.jsx)(r.Fishbone,{data:d,...s});};},"7817d584":function(e,t,n){},"79c44ed8":function(e,t,n){},"7bdab915":function(e,t,n){"use strict";function a(e,t,n){if(1===e.length)t.setCenter([e[0].longitude,e[0].latitude]);else{let a=[180,90,-180,-90];e.forEach(e=>{a[0]>e.longitude&&(a[0]=e.longitude),a[1]>e.latitude&&(a[1]=e.latitude),a[2]{i(e,t),o(e,t);},i=(e,t)=>{if(e.includePoints)a(e.includePoints,t,e.includePadding);else{let n=[];e.markers&&e.markers.forEach(e=>{n.push({longitude:e.longitude,latitude:e.latitude});}),e.polyline&&e.polyline.forEach(e=>{e.points.forEach(e=>{n.push({longitude:e.longitude,latitude:e.latitude});});}),n.length&&a(n,t,e.includePadding);}},o=(e,t)=>{void 0!==e.enableZoom&&t.setMapStatus({zoomEnable:e.enableZoom}),void 0!==e.enableRotate&&t.setMapStatus({rotateEnable:e.enableRotate}),void 0!==e.enableScroll&&t.setMapStatus({dragEnable:e.enableScroll});};},"7c1d69bf":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t=[],angleField:n="value",colorField:a="category"}=e,r=(0,i.sumBy)(t,n);return{angleField:n,colorField:a,tooltip:e=>({name:e[a],value:e[n]}),label:{position:"outside",text:e=>`${e[a]}: ${(0,i.round)(e[n]/r*100,1)}%`},legend:{color:{title:!1,position:"top"}},interaction:{elementSelect:{single:!0}}};};var u=e=>{let t=(0,o.usePlotConfig)("Pie",l,e);return(0,a.jsx)(r.Pie,{...t});};},"7cf1dc46":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var a="0.4.0";},"83b16f1a":function(e,t,n){},"85edf161":function(e,t,n){},"86215bca":function(e,t,n){},"8649da6d":function(e,t,n){},"868f506a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"getThemeColor",{enumerable:!0,get:function(){return o;}});var a=n("bee223a7"),r=n("3919e139"),i=n("8977d946");let o=({type:e,color:t,theme:n})=>{if(e&&t&&"dark"===n&&t===(0,a.get)(r.DEFAULT_VIS_TEXT_CONFIG,[e,"color"])){let e=(0,a.findKey)(i.TEXT_THEME.light,e=>e===t);if(e)return i.TEXT_THEME.dark[e];}return t;};},"86d3b274":function(e,t,n){},"8977d946":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"TEXT_THEME",{enumerable:!0,get:function(){return a;}});let a={fontSizeBase:14,chart:{proportionShadowColor:"#CDDDFD",proportionFillColor:"#3471F9",lineStrokeColor:"#5B8FF9"},light:{primaryColor:"#1677FF",default88Color:"rgba(0, 0, 0, 0.88)",default65Color:"rgba(0, 0, 0, 0.65)",posColor:"#FA541C",negColor:"#13A8A8",conclusionColor:"#1F0352"},dark:{primaryColor:"#4B91FF",default88Color:"rgba(255, 255, 255, 0.88)",default65Color:"rgba(255, 255, 255, 0.65)",posColor:"#FA541C",negColor:"#13A8A8",conclusionColor:"#D8C3F3"}};},"902a8da0":function(e,t,n){},"9154e165":function(e,t,n){},"93d1d306":function(e,t,n){},"9639f0de":function(e,t,n){},"97ce9679":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="category",yField:a="value"}=e,r=void 0!==(0,i.get)(t,"[0].group"),o=(0,i.get)(e,"axis.y.title");return{xField:n,yField:a,colorField:r?"group":void 0,tooltip:e=>({name:o||e[n],value:e[a]}),style:{radiusTopLeft:10,radiusTopRight:10}};};var u=e=>{let t=(0,o.usePlotConfig)("Column",l,e);return(0,a.jsx)(r.Column,{...t});};},"9b9608f1":function(e,t,n){},"9c856c18":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useLineCompute",{enumerable:!0,get:function(){return l;}});var a=n("9d065c04"),r=n("8977d946"),i=n("f4a9b71f");class o{data=[];size=r.TEXT_THEME.fontSizeBase;height=this.size;width=this.getWidth();xScale;yScale;points=[];constructor(e,t){this.size=e,t&&(this.data=t,this.compute());}getWidth(){var e;return Math.max(2*this.size,(null===(e=this.data)||void 0===e?void 0:e.length)*2);}compute(){var e;if(!this.data)return;this.height=this.size,this.width=this.getWidth(),this.xScale=(0,i.scaleLinear)([0,this.width],[0,(null===(e=this.data)||void 0===e?void 0:e.length)-1]);let[t,n]=[Math.min(...this.data),Math.max(...this.data)];this.yScale=(0,i.scaleLinear)([2,this.height-2],[t,n]),this.points=this.data.map((e,t)=>[this.xScale(t),this.height-this.yScale(e)]);}getLinePath(){var e;return(null===(e=this.data)||void 0===e?void 0:e.length)&&this.xScale&&this.yScale?this.points.reduce((e,[t,n],a)=>0===a?`M${t} ${n}`:`${e} L ${t} ${n}`,""):null;}getPolygonPath(){var e;if(!(null===(e=this.data)||void 0===e?void 0:e.length)||!this.xScale||!this.yScale)return null;let t=[...this.points];return t.push([this.points[this.points.length-1][0],this.height]),t.push([0,this.height]),t.push(this.points[0]),t.reduce((e,[t,n])=>`${e} ${t},${n}`,"");}getContainer(){return[this.width,this.height];}}let l=(e,t)=>{let[n,r]=(0,a.useState)(new o(e,t));return(0,a.useEffect)(()=>{r(new o(e,t));},[e,t]),{width:n.getContainer()[0],height:n.getContainer()[1],linePath:n.getLinePath(),polygonPath:n.getPolygonPath()};};},"9d7e840b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n("d1751d7c")._(n("a4b62a46"),t);},"9e0e4e69":function(e,t,n){},"9e7dee3f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("a0ca69c2");let u={type:"linear",autoFit:"view",autoResize:!0,node:{animation:{update:!1,translate:!1}},edge:{animation:{update:!1,translate:!1}},transforms:e=>[...e.filter(e=>"collapse-expand-react-node"!==e.type),{...e.find(e=>"collapse-expand-react-node"===e.type),enable:!0}]};var d=e=>{let{data:t,...n}=e,d=(0,i.useMemo)(()=>(0,l.visTreeData2GraphData)(t),[t]),s=(0,o.useGraphConfig)("IndentedTree",u,n);return(0,a.jsx)(r.IndentedTree,{data:d,...s});};},a0ca69c2:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{visGraphData2GraphData:function(){return i;},visTreeData2GraphData:function(){return r;}});let{treeToGraphData:a}=n("9a3fe2cd").G6;function r(e){return a(e,{getNodeData:(e,t)=>{if(e.id=e.name,e.depth=t,!e.children)return e;let{children:n,...a}=e;return{...a,children:n.map(e=>e.name)};},getEdgeData:(e,t)=>({source:e.name,target:t.name})});}function i(e){return{nodes:e.nodes.map(e=>({id:e.name,style:{labelText:e.name}})),edges:e.edges.map(e=>({source:e.source,target:e.target,style:{labelText:e.name}}))};}},a165890a:function(e,t,n){},a214b2b4:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useSvgWrapper",{enumerable:!0,get:function(){return l;}});var a=n("a2e753d8"),r=n("9d065c04"),i=n("8977d946"),o=n("2f8e909b");let l=()=>{let e=(0,r.useRef)(null),[t,n]=(0,r.useState)(i.TEXT_THEME.fontSizeBase);return(0,r.useLayoutEffect)(()=>{e.current&&n((0,o.getElementFontSize)(e.current,i.TEXT_THEME.fontSizeBase));},[]),[({children:t,...n})=>(0,a.jsx)("svg",{style:{margin:"0px 4px",transform:"translate(0px, 0.125em)"},ref:e,...n,children:t}),t];};},a28246c2:function(e,t,n){},a2e61449:function(e,t,n){},a4b62a46:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{useComponentGlobalConfig:function(){return u;},useGraphConfig:function(){return c;},useMapConfig:function(){return s;},usePlotConfig:function(){return d;}});var a=n("777fffbe")._(n("9d065c04")),r=n("146e4978"),i=n("ece19fdd"),o=n("1ff1c74a");function l(){return a.default.useContext(o.ConfigContext);}function u(e){let{components:t={}}=l();return null==t?void 0:t[e];}function d(e,t,n){let a={...function(e){let t=u(e),{plot:n}=l();return{...n,...t};}(e),...n},r=(0,i.transform2ADCProps)(a);return{..."function"==typeof t?t(r):t,...r};}function s(e,t){return{...function(e){let t=u(e),{map:n}=l();return{mapType:null==n?void 0:n.style,token:null==n?void 0:n.token,...t};}(e),...t};}function c(e,t,n){let a=function(e){let{graph:t={}}=l(),n=u(e);return(0,r.mergeGraphOptions)(t,n||{});}(e);return(0,r.mergeGraphOptions)(t,a,n);}},a574afdb:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{withChartCode:function(){return d;},withDefaultChartCode:function(){return s;}});var a=n("a2e753d8"),r=n("bee223a7"),i=n("5639510f"),o=n("c53db76f");let l=e=>{let{children:t,className:n="",node:r,...i}=e;return(0,a.jsx)("code",{...i,className:n,children:t});},u=e=>function(t){var n;let{children:r,className:i=""}=t,u=String(r).trim(),d=i.includes("language-vis-chart"),{components:s,languageRenderers:c,defaultRenderer:f,debug:p,loadingTimeout:h=5e3,style:g}=e;if(d)return(0,a.jsx)(o.RenderVisChart,{style:g,content:u,components:s,debug:p,loadingTimeout:h});let m=(null===(n=i.match(/language-(.*)/))||void 0===n?void 0:n[1])||"",v=c&&c[m];return v?(0,a.jsx)(v,{...t}):f?(0,a.jsx)(f,{...t}):(0,a.jsx)(l,{...t});},d=e=>u(e),s=e=>d({...e,components:{...i.DEFAULT_CHART_COMPONENTS,...(0,r.get)(e,"components",{})}});},a71666f1:function(e,t,n){},a7265236:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var a=n("a2e753d8"),r=n("9d065c04"),i=n("146e4978"),o=n("1ff1c74a"),l=e=>{let{children:t,...n}=e,l=(0,r.useMemo)(()=>(0,i.mergeGlobalConfig)(n),[]);return(0,a.jsx)(o.ConfigContext.Provider,{value:l,children:t});};},a79af5a9:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0});var a=n("d1751d7c");a._(n("5d14c1b1"),t),a._(n("d5961235"),t),a._(n("aaf45224"),t),a._(n("024a34de"),t),a._(n("7bdab915"),t);},a7cff687:function(e,t,n){},aaf45224:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"setPolyline",{enumerable:!0,get:function(){return r;}});var a=n("e7bada6d");function r(e){let t=e.map(e=>{let t=e.points.map(e=>[e.longitude,e.latitude]);return{...e,coordinates:t,color:e.color,width:e.width};}),n=t[0].dottedLine;return[new a.LineLayer().source(t,{parser:{type:"json",coordinates:"coordinates"}}).size("width").shape("line").color("color").style({opacity:1,lineType:n?"dash":"solid",dashArray:[3,1]})];}},ad28d068:function(e,t,n){},adbdc238:function(e,t,n){},ae9c5387:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"SingleLineChart",{enumerable:!0,get:function(){return s;}});var a=n("a2e753d8"),r=n("bee223a7"),i=n("9d065c04"),o=n("8977d946"),l=n("13a24dd1"),u=n("9c856c18");let d="wsc-line-fill",s=({origin:e})=>{let[t,n]=(0,l.useSvgWrapper)(),s=(0,i.useMemo)(()=>(function(e){if((0,r.isArray)(e))return e;if((0,r.isString)(e))try{let t=JSON.parse(e);if((0,r.isArray)(t))return t;}catch(t){console.warn(t,`${e} is not a valid json string`);}})(e),[e]),{width:c,height:f,linePath:p,polygonPath:h}=(0,u.useLineCompute)(n,s);return(0,r.size)(s)>0&&(0,a.jsxs)(t,{width:c,height:f,children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"122.389541%",id:d,children:[(0,a.jsx)("stop",{stopColor:o.TEXT_THEME.chart.lineStrokeColor,offset:"0%"}),(0,a.jsx)("stop",{stopColor:"#FFFFFF",stopOpacity:"0",offset:"100%"})]})}),p&&(0,a.jsx)("path",{d:p,stroke:o.TEXT_THEME.chart.lineStrokeColor,fill:"transparent"}),h&&(0,a.jsx)("polygon",{points:h,fill:`url(#${d})`})]});};},af12e3a0:function(e,t,n){},b2344bf5:function(e,t,n){},b31cf3ca:function(e,t,n){},b447189d:function(e,t,n){},b62c491c:function(e,t,n){},b6ae7a74:function(e,t,n){},b6e067d8:function(e,t,n){},b70d1ea4:function(e,t,n){},b89f5729:function(e,t,n){},be363cf4:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("9d7e840b");let o={autoFit:!0,layout:{fontSize:[20,100]},colorField:"text",legend:!1,tooltip:!1};var l=e=>{let t=(0,i.usePlotConfig)("WordCloud",o,e);return(0,a.jsx)(r.WordCloud,{...t});};},c104adee:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="time",yField:a="value"}=e,r=void 0!==(0,i.get)(t,"[0].group"),o=(0,i.get)(e,"axis.y.title");return{xField:n,yField:a,style:r?{}:{opacity:.6},colorField:r?"group":void 0,tooltip:e=>({name:o||e[n],value:e[a]})};};var u=e=>{let t=(0,o.usePlotConfig)("Area",l,e);return(0,a.jsx)(r.Area,{...t});};},c5086b57:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ArrowDown:function(){return i;},ArrowUp:function(){return r;}});var a=n("a2e753d8");let r=()=>(0,a.jsx)("svg",{width:"8px",height:"9px",style:{transform:"rotate(180deg)",marginRight:2},viewBox:"0 0 8 9",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("g",{transform:"translate(-2.000000, -2.000000)",children:(0,a.jsx)("polygon",{fill:"currentColor",points:"6 11 9.5 2 2.5 2"})})}),i=()=>(0,a.jsx)("svg",{width:"8px",height:"9px",viewBox:"0 0 8 9",style:{marginRight:2},version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("g",{transform:"translate(-2.000000, -2.000000)",children:(0,a.jsx)("polygon",{fill:"currentColor",points:"6 11 9.5 2 2.5 2"})})});},c53db76f:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"RenderVisChart",{enumerable:!0,get:function(){return c;}});var a=n("777fffbe"),r=n("852bbaa9"),i=n("a2e753d8"),o=n("9d065c04"),l=r._(n("a7601adf")),u=a._(n("345926cb"));let d=l.default.div` + min-width: 300px; + height: 300px; + max-width: 100%; +`,s=(0,l.createGlobalStyle)` + pre:has(.gpt-vis) { + overflow: hidden; + } +`,c=(0,o.memo)(({style:e,content:t,components:n,debug:a,loadingTimeout:r})=>{let l;let c=(0,o.useRef)(),[f,p]=(0,o.useState)(!0);try{l=JSON.parse(t);}catch(t){if(c.current&&(clearTimeout(c.current),a&&console.warn("GPT-Vis withChartCode parse content timeout")),c.current=setTimeout(()=>{p(!1);},r),f)return(0,i.jsx)(d,{className:"gpt-vis",style:e,children:(0,i.jsx)(u.default,{})});return(0,i.jsx)("p",{children:"Chart generation timeout."});}let{type:h,...g}=l,m=n[h];return(a&&console.log("GPT-Vis withChartCode get chartJson parse from vis-chart code block",l),m)?(0,i.jsxs)(d,{className:"gpt-vis",style:e,children:[(0,i.jsx)(s,{}),(0,i.jsx)(m,{...g})]}):(0,i.jsx)("p",{children:`Chart type "${h}" is not supported.`});});},c63affee:function(e,t,n){},ca557bad:function(e,t,n){"use strict";function a(e,t){let n=e/2,a=e/2,r=e/2,i=2*("number"!=typeof t?0:t>1?1:t<0?0:t)*Math.PI,o=n+r*Math.sin(i),l=a-r*Math.cos(i);return` + M${n} 0 + A ${n} ${a} 0 ${i>Math.PI?1:0} 1 ${o} ${l} + L ${n} ${a} Z + `;}n.d(t,"__esModule",{value:!0}),n.d(t,"getArcPath",{enumerable:!0,get:function(){return a;}});},cf15f9dc:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var a=n("a7601adf"),r=a.styled.div` + width: 560px; + background-color: #60a5fa; + border-radius: 10px; + + .locationSection { + display: flex; + flex-direction: column; + padding: 18px 25px; + } + + .temperatureWrapper { + display: flex; + align-items: center; + justify-content: space-between; + } + + .temperatureDetails { + display: flex; + align-items: center; + gap: 40px; + } + + .imageIcon { + flex-shrink: 0; + width: 36px; + height: 36px; + border-radius: 10px; + } + + .currentTemperature { + color: #feffff; + font-size: 25px; + font-weight: bold; + } + + .locationName { + color: #feffff; + font-size: 24px; + font-weight: bold; + } + + .weatherDetails { + display: flex; + align-items: center; + margin-top: 16px; + justify-content: space-between; + font-size: 14px; + } + + .humiditySection { + display: flex; + flex-direction: column; + align-items: flex-start; + min-width: 82px; + } + + .attributeLabel { + min-width: 56px; + margin-right: 2px; + margin-left: 2px; + color: #dbeafe; + } + + .uvIndexValue { + color: #fff; + font-size: 12px; + } + + .windSection { + display: flex; + flex-direction: column; + align-items: flex-start; + margin-left: 20px; + } + + .windSpeedLabel { + color: #dbeafe; + } + + .windSpeedValue { + color: #feffff; + } + + .cloudinessSection { + display: flex; + flex-direction: column; + } + + .cloudinessLabel { + color: #dbeafe; + } + + .cloudinessValue { + align-self: flex-start; + color: #fff; + } + + .uvIndexSection { + display: flex; + flex-direction: column; + } + + .uvIndexLabel { + margin-left: 2px; + color: #dbeafe; + } + + .uvIndexValue { + color: #fff; + } +`;},d20f707b:function(e,t,n){},d37f1b50:function(e,t,n){},d382b880:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n("d1751d7c")._(n("0a6f75a5"),t);},d5961235:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"setMarkers",{enumerable:!0,get:function(){return o;}});var a=n("e7bada6d"),r=n("bee223a7"),i=n("fe2143e2");function o(e){let t=e.map(e=>{var t,n,a;return{...e,label:(0,r.isObject)(e.label)?e.label.content:e.label,color:null===(t=e.label)||void 0===t?void 0:t.color,bgColor:null===(n=e.label)||void 0===n?void 0:n.bgColor,fontSize:null===(a=e.label)||void 0===a?void 0:a.fontSize,offsets:[e.anchorX||0,e.anchorY||-1],iconPath:e.iconPath?(0,i.urlToMarkerId)(e.iconPath):void 0};}),n=t.filter(e=>void 0!==e.iconPath),o=t.filter(e=>void 0!==e.label),l=[];if(o.length>0){let e=o[0].offsets,t=o[0].fontSize||10,n=new a.PointLayer({zIndex:2}).source(o,{parser:{type:"json",x:"longitude",y:"latitude"}}).shape("label","text").size("fontSize").color("color").style({opacity:1,textOffset:[e[0],-2*e[1]*t],fontWeight:600,textAnchor:"center",stroke:o[0].bgColor||"#ffffff",strokeWidth:2,strokeOpacity:1,padding:[10,10]});l.push(n);}if(0!==n.length){let e=n[0].offsets,t=n[0].width||10,r=new a.PointLayer().source(n,{parser:{type:"json",x:"longitude",y:"latitude"}}).shape("iconPath").size("width").style({offsets:[e[0],e[1]*t]});l.push(r);}return l;}},da437ccc:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("a0ca69c2");let u={type:"boxed",autoFit:"view",autoResize:!0,padding:2,node:{animation:{translate:!1,update:!1}},edge:{animation:{translate:!1,update:!1}},transforms:e=>[...e.filter(e=>"collapse-expand-react-node"!==e.type),{...e.find(e=>"collapse-expand-react-node"===e.type),enable:!0}]};var d=e=>{let{data:t,...n}=e,d=(0,i.useMemo)(()=>(0,l.visTreeData2GraphData)(t),[t]),s=(0,o.useGraphConfig)("MindMap",u,n);return(0,a.jsx)(r.MindMap,{data:d,...s});};},dae1edd8:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="x",yField:a="y"}=e;return{data:t,xField:n,yField:a,tooltip:[{channel:"x",name:(0,i.get)(e,"axis.x.title")||"x"},{channel:"y",name:(0,i.get)(e,"axis.y.title")||"y"}]};};var u=e=>{let t=(0,o.usePlotConfig)("Scatter",l,e);return(0,a.jsx)(r.Scatter,{...t});};},e2c22c58:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("9a3fe2cd"),i=n("9d065c04"),o=n("9d7e840b"),l=n("a0ca69c2");let u={autoResize:!0,node:{style:{size:28,labelFontSize:10,labelBackground:!0},animation:{enter:!1}},edge:{style:{labelFontSize:10,labelBackground:!0,endArrow:!0},animation:{enter:!1}},behaviors:e=>[...e,{key:"hover-activate",type:"hover-activate",degree:1}],transforms:e=>[...e,"process-parallel-edges"],layout:{type:"force",animation:!1}};var d=e=>{let{data:t,...n}=e,d=(0,i.useMemo)(()=>(0,l.visGraphData2GraphData)(t),[t]),s=(0,o.useGraphConfig)("NetworkGraph",u,n);return(0,a.jsx)(r.NetworkGraph,{data:d,...s});};},e39e01de:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("9d065c04"),o=n("9d7e840b");let l=e=>{let{valueField:t="value"}=e;return{legend:!1,layout:{tile:"treemapBinary",paddingInner:3},valueField:t,tooltip:{items:[e=>{var n;return{name:null===(n=e.data)||void 0===n?void 0:n.name,value:e[t]};}]},style:{fillOpacity:.8,labelFontSize:12}};},u=e=>({name:"root",children:e});var d=e=>{let{data:t,...n}=(0,o.usePlotConfig)("Treemap",l,e),d=(0,i.useMemo)(()=>u(t),[t]);return(0,a.jsx)(r.Treemap,{...n,data:d});};},e54ed773:function(e,t,n){},e5f951ab:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ProportionChart",{enumerable:!0,get:function(){return d;}});var a=n("a2e753d8"),r=n("bee223a7"),i=n("9d065c04"),o=n("8977d946"),l=n("a214b2b4"),u=n("ca557bad");let d=({origin:e,children:t})=>{let n=(0,i.useMemo)(()=>(function(e,t){let n;let a=(0,r.toNumber)(t);if((0,r.isNaN)(a)){var i;let t;if((0,r.isString)(e)?t=e:Array.isArray(e)&&(0,r.isString)(e[0])&&(t=e[0]),null==t?void 0:null===(i=t.endsWith)||void 0===i?void 0:i.call(t,"%")){let e=null==t?void 0:t.replace(/%$/,""),a=(0,r.toNumber)(e);(0,r.isNaN)(a)||(n=a/100);}}else n=a;return n;})(t,e),[t,e]),[d,s]=(0,l.useSvgWrapper)(),c=s/2;return n&&(0,a.jsxs)(d,{width:s,height:s,children:[(0,a.jsx)("circle",{cx:c,cy:c,r:c,fill:o.TEXT_THEME.chart.proportionShadowColor}),n>=1?(0,a.jsx)("circle",{cx:c,cy:c,r:c,fill:o.TEXT_THEME.chart.proportionFillColor}):(0,a.jsx)("path",{d:(0,u.getArcPath)(s,n),fill:o.TEXT_THEME.chart.proportionFillColor})]});};},e696926b:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var a=n("777fffbe"),r=n("a2e753d8"),i=n("9d065c04"),o=n("9d7e840b"),l=a._(n("3ed21ec4")),u=n("a79af5a9"),d=e=>{let{data:t=[],markerStyle:n={},pathStyle:a={},...d}=(0,o.useMapConfig)("PathMap",e),s=(0,i.useMemo)(()=>{let e=[];return t.forEach(t=>{t.markers&&e.push(...t.markers);}),(0,u.formatMakerStyle)(e,n);},[t,n]),c=(0,i.useMemo)(()=>{let e=t.map(e=>e.path);return(0,u.formatPolylineStyle)(e,a);},[t,a]);return(0,r.jsx)(l.default,{markers:s,polyline:c,...d});};},ece19fdd:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"transform2ADCProps",{enumerable:!0,get:function(){return i;}});var a=n("bee223a7");let r=new Map([["x","xField"],["y","yField"],["series","seriesField"],["size","sizeField"],["color","colorField"],["shape","shapeField"],["y","angleField"]]);function i(e){return function(e){let{axisXTitle:t,axisYTitle:n}=e,r={axis:{},...e};return t&&((0,a.get)(r,"axis.x")?r.axis.x.title=t:r.axis.x={title:t}),n&&((0,a.get)(r,"axis.y")?r.axis.y.title=n:r.axis.y={title:n}),r;}(function(e){let t=e.encode;if(!t)return e;let n={...e};for(let e of t){let a=r.get(e);a&&(n[a]=t[e]);}return n;}(e));}},efc5e3c2:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var a=n("a2e753d8"),r=n("430d97fa"),i=n("bee223a7"),o=n("9d7e840b");let l=e=>{let{data:t,xField:n="time",yField:a="value"}=e,r=void 0!==(0,i.get)(t,"[0].group"),o=(0,i.get)(e,"axis.y.title");return{xField:n,yField:a,colorField:r?"group":void 0,tooltip:e=>({name:o||e[n],value:e[a]})};};var u=e=>{let t=(0,o.usePlotConfig)("Line",l,e);return(0,a.jsx)(r.Line,{...t});};},f2a80a64:function(e,t,n){},f32bd331:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var a=n("960c009e"),r=n("9d065c04"),i=n("a79af5a9"),o=e=>{let t=(0,a.useScene)(),[n,o]=(0,r.useState)([]),l=()=>{n.forEach(e=>{t.removeLayer(e);});};return(0,r.useEffect)(()=>{var n;if(e.markers)return null===(n=(0,i.setMapContext)(e,t))||void 0===n||n.then(()=>{let n=(0,i.setMarkers)(e.markers||[]);l(),n.forEach(e=>{t.addLayer(e);}),o(n);}),()=>{l();};},[e.markers]),null;};},f4105942:function(e,t,n){"use strict";function a(e){return!function(e){let{nodes:t=[],edges:n=[]}=e,a={},r={},i={};t.forEach(e=>{a[e.id]=0,r[e.id]=0,i[e.id]=[];}),n.forEach(e=>{a[e.target]++,r[e.source]++,i[e.source].push(e.target);});let o=new Set,l=e=>{o.has(e)||(o.add(e),i[e].forEach(l));};if(l(t[0].id),o.size!==t.length)return!1;let u=t.filter(e=>0===a[e.id]),d=t.filter(e=>0===r[e.id]);return 1===u.length&&1===d.length&&t.filter(e=>1===a[e.id]&&1===r[e.id]).length===t.length-2;}(e)?{}:{node:{style:{ports:[{placement:"right"},{placement:"left"},{placement:"top"},{placement:"bottom"}]}},layout:{type:"snake",cols:3,rowGap:40}};}n.d(t,"__esModule",{value:!0}),n.d(t,"getGraphOptionsByData",{enumerable:!0,get:function(){return a;}});},f4a9b71f:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"scaleLinear",{enumerable:!0,get:function(){return a;}});let a=(e,t)=>n=>{let[a,r]=e,[i,o]=t;return i===o?(r-a)/2:n/(o-i)*(r-a);};},f54b0301:function(e,t,n){},f64ca6db:function(e,t,n){},f82c4002:function(e,t,n){},f86a0457:function(e,t,n){},fa62d01f:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{GPTVisContext:function(){return r;},useGPTVisContext:function(){return i;}});var a=n("777fffbe")._(n("9d065c04"));let r=a.default.createContext(null);function i(){let e=a.default.useContext(r);if(void 0===e||0===Object.keys(e).length)throw Error("useGPTVisContext must be used within a GPTVisContext.Provider");return e;}},fbf8d061:function(e,t,n){},fc284e57:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useAntdDarkAlgorithm",{enumerable:!0,get:function(){return o;}});var a=n("64f5d8fc"),r=n("bee223a7"),i=n("9d065c04");let o=()=>{var e;let t=null===a.theme||void 0===a.theme?void 0:a.theme.darkAlgorithm,n=null===(e=(0,i.useContext)(a.ConfigProvider.ConfigContext).theme)||void 0===e?void 0:e.algorithm;return!!((0,r.isArray)(n)&&n.includes(t))||n===t;};},fc305c7d:function(e,t,n){},fe2143e2:function(e,t,n){"use strict";function a(e){let t=0;if(e.length>0)for(let n=0;n{let{data:t,binField:n="value",binNumber:a}=e;return{data:t,binField:n,binNumber:a,style:{inset:.5}};};var l=e=>{let t=(0,i.usePlotConfig)("Histogram",o,e);return(0,a.jsx)(r.Histogram,{...t});};},ff1ba601:function(e,t,n){}}]); +//# sourceMappingURL=common-async.95875ad6.js.map \ No newline at end of file diff --git a/common-async.95875ad6.js.map b/common-async.95875ad6.js.map new file mode 100644 index 0000000..c3d772d --- /dev/null +++ b/common-async.95875ad6.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/utils/map/style.ts","src/GPTVis/Lite.tsx","src/Map/Component/index.tsx","src/types/chart.ts","src/Text/index.ts","virtual:external_mapbox-gl","src/HeatMap/index.tsx","src/export-map.browser.ts","src/Text/mini-charts/hooks/index.ts","src/utils/config.ts","src/DualAxes/index.tsx","src/DualAxes/util.ts","src/Map/Component/MapView.tsx","src/ConfigProvider/context.ts","src/Text/VisText.tsx","src/Bar/index.tsx","src/Map/Component/Polyline.tsx","src/OrganizationChart/index.tsx","src/GPTVis/hooks/useEvent.ts","src/GPTVis/index.tsx","src/Text/mini-charts/hooks/getElementFontSize.ts","src/Text/mini-charts/line/index.ts","src/PinMap/index.tsx","src/FlowDiagram/index.tsx","src/ChartCodeRender/Loading.tsx","src/Radar/index.tsx","src/Text/config.tsx","src/Map/index.tsx","src/constants/index.ts","src/export.ts","src/Text/mini-charts/index.ts","src/Text/utils/index.ts","src/utils/map/context.ts","virtual:external_maplibre-gl","docs/guide/demos/WeatherCard/index.tsx","src/FishboneDiagram/index.tsx","src/utils/map/view.ts","src/Pie/index.tsx","src/version.ts","src/Text/utils/getThemeColor.ts","src/Text/theme.ts","src/Column/index.tsx","src/Text/mini-charts/line/useLineCompute.ts","src/ConfigProvider/hooks/index.ts","src/IndentedTree/index.tsx","src/utils/graph.ts","src/Text/mini-charts/hooks/useSvgWrapper.tsx","src/ConfigProvider/hooks/useConfig.ts","src/ChartCodeRender/index.tsx","src/ConfigProvider/index.tsx","src/utils/map/index.ts","src/utils/map/polyline.ts","src/Text/mini-charts/line/SingleLineChart.tsx","src/WordCloud/index.tsx","src/Area/index.tsx","src/Text/custom-icons/index.tsx","src/ChartCodeRender/VisChart.tsx","src/Text/mini-charts/proportion/getArcPath.ts","docs/guide/demos/WeatherCard/style.ts","src/types/index.ts","src/utils/map/markers.ts","src/MindMap/index.tsx","src/Scatter/index.tsx","src/NetworkGraph/index.tsx","src/Treemap/index.tsx","src/Text/mini-charts/proportion/index.tsx","src/PathMap/index.tsx","src/utils/plot.ts","src/Line/index.tsx","src/Map/Component/Marker.tsx","src/FlowDiagram/helper.ts","src/Text/mini-charts/line/scaleLinear.ts","src/GPTVis/hooks/useContext.ts","src/Text/utils/useAntdDarkAlgorithm.ts","src/utils/map/util.ts","src/Histogram/index.tsx"],"sourcesContent":["import { isObject } from 'lodash';\nimport type { MapProps } from '../../Map';\nimport type { LarkMapProps } from '../../types';\nimport type { Marker, MarkerData, Polyline } from '../../types/map';\n\nconst DefaultMapConfig = {\n mapOptions: {\n center: [120.210792, 30.246026] as [number, number],\n zoom: 16,\n maxZoom: 18,\n pitch: 0,\n rotation: 0,\n zoomEnable: true,\n pitchEnable: true,\n },\n};\n\nconst formatMapStyle = (props: MapProps) => {\n const config: LarkMapProps = {\n mapOptions: {\n ...DefaultMapConfig.mapOptions,\n center:\n props.longitude && props.latitude\n ? ([props.longitude, props.latitude] as [number, number])\n : DefaultMapConfig.mapOptions.center,\n zoom: props.scale || DefaultMapConfig.mapOptions.zoom,\n pitch: props.skew || DefaultMapConfig.mapOptions.pitch,\n rotation: props.rotate || DefaultMapConfig.mapOptions.rotation,\n zoomEnable: props.enableZoom || DefaultMapConfig.mapOptions.zoomEnable,\n pitchEnable: props.enableRotate || DefaultMapConfig.mapOptions.pitchEnable,\n // 地图底图样式\n style: props?.mapType,\n // 高德地图密钥\n token: props?.token,\n },\n logoVisible: false,\n };\n return config;\n};\n\nconst DefaultMarkerStyle = {\n width: 12,\n anchorX: 0,\n anchorY: 1,\n label: {\n content: '',\n color: '#000000',\n fontSize: 10,\n borderRadius: 5,\n bgColor: '#ffffff',\n padding: 5,\n },\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*3XdDTbsQ84QAAAAAAAAAAAAADmJ7AQ/original',\n};\n\nconst formatMakerStyle = (data: MarkerData[], markerStyle: Partial) => {\n const labelStyle = Object.assign({}, DefaultMarkerStyle.label, markerStyle?.label);\n // label 优先级 data > markerStyle > DefaultMarkerStyle\n return data.map((marker: MarkerData, index: number) => {\n const { label, id, ...rest } = marker;\n return {\n ...DefaultMarkerStyle,\n ...markerStyle,\n ...rest,\n label: {\n ...labelStyle,\n ...(isObject(label) ? label : { content: label }),\n },\n id: id || index.toString(),\n };\n });\n};\n\nconst DefaultPolylineStyle = {\n width: 2,\n color: '#16f',\n dottedLine: false,\n zIndex: 1,\n};\n\nconst formatPolylineStyle = (data: Polyline[] = [], polylineStyle: Partial) => {\n return data.map((item: any) => {\n return {\n ...DefaultPolylineStyle,\n ...polylineStyle,\n ...item,\n };\n });\n};\n\nexport {\n DefaultMarkerStyle,\n DefaultPolylineStyle,\n formatMakerStyle,\n formatMapStyle,\n formatPolylineStyle,\n};\n","import EventEmitter from '@antv/event-emitter';\nimport React, { memo, useEffect, useMemo } from 'react';\nimport type { Options } from 'react-markdown';\nimport Markdown from 'react-markdown';\nimport rehypeRaw from 'rehype-raw';\nimport remarkGfm from 'remark-gfm';\nimport { GPTVisContext } from './hooks/useContext';\nimport { useEventPublish } from './hooks/useEvent';\n\nexport interface GPTVisLiteProps extends Options {\n /**\n * 自定义 markdown components\n */\n components?:\n | Options['components']\n | {\n [key: string]: (props: any) => React.ReactNode;\n };\n /**\n * 🧪 订阅组件事件,实验性属性\n * 用于子组件与容器组件通信\n */\n eventSubs?: Record void>;\n}\n\nconst GPTVisLite: React.FC = ({\n children,\n components,\n rehypePlugins,\n remarkPlugins,\n eventSubs,\n ...rest\n}) => {\n const eventBus = useMemo(() => new EventEmitter(), []);\n const contextValue = useMemo(() => ({ eventBus }), [eventBus]);\n\n useEffect(() => {\n if (eventSubs) {\n const events = Object.keys(eventSubs);\n for (const eventName of events) {\n eventBus.on(eventName, eventSubs[eventName]);\n }\n return () => {\n for (const eventName of events) {\n eventBus.off(eventName, eventSubs[eventName]);\n }\n };\n }\n }, [eventBus, eventSubs]);\n\n return (\n \n \n {children}\n \n \n );\n};\n\nexport { useEventPublish };\n\nexport default memo(GPTVisLite);\n","import MapView from './MapView';\nimport Marker from './Marker';\nimport Polyline from './Polyline';\n\nexport { MapView, Marker, Polyline };\n","import type { LarkMapProps } from '@antv/larkmap';\nimport type { CSSProperties, ReactNode } from 'react';\nimport type { Map } from './map';\n\nexport type { LarkMapProps };\n\nexport enum ChartType {\n Pie = 'pie',\n Column = 'column',\n Line = 'line',\n Area = 'area',\n Scatter = 'scatter',\n Histogram = 'histogram',\n Treemap = 'treemap',\n Bar = 'bar',\n WordCloud = 'word-cloud',\n DualAxes = 'dual-axes',\n Radar = 'radar',\n PinMap = 'pin-map',\n PathMap = 'path-map',\n HeatMap = 'heat-map',\n MindMap = 'mind-map',\n FishboneDiagram = 'fishbone-diagram',\n FlowDiagram = 'flow-diagram',\n IndentedTree = 'indented-tree',\n NetworkGraph = 'network-graph',\n OrganizationChart = 'organization-chart',\n VisText = 'vis-text',\n}\n\nexport type Charts = keyof typeof ChartType;\n\nexport interface BaseChartProps {\n containerStyle?: CSSProperties;\n className?: string;\n children?: ReactNode;\n}\n\nexport interface BasePlotProps extends BaseChartProps {\n data: T[];\n axisXTitle?: string;\n axisYTitle?: string;\n}\n\nexport interface BaseMapProps extends BaseChartProps, Map {\n data: T[];\n // 高德地图密钥\n token?: string;\n}\n\nexport interface BaseGraphProps extends BaseChartProps {\n data: T;\n}\n\ninterface GraphNode {\n name: string;\n}\n\ninterface GraphEdge {\n source: string;\n target: string;\n name?: string;\n}\n\nexport interface GraphData {\n nodes: GraphNode[];\n edges: GraphEdge[];\n}\n\nexport interface TreeGraphData {\n name: string;\n children?: TreeGraphData[];\n [key: string]: any;\n}\n\nexport interface GraphProps extends BaseGraphProps {}\n\nexport interface TreeGraphProps extends BaseGraphProps {}\n","export { DEFAULT_VIS_TEXT_CONFIG } from './config';\nexport type { VisTextProps } from './types';\nexport { default as VisText } from './VisText';\n","module.exports = (typeof globalThis !== 'undefined' ? globalThis : self)['mapboxgl'];","import type { HeatmapLayerProps } from '@antv/larkmap';\nimport { HeatmapLayer } from '@antv/larkmap';\nimport React, { useMemo, type FC } from 'react';\nimport { useMapConfig } from '../ConfigProvider/hooks';\nimport type { MapProps } from '../Map';\nimport Map from '../Map';\n\nconst heapLayerOptions: Omit = {\n autoFit: true,\n shape: 'heatmap' as const,\n size: {\n field: 'value',\n value: [0, 1],\n },\n style: {\n intensity: 3,\n radius: 20,\n opacity: 1,\n rampColors: {\n colors: ['#FF4818', '#F7B74A', '#FFF598', '#F27DEB', '#8C1EB2', '#421EB2'],\n positions: [0, 0.2, 0.4, 0.6, 0.8, 1.0],\n },\n },\n};\n\ntype GeoData = {\n longitude: number;\n latitude: number;\n value: number;\n};\n\nexport type HeatMapProps = MapProps & {\n data?: GeoData[];\n};\n\nconst HeatMap: FC = (props) => {\n const { children, data = [], ...mapConfigRest } = useMapConfig('HeatMap', props);\n\n const source = useMemo(\n () => ({\n data,\n parser: { type: 'json', x: 'longitude', y: 'latitude' },\n }),\n [data],\n );\n\n return (\n <>\n \n \n {children}\n \n \n );\n};\n\nexport default HeatMap;\n","// organize-imports-ignore\nexport { default as Map, type MapProps } from './Map';\nexport { default as PinMap, type PinMapProps } from './PinMap';\nexport { default as HeatMap, type HeatMapProps } from './HeatMap';\nexport { default as PathMap, type PathMapProps } from './PathMap';\n","export { useSvgWrapper } from './useSvgWrapper';\n","import { isPlainObject, mergeWith } from 'lodash';\nimport { DEFAULT_GLOBAL_CONFIG } from '../constants';\nimport type { GlobalConfig } from '../types';\n\nexport const mergeGlobalConfig = (config: GlobalConfig) => {\n const globalConfig = mergeWith({}, DEFAULT_GLOBAL_CONFIG, config, (objValue) => {\n if (Array.isArray(objValue)) {\n return objValue;\n }\n });\n\n return globalConfig;\n};\n\nfunction mergeGraphFunctions(\n key: string,\n currValue: (value: any) => any,\n prevValue: (value: any) => any,\n) {\n if (['plugins', 'behaviors', 'transforms'].includes(key)) {\n return (prev: any[]) => currValue(prev);\n } else {\n return function (datum: any) {\n // @ts-ignore this refers to the graph instance\n const value = currValue.call(this, datum);\n if (isPlainObject(value)) return mergeGraphOptions(prevValue, value);\n return value;\n };\n }\n}\n\nexport function mergeGraphOptions(...options: Record[]) {\n if (options.length === 0) return {};\n\n const merged = { ...options[0] };\n\n for (let i = 1; i < options.length; i++) {\n const currentOptions = options[i];\n\n for (const key in currentOptions) {\n if (currentOptions.hasOwnProperty(key)) {\n const currValue = currentOptions[key];\n const prevValue = merged[key];\n\n if (['component', 'data'].includes(key)) {\n merged[key] = currValue;\n } else if (typeof currValue === 'function') {\n merged[key] = mergeGraphFunctions(key, currValue, prevValue);\n } else if (isPlainObject(currValue) && isPlainObject(prevValue)) {\n merged[key] = mergeGraphOptions(prevValue, currValue);\n } else {\n merged[key] = currValue;\n }\n }\n }\n }\n\n return merged;\n}\n","import type { DualAxesConfig } from '@ant-design/plots';\nimport { DualAxes as ADCDualAxes } from '@ant-design/plots';\nimport React, { useMemo } from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport { transform } from './util';\n\nexport type DualAxesProps = Partial & {\n categories: string[];\n axisXTitle?: string;\n series: DualAxesSeriesItem[];\n legendTypeList: string[];\n};\n\nexport type DualAxesSeriesItem = {\n type: string;\n data: number[];\n axisYTitle?: string;\n};\n\nconst defaultConfig = (props: DualAxesProps): DualAxesConfig => {\n const { xField = 'category', axisXTitle, legendTypeList } = props;\n return {\n xField,\n axis: {\n x: {\n title: axisXTitle,\n },\n },\n legend: {\n color: {\n itemMarker: (v: string, i: number) => {\n return legendTypeList[i];\n },\n },\n },\n scale: {\n color: {\n palette: 'category10',\n },\n },\n };\n};\n\nconst DualAxes = (props: DualAxesProps) => {\n const { categories, series, ...others } = props;\n const transformData = useMemo(() => transform(series, categories), [props]);\n const config = usePlotConfig('DualAxes', defaultConfig, {\n ...others,\n ...transformData,\n });\n\n return ;\n};\n\nexport default DualAxes;\n","import type { DualAxesSeriesItem } from '.';\nimport { ChartType } from '../types';\n\nexport function transform(series: DualAxesSeriesItem[], categories: string[]) {\n const newChildren = series.map((item: any, index: number) => {\n const { type, axisYTitle, ...others } = item;\n\n const defaultYField = axisYTitle || `value_${index + 1}`;\n const baseConfig = {\n ...others,\n yField: defaultYField,\n axis: { y: { title: axisYTitle } },\n // data放在最外层\n data: undefined,\n };\n\n if (type === ChartType.Column) {\n return { ...baseConfig, type: 'interval' };\n }\n\n if (type === ChartType.Line) {\n return {\n ...baseConfig,\n type,\n shapeField: 'smooth',\n axis: { y: { position: 'right', title: axisYTitle } },\n style: { lineWidth: 2 },\n };\n }\n\n return baseConfig;\n });\n\n const newData = categories.map((item: string, index: number) => {\n const temp = {\n category: item,\n } as {\n category: string;\n [key: string]: any;\n };\n series.forEach((s: DualAxesSeriesItem, i: number) => {\n const defaultYField = s.axisYTitle || `value_${i + 1}`;\n temp[defaultYField] = s.data[index];\n });\n return temp;\n });\n\n const legendTypeList = series.map((item: any) => {\n return item.type === ChartType.Line ? 'smooth' : 'rect';\n });\n\n return {\n children: newChildren,\n data: newData,\n legendTypeList,\n };\n}\n","import { useScene } from '@antv/larkmap';\nimport { useEffect } from 'react';\nimport type { Map } from '../../types/map';\nimport { fitBounds, setMapStatus, setMapView } from '../../utils/map';\n\n// 更新地图视野\nexport default (props: Map) => {\n const scene = useScene();\n useEffect(() => {\n setMapView(props, scene);\n }, []);\n useEffect(() => {\n setMapStatus(props, scene);\n }, [props.enableRotate, props.enableScroll, props.enableZoom]);\n useEffect(() => {\n fitBounds(props, scene);\n }, [props.includePoints, props.markers, props.polyline, props.includePadding]);\n\n return null;\n};\n","import React from 'react';\nimport { DEFAULT_GLOBAL_CONFIG } from '../constants';\nimport type { GlobalConfig } from '../types';\n\nexport const ConfigContext = React.createContext(DEFAULT_GLOBAL_CONFIG);\n","import { Tooltip, Typography } from 'antd';\nimport { pick, toString } from 'lodash';\nimport React from 'react';\nimport { useComponentGlobalConfig } from '../ConfigProvider/hooks';\nimport { type TextConfig, STATICS_KEY } from './config';\nimport type { VisTextProps } from './types';\nimport { getThemeColor, useAntdDarkAlgorithm } from './utils';\n\nconst { Text } = Typography;\n\nfunction renderPrefixSuffix(\n symbol: string,\n staticsConfig: TextConfig[typeof STATICS_KEY],\n props: VisTextProps,\n) {\n if (!symbol) return null;\n const Component = staticsConfig?.[symbol];\n if (Component) return ;\n return symbol;\n}\n\nconst VisText = (props: VisTextProps) => {\n const { children, className, style, type, origin } = props;\n\n const isDark = useAntdDarkAlgorithm();\n const textConfig = useComponentGlobalConfig('VisText');\n\n const encoding = type ? textConfig?.[type] : {};\n const staticsConfig = textConfig?.[STATICS_KEY];\n\n return (\n // TODO @羽熙 暂时简单处理 tooltip 直接显示 origin,后续可以根据 origin 类型分类处理\n \n \n {renderPrefixSuffix(encoding?.prefix, staticsConfig, props)}\n {children}\n {renderPrefixSuffix(encoding?.suffix, staticsConfig, props)}\n \n \n );\n};\n\nexport default VisText;\n","import type { BarConfig } from '@ant-design/plots';\nimport { Bar as ADCBar } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype BarDataItem = {\n category: string;\n value: number;\n [key: string]: string | number;\n};\n\nexport type BarProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: BarConfig): BarConfig => {\n const { data, xField = 'category', yField = 'value' } = props;\n const hasGroupField = get(data, '[0].group') !== undefined;\n const axisYTitle = get(props, 'axis.y.title');\n\n return {\n xField,\n yField,\n colorField: hasGroupField ? 'group' : undefined,\n tooltip: (d) => {\n const tooltipName = axisYTitle || d[xField as string];\n return {\n name: tooltipName,\n value: d[yField as string],\n };\n },\n style: {\n // 圆角样式\n radiusTopLeft: 5,\n radiusTopRight: 5,\n },\n };\n};\n\nconst Bar = (props: BarProps) => {\n const config = usePlotConfig('Bar', defaultConfig, props);\n\n return ;\n};\n\nexport default Bar;\n","import type { ILayer } from '@antv/l7';\nimport { useScene } from '@antv/larkmap';\nimport { useEffect, useState } from 'react';\nimport type { Map } from '../../types/map';\nimport { setPolyline } from '../../utils/map';\n// 渲染线图层\nexport default (props: Map) => {\n const scene = useScene();\n const [layers, setLayers] = useState([]);\n const removeLayers = () => {\n layers.forEach((item) => {\n scene.removeLayer(item);\n });\n };\n useEffect(() => {\n if (!props.polyline) return;\n const lineLayers = setPolyline(props.polyline || []);\n removeLayers();\n lineLayers.forEach((item) => {\n scene.addLayer(item);\n });\n setLayers(lineLayers);\n\n return () => {\n removeLayers();\n };\n }, [props.polyline]);\n\n return null;\n};\n","import type { G6, OrganizationChartOptions } from '@ant-design/graphs';\nimport { OrganizationChart as ADCOrganizationChart, RCNode } from '@ant-design/graphs';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { TreeGraphProps } from '../types';\nimport { visTreeData2GraphData } from '../utils/graph';\n\nconst { OrganizationChartNode } = RCNode;\n\nexport interface OrganizationChartProps extends TreeGraphProps {}\n\nconst defaultConfig: OrganizationChartOptions = {\n padding: [40, 0, 0, 120],\n autoFit: 'view',\n autoResize: true,\n node: {\n style: {\n component: (d: G6.NodeData) => {\n const isActive = d.states?.includes('active');\n return (\n \n );\n },\n size: [280, 80],\n },\n },\n edge: {\n state: {\n active: {\n stroke: '#1890ff',\n halo: false,\n },\n },\n },\n behaviors: (prev) => [...prev, 'hover-activate-neighbors'],\n transforms: (prev) => [\n ...prev.filter((t) => (t as G6.BaseTransformOptions).type !== 'collapse-expand-react-node'),\n {\n ...(prev.find(\n (t) => (t as G6.BaseTransformOptions).type === 'collapse-expand-react-node',\n ) as G6.BaseTransformOptions),\n enable: true,\n iconOffsetY: 24,\n },\n ],\n animation: false,\n};\n\nconst OrganizationChart: React.FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visTreeData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig(\n 'OrganizationChart',\n defaultConfig,\n restProps,\n );\n\n return ;\n};\n\nexport default OrganizationChart;\n","import { useGPTVisContext } from './useContext';\n\nexport const useEventPublish = () => {\n const { eventBus } = useGPTVisContext();\n\n return eventBus.emit.bind(eventBus);\n};\n","import React, { memo } from 'react';\nimport { withDefaultChartCode } from '../ChartCodeRender';\nimport { default as GPTVisLite, type GPTVisLiteProps } from './Lite';\n\nexport interface GPTVisProps extends GPTVisLiteProps {}\n\nconst CodeBlock = withDefaultChartCode();\n\nconst GPTVis: React.FC = ({ children, components, ...rest }) => {\n return (\n \n {children}\n \n );\n};\n\nexport default memo(GPTVis);\n","import { TEXT_THEME } from '../../theme';\n\nfunction getStyle(ele: Element, style: string): string | undefined {\n return window.getComputedStyle\n ? // @ts-ignore style as any\n window.getComputedStyle(ele, null)[style]\n : // @ts-ignore currentStyle for IE\n ele?.currentStyle?.[style];\n}\n\nfunction isAbsoluteUnitPx(str: string | undefined): boolean | undefined {\n return str?.endsWith('px');\n}\n\nfunction getPxNumber(str: string): number | undefined {\n const removeUnit = str.replace(/px$/, '');\n const resultNumber = Number(removeUnit);\n if (!Number.isNaN(resultNumber)) return resultNumber;\n return undefined;\n}\n\nexport function getElementFontSize(ele: Element, defaultSize = TEXT_THEME.fontSizeBase): number {\n const FONT_SIZE = 'font-size';\n const eleFontSizeStr = getStyle(ele, FONT_SIZE);\n if (eleFontSizeStr && isAbsoluteUnitPx(eleFontSizeStr)) {\n const px = getPxNumber(eleFontSizeStr);\n if (px) return px;\n }\n const bodyFontSizeStr = getStyle(window.document.body, FONT_SIZE);\n if (bodyFontSizeStr && isAbsoluteUnitPx(bodyFontSizeStr)) {\n const px = getPxNumber(bodyFontSizeStr);\n if (px) return px;\n }\n return defaultSize;\n}\n","export { SingleLineChart } from './SingleLineChart';\n","import React, { useMemo, type FC } from 'react';\nimport { useMapConfig } from '../ConfigProvider/hooks';\nimport type { MapProps } from '../Map';\nimport Map from '../Map';\nimport type { PinMap as PinMapType } from '../types/map';\nimport { formatMakerStyle } from '../utils/map';\n\nexport type PinMapProps = PinMapType & MapProps;\n\nconst PinMap: FC = (props) => {\n const { data = [], markerStyle = {}, ...rest } = useMapConfig('PinMap', props);\n\n const markerdata = useMemo(() => formatMakerStyle(data, markerStyle), [data, markerStyle]);\n\n return ;\n};\n\nexport default PinMap;\n","import type { FlowGraphOptions, G6 } from '@ant-design/graphs';\nimport { FlowGraph as ADCFlowGraph, RCNode } from '@ant-design/graphs';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { GraphProps } from '../types';\nimport { mergeGraphOptions } from '../utils/config';\nimport { visGraphData2GraphData } from '../utils/graph';\nimport { getGraphOptionsByData } from './helper';\n\nconst { TextNode } = RCNode;\n\nexport interface FlowDiagramProps extends GraphProps {}\n\nconst defaultConfig: FlowGraphOptions = {\n autoResize: true,\n autoFit: 'view',\n node: {\n style: {\n component: (d: G6.NodeData) => {\n const isActive = d.states?.includes('active');\n return (\n \n );\n },\n size: [140, 32],\n },\n },\n edge: {\n style: {\n endArrow: true,\n labelBackground: true,\n labelMaxLines: 2,\n labelMaxWidth: '40%',\n labelWordWrap: true,\n },\n state: {\n active: {\n halo: false,\n labelWordWrap: false,\n stroke: '#001f98',\n },\n },\n },\n behaviors: (prev) => [\n ...prev,\n {\n type: 'hover-activate-neighbors',\n onHover: (e: G6.IPointerEvent) => {\n e.view.setCursor('pointer');\n },\n onHoverEnd: (e: G6.IPointerEvent) => {\n e.view.setCursor('default');\n },\n },\n ],\n};\n\nconst FlowDiagram: React.FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visGraphData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig(\n 'FlowDiagram',\n mergeGraphOptions(defaultConfig, getGraphOptionsByData(data)),\n restProps,\n );\n\n return ;\n};\n\nexport default FlowDiagram;\n","import { LoadingOutlined } from '@ant-design/icons';\nimport React from 'react';\nimport styled from 'styled-components';\n\nconst StyledLoading = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 300px;\n background-image: linear-gradient(135deg, #e3f3ff 0%, #f1eeff 100%);\n color: rgba(0, 0, 0, 88%);\n\n &-icon {\n margin-bottom: 6px;\n }\n`;\n\nconst Loading = () => {\n return (\n \n
\n \n
\n

数据生成中

\n
\n );\n};\n\nexport default Loading;\n","import type { RadarConfig } from '@ant-design/plots';\nimport { Radar as ADCRadar } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\nexport type RadarDataItem = {\n name: string;\n value: number;\n [key: string]: string | number;\n};\n\nexport type RadarProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: RadarConfig): RadarConfig => {\n const { data, xField = 'name', yField = 'value' } = props;\n const hasGroupField = get(data, '[0].group') !== undefined;\n\n return {\n xField,\n yField,\n colorField: hasGroupField ? 'group' : undefined,\n area: {\n style: {\n fillOpacity: 0.5,\n },\n },\n scale: {\n x: {\n padding: 0.6,\n align: 0,\n },\n y: {\n nice: true,\n },\n },\n axis: {\n x: {\n title: false,\n grid: true,\n },\n y: {\n zIndex: 1,\n title: false,\n gridConnect: 'line',\n gridLineWidth: 1,\n },\n },\n tooltip: (d) => {\n return {\n name: d[xField as string],\n value: d[yField as string],\n };\n },\n };\n};\n\nconst Radar = (props: RadarProps) => {\n const config = usePlotConfig('Radar', defaultConfig, props);\n\n return ;\n};\n\nexport default Radar;\n","import type { CSSProperties } from 'react';\nimport { ArrowDown, ArrowUp } from './custom-icons';\nimport { ProportionChart, SingleLineChart } from './mini-charts';\nimport { TEXT_THEME } from './theme';\nimport type { VisTextProps } from './types';\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst INNER_ENTITY_TYPES = [\n 'metric_name', // 指标名\n 'metric_value', // 主指标值\n 'other_metric_value', // 其他指标值\n 'time_desc', // 时间描述\n 'dim_value', // 维值\n 'trend_desc', // 趋势描述\n 'delta_value', // 变化值(非正非负)\n 'ratio_value', // 变化率(非正非负)\n 'delta_value_pos', // 变化值正\n 'delta_value_neg', // 变化值负\n 'ratio_value_pos', // 变化率正\n 'ratio_value_neg', // 变化率负\n 'proportion', // 占比\n 'contribute_ratio', // 贡献度\n] as const;\n\nexport type InnerEntityType = (typeof INNER_ENTITY_TYPES)[number];\n\nexport type TextEntityType = InnerEntityType | string;\n\nexport type TextEncoding = Partial<\n Pick & {\n /** 前缀 */\n prefix: string;\n /** 后缀 */\n suffix: string;\n\n // TODO @羽熙 支持更多文本映射通道,eg underline 等\n }\n>;\n\nexport const STATICS_KEY = '__statics' as const;\n\n/** 文本组件配置信息 */\nexport type TextConfig =\n // 实体短语类型映射\n Record & {\n // 静态组件映射, 如 icon 和 mimi-chart\n [STATICS_KEY]: Record>;\n };\n\nexport const DEFAULT_VIS_TEXT_CONFIG: TextConfig = {\n [STATICS_KEY]: {\n 'icon:arrow-up': ArrowUp,\n 'icon:arrow-down': ArrowDown,\n 'mini-chart:proportion': ProportionChart,\n // TODO @羽熙 当前仅支持单折线图,之后可以考虑支持多折线图,在组件内实现分支判断\n 'mini-chart:line': SingleLineChart,\n },\n metric_name: {\n color: TEXT_THEME.light.default88Color,\n fontWeight: 500,\n },\n metric_value: {\n color: TEXT_THEME.light.primaryColor,\n },\n other_metric_value: {\n color: TEXT_THEME.light.default65Color,\n },\n delta_value: {\n color: TEXT_THEME.light.default65Color,\n },\n ratio_value: {\n color: TEXT_THEME.light.default65Color,\n },\n delta_value_pos: {\n color: TEXT_THEME.light.posColor,\n prefix: '+',\n },\n delta_value_neg: {\n color: TEXT_THEME.light.negColor,\n prefix: '-',\n },\n ratio_value_pos: {\n color: TEXT_THEME.light.posColor,\n prefix: 'icon:arrow-up',\n },\n ratio_value_neg: {\n color: TEXT_THEME.light.negColor,\n prefix: 'icon:arrow-down',\n },\n contribute_ratio: {\n color: TEXT_THEME.light.conclusionColor,\n },\n trend_desc: {\n color: TEXT_THEME.light.conclusionColor,\n suffix: 'mini-chart:line',\n },\n dim_value: {\n color: TEXT_THEME.light.default88Color,\n },\n time_desc: {\n color: TEXT_THEME.light.default88Color,\n },\n proportion: {\n suffix: 'mini-chart:proportion',\n },\n};\n","import { LarkMap } from '@antv/larkmap';\nimport React, { useMemo, type FC } from 'react';\nimport type { BaseMapProps } from '../types';\nimport { formatMapStyle } from '../utils/map';\nimport { MapView, Marker, Polyline } from './Component/';\n\nexport type MapProps = Omit, 'data'>;\n\nconst Map: FC = (props) => {\n const { className, containerStyle, children } = props;\n const mapConfig = useMemo(() => formatMapStyle(props), [props]);\n const onSceneLoaded = async () => {\n if (props.onInitComplete) {\n props.onInitComplete();\n }\n };\n\n return (\n \n {/* 设置地图状态 */}\n \n {/* 初始化图片,并加载 Marker */}\n \n {/* 初始化线,并加载 Polyline */}\n \n\n {children}\n \n );\n};\n\nexport default Map;\n","import type { GlobalConfig } from '../types';\n\nimport { DEFAULT_VIS_TEXT_CONFIG } from '../Text';\n\nexport const DEFAULT_GLOBAL_CONFIG: GlobalConfig = {\n map: { style: 'light' },\n components: {\n VisText: DEFAULT_VIS_TEXT_CONFIG,\n },\n};\n","// organize-imports-ignore\nimport { ChartType } from './types';\n\n/********** plot chart **********/\nimport { default as Area, type AreaProps } from './Area';\nimport { default as Bar, type BarProps } from './Bar';\nimport { default as Column, type ColumnProps } from './Column';\nimport { default as DualAxes, type DualAxesProps } from './DualAxes';\nimport { default as Histogram, type HistogramProps } from './Histogram';\nimport { default as Line, type LineProps } from './Line';\nimport { default as Pie, type PieProps } from './Pie';\nimport { default as Radar, type RadarProps } from './Radar';\nimport { default as Scatter, type ScatterProps } from './Scatter';\nimport { default as Treemap, type TreemapProps } from './Treemap';\nimport { default as WordCloud, type WordCloudProps } from './WordCloud';\n\n/********** graph chart **********/\nimport { default as FishboneDiagram, type FishboneDiagramProps } from './FishboneDiagram';\nimport { default as FlowDiagram, type FlowDiagramProps } from './FlowDiagram';\nimport { default as MindMap, type MindMapProps } from './MindMap';\nimport { default as NetworkGraph, type NetworkGraphProps } from './NetworkGraph';\nexport { default as IndentedTree, type IndentedTreeProps } from './IndentedTree';\nexport { default as OrganizationChart, type OrganizationChartProps } from './OrganizationChart';\n\n/********** map chart **********/\nexport { Map, type MapProps } from './export-map';\nimport {\n PinMap,\n type PinMapProps,\n HeatMap,\n type HeatMapProps,\n PathMap,\n type PathMapProps,\n} from './export-map';\n\n/********** NTV **********/\nexport { VisText, type VisTextProps } from './Text';\n\nexport {\n Area,\n Bar,\n Column,\n DualAxes,\n FishboneDiagram,\n FlowDiagram,\n HeatMap,\n Histogram,\n Line,\n MindMap,\n NetworkGraph,\n PathMap,\n Pie,\n PinMap,\n Radar,\n Scatter,\n Treemap,\n WordCloud,\n type AreaProps,\n type BarProps,\n type ColumnProps,\n type DualAxesProps,\n type FishboneDiagramProps,\n type FlowDiagramProps,\n type HeatMapProps,\n type HistogramProps,\n type LineProps,\n type MindMapProps,\n type NetworkGraphProps,\n type PathMapProps,\n type PieProps,\n type PinMapProps,\n type RadarProps,\n type ScatterProps,\n type TreemapProps,\n type WordCloudProps,\n};\n\nexport const DEFAULT_CHART_COMPONENTS: Record> = {\n [ChartType.Line]: Line,\n [ChartType.Column]: Column,\n [ChartType.Pie]: Pie,\n [ChartType.Bar]: Bar,\n [ChartType.Area]: Area,\n [ChartType.Scatter]: Scatter,\n [ChartType.PinMap]: PinMap,\n [ChartType.HeatMap]: HeatMap,\n [ChartType.MindMap]: MindMap,\n [ChartType.FlowDiagram]: FlowDiagram,\n [ChartType.NetworkGraph]: NetworkGraph,\n};\n","export * from './line';\nexport * from './proportion';\n","export * from './getThemeColor';\nexport * from './useAntdDarkAlgorithm';\n","import type { Scene } from '@antv/l7';\nimport type { Map, Marker } from '../../types/map';\nimport { urlToMarkerId } from './util';\n\nexport function setMapContext(props: Map, scene: Scene) {\n //初始化Image\n if (props.markers) {\n const icons = new Set(\n props.markers\n .filter((item: Marker) => item.iconPath !== undefined)\n .map((item: Marker) => item.iconPath),\n ) as unknown as string[];\n\n return Promise.all(\n Array.from(icons.values()).map(async (url: string) => {\n const id = urlToMarkerId(url);\n if (scene.hasImage(id)) {\n return;\n }\n return await scene.addImage(id, url);\n }),\n );\n }\n}\n","module.exports = (typeof globalThis !== 'undefined' ? globalThis : self)['maplibregl'];","import type { CodeBlockComponent } from '@antv/gpt-vis';\nimport React from 'react';\nimport StyledComponent from './style';\n\nconst WeatherCard: CodeBlockComponent = (props) => {\n const content = String(props.children).trim();\n const { locationName, temperature, humidity, wind, cloudiness, uv } = JSON.parse(content);\n\n return (\n \n
\n
\n
\n \n {temperature}°\n
\n {locationName}\n
\n
\n
\n Humidity\n {humidity}%\n
\n
\n Wind\n {wind}kph\n
\n
\n Cloudiness\n {cloudiness}%\n
\n
\n UV Index\n {uv}\n
\n
\n
\n
\n );\n};\n\nexport default WeatherCard;\n","import type { FishboneOptions } from '@ant-design/graphs';\nimport { Fishbone as ADCFishbone } from '@ant-design/graphs';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { TreeGraphProps } from '../types';\nimport { visTreeData2GraphData } from '../utils/graph';\n\nexport interface FishboneDiagramProps extends TreeGraphProps {}\n\nconst defaultConfig: FishboneOptions = {\n autoFit: 'view',\n autoResize: true,\n};\n\nconst FishboneDiagram: React.FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visTreeData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig('FishboneDiagram', defaultConfig, restProps);\n\n return ;\n};\n\nexport default FishboneDiagram;\n","import type { Scene } from '@antv/l7';\nimport type { Map } from '../../types/map';\n\nfunction fitIncludePoints(\n includePoints: { longitude: number; latitude: number }[],\n scene: Scene,\n includePadding: Map['includePadding'],\n) {\n if (includePoints.length === 1) {\n scene.setCenter([includePoints[0].longitude, includePoints[0].latitude]);\n } else {\n const bounds = [180, 90, -180, -90];\n includePoints.forEach((point: any) => {\n if (bounds[0] > point.longitude) {\n bounds[0] = point.longitude;\n }\n if (bounds[1] > point.latitude) {\n bounds[1] = point.latitude;\n }\n if (bounds[2] < point.longitude) {\n bounds[2] = point.longitude;\n }\n if (bounds[3] < point.latitude) {\n bounds[3] = point.latitude;\n }\n });\n const { left = 20, right = 20, bottom = 20, top = 20 } = includePadding || {};\n const padding = [left, top, right, bottom];\n // @ts-ignore\n scene.map.setBounds(bounds, false, padding);\n }\n}\n\nexport const setMapView = (props: Map, scene: Scene) => {\n fitBounds(props, scene);\n setMapStatus(props, scene);\n};\n\nexport const fitBounds = (props: Map, scene: Scene) => {\n if (props.includePoints) {\n fitIncludePoints(props.includePoints, scene, props.includePadding);\n } else {\n const points: { longitude: number; latitude: number }[] = [];\n if (props.markers) {\n props.markers.forEach((item) => {\n points.push({ longitude: item.longitude, latitude: item.latitude });\n });\n }\n if (props.polyline) {\n props.polyline.forEach((item) => {\n item.points.forEach((point) => {\n points.push({ longitude: point.longitude, latitude: point.latitude });\n });\n });\n }\n if (points.length) {\n fitIncludePoints(points, scene, props.includePadding);\n }\n }\n};\n\nexport const setMapStatus = (props: Map, scene: Scene) => {\n if (props.enableZoom !== undefined) {\n scene.setMapStatus({\n zoomEnable: props.enableZoom,\n });\n }\n if (props.enableRotate !== undefined) {\n scene.setMapStatus({\n rotateEnable: props.enableRotate,\n });\n }\n if (props.enableScroll !== undefined) {\n scene.setMapStatus({\n dragEnable: props.enableScroll,\n });\n }\n};\n","import type { PieConfig } from '@ant-design/plots';\nimport { Pie as ADCPie } from '@ant-design/plots';\nimport { round, sumBy } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\n/**\n * PieDataItem is the type for each data item in the pie chart.\n * It includes the name of the sector and its corresponding value.\n * @param category The name of the sector.\n * @param value The value of the sector.\n */\ntype PieDataItem = {\n category: string;\n value: number;\n [key: string]: string | number;\n};\n\n/**\n * the props for the Pie\n * @param data pie data\n */\nexport type PieProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: PieConfig): PieConfig => {\n const { data = [], angleField = 'value', colorField = 'category' } = props;\n const sumValue = sumBy(data, angleField);\n\n return {\n angleField,\n colorField,\n tooltip: (d) => {\n return {\n name: d[colorField as string],\n value: d[angleField as string],\n };\n },\n label: {\n position: 'outside',\n // text: angleField,\n text: (d: Record) =>\n `${d[colorField as string]}: ${round((d[angleField as string] / sumValue) * 100, 1)}%`,\n },\n legend: {\n color: {\n title: false,\n position: 'top',\n },\n },\n interaction: {\n elementSelect: {\n single: true,\n },\n },\n };\n};\n\nconst Pie = (props: PieProps) => {\n const config = usePlotConfig('Pie', defaultConfig, props);\n\n return ;\n};\n\nexport default Pie;\n","export default '0.4.0';\n","import { findKey, get } from 'lodash';\nimport { DEFAULT_VIS_TEXT_CONFIG } from '../config';\nimport { TEXT_THEME } from '../theme';\n\n/**\n * 自动适配暗黑模式\n * @params type 类型\n * @params color 当前颜色\n * @params theme 当前主题\n */\nexport const getThemeColor = ({\n type,\n color,\n theme,\n}: {\n type?: string;\n color: string | undefined;\n theme: 'dark' | 'light';\n}) => {\n // 仅暗黑主题才处理\n if (type && color && theme === 'dark') {\n const defaultLightColor = get(DEFAULT_VIS_TEXT_CONFIG, [type, 'color']);\n // 仅当前颜色为默认的浅色主题时才处理\n if (color === defaultLightColor) {\n // 找到浅色主题的 token\n const token = findKey(TEXT_THEME.light, (i) => i === color);\n // 返回暗黑主题的对应 token 的颜色\n if (token) return TEXT_THEME.dark[token as keyof typeof TEXT_THEME.dark];\n }\n }\n return color;\n};\n","export const TEXT_THEME = {\n fontSizeBase: 14,\n chart: {\n proportionShadowColor: '#CDDDFD',\n proportionFillColor: '#3471F9',\n lineStrokeColor: '#5B8FF9',\n },\n light: {\n primaryColor: '#1677FF',\n default88Color: 'rgba(0, 0, 0, 0.88)',\n default65Color: 'rgba(0, 0, 0, 0.65)',\n posColor: '#FA541C',\n negColor: '#13A8A8',\n conclusionColor: '#1F0352',\n },\n dark: {\n primaryColor: '#4B91FF',\n default88Color: 'rgba(255, 255, 255, 0.88)',\n default65Color: 'rgba(255, 255, 255, 0.65)',\n posColor: '#FA541C',\n negColor: '#13A8A8',\n conclusionColor: '#D8C3F3',\n },\n};\n","import type { ColumnConfig } from '@ant-design/plots';\nimport { Column as ADCColumn } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\nexport type ColumnDataItem = {\n category: string | number;\n value: number;\n [key: string]: string | number;\n};\n\nexport type ColumnProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: ColumnConfig): ColumnConfig => {\n const { data, xField = 'category', yField = 'value' } = props;\n const hasGroupField = get(data, '[0].group') !== undefined;\n const axisYTitle = get(props, 'axis.y.title');\n\n return {\n xField,\n yField,\n colorField: hasGroupField ? 'group' : undefined,\n tooltip: (d) => {\n const tooltipName = axisYTitle || d[xField as string];\n return {\n name: tooltipName,\n value: d[yField as string],\n };\n },\n style: {\n // 圆角样式\n radiusTopLeft: 10,\n radiusTopRight: 10,\n },\n };\n};\n\nconst Column = (props: ColumnProps) => {\n const config = usePlotConfig('Column', defaultConfig, props);\n\n return ;\n};\n\nexport default Column;\n","import { useEffect, useState } from 'react';\nimport { TEXT_THEME } from '../../theme';\nimport type { Scale } from './scaleLinear';\nimport { scaleLinear } from './scaleLinear';\n\n// adjust to draw line width\nconst SCALE_ADJUST = 2;\n\nclass Line {\n protected data: number[] = [];\n\n protected size: number = TEXT_THEME.fontSizeBase;\n\n protected height: number = this.size;\n\n protected width: number = this.getWidth();\n\n protected xScale: Scale | undefined;\n\n protected yScale: Scale | undefined;\n\n protected points: [number, number][] = [];\n\n constructor(size: number, data: number[] | undefined) {\n this.size = size;\n if (data) {\n this.data = data;\n this.compute();\n }\n }\n\n protected getWidth() {\n return Math.max(this.size * 2, this.data?.length * 2);\n }\n\n protected compute() {\n if (!this.data) return;\n this.height = this.size;\n this.width = this.getWidth();\n this.xScale = scaleLinear([0, this.width], [0, this.data?.length - 1]);\n const [min, max] = [Math.min(...this.data), Math.max(...this.data)];\n this.yScale = scaleLinear([SCALE_ADJUST, this.height - SCALE_ADJUST], [min, max]);\n this.points = this.data.map((item, index) => [\n this.xScale!(index),\n this.height - this.yScale!(item),\n ]);\n }\n\n getLinePath(): null | string {\n if (!this.data?.length || !this.xScale || !this.yScale) return null;\n const path = this.points.reduce((prev, [x, y], index) => {\n if (index === 0) return `M${x} ${y}`;\n return `${prev} L ${x} ${y}`;\n }, '');\n return path;\n }\n\n getPolygonPath(): null | string {\n if (!this.data?.length || !this.xScale || !this.yScale) return null;\n const polygonPoints = [...this.points];\n const last = this.points[this.points.length - 1];\n polygonPoints.push([last[0], this.height]);\n polygonPoints.push([0, this.height]);\n const startPoint = this.points[0];\n polygonPoints.push(startPoint);\n\n const path = polygonPoints.reduce((prev, [x, y]) => `${prev} ${x},${y}`, '');\n return path;\n }\n\n getContainer() {\n return [this.width, this.height];\n }\n}\n\nexport const useLineCompute = (size: number, data: undefined | number[]) => {\n const [line, setLine] = useState(new Line(size, data));\n useEffect(() => {\n setLine(new Line(size, data));\n }, [size, data]);\n return {\n width: line.getContainer()[0],\n height: line.getContainer()[1],\n linePath: line.getLinePath(),\n polygonPath: line.getPolygonPath(),\n };\n};\n","export * from './useConfig';\n","import type { G6, IndentedTreeOptions } from '@ant-design/graphs';\nimport { IndentedTree as ADCIndentedTree } from '@ant-design/graphs';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { TreeGraphProps } from '../types';\nimport { visTreeData2GraphData } from '../utils/graph';\n\nexport interface IndentedTreeProps extends TreeGraphProps {}\n\nconst defaultConfig: IndentedTreeOptions = {\n type: 'linear',\n autoFit: 'view',\n autoResize: true,\n node: { animation: { update: false, translate: false } },\n edge: { animation: { update: false, translate: false } },\n transforms: (prev) => [\n ...prev.filter(\n (transform) => (transform as G6.BaseTransformOptions).type !== 'collapse-expand-react-node',\n ),\n {\n ...(prev.find(\n (transform) => (transform as G6.BaseTransformOptions).type === 'collapse-expand-react-node',\n ) as G6.BaseTransformOptions),\n enable: true,\n },\n ],\n};\n\nconst IndentedTree: React.FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visTreeData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig('IndentedTree', defaultConfig, restProps);\n\n return ;\n};\n\nexport default IndentedTree;\n","// FIXME: 全量导入 G6 模块\nimport { G6 } from '@ant-design/graphs';\nimport type { GraphData, TreeGraphData } from '../types';\n\nconst { treeToGraphData } = G6;\n\nexport function visTreeData2GraphData(data: TreeGraphData) {\n return treeToGraphData(data as unknown as G6.TreeData, {\n getNodeData: (datum, depth) => {\n datum.id = datum.name;\n datum.depth = depth;\n if (!datum.children) return datum as G6.NodeData;\n const { children, ...restDatum } = datum;\n return {\n ...restDatum,\n children: children.map((child) => child.name),\n } as G6.NodeData;\n },\n getEdgeData: (source, target) =>\n ({\n source: source.name,\n target: target.name,\n }) as G6.EdgeData,\n });\n}\n\nexport function visGraphData2GraphData(data: GraphData) {\n return {\n nodes: data.nodes.map((node) => ({\n id: node.name,\n style: { labelText: node.name },\n })),\n edges: data.edges.map((edge) => ({\n source: edge.source,\n target: edge.target,\n style: { labelText: edge.name },\n })),\n };\n}\n","import type { PropsWithChildren } from 'react';\nimport React, { useLayoutEffect, useRef, useState } from 'react';\nimport { TEXT_THEME } from '../../theme';\nimport { getElementFontSize } from './getElementFontSize';\n\ntype SvgProps = PropsWithChildren>;\n\nexport const useSvgWrapper = () => {\n const ele = useRef(null);\n const [fontSize, setFontSize] = useState(TEXT_THEME.fontSizeBase);\n useLayoutEffect(() => {\n if (ele.current) {\n setFontSize(getElementFontSize(ele.current, TEXT_THEME.fontSizeBase));\n }\n }, []);\n const Svg = ({ children, ...otherProps }: SvgProps) => {\n return (\n \n {children}\n \n );\n };\n return [Svg, fontSize] as const;\n};\n","import type { GraphOptions } from '@ant-design/graphs';\nimport type { CommonConfig } from '@ant-design/plots';\nimport React from 'react';\nimport type { MapProps } from '../../Map';\nimport type { Charts } from '../../types';\nimport { mergeGraphOptions } from '../../utils/config';\nimport { transform2ADCProps } from '../../utils/plot';\nimport { ConfigContext } from '../context';\n\nfunction useConfig() {\n const context = React.useContext(ConfigContext);\n return context;\n}\n\nexport function useComponentGlobalConfig(name: Charts) {\n const globalConfig = useConfig();\n const { components = {} } = globalConfig;\n const config = components?.[name];\n\n return config;\n}\n\nfunction usePlotGlobalConfig(name: Charts) {\n const componentConfig = useComponentGlobalConfig(name);\n const { plot: plotConfig } = useConfig();\n const config = {\n ...plotConfig,\n ...componentConfig,\n };\n\n return config;\n}\n\nexport function usePlotConfig(\n name: Charts,\n defaultConfig: Partial | ((props: Partial) => Partial),\n props: Partial,\n): Partial {\n const globalConfig = usePlotGlobalConfig(name);\n const mergedProps = { ...globalConfig, ...props };\n const transformedProps = transform2ADCProps(mergedProps);\n\n const _defaultConfig =\n typeof defaultConfig === 'function' ? defaultConfig(transformedProps) : defaultConfig;\n\n const config = {\n ..._defaultConfig,\n ...transformedProps,\n };\n\n return config;\n}\n\nfunction useMapGlobalConfig(name: Charts) {\n const componentConfig = useComponentGlobalConfig(name);\n const { map: mapConfig } = useConfig();\n const transformedProps = {\n mapType: mapConfig?.style,\n token: mapConfig?.token,\n };\n\n const config = {\n ...transformedProps,\n ...componentConfig,\n };\n\n return config;\n}\n\nexport function useMapConfig(name: Charts, props: T) {\n const globalConfig = useMapGlobalConfig(name);\n\n const mapConfig = {\n ...globalConfig,\n ...props,\n };\n\n return mapConfig;\n}\n\nfunction useGraphGlobalConfig(name: Charts) {\n const { graph: graphConfig = {} } = useConfig();\n const componentConfig = useComponentGlobalConfig(name);\n\n return mergeGraphOptions(graphConfig, componentConfig || {});\n}\n\nexport function useGraphConfig>(\n name: Charts,\n defaultConfig: Partial,\n props: Partial,\n) {\n const globalConfig = useGraphGlobalConfig(name);\n\n return mergeGraphOptions(defaultConfig, globalConfig, props);\n}\n","import { get } from 'lodash';\nimport React from 'react';\nimport { DEFAULT_CHART_COMPONENTS } from '../export';\nimport type { CodeBlockComponent, WithChartCodeOptions } from './type';\nimport { RenderVisChart } from './VisChart';\n\nconst RenderDefaultCode: CodeBlockComponent = (props) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { children, className = '', node, ...rest } = props;\n return (\n \n {children}\n \n );\n};\n\nconst withCodeBlock = (options: WithChartCodeOptions): CodeBlockComponent => {\n // Render code block component\n return function CodeBlock(props) {\n const { children, className = '' } = props;\n const content = String(children).trim();\n const isVisChart = className.includes('language-vis-chart');\n const {\n components,\n languageRenderers,\n defaultRenderer: DefaultRenderer,\n debug,\n loadingTimeout = 5000,\n style,\n } = options;\n\n // If the code block is a VisChart, render the corresponding chart component\n if (isVisChart) {\n return (\n \n );\n }\n\n // If the code block math extraRenderer languageName, the corresponding extra languageRenderers component\n const languageName = className.match(/language-(.*)/)?.[1] || '';\n const extraLanguageRenderers = languageRenderers;\n const ExtraRendererComponent = extraLanguageRenderers && extraLanguageRenderers[languageName];\n if (ExtraRendererComponent) {\n return ;\n }\n\n // If the code block is not a VisChart, render plain code\n return DefaultRenderer ? : ;\n };\n};\n\n// Create a higher-order component (HOC) with chart code\nexport const withChartCode = (options: WithChartCodeOptions): CodeBlockComponent => {\n return withCodeBlock(options);\n};\n\n/**\n * Includes built-in chart components such as line charts, pie charts, etc.\n * @param componentsArray\n * @returns\n */\nexport const withDefaultChartCode = (\n options?: Partial,\n): CodeBlockComponent => {\n return withChartCode({\n ...options,\n components: {\n ...DEFAULT_CHART_COMPONENTS,\n ...get(options, 'components', {}),\n },\n });\n};\n","import React, { useMemo } from 'react';\nimport type { GlobalConfig } from '../types';\nimport { mergeGlobalConfig } from '../utils/config';\nimport { ConfigContext } from './context';\n\nexport type ConfigProviderProps = {\n children?: React.ReactNode;\n} & GlobalConfig;\n\nconst ConfigProvider: React.FC = (props) => {\n const { children, ...config } = props;\n\n const contextValue = useMemo(() => mergeGlobalConfig(config), []);\n\n return {children};\n};\n\nexport default ConfigProvider;\n","export * from './context';\nexport * from './markers';\nexport * from './polyline';\nexport * from './style';\nexport * from './util';\nexport * from './view';\n","import { LineLayer } from '@antv/l7';\nimport type { Polyline as PolylinePorps } from '../../types/map';\n\nexport function setPolyline(data: PolylinePorps[]) {\n const lineData = data.map((item: PolylinePorps) => {\n const coord = item.points.map((point) => [point.longitude, point.latitude]);\n return {\n ...item,\n coordinates: coord,\n color: item.color,\n width: item.width,\n };\n });\n const isdash = lineData[0].dottedLine;\n const lineLayer = new LineLayer()\n .source(lineData, {\n parser: {\n type: 'json',\n coordinates: 'coordinates',\n },\n })\n .size('width')\n .shape('line')\n .color('color')\n .style({\n opacity: 1.0,\n lineType: isdash ? 'dash' : 'solid',\n dashArray: [3, 1],\n });\n return [lineLayer];\n}\n","import { isArray, isString, size } from 'lodash';\nimport React, { useMemo } from 'react';\nimport { TEXT_THEME } from '../../theme';\nimport type { VisTextProps } from '../../types';\nimport { useSvgWrapper } from '../hooks';\nimport { useLineCompute } from './useLineCompute';\n\nconst LINEAR_FILL_COLOR_ID = 'wsc-line-fill';\n\nfunction getLineChartData(origin: any) {\n if (isArray(origin)) return origin;\n if (isString(origin)) {\n try {\n const data = JSON.parse(origin);\n if (isArray(data)) return data;\n } catch (e) {\n console.warn(e, `${origin} is not a valid json string`);\n }\n }\n}\n\nexport const SingleLineChart: React.FC = ({ origin }) => {\n const [Svg, fontSize] = useSvgWrapper();\n const data = useMemo(() => getLineChartData(origin), [origin]);\n const { width, height, linePath, polygonPath } = useLineCompute(fontSize, data);\n return (\n size(data) > 0 && (\n \n \n \n \n \n \n \n {linePath && (\n \n )}\n {polygonPath && }\n \n )\n );\n};\n","import type { WordCloudConfig } from '@ant-design/plots';\nimport { WordCloud as ADCWordCloud } from '@ant-design/plots';\nimport React, { type FC } from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype WordCloudDataItem = {\n text: string;\n value: number;\n};\n\nconst defaultConfig = {\n autoFit: true,\n layout: { fontSize: [20, 100] },\n colorField: 'text',\n legend: false,\n tooltip: false,\n};\n\nexport type WordCloudProps = BasePlotProps & Partial;\n\nconst WordCloud: FC = (props) => {\n const config = usePlotConfig('WordCloud', defaultConfig, props);\n\n return ;\n};\n\nexport default WordCloud;\n","import type { AreaConfig } from '@ant-design/plots';\nimport { Area as ADCArea } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype AreaDataItem = {\n time: string | number;\n value: number;\n [key: string]: string | number;\n};\n\nexport type AreaProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: AreaConfig): AreaConfig => {\n const { data, xField = 'time', yField = 'value' } = props;\n const hasGroupField = get(data, '[0].group') !== undefined;\n const axisYTitle = get(props, 'axis.y.title');\n const defalutStyle = hasGroupField ? {} : { opacity: 0.6 };\n\n return {\n xField,\n yField,\n style: defalutStyle,\n colorField: hasGroupField ? 'group' : undefined,\n tooltip: (d: Record) => {\n const tooltipName = axisYTitle || d[xField as string];\n return {\n name: tooltipName,\n value: d[yField as string],\n };\n },\n };\n};\n\nconst Area = (props: AreaProps) => {\n const config = usePlotConfig('Area', defaultConfig, props);\n\n return ;\n};\n\nexport default Area;\n","import React from 'react';\nconst MARGIN_RIGHT = 2;\nexport const ArrowUp = () => (\n \n \n \n \n \n);\nexport const ArrowDown = () => (\n \n \n \n \n \n);\n","import React, { memo, useRef, useState } from 'react';\nimport styled, { createGlobalStyle } from 'styled-components';\nimport Loading from './Loading';\nimport type { ChartComponents, ChartJson } from './type';\n\nconst StyledGPTVis = styled.div`\n min-width: 300px;\n height: 300px;\n max-width: 100%;\n`;\nconst GlobalStyles = createGlobalStyle`\n pre:has(.gpt-vis) {\n overflow: hidden;\n }\n`;\n\ntype RenderVisChartProps = {\n content: string;\n components: ChartComponents;\n debug?: boolean;\n loadingTimeout: number;\n style?: React.CSSProperties;\n};\n\nexport const RenderVisChart: React.FC = memo(\n ({ style, content, components, debug, loadingTimeout }) => {\n const timeoutRef = useRef();\n const [loading, setLoading] = useState(true);\n let chartJson: ChartJson;\n\n try {\n chartJson = JSON.parse(content);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n } catch (e) {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n if (debug) {\n console.warn('GPT-Vis withChartCode parse content timeout');\n }\n }\n timeoutRef.current = setTimeout(() => {\n setLoading(false);\n }, loadingTimeout);\n\n if (loading) {\n return (\n \n \n \n );\n }\n\n return

Chart generation timeout.

;\n }\n\n const { type, ...chartProps } = chartJson;\n const ChartComponent = components[type];\n\n // debug mode print chartJson\n if (debug) {\n console.log('GPT-Vis withChartCode get chartJson parse from vis-chart code block', chartJson);\n }\n\n // If the chart type is not supported, display an error message\n if (!ChartComponent) {\n return

{`Chart type \"${type}\" is not supported.`}

;\n }\n\n // Render the supported chart component with data\n return (\n \n \n \n \n );\n },\n);\n","/**\n * make data between 0 ~ 1\n */\nfunction normalizeProportion(data: number | undefined) {\n if (typeof data !== 'number') return 0;\n if (data > 1) return 1;\n if (data < 0) return 0;\n return data;\n}\n\nexport function getArcPath(size: number, data: number) {\n const cx = size / 2;\n const cy = size / 2;\n const r = size / 2;\n const angle = normalizeProportion(data) * 2 * Math.PI;\n const dx = cx + r * Math.sin(angle);\n const dy = cy - r * Math.cos(angle);\n const path = `\n M${cx} ${0}\n A ${cx} ${cy} 0 ${angle > Math.PI ? 1 : 0} 1 ${dx} ${dy}\n L ${cx} ${cy} Z\n `;\n return path;\n}\n","import { styled } from 'styled-components';\n\nconst StyledComponent = styled.div`\n width: 560px;\n background-color: #60a5fa;\n border-radius: 10px;\n\n .locationSection {\n display: flex;\n flex-direction: column;\n padding: 18px 25px;\n }\n\n .temperatureWrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .temperatureDetails {\n display: flex;\n align-items: center;\n gap: 40px;\n }\n\n .imageIcon {\n flex-shrink: 0;\n width: 36px;\n height: 36px;\n border-radius: 10px;\n }\n\n .currentTemperature {\n color: #feffff;\n font-size: 25px;\n font-weight: bold;\n }\n\n .locationName {\n color: #feffff;\n font-size: 24px;\n font-weight: bold;\n }\n\n .weatherDetails {\n display: flex;\n align-items: center;\n margin-top: 16px;\n justify-content: space-between;\n font-size: 14px;\n }\n\n .humiditySection {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n min-width: 82px;\n }\n\n .attributeLabel {\n min-width: 56px;\n margin-right: 2px;\n margin-left: 2px;\n color: #dbeafe;\n }\n\n .uvIndexValue {\n color: #fff;\n font-size: 12px;\n }\n\n .windSection {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 20px;\n }\n\n .windSpeedLabel {\n color: #dbeafe;\n }\n\n .windSpeedValue {\n color: #feffff;\n }\n\n .cloudinessSection {\n display: flex;\n flex-direction: column;\n }\n\n .cloudinessLabel {\n color: #dbeafe;\n }\n\n .cloudinessValue {\n align-self: flex-start;\n color: #fff;\n }\n\n .uvIndexSection {\n display: flex;\n flex-direction: column;\n }\n\n .uvIndexLabel {\n margin-left: 2px;\n color: #dbeafe;\n }\n\n .uvIndexValue {\n color: #fff;\n }\n`;\n\nexport default StyledComponent;\n","export * from './chart';\nexport type { GlobalConfig } from './config';\n","import { PointLayer } from '@antv/l7';\nimport { isObject } from 'lodash';\nimport type { Marker as MarkerProps } from '../../types/map';\nimport { urlToMarkerId } from './util';\n\nexport function setMarkers(data: MarkerProps[]) {\n const items = data.map((item: MarkerProps) => {\n return {\n ...item,\n label: isObject(item.label) ? item.label!.content : item.label,\n color: item.label?.color,\n bgColor: item.label?.bgColor,\n fontSize: item.label?.fontSize,\n offsets: [item.anchorX || 0, item.anchorY || -1],\n iconPath: item.iconPath ? urlToMarkerId(item.iconPath) : undefined,\n };\n });\n const icons = items.filter((item) => item.iconPath !== undefined);\n const texts = items.filter((item) => item.label !== undefined);\n const layers = [];\n if (texts.length > 0) {\n const offsets = texts[0].offsets;\n const fontSize = texts[0].fontSize || 10;\n const text = new PointLayer({\n zIndex: 2,\n })\n .source(texts, {\n parser: {\n type: 'json',\n x: 'longitude',\n y: 'latitude',\n },\n })\n .shape('label', 'text')\n .size('fontSize')\n .color('color')\n .style({\n opacity: 1,\n textOffset: [offsets[0], -2 * offsets[1] * fontSize],\n fontWeight: 600,\n textAnchor: 'center',\n stroke: texts[0].bgColor || '#ffffff', // 描边颜色\n strokeWidth: 2, // 描边宽度\n strokeOpacity: 1.0,\n padding: [10, 10],\n });\n layers.push(text);\n }\n if (icons.length !== 0) {\n const offsets = icons[0].offsets;\n\n const width = icons[0].width || 10;\n const iconLayer = new PointLayer()\n .source(icons, {\n parser: {\n type: 'json',\n x: 'longitude',\n y: 'latitude',\n },\n })\n .shape('iconPath')\n .size('width')\n .style({\n offsets: [offsets[0], offsets[1] * width],\n });\n layers.push(iconLayer);\n }\n return layers;\n}\n","import type { G6, MindMapOptions } from '@ant-design/graphs';\nimport { MindMap as ADCMindMap } from '@ant-design/graphs';\nimport type { FC } from 'react';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { TreeGraphProps } from '../types';\nimport { visTreeData2GraphData } from '../utils/graph';\n\nconst defaultConfig: MindMapOptions = {\n type: 'boxed',\n autoFit: 'view',\n autoResize: true,\n padding: 2,\n node: { animation: { translate: false, update: false } },\n edge: { animation: { translate: false, update: false } },\n transforms: (prev) => [\n ...prev.filter(\n (transform) => (transform as G6.BaseTransformOptions).type !== 'collapse-expand-react-node',\n ),\n {\n ...(prev.find(\n (transform) => (transform as G6.BaseTransformOptions).type === 'collapse-expand-react-node',\n ) as G6.BaseTransformOptions),\n enable: true,\n },\n ],\n};\n\nexport interface MindMapProps extends TreeGraphProps {}\n\nconst MindMap: FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visTreeData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig('MindMap', defaultConfig, restProps);\n\n return ;\n};\n\nexport default MindMap;\n","import type { ScatterConfig } from '@ant-design/plots';\nimport { Scatter as ADCScatter } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype ScatterDataItem = {\n x: number;\n y: number;\n [key: string]: string | number;\n};\n\nexport type ScatterProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: ScatterConfig): ScatterConfig => {\n const { data, xField = 'x', yField = 'y' } = props;\n const axisXTitle = get(props, 'axis.x.title');\n const axisYTitle = get(props, 'axis.y.title');\n\n return {\n data,\n xField,\n yField,\n tooltip: [\n { channel: 'x', name: axisXTitle || 'x' },\n { channel: 'y', name: axisYTitle || 'y' },\n ],\n };\n};\n\nconst Scatter = (props: ScatterProps) => {\n const config = usePlotConfig('Scatter', defaultConfig, props);\n\n return ;\n};\n\nexport default Scatter;\n","import type { NetworkGraphOptions } from '@ant-design/graphs';\nimport { NetworkGraph as ADCNetworkGraph } from '@ant-design/graphs';\nimport React, { useMemo } from 'react';\nimport { useGraphConfig } from '../ConfigProvider/hooks';\nimport type { GraphProps } from '../types';\nimport { visGraphData2GraphData } from '../utils/graph';\n\nexport interface NetworkGraphProps extends GraphProps {}\n\nconst defaultConfig: NetworkGraphOptions = {\n autoResize: true,\n node: {\n style: {\n size: 28,\n labelFontSize: 10,\n labelBackground: true,\n },\n animation: {\n enter: false,\n },\n },\n edge: {\n style: {\n labelFontSize: 10,\n labelBackground: true,\n endArrow: true,\n },\n animation: { enter: false },\n },\n behaviors: (prev) => [...prev, { key: 'hover-activate', type: 'hover-activate', degree: 1 }],\n transforms: (prev) => [...prev, 'process-parallel-edges'],\n layout: {\n type: 'force',\n animation: false,\n },\n};\n\nconst NetworkGraph: React.FC = (props) => {\n const { data: propsData, ...restProps } = props;\n\n const data = useMemo(() => visGraphData2GraphData(propsData), [propsData]);\n\n const config = useGraphConfig('NetworkGraph', defaultConfig, restProps);\n\n return ;\n};\n\nexport default NetworkGraph;\n","import type { TreemapConfig } from '@ant-design/plots';\nimport { Treemap as ADCTreemap } from '@ant-design/plots';\nimport React, { useMemo } from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype TreeNode = {\n name: string;\n value: number;\n children?: TreeNode[];\n};\n// binNumber和binWidth为互斥属性,选其一即可\ntype ADCTreemapConfig = TreemapConfig & {\n valueField: string;\n};\nexport type TreemapProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: ADCTreemapConfig): TreemapConfig => {\n const { valueField = 'value' } = props;\n return {\n legend: false,\n layout: {\n tile: 'treemapBinary',\n paddingInner: 3,\n },\n valueField,\n tooltip: {\n items: [\n (d) => {\n return {\n name: d.data?.name,\n value: d[valueField],\n };\n },\n ],\n },\n style: { fillOpacity: 0.8, labelFontSize: 12 },\n };\n};\nconst transform = (data: TreeNode[]) => {\n return {\n name: 'root',\n children: data,\n };\n};\n\nconst Treemap = (props: TreemapProps) => {\n const config = usePlotConfig('Treemap', defaultConfig, props);\n const { data, ...others } = config;\n const transformData = useMemo(() => transform(data), [data]);\n\n return ;\n};\n\nexport default Treemap;\n","import { isNaN, isString, toNumber } from 'lodash';\nimport React, { useMemo } from 'react';\nimport { TEXT_THEME } from '../../theme';\nimport type { VisTextProps } from '../../types';\nimport { useSvgWrapper } from '../hooks/useSvgWrapper';\nimport { getArcPath } from './getArcPath';\n\nfunction getProportionNumber(\n children: string | string[], // markdown 中传入的 children 文本为 string[]\n origin?: any,\n): number | undefined {\n let result: number | undefined;\n const originNumber = toNumber(origin);\n if (!isNaN(originNumber)) {\n result = originNumber;\n } else {\n let text;\n if (isString(children)) {\n text = children;\n } else if (Array.isArray(children) && isString(children[0])) {\n text = children[0];\n }\n if (text?.endsWith?.('%')) {\n const percentageStr = text?.replace(/%$/, '');\n const proportionNumber = toNumber(percentageStr);\n if (!isNaN(proportionNumber)) result = proportionNumber / 100;\n }\n }\n return result;\n}\n\nexport const ProportionChart: React.FC = ({ origin, children }) => {\n const data = useMemo(() => getProportionNumber(children, origin), [children, origin]);\n const [Svg, fontSize] = useSvgWrapper();\n const r = fontSize / 2;\n return (\n data && (\n \n \n {data >= 1 ? (\n \n ) : (\n \n )}\n \n )\n );\n};\n","import React, { useMemo, type FC } from 'react';\nimport { useMapConfig } from '../ConfigProvider/hooks';\nimport type { MapProps } from '../Map';\nimport Map from '../Map';\nimport type { PathMap as _PathMap, MarkerData, Polyline } from '../types/map';\nimport { formatMakerStyle, formatPolylineStyle } from '../utils/map';\n\nexport type PathMapProps = MapProps & _PathMap;\n\nconst PathMap: FC = (props) => {\n const { data = [], markerStyle = {}, pathStyle = {}, ...rest } = useMapConfig('PathMap', props);\n\n const markerdata = useMemo(() => {\n const markers: MarkerData[] = [];\n data.forEach((item) => {\n if (item.markers) {\n markers.push(...item.markers);\n }\n });\n return formatMakerStyle(markers, markerStyle);\n }, [data, markerStyle]);\n\n const linedata = useMemo(() => {\n const lines = data.map((item) => {\n return item.path;\n }) as Polyline[];\n return formatPolylineStyle(lines, pathStyle);\n }, [data, pathStyle]);\n\n return ;\n};\n\nexport default PathMap;\n","import { get } from 'lodash';\n\nconst ADC_ENCODE_FIELDS = new Map([\n ['x', 'xField'],\n ['y', 'yField'],\n ['series', 'seriesField'],\n ['size', 'sizeField'],\n ['color', 'colorField'],\n ['shape', 'shapeField'],\n ['y', 'angleField'],\n]);\n\n/**\n * 将 G2 encode 写法转换为 ADC Plot 字段映射\n */\nfunction visG2Encode2ADCEncode>(config: T) {\n const encodeConfig = config.encode;\n if (!encodeConfig) return config;\n\n const _config = { ...config };\n for (const field of encodeConfig) {\n const adcField = ADC_ENCODE_FIELDS.get(field);\n if (adcField) {\n // @ts-expect-error\n _config[adcField] = encodeConfig[field];\n }\n }\n\n return _config;\n}\n\n/**\n * 将缩写的 axisTitle 转换为 G2 axis 配置\n */\nfunction axisTitle2G2axis>(config: T) {\n const { axisXTitle, axisYTitle } = config;\n const _config: T = { axis: {}, ...config };\n\n if (axisXTitle) {\n if (get(_config, 'axis.x')) {\n _config.axis.x.title = axisXTitle;\n } else {\n _config.axis.x = { title: axisXTitle };\n }\n }\n\n if (axisYTitle) {\n if (get(_config, 'axis.y')) {\n _config.axis.y.title = axisYTitle;\n } else {\n _config.axis.y = { title: axisYTitle };\n }\n }\n\n return _config;\n}\n\n/**\n * 将 GPT-Vis 图表的配置转换为 ADC 的配置\n */\nexport function transform2ADCProps>(props: T) {\n const transformedEncode = visG2Encode2ADCEncode(props);\n const transformedAxis = axisTitle2G2axis(transformedEncode);\n\n return transformedAxis;\n}\n","import type { LineConfig } from '@ant-design/plots';\nimport { Line as ADCLine } from '@ant-design/plots';\nimport { get } from 'lodash';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\nexport type LineDataItem = {\n time: string | number;\n value: number;\n [key: string]: string | number;\n};\n\nexport type LineProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: LineConfig): LineConfig => {\n const { data, xField = 'time', yField = 'value' } = props;\n const hasGroupField = get(data, '[0].group') !== undefined;\n const axisYTitle = get(props, 'axis.y.title');\n\n return {\n xField,\n yField,\n colorField: hasGroupField ? 'group' : undefined,\n tooltip: (d) => {\n const tooltipName = axisYTitle || d[xField as string];\n return {\n name: tooltipName,\n value: d[yField as string],\n };\n },\n };\n};\n\nconst Line = (props: LineProps) => {\n const config = usePlotConfig('Line', defaultConfig, props);\n\n return ;\n};\n\nexport default Line;\n","import type { ILayer } from '@antv/l7';\nimport { useScene } from '@antv/larkmap';\nimport { useEffect, useState } from 'react';\nimport type { Map } from '../../types/map';\nimport { setMapContext, setMarkers } from '../../utils/map';\n// 渲染标记点\nexport default (props: Map) => {\n const scene = useScene();\n const [layers, setLayers] = useState([]);\n const removeLayers = () => {\n layers.forEach((item) => {\n scene.removeLayer(item);\n });\n };\n useEffect(() => {\n if (!props.markers) return;\n // 异步调用\n setMapContext(props, scene)?.then(() => {\n // 初始化资源\n const markerLayer = setMarkers(props.markers || []);\n removeLayers();\n markerLayer.forEach((item) => {\n scene.addLayer(item);\n });\n setLayers(markerLayer);\n });\n return () => {\n removeLayers();\n };\n }, [props.markers]);\n\n return null;\n};\n","import type { FlowGraphOptions, G6 } from '@ant-design/graphs';\n\n/**\n * Adjust graph configuration based on data characteristics.\n * @param data - graph data\n * @returns graph options\n */\nexport function getGraphOptionsByData(data: G6.GraphData): FlowGraphOptions {\n if (isLinearStructure(data))\n return {\n node: {\n style: {\n ports: [\n { placement: 'right' },\n { placement: 'left' },\n { placement: 'top' },\n { placement: 'bottom' },\n ],\n },\n },\n layout: {\n type: 'snake',\n cols: 3,\n rowGap: 40,\n },\n };\n return {};\n}\n\nfunction isLinearStructure(data: G6.GraphData) {\n const { nodes = [], edges = [] } = data;\n const inDegree: { [key: G6.ID]: number } = {};\n const outDegree: { [key: G6.ID]: number } = {};\n const adjList: { [key: G6.ID]: G6.ID[] } = {};\n\n nodes.forEach((node) => {\n inDegree[node.id] = 0;\n outDegree[node.id] = 0;\n adjList[node.id] = [];\n });\n\n edges.forEach((edge) => {\n inDegree[edge.target]++;\n outDegree[edge.source]++;\n adjList[edge.source].push(edge.target);\n });\n\n // 检查图是否连通\n // Check if the graph is connected\n const visited: Set = new Set();\n const dfs = (nodeId: G6.ID) => {\n if (visited.has(nodeId)) return;\n visited.add(nodeId);\n adjList[nodeId].forEach(dfs);\n };\n dfs(nodes[0].id);\n if (visited.size !== nodes.length) return false;\n\n // 检查是否有且仅有一个源节点和一个汇节点\n // Check if there is exactly one source node and one sink node\n const sourceNodes = nodes.filter((node) => inDegree[node.id] === 0);\n const sinkNodes = nodes.filter((node) => outDegree[node.id] === 0);\n if (sourceNodes.length !== 1 || sinkNodes.length !== 1) return false;\n\n // 检查中间节点是否只有一个前驱和一个后继\n // Check if the middle nodes have only one predecessor and one successor\n const middleNodes = nodes.filter((node) => inDegree[node.id] === 1 && outDegree[node.id] === 1);\n if (middleNodes.length !== nodes.length - 2) return false;\n\n return true;\n}\n","export type Domain = [number, number];\nexport type Range = [number, number];\n\nexport type Scale = (n: number) => number;\n\nexport const scaleLinear =\n (domain: Domain, range: Range): Scale =>\n (n) => {\n const [d1, d2] = domain;\n const [r1, r2] = range;\n // Returns the intermediate value when the range is zero.\n if (r1 === r2) return (d2 - d1) / 2;\n return (n / (r2 - r1)) * (d2 - d1);\n };\n","import type EventEmitter from '@antv/event-emitter';\nimport React from 'react';\n\ntype GPTVisContextValue = {\n eventBus: EventEmitter;\n};\n\nexport const GPTVisContext = React.createContext(null as any);\n\nexport function useGPTVisContext() {\n const context = React.useContext(GPTVisContext);\n if (context === undefined || Object.keys(context).length === 0) {\n throw new Error(`useGPTVisContext must be used within a GPTVisContext.Provider`);\n }\n\n return context as T;\n}\n","import { ConfigProvider, theme as antdTheme } from 'antd';\nimport { isArray } from 'lodash';\nimport { useContext } from 'react';\n\n/** 判断是否运用了 antd dark algorithm */\nexport const useAntdDarkAlgorithm = () => {\n // 放到函数内部,避免用户使用 antd@4,theme 变量不存在情况!!!\n const darkAlgorithm = antdTheme?.darkAlgorithm;\n\n const config = useContext(ConfigProvider.ConfigContext);\n const currentAlgorithm = config.theme?.algorithm;\n\n if (isArray(currentAlgorithm) && currentAlgorithm.includes(darkAlgorithm)) return true;\n return currentAlgorithm === darkAlgorithm;\n};\n","export function urlToMarkerId(url: string) {\n let hash = 0;\n if (url.length > 0) {\n for (let i = 0; i < url.length; i++) {\n hash = ((hash << 5) - hash + url.charCodeAt(i)) | 0;\n }\n }\n // 将哈希值转换为四位数\n const id = Math.abs(hash % 10000)\n .toString()\n .padStart(4, '0');\n return `marker-${id}`;\n}\n","import type { HistogramConfig } from '@ant-design/plots';\nimport { Histogram as ADCHistogram } from '@ant-design/plots';\nimport React from 'react';\nimport { usePlotConfig } from '../ConfigProvider/hooks';\nimport type { BasePlotProps } from '../types';\n\ntype HistogramDataItem = {\n value: number;\n [key: string]: string | number;\n};\n// binNumber和binWidth为互斥属性,选其一即可\ntype ADCHistogramConfig = Omit;\n\nexport type HistogramProps = BasePlotProps & Partial;\n\nconst defaultConfig = (props: HistogramConfig): ADCHistogramConfig => {\n const { data, binField = 'value', binNumber } = props;\n\n return {\n data,\n binField,\n binNumber,\n style: { inset: 0.5 },\n };\n};\n\nconst Histogram = (props: HistogramProps) => {\n const config = usePlotConfig('Histogram', defaultConfig, props);\n\n return ;\n};\n\nexport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CAAA,8BA/B0C,gBAEZ,YAY9B,IAAM,EAAgB,AAAC,IACrB,GAAM,CAAE,KAAA,CAAI,CAAE,SAAA,EAAW,OAAO,CAAE,UAAA,CAAS,CAAE,CAAG,EAEhD,MAAO,CACL,KAAA,EACA,SAAA,EACA,UAAA,EACA,MAAO,CAAE,MAAO,EAAI,CACtB,EACF,MAQA,EANkB,AAAC,IACjB,IAAM,EAAS,GAAA,eAAa,EAAkB,YAAa,EAAe,GAE1E,MAAO,UAAC,WAAY,EAAE,GAAG,CAAM,GACjC"} \ No newline at end of file diff --git a/components/area/index.html b/components/area/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/area/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/bar/index.html b/components/bar/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/bar/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/chart-code-render/index.html b/components/chart-code-render/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/chart-code-render/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/column/index.html b/components/column/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/column/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/config-provider/index.html b/components/config-provider/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/config-provider/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/dual-axes/index.html b/components/dual-axes/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/dual-axes/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/fishbone-diagram/index.html b/components/fishbone-diagram/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/fishbone-diagram/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/flow-diagram/index.html b/components/flow-diagram/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/flow-diagram/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/gpt-vis/index.html b/components/gpt-vis/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/gpt-vis/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/heat-map/index.html b/components/heat-map/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/heat-map/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/histogram/index.html b/components/histogram/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/histogram/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/indented-tree/index.html b/components/indented-tree/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/indented-tree/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/line/index.html b/components/line/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/line/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/map/index.html b/components/map/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/map/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/mind-map/index.html b/components/mind-map/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/mind-map/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/network-graph/index.html b/components/network-graph/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/network-graph/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/organization-chart/index.html b/components/organization-chart/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/organization-chart/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/path-map/index.html b/components/path-map/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/path-map/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/pie/index.html b/components/pie/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/pie/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/pin-map/index.html b/components/pin-map/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/pin-map/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/radar/index.html b/components/radar/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/radar/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/scatter/index.html b/components/scatter/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/scatter/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/text/index.html b/components/text/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/text/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/treemap/index.html b/components/treemap/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/treemap/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/components/word-cloud/index.html b/components/word-cloud/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/components/word-cloud/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/d030c320-async.4dbee9a5.js b/d030c320-async.4dbee9a5.js new file mode 100644 index 0000000..b50655d --- /dev/null +++ b/d030c320-async.4dbee9a5.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["d030c320"],{d030c320:function(t,r,e){"use strict";e.d(r,"__esModule",{value:!0}),e.d(r,"default",{enumerable:!0,get:function(){return f;}});var n,o,i=e("bc9dc6d3");function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;})(t);}function c(){"use strict";c=function(){return t;};var t={},r=Object.prototype,e=r.hasOwnProperty,n=Object.defineProperty||function(t,r,e){t[r]=e.value;},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",f=o.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r];}try{l({},"");}catch(t){l=function(t,r,e){return t[r]=e;};}function s(t,r,e,o){var i,a,c=Object.create((r&&r.prototype instanceof y?r:y).prototype);return n(c,"_invoke",{value:(i=new j(o||[]),a="suspendedStart",function(r,n){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===r)throw n;return k();}for(i.method=r,i.arg=n;;){var o=i.delegate;if(o){var c=function t(r,e){var n=e.method,o=r.iterator[n];if(void 0===o)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=void 0,t(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var i=h(o,r.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var a=i.arg;return a?a.done?(e[r.resultName]=a.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):a:(e.method="throw",e.arg=TypeError("iterator result is not an object"),e.delegate=null,p);}(o,i);if(c){if(c===p)continue;return c;}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===a)throw a="completed",i.arg;i.dispatchException(i.arg);}else"return"===i.method&&i.abrupt("return",i.arg);a="executing";var u=h(t,e,i);if("normal"===u.type){if(a=i.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:i.done};}"throw"===u.type&&(a="completed",i.method="throw",i.arg=u.arg);}})}),c;}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)};}catch(t){return{type:"throw",arg:t};}}t.wrap=s;var p={};function y(){}function v(){}function d(){}var g={};l(g,i,function(){return this;});var m=Object.getPrototypeOf,w=m&&m(m(O([])));w&&w!==r&&e.call(w,i)&&(g=w);var b=d.prototype=y.prototype=Object.create(g);function x(t){["next","throw","return"].forEach(function(r){l(t,r,function(t){return this._invoke(r,t);});});}function L(t,r){var o;n(this,"_invoke",{value:function(n,i){function c(){return new r(function(o,c){!function n(o,i,c,u){var f=h(t[o],t,i);if("throw"!==f.type){var l=f.arg,s=l.value;return s&&"object"==a(s)&&e.call(s,"__await")?r.resolve(s.__await).then(function(t){n("next",t,c,u);},function(t){n("throw",t,c,u);}):r.resolve(s).then(function(t){l.value=t,c(l);},function(t){return n("throw",t,c,u);});}u(f.arg);}(n,i,o,c);});}return o=o?o.then(c,c):c();}});}function E(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 _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r;}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0);}function O(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function r(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=e.call(i,"catchLoc"),u=e.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),_(e),p;}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;_(e);}return o;}}throw Error("illegal catch attempt");},delegateYield:function(t,r,e){return this.delegate={iterator:O(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),p;}},t;}function u(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value;}catch(t){e(t);return;}c.done?r(u):Promise.resolve(u).then(n,o);}var f=(n=c().mark(function t(r){return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,i.transform)(r,{transforms:["typescript","jsx","imports"]}).code);case 1:case"end":return t.stop();}},t);}),o=function(){var t=this,r=arguments;return new Promise(function(e,o){var i=n.apply(t,r);function a(t){u(i,e,o,a,c,"next",t);}function c(t){u(i,e,o,a,c,"throw",t);}a(void 0);});},function(t){return o.apply(this,arguments);});}}]); +//# sourceMappingURL=d030c320-async.4dbee9a5.js.map \ No newline at end of file diff --git a/d030c320-async.4dbee9a5.js.map b/d030c320-async.4dbee9a5.js.map new file mode 100644 index 0000000..4a6fd3a --- /dev/null +++ b/d030c320-async.4dbee9a5.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js"],"sourcesContent":["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 _regeneratorRuntime() { \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = \"function\" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || \"@@iterator\", asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\", toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, \"\"); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: \"normal\", arg: fn.call(obj, arg) }; } catch (err) { return { type: \"throw\", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { [\"next\", \"throw\", \"return\"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (\"throw\" !== record.type) { var result = record.arg, value = result.value; return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke(\"next\", value, resolve, reject); }, function (err) { invoke(\"throw\", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke(\"throw\", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, \"_invoke\", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = \"suspendedStart\"; return function (method, arg) { if (\"executing\" === state) throw new Error(\"Generator is already running\"); if (\"completed\" === state) { if (\"throw\" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) { if (\"suspendedStart\" === state) throw state = \"completed\", context.arg; context.dispatchException(context.arg); } else \"return\" === context.method && context.abrupt(\"return\", context.arg); state = \"executing\"; var record = tryCatch(innerFn, self, context); if (\"normal\" === record.type) { if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator.return && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = \"normal\", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: \"root\" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if (\"function\" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, \"constructor\", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) { var ctor = \"function\" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, \"toString\", function () { return \"[object Generator]\"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if (\"throw\" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if (\"root\" === entry.tryLoc) return handle(\"end\"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, \"catchLoc\"), hasFinally = hasOwn.call(entry, \"finallyLoc\"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error(\"try statement without catch or finally\"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if (\"throw\" === record.type) throw record.arg; return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (\"throw\" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error(\"illegal catch attempt\"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\nimport { transform } from 'sucrase';\nvar compile = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(code) {\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", transform(code, {\n transforms: ['typescript', 'jsx', 'imports']\n }).code);\n case 1:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return function compile(_x) {\n return _ref.apply(this, arguments);\n };\n}();\nexport default compile;"],"names":[],"mappings":"6PAuBA,+CAAA,UApB2B,EAGrB,MAFoB,YAJ1B,SAAS,EAAQ,CAAG,EAA+B,MAAO,CAAA,EAAU,YAAc,OAAO,QAAU,UAAY,OAAO,OAAO,QAAQ,CAAG,SAAU,CAAG,EAAI,OAAO,OAAO,EAAK,EAAI,SAAU,CAAG,EAAI,OAAO,GAAO,YAAc,OAAO,QAAU,EAAI,WAAW,GAAK,QAAU,IAAQ,OAAO,SAAS,CAAG,SAAW,OAAO,EAAK,CAAA,EAAW,GAAM,CAC/U,SAAS,IAAwB,aAAmK,EAAsB,WAAiC,OAAO,EAAS,EAAG,IAAI,EAAU,CAAC,EAAG,EAAK,OAAO,SAAS,CAAE,EAAS,EAA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,IAAI,CAAE,EAAO,UAAW,OAAO,IAAI,QAAQ,SAAU,CAAO,CAAE,CAAM,EAAI,IAAI,EAAM,EAAG,KAAK,CAAC,EAAM,GAAO,SAAS,EAAM,CAAK,EAAI,EAAmB,EAAK,EAAS,EAAQ,EAAO,EAAQ,OAAQ,GAAQ,CAAE,SAAS,EAAO,CAAG,EAAI,EAAmB,EAAK,EAAS,EAAQ,EAAO,EAAQ,QAAS,GAAM,CAAE,EAAM,KAAA,GAAY,GAAI,EAgBxX,SAAiB,CAAE,EACxB,OAAO,EAAK,KAAK,CAAC,IAAI,CAAE,WAC1B"} \ No newline at end of file diff --git a/d540738c-async.6adb3039.js b/d540738c-async.6adb3039.js new file mode 100644 index 0000000..d11960f --- /dev/null +++ b/d540738c-async.6adb3039.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["d540738c"],{d540738c:function(e,d,s){"use strict";s.d(d,"__esModule",{value:!0}),s.d(d,"default",{enumerable:!0,get:function(){return x;}});var i=s("777fffbe"),a=s("a2e753d8"),l=i._(s("1b472ae8")),n=i._(s("49f20ac6")),r=s("5ca000fa"),c=i._(s("9b3f9685")),h=s("9d065c04");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h1",{id:"pinmap-\u70B9\u6807\u6CE8\u5730\u56FE",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pinmap-\u70B9\u6807\u6CE8\u5730\u56FE",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"PinMap \u70B9\u6807\u6CE8\u5730\u56FE"]}),(0,a.jsx)("p",{children:e[0].value}),(0,a.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,a.jsx)(r.DumiDemoGrid,{items:[{demo:{id:"pinmap-demo-default"},previewerProps:{title:"\u9ED8\u8BA4\u5730\u56FE",filename:"src/PinMap/demos/default.tsx"}},{demo:{id:"pinmap-demo-marker"},previewerProps:{title:"\u81EA\u5B9A\u4E49\u6837\u5F0F",filename:"src/PinMap/demos/marker.tsx"}}]}),(0,a.jsx)(r.DumiDemo,{demo:{id:"pinmap-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/PinMap/demos/markdown.tsx"}}),(0,a.jsxs)("div",{className:"markdown",children:[(0,a.jsxs)("h2",{id:"spec",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,a.jsx)(l.default,{lang:"js",children:e[1].value}),(0,a.jsxs)("h2",{id:"api",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,a.jsxs)("h3",{id:"pinmapprops",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#pinmapprops",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"PinMapProps"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[2].value}),(0,a.jsx)("th",{children:e[3].value}),(0,a.jsx)("th",{children:e[4].value}),(0,a.jsx)("th",{children:e[5].value}),(0,a.jsx)("th",{children:e[6].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[7].value}),(0,a.jsx)("td",{children:e[8].value}),(0,a.jsx)("td",{children:e[9].value}),(0,a.jsx)("td",{children:e[10].value}),(0,a.jsx)("td",{children:e[11].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[12].value}),(0,a.jsx)("td",{children:e[13].value}),(0,a.jsx)("td",{children:e[14].value}),(0,a.jsx)("td",{children:e[15].value}),(0,a.jsx)("td",{children:e[16].value})]})]})]}),(0,a.jsxs)("h3",{id:"markerdata",children:[(0,a.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#markerdata",children:(0,a.jsx)("span",{className:"icon icon-link"})}),"MarkerData"]}),(0,a.jsxs)(n.default,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:e[17].value}),(0,a.jsx)("th",{children:e[18].value}),(0,a.jsx)("th",{children:e[19].value}),(0,a.jsx)("th",{children:e[20].value}),(0,a.jsx)("th",{children:e[21].value})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[22].value}),(0,a.jsx)("td",{children:e[23].value}),(0,a.jsx)("td",{children:e[24].value}),(0,a.jsx)("td",{children:e[25].value}),(0,a.jsx)("td",{children:e[26].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[27].value}),(0,a.jsx)("td",{children:e[28].value}),(0,a.jsx)("td",{children:e[29].value}),(0,a.jsx)("td",{children:e[30].value}),(0,a.jsx)("td",{children:e[31].value})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e[32].value}),(0,a.jsx)("td",{children:e[33].value}),(0,a.jsx)("td",{children:e[34].value}),(0,a.jsx)("td",{children:e[35].value}),(0,a.jsx)("td",{children:e[36].value})]})]})]})]})]});}var x=function(){return(0,a.jsx)(r.DumiPage,{children:(0,a.jsx)(h.Suspense,{fallback:(0,a.jsx)(c.default,{}),children:(0,a.jsx)(t,{})})});};}}]); +//# sourceMappingURL=d540738c-async.6adb3039.js.map \ No newline at end of file diff --git a/d540738c-async.6adb3039.js.map b/d540738c-async.6adb3039.js.map new file mode 100644 index 0000000..b4b829a --- /dev/null +++ b/d540738c-async.6adb3039.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/PinMap/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"PinMap 点标注地图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"PinMapProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}
{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}

{\"MarkerData\"}

{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}
{$$contentTexts[32].value}{$$contentTexts[33].value}{$$contentTexts[34].value}{$$contentTexts[35].value}{$$contentTexts[36].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAqDA,+CAAA,kDAhDuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,kDAAe,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,kDAAgB,UAAC,QAAK,UAAU,qBAAwB,2CAAoB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,cAAY,EAAC,MAAO,CAAC,CAC7V,KAAQ,CACN,GAAM,qBACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,8BACd,CACF,EAAG,CACD,KAAQ,CACN,GAAM,oBACR,EACA,eAAkB,CAChB,MAAS,iCACT,SAAY,6BACd,CACF,EAAE,GAAI,UAAC,UAAQ,EACb,KAAQ,CACN,GAAM,sBACR,EACA,eAAkB,CAChB,MAAS,qCACT,SAAY,+BACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,cAAM,CAAc,CAAC,EAAE,CAAC,KAAK,GAAc,WAAC,MAAG,GAAG,gBAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,gBAAO,UAAC,QAAK,UAAU,qB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C,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,kBAC14D,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/d78fc9ed-async.78bafa66.js b/d78fc9ed-async.78bafa66.js new file mode 100644 index 0000000..3a147aa --- /dev/null +++ b/d78fc9ed-async.78bafa66.js @@ -0,0 +1,22 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["d78fc9ed"],{"1c5d635b":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{Attachments:function(){return r.default;},Bubble:function(){return f.default;},Conversations:function(){return l.default;},Prompts:function(){return i.default;},Sender:function(){return d.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return o.default;},Welcome:function(){return s.default;},XProvider:function(){return v.default;},XRequest:function(){return A.default;},XStream:function(){return _.default;},useXAgent:function(){return b.default;},useXChat:function(){return m.default;},version:function(){return u.default;}});var t=n("777fffbe"),u=t._(n("61551e8a")),r=t._(n("150d8a7a")),d=t._(n("013e81db")),f=t._(n("d161127f")),l=t._(n("11781cbc")),i=t._(n("5a025bc4")),o=t._(n("e2d1bf07")),c=t._(n("d0c39811")),s=t._(n("0176aebf")),v=t._(n("8b35f51f")),m=t._(n("92b2492a")),b=t._(n("1e122ed0")),_=t._(n("470d5fd8")),A=t._(n("e0f10014"));},"32aa6a66":function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return o;}});var t=n("a2e753d8");n("39551e86");var u=n("1c5d635b"),r=n("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{77E9}\u{9635}\u{6811}\u{56FE} + +\`\`\`vis-chart +{ + "type": "treemap", + "data": [ + { + "name": "\u{4EA7}\u{54C1}A", + "value": 500, + "children": [ + { "name": "\u{5B50}\u{4EA7}\u{54C1}A1", "value": 200 }, + { "name": "\u{5B50}\u{4EA7}\u{54C1}A2", "value": 300 } + ] + }, + { "name": "\u{4EA7}\u{54C1}B", "value": 400 } + ] +} + +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,r.withChartCode)({components:{[r.ChartType.Treemap]:r.Treemap}}),i=e=>(0,t.jsx)(r.GPTVisLite,{components:{code:l},children:e});var o=()=>(0,t.jsxs)("div",{style:f,children:[(0,t.jsx)(u.Bubble,{placement:"end",content:"\u7528\u77E9\u9635\u6811\u56FE\u5C55\u793A\u4EA7\u54C1\u9500\u552E\u60C5\u51B5\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,t.jsx)(u.Bubble,{content:d,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},bfbc2563:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return d;}});var t=n("a2e753d8");n("2c47140d");var u=n("df67f0d6");let r=[{name:"\u5206\u7C7B 1",value:560},{name:"\u5206\u7C7B 2",value:500},{name:"\u5206\u7C7B 3",value:150},{name:"\u5206\u7C7B 4",value:140},{name:"\u5206\u7C7B 5",value:115},{name:"\u5206\u7C7B 6",value:95},{name:"\u5206\u7C7B 7",value:90},{name:"\u5206\u7C7B 8",value:75},{name:"\u5206\u7C7B 9",value:98},{name:"\u5206\u7C7B 10",value:60},{name:"\u5206\u7C7B 11",value:45},{name:"\u5206\u7C7B 12",value:40},{name:"\u5206\u7C7B 13",value:40},{name:"\u5206\u7C7B 14",value:35},{name:"\u5206\u7C7B 15",value:40},{name:"\u5206\u7C7B 16",value:40},{name:"\u5206\u7C7B 17",value:40},{name:"\u5206\u7C7B 18",value:30},{name:"\u5206\u7C7B 19",value:28},{name:"\u5206\u7C7B 20",value:16}];var d=()=>(0,t.jsx)(u.Treemap,{data:r});},df67f0d6:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.e(a,{ConfigProvider:function(){return f.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return o.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var t=n("d1751d7c"),u=n("777fffbe"),r=n("852bbaa9");t._(n("5639510f"),a),t._(n("d382b880"),a);var d=n("a574afdb"),f=u._(n("a7265236")),l=u._(n("2c69d5f6")),i=r._(n("033b3748")),o=u._(n("7cf1dc46"));},e7bada6d:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"Source",{enumerable:!0,get:function(){return u.default;}});var t=n("d1751d7c"),u=n("777fffbe")._(n("b00709ad"));t._(n("5e2dda25"),a),t._(n("969efd31"),a),t._(n("f21af0e0"),a),t._(n("33eda958"),a),t._(n("112b9a67"),a),t._(n("a45613fd"),a),t._(n("432777ba"),a);}}]); +//# sourceMappingURL=d78fc9ed-async.78bafa66.js.map \ No newline at end of file diff --git a/d78fc9ed-async.78bafa66.js.map b/d78fc9ed-async.78bafa66.js.map new file mode 100644 index 0000000..7cb3152 --- /dev/null +++ b/d78fc9ed-async.78bafa66.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Treemap/demos/markdown.tsx?techStack=react","src/Treemap/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Treemap, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个矩阵树图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"treemap\",\n \"data\": [\n {\n \"name\": \"产品A\",\n \"value\": 500,\n \"children\": [\n { \"name\": \"子产品A1\", \"value\": 200 },\n { \"name\": \"子产品A2\", \"value\": 300 }\n ]\n },\n { \"name\": \"产品B\", \"value\": 400 }\n ]\n}\n\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Treemap]: Treemap },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/demos/common.tsx?watch=parent';import { Treemap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { name: '分类 1', value: 560 },\n { name: '分类 2', value: 500 },\n { name: '分类 3', value: 150 },\n { name: '分类 4', value: 140 },\n { name: '分类 5', value: 115 },\n { name: '分类 6', value: 95 },\n { name: '分类 7', value: 90 },\n { name: '分类 8', value: 75 },\n { name: '分类 9', value: 98 },\n { name: '分类 10', value: 60 },\n { name: '分类 11', value: 45 },\n { name: '分类 12', value: 40 },\n { name: '分类 13', value: 40 },\n { name: '分类 14', value: 35 },\n { name: '分类 15', value: 40 },\n { name: '分类 16', value: 40 },\n { name: '分类 17', value: 40 },\n { name: '分类 18', value: 30 },\n { name: '分类 19', value: 28 },\n { name: '分类 20', value: 16 },\n];\n\nexport default () => {\n return ;\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FC6BpC,+CAAA,4BA1CO,oBAAyH,gBAClE,YAG9D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;AAoBzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,OAAO,CAAC,CAAE,SAAO,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AO,EAAC,KAAM,kFClBJ,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/da038fda-async.7565858b.js b/da038fda-async.7565858b.js new file mode 100644 index 0000000..5231483 --- /dev/null +++ b/da038fda-async.7565858b.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["da038fda"],{"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return r.default;},Bubble:function(){return o.default;},Conversations:function(){return i.default;},Prompts:function(){return c.default;},Sender:function(){return u.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return l.default;},Welcome:function(){return f.default;},XProvider:function(){return m.default;},XRequest:function(){return I.default;},XStream:function(){return b.default;},useXAgent:function(){return v.default;},useXChat:function(){return p.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),r=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),i=t._(a("11781cbc")),c=t._(a("5a025bc4")),l=t._(a("e2d1bf07")),s=t._(a("d0c39811")),f=t._(a("0176aebf")),m=t._(a("8b35f51f")),p=t._(a("92b2492a")),v=t._(a("1e122ed0")),b=t._(a("470d5fd8")),I=t._(a("e0f10014"));},"4621c9e0":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("039a5825");let t=[{value:"\u601D\u7EF4\u5BFC\u56FE\uFF0C\u76F4\u89C2\u5730\u5C55\u793A\u4FE1\u606F\u7684\u5C42\u6B21\u7ED3\u6784\u548C\u5173\u8054\u5173\u7CFB\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "mind-map",\n "data": {\n "name": "main topic",\n "children": [\n { "name": "topic 1", "children": [{ "name": "sub topic 1-1" }] },\n { "name": "topic 2" },\n { "name": "topic 3" }\n ]\n }\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"MindMapData",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"name",paraId:3,tocIndex:7},{value:"string",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u8282\u70B9\u7684\u540D\u79F0\uFF0C\u7528\u4E8E\u663E\u793A\u5728\u601D\u7EF4\u5BFC\u56FE\u7684\u8282\u70B9\u4E0A",paraId:3,tocIndex:7},{value:"children",paraId:3,tocIndex:7},{value:"MindMapData[]",paraId:3,tocIndex:7},{value:"\u5426",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u5F53\u524D\u8282\u70B9\u7684\u5B50\u8282\u70B9\u96C6\u5408\u3002\u5982\u679C\u5F53\u524D\u8282\u70B9\u6CA1\u6709\u5B50\u8282\u70B9\uFF0C\u8BE5\u5B57\u6BB5\u53EF\u4EE5\u7701\u7565\u3002\u6BCF\u4E2A\u5B50\u8282\u70B9\u672C\u8EAB\u4E5F\u662F\u4E00\u4E2A ",paraId:3,tocIndex:7},{value:"MindMapData",paraId:3,tocIndex:7},{value:" \u5BF9\u8C61\uFF0C\u8FD9\u610F\u5473\u7740\u5B83\u53EF\u4EE5\u5305\u542B\u81EA\u5DF1\u7684\u5B50\u8282\u70B9\uFF0C\u4ECE\u800C\u9012\u5F52\u5730\u6784\u5EFA\u51FA\u4E00\u4E2A\u591A\u5C42\u6B21\u7684\u6811\u72B6\u7ED3\u6784",paraId:3,tocIndex:7}];},"883ef453":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("d37f1b50");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, GPTVisLite, MindMap, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u601D\u7EF4\u5BFC\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "mind-map",\n "data": {\n "name": "\u53F0\u98CE\u5F62\u6210\u7684\u56E0\u7D20",\n "children": [\n {\n "name": "\u6C14\u8C61\u6761\u4EF6",\n "children": [\n { "name": "\u6E29\u6696\u7684\u6D77\u6C34" },\n { "name": "\u6C14\u538B\u5206\u5E03" },\n { "name": "\u6E7F\u5EA6\u6C34\u5E73" },\n { "name": "\u98CE\u7684\u5207\u53D8" }\n ]\n },\n {\n "name": "\u5730\u7406\u73AF\u5883",\n "children": [\n { "name": "\u5927\u9646\u67B6\u7684\u5F62\u72B6\u4E0E\u6DF1\u5EA6" },\n { "name": "\u6D77\u6D0B\u6696\u6D41\u7684\u5206\u5E03" },\n { "name": "\u70ED\u5E26\u5730\u533A\u7684\u6C14\u5019\u7279\u5F81" },\n { "name": "\u5C9B\u5C7F\u7684\u5F71\u54CD" }\n ]\n }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.MindMap]: MindMap },\n style: { width: 500 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},a082bf12:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("f64ca6db");var t="import { MindMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: '\u9879\u76EE\u8BA1\u5212',\n children: [\n {\n name: '\u7814\u7A76\u9636\u6BB5',\n children: [{ name: '\u5E02\u573A\u8C03\u7814' }, { name: '\u6280\u672F\u53EF\u884C\u6027\u5206\u6790' }],\n },\n {\n name: '\u8BBE\u8BA1\u9636\u6BB5',\n children: [{ name: '\u4EA7\u54C1\u529F\u80FD\u786E\u5B9A' }, { name: 'UI \u8BBE\u8BA1' }],\n },\n {\n name: '\u5F00\u53D1\u9636\u6BB5',\n children: [{ name: '\u7F16\u5199\u4EE3\u7801' }, { name: '\u5355\u5143\u6D4B\u8BD5' }],\n },\n {\n name: '\u6D4B\u8BD5\u9636\u6BB5',\n children: [{ name: '\u529F\u80FD\u6D4B\u8BD5' }, { name: '\u6027\u80FD\u6D4B\u8BD5' }],\n },\n ],\n};\n\nexport default () => ;\n";},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return l.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),r=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=d._(a("a7265236")),i=d._(a("2c69d5f6")),c=r._(a("033b3748")),l=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},fa12b59c:function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return i;}});var d=a("852bbaa9"),r=d._(a("9d065c04"));a("039a5825");var u=d._(a("df67f0d6")),o=d._(a("1c5d635b"));let i={"mindmap-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5024fe4d")]).then(a.dr(t,a.bind(a,"4af10e80"))))),asset:{type:"BLOCK",id:"mindmap-demo-common",refAtomIds:["MindMap"],dependencies:{"index.tsx":{type:"FILE",value:a("a082bf12").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"mindmap-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5024fe4d")]).then(a.dr(t,a.bind(a,"6dfbec42"))))),asset:{type:"BLOCK",id:"mindmap-demo-markdown",refAtomIds:["MindMap"],dependencies:{"index.tsx":{type:"FILE",value:a("883ef453").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};}}]); +//# sourceMappingURL=da038fda-async.7565858b.js.map \ No newline at end of file diff --git a/da038fda-async.7565858b.js.map b/da038fda-async.7565858b.js.map new file mode 100644 index 0000000..efc42d4 --- /dev/null +++ b/da038fda-async.7565858b.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/MindMap/index.md?type=text","src/MindMap/demos/markdown.tsx?dumi-raw","src/MindMap/demos/common.tsx?dumi-raw","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/MindMap/index.md?type=demo"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/index.md?watch=parent';\n export const texts = [{\"value\":\"思维导图,直观地展示信息的层次结构和关联关系。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"mind-map\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"main topic\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"topic 1\\\", \\\"children\\\": [{ \\\"name\\\": \\\"sub topic 1-1\\\" }] },\\n { \\\"name\\\": \\\"topic 2\\\" },\\n { \\\"name\\\": \\\"topic 3\\\" }\\n ]\\n }\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"MindMapData\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"name\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"string\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"节点的名称,用于显示在思维导图的节点上\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"children\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"MindMapData[]\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"当前节点的子节点集合。如果当前节点没有子节点,该字段可以省略。每个子节点本身也是一个 \",\"paraId\":3,\"tocIndex\":7},{\"value\":\"MindMapData\",\"paraId\":3,\"tocIndex\":7},{\"value\":\" 对象,这意味着它可以包含自己的子节点,从而递归地构建出一个多层次的树状结构\",\"paraId\":3,\"tocIndex\":7}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, GPTVisLite, MindMap, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个思维导图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"mind-map\\\",\\n \\\"data\\\": {\\n \\\"name\\\": \\\"台风形成的因素\\\",\\n \\\"children\\\": [\\n {\\n \\\"name\\\": \\\"气象条件\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"温暖的海水\\\" },\\n { \\\"name\\\": \\\"气压分布\\\" },\\n { \\\"name\\\": \\\"湿度水平\\\" },\\n { \\\"name\\\": \\\"风的切变\\\" }\\n ]\\n },\\n {\\n \\\"name\\\": \\\"地理环境\\\",\\n \\\"children\\\": [\\n { \\\"name\\\": \\\"大陆架的形状与深度\\\" },\\n { \\\"name\\\": \\\"海洋暖流的分布\\\" },\\n { \\\"name\\\": \\\"热带地区的气候特征\\\" },\\n { \\\"name\\\": \\\"岛屿的影响\\\" }\\n ]\\n }\\n ]\\n }\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.MindMap]: MindMap },\\n style: { width: 500 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/common.tsx?watch=parent';\n export default \"import { MindMap } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = {\\n name: '项目计划',\\n children: [\\n {\\n name: '研究阶段',\\n children: [{ name: '市场调研' }, { name: '技术可行性分析' }],\\n },\\n {\\n name: '设计阶段',\\n children: [{ name: '产品功能确定' }, { name: 'UI 设计' }],\\n },\\n {\\n name: '开发阶段',\\n children: [{ name: '编写代码' }, { name: '单元测试' }],\\n },\\n {\\n name: '测试阶段',\\n children: [{ name: '功能测试' }, { name: '性能测试' }],\\n },\\n ],\\n};\\n\\nexport default () => ;\\n\";;\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/index.md?watch=parent';\nimport * as mindmap_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as mindmap_demo_common_deps_2 from 'react';\nimport * as mindmap_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'mindmap-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"MindMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"mindmap-demo-common\",\n \"refAtomIds\": [\n \"MindMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": mindmap_demo_common_deps_1,\n \"react\": mindmap_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'mindmap-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"MindMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"mindmap-demo-markdown\",\n \"refAtomIds\": [\n \"MindMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": mindmap_demo_markdown_deps_1,\n \"@antv/gpt-vis\": mindmap_demo_common_deps_1,\n \"react\": mindmap_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCXrB,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,6IAA0B,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2OAAyQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE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,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF"} \ No newline at end of file diff --git a/dc53b393-async.e49e5982.js b/dc53b393-async.e49e5982.js new file mode 100644 index 0000000..b59a1eb --- /dev/null +++ b/dc53b393-async.e49e5982.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["dc53b393"],{dc53b393:function(e,d,n){"use strict";n.d(d,"__esModule",{value:!0}),n.d(d,"default",{enumerable:!0,get:function(){return x;}});var s=n("777fffbe"),i=n("a2e753d8"),l=s._(n("1b472ae8")),r=s._(n("49f20ac6")),a=n("5ca000fa"),t=s._(n("9b3f9685")),c=n("9d065c04");function h(){let{texts:e}=(0,a.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h1",{id:"indentedtree-\u7F29\u8FDB\u6811",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#indentedtree-\u7F29\u8FDB\u6811",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"IndentedTree \u7F29\u8FDB\u6811"]}),(0,i.jsx)("p",{children:e[0].value}),(0,i.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]})]}),(0,i.jsx)(a.DumiDemoGrid,{items:[{demo:{id:"indentedtree-demo-common"},previewerProps:{title:"\u5355\u72EC\u4F7F\u7528",filename:"src/IndentedTree/demos/common.tsx"}},{demo:{id:"indentedtree-demo-markdown"},previewerProps:{title:"\u4F7F\u7528 Markdown \u534F\u8BAE",filename:"src/IndentedTree/demos/markdown.tsx"}}]}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"spec",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,i.jsx)(l.default,{lang:"json",children:e[1].value}),(0,i.jsxs)("h2",{id:"api",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,i.jsxs)("h3",{id:"indentedtreeprops",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#indentedtreeprops",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"IndentedTreeProps"]}),(0,i.jsxs)(r.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[2].value}),(0,i.jsx)("th",{children:e[3].value}),(0,i.jsx)("th",{children:e[4].value}),(0,i.jsx)("th",{children:e[5].value}),(0,i.jsx)("th",{children:e[6].value})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[7].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[8].value})}),(0,i.jsx)("td",{children:e[9].value}),(0,i.jsx)("td",{children:e[10].value}),(0,i.jsx)("td",{children:e[11].value})]})})]}),(0,i.jsxs)("h3",{id:"indentedtreedata",children:[(0,i.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#indentedtreedata",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"IndentedTreeData"]}),(0,i.jsxs)(r.default,{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[12].value}),(0,i.jsx)("th",{children:e[13].value}),(0,i.jsx)("th",{children:e[14].value}),(0,i.jsx)("th",{children:e[15].value}),(0,i.jsx)("th",{children:e[16].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[17].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[18].value})}),(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value}),(0,i.jsx)("td",{children:e[21].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[22].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[23].value})}),(0,i.jsx)("td",{children:e[24].value}),(0,i.jsx)("td",{children:e[25].value}),(0,i.jsxs)("td",{children:[e[26].value,(0,i.jsx)("code",{children:e[27].value}),e[28].value]})]})]})]})]})]});}var x=function(){return(0,i.jsx)(a.DumiPage,{children:(0,i.jsx)(c.Suspense,{fallback:(0,i.jsx)(t.default,{}),children:(0,i.jsx)(h,{})})});};}}]); +//# sourceMappingURL=dc53b393-async.e49e5982.js.map \ No newline at end of file diff --git a/dc53b393-async.e49e5982.js.map b/dc53b393-async.e49e5982.js.map new file mode 100644 index 0000000..3ebd7a3 --- /dev/null +++ b/dc53b393-async.e49e5982.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/IndentedTree/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"IndentedTree 缩进树\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"IndentedTreeProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"IndentedTreeData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}{$$contentTexts[27].value}{$$contentTexts[28].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA6CA,+CAAA,kDAxCuB,qBACL,iBAGW,oBAGA,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,4CAAmB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,4CAAoB,UAAC,QAAK,UAAU,qBAAwB,qCAAwB,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,cAAY,EAAC,MAAO,CAAC,CACzW,KAAQ,CACN,GAAM,0BACR,EACA,eAAkB,CAChB,MAAS,2BACT,SAAY,mCAC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,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,QAAmB,WAAC,mBAAM,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,WAAC,gBAAI,CAAc,CAAC,GAAG,CAAC,KAAK,CAAC,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,GAAS,CAAc,CAAC,GAAG,CAAC,KAAK,mBACzqD,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/dda9d791-async.a888f851.js b/dda9d791-async.a888f851.js new file mode 100644 index 0000000..6127743 --- /dev/null +++ b/dda9d791-async.a888f851.js @@ -0,0 +1,101 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["dda9d791"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return d.default;},Bubble:function(){return i.default;},Conversations:function(){return s.default;},Prompts:function(){return f.default;},Sender:function(){return r.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return o.default;},Welcome:function(){return c.default;},XProvider:function(){return A.default;},XRequest:function(){return p.default;},XStream:function(){return _.default;},useXAgent:function(){return h.default;},useXChat:function(){return b.default;},version:function(){return u.default;}});var n=a("777fffbe"),u=n._(a("61551e8a")),d=n._(a("150d8a7a")),r=n._(a("013e81db")),i=n._(a("d161127f")),s=n._(a("11781cbc")),f=n._(a("5a025bc4")),o=n._(a("e2d1bf07")),l=n._(a("d0c39811")),c=n._(a("0176aebf")),A=n._(a("8b35f51f")),b=n._(a("92b2492a")),h=n._(a("1e122ed0")),_=n._(a("470d5fd8")),p=n._(a("e0f10014"));},b26e07f5:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var n=a("a2e753d8");a("a165890a");var u=a("1c5d635b"),d=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{591A}\u{8F74}\u{56FE} + +\`\`\`vis-chart +{ + "type": "dual-axes", + "categories": [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + "series": [ + { + "type": "column", + "data": [ + 26, + 59, + 90, + 264, + 287, + 707, + 1756, + 1822, + 487, + 188, + 60, + 23 + ], + "axisYTitle": "\u{603B}\u{4F53}\u{589E}\u{957F}\u{91CF}" + }, + { + "type": "line", + "data": [ + 2.6, + 5.9, + 9, + 26.4, + 28.7, + 70.7, + 175.6, + 182.2, + 48.7, + 18.8, + 6, + 2.3 + ], + "axisYTitle": "A\u{589E}\u{957F}\u{7387}" + }, + { + "type": "line", + "data": [ + 2, + 2.2, + 3.3, + 4.5, + 6.3, + 10.2, + 20.3, + 23.4, + 23, + 16.5, + 12, + 6.2 + ], + "axisYTitle": "B\u{589E}\u{957F}\u{7387}" + } + ] +} +\`\`\` +`,i={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},s=(0,d.withChartCode)({components:{[d.ChartType.DualAxes]:d.DualAxes},style:{width:350}}),f=e=>(0,n.jsx)(d.GPTVisLite,{components:{code:s},children:e});var o=()=>(0,n.jsxs)("div",{style:i,children:[(0,n.jsx)(u.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,n.jsx)(u.Bubble,{content:r,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},cc7462f0:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return r;}});var n=a("a2e753d8");a("19cf2f23");var u=a("df67f0d6");let d={categories:["2020-08-20","2020-08-21","2020-08-22","2020-08-23","2020-08-24","2020-08-25","2020-08-26","2020-08-27","2020-08-28","2020-08-29","2020-08-30","2020-08-31","2020-09-01","2020-09-02","2020-09-03","2020-09-04","2020-09-05","2020-09-06","2020-09-07","2020-09-08","2020-09-09","2020-09-10","2020-09-11","2020-09-12","2020-09-13","2020-09-14","2020-09-15","2020-09-16","2020-09-17","2020-09-18"],series:[{type:"column",data:[10868,8786,10824,7860,13253,17015,19298,13937,11541,15244,14247,9402,10440,9345,18459,9763,11074,11770,12206,11434,16218,11914,16781,10555,10899,10713,0,0,20357,10424],axisYTitle:"\u6D88\u8017\u65F6\u95F4"},{type:"line",data:[649.483,1053.7,679.817,638.117,843.3,1092.983,1036.317,1031.9,803.467,830.733,709.867,665.233,696.367,692.867,936.017,782.867,653.8,856.683,777.15,773.283,833.3,793.517,894.45,725.55,709.967,787.6,644.183,1066.65,932.45,753.583],axisYTitle:"\u5B8C\u6210\u65F6\u95F4"}]};var r=()=>(0,n.jsx)(u.DualAxes,{...d});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return i.default;},GPTVis:function(){return s.default;},GPTVisLite:function(){return f.default;},useEventPublish:function(){return f.useEventPublish;},version:function(){return o.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var n=a("d1751d7c"),u=a("777fffbe"),d=a("852bbaa9");n._(a("5639510f"),t),n._(a("d382b880"),t);var r=a("a574afdb"),i=u._(a("a7265236")),s=u._(a("2c69d5f6")),f=d._(a("033b3748")),o=u._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var n=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));n._(a("5e2dda25"),t),n._(a("969efd31"),t),n._(a("f21af0e0"),t),n._(a("33eda958"),t),n._(a("112b9a67"),t),n._(a("a45613fd"),t),n._(a("432777ba"),t);},ec063eeb:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return o;}});var n=a("a2e753d8");a("b2344bf5");var u=a("1c5d635b"),d=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{53CC}\u{8F74}\u{56FE} + +\`\`\`vis-chart +{ + "type": "dual-axes", + "categories": ["2020", "2021", "2022"], + "series": [ + { + "type": "column", + "data": [500, 600, 700], + "axisYTitle": "amount" + }, + { + "type": "line", + "data": [10, 12, 15], + "axisYTitle": "rate" + } + ] +} +\`\`\` +`,i={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},s=(0,d.withChartCode)({components:{[d.ChartType.DualAxes]:d.DualAxes},style:{width:350}}),f=e=>(0,n.jsx)(d.GPTVisLite,{components:{code:s},children:e});var o=()=>(0,n.jsxs)("div",{style:i,children:[(0,n.jsx)(u.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,n.jsx)(u.Bubble,{content:r,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});}}]); +//# sourceMappingURL=dda9d791-async.a888f851.js.map \ No newline at end of file diff --git a/dda9d791-async.a888f851.js.map b/dda9d791-async.a888f851.js.map new file mode 100644 index 0000000..3e32e14 --- /dev/null +++ b/dda9d791-async.a888f851.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/DualAxes/demos/multiple.tsx?techStack=react","src/DualAxes/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/DualAxes/demos/markdown.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/multiple.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个多轴图\n\n\\`\\`\\`vis-chart\n{\n\t\"type\": \"dual-axes\",\n\t\"categories\": [\n\t\t\"Jan\",\n\t\t\"Feb\",\n\t\t\"Mar\",\n\t\t\"Apr\",\n\t\t\"May\",\n\t\t\"Jun\",\n\t\t\"Jul\",\n\t\t\"Aug\",\n\t\t\"Sep\",\n\t\t\"Oct\",\n\t\t\"Nov\",\n\t\t\"Dec\"\n\t],\n\t\"series\": [\n {\n\t\t\t\"type\": \"column\",\n\t\t\t\"data\": [\n\t\t\t\t26,\n\t\t\t\t59,\n\t\t\t\t90,\n\t\t\t\t264,\n\t\t\t\t287,\n\t\t\t\t707,\n\t\t\t\t1756,\n\t\t\t\t1822,\n\t\t\t\t487,\n\t\t\t\t188,\n\t\t\t\t60,\n\t\t\t\t23\n\t\t\t],\n \"axisYTitle\": \"总体增长量\"\n\t\t},\n {\n\t\t\t\"type\": \"line\",\n\t\t\t\"data\": [\n\t\t\t\t2.6,\n\t\t\t\t5.9,\n\t\t\t\t9,\n\t\t\t\t26.4,\n\t\t\t\t28.7,\n\t\t\t\t70.7,\n\t\t\t\t175.6,\n\t\t\t\t182.2,\n\t\t\t\t48.7,\n\t\t\t\t18.8,\n\t\t\t\t6,\n\t\t\t\t2.3\n\t\t\t],\n \"axisYTitle\": \"A增长率\"\n\t\t},\n\t\t{\n\t\t\t\"type\": \"line\",\n\t\t\t\"data\": [\n\t\t\t\t2,\n\t\t\t\t2.2,\n\t\t\t\t3.3,\n\t\t\t\t4.5,\n\t\t\t\t6.3,\n\t\t\t\t10.2,\n\t\t\t\t20.3,\n\t\t\t\t23.4,\n\t\t\t\t23,\n\t\t\t\t16.5,\n\t\t\t\t12,\n\t\t\t\t6.2\n\t\t\t],\n \"axisYTitle\": \"B增长率\"\n\t\t}\n\t]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.DualAxes]: DualAxes },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/common.tsx?watch=parent';import type { DualAxesProps } from '@antv/gpt-vis';\nimport { DualAxes } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst config: DualAxesProps = {\n categories: [\n '2020-08-20',\n '2020-08-21',\n '2020-08-22',\n '2020-08-23',\n '2020-08-24',\n '2020-08-25',\n '2020-08-26',\n '2020-08-27',\n '2020-08-28',\n '2020-08-29',\n '2020-08-30',\n '2020-08-31',\n '2020-09-01',\n '2020-09-02',\n '2020-09-03',\n '2020-09-04',\n '2020-09-05',\n '2020-09-06',\n '2020-09-07',\n '2020-09-08',\n '2020-09-09',\n '2020-09-10',\n '2020-09-11',\n '2020-09-12',\n '2020-09-13',\n '2020-09-14',\n '2020-09-15',\n '2020-09-16',\n '2020-09-17',\n '2020-09-18',\n ],\n series: [\n {\n type: 'column',\n data: [\n 10868, 8786, 10824, 7860, 13253, 17015, 19298, 13937, 11541, 15244, 14247, 9402, 10440,\n 9345, 18459, 9763, 11074, 11770, 12206, 11434, 16218, 11914, 16781, 10555, 10899, 10713, 0,\n 0, 20357, 10424,\n ],\n axisYTitle: '消耗时间',\n },\n {\n type: 'line',\n data: [\n 649.483, 1053.7, 679.817, 638.117, 843.3, 1092.983, 1036.317, 1031.9, 803.467, 830.733,\n 709.867, 665.233, 696.367, 692.867, 936.017, 782.867, 653.8, 856.683, 777.15, 773.283,\n 833.3, 793.517, 894.45, 725.55, 709.967, 787.6, 644.183, 1066.65, 932.45, 753.583,\n ],\n axisYTitle: '完成时间',\n },\n ],\n};\n\nexport default () => {\n return ;\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, DualAxes, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个双轴图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"dual-axes\",\n \"categories\": [\"2020\", \"2021\", \"2022\"],\n \"series\": [\n {\n \"type\": \"column\",\n \"data\": [500, 600, 700],\n \"axisYTitle\": \"amount\"\n },\n {\n \"type\": \"line\",\n \"data\": [10, 12, 15],\n \"axisYTitle\": \"rate\"\n }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.DualAxes]: DualAxes },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,0FCwFpC,+CAAA,4BArGO,oBAA0H,gBAClE,YAG/D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,QAAQ,CAAC,CAAE,UAAQ,AAAC,EAC7C,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAG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A,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCoCd,+CAAA,4BA5CO,oBAA0H,gBAClE,YAG/D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;AAqBzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,QAAQ,CAAC,CAAE,UAAQ,AAAC,EAC7C,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,qEACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE"} \ No newline at end of file diff --git a/df67f0d6-async.7becdda6.js b/df67f0d6-async.7becdda6.js new file mode 100644 index 0000000..ac7ce5a --- /dev/null +++ b/df67f0d6-async.7becdda6.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["df67f0d6"],{df67f0d6:function(e,t,f){"use strict";f.d(t,"__esModule",{value:!0}),f.e(t,{ConfigProvider:function(){return i.default;},GPTVis:function(){return r.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return l.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var u=f("d1751d7c"),n=f("777fffbe"),a=f("852bbaa9");u._(f("5639510f"),t),u._(f("d382b880"),t);var d=f("a574afdb"),i=n._(f("a7265236")),r=n._(f("2c69d5f6")),o=a._(f("033b3748")),l=n._(f("7cf1dc46"));},e7bada6d:function(e,t,f){"use strict";f.d(t,"__esModule",{value:!0}),f.d(t,"Source",{enumerable:!0,get:function(){return n.default;}});var u=f("d1751d7c"),n=f("777fffbe")._(f("b00709ad"));u._(f("5e2dda25"),t),u._(f("969efd31"),t),u._(f("f21af0e0"),t),u._(f("33eda958"),t),u._(f("112b9a67"),t),u._(f("a45613fd"),t),u._(f("432777ba"),t);}}]); +//# sourceMappingURL=df67f0d6-async.7becdda6.js.map \ No newline at end of file diff --git a/df67f0d6-async.7becdda6.js.map b/df67f0d6-async.7becdda6.js.map new file mode 100644 index 0000000..a1266e8 --- /dev/null +++ b/df67f0d6-async.7becdda6.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"8PASoB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/e7bada6d-async.6c170b68.js b/e7bada6d-async.6c170b68.js new file mode 100644 index 0000000..70775f0 --- /dev/null +++ b/e7bada6d-async.6c170b68.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["e7bada6d"],{e7bada6d:function(e,a,d){"use strict";d.d(a,"__esModule",{value:!0}),d.d(a,"Source",{enumerable:!0,get:function(){return l.default;}});var f=d("d1751d7c"),l=d("777fffbe")._(d("b00709ad"));f._(d("5e2dda25"),a),f._(d("969efd31"),a),f._(d("f21af0e0"),a),f._(d("33eda958"),a),f._(d("112b9a67"),a),f._(d("a45613fd"),a),f._(d("432777ba"),a);}}]); +//# sourceMappingURL=e7bada6d-async.6c170b68.js.map \ No newline at end of file diff --git a/e7bada6d-async.6c170b68.js.map b/e7bada6d-async.6c170b68.js.map new file mode 100644 index 0000000..baaedcc --- /dev/null +++ b/e7bada6d-async.6c170b68.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"6PAUE,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/e88e3cd8-async.0a0efd0a.js b/e88e3cd8-async.0a0efd0a.js new file mode 100644 index 0000000..f59cada --- /dev/null +++ b/e88e3cd8-async.0a0efd0a.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["e88e3cd8"],{e88e3cd8:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"default",{enumerable:!0,get:function(){return x;}});var i=n("777fffbe"),d=n("a2e753d8"),s=i._(n("1b472ae8")),r=i._(n("49f20ac6")),l=n("5ca000fa"),c=i._(n("9b3f9685")),h=n("9d065c04");function t(){let{texts:e}=(0,l.useRouteMeta)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h1",{id:"organizationchart-\u7EC4\u7EC7\u67B6\u6784\u56FE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#organizationchart-\u7EC4\u7EC7\u67B6\u6784\u56FE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"OrganizationChart \u7EC4\u7EC7\u67B6\u6784\u56FE"]}),(0,d.jsx)("p",{children:e[0].value}),(0,d.jsxs)("h2",{id:"\u4EE3\u7801\u6F14\u793A",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u6F14\u793A",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u6F14\u793A"]}),(0,d.jsxs)("h3",{id:"\u5355\u72EC\u4F7F\u7528",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5355\u72EC\u4F7F\u7528",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u5355\u72EC\u4F7F\u7528"]})]}),(0,d.jsx)(l.DumiDemo,{demo:{id:"organizationchart-demo-common"},previewerProps:{filename:"src/OrganizationChart/demos/common.tsx"}}),(0,d.jsx)("div",{className:"markdown",children:(0,d.jsxs)("h3",{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-markdown-\u534F\u8BAE",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 Markdown \u534F\u8BAE"]})}),(0,d.jsx)(l.DumiDemo,{demo:{id:"organizationchart-demo-markdown"},previewerProps:{filename:"src/OrganizationChart/demos/markdown.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"spec",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#spec",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"Spec"]}),(0,d.jsx)(s.default,{lang:"json",children:e[1].value}),(0,d.jsxs)("h2",{id:"api",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,d.jsxs)("h3",{id:"organizationchartprops",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#organizationchartprops",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"OrganizationChartProps"]}),(0,d.jsxs)(r.default,{children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:e[2].value}),(0,d.jsx)("th",{children:e[3].value}),(0,d.jsx)("th",{children:e[4].value}),(0,d.jsx)("th",{children:e[5].value}),(0,d.jsx)("th",{children:e[6].value})]})}),(0,d.jsx)("tbody",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[7].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[8].value})}),(0,d.jsx)("td",{children:e[9].value}),(0,d.jsx)("td",{children:e[10].value}),(0,d.jsx)("td",{children:e[11].value})]})})]}),(0,d.jsxs)("h3",{id:"organizationchartdata",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#organizationchartdata",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"OrganizationChartData"]}),(0,d.jsxs)(r.default,{children:[(0,d.jsx)("thead",{children:(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:e[12].value}),(0,d.jsx)("th",{children:e[13].value}),(0,d.jsx)("th",{children:e[14].value}),(0,d.jsx)("th",{children:e[15].value}),(0,d.jsx)("th",{children:e[16].value})]})}),(0,d.jsxs)("tbody",{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[17].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[18].value})}),(0,d.jsx)("td",{children:e[19].value}),(0,d.jsx)("td",{children:e[20].value}),(0,d.jsx)("td",{children:e[21].value})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[22].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[23].value})}),(0,d.jsx)("td",{children:e[24].value}),(0,d.jsx)("td",{children:e[25].value}),(0,d.jsx)("td",{children:e[26].value})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{children:e[27].value}),(0,d.jsx)("td",{children:(0,d.jsx)("code",{children:e[28].value})}),(0,d.jsx)("td",{children:e[29].value}),(0,d.jsx)("td",{children:e[30].value}),(0,d.jsxs)("td",{children:[e[31].value,(0,d.jsx)("code",{children:e[32].value}),e[33].value]})]})]})]})]})]});}var x=function(){return(0,d.jsx)(l.DumiPage,{children:(0,d.jsx)(h.Suspense,{fallback:(0,d.jsx)(c.default,{}),children:(0,d.jsx)(t,{})})});};}}]); +//# sourceMappingURL=e88e3cd8-async.0a0efd0a.js.map \ No newline at end of file diff --git a/e88e3cd8-async.0a0efd0a.js.map b/e88e3cd8-async.0a0efd0a.js.map new file mode 100644 index 0000000..9cf01d0 --- /dev/null +++ b/e88e3cd8-async.0a0efd0a.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/OrganizationChart/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"OrganizationChart 组织架构图\"}

{$$contentTexts[0].value}

{\"代码演示\"}

{\"单独使用\"}

{\"使用 Markdown 协议\"}

{\"Spec\"}

{$$contentTexts[1].value}

{\"API\"}

{\"OrganizationChartProps\"}

{$$contentTexts[2].value}{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}
{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}{$$contentTexts[10].value}{$$contentTexts[11].value}

{\"OrganizationChartData\"}

{$$contentTexts[12].value}{$$contentTexts[13].value}{$$contentTexts[14].value}{$$contentTexts[15].value}{$$contentTexts[16].value}
{$$contentTexts[17].value}{$$contentTexts[18].value}{$$contentTexts[19].value}{$$contentTexts[20].value}{$$contentTexts[21].value}
{$$contentTexts[22].value}{$$contentTexts[23].value}{$$contentTexts[24].value}{$$contentTexts[25].value}{$$contentTexts[26].value}
{$$contentTexts[27].value}{$$contentTexts[28].value}{$$contentTexts[29].value}{$$contentTexts[30].value}{$$contentTexts[31].value}{$$contentTexts[32].value}{$$contentTexts[33].value}
;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PA2CA,+CAAA,kDAtCuB,qBACL,iBAEO,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,6DAA0B,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,6DAA2B,UAAC,QAAK,UAAU,qBAAwB,sDAA+B,UAAC,cAAG,CAAc,CAAC,EAAE,CAAC,KAAK,GAAK,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,8BAAY,WAAC,MAAG,GAAG,qCAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,qCAAQ,UAAC,QAAK,UAAU,qBAAwB,iCAAkB,UAAC,UAAQ,EACpe,KAAQ,CACN,GAAM,+BACR,EACA,eAAkB,CAChB,SAAY,wCACd,IACG,UAAC,OAAI,UAAU,oBAAW,WAAC,MAAG,GAAG,+CAAiB,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,+CAAkB,UAAC,QAAK,UAAU,qBAAwB,0CAA4B,UAAC,UAAQ,EAC7L,KAAQ,CACN,GAAM,iCACR,EACA,eAAkB,CAChB,SAAY,0CACd,IACG,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,iBAAO,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iBAAQ,UAAC,QAAK,UAAU,qBAAwB,UAAY,UAAC,SAAU,EAAC,KAAK,gBAAQ,CAAc,CAAC,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AG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,WAAC,gBAAG,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAG,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,KAAa,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,UAAC,eAAI,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,WAAC,gBAAI,CAAc,CAAC,GAAG,CAAC,KAAK,CAAC,UAAC,iBAAM,CAAc,CAAC,GAAG,CAAC,KAAK,GAAS,CAAc,CAAC,GAAG,CAAC,KAAK,mBAC34D,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/eae4b260-async.dbd781b1.js b/eae4b260-async.dbd781b1.js new file mode 100644 index 0000000..3041d3c --- /dev/null +++ b/eae4b260-async.dbd781b1.js @@ -0,0 +1,19 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["eae4b260"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return r.default;},Bubble:function(){return f.default;},Conversations:function(){return o.default;},Prompts:function(){return i.default;},Sender:function(){return d.default;},Suggestion:function(){return l.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return s.default;},XProvider:function(){return b.default;},XRequest:function(){return h.default;},XStream:function(){return g.default;},useXAgent:function(){return _.default;},useXChat:function(){return v.default;},version:function(){return u.default;}});var n=a("777fffbe"),u=n._(a("61551e8a")),r=n._(a("150d8a7a")),d=n._(a("013e81db")),f=n._(a("d161127f")),o=n._(a("11781cbc")),i=n._(a("5a025bc4")),c=n._(a("e2d1bf07")),l=n._(a("d0c39811")),s=n._(a("0176aebf")),b=n._(a("8b35f51f")),v=n._(a("92b2492a")),_=n._(a("1e122ed0")),g=n._(a("470d5fd8")),h=n._(a("e0f10014"));},"9d705fec":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return c;}});var n=a("a2e753d8");a("6ca575ed");var u=a("1c5d635b"),r=a("df67f0d6");let d=` +\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{997C}\u{56FE} + +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ], + "innerRadius": 0.6 +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},o=(0,r.withChartCode)({components:{[r.ChartType.Pie]:r.Pie},style:{width:350,height:350}}),i=e=>(0,n.jsx)(r.GPTVisLite,{components:{code:o},children:e});var c=()=>(0,n.jsxs)("div",{style:f,children:[(0,n.jsx)(u.Bubble,{placement:"end",content:"\u53EF\u89C6\u5316\u4E00\u4E0B\u6570\u636E\u7684\u5360\u6BD4",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,n.jsx)(u.Bubble,{content:d,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},d55c5a58:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return d;}});var n=a("a2e753d8");a("42213b1f");var u=a("df67f0d6");let r=[{category:"\u5206\u7C7B\u4E00",value:27},{category:"\u5206\u7C7B\u4E8C",value:25},{category:"\u5206\u7C7B\u4E09",value:18},{category:"\u5206\u7C7B\u56DB",value:15},{category:"\u5206\u7C7B\u4E94",value:10},{category:"\u5176\u4ED6",value:5}];var d=()=>(0,n.jsx)(u.Pie,{data:r,containerStyle:{height:300}});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return f.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var n=a("d1751d7c"),u=a("777fffbe"),r=a("852bbaa9");n._(a("5639510f"),t),n._(a("d382b880"),t);var d=a("a574afdb"),f=u._(a("a7265236")),o=u._(a("2c69d5f6")),i=r._(a("033b3748")),c=u._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var n=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));n._(a("5e2dda25"),t),n._(a("969efd31"),t),n._(a("f21af0e0"),t),n._(a("33eda958"),t),n._(a("112b9a67"),t),n._(a("a45613fd"),t),n._(a("432777ba"),t);}}]); +//# sourceMappingURL=eae4b260-async.dbd781b1.js.map \ No newline at end of file diff --git a/eae4b260-async.dbd781b1.js.map b/eae4b260-async.dbd781b1.js.map new file mode 100644 index 0000000..8b95bc4 --- /dev/null +++ b/eae4b260-async.dbd781b1.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Pie/demos/markdown.tsx?techStack=react","src/Pie/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Pie, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n以下是为你绘制的一个饼图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ],\n \"innerRadius\": 0.6\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Pie]: Pie },\n style: { width: 350, height: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/demos/common.tsx?watch=parent';import { Pie } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { category: '分类一', value: 27 },\n { category: '分类二', value: 25 },\n { category: '分类三', value: 18 },\n { category: '分类四', value: 15 },\n { category: '分类五', value: 10 },\n { category: '其他', value: 5 },\n];\n\nexport default () => {\n return ;\n};\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,M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BAAO,MAAO,EAAG,EAC7B,CAAE,SAAU,qBAAO,MAAO,EAAG,EAC7B,CAAE,SAAU,qBAAO,MAAO,EAAG,EAC7B,CAAE,SAAU,eAAM,MAAO,CAAE,EAC5B,KAED,EAAe,IACN,UAAC,KAAG,EAAC,KAAM,EAAM,eAAgB,CAAE,OAAQ,GAAI,kFCJpC,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/ebc26251-async.0a4bb0cf.js b/ebc26251-async.0a4bb0cf.js new file mode 100644 index 0000000..7c466dc --- /dev/null +++ b/ebc26251-async.0a4bb0cf.js @@ -0,0 +1,38 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["ebc26251"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return u.default;},Bubble:function(){return f.default;},Conversations:function(){return i.default;},Prompts:function(){return o.default;},Sender:function(){return r.default;},Suggestion:function(){return s.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return l.default;},XProvider:function(){return m.default;},XRequest:function(){return A.default;},XStream:function(){return _.default;},useXAgent:function(){return h.default;},useXChat:function(){return b.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),u=a._(t("150d8a7a")),r=a._(t("013e81db")),f=a._(t("d161127f")),i=a._(t("11781cbc")),o=a._(t("5a025bc4")),c=a._(t("e2d1bf07")),s=a._(t("d0c39811")),l=a._(t("0176aebf")),m=a._(t("8b35f51f")),b=a._(t("92b2492a")),h=a._(t("1e122ed0")),_=a._(t("470d5fd8")),A=a._(t("e0f10014"));},"545ab194":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return c;}});var a=t("a2e753d8");t("4b2eab52");var d=t("1c5d635b"),u=t("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{7F29}\u{8FDB}\u{6811} + +\`\`\`vis-chart +{ + "type": "indented-tree", + "data": { + "name": "\u{5BFC}\u{822A}\u{83DC}\u{5355}", + "children": [ + { "name": "\u{9996}\u{9875}" }, + { + "name": "\u{4EA7}\u{54C1}", + "children": [ + { + "name": "\u{4EA7}\u{54C1}\u{5206}\u{7C7B}1", + "children": [{ "name": "\u{4EA7}\u{54C1}1-1" }, { "name": "\u{4EA7}\u{54C1}1-2" }] + }, + { + "name": "\u{4EA7}\u{54C1}\u{5206}\u{7C7B}2", + "children": [{ "name": "\u{4EA7}\u{54C1}2-1" }, { "name": "\u{4EA7}\u{54C1}2-2" }] + } + ] + }, + { + "name": "\u{5173}\u{4E8E}\u{6211}\u{4EEC}", + "children": [{ "name": "\u{516C}\u{53F8}\u{7B80}\u{4ECB}" }, { "name": "\u{56E2}\u{961F}\u{4ECB}\u{7ECD}" }] + }, + { + "name": "\u{670D}\u{52A1}", + "children": [{ "name": "\u{54A8}\u{8BE2}\u{670D}\u{52A1}" }, { "name": "\u{6280}\u{672F}\u{652F}\u{6301}" }] + }, + { "name": "\u{8054}\u{7CFB}\u{6211}\u{4EEC}" } + ] + } +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},i=(0,u.withChartCode)({components:{[u.ChartType.IndentedTree]:u.IndentedTree}}),o=e=>(0,a.jsx)(u.GPTVisLite,{components:{code:i},children:e});var c=()=>(0,a.jsxs)("div",{style:f,children:[(0,a.jsx)(d.Bubble,{placement:"end",content:"\u7528\u7F29\u8FDB\u6811\u6765\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,a.jsx)(d.Bubble,{content:r,messageRender:o,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},"72c03fb9":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return r;}});var a=t("a2e753d8");t("0ae75d08");var d=t("df67f0d6");let u={name:"my-project",children:[{name:"src",children:[{name:"components",children:[{name:"Header.tsx"},{name:"Footer.tsx"}]},{name:"pages",children:[{name:"Home.tsx"},{name:"About.tsx"}]},{name:"App.tsx"},{name:"index.tsx"}]},{name:"public",children:[{name:"index.html"},{name:"favicon.ico"}]},{name:"package.json"},{name:"tsconfig.json"},{name:"README.md"}]};var r=()=>(0,a.jsx)(d.IndentedTree,{data:u});},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return f.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return o.default;},useEventPublish:function(){return o.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),u=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var r=t("a574afdb"),f=d._(t("a7265236")),i=d._(t("2c69d5f6")),o=u._(t("033b3748")),c=d._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);}}]); +//# sourceMappingURL=ebc26251-async.0a4bb0cf.js.map \ No newline at end of file diff --git a/ebc26251-async.0a4bb0cf.js.map b/ebc26251-async.0a4bb0cf.js.map new file mode 100644 index 0000000..22ad4cb --- /dev/null +++ b/ebc26251-async.0a4bb0cf.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/IndentedTree/demos/markdown.tsx?techStack=react","src/IndentedTree/demos/common.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, IndentedTree, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个缩进树\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"indented-tree\",\n \"data\": {\n \"name\": \"导航菜单\",\n \"children\": [\n { \"name\": \"首页\" },\n {\n \"name\": \"产品\",\n \"children\": [\n {\n \"name\": \"产品分类1\",\n \"children\": [{ \"name\": \"产品1-1\" }, { \"name\": \"产品1-2\" }]\n },\n {\n \"name\": \"产品分类2\",\n \"children\": [{ \"name\": \"产品2-1\" }, { \"name\": \"产品2-2\" }]\n }\n ]\n },\n {\n \"name\": \"关于我们\",\n \"children\": [{ \"name\": \"公司简介\" }, { \"name\": \"团队介绍\" }]\n },\n {\n \"name\": \"服务\",\n \"children\": [{ \"name\": \"咨询服务\" }, { \"name\": \"技术支持\" }]\n },\n { \"name\": \"联系我们\" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.IndentedTree]: IndentedTree },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/demos/common.tsx?watch=parent';import { IndentedTree } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n name: 'my-project',\n children: [\n {\n name: 'src',\n children: [\n {\n name: 'components',\n children: [\n {\n name: 'Header.tsx',\n },\n {\n name: 'Footer.tsx',\n },\n ],\n },\n {\n name: 'pages',\n children: [\n {\n name: 'Home.tsx',\n },\n {\n name: 'About.tsx',\n },\n ],\n },\n {\n name: 'App.tsx',\n },\n {\n name: 'index.tsx',\n },\n ],\n },\n {\n name: 'public',\n children: [\n {\n name: 'index.html',\n },\n {\n name: 'favicon.ico',\n },\n ],\n },\n {\n name: 'package.json',\n },\n {\n name: 'tsconfig.json',\n },\n {\n name: 'README.md',\n },\n ],\n};\n\nexport default () => ;\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FC6CpC,+CAAA,4BA1DO,oBAA8H,gBAClE,YAGnE,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,YAAY,CAAC,CAAE,cAAY,AAAC,CACvD,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,uFACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE,sFCbhD,+CAAA,4BA9DO,oBAAgH,YAGvH,IAAM,EAAO,CACX,KAAM,aACN,SAAU,CACR,CACE,KAAM,MACN,SAAU,CACR,CACE,KAAM,aACN,SAAU,CACR,CACE,KAAM,YACR,EACA,CACE,KAAM,YACR,EACD,AACH,EACA,CACE,KAAM,QACN,SAAU,CACR,CACE,KAAM,UACR,EACA,CACE,KAAM,WACR,EACD,AACH,EACA,CACE,KAAM,SACR,EACA,CACE,KAAM,WACR,EACD,AACH,EACA,CACE,KAAM,SACN,SAAU,CACR,CACE,KAAM,YACR,EACA,CACE,KAAM,aACR,EACD,AACH,EACA,CACE,KAAM,cACR,EACA,CACE,KAAM,eACR,EACA,CACE,KAAM,WACR,EACD,AACH,MAEA,EAAe,IAAM,UAAC,cAAY,EAAC,KAAM,kFCrDrB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/eff985a5-async.859505b2.js b/eff985a5-async.859505b2.js new file mode 100644 index 0000000..0ddaf54 --- /dev/null +++ b/eff985a5-async.859505b2.js @@ -0,0 +1,89 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["eff985a5"],{"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return u.default;},Bubble:function(){return o.default;},Conversations:function(){return i.default;},Prompts:function(){return r.default;},Sender:function(){return l.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return v.default;},XProvider:function(){return f.default;},XRequest:function(){return b.default;},XStream:function(){return m.default;},useXAgent:function(){return g.default;},useXChat:function(){return p.default;},version:function(){return d.default;}});var a=t("777fffbe"),d=a._(t("61551e8a")),u=a._(t("150d8a7a")),l=a._(t("013e81db")),o=a._(t("d161127f")),i=a._(t("11781cbc")),r=a._(t("5a025bc4")),s=a._(t("e2d1bf07")),c=a._(t("d0c39811")),v=a._(t("0176aebf")),f=a._(t("8b35f51f")),p=a._(t("92b2492a")),g=a._(t("1e122ed0")),m=a._(t("470d5fd8")),b=a._(t("e0f10014"));},"87e9bada":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("0e9c772d");let a=[{value:"\u70ED\u529B\u5730\u56FE\uFF0C\u76F4\u89C2\u5C55\u793A\u6570\u636E\u5BC6\u5EA6\u4E0E\u9891\u7387\u7684\u7A7A\u95F4\u5206\u5E03\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "heat-map",\n "data": [\n {\n "longitude": 121.473117,\n "latitude": 31.230125,\n "value": 20\n },\n {\n "longitude": 121.473337,\n "latitude": 31.230325,\n "value": 100\n },\n {\n "longitude": 121.473557,\n "latitude": 31.230525,\n "value": 300\n },\n {\n "longitude": 121.473777,\n "latitude": 31.230725,\n "value": 600\n },\n {\n "longitude": 121.473997,\n "latitude": 31.230925,\n "value": 1000\n }\n ]\n}\n',paraId:1,tocIndex:4},{value:"\u5C5E\u6027",paraId:2,tocIndex:6},{value:"\u7C7B\u578B",paraId:2,tocIndex:6},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:6},{value:"\u8BF4\u660E",paraId:2,tocIndex:6},{value:"data",paraId:2,tocIndex:6},{value:"HeatMapDataItem[]",paraId:2,tocIndex:6},{value:"\u662F",paraId:2,tocIndex:6},{value:"-",paraId:2,tocIndex:6},{value:"\u6570\u636E",paraId:2,tocIndex:6},{value:"\u5C5E\u6027",paraId:3,tocIndex:7},{value:"\u7C7B\u578B",paraId:3,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:7},{value:"\u8BF4\u660E",paraId:3,tocIndex:7},{value:"longitude",paraId:3,tocIndex:7},{value:"number",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7ECF\u5EA6",paraId:3,tocIndex:7},{value:"latitude",paraId:3,tocIndex:7},{value:"number",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u7EAC\u5EA6",paraId:3,tocIndex:7},{value:"value",paraId:3,tocIndex:7},{value:"number",paraId:3,tocIndex:7},{value:"\u662F",paraId:3,tocIndex:7},{value:"-",paraId:3,tocIndex:7},{value:"\u70ED\u529B\u503C",paraId:3,tocIndex:7}];},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return i.default;},GPTVisLite:function(){return r.default;},useEventPublish:function(){return r.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return l.withChartCode;},withDefaultChartCode:function(){return l.withDefaultChartCode;}});var a=t("d1751d7c"),d=t("777fffbe"),u=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var l=t("a574afdb"),o=d._(t("a7265236")),i=d._(t("2c69d5f6")),r=u._(t("033b3748")),s=d._(t("7cf1dc46"));},e14e0636:function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return i;}});var d=t("852bbaa9"),u=d._(t("9d065c04"));t("0e9c772d");var l=d._(t("df67f0d6")),o=d._(t("1c5d635b"));let i={"heatmap-demo-0":{component:u.default.memo(u.default.lazy(async function(){let{default:e}=await Promise.all([t.ensure("9d065c04")]).then(t.dr(a,t.bind(t,"9d065c04"))),{HeatMap:n}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),d=[{longitude:121.473117,latitude:31.230125,value:20},{longitude:121.473337,latitude:31.230325,value:100},{longitude:121.473557,latitude:31.230525,value:300},{longitude:121.473777,latitude:31.230725,value:600},{longitude:121.473997,latitude:31.230925,value:1e3}];return{default:()=>e.createElement(n,{data:d})};})),asset:{type:"BLOCK",id:"heatmap-demo-0",refAtomIds:["HeatMap"],dependencies:{"index.jsx":{type:"FILE",value:"import React from 'react';\nimport { HeatMap } from '@antv/gpt-vis';\n\nconst data = [\n {\n longitude: 121.473117,\n latitude: 31.230125,\n value: 20,\n },\n {\n longitude: 121.473337,\n latitude: 31.230325,\n value: 100,\n },\n {\n longitude: 121.473557,\n latitude: 31.230525,\n value: 300,\n },\n {\n longitude: 121.473777,\n latitude: 31.230725,\n value: 600,\n },\n {\n longitude: 121.473997,\n latitude: 31.230925,\n value: 1000,\n },\n];\n\nexport default () => ;"},react:{type:"NPM",value:"18.3.1"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.jsx"},context:{react:u,"@antv/gpt-vis":l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"heatmap-demo-1":{component:u.default.memo(u.default.lazy(async function(){let{Bubble:e}=await Promise.all([t.ensure("vendors_3"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("1c5d635b")]).then(t.dr(a,t.bind(t,"1c5d635b"))),{HeatMap:n,withChartCode:d,ChartType:l,GPTVisLite:o}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),i={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},r=` + ~~~vis-chart + { + "type": "heat-map", + "data": [ + { + "longitude": 121.474856, + "latitude": 31.249162, + "value": 800 + }, + { + "longitude": 121.499718, + "latitude": 31.239703, + "value": 1000 + }, + { + "longitude": 121.48612, + "latitude": 31.24166, + "value": 1200 + }, + { + "longitude": 121.449895, + "latitude": 31.228609, + "value": 500 + }, + { + "longitude": 121.449486, + "latitude": 31.222042, + "value": 900 + }, + { + "longitude": 121.431826, + "latitude": 31.204638, + "value": 400 + }, + { + "longitude": 121.438573, + "latitude": 31.204188, + "value": 1000 + }, + { + "longitude": 121.448453, + "latitude": 31.222341, + "value": 300 + }, + { + "longitude": 121.474856, + "latitude": 31.249162, + "value": 800 + }, + { + "longitude": 121.473688, + "latitude": 31.249921, + "value": 1000 + }, + { + "longitude": 121.449895, + "latitude": 31.228609, + "value": 500 + }, + { + "longitude": 121.449486, + "latitude": 31.222042, + "value": 900 + }, + { + "longitude": 121.431826, + "latitude": 31.204638, + "value": 400 + }, + { + "longitude": 121.438573, + "latitude": 31.204188, + "value": 1000 + }, + { + "longitude": 121.448453, + "latitude": 31.222341, + "value": 300 + }, + { + "longitude": 121.448997, + "latitude": 31.203590, + "value": 400 + } + ] + } +~~~`,s=d({components:{[l.HeatMap]:n},style:{width:500}}),c=e=>u.default.createElement(o,{components:{code:s}},e);return{default:()=>u.default.createElement("div",{style:i},u.default.createElement(e,{placement:"end",content:"\u4E0A\u6D77\u5E02\u6E38\u5BA2\u91CF\u8F83\u5927\u7684\u666F\u70B9\u5728\u54EA\u91CC\uFF1F",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),u.default.createElement(e,{content:r,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}}))};})),asset:{type:"BLOCK",id:"heatmap-demo-1",refAtomIds:["HeatMap"],dependencies:{"index.tsx":{type:"FILE",value:'import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { HeatMap, withChartCode, ChartType, GPTVisLite } from \'@antv/gpt-vis\';\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst markdownContent = `\n ~~~vis-chart\n {\n "type": "heat-map",\n "data": [\n {\n "longitude": 121.474856,\n "latitude": 31.249162,\n "value": 800\n },\n {\n "longitude": 121.499718,\n "latitude": 31.239703,\n "value": 1000\n },\n {\n "longitude": 121.48612,\n "latitude": 31.24166,\n "value": 1200\n },\n {\n "longitude": 121.449895,\n "latitude": 31.228609,\n "value": 500\n },\n {\n "longitude": 121.449486,\n "latitude": 31.222042,\n "value": 900\n },\n {\n "longitude": 121.431826,\n "latitude": 31.204638,\n "value": 400\n },\n {\n "longitude": 121.438573,\n "latitude": 31.204188,\n "value": 1000\n },\n {\n "longitude": 121.448453,\n "latitude": 31.222341,\n "value": 300\n },\n {\n "longitude": 121.474856,\n "latitude": 31.249162,\n "value": 800\n },\n {\n "longitude": 121.473688,\n "latitude": 31.249921,\n "value": 1000\n },\n {\n "longitude": 121.449895,\n "latitude": 31.228609,\n "value": 500\n },\n {\n "longitude": 121.449486,\n "latitude": 31.222042,\n "value": 900\n },\n {\n "longitude": 121.431826,\n "latitude": 31.204638,\n "value": 400\n },\n {\n "longitude": 121.438573,\n "latitude": 31.204188,\n "value": 1000\n },\n {\n "longitude": 121.448453,\n "latitude": 31.222341,\n "value": 300\n },\n {\n "longitude": 121.448997,\n "latitude": 31.203590,\n "value": 400\n }\n ]\n }\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.HeatMap]: HeatMap },\n style: { width: 500 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => {\n return (\n
\n \n \n
\n );\n};'},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.tsx"},context:{"@ant-design/x":o,"@antv/gpt-vis":l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var a=t("d1751d7c"),d=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);}}]); +//# sourceMappingURL=eff985a5-async.859505b2.js.map \ No newline at end of file diff --git a/eff985a5-async.859505b2.js.map b/eff985a5-async.859505b2.js.map new file mode 100644 index 0000000..b55ccf6 --- /dev/null +++ b/eff985a5-async.859505b2.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/HeatMap/index.md?type=text","src/index.ts","src/HeatMap/index.md?type=demo","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?watch=parent';\n export const texts = [{\"value\":\"热力地图,直观展示数据密度与频率的空间分布。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"heat-map\\\",\\n \\\"data\\\": [\\n {\\n \\\"longitude\\\": 121.473117,\\n \\\"latitude\\\": 31.230125,\\n \\\"value\\\": 20\\n },\\n {\\n \\\"longitude\\\": 121.473337,\\n \\\"latitude\\\": 31.230325,\\n \\\"value\\\": 100\\n },\\n {\\n \\\"longitude\\\": 121.473557,\\n \\\"latitude\\\": 31.230525,\\n \\\"value\\\": 300\\n },\\n {\\n \\\"longitude\\\": 121.473777,\\n \\\"latitude\\\": 31.230725,\\n \\\"value\\\": 600\\n },\\n {\\n \\\"longitude\\\": 121.473997,\\n \\\"latitude\\\": 31.230925,\\n \\\"value\\\": 1000\\n }\\n ]\\n}\\n\",\"paraId\":1,\"tocIndex\":4},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"HeatMapDataItem[]\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"longitude\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"经度\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"latitude\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"纬度\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"value\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"number\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":7},{\"value\":\"热力值\",\"paraId\":3,\"tocIndex\":7}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?watch=parent';\nimport * as heatmap_demo_0_deps_0 from 'react';\nimport * as heatmap_demo_0_deps_1 from '@antv/gpt-vis';\nimport * as heatmap_demo_1_deps_0 from '@ant-design/x';\nexport const demos = {\n 'heatmap-demo-0': {\n component: React.memo(React.lazy(async function() {\n const { default: React } = await import('react');\nconst { HeatMap: HeatMap } = await import('@antv/gpt-vis');\nconst data = [\n {\n longitude: 121.473117,\n latitude: 31.230125,\n value: 20\n },\n {\n longitude: 121.473337,\n latitude: 31.230325,\n value: 100\n },\n {\n longitude: 121.473557,\n latitude: 31.230525,\n value: 300\n },\n {\n longitude: 121.473777,\n latitude: 31.230725,\n value: 600\n },\n {\n longitude: 121.473997,\n latitude: 31.230925,\n value: 1000\n }\n];\nreturn {\n default: ()=>/*#__PURE__*/ React.createElement(HeatMap, {\n data: data\n })\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"heatmap-demo-0\",\n \"refAtomIds\": [\n \"HeatMap\"\n ],\n \"dependencies\": {\n \"index.jsx\": {\n \"type\": \"FILE\",\n \"value\": \"import React from 'react';\\nimport { HeatMap } from '@antv/gpt-vis';\\n\\nconst data = [\\n {\\n longitude: 121.473117,\\n latitude: 31.230125,\\n value: 20,\\n },\\n {\\n longitude: 121.473337,\\n latitude: 31.230325,\\n value: 100,\\n },\\n {\\n longitude: 121.473557,\\n latitude: 31.230525,\\n value: 300,\\n },\\n {\\n longitude: 121.473777,\\n latitude: 31.230725,\\n value: 600,\\n },\\n {\\n longitude: 121.473997,\\n latitude: 31.230925,\\n value: 1000,\\n },\\n];\\n\\nexport default () => ;\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.jsx\"\n},\n context: {\n \"react\": heatmap_demo_0_deps_0,\n \"@antv/gpt-vis\": heatmap_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'heatmap-demo-1': {\n component: React.memo(React.lazy(async function() {\n const { Bubble: Bubble } = await import('@ant-design/x');\nconst { HeatMap: HeatMap, withChartCode: withChartCode, ChartType: ChartType, GPTVisLite: GPTVisLite } = await import('@antv/gpt-vis');\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst markdownContent = `\n ~~~vis-chart\n {\n \"type\": \"heat-map\",\n \"data\": [\n {\n \"longitude\": 121.474856,\n \"latitude\": 31.249162,\n \"value\": 800\n },\n {\n \"longitude\": 121.499718,\n \"latitude\": 31.239703,\n \"value\": 1000\n },\n {\n \"longitude\": 121.48612,\n \"latitude\": 31.24166,\n \"value\": 1200\n },\n {\n \"longitude\": 121.449895,\n \"latitude\": 31.228609,\n \"value\": 500\n },\n {\n \"longitude\": 121.449486,\n \"latitude\": 31.222042,\n \"value\": 900\n },\n {\n \"longitude\": 121.431826,\n \"latitude\": 31.204638,\n \"value\": 400\n },\n {\n \"longitude\": 121.438573,\n \"latitude\": 31.204188,\n \"value\": 1000\n },\n {\n \"longitude\": 121.448453,\n \"latitude\": 31.222341,\n \"value\": 300\n },\n {\n \"longitude\": 121.474856,\n \"latitude\": 31.249162,\n \"value\": 800\n },\n {\n \"longitude\": 121.473688,\n \"latitude\": 31.249921,\n \"value\": 1000\n },\n {\n \"longitude\": 121.449895,\n \"latitude\": 31.228609,\n \"value\": 500\n },\n {\n \"longitude\": 121.449486,\n \"latitude\": 31.222042,\n \"value\": 900\n },\n {\n \"longitude\": 121.431826,\n \"latitude\": 31.204638,\n \"value\": 400\n },\n {\n \"longitude\": 121.438573,\n \"latitude\": 31.204188,\n \"value\": 1000\n },\n {\n \"longitude\": 121.448453,\n \"latitude\": 31.222341,\n \"value\": 300\n },\n {\n \"longitude\": 121.448997,\n \"latitude\": 31.203590,\n \"value\": 400\n }\n ]\n }\n~~~`;\nconst CodeComponent = withChartCode({\n components: {\n [ChartType.HeatMap]: HeatMap\n },\n style: {\n width: 500\n }\n});\nconst RenderMarkdown = (content)=>/*#__PURE__*/ React.createElement(GPTVisLite, {\n components: {\n code: CodeComponent\n }\n }, content);\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n placement: \"end\",\n content: \"上海市游客量较大的景点在哪里?\",\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp'\n },\n styles: {\n content: {\n background: '#ebebeb'\n }\n }\n }), /*#__PURE__*/ React.createElement(Bubble, {\n content: markdownContent,\n messageRender: RenderMarkdown,\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n }));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"heatmap-demo-1\",\n \"refAtomIds\": [\n \"HeatMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { HeatMap, withChartCode, ChartType, GPTVisLite } from '@antv/gpt-vis';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst markdownContent = `\\n ~~~vis-chart\\n {\\n \\\"type\\\": \\\"heat-map\\\",\\n \\\"data\\\": [\\n {\\n \\\"longitude\\\": 121.474856,\\n \\\"latitude\\\": 31.249162,\\n \\\"value\\\": 800\\n },\\n {\\n \\\"longitude\\\": 121.499718,\\n \\\"latitude\\\": 31.239703,\\n \\\"value\\\": 1000\\n },\\n {\\n \\\"longitude\\\": 121.48612,\\n \\\"latitude\\\": 31.24166,\\n \\\"value\\\": 1200\\n },\\n {\\n \\\"longitude\\\": 121.449895,\\n \\\"latitude\\\": 31.228609,\\n \\\"value\\\": 500\\n },\\n {\\n \\\"longitude\\\": 121.449486,\\n \\\"latitude\\\": 31.222042,\\n \\\"value\\\": 900\\n },\\n {\\n \\\"longitude\\\": 121.431826,\\n \\\"latitude\\\": 31.204638,\\n \\\"value\\\": 400\\n },\\n {\\n \\\"longitude\\\": 121.438573,\\n \\\"latitude\\\": 31.204188,\\n \\\"value\\\": 1000\\n },\\n {\\n \\\"longitude\\\": 121.448453,\\n \\\"latitude\\\": 31.222341,\\n \\\"value\\\": 300\\n },\\n {\\n \\\"longitude\\\": 121.474856,\\n \\\"latitude\\\": 31.249162,\\n \\\"value\\\": 800\\n },\\n {\\n \\\"longitude\\\": 121.473688,\\n \\\"latitude\\\": 31.249921,\\n \\\"value\\\": 1000\\n },\\n {\\n \\\"longitude\\\": 121.449895,\\n \\\"latitude\\\": 31.228609,\\n \\\"value\\\": 500\\n },\\n {\\n \\\"longitude\\\": 121.449486,\\n \\\"latitude\\\": 31.222042,\\n \\\"value\\\": 900\\n },\\n {\\n \\\"longitude\\\": 121.431826,\\n \\\"latitude\\\": 31.204638,\\n \\\"value\\\": 400\\n },\\n {\\n \\\"longitude\\\": 121.438573,\\n \\\"latitude\\\": 31.204188,\\n \\\"value\\\": 1000\\n },\\n {\\n \\\"longitude\\\": 121.448453,\\n \\\"latitude\\\": 31.222341,\\n \\\"value\\\": 300\\n },\\n {\\n \\\"longitude\\\": 121.448997,\\n \\\"latitude\\\": 31.203590,\\n \\\"value\\\": 400\\n }\\n ]\\n }\\n~~~`;\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.HeatMap]: HeatMap },\\n style: { width: 500 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => {\\n return (\\n
\\n \\n \\n
\\n );\\n};\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": heatmap_demo_1_deps_0,\n \"@antv/gpt-vis\": heatmap_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAI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K,CAAC,aAAa,CAAC,EAAQ,CACzC,UAAW,MACX,QAAS,6FACT,OAAQ,CACJ,IAAK,gGACT,EACA,OAAQ,CACJ,QAAS,CACL,WAAY,SAChB,CACJ,CACJ,GAAkB,SAAK,CAAC,aAAa,CAAC,EAAQ,CAC1C,QAAS,EACT,cAAe,EACf,OAAQ,CACJ,IAAK,gGACT,EACA,QAAS,SACT,OAAQ,CACJ,QAAS,CACL,WAAY,MAChB,CACJ,CACJ,GAER,EAEA,IACI,MAAO,CACT,KAAQ,QACR,GAAM,iBACN,WAAc,CACZ,UACD,CACD,aAAgB,CACd,YAAa,CACX,KAAQ,OACR,MAAS,mlGACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,EACA,gBAAiB,CACf,KAAQ,MACR,MAAS,OACX,CACF,EACA,MAAS,WACX,EACI,QAAS,CACX,gBAAiB,EACjB,gBAAiB,CACnB,EACI,WAAY,CAEN,QAAS,MAAO,GAAG,IACV,AAAC,CAAA,MAAM,kHAA8O,EAAG,OAAO,IAAI,EAE9Q,CACN,CACF,+ECpPE,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/f07f3ef1-async.f3cfe913.js b/f07f3ef1-async.f3cfe913.js new file mode 100644 index 0000000..17f6f14 --- /dev/null +++ b/f07f3ef1-async.f3cfe913.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["f07f3ef1"],{f07f3ef1:function(e,s,i){"use strict";i.d(s,"__esModule",{value:!0}),i.d(s,"default",{enumerable:!0,get:function(){return t;}});var a=i("777fffbe"),d=i("a2e753d8"),n=i("5ca000fa"),r=a._(i("9b3f9685")),l=i("9d065c04");function c(){let{texts:e}=(0,n.useRouteMeta)();return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h1",{id:"gptvis-\u534F\u8BAE\u6E32\u67D3\u5668",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#gptvis-\u534F\u8BAE\u6E32\u67D3\u5668",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"GPTVis \u534F\u8BAE\u6E32\u67D3\u5668"]}),(0,d.jsxs)("p",{children:[e[0].value,(0,d.jsx)("code",{children:e[1].value}),e[2].value]}),(0,d.jsxs)("h2",{id:"\u57FA\u7840\u4F7F\u7528",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u57FA\u7840\u4F7F\u7528",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u57FA\u7840\u4F7F\u7528"]}),(0,d.jsxs)("p",{children:[(0,d.jsx)("code",{children:e[3].value}),e[4].value,(0,d.jsx)("a",{href:"https://github.com/antvis/GPT-Vis/tree/main/src/export.ts#L76",children:e[5].value}),e[6].value]})]}),(0,d.jsx)(n.DumiDemo,{demo:{id:"gptvis-demo-default"},previewerProps:{filename:"src/GPTVis/demos/default.tsx"}}),(0,d.jsx)("div",{className:"markdown",children:(0,d.jsxs)("h2",{id:"\u81EA\u5B9A\u4E49\u6807\u7B7E\u6E32\u67D3",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u81EA\u5B9A\u4E49\u6807\u7B7E\u6E32\u67D3",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49\u6807\u7B7E\u6E32\u67D3"]})}),(0,d.jsx)(n.DumiDemo,{demo:{id:"gptvis-demo-tag"},previewerProps:{filename:"src/GPTVis/demos/tag.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"\u81EA\u5B9A\u4E49-code-\u6E32\u67D3\u5757",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u81EA\u5B9A\u4E49-code-\u6E32\u67D3\u5757",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u81EA\u5B9A\u4E49 code \u6E32\u67D3\u5757"]}),(0,d.jsxs)("p",{children:[e[7].value,(0,d.jsx)("code",{children:e[8].value}),e[9].value]})]}),(0,d.jsx)(n.DumiDemo,{demo:{id:"gptvis-demo-code"},previewerProps:{filename:"src/GPTVis/demos/code.tsx"}}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"\u5BB9\u5668\u7EC4\u4EF6\u901A\u4FE1",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5BB9\u5668\u7EC4\u4EF6\u901A\u4FE1",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"\u5BB9\u5668\u7EC4\u4EF6\u901A\u4FE1"]}),(0,d.jsx)("p",{children:e[10].value})]}),(0,d.jsx)(n.DumiDemoGrid,{items:[{demo:{id:"gptvis-demo-event"},previewerProps:{title:"\u8BA2\u9605\u7EC4\u4EF6\u4E8B\u4EF6",filename:"src/GPTVis/demos/event.tsx"}},{demo:{id:"gptvis-demo-context-provider"},previewerProps:{title:"Context \u4F20\u9012\u6570\u636E",filename:"src/GPTVis/demos/context-provider.tsx"}}]}),(0,d.jsxs)("div",{className:"markdown",children:[(0,d.jsxs)("h2",{id:"api",children:[(0,d.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,d.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,d.jsxs)("p",{children:[e[11].value,(0,d.jsx)("a",{href:"https://github.com/remarkjs/react-markdown#options",children:e[12].value}),e[13].value]})]})]});}var t=function(){return(0,d.jsx)(n.DumiPage,{children:(0,d.jsx)(l.Suspense,{fallback:(0,d.jsx)(r.default,{}),children:(0,d.jsx)(c,{})})});};}}]); +//# sourceMappingURL=f07f3ef1-async.f3cfe913.js.map \ No newline at end of file diff --git a/f07f3ef1-async.f3cfe913.js.map b/f07f3ef1-async.f3cfe913.js.map new file mode 100644 index 0000000..2ec647c --- /dev/null +++ b/f07f3ef1-async.f3cfe913.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/GPTVis/index.md"],"sourcesContent":["import API from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/API/index.js';\nimport Badge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Badge/index.js';\nimport CodeGroup from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/CodeGroup/index.js';\nimport Container from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.js';\nimport Previewer from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.js';\nimport SourceCode from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.js';\nimport Table from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Table/index.js';\nimport Tree from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Tree/index.js';\nimport { DumiDemo } from 'dumi';\nimport { DumiDemoGrid } from 'dumi';\nimport { Link } from 'dumi';\n\nimport LoadingComponent from '@@/dumi/theme/loading';\nimport React, { Suspense } from 'react';\nimport { DumiPage, useTabMeta, useRouteMeta } from 'dumi';\n\nfunction DumiMarkdownInner() {\n const { texts: $$contentTexts } = useRouteMeta();\n\n return <>

{\"GPTVis 协议渲染器\"}

{$$contentTexts[0].value}{$$contentTexts[1].value}{$$contentTexts[2].value}

{\"基础使用\"}

{$$contentTexts[3].value}{$$contentTexts[4].value}{$$contentTexts[5].value}{$$contentTexts[6].value}

{\"自定义标签渲染\"}

{\"自定义 code 渲染块\"}

{$$contentTexts[7].value}{$$contentTexts[8].value}{$$contentTexts[9].value}

{\"容器组件通信\"}

{$$contentTexts[10].value}

{\"API\"}

{$$contentTexts[11].value}{$$contentTexts[12].value}{$$contentTexts[13].value}

;\n}\n\n// export named function for fastRefresh\n// ref: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/main/docs/TROUBLESHOOTING.md#edits-always-lead-to-full-reload\nfunction DumiMarkdownContent() {\n // wrap suspense for catch async meta data\n return }>;\n}\n\nexport default DumiMarkdownContent;"],"names":[],"mappings":"6PAkEA,+CAAA,8CA1DyB,oBAII,iBACG,YAGhC,SAAS,IACP,GAAM,CAAE,MAAO,CAAc,CAAE,CAAG,GAAA,cAAY,IAE9C,MAAO,iCAAE,WAAC,OAAI,UAAU,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G,GAAG,iDAAS,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,iDAAU,UAAC,QAAK,UAAU,qBAAwB,0CAAc,UAAC,cAAG,CAAc,CAAC,GAAG,CAAC,KAAK,MAAW,UAAC,cAAY,EAAC,MAAO,CAAC,CACnN,KAAQ,CACN,GAAM,mBACR,EACA,eAAkB,CAChB,MAAS,uCACT,SAAY,4BACd,CACF,EAAG,CACD,KAAQ,CACN,GAAM,8BACR,EACA,eAAkB,CAChB,MAAS,mCACT,SAAY,uCACd,CACF,EAAE,GAAI,WAAC,OAAI,UAAU,qBAAW,WAAC,MAAG,GAAG,gBAAM,UAAC,KAAE,cAAY,OAAO,SAAS,KAAK,KAAK,gBAAO,UAAC,QAAK,UAAU,qBAAwB,SAAW,WAAC,eAAG,CAAc,CAAC,GAAG,CAAC,KAAK,CAAC,UAAC,KAAE,KAAK,8DAAsD,CAAc,CAAC,GAAG,CAAC,KAAK,GAAM,CAAc,CAAC,GAAG,CAAC,KAAK,UACjS,KASA,EALA,WAEE,MAAO,UAAC,UAAQ,WAAC,UAAC,UAAQ,EAAC,SAAU,UAAC,SAAgB,cAAK,UAAC,UAC9D"} \ No newline at end of file diff --git a/f7388c2c-async.64930316.js b/f7388c2c-async.64930316.js new file mode 100644 index 0000000..067c165 --- /dev/null +++ b/f7388c2c-async.64930316.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["f7388c2c"],{"01e9277e":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("7f7677cf");let a=[{value:'{\n "type": "column",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 91.9 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 99.1 },\n { "category": "\u5206\u7C7B\u4E09", "value": 101.6 }\n ]\n}\n',paraId:0,tocIndex:6},{value:"\u5C5E\u6027",paraId:1,tocIndex:8},{value:"\u7C7B\u578B",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:1,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:8},{value:"\u8BF4\u660E",paraId:1,tocIndex:8},{value:"data",paraId:1,tocIndex:8},{value:"ColumnDataItem[]",paraId:1,tocIndex:8},{value:"\u662F",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u6570\u636E",paraId:1,tocIndex:8},{value:"group",paraId:1,tocIndex:8},{value:"boolean",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5F00\u542F\u5206\u7EC4\uFF0C\u5F00\u542F\u5206\u7EC4\u67F1\u5F62\u56FE\u9700\u6570\u636E\u4E2D\u542B\u6709 group \u5B57\u6BB5",paraId:1,tocIndex:8},{value:"stack",paraId:1,tocIndex:8},{value:"boolean",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u662F\u5426\u5F00\u542F\u5806\u53E0\uFF0C\u5F00\u542F\u5806\u53E0\u67F1\u5F62\u56FE\u9700\u6570\u636E\u4E2D\u542B\u6709 group \u5B57\u6BB5",paraId:1,tocIndex:8},{value:"title",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u56FE\u8868\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"axisXTitle",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"x \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"axisYTitle",paraId:1,tocIndex:8},{value:"string",paraId:1,tocIndex:8},{value:"\u5426",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"y \u8F74\u7684\u6807\u9898",paraId:1,tocIndex:8},{value:"...",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"-",paraId:1,tocIndex:8},{value:"\u66F4\u591A\u5C5E\u6027\uFF0C\u8BE6\u89C1 ",paraId:1,tocIndex:8},{value:"Ant Design Charts ",paraId:1,tocIndex:8},{value:"\u5C5E\u6027",paraId:2,tocIndex:9},{value:"\u7C7B\u578B",paraId:2,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:9},{value:"\u8BF4\u660E",paraId:2,tocIndex:9},{value:"category",paraId:2,tocIndex:9},{value:"string",paraId:2,tocIndex:9},{value:"\u662F",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7C7B\u540D\u79F0",paraId:2,tocIndex:9},{value:"value",paraId:2,tocIndex:9},{value:"number",paraId:2,tocIndex:9},{value:"\u662F",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7C7B\u503C",paraId:2,tocIndex:9},{value:"group",paraId:2,tocIndex:9},{value:"number",paraId:2,tocIndex:9},{value:"\u5426",paraId:2,tocIndex:9},{value:"-",paraId:2,tocIndex:9},{value:"\u6570\u636E\u5206\u7EC4\u540D\u79F0",paraId:2,tocIndex:9}];},"08f2cdf5":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("6012f323");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, Column, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u5F53\u7136\u4E86\uFF0C\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u67F1\u72B6\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "column",\n "data": [{"category":2013,"value":59.3},{"category":2014,"value":64.4},{"category":2015,"value":68.9},{"category":2016,"value":74.4},{"category":2017,"value":82.7},{"category":2018,"value":91.9},{"category":2019,"value":99.1},{"category":2020,"value":101.6},{"category":2021,"value":114.4},{"category":2022,"value":121}],\n "axisXTitle": "year",\n "axisYTitle": "GDP"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return r.default;},Bubble:function(){return u.default;},Conversations:function(){return l.default;},Prompts:function(){return c.default;},Sender:function(){return d.default;},Suggestion:function(){return i.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return p.default;},XProvider:function(){return v.default;},XRequest:function(){return b.default;},XStream:function(){return g.default;},useXAgent:function(){return f.default;},useXChat:function(){return m.default;},version:function(){return o.default;}});var a=t("777fffbe"),o=a._(t("61551e8a")),r=a._(t("150d8a7a")),d=a._(t("013e81db")),u=a._(t("d161127f")),l=a._(t("11781cbc")),c=a._(t("5a025bc4")),s=a._(t("e2d1bf07")),i=a._(t("d0c39811")),p=a._(t("0176aebf")),v=a._(t("8b35f51f")),m=a._(t("92b2492a")),f=a._(t("1e122ed0")),g=a._(t("470d5fd8")),b=a._(t("e0f10014"));},"222754e5":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("6944036d");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, Column, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u67F1\u72B6\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "column",\n "data": [\n { "category": "\u5317\u4EAC", "value": 825.6, "group": "\u6CB9\u8F66" },\n { "category": "\u5317\u4EAC", "value": 60.2, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u4E0A\u6D77", "value": 450, "group": "\u6CB9\u8F66" },\n { "category": "\u4E0A\u6D77", "value": 95, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u6DF1\u5733", "value": 506, "group": "\u6CB9\u8F66" },\n { "category": "\u6DF1\u5733", "value": 76.7, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u5E7F\u5DDE", "value": 976.6, "group": "\u6CB9\u8F66" },\n { "category": "\u5E7F\u5DDE", "value": 97.2, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u676D\u5DDE", "value": 651.2, "group": "\u6CB9\u8F66" },\n { "category": "\u676D\u5DDE", "value": 62, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" }\n ],\n "group": true,\n "axisXTitle": "\u57CE\u5E02",\n "axisYTitle": "\u552E\u91CF"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"412fe1bc":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("9154e165");var a='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, Column, GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst markdownContent = `\n\u4EE5\u4E0B\u662F\u4E3A\u4F60\u7ED8\u5236\u7684\u4E00\u4E2A\u67F1\u72B6\u56FE\n\n\\`\\`\\`vis-chart\n{\n "type": "column",\n "data": [\n { "category": "\u5317\u4EAC", "value": 825.6, "group": "\u6CB9\u8F66" },\n { "category": "\u5317\u4EAC", "value": 60.2, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u4E0A\u6D77", "value": 450, "group": "\u6CB9\u8F66" },\n { "category": "\u4E0A\u6D77", "value": 95, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u6DF1\u5733", "value": 506, "group": "\u6CB9\u8F66" },\n { "category": "\u6DF1\u5733", "value": 76.7, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u5E7F\u5DDE", "value": 976.6, "group": "\u6CB9\u8F66" },\n { "category": "\u5E7F\u5DDE", "value": 97.2, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" },\n { "category": "\u676D\u5DDE", "value": 651.2, "group": "\u6CB9\u8F66" },\n { "category": "\u676D\u5DDE", "value": 62, "group": "\u65B0\u80FD\u6E90\u6C7D\u8F66" }\n ],\n "stack": true,\n "axisXTitle": "\u57CE\u5E02",\n "axisYTitle": "\u552E\u91CF"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Column]: Column },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n';},"6a3d06e8":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("9639f0de");var a="import { Column } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { type: '1-3\u79D2', value: 0.16 },\n { type: '4-10\u79D2', value: 0.125 },\n { type: '11-30\u79D2', value: 0.24 },\n { type: '31-60\u79D2', value: 0.19 },\n { type: '1-3\u5206', value: 0.22 },\n { type: '3-10\u5206', value: 0.05 },\n { type: '10-30\u5206', value: 0.01 },\n { type: '30+\u5206', value: 0.015 },\n];\n\nexport default () => {\n return (\n \n );\n};\n";},c36e3664:function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return l;}});var o=t("852bbaa9"),r=o._(t("9d065c04"));t("7f7677cf");var d=o._(t("df67f0d6")),u=o._(t("1c5d635b"));let l={"column-demo-common":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("6eb1bbc9")]).then(t.dr(a,t.bind(t,"f6144435"))))),asset:{type:"BLOCK",id:"column-demo-common",refAtomIds:["Column"],dependencies:{"index.tsx":{type:"FILE",value:t("6a3d06e8").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5355\u72EC\u4F7F\u7528"},context:{"@antv/gpt-vis":d,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"column-demo-markdown":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("6eb1bbc9")]).then(t.dr(a,t.bind(t,"2ce50c00"))))),asset:{type:"BLOCK",id:"column-demo-markdown",refAtomIds:["Column"],dependencies:{"index.tsx":{type:"FILE",value:t("08f2cdf5").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"column-demo-group":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("6eb1bbc9")]).then(t.dr(a,t.bind(t,"e0ce15c7"))))),asset:{type:"BLOCK",id:"column-demo-group",refAtomIds:["Column"],dependencies:{"index.tsx":{type:"FILE",value:t("222754e5").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5206\u7EC4\u67F1\u5F62\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E group \u4E3A true"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"column-demo-stack":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("6eb1bbc9")]).then(t.dr(a,t.bind(t,"79b43c44"))))),asset:{type:"BLOCK",id:"column-demo-stack",refAtomIds:["Column"],dependencies:{"index.tsx":{type:"FILE",value:t("412fe1bc").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u5806\u53E0\u67F1\u5F62\u56FE",description:"\u5728 data \u4E2D\u4F20\u5165\u989D\u5916\u7684\u5B57\u6BB5\uFF0C\u5E76\u4E14\u8BBE\u7F6E stack \u4E3A true"},context:{"@ant-design/x":u,"@antv/gpt-vis":d,react:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return u.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return c.default;},useEventPublish:function(){return c.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var a=t("d1751d7c"),o=t("777fffbe"),r=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var d=t("a574afdb"),u=o._(t("a7265236")),l=o._(t("2c69d5f6")),c=r._(t("033b3748")),s=o._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return o.default;}});var a=t("d1751d7c"),o=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);}}]); +//# sourceMappingURL=f7388c2c-async.64930316.js.map \ No newline at end of file diff --git a/f7388c2c-async.64930316.js.map b/f7388c2c-async.64930316.js.map new file mode 100644 index 0000000..d607528 --- /dev/null +++ b/f7388c2c-async.64930316.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/Column/index.md?type=text","src/Column/demos/markdown.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Column/demos/group.tsx?dumi-raw","src/Column/demos/stack.tsx?dumi-raw","src/Column/demos/common.tsx?dumi-raw","src/Column/index.md?type=demo","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/index.md?watch=parent';\n export const texts = [{\"value\":\"{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 91.9 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 99.1 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 101.6 }\\n ]\\n}\\n\",\"paraId\":0,\"tocIndex\":6},{\"value\":\"属性\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"data\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"ColumnDataItem[]\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"数据\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"group\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"boolean\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否开启分组,开启分组柱形图需数据中含有 group 字段\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"stack\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"boolean\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"是否开启堆叠,开启堆叠柱形图需数据中含有 group 字段\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"title\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"图表的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"axisXTitle\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"x 轴的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"axisYTitle\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"string\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"y 轴的标题\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"...\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":1,\"tocIndex\":8},{\"value\":\"更多属性,详见 \",\"paraId\":1,\"tocIndex\":8},{\"value\":\"Ant Design Charts \",\"paraId\":1,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"category\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分类名称\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"value\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分类值\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"group\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"number\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":9},{\"value\":\"数据分组名称\",\"paraId\":2,\"tocIndex\":9}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n当然了,以下是为你绘制的一个柱状图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [{\\\"category\\\":2013,\\\"value\\\":59.3},{\\\"category\\\":2014,\\\"value\\\":64.4},{\\\"category\\\":2015,\\\"value\\\":68.9},{\\\"category\\\":2016,\\\"value\\\":74.4},{\\\"category\\\":2017,\\\"value\\\":82.7},{\\\"category\\\":2018,\\\"value\\\":91.9},{\\\"category\\\":2019,\\\"value\\\":99.1},{\\\"category\\\":2020,\\\"value\\\":101.6},{\\\"category\\\":2021,\\\"value\\\":114.4},{\\\"category\\\":2022,\\\"value\\\":121}],\\n \\\"axisXTitle\\\": \\\"year\\\",\\n \\\"axisYTitle\\\": \\\"GDP\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Column]: Column },\\n style: { width: 350 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/group.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n以下是为你绘制的一个柱状图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"北京\\\", \\\"value\\\": 825.6, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"北京\\\", \\\"value\\\": 60.2, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"上海\\\", \\\"value\\\": 450, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"上海\\\", \\\"value\\\": 95, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"深圳\\\", \\\"value\\\": 506, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"深圳\\\", \\\"value\\\": 76.7, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"广州\\\", \\\"value\\\": 976.6, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"广州\\\", \\\"value\\\": 97.2, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"杭州\\\", \\\"value\\\": 651.2, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"杭州\\\", \\\"value\\\": 62, \\\"group\\\": \\\"新能源汽车\\\" }\\n ],\\n \\\"group\\\": true,\\n \\\"axisXTitle\\\": \\\"城市\\\",\\n \\\"axisYTitle\\\": \\\"售量\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Column]: Column },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/stack.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, Column, GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst markdownContent = `\\n以下是为你绘制的一个柱状图\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"column\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"北京\\\", \\\"value\\\": 825.6, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"北京\\\", \\\"value\\\": 60.2, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"上海\\\", \\\"value\\\": 450, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"上海\\\", \\\"value\\\": 95, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"深圳\\\", \\\"value\\\": 506, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"深圳\\\", \\\"value\\\": 76.7, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"广州\\\", \\\"value\\\": 976.6, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"广州\\\", \\\"value\\\": 97.2, \\\"group\\\": \\\"新能源汽车\\\" },\\n { \\\"category\\\": \\\"杭州\\\", \\\"value\\\": 651.2, \\\"group\\\": \\\"油车\\\" },\\n { \\\"category\\\": \\\"杭州\\\", \\\"value\\\": 62, \\\"group\\\": \\\"新能源汽车\\\" }\\n ],\\n \\\"stack\\\": true,\\n \\\"axisXTitle\\\": \\\"城市\\\",\\n \\\"axisYTitle\\\": \\\"售量\\\"\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.Column]: Column },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => (\\n
\\n \\n \\n
\\n);\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/common.tsx?watch=parent';\n export default \"import { Column } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n { type: '1-3秒', value: 0.16 },\\n { type: '4-10秒', value: 0.125 },\\n { type: '11-30秒', value: 0.24 },\\n { type: '31-60秒', value: 0.19 },\\n { type: '1-3分', value: 0.22 },\\n { type: '3-10分', value: 0.05 },\\n { type: '10-30分', value: 0.01 },\\n { type: '30+分', value: 0.015 },\\n];\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/index.md?watch=parent';\nimport * as column_demo_common_deps_1 from '@antv/gpt-vis';\nimport * as column_demo_common_deps_2 from 'react';\nimport * as column_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'column-demo-common': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Column__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/common.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"column-demo-common\",\n \"refAtomIds\": [\n \"Column\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/common.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"单独使用\"\n},\n context: {\n \"@antv/gpt-vis\": column_demo_common_deps_1,\n \"react\": column_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'column-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Column__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"column-demo-markdown\",\n \"refAtomIds\": [\n \"Column\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": column_demo_markdown_deps_1,\n \"@antv/gpt-vis\": column_demo_common_deps_1,\n \"react\": column_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'column-demo-group': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Column__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/group.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"column-demo-group\",\n \"refAtomIds\": [\n \"Column\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/group.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"分组柱形图\",\n \"description\": \"在 data 中传入额外的字段,并且设置 group 为 true\"\n},\n context: {\n \"@ant-design/x\": column_demo_markdown_deps_1,\n \"@antv/gpt-vis\": column_demo_common_deps_1,\n \"react\": column_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'column-demo-stack': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"Column__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/stack.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"column-demo-stack\",\n \"refAtomIds\": [\n \"Column\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/Column/demos/stack.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"堆叠柱形图\",\n \"description\": \"在 data 中传入额外的字段,并且设置 stack 为 true\"\n},\n context: {\n \"@ant-design/x\": column_demo_markdown_deps_1,\n \"@antv/gpt-vis\": column_demo_common_deps_1,\n \"react\": column_demo_common_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"+PAEe,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,8NAAyM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,2BAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,qBAAM,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,OAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,mBAAmB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,eAAK,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,QAAQ,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,UAAU,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,SAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,IAAI,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,8IAAgC,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,QAA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,EAE9Q,CACN,CACF,gFC9JoB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/faadd566-async.c49aea1c.js b/faadd566-async.c49aea1c.js new file mode 100644 index 0000000..a72d93c --- /dev/null +++ b/faadd566-async.c49aea1c.js @@ -0,0 +1,27 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["faadd566"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return r.default;},Bubble:function(){return f.default;},Conversations:function(){return o.default;},Prompts:function(){return i.default;},Sender:function(){return d.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return l.default;},XProvider:function(){return b.default;},XRequest:function(){return h.default;},XStream:function(){return _.default;},useXAgent:function(){return m.default;},useXChat:function(){return g.default;},version:function(){return u.default;}});var n=a("777fffbe"),u=n._(a("61551e8a")),r=n._(a("150d8a7a")),d=n._(a("013e81db")),f=n._(a("d161127f")),o=n._(a("11781cbc")),i=n._(a("5a025bc4")),s=n._(a("e2d1bf07")),c=n._(a("d0c39811")),l=n._(a("0176aebf")),b=n._(a("8b35f51f")),g=n._(a("92b2492a")),m=n._(a("1e122ed0")),_=n._(a("470d5fd8")),h=n._(a("e0f10014"));},"65ff8f37":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return d;}});var n=a("a2e753d8");a("a71666f1");var u=a("df67f0d6");let r={nodes:[{name:"\u8BBF\u95EE\u6CE8\u518C\u9875\u9762"},{name:"\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355"},{name:"\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F"},{name:"\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237"},{name:"\u63D0\u793A\u4FEE\u6539\u9519\u8BEF\u4FE1\u606F"},{name:"\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6"},{name:"\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5"},{name:"\u6CE8\u518C\u6210\u529F\uFF0C\u8DF3\u8F6C\u5230\u767B\u5F55\u9875\u9762"}],edges:[{source:"\u8BBF\u95EE\u6CE8\u518C\u9875\u9762",target:"\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355"},{source:"\u586B\u5199\u5E76\u63D0\u4EA4\u6CE8\u518C\u8868\u5355",target:"\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F"},{source:"\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F",target:"\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237",name:"\u4FE1\u606F\u65E0\u8BEF"},{source:"\u9A8C\u8BC1\u7528\u6237\u4FE1\u606F",target:"\u63D0\u793A\u4FEE\u6539\u9519\u8BEF\u4FE1\u606F",name:"\u4FE1\u606F\u6709\u8BEF"},{source:"\u521B\u5EFA\u65B0\u7528\u6237\u8D26\u6237",target:"\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6"},{source:"\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6",target:"\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5"},{source:"\u70B9\u51FB\u9A8C\u8BC1\u94FE\u63A5",target:"\u6CE8\u518C\u6210\u529F\uFF0C\u8DF3\u8F6C\u5230\u767B\u5F55\u9875\u9762"}]};var d=()=>(0,n.jsx)(u.FlowDiagram,{data:r,containerStyle:{height:300}});},c8ae6864:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return s;}});var n=a("a2e753d8");a("4f7c7a04");var u=a("1c5d635b"),r=a("df67f0d6");let d=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6D41}\u{7A0B}\u{56FE} + +\`\`\`vis-chart +{ + "type": "flow-diagram", + "data": { + "nodes": [ + { "name": "\u{5BA2}\u{6237}\u{4E0B}\u{5355}" }, + { "name": "\u{7CFB}\u{7EDF}\u{751F}\u{6210}\u{8BA2}\u{5355}" }, + { "name": "\u{4ED3}\u{5E93}\u{62E3}\u{8D27}" }, + { "name": "\u{4ED3}\u{5E93}\u{6253}\u{5305}" }, + { "name": "\u{7269}\u{6D41}\u{914D}\u{9001}" }, + { "name": "\u{5BA2}\u{6237}\u{6536}\u{8D27}" } + ], + "edges": [ + { "source": "\u{5BA2}\u{6237}\u{4E0B}\u{5355}", "target": "\u{7CFB}\u{7EDF}\u{751F}\u{6210}\u{8BA2}\u{5355}" }, + { "source": "\u{7CFB}\u{7EDF}\u{751F}\u{6210}\u{8BA2}\u{5355}", "target": "\u{4ED3}\u{5E93}\u{62E3}\u{8D27}" }, + { "source": "\u{4ED3}\u{5E93}\u{62E3}\u{8D27}", "target": "\u{4ED3}\u{5E93}\u{6253}\u{5305}" }, + { "source": "\u{4ED3}\u{5E93}\u{6253}\u{5305}", "target": "\u{7269}\u{6D41}\u{914D}\u{9001}" }, + { "source": "\u{7269}\u{6D41}\u{914D}\u{9001}", "target": "\u{5BA2}\u{6237}\u{6536}\u{8D27}" } + ] + } +} +\`\`\` +`,f={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},o=(0,r.withChartCode)({components:{[r.ChartType.FlowDiagram]:r.FlowDiagram},style:{width:500,height:250}}),i=e=>(0,n.jsx)(r.GPTVisLite,{components:{code:o},children:e});var s=()=>(0,n.jsxs)("div",{style:f,children:[(0,n.jsx)(u.Bubble,{placement:"end",content:"\u53EF\u89C6\u5316\u7528\u6237\u7F51\u8D2D\u7269\u6D41\u5168\u6D41\u7A0B",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,n.jsx)(u.Bubble,{content:d,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return f.default;},GPTVis:function(){return o.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var n=a("d1751d7c"),u=a("777fffbe"),r=a("852bbaa9");n._(a("5639510f"),t),n._(a("d382b880"),t);var d=a("a574afdb"),f=u._(a("a7265236")),o=u._(a("2c69d5f6")),i=r._(a("033b3748")),s=u._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return u.default;}});var n=a("d1751d7c"),u=a("777fffbe")._(a("b00709ad"));n._(a("5e2dda25"),t),n._(a("969efd31"),t),n._(a("f21af0e0"),t),n._(a("33eda958"),t),n._(a("112b9a67"),t),n._(a("a45613fd"),t),n._(a("432777ba"),t);}}]); +//# sourceMappingURL=faadd566-async.c49aea1c.js.map \ No newline at end of file diff --git a/faadd566-async.c49aea1c.js.map b/faadd566-async.c49aea1c.js.map new file mode 100644 index 0000000..b435adf --- /dev/null +++ b/faadd566-async.c49aea1c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/FlowDiagram/demos/common.tsx?techStack=react","src/FlowDiagram/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/common.tsx?watch=parent';import { FlowDiagram } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = {\n nodes: [\n { name: '访问注册页面' },\n { name: '填写并提交注册表单' },\n { name: '验证用户信息' },\n { name: '创建新用户账户' },\n { name: '提示修改错误信息' },\n { name: '发送验证邮件' },\n { name: '点击验证链接' },\n { name: '注册成功,跳转到登录页面' },\n ],\n edges: [\n { source: '访问注册页面', target: '填写并提交注册表单' },\n { source: '填写并提交注册表单', target: '验证用户信息' },\n { source: '验证用户信息', target: '创建新用户账户', name: '信息无误' },\n { source: '验证用户信息', target: '提示修改错误信息', name: '信息有误' },\n { source: '创建新用户账户', target: '发送验证邮件' },\n { source: '发送验证邮件', target: '点击验证链接' },\n { source: '点击验证链接', target: '注册成功,跳转到登录页面' },\n ],\n};\n\nexport default () => ;\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, FlowDiagram, GPTVisLite, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个流程图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"flow-diagram\",\n \"data\": {\n \"nodes\": [\n { \"name\": \"客户下单\" },\n { \"name\": \"系统生成订单\" },\n { \"name\": \"仓库拣货\" },\n { \"name\": \"仓库打包\" },\n { \"name\": \"物流配送\" },\n { \"name\": \"客户收货\" }\n ],\n \"edges\": [\n { \"source\": \"客户下单\", \"target\": \"系统生成订单\" },\n { \"source\": \"系统生成订单\", \"target\": \"仓库拣货\" },\n { \"source\": \"仓库拣货\", \"target\": \"仓库打包\" },\n { \"source\": \"仓库打包\", \"target\": \"物流配送\" },\n { \"source\": \"物流配送\", \"target\": \"客户收货\" }\n ]\n }\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.FlowDiagram]: FlowDiagram },\n style: { width: 500, height: 250 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCYpC,+CAAA,4BAzBO,oBAA8G,YAGrH,IAAM,EAAO,CACX,MAAO,CACL,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,wDAAY,EACpB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,4CAAU,EAClB,CAAE,KAAM,kDAAW,EACnB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,sCAAS,EACjB,CAAE,KAAM,0EAAe,EACxB,CACD,MAAO,CACL,CAAE,OAAQ,uCAAU,OAAQ,wDAAY,EACxC,CAAE,OAAQ,yDAAa,OAAQ,sCAAS,EACxC,CAAE,OAAQ,uCAAU,OAAQ,6CAAW,KAAM,0BAAO,EACpD,CAAE,OAAQ,uCAAU,OAAQ,mDAAY,KAAM,0BAAO,EACrD,CAAE,OAAQ,6CAAW,OAAQ,sCAAS,EACtC,CAAE,OAAQ,uCAAU,OAAQ,sCAAS,EACrC,CAAE,OAAQ,uCAAU,OAAQ,0EAAe,EAC5C,AACH,MAEA,EAAe,IAAM,UAAC,aAAW,EAAC,KAAM,EAAM,eAAgB,CAAE,OAAQ,GAAI,iFCuB5E,+CAAA,4BAhDO,oBAA6H,gBAClE,YAGlE,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAyBzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,WAAW,CAAC,CAAE,aAAW,AAAC,EACnD,MAAO,CAAE,MAAO,IAAK,OAAQ,GAAI,CACnC,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,2EACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,SAAU,CAAE,IAE/C,UAAC,QAAM,EACL,QAAS,EACT,cAAe,EACf,OAAQ,CACN,IAAK,gGACP,EACA,QAAQ,SACR,OAAQ,CAAE,QAAS,CAAE,WAAY,MAAO,CAAE,qFCxD5B,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA"} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..be766c1 Binary files /dev/null and b/favicon.ico differ diff --git a/fdea2838-async.63739a2c.js b/fdea2838-async.63739a2c.js new file mode 100644 index 0000000..f777b5e --- /dev/null +++ b/fdea2838-async.63739a2c.js @@ -0,0 +1,83 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["fdea2838"],{"1c5d635b":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{Attachments:function(){return i.default;},Bubble:function(){return d.default;},Conversations:function(){return l.default;},Prompts:function(){return f.default;},Sender:function(){return r.default;},Suggestion:function(){return o.default;},ThoughtChain:function(){return s.default;},Welcome:function(){return c.default;},XProvider:function(){return b.default;},XRequest:function(){return g.default;},XStream:function(){return A.default;},useXAgent:function(){return m.default;},useXChat:function(){return v.default;},version:function(){return n.default;}});var u=a("777fffbe"),n=u._(a("61551e8a")),i=u._(a("150d8a7a")),r=u._(a("013e81db")),d=u._(a("d161127f")),l=u._(a("11781cbc")),f=u._(a("5a025bc4")),s=u._(a("e2d1bf07")),o=u._(a("d0c39811")),c=u._(a("0176aebf")),b=u._(a("8b35f51f")),v=u._(a("92b2492a")),m=u._(a("1e122ed0")),A=u._(a("470d5fd8")),g=u._(a("e0f10014"));},"9327e2ef":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return s;}});var u=a("a2e753d8");a("86215bca");var n=a("1c5d635b"),i=a("df67f0d6");let r=` +\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6298}\u{7EBF}\u{56FE} + +\`\`\`vis-chart +{ + "type": "line", + "data": [ + { + "time": "1974", + "value": 107, + "group": "Gas flaring" + }, + { + "time": "1974", + "value": 208, + "group": "Renewables" + }, + { + "time": "1974", + "value": 356, + "group": "Fossil fuels" + }, + { + "time": "1975", + "value": 173, + "group": "Gas flaring" + }, + { + "time": "1975", + "value": 415, + "group": "Renewables" + }, + { + "time": "1975", + "value": 364, + "group": "Fossil fuels" + }, + { + "time": "1976", + "value": 117, + "group": "Gas flaring" + }, + { + "time": "1976", + "value": 220, + "group": "Renewables" + }, + { + "time": "1976", + "value": 373, + "group": "Fossil fuels" + }, + { + "time": "1977", + "value": 122, + "group": "Gas flaring" + }, + { + "time": "1977", + "value": 225, + "group": "Renewables" + }, + { + "time": "1977", + "value": 382, + "group": "Fossil fuels" + } + ] +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,i.withChartCode)({components:{[i.ChartType.Line]:i.Line},style:{width:350}}),f=e=>(0,u.jsx)(i.GPTVisLite,{components:{code:l},children:e});var s=()=>(0,u.jsxs)("div",{style:d,children:[(0,u.jsx)(n.Bubble,{placement:"end",content:"\u6298\u7EBF\u56FE\u53EF\u89C6\u5316\u4E00\u4E0B\u6211\u7684\u6570\u636E",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb",maxWidth:"60%"}}}),(0,u.jsx)(n.Bubble,{content:r,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},bdde5fbb:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return s;}});var u=a("a2e753d8");a("1b449fbb");var n=a("1c5d635b"),i=a("df67f0d6");let r=` +\u{5F53}\u{7136}\u{4E86}\u{FF0C}\u{4EE5}\u{4E0B}\u{662F}\u{4E3A}\u{4F60}\u{7ED8}\u{5236}\u{7684}\u{4E00}\u{4E2A}\u{6298}\u{7EBF}\u{56FE} + +\`\`\`vis-chart +{ + "type": "line", + "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}], + "axisXTitle": "year", + "axisYTitle": "GDP" +} +\`\`\` +`,d={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=(0,i.withChartCode)({components:{[i.ChartType.Line]:i.Line},style:{width:350}}),f=e=>(0,u.jsx)(i.GPTVisLite,{components:{code:l},children:e});var s=()=>(0,u.jsxs)("div",{style:d,children:[(0,u.jsx)(n.Bubble,{placement:"end",content:"\u5E2E\u6211\u53EF\u89C6\u5316\u4E00\u4E0B\u6700\u8FD1\u51E0\u5E74 GDP \u60C5\u51B5",avatar:{src:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*2Q5LRJ3LFPUAAAAAAAAAAAAADmJ7AQ/fmt.webp"},styles:{content:{background:"#ebebeb"}}}),(0,u.jsx)(n.Bubble,{content:r,messageRender:f,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})]});},df67f0d6:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.e(t,{ConfigProvider:function(){return d.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return f.default;},useEventPublish:function(){return f.useEventPublish;},version:function(){return s.default;},withChartCode:function(){return r.withChartCode;},withDefaultChartCode:function(){return r.withDefaultChartCode;}});var u=a("d1751d7c"),n=a("777fffbe"),i=a("852bbaa9");u._(a("5639510f"),t),u._(a("d382b880"),t);var r=a("a574afdb"),d=n._(a("a7265236")),l=n._(a("2c69d5f6")),f=i._(a("033b3748")),s=n._(a("7cf1dc46"));},e7bada6d:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"Source",{enumerable:!0,get:function(){return n.default;}});var u=a("d1751d7c"),n=a("777fffbe")._(a("b00709ad"));u._(a("5e2dda25"),t),u._(a("969efd31"),t),u._(a("f21af0e0"),t),u._(a("33eda958"),t),u._(a("112b9a67"),t),u._(a("a45613fd"),t),u._(a("432777ba"),t);},fd22f00b:function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return r;}});var u=a("a2e753d8");a("a2e61449");var n=a("df67f0d6");let i=[{time:"1991",value:3},{time:"1992",value:4},{time:"1993",value:3.5},{time:"1994",value:5},{time:"1995",value:4.9},{time:"1996",value:6},{time:"1997",value:7},{time:"1998",value:9},{time:"1999",value:13}];var r=()=>(0,u.jsx)(n.Line,{data:i,axisXTitle:"year",axisYTitle:"growth",containerStyle:{height:300}});}}]); +//# sourceMappingURL=fdea2838-async.63739a2c.js.map \ No newline at end of file diff --git a/fdea2838-async.63739a2c.js.map b/fdea2838-async.63739a2c.js.map new file mode 100644 index 0000000..89450c8 --- /dev/null +++ b/fdea2838-async.63739a2c.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/Line/demos/category.tsx?techStack=react","src/Line/demos/markdown.tsx?techStack=react","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/Line/demos/common.tsx?techStack=react"],"sourcesContent":["export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/category.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Line, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n以下是为你绘制的一个折线图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"line\",\n \"data\": [\n {\n \"time\": \"1974\",\n \"value\": 107,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1974\",\n \"value\": 208,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1974\",\n \"value\": 356,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1975\",\n \"value\": 173,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1975\",\n \"value\": 415,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1975\",\n \"value\": 364,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1976\",\n \"value\": 117,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1976\",\n \"value\": 220,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1976\",\n \"value\": 373,\n \"group\": \"Fossil fuels\"\n },\n {\n \"time\": \"1977\",\n \"value\": 122,\n \"group\": \"Gas flaring\"\n },\n {\n \"time\": \"1977\",\n \"value\": 225,\n \"group\": \"Renewables\"\n },\n {\n \"time\": \"1977\",\n \"value\": 382,\n \"group\": \"Fossil fuels\"\n }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Line]: Line },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/markdown.tsx?watch=parent';import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { ChartType, GPTVisLite, Line, withChartCode } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst markdownContent = `\n当然了,以下是为你绘制的一个折线图\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"line\",\n \"data\": [{\"time\":2013,\"value\":59.3},{\"time\":2014,\"value\":64.4},{\"time\":2015,\"value\":68.9},{\"time\":2016,\"value\":74.4},{\"time\":2017,\"value\":82.7},{\"time\":2018,\"value\":91.9},{\"time\":2019,\"value\":99.1},{\"time\":2020,\"value\":101.6},{\"time\":2021,\"value\":114.4},{\"time\":2022,\"value\":121}],\n \"axisXTitle\": \"year\",\n \"axisYTitle\": \"GDP\"\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.Line]: Line },\n style: { width: 350 },\n});\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\n {content}\n);\n\nexport default () => (\n
\n \n \n
\n);\n","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","import '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/demos/common.tsx?watch=parent';import { Line } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n { time: '1991', value: 3 },\n { time: '1992', value: 4 },\n { time: '1993', value: 3.5 },\n { time: '1994', value: 5 },\n { time: '1995', value: 4.9 },\n { time: '1996', value: 6 },\n { time: '1997', value: 7 },\n { time: '1998', value: 9 },\n { time: '1999', value: 13 },\n];\n\nexport default () => {\n return (\n \n );\n};\n"],"names":[],"mappings":"gQACoB,WAAW,mBAAX,SAAW,GAEX,MAAM,mBAAN,SAAM,GACN,aAAa,mBAAb,SAAa,GACb,OAAO,mBAAP,SAAO,GAHP,MAAM,mBAAN,SAAM,GAKN,UAAU,mBAAV,SAAU,GADV,YAAY,mBAAZ,SAAY,GAEZ,OAAO,mBAAP,SAAO,GACP,SAAS,mBAAT,SAAS,GAIT,QAAQ,mBAAR,SAAQ,GADR,OAAO,mBAAP,SAAO,GADP,SAAS,mBAAT,SAAS,GADT,QAAQ,mBAAR,SAAQ,GAVR,OAAO,mBAAP,SAAO,iCAAQ,qBACI,qBACL,qBACA,qBACO,qBACN,qBACK,qBACF,qBACH,qBACE,qBACD,qBACC,qBACF,qBACC,4FCgFpC,+CAAA,4BA7FO,oBAAsH,gBAClE,YAG3D,IAAM,EAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEzB,CAAC,CAEK,EAAU,CACd,QAAS,OACT,QAAS,SACT,WAAY,UACZ,QAAS,GACT,aAAc,CAChB,EAEM,EAAgB,GAAA,eAAa,EAAC,CAClC,WAAY,CAAE,CAAC,WAAS,CAAC,IAAI,CAAC,CAAE,MAAI,AAAC,EACrC,MAAO,CAAE,MAAO,GAAI,CACtB,GAEM,EAA+C,AAAC,GACpD,UAAC,YAAU,EAAC,WAAY,CAAE,KAAM,CAAc,WAAI,QAGpD,EAAe,IACb,WAAC,OAAI,MAAO,YACV,UAAC,QAAM,EACL,UAAU,MACV,QAAQ,2EACR,OAAQ,CACN,IAAK,gGACP,EACA,OAAQ,CAAE,QAAS,CAAE,WAAY,UAAW,SAAU,KAAM,CAAE,IAEh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,OAAQ,MAAO,GAAI,EAC3B,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,GAAI,EAC3B,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,CAAE,EACzB,CAAE,KAAM,OAAQ,MAAO,EAAG,EAC3B,KAED,EAAe,IAEX,UAAC,MAAI,EAAC,KAAM,EAAM,WAAW,OAAO,WAAW,SAAS,eAAgB,CAAE,OAAQ,GAAI"} \ No newline at end of file diff --git a/ffe9488a-async.fe615b3d.js b/ffe9488a-async.fe615b3d.js new file mode 100644 index 0000000..8b36159 --- /dev/null +++ b/ffe9488a-async.fe615b3d.js @@ -0,0 +1,2 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["ffe9488a"],{"1bd1d0b4":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("7817d584");var t="import { PathMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n points: [\n { longitude: 120.130638, latitude: 30.219835, label: '\u77F3\u5C4B\u6D1E' },\n { longitude: 120.128125, latitude: 30.219386, label: '\u6EE1\u89C9\u9647' },\n { longitude: 120.118362, latitude: 30.217175, label: '\u6768\u6885\u5CAD' },\n { longitude: 120.112958, latitude: 30.207319, label: '\u7406\u5B89\u5BFA' },\n { longitude: 120.11335, latitude: 30.202395, label: '\u4E5D\u6EAA\u70DF\u6811' },\n ],\n },\n {\n points: [\n { longitude: 120.100549, latitude: 30.236875, label: '\u98DE\u6765\u5CF0' },\n { longitude: 120.101406, latitude: 30.240826, label: '\u7075\u9690\u5BFA' },\n { longitude: 120.105337, latitude: 30.236818, label: '\u5929\u7AFA\u4E09\u5BFA' },\n ],\n },\n {\n points: [\n { longitude: 120.116979, latitude: 30.252876, label: '\u676D\u5DDE\u690D\u7269\u56ED' },\n { longitude: 120.127654, latitude: 30.245663, label: '\u676D\u5DDE\u82B1\u5703' },\n { longitude: 120.135764, latitude: 30.251448, label: '\u82CF\u5824' },\n ],\n },\n {\n points: [\n { longitude: 120.130095, latitude: 30.207505, label: '\u864E\u8DD1\u516C\u56ED' },\n { longitude: 120.145323, latitude: 30.214993, label: '\u7389\u7687\u98DE\u4E91' },\n { longitude: 120.155057, latitude: 30.232985, label: '\u957F\u6865\u516C\u56ED' },\n ],\n },\n];\nconst routeData = data.map((item) => {\n return {\n path: item,\n markers: item.points,\n };\n});\n\nexport default () => {\n return ;\n};\n";},"1c5d635b":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{Attachments:function(){return l.default;},Bubble:function(){return o.default;},Conversations:function(){return r.default;},Prompts:function(){return i.default;},Sender:function(){return u.default;},Suggestion:function(){return p.default;},ThoughtChain:function(){return c.default;},Welcome:function(){return s.default;},XProvider:function(){return I.default;},XRequest:function(){return m.default;},XStream:function(){return f.default;},useXAgent:function(){return b.default;},useXChat:function(){return v.default;},version:function(){return d.default;}});var t=a("777fffbe"),d=t._(a("61551e8a")),l=t._(a("150d8a7a")),u=t._(a("013e81db")),o=t._(a("d161127f")),r=t._(a("11781cbc")),i=t._(a("5a025bc4")),c=t._(a("e2d1bf07")),p=t._(a("d0c39811")),s=t._(a("0176aebf")),I=t._(a("8b35f51f")),v=t._(a("92b2492a")),b=t._(a("1e122ed0")),f=t._(a("470d5fd8")),m=t._(a("e0f10014"));},"733190de":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"texts",{enumerable:!0,get:function(){return t;}}),a("29b47652");let t=[{value:"\u8DEF\u5F84\u5730\u56FE\uFF0C\u7528\u4E8E\u53EF\u89C6\u5316\u8DEF\u5F84\u7EBF\u8DEF\u6570\u636E\u3002",paraId:0,tocIndex:0},{value:'{\n "type": "path-map",\n "data": [\n {\n "path": {\n "points": [\n {\n "longitude": 120.130638,\n "latitude": 30.219835,\n "label": "\u77F3\u5C4B\u6D1E"\n },\n {\n "longitude": 120.128125,\n "latitude": 30.219386,\n "label": "\u6EE1\u89C9\u9647"\n },\n {\n "longitude": 120.118362,\n "latitude": 30.217175,\n "label": "\u6768\u6885\u5CAD"\n },\n {\n "longitude": 120.112958,\n "latitude": 30.207319,\n "label": "\u7406\u5B89\u5BFA"\n },\n {\n "longitude": 120.11335,\n "latitude": 30.202395,\n "label": "\u4E5D\u6EAA\u70DF\u6811"\n }\n ]\n },\n "markers": [\n {\n "longitude": 120.130638,\n "latitude": 30.219835,\n "label": "\u77F3\u5C4B\u6D1E"\n },\n {\n "longitude": 120.128125,\n "latitude": 30.219386,\n "label": "\u6EE1\u89C9\u9647"\n },\n {\n "longitude": 120.118362,\n "latitude": 30.217175,\n "label": "\u6768\u6885\u5CAD"\n },\n {\n "longitude": 120.112958,\n "latitude": 30.207319,\n "label": "\u7406\u5B89\u5BFA"\n },\n {\n "longitude": 120.11335,\n "latitude": 30.202395,\n "label": "\u4E5D\u6EAA\u70DF\u6811"\n }\n ]\n },\n {\n "path": {\n "points": [\n {\n "longitude": 120.100549,\n "latitude": 30.236875,\n "label": "\u98DE\u6765\u5CF0"\n },\n {\n "longitude": 120.101406,\n "latitude": 30.240826,\n "label": "\u7075\u9690\u5BFA"\n },\n {\n "longitude": 120.105337,\n "latitude": 30.236818,\n "label": "\u5929\u7AFA\u4E09\u5BFA"\n }\n ]\n },\n "markers": [\n {\n "longitude": 120.100549,\n "latitude": 30.236875,\n "label": "\u98DE\u6765\u5CF0"\n },\n {\n "longitude": 120.101406,\n "latitude": 30.240826,\n "label": "\u7075\u9690\u5BFA"\n },\n {\n "longitude": 120.105337,\n "latitude": 30.236818,\n "label": "\u5929\u7AFA\u4E09\u5BFA"\n }\n ]\n }\n ]\n}\n',paraId:1,tocIndex:5},{value:"\u5C5E\u6027",paraId:2,tocIndex:7},{value:"\u7C7B\u578B",paraId:2,tocIndex:7},{value:"\u662F\u5426\u5FC5\u4F20",paraId:2,tocIndex:7},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:7},{value:"\u8BF4\u660E",paraId:2,tocIndex:7},{value:"data",paraId:2,tocIndex:7},{value:"RoutData[]",paraId:2,tocIndex:7},{value:"\u662F",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6570\u636E",paraId:2,tocIndex:7},{value:"markerStyle",paraId:2,tocIndex:7},{value:"Marker",paraId:2,tocIndex:7},{value:"\u5426",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u6807\u8BB0\u70B9\u6837\u5F0F",paraId:2,tocIndex:7},{value:"pathStyle",paraId:2,tocIndex:7},{value:"Polyline",paraId:2,tocIndex:7},{value:"\u5426",paraId:2,tocIndex:7},{value:"-",paraId:2,tocIndex:7},{value:"\u7EBF\u6837\u5F0F",paraId:2,tocIndex:7},{value:"\u5C5E\u6027",paraId:3,tocIndex:8},{value:"\u7C7B\u578B",paraId:3,tocIndex:8},{value:"\u662F\u5426\u5FC5\u4F20",paraId:3,tocIndex:8},{value:"\u9ED8\u8BA4\u503C",paraId:3,tocIndex:8},{value:"\u8BF4\u660E",paraId:3,tocIndex:8},{value:"markers",paraId:3,tocIndex:8},{value:"MarkerData[]",paraId:3,tocIndex:8},{value:"\u5426",paraId:3,tocIndex:8},{value:"-",paraId:3,tocIndex:8},{value:"\u8DEF\u5F84\u6807\u6CE8",paraId:3,tocIndex:8},{value:"path",paraId:3,tocIndex:8},{value:"Polyline",paraId:3,tocIndex:8},{value:"\u662F",paraId:3,tocIndex:8},{value:"-",paraId:3,tocIndex:8},{value:"\u8DEF\u5F84\u8F68\u8FF9",paraId:3,tocIndex:8},{value:"\u5C5E\u6027",paraId:4,tocIndex:9},{value:"\u7C7B\u578B",paraId:4,tocIndex:9},{value:"\u662F\u5426\u5FC5\u4F20",paraId:4,tocIndex:9},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:9},{value:"\u8BF4\u660E",paraId:4,tocIndex:9},{value:"points",paraId:4,tocIndex:9},{value:"LngLat[]",paraId:4,tocIndex:9},{value:"\u662F",paraId:4,tocIndex:9},{value:"-",paraId:4,tocIndex:9},{value:"\u8DEF\u5F84\u6807\u6CE8",paraId:4,tocIndex:9},{value:"width",paraId:4,tocIndex:9},{value:"Polyline",paraId:4,tocIndex:9},{value:"\u5426",paraId:4,tocIndex:9},{value:"2",paraId:4,tocIndex:9},{value:"\u8F68\u8FF9\u5BBD\u5EA6",paraId:4,tocIndex:9},{value:"color",paraId:4,tocIndex:9},{value:"string",paraId:4,tocIndex:9},{value:"\u5426",paraId:4,tocIndex:9},{value:"#16f",paraId:4,tocIndex:9},{value:"\u989C\u8272",paraId:4,tocIndex:9},{value:"dottedLine",paraId:4,tocIndex:9},{value:"boolean",paraId:4,tocIndex:9},{value:"\u5426",paraId:4,tocIndex:9},{value:"false",paraId:4,tocIndex:9},{value:"\u662F\u5426\u865A\u7EBF",paraId:4,tocIndex:9},{value:"\u5C5E\u6027",paraId:5,tocIndex:10},{value:"\u7C7B\u578B",paraId:5,tocIndex:10},{value:"\u662F\u5426\u5FC5\u4F20",paraId:5,tocIndex:10},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:10},{value:"\u8BF4\u660E",paraId:5,tocIndex:10},{value:"longitude",paraId:5,tocIndex:10},{value:"number",paraId:5,tocIndex:10},{value:"\u662F",paraId:5,tocIndex:10},{value:"-",paraId:5,tocIndex:10},{value:"\u7ECF\u5EA6",paraId:5,tocIndex:10},{value:"latitude",paraId:5,tocIndex:10},{value:"number",paraId:5,tocIndex:10},{value:"\u662F",paraId:5,tocIndex:10},{value:"-",paraId:5,tocIndex:10},{value:"\u7EAC\u5EA6",paraId:5,tocIndex:10},{value:"label",paraId:5,tocIndex:10},{value:"number",paraId:5,tocIndex:10},{value:"\u662F",paraId:5,tocIndex:10},{value:"-",paraId:5,tocIndex:10},{value:"\u6587\u5B57\u6807\u6CE8",paraId:5,tocIndex:10}];},"8bab3e04":function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("357fbfa7");var t='import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ChartType, ConfigProvider, GPTVisLite, PathMap, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst markdownContent = `\n ~~~vis-chart\n {\n "type": "path-map",\n "data": [\n {\n "path": {\n "points": [\n {\n "longitude": 120.130638,\n "latitude": 30.219835,\n "label": "\u77F3\u5C4B\u6D1E"\n },\n {\n "longitude": 120.128125,\n "latitude": 30.219386,\n "label": "\u6EE1\u89C9\u9647"\n },\n {\n "longitude": 120.118362,\n "latitude": 30.217175,\n "label": "\u6768\u6885\u5CAD"\n },\n {\n "longitude": 120.112958,\n "latitude": 30.207319,\n "label": "\u7406\u5B89\u5BFA"\n },\n {\n "longitude": 120.11335,\n "latitude": 30.202395,\n "label": "\u4E5D\u6EAA\u70DF\u6811"\n }\n ]\n },\n "markers": [\n {\n "longitude": 120.130638,\n "latitude": 30.219835,\n "label": "\u77F3\u5C4B\u6D1E"\n },\n {\n "longitude": 120.128125,\n "latitude": 30.219386,\n "label": "\u6EE1\u89C9\u9647"\n },\n {\n "longitude": 120.118362,\n "latitude": 30.217175,\n "label": "\u6768\u6885\u5CAD"\n },\n {\n "longitude": 120.112958,\n "latitude": 30.207319,\n "label": "\u7406\u5B89\u5BFA"\n },\n {\n "longitude": 120.11335,\n "latitude": 30.202395,\n "label": "\u4E5D\u6EAA\u70DF\u6811"\n }\n ]\n },\n {\n "path": {\n "points": [\n {\n "longitude": 120.100549,\n "latitude": 30.236875,\n "label": "\u98DE\u6765\u5CF0"\n },\n {\n "longitude": 120.101406,\n "latitude": 30.240826,\n "label": "\u7075\u9690\u5BFA"\n },\n {\n "longitude": 120.105337,\n "latitude": 30.236818,\n "label": "\u5929\u7AFA\u4E09\u5BFA"\n }\n ]\n },\n "markers": [\n {\n "longitude": 120.100549,\n "latitude": 30.236875,\n "label": "\u98DE\u6765\u5CF0"\n },\n {\n "longitude": 120.101406,\n "latitude": 30.240826,\n "label": "\u7075\u9690\u5BFA"\n },\n {\n "longitude": 120.105337,\n "latitude": 30.236818,\n "label": "\u5929\u7AFA\u4E09\u5BFA"\n }\n ]\n }\n ]\n}\n~~~`;\n\nconst CodeComponent = withChartCode({\n components: { [ChartType.PathMap]: PathMap },\n style: { width: 500 },\n});\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => (\n {content}\n);\n\nexport default () => {\n return (\n \n
\n \n \n
\n \n );\n};\n';},"94291ff1":function(e,n,a){"use strict";var t=a("852bbaa9")._;a.d(n,"__esModule",{value:!0}),a.d(n,"demos",{enumerable:!0,get:function(){return r;}});var d=a("852bbaa9"),l=d._(a("9d065c04"));a("29b47652");var u=d._(a("df67f0d6")),o=d._(a("1c5d635b"));let r={"pathmap-demo-default":{component:l.default.memo(l.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5ebba693")]).then(a.dr(t,a.bind(a,"eba337ba"))))),asset:{type:"BLOCK",id:"pathmap-demo-default",refAtomIds:["PathMap"],dependencies:{"index.tsx":{type:"FILE",value:a("1bd1d0b4").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u9ED8\u8BA4\u5730\u56FE"},context:{"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"pathmap-demo-line":{component:l.default.memo(l.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5ebba693")]).then(a.dr(t,a.bind(a,"b7ece2c2"))))),asset:{type:"BLOCK",id:"pathmap-demo-line",refAtomIds:["PathMap"],dependencies:{"index.tsx":{type:"FILE",value:a("f8acd439").default},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u6837\u5F0F"},context:{"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}},"pathmap-demo-markdown":{component:l.default.memo(l.default.lazy(()=>Promise.all([a.ensure("vendors_3"),a.ensure("common"),a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("vendors_2"),a.ensure("5ebba693")]).then(a.dr(t,a.bind(a,"f0d8c242"))))),asset:{type:"BLOCK",id:"pathmap-demo-markdown",refAtomIds:["PathMap"],dependencies:{"index.tsx":{type:"FILE",value:a("8bab3e04").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"}},entry:"index.tsx",title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},context:{"@ant-design/x":o,"@antv/gpt-vis":u,react:l},renderOpts:{compile:async(...e)=>(await Promise.all([a.ensure("vendors_0"),a.ensure("vendors_1"),a.ensure("d030c320")]).then(a.dr(t,a.bind(a,"d030c320")))).default(...e)}}};},df67f0d6:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.e(n,{ConfigProvider:function(){return o.default;},GPTVis:function(){return r.default;},GPTVisLite:function(){return i.default;},useEventPublish:function(){return i.useEventPublish;},version:function(){return c.default;},withChartCode:function(){return u.withChartCode;},withDefaultChartCode:function(){return u.withDefaultChartCode;}});var t=a("d1751d7c"),d=a("777fffbe"),l=a("852bbaa9");t._(a("5639510f"),n),t._(a("d382b880"),n);var u=a("a574afdb"),o=d._(a("a7265236")),r=d._(a("2c69d5f6")),i=l._(a("033b3748")),c=d._(a("7cf1dc46"));},e7bada6d:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"Source",{enumerable:!0,get:function(){return d.default;}});var t=a("d1751d7c"),d=a("777fffbe")._(a("b00709ad"));t._(a("5e2dda25"),n),t._(a("969efd31"),n),t._(a("f21af0e0"),n),t._(a("33eda958"),n),t._(a("112b9a67"),n),t._(a("a45613fd"),n),t._(a("432777ba"),n);},f8acd439:function(e,n,a){"use strict";a.d(n,"__esModule",{value:!0}),a.d(n,"default",{enumerable:!0,get:function(){return t;}}),a("ad28d068");var t="import { PathMap } from '@antv/gpt-vis';\nimport React from 'react';\n\nconst data = [\n {\n points: [\n { longitude: 120.130638, latitude: 30.219835, label: '\u77F3\u5C4B\u6D1E' },\n { longitude: 120.128125, latitude: 30.219386, label: '\u6EE1\u89C9\u9647' },\n { longitude: 120.118362, latitude: 30.217175, label: '\u6768\u6885\u5CAD' },\n { longitude: 120.112958, latitude: 30.207319, label: '\u7406\u5B89\u5BFA' },\n { longitude: 120.11335, latitude: 30.202395, label: '\u4E5D\u6EAA\u70DF\u6811' },\n ],\n },\n {\n points: [\n { longitude: 120.100549, latitude: 30.236875, label: '\u98DE\u6765\u5CF0' },\n { longitude: 120.101406, latitude: 30.240826, label: '\u7075\u9690\u5BFA' },\n { longitude: 120.105337, latitude: 30.236818, label: '\u5929\u7AFA\u4E09\u5BFA' },\n ],\n },\n {\n points: [\n { longitude: 120.116979, latitude: 30.252876, label: '\u676D\u5DDE\u690D\u7269\u56ED' },\n { longitude: 120.127654, latitude: 30.245663, label: '\u676D\u5DDE\u82B1\u5703' },\n { longitude: 120.135764, latitude: 30.251448, label: '\u82CF\u5824' },\n ],\n },\n {\n points: [\n { longitude: 120.130095, latitude: 30.207505, label: '\u864E\u8DD1\u516C\u56ED' },\n { longitude: 120.145323, latitude: 30.214993, label: '\u7389\u7687\u98DE\u4E91' },\n { longitude: 120.155057, latitude: 30.232985, label: '\u957F\u6865\u516C\u56ED' },\n ],\n },\n];\nconst routeData = data.map((item) => {\n return {\n path: item,\n markers: item.points,\n };\n});\n\nconst markerStyle = {\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\n width: 5,\n anchorY: 1,\n label: {\n color: '#735142',\n fontSize: 10,\n bgColor: '#ffffff',\n },\n};\n\nconst pathStyle = {\n color: '#86f',\n width: 1,\n dottedLine: true,\n};\n\nexport default () => {\n return (\n \n );\n};\n";}}]); +//# sourceMappingURL=ffe9488a-async.fe615b3d.js.map \ No newline at end of file diff --git a/ffe9488a-async.fe615b3d.js.map b/ffe9488a-async.fe615b3d.js.map new file mode 100644 index 0000000..60437ef --- /dev/null +++ b/ffe9488a-async.fe615b3d.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["src/PathMap/demos/default.tsx?dumi-raw","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","src/PathMap/index.md?type=text","src/PathMap/demos/markdown.tsx?dumi-raw","src/PathMap/index.md?type=demo","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","src/PathMap/demos/line.tsx?dumi-raw"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/default.tsx?watch=parent';\n export default \"import { PathMap } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n {\\n points: [\\n { longitude: 120.130638, latitude: 30.219835, label: '石屋洞' },\\n { longitude: 120.128125, latitude: 30.219386, label: '满觉陇' },\\n { longitude: 120.118362, latitude: 30.217175, label: '杨梅岭' },\\n { longitude: 120.112958, latitude: 30.207319, label: '理安寺' },\\n { longitude: 120.11335, latitude: 30.202395, label: '九溪烟树' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.100549, latitude: 30.236875, label: '飞来峰' },\\n { longitude: 120.101406, latitude: 30.240826, label: '灵隐寺' },\\n { longitude: 120.105337, latitude: 30.236818, label: '天竺三寺' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.116979, latitude: 30.252876, label: '杭州植物园' },\\n { longitude: 120.127654, latitude: 30.245663, label: '杭州花圃' },\\n { longitude: 120.135764, latitude: 30.251448, label: '苏堤' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.130095, latitude: 30.207505, label: '虎跑公园' },\\n { longitude: 120.145323, latitude: 30.214993, label: '玉皇飞云' },\\n { longitude: 120.155057, latitude: 30.232985, label: '长桥公园' },\\n ],\\n },\\n];\\nconst routeData = data.map((item) => {\\n return {\\n path: item,\\n markers: item.points,\\n };\\n});\\n\\nexport default () => {\\n return ;\\n};\\n\";;\n ","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?watch=parent';\n export const texts = [{\"value\":\"路径地图,用于可视化路径线路数据。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"{\\n \\\"type\\\": \\\"path-map\\\",\\n \\\"data\\\": [\\n {\\n \\\"path\\\": {\\n \\\"points\\\": [\\n {\\n \\\"longitude\\\": 120.130638,\\n \\\"latitude\\\": 30.219835,\\n \\\"label\\\": \\\"石屋洞\\\"\\n },\\n {\\n \\\"longitude\\\": 120.128125,\\n \\\"latitude\\\": 30.219386,\\n \\\"label\\\": \\\"满觉陇\\\"\\n },\\n {\\n \\\"longitude\\\": 120.118362,\\n \\\"latitude\\\": 30.217175,\\n \\\"label\\\": \\\"杨梅岭\\\"\\n },\\n {\\n \\\"longitude\\\": 120.112958,\\n \\\"latitude\\\": 30.207319,\\n \\\"label\\\": \\\"理安寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.11335,\\n \\\"latitude\\\": 30.202395,\\n \\\"label\\\": \\\"九溪烟树\\\"\\n }\\n ]\\n },\\n \\\"markers\\\": [\\n {\\n \\\"longitude\\\": 120.130638,\\n \\\"latitude\\\": 30.219835,\\n \\\"label\\\": \\\"石屋洞\\\"\\n },\\n {\\n \\\"longitude\\\": 120.128125,\\n \\\"latitude\\\": 30.219386,\\n \\\"label\\\": \\\"满觉陇\\\"\\n },\\n {\\n \\\"longitude\\\": 120.118362,\\n \\\"latitude\\\": 30.217175,\\n \\\"label\\\": \\\"杨梅岭\\\"\\n },\\n {\\n \\\"longitude\\\": 120.112958,\\n \\\"latitude\\\": 30.207319,\\n \\\"label\\\": \\\"理安寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.11335,\\n \\\"latitude\\\": 30.202395,\\n \\\"label\\\": \\\"九溪烟树\\\"\\n }\\n ]\\n },\\n {\\n \\\"path\\\": {\\n \\\"points\\\": [\\n {\\n \\\"longitude\\\": 120.100549,\\n \\\"latitude\\\": 30.236875,\\n \\\"label\\\": \\\"飞来峰\\\"\\n },\\n {\\n \\\"longitude\\\": 120.101406,\\n \\\"latitude\\\": 30.240826,\\n \\\"label\\\": \\\"灵隐寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.105337,\\n \\\"latitude\\\": 30.236818,\\n \\\"label\\\": \\\"天竺三寺\\\"\\n }\\n ]\\n },\\n \\\"markers\\\": [\\n {\\n \\\"longitude\\\": 120.100549,\\n \\\"latitude\\\": 30.236875,\\n \\\"label\\\": \\\"飞来峰\\\"\\n },\\n {\\n \\\"longitude\\\": 120.101406,\\n \\\"latitude\\\": 30.240826,\\n \\\"label\\\": \\\"灵隐寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.105337,\\n \\\"latitude\\\": 30.236818,\\n \\\"label\\\": \\\"天竺三寺\\\"\\n }\\n ]\\n }\\n ]\\n}\\n\",\"paraId\":1,\"tocIndex\":5},{\"value\":\"属性\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"类型\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是否必传\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"默认值\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"说明\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"data\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"RoutData[]\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"是\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"数据\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"markerStyle\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"Marker\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"标记点样式\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"pathStyle\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"Polyline\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"否\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"-\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"线样式\",\"paraId\":2,\"tocIndex\":7},{\"value\":\"属性\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"类型\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是否必传\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"默认值\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"说明\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"markers\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"MarkerData[]\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"否\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"路径标注\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"path\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"Polyline\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"是\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"-\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"路径轨迹\",\"paraId\":3,\"tocIndex\":8},{\"value\":\"属性\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"类型\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"是否必传\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"默认值\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"说明\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"points\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"LngLat[]\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"是\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"-\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"路径标注\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"width\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"Polyline\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"2\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"轨迹宽度\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"color\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"string\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"#16f\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"颜色\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"dottedLine\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"boolean\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"否\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"false\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"是否虚线\",\"paraId\":4,\"tocIndex\":9},{\"value\":\"属性\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"类型\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"是否必传\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"默认值\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"说明\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"longitude\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"number\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"经度\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"latitude\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"number\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"纬度\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"label\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"number\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"是\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"-\",\"paraId\":5,\"tocIndex\":10},{\"value\":\"文字标注\",\"paraId\":5,\"tocIndex\":10}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/markdown.tsx?watch=parent';\n export default \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ChartType, ConfigProvider, GPTVisLite, PathMap, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst markdownContent = `\\n ~~~vis-chart\\n {\\n \\\"type\\\": \\\"path-map\\\",\\n \\\"data\\\": [\\n {\\n \\\"path\\\": {\\n \\\"points\\\": [\\n {\\n \\\"longitude\\\": 120.130638,\\n \\\"latitude\\\": 30.219835,\\n \\\"label\\\": \\\"石屋洞\\\"\\n },\\n {\\n \\\"longitude\\\": 120.128125,\\n \\\"latitude\\\": 30.219386,\\n \\\"label\\\": \\\"满觉陇\\\"\\n },\\n {\\n \\\"longitude\\\": 120.118362,\\n \\\"latitude\\\": 30.217175,\\n \\\"label\\\": \\\"杨梅岭\\\"\\n },\\n {\\n \\\"longitude\\\": 120.112958,\\n \\\"latitude\\\": 30.207319,\\n \\\"label\\\": \\\"理安寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.11335,\\n \\\"latitude\\\": 30.202395,\\n \\\"label\\\": \\\"九溪烟树\\\"\\n }\\n ]\\n },\\n \\\"markers\\\": [\\n {\\n \\\"longitude\\\": 120.130638,\\n \\\"latitude\\\": 30.219835,\\n \\\"label\\\": \\\"石屋洞\\\"\\n },\\n {\\n \\\"longitude\\\": 120.128125,\\n \\\"latitude\\\": 30.219386,\\n \\\"label\\\": \\\"满觉陇\\\"\\n },\\n {\\n \\\"longitude\\\": 120.118362,\\n \\\"latitude\\\": 30.217175,\\n \\\"label\\\": \\\"杨梅岭\\\"\\n },\\n {\\n \\\"longitude\\\": 120.112958,\\n \\\"latitude\\\": 30.207319,\\n \\\"label\\\": \\\"理安寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.11335,\\n \\\"latitude\\\": 30.202395,\\n \\\"label\\\": \\\"九溪烟树\\\"\\n }\\n ]\\n },\\n {\\n \\\"path\\\": {\\n \\\"points\\\": [\\n {\\n \\\"longitude\\\": 120.100549,\\n \\\"latitude\\\": 30.236875,\\n \\\"label\\\": \\\"飞来峰\\\"\\n },\\n {\\n \\\"longitude\\\": 120.101406,\\n \\\"latitude\\\": 30.240826,\\n \\\"label\\\": \\\"灵隐寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.105337,\\n \\\"latitude\\\": 30.236818,\\n \\\"label\\\": \\\"天竺三寺\\\"\\n }\\n ]\\n },\\n \\\"markers\\\": [\\n {\\n \\\"longitude\\\": 120.100549,\\n \\\"latitude\\\": 30.236875,\\n \\\"label\\\": \\\"飞来峰\\\"\\n },\\n {\\n \\\"longitude\\\": 120.101406,\\n \\\"latitude\\\": 30.240826,\\n \\\"label\\\": \\\"灵隐寺\\\"\\n },\\n {\\n \\\"longitude\\\": 120.105337,\\n \\\"latitude\\\": 30.236818,\\n \\\"label\\\": \\\"天竺三寺\\\"\\n }\\n ]\\n }\\n ]\\n}\\n~~~`;\\n\\nconst CodeComponent = withChartCode({\\n components: { [ChartType.PathMap]: PathMap },\\n style: { width: 500 },\\n});\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => (\\n {content}\\n);\\n\\nexport default () => {\\n return (\\n \\n
\\n \\n \\n
\\n \\n );\\n};\\n\";;\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?watch=parent';\nimport * as pathmap_demo_default_deps_1 from '@antv/gpt-vis';\nimport * as pathmap_demo_default_deps_2 from 'react';\nimport * as pathmap_demo_markdown_deps_1 from '@ant-design/x';\nexport const demos = {\n 'pathmap-demo-default': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PathMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/default.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pathmap-demo-default\",\n \"refAtomIds\": [\n \"PathMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/default.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"默认地图\"\n},\n context: {\n \"@antv/gpt-vis\": pathmap_demo_default_deps_1,\n \"react\": pathmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'pathmap-demo-line': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PathMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/line.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pathmap-demo-line\",\n \"refAtomIds\": [\n \"PathMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/line.tsx?dumi-raw').default\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"自定义样式\"\n},\n context: {\n \"@antv/gpt-vis\": pathmap_demo_default_deps_1,\n \"react\": pathmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'pathmap-demo-markdown': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"PathMap__demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/markdown.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"pathmap-demo-markdown\",\n \"refAtomIds\": [\n \"PathMap\"\n ],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/markdown.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n }\n },\n \"entry\": \"index.tsx\",\n \"title\": \"使用 Markdown 协议\"\n},\n context: {\n \"@ant-design/x\": pathmap_demo_markdown_deps_1,\n \"@antv/gpt-vis\": pathmap_demo_default_deps_1,\n \"react\": pathmap_demo_default_deps_2\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/demos/line.tsx?watch=parent';\n export default \"import { PathMap } from '@antv/gpt-vis';\\nimport React from 'react';\\n\\nconst data = [\\n {\\n points: [\\n { longitude: 120.130638, latitude: 30.219835, label: '石屋洞' },\\n { longitude: 120.128125, latitude: 30.219386, label: '满觉陇' },\\n { longitude: 120.118362, latitude: 30.217175, label: '杨梅岭' },\\n { longitude: 120.112958, latitude: 30.207319, label: '理安寺' },\\n { longitude: 120.11335, latitude: 30.202395, label: '九溪烟树' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.100549, latitude: 30.236875, label: '飞来峰' },\\n { longitude: 120.101406, latitude: 30.240826, label: '灵隐寺' },\\n { longitude: 120.105337, latitude: 30.236818, label: '天竺三寺' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.116979, latitude: 30.252876, label: '杭州植物园' },\\n { longitude: 120.127654, latitude: 30.245663, label: '杭州花圃' },\\n { longitude: 120.135764, latitude: 30.251448, label: '苏堤' },\\n ],\\n },\\n {\\n points: [\\n { longitude: 120.130095, latitude: 30.207505, label: '虎跑公园' },\\n { longitude: 120.145323, latitude: 30.214993, label: '玉皇飞云' },\\n { longitude: 120.155057, latitude: 30.232985, label: '长桥公园' },\\n ],\\n },\\n];\\nconst routeData = data.map((item) => {\\n return {\\n path: item,\\n markers: item.points,\\n };\\n});\\n\\nconst markerStyle = {\\n iconPath:\\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*ufrWTqCNCScAAAAAAAAAAAAADmJ7AQ/original',\\n width: 5,\\n anchorY: 1,\\n label: {\\n color: '#735142',\\n fontSize: 10,\\n bgColor: '#ffffff',\\n },\\n};\\n\\nconst pathStyle = {\\n color: '#86f',\\n width: 1,\\n dottedLine: true,\\n};\\n\\nexport default () => {\\n return (\\n \\n );\\n};\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GoB,cAAc,mBAAd,SAAc,GACd,MAAM,mBAAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/fff33d9f-async.5c398053.js b/fff33d9f-async.5c398053.js new file mode 100644 index 0000000..bb2285d --- /dev/null +++ b/fff33d9f-async.5c398053.js @@ -0,0 +1,100 @@ +(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_@antv/gpt-vis"]||[]).push([["fff33d9f"],{"003a456a":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("27b32661");var a='import type { CodeBlockComponent } from \'@antv/gpt-vis\';\nimport React from \'react\';\nimport StyledComponent from \'./style\';\n\nconst WeatherCard: CodeBlockComponent = (props) => {\n const content = String(props.children).trim();\n const { locationName, temperature, humidity, wind, cloudiness, uv } = JSON.parse(content);\n\n return (\n \n
\n
\n
\n \n {temperature}\xb0\n
\n {locationName}\n
\n
\n
\n Humidity\n {humidity}%\n
\n
\n Wind\n {wind}kph\n
\n
\n Cloudiness\n {cloudiness}%\n
\n
\n UV Index\n {uv}\n
\n
\n
\n
\n );\n};\n\nexport default WeatherCard;\n';},"09e64048":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("9d8226a2");let a=[{value:"\u901A\u8FC7\u5728 ",paraId:0,tocIndex:0},{value:"ConfigProvider",paraId:1,tocIndex:0},{value:" \u4E2D\u4F20\u5165\u6837\u5F0F\u5C5E\u6027\uFF0C\u6765\u914D\u7F6E\u56FE\u8868\u7EC4\u4EF6\u7684\u5168\u5C40\u6837\u5F0F\u3002",paraId:0,tocIndex:0},{value:"\u7ED9\u5404\u4E2A\u7EC4\u4EF6\u5B9A\u5236\u6837\u5F0F",paraId:2,tocIndex:1},{value:"import { ConfigProvider } from '@antv/gpt-vis';\n\n// \u8BBE\u7F6E\u751C\u751C\u5708\u6837\u5F0F\nconst pieConfig = {\n legend: false,\n innerRadius: 0.6,\n style: {\n stroke: '#fff',\n inset: 1,\n radius: 10,\n },\n};\n\n// \u9762\u79EF\u56FE\u8BBE\u7F6E\u6E10\u53D8\u8272\nconst areaConfig = {\n style: {\n fill: 'linear-gradient(-90deg, white 0%, darkgreen 100%)',\n },\n line: {\n style: {\n stroke: 'darkgreen',\n strokeWidth: 2,\n },\n tooltip: false,\n },\n};\n\n// \u5730\u56FE\u8BBE\u7F6E\u56FE\u6807\nconst pinMapConfig = {\n markerStyle: {\n iconPath:\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original',\n },\n};\n\nexport default () => {\n return (\n \n // ...\n \n );\n};\n",paraId:3,tocIndex:1},{value:"import { ConfigProvider } from '@antv/gpt-vis';\n\nexport default () => {\n return (\n \n // ...\n \n );\n};\n",paraId:4,tocIndex:2},{value:"\u66F4\u591A\u7528\u6CD5\u8BE6\u89C1 ",paraId:5},{value:"ConfigProvider",paraId:6}];},"1a66af49":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return s;}});var o=t("777fffbe"),r=t("852bbaa9"),d=o._(t("9d065c04"));t("9d8226a2");var i=r._(t("1c5d635b")),l=r._(t("df67f0d6"));let s={"docs-guide-customize-style-demo-0":{component:d.default.memo(d.default.lazy(async function(){let{Bubble:e}=await Promise.all([t.ensure("vendors_3"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("1c5d635b")]).then(t.dr(a,t.bind(t,"1c5d635b"))),{ConfigProvider:n,GPTVis:o}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),r={legend:!1,innerRadius:.6,style:{stroke:"#fff",inset:1,radius:10}},i={style:{fill:"linear-gradient(-90deg, white 0%, darkgreen 100%)"},line:{style:{stroke:"darkgreen",strokeWidth:2},tooltip:!1}},l={markerStyle:{iconPath:"https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original"}},s=` +\`\`\`vis-chart +{ + "type": "area", + "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}] +} +\`\`\` + +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +\`\`\` + +\`\`\`vis-chart + { + "type": "pin-map", + "data": [ + { "label": "\u{6768}\u{6885}\u{5CAD}", "longitude": 120.118362, "latitude": 30.217175 }, + { "label": "\u{7406}\u{5B89}\u{5BFA}", "longitude": 120.112958, "latitude": 30.207319 }, + { "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}", "longitude": 120.11335, "latitude": 30.202395 }, + { "label": "\u{98DE}\u{6765}\u{5CF0}", "longitude": 120.100549, "latitude": 30.236875 }, + { "label": "\u{7075}\u{9690}\u{5BFA}", "longitude": 120.101406, "latitude": 30.240826 }, + { "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}", "longitude": 120.105337, "latitude": 30.236818 }, + { "label": "\u{676D}\u{5DDE}\u{690D}\u{7269}\u{56ED}", "longitude": 120.116979, "latitude": 30.252876 }, + { "label": "\u{676D}\u{5DDE}\u{82B1}\u{5703}", "longitude": 120.127654, "latitude": 30.245663 }, + { "label": "\u{82CF}\u{5824}", "longitude": 120.135764, "latitude": 30.251448 }, + { "label": "\u{864E}\u{8DD1}\u{516C}\u{56ED}", "longitude": 120.130095, "latitude": 30.207505 }, + { "label": "\u{7389}\u{7687}\u{98DE}\u{4E91}", "longitude": 120.145323, "latitude": 30.214993 }, + { "label": "\u{957F}\u{6865}\u{516C}\u{56ED}", "longitude": 120.155057, "latitude": 30.232985 } + ] +} +\`\`\` +`,u={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},c=e=>d.default.createElement(o,null,e);return{default:()=>d.default.createElement(n,{components:{Pie:r,Area:i,PinMap:l}},d.default.createElement("div",{style:u},d.default.createElement(e,{content:s,messageRender:c,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})))};})),asset:{type:"BLOCK",id:"docs-guide-customize-style-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:'import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\n\n// \u8BBE\u7F6E\u751C\u751C\u5708\u6837\u5F0F\nconst pieConfig = {\n legend: false,\n innerRadius: 0.6,\n style: {\n stroke: \'#fff\',\n inset: 1,\n radius: 10,\n },\n};\n\n// \u9762\u79EF\u56FE\u8BBE\u7F6E\u6E10\u53D8\u8272\nconst areaConfig = {\n style: {\n fill: \'linear-gradient(-90deg, white 0%, darkgreen 100%)\',\n },\n line: {\n style: {\n stroke: \'darkgreen\',\n strokeWidth: 2,\n },\n tooltip: false,\n },\n};\n\n// \u5730\u56FE\u8BBE\u7F6E\u56FE\u6807\nconst pinMapConfig = {\n markerStyle: {\n iconPath:\n \'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original\',\n },\n};\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n "type": "area",\n "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n {\n "type": "pin-map",\n "data": [\n { "label": "\u6768\u6885\u5CAD", "longitude": 120.118362, "latitude": 30.217175 },\n { "label": "\u7406\u5B89\u5BFA", "longitude": 120.112958, "latitude": 30.207319 },\n { "label": "\u4E5D\u6EAA\u70DF\u6811", "longitude": 120.11335, "latitude": 30.202395 },\n { "label": "\u98DE\u6765\u5CF0", "longitude": 120.100549, "latitude": 30.236875 },\n { "label": "\u7075\u9690\u5BFA", "longitude": 120.101406, "latitude": 30.240826 },\n { "label": "\u5929\u7AFA\u4E09\u5BFA", "longitude": 120.105337, "latitude": 30.236818 },\n { "label": "\u676D\u5DDE\u690D\u7269\u56ED", "longitude": 120.116979, "latitude": 30.252876 },\n { "label": "\u676D\u5DDE\u82B1\u5703", "longitude": 120.127654, "latitude": 30.245663 },\n { "label": "\u82CF\u5824", "longitude": 120.135764, "latitude": 30.251448 },\n { "label": "\u864E\u8DD1\u516C\u56ED", "longitude": 120.130095, "latitude": 30.207505 },\n { "label": "\u7389\u7687\u98DE\u4E91", "longitude": 120.145323, "latitude": 30.214993 },\n { "label": "\u957F\u6865\u516C\u56ED", "longitude": 120.155057, "latitude": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => {content};\n\nexport default () => {\n return (\n \n
\n \n
\n \n );\n};'},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.tsx"},context:{"@ant-design/x":i,"@antv/gpt-vis":l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"docs-guide-customize-style-demo-1":{component:d.default.memo(d.default.lazy(async function(){let{Bubble:e}=await Promise.all([t.ensure("vendors_3"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("1c5d635b")]).then(t.dr(a,t.bind(t,"1c5d635b"))),{ConfigProvider:n,GPTVis:o}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),r=` +\`\`\`vis-chart +{ + "type": "area", + "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}] +} +\`\`\` + +\`\`\`vis-chart +{ + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] +} +\`\`\` + +\`\`\`vis-chart + { + "type": "pin-map", + "data": [ + { "label": "\u{6768}\u{6885}\u{5CAD}", "longitude": 120.118362, "latitude": 30.217175 }, + { "label": "\u{7406}\u{5B89}\u{5BFA}", "longitude": 120.112958, "latitude": 30.207319 }, + { "label": "\u{4E5D}\u{6EAA}\u{70DF}\u{6811}", "longitude": 120.11335, "latitude": 30.202395 }, + { "label": "\u{98DE}\u{6765}\u{5CF0}", "longitude": 120.100549, "latitude": 30.236875 }, + { "label": "\u{7075}\u{9690}\u{5BFA}", "longitude": 120.101406, "latitude": 30.240826 }, + { "label": "\u{5929}\u{7AFA}\u{4E09}\u{5BFA}", "longitude": 120.105337, "latitude": 30.236818 }, + { "label": "\u{676D}\u{5DDE}\u{690D}\u{7269}\u{56ED}", "longitude": 120.116979, "latitude": 30.252876 }, + { "label": "\u{676D}\u{5DDE}\u{82B1}\u{5703}", "longitude": 120.127654, "latitude": 30.245663 }, + { "label": "\u{82CF}\u{5824}", "longitude": 120.135764, "latitude": 30.251448 }, + { "label": "\u{864E}\u{8DD1}\u{516C}\u{56ED}", "longitude": 120.130095, "latitude": 30.207505 }, + { "label": "\u{7389}\u{7687}\u{98DE}\u{4E91}", "longitude": 120.145323, "latitude": 30.214993 }, + { "label": "\u{957F}\u{6865}\u{516C}\u{56ED}", "longitude": 120.155057, "latitude": 30.232985 } + ] +} +\`\`\` +`,i={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},l=e=>d.default.createElement(o,null,e);return{default:()=>d.default.createElement(n,{plot:{theme:{type:"academy"}},map:{style:"dark",token:"\u4F60\u7684\u5730\u56FEtoken"}},d.default.createElement("div",{style:i},d.default.createElement(e,{content:r,messageRender:l,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}})))};})),asset:{type:"BLOCK",id:"docs-guide-customize-style-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:'import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { ConfigProvider, GPTVis } from \'@antv/gpt-vis\';\n\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n "type": "area",\n "data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n {\n "type": "pin-map",\n "data": [\n { "label": "\u6768\u6885\u5CAD", "longitude": 120.118362, "latitude": 30.217175 },\n { "label": "\u7406\u5B89\u5BFA", "longitude": 120.112958, "latitude": 30.207319 },\n { "label": "\u4E5D\u6EAA\u70DF\u6811", "longitude": 120.11335, "latitude": 30.202395 },\n { "label": "\u98DE\u6765\u5CF0", "longitude": 120.100549, "latitude": 30.236875 },\n { "label": "\u7075\u9690\u5BFA", "longitude": 120.101406, "latitude": 30.240826 },\n { "label": "\u5929\u7AFA\u4E09\u5BFA", "longitude": 120.105337, "latitude": 30.236818 },\n { "label": "\u676D\u5DDE\u690D\u7269\u56ED", "longitude": 120.116979, "latitude": 30.252876 },\n { "label": "\u676D\u5DDE\u82B1\u5703", "longitude": 120.127654, "latitude": 30.245663 },\n { "label": "\u82CF\u5824", "longitude": 120.135764, "latitude": 30.251448 },\n { "label": "\u864E\u8DD1\u516C\u56ED", "longitude": 120.130095, "latitude": 30.207505 },\n { "label": "\u7389\u7687\u98DE\u4E91", "longitude": 120.145323, "latitude": 30.214993 },\n { "label": "\u957F\u6865\u516C\u56ED", "longitude": 120.155057, "latitude": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => {content};\n\nexport default () => {\n return (\n \n
\n \n
\n \n );\n};'},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.tsx"},context:{"@ant-design/x":i,"@antv/gpt-vis":l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},"1c5d635b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{Attachments:function(){return r.default;},Bubble:function(){return i.default;},Conversations:function(){return l.default;},Prompts:function(){return s.default;},Sender:function(){return d.default;},Suggestion:function(){return c.default;},ThoughtChain:function(){return u.default;},Welcome:function(){return m.default;},XProvider:function(){return f.default;},XRequest:function(){return b.default;},XStream:function(){return g.default;},useXAgent:function(){return p.default;},useXChat:function(){return v.default;},version:function(){return o.default;}});var a=t("777fffbe"),o=a._(t("61551e8a")),r=a._(t("150d8a7a")),d=a._(t("013e81db")),i=a._(t("d161127f")),l=a._(t("11781cbc")),s=a._(t("5a025bc4")),u=a._(t("e2d1bf07")),c=a._(t("d0c39811")),m=a._(t("0176aebf")),f=a._(t("8b35f51f")),v=a._(t("92b2492a")),p=a._(t("1e122ed0")),g=a._(t("470d5fd8")),b=a._(t("e0f10014"));},"27b32661":function(e,n,t){},"2a131f38":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return a;}}),t("f77c1a90");let a={};},"3c02b91b":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("da755c5c");let a=[];},"4358c12c":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("cdfa6ed3");let a=[{value:"1.\u5B9A\u4E49\u56FE\u8868 Markdown \u4EE3\u7801\u5757",paraId:0,tocIndex:0},{value:'const markdownContent = `\n## GPT-VIS\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\n \\`\\`\\`vis-chart\n {\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n }\n\\`\\`\\``;\n',paraId:1,tocIndex:0},{value:"2.\u6269\u5C55\u804A\u5929\u6C14\u6CE1\u6E32\u67D3",paraId:2,tocIndex:0},{value:"import { Bubble, type BubbleProps } from '@ant-design/x';\nimport { GPTVis } from '@antv/gpt-vis';\n\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => {content};\n\nexport default () => {\n return (\n \n );\n};\n",paraId:3,tocIndex:0},{value:"\u5B9A\u4E49\u4F60\u7684\u56FE\u8868\u6570\u636E",paraId:4,tocIndex:1},{value:"const mockdata = [\n { category: '\u5206\u7C7B\u4E00', value: 27 },\n { category: '\u5206\u7C7B\u4E8C', value: 25 },\n { category: '\u5206\u7C7B\u4E09', value: 18 },\n { category: '\u5206\u7C7B\u56DB', value: 15 },\n { category: '\u5206\u7C7B\u4E94', value: 10 },\n { category: '\u5176\u4ED6', value: 5 },\n];\n",paraId:5,tocIndex:1},{value:"\u6E32\u67D3\u804A\u5929\u6C14\u6CE1",paraId:6,tocIndex:1},{value:"import { Pie } from '@antv/gpt-vis';\nimport { Bubble } from '@ant-design/x';\n\nexport default () => {\n return (\n }\n styles={{ content: { background: '#fff' } }}\n />\n );\n};\n",paraId:7,tocIndex:1}];},"5505d8f0":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return c;}});var o=t("852bbaa9"),r=o._(t("9d065c04"));t("d74861ba");var d=o._(t("1c5d635b")),i=o._(t("df67f0d6")),l=o._(t("7375b7a9")),s=o._(t("cf15f9dc")),u=o._(t("a7601adf"));let c={"docs-guide-custom-ui-demo-custom-ui":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("9e8e2db3")]).then(t.dr(a,t.bind(t,"461b7564"))))),asset:{type:"BLOCK",id:"docs-guide-custom-ui-demo-custom-ui",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:t("ec8d65c5").default},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},react:{type:"NPM",value:"18.3.1"},"./WeatherCard.tsx":{type:"FILE",value:t("003a456a").default},"./style.ts":{type:"FILE",value:t("f62ee6d5").default},"styled-components":{type:"NPM",value:"6.1.13"}},entry:"index.tsx"},context:{"./WeatherCard.tsx":l,"./style.ts":s,"@ant-design/x":d,"@antv/gpt-vis":i,react:r,"/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/index.tsx":l,"/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/style.ts":s,"styled-components":u},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},"61e0aa45":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return a;}}),t("a0338546");let a={};},"7750d1e1":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return s;}});var o=t("777fffbe"),r=t("852bbaa9"),d=o._(t("9d065c04"));t("cdfa6ed3");var i=r._(t("1c5d635b")),l=r._(t("df67f0d6"));let s={"docs-guide-antd-design-x-demo-0":{component:d.default.memo(d.default.lazy(async function(){let{Bubble:e}=await Promise.all([t.ensure("vendors_3"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("1c5d635b")]).then(t.dr(a,t.bind(t,"1c5d635b"))),{GPTVis:n}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),o={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},r=` +## GPT-VIS +Components for GPTs, generative AI, and LLM projects. Not only UI Components. + +\`\`\`vis-chart + { + "type": "pie", + "data": [ + { "category": "\u{5206}\u{7C7B}\u{4E00}", "value": 27 }, + { "category": "\u{5206}\u{7C7B}\u{4E8C}", "value": 25 }, + { "category": "\u{5206}\u{7C7B}\u{4E09}", "value": 18 }, + { "category": "\u{5206}\u{7C7B}\u{56DB}", "value": 15 }, + { "category": "\u{5206}\u{7C7B}\u{4E94}", "value": 10 }, + { "category": "\u{5176}\u{4ED6}", "value": 5 } + ] + } +\`\`\``,i=e=>d.default.createElement(n,null,e);return{default:()=>d.default.createElement("div",{style:o},d.default.createElement(e,{content:r,messageRender:i,avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}}))};})),asset:{type:"BLOCK",id:"docs-guide-antd-design-x-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:'import { Bubble, type BubbleProps } from \'@ant-design/x\';\nimport { GPTVis } from \'@antv/gpt-vis\';\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n background: \'#f7f7f7\',\n padding: 20,\n borderRadius: 8,\n};\n\nconst markdownContent = `\n## GPT-VIS \nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\n\\`\\`\\`vis-chart\n {\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5206\u7C7B\u56DB", "value": 15 },\n { "category": "\u5206\u7C7B\u4E94", "value": 10 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n }\n\\`\\`\\``;\n\nconst RenderMarkdown: BubbleProps[\'messageRender\'] = (content) => {content};\n\nexport default () => {\n return (\n
\n \n
\n );\n};'},"@ant-design/x":{type:"NPM",value:"1.0.3"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"}},entry:"index.tsx"},context:{"@ant-design/x":i,"@antv/gpt-vis":l},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}},"docs-guide-antd-design-x-demo-1":{component:d.default.memo(d.default.lazy(async function(){let{Pie:e}=await Promise.all([t.ensure("vendors_3"),t.ensure("common"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("vendors_2"),t.ensure("df67f0d6")]).then(t.dr(a,t.bind(t,"df67f0d6"))),{Bubble:n}=await Promise.all([t.ensure("vendors_3"),t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("1c5d635b")]).then(t.dr(a,t.bind(t,"1c5d635b"))),o={display:"grid",gridGap:"20px 0",background:"#f7f7f7",padding:20,borderRadius:8},r=[{category:"\u5206\u7C7B\u4E00",value:27},{category:"\u5206\u7C7B\u4E8C",value:25},{category:"\u5206\u7C7B\u4E09",value:18},{category:"\u5206\u7C7B\u56DB",value:15},{category:"\u5206\u7C7B\u4E94",value:10},{category:"\u5176\u4ED6",value:5}];return{default:()=>d.default.createElement("div",{style:o},d.default.createElement(n,{content:d.default.createElement(e,{data:r,containerStyle:{width:550,height:300}}),avatar:{src:"https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original"},variant:"shadow",styles:{content:{background:"#fff"}}}))};})),asset:{type:"BLOCK",id:"docs-guide-antd-design-x-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:"import { Pie } from '@antv/gpt-vis';\nimport { Bubble } from '@ant-design/x';\n\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8,\n};\n\nconst mockdata = [\n { category: '\u5206\u7C7B\u4E00', value: 27 },\n { category: '\u5206\u7C7B\u4E8C', value: 25 },\n { category: '\u5206\u7C7B\u4E09', value: 18 },\n { category: '\u5206\u7C7B\u56DB', value: 15 },\n { category: '\u5206\u7C7B\u4E94', value: 10 },\n { category: '\u5176\u4ED6', value: 5 },\n];\n\nexport default () => {\n return (\n
\n }\n avatar={{\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original',\n }}\n variant=\"shadow\"\n styles={{ content: { background: '#fff' } }}\n />\n
\n );\n};"},"@antv/gpt-vis":{type:"NPM",value:"0.4.0"},"@ant-design/x":{type:"NPM",value:"1.0.3"}},entry:"index.tsx"},context:{"@antv/gpt-vis":l,"@ant-design/x":i},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d030c320")]).then(t.dr(a,t.bind(t,"d030c320")))).default(...e)}}};},"81f89530":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("a0338546");let a=[{value:'import React from \'react\';\nimport Markdown from \'react-markdown\';\nimport { withChartCode, withDefaultChartCode, ChartType, Line } from \'@antv/gpt-vis\';\n\nconst markdownContent = `\n# GPT-VIS \\n\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\nHere\u2019s a visualization of Haidilao\'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\n\n\\`\\`\\`vis-chart\n{ "type": "line","data": [{"time":2013,"value":59.3},{"time":2014,"value":64.4},{"time":2015,"value":68.9},{"time":2016,"value":74.4},{"time":2017,"value":82.7},{"time":2018,"value":91.9},{"time":2019,"value":99.1},{"time":2020,"value":101.6},{"time":2021,"value":114.4},{"time":2022,"value":121}] }\n\\`\\`\\`\n`;\n\nconst CodeBlock = withChartCode({\n components: { [ChartType.Line]: Line },\n});\n// \u6216\n// const CodeBlock = withDefaultChartCode();\n\nexport default () => {\n return {markdownContent};\n};\n',paraId:0,tocIndex:0}];},"90ec04bf":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return a;}}),t("da755c5c");let a={};},c514c53f:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("f77c1a90");let a=[{value:"$ npm install @antv/gpt-vis --save\n",paraId:0,tocIndex:0},{value:'import React from \'react\';\nimport { GPTVis } from \'@antv/gpt-vis\';\n\nconst markdownContent = `\n# GPT-VIS \\n\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\nHere\u2019s a visualization of Haidilao\'s food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\n\n\\`\\`\\`vis-chart\n{\n "type": "line",\n "data": [\n { "time":2013,"value":59.3 },\n { "time":2014,"value":64.4 },\n { "time":2015,"value":68.9 },\n { "time":2016,"value":74.4 },\n { "time":2017,"value":82.7 },\n { "time":2018,"value":91.9 },\n { "time":2019,"value":99.1 },\n { "time":2020,"value":101.6 },\n { "time":2021,"value":114.4 },\n { "time":2022,"value":121 }\n ]\n}\n\\`\\`\\`\n`;\n\nexport default () => {\n return {markdownContent};\n};\n',paraId:1,tocIndex:1},{value:"\u4E1A\u52A1\u5B9A\u5236 UI \u573A\u666F\uFF0C\u63D0\u4F9B\u65B9\u4FBF\u7684\u6269\u5C55\u673A\u5236\uFF0C\u652F\u6301\u6807\u7B7E\u548C\u4EE3\u7801\u5757\u6269\u5C55\u3002",paraId:2,tocIndex:2},{value:'import { GPTVisLite, withChartCode, ChartType, Pie } from \'@antv/gpt-vis\';\n\nconst markdownContent = `\n\\`\\`\\`my-ui\nmy data\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n "type": "pie",\n "data": [\n { "category": "\u5206\u7C7B\u4E00", "value": 27 },\n { "category": "\u5206\u7C7B\u4E8C", "value": 25 },\n { "category": "\u5206\u7C7B\u4E09", "value": 18 },\n { "category": "\u5176\u4ED6", "value": 5 }\n ]\n}\n\\`\\`\\`\n`;\n\nconst customRenderers = {\n \'my-ui\': ({ children }) =>
{children}
,\n};\nconst components = {\n code: withChartCode({\n // register custom block renderer\n languageRenderers: customRenderers,\n // register a pie chart\n components: { [ChartType.Pie]: Pie },\n }),\n};\n\nexport default () => {\n return {markdownContent};\n};\n',paraId:3,tocIndex:2}];},c6b33d4d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"texts",{enumerable:!0,get:function(){return a;}}),t("d74861ba");let a=[{value:"\u4E3A\u6A21\u578B\u8F93\u51FA\u7684\u7ED3\u6784\u5316\u6570\u636E\uFF0C\u901A\u8FC7\u4EE3\u7801\u5757\u7684\u65B9\u5F0F\u5B9A\u5236 UI\u3002",paraId:0,tocIndex:0},{value:'import { GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\n\nconst markdownContent = `\n\\`\\`\\`weather\n{\n "locationName": "Hangzhou",\n "temperature": 11.4,\n "humidity": 82,\n "wind": 6.8,\n "cloudiness": 75,\n "uv": "0.2 of 11"\n}\n\\`\\`\\`\n\nIn Hangzhou, the current weather is as follows: \n- The temperature is 11.4\xb0C, humidity is 82%, and wind speed is 6.8 kph. \n- There\'s 75% cloud cover, and the UV index is very low at 0.2 out of 11. \n- This indicates cool, humid conditions with overcast skies and minimal UV exposure.\n`;\n\nconst customRenderers = {\n weather: (props) => \'WeatherCard\',\n};\nconst components = {\n code: withChartCode({\n // register custom block renderer\n languageRenderers: customRenderers,\n }),\n};\n\nexport default () => {\n return {markdownContent};\n};\n',paraId:1,tocIndex:0}];},d4299709:function(e,n,t){},df67f0d6:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.e(n,{ConfigProvider:function(){return i.default;},GPTVis:function(){return l.default;},GPTVisLite:function(){return s.default;},useEventPublish:function(){return s.useEventPublish;},version:function(){return u.default;},withChartCode:function(){return d.withChartCode;},withDefaultChartCode:function(){return d.withDefaultChartCode;}});var a=t("d1751d7c"),o=t("777fffbe"),r=t("852bbaa9");a._(t("5639510f"),n),a._(t("d382b880"),n);var d=t("a574afdb"),i=o._(t("a7265236")),l=o._(t("2c69d5f6")),s=r._(t("033b3748")),u=o._(t("7cf1dc46"));},e7bada6d:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"Source",{enumerable:!0,get:function(){return o.default;}});var a=t("d1751d7c"),o=t("777fffbe")._(t("b00709ad"));a._(t("5e2dda25"),n),a._(t("969efd31"),n),a._(t("f21af0e0"),n),a._(t("33eda958"),n),a._(t("112b9a67"),n),a._(t("a45613fd"),n),a._(t("432777ba"),n);},ec8d65c5:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("b89f5729");var a='import { Bubble } from \'@ant-design/x\';\nimport { GPTVisLite, withChartCode } from \'@antv/gpt-vis\';\nimport React from \'react\';\nimport WeatherCard from \'./WeatherCard\';\n\nconst markdownContent = `\n\\`\\`\\`weather\n{\n "locationName": "Hangzhou",\n "temperature": 11.4,\n "humidity": 82,\n "wind": 6.8,\n "cloudiness": 75,\n "uv": "0.2 of 11"\n}\n\\`\\`\\`\n\nIn Hangzhou, the current weather is as follows:\n- The temperature is 11.4\xb0C, humidity is 82%, and wind speed is 6.8 kph.\n- There\'s 75% cloud cover, and the UV index is very low at 0.2 out of 11.\n- This indicates cool, humid conditions with overcast skies and minimal UV exposure.\n`;\n\nconst customRenderers = {\n weather: WeatherCard,\n};\nconst components = {\n code: withChartCode({\n // register custom block renderer\n languageRenderers: customRenderers,\n }),\n};\n\nconst bgStyle = {\n display: \'grid\',\n gridGap: \'20px 0\',\n padding: 20,\n borderRadius: 8,\n};\n\nexport default () => {\n return (\n
\n \n {markdownContent}} />\n
\n );\n};\n';},f62ee6d5:function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return a;}}),t("d4299709");var a="import { styled } from 'styled-components';\n\nconst StyledComponent = styled.div`\n width: 560px;\n background-color: #60a5fa;\n border-radius: 10px;\n\n .locationSection {\n display: flex;\n flex-direction: column;\n padding: 18px 25px;\n }\n\n .temperatureWrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .temperatureDetails {\n display: flex;\n align-items: center;\n gap: 40px;\n }\n\n .imageIcon {\n flex-shrink: 0;\n width: 36px;\n height: 36px;\n border-radius: 10px;\n }\n\n .currentTemperature {\n color: #feffff;\n font-size: 25px;\n font-weight: bold;\n }\n\n .locationName {\n color: #feffff;\n font-size: 24px;\n font-weight: bold;\n }\n\n .weatherDetails {\n display: flex;\n align-items: center;\n margin-top: 16px;\n justify-content: space-between;\n font-size: 14px;\n }\n\n .humiditySection {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n min-width: 82px;\n }\n\n .attributeLabel {\n min-width: 56px;\n margin-right: 2px;\n margin-left: 2px;\n color: #dbeafe;\n }\n\n .uvIndexValue {\n color: #fff;\n font-size: 12px;\n }\n\n .windSection {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 20px;\n }\n\n .windSpeedLabel {\n color: #dbeafe;\n }\n\n .windSpeedValue {\n color: #feffff;\n }\n\n .cloudinessSection {\n display: flex;\n flex-direction: column;\n }\n\n .cloudinessLabel {\n color: #dbeafe;\n }\n\n .cloudinessValue {\n align-self: flex-start;\n color: #fff;\n }\n\n .uvIndexSection {\n display: flex;\n flex-direction: column;\n }\n\n .uvIndexLabel {\n margin-left: 2px;\n color: #dbeafe;\n }\n\n .uvIndexValue {\n color: #fff;\n }\n`;\n\nexport default StyledComponent;\n";}}]); +//# sourceMappingURL=fff33d9f-async.5c398053.js.map \ No newline at end of file diff --git a/fff33d9f-async.5c398053.js.map b/fff33d9f-async.5c398053.js.map new file mode 100644 index 0000000..6a1c887 --- /dev/null +++ b/fff33d9f-async.5c398053.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["docs/guide/demos/WeatherCard/index.tsx?dumi-raw","docs/guide/customize-style.md?type=text","docs/guide/customize-style.md?type=demo","node_modules/.pnpm/@ant-design+x@1.0.3_antd@5.22.5_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/x/es/index.js","docs/guide/quick-start.md?type=demo","docs/index.md?type=text","docs/guide/antd-design-x.md?type=text","docs/guide/custom-ui.md?type=demo","docs/guide/custome-markdown.md?type=demo","docs/guide/antd-design-x.md?type=demo","docs/guide/custome-markdown.md?type=text","docs/index.md?type=demo","docs/guide/quick-start.md?type=text","docs/guide/custom-ui.md?type=text","src/index.ts","node_modules/.pnpm/@antv+l7@2.22.3/node_modules/@antv/l7/es/index.js","docs/guide/demos/custom-ui.tsx?dumi-raw","docs/guide/demos/WeatherCard/style.ts?dumi-raw"],"sourcesContent":["\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/index.tsx?watch=parent';\n export default \"import type { CodeBlockComponent } from '@antv/gpt-vis';\\nimport React from 'react';\\nimport StyledComponent from './style';\\n\\nconst WeatherCard: CodeBlockComponent = (props) => {\\n const content = String(props.children).trim();\\n const { locationName, temperature, humidity, wind, cloudiness, uv } = JSON.parse(content);\\n\\n return (\\n \\n
\\n
\\n
\\n \\n {temperature}°\\n
\\n {locationName}\\n
\\n
\\n
\\n Humidity\\n {humidity}%\\n
\\n
\\n Wind\\n {wind}kph\\n
\\n
\\n Cloudiness\\n {cloudiness}%\\n
\\n
\\n UV Index\\n {uv}\\n
\\n
\\n
\\n
\\n );\\n};\\n\\nexport default WeatherCard;\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?watch=parent';\n export const texts = [{\"value\":\"通过在 \",\"paraId\":0,\"tocIndex\":0},{\"value\":\"ConfigProvider\",\"paraId\":1,\"tocIndex\":0},{\"value\":\" 中传入样式属性,来配置图表组件的全局样式。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"给各个组件定制样式\",\"paraId\":2,\"tocIndex\":1},{\"value\":\"import { ConfigProvider } from '@antv/gpt-vis';\\n\\n// 设置甜甜圈样式\\nconst pieConfig = {\\n legend: false,\\n innerRadius: 0.6,\\n style: {\\n stroke: '#fff',\\n inset: 1,\\n radius: 10,\\n },\\n};\\n\\n// 面积图设置渐变色\\nconst areaConfig = {\\n style: {\\n fill: 'linear-gradient(-90deg, white 0%, darkgreen 100%)',\\n },\\n line: {\\n style: {\\n stroke: 'darkgreen',\\n strokeWidth: 2,\\n },\\n tooltip: false,\\n },\\n};\\n\\n// 地图设置图标\\nconst pinMapConfig = {\\n markerStyle: {\\n iconPath:\\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original',\\n },\\n};\\n\\nexport default () => {\\n return (\\n \\n // ...\\n \\n );\\n};\\n\",\"paraId\":3,\"tocIndex\":1},{\"value\":\"import { ConfigProvider } from '@antv/gpt-vis';\\n\\nexport default () => {\\n return (\\n \\n // ...\\n \\n );\\n};\\n\",\"paraId\":4,\"tocIndex\":2},{\"value\":\"更多用法详见 \",\"paraId\":5},{\"value\":\"ConfigProvider\",\"paraId\":6}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?watch=parent';\nimport * as docs_guide_customize_style_demo_0_deps_0 from '@ant-design/x';\nimport * as docs_guide_customize_style_demo_0_deps_1 from '@antv/gpt-vis';\nexport const demos = {\n 'docs-guide-customize-style-demo-0': {\n component: React.memo(React.lazy(async function() {\n const { Bubble: Bubble } = await import('@ant-design/x');\nconst { ConfigProvider: ConfigProvider, GPTVis: GPTVis } = await import('@antv/gpt-vis');\n// 设置甜甜圈样式\nconst pieConfig = {\n legend: false,\n innerRadius: 0.6,\n style: {\n stroke: '#fff',\n inset: 1,\n radius: 10\n }\n};\n// 面积图设置渐变色\nconst areaConfig = {\n style: {\n fill: 'linear-gradient(-90deg, white 0%, darkgreen 100%)'\n },\n line: {\n style: {\n stroke: 'darkgreen',\n strokeWidth: 2\n },\n tooltip: false\n }\n};\n// 地图设置图标\nconst pinMapConfig = {\n markerStyle: {\n iconPath: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original'\n }\n};\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n \"type\": \"area\",\n \"data\": [{\"time\":2013,\"value\":59.3},{\"time\":2014,\"value\":64.4},{\"time\":2015,\"value\":68.9},{\"time\":2016,\"value\":74.4},{\"time\":2017,\"value\":82.7},{\"time\":2018,\"value\":91.9},{\"time\":2019,\"value\":99.1},{\"time\":2020,\"value\":101.6},{\"time\":2021,\"value\":114.4},{\"time\":2022,\"value\":121}]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n {\n \"type\": \"pin-map\",\n \"data\": [\n { \"label\": \"杨梅岭\", \"longitude\": 120.118362, \"latitude\": 30.217175 },\n { \"label\": \"理安寺\", \"longitude\": 120.112958, \"latitude\": 30.207319 },\n { \"label\": \"九溪烟树\", \"longitude\": 120.11335, \"latitude\": 30.202395 },\n { \"label\": \"飞来峰\", \"longitude\": 120.100549, \"latitude\": 30.236875 },\n { \"label\": \"灵隐寺\", \"longitude\": 120.101406, \"latitude\": 30.240826 },\n { \"label\": \"天竺三寺\", \"longitude\": 120.105337, \"latitude\": 30.236818 },\n { \"label\": \"杭州植物园\", \"longitude\": 120.116979, \"latitude\": 30.252876 },\n { \"label\": \"杭州花圃\", \"longitude\": 120.127654, \"latitude\": 30.245663 },\n { \"label\": \"苏堤\", \"longitude\": 120.135764, \"latitude\": 30.251448 },\n { \"label\": \"虎跑公园\", \"longitude\": 120.130095, \"latitude\": 30.207505 },\n { \"label\": \"玉皇飞云\", \"longitude\": 120.145323, \"latitude\": 30.214993 },\n { \"label\": \"长桥公园\", \"longitude\": 120.155057, \"latitude\": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst RenderMarkdown = (content)=>/*#__PURE__*/ React.createElement(GPTVis, null, content);\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(ConfigProvider, {\n components: {\n Pie: pieConfig,\n Area: areaConfig,\n PinMap: pinMapConfig\n }\n }, /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n content: markdownContent,\n messageRender: RenderMarkdown,\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n })));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"docs-guide-customize-style-demo-0\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\n\\n// 设置甜甜圈样式\\nconst pieConfig = {\\n legend: false,\\n innerRadius: 0.6,\\n style: {\\n stroke: '#fff',\\n inset: 1,\\n radius: 10,\\n },\\n};\\n\\n// 面积图设置渐变色\\nconst areaConfig = {\\n style: {\\n fill: 'linear-gradient(-90deg, white 0%, darkgreen 100%)',\\n },\\n line: {\\n style: {\\n stroke: 'darkgreen',\\n strokeWidth: 2,\\n },\\n tooltip: false,\\n },\\n};\\n\\n// 地图设置图标\\nconst pinMapConfig = {\\n markerStyle: {\\n iconPath:\\n 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*JZf9T6psSzkAAAAAAAAAAAAADmJ7AQ/original',\\n },\\n};\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"area\\\",\\n \\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}]\\n}\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n {\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n { \\\"label\\\": \\\"杨梅岭\\\", \\\"longitude\\\": 120.118362, \\\"latitude\\\": 30.217175 },\\n { \\\"label\\\": \\\"理安寺\\\", \\\"longitude\\\": 120.112958, \\\"latitude\\\": 30.207319 },\\n { \\\"label\\\": \\\"九溪烟树\\\", \\\"longitude\\\": 120.11335, \\\"latitude\\\": 30.202395 },\\n { \\\"label\\\": \\\"飞来峰\\\", \\\"longitude\\\": 120.100549, \\\"latitude\\\": 30.236875 },\\n { \\\"label\\\": \\\"灵隐寺\\\", \\\"longitude\\\": 120.101406, \\\"latitude\\\": 30.240826 },\\n { \\\"label\\\": \\\"天竺三寺\\\", \\\"longitude\\\": 120.105337, \\\"latitude\\\": 30.236818 },\\n { \\\"label\\\": \\\"杭州植物园\\\", \\\"longitude\\\": 120.116979, \\\"latitude\\\": 30.252876 },\\n { \\\"label\\\": \\\"杭州花圃\\\", \\\"longitude\\\": 120.127654, \\\"latitude\\\": 30.245663 },\\n { \\\"label\\\": \\\"苏堤\\\", \\\"longitude\\\": 120.135764, \\\"latitude\\\": 30.251448 },\\n { \\\"label\\\": \\\"虎跑公园\\\", \\\"longitude\\\": 120.130095, \\\"latitude\\\": 30.207505 },\\n { \\\"label\\\": \\\"玉皇飞云\\\", \\\"longitude\\\": 120.145323, \\\"latitude\\\": 30.214993 },\\n { \\\"label\\\": \\\"长桥公园\\\", \\\"longitude\\\": 120.155057, \\\"latitude\\\": 30.232985 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => {content};\\n\\nexport default () => {\\n return (\\n \\n
\\n \\n
\\n \\n );\\n};\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": docs_guide_customize_style_demo_0_deps_0,\n \"@antv/gpt-vis\": docs_guide_customize_style_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'docs-guide-customize-style-demo-1': {\n component: React.memo(React.lazy(async function() {\n const { Bubble: Bubble } = await import('@ant-design/x');\nconst { ConfigProvider: ConfigProvider, GPTVis: GPTVis } = await import('@antv/gpt-vis');\nconst markdownContent = `\n\\`\\`\\`vis-chart\n{\n \"type\": \"area\",\n \"data\": [{\"time\":2013,\"value\":59.3},{\"time\":2014,\"value\":64.4},{\"time\":2015,\"value\":68.9},{\"time\":2016,\"value\":74.4},{\"time\":2017,\"value\":82.7},{\"time\":2018,\"value\":91.9},{\"time\":2019,\"value\":99.1},{\"time\":2020,\"value\":101.6},{\"time\":2021,\"value\":114.4},{\"time\":2022,\"value\":121}]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n{\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n}\n\\`\\`\\`\n\n\\`\\`\\`vis-chart\n {\n \"type\": \"pin-map\",\n \"data\": [\n { \"label\": \"杨梅岭\", \"longitude\": 120.118362, \"latitude\": 30.217175 },\n { \"label\": \"理安寺\", \"longitude\": 120.112958, \"latitude\": 30.207319 },\n { \"label\": \"九溪烟树\", \"longitude\": 120.11335, \"latitude\": 30.202395 },\n { \"label\": \"飞来峰\", \"longitude\": 120.100549, \"latitude\": 30.236875 },\n { \"label\": \"灵隐寺\", \"longitude\": 120.101406, \"latitude\": 30.240826 },\n { \"label\": \"天竺三寺\", \"longitude\": 120.105337, \"latitude\": 30.236818 },\n { \"label\": \"杭州植物园\", \"longitude\": 120.116979, \"latitude\": 30.252876 },\n { \"label\": \"杭州花圃\", \"longitude\": 120.127654, \"latitude\": 30.245663 },\n { \"label\": \"苏堤\", \"longitude\": 120.135764, \"latitude\": 30.251448 },\n { \"label\": \"虎跑公园\", \"longitude\": 120.130095, \"latitude\": 30.207505 },\n { \"label\": \"玉皇飞云\", \"longitude\": 120.145323, \"latitude\": 30.214993 },\n { \"label\": \"长桥公园\", \"longitude\": 120.155057, \"latitude\": 30.232985 }\n ]\n}\n\\`\\`\\`\n`;\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst RenderMarkdown = (content)=>/*#__PURE__*/ React.createElement(GPTVis, null, content);\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(ConfigProvider, {\n plot: {\n theme: {\n type: 'academy'\n }\n },\n map: {\n style: 'dark',\n token: '你的地图token'\n }\n }, /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n content: markdownContent,\n messageRender: RenderMarkdown,\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n })));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"docs-guide-customize-style-demo-1\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { ConfigProvider, GPTVis } from '@antv/gpt-vis';\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"area\\\",\\n \\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}]\\n}\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n {\\n \\\"type\\\": \\\"pin-map\\\",\\n \\\"data\\\": [\\n { \\\"label\\\": \\\"杨梅岭\\\", \\\"longitude\\\": 120.118362, \\\"latitude\\\": 30.217175 },\\n { \\\"label\\\": \\\"理安寺\\\", \\\"longitude\\\": 120.112958, \\\"latitude\\\": 30.207319 },\\n { \\\"label\\\": \\\"九溪烟树\\\", \\\"longitude\\\": 120.11335, \\\"latitude\\\": 30.202395 },\\n { \\\"label\\\": \\\"飞来峰\\\", \\\"longitude\\\": 120.100549, \\\"latitude\\\": 30.236875 },\\n { \\\"label\\\": \\\"灵隐寺\\\", \\\"longitude\\\": 120.101406, \\\"latitude\\\": 30.240826 },\\n { \\\"label\\\": \\\"天竺三寺\\\", \\\"longitude\\\": 120.105337, \\\"latitude\\\": 30.236818 },\\n { \\\"label\\\": \\\"杭州植物园\\\", \\\"longitude\\\": 120.116979, \\\"latitude\\\": 30.252876 },\\n { \\\"label\\\": \\\"杭州花圃\\\", \\\"longitude\\\": 120.127654, \\\"latitude\\\": 30.245663 },\\n { \\\"label\\\": \\\"苏堤\\\", \\\"longitude\\\": 120.135764, \\\"latitude\\\": 30.251448 },\\n { \\\"label\\\": \\\"虎跑公园\\\", \\\"longitude\\\": 120.130095, \\\"latitude\\\": 30.207505 },\\n { \\\"label\\\": \\\"玉皇飞云\\\", \\\"longitude\\\": 120.145323, \\\"latitude\\\": 30.214993 },\\n { \\\"label\\\": \\\"长桥公园\\\", \\\"longitude\\\": 120.155057, \\\"latitude\\\": 30.232985 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => {content};\\n\\nexport default () => {\\n return (\\n \\n
\\n \\n
\\n \\n );\\n};\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": docs_guide_customize_style_demo_0_deps_0,\n \"@antv/gpt-vis\": docs_guide_customize_style_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","export { default as version } from \"./version\";\nexport { default as Attachments } from \"./attachments\";\nexport { default as Sender } from \"./sender\";\nexport { default as Bubble } from \"./bubble\";\nexport { default as Conversations } from \"./conversations\";\nexport { default as Prompts } from \"./prompts\";\nexport { default as ThoughtChain } from \"./thought-chain\";\nexport { default as Suggestion } from \"./suggestion\";\nexport { default as Welcome } from \"./welcome\";\nexport { default as XProvider } from \"./x-provider\";\nexport { default as useXChat } from \"./useXChat\";\nexport { default as useXAgent } from \"./useXAgent\";\nexport { default as XStream } from \"./x-stream\";\nexport { default as XRequest } from \"./x-request\";","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/quick-start.md?watch=parent';\nexport const demos = {\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/index.md?watch=parent';\n export const texts = [];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/antd-design-x.md?watch=parent';\n export const texts = [{\"value\":\"1.定义图表 Markdown 代码块\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"const markdownContent = `\\n## GPT-VIS\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\\n\\n \\\\`\\\\`\\\\`vis-chart\\n {\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n }\\n\\\\`\\\\`\\\\``;\\n\",\"paraId\":1,\"tocIndex\":0},{\"value\":\"2.扩展聊天气泡渲染\",\"paraId\":2,\"tocIndex\":0},{\"value\":\"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { GPTVis } from '@antv/gpt-vis';\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => {content};\\n\\nexport default () => {\\n return (\\n \\n );\\n};\\n\",\"paraId\":3,\"tocIndex\":0},{\"value\":\"定义你的图表数据\",\"paraId\":4,\"tocIndex\":1},{\"value\":\"const mockdata = [\\n { category: '分类一', value: 27 },\\n { category: '分类二', value: 25 },\\n { category: '分类三', value: 18 },\\n { category: '分类四', value: 15 },\\n { category: '分类五', value: 10 },\\n { category: '其他', value: 5 },\\n];\\n\",\"paraId\":5,\"tocIndex\":1},{\"value\":\"渲染聊天气泡\",\"paraId\":6,\"tocIndex\":1},{\"value\":\"import { Pie } from '@antv/gpt-vis';\\nimport { Bubble } from '@ant-design/x';\\n\\nexport default () => {\\n return (\\n }\\n styles={{ content: { background: '#fff' } }}\\n />\\n );\\n};\\n\",\"paraId\":7,\"tocIndex\":1}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custom-ui.md?watch=parent';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_1 from '@ant-design/x';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_2 from '@antv/gpt-vis';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_3 from 'react';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_4 from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/index.tsx';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_5 from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/style.ts';\nimport * as docs_guide_custom_ui_demo_custom_ui_deps_6 from 'styled-components';\nexport const demos = {\n 'docs-guide-custom-ui-demo-custom-ui': {\n component: React.memo(React.lazy(() => import( /* webpackChunkName: \"demos\" */ '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/custom-ui.tsx?techStack=react'))),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"docs-guide-custom-ui-demo-custom-ui\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/custom-ui.tsx?dumi-raw').default\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"react\": {\n \"type\": \"NPM\",\n \"value\": \"18.3.1\"\n },\n \"./WeatherCard.tsx\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/index.tsx?dumi-raw').default\n },\n \"./style.ts\": {\n \"type\": \"FILE\",\n \"value\": require('/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/style.ts?dumi-raw').default\n },\n \"styled-components\": {\n \"type\": \"NPM\",\n \"value\": \"6.1.13\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"./WeatherCard.tsx\": docs_guide_custom_ui_demo_custom_ui_deps_4,\n \"./style.ts\": docs_guide_custom_ui_demo_custom_ui_deps_5,\n \"@ant-design/x\": docs_guide_custom_ui_demo_custom_ui_deps_1,\n \"@antv/gpt-vis\": docs_guide_custom_ui_demo_custom_ui_deps_2,\n \"react\": docs_guide_custom_ui_demo_custom_ui_deps_3,\n \"/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/index.tsx\": docs_guide_custom_ui_demo_custom_ui_deps_4,\n \"/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/style.ts\": docs_guide_custom_ui_demo_custom_ui_deps_5,\n \"styled-components\": docs_guide_custom_ui_demo_custom_ui_deps_6\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custome-markdown.md?watch=parent';\nexport const demos = {\n};","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/antd-design-x.md?watch=parent';\nimport * as docs_guide_antd_design_x_demo_0_deps_0 from '@ant-design/x';\nimport * as docs_guide_antd_design_x_demo_0_deps_1 from '@antv/gpt-vis';\nexport const demos = {\n 'docs-guide-antd-design-x-demo-0': {\n component: React.memo(React.lazy(async function() {\n const { Bubble: Bubble } = await import('@ant-design/x');\nconst { GPTVis: GPTVis } = await import('@antv/gpt-vis');\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst markdownContent = `\n## GPT-VIS \nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\n\n\\`\\`\\`vis-chart\n {\n \"type\": \"pie\",\n \"data\": [\n { \"category\": \"分类一\", \"value\": 27 },\n { \"category\": \"分类二\", \"value\": 25 },\n { \"category\": \"分类三\", \"value\": 18 },\n { \"category\": \"分类四\", \"value\": 15 },\n { \"category\": \"分类五\", \"value\": 10 },\n { \"category\": \"其他\", \"value\": 5 }\n ]\n }\n\\`\\`\\``;\nconst RenderMarkdown = (content)=>/*#__PURE__*/ React.createElement(GPTVis, null, content);\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n content: markdownContent,\n messageRender: RenderMarkdown,\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n }));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"docs-guide-antd-design-x-demo-0\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Bubble, type BubbleProps } from '@ant-design/x';\\nimport { GPTVis } from '@antv/gpt-vis';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst markdownContent = `\\n## GPT-VIS \\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\\n\\n\\\\`\\\\`\\\\`vis-chart\\n {\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"分类四\\\", \\\"value\\\": 15 },\\n { \\\"category\\\": \\\"分类五\\\", \\\"value\\\": 10 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n }\\n\\\\`\\\\`\\\\``;\\n\\nconst RenderMarkdown: BubbleProps['messageRender'] = (content) => {content};\\n\\nexport default () => {\\n return (\\n
\\n \\n
\\n );\\n};\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@ant-design/x\": docs_guide_antd_design_x_demo_0_deps_0,\n \"@antv/gpt-vis\": docs_guide_antd_design_x_demo_0_deps_1\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n 'docs-guide-antd-design-x-demo-1': {\n component: React.memo(React.lazy(async function() {\n const { Pie: Pie } = await import('@antv/gpt-vis');\nconst { Bubble: Bubble } = await import('@ant-design/x');\nconst bgStyle = {\n display: 'grid',\n gridGap: '20px 0',\n background: '#f7f7f7',\n padding: 20,\n borderRadius: 8\n};\nconst mockdata = [\n {\n category: '分类一',\n value: 27\n },\n {\n category: '分类二',\n value: 25\n },\n {\n category: '分类三',\n value: 18\n },\n {\n category: '分类四',\n value: 15\n },\n {\n category: '分类五',\n value: 10\n },\n {\n category: '其他',\n value: 5\n }\n];\nreturn {\n default: ()=>{\n return /*#__PURE__*/ React.createElement(\"div\", {\n style: bgStyle\n }, /*#__PURE__*/ React.createElement(Bubble, {\n content: /*#__PURE__*/ React.createElement(Pie, {\n data: mockdata,\n containerStyle: {\n width: 550,\n height: 300\n }\n }),\n avatar: {\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original'\n },\n variant: \"shadow\",\n styles: {\n content: {\n background: '#fff'\n }\n }\n }));\n }\n};\n\n})),\n asset: {\n \"type\": \"BLOCK\",\n \"id\": \"docs-guide-antd-design-x-demo-1\",\n \"refAtomIds\": [],\n \"dependencies\": {\n \"index.tsx\": {\n \"type\": \"FILE\",\n \"value\": \"import { Pie } from '@antv/gpt-vis';\\nimport { Bubble } from '@ant-design/x';\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n background: '#f7f7f7',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nconst mockdata = [\\n { category: '分类一', value: 27 },\\n { category: '分类二', value: 25 },\\n { category: '分类三', value: 18 },\\n { category: '分类四', value: 15 },\\n { category: '分类五', value: 10 },\\n { category: '其他', value: 5 },\\n];\\n\\nexport default () => {\\n return (\\n
\\n }\\n avatar={{\\n src: 'https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*6LRBT7rjOkQAAAAAAAAAAAAADsZ-AQ/original',\\n }}\\n variant=\\\"shadow\\\"\\n styles={{ content: { background: '#fff' } }}\\n />\\n
\\n );\\n};\"\n },\n \"@antv/gpt-vis\": {\n \"type\": \"NPM\",\n \"value\": \"0.4.0\"\n },\n \"@ant-design/x\": {\n \"type\": \"NPM\",\n \"value\": \"1.0.3\"\n }\n },\n \"entry\": \"index.tsx\"\n},\n context: {\n \"@antv/gpt-vis\": docs_guide_antd_design_x_demo_0_deps_1,\n \"@ant-design/x\": docs_guide_antd_design_x_demo_0_deps_0\n},\n renderOpts: {\n \n compile: async (...args) => {\n return (await import('/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/dist/client/misc/reactDemoCompiler.js')).default(...args);\n },\n },\n },\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custome-markdown.md?watch=parent';\n export const texts = [{\"value\":\"import React from 'react';\\nimport Markdown from 'react-markdown';\\nimport { withChartCode, withDefaultChartCode, ChartType, Line } from '@antv/gpt-vis';\\n\\nconst markdownContent = `\\n# GPT-VIS \\\\n\\\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\\n\\nHere’s a visualization of Haidilao's food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{ \\\"type\\\": \\\"line\\\",\\\"data\\\": [{\\\"time\\\":2013,\\\"value\\\":59.3},{\\\"time\\\":2014,\\\"value\\\":64.4},{\\\"time\\\":2015,\\\"value\\\":68.9},{\\\"time\\\":2016,\\\"value\\\":74.4},{\\\"time\\\":2017,\\\"value\\\":82.7},{\\\"time\\\":2018,\\\"value\\\":91.9},{\\\"time\\\":2019,\\\"value\\\":99.1},{\\\"time\\\":2020,\\\"value\\\":101.6},{\\\"time\\\":2021,\\\"value\\\":114.4},{\\\"time\\\":2022,\\\"value\\\":121}] }\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst CodeBlock = withChartCode({\\n components: { [ChartType.Line]: Line },\\n});\\n// 或\\n// const CodeBlock = withDefaultChartCode();\\n\\nexport default () => {\\n return {markdownContent};\\n};\\n\",\"paraId\":0,\"tocIndex\":0}];\n ","import React from 'react';\nimport '/home/runner/work/GPT-Vis/GPT-Vis/docs/index.md?watch=parent';\nexport const demos = {\n};","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/quick-start.md?watch=parent';\n export const texts = [{\"value\":\"$ npm install @antv/gpt-vis --save\\n\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"import React from 'react';\\nimport { GPTVis } from '@antv/gpt-vis';\\n\\nconst markdownContent = `\\n# GPT-VIS \\\\n\\\\nComponents for GPTs, generative AI, and LLM projects. Not only UI Components.\\n\\nHere’s a visualization of Haidilao's food delivery revenue from 2013 to 2022. You can see a steady increase over the years, with notable *growth* particularly in recent years.\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"line\\\",\\n \\\"data\\\": [\\n { \\\"time\\\":2013,\\\"value\\\":59.3 },\\n { \\\"time\\\":2014,\\\"value\\\":64.4 },\\n { \\\"time\\\":2015,\\\"value\\\":68.9 },\\n { \\\"time\\\":2016,\\\"value\\\":74.4 },\\n { \\\"time\\\":2017,\\\"value\\\":82.7 },\\n { \\\"time\\\":2018,\\\"value\\\":91.9 },\\n { \\\"time\\\":2019,\\\"value\\\":99.1 },\\n { \\\"time\\\":2020,\\\"value\\\":101.6 },\\n { \\\"time\\\":2021,\\\"value\\\":114.4 },\\n { \\\"time\\\":2022,\\\"value\\\":121 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nexport default () => {\\n return {markdownContent};\\n};\\n\",\"paraId\":1,\"tocIndex\":1},{\"value\":\"业务定制 UI 场景,提供方便的扩展机制,支持标签和代码块扩展。\",\"paraId\":2,\"tocIndex\":2},{\"value\":\"import { GPTVisLite, withChartCode, ChartType, Pie } from '@antv/gpt-vis';\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`my-ui\\nmy data\\n\\\\`\\\\`\\\\`\\n\\n\\\\`\\\\`\\\\`vis-chart\\n{\\n \\\"type\\\": \\\"pie\\\",\\n \\\"data\\\": [\\n { \\\"category\\\": \\\"分类一\\\", \\\"value\\\": 27 },\\n { \\\"category\\\": \\\"分类二\\\", \\\"value\\\": 25 },\\n { \\\"category\\\": \\\"分类三\\\", \\\"value\\\": 18 },\\n { \\\"category\\\": \\\"其他\\\", \\\"value\\\": 5 }\\n ]\\n}\\n\\\\`\\\\`\\\\`\\n`;\\n\\nconst customRenderers = {\\n 'my-ui': ({ children }) =>
{children}
,\\n};\\nconst components = {\\n code: withChartCode({\\n // register custom block renderer\\n languageRenderers: customRenderers,\\n // register a pie chart\\n components: { [ChartType.Pie]: Pie },\\n }),\\n};\\n\\nexport default () => {\\n return {markdownContent};\\n};\\n\",\"paraId\":3,\"tocIndex\":2}];\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custom-ui.md?watch=parent';\n export const texts = [{\"value\":\"为模型输出的结构化数据,通过代码块的方式定制 UI。\",\"paraId\":0,\"tocIndex\":0},{\"value\":\"import { GPTVisLite, withChartCode } from '@antv/gpt-vis';\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`weather\\n{\\n \\\"locationName\\\": \\\"Hangzhou\\\",\\n \\\"temperature\\\": 11.4,\\n \\\"humidity\\\": 82,\\n \\\"wind\\\": 6.8,\\n \\\"cloudiness\\\": 75,\\n \\\"uv\\\": \\\"0.2 of 11\\\"\\n}\\n\\\\`\\\\`\\\\`\\n\\nIn Hangzhou, the current weather is as follows: \\n- The temperature is 11.4°C, humidity is 82%, and wind speed is 6.8 kph. \\n- There's 75% cloud cover, and the UV index is very low at 0.2 out of 11. \\n- This indicates cool, humid conditions with overcast skies and minimal UV exposure.\\n`;\\n\\nconst customRenderers = {\\n weather: (props) => 'WeatherCard',\\n};\\nconst components = {\\n code: withChartCode({\\n // register custom block renderer\\n languageRenderers: customRenderers,\\n }),\\n};\\n\\nexport default () => {\\n return {markdownContent};\\n};\\n\",\"paraId\":1,\"tocIndex\":0}];\n ","/********** export chart **********/\nexport * from './export';\n\n/********** export types **********/\nexport * from './types';\n\n/********** export GPTVis **********/\nexport { withChartCode, withDefaultChartCode } from './ChartCodeRender';\nexport type { CodeBlockComponent, WithChartCodeOptions } from './ChartCodeRender/type';\nexport { default as ConfigProvider, type ConfigProviderProps } from './ConfigProvider';\nexport { default as GPTVis, type GPTVisProps } from './GPTVis';\nexport { default as GPTVisLite, useEventPublish, type GPTVisLiteProps } from './GPTVis/Lite';\n\nexport { default as version } from './version';\n","// src/index.ts\nimport Source from \"@antv/l7-source\";\nexport * from \"@antv/l7-component\";\nexport * from \"@antv/l7-core\";\nexport * from \"@antv/l7-layers\";\nexport * from \"@antv/l7-maps\";\nexport * from \"@antv/l7-scene\";\nexport * from \"@antv/l7-utils\";\nexport * from \"./version\";\nexport {\n Source\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/custom-ui.tsx?watch=parent';\n export default \"import { Bubble } from '@ant-design/x';\\nimport { GPTVisLite, withChartCode } from '@antv/gpt-vis';\\nimport React from 'react';\\nimport WeatherCard from './WeatherCard';\\n\\nconst markdownContent = `\\n\\\\`\\\\`\\\\`weather\\n{\\n \\\"locationName\\\": \\\"Hangzhou\\\",\\n \\\"temperature\\\": 11.4,\\n \\\"humidity\\\": 82,\\n \\\"wind\\\": 6.8,\\n \\\"cloudiness\\\": 75,\\n \\\"uv\\\": \\\"0.2 of 11\\\"\\n}\\n\\\\`\\\\`\\\\`\\n\\nIn Hangzhou, the current weather is as follows:\\n- The temperature is 11.4°C, humidity is 82%, and wind speed is 6.8 kph.\\n- There's 75% cloud cover, and the UV index is very low at 0.2 out of 11.\\n- This indicates cool, humid conditions with overcast skies and minimal UV exposure.\\n`;\\n\\nconst customRenderers = {\\n weather: WeatherCard,\\n};\\nconst components = {\\n code: withChartCode({\\n // register custom block renderer\\n languageRenderers: customRenderers,\\n }),\\n};\\n\\nconst bgStyle = {\\n display: 'grid',\\n gridGap: '20px 0',\\n padding: 20,\\n borderRadius: 8,\\n};\\n\\nexport default () => {\\n return (\\n
\\n \\n {markdownContent}} />\\n
\\n );\\n};\\n\";;\n ","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/demos/WeatherCard/style.ts?watch=parent';\n export default \"import { styled } from 'styled-components';\\n\\nconst StyledComponent = styled.div`\\n width: 560px;\\n background-color: #60a5fa;\\n border-radius: 10px;\\n\\n .locationSection {\\n display: flex;\\n flex-direction: column;\\n padding: 18px 25px;\\n }\\n\\n .temperatureWrapper {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n }\\n\\n .temperatureDetails {\\n display: flex;\\n align-items: center;\\n gap: 40px;\\n }\\n\\n .imageIcon {\\n flex-shrink: 0;\\n width: 36px;\\n height: 36px;\\n border-radius: 10px;\\n }\\n\\n .currentTemperature {\\n color: #feffff;\\n font-size: 25px;\\n font-weight: bold;\\n }\\n\\n .locationName {\\n color: #feffff;\\n font-size: 24px;\\n font-weight: bold;\\n }\\n\\n .weatherDetails {\\n display: flex;\\n align-items: center;\\n margin-top: 16px;\\n justify-content: space-between;\\n font-size: 14px;\\n }\\n\\n .humiditySection {\\n display: flex;\\n flex-direction: column;\\n align-items: flex-start;\\n min-width: 82px;\\n }\\n\\n .attributeLabel {\\n min-width: 56px;\\n margin-right: 2px;\\n margin-left: 2px;\\n color: #dbeafe;\\n }\\n\\n .uvIndexValue {\\n color: #fff;\\n font-size: 12px;\\n }\\n\\n .windSection {\\n display: flex;\\n flex-direction: column;\\n align-items: flex-start;\\n margin-left: 20px;\\n }\\n\\n .windSpeedLabel {\\n color: #dbeafe;\\n }\\n\\n .windSpeedValue {\\n color: #feffff;\\n }\\n\\n .cloudinessSection {\\n display: flex;\\n flex-direction: column;\\n }\\n\\n .cloudinessLabel {\\n color: #dbeafe;\\n }\\n\\n .cloudinessValue {\\n align-self: flex-start;\\n color: #fff;\\n }\\n\\n .uvIndexSection {\\n display: flex;\\n flex-direction: column;\\n }\\n\\n .uvIndexLabel {\\n margin-left: 2px;\\n color: #dbeafe;\\n }\\n\\n .uvIndexValue {\\n color: #fff;\\n }\\n`;\\n\\nexport default StyledComponent;\\n\";;\n "],"names":[],"mappings":"+PAEE,+CAAA,QADO,gBACP,EAAe,myDCAF,6CAAA,QADN,YACA,IAAM,EAAQ,CAAC,CAAC,MAAQ,sBAAO,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,iBAAiB,OAAS,EAAE,SAAW,CAAC,EAAE,CAAC,MAAQ,kIAAyB,OAAS,EAAE,SAA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AAN,SAAM,GACN,UAAU,mBAAV,SAAU,GAAE,eAAe,mBAAf,iBAAe,GAE3B,OAAO,mBAAP,SAAO,GANlB,aAAa,mBAAb,eAAa,GAAE,oBAAoB,mBAApB,sBAAoB,+DAN9B,qBAGA,uBAGsC,oBAEgB,qBAChB,qBACyB,qBAE1C,0FCHjC,8CAAA,SAAM,6CATW,mBACL,qBACA,qBACA,qBACA,qBACA,qBACA,qBACA,4FCNZ,+CAAA,QADO,gBACP,EAAe,wxCCAf,+CAAA,QADO,gBACP,EAAe"} \ No newline at end of file diff --git a/guide/antd-design-x/index.html b/guide/antd-design-x/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/guide/antd-design-x/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/guide/custom-ui/index.html b/guide/custom-ui/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/guide/custom-ui/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/guide/custome-markdown/index.html b/guide/custome-markdown/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/guide/custome-markdown/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/guide/customize-style/index.html b/guide/customize-style/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/guide/customize-style/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/guide/quick-start/index.html b/guide/quick-start/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/guide/quick-start/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..e954af2 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/logo-16.ico b/logo-16.ico new file mode 100644 index 0000000..15aed48 Binary files /dev/null and b/logo-16.ico differ diff --git a/logo-32.ico b/logo-32.ico new file mode 100644 index 0000000..be766c1 Binary files /dev/null and b/logo-32.ico differ diff --git a/logo-64.ico b/logo-64.ico new file mode 100644 index 0000000..deb5441 Binary files /dev/null and b/logo-64.ico differ diff --git a/logo-rectangle.png b/logo-rectangle.png new file mode 100644 index 0000000..becc59d Binary files /dev/null and b/logo-rectangle.png differ diff --git a/logo-square.png b/logo-square.png new file mode 100644 index 0000000..f6fca3d Binary files /dev/null and b/logo-square.png differ diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..becc59d Binary files /dev/null and b/logo.png differ diff --git a/preload_helper.bb4b7f94.js b/preload_helper.bb4b7f94.js new file mode 100644 index 0000000..ebaacdd --- /dev/null +++ b/preload_helper.bb4b7f94.js @@ -0,0 +1 @@ +!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"@antv/gpt-vis","b":"mako","f":[["9f7aa744-async.71e14206.js","9f7aa744"],["be0a7f6e-async.0a2a1693.js","be0a7f6e"],["9644f4c5-async.a43648c1.js","9644f4c5"],["a09c5581-async.f3b4884c.js","a09c5581"],["c6ce43c9-async.08efad1a.js","c6ce43c9"],["46ad607b-async.99df3c6b.js","46ad607b"],["d540738c-async.6adb3039.js","d540738c"],["9924af32-async.b146e594.js","9924af32"],["a7e230af-async.7b6b5577.js","a7e230af"],["e88e3cd8-async.0a0efd0a.js","e88e3cd8"],["85df578f-async.c6848dac.js","85df578f"],["77618d14-async.771255f0.js","77618d14"],["2c5b0acf-async.834671ac.js","2c5b0acf"],["335479ed-async.8517973a.js","335479ed"],["dc53b393-async.e49e5982.js","dc53b393"],["7e52af90-async.c961fdf8.js","7e52af90"],["214d877e-async.5f1955e1.js","214d877e"],["f07f3ef1-async.f3cfe913.js","f07f3ef1"],["726cd1c1-async.62684822.js","726cd1c1"],["31c800c6-async.169b13b7.js","31c800c6"],["734dbaa6-async.3a6a6160.js","734dbaa6"],["afc1cb10-async.a9d094cd.js","afc1cb10"],["c8a00b18-async.1ec3cb22.js","c8a00b18"],["a0bdd78c-async.c29075a9.js","a0bdd78c"],["01ca5838-async.95460b17.js","01ca5838"],["890a0ebb-async.caef576b.js","890a0ebb"],["55fc7f52-async.579d89e7.js","55fc7f52"],["767a099f-async.f2cfe1dd.js","767a099f"],["be951759-async.3538e17c.js","be951759"],["c58de0b2-async.f0ea18ec.js","c58de0b2"],["58f94c65-async.ff7b7739.js","58f94c65"],["4f531b2b-async.5ac79336.js","4f531b2b"],["7ef3cdc9-async.0c033f01.js","7ef3cdc9"],["98c9eb00-async.459c3929.js","98c9eb00"],["cd8d7381-async.c673a922.js","cd8d7381"],["9d065c04-async.015e6159.js","9d065c04"],["vendors_3-async.c892b1e7.js","vendors_3"],["vendors_0-async.b59e88dd.css","vendors_0"],["vendors_0-async.16a2f0b3.js","vendors_0"]],"r":{"/*":[34,37,38,32,36,33],"/":[26,37,38,32,36,33],"/~demos/:id":[0,37,38,33],"/guide/custome-markdown":[31,37,38,32,36,33],"/guide/customize-style":[30,37,38,32,36,33],"/guide/antd-design-x":[29,37,38,32,36,33],"/guide/quick-start":[28,37,38,32,36,33],"/guide/custom-ui":[27,37,38,32,36,33],"/components/area":[25,37,38,32,36,33],"/components/bar":[24,37,38,32,36,33],"/components/chart-code-render":[23,37,38,32,36,33],"/components/column":[22,37,38,32,36,33],"/components/config-provider":[21,37,38,32,36,33],"/components/dual-axes":[20,37,38,32,36,33],"/components/fishbone-diagram":[19,37,38,32,36,33],"/components/flow-diagram":[18,37,38,32,36,33],"/components/gpt-vis":[17,37,38,32,36,33],"/components/heat-map":[16,37,38,32,36,33],"/components/histogram":[15,37,38,32,36,33],"/components/indented-tree":[14,37,38,32,36,33],"/components/line":[13,37,38,32,36,33],"/components/map":[12,37,38,32,36,33],"/components/mind-map":[11,37,38,32,36,33],"/components/network-graph":[10,37,38,32,36,33],"/components/organization-chart":[9,37,38,32,36,33],"/components/path-map":[8,37,38,32,36,33],"/components/pie":[7,37,38,32,36,33],"/components/pin-map":[6,37,38,32,36,33],"/components/radar":[5,37,38,32,36,33],"/components/scatter":[4,37,38,32,36,33],"/components/text":[3,37,38,32,36,33],"/components/treemap":[2,37,38,32,36,33],"/components/word-cloud":[1,37,38,32,36,33]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/umi.27d1d7af.css b/umi.27d1d7af.css new file mode 100644 index 0000000..6700844 --- /dev/null +++ b/umi.27d1d7af.css @@ -0,0 +1,2 @@ +#nprogress{pointer-events:none}#nprogress .bar{background:var;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px#691eff,0 0 5px#691eff;opacity:1;transform:rotate(3deg)translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#691eff;border-left-color:#691eff;border-radius:50%;-webkit-animation:nprogress-spinner.4s linear infinite;animation:nprogress-spinner.4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes react-loading-skeleton{to{transform:translatex(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);width:100%;border-radius:.25rem;display:inline-flex;line-height:1;position:relative;user-select:none;overflow:hidden}.react-loading-skeleton:after{content:" ";display:var(--pseudo-element-display);position:absolute;top:0;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:var(--custom-highlight-background,linear-gradient(90deg,var(--base-color)0%,var(--highlight-color)50%,var(--base-color)100%));transform:translatex(-100%);-webkit-animation-name:react-loading-skeleton;animation-name:react-loading-skeleton;animation-direction:var(--animation-direction);-webkit-animation-duration:var(--animation-duration);animation-duration:var(--animation-duration);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@media(prefers-reduced-motion){.react-loading-skeleton{--pseudo-element-display:none}}.dumi-default-loading-skeleton .react-loading-skeleton{margin-block-end:.38em}.dumi-default-loading-skeleton .react-loading-skeleton.first-line{width:calc(100% - 2em);margin-inline-start:2em}[data-prefers-color=dark] .dumi-default-loading-skeleton .react-loading-skeleton{--highlight-color:rgba(198, 201, 205, 0.22);--base-color:#30363f}.dumi-default-tabs-nav{position:relative;display:flex;padding:0 12px}.dumi-default-tabs-nav:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:0;border-bottom:1px dashed#e4e9ec}[data-prefers-color=dark] .dumi-default-tabs-nav:after{border-bottom-color:#2a353c}.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 rgba(0,0,0,.1)inset}.dumi-default-tabs-nav-wrap.dumi-default-tabs-nav-wrap-ping-right~*>.dumi-default-tabs-nav-more{box-shadow:0 0 5px rgba(0,0,0,.1)}.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:#691eff;transition:left.2s,width.2s;pointer-events:none;bottom:0}[data-prefers-color=dark] .dumi-default-tabs-ink-bar{background:#4600d1}.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:#691eff}[data-prefers-color=dark] .dumi-default-tabs-dropdown>ul>li:hover{color:#4600d1}.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,.dumi-default-tabs-tabpane-hidden{display:none}code[class*=language-],pre[class*=language-]{background:#fafafa;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;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-] ::-moz-selection{background:#e5e5e6;color:inherit}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#e5e5e6;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:rgba(56,58,66,.2)}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:#e5e5e6;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:#c6c7c7;color:#383a42}.line-highlight.line-highlight{background:rgba(56,58,66,5%)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#e5e5e6;color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px 0 0 rgba(0,0,0,.2)}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(56,58,66,5%)}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:rgba(56,58,66,.2)}.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:rgba(255,82,102,.15)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::-moz-selection{background-color:rgba(251,86,105,.25)}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:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:rgba(26,255,91,.15)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::-moz-selection{background-color:rgba(56,224,98,.25)}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:rgba(56,224,98,.25)}.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:#fff}.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-scroll-container{overflow:auto;width:100%;height:100%}.dumi-default-source-code-scroll-content{position:relative;width:max-content;height:max-content;min-width:100%;min-height:100%}.dumi-default-source-code-scroll-content>pre.prism-code{width:max-content;position:relative;overflow:visible}.dumi-default-source-code>pre.prism-code{overflow:auto}.dumi-default-source-code>pre.prism-code,.dumi-default-source-code-scroll-content>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-scroll-content>pre.prism-code:before,.dumi-default-source-code>pre.prism-code:after,.dumi-default-source-code-scroll-content>pre.prism-code:after{content:none}.dumi-default-source-code>pre.prism-code>.highlighted,.dumi-default-source-code-scroll-content>pre.prism-code>.highlighted{position:relative;width:calc(100% + 24px);background-color:#eeeff0}.dumi-default-source-code>pre.prism-code>.highlighted .line-cell,.dumi-default-source-code-scroll-content>pre.prism-code>.highlighted .line-cell{position:relative}.dumi-default-source-code>pre.prism-code>.highlighted .line-cell:after,.dumi-default-source-code-scroll-content>pre.prism-code>.highlighted .line-cell:after{content:"";position:absolute;top:0;right:-24px;bottom:0;width:24px;background-color:#eeeff0}.dumi-default-source-code>pre.prism-code>.highlighted:after,.dumi-default-source-code-scroll-content>pre.prism-code>.highlighted:after{content:"";position:absolute;top:0;left:-24px;bottom:0;width:24px;background-color:#eeeff0}.dumi-default-source-code>pre.prism-code>.wrap,.dumi-default-source-code-scroll-content>pre.prism-code>.wrap{display:table-row}.dumi-default-source-code>pre.prism-code>.wrap>.token-line-num,.dumi-default-source-code-scroll-content>pre.prism-code>.wrap>.token-line-num{display:table-cell;text-align:right;padding-right:1em;user-select:none;opacity:.5}.dumi-default-source-code>pre.prism-code>.wrap>.line-cell,.dumi-default-source-code-scroll-content>pre.prism-code>.wrap>.line-cell{display:table-cell;width:100%}.dumi-default-source-code-copy{position:absolute;z-index:2;top:9px;right:12px;display:inline-block;padding:8px 12px;background-color:rgba(251,252,253,.8);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:rgba(2,3,5,.2)}[data-prefers-color=dark] .dumi-default-source-code>pre.prism-code>.highlighted{background-color:#1c1d1e}[data-prefers-color=dark] .dumi-default-source-code>pre.prism-code>.highlighted:after{background-color:#1c1d1e}[data-prefers-color=dark] .dumi-default-source-code>pre.prism-code>.highlighted .line-cell:after{background-color:#1c1d1e}.dumi-default-source-code-editor{position:relative}.dumi-default-source-code-editor-textarea{position:absolute;z-index:1;display:block;top:0;left:0;width:100%;height:100%;color:transparent;caret-color:#30363f;overflow-wrap:normal;white-space:pre;box-sizing:border-box;background:transparent;opacity:1;border:0;resize:none;outline:none;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}[data-prefers-color=dark] .dumi-default-source-code-editor-textarea{caret-color:#c6c9cd}[data-prefers-color=dark] .dumi-default-source-code-editor-textarea:focus::selection{background-color:rgba(70,0,209,.3)}.dumi-default-source-code-editor:after{content:"";position:absolute;z-index:0;top:0;left:0;width:100%;height:100%;border-bottom-left-radius:3px;border-bottom-right-radius:3px;pointer-events:none}.dumi-default-source-code-editor:focus-within:after{box-shadow:0 0 0 1px#691eff inset}[data-prefers-color=dark] .dumi-default-source-code-editor:focus-within:after{box-shadow:0 0 0 1px#4600d1 inset}[data-dumi-tooltip]{position:relative}[data-dumi-tooltip]:before,[data-dumi-tooltip]:after{position:absolute;bottom:100%;left:50%;transform:translatex(-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 rgba(0,0,0,.1);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-action-sketch>select{position:absolute;-webkit-appearance:none;appearance:none;width:100%;height:100%;opacity:0;cursor:pointer}.dumi-default-previewer-action-sketch[data-copied]>svg{fill:#208a41}.dumi-default-previewer-tabs-single .dumi-default-tabs-nav{display:none}.dumi-default-previewer-editor-tip-btn{position:absolute;-webkit-appearance:none;appearance:none;z-index:2;right:42px;top:9px;padding:8px 12px;cursor:help;background:transparent;border:0;transition:all.2s}.dumi-default-previewer-editor-tip-btn>svg{width:16px;fill:#98a3aa}[data-prefers-color=dark] .dumi-default-previewer-editor-tip-btn>svg{fill:#4a545a}.dumi-default-previewer-editor-tip-btn[data-readonly]>span{position:absolute;top:50%;left:50%;display:block;width:16px;height:2px;background:#98a3aa;transform:rotate(45deg)translate(-50%,120%)}.dumi-default-tabs-tabpane:not(:hover) .dumi-default-previewer-editor-tip-btn{opacity:0;visibility:hidden}.dumi-theme-default-tooltip{position:fixed;min-width:30px;margin-bottom:8px;box-sizing:border-box}.dumi-theme-default-tooltip-hidden{display:none}.dumi-theme-default-tooltip-arrow{border:4px solid transparent;opacity:.7}.dumi-theme-default-tooltip-placement-top .dumi-theme-default-tooltip-arrow{border-top-color:#000;transform:translate(-50%,100%)}.dumi-theme-default-tooltip-bottom .dumi-theme-default-tooltip-arrow{border-bottom-color:#000;transform:translatey(-50%,-100%)}.dumi-theme-default-tooltip-content{padding:5px 8px;color:#fff;font-size:13px;line-height:1.1;white-space:nowrap;background-color:#000;opacity:.7;border-radius:2px;box-shadow:0 4px 10px rgba(0,0,0,.1);box-sizing:border-box}[data-prefers-color=dark] .dumi-theme-default-tooltip-content{background-color:#222}.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;border-top:24px solid#e4e9ec;box-sizing:border-box}[data-prefers-color=dark] .dumi-default-previewer-demo[data-iframe]{border-top-color:#2a353c}.dumi-default-previewer-demo[data-iframe]:after{content:"";position:absolute;top:-19px;left:8px;display:inline-block;width:12px;height:12px;border-radius:50%;background-color:#fd6458;box-shadow:20px 0 0#ffbf2b,40px 0 0#24cc3d}.dumi-default-previewer-demo[data-transform]{transform:translate(0)}.dumi-default-previewer-demo[data-compact]{padding:0}.dumi-default-previewer-demo[data-error][data-compact]{min-height:30px}.dumi-default-previewer-demo[data-error][data-compact]+.dumi-default-previewer-demo-error{border-top-left-radius:3px;border-top-right-radius:3px}.dumi-default-previewer-demo[data-loading]{position:relative}.dumi-default-previewer-demo[data-loading]:before{position:absolute;top:50%;left:50%;content:"";display:block;height:28px;max-height:90%;aspect-ratio:1;border-radius:50%;border:2.8px solid;border-color:#691eff transparent;box-sizing:border-box;-webkit-animation:dumi-previewer-loading 1s infinite;animation:dumi-previewer-loading 1s infinite;transform:translate(-50%,-50%)}[data-prefers-color=dark] .dumi-default-previewer-demo[data-loading]:before{border-color:#4600d1 transparent}@keyframes dumi-previewer-loading{to{transform:translate(-50%,-50%)rotate(.5turn)}}.dumi-default-previewer-demo[data-loading]>*{opacity:.3!important}.dumi-default-previewer-demo-error{position:relative;margin-top:-30px;height:30px;padding:0 24px;line-height:30px;color:#b23642;font-size:13px;white-space:nowrap;text-overflow:ellipsis;background:#fdf4f5;box-sizing:border-box;overflow:hidden}[data-prefers-color=dark] .dumi-default-previewer-demo-error{color:#c6414e;background:#2a060a}[data-prefers-color=dark] .dumi-default-previewer-demo-error>svg{fill:#c6414e}.dumi-default-previewer-demo-error>svg{width:14px;padding-right:4px;fill:#ce1f31;vertical-align:-.14em}.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,#fff,#fff 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 rgba(105,30,255,.1);border-color:#ad84ff}[data-prefers-color=dark] .dumi-default-previewer[data-active]{box-shadow:0 0 0 4px rgba(70,0,209,.1);border-color:#24006a}.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 rgba(213,146,0,.1)}[data-prefers-color=dark] .dumi-default-previewer[data-debug][data-active]{box-shadow:0 0 0 4px rgba(137,94,0,.1)}.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:#691eff}[data-prefers-color=dark] .dumi-default-content-tabs>li>button:hover{color:#4600d1}.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:#691eff}[data-prefers-color=dark] .dumi-default-content-tabs>li[data-active]:after{background-color:#4600d1}.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:#f8f4ff}.dumi-default-container.markdown[data-type=info]>h4,.dumi-default-container.markdown[data-type=info]>svg{color:#6035b5}.dumi-default-container.markdown[data-type=info]>section{color:#674c9e}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]{background:#19004c}[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:#8964d2}[data-prefers-color=dark] .dumi-default-container.markdown[data-type=info]>section{color:#9078be}.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} +/*# sourceMappingURL=umi.27d1d7af.css.map*/ \ No newline at end of file diff --git a/umi.27d1d7af.css.map b/umi.27d1d7af.css.map new file mode 100644 index 0000000..6bd0008 --- /dev/null +++ b/umi.27d1d7af.css.map @@ -0,0 +1 @@ +{"version":3,"sources":[".dumi/tmp-production/dumi/theme/nprogress.css","node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/skeleton.css","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Loading/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/Tabs/index.less","node_modules/.pnpm/prism-themes@1.9.0/node_modules/prism-themes/themes/prism-one-light.css","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/SourceCode/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/SourceCodeEditor/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/styles/utils.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/PreviewerActions/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Previewer/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/slots/ContentTabs/index.less","node_modules/.pnpm/dumi@2.4.17_@babel+core@7.26.0_@swc+helpers@0.5.1_@types+node@22.10.2_@types+react@18.3.18_es_66lgbuo7rvpdvdwnbxjuipsv7q/node_modules/dumi/theme-default/builtins/Container/index.less"],"sourcesContent":["/* https://unpkg.com/browse/nprogress@0.2.0/nprogress.css */\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: var;\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n width: 100%;\n height: 2px;\n }\n\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #691eff, 0 0 5px #691eff;\n opacity: 1.0;\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n border: solid 2px transparent;\n border-top-color: #691eff;\n border-left-color: #691eff;\n border-radius: 50%;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n","@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: ' ';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n","@import (reference) '../../styles/variables.less';\n\n@skeleton-cls: react-loading-skeleton;\n\n.@{prefix}-loading-skeleton {\n .@{skeleton-cls} {\n margin-block-end: 0.38em;\n\n &.first-line {\n width: calc(100% - 2em);\n margin-inline-start: 2em;\n }\n\n // ======== dark mode ========\n @{dark-selector} & {\n --highlight-color: fade(@c-text-dark, @dark-light-amount);\n --base-color: @c-text;\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","@import (reference) '../../styles/variables.less';\n\n.@{prefix}-tabs {\n &-nav {\n position: relative;\n display: flex;\n padding: 0 12px;\n\n &::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n height: 0;\n border-bottom: 1px dashed @c-border-light;\n\n @{dark-selector} & {\n border-bottom-color: @c-border-less-dark;\n }\n }\n\n &-wrap {\n display: flex;\n white-space: nowrap;\n overflow: hidden;\n\n &&-ping-left {\n box-shadow: 5px 0 5px -5px rgba(0, 0, 0, 10%) inset;\n }\n\n &&-ping-right ~ * > .@{prefix}-tabs-nav-more {\n box-shadow: 0 0 5px rgba(0, 0, 0, 10%);\n }\n }\n\n &-list {\n position: relative;\n z-index: 1;\n display: flex;\n transition: transform 0.2s;\n }\n\n &-more {\n height: 100%;\n cursor: pointer;\n background: none;\n border: 0;\n transition: box-shadow 0.2s;\n }\n }\n\n &-tab {\n display: flex;\n margin: 0 12px;\n\n &-btn {\n padding: 0;\n color: @c-text-secondary;\n font-size: 14px;\n line-height: 36px;\n border: 0;\n outline: none;\n background: transparent;\n box-sizing: border-box;\n cursor: pointer;\n transition: all 0.2s;\n\n @{dark-selector} & {\n color: @c-text-secondary-dark;\n }\n\n &:hover {\n color: @c-text;\n\n @{dark-selector} & {\n color: @c-text-dark;\n }\n }\n }\n\n &-active &-btn {\n color: @c-text;\n\n @{dark-selector} & {\n color: @c-text-dark;\n }\n }\n }\n\n &-ink-bar {\n position: absolute;\n height: 1px;\n background: @c-primary;\n transition: left 0.2s, width 0.2s;\n pointer-events: none;\n bottom: 0;\n\n @{dark-selector} & {\n background: @c-primary-dark;\n }\n }\n\n &-dropdown {\n position: absolute;\n background: inherit;\n border: 1px solid @c-border;\n max-height: 200px;\n overflow: auto;\n\n @{dark-selector} & {\n border-color: @c-border-dark;\n }\n\n > ul {\n list-style: none;\n margin: 0;\n padding: 0;\n\n > li {\n padding: 4px 12px;\n font-size: 14px;\n cursor: pointer;\n\n &:hover {\n color: @c-primary;\n\n @{dark-selector} & {\n color: @c-primary-dark;\n }\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed @c-border;\n\n @{dark-selector} & {\n border-bottom-color: @c-border-dark;\n }\n }\n }\n }\n\n &-hidden {\n display: none;\n }\n }\n\n &-tabpane-hidden {\n display: none;\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","/**\n * One Light theme for prism.js\n * Based on Atom's One Light theme: https://github.com/atom/atom/tree/master/packages/one-light-syntax\n */\n\n/**\n * One Light colours (accurate as of commit eb064bf on 19 Feb 2021)\n * From colors.less\n * --mono-1: hsl(230, 8%, 24%);\n * --mono-2: hsl(230, 6%, 44%);\n * --mono-3: hsl(230, 4%, 64%)\n * --hue-1: hsl(198, 99%, 37%);\n * --hue-2: hsl(221, 87%, 60%);\n * --hue-3: hsl(301, 63%, 40%);\n * --hue-4: hsl(119, 34%, 47%);\n * --hue-5: hsl(5, 74%, 59%);\n * --hue-5-2: hsl(344, 84%, 43%);\n * --hue-6: hsl(35, 99%, 36%);\n * --hue-6-2: hsl(35, 99%, 40%);\n * --syntax-fg: hsl(230, 8%, 24%);\n * --syntax-bg: hsl(230, 1%, 98%);\n * --syntax-gutter: hsl(230, 1%, 62%);\n * --syntax-guide: hsla(230, 8%, 24%, 0.2);\n * --syntax-accent: hsl(230, 100%, 66%);\n * From syntax-variables.less\n * --syntax-selection-color: hsl(230, 1%, 90%);\n * --syntax-gutter-background-color-selected: hsl(230, 1%, 90%);\n * --syntax-cursor-line: hsla(230, 8%, 24%, 0.05);\n */\n\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tbackground: hsl(230, 1%, 98%);\n\tcolor: hsl(230, 8%, 24%);\n\tfont-family: \"Fira Code\", \"Fira Mono\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace;\n\tdirection: ltr;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tline-height: 1.5;\n\t-moz-tab-size: 2;\n\t-o-tab-size: 2;\n\ttab-size: 2;\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\n/* Selection */\ncode[class*=\"language-\"]::-moz-selection,\ncode[class*=\"language-\"] *::-moz-selection,\npre[class*=\"language-\"] *::-moz-selection {\n\tbackground: hsl(230, 1%, 90%);\n\tcolor: inherit;\n}\n\ncode[class*=\"language-\"]::selection,\ncode[class*=\"language-\"] *::selection,\npre[class*=\"language-\"] *::selection {\n\tbackground: hsl(230, 1%, 90%);\n\tcolor: inherit;\n}\n\n/* Code blocks */\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: 0.5em 0;\n\toverflow: auto;\n\tborder-radius: 0.3em;\n}\n\n/* Inline code */\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: 0.2em 0.3em;\n\tborder-radius: 0.3em;\n\twhite-space: normal;\n}\n\n.token.comment,\n.token.prolog,\n.token.cdata {\n\tcolor: hsl(230, 4%, 64%);\n}\n\n.token.doctype,\n.token.punctuation,\n.token.entity {\n\tcolor: hsl(230, 8%, 24%);\n}\n\n.token.attr-name,\n.token.class-name,\n.token.boolean,\n.token.constant,\n.token.number,\n.token.atrule {\n\tcolor: hsl(35, 99%, 36%);\n}\n\n.token.keyword {\n\tcolor: hsl(301, 63%, 40%);\n}\n\n.token.property,\n.token.tag,\n.token.symbol,\n.token.deleted,\n.token.important {\n\tcolor: hsl(5, 74%, 59%);\n}\n\n.token.selector,\n.token.string,\n.token.char,\n.token.builtin,\n.token.inserted,\n.token.regex,\n.token.attr-value,\n.token.attr-value > .token.punctuation {\n\tcolor: hsl(119, 34%, 47%);\n}\n\n.token.variable,\n.token.operator,\n.token.function {\n\tcolor: hsl(221, 87%, 60%);\n}\n\n.token.url {\n\tcolor: hsl(198, 99%, 37%);\n}\n\n/* HTML overrides */\n.token.attr-value > .token.punctuation.attr-equals,\n.token.special-attr > .token.attr-value > .token.value.css {\n\tcolor: hsl(230, 8%, 24%);\n}\n\n/* CSS overrides */\n.language-css .token.selector {\n\tcolor: hsl(5, 74%, 59%);\n}\n\n.language-css .token.property {\n\tcolor: hsl(230, 8%, 24%);\n}\n\n.language-css .token.function,\n.language-css .token.url > .token.function {\n\tcolor: hsl(198, 99%, 37%);\n}\n\n.language-css .token.url > .token.string.url {\n\tcolor: hsl(119, 34%, 47%);\n}\n\n.language-css .token.important,\n.language-css .token.atrule .token.rule {\n\tcolor: hsl(301, 63%, 40%);\n}\n\n/* JS overrides */\n.language-javascript .token.operator {\n\tcolor: hsl(301, 63%, 40%);\n}\n\n.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation {\n\tcolor: hsl(344, 84%, 43%);\n}\n\n/* JSON overrides */\n.language-json .token.operator {\n\tcolor: hsl(230, 8%, 24%);\n}\n\n.language-json .token.null.keyword {\n\tcolor: hsl(35, 99%, 36%);\n}\n\n/* MD overrides */\n.language-markdown .token.url,\n.language-markdown .token.url > .token.operator,\n.language-markdown .token.url-reference.url > .token.string {\n\tcolor: hsl(230, 8%, 24%);\n}\n\n.language-markdown .token.url > .token.content {\n\tcolor: hsl(221, 87%, 60%);\n}\n\n.language-markdown .token.url > .token.url,\n.language-markdown .token.url-reference.url {\n\tcolor: hsl(198, 99%, 37%);\n}\n\n.language-markdown .token.blockquote.punctuation,\n.language-markdown .token.hr.punctuation {\n\tcolor: hsl(230, 4%, 64%);\n\tfont-style: italic;\n}\n\n.language-markdown .token.code-snippet {\n\tcolor: hsl(119, 34%, 47%);\n}\n\n.language-markdown .token.bold .token.content {\n\tcolor: hsl(35, 99%, 36%);\n}\n\n.language-markdown .token.italic .token.content {\n\tcolor: hsl(301, 63%, 40%);\n}\n\n.language-markdown .token.strike .token.content,\n.language-markdown .token.strike .token.punctuation,\n.language-markdown .token.list.punctuation,\n.language-markdown .token.title.important > .token.punctuation {\n\tcolor: hsl(5, 74%, 59%);\n}\n\n/* General */\n.token.bold {\n\tfont-weight: bold;\n}\n\n.token.comment,\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n.token.namespace {\n\topacity: 0.8;\n}\n\n/* Plugin overrides */\n/* Selectors should have higher specificity than those in the plugins' default stylesheets */\n\n/* Show Invisibles plugin overrides */\n.token.token.tab:not(:empty):before,\n.token.token.cr:before,\n.token.token.lf:before,\n.token.token.space:before {\n\tcolor: hsla(230, 8%, 24%, 0.2);\n}\n\n/* Toolbar plugin overrides */\n/* Space out all buttons and move them away from the right edge of the code block */\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item {\n\tmargin-right: 0.4em;\n}\n\n/* Styling the buttons */\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > button,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > a,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > span {\n\tbackground: hsl(230, 1%, 90%);\n\tcolor: hsl(230, 6%, 44%);\n\tpadding: 0.1em 0.4em;\n\tborder-radius: 0.3em;\n}\n\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover,\ndiv.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus {\n\tbackground: hsl(230, 1%, 78%); /* custom: darken(--syntax-bg, 20%) */\n\tcolor: hsl(230, 8%, 24%);\n}\n\n/* Line Highlight plugin overrides */\n/* The highlighted line itself */\n.line-highlight.line-highlight {\n\tbackground: hsla(230, 8%, 24%, 0.05);\n}\n\n/* Default line numbers in Line Highlight plugin */\n.line-highlight.line-highlight:before,\n.line-highlight.line-highlight[data-end]:after {\n\tbackground: hsl(230, 1%, 90%);\n\tcolor: hsl(230, 8%, 24%);\n\tpadding: 0.1em 0.6em;\n\tborder-radius: 0.3em;\n\tbox-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); /* same as Toolbar plugin default */\n}\n\n/* Hovering over a linkable line number (in the gutter area) */\n/* Requires Line Numbers plugin as well */\npre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before {\n\tbackground-color: hsla(230, 8%, 24%, 0.05);\n}\n\n/* Line Numbers and Command Line plugins overrides */\n/* Line separating gutter from coding area */\n.line-numbers.line-numbers .line-numbers-rows,\n.command-line .command-line-prompt {\n\tborder-right-color: hsla(230, 8%, 24%, 0.2);\n}\n\n/* Stuff in the gutter */\n.line-numbers .line-numbers-rows > span:before,\n.command-line .command-line-prompt > span:before {\n\tcolor: hsl(230, 1%, 62%);\n}\n\n/* Match Braces plugin overrides */\n/* Note: Outline colour is inherited from the braces */\n.rainbow-braces .token.token.punctuation.brace-level-1,\n.rainbow-braces .token.token.punctuation.brace-level-5,\n.rainbow-braces .token.token.punctuation.brace-level-9 {\n\tcolor: hsl(5, 74%, 59%);\n}\n\n.rainbow-braces .token.token.punctuation.brace-level-2,\n.rainbow-braces .token.token.punctuation.brace-level-6,\n.rainbow-braces .token.token.punctuation.brace-level-10 {\n\tcolor: hsl(119, 34%, 47%);\n}\n\n.rainbow-braces .token.token.punctuation.brace-level-3,\n.rainbow-braces .token.token.punctuation.brace-level-7,\n.rainbow-braces .token.token.punctuation.brace-level-11 {\n\tcolor: hsl(221, 87%, 60%);\n}\n\n.rainbow-braces .token.token.punctuation.brace-level-4,\n.rainbow-braces .token.token.punctuation.brace-level-8,\n.rainbow-braces .token.token.punctuation.brace-level-12 {\n\tcolor: hsl(301, 63%, 40%);\n}\n\n/* Diff Highlight plugin overrides */\n/* Taken from https://github.com/atom/github/blob/master/styles/variables.less */\npre.diff-highlight > code .token.token.deleted:not(.prefix),\npre > code.diff-highlight .token.token.deleted:not(.prefix) {\n\tbackground-color: hsla(353, 100%, 66%, 0.15);\n}\n\npre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection,\npre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection,\npre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,\npre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection {\n\tbackground-color: hsla(353, 95%, 66%, 0.25);\n}\n\npre.diff-highlight > code .token.token.deleted:not(.prefix)::selection,\npre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection,\npre > code.diff-highlight .token.token.deleted:not(.prefix)::selection,\npre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection {\n\tbackground-color: hsla(353, 95%, 66%, 0.25);\n}\n\npre.diff-highlight > code .token.token.inserted:not(.prefix),\npre > code.diff-highlight .token.token.inserted:not(.prefix) {\n\tbackground-color: hsla(137, 100%, 55%, 0.15);\n}\n\npre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection,\npre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection,\npre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,\npre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection {\n\tbackground-color: hsla(135, 73%, 55%, 0.25);\n}\n\npre.diff-highlight > code .token.token.inserted:not(.prefix)::selection,\npre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection,\npre > code.diff-highlight .token.token.inserted:not(.prefix)::selection,\npre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection {\n\tbackground-color: hsla(135, 73%, 55%, 0.25);\n}\n\n/* Previewers plugin overrides */\n/* Based on https://github.com/atom-community/atom-ide-datatip/blob/master/styles/atom-ide-datatips.less and https://github.com/atom/atom/blob/master/packages/one-light-ui */\n/* Border around popup */\n.prism-previewer.prism-previewer:before,\n.prism-previewer-gradient.prism-previewer-gradient div {\n\tborder-color: hsl(0, 0, 95%);\n}\n\n/* Angle and time should remain as circles and are hence not included */\n.prism-previewer-color.prism-previewer-color:before,\n.prism-previewer-gradient.prism-previewer-gradient div,\n.prism-previewer-easing.prism-previewer-easing:before {\n\tborder-radius: 0.3em;\n}\n\n/* Triangles pointing to the code */\n.prism-previewer.prism-previewer:after {\n\tborder-top-color: hsl(0, 0, 95%);\n}\n\n.prism-previewer-flipped.prism-previewer-flipped.after {\n\tborder-bottom-color: hsl(0, 0, 95%);\n}\n\n/* Background colour within the popup */\n.prism-previewer-angle.prism-previewer-angle:before,\n.prism-previewer-time.prism-previewer-time:before,\n.prism-previewer-easing.prism-previewer-easing {\n\tbackground: hsl(0, 0%, 100%);\n}\n\n/* For angle, this is the positive area (eg. 90deg will display one quadrant in this colour) */\n/* For time, this is the alternate colour */\n.prism-previewer-angle.prism-previewer-angle circle,\n.prism-previewer-time.prism-previewer-time circle {\n\tstroke: hsl(230, 8%, 24%);\n\tstroke-opacity: 1;\n}\n\n/* Stroke colours of the handle, direction point, and vector itself */\n.prism-previewer-easing.prism-previewer-easing circle,\n.prism-previewer-easing.prism-previewer-easing path,\n.prism-previewer-easing.prism-previewer-easing line {\n\tstroke: hsl(230, 8%, 24%);\n}\n\n/* Fill colour of the handle */\n.prism-previewer-easing.prism-previewer-easing circle {\n\tfill: transparent;\n}\n","@import (reference) '../../styles/variables.less';\n\n// override prism theme for dark mode\n@{dark-selector} {\n .token.doctype,\n .token.punctuation,\n .token.entity,\n code[class*='language-'],\n pre[class*='language-'] {\n color: @c-text-secondary-dark;\n }\n\n .token.comment,\n .token.prolog,\n .token.cdata {\n color: @c-text-note-dark;\n }\n}\n\n.@{prefix}-source-code {\n @bg-color: tint(@c-site-bg, 50%);\n\n position: relative;\n background-color: @bg-color;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n\n &-scroll-container {\n overflow: auto;\n width: 100%;\n height: 100%;\n }\n\n &-scroll-content {\n position: relative;\n width: max-content;\n height: max-content;\n min-width: 100%;\n min-height: 100%;\n\n > pre.prism-code {\n width: max-content;\n position: relative;\n overflow: visible;\n }\n }\n\n > pre.prism-code {\n overflow: auto;\n }\n\n > pre.prism-code,\n &-scroll-content > pre.prism-code {\n margin: 0;\n padding: 18px 24px;\n font-size: 14px;\n line-height: 1.58;\n direction: ltr;\n background: transparent;\n\n // remove shadow from coy theme\n &::before,\n &::after {\n content: none;\n }\n\n // highlight line\n & > .highlighted {\n position: relative;\n width: calc(100% + 24px);\n background-color: shade(@bg-color, 5%);\n\n .line-cell {\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n right: -24px;\n bottom: 0;\n width: 24px;\n background-color: shade(@bg-color, 5%);\n }\n }\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: -24px;\n bottom: 0;\n width: 24px;\n background-color: shade(@bg-color, 5%);\n }\n }\n\n & > .wrap {\n display: table-row;\n\n & > .token-line-num {\n display: table-cell;\n text-align: right;\n padding-right: 1em;\n user-select: none;\n opacity: 0.5;\n }\n\n & > .line-cell {\n display: table-cell;\n width: 100%;\n }\n }\n }\n\n &-copy {\n position: absolute;\n z-index: 2;\n top: 9px;\n right: 12px;\n display: inline-block;\n padding: 8px 12px;\n background-color: fade(@bg-color, 80%);\n border: 0;\n border-radius: 2px;\n cursor: pointer;\n transition: all 0.2s;\n\n > svg {\n width: 16px;\n fill: darken(@c-border, 20%);\n transition: fill 0.2s;\n\n @{dark-selector} & {\n fill: lighten(@c-border-dark, 20%);\n }\n }\n\n &:hover > svg {\n fill: darken(@c-border, 30%);\n\n @{dark-selector} & {\n fill: lighten(@c-border-dark, 30%);\n }\n }\n\n &[data-copied] > svg {\n fill: @c-success;\n\n @{dark-selector} & {\n fill: @c-success-dark;\n }\n }\n }\n\n &:not(:hover) &-copy {\n opacity: 0;\n visibility: hidden;\n }\n\n @{dark-selector} & {\n @bg-color: shade(@c-site-bg-dark, 50%);\n\n background-color: @bg-color;\n\n &-copy {\n background-color: fadeout(@bg-color, 80%);\n }\n\n & > pre.prism-code > .highlighted {\n background-color: tint(@bg-color, 10%);\n\n &::after {\n background-color: tint(@bg-color, 10%);\n }\n\n .line-cell {\n &::after {\n background-color: tint(@bg-color, 10%);\n }\n }\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","@import (reference) '../../styles/variables.less';\n\n.@{prefix}-source-code-editor {\n position: relative;\n\n &-textarea {\n position: absolute;\n z-index: 1;\n display: block;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n color: transparent;\n caret-color: @c-text;\n overflow-wrap: normal;\n white-space: pre;\n box-sizing: border-box;\n background: transparent;\n opacity: 1;\n border: 0;\n resize: none;\n outline: none;\n overflow: hidden;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n\n @{dark-selector} & {\n caret-color: @c-text-dark;\n }\n\n &:focus {\n @{dark-selector} & {\n // for firefox because its selection color is not translucent when color-scheme is dark\n &::selection {\n background-color: fade(@c-primary-dark, 30%);\n }\n }\n }\n }\n\n &::after {\n content: '';\n position: absolute;\n z-index: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n pointer-events: none;\n }\n\n &:focus-within {\n &::after {\n box-shadow: 0 0 0 1px @c-primary inset;\n\n @{dark-selector} & {\n box-shadow: 0 0 0 1px @c-primary-dark inset;\n }\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","[data-dumi-tooltip] {\n position: relative;\n\n &::before,\n &::after {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n display: inline-block;\n opacity: 0.7;\n pointer-events: none;\n transition: all 0.2s;\n }\n\n &::before {\n content: attr(data-dumi-tooltip);\n min-width: 30px;\n margin-bottom: 8px;\n padding: 5px 8px;\n color: #fff;\n font-size: 13px;\n line-height: 1.1;\n white-space: nowrap;\n background-color: #000;\n border-radius: 2px;\n box-shadow: 0 4px 10px rgba(0, 0, 0, 10%);\n box-sizing: border-box;\n\n @{dark-selector} & {\n background-color: #222;\n }\n }\n\n &::after {\n content: '';\n width: 0;\n height: 0;\n border: 4px solid transparent;\n border-top-color: #000;\n\n @{dark-selector} & {\n border-top-color: #222;\n }\n }\n\n &:not(:hover) {\n &::before,\n &::after {\n visibility: hidden;\n opacity: 0;\n }\n }\n\n &[data-dumi-tooltip-bottom] {\n &::before,\n &::after {\n bottom: auto;\n top: 100%;\n }\n\n &::before {\n margin-top: 8px;\n margin-bottom: 0;\n }\n\n &::after {\n border-top-color: transparent;\n border-bottom-color: #000;\n\n @{dark-selector} & {\n border-bottom-color: #222;\n }\n }\n }\n}\n","@import (reference) '../../styles/variables.less';\n@import '../../styles/utils.less';\n\n.@{prefix}-previewer {\n &-actions {\n display: flex;\n height: 32px;\n align-items: center;\n justify-content: center;\n\n &:not(:last-child) {\n border-bottom: 1px dashed @c-border-light;\n\n @{dark-selector} & {\n border-bottom-color: @c-border-less-dark;\n }\n }\n }\n\n &-action-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: 0;\n background: transparent;\n cursor: pointer;\n\n > svg {\n width: 16px;\n fill: darken(@c-border, 20%);\n transition: fill 0.2s;\n\n @{dark-selector} & {\n fill: lighten(@c-border-dark, 20%);\n }\n }\n\n &:hover > svg {\n fill: darken(@c-border, 30%);\n\n @{dark-selector} & {\n fill: lighten(@c-border-dark, 30%);\n }\n }\n\n &:not(:last-child) {\n margin-inline-end: 4px;\n }\n }\n\n &-action-sketch {\n > select {\n position: absolute;\n appearance: none;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n }\n\n &[data-copied] > svg {\n fill: @c-success;\n }\n }\n\n // hide tabs when only one tab pane\n &-tabs-single .@{prefix}-tabs-nav {\n display: none;\n }\n\n &-editor-tip-btn {\n position: absolute;\n appearance: none;\n z-index: 2;\n right: 42px;\n top: 9px;\n padding: 8px 12px;\n cursor: help;\n background: transparent;\n border: 0;\n transition: all 0.2s;\n\n > svg {\n width: 16px;\n fill: darken(@c-border, 20%);\n\n @{dark-selector} & {\n fill: lighten(@c-border-dark, 20%);\n }\n }\n\n &[data-readonly] {\n > span {\n position: absolute;\n top: 50%;\n left: 50%;\n display: block;\n width: 16px;\n height: 2px;\n background: darken(@c-border, 20%);\n transform: rotate(45deg) translate(-50%, 120%);\n }\n }\n\n .@{prefix}-tabs-tabpane:not(:hover) & {\n opacity: 0;\n visibility: hidden;\n }\n }\n}\n\n.dumi-theme-default-tooltip {\n position: fixed;\n min-width: 30px;\n margin-bottom: 8px;\n box-sizing: border-box;\n\n &-hidden {\n display: none;\n }\n\n &-arrow {\n border: 4px solid transparent;\n opacity: 0.7;\n }\n\n &-placement-top {\n .dumi-theme-default-tooltip-arrow {\n border-top-color: #000;\n transform: translate(-50%, 100%);\n }\n }\n\n &-bottom {\n .dumi-theme-default-tooltip-arrow {\n border-bottom-color: #000;\n transform: translateY(-50%, -100%);\n }\n }\n\n &-content {\n padding: 5px 8px;\n color: #fff;\n font-size: 13px;\n line-height: 1.1;\n white-space: nowrap;\n background-color: #000;\n opacity: 0.7;\n border-radius: 2px;\n box-shadow: 0 4px 10px rgba(0, 0, 0, 10%);\n box-sizing: border-box;\n\n @{dark-selector} & {\n background-color: #222;\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","@import (reference) '../../styles/variables.less';\n\n.@{prefix}-previewer {\n @error-bar-height: 30px;\n\n margin: 24px 0 32px;\n border: 1px solid @c-border-light;\n border-radius: 4px;\n background-color: inherit;\n\n @{dark-selector} & {\n border-color: @c-border-less-dark;\n }\n\n [data-dumi-demo-grid] & {\n margin: 0 0 16px;\n\n &:first-child {\n margin-top: 24px;\n }\n\n &:last-child {\n margin-bottom: 32px;\n }\n }\n\n &-demo {\n border-top-left-radius: 2px;\n border-top-right-radius: 2px;\n padding: 40px 24px;\n\n > iframe {\n display: block;\n width: 100%;\n height: 300px;\n border: 0;\n }\n\n // demo render controls\n &[data-iframe] {\n position: relative;\n padding: 0;\n border-top: 24px solid @c-border-light;\n box-sizing: border-box;\n\n @{dark-selector} & {\n border-top-color: @c-border-less-dark;\n }\n\n &::after {\n @btn-gap: 8px;\n @btn-width: 12px;\n\n content: '';\n position: absolute;\n top: -19px;\n left: @btn-gap;\n display: inline-block;\n width: @btn-width;\n height: @btn-width;\n border-radius: 50%;\n background-color: #fd6458;\n box-shadow: (@btn-width + @btn-gap) 0 0 #ffbf2b,\n (@btn-width + @btn-gap) * 2 0 0 #24cc3d;\n }\n }\n\n &[data-transform] {\n transform: translate(0, 0);\n }\n\n &[data-compact] {\n padding: 0;\n }\n\n // error status\n &[data-error][data-compact] {\n min-height: @error-bar-height;\n\n + .@{prefix}-previewer-demo-error {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n }\n\n // loading status\n &[data-loading] {\n position: relative;\n\n &::before {\n @size: 28px;\n\n position: absolute;\n top: 50%;\n left: 50%;\n content: '';\n display: block;\n height: @size;\n max-height: 90%;\n aspect-ratio: 1;\n border-radius: 50%;\n border: (@size / 10) solid;\n border-color: @c-primary transparent;\n box-sizing: border-box;\n animation: dumi-previewer-loading 1s infinite;\n transform: translate(-50%, -50%);\n\n @{dark-selector} & {\n border-color: @c-primary-dark transparent;\n }\n\n @keyframes dumi-previewer-loading {\n to {\n transform: translate(-50%, -50%) rotate(0.5turn);\n }\n }\n }\n\n > * {\n opacity: 0.3 !important;\n }\n }\n }\n\n &-demo-error {\n @color: darken(desaturate(@c-error, 20%), 1%);\n\n position: relative;\n margin-top: -@error-bar-height;\n height: @error-bar-height;\n padding: 0 24px;\n line-height: @error-bar-height;\n color: @color;\n font-size: 13px;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: lighten(@c-error, 51%);\n box-sizing: border-box;\n overflow: hidden;\n\n @{dark-selector} & {\n @color: lighten(desaturate(@c-error, 20%), 5%);\n\n color: @color;\n background: darken(@c-error-dark, 22%);\n\n > svg {\n fill: @color;\n }\n }\n\n > svg {\n width: 14px;\n padding-right: 4px;\n fill: @c-error;\n vertical-align: -0.14em;\n }\n }\n\n &-meta {\n border-top: 1px solid @c-border-light;\n\n @{dark-selector} & {\n border-top-color: @c-border-less-dark;\n }\n }\n\n &-desc {\n position: relative;\n\n > .markdown {\n padding: 14px 24px;\n border-bottom: 1px dashed @c-border-light;\n\n @{dark-selector} & {\n border-bottom-color: @c-border-less-dark;\n }\n }\n\n > h5 {\n position: absolute;\n top: -7px;\n left: 20px;\n margin: 0;\n padding: 0 4px;\n display: inline-block;\n font-size: 14px;\n line-height: 1;\n font-weight: bold;\n background: linear-gradient(\n to top,\n rgba(255, 255, 255, 100%),\n rgba(255, 255, 255, 100%) 50%,\n rgba(255, 255, 255, 0%)\n )\n 100%;\n\n @{dark-selector} & {\n background: linear-gradient(\n to top,\n rgba(0, 0, 0, 95%),\n rgba(0, 0, 0, 95%) 50%,\n rgba(0, 0, 0, 0%)\n )\n 100%;\n }\n\n > a {\n color: @c-text;\n\n @{dark-selector} & {\n color: @c-text-dark;\n }\n\n &:not(:hover) {\n text-decoration: none;\n }\n\n > strong {\n float: inline-start;\n padding-inline-end: 8px;\n color: @c-warning;\n font-size: 12px;\n line-height: 15px;\n\n @{dark-selector} & {\n color: @c-warning-dark;\n }\n }\n }\n }\n }\n // active\n &[data-active] {\n box-shadow: 0 0 0 4px fade(@c-primary, 10%);\n border-color: lighten(@c-primary, 20%);\n\n @{dark-selector} & {\n box-shadow: 0 0 0 4px fade(@c-primary-dark, 10%);\n border-color: darken(@c-primary-dark, 20%);\n }\n }\n\n // debug mode\n &[data-debug] {\n border-color: lighten(@c-warning, 20%);\n\n @{dark-selector} & {\n border-color: darken(@c-warning-dark, 20%);\n }\n\n &[data-active] {\n box-shadow: 0 0 0 4px fade(@c-warning, 10%);\n\n @{dark-selector} & {\n box-shadow: 0 0 0 4px fade(@c-warning-dark, 10%);\n }\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","@import (reference) '../../styles/variables.less';\n\n.@{prefix}-content-tabs {\n list-style-type: none;\n display: flex;\n align-items: center;\n height: 60px;\n margin: -@s-content-padding -@s-content-padding @s-content-padding -@s-content-padding;\n padding: 0 @s-content-padding;\n border-bottom: 1px solid @c-border-light;\n\n @{dark-selector} & {\n border-bottom-color: @c-border-less-dark;\n }\n\n @media @mobile {\n margin: -24px -24px 24px;\n padding: 0 24px;\n height: 42px;\n }\n\n [data-no-sidebar] & {\n margin: 0 0 @s-content-padding;\n padding: 0;\n\n @media @mobile {\n margin-bottom: 24px;\n }\n }\n\n > li {\n height: inherit;\n\n > button {\n padding: 0;\n height: inherit;\n color: @c-text-secondary;\n font-size: 17px;\n border: 0;\n background: transparent;\n cursor: pointer;\n transition: all 0.2s;\n\n @{dark-selector} & {\n color: @c-text-secondary-dark;\n }\n\n &:hover {\n color: @c-primary;\n\n @{dark-selector} & {\n color: @c-primary-dark;\n }\n }\n }\n\n &:not(last-child) {\n margin-inline-end: 42px;\n\n @media @mobile {\n margin-inline-end: 20px;\n }\n }\n\n &[data-active] {\n position: relative;\n\n > button {\n color: @c-text;\n\n @{dark-selector} & {\n color: @c-text-dark;\n }\n }\n\n &::after {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n bottom: -1px;\n height: 1px;\n background-color: @c-primary;\n\n @{dark-selector} & {\n background-color: @c-primary-dark;\n }\n }\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';","@import (reference) '../../styles/variables.less';\n\n.container-colors(@bg-color, @title-color, @text-color) {\n background: @bg-color;\n\n > h4,\n > svg {\n color: @title-color;\n }\n\n > section {\n color: @text-color;\n }\n}\n\n.@{prefix}-container.markdown {\n padding: 18px 0;\n padding-inline-start: 44px;\n padding-inline-end: 16px;\n border-radius: 4px;\n\n &:not(:first-child) {\n margin-bottom: 24px;\n }\n\n &:not(:last-child) {\n margin-top: 32px;\n }\n\n > svg {\n float: left;\n fill: currentcolor;\n margin-inline-start: -26px;\n width: 18px;\n\n [data-direction='rtl'] & {\n float: right;\n }\n }\n\n > h4 {\n clear: none;\n margin: 0 0 12px;\n font-size: 15px;\n line-height: 17px;\n }\n\n > section {\n font-size: 15px;\n }\n\n &[data-type='info'] {\n @color: darken(desaturate(@c-primary, 45%), 10%);\n\n .container-colors(lighten(@c-primary, 42%), @color, desaturate(@color, 20%));\n\n @{dark-selector} & {\n @color: lighten(desaturate(@c-primary-dark, 45%), 20%);\n\n .container-colors(darken(@c-primary-dark, 26%), @color, desaturate(@color, 20%));\n }\n }\n\n &[data-type='warning'] {\n @color: darken(desaturate(@c-warning, 20%), 2%);\n\n .container-colors(lighten(@c-warning, 51%), @color, desaturate(@color, 24%));\n\n @{dark-selector} & {\n @color: lighten(desaturate(@c-warning, 20%), 3%);\n\n .container-colors(darken(@c-warning-dark, 18%), @color, desaturate(@color, 20%));\n }\n }\n\n &[data-type='success'] {\n @color: darken(desaturate(@c-success, 5%), 1%);\n\n .container-colors(lighten(@c-success, 59%), @color, desaturate(@color, 22%));\n\n @{dark-selector} & {\n @color: lighten(desaturate(@c-success, 5%), 5%);\n\n .container-colors(darken(@c-success-dark, 10%), @color, desaturate(@color, 20%));\n }\n }\n\n &[data-type='error'] {\n @color: darken(desaturate(@c-error, 20%), 1%);\n\n .container-colors(lighten(@c-error, 51%), @color, desaturate(@color, 25%));\n\n @{dark-selector} & {\n @color: lighten(desaturate(@c-error, 20%), 5%);\n\n .container-colors(darken(@c-error-dark, 22%), @color, desaturate(@color, 20%));\n }\n }\n}\n\n@c-primary: #691eff;@s-content-width: 100%;@s-content-padding: 48px;@s-sidebar-width: 280px;@dark-selector: ~'[data-prefers-color=\"dark\"]';"],"names":[],"mappings":"AACM,CAAC,AAAD,SAAU,AAAC,CAAC,AACV,cAAc,CAAE,IAAI,AACtB,CAAC,AAED,CAAC,AAAD,SAAU,CAAC,CAAC,GAAG,AAAC,CAAC,AACf,UAAU,CAAE,GAAG,CACf,QAAQ,CAAE,KAAK,CACf,OAAO,CAAE,IAAI,CACb,GAAG,CAAE,CAAC,CACN,IAAI,CAAE,CAAC,CACP,KAAK,CAAE,GAAG,CAAC,CACX,MAAM,CAAE,CAAC,EAAE,AACb,CAAC,AAED,CAAC,AAAD,SAAU,CAAC,CAAC,GAAG,AAAC,CAAC,AACf,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,QAAQ,CAClB,KAAK,CAAE,CAAG,CACV,KAAK,CAAE,GAAG,EAAE,CACZ,MAAM,CAAE,GAAG,CAAC,CACZ,UAAU,CAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,AAAC,OAAO,CAAC,AAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,AAAC,OAAO,CAC7C,OAAO,CAAE,CAAG,CACZ,SAAS,CAAE,MAAM,CAAC,CAAI,AAAH,GAAG,CAAE,SAAS,CAAC,CAAG,CAAC,AAAC,EAAE,EAAE,CAC7C,CAAC,AAED,CAAC,AAAD,SAAU,CAAC,CAAC,OAAO,AAAC,CAAC,AACnB,OAAO,CAAE,KAAK,CACd,QAAQ,CAAE,KAAK,CACf,OAAO,CAAE,IAAI,CACb,GAAG,CAAE,EAAE,EAAE,CACT,KAAK,CAAE,EAAE,EAAE,AACb,CAAC,AAED,CAAC,AAAD,SAAU,CAAC,CAAC,YAAY,AAAC,CAAC,AACxB,KAAK,CAAE,EAAE,EAAE,CACX,MAAM,CAAE,EAAE,EAAE,C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 b/umi.a9507cb0.js @@ -0,0 +1,9 @@ +!function(){var chunksIdToUrlMap={"0033300c":"0033300c-async.6eb5faef.js","01ca5838":"01ca5838-async.95460b17.js","03d60c13":"03d60c13-async.a22ec903.js","12b214d4":"12b214d4-async.ce9a9534.js","1c1f66b7":"1c1f66b7-async.fe17fcb7.js","1c5d635b":"1c5d635b-async.1f40a8bf.js","214d877e":"214d877e-async.5f1955e1.js","27c597df":"27c597df-async.ad455065.js","285a6620":"285a6620-async.6f57d95d.js","2c5b0acf":"2c5b0acf-async.834671ac.js","2cf24a06":"2cf24a06-async.d30b9ea9.js","2e2fc5f9":"2e2fc5f9-async.ea5cfdb4.js","31c800c6":"31c800c6-async.169b13b7.js","32e00b5e":"32e00b5e-async.a8863a52.js","335479ed":"335479ed-async.8517973a.js","37a41e41":"37a41e41-async.be1fd787.js","3ca0749a":"3ca0749a-async.b3a45b0a.js","3e0a3146":"3e0a3146-async.f9dc4d24.js","46ad607b":"46ad607b-async.99df3c6b.js","4a69a1cb":"4a69a1cb-async.f1513c55.js","4ec12f54":"4ec12f54-async.ae306554.js","4f531b2b":"4f531b2b-async.5ac79336.js","5024fe4d":"5024fe4d-async.0e247d6c.js","55fc7f52":"55fc7f52-async.579d89e7.js","586840a9":"586840a9-async.89638c0f.js","58f94c65":"58f94c65-async.ff7b7739.js","5ebba693":"5ebba693-async.5be1f02d.js","5f38bc1e":"5f38bc1e-async.f6496f1b.js","6eb1bbc9":"6eb1bbc9-async.8e5e38e1.js","707b31e2":"707b31e2-async.91a4b7ff.js","70ff43c5":"70ff43c5-async.6e85e24c.js","726cd1c1":"726cd1c1-async.62684822.js","734dbaa6":"734dbaa6-async.3a6a6160.js","767a099f":"767a099f-async.f2cfe1dd.js","77618d14":"77618d14-async.771255f0.js","7e52af90":"7e52af90-async.c961fdf8.js","7ef3cdc9":"7ef3cdc9-async.0c033f01.js","855b4b71":"855b4b71-async.bcc241a0.js","85df578f":"85df578f-async.c6848dac.js","890a0ebb":"890a0ebb-async.caef576b.js","8d782fde":"8d782fde-async.42e5c825.js",91854130:"91854130-async.afbead7b.js","91fd6521":"91fd6521-async.88e73380.js","9644f4c5":"9644f4c5-async.a43648c1.js","98c9eb00":"98c9eb00-async.459c3929.js","9924af32":"9924af32-async.b146e594.js","9ca060df":"9ca060df-async.87010b6a.js","9d065c04":"9d065c04-async.015e6159.js","9e8e2db3":"9e8e2db3-async.04485fc6.js","9f7aa744":"9f7aa744-async.71e14206.js",a09c5581:"a09c5581-async.f3b4884c.js",a0bdd78c:"a0bdd78c-async.c29075a9.js",a7e230af:"a7e230af-async.7b6b5577.js",ab1d009d:"ab1d009d-async.0a1878cf.js",afc1cb10:"afc1cb10-async.a9d094cd.js",b426b87a:"b426b87a-async.101ae924.js",b44b050d:"b44b050d-async.b656a678.js",b9936f1a:"b9936f1a-async.72a334a2.js",bd9b0e6e:"bd9b0e6e-async.403e44ba.js",be0a7f6e:"be0a7f6e-async.0a2a1693.js",be951759:"be951759-async.3538e17c.js",bf4531e7:"bf4531e7-async.999ac319.js",bfae5255:"bfae5255-async.bb631db7.js",c1d1586c:"c1d1586c-async.acdd8ffe.js",c3118cec:"c3118cec-async.38f02de8.js",c58de0b2:"c58de0b2-async.f0ea18ec.js",c6ce43c9:"c6ce43c9-async.08efad1a.js",c7fd9920:"c7fd9920-async.5defbdcc.js",c8a00b18:"c8a00b18-async.1ec3cb22.js",c9bd98ac:"c9bd98ac-async.525ed8ab.js",cd8d7381:"cd8d7381-async.c673a922.js",common:"common-async.95875ad6.js",d030c320:"d030c320-async.4dbee9a5.js",d540738c:"d540738c-async.6adb3039.js",d78fc9ed:"d78fc9ed-async.78bafa66.js",da038fda:"da038fda-async.7565858b.js",dc53b393:"dc53b393-async.e49e5982.js",dda9d791:"dda9d791-async.a888f851.js",df67f0d6:"df67f0d6-async.7becdda6.js",e7bada6d:"e7bada6d-async.6c170b68.js",e88e3cd8:"e88e3cd8-async.0a0efd0a.js",eae4b260:"eae4b260-async.dbd781b1.js",ebc26251:"ebc26251-async.0a4bb0cf.js",eff985a5:"eff985a5-async.859505b2.js",f07f3ef1:"f07f3ef1-async.f3cfe913.js",f7388c2c:"f7388c2c-async.64930316.js",faadd566:"faadd566-async.c49aea1c.js",fdea2838:"fdea2838-async.63739a2c.js",ffe9488a:"ffe9488a-async.fe615b3d.js",fff33d9f:"fff33d9f-async.5c398053.js",vendors_0:"vendors_0-async.16a2f0b3.js",vendors_1:"vendors_1-async.cf1f43e9.js",vendors_2:"vendors_2-async.3c551e90.js",vendors_3:"vendors_3-async.c892b1e7.js"},cssChunksIdToUrlMap={"9bb07508":"umi.27d1d7af.css",vendors_0:"vendors_0-async.b59e88dd.css"},e="9bb07508",cssInstalledChunks={"9bb07508":0},m={"004fa49a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:[(0,r.jsx)("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"}),(0,r.jsx)("path",{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"})]});},"008baaa6":function(e,t,n){"use strict";var r=n("a04fdb0c"),a=TypeError;e.exports=function(e){if("Uint8Array"===r(e))return e;throw new a("Argument is not an Uint8Array");};},"00bdd8c2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("852bbaa9")._(n("9d065c04"));function a(e){return e?Array.isArray(e)?e:[e]:[];}function o(e,t,n,o){return r.useMemo(function(){var r=a(null!=n?n:t),i=a(null!=o?o:t),u=new Set(r),c=new Set(i);return e&&(u.has("hover")&&(u.delete("hover"),u.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[u,c];},[e,t,n,o]);}},"00c69f59":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("a70a4552").charAt,o=n("4dc6d451"),i=n("a2078cdf"),u=n("6050ac71");r({target:"String",proto:!0,forced:!0},{at:function(e){var t=u(o(this)),n=t.length,r=i(e),c=r>=0?r:n+r;return c<0||c>=n?void 0:a(t,c);}});},"010e4675":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return s;},merge:function(){return h;}});var r=n("777fffbe"),a=r._(n("6b99f428")),o=r._(n("1de795bc")),i=r._(n("bc3725d3")),u=r._(n("e7c4c508")),c=r._(n("b55354dd"));function l(e,t,n,r){if(!t.length)return n;var a,c=(0,u.default)(t),s=c[0],f=c.slice(1);return a=e||"number"!=typeof s?Array.isArray(e)?(0,i.default)(e):(0,o.default)({},e):[],r&&void 0===n&&1===f.length?delete a[s][f[0]]:a[s]=l(a[s],f,n,r),a;}function s(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,c.default)(e,t.slice(0,-1))?e:l(e,t,n,r);}function f(e){return"object"===(0,a.default)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype;}function d(e){return Array.isArray(e)?[]:{};}var p="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function h(){for(var e=arguments.length,t=Array(e),n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);}return a;}function f(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a;}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function");}function p(e,t){for(var n=0;ns;)if((u=c[s++])!=u)return!0;}else for(;l>s;s++)if((e||s in c)&&c[s]===n)return e||s||0;return!e&&-1;};};e.exports={includes:i(!0),indexOf:i(!1)};},"03eb1d77":function(e,t,n){"use strict";var r,a,o=n("e6ade175"),i=n("4afe9cf1"),u=o.process,c=o.Deno,l=u&&u.versions||c&&c.version,s=l&&l.v8;s&&(a=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=+r[1]),e.exports=a;},"045ba5e3":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("08279926"),o=n("0db032d7"),i=n("ff5769a6"),u=n("4dc6d451"),c=n("ebc2442a"),l=n("1f316010"),s=a("Object","create"),f=o([].push);r({target:"Object",stat:!0},{groupBy:function(e,t){u(e),i(t);var n=s(null),r=0;return l(e,function(e){var a=c(t(e,r++));a in n?f(n[a],e):n[a]=[e];}),n;}});},"045fc2a1":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=Math.min,o=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(e,t,n){return a(n,o(t,e));}});},"047a47d4":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("6f33419a").filterReject,o=n("b4db3f71"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("filterOut",function(e){var t=a(i(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t);},!0);},"0493ed43":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return b;}});var r=n("777fffbe"),a=r._(n("a5105844")),o=r._(n("1fc4f16a")),i=r._(n("361d5d06")),u=r._(n("c60c8136")),c=r._(n("ca3f4a5a")),l=r._(n("30142f75")),s=n("64c7e51a"),f=r._(n("9d065c04")),d=r._(n("96cc64f3")),p=r._(n("217ea5cc")),h=r._(n("83b2fae6")),m=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function v(e,t){var n,r=e.arrow,v=void 0!==r&&r,b=e.prefixCls,g=void 0===b?"rc-dropdown":b,y=e.transitionName,_=e.animation,E=e.align,w=e.placement,S=void 0===w?"bottomLeft":w,x=e.placements,k=void 0===x?h.default:x,T=e.getPopupContainer,P=e.showAction,A=e.hideAction,O=e.overlayClassName,C=e.overlayStyle,M=e.visible,I=e.trigger,R=void 0===I?["hover"]:I,L=e.autoFocus,N=e.overlay,D=e.children,j=e.onVisibleChange,F=(0,u.default)(e,m),B=f.default.useState(),U=(0,i.default)(B,2),H=U[0],z=U[1],G="visible"in e?M:H,$=f.default.useRef(null),V=f.default.useRef(null),W=f.default.useRef(null);f.default.useImperativeHandle(t,function(){return $.current;});var K=function(e){z(e),null==j||j(e);};(0,d.default)({visible:G,triggerRef:W,onVisibleChange:K,autoFocus:L,overlayRef:V});var Y=function(t){var n=e.onOverlayClick;z(!1),n&&n(t);},q=function(){return f.default.createElement(p.default,{ref:V,overlay:N,prefixCls:g,arrow:v});},X=function(){return"function"==typeof N?q:q();},Q=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n;},Z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(g,"-open");},J=f.default.cloneElement(D,{className:(0,l.default)(null===(n=D.props)||void 0===n?void 0:n.className,G&&Z()),ref:(0,s.supportRef)(D)?(0,s.composeRef)(W,D.ref):void 0}),ee=A;return ee||-1===R.indexOf("contextMenu")||(ee=["click"]),f.default.createElement(c.default,(0,a.default)({builtinPlacements:k},F,{prefixCls:g,ref:$,popupClassName:(0,l.default)(O,(0,o.default)({},"".concat(g,"-show-arrow"),v)),popupStyle:C,action:R,showAction:P,hideAction:ee,popupPlacement:S,popupAlign:E,popupTransitionName:y,popupAnimation:_,popupVisible:G,stretch:Q()?"minWidth":"",popup:X(),onPopupVisibleChange:K,onPopupClick:Y,getPopupContainer:T}),J);}var b=f.default.forwardRef(v);},"049b76d1":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("fd7850ea"),o=n("3cf27215"),i=o.Set,u=o.proto,c=r(u.forEach),l=r(u.keys),s=l(new i).next;e.exports=function(e,t,n){return n?a({iterator:l(e),next:s},t):c(e,t);};},"05a6a5bc":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("ff5769a6"),i=n("08279926"),u=n("ed85fcab"),c=n("820fed99"),l=n("1f316010"),s=n("aa64b8b0"),f="No one promise resolved";r({target:"Promise",stat:!0,forced:s},{any:function(e){var t=this,n=i("AggregateError"),r=u.f(t),s=r.resolve,d=r.reject,p=c(function(){var r=o(t.resolve),i=[],u=0,c=1,p=!1;l(e,function(e){var o=u++,l=!1;c++,a(r,t,e).then(function(e){l||p||(p=!0,s(e));},function(e){!l&&!p&&(l=!0,i[o]=e,--c||d(new n(i,f)));});}),--c||d(new n(i,f));});return p.error&&d(p.value),r.promise;}});},"0603a86b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("6d9bd3c4")),i=a._(n("9d065c04"));function u(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,u=r||{},c=u.className,l=u.content,s=a.x,f=void 0===s?0:s,d=a.y,p=void 0===d?0:d,h=i.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var v=n.points[0],b=n.points[1],g=v[0],y=v[1],_=b[0],E=b[1];g!==_&&["t","b"].includes(g)?"t"===g?m.top=0:m.bottom=0:m.top=p,y!==E&&["l","r"].includes(y)?"l"===y?m.left=0:m.right=0:m.left=f;}return i.createElement("div",{ref:h,className:(0,o.default)("".concat(t,"-arrow"),c),style:m},l);}},"069b10db":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("30142f75")),i=a._(n("9d065c04")),u=i.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,u=e.id,c=e.active,l=e.tabKey,s=e.children;return i.createElement("div",{id:u&&"".concat(u,"-panel-").concat(l),role:"tabpanel",tabIndex:c?0:-1,"aria-labelledby":u&&"".concat(u,"-tab-").concat(l),"aria-hidden":!c,style:a,className:(0,o.default)(n,c&&"".concat(n,"-active"),r),ref:t},s);});},"078ae899":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("0e9c772d");let r=[{id:"heatmap-\u70ED\u529B\u5730\u56FE",depth:1,title:"HeatMap \u70ED\u529B\u5730\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"\u5355\u72EC\u4F7F\u7528",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"heatmapprops",depth:3,title:"HeatMapProps"},{id:"heatmapdataitem",depth:3,title:"HeatMapDataItem"}],a={title:"HeatMap \u70ED\u529B\u5730\u56FE",toc:"content",filename:"src/HeatMap/index.md",atomId:"HeatMap",lastUpdated:1734934621e3,order:3,group:{order:2,title:"\u5730\u56FE"},description:"\u70ED\u529B\u5730\u56FE\uFF0C\u76F4\u89C2\u5C55\u793A\u6570\u636E\u5BC6\u5EA6\u4E0E\u9891\u7387\u7684\u7A7A\u95F4\u5206\u5E03\u3002"};},"07be5f12":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return i;},getTargetScrollBarSize:function(){return u;}});var r,a=n("8fdaad1e");function o(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=r;var i=o.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var u=getComputedStyle(e);i.scrollbarColor=u.scrollbarColor,i.scrollbarWidth=u.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(c.width,10),s=parseInt(c.height,10);try{var f=l?"width: ".concat(c.width,";"):"",d=s?"height: ".concat(c.height,";"):"";(0,a.updateCSS)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(f,"\n").concat(d,"\n}"),r);}catch(e){console.error(e),t=l,n=s;}}document.body.appendChild(o);var p=e&&t&&!isNaN(t)?t:o.offsetWidth-o.clientWidth,h=e&&n&&!isNaN(n)?n:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),(0,a.removeCSS)(r),{width:p,height:h};}function i(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=o()),r.width);}function u(e){return"undefined"!=typeof document&&e&&e instanceof Element?o(e):{width:0,height:0};}},"08279926":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("b69db97a"),o=function(e){return a(e)?e:void 0;};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t];};},"0841fb0b":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("57506e03"),o=n("377218ed"),i=a.toKey,u=a.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){u(e,t,o(n),i(r));};}});},"08962099":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"patchRoutes",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=n("1806108e"),o=r._(n("5d65296e")),i=n("f18e9ba2");function u(e,t,n){Object.defineProperty(e,t,{get:()=>((0,a.warning)(!1,`'${t}' return empty in latest version, please use \`useRouteMeta\` instead.`),n)});}let c=({routes:e})=>{Object.values(e).forEach(t=>{let n=(0,i.getRouteMetaById)(t.id,{syncOnly:!0});if(n){var r,a,c,l;(null===(a=t.meta)||void 0===a?void 0:null===(r=a.frontmatter)||void 0===r?void 0:r.debug)||(null===(c=n.frontmatter)||void 0===c?void 0:c.debug)?delete e[t.id]:(t.meta=(0,o.default)(t.meta,n),u(t.meta,"toc",[]),u(t.meta,"texts",[]),null===(l=t.meta.tabs)||void 0===l||l.forEach(e=>{u(e,"toc",[]),u(e,"texts",[]);}));}});};},"0a49d73d":function(e,t,n){"use strict";var r=n("4fccae39");t.f=r;},"0a9b878c":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("0db032d7"),o=n("2516ec49"),i=n("8d9c8bd6"),u=n("a2e20c93"),c=n("1c298f6d"),l=n("73c8c26a"),s=n("101ecb82"),f=r.structuredClone,d=r.ArrayBuffer,p=r.DataView,h=r.TypeError,m=Math.min,v=d.prototype,b=p.prototype,g=a(v.slice),y=o(v,"resizable","get"),_=o(v,"maxByteLength","get"),E=a(b.getInt8),w=a(b.setInt8);e.exports=(s||l)&&function(e,t,n){var r,a=c(e),o=void 0===t?a:i(t),v=!y||!y(e);if(u(e))throw new h("ArrayBuffer is detached");if(s&&(e=f(e,{transfer:[e]}),a===o&&(n||v)))return e;if(a>=o&&(!n||v))r=g(e,0,o);else{r=new d(o,n&&!v&&_?{maxByteLength:_(e)}:void 0);for(var b=new p(e),S=new p(r),x=m(o,a),k=0;k(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;}n.d(t,"__esModule",{value:!0}),n.d(t,"isBodyOverflowing",{enumerable:!0,get:function(){return r;}});},"0c25c246":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("364f5b40")),i=r._(n("c858baaf")),u=r._(n("9885bb6e")),c=r._(n("7f174ca1")),l=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments);}return(0,i.default)(n,[{key:"render",value:function(){return this.props.children;}}]),n;}(a._(n("9d065c04")).Component);},"0c3e13dd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("852bbaa9")._(n("9d065c04")).createContext(null);},"0c3f7dd5":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("ff5769a6");e.exports=function(){return r(a(this));};},"0c4c363a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{AtomRenderer:function(){return a.AtomRenderer;},DumiDemo:function(){return o.DumiDemo;},DumiDemoGrid:function(){return i.DumiDemoGrid;},DumiPage:function(){return u.DumiPage;},FormattedDate:function(){return r.FormattedDate;},FormattedDateParts:function(){return r.FormattedDateParts;},FormattedDisplayName:function(){return r.FormattedDisplayName;},FormattedList:function(){return r.FormattedList;},FormattedMessage:function(){return r.FormattedMessage;},FormattedNumber:function(){return r.FormattedNumber;},FormattedNumberParts:function(){return r.FormattedNumberParts;},FormattedPlural:function(){return r.FormattedPlural;},FormattedRelativeTime:function(){return r.FormattedRelativeTime;},FormattedTime:function(){return r.FormattedTime;},FormattedTimeParts:function(){return r.FormattedTimeParts;},IntlContext:function(){return r.IntlContext;},IntlProvider:function(){return r.IntlProvider;},RawIntlProvider:function(){return r.RawIntlProvider;},createIntlCache:function(){return r.createIntlCache;},defineMessages:function(){return r.defineMessages;},injectIntl:function(){return r.injectIntl;},openCodeSandbox:function(){return l.openCodeSandbox;},openStackBlitz:function(){return s.openStackBlitz;},useAtomAssets:function(){return f.useAtomAssets;},useFullSidebarData:function(){return b.useFullSidebarData;},useIntl:function(){return r.useIntl;},useLiveDemo:function(){return d.useLiveDemo;},useLocale:function(){return p.useLocale;},useMatchedRoute:function(){return v.useMatchedRoute;},useNavData:function(){return h.useNavData;},usePrefersColor:function(){return m.usePrefersColor;},useRouteMeta:function(){return v.useRouteMeta;},useSidebarData:function(){return b.useSidebarData;},useSiteData:function(){return c.useSiteData;},useSiteSearch:function(){return g.useSiteSearch;},useTabMeta:function(){return y.useTabMeta;}});var r=n("187554de"),a=n("528a4fe9"),o=n("0d4562a2"),i=n("39775961"),u=n("2f5a2d25"),c=n("d41c46b6"),l=n("bfd7edba"),s=n("8d2964d4"),f=n("72179913"),d=n("787a2e9f"),p=n("80ff2385"),h=n("0e3c18d9"),m=n("70844025"),v=n("8f976750"),b=n("92da72f9"),g=n("a3902f48"),y=n("529db4eb");},"0c60d30d":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("7087e9e6"),o=n("9e8ac8c9"),i=n("c9572803"),u=n("d89c2b65"),c=n("4fccae39"),l=TypeError,s=c("toPrimitive");e.exports=function(e,t){if(!a(e)||o(e))return e;var n,c=i(e,s);if(c){if(void 0===t&&(t="default"),!a(n=r(c,e,t))||o(n))return n;throw new l("Can't convert object to primitive value");}return void 0===t&&(t="number"),u(e,t);};},"0c949309":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("6c55996b"),i=n("377218ed"),u=n("b69db97a"),c=n("f7387e98"),l=n("8bf19462"),s=n("6a0d41da"),f=n("60eb28d7"),d=n("8fb0fcd1"),p=n("4fccae39"),h=n("e4e43728").IteratorPrototype,m=n("67b9d692"),v=n("256d831f"),b="constructor",g="Iterator",y=p("toStringTag"),_=TypeError,E=a[g],w=v||!u(E)||E.prototype!==h||!f(function(){E({});}),S=function(){if(o(this,h),c(this)===h)throw new _("Abstract class Iterator not directly constructable");},x=function(e,t){m?l(h,e,{configurable:!0,get:function(){return t;},set:function(t){if(i(this),this===h)throw new _("You can't redefine this property");d(this,e)?this[e]=t:s(this,e,t);}}):h[e]=t;};d(h,y)||x(y,g),(w||!d(h,b)||h[b]===Object)&&x(b,S),S.prototype=h,r({global:!0,constructor:!0,forced:w},{Iterator:S});},"0d4455ba":function(e,t,n){"use strict";e.exports=function(e,t){return{value:e,done:t};};},"0d4562a2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"DumiDemo",{enumerable:!0,get:function(){return p;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("2e6fd29b"),i=n("5ca000fa"),u=a._(n("9d065c04")),c=r._(n("ac942a75")),l=n("3926a2d9"),s=r._(n("9291f323"));function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;tPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("ffe9488a")]).then(n.dr(r,n.bind(n,"94291ff1")))};},"0e3c18d9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useNavData",{enumerable:!0,get:function(){return x;}});var r=n("5ca000fa"),a=n("9d065c04"),o=n("92da72f9"),i=n("861ce6cf");function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}function c(e){return f(e)||s(e)||h(e)||l();}function l(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function s(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}function f(e){if(Array.isArray(e))return m(e);}function d(e,t){return b(e)||v(e,t)||h(e,t)||p();}function p(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t);}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nf.length&&l,h=d(Object.values(t).reduce(function(e,t){return t.path.startsWith(u.slice(1))&&((0,i.pickRouteSortMeta)(e[0],"nav",t.meta.frontmatter),p&&(0,i.pickRouteSortMeta)(e[1],"nav.second",t.meta.frontmatter)),e;},[{},{}]),2),m=h[0],v=h[1];if(p){null!==(b=m.title)&&void 0!==b||(m.title=f.split("/").pop().replace(/^[a-z]/,function(e){return e.toUpperCase();}));var b,g,y,_=null!==(g=n[f])&&void 0!==g?g:n[f]=S(m,c,f);null!==(y=_.children)&&void 0!==y||(_.children=[]),_.children.push(S(v,c,u,c[0].children[0].link));}else n[u]=S(m,c,u,c[0].children[0].link);return n;},{}));return a.forEach(function(e,t){var n;if(e.link||(null===(n=e.children)||void 0===n?void 0:n.length)!==1)e.children&&e.children.sort(f);else{var r=e.children[0];a[t]=y(y({},r),{},{title:(null==e?void 0:e.title)||r.title});}}),a.sort(f),"prepend"===n?a.unshift.apply(a,c(r)):"append"===n&&a.push.apply(a,c(r)),a;});return d(p,1)[0];};},"0e52bcdf":function(e,t,n){"use strict";t.__esModule=!0,t.getParameters=void 0;var r=n("4b690cbe");t.getParameters=r.getParameters;},"0e78fe67":function(e,t,n){"use strict";var r=n("c41b9db1");e.exports=function(e){try{if(r)return Function('return require("'+e+'")')();}catch(e){}};},"0e9c772d":function(e,t,n){},"0edfa3da":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("5d4227fc");let r=[{id:"wordcloud-\u8BCD\u4E91\u56FE",depth:1,title:"WordCloud \u8BCD\u4E91\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"\u5355\u72EC\u4F7F\u7528",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"wordcloudprops",depth:3,title:"WordCloudProps"},{id:"wordclouddataitem",depth:3,title:"WordCloudDataItem"}],a={title:"WordCloud \u8BCD\u4E91\u56FE",toc:"content",filename:"src/WordCloud/index.md",atomId:"WordCloud",lastUpdated:1734934621e3,order:7,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},description:"\u8BCD\u4E91\u56FE\u901A\u8FC7\u628A\u6587\u672C\u4E2D\u5E38\u51FA\u73B0\u7684\u5173\u952E\u8BCD\u653E\u5927\uFF0C\u8BA9\u7528\u6237\u66F4\u5BB9\u6613\u627E\u5230\u91CD\u8981\u4FE1\u606F\u3002"};},"0f044746":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("73a85ba2")),i=a._(n("9d065c04")),u=function(){var e=i.useRef(null);function t(){o.default.cancel(e.current);}function n(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,o.default)(function(){a<=1?r({isCanceled:function(){return i!==e.current;}}):n(r,a-1);});e.current=i;}return i.useEffect(function(){return function(){t();};},[]),[n,t];};},"0f3c3efc":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("54beaba5"),o=n("f16f296d").f,i=n("cef3f03e").f,u=r.Symbol;if(a("dispose"),u){var c=i(u,"dispose");c.enumerable&&c.configurable&&c.writable&&o(u,"dispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1});}},"0f41ff34":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("852bbaa9")._(n("9d065c04")),a=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.editable,o=e.locale,i=e.style;return a&&!1!==a.showAdd?r.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e});}},a.addIcon||"+"):null;});},"0f78a2f3":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("31a11f5f");let a={ids:["chartcoderender-demo-common","chartcoderender-demo-default","chartcoderender-demo-stream","chartcoderender-demo-extra"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c3118cec")]).then(n.dr(r,n.bind(n,"7ae5312c")))};},"0f7ebd2f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ErrorBoundary",{enumerable:!0,get:function(){return i;}});var r=n("9d065c04");let a=(0,r.createContext)(null),o={didCatch:!1,error:null};class i extends r.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=o;}static getDerivedStateFromError(e){return{didCatch:!0,error:e};}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,n,r=arguments.length,a=Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]));}},"0f8f5c29":function(e,t,n){"use strict";var r=n("0db032d7");e.exports=r([].slice);},"0f9a5bfd":function(e,t,n){"use strict";var r=n("78178a98"),a=n("7dfaf7bb"),o=n("2ab59e1b").f,i=n("acd0d328"),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e);}catch(e){return i(u);}};e.exports.f=function(e){return u&&"Window"===r(e)?c(e):o(a(e));};},"0fe4187a":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value;},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t];}try{l({},"");}catch(e){l=function(e,t,n){return e[t]=n;};}function s(e,t,n,r){var o=Object.create((t&&t.prototype instanceof b?t:b).prototype);return a(o,"_invoke",{value:T(e,n,new C(r||[]))}),o;}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)};}catch(e){return{type:"throw",arg:e};}}e.wrap=s;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function b(){}function g(){}function y(){}var _={};l(_,i,function(){return this;});var E=Object.getPrototypeOf,w=E&&E(E(M([])));w&&w!==n&&r.call(w,i)&&(_=w);var S=y.prototype=b.prototype=Object.create(_);function x(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e);});});}function k(e,t){var n;function o(n,a,i,u){var c=f(e[n],e,a);if("throw"===c.type)u(c.arg);else{var l=c.arg,s=l.value;return s&&"object"==typeof s&&r.call(s,"__await")?t.resolve(s.__await).then(function(e){o("next",e,i,u);},function(e){o("throw",e,i,u);}):t.resolve(s).then(function(e){l.value=e,i(l);},function(e){return o("throw",e,i,u);});}}a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,n){o(e,r,t,n);});}return n=n?n.then(a,a):a();}});}function T(e,t,n){var r=d;return function(a,o){if(r===h)throw Error("Generator is already running");if(r===m){if("throw"===a)throw o;return I();}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var u=P(i,n);if(u){if(u===v)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=f(e,t,n);if("normal"===c.type){if(r=n.done?m:p,c.arg===v)continue;return{value:c.arg,done:n.done};}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg);}};}function P(e,n){var r=n.method,a=e.iterator[r];if(t===a)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(a,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,v);}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t);}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t;}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0);}function M(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function n(){for(;++a=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v;}},e;}("object"==typeof e?e.exports:{});try{regeneratorRuntime=r;}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r);}},"1002fabd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("7f531332"));function a(e,t){if(null==e)return{};var n,a,o=(0,r.default)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);}return o;}},"101ecb82":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("60eb28d7"),o=n("03eb1d77"),i=n("af5aed4a"),u=n("d618b2d4"),c=n("c41b9db1"),l=r.structuredClone;e.exports=!!l&&!a(function(){if(u&&o>92||c&&o>94||i&&o>97)return!1;var e=new ArrayBuffer(8),t=l(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength;});},"1022370d":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("f16f296d"),o=n("3e039690");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n));}:function(e,t,n){return e[t]=n,e;};},"10de4670":function(e,t,n){},"1102e472":function(e,t,n){"use strict";var r=n("7087e9e6"),a=n("1022370d");e.exports=function(e,t){r(t)&&"cause"in t&&a(e,"cause",t.cause);};},"11835daf":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("53cf7c2e");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("symmetricDifference")},{symmetricDifference:a});},"121d447c":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("253419a2"),o=n("9a02045c"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("groupBy",function(e){var t=arguments.length>1?arguments[1]:void 0;return a(i(this),e,t,o);},!0);},"12a77729":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return w;},genCSSMotionList:function(){return E;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("c60c8136")),u=r._(n("1de795bc")),c=r._(n("364f5b40")),l=r._(n("c858baaf")),s=r._(n("dbe550d3")),f=r._(n("9885bb6e")),d=r._(n("7f174ca1")),p=r._(n("1fc4f16a")),h=a._(n("9d065c04")),m=r._(n("91ba19d3")),v=n("5776cb5d"),b=n("a3319121"),g=["component","children","onVisibleChanged","onAllRemoved"],y=["status"],_=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.default,n=function(e){(0,f.default)(r,e);var n=(0,d.default)(r);function r(){var e;(0,c.default)(this,r);for(var t=arguments.length,a=Array(t),o=0;o0?t[0]:"string"==typeof e?e:e[0]);}},e.__parse=o.parse,e.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"}}},e;}();},"15b6e898":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("777fffbe"),a=r._(n("9cb25b27")),o=r._(n("9d065c04"));function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.default.Children.forEach(e,function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,a.default)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e));}),n;}},"15e393e1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return p;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("361d5d06")),c=a._(n("9d065c04")),l=r._(n("f2ad2335")),s=n("43d41f7f"),f=a._(n("949d70f4")),d=r._(n("e105b4e4"));function p(e){var t=e.id,n=e.open,r=e.keyPath,a=e.children,p="inline",h=c.useContext(f.MenuContext),m=h.prefixCls,v=h.forceSubMenuRender,b=h.motion,g=h.defaultMotions,y=h.mode,_=c.useRef(!1);_.current=y===p;var E=c.useState(!_.current),w=(0,u.default)(E,2),S=w[0],x=w[1],k=!!_.current&&n;c.useEffect(function(){_.current&&x(!1);},[y]);var T=(0,i.default)({},(0,s.getMotion)(p,b,g));r.length>1&&(T.motionAppear=!1);var P=T.onVisibleChanged;return(T.onVisibleChanged=function(e){return _.current||e||x(!0),null==P?void 0:P(e);},S)?null:c.createElement(f.default,{mode:p,locked:!_.current},c.createElement(l.default,(0,o.default)({visible:k},T,{forceRender:v,removeOnLeave:!1,leavedClassName:"".concat(m,"-hidden")}),function(e){var n=e.className,r=e.style;return c.createElement(d.default,{id:t,className:n,style:r},a);}));}},"15ef8f5f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"createIntl",{enumerable:!0,get:function(){return m;}});var r=n("b594a703"),a=n("1a559ba1"),o=n("dffbe379"),i=n("8bda5910"),u=n("5e00ebba"),c=n("f398949a"),l=n("c3e1c92d"),s=n("855715ad"),f=n("e94b613a"),d=n("188ed28f");function p(e){return"string"==typeof(e?e[Object.keys(e)[0]]:void 0);}function h(e){e.onWarn&&e.defaultRichTextElements&&p(e.messages||{})&&e.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.github.io/docs/getting-started/message-distribution');}function m(e,t){var n=(0,d.createFormatters)(t),p=(0,r.__assign)((0,r.__assign)({},d.DEFAULT_INTL_CONFIG),e),m=p.locale,v=p.defaultLocale,b=p.onError;return m?!Intl.NumberFormat.supportedLocalesOf(m).length&&b?b(new i.MissingDataError('Missing locale data for locale: "'.concat(m,'" in Intl.NumberFormat. Using default locale: "').concat(v,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(m).length&&b&&b(new i.MissingDataError('Missing locale data for locale: "'.concat(m,'" in Intl.DateTimeFormat. Using default locale: "').concat(v,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(b&&b(new i.InvalidConfigError('"locale" was not configured, using "'.concat(v,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),p.locale=p.defaultLocale||"en"),h(p),(0,r.__assign)((0,r.__assign)({},p),{formatters:n,formatNumber:l.formatNumber.bind(null,p,n.getNumberFormat),formatNumberToParts:l.formatNumberToParts.bind(null,p,n.getNumberFormat),formatRelativeTime:f.formatRelativeTime.bind(null,p,n.getRelativeTimeFormat),formatDate:a.formatDate.bind(null,p,n.getDateTimeFormat),formatDateToParts:a.formatDateToParts.bind(null,p,n.getDateTimeFormat),formatTime:a.formatTime.bind(null,p,n.getDateTimeFormat),formatDateTimeRange:a.formatDateTimeRange.bind(null,p,n.getDateTimeFormat),formatTimeToParts:a.formatTimeToParts.bind(null,p,n.getDateTimeFormat),formatPlural:s.formatPlural.bind(null,p,n.getPluralRules),formatMessage:c.formatMessage.bind(null,p,n),$t:c.formatMessage.bind(null,p,n),formatList:u.formatList.bind(null,p,n.getListFormat),formatListToParts:u.formatListToParts.bind(null,p,n.getListFormat),formatDisplayName:o.formatDisplayName.bind(null,p,n.getDisplayNames)});}},"15fbd0be":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("5828adcc").findLast,o=n("1a0d87be");r({target:"Array",proto:!0},{findLast:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0);}}),o("findLast");},"161477c7":function(e,t,n){"use strict";var r=n("e4e43728").IteratorPrototype,a=n("2e3fa3e3"),o=n("3e039690"),i=n("ce195b5d"),u=n("84e069cc"),c=function(){return this;};e.exports=function(e,t,n,l){var s=t+" Iterator";return e.prototype=a(r,{next:o(+!l,n)}),i(e,s,!1,!0),u[s]=c,e;};},16162031:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("762839db"),i=n("6582164c");r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0);return!0===i(t,function(e,r){if(n(e,r,t))return!0;},!0);}});},16298556:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M925.6 405.1l-203-253.7a6.5 6.5 0 00-5-2.4H306.4c-1.9 0-3.8.9-5 2.4l-203 253.7a6.5 6.5 0 00.2 8.3l408.6 459.5c1.2 1.4 3 2.1 4.8 2.1 1.8 0 3.5-.8 4.8-2.1l408.6-459.5a6.5 6.5 0 00.2-8.3zM645.2 206.4l34.4 133.9-132.5-133.9h98.1zm8.2 178.5H370.6L512 242l141.4 142.9zM378.8 206.4h98.1L344.3 340.3l34.5-133.9zm-53.4 7l-44.1 171.5h-93.1l137.2-171.5zM194.6 434.9H289l125.8 247.7-220.2-247.7zM512 763.4L345.1 434.9h333.7L512 763.4zm97.1-80.8L735 434.9h94.4L609.1 682.6zm133.6-297.7l-44.1-171.5 137.2 171.5h-93.1z"})});},"1677442d":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("5d4227fc");let a={ids:["wordcloud-demo-0","wordcloud-demo-1"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("91854130")]).then(n.dr(r,n.bind(n,"03f6bdfd")))};},"1678e573":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("24d8d964"),o=n("08279926"),i=n("c9572803"),u=n("8fb0fcd1"),c=n("4fccae39"),l=n("d71b5fbf"),s=c("asyncDispose"),f=o("Promise");u(l,s)||a(l,s,function(){var e=this;return new f(function(t,n){var a=i(e,"return");a?f.resolve(r(a,e)).then(function(){t(void 0);},n):t(void 0);});});},"16808f6a":function(e,t,n){"use strict";var r=n("8485612f");function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var u=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 u.name="Invariant Violation",u;}}function t(){return e;}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n;};},"169c86ee":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"})});},"1718d850":function(e,t,n){var r=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function a(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=i%256;}return n;},decompressFromUint8Array:function(t){if(null==t)return o.decompress(t);for(var n=Array(t.length/2),r=0,a=n.length;rs.charCodeAt(0)){for(r=0;r>=1;}else{for(r=0,a=1;r>=1;}0==--f&&(f=Math.pow(2,p),p++),delete u[s];}else for(r=0,a=i[s];r>=1;0==--f&&(f=Math.pow(2,p),p++),i[l]=d++,s=String(c);}if(""!==s){if(Object.prototype.hasOwnProperty.call(u,s)){if(256>s.charCodeAt(0)){for(r=0;r>=1;}else{for(r=0,a=1;r>=1;}0==--f&&(f=Math.pow(2,p),p++),delete u[s];}else for(r=0,a=i[s];r>=1;0==--f&&(f=Math.pow(2,p),p++);}for(r=0,a=2;r>=1;for(;;){if(m<<=1,v==t-1){h.push(n(m));break;}v++;}return h.join("");},decompress:function(e){return null==e?"":""==e?null:o._decompress(e.length,32768,function(t){return e.charCodeAt(t);});},_decompress:function(t,n,r){var a,o,i,u,c,l,s,f,d=[],p=4,h=4,m=3,v="",b=[],g={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)d[o]=o;for(u=0,l=4,s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;switch(a=u){case 0:for(u=0,l=256,s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;f=e(u);break;case 1:for(u=0,l=65536,s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;f=e(u);break;case 2:return"";}for(d[3]=f,i=f,b.push(f);;){if(g.index>t)return"";for(u=0,l=Math.pow(2,m),s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;switch(f=u){case 0:for(u=0,l=256,s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;d[h++]=e(u),f=h-1,p--;break;case 1:for(u=0,l=65536,s=1;s!=l;)c=g.val&g.position,g.position>>=1,0==g.position&&(g.position=n,g.val=r(g.index++)),u|=(c>0?1:0)*s,s<<=1;d[h++]=e(u),f=h-1,p--;break;case 2:return b.join("");}if(0==p&&(p=Math.pow(2,m),m++),d[f])v=d[f];else{if(f!==h)return null;v=i+i.charAt(0);}b.push(v),d[h++]=i+v.charAt(0),p--,i=v,0==p&&(p=Math.pow(2,m),m++);}}};return o;}();void 0!==e&&null!=e?e.exports=r:"undefined"!=typeof angular&&null!=angular&&angular.module("LZString",[]).factory("LZString",function(){return r;});},"176835b5":function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("3cf27215").add,o=n("bcf5f786"),i=n("60a9f091"),u=n("fd7850ea");e.exports=function(e){var t=r(this),n=i(e).getIterator(),c=o(t);return u(n,function(e){a(c,e);}),c;};},"1806108e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{get:function(){return u.default;},set:function(){return c.default;},useComposeRef:function(){return i.useComposeRef;},useEvent:function(){return a.default;},useMergedState:function(){return o.default;},warning:function(){return l.default;}});var r=n("777fffbe"),a=r._(n("e0ebc827")),o=r._(n("f6c6ae8c")),i=n("64c7e51a"),u=r._(n("b55354dd")),c=r._(n("010e4675")),l=r._(n("9093f42f"));},"187554de":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{FormattedDate:function(){return m;},FormattedDateParts:function(){return _;},FormattedDisplayName:function(){return y;},FormattedList:function(){return g;},FormattedMessage:function(){return c.default;},FormattedNumber:function(){return b;},FormattedNumberParts:function(){return o.FormattedNumberParts;},FormattedPlural:function(){return l.default;},FormattedRelativeTime:function(){return f.default;},FormattedTime:function(){return v;},FormattedTimeParts:function(){return E;},IntlContext:function(){return u.Context;},IntlProvider:function(){return s.default;},RawIntlProvider:function(){return u.Provider;},createIntl:function(){return i.createIntl;},createIntlCache:function(){return p.createIntlCache;},defineMessages:function(){return h;},injectIntl:function(){return u.default;},useIntl:function(){return d.default;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("bdddf38e"),i=n("32f67cc2"),u=a._(n("d2782f88")),c=r._(n("77b88e30")),l=r._(n("cb475b33")),s=r._(n("af96d23a")),f=r._(n("82c0d109")),d=r._(n("59645bed")),p=n("8b30805d");function h(e){return e;}var m=(0,o.createFormattedComponent)("formatDate"),v=(0,o.createFormattedComponent)("formatTime"),b=(0,o.createFormattedComponent)("formatNumber"),g=(0,o.createFormattedComponent)("formatList"),y=(0,o.createFormattedComponent)("formatDisplayName"),_=(0,o.createFormattedDateTimePartsComponent)("formatDate"),E=(0,o.createFormattedDateTimePartsComponent)("formatTime");},"188ed28f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{DEFAULT_INTL_CONFIG:function(){return l;},createFormatters:function(){return d;},createIntlCache:function(){return s;},filterProps:function(){return c;},getNamedFormat:function(){return p;},invariant:function(){return u;}});var r=n("b594a703"),a=n("667fc812"),o=n("5207c85c"),i=n("8bda5910");function u(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t);}function c(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t;},{});}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function s(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}};}function f(e){return{create:function(){return{get:function(t){return e[t];},set:function(t,n){e[t]=n;}};}};}function d(e){void 0===e&&(e=s());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,i=Intl.DisplayNames,u=(0,a.memoize)(function(){for(var e,t=[],n=0;n needs to exist in the component ancestry.");}var l=(0,a.__assign)((0,a.__assign)({},i.DEFAULT_INTL_CONFIG),{textComponent:o.Fragment});function s(e){return function(t){return e(o.Children.toArray(t));};}function f(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(var o=0;o0,Q=p.useState(!M||!X),Z=(0,u.default)(Q,2),J=Z[0],ee=Z[1];if((0,f.default)(function(){!J&&X&&g&&ee(!0);},[J,X,g]),!J)return null;var et="auto",en={left:"-1000vw",top:"-1000vh",right:et,bottom:et};if(F||!_){var er,ea=P.points,eo=P.dynamicInset||(null===(er=P._experimental)||void 0===er?void 0:er.dynamicInset),ei=eo&&"r"===ea[0][1],eu=eo&&"b"===ea[0][0];ei?(en.right=H,en.left=et):(en.left=B,en.right=et),eu?(en.bottom=z,en.top=et):(en.top=U,en.bottom=et);}var ec={};return V&&(V.includes("height")&&K?ec.height=K:V.includes("minHeight")&&K&&(ec.minHeight=K),V.includes("width")&&W?ec.width=W:V.includes("minWidth")&&W&&(ec.minWidth=W)),_||(ec.pointerEvents="none"),p.createElement(R,{open:C||q,getContainer:M&&function(){return M(g);},autoDestroy:I},p.createElement(m.default,{prefixCls:a,open:_,zIndex:L,mask:x,motion:O}),p.createElement(s.default,{onResize:G,disabled:!_},function(e){return p.createElement(l.default,(0,o.default)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(a,"-hidden")},A,{onAppearPrepare:$,onEnterPrepare:$,visible:_,onVisibleChanged:function(e){var t;null==A||null===(t=A.onVisibleChanged)||void 0===t||t.call(A,e),y(e);}}),function(n,o){var u=n.className,l=n.style,s=(0,c.default)(a,u,r);return p.createElement("div",{ref:(0,d.composeRef)(e,t,o),className:s,style:(0,i.default)((0,i.default)((0,i.default)((0,i.default)({"--arrow-x":"".concat(T.x||0,"px"),"--arrow-y":"".concat(T.y||0,"px")},en),ec),l),{},{boxSizing:"border-box",zIndex:L},b),onMouseEnter:N,onMouseLeave:D,onPointerEnter:j,onClick:S},k&&p.createElement(h.default,{prefixCls:a,arrow:k,arrowPos:T,align:P}),p.createElement(v.default,{cache:!_&&!w},Y));});}));});},"1b0971c3":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("b69db97a"),o=n("6b2c1d8a"),i=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(e){return i(e);}),e.exports=o.inspectSource;},"1b1dd393":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.e(t,{filesMeta:function(){return ep;},tabsMeta:function(){return ed.tabs;}});var a=n("8cbef9d3"),o=n("765b3857"),i=n("df8a494b"),u=n("1f68ba8a"),c=n("4f74b123"),l=n("d9cd326b"),s=n("a4987237"),f=n("d5daf057"),d=n("e03f324a"),p=n("7ef83fa5"),h=n("4a2057ab"),m=n("b7499f6a"),v=n("6eaaedc2"),b=n("ae6673f8"),g=n("30aadc6b"),y=n("a723f7c2"),_=n("b2231250"),E=n("0f78a2f3"),w=n("23d41847"),S=n("3bc1944b"),x=n("72c189a7"),k=n("ed105511"),T=n("e38d13d4"),P=n("bb5cd29d"),A=n("739a1dfd"),O=n("72c476dc"),C=n("29c16ab8"),M=n("a4ee9ed3"),I=n("e3b6d4a7"),R=n("cf1c7770"),L=n("078ae899"),N=n("90da8422"),D=n("cfe3a382"),j=n("3fd257da"),F=n("f507ce42"),B=n("f3ce4b99"),U=n("cc0b4922"),H=n("25b443b5"),z=n("be4e7377"),G=n("9567bd3f"),$=n("d13a5b6a"),V=n("5055b047"),W=n("83fb185a"),K=n("c857ae8b"),Y=n("7095b173"),q=n("bab59e0e"),X=n("2d445257"),Q=n("0db1e636"),Z=n("62d82cd0"),J=n("71a9e580"),ee=n("c2d1b7ee"),et=n("895ad019"),en=n("27929610"),er=n("c4f71f7a"),ea=n("9f321c23"),eo=n("cf0202ff"),ei=n("cca68e04"),eu=n("4fdfda4c"),ec=n("2c782564"),el=n("54fcd03e"),es=n("0edfa3da"),ef=n("1677442d"),ed=n("bf7dd364");let ep={"docs/guide/custome-markdown":{frontmatter:a.frontmatter,toc:a.toc,demoIndex:o.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"81f89530")))},"docs/guide/customize-style":{frontmatter:i.frontmatter,toc:i.toc,demoIndex:u.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"09e64048")))},"docs/guide/antd-design-x":{frontmatter:c.frontmatter,toc:c.toc,demoIndex:l.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"4358c12c")))},"docs/guide/quick-start":{frontmatter:s.frontmatter,toc:s.toc,demoIndex:f.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"c514c53f")))},"docs/guide/custom-ui":{frontmatter:d.frontmatter,toc:d.toc,demoIndex:p.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"c6b33d4d")))},"docs/index":{frontmatter:h.frontmatter,toc:h.toc,demoIndex:m.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"3c02b91b")))},"components/Area/index":{frontmatter:v.frontmatter,toc:v.toc,demoIndex:b.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3e0a3146")]).then(n.dr(r,n.bind(n,"9dc33c18")))},"components/Bar/index":{frontmatter:g.frontmatter,toc:g.toc,demoIndex:y.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("03d60c13")]).then(n.dr(r,n.bind(n,"b339a21b")))},"components/ChartCodeRender/index":{frontmatter:_.frontmatter,toc:_.toc,demoIndex:E.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c3118cec")]).then(n.dr(r,n.bind(n,"98b0072f")))},"components/Column/index":{frontmatter:w.frontmatter,toc:w.toc,demoIndex:S.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("f7388c2c")]).then(n.dr(r,n.bind(n,"01e9277e")))},"components/ConfigProvider/index":{frontmatter:x.frontmatter,toc:x.toc,demoIndex:k.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c9bd98ac")]).then(n.dr(r,n.bind(n,"d01749d9")))},"components/DualAxes/index":{frontmatter:T.frontmatter,toc:T.toc,demoIndex:P.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("8d782fde")]).then(n.dr(r,n.bind(n,"86adf600")))},"components/FishboneDiagram/index":{frontmatter:A.frontmatter,toc:A.toc,demoIndex:O.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("4a69a1cb")]).then(n.dr(r,n.bind(n,"67be58a8")))},"components/FlowDiagram/index":{frontmatter:C.frontmatter,toc:C.toc,demoIndex:M.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("12b214d4")]).then(n.dr(r,n.bind(n,"6e5a3421")))},"components/GPTVis/index":{frontmatter:I.frontmatter,toc:I.toc,demoIndex:R.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("70ff43c5")]).then(n.dr(r,n.bind(n,"9b77ec00")))},"components/HeatMap/index":{frontmatter:L.frontmatter,toc:L.toc,demoIndex:N.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("eff985a5")]).then(n.dr(r,n.bind(n,"87e9bada")))},"components/Histogram/index":{frontmatter:D.frontmatter,toc:D.toc,demoIndex:j.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("586840a9")]).then(n.dr(r,n.bind(n,"98de16c5")))},"components/IndentedTree/index":{frontmatter:F.frontmatter,toc:F.toc,demoIndex:B.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("bf4531e7")]).then(n.dr(r,n.bind(n,"5cfd480c")))},"components/Line/index":{frontmatter:U.frontmatter,toc:U.toc,demoIndex:H.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("4ec12f54")]).then(n.dr(r,n.bind(n,"ad68c7cf")))},"components/Map/index":{frontmatter:z.frontmatter,toc:z.toc,demoIndex:G.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("707b31e2")]).then(n.dr(r,n.bind(n,"dddc4177")))},"components/MindMap/index":{frontmatter:$.frontmatter,toc:$.toc,demoIndex:V.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("da038fda")]).then(n.dr(r,n.bind(n,"4621c9e0")))},"components/NetworkGraph/index":{frontmatter:W.frontmatter,toc:W.toc,demoIndex:K.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("bd9b0e6e")]).then(n.dr(r,n.bind(n,"1b46a142")))},"components/OrganizationChart/index":{frontmatter:Y.frontmatter,toc:Y.toc,demoIndex:q.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b426b87a")]).then(n.dr(r,n.bind(n,"44dde26c")))},"components/PathMap/index":{frontmatter:X.frontmatter,toc:X.toc,demoIndex:Q.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("ffe9488a")]).then(n.dr(r,n.bind(n,"733190de")))},"components/Pie/index":{frontmatter:Z.frontmatter,toc:Z.toc,demoIndex:J.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("0033300c")]).then(n.dr(r,n.bind(n,"f959d751")))},"components/PinMap/index":{frontmatter:ee.frontmatter,toc:ee.toc,demoIndex:et.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c7fd9920")]).then(n.dr(r,n.bind(n,"3c9774a6")))},"components/Radar/index":{frontmatter:en.frontmatter,toc:en.toc,demoIndex:er.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("9ca060df")]).then(n.dr(r,n.bind(n,"a35b3c59")))},"components/Scatter/index":{frontmatter:ea.frontmatter,toc:ea.toc,demoIndex:eo.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("ab1d009d")]).then(n.dr(r,n.bind(n,"36f7c1b2")))},"components/Text/index":{frontmatter:ei.frontmatter,toc:ei.toc,demoIndex:eu.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b9936f1a")]).then(n.dr(r,n.bind(n,"62776d37")))},"components/Treemap/index":{frontmatter:ec.frontmatter,toc:ec.toc,demoIndex:el.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("1c1f66b7")]).then(n.dr(r,n.bind(n,"1020249a")))},"components/WordCloud/index":{frontmatter:es.frontmatter,toc:es.toc,demoIndex:ef.demoIndex,textGetter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("91854130")]).then(n.dr(r,n.bind(n,"97d48417")))}};},"1b472ae8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return _;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("6d875045"),i=n("565f5083"),u=r._(n("30142f75")),c=n("5ca000fa"),l=a._(n("ef9dcad4")),s=a._(n("9d065c04")),f=n("c6d882ef");function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n)\s/gm,""));},[r,n]);var x=s.default.createElement(l.default,d({},l.defaultProps,{code:e.textarea?n:n.trim(),language:y[r]||r,theme:void 0}),function(e){var t=e.className,n=e.style,r=e.tokens,a=e.getLineProps,o=e.getTokenProps;return s.default.createElement("pre",{className:t,style:n},r.map(function(e,t){return s.default.createElement("div",{key:String(t),className:(0,u.default)({highlighted:h.includes(t+1),wrap:S.showLineNum})},S.showLineNum&&s.default.createElement("span",{className:"token-line-num"},t+1),s.default.createElement("div",d({},a({line:e,key:t}),{className:(0,u.default)({"line-cell":S.showLineNum})}),e.map(function(e,t){return s.default.createElement("span",o({token:e,key:t}));})));}));});return s.default.createElement("div",{className:"dumi-default-source-code"},s.default.createElement(f.CopyToClipboard,{text:E,onCopy:function(){g(!0),clearTimeout(m.current),m.current=window.setTimeout(function(){return g(!1);},2e3);}},s.default.createElement("button",{type:"button",className:"dumi-default-source-code-copy","data-copied":b||void 0},b?s.default.createElement(o.ReactComponent,null):s.default.createElement(i.ReactComponent,null))),e.textarea?s.default.createElement("div",{className:"dumi-default-source-code-scroll-container"},s.default.createElement("div",{className:"dumi-default-source-code-scroll-content"},x,e.textarea)):x,e.extra);};},"1b4e0904":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe");n("48ba297a");var a=r._(n("40cda0af")).default;},"1b54f483":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1f316010"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157");r({target:"Iterator",proto:!0,real:!0},{every:function(e){i(this),o(e);var t=u(this),n=0;return!a(t,function(t,r){if(!e(t,n++))return r();},{IS_RECORD:!0,INTERRUPTED:!0}).stopped;}});},"1c298f6d":function(e,t,n){"use strict";var r=n("2516ec49"),a=n("78178a98"),o=TypeError;e.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new o("ArrayBuffer expected");return e.byteLength;};},"1cddf5c1":function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode;}return!1;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"1d20771a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("6b99f428")),i=a._(n("9d065c04")),u=i.forwardRef(function(e,t){var n,r=e.position,a=e.prefixCls,u=e.extra;if(!u)return null;var c={};return"object"!==(0,o.default)(u)||i.isValidElement(u)?c.right=u:c=u,"right"===r&&(n=c.right),"left"===r&&(n=c.left),n?i.createElement("div",{className:"".concat(a,"-extra-content"),ref:t},n):null;});},"1dcdc1e8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0;}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1;}}},a=r;},"1dcf9b4f":function(e,t,n){},"1de795bc":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("777fffbe")._(n("1fc4f16a"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function o(e){for(var t=1;tg;g++)if((_=C(e[g]))&&l(m,_))return _;return new h(!1);}v=s(e,b);}for(E=k?e.next:v.next;!(w=a(E,v)).done;){try{_=C(w.value);}catch(e){d(v,"throw",e);}if("object"==typeof _&&_&&l(m,_))return _;}return new h(!1);};},"1f68ba8a":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("9d8226a2");let a={ids:["docs-guide-customize-style-demo-0","docs-guide-customize-style-demo-1"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"1a66af49")))};},"1f955f15":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{placements:function(){return a;},placementsRtl:function(){return o;}});var r={adjustX:1,adjustY:1},a={topLeft:{points:["bl","tl"],overflow:r},topRight:{points:["br","tr"],overflow:r},bottomLeft:{points:["tl","bl"],overflow:r},bottomRight:{points:["tr","br"],overflow:r},leftTop:{points:["tr","tl"],overflow:r},leftBottom:{points:["br","bl"],overflow:r},rightTop:{points:["tl","tr"],overflow:r},rightBottom:{points:["bl","br"],overflow:r}},o={topLeft:{points:["bl","tl"],overflow:r},topRight:{points:["br","tr"],overflow:r},bottomLeft:{points:["tl","bl"],overflow:r},bottomRight:{points:["tr","br"],overflow:r},rightTop:{points:["tr","tl"],overflow:r},rightBottom:{points:["br","bl"],overflow:r},leftTop:{points:["tl","tr"],overflow:r},leftBottom:{points:["bl","br"],overflow:r}};},"1fa19c5c":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1a0d87be");r({target:"Array",proto:!0,forced:!0},{uniqueBy:n("b2f36029")}),a("uniqueBy");},"1fc4f16a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("83e5ba8e"));function a(e,t,n){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}},"200b5cdf":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("57506e03"),i=n("377218ed"),u=n("f7387e98"),c=a(n("b2f36029")),l=a([].concat),s=o.keys,f=o.toKey,d=function(e,t){var n=s(e,t),r=u(e);if(null===r)return n;var a=d(r,t);return a.length?n.length?c(l(n,a)):a:n;};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:f(arguments[1]);return d(i(e),t);}});},"200bc327":function(e,t,n){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;rp("ctl",e),devToolsHeight:e=>m("devtoolsheight",e),forceEmbedLayout:e=>p("embed",e),hideDevTools:e=>p("hidedevtools",e),hideExplorer:e=>p("hideExplorer",e),hideNavigation:e=>p("hideNavigation",e),openFile:e=>b("file",e),showSidebar:e=>h("showSidebar",e),sidebarView:e=>v("sidebarView",e,c),startScript:e=>b("startScript",e),terminalHeight:e=>m("terminalHeight",e),theme:e=>v("theme",e,l),view:e=>v("view",e,s),zenMode:e=>p("zenMode",e),organization:e=>`${b("orgName",null==e?void 0:e.name)}&${b("orgProvider",null==e?void 0:e.provider)}`,crossOriginIsolated:e=>p("corp",e)};function d(e={}){let t=Object.entries(e).map(([e,t])=>null!=t&&f.hasOwnProperty(e)?f[e](t):"").filter(Boolean);return t.length?`?${t.join("&")}`:"";}function p(e,t){return!0===t?`${e}=1`:"";}function h(e,t){return"boolean"==typeof t?`${e}=${t?"1":"0"}`:"";}function m(e,t){if("number"==typeof t&&!Number.isNaN(t)){let n=Math.min(100,Math.max(0,t));return`${e}=${encodeURIComponent(Math.round(n))}`;}return"";}function v(e,t="",n=[]){return n.includes(t)?`${e}=${encodeURIComponent(t)}`:"";}function b(e,t){return(Array.isArray(t)?t:[t]).filter(e=>"string"==typeof e&&""!==e.trim()).map(t=>`${e}=${encodeURIComponent(t)}`).join("&");}function g(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6);}function y(e,t){return`${E(t)}${e}${d(t)}`;}function _(e,t){let n={forceEmbedLayout:!0};return t&&"object"==typeof t&&Object.assign(n,t),`${E(n)}${e}${d(n)}`;}function E(e={}){return("string"==typeof e.origin?e.origin:i).replace(/\/$/,"");}function w(e,t,n){if(!t||!e||!e.parentNode)throw Error("Invalid Element");e.id&&(t.id=e.id),e.className&&(t.className=e.className),k(t,n),T(e,t,n),e.replaceWith(t);}function S(e){if("string"==typeof e){let t=document.getElementById(e);if(!t)throw Error(`Could not find element with id '${e}'`);return t;}if(e instanceof HTMLElement)return e;throw Error(`Invalid element: ${e}`);}function x(e){return e&&!1===e.newWindow?"_self":"_blank";}function k(e,t={}){let n=Object.hasOwnProperty.call(t,"height")?`${t.height}`:`${o}`,r=Object.hasOwnProperty.call(t,"width")?`${t.width}`:void 0;e.setAttribute("height",n),r?e.setAttribute("width",r):e.setAttribute("style","width:100%;");}function T(e,t,n={}){var r,a;let o=(null===(a=e.allow)||void 0===a?void 0:null===(r=a.split(";"))||void 0===r?void 0:r.map(e=>e.trim()))??[];n.crossOriginIsolated&&!o.includes("cross-origin-isolated")&&o.push("cross-origin-isolated"),o.length>0&&(t.allow=o.join("; "));}class P{constructor(e){this.pending={},this.port=e,this.port.onmessage=this.messageListener.bind(this);}request({type:e,payload:t}){return new Promise((n,r)=>{let a=g();this.pending[a]={resolve:n,reject:r},this.port.postMessage({type:e,payload:{...t,__reqid:a}});});}messageListener(e){var t;if("string"!=typeof(null===(t=e.data.payload)||void 0===t?void 0:t.__reqid))return;let{type:n,payload:r}=e.data,{__reqid:a,__success:o,__error:i}=r;this.pending[a]&&(o?this.pending[a].resolve(this.cleanResult(r)):this.pending[a].reject(i?`${n}: ${i}`:n),delete this.pending[a]);}cleanResult(e){let t={...e};return delete t.__reqid,delete t.__success,delete t.__error,Object.keys(t).length?t:null;}}class A{constructor(e,t){this.editor={openFile:e=>this._rdc.request({type:"SDK_OPEN_FILE",payload:{path:e}}),setCurrentFile:e=>this._rdc.request({type:"SDK_SET_CURRENT_FILE",payload:{path:e}}),setTheme:e=>this._rdc.request({type:"SDK_SET_UI_THEME",payload:{theme:e}}),setView:e=>this._rdc.request({type:"SDK_SET_UI_VIEW",payload:{view:e}}),showSidebar:(e=!0)=>this._rdc.request({type:"SDK_TOGGLE_SIDEBAR",payload:{visible:e}})},this.preview={origin:"",getUrl:()=>this._rdc.request({type:"SDK_GET_PREVIEW_URL",payload:{}}).then(e=>(null==e?void 0:e.url)??null),setUrl:(e="/")=>{if("string"!=typeof e||!e.startsWith("/"))throw Error(`Invalid argument: expected a path starting with '/', got '${e}'`);return this._rdc.request({type:"SDK_SET_PREVIEW_URL",payload:{path:e}});}},this._rdc=new P(e),Object.defineProperty(this.preview,"origin",{value:"string"==typeof t.previewOrigin?t.previewOrigin:null,writable:!1});}applyFsDiff(e){let t=e=>null!==e&&"object"==typeof e;if(t(e)&&t(e.create)){if(!Array.isArray(e.destroy))throw Error("Invalid diff object: expected diff.destroy to be an array.");}else throw Error("Invalid diff object: expected diff.create to be an object.");return this._rdc.request({type:"SDK_APPLY_FS_DIFF",payload:e});}getDependencies(){return this._rdc.request({type:"SDK_GET_DEPS_SNAPSHOT",payload:{}});}getFsSnapshot(){return this._rdc.request({type:"SDK_GET_FS_SNAPSHOT",payload:{}});}}let O=[];class C{constructor(e){this.id=g(),this.element=e,this.pending=new Promise((e,t)=>{let n=({data:t,ports:n})=>{(null==t?void 0:t.action)==="SDK_INIT_SUCCESS"&&t.id===this.id&&(this.vm=new A(n[0],t.payload),e(this.vm),i());},o=()=>{var e;null===(e=this.element.contentWindow)||void 0===e||e.postMessage({action:"SDK_INIT",id:this.id},"*");};function i(){window.clearInterval(c),window.removeEventListener("message",n);}window.addEventListener("message",n),o();let u=0,c=window.setInterval(()=>{if(this.vm){i();return;}if(u>=a){i(),t("Timeout: Unable to establish a connection with the StackBlitz VM"),O.forEach((e,t)=>{e.id===this.id&&O.splice(t,1);});return;}u++,o();},r);}),O.push(this);}}let M=e=>{let t=e instanceof Element?"element":"id";return O.find(n=>n[t]===e)??null;};function I(e,t){let n=document.createElement("input");return n.type="hidden",n.name=e,n.value=t,n;}function R(e){return e.replace(/\[/g,"%5B").replace(/\]/g,"%5D");}function L({template:e,title:t,description:n,dependencies:r,files:a,settings:o}){if(!u.includes(e)){let e=u.map(e=>`'${e}'`).join(", ");console.warn(`Unsupported project.template: must be one of ${e}`);}let i=[],c=(e,t,n="")=>{i.push(I(e,"string"==typeof t?t:n));};c("project[title]",t),"string"==typeof n&&n.length>0&&c("project[description]",n),c("project[template]",e,"javascript"),r&&("node"===e?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):c("project[dependencies]",JSON.stringify(r))),o&&c("project[settings]",JSON.stringify(o)),Object.entries(a).forEach(([e,t])=>{c(`project[files][${R(e)}]`,t);});let l=document.createElement("form");return l.method="POST",l.setAttribute("style","display:none!important;"),l.append(...i),l;}function N(e,t){let n=L(e);return n.action=_("/run",t),n.id="sb_run",` + + + + ${n.outerHTML} + + +`;}function D(e,t){let n=L(e);n.action=y("/run",t),n.target=x(t),document.body.appendChild(n),n.submit(),document.body.removeChild(n);}function j(e){return(null==e?void 0:e.contentWindow)?(M(e)??new C(e)).pending:Promise.reject("Provided element is not an iframe.");}function F(e,t,n){var r;let a=S(e),o=N(t,n),i=document.createElement("iframe");return w(a,i,n),null===(r=i.contentDocument)||void 0===r||r.write(o),j(i);}function B(e,t,n){let r=S(e),a=document.createElement("iframe");return a.src=_(`/edit/${t}`,n),w(r,a,n),j(a);}function U(e,t,n){let r=S(e),a=document.createElement("iframe");return a.src=_(`/github/${t}`,n),w(r,a,n),j(a);}let H={connect:j,embedGithubProject:U,embedProject:F,embedProjectId:B,openGithubProject:function(e,t){let n=y(`/github/${e}`,t),r=x(t);window.open(n,r);},openProject:function(e,t){D(e,t);},openProjectId:function(e,t){let n=y(`/edit/${e}`,t),r=x(t);window.open(n,r);}};},"21a9b255":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("6050ac71"),i=n("56353b3f"),u=a("".charCodeAt),c=a("".replace),l=RegExp("[!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~"+i+"]","g");r({target:"RegExp",stat:!0,forced:!0},{escape:function(e){var t=o(e),n=u(t,0);return(n>47&&n<58?"\\x3":"")+c(t,l,"\\$&");}});},"222174f9":function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180});},"226f1288":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("777fffbe")._(n("f11370d0"));function a(e,t){for(var n=0;n1?arguments[1]:void 0);}}),o("filterReject");},"24d8d964":function(e,t,n){"use strict";var r=n("b69db97a"),a=n("f16f296d"),o=n("e3d0fd29"),i=n("be3df0ae");e.exports=function(e,t,n,u){u||(u={});var c=u.enumerable,l=void 0!==u.name?u.name:t;if(r(n)&&o(n,l,u),u.global)c?e[t]=n:i(t,n);else{try{u.unsafe?e[t]&&(c=!0):delete e[t];}catch(e){}c?e[t]=n:a.f(e,t,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable});}return e;};},"2516ec49":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("ff5769a6");e.exports=function(e,t,n){try{return r(a(Object.getOwnPropertyDescriptor(e,t)[n]));}catch(e){}};},"253419a2":function(e,t,n){"use strict";var r=n("94e1b84e"),a=n("0db032d7"),o=n("dba6f1a0"),i=n("82110d96"),u=n("ebc2442a"),c=n("8d87a5e8"),l=n("2e3fa3e3"),s=n("6a1bb8c1"),f=Array,d=a([].push);e.exports=function(e,t,n,a){for(var p,h,m,v=i(e),b=o(v),g=r(t,n),y=l(null),_=c(b),E=0;_>E;E++)(h=u(g(m=b[E],E,v)))in y?d(y[h],m):y[h]=[m];if(a&&(p=a(v))!==f)for(h in y)y[h]=s(p,y[h]);return y;};},"256d831f":function(e,t,n){"use strict";e.exports=!1;},"259bf7bd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("777fffbe")._(n("fec39033")).default;},"25b443b5":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("130fe4a2");let a={ids:["line-demo-common","line-demo-markdown","line-demo-category"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("4ec12f54")]).then(n.dr(r,n.bind(n,"80e152fb")))};},"2684da30":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("c60c8136")),c=r._(n("1fc4f16a")),l=r._(n("30142f75")),s=r._(n("f2ad2335")),f=a._(n("9d065c04")),d=r._(n("4347f168")),p=r._(n("069b10db")),h=["key","forceRender","style","className","destroyInactiveTabPane"],m=function(e){var t=e.id,n=e.activeKey,r=e.animated,a=e.tabPosition,m=e.destroyInactiveTabPane,v=f.useContext(d.default),b=v.prefixCls,g=v.tabs,y=r.tabPane,_="".concat(b,"-tabpane");return f.createElement("div",{className:(0,l.default)("".concat(b,"-content-holder"))},f.createElement("div",{className:(0,l.default)("".concat(b,"-content"),"".concat(b,"-content-").concat(a),(0,c.default)({},"".concat(b,"-content-animated"),y))},g.map(function(e){var a=e.key,c=e.forceRender,d=e.style,v=e.className,b=e.destroyInactiveTabPane,g=(0,u.default)(e,h),E=a===n;return f.createElement(s.default,(0,o.default)({key:a,visible:E,forceRender:c,removeOnLeave:!!(m||b),leavedClassName:"".concat(_,"-hidden")},r.tabPaneMotion),function(e,n){var r=e.style,u=e.className;return f.createElement(p.default,(0,o.default)({},g,{prefixCls:_,id:t,tabKey:a,animated:y,active:E,style:(0,i.default)((0,i.default)({},d),r),className:(0,l.default)(v,u),ref:n}));});})));};},"268ef6da":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return h;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1de795bc")),i=r._(n("6b99f428")),u=r._(n("5f7c1969")),c=n("64c7e51a"),l=a._(n("9d065c04")),s=n("bf9944bb"),f=n("dee40b44"),d=r._(n("0c25c246"));function p(e,t){var n=e.children,r=e.disabled,a=l.useRef(null),p=l.useRef(null),h=l.useContext(s.CollectionContext),m="function"==typeof n,v=m?n(a):n,b=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),g=!m&&l.isValidElement(v)&&(0,c.supportRef)(v),y=g?(0,c.getNodeRef)(v):null,_=(0,c.useComposeRef)(y,a),E=function(){var e;return(0,u.default)(a.current)||(a.current&&"object"===(0,i.default)(a.current)?(0,u.default)(null===(e=a.current)||void 0===e?void 0:e.nativeElement):null)||(0,u.default)(p.current);};l.useImperativeHandle(t,function(){return E();});var w=l.useRef(e);w.current=e;var S=l.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,a=e.getBoundingClientRect(),i=a.width,u=a.height,c=e.offsetWidth,l=e.offsetHeight,s=Math.floor(i),f=Math.floor(u);if(b.current.width!==s||b.current.height!==f||b.current.offsetWidth!==c||b.current.offsetHeight!==l){var d={width:s,height:f,offsetWidth:c,offsetHeight:l};b.current=d;var p=c===Math.round(i)?i:c,m=l===Math.round(u)?u:l,v=(0,o.default)((0,o.default)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(v,e,r),n&&Promise.resolve().then(function(){n(v,e);});}},[]);return l.useEffect(function(){var e=E();return e&&!r&&(0,f.observe)(e,S),function(){return(0,f.unobserve)(e,S);};},[a.current,r]),l.createElement(d.default,{ref:p},g?l.cloneElement(v,{ref:_}):v);}var h=l.forwardRef(p);},"26ce4813":function(e,t,n){"use strict";var r=n("9f0a4323"),a=9765625e-10,o=65504,i=6103515625e-14;e.exports=Math.f16round||function(e){return r(e,a,o,i);};},"272c4b14":function(e,t,n){"use strict";var r=n("9d065c04"),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,s=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(s=t.ref),t)i.call(t,r)&&!c.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:l,ref:s,props:o,_owner:u.current};}t.Fragment=o,t.jsx=l,t.jsxs=l;},"27335d4c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("852bbaa9")._(n("9d065c04")).createContext(null);},"276089c1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:[(0,r.jsx)("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 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),(0,r.jsx)("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"})]});},"278ff009":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("a2078cdf"),i="Invalid number representation",u="Invalid radix",c=RangeError,l=SyntaxError,s=TypeError,f=parseInt,d=Math.pow,p=/^[\d.a-z]+$/,h=a("".charAt),m=a(p.exec),v=a(1..toString),b=a("".slice),g=a("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(e,t){var n=1;if("string"!=typeof e)throw new s(i);if(!e.length||"-"===h(e,0)&&(n=-1,!(e=b(e,1)).length))throw new l(i);var r=void 0===t?10:o(t);if(r<2||r>36)throw new c(u);if(!m(p,e))throw new l(i);var a=g(e,"."),y=f(a[0],r);if(a.length>1&&(y+=f(a[1],r)/d(r,a[1].length)),10===r&&v(y,r)!==e)throw new l(i);return n*y;}});},27929610:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("d04dc6e7");let r=[{id:"radar-\u96F7\u8FBE\u56FE",depth:1,title:"Radar \u96F7\u8FBE\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"radar-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"radar-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"radar-demo-category",depth:3,title:"\u5206\u7EC4\u96F7\u8FBE\u56FE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"radarprops",depth:3,title:"RadarProps"},{id:"radardataitem",depth:3,title:"RadarDataItem"}],a={title:"Radar \u96F7\u8FBE\u56FE",toc:"content",filename:"src/Radar/index.md",atomId:"Radar",lastUpdated:1734934621e3,order:11,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2}};},"27ca0e6b":function(e,t,n){"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);}function a(e){return r(e) instanceof ShadowRoot;}function o(e){return a(e)?r(e):null;}n.d(t,"__esModule",{value:!0}),n.e(t,{getShadowRoot:function(){return o;},inShadow:function(){return a;}});},"27e53828":function(e,t,n){"use strict";n("9a31e2b1")({target:"Array",stat:!0},{fromAsync:n("e49ec851")});},"290e6ad6":function(e,t,n){"use strict";var r=n("78178a98");e.exports=Array.isArray||function(e){return"Array"===r(e);};},"2970ef58":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("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"})});},"29b47652":function(e,t,n){},"29c16ab8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("7843f419");let r=[{id:"flowdiagram-\u6D41\u7A0B\u56FE",depth:1,title:"FlowDiagram \u6D41\u7A0B\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"\u5355\u72EC\u4F7F\u7528",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"flowdiagramprops",depth:3,title:"FlowDiagramProps"},{id:"flowdiagramdata",depth:3,title:"FlowDiagramData"},{id:"flowdiagramnode",depth:3,title:"FlowDiagramNode"},{id:"flowdiagramedge",depth:3,title:"FlowDiagramEdge"}],a={title:"FlowDiagram \u6D41\u7A0B\u56FE",toc:"content",filename:"src/FlowDiagram/index.md",atomId:"FlowDiagram",lastUpdated:1734934621e3,order:2,group:{order:3,title:"\u5173\u7CFB\u56FE"},description:"\u6D41\u7A0B\u56FE\uFF0C\u7528\u4E8E\u76F4\u89C2\u5730\u8868\u793A\u8FC7\u7A0B\u6216\u7CFB\u7EDF\u7684\u6B65\u9AA4\u548C\u51B3\u7B56\u70B9\u3002"};},"2aa7550f":function(e,t,n){"use strict";var r,a;function o(e){return e.type===r.literal;}function i(e){return e.type===r.argument;}function u(e){return e.type===r.number;}function c(e){return e.type===r.date;}function l(e){return e.type===r.time;}function s(e){return e.type===r.select;}function f(e){return e.type===r.plural;}function d(e){return e.type===r.pound;}function p(e){return e.type===r.tag;}function h(e){return!!(e&&"object"==typeof e&&e.type===a.number);}function m(e){return!!(e&&"object"==typeof e&&e.type===a.dateTime);}n.d(t,"__esModule",{value:!0}),n.e(t,{SKELETON_TYPE:function(){return a;},TYPE:function(){return r;},isArgumentElement:function(){return i;},isDateElement:function(){return c;},isDateTimeSkeleton:function(){return m;},isLiteralElement:function(){return o;},isNumberElement:function(){return u;},isNumberSkeleton:function(){return h;},isPluralElement:function(){return f;},isPoundElement:function(){return d;},isSelectElement:function(){return s;},isTagElement:function(){return p;},isTimeElement:function(){return l;}}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag";}(r||(r={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime";}(a||(a={}));},"2aae99ef":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("852bbaa9")._(n("9d065c04")).createContext(null);},"2ab59e1b":function(e,t,n){"use strict";var r=n("837e35f3"),a=n("a77d9a3c").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a);};},"2ae990f4":function(e,t,n){"use strict";n("e1df097a");},"2aec6c9f":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("60eb28d7");e.exports=r&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype;});},"2b044158":function(e,t,n){"use strict";var r=n("b69db97a"),a=n("7087e9e6"),o=n("33ae99a3");e.exports=function(e,t,n){var i,u;return o&&r(i=t.constructor)&&i!==n&&a(u=i.prototype)&&u!==n.prototype&&o(e,u),e;};},"2b124bf3":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("a46a8ce1"),o=n("762839db"),i=n("6582164c");r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===i(o(this),function(t){if(a(t,e))return!0;},!0);}});},"2b2af3ca":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return N;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=r._(n("1de795bc")),u=r._(n("bc3725d3")),c=r._(n("a5105844")),l=r._(n("c60c8136")),s=r._(n("364f5b40")),f=r._(n("c858baaf")),d=r._(n("9885bb6e")),p=r._(n("7f174ca1")),h=r._(n("30142f75")),m=r._(n("5e1d9a4c")),v=r._(n("1dcdc1e8")),b=r._(n("a40f134b")),g=n("64c7e51a"),y=r._(n("9093f42f")),_=a._(n("9d065c04")),E=n("f3881a56"),w=n("949d70f4"),S=n("d507a87a"),x=r._(n("c3caec5a")),k=r._(n("35dd182e")),T=r._(n("d6b3c24b")),P=r._(n("e17998b5")),A=n("4ea037d3"),O=["title","attribute","elementRef"],C=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],M=["active"],I=function(e){(0,d.default)(n,e);var t=(0,p.default)(n);function n(){return(0,s.default)(this,n),t.apply(this,arguments);}return(0,f.default)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,a=(0,l.default)(e,O),o=(0,b.default)(a,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,y.default)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),_.createElement(m.default.Item,(0,c.default)({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}));}}]),n;}(_.Component),R=_.forwardRef(function(e,t){var n,r=e.style,a=e.className,s=e.eventKey,f=(e.warnKey,e.disabled),d=e.itemIcon,p=e.children,m=e.role,b=e.onMouseEnter,y=e.onMouseLeave,O=e.onClick,R=e.onKeyDown,L=e.onFocus,N=(0,l.default)(e,C),D=(0,E.useMenuId)(s),j=_.useContext(w.MenuContext),F=j.prefixCls,B=j.onItemClick,U=j.disabled,H=j.overflowDisabled,z=j.itemIcon,G=j.selectedKeys,$=j.onActive,V=_.useContext(x.default)._internalRenderMenuItem,W="".concat(F,"-item"),K=_.useRef(),Y=_.useRef(),q=U||f,X=(0,g.useComposeRef)(t,Y),Q=(0,S.useFullPath)(s),Z=function(e){return{key:s,keyPath:(0,u.default)(Q).reverse(),item:K.current,domEvent:e};},J=d||z,ee=(0,k.default)(s,q,b,y),et=ee.active,en=(0,l.default)(ee,M),er=G.includes(s),ea=(0,T.default)(Q.length),eo=function(e){if(!q){var t=Z(e);null==O||O((0,A.warnItemProp)(t)),B(t);}},ei=function(e){if(null==R||R(e),e.which===v.default.ENTER){var t=Z(e);null==O||O((0,A.warnItemProp)(t)),B(t);}},eu=function(e){$(s),null==L||L(e);},ec={};"option"===e.role&&(ec["aria-selected"]=er);var el=_.createElement(I,(0,c.default)({ref:K,elementRef:X,role:null===m?"none":m||"menuitem",tabIndex:f?null:-1,"data-menu-id":H&&D?null:D},N,en,ec,{component:"li","aria-disabled":f,style:(0,i.default)((0,i.default)({},ea),r),className:(0,h.default)(W,(n={},(0,o.default)(n,"".concat(W,"-active"),et),(0,o.default)(n,"".concat(W,"-selected"),er),(0,o.default)(n,"".concat(W,"-disabled"),q),n),a),onClick:eo,onKeyDown:ei,onFocus:eu}),p,_.createElement(P.default,{props:(0,i.default)((0,i.default)({},e),{},{isSelected:er}),icon:J}));return V&&(el=V(el,e,{selected:er})),el;});function L(e,t){var n=e.eventKey,r=(0,S.useMeasure)(),a=(0,S.useFullPath)(n);return(_.useEffect(function(){if(r)return r.registerPath(n,a),function(){r.unregisterPath(n,a);};},[a]),r)?null:_.createElement(R,(0,c.default)({},e,{ref:t}));}var N=_.forwardRef(L);},"2b98bc48":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("cabffc8e"),o=n("7dfaf7bb"),i=n("1a0d87be"),u=Array;r({target:"Array",proto:!0},{toReversed:function(){return a(o(this),u);}}),i("toReversed");},"2bd58e4d":function(e,t,n){},"2be80ac9":function(e,t,n){"use strict";let r;n.d(t,"__esModule",{value:!0}),n.e(t,{createHistory:function(){return i;},history:function(){return r;}});var a=n("4568593b");let o="/";function i(e){let t;return t="hash"===e.type?(0,a.createHashHistory)():"memory"===e.type?(0,a.createMemoryHistory)(e):(0,a.createBrowserHistory)(),e.basename&&(o=e.basename),r={...t,push(e,n){t.push(u(e,t),n);},replace(e,n){t.replace(u(e,t),n);},get location(){return t.location;},get action(){return t.action;}},t;}function u(e,t){if("string"==typeof e)return`${c(o)}${e}`;if("object"==typeof e){let n=t.location.pathname;return{...e,pathname:e.pathname?`${c(o)}${e.pathname}`:n};}throw Error(`Unexpected to: ${e}`);}function c(e){return"/"===e.slice(-1)?e.slice(0,-1):e;}},"2c07c5ff":function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}));});},"2c2d2cb7":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("852bbaa9"),a=n("27ca0e6b");n("9093f42f");var o=r._(n("9d065c04")),i=n("47ff1fcd");function u(e,t,n,r,u,c,l,s){var f=o.useRef(e);f.current=e;var d=o.useRef(!1);return o.useEffect(function(){if(t&&r&&(!u||c)){var e=function(){d.current=!1;},o=function(e){var t;!f.current||l((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||d.current||s(!1);},p=(0,i.getWin)(r);p.addEventListener("pointerdown",e,!0),p.addEventListener("mousedown",o,!0),p.addEventListener("contextmenu",o,!0);var h=(0,a.getShadowRoot)(n);return h&&(h.addEventListener("mousedown",o,!0),h.addEventListener("contextmenu",o,!0)),function(){p.removeEventListener("pointerdown",e,!0),p.removeEventListener("mousedown",o,!0),p.removeEventListener("contextmenu",o,!0),h&&(h.removeEventListener("mousedown",o,!0),h.removeEventListener("contextmenu",o,!0));};}},[t,n,r,u,c]),function(){d.current=!0;};}},"2c43bc5e":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("1a0d87be"),o=n("82110d96"),i=n("8d87a5e8"),u=n("8bf19462");r&&(u(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(o(this));return 0===e?0:e-1;}}),a("lastIndex"));},"2c690296":function(e,t,n){"use strict";var r=n("2c07c5ff"),a=n("9a31e2b1"),o=n("e3d0fd29"),i=n("0db032d7"),u=n("f0a391cd"),c=n("377218ed"),l=n("82110d96"),s=n("b69db97a"),f=n("8d87a5e8"),d=n("f16f296d").f,p=n("acd0d328"),h=n("e89658ad"),m=n("7346e12b"),v=n("d735a6ae"),b=n("56353b3f"),g=new h.WeakMap,y=h.get,_=h.has,E=h.set,w=Array,S=TypeError,x=Object.freeze||Object,k=Object.isFrozen,T=Math.min,P=i("".charAt),A=i("".slice),O=i("".split),C=i(/./.exec),M=/([\n\u2028\u2029]|\r\n?)/g,I=RegExp("^["+b+"]*"),R=RegExp("[^"+b+"]"),L="Invalid tag",N="Invalid opening line",D="Invalid closing line",j=function(e){var t=e.raw;if(r&&!k(t))throw new S("Raw template should be frozen");if(_(g,t))return y(g,t);var n=F(t),a=U(n);return d(a,"raw",{value:x(n)}),x(a),E(g,t,a),a;},F=function(e){var t,n,r,a,o=l(e),i=f(o),u=w(i),c=w(i),s=0;if(!i)throw new S(L);for(;s0)throw new S(N);t[1]="";}if(p){if(1===t.length||C(R,t[t.length-1]))throw new S(D);t[t.length-2]="",t[t.length-1]="";}for(var h=2;h1?arguments[1]:void 0;return a(this,e,t);}}),o("group");},"2d2f9574":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{assert:function(){return a;},compose:function(){return o;},isPromiseLike:function(){return i;}});var r=n("777fffbe")._(n("b07ccb44"));function a(e,t){if(!e)throw Error(t);}function o(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce(function(e,t){return function(){return t(e,n);};},r);}function i(e){return!!e&&"object"===(0,r.default)(e)&&"function"==typeof e.then;}},"2d445257":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("29b47652");let r=[{id:"pathmap-\u8DEF\u5F84\u5730\u56FE",depth:1,title:"PathMap \u8DEF\u5F84\u5730\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"pathmap-demo-default",depth:3,title:"\u9ED8\u8BA4\u5730\u56FE"},{id:"pathmap-demo-line",depth:3,title:"\u81EA\u5B9A\u4E49\u6837\u5F0F"},{id:"pathmap-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"pathmapprops",depth:3,title:"PathMapProps"},{id:"routdata",depth:3,title:"RoutData"},{id:"polyline",depth:3,title:"Polyline"},{id:"markerdata",depth:3,title:"MarkerData"}],a={title:"PathMap \u8DEF\u5F84\u5730\u56FE",toc:"content",filename:"src/PathMap/index.md",atomId:"PathMap",lastUpdated:1734934621e3,order:2,group:{order:2,title:"\u5730\u56FE"},demo:{cols:2},description:"\u8DEF\u5F84\u5730\u56FE\uFF0C\u7528\u4E8E\u53EF\u89C6\u5316\u8DEF\u5F84\u7EBF\u8DEF\u6570\u636E\u3002"};},"2da9e9fb":function(e,t,n){"use strict";n("9a31e2b1")({target:"Object",stat:!0},{hasOwn:n("8fb0fcd1")});},"2e1d6719":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"OverflowContext",{enumerable:!0,get:function(){return r;}});var r=n("777fffbe")._(n("9d065c04")).default.createContext(null);},"2e33b627":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("364f5b40")),i=r._(n("c858baaf")),u=r._(n("9885bb6e")),c=r._(n("7f174ca1")),l=function(e){(0,u.default)(n,e);var t=(0,c.default)(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments);}return(0,i.default)(n,[{key:"render",value:function(){return this.props.children;}}]),n;}(a._(n("9d065c04")).Component);},"2e3fa3e3":function(e,t,n){"use strict";var r,a=n("377218ed"),o=n("53b71042"),i=n("a77d9a3c"),u=n("e0f6bdfe"),c=n("137df3d8"),l=n("eedb51ae"),s=n("be63189e"),f=">",d="<",p="prototype",h="script",m=s("IE_PROTO"),v=function(){},b=function(e){return d+h+f+e+d+"/"+h+f;},g=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t;},y=function(){var e,t=l("iframe"),n="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(b("document.F=Object")),e.close(),e.F;},_=function(){try{r=new ActiveXObject("htmlfile");}catch(e){}_="undefined"!=typeof document?document.domain&&r?g(r):y():g(r);for(var e=i.length;e--;)delete _[p][i[e]];return _();};u[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=a(e),n=new v,v[p]=null,n[m]=e):n=_(),void 0===t?n:o.f(n,t);};},"2e6fd29b":function(e,t,n){var r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,u=(e,t,n,u)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))i.call(e,c)||c===n||r(e,c,{get:()=>t[c],enumerable:!(u=a(t,c))||u.enumerable});return e;},c=e=>u(r({},"__esModule",{value:!0}),e),l={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0});})(l,{DEFAULT_DEMO_MODULE_EXTENSIONS:()=>E,DEFAULT_DEMO_PLAIN_TEXT_EXTENSIONS:()=>w,FS_CACHE_DIR:()=>S,LOCAL_DUMI_DIR:()=>s,LOCAL_PAGES_DIR:()=>d,LOCAL_THEME_DIR:()=>f,PICKED_PKG_FIELDS:()=>b,PREFERS_COLOR_ATTR:()=>m,PREFERS_COLOR_LS_KEY:()=>v,SHOULD_SKIP_LIVEDEMO_ERROR:()=>x,SP_ROUTE_PREFIX:()=>h,THEME_PREFIX:()=>p,USELESS_TMP_FILES:()=>g,VERSION_2_DEPRECATE_SOFT_BREAKS:()=>_,VERSION_2_LEVEL_NAV:()=>y}),e.exports=c(l);var s=".dumi",f=`${s}/theme`,d=`${s}/pages`,p="dumi-theme-",h="~",m="data-prefers-color",v="dumi:prefers-color",b={name:"",description:"",version:"",license:"",repository:"",author:"",authors:""},g=["tsconfig.json","typings.d.ts"],y="^2.2.0",_="^2.2.0",E=[".js",".jsx",".ts",".tsx"],w=[".css",".less",".sass",".scss",".styl",".json"],S="node_modules/.cache/dumi",x=["Unable to find node on an unmounted component","#188","Portals are not currently supported by the server renderer","#257"];},"2f449916":function(e,t,n){"use strict";var r=n("4fccae39")("toStringTag"),a={};a[r]="z",e.exports="[object z]"===String(a);},"2f5a2d25":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"DumiPage",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("5ca000fa"),i=r._(n("faedc6a9")),u=a._(n("9d065c04")),c=n("529db4eb");function l(e,t){return h(e)||p(e,t)||f(e,t)||s();}function s(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t);}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1];}function o(e,t,n,r){for(var o=n.points,i=Object.keys(e),u=0;u1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e;}function s(e){return l(parseFloat(e),0);}function f(e,t){var n=(0,r.default)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=u(e).getComputedStyle(e),r=t.overflow,a=t.overflowClipMargin,o=t.borderTopWidth,i=t.borderBottomWidth,c=t.borderLeftWidth,f=t.borderRightWidth,d=e.getBoundingClientRect(),p=e.offsetHeight,h=e.clientHeight,m=e.offsetWidth,v=e.clientWidth,b=s(o),g=s(i),y=s(c),_=s(f),E=l(Math.round(d.width/m*1e3)/1e3),w=l(Math.round(d.height/p*1e3)/1e3),S=(m-v-y-_)*E,x=(p-h-b-g)*w,k=b*w,T=g*w,P=y*E,A=_*E,O=0,C=0;if("clip"===r){var M=s(a);O=M*E,C=M*w;}var I=d.x+P-O,R=d.y+k-C,L=I+d.width+2*O-P-A-S,N=R+d.height+2*C-k-T-x;n.left=Math.max(n.left,I),n.top=Math.max(n.top,R),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,N);}}),n;}},"2ff54862":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("b11ea5c3"),o=n("f7387e98"),i=n("33ae99a3"),u=n("95b22a24"),c=n("2e3fa3e3"),l=n("1022370d"),s=n("3e039690"),f=n("c6047f27"),d=n("e72efcaf"),p=n("4fccae39")("toStringTag"),h=Error,m=function(e,t,n){var r,u=a(v,this);return i?r=i(new h,u?o(this):v):l(r=u?this:c(v),p,"Error"),void 0!==n&&l(r,"message",d(n)),f(r,m,r.stack,1),l(r,"error",e),l(r,"suppressed",t),r;};i?i(m,h):u(m,h,{name:!0});var v=m.prototype=c(h.prototype,{constructor:s(1,m),message:s(1,""),name:s(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:m});},"30142f75":function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r=Math.abs(e);},E=!0;try{var w=O("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");E=(null===(r=w.exec("a"))||void 0===r?void 0:r[0])==="a";}catch(e){E=!1;}var S=h?function(e,t,n){return e.startsWith(t,n);}:function(e,t,n){return e.slice(n,n+t.length)===t;},x=m?String.fromCodePoint:function(){for(var e,t=[],n=0;no;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");r+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320);}return r;},k=v?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=r)){var a=e.charCodeAt(t);return a<55296||a>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?a:(a-55296<<10)+(n-56320)+65536;}},P=g?function(e){return e.trimStart();}:function(e){return e.replace(f,"");},A=y?function(e){return e.trimEnd();}:function(e){return e.replace(d,"");};function O(e,t){return new RegExp(e,t);}if(E){var C=O("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");a=function(e,t){var n;return C.lastIndex=t,null!==(n=C.exec(e)[1])&&void 0!==n?n:"";};}else a=function(e,t){for(var n=[];;){var r=T(e,t);if(void 0===r||N(r)||D(r))break;n.push(r),t+=r>=65536?2:1;}return x.apply(void 0,n);};var M=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons;}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1);},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){var o=this.parseArgument(e,n);if(o.err)return o;r.push(o.val);}else if(125===a&&e>0)break;else if(35===a&&("plural"===t||"selectordinal"===t)){var c=this.clonePosition();this.bump(),r.push({type:u.TYPE.pound,location:p(c,this.clonePosition())});}else if(60!==a||this.ignoreTag||47!==this.peek()){if(60===a&&!this.ignoreTag&&I(this.peek()||0)){var o=this.parseTag(e,t);if(o.err)return o;r.push(o.val);}else{var o=this.parseLiteral(e,t);if(o.err)return o;r.push(o.val);}}else{if(!n)return this.error(i.ErrorKind.UNMATCHED_CLOSING_TAG,p(this.clonePosition(),this.clonePosition()));break;}}return{val:r,err:null};},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:u.TYPE.literal,value:"<".concat(r,"/>"),location:p(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(i.ErrorKind.INVALID_TAG,p(n,this.clonePosition()));var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var o=a.val,c=this.clonePosition();if(!this.bumpIf(""))?{val:{type:u.TYPE.tag,value:r,children:o,location:p(n,this.clonePosition())},err:null}:this.error(i.ErrorKind.INVALID_TAG,p(c,this.clonePosition()));},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&L(this.char());)this.bump();return this.message.slice(e,this.offset());},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var a=this.tryParseQuote(t);if(a){r+=a;continue;}var o=this.tryParseUnquoted(e,t);if(o){r+=o;continue;}var i=this.tryParseLeftAngleBracket();if(i){r+=i;continue;}break;}var c=p(n,this.clonePosition());return{val:{type:u.TYPE.literal,value:r,location:c},err:null};},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&R(this.peek()||0)?null:(this.bump(),"<");},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null;}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break;}}else t.push(n);this.bump();}return x.apply(void 0,t);},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),x(n));},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(i.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(i.ErrorKind.EMPTY_ARGUMENT,p(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(i.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(i.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:u.TYPE.argument,value:r,location:p(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(i.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(n,this.clonePosition()));return this.parseArgumentOptions(e,t,r,n);default:return this.error(i.ErrorKind.MALFORMED_ARGUMENT,p(n,this.clonePosition()));}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=a(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:p(e,this.clonePosition())};},e.prototype.parseArgumentOptions=function(e,t,n,r){var a,c=this.clonePosition(),f=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(f){case"":return this.error(i.ErrorKind.EXPECT_ARGUMENT_TYPE,p(c,d));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var m=this.clonePosition(),v=this.parseSimpleArgStyleIfPossible();if(v.err)return v;var b=A(v.val);if(0===b.length)return this.error(i.ErrorKind.EXPECT_ARGUMENT_STYLE,p(this.clonePosition(),this.clonePosition()));h={style:b,styleLocation:p(m,this.clonePosition())};}var g=this.tryParseArgumentClose(r);if(g.err)return g;var y=p(r,this.clonePosition());if(h&&S(null==h?void 0:h.style,"::",0)){var _=P(h.style.slice(2));if("number"===f){var v=this.parseNumberSkeletonFromString(_,h.styleLocation);if(v.err)return v;return{val:{type:u.TYPE.number,value:n,location:y,style:v.val},err:null};}if(0===_.length)return this.error(i.ErrorKind.EXPECT_DATE_TIME_SKELETON,y);var E=_;this.locale&&(E=(0,s.getBestPattern)(_,this.locale));var b={type:u.SKELETON_TYPE.dateTime,pattern:E,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,l.parseDateTimeSkeleton)(E):{}};return{val:{type:"date"===f?u.TYPE.date:u.TYPE.time,value:n,location:y,style:b},err:null};}return{val:{type:"number"===f?u.TYPE.number:"date"===f?u.TYPE.date:u.TYPE.time,value:n,location:y,style:null!==(a=null==h?void 0:h.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(i.ErrorKind.EXPECT_SELECT_ARGUMENT_OPTIONS,p(w,(0,o.__assign)({},w)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),T=0;if("select"!==f&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(i.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p(this.clonePosition(),this.clonePosition()));this.bumpSpace();var v=this.tryParseDecimalInteger(i.ErrorKind.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,i.ErrorKind.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(v.err)return v;this.bumpSpace(),x=this.parseIdentifierIfPossible(),T=v.val;}var O=this.tryParsePluralOrSelectOptions(e,f,t,x);if(O.err)return O;var g=this.tryParseArgumentClose(r);if(g.err)return g;var C=p(r,this.clonePosition());if("select"===f)return{val:{type:u.TYPE.select,value:n,options:k(O.val),location:C},err:null};return{val:{type:u.TYPE.plural,value:n,options:k(O.val),offset:T,pluralType:"plural"===f?"cardinal":"ordinal",location:C},err:null};default:return this.error(i.ErrorKind.INVALID_ARGUMENT_TYPE,p(c,d));}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(i.ErrorKind.EXPECT_ARGUMENT_CLOSING_BRACE,p(e,this.clonePosition())):(this.bump(),{val:!0,err:null});},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(i.ErrorKind.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,p(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump();}return{val:this.message.slice(t.offset,this.offset()),err:null};},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=(0,l.parseNumberSkeletonFromString)(e);}catch(e){return this.error(i.ErrorKind.INVALID_NUMBER_SKELETON,t);}return{val:{type:u.SKELETON_TYPE.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?(0,l.parseNumberSkeleton)(n):{}},err:null};},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var a,o=!1,u=[],c=new Set,l=r.value,s=r.location;;){if(0===l.length){var f=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(i.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,i.ErrorKind.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;s=p(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset());}else break;}if(c.has(l))return this.error("select"===t?i.ErrorKind.DUPLICATE_SELECT_ARGUMENT_SELECTOR:i.ErrorKind.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?i.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:i.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,p(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var v=this.tryParseArgumentClose(h);if(v.err)return v;u.push([l,{value:m.val,location:p(h,this.clonePosition())}]),c.add(l),this.bumpSpace(),l=(a=this.parseIdentifierIfPossible()).value,s=a.location;}return 0===u.length?this.error("select"===t?i.ErrorKind.EXPECT_SELECT_ARGUMENT_SELECTOR:i.ErrorKind.EXPECT_PLURAL_ARGUMENT_SELECTOR,p(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(i.ErrorKind.MISSING_OTHER_CLAUSE,p(this.clonePosition(),this.clonePosition())):{val:u,err:null};},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var i=this.char();if(i>=48&&i<=57)a=!0,o=10*o+(i-48),this.bump();else break;}var u=p(r,this.clonePosition());return a?_(o*=n)?{val:o,err:null}:this.error(t,u):this.error(e,u);},e.prototype.offset=function(){return this.position.offset;},e.prototype.isEOF=function(){return this.offset()===this.message.length;},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column};},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=T(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t;},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}};},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2);}},e.prototype.bumpIf=function(e){if(S(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1);},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break;}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&N(this.char());)this.bump();},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null;},e;}();function I(e){return e>=97&&e<=122||e>=65&&e<=90;}function R(e){return I(e)||47===e;}function L(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039;}function N(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e;}function D(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094;}},"3091c066":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return g;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1de795bc")),i=r._(n("361d5d06")),u=n("5f7c1969"),c=r._(n("e95b42dd")),l=r._(n("e0ebc827")),s=r._(n("3480b7d9")),f=a._(n("9d065c04")),d=n("47ff1fcd");function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n);}function h(e,t){var n=t||[],r=(0,i.default)(n,2),a=r[0],o=r[1];return[p(e.width,a),p(e.height,o)];}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]];}function v(e,t){var n,r,a=t[0],o=t[1];return r="t"===a?e.y:"b"===a?e.y+e.height:e.y+e.height/2,{x:n="l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:r};}function b(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e;}).join("");}function g(e,t,n,r,a,p,g){var y=f.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),_=(0,i.default)(y,2),E=_[0],w=_[1],S=f.useRef(0),x=f.useMemo(function(){return t?(0,d.collectScroller)(t):[];},[t]),k=f.useRef({}),T=function(){k.current={};};e||T();var P=(0,l.default)(function(){if(t&&n&&e){var l,s,f,y,_=t,E=_.ownerDocument,S=(0,d.getWin)(_).getComputedStyle(_),T=S.width,P=S.height,A=S.position,O=_.style.left,C=_.style.top,M=_.style.right,I=_.style.bottom,R=_.style.overflow,L=(0,o.default)((0,o.default)({},a[r]),p),N=E.createElement("div");if(null===(D=_.parentElement)||void 0===D||D.appendChild(N),N.style.left="".concat(_.offsetLeft,"px"),N.style.top="".concat(_.offsetTop,"px"),N.style.position=A,N.style.height="".concat(_.offsetHeight,"px"),N.style.width="".concat(_.offsetWidth,"px"),_.style.left="0",_.style.top="0",_.style.right="auto",_.style.bottom="auto",_.style.overflow="hidden",Array.isArray(n))U={x:n[0],y:n[1],width:0,height:0};else{var D,j,F,B,U,H,z,G=n.getBoundingClientRect();G.x=null!==(H=G.x)&&void 0!==H?H:G.left,G.y=null!==(z=G.y)&&void 0!==z?z:G.top,U={x:G.x,y:G.y,width:G.width,height:G.height};}var $=_.getBoundingClientRect();$.x=null!==(j=$.x)&&void 0!==j?j:$.left,$.y=null!==(F=$.y)&&void 0!==F?F:$.top;var V=E.documentElement,W=V.clientWidth,K=V.clientHeight,Y=V.scrollWidth,q=V.scrollHeight,X=V.scrollTop,Q=V.scrollLeft,Z=$.height,J=$.width,ee=U.height,et=U.width,en={left:0,top:0,right:W,bottom:K},er={left:-Q,top:-X,right:Y-Q,bottom:q-X},ea=L.htmlRegion,eo="visible",ei="visibleFirst";"scroll"!==ea&&ea!==ei&&(ea=eo);var eu=ea===ei,ec=(0,d.getVisibleArea)(er,x),el=(0,d.getVisibleArea)(en,x),es=ea===eo?el:ec,ef=eu?el:es;_.style.left="auto",_.style.top="auto",_.style.right="0",_.style.bottom="0";var ed=_.getBoundingClientRect();_.style.left=O,_.style.top=C,_.style.right=M,_.style.bottom=I,_.style.overflow=R,null===(B=_.parentElement)||void 0===B||B.removeChild(N);var ep=(0,d.toNum)(Math.round(J/parseFloat(T)*1e3)/1e3),eh=(0,d.toNum)(Math.round(Z/parseFloat(P)*1e3)/1e3);if(!(0===ep||0===eh||(0,u.isDOM)(n)&&!(0,c.default)(n))){var em=L.offset,ev=L.targetOffset,eb=h($,em),eg=(0,i.default)(eb,2),ey=eg[0],e_=eg[1],eE=h(U,ev),ew=(0,i.default)(eE,2),eS=ew[0],ex=ew[1];U.x-=eS,U.y-=ex;var ek=L.points||[],eT=(0,i.default)(ek,2),eP=eT[0],eA=eT[1],eO=m(eA),eC=m(eP),eM=v(U,eO),eI=v($,eC),eR=(0,o.default)({},L),eL=eM.x-eI.x+ey,eN=eM.y-eI.y+e_,eD=tE(eL,eN),ej=tE(eL,eN,el),eF=v(U,["t","l"]),eB=v($,["t","l"]),eU=v(U,["b","r"]),eH=v($,["b","r"]),ez=L.overflow||{},eG=ez.adjustX,e$=ez.adjustY,eV=ez.shiftX,eW=ez.shiftY,eK=function(e){return"boolean"==typeof e?e:e>=0;};tw();var eY=eK(e$),eq=eC[0]===eO[0];if(eY&&"t"===eC[0]&&(s>ef.bottom||k.current.bt)){var eX=eN;eq?eX-=Z-ee:eX=eF.y-eH.y-e_;var eQ=tE(eL,eX),eZ=tE(eL,eX,el);eQ>eD||eQ===eD&&(!eu||eZ>=ej)?(k.current.bt=!0,eN=eX,e_=-e_,eR.points=[b(eC,0),b(eO,0)]):k.current.bt=!1;}if(eY&&"b"===eC[0]&&(leD||e0===eD&&(!eu||e1>=ej)?(k.current.tb=!0,eN=eJ,e_=-e_,eR.points=[b(eC,0),b(eO,0)]):k.current.tb=!1;}var e2=eK(eG),e3=eC[1]===eO[1];if(e2&&"l"===eC[1]&&(y>ef.right||k.current.rl)){var e6=eL;e3?e6-=J-et:e6=eF.x-eH.x-ey;var e7=tE(e6,eN),e9=tE(e6,eN,el);e7>eD||e7===eD&&(!eu||e9>=ej)?(k.current.rl=!0,eL=e6,ey=-ey,eR.points=[b(eC,1),b(eO,1)]):k.current.rl=!1;}if(e2&&"r"===eC[1]&&(feD||e4===eD&&(!eu||e5>=ej)?(k.current.lr=!0,eL=e8,ey=-ey,eR.points=[b(eC,1),b(eO,1)]):k.current.lr=!1;}tw();var te=!0===eV?0:eV;"number"==typeof te&&(fel.right&&(eL-=y-el.right-ey,U.x>el.right-te&&(eL+=U.x-el.right+te)));var tt=!0===eW?0:eW;"number"==typeof tt&&(lel.bottom&&(eN-=s-el.bottom-e_,U.y>el.bottom-tt&&(eN+=U.y-el.bottom+tt)));var tn=$.x+eL,tr=tn+J,ta=$.y+eN,to=ta+Z,ti=U.x,tu=ti+et,tc=U.y,tl=tc+ee,ts=Math.max(tn,ti),tf=Math.min(tr,tu),td=(ts+tf)/2,tp=td-tn,th=Math.max(ta,tc),tm=Math.min(to,tl),tv=(th+tm)/2,tb=tv-ta;null==g||g(t,eR);var tg=ed.right-$.x-(eL+$.width),ty=ed.bottom-$.y-(eN+$.height);1===ep&&(eL=Math.round(eL),tg=Math.round(tg)),1===eh&&(eN=Math.round(eN),ty=Math.round(ty));var t_={ready:!0,offsetX:eL/ep,offsetY:eN/eh,offsetR:tg/ep,offsetB:ty/eh,arrowX:tp/ep,arrowY:tb/eh,scaleX:ep,scaleY:eh,align:eR};w(t_);}function tE(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:es,r=$.x+e,a=$.y+t,o=r+J,i=a+Z,u=Math.max(r,n.left),c=Math.max(a,n.top);return Math.max(0,(Math.min(o,n.right)-u)*(Math.min(i,n.bottom)-c));}function tw(){s=(l=$.y+eN)+Z,y=(f=$.x+eL)+J;}}}),A=function(){S.current+=1;var e=S.current;Promise.resolve().then(function(){S.current===e&&P();});},O=function(){w(function(e){return(0,o.default)((0,o.default)({},e),{},{ready:!1});});};return(0,s.default)(O,[r]),(0,s.default)(function(){e||O();},[e]),[E.ready,E.offsetX,E.offsetY,E.offsetR,E.offsetB,E.arrowX,E.arrowY,E.scaleX,E.scaleY,E.align,A];}},"30a81b02":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"})});},"30aadc6b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("48e642d4");let r=[{id:"bar-\u6761\u5F62\u56FE",depth:1,title:"Bar \u6761\u5F62\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"bar-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"bar-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"bar-demo-group",depth:3,title:"\u5206\u7EC4\u6761\u5F62\u56FE"},{id:"bar-demo-stack",depth:3,title:"\u5806\u53E0\u6761\u5F62\u56FE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"barprops",depth:3,title:"BarProps"},{id:"bardataitem",depth:3,title:"BarDataItem"}],a={title:"Bar \u6761\u5F62\u56FE",toc:"content",filename:"src/Bar/index.md",atomId:"Bar",lastUpdated:1734934621e3,order:4,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2}};},"30dbdd9e":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("7c8234aa"),i=n("049b76d1");r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0);return!0===i(t,function(e){if(n(e,e,t))return!0;},!0);}});},"30f9e47f":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("762839db"),i=n("71cfa629"),u=n("6582164c"),c=i.Map,l=i.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=new c;return u(t,function(e,a){l(r,n(e,a,t),e);}),r;}});},"30fb4089":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("361d5d06"));n("9093f42f");var i=n("27ca0e6b"),u=r._(n("73a85ba2")),c=a._(n("9d065c04")),l=n("2f794f81");function s(e,t,n,r,a,s,f,d){var p=c.useRef(e),h=c.useRef(!1);p.current!==e&&(h.current=!0,p.current=e),c.useEffect(function(){var e=(0,u.default)(function(){h.current=!1;});return function(){u.default.cancel(e);};},[e]),c.useEffect(function(){if(t&&r&&(!a||s)){var e=function(){var e=!1;return[function(t){e=f(t.target);},function(t){var n=t.target;h.current||!p.current||e||f(n)||d(!1);}];},u=e(),c=(0,o.default)(u,2),m=c[0],v=c[1],b=e(),g=(0,o.default)(b,2),y=g[0],_=g[1],E=(0,l.getWin)(r);E.addEventListener("mousedown",m,!0),E.addEventListener("click",v,!0),E.addEventListener("contextmenu",v,!0);var w=(0,i.getShadowRoot)(n);return w&&(w.addEventListener("mousedown",y,!0),w.addEventListener("click",_,!0),w.addEventListener("contextmenu",_,!0)),function(){E.removeEventListener("mousedown",m,!0),E.removeEventListener("click",v,!0),E.removeEventListener("contextmenu",v,!0),w&&(w.removeEventListener("mousedown",y,!0),w.removeEventListener("click",_,!0),w.removeEventListener("contextmenu",_,!0));};}},[t,n,r,a,s]);}},"312e721e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("852bbaa9")._(n("9d065c04")).memo(function(e){return e.children;},function(e,t){return t.cache;});},"31a11f5f":function(e,t,n){},"32db7d60":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("820fed99"),o=n("377218ed"),i=n("2e3fa3e3"),u=n("1022370d"),c=n("f9f0e99d"),l=n("4fccae39"),s=n("8fcc8f13"),f=n("08279926"),d=n("c9572803"),p=n("d71b5fbf"),h=n("0d4455ba"),m=n("93611cd2"),v=f("Promise"),b=l("toStringTag"),g="AsyncIteratorHelper",y="WrapForValidAsyncIterator",_=s.set,E=function(e){var t=!e,n=s.getterFor(e?y:g),u=function(e){var r=a(function(){return n(e);}),o=r.error,i=r.value;return o||t&&i.done?{exit:!0,value:o?v.reject(i):v.resolve(h(void 0,!0))}:{exit:!1,value:i};};return c(i(p),{next:function(){var e=u(this),t=e.value;if(e.exit)return t;var n=a(function(){return o(t.nextHandler(v));}),r=n.error,i=n.value;return r&&(t.done=!0),r?v.reject(i):v.resolve(i);},return:function(){var t,n,i=u(this),c=i.value;if(i.exit)return c;c.done=!0;var l=c.iterator,s=a(function(){if(c.inner)try{m(c.inner.iterator,"normal");}catch(e){return m(l,"throw",e);}return d(l,"return");});return(t=n=s.value,s.error)?v.reject(n):void 0===t?v.resolve(h(void 0,!0)):(n=(s=a(function(){return r(t,l);})).value,s.error)?v.reject(n):e?v.resolve(n):v.resolve(n).then(function(e){return o(e),h(void 0,!0);});}});},w=E(!0),S=E(!1);u(S,b,"Async Iterator Helper"),e.exports=function(e,t){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=t?y:g,r.nextHandler=e,r.counter=0,r.done=!1,_(this,r);};return n.prototype=t?w:S,n;};},"32f44035":function(e,t,n){"use strict";e.exports=n("8a4a495f");},"32f67cc2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"createIntl",{enumerable:!0,get:function(){return f;}});var r=n("852bbaa9"),a=n("b594a703"),o=n("8b30805d"),i=n("5207c85c"),u=r._(n("9d065c04")),c=n("196f905b");function l(e){return e?Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=(0,i.isFormatXMLElementFn)(r)?(0,c.assignUniqueKeysToParts)(r):r,t;},{}):e;}var s=function(e,t,n,r){for(var i=[],c=4;c>>0,o=n>>>0;return(t>>>0)-(r>>>0)-((~a&o|~(a^o)&a-o>>>0)>>>31)|0;}});},"3480b7d9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return c;},useLayoutUpdateEffect:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9")._(n("9d065c04")),o=(0,r._(n("70228951")).default)()?a.useLayoutEffect:a.useEffect,i=function(e,t){var n=a.useRef(!0);o(function(){return e(n.current);},t),o(function(){return n.current=!1,function(){n.current=!0;};},[]);},u=function(e,t){i(function(t){if(!t)return e();},t);},c=i;},"34c40226":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{parseNumberSkeleton:function(){return m;},parseNumberSkeletonFromString:function(){return o;}});var r=n("b594a703"),a=n("c3290680");function o(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(a.WHITE_SPACE_REGEX).filter(function(e){return e.length>0;}),n=[],r=0,o=t;r1)throw RangeError("integer-width stems only accept a single optional option");o.options[0].replace(l,function(e,n,r,a,o,i){if(n)t.minimumIntegerDigits=r.length;else if(a&&o)throw Error("We currently do not support maximum integer digits");else if(i)throw Error("We currently do not support exact integer digits");return"";});continue;}if(s.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue;}if(u.test(o.stem)){if(o.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(u,function(e,n,r,a,o,i){return"*"===r?t.minimumFractionDigits=n.length:a&&"#"===a[0]?t.maximumFractionDigits=a.length:o&&i?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+i.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),"";});var m=o.options[0];"w"===m?t=(0,r.__assign)((0,r.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):m&&(t=(0,r.__assign)((0,r.__assign)({},t),f(m)));continue;}if(c.test(o.stem)){t=(0,r.__assign)((0,r.__assign)({},t),f(o.stem));continue;}var v=d(o.stem);v&&(t=(0,r.__assign)((0,r.__assign)({},t),v));var b=p(o.stem);b&&(t=(0,r.__assign)((0,r.__assign)({},t),b));}return t;}},"35254f2d":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("5ccfbb20").unpack,i=a(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(e){var t=i(this,e,arguments.length>1&&arguments[1]);return o([255&t,t>>8&255],10);}});},"35dd182e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("852bbaa9")._(n("9d065c04")),a=n("949d70f4");function o(e,t,n,o){var i=r.useContext(a.MenuContext),u=i.activeKey,c=i.onActive,l=i.onInactive,s={active:u===e};return t||(s.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),c(e);},s.onMouseLeave=function(t){null==o||o({key:e,domEvent:t}),l(e);}),s;}},"361d5d06":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=r._(n("de61d7df")),o=r._(n("ae0eedb7")),i=r._(n("e242f3cb")),u=r._(n("9a0fcc56"));function c(e,t){return(0,a.default)(e)||(0,o.default)(e,t)||(0,i.default)(e,t)||(0,u.default)();}},"364f5b40":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function");}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"36678d47":function(e,t,n){"use strict";var r=n("377218ed"),a=n("4fb239fa"),o=n("42e9210f"),i=n("4fccae39")("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||o(n=r(u)[i])?t:a(n);};},"369c0c48":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("852bbaa9"),a=n("64c7e51a"),o=r._(n("9d065c04")),i=o.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=(0,a.supportRef)(n),u=o.useCallback(function(e){(0,a.fillRef)(t,r?r(e):e);},[r]),c=(0,a.useComposeRef)(u,n.ref);return i?o.cloneElement(n,{ref:c}):n;});},"36d2efb6":function(e,t,n){"use strict";var r=n("bf6625f8"),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments);};},"37188e0b":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("4dc0409c");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("difference")},{difference:a});},"373639b6":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4));};},"377218ed":function(e,t,n){"use strict";var r=n("7087e9e6"),a=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(a(e)+" is not an object");};},"37b349d0":function(e,t,n){"use strict";var r=n("b69db97a"),a=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new o("Can't set "+a(e)+" as a prototype");};},"37c75d5d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"timeData",{enumerable:!0,get:function(){return r;}});var r={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};},"37e3f8f8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("bc3725d3")),o=r._(n("3480b7d9")),i=n("2f794f81");function u(e,t,n,r,u){(0,o.default)(function(){if(e&&t&&n){var o=t,c=n,l=(0,i.collectScroller)(o),s=(0,i.collectScroller)(c),f=(0,i.getWin)(c),d=new Set([f].concat((0,a.default)(l),(0,a.default)(s)));function p(){r(),u();}return d.forEach(function(e){e.addEventListener("scroll",p,{passive:!0});}),f.addEventListener("resize",p,{passive:!0}),r(),function(){d.forEach(function(e){e.removeEventListener("scroll",p),f.removeEventListener("resize",p);});};}},[e,t,n]);}},"37fa6dc3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=f.reach));S+=w.value.length,w=w.next){var x,k=w.value;if(t.length>e.length)return;if(!(k instanceof a)){var T=1;if(g){if(!(x=o(E,S,e,b))||x.index>=e.length)break;var P=x.index,A=x.index+x[0].length,O=S;for(O+=w.value.length;P>=O;)O+=(w=w.next).value.length;if(O-=w.value.length,S=O,w.value instanceof a)continue;for(var C=w;C!==t.tail&&(Of.reach&&(f.reach=L);var N=w.prev;I&&(N=c(t,N,I),S+=I.length),l(t,N,T);var D=new a(d,v?r.tokenize(M,v):M,y,M);if(w=c(t,N,D),R&&c(t,w,R),T>1){var j={cause:d+","+h,reach:L};i(e,t,n,w.prev,S,j),f&&j.reach>f.reach&&(f.reach=j.reach);}}}}}}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0;}function c(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a;}function l(e,t,n){for(var r=t.next,a=0;a"+o.content+"";},r;}(),a=r;r.default=r,a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\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://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]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"));}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e;}),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o);}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}});}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.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|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.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},a.languages.c.string],char:a.languages.c.char,comment:a.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:a.languages.c}}}}),a.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 a.languages.c.boolean,function(e){var t=/\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/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source;});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.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:t,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/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n;})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"]);}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"));}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.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":[n,{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:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.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:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a});}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.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}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.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:a.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:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.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:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.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:a.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"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.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")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],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"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript;}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r;}).replace(/<>/g,function(){return e;}),t);}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r;})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r;}).replace(/<>/g,function(){return"(?:"+a+"|"+o+")";})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\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:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml;}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t;}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")");}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r;}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.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:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.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(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n]);});}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&t(e.tokens);function t(e){if(e&&"string"!=typeof e)for(var n=0,r=e.length;n",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function l(e){return e.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){if("#"===(t=t.toLowerCase())[0]){var n;return c(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)));}return u[t]||e;});}e.languages.md=e.languages.markdown;}(a),a.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:a.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+/},a.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type;}),n=0;n0)){var u=d(/^\{$/,/^\}$/);if(-1===u)continue;for(var c=n;c=0&&p(l,"variable-input");}}}}function s(e){return t[n+e];}function f(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}};}function u(e,t){return"___"+t.toUpperCase()+"_"+e+"___";}function c(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens;}function l(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,c(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i);}return new e.Token("interpolation",o,r.alias,t);}function s(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,s={},f=c(a.map(function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=u(i++,r)););return s[n]=a,n;}).join(""),n,r),d=Object.keys(s);function p(e){for(var t=0;t=d.length)return;var n=e[t];if("string"==typeof n||"string"==typeof n.content){var r=d[i],a="string"==typeof n?n:n.content,o=a.indexOf(r);if(-1!==o){++i;var u=a.substring(0,o),c=l(s[r]),f=a.substring(o+r.length),h=[];if(u&&h.push(u),h.push(c),f){var m=[f];p(m),h.push.apply(h,m);}"string"==typeof n?(e.splice.apply(e,[t,1].concat(h)),t+=h.length-1):n.content=h;}}else{var v=n.content;Array.isArray(v)?p(v):p([v]);}}}return i=0,p(f),new e.Token(r,f,"language-"+r,t);}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content);}e.hooks.add("after-tokenize",function(t){t.language in f&&n(t.tokens);function n(t){for(var r=0,a=t.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript;}(a),function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source;}),t);}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.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"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.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"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.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 n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return RegExp(e=e.replace(//g,function(){return n;}).replace(//g,function(){return r;}).replace(//g,function(){return a;}),t);}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):"";},u=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var c=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(c=i(t[r-1])+c,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",c,null,c);}a.content&&"string"!=typeof a.content&&u(a.content);}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&u(e.tokens);});}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}};}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t});}(a),a.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},a.languages.go=a.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/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___";}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,u=i.length;-1!==n.code.indexOf(a=t(r,u));)++u;return i[u]=e,a;}),n.grammar=e.languages.markup;}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);i(n.tokens);}function i(u){for(var c=0;c=o.length);c++){var l=u[c];if("string"==typeof l||l.content&&"string"==typeof l.content){var s=o[a],f=n.tokenStack[s],d="string"==typeof l?l:l.content,p=t(r,s),h=d.indexOf(p);if(h>-1){++a;var m=d.substring(0,h),v=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),b=d.substring(h+p.length),g=[];m&&g.push.apply(g,i([m])),g.push(v),b&&g.push.apply(g,i([b])),"string"==typeof l?u.splice.apply(u,[c,1].concat(g)):l.content=g;}}else l.content&&i(l.content);}return u;}}}});}(a),function(e){e.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]+/},e.hooks.add("before-tokenize",function(t){var n=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(t,"handlebars",n);}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars");}),e.languages.hbs=e.languages.handlebars;}(a),a.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"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.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:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.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:/[:;(){}]/},a.languages.objectivec=a.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 a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.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/},a.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:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.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/}),a.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 a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.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}});}(a),a.languages.scss=a.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]+\}/}}}),a.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}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.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}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={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:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"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:r.interpolation}},rest:r}},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:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/};}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0;}(a),a.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 o=a;},"3852a4e2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("777fffbe")._(n("70228951")),a=n("9d065c04"),o=(0,r.default)()?a.useLayoutEffect:a.useEffect;},"38be20dd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{STATUS_APPEAR:function(){return a;},STATUS_ENTER:function(){return o;},STATUS_LEAVE:function(){return i;},STATUS_NONE:function(){return r;},STEP_ACTIVATED:function(){return f;},STEP_ACTIVE:function(){return s;},STEP_NONE:function(){return u;},STEP_PREPARE:function(){return c;},STEP_PREPARED:function(){return d;},STEP_START:function(){return l;}});var r="none",a="appear",o="enter",i="leave",u="none",c="prepare",l="start",s="active",f="end",d="prepared";},"38cf5848":function(e,t,n){"use strict";var r=function(e,t,n,r,a,o,i,u){if(!e){var c;if(void 0===t)c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,i,u],s=0;(c=Error(t.replace(/%s/g,function(){return l[s++];}))).name="Invariant Violation";}throw c.framesToPop=1,c;}};e.exports=r;},"39177d30":function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView;},"3926a2d9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useRenderer",{enumerable:!0,get:function(){return v;}});var r=n("9d065c04"),a=n("861ce6cf");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}function i(){"use strict";i=function(){return e;};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value;},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t];}try{s({},"");}catch(e){s=function(e,t,n){return e[t]=n;};}function f(e,t,n,a){var o=Object.create((t&&t.prototype instanceof h?t:h).prototype);return r(o,"_invoke",{value:S(e,n,new P(a||[]))}),o;}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)};}catch(e){return{type:"throw",arg:e};}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var b={};s(b,u,function(){return this;});var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==t&&n.call(y,u)&&(b=y);var _=v.prototype=h.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e);});});}function w(e,t){var a;function i(r,a,u,c){var l=d(e[r],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==o(f)&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){i("next",e,u,c);},function(e){i("throw",e,u,c);}):t.resolve(f).then(function(e){s.value=e,u(s);},function(e){return i("throw",e,u,c);});}c(l.arg);}r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){i(e,n,t,r);});}return a=a?a.then(r,r):r();}});}function S(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return O();}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var u=x(i,n);if(u){if(u===p)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done};}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg);}};}function x(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var a=d(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=TypeError("iterator result is not an object"),t.delegate=null,p);}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t);}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t;}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0);}function A(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p;}},e;}function u(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value;}catch(e){n(e);return;}u.done?t(c):Promise.resolve(c).then(r,a);}function c(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,c,"next",e);}function c(e){u(o,r,a,i,c,"throw",e);}i(void 0);});};}function l(e,t){return h(e)||p(e,t)||f(e,t)||s();}function s(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function f(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t);}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&("undefined"==typeof window||window.innerWidth>1024))for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=Array(t);nPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("f7388c2c")]).then(n.dr(r,n.bind(n,"c36e3664")))};},"3c34b2aa":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("ff5769a6"),o=n("762839db"),i=n("6582164c"),u=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(a(e),i(t,function(a,o){n?(n=!1,r=a):r=e(r,a,o,t);}),n)throw new u("Reduce of empty map with no initial value");return r;}});},"3cf27215":function(e,t,n){"use strict";var r=n("0db032d7"),a=Set.prototype;e.exports={Set:Set,add:r(a.add),has:r(a.has),remove:r(a.delete),proto:a};},"3d75c2bd":function(e,t,n){"use strict";var r=n("0db032d7"),a=0,o=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++a+o,36);};},"3e039690":function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t};};},"3e08fb5f":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e81c7d0b").toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return a(this,void 0,[]);}});},"3eb9f3f5":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ErrorCode:function(){return r;},FormatError:function(){return o;},InvalidValueError:function(){return i;},InvalidValueTypeError:function(){return u;},MissingValueError:function(){return c;}});var r,a=n("b594a703");!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";}(r||(r={}));var o=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.code=n,a.originalMessage=r,a;}return(0,a.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message);},t;}(Error),i=function(e){function t(t,n,a,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),r.INVALID_VALUE,o)||this;}return(0,a.__extends)(t,e),t;}(o),u=function(e){function t(t,n,a){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,a)||this;}return(0,a.__extends)(t,e),t;}(o),c=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this;}return(0,a.__extends)(t,e),t;}(o);},"3eced25d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("f11370d0"));function a(e,t,n){return(t=(0,r.default)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}},"3fd257da":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("cbe5736b");let a={ids:["histogram-demo-common","histogram-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("586840a9")]).then(n.dr(r,n.bind(n,"5e872601")))};},"3ff4a928":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return C;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1fc4f16a")),u=r._(n("bc3725d3")),c=r._(n("1de795bc")),l=r._(n("361d5d06")),s=r._(n("30142f75")),f=r._(n("d6cbc7a1")),d=r._(n("e0ebc827")),p=n("64c7e51a"),h=a._(n("9d065c04")),m=r._(n("4347f168")),v=r._(n("13ddf03d")),b=r._(n("859d726c")),g=r._(n("4182f1bd")),y=r._(n("4be473c6")),_=a._(n("fefa3346")),E=r._(n("592a8fe4")),w=n("c1f00ff3"),S=r._(n("0f41ff34")),x=r._(n("1d20771a")),k=r._(n("a00876f5")),T=r._(n("c7ed5220")),P=function(e,t){var n=e.offsetWidth,r=e.offsetHeight,a=e.offsetTop,o=e.offsetLeft,i=e.getBoundingClientRect(),u=i.width,c=i.height,l=i.x,s=i.y;return 1>Math.abs(u-n)?[u,c,l-t.x,s-t.y]:[n,r,o,a];},A=function(e){var t=e.current||{},n=t.offsetWidth,r=void 0===n?0:n,a=t.offsetHeight,o=void 0===a?0:a;if(e.current){var i=e.current.getBoundingClientRect(),u=i.width,c=i.height;if(1>Math.abs(u-r))return[u,c];}return[r,o];},O=function(e,t){return e[t?0:1];},C=h.forwardRef(function(e,t){var n,r,a,C,M,I=e.className,R=e.style,L=e.id,N=e.animated,D=e.activeKey,j=e.rtl,F=e.extra,B=e.editable,U=e.locale,H=e.tabPosition,z=e.tabBarGutter,G=e.children,$=e.onTabClick,V=e.onTabScroll,W=e.indicatorSize,K=e.indicatorAlign,Y=h.useContext(m.default),q=Y.prefixCls,X=Y.tabs,Q=(0,h.useRef)(null),Z=(0,h.useRef)(null),J=(0,h.useRef)(null),ee=(0,h.useRef)(null),et=(0,h.useRef)(null),en=(0,h.useRef)(null),er=(0,h.useRef)(null),ea="top"===H||"bottom"===H,eo=(0,g.default)(0,function(e,t){ea&&V&&V({direction:e>t?"left":"right"});}),ei=(0,l.default)(eo,2),eu=ei[0],ec=ei[1],el=(0,g.default)(0,function(e,t){!ea&&V&&V({direction:e>t?"top":"bottom"});}),es=(0,l.default)(el,2),ef=es[0],ed=es[1],ep=(0,h.useState)([0,0]),eh=(0,l.default)(ep,2),em=eh[0],ev=eh[1],eb=(0,h.useState)([0,0]),eg=(0,l.default)(eb,2),ey=eg[0],e_=eg[1],eE=(0,h.useState)([0,0]),ew=(0,l.default)(eE,2),eS=ew[0],ex=ew[1],ek=(0,h.useState)([0,0]),eT=(0,l.default)(ek,2),eP=eT[0],eA=eT[1],eO=(0,_.useUpdateState)(new Map),eC=(0,l.default)(eO,2),eM=eC[0],eI=eC[1],eR=(0,b.default)(X,eM,ey[0]),eL=O(em,ea),eN=O(ey,ea),eD=O(eS,ea),ej=O(eP,ea),eF=eLez?ez:e;}ea&&j?(eH=0,ez=Math.max(0,eN-eB)):(eH=Math.min(0,eB-eN),ez=0);var e$=(0,h.useRef)(null),eV=(0,h.useState)(),eW=(0,l.default)(eV,2),eK=eW[0],eY=eW[1];function eq(){eY(Date.now());}function eX(){e$.current&&clearTimeout(e$.current);}(0,y.default)(ee,function(e,t){function n(e,t){e(function(e){return eG(e+t);});}return!!eF&&(ea?n(ec,e):n(ed,t),eX(),eq(),!0);}),(0,h.useEffect)(function(){return eX(),eK&&(e$.current=setTimeout(function(){eY(0);},100)),eX;},[eK]);var eQ=(0,E.default)(eR,eB,ea?eu:ef,eN,eD,ej,(0,c.default)((0,c.default)({},e),{},{tabs:X})),eZ=(0,l.default)(eQ,2),eJ=eZ[0],e0=eZ[1],e1=(0,d.default)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,t=eR.get(e)||{width:0,height:0,left:0,right:0,top:0};if(ea){var n=eu;j?t.righteu+eB&&(n=t.right+t.width-eB):t.left<-eu?n=-t.left:t.left+t.width>-eu+eB&&(n=-(t.left+t.width-eB)),ed(0),ec(eG(n));}else{var r=ef;t.top<-ef?r=-t.top:t.top+t.height>-ef+eB&&(r=-(t.top+t.height-eB)),ec(0),ed(eG(r));}}),e2={};"top"===H||"bottom"===H?e2[j?"marginRight":"marginLeft"]=z:e2.marginTop=z;var e3=X.map(function(e,t){var n=e.key;return h.createElement(T.default,{id:L,prefixCls:q,key:n,tab:e,style:0===t?void 0:e2,closable:e.closable,editable:B,active:n===D,renderWrapper:G,removeAriaLabel:null==U?void 0:U.removeAriaLabel,onClick:function(e){$(n,e);},onFocus:function(){e1(n),eq(),ee.current&&(j||(ee.current.scrollLeft=0),ee.current.scrollTop=0);}});}),e6=function(){return eI(function(){var e,t=new Map,n=null===(e=et.current)||void 0===e?void 0:e.getBoundingClientRect();return X.forEach(function(e){var r,a=e.key,o=null===(r=et.current)||void 0===r?void 0:r.querySelector('[data-node-key="'.concat((0,w.genDataNodeKey)(a),'"]'));if(o){var i=P(o,n),u=(0,l.default)(i,4),c=u[0],s=u[1],f=u[2],d=u[3];t.set(a,{width:c,height:s,left:f,top:d});}}),t;});};(0,h.useEffect)(function(){e6();},[X.map(function(e){return e.key;}).join("_")]);var e7=(0,_.default)(function(){var e=A(Q),t=A(Z),n=A(J);ev([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=A(er);ex(r),eA(A(en));var a=A(et);e_([a[0]-r[0],a[1]-r[1]]),e6();}),e9=X.slice(0,eJ),e8=X.slice(e0+1),e4=[].concat((0,u.default)(e9),(0,u.default)(e8)),e5=eR.get(D),te=(0,v.default)({activeTabOffset:e5,horizontal:ea,rtl:j,indicatorSize:W,indicatorAlign:K}).style;(0,h.useEffect)(function(){e1();},[D,eH,ez,(0,w.stringify)(e5),(0,w.stringify)(eR),ea]),(0,h.useEffect)(function(){e7();},[j]);var tt=!!e4.length,tn="".concat(q,"-nav-wrap");return ea?j?(a=eu>0,r=eu!==ez):(r=eu<0,a=eu!==eH):(C=ef<0,M=ef!==eH),h.createElement(f.default,{onResize:e7},h.createElement("div",{ref:(0,p.useComposeRef)(t,Q),role:"tablist",className:(0,s.default)("".concat(q,"-nav"),I),style:R,onKeyDown:function(){eq();}},h.createElement(x.default,{ref:Z,position:"left",extra:F,prefixCls:q}),h.createElement(f.default,{onResize:e7},h.createElement("div",{className:(0,s.default)(tn,(n={},(0,i.default)(n,"".concat(tn,"-ping-left"),r),(0,i.default)(n,"".concat(tn,"-ping-right"),a),(0,i.default)(n,"".concat(tn,"-ping-top"),C),(0,i.default)(n,"".concat(tn,"-ping-bottom"),M),n)),ref:ee},h.createElement(f.default,{onResize:e7},h.createElement("div",{ref:et,className:"".concat(q,"-nav-list"),style:{transform:"translate(".concat(eu,"px, ").concat(ef,"px)"),transition:eK?"none":void 0}},e3,h.createElement(S.default,{ref:er,prefixCls:q,locale:U,editable:B,style:(0,c.default)((0,c.default)({},0===e3.length?void 0:e2),{},{visibility:tt?"hidden":null})}),h.createElement("div",{className:(0,s.default)("".concat(q,"-ink-bar"),(0,i.default)({},"".concat(q,"-ink-bar-animated"),N.inkBar)),style:te}))))),h.createElement(k.default,(0,o.default)({},e,{removeAriaLabel:null==U?void 0:U.removeAriaLabel,ref:en,prefixCls:q,tabs:e4,className:!tt&&eU,tabMoving:!!eK})),h.createElement(x.default,{ref:J,position:"right",extra:F,prefixCls:q})));});},40554639:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useIntersectionObserver",{enumerable:!0,get:function(){return i;}});var r=n("777fffbe"),a=r._(n("a3594f55")),o=r._(n("9d065c04"));function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!=typeof IntersectionObserver)return null;var i=o.default.useRef("function"==typeof IntersectionObserver),u=o.default.useRef(null);return o.default.useEffect(function(){if(e.current&&i.current&&!r.disabled)return u.current=new IntersectionObserver(function(e){t((0,a.default)(e,1)[0]);},n),u.current.observe(e.current),function(){var e;null===(e=u.current)||void 0===e||e.disconnect();};},[t,n,r.disabled,e]),u.current;}},"4069ad7f":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("ff5769a6"),o=n("377218ed"),i=n("f081b157"),u=n("33aa6602"),c=n("e7f68c76"),l=u(function(){var e=this.iterator,t=o(r(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0);});e.exports=function(e){return o(this),a(e),new l(i(this),{mapper:e});};},"40b87bee":function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r];}return n;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"40cda0af":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("c60c8136")),c=r._(n("ded8d26f")),l=a._(n("9d065c04")),s=n("d7338ed7"),f=r._(n("48ba297a")),d=r._(n("30142f75")),p=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],h=function(e,t){var n=e.overlayClassName,r=e.trigger,a=void 0===r?["hover"]:r,h=e.mouseEnterDelay,m=void 0===h?0:h,v=e.mouseLeaveDelay,b=void 0===v?.1:v,g=e.overlayStyle,y=e.prefixCls,_=void 0===y?"rc-tooltip":y,E=e.children,w=e.onVisibleChange,S=e.afterVisibleChange,x=e.transitionName,k=e.animation,T=e.motion,P=e.placement,A=void 0===P?"right":P,O=e.align,C=void 0===O?{}:O,M=e.destroyTooltipOnHide,I=void 0!==M&&M,R=e.defaultVisible,L=e.getTooltipContainer,N=e.overlayInnerStyle,D=(e.arrowContent,e.overlay),j=e.id,F=e.showArrow,B=void 0===F||F,U=e.classNames,H=e.styles,z=(0,u.default)(e,p),G=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,function(){return G.current;});var $=(0,i.default)({},z);"visible"in e&&($.popupVisible=e.visible);var V=function(){return l.createElement(f.default,{key:"content",prefixCls:_,id:j,bodyClassName:null==U?void 0:U.body,overlayInnerStyle:(0,i.default)((0,i.default)({},N),null==H?void 0:H.body)},D);};return l.createElement(c.default,(0,o.default)({popupClassName:(0,d.default)(n,null==U?void 0:U.root),prefixCls:_,popup:V,action:a,builtinPlacements:s.placements,popupPlacement:A,ref:G,popupAlign:C,getPopupContainer:L,onPopupVisibleChange:w,afterPopupVisibleChange:S,popupTransitionName:x,popupAnimation:k,popupMotion:T,defaultPopupVisible:R,autoDestroy:I,mouseLeaveDelay:b,popupStyle:(0,i.default)((0,i.default)({},g),null==H?void 0:H.root),mouseEnterDelay:m,arrow:B},$),E);},m=(0,l.forwardRef)(h);},"40edc2cc":function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(e){}return(r=function(){return!!e;})();}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"4127a61d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("e4cce9a6"));},"4182f1bd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("361d5d06")),i=a._(n("9d065c04"));function u(e,t){var n=i.useRef(e),r=i.useState({}),a=(0,o.default)(r,2)[1];function u(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,a({});}return[n.current,u];}},"41b36e61":function(e,t,n){"use strict";e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t);}catch(e){}};},"420fb794":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return v;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1de795bc")),i=r._(n("1fc4f16a")),u=r._(n("361d5d06")),c=n("1806108e"),l=r._(n("d7b22ddb")),s=r._(n("5c3bcdf8")),f=a._(n("9d065c04")),d=n("38be20dd"),p=r._(n("f7ad3e06")),h=r._(n("3852a4e2")),m=a._(n("b46f0b22"));function v(e,t,n,r){var a=r.motionEnter,v=void 0===a||a,b=r.motionAppear,g=void 0===b||b,y=r.motionLeave,_=void 0===y||y,E=r.motionDeadline,w=r.motionLeaveImmediately,S=r.onAppearPrepare,x=r.onEnterPrepare,k=r.onLeavePrepare,T=r.onAppearStart,P=r.onEnterStart,A=r.onLeaveStart,O=r.onAppearActive,C=r.onEnterActive,M=r.onLeaveActive,I=r.onAppearEnd,R=r.onEnterEnd,L=r.onLeaveEnd,N=r.onVisibleChanged,D=(0,l.default)(),j=(0,u.default)(D,2),F=j[0],B=j[1],U=(0,s.default)(d.STATUS_NONE),H=(0,u.default)(U,2),z=H[0],G=H[1],$=(0,l.default)(null),V=(0,u.default)($,2),W=V[0],K=V[1],Y=z(),q=(0,f.useRef)(!1),X=(0,f.useRef)(null);function Q(){return n();}var Z=(0,f.useRef)(!1);function J(){G(d.STATUS_NONE),K(null,!0);}var ee=(0,c.useEvent)(function(e){var t,n=z();if(n!==d.STATUS_NONE){var r=Q();if(!e||e.deadline||e.target===r){var a=Z.current;n===d.STATUS_APPEAR&&a?t=null==I?void 0:I(r,e):n===d.STATUS_ENTER&&a?t=null==R?void 0:R(r,e):n===d.STATUS_LEAVE&&a&&(t=null==L?void 0:L(r,e)),a&&!1!==t&&J();}}}),et=(0,p.default)(ee),en=(0,u.default)(et,1)[0],er=function(e){switch(e){case d.STATUS_APPEAR:return(0,i.default)((0,i.default)((0,i.default)({},d.STEP_PREPARE,S),d.STEP_START,T),d.STEP_ACTIVE,O);case d.STATUS_ENTER:return(0,i.default)((0,i.default)((0,i.default)({},d.STEP_PREPARE,x),d.STEP_START,P),d.STEP_ACTIVE,C);case d.STATUS_LEAVE:return(0,i.default)((0,i.default)((0,i.default)({},d.STEP_PREPARE,k),d.STEP_START,A),d.STEP_ACTIVE,M);default:return{};}},ea=f.useMemo(function(){return er(Y);},[Y]),eo=(0,m.default)(Y,!e,function(e){if(e===d.STEP_PREPARE){var t,n=ea[d.STEP_PREPARE];return n?n(Q()):m.SkipStep;}return ec in ea&&K((null===(t=ea[ec])||void 0===t?void 0:t.call(ea,Q(),null))||null),ec===d.STEP_ACTIVE&&Y!==d.STATUS_NONE&&(en(Q()),E>0&&(clearTimeout(X.current),X.current=setTimeout(function(){ee({deadline:!0});},E))),ec===d.STEP_PREPARED&&J(),m.DoStep;}),ei=(0,u.default)(eo,2),eu=ei[0],ec=ei[1],el=(0,m.isActive)(ec);Z.current=el;var es=(0,f.useRef)(null);(0,h.default)(function(){if(!q.current||es.current!==t){B(t);var n,r=q.current;q.current=!0,!r&&t&&g&&(n=d.STATUS_APPEAR),r&&t&&v&&(n=d.STATUS_ENTER),(r&&!t&&_||!r&&w&&!t&&_)&&(n=d.STATUS_LEAVE);var a=er(n);n&&(e||a[d.STEP_PREPARE])?(G(n),eu()):G(d.STATUS_NONE),es.current=t;}},[t]),(0,f.useEffect)(function(){(Y!==d.STATUS_APPEAR||g)&&(Y!==d.STATUS_ENTER||v)&&(Y!==d.STATUS_LEAVE||_)||G(d.STATUS_NONE);},[g,v,_]),(0,f.useEffect)(function(){return function(){q.current=!1,clearTimeout(X.current);};},[]);var ef=f.useRef(!1);(0,f.useEffect)(function(){F&&(ef.current=!0),void 0!==F&&Y===d.STATUS_NONE&&((ef.current||F)&&(null==N||N(F)),ef.current=!0);},[F,Y]);var ed=W;return ea[d.STEP_PREPARE]&&ec===d.STEP_START&&(ed=(0,o.default)({transition:"none"},ed)),[Y,ec,ed,null!=F?F:t];}},42387547:function(e,t,n){"use strict";var r=n("78178a98"),a=n("0db032d7");e.exports=function(e){if("Function"===r(e))return a(e);};},"42e9210f":function(e,t,n){"use strict";e.exports=function(e){return null==e;};},"4347f168":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=(0,n("9d065c04").createContext)(null);},"437bd75a":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("57506e03"),o=n("377218ed"),i=a.has,u=a.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return i(e,o(t),n);}});},"437d0f75":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("4dc0409c");r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return a(i,this,o(e));}});},"43d41f7f":function(e,t,n){"use strict";function r(e,t,n){return t||(n?n[e]||n.other:void 0);}n.d(t,"__esModule",{value:!0}),n.d(t,"getMotion",{enumerable:!0,get:function(){return r;}});},"4478aff3":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("08279926"),o=n("f0a391cd"),i=n("60eb28d7"),u=n("b1a896c2"),c="AggregateError",l=a(c),s=!i(function(){return 1!==l([1]).errors[0];})&&i(function(){return 7!==l([1],c,{cause:7}).cause;});r({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:u(c,function(e){return function(t,n){return o(e,this,arguments);};},s,!0)});},"44912f06":function(e,t,n){"use strict";function r(e){let{history:t,hydrate:n}=e;return{...e,hydrate:n&&!t.location.pathname.startsWith("/~demos")};}n.d(t,"__esModule",{value:!0}),n.d(t,"modifyClientRenderOpts",{enumerable:!0,get:function(){return r;}});},"452bec59":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("777fffbe")._(n("3eced25d"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function o(e){for(var t=1;t1?i(arguments[1]):void 0,n="base64"===f(t)?d:p,r=!!t&&!!t.strict,a=r?e:b(e,_,"");if(a.length%4==0)"=="===g(a,-2)?a=g(a,0,-2):"="===g(a,-1)&&(a=g(a,0,-1));else if(r)throw new m("Input is not correctly padded");var o=a.length%4;switch(o){case 1:throw new m("Bad input length");case 2:a+="AA";break;case 3:a+="A";}for(var s=[],w=0,S=a.length,x=function(e){var t=v(a,w+e);if(!c(n,t))throw new m('Bad char in input: "'+t+'"');return n[t]<<18-6*e;};w>16&255,k>>8&255,255&k);}var T=s.length;if(2===o){if(r&&0!==s[T-2])throw new m(E);T-=2;}else if(3===o){if(r&&0!==s[T-1])throw new m(E);T--;}return l(h,s,T);}});},"464da4a6":function(e,t,n){e.exports=n("16808f6a")();},"46e80c26":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("852bbaa9")._(n("9d065c04"));function a(e){var t=r.useRef(e);t.current=e;var n=r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1];}function o(e,t,n,r){for(var o=n.points,i=Object.keys(e),u=0;u1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e;}function s(e){return l(parseFloat(e),0);}function f(e,t){var n=(0,r.default)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=u(e).getComputedStyle(e),r=t.overflow,a=t.overflowClipMargin,o=t.borderTopWidth,i=t.borderBottomWidth,c=t.borderLeftWidth,f=t.borderRightWidth,d=e.getBoundingClientRect(),p=e.offsetHeight,h=e.clientHeight,m=e.offsetWidth,v=e.clientWidth,b=s(o),g=s(i),y=s(c),_=s(f),E=l(Math.round(d.width/m*1e3)/1e3),w=l(Math.round(d.height/p*1e3)/1e3),S=(m-v-y-_)*E,x=(p-h-b-g)*w,k=b*w,T=g*w,P=y*E,A=_*E,O=0,C=0;if("clip"===r){var M=s(a);O=M*E,C=M*w;}var I=d.x+P-O,R=d.y+k-C,L=I+d.width+2*O-P-A-S,N=R+d.height+2*C-k-T-x;n.left=Math.max(n.left,I),n.top=Math.max(n.top,R),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,N);}}),n;}},"4800823c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("5ff73e93"),i=r._(n("30142f75")),u=n("5ca000fa"),c=r._(n("ec866b79")),l=a._(n("9d065c04"));function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;ti?(a=n,A.current="x"):(a=r,A.current="y"),t(-a,-a)&&e.preventDefault();}var C=(0,i.useRef)(null);C.current={onTouchStart:k,onTouchMove:T,onTouchEnd:P,onWheel:O},i.useEffect(function(){function t(e){C.current.onTouchStart(e);}function n(e){C.current.onTouchMove(e);}function r(e){C.current.onTouchEnd(e);}function a(e){C.current.onWheel(e);}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",a),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r);};},[]);}},"4c2955dc":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("d95cb236").clear;r({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==o},{clearImmediate:o});},"4cd2fec9":function(e,t,n){"use strict";var r=n("94e1b84e"),a=n("36d2efb6"),o=n("ff5769a6"),i=n("4fb239fa"),u=n("42e9210f"),c=n("1f316010"),l=[].push;e.exports=function(e){var t,n,s,f,d=arguments.length,p=d>1?arguments[1]:void 0;return(i(this),(t=void 0!==p)&&o(p),u(e))?new this:(n=[],t?(s=0,f=r(p,d>2?arguments[2]:void 0),c(e,function(e){a(l,n,f(e,s++));})):c(e,l,{that:n}),new this(n));};},"4d4cc88a":function(e,t,n){"use strict";var r=n("cabffc8e"),a=n("bcf6a639"),o=a.aTypedArray,i=a.exportTypedArrayMethod,u=a.getTypedArrayConstructor;i("toReversed",function(){return r(o(this),u(this));});},"4dc0409c":function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("3cf27215"),o=n("bcf5f786"),i=n("ac483abd"),u=n("60a9f091"),c=n("049b76d1"),l=n("fd7850ea"),s=a.has,f=a.remove;e.exports=function(e){var t=r(this),n=u(e),a=o(t);return i(t)<=n.size?c(t,function(e){n.includes(e)&&f(a,e);}):l(n.getIterator(),function(e){s(t,e)&&f(a,e);}),a;};},"4dc6d451":function(e,t,n){"use strict";var r=n("42e9210f"),a=TypeError;e.exports=function(e){if(r(e))throw new a("Can't call method on "+e);return e;};},"4e541b01":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("777fffbe"),a=n("5ca000fa"),o=r._(n("9d065c04")),i=function(e){var t=e.tabs,n=e.tabKey,r=e.onChange,i=(0,a.useIntl)();return(null==t?void 0:t.length)?o.default.createElement("ul",{className:"dumi-default-content-tabs"},o.default.createElement("li",{onClick:function(){return r();},"data-active":!n||void 0},o.default.createElement("button",{type:"button"},i.formatMessage({id:"content.tabs.default"}))),t.map(function(e){return o.default.createElement("li",{key:e.key,onClick:function(){return r(e);},"data-active":n===e.key||void 0},o.default.createElement("button",{type:"button"},e.titleIntlId?i.formatMessage({id:e.titleIntlId}):e.meta.frontmatter.title));})):null;};},"4ea037d3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"warnItemProp",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("c60c8136")),o=r._(n("9093f42f")),i=["item"];function u(e){var t=e.item,n=(0,a.default)(e,i);return Object.defineProperty(n,"item",{get:function(){return(0,o.default)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t;}}),n;}},"4ed471c1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Item:function(){return o.default;},MenuItem:function(){return o.default;},default:function(){return s;}});var r=n("777fffbe"),a=r._(n("dc6318f2")),o=r._(n("2b2af3ca")),i=r._(n("d42c42d2")),u=r._(n("7bd6308e"));n("d507a87a");var c=r._(n("aff5b667")),l=a.default;l.Item=o.default,l.SubMenu=i.default,l.ItemGroup=u.default,l.Divider=c.default;var s=l;},"4f21cf16":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e81c7d0b").forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return a(this,e);}});},"4f336d3e":function(e,t,n){"use strict";var r=n("a2078cdf"),a=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new a("The argument can't be less than 0");return t;};},"4f74b123":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("cdfa6ed3");let r=[{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:2,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"\u4F7F\u7528\u7ED3\u6784\u5316\u7684\u6570\u636E",depth:2,title:"\u4F7F\u7528\u7ED3\u6784\u5316\u7684\u6570\u636E"}],a={title:"\u5728 Ant Design X \u4E2D\u4F7F\u7528",toc:"content",filename:"docs/guide/antd-design-x.md",lastUpdated:1734934621e3,nav:{title:"\u6307\u5357",order:0},order:1,description:"1.\u5B9A\u4E49\u56FE\u8868 Markdown \u4EE3\u7801\u5757"};},"4f79f73f":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("7c8234aa"),i=n("3cf27215"),u=n("049b76d1"),c=i.Set,l=i.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=new c;return u(t,function(e){n(e,e,t)&&l(r,e);}),r;}});},"4fb239fa":function(e,t,n){"use strict";var r=n("47c095a1"),a=n("6615efd8"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(a(e)+" is not a constructor");};},"4fccae39":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("b400dacf"),o=n("8fb0fcd1"),i=n("3d75c2bd"),u=n("c7eba360"),c=n("5202b781"),l=r.Symbol,s=a("wks"),f=c?l.for||l:l&&l.withoutSetter||i;e.exports=function(e){return o(s,e)||(s[e]=u&&o(l,e)?l[e]:f("Symbol."+e)),s[e];};},"4fddf9a4":function(e,t,n){"use strict";function r(e){return e;}n.d(t,"__esModule",{value:!0}),n.d(t,"defineApp",{enumerable:!0,get:function(){return r;}});},"4fdfda4c":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("bb3eb6b2");let a={ids:["src-text-demo-common","src-text-demo-markdown","src-text-demo-custom-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b9936f1a")]).then(n.dr(r,n.bind(n,"5fa38aaf")))};},"502ea583":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("762839db"),i=n("6582164c");r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=i(t,function(e,r){if(n(e,r,t))return{value:e};},!0);return r&&r.value;}});},"5055b047":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("039a5825");let a={ids:["mindmap-demo-common","mindmap-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("da038fda")]).then(n.dr(r,n.bind(n,"fa12b59c")))};},"50a844aa":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("ff5769a6"),o=n("377218ed"),i=n("7087e9e6"),u=n("f081b157"),c=n("32db7d60"),l=n("0d4455ba"),s=n("9bcc3d50"),f=c(function(e){var t=this,n=t.iterator,a=t.mapper;return new e(function(u,c){var f=function(e){t.done=!0,c(e);},d=function(e){s(n,f,e,f);};e.resolve(o(r(t.next,n))).then(function(n){try{if(o(n).done)t.done=!0,u(l(void 0,!0));else{var r=n.value;try{var c=a(r,t.counter++),s=function(e){u(l(e,!1));};i(c)?e.resolve(c).then(s,d):s(c);}catch(e){d(e);}}}catch(e){f(e);}},f);});});e.exports=function(e){return o(this),a(e),new f(u(this),{mapper:e});};},"51cbd84e":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("57506e03"),o=n("377218ed"),i=n("f7387e98"),u=a.has,c=a.toKey,l=function(e,t,n){if(u(e,t,n))return!0;var r=i(t);return null!==r&&l(e,r,n);};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return l(e,o(t),n);}});},"5202b781":function(e,t,n){"use strict";var r=n("c7eba360");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator;},"5207c85c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"IntlMessageFormat",{enumerable:!0,get:function(){return a.IntlMessageFormat;}});var r=n("d1751d7c"),a=n("15b37835");r._(n("3eb9f3f5"),t),r._(n("9d0c6301"),t);},"5230dadc":function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value;}catch(e){n(e);return;}u.done?t(c):Promise.resolve(c).then(r,a);}function a(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function u(e){r(i,a,o,u,c,"next",e);}function c(e){r(i,a,o,u,c,"throw",e);}u(void 0);});};}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});},"528a4fe9":function(module,exports,__mako_require__){"use strict";__mako_require__.d(exports,"__esModule",{value:!0}),__mako_require__.d(exports,"AtomRenderer",{enumerable:!0,get:function(){return AtomRenderer;}});var _interop_require_default=__mako_require__("777fffbe"),_dumi=__mako_require__("5ca000fa"),_react=_interop_require_default._(__mako_require__("9d065c04"));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function _objectSpread(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);nn,f=o(r)?r:s(r),d=u?c(arguments,n):[],p=u?function(){a(f,this,d);}:f;return t?e(p,i):e(p);}:e;};},53702629:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("ed85fcab"),o=n("820fed99");r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=a.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise;}});},"53b71042":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("2aec6c9f"),o=n("f16f296d"),i=n("377218ed"),u=n("7dfaf7bb"),c=n("d50c00e2");t.f=r&&!a?Object.defineProperties:function(e,t){i(e);for(var n,r=u(t),a=c(t),l=a.length,s=0;l>s;)o.f(e,n=a[s++],r[n]);return e;};},"53cf7c2e":function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("3cf27215"),o=n("bcf5f786"),i=n("60a9f091"),u=n("fd7850ea"),c=a.add,l=a.has,s=a.remove;e.exports=function(e){var t=r(this),n=i(e).getIterator(),a=o(t);return u(n,function(e){l(t,e)?s(a,e):c(a,e);}),a;};},"542b5387":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("54beaba5"),o=n("f16f296d").f,i=n("cef3f03e").f,u=r.Symbol;if(a("asyncDispose"),u){var c=i(u,"asyncDispose");c.enumerable&&c.configurable&&c.writable&&o(u,"asyncDispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1});}},"5460e461":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("ff5769a6"),i=n("377218ed"),u=n("7087e9e6"),c=n("f081b157"),l=n("32db7d60"),s=n("0d4455ba"),f=n("9bcc3d50"),d=n("256d831f"),p=l(function(e){var t=this,n=t.iterator,r=t.predicate;return new e(function(o,c){var l=function(e){t.done=!0,c(e);},d=function(e){f(n,l,e,l);},p=function(){try{e.resolve(i(a(t.next,n))).then(function(n){try{if(i(n).done)t.done=!0,o(s(void 0,!0));else{var a=n.value;try{var c=r(a,t.counter++),f=function(e){e?o(s(a,!1)):p();};u(c)?e.resolve(c).then(f,d):f(c);}catch(e){d(e);}}}catch(e){l(e);}},l);}catch(e){l(e);}};p();});});r({target:"AsyncIterator",proto:!0,real:!0,forced:d},{filter:function(e){return i(this),o(e),new p(c(this),{predicate:e});}});},"54beaba5":function(e,t,n){"use strict";var r=n("ffeacb43"),a=n("8fb0fcd1"),o=n("0a49d73d"),i=n("f16f296d").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)});};},"54fcd03e":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("491fceda");let a={ids:["treemap-demo-common","treemap-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("1c1f66b7")]).then(n.dr(r,n.bind(n,"14e6e495")))};},"55b255fb":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("c5cb0aa8"));},"55c18dd0":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Navigate:function(){return K;},Outlet:function(){return Y;},Router:function(){return q;},createPath:function(){return r.createPath;},generatePath:function(){return l;},matchPath:function(){return S;},matchRoutes:function(){return s;},resolvePath:function(){return T;},useHref:function(){return N;},useLocation:function(){return j;},useMatch:function(){return F;},useNavigate:function(){return B;},useOutlet:function(){return z;},useOutletContext:function(){return H;},useParams:function(){return G;},useResolvedPath:function(){return $;},useRoutes:function(){return V;}});var r=n("8766eb8a"),a=n("9d065c04");let o=(0,a.createContext)(null),i=(0,a.createContext)(null),u=(0,a.createContext)({outlet:null,matches:[]});function c(e,t){if(!e)throw Error(t);}function l(e,t){return void 0===t&&(t={}),e.replace(/:(\w+)/g,(e,n)=>(null!=t[n]||c(!1),t[n])).replace(/\/*\*$/,e=>null==t["*"]?"":t["*"].replace(/^\/*/,"/"));}function s(e,t,n){void 0===n&&(n="/");let a=C(("string"==typeof t?(0,r.parsePath)(t):t).pathname||"/",n);if(null==a)return null;let o=f(e);d(o);let i=null;for(let e=0;null==i&&e{let o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(r)||c(!1),o.relativePath=o.relativePath.slice(r.length));let i=M([r,o.relativePath]),u=n.concat(o);e.children&&e.children.length>0&&(!0!==e.index||c(!1),f(e.children,t,u,i)),(null!=e.path||e.index)&&t.push({path:i,score:_(i,e.index),routesMeta:u});}),t;}function d(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:E(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)));}let p=/^:\w+$/,h=3,m=2,v=1,b=10,g=-2,y=e=>"*"===e;function _(e,t){let n=e.split("/"),r=n.length;return n.some(y)&&(r+=g),t&&(r+=m),n.filter(e=>!y(e)).reduce((e,t)=>e+(p.test(t)?h:""===t?v:b),r);}function E(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0;}function w(e,t){let{routesMeta:n}=e,r={},a="/",o=[];for(let e=0;e{if("*"===t){let e=u[n]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1");}return e[t]=k(u[n]||"",t),e;},{}),pathname:o,pathnameBase:i,pattern:e};}function x(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(e,t)=>(r.push(t),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):a+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(a,t?void 0:"i"),r];}function k(e,t){try{return decodeURIComponent(e);}catch(t){return e;}}function T(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:o=""}="string"==typeof e?(0,r.parsePath)(e):e;return{pathname:n?n.startsWith("/")?n:P(n,t):t,search:R(a),hash:L(o)};}function P(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e);}),n.length>1?n.join("/"):"/";}function A(e,t,n){let a,o="string"==typeof e?(0,r.parsePath)(e):e,i=""===e||""===o.pathname?"/":o.pathname;if(null==i)a=n;else{let e=t.length-1;if(i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/");}a=e>=0?t[e]:"/";}let u=T(o,a);return i&&"/"!==i&&i.endsWith("/")&&!u.pathname.endsWith("/")&&(u.pathname+="/"),u;}function O(e){return""===e||""===e.pathname?"/":"string"==typeof e?(0,r.parsePath)(e).pathname:e.pathname;}function C(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/";}let M=e=>e.join("/").replace(/\/\/+/g,"/"),I=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function N(e){D()||c(!1);let{basename:t,navigator:n}=(0,a.useContext)(o),{hash:r,pathname:i,search:u}=$(e),l=i;if("/"!==t){let n=O(e),r=null!=n&&n.endsWith("/");l="/"===i?t+(r?"/":""):M([t,i]);}return n.createHref({pathname:l,search:u,hash:r});}function D(){return null!=(0,a.useContext)(i);}function j(){return D()||c(!1),(0,a.useContext)(i).location;}function F(e){D()||c(!1);let{pathname:t}=j();return(0,a.useMemo)(()=>S(e,t),[t,e]);}function B(){D()||c(!1);let{basename:e,navigator:t}=(0,a.useContext)(o),{matches:n}=(0,a.useContext)(u),{pathname:r}=j(),i=JSON.stringify(n.map(e=>e.pathnameBase)),l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{l.current=!0;}),(0,a.useCallback)(function(n,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof n){t.go(n);return;}let o=A(n,JSON.parse(i),r);"/"!==e&&(o.pathname=M([e,o.pathname])),(a.replace?t.replace:t.push)(o,a.state);},[e,t,i,r]);}let U=(0,a.createContext)(null);function H(){return(0,a.useContext)(U);}function z(e){let t=(0,a.useContext)(u).outlet;return t?(0,a.createElement)(U.Provider,{value:e},t):t;}function G(){let{matches:e}=(0,a.useContext)(u),t=e[e.length-1];return t?t.params:{};}function $(e){let{matches:t}=(0,a.useContext)(u),{pathname:n}=j(),r=JSON.stringify(t.map(e=>e.pathnameBase));return(0,a.useMemo)(()=>A(e,JSON.parse(r),n),[e,r,n]);}function V(e,t){let n;D()||c(!1);let{matches:o}=(0,a.useContext)(u),i=o[o.length-1],l=i?i.params:{};i&&i.pathname;let f=i?i.pathnameBase:"/";i&&i.route;let d=j();if(t){var p;let e="string"==typeof t?(0,r.parsePath)(t):t;"/"===f||(null==(p=e.pathname)?void 0:p.startsWith(f))||c(!1),n=e;}else n=d;let h=n.pathname||"/",m=s(e,{pathname:"/"===f?h:h.slice(f.length)||"/"});return W(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:M([f,e.pathname]),pathnameBase:"/"===e.pathnameBase?f:M([f,e.pathnameBase])})),o);}function W(e,t){return(void 0===t&&(t=[]),null==e)?null:e.reduceRight((n,r,o)=>(0,a.createElement)(u.Provider,{children:void 0!==r.route.element?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,o+1))}}),null);}function K(e){let{to:t,replace:n,state:r}=e;D()||c(!1);let o=B();return(0,a.useEffect)(()=>{o(t,{replace:n,state:r});}),null;}function Y(e){return z(e.context);}function q(e){let{basename:t="/",children:n=null,location:u,navigationType:l=r.Action.Pop,navigator:s,static:f=!1}=e;D()&&c(!1);let d=I(t),p=(0,a.useMemo)(()=>({basename:d,navigator:s,static:f}),[d,s,f]);"string"==typeof u&&(u=(0,r.parsePath)(u));let{pathname:h="/",search:m="",hash:v="",state:b=null,key:g="default"}=u,y=(0,a.useMemo)(()=>{let e=C(h,d);return null==e?null:{pathname:e,search:m,hash:v,state:b,key:g};},[d,h,m,v,b,g]);return null==y?null:(0,a.createElement)(o.Provider,{value:p},(0,a.createElement)(i.Provider,{children:n,value:{location:y,navigationType:l}}));}},"55c364c0":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("abf07924");r({target:"Object",stat:!0,forced:!0},{iterateValues:function(e){return new a(e,"values");}});},"56282e07":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{createPluginManager:function(){return p;},getPluginManager:function(){return h;},getPlugins:function(){return s;},getValidKeys:function(){return f;}});var r=n("852bbaa9"),a=r._(n("931b9554")),o=r._(n("aae6879a")),i=r._(n("08962099")),u=r._(n("bcb5e59e")),c=r._(n("44912f06")),l=n("7f9f60ff");function s(){return[{apply:a,path:void 0},{apply:o,path:void 0},{apply:i,path:void 0},{apply:u,path:void 0},{apply:c,path:void 0}];}function f(){return["default","patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","modifyCodeSandboxData","modifyStackBlitzData"];}let d=null;function p(){return d=l.PluginManager.create({plugins:s(),validKeys:f()});}function h(){return d;}},"56353b3f":function(e,t,n){"use strict";e.exports=" \n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF";},"5658aa9e":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("176835b5");r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return a(i,this,o(e));}});},"565f5083":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("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.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"})});},"567e06d4":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("777fffbe")._(n("0493ed43")).default;},"567f9df1":function(e,t,n){"use strict";n("9a31e2b1")({target:"Set",stat:!0,forced:!0},{of:n("77abdb20")});},"57336b5a":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("4dc6d451"),i=n("6050ac71"),u=a("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var e=i(o(this)),t=e.length,n=0;n=56320||++n>=t||(64512&u(e,n))!=56320))return!1;}return!0;}});},"57506e03":function(e,t,n){"use strict";n("59fc3ea2"),n("c3234e1c");var r=n("08279926"),a=n("0db032d7"),o=n("b400dacf"),i=r("Map"),u=r("WeakMap"),c=a([].push),l=o("metadata"),s=l.store||(l.store=new u),f=function(e,t,n){var r=s.get(e);if(!r){if(!n)return;s.set(e,r=new i);}var a=r.get(t);if(!a){if(!n)return;r.set(t,a=new i);}return a;},d=function(e,t,n){var r=f(t,n,!1);return void 0!==r&&r.has(e);},p=function(e,t,n){var r=f(t,n,!1);return void 0===r?void 0:r.get(e);},h=function(e,t,n,r){f(n,r,!0).set(e,t);},m=function(e,t){var n=f(e,t,!1),r=[];return n&&n.forEach(function(e,t){c(r,t);}),r;},v=function(e){return void 0===e||"symbol"==typeof e?e:String(e);};e.exports={store:s,getMap:f,has:d,get:p,set:h,keys:m,toKey:v};},"5776cb5d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{STATUS_ADD:function(){return i;},STATUS_KEEP:function(){return u;},STATUS_REMOVE:function(){return c;},STATUS_REMOVED:function(){return l;},diffKeys:function(){return d;},parseKeys:function(){return f;},wrapKeyToObject:function(){return s;}});var r=n("777fffbe"),a=r._(n("1de795bc")),o=r._(n("6b99f428")),i="add",u="keep",c="remove",l="removed";function s(e){var t;return t=e&&"object"===(0,o.default)(e)&&"key"in e?e:{key:e},(0,a.default)((0,a.default)({},t),{},{key:String(t.key)});}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(s);}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,l=f(e),s=f(t);l.forEach(function(e){for(var t=!1,l=r;l1;}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==c;})).forEach(function(t){t.key===e&&(t.status=u);});}),n;}},"580060a4":function(e,t,n){"use strict";n("9a31e2b1")({target:"Function",stat:!0,forced:!0},{isConstructor:n("47c095a1")});},"5828adcc":function(e,t,n){"use strict";var r=n("94e1b84e"),a=n("dba6f1a0"),o=n("82110d96"),i=n("8d87a5e8"),u=function(e){var t=1===e;return function(n,u,c){for(var l,s=o(n),f=a(s),d=i(f),p=r(u,c);d-- >0;)if(p(l=f[d],d,s))switch(e){case 0:return l;case 1:return d;}return t?-1:void 0;};};e.exports={findLast:u(0),findLastIndex:u(1)};},"58f32a8c":function(e,t,n){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),c=0;cf+t){r=o-1;break;}}for(var u=0,c=n-1;c>=0;c-=1)if((e.get(d[c].key)||a)[s]=r?[0,0]:[u,r];},[e,t,o,i,u,f,p,d.map(function(e){return e.key;}).join("_"),h]);}},"59469a64":function(e,t,n){"use strict";var r=n("256d831f"),a=n("9a31e2b1"),o=n("e6ade175"),i=n("08279926"),u=n("0db032d7"),c=n("60eb28d7"),l=n("3d75c2bd"),s=n("b69db97a"),f=n("47c095a1"),d=n("42e9210f"),p=n("7087e9e6"),h=n("9e8ac8c9"),m=n("1f316010"),v=n("377218ed"),b=n("a04fdb0c"),g=n("8fb0fcd1"),y=n("6a0d41da"),_=n("1022370d"),E=n("8d87a5e8"),w=n("c4d65e90"),S=n("bdee4280"),x=n("71cfa629"),k=n("3cf27215"),T=n("049b76d1"),P=n("73c8c26a"),A=n("cd29c076"),O=n("101ecb82"),C=o.Object,M=o.Array,I=o.Date,R=o.Error,L=o.TypeError,N=o.PerformanceMark,D=i("DOMException"),j=x.Map,F=x.has,B=x.get,U=x.set,H=k.Set,z=k.add,G=k.has,$=i("Object","keys"),V=u([].push),W=u((!0).valueOf),K=u(1..valueOf),Y=u("".valueOf),q=u(I.prototype.getTime),X=l("structuredClone"),Q="DataCloneError",Z="Transferring",J=function(e){return!c(function(){var t=new o.Set([7]),n=e(t),r=e(C(7));return n===t||!n.has(7)||!p(r)||7!=+r;})&&e;},ee=function(e,t){return!c(function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack);});},et=function(e){return!c(function(){var t=e(new o.AggregateError([1],X,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==X||3!==t.cause;});},en=o.structuredClone,er=r||!ee(en,R)||!ee(en,D)||!et(en),ea=!en&&J(function(e){return new N(X,{detail:e}).detail;}),eo=J(en)||ea,ei=function(e){throw new D("Uncloneable type: "+e,Q);},eu=function(e,t){throw new D((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",Q);},ec=function(e,t){return eo||eu(t),eo(e);},el=function(){var e;try{e=new o.DataTransfer;}catch(t){try{e=new o.ClipboardEvent("").clipboardData;}catch(e){}}return e&&e.items&&e.files?e:null;},es=function(e,t,n){if(F(t,e))return B(t,e);if("SharedArrayBuffer"===(n||b(e)))r=eo?eo(e):e;else{var r,a,i,u,c,l,f=o.DataView;f||s(e.slice)||eu("ArrayBuffer");try{if(s(e.slice)&&!e.resizable)r=e.slice(0);else for(l=0,a=e.byteLength,i=("maxByteLength"in e)?{maxByteLength:e.maxByteLength}:void 0,r=new ArrayBuffer(a,i),u=new f(e),c=new f(r);l1&&!d(arguments[1])?v(arguments[1]):void 0,a=r?r.transfer:void 0;void 0!==a&&(n=ep(a,t=new j));var o=ed(e,t);return n&&eh(n),o;}});},"5947dab1":function(e,t,n){"use strict";function r(e){Promise.resolve().then(e);}n.d(t,"__esModule",{value:!0}),n.d(t,"nextSlice",{enumerable:!0,get:function(){return r;}});},"59645bed":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("852bbaa9")._(n("9d065c04")),a=n("196f905b"),o=n("d2782f88");function i(){var e=r.useContext(o.Context);return(0,a.invariantIntlContext)(e),e;}},"59cb5b3c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{RouteContext:function(){return a;},useRouteData:function(){return o;}});var r=n("777fffbe")._(n("9d065c04")),a=r.default.createContext(void 0);function o(){return r.default.useContext(a);}},"59fc3ea2":function(e,t,n){"use strict";n("7c50493a");},"5a00d1a4":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("1a0d87be"),o=n("82110d96"),i=n("8d87a5e8"),u=n("8bf19462");r&&(u(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=o(this),t=i(e);return 0===t?void 0:e[t-1];},set:function(e){var t=o(this),n=i(t);return t[0===n?0:n-1]=e;}}),a("lastItem"));},"5a1676f2":function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e;})(e,t);}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"5a246765":function(e,t,n){"use strict";var r,a=n("2c07c5ff"),o=n("e6ade175"),i=n("0db032d7"),u=n("f9f0e99d"),c=n("9deda740"),l=n("ccbffb09"),s=n("d48bec4e"),f=n("7087e9e6"),d=n("8fcc8f13").enforce,p=n("60eb28d7"),h=n("604624b9"),m=Object,v=Array.isArray,b=m.isExtensible,g=m.isFrozen,y=m.isSealed,_=m.freeze,E=m.seal,w={},S={},x=!o.ActiveXObject&&"ActiveXObject"in o,k=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},T=l("WeakMap",k,s),P=T.prototype,A=i(P.set),O=function(){return a&&p(function(){var e=_([]);return A(new T,e,1),!g(e);});};if(h){if(x){r=s.getConstructor(k,"WeakMap",!0),c.enable();var C=i(P.delete),M=i(P.has),I=i(P.get);u(P,{delete:function(e){if(f(e)&&!b(e)){var t=d(this);return t.frozen||(t.frozen=new r),C(this,e)||t.frozen.delete(e);}return C(this,e);},has:function(e){if(f(e)&&!b(e)){var t=d(this);return t.frozen||(t.frozen=new r),M(this,e)||t.frozen.has(e);}return M(this,e);},get:function(e){if(f(e)&&!b(e)){var t=d(this);return t.frozen||(t.frozen=new r),M(this,e)?I(this,e):t.frozen.get(e);}return I(this,e);},set:function(e,t){if(f(e)&&!b(e)){var n=d(this);n.frozen||(n.frozen=new r),M(this,e)?A(this,e,t):n.frozen.set(e,t);}else A(this,e,t);return this;}});}else O()&&u(P,{set:function(e,t){var n;return v(e)&&(g(e)?n=w:y(e)&&(n=S)),A(this,e,t),n===w&&_(e),n===S&&E(e),this;}});}},"5a630ad7":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("290e6ad6"),o=TypeError,i=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(e){return e instanceof TypeError;}}();e.exports=u?function(e,t){if(a(e)&&!i(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t;}:function(e,t){return e.length=t;};},"5a8a74b3":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("762839db"),i=n("71cfa629"),u=n("6582164c"),c=i.Map,l=i.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=new c;return u(t,function(e,a){l(r,a,n(e,a,t));}),r;}});},"5abf7d56":function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI});},"5adc6cbf":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("67b9d692"),o=n("08279926"),i=n("ff5769a6"),u=n("6c55996b"),c=n("24d8d964"),l=n("f9f0e99d"),s=n("8bf19462"),f=n("4fccae39"),d=n("8fcc8f13"),p=n("f1fcb4ef"),h=o("Promise"),m=o("SuppressedError"),v=ReferenceError,b=f("asyncDispose"),g=f("toStringTag"),y="AsyncDisposableStack",_=d.set,E=d.getterFor(y),w="async-dispose",S="disposed",x="pending",k=function(e){var t=E(e);if(t.state===S)throw new v(y+" already disposed");return t;},T=function(){_(u(this,P),{type:y,state:x,stack:[]}),a||(this.disposed=!1);},P=T.prototype;l(P,{disposeAsync:function(){var e=this;return new h(function(t,n){var r,o=E(e);if(o.state===S)return t(void 0);o.state=S,a||(e.disposed=!0);var i=o.stack,u=i.length,c=!1,l=function(e){c?r=new m(e,r):(c=!0,r=e),s();},s=function(){if(u){var e=i[--u];i[u]=null;try{h.resolve(e()).then(s,l);}catch(e){l(e);}}else o.stack=null,c?n(r):t(void 0);};s();});},use:function(e){return p(k(this),e,w),e;},adopt:function(e,t){var n=k(this);return i(t),p(n,void 0,w,function(){return t(e);}),e;},defer:function(e){var t=k(this);i(e),p(t,void 0,w,e);},move:function(){var e=k(this),t=new T;return E(t).stack=e.stack,e.stack=[],e.state=S,a||(this.disposed=!0),t;}}),a&&s(P,"disposed",{configurable:!0,get:function(){return E(this).state===S;}}),c(P,b,P.disposeAsync,{name:"disposeAsync"}),c(P,g,y,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:T});},"5b1445f0":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(e){return e*a;}});},"5c0d118f":function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,forced:!0},{iaddh:function(e,t,n,r){var a=e>>>0,o=n>>>0;return(t>>>0)+(r>>>0)+((a&o|(a|o)&~(a+o>>>0))>>>31)|0;}});},"5c31cc1a":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("82110d96"),o=n("8d87a5e8"),i=n("a2078cdf"),u=n("1a0d87be");r({target:"Array",proto:!0},{at:function(e){var t=a(this),n=o(t),r=i(e),u=r>=0?r:n+r;return u<0||u>=n?void 0:t[u];}}),u("at");},"5c3bcdf8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("361d5d06")),i=a._(n("9d065c04")),u=r._(n("e0ebc827"));function c(e){var t=i.useReducer(function(e){return e+1;},0),n=(0,o.default)(t,2)[1],r=i.useRef(e);return[(0,u.default)(function(){return r.current;}),(0,u.default)(function(e){r.current="function"==typeof e?e(r.current):e,n();})];}},"5c57cc56":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("82110d96"),o=n("8d87a5e8"),i=n("5a630ad7"),u=n("a846319f"),c=n("60eb28d7")(function(){return 4294967297!==[].push.call({length:4294967296},1);}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push();}catch(e){return e instanceof TypeError;}};r({target:"Array",proto:!0,arity:1,forced:c||!l()},{push:function(e){var t=a(this),n=o(t),r=arguments.length;u(n+r);for(var c=0;c>1,v=23===t?o(2,-24)-o(2,-77):0,b=e<0||0===e&&1/e<0?1:0,g=0;for((e=a(e))!=e||e===1/0?(s=e!=e?1:0,l=h):(f=o(2,-(l=i(u(e)/c))),e*f<1&&(l--,f*=2),l+m>=1?e+=v/f:e+=v*o(2,1-m),e*f>=2&&(l++,f/=2),l+m>=h?(s=0,l=h):l+m>=1?(s=(e*f-1)*o(2,t),l+=m):(s=e*o(2,m-1)*o(2,t),l=0));t>=8;)d[g++]=255&s,s/=256,t-=8;for(l=l<0;)d[g++]=255&l,l/=256,p-=8;return d[--g]|=128*b,d;},s=function(e,t){var n,r=e.length,a=8*r-t-1,i=(1<>1,c=a-7,l=r-1,s=e[l--],f=127&s;for(s>>=7;c>0;)f=256*f+e[l--],c-=8;for(n=f&(1<<-c)-1,f>>=-c,c+=t;c>0;)n=256*n+e[l--],c-=8;if(0===f)f=1-u;else{if(f===i)return n?NaN:s?-1/0:1/0;n+=o(2,t),f-=u;}return(s?-1:1)*n*o(2,f-t);};e.exports={pack:l,unpack:s};},"5d4227fc":function(e,t,n){},"5d5eb4d0":function(e,t,n){"use strict";var r=n("67b9d692"),a=n("0db032d7"),o=n("8bf19462"),i=URLSearchParams.prototype,u=a(i.forEach);!r||"size"in i||o(i,"size",{get:function(){var e=0;return u(this,function(){e++;}),e;},configurable:!0,enumerable:!0});},"5d65296e":function(e,t,n){"use strict";var r=function(e){return a(e)&&!o(e);};function a(e){return!!e&&"object"==typeof e;}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e);}var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===i;}function c(e){return Array.isArray(e)?[]:{};}function l(e,t){return!1!==t.clone&&t.isMergeableObject(e)?b(c(e),e,t):e;}function s(e,t,n){return e.concat(t).map(function(e){return l(e,n);});}function f(e,t){if(!t.customMerge)return b;var n=t.customMerge(e);return"function"==typeof n?n:b;}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t);}):[];}function p(e){return Object.keys(e).concat(d(e));}function h(e,t){try{return t in e;}catch(e){return!1;}}function m(e,t){return h(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));}function v(e,t,n){var r={};return n.isMergeableObject(e)&&p(e).forEach(function(t){r[t]=l(e[t],n);}),p(t).forEach(function(a){m(e,a)||(h(e,a)&&n.isMergeableObject(t[a])?r[a]=f(a,n)(e[a],t[a],n):r[a]=l(t[a],n));}),r;}function b(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=l;var a=Array.isArray(t);return a!==Array.isArray(e)?l(t,n):a?n.arrayMerge(e,t,n):v(e,t,n);}b.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return b(e,n,t);},{});};var g=b;e.exports=g;},"5e00ebba":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{formatList:function(){return s;},formatListToParts:function(){return f;}});var r=n("b594a703"),a=n("5207c85c"),o=n("8bda5910"),i=n("188ed28f"),u=["type","style"],c=Date.now();function l(e){return"".concat(c,"_").concat(e,"_").concat(c);}function s(e,t,n,r){void 0===r&&(r={});var a=f(e,t,n,r).reduce(function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e;},[]);return 1===a.length?a[0]:0===a.length?"":a;}function f(e,t,n,c){var s=e.locale,f=e.onError;void 0===c&&(c={}),Intl.ListFormat||f(new a.FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',a.ErrorCode.MISSING_INTL_API));var d=(0,i.filterProps)(c,u);try{var p={},h=n.map(function(e,t){if("object"==typeof e){var n=l(t);return p[n]=e,n;}return String(e);});return t(s,d).formatToParts(h).map(function(e){return"literal"===e.type?e:(0,r.__assign)((0,r.__assign)({},e),{value:p[e.value]||e.value});});}catch(e){f(new o.IntlFormatError("Error formatting list.",s,e));}return n;}},"5e1d9a4c":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("777fffbe")._(n("5f3f0b77")).default;},"5e40e025":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("33119e3a"),o=n("e89658ad").remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=a(this),n=!0,r=0,i=arguments.length;rC,eP=(0,l.useMemo)(function(){var e=E;return ex?e=null===G&&B?E:E.slice(0,Math.min(E.length,V/T)):"number"==typeof C&&(e=E.slice(0,C)),e;},[E,T,G,C,ex]),eA=(0,l.useMemo)(function(){return ex?E.slice(ev+1):E.slice(eP.length);},[E,eP,ex,ev]),eO=(0,l.useCallback)(function(e,t){var n;return"function"==typeof x?x(e):null!==(n=x&&(null==e?void 0:e[x]))&&void 0!==n?n:t;},[x]),eC=(0,l.useCallback)(w||function(e){return e;},[w]);function eM(e,t,n){(eh!==e||void 0!==t&&t!==es)&&(em(e),n||(e_(eV){eM(r-1,e-a-ei+en);break;}}R&&eD(0)+ei>V&&ef(null);}},[V,Y,en,ei,eO,eP]);var ej=ey&&!!eA.length,eF={};null!==es&&ex&&(eF={position:"absolute",left:es,top:0});var eB={prefixCls:eE,responsive:ex,component:D,invalidate:ek},eU=S?function(e,t){var n=eO(e,t);return l.createElement(v.OverflowContext.Provider,{key:n,value:(0,i.default)((0,i.default)({},eB),{},{order:t,item:e,itemKey:n,registerSize:eR,display:t<=ev})},S(e,t));}:function(e,t){var n=eO(e,t);return l.createElement(p.default,(0,o.default)({},eB,{order:t,key:n,item:e,renderItem:eC,itemKey:n,registerSize:eR,display:t<=ev}));},eH={order:ej?ev:Number.MAX_SAFE_INTEGER,className:"".concat(eE,"-rest"),registerSize:eL,display:ej};if(I)I&&(n=l.createElement(v.OverflowContext.Provider,{value:(0,i.default)((0,i.default)({},eB),eH)},I(eA)));else{var ez=M||_;n=l.createElement(p.default,(0,o.default)({},eB,eH),"function"==typeof ez?ez(eA):ez);}var eG=l.createElement(N,(0,o.default)({className:(0,s.default)(!ek&&a,O),style:A,ref:t},F),eP.map(eU),eT?n:null,R&&l.createElement(p.default,(0,o.default)({},eB,{responsive:eS,responsiveDisabled:!ex,order:ev,className:"".concat(eE,"-suffix"),registerSize:eN,display:!0,style:eF}),R));return eS&&(eG=l.createElement(f.default,{onResize:eI,disabled:!ex},eG)),eG;}var w=l.forwardRef(E);w.displayName="Overflow",w.Item=m.default,w.RESPONSIVE=g,w.INVALIDATE=y;var S=w;},"5f7c1969":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return l;},getDOM:function(){return c;},isDOM:function(){return u;}});var r=n("777fffbe"),a=r._(n("6b99f428")),o=r._(n("9d065c04")),i=r._(n("d11b0156"));function u(e){return e instanceof HTMLElement||e instanceof SVGElement;}function c(e){return e&&"object"===(0,a.default)(e)&&u(e.nativeElement)?e.nativeElement:u(e)?e:null;}function l(e){var t;return c(e)||(e instanceof o.default.Component?null===(t=i.default.findDOMNode)||void 0===t?void 0:t.call(i.default,e):null);}},"5fe4d00b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("227b8ee5")),o=r._(n("9d065c04"));function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,r.jsx)("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})});},"604624b9":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("b69db97a"),o=r.WeakMap;e.exports=a(o)&&/native code/.test(String(o));},"6050ac71":function(e,t,n){"use strict";var r=n("a04fdb0c"),a=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e);};},"606bab50":function(e,t,n){},"60a11393":function(e,t,n){"use strict";var r=n("a04fdb0c");e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t;};},"60a9f091":function(e,t,n){"use strict";var r=n("ff5769a6"),a=n("377218ed"),o=n("36d2efb6"),i=n("a2078cdf"),u=n("f081b157"),c="Invalid size",l=RangeError,s=TypeError,f=Math.max,d=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r;};d.prototype={getIterator:function(){return u(a(o(this.keys,this.set)));},includes:function(e){return o(this.has,this.set,e);}},e.exports=function(e){a(e);var t=+e.size;if(t!=t)throw new s(c);var n=i(t);if(n<0)throw new l(c);return new d(e,f(n,0),r(e.has),r(e.keys));};},"60eb28d7":function(e,t,n){"use strict";e.exports=function(e){try{return!!e();}catch(e){return!0;}};},"6203691a":function(e,t,n){"use strict";n("9a31e2b1")({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:n("d58a43df")});},"6248808e":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("60eb28d7"),o=n("c218acf5");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("intersection")||a(function(){return"3,2"!==Array.from(new Set([1,2,3]).intersection(new Set([3,2])));})},{intersection:o});},"62841e54":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("c60c8136")),c=a._(n("9d065c04")),l=r._(n("6d9bd3c4")),s=r._(n("d6cbc7a1")),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],d=void 0;function p(e,t){var n,r=e.prefixCls,a=e.invalidate,p=e.item,h=e.renderItem,m=e.responsive,v=e.responsiveDisabled,b=e.registerSize,g=e.itemKey,y=e.className,_=e.style,E=e.children,w=e.display,S=e.order,x=e.component,k=void 0===x?"div":x,T=(0,u.default)(e,f),P=m&&!w;function A(e){b(g,e);}c.useEffect(function(){return function(){A(null);};},[]);var O=h&&p!==d?h(p):E;a||(n={opacity:P?0:1,height:P?0:d,overflowY:P?"hidden":d,order:m?S:d,pointerEvents:P?"none":d,position:P?"absolute":d});var C={};P&&(C["aria-hidden"]=!0);var M=c.createElement(k,(0,o.default)({className:(0,l.default)(!a&&r,y),style:(0,i.default)((0,i.default)({},n),_)},C,T,{ref:t}),O);return m&&(M=c.createElement(s.default,{onResize:function(e){A(e.offsetWidth);},disabled:v},M)),M;}var h=c.forwardRef(p);h.displayName="Item";var m=h;},"62a10fa7":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("4dc6d451"),i=n("a2078cdf"),u=n("6050ac71"),c=n("60eb28d7"),l=a("".charAt);r({target:"String",proto:!0,forced:c(function(){return"\uD842"!=="\u{20BB7}".at(-2);})},{at:function(e){var t=u(o(this)),n=t.length,r=i(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:l(t,a);}});},"62d82cd0":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("2bd58e4d");let r=[{id:"pie-\u997C\u56FE",depth:1,title:"Pie \u997C\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"pie-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"pie-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"pieprops",depth:3,title:"PieProps"},{id:"piedataitem",depth:3,title:"PieDataItem"}],a={title:"Pie \u997C\u56FE",toc:"content",filename:"src/Pie/index.md",atomId:"Pie",lastUpdated:1734934621e3,order:3,group:{order:1,title:"\u7EDF\u8BA1\u56FE"}};},"62ff3f4c":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("bcf6a639"),o=n("6a1bb8c1"),i=n("b2f36029"),u=a.aTypedArray,c=a.getTypedArrayConstructor,l=a.exportTypedArrayMethod,s=r(i);l("uniqueBy",function(e){return u(this),o(c(this),s(this,e));},!0);},"634ee5c5":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"getFocusNodeList",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("bc3725d3")),o=r._(n("e95b42dd"));function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.default)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),i=Number(a),u=null;return a&&!Number.isNaN(i)?u=i:r&&null===u&&(u=0),r&&e.disabled&&(u=null),null!==u&&(u>=0||t&&u<0);}return!1;}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.default)(e.querySelectorAll("*")).filter(function(e){return i(e,t);});return i(e,t)&&n.unshift(e),n;}},"644e11a0":function(e,t,n){"use strict";var r=n("60eb28d7"),a=n("4fccae39"),o=n("67b9d692"),i=n("256d831f"),u=a("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach(function(e,n){t.delete("b"),r+=n+e;}),n.delete("a",2),n.delete("b",void 0),i&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(i||!o)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host;});},"6450735a":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("0db032d7"),i=n("e32a8b26"),u=n("008baaa6"),c=n("8de8a52b"),l=n("64f9bff9"),s=c.i2c,f=c.i2cUrl,d=a.Uint8Array,p=o("".charAt);d&&r({target:"Uint8Array",proto:!0,forced:!0},{toBase64:function(){for(var e,t=u(this),n=arguments.length?i(arguments[0]):void 0,r="base64"===l(n)?s:f,a="",o=0,c=t.length,d=function(t){return p(r,e>>6*t&63);};o+2=0||(a[n]=e[n]);return a;}let u=["onClick","reloadDocument","replace","state","target","to"],c=["aria-current","caseSensitive","className","end","style","to","children"];function l(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey);}let s=(0,r.forwardRef)(function(e,t){let{onClick:n,reloadDocument:c,replace:l=!1,state:s,target:f,to:p}=e,h=i(e,u),m=(0,a.useHref)(p),v=d(p,{replace:l,state:s,target:f});function b(e){n&&n(e),e.defaultPrevented||c||v(e);}return(0,r.createElement)("a",o({},h,{href:m,onClick:b,ref:t,target:f}));}),f=(0,r.forwardRef)(function(e,t){let n,{"aria-current":u="page",caseSensitive:l=!1,className:f="",end:d=!1,style:p,to:h,children:m}=e,v=i(e,c),b=(0,a.useLocation)(),g=(0,a.useResolvedPath)(h),y=b.pathname,_=g.pathname;l||(y=y.toLowerCase(),_=_.toLowerCase());let E=y===_||!d&&y.startsWith(_)&&"/"===y.charAt(_.length),w=E?u:void 0;n="function"==typeof f?f({isActive:E}):[f,E?"active":null].filter(Boolean).join(" ");let S="function"==typeof p?p({isActive:E}):p;return(0,r.createElement)(s,o({},v,{"aria-current":w,className:n,ref:t,style:S,to:h}),"function"==typeof m?m({isActive:E}):m);});function d(e,t){let{target:n,replace:o,state:i}=void 0===t?{}:t,u=(0,a.useNavigate)(),c=(0,a.useLocation)(),s=(0,a.useResolvedPath)(e);return(0,r.useCallback)(t=>{0!==t.button||n&&"_self"!==n||l(t)||(t.preventDefault(),u(e,{replace:!!o||(0,a.createPath)(c)===(0,a.createPath)(s),state:i}));},[c,u,s,o,i,n,e]);}function p(e){let t=(0,r.useRef)(h(e)),n=(0,a.useLocation)(),o=(0,r.useMemo)(()=>{let e=h(n.search);for(let n of t.current.keys())e.has(n)||t.current.getAll(n).forEach(t=>{e.append(n,t);});return e;},[n.search]),i=(0,a.useNavigate)();return[o,(0,r.useCallback)((e,t)=>{i("?"+h(e),t);},[i])];}function h(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]]);},[]));}},"64c7e51a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{composeRef:function(){return s;},fillRef:function(){return l;},getNodeRef:function(){return m;},supportNodeRef:function(){return h;},supportRef:function(){return d;},useComposeRef:function(){return f;}});var r=n("777fffbe"),a=r._(n("6b99f428")),o=n("9d065c04"),i=n("32f44035"),u=r._(n("de12d3cc")),c=r._(n("9cb25b27")),l=function(e,t){"function"==typeof e?e(t):"object"===(0,a.default)(e)&&e&&"current"in e&&(e.current=t);},s=function(){for(var e=arguments.length,t=Array(e),n=0;nEnable JavaScript to run this app."}});},h=function(e){var t,n=e.loaderData,r=e.htmlPageOpts,a=e.manifest,o=(null==a||null===(t=a.assets)||void 0===t?void 0:t["umi.css"])||"";return c.default.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(n||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(r||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(o,"'")}});};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e)return d(e)?(0,u.default)({src:e},t):{content:e};if("object"===(0,i.default)(e))return(0,u.default)((0,u.default)({},e),t);throw Error("Invalid script type: ".concat((0,i.default)(e)));}function v(e){return d(e)?{type:"link",href:e}:{type:"style",content:e};}var b=function(e){var t,n,r,i,u,s,f=e.htmlPageOpts;return c.default.createElement(c.default.Fragment,null,(null==f?void 0:f.title)&&c.default.createElement("title",null,f.title),null==f||null===(t=f.favicons)||void 0===t?void 0:t.map(function(e,t){return c.default.createElement("link",{key:t,rel:"shortcut icon",href:e});}),(null==f?void 0:f.description)&&c.default.createElement("meta",{name:"description",content:f.description}),(null==f||null===(n=f.keywords)||void 0===n?void 0:n.length)&&c.default.createElement("meta",{name:"keywords",content:f.keywords.join(",")}),null==f||null===(r=f.metas)||void 0===r?void 0:r.map(function(e){return c.default.createElement("meta",{key:e.name,name:e.name,content:e.content});}),null==f||null===(i=f.links)||void 0===i?void 0:i.map(function(e,t){return c.default.createElement("link",(0,o.default)({key:t},e));}),null==f||null===(u=f.styles)||void 0===u?void 0:u.map(function(e,t){var n=v(e),r=n.type,a=n.href,o=n.content;return"link"===r?c.default.createElement("link",{key:t,rel:"stylesheet",href:a}):"style"===r?c.default.createElement("style",{key:t},o):void 0;}),null==f||null===(s=f.headScripts)||void 0===s?void 0:s.map(function(e,t){var n=m(e),r=n.content,i=(0,a.default)(n,l);return c.default.createElement("script",(0,o.default)({dangerouslySetInnerHTML:{__html:r},key:t},i));}));};function g(e){var t,n=e.children,r=e.loaderData,i=e.manifest,u=e.htmlPageOpts,l=e.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,f=e.mountElementId;if(null!=l&&l.pureHtml)return c.default.createElement("html",null,c.default.createElement("head",null),c.default.createElement("body",null,c.default.createElement(p,null),c.default.createElement("div",{id:f},n),c.default.createElement(h,{manifest:i,loaderData:r,htmlPageOpts:u})));if(null!=l&&l.pureApp)return c.default.createElement(c.default.Fragment,null,n);var d="undefined"==typeof window?null==i?void 0:i.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return c.default.createElement("html",{suppressHydrationWarning:!0,lang:(null==u?void 0:u.lang)||"en"},c.default.createElement("head",null,c.default.createElement("meta",{charSet:"utf-8"}),c.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),d&&c.default.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:d}),c.default.createElement(b,{htmlPageOpts:u})),c.default.createElement("body",null,c.default.createElement(p,null),c.default.createElement("div",{id:f},n),c.default.createElement(h,{manifest:i,loaderData:r,htmlPageOpts:u}),null==u||null===(t=u.scripts)||void 0===t?void 0:t.map(function(e,t){var n=m(e),r=n.content,i=(0,a.default)(n,s);return c.default.createElement("script",(0,o.default)({dangerouslySetInnerHTML:{__html:r},key:t},i));})));}},"653d5b96":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable;}:r;},"6582164c":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("fd7850ea"),o=n("71cfa629"),i=o.Map,u=o.proto,c=r(u.forEach),l=r(u.entries),s=l(new i).next;e.exports=function(e,t,n){return n?a({iterator:l(e),next:s},function(e){return t(e[1],e[0]);}):c(e,t);};},"659289f6":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("7c8234aa"),o=n("3cf27215").remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=a(this),n=!0,r=0,i=arguments.length;re,v=!1;if(void 0===n)c=void 0;else if(u(n))c=n.step,v=!!n.inclusive;else if(typeof n==r)c=n;else throw new m(s);if(i(c)&&(c=p?o:-o),typeof c!=r)throw new m(s);if(c===1/0||c===-1/0||c===a&&e!==t)throw new h(s);var b=e!=e||t!=t||c!=c||t>e!=c>a;d(this,{type:f,start:e,end:t,step:c,inclusive:v,hitsEnd:b,currentCount:a,zero:a}),l||(this.start=e,this.end=t,this.step=c,this.inclusive=v);},f,function(){var e,t=p(this);if(t.hitsEnd)return o(void 0,!0);var n=t.start,r=t.end,a=n+t.step*t.currentCount++;a===r&&(t.hitsEnd=!0);var i=t.inclusive;return(e=r>n?i?a>r:a>=r:i?r>a:r>=a)?(t.hitsEnd=!0,o(void 0,!0)):o(a,!1);}),b=function(e){c(v.prototype,e,{get:function(){return p(this)[e];},set:function(){},configurable:!0,enumerable:!1});};l&&(b("start"),b("end"),b("inclusive"),b("step")),e.exports=v;},"6615efd8":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e);}catch(e){return"Object";}};},"66217de0":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M464 720a48 48 0 1096 0 48 48 0 10-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 440l-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"})});},"663e0edd":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"parseDateTimeSkeleton",{enumerable:!0,get:function(){return a;}});var r=/(?:[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 a(e){var t={};return e.replace(r,function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");}return"";}),t;}},66701516:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0a9b878c");a&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return a(this,arguments.length?arguments[0]:void 0,!1);}});},"667fc812":function(e,t,n){"use strict";function r(e,t){var n=t&&t.cache?t.cache:p,r=t&&t.serializer?t.serializer:f;return(t&&t.strategy?t.strategy:c)(e,{cache:n,serializer:r});}function a(e){return null==e||"number"==typeof e||"boolean"==typeof e;}function o(e,t,n,r){var o=a(r)?r:n(r),i=t.get(o);return void 0===i&&(i=e.call(this,r),t.set(o,i)),i;}function i(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return void 0===o&&(o=e.apply(this,r),t.set(a,o)),o;}function u(e,t,n,r,a){return n.bind(t,e,r,a);}function c(e,t){var n=1===e.length?o:i;return u(e,this,n,t.cache.create(),t.serializer);}function l(e,t){return u(e,this,i,t.cache.create(),t.serializer);}function s(e,t){return u(e,this,o,t.cache.create(),t.serializer);}n.d(t,"__esModule",{value:!0}),n.e(t,{memoize:function(){return r;},strategies:function(){return h;}});var f=function(){return JSON.stringify(arguments);},d=function(){function e(){this.cache=Object.create(null);}return e.prototype.get=function(e){return this.cache[e];},e.prototype.set=function(e,t){this.cache[e]=t;},e;}(),p={create:function(){return new d;}},h={variadic:l,monadic:s};},67075208:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"parseChildren",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("bc3725d3")),i=r._(n("15b6e898")),u=a._(n("9d065c04"));function c(e,t){return(0,i.default)(e).map(function(e,n){if(u.isValidElement(e)){var r,a,i=e.key,c=null!==(r=null===(a=e.props)||void 0===a?void 0:a.eventKey)&&void 0!==r?r:i;null==c&&(c="tmp_key-".concat([].concat((0,o.default)(t),[n]).join("-")));var l={key:c,eventKey:c};return u.cloneElement(e,l);}return e;});}},"674c7b34":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0});var r=n("d1751d7c");r._(n("663e0edd"),t),r._(n("34c40226"),t);},"678cf36f":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1a0d87be"),o=n("d04004cf");r({target:"Array",proto:!0,forced:n("256d831f")},{groupToMap:o}),a("groupToMap");},"679970fc":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("b19842cd");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("isDisjointFrom")},{isDisjointFrom:a});},"67b9d692":function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7;}})[1];});},"696c2573":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("cae15661"),o=n("474326bc").remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=a(this),n=!0,r=0,i=arguments.length;r2?n:r(t),i=new e(o);o>a;)i[a]=t[a++];return i;};},"6ac7dd91":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("762839db"),o=n("71cfa629"),i=o.get,u=o.has,c=o.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=a(this);return u(o,e)?(n=i(o,e),"update"in t&&(n=t.update(n,e,o),c(o,e,n)),n):(r=t.insert(e,o),c(o,e,r),r);}});},"6b2c1d8a":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("be3df0ae"),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i;},"6b7be2a4":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1f316010"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157");r({target:"Iterator",proto:!0,real:!0},{forEach:function(e){i(this),o(e);var t=u(this),n=0;a(t,function(t){e(t,n++);},{IS_RECORD:!0});}});},"6b99f428":function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"6bba5c47":function(e,t,n){"use strict";n("9a31e2b1")({target:"Map",stat:!0,forced:!0},{from:n("4cd2fec9")});},"6c55996b":function(e,t,n){"use strict";var r=n("b11ea5c3"),a=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new a("Incorrect invocation");};},"6d711331":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("6f33419a").filterReject,o=n("1a0d87be");r({target:"Array",proto:!0,forced:!0},{filterOut:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0);}}),o("filterOut");},"6d875045":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"ReactComponent",{enumerable:!0,get:function(){return a;}});var r=n("a2e753d8");let a=e=>(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{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"})});},"6d9bd3c4":function(e,t,n){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e="",t=0;t0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,o.default)({inkBar:!0},"object"===(0,a.default)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e;}n("9093f42f");},"6eaaedc2":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("7618d994");let r=[{id:"area-\u9762\u79EF\u56FE",depth:1,title:"Area \u9762\u79EF\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"area-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"area-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"area-demo-stack",depth:3,title:"\u5806\u53E0\u9762\u79EF\u56FE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"areaprops",depth:3,title:"AreaProps"},{id:"areadataitem",depth:3,title:"AreaDataItem"}],a={title:"Area \u9762\u79EF\u56FE",toc:"content",filename:"src/Area/index.md",atomId:"Area",lastUpdated:1734934621e3,order:4,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2},nav:{title:"\u7EC4\u4EF6",order:1}};},"6eaeb571":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Helmet:function(){return X;},HelmetProvider:function(){return z;}});var r=n("777fffbe"),a=n("852bbaa9")._(n("9d065c04")),o=r._(n("464da4a6")),i=r._(n("845940ba")),u=r._(n("38cf5848")),c=r._(n("58f32a8c"));function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a;}var p={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},h={rel:["amphtml","canonical","alternate"]},m={type:["application/ld+json"]},v={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"]},b=Object.keys(p).map(function(e){return p[e];}),g={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(g).reduce(function(e,t){return e[g[t]]=t,e;},{}),_=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t];}return null;},E=function(e){var t=_(e,p.TITLE),n=_(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t;});var r=_(e,"defaultTitle");return t||r||void 0;},w=function(e){return _(e,"onChangeClientState")||function(){};},S=function(e,t){return t.filter(function(t){return void 0!==t[e];}).map(function(t){return t[e];}).reduce(function(e,t){return l({},e,t);},{});},x=function(e,t){return t.filter(function(e){return void 0!==e[p.BASE];}).map(function(e){return e[p.BASE];}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'");},I=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r;},"");},R=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[g[n]||n]=e[n],t;},t);},L=function(e,t){return t.map(function(t,n){var r,o=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach(function(e){var n=g[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e];}),a.default.createElement(e,o);});},N=function(e,t,n){switch(e){case p.TITLE:return{toComponent:function(){var e,n,r,o;return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,o=R(n,r),[a.default.createElement(p.TITLE,o,e)];},toString:function(){return function(e,t,n,r){var a=I(n),o=P(t);return a?"<"+e+' data-rh="true" '+a+">"+M(o,r)+"":"<"+e+' data-rh="true">'+M(o,r)+"";}(e,t.title,t.titleAttributes,n);}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return R(t);},toString:function(){return I(t);}};default:return{toComponent:function(){return L(e,t);},toString:function(){return function(e,t,n){return t.reduce(function(t,r){var a=Object.keys(r).filter(function(e){return!("innerHTML"===e||"cssText"===e);}).reduce(function(e,t){var a=void 0===r[t]?t:t+'="'+M(r[t],n)+'"';return e?e+" "+a:a;},""),o=r.innerHTML||r.cssText||"",i=-1===C.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"");},"");}(e,t,n);}};}},D=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,u=e.title,c=void 0===u?"":u,l=e.titleAttributes,s=e.linkTags,f=e.metaTags,d=e.scriptTags,b={toComponent:function(){},toString:function(){return"";}};if(e.prioritizeSeoTags){var g=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=A(e.metaTags,v),o=A(t,h),i=A(n,m);return{priorityMethods:{toComponent:function(){return[].concat(L(p.META,a.priority),L(p.LINK,o.priority),L(p.SCRIPT,i.priority));},toString:function(){return N(p.META,a.priority,r)+" "+N(p.LINK,o.priority,r)+" "+N(p.SCRIPT,i.priority,r);}},metaTags:a.default,linkTags:o.default,scriptTags:i.default};}(e);b=g.priorityMethods,s=g.linkTags,f=g.metaTags,d=g.scriptTags;}return{priority:b,base:N(p.BASE,t,r),bodyAttributes:N("bodyAttributes",n,r),htmlAttributes:N("htmlAttributes",a,r),link:N(p.LINK,s,r),meta:N(p.META,f,r),noscript:N(p.NOSCRIPT,o,r),script:N(p.SCRIPT,d,r),style:N(p.STYLE,i,r),title:N(p.TITLE,{title:c,titleAttributes:l},r)};},j=[],F=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e;},helmetInstances:{get:function(){return n.canUseDOM?j:n.instances;},add:function(e){(n.canUseDOM?j:n.instances).push(e);},remove:function(e){var t=(n.canUseDOM?j:n.instances).indexOf(e);(n.canUseDOM?j:n.instances).splice(t,1);}}},this.context=e,this.canUseDOM=t,t||(e.helmet=D({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}));},B=a.default.createContext({}),U=o.default.shape({setHelmet:o.default.func,helmetInstances:o.default.shape({get:o.default.func,add:o.default.func,remove:o.default.func})}),H="undefined"!=typeof document,z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new F(r.props.context,t.canUseDOM),r;}return s(t,e),t.prototype.render=function(){return a.default.createElement(B.Provider,{value:this.helmetData.value},this.props.children);},t;}(a.Component);z.canUseDOM=H,z.propTypes={context:o.default.shape({helmet:o.default.shape()}),children:o.default.node.isRequired},z.defaultProps={context:{}},z.displayName="HelmetProvider";var G=function(e,t){var n,r=document.head||document.querySelector(p.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e);})?o.splice(n,1):i.push(r);}),o.forEach(function(e){return e.parentNode.removeChild(e);}),i.forEach(function(e){return r.appendChild(e);}),{oldTags:o,newTags:i};},$=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),u=0;u=0;f-=1)n.removeAttribute(o[f]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","));}},V=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,u=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,s=e.title,f=e.titleAttributes;$(p.BODY,e.bodyAttributes),$(p.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=P(e)),$(p.TITLE,t);}(s,f);var d={baseTag:G(p.BASE,n),linkTags:G(p.LINK,a),metaTags:G(p.META,o),noscriptTags:G(p.NOSCRIPT,i),scriptTags:G(p.SCRIPT,c),styleTags:G(p.STYLE,l)},h={},m={};Object.keys(d).forEach(function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=d[e].oldTags);}),t&&t(),u(e,h,m);},W=null,K=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a elements are self-closing and can not contain children. Refer to our API for more information.");}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return l({},r,((t={})[n.type]=[].concat(r[n.type]||[],[l({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t));},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case p.TITLE:return l({},a,((t={})[r.type]=i,t.titleAttributes=l({},o),t));case p.BODY:return l({},a,{bodyAttributes:l({},o)});case p.HTML:return l({},a,{htmlAttributes:l({},o)});default:return l({},a,((n={})[r.type]=l({},o),n));}},n.mapArrayTypeChildrenToProps=function(e,t){var n=l({},t);return Object.keys(e).forEach(function(t){var r;n=l({},n,((r={})[t]=e[t],r));}),n;},n.warnOnInvalidChildren=function(e,t){return(0,u.default)(b.some(function(t){return e.type===t;}),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+b.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),(0,u.default)(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e;}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0;},n.mapChildrenToProps=function(e,t){var n=this,r={};return a.default.Children.forEach(e,function(e){if(e&&e.props){var a=e.props,o=a.children,i=d(a,Y),u=Object.keys(i).reduce(function(e,t){return e[y[t]||t]=i[t],e;},{}),c=e.type;switch("symbol"==typeof c?c=c.toString():n.warnOnInvalidChildren(e,o),c){case p.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case p.LINK:case p.META:case p.NOSCRIPT:case p.SCRIPT:case p.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:u,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:u,nestedChildren:o});}}}),this.mapArrayTypeChildrenToProps(r,t);},n.render=function(){var e=this.props,t=e.children,n=d(e,q),r=l({},n),o=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!o||o instanceof F||(o=new F(o.context,o.instances)),o?a.default.createElement(K,l({},r,{context:o.value,helmetData:void 0})):a.default.createElement(B.Consumer,null,function(e){return a.default.createElement(K,l({},r,{context:e}));});},t;}(a.Component);X.propTypes={base:o.default.object,bodyAttributes:o.default.object,children:o.default.oneOfType([o.default.arrayOf(o.default.node),o.default.node]),defaultTitle:o.default.string,defer:o.default.bool,encodeSpecialCharacters:o.default.bool,htmlAttributes:o.default.object,link:o.default.arrayOf(o.default.object),meta:o.default.arrayOf(o.default.object),noscript:o.default.arrayOf(o.default.object),onChangeClientState:o.default.func,script:o.default.arrayOf(o.default.object),style:o.default.arrayOf(o.default.object),title:o.default.string,titleAttributes:o.default.object,titleTemplate:o.default.string,prioritizeSeoTags:o.default.bool,helmetData:o.default.object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet";},"6f33419a":function(e,t,n){"use strict";var r=n("94e1b84e"),a=n("0db032d7"),o=n("dba6f1a0"),i=n("82110d96"),u=n("8d87a5e8"),c=n("dfaa00b8"),l=a([].push),s=function(e){var t=1===e,n=2===e,a=3===e,s=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,m,v,b){for(var g,y,_=i(h),E=o(_),w=u(E),S=r(m,v),x=0,k=b||c,T=t?k(h,w):n||d?k(h,0):void 0;w>x;x++)if((p||x in E)&&(y=S(g=E[x],x,_),e)){if(t)T[x]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:l(T,g);}else switch(e){case 4:return!1;case 7:l(T,g);}}return f?-1:a||s?s:T;};};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)};},"6fd16df9":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1f316010"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157"),c=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(e){i(this),o(e);var t=u(this),n=arguments.length<2,r=n?void 0:arguments[1],l=0;if(a(t,function(t){n?(n=!1,r=t):r=e(r,t,l),l++;},{IS_RECORD:!0}),n)throw new c("Reduce of empty iterator with no initial value");return r;}});},70228951:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement);}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"703dc661":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("e976fcbe"));},"7068c6ff":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("762839db"),o=n("1f316010"),i=n("71cfa629").set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=a(this),n=arguments.length,r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);nPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("0033300c")]).then(n.dr(r,n.bind(n,"7bc96565")))};},"71cfa629":function(e,t,n){"use strict";var r=n("0db032d7"),a=Map.prototype;e.exports={Map:Map,set:r(a.set),get:r(a.get),has:r(a.has),remove:r(a.delete),proto:a};},"7209425d":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("8d83395f").right,o=n("a754aa49"),i=n("03eb1d77");r({target:"Array",proto:!0,forced:!n("c41b9db1")&&i>79&&i<83||!o("reduceRight")},{reduceRight:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0);}});},72179913:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"useAtomAssets",{enumerable:!0,get:function(){return a;}});var r=n("5ca000fa"),a=function(){return{components:(0,r.useSiteData)().components};};},"72c189a7":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("aca0c345");let r=[{id:"configprovider-\u5168\u5C40\u5316\u914D\u7F6E",depth:1,title:"ConfigProvider \u5168\u5C40\u5316\u914D\u7F6E"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"configprovider-demo-plot-theme",depth:3,title:"\u8BBE\u7F6E\u7EDF\u8BA1\u56FE\u8868\u4E3B\u9898"},{id:"configprovider-demo-map-config",depth:3,title:"\u8BBE\u7F6E\u5730\u56FE token \u548C\u6837\u5F0F"},{id:"configprovider-demo-components-config",depth:3,title:"\u8BBE\u7F6E\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027"},{id:"configprovider-demo-graph-components-config",depth:3,title:"\u8BBE\u7F6E\u5173\u7CFB\u56FE\u7EC4\u4EF6\u7684\u9ED8\u8BA4\u5C5E\u6027"},{id:"api",depth:2,title:"API"},{id:"plotglobalconfig",depth:3,title:"PlotGlobalConfig"},{id:"graphglobalconfig",depth:3,title:"GraphGlobalConfig"},{id:"mapglobalconfig",depth:3,title:"MapGlobalConfig"},{id:"componentsglobalconfig",depth:3,title:"ComponentsGlobalConfig"}],a={title:"ConfigProvider \u5168\u5C40\u5316\u914D\u7F6E",toc:"content",filename:"src/ConfigProvider/index.md",atomId:"ConfigProvider",lastUpdated:1734934621e3,order:3,group:{order:10,title:"\u5176\u4ED6"},demo:{cols:2},description:"\u53C2\u8003 Ant Design Charts \u7684\u5173\u7CFB\u56FE\u914D\u7F6E\u9879\u3002"};},"72c476dc":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("efc54e21");let a={ids:["fishbonediagram-demo-common","fishbonediagram-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("4a69a1cb")]).then(n.dr(r,n.bind(n,"c583ebcb")))};},"7346e12b":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("7dfaf7bb"),o=n("6050ac71"),i=n("8d87a5e8"),u=TypeError,c=r([].push),l=r([].join);e.exports=function(e){var t=a(e),n=i(t);if(!n)return"";for(var r=arguments.length,s=[],f=0;;){var d=t[f++];if(void 0===d)throw new u("Incorrect template");if(c(s,o(d)),f===n)return l(s,"");f1&&void 0!==arguments[1]?arguments[1]:1,n=o+=1;function a(t){if(0===t)u(n),e();else{var o=r(function(){a(t-1);});i.set(n,o);}}return a(t),n;};c.cancel=function(e){var t=i.get(e);return u(e),a(t);};var l=c;},"73c8c26a":function(e,t,n){"use strict";var r,a,o,i,u=n("e6ade175"),c=n("0e78fe67"),l=n("101ecb82"),s=u.structuredClone,f=u.ArrayBuffer,d=u.MessageChannel,p=!1;if(l)p=function(e){s(e,{transfer:[e]});};else if(f)try{!d&&(r=c("worker_threads"))&&(d=r.MessageChannel),d&&(a=new d,o=new f(2),i=function(e){a.port1.postMessage(null,[e]);},2===o.byteLength&&(i(o),0===o.byteLength&&(p=i)));}catch(e){}e.exports=p;},"73f0e41d":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("a04fdb0c"),i=n("8d9c8bd6"),u=n("5ccfbb20").pack,c=n("26ce4813"),l=TypeError,s=a(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(e,t){if("DataView"!==o(this))throw new l("Incorrect receiver");var n=i(e),r=u(c(t),10,2);return s(this,n,r[1]<<8|r[0],arguments.length>2&&arguments[2]);}});},74360968:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"createClientRoutes",{enumerable:!0,get:function(){return d;}});var r=n("777fffbe"),a=r._(n("1002fabd")),o=r._(n("fd335635")),i=r._(n("452bec59")),u=r._(n("9d065c04")),c=n("64a21452"),l=n("e6aa02a5"),s=n("59cb5b3c"),f=["redirect"];function d(e){var t=e.routesById,n=e.parentId,r=e.routeComponents,a=e.useStream,o=void 0===a||a;return Object.keys(t).filter(function(e){return t[e].parentId===n;}).map(function(n){var a=h((0,i.default)((0,i.default)({route:t[n],routeComponent:r[n],loadingComponent:e.loadingComponent,reactRouter5Compat:e.reactRouter5Compat},e.reactRouter5Compat&&{hasChildren:Object.keys(t).filter(function(e){return t[e].parentId===n;}).length>0}),{},{useStream:o})),u=d({routesById:t,routeComponents:r,parentId:a.id,loadingComponent:e.loadingComponent,reactRouter5Compat:e.reactRouter5Compat,useStream:o});return u.length>0&&(a.children=u,a.routes=u),a;});}function p(e){var t=(0,c.useParams)(),n=(0,c.generatePath)(e.to,t),r=(0,l.useRouteProps)(),a=(0,c.useLocation)();null!=r&&r.keepQuery&&(n+=a.search+a.hash);var s=(0,i.default)((0,i.default)({},e),{},{to:n});return u.default.createElement(c.Navigate,(0,o.default)({replace:!0},s));}function h(e){var t=e.route,n=e.useStream,r=void 0===n||n,o=t.redirect,c=(0,a.default)(t,f),l=e.reactRouter5Compat?v:b;return(0,i.default)({element:o?u.default.createElement(p,{to:o}):u.default.createElement(s.RouteContext.Provider,{value:{route:e.route}},u.default.createElement(l,{loader:u.default.memo(e.routeComponent),loadingComponent:e.loadingComponent||m,hasChildren:e.hasChildren,useStream:r}))},c);}function m(){return u.default.createElement("div",null);}function v(e){var t=(0,s.useRouteData)().route,n=(0,l.useAppData)(),r=n.history,a=n.clientRoutes,o=(0,c.useParams)(),i={params:o,isExact:!0,path:t.path,url:r.location.pathname},f=e.loader,d={location:r.location,match:i,history:r,params:o,route:t,routes:a};return e.useStream?u.default.createElement(u.default.Suspense,{fallback:u.default.createElement(e.loadingComponent,null)},u.default.createElement(f,d,e.hasChildren&&u.default.createElement(c.Outlet,null))):u.default.createElement(f,d,e.hasChildren&&u.default.createElement(c.Outlet,null));}function b(e){var t=e.loader;return e.useStream?u.default.createElement(u.default.Suspense,{fallback:u.default.createElement(e.loadingComponent,null)},u.default.createElement(t,null)):u.default.createElement(t,null);}},"75fa674e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Routes:function(){return g;},__getRoot:function(){return v;},renderClient:function(){return E;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("3eced25d")),i=r._(n("452bec59")),u=r._(n("a3594f55")),c=a._(n("9d065c04")),l=r._(n("0b1c46aa")),s=n("64a21452"),f=n("e6aa02a5"),d=n("aa566d7e"),p=n("6515c591"),h=n("74360968"),m=null;function v(){return m;}function b(e){var t=e.history,n=c.default.useState({action:t.action,location:t.location}),r=(0,u.default)(n,2),a=r[0],o=r[1];return(0,c.useLayoutEffect)(function(){return t.listen(o);},[t]),(0,c.useLayoutEffect)(function(){function n(t){e.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:e.routes,clientRoutes:e.clientRoutes,location:t.location,action:t.action,basename:e.basename,isFirst:!!t.isFirst}});}return n({location:a.location,action:a.action,isFirst:!0}),t.listen(n);},[t,e.routes,e.clientRoutes]),c.default.createElement(s.Router,{navigator:t,location:a.location,basename:e.basename},e.children);}function g(){var e=(0,f.useAppData)().clientRoutes;return(0,s.useRoutes)(e);}var y=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],_=function(e,t){var n=e.basename||"/",r=(0,h.createClientRoutes)({routesById:e.routes,routeComponents:e.routeComponents,loadingComponent:e.loadingComponent,reactRouter5Compat:e.reactRouter5Compat,useStream:e.useStream});e.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:r}});for(var a=c.default.createElement(b,{basename:n,pluginManager:e.pluginManager,routes:e.routes,clientRoutes:r,history:e.history},t),l=0,p=y;lPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"61e0aa45")))};},"76607b31":function(e,t,n){"use strict";n("9a31e2b1")({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:n("b74c4593")});},"771ea27f":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1a0d87be"),o=n("a846319f"),i=n("8d87a5e8"),u=n("9a735f39"),c=n("7dfaf7bb"),l=n("a2078cdf"),s=Array,f=Math.max,d=Math.min;r({target:"Array",proto:!0},{toSpliced:function(e,t){var n,r,a,p,h=c(this),m=i(h),v=u(e,m),b=arguments.length,g=0;for(0===b?n=r=0:1===b?(n=0,r=m-v):(n=b-2,r=d(f(l(t),0),m-v)),p=s(a=o(m+n-r));g=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),f;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f;}},e;}function h(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value;}catch(e){n(e);return;}u.done?t(c):Promise.resolve(c).then(r,a);}function m(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,u,"next",e);}function u(e){h(o,r,a,i,u,"throw",e);}i(void 0);});};}function v(e,t){return E(e)||_(e,t)||g(e,t)||b();}function b(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function g(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t);}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?arguments[1]:void 0);});},"7a1dc046":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("0db032d7"),i=n("4dc6d451"),u=n("6050ac71"),c=n("60eb28d7"),l=Array,s=o("".charAt),f=o("".charCodeAt),d=o([].join),p="".toWellFormed,h="\uFFFD",m=p&&c(function(){return"1"!==a(p,1);});r({target:"String",proto:!0,forced:m},{toWellFormed:function(){var e=u(i(this));if(m)return a(p,e);for(var t=e.length,n=l(t),r=0;r=56320||r+1>=t||(64512&f(e,r+1))!=56320?n[r]=h:(n[r]=s(e,r),n[++r]=s(e,r));}return d(n,"");}});},"7b266b54":function(e,t,n){e.exports=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")();}catch(e){if("object"==typeof window)return window;}}();},"7b552573":function(e,t,n){"use strict";n("9a31e2b1")({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:n("3afe4ef5")});},"7bd4d5b8":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return j;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("5fe4d00b")),i=n("6d875045"),u=n("a5398a2f"),c=n("169c86ee"),l=n("16298556"),s=n("2970ef58"),f=r._(n("30142f75")),d=r._(n("c756ba1a")),p=n("5ca000fa"),h=r._(n("e853406f")),m=r._(n("55b255fb")),v=r._(n("4127a61d")),b=r._(n("1b4e0904")),g=a._(n("9d065c04"));function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}var _=["title","placement"];function E(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}function w(e){var t=S(e,"string");return"symbol"===y(t)?t:String(t);}function S(e,t){if("object"!==y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==y(r))return r;throw TypeError("@@toPrimitive must return a primitive value.");}return("string"===t?String:Number)(e);}function x(e,t){return O(e)||A(e,t)||T(e,t)||k();}function k(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function T(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t);}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);}return a;}function I(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a;}var R=function(e){var t=e.title,n=e.placement,r=void 0===n?"top":n,a=M(e,_);return g.default.createElement(b.default,C({prefixCls:"dumi-theme-default-tooltip",placement:r},a,{overlay:t}));},L=function(){return g.default.createElement("svg",{viewBox:"0 0 200 117"},g.default.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"}));},N=function(){return g.default.createElement("svg",{viewBox:"0 0 200 117"},g.default.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"}));},D=function(){return g.default.createElement("svg",{viewBox:"0 0 1024 1024"},g.default.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"}),g.default.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"}));},j=function(e){var t,n,r,a,b,y=(0,p.useIntl)(),_=Object.entries(e.asset.dependencies).filter(function(e){return"FILE"===x(e,2)[1].type;}),w=(0,p.useDemo)(e.asset.id).renderOpts,S=x((0,g.useState)(0),2),k=S[0],T=S[1],P=x((0,g.useState)(e.forceShowCode||e.defaultShowCode),2),A=P[0],O=P[1],C=(0,g.useRef)(),M=x((0,g.useState)(!1),2),I=M[0],j=M[1],F=1===_.length,B=(null===(t=_[k][0].match(/\.([^.]+)$/))||void 0===t?void 0:t[1])||"text";return g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{className:"dumi-default-previewer-actions"},!(null!==(n=e.disabledActions)&&void 0!==n&&n.includes("CSB"))&&g.default.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":y.formatMessage({id:"previewer.actions.codesandbox"}),onClick:function(){return(0,p.openCodeSandbox)(e);}},g.default.createElement(u.ReactComponent,null)),!(null!==(r=e.disabledActions)&&void 0!==r&&r.includes("STACKBLITZ"))&&g.default.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button","data-dumi-tooltip":y.formatMessage({id:"previewer.actions.stackblitz"}),onClick:function(){return(0,p.openStackBlitz)(e);}},g.default.createElement(s.ReactComponent,null)),!(null!==(a=e.disabledActions)&&void 0!==a&&a.includes("HTML2SKETCH"))&&p.getSketchJSON&&g.default.createElement("span",{className:"dumi-default-previewer-action-btn dumi-default-previewer-action-sketch","data-dumi-tooltip":y.formatMessage({id:"previewer.actions.sketch"}),"data-copied":I||void 0},I?g.default.createElement(i.ReactComponent,null):g.default.createElement(l.ReactComponent,null),g.default.createElement("select",{value:"",onChange:function(t){var n=t.target.value;switch(n){case"group":case"symbol":(0,p.getSketchJSON)(e.demoContainer,{type:n}).then(function(e){(0,d.default)(JSON.stringify(e)),j(!0),clearTimeout(C.current),C.current=window.setTimeout(function(){return j(!1);},2e3);});break;case"guide":window.open("https://d.umijs.org/config#html2sketch");}}},g.default.createElement("option",{value:"",hidden:!0}),g.default.createElement("option",{value:"group"},y.formatMessage({id:"previewer.actions.sketch.group"})),g.default.createElement("option",{value:"symbol"},y.formatMessage({id:"previewer.actions.sketch.symbol"})),g.default.createElement("option",{value:"-",disabled:!0},y.formatMessage({id:"previewer.actions.sketch.divider"})),g.default.createElement("option",{value:"guide"},y.formatMessage({id:"previewer.actions.sketch.guide"})))),!(null!==(b=e.disabledActions)&&void 0!==b&&b.includes("EXTERNAL"))&&g.default.createElement("a",{target:"_blank",rel:"noreferrer",href:e.demoUrl,className:"dumi-default-previewer-action-btn","data-dumi-tooltip":y.formatMessage({id:"previewer.actions.separate"})},g.default.createElement(D,null)),e.extra,g.default.createElement(m.default,e),!e.forceShowCode&&g.default.createElement("button",{className:"dumi-default-previewer-action-btn",type:"button",onClick:function(){return O(function(e){return!e;});},"data-dumi-tooltip":y.formatMessage({id:"previewer.actions.code.".concat(A?"shrink":"expand")})},A?g.default.createElement(N,null):g.default.createElement(L,null))),A&&g.default.createElement(g.default.Fragment,null,g.default.createElement("div",{className:"dumi-default-previewer-sources"},g.default.createElement(o.default,{className:(0,f.default)("dumi-default-previewer-tabs",F&&"dumi-default-previewer-tabs-single"),defaultActiveKey:String(k),onChange:function(e){return T(Number(e));},items:_.map(function(t,n){var r=x(t,1)[0];return{key:String(n),label:r.replace(/^\.\//,""),children:0===n&&null!=w&&w.compile?g.default.createElement(v.default,{lang:B,initialValue:_[n][1].value.trim(),onChange:function(t){var r,a;null===(r=e.onSourceChange)||void 0===r||r.call(e,E({},_[n][0],t)),null===(a=e.onSourceTranspile)||void 0===a||a.call(e,{source:E({},_[n][0],t)});},extra:g.default.createElement(R,{title:y.formatMessage({id:"previewer.actions.code.editable"})},g.default.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn"},g.default.createElement(c.ReactComponent,null)))}):g.default.createElement(h.default,{lang:B,extra:0!==n&&g.default.createElement(R,{title:y.formatMessage({id:"previewer.actions.code.readonly"})},g.default.createElement("button",{type:"button",className:"dumi-default-previewer-editor-tip-btn","data-readonly":!0},g.default.createElement("span",null),g.default.createElement(c.ReactComponent,null)))},_[k][1].value.trim())};})}))));};},"7bd6308e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return v;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("c60c8136")),u=r._(n("30142f75")),c=r._(n("a40f134b")),l=a._(n("9d065c04")),s=n("949d70f4"),f=n("d507a87a"),d=n("67075208"),p=["className","title","eventKey","children"],h=["children"],m=function(e){var t=e.className,n=e.title,r=(e.eventKey,e.children),a=(0,i.default)(e,p),c=l.useContext(s.MenuContext).prefixCls,f="".concat(c,"-item-group");return l.createElement("li",(0,o.default)({role:"presentation"},a,{onClick:function(e){return e.stopPropagation();},className:(0,u.default)(f,t)}),l.createElement("div",{role:"presentation",className:"".concat(f,"-title"),title:"string"==typeof n?n:void 0},n),l.createElement("ul",{role:"group",className:"".concat(f,"-list")},r));};function v(e){var t=e.children,n=(0,i.default)(e,h),r=(0,f.useFullPath)(n.eventKey),a=(0,d.parseChildren)(t,r);return(0,f.useMeasure)()?a:l.createElement(m,(0,c.default)(n,["warnKey"]),a);}},"7bdf921b":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("08279926"),o=n("60eb28d7"),i=n("c4d65e90"),u=n("6050ac71"),c=n("644e11a0"),l=a("URL");r({target:"URL",stat:!0,forced:!(c&&o(function(){l.canParse();}))},{canParse:function(e){var t=i(arguments.length,1),n=u(e),r=t<2||void 0===arguments[1]?void 0:u(arguments[1]);try{return new l(n,r),!0;}catch(e){return!1;}}});},"7c46879f":function(e,t,n){"use strict";var r="object"==typeof document&&document.all,a=void 0===r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:a};},"7c50493a":function(e,t,n){"use strict";n("ccbffb09")("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0);};},n("d38f054a"));},"7c8234aa":function(e,t,n){"use strict";var r=n("3cf27215").has;e.exports=function(e){return r(e),e;};},"7cf9438d":function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,forced:!0},{umulh:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r,i=n>>>16,u=r>>>16,c=(i*o>>>0)+(a*o>>>16);return i*u+(c>>>16)+((a*u>>>0)+(65535&c)>>>16);}});},"7d11a9da":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("6f33419a").filterReject,o=n("b4db3f71"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("filterReject",function(e){var t=a(i(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t);},!0);},"7d3a9fd1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"LinkWithPrefetch",{enumerable:!0,get:function(){return p;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("fd335635")),i=r._(n("1002fabd")),u=a._(n("9d065c04")),c=n("64a21452"),l=n("e6aa02a5"),s=n("40554639"),f=["prefetch"];function d(e){var t=u.default.useRef(null);return u.default.useEffect(function(){e&&("function"==typeof e?e(t.current):e.current=t.current);}),t;}var p=u.default.forwardRef(function(e,t){var n,r=e.prefetch,a=(0,i.default)(e,f),p="undefined"!=typeof window&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},h=p.defaultPrefetch,m=p.defaultPrefetchTimeout,v=(!0===r?"intent":!1===r?"none":r)||h;if(!["intent","render","viewport","none"].includes(v))throw Error("Invalid prefetch value ".concat(v," found in Link component"));var b=(0,l.useAppData)(),g="string"==typeof e.to?e.to:null===(n=e.to)||void 0===n?void 0:n.pathname,y=u.default.useRef(!1),_=d(t),E=function(t){if("intent"===v){var n=t.target||{};n.preloadTimeout||(n.preloadTimeout=setTimeout(function(){var e;n.preloadTimeout=null,null===(e=b.preloadRoute)||void 0===e||e.call(b,g);},e.prefetchTimeout||m));}},w=function(e){if("intent"===v){var t=e.target||{};t.preloadTimeout&&(clearTimeout(t.preloadTimeout),t.preloadTimeout=null);}};return((0,u.useLayoutEffect)(function(){if("render"===v&&!y.current){var e;null===(e=b.preloadRoute)||void 0===e||e.call(b,g),y.current=!0;}},[v,g]),(0,s.useIntersectionObserver)(_,function(e){if(null!=e&&e.isIntersecting){var t;null===(t=b.preloadRoute)||void 0===t||t.call(b,g);}},{rootMargin:"100px"},{disabled:"viewport"!==v}),g)?u.default.createElement(c.Link,(0,o.default)({onMouseEnter:E,onMouseLeave:w,ref:_},a),e.children):null;});},"7d4e6fa5":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r={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"}}]};},"7dbbcd96":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("8d87a5e8"),o=n("60a11393"),i=n("9a735f39"),u=n("847d74b6"),c=n("a2078cdf"),l=n("60eb28d7"),s=r.aTypedArray,f=r.getTypedArrayConstructor,d=r.exportTypedArrayMethod,p=Math.max,h=Math.min;d("toSpliced",function(e,t){var n,r,l,d,m,v,b,g=s(this),y=f(g),_=a(g),E=i(e,_),w=arguments.length,S=0;if(0===w)n=r=0;else if(1===w)n=0,r=_-E;else if(r=h(p(c(t),0),_-E),n=w-2){l=o(d=new y(n));for(var x=2;xPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"5505d8f0")))};},"7f174ca1":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("01476015")),o=r._(n("40edc2cc")),i=r._(n("217185e5"));function u(e){var t=(0,o.default)();return function(){var n,r=(0,a.default)(e);return n=t?Reflect.construct(r,arguments,(0,a.default)(this).constructor):r.apply(this,arguments),(0,i.default)(this,n);};}},"7f531332":function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"7f7677cf":function(e,t,n){},"7f9f60ff":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{ApplyPluginsType:function(){return i.ApplyPluginsType;},Helmet:function(){return o.Helmet;},HelmetProvider:function(){return o.HelmetProvider;},Link:function(){return o.Link;},NavLink:function(){return o.NavLink;},Navigate:function(){return o.Navigate;},Outlet:function(){return o.Outlet;},PluginManager:function(){return i.PluginManager;},__getRoot:function(){return o.__getRoot;},__useFetcher:function(){return o.__useFetcher;},createBrowserHistory:function(){return o.createBrowserHistory;},createHashHistory:function(){return o.createHashHistory;},createHistory:function(){return u.createHistory;},createMemoryHistory:function(){return o.createMemoryHistory;},createSearchParams:function(){return o.createSearchParams;},defineApp:function(){return r.defineApp;},generatePath:function(){return o.generatePath;},getSketchJSON:function(){return a.getSketchJSON;},history:function(){return u.history;},matchPath:function(){return o.matchPath;},matchRoutes:function(){return o.matchRoutes;},renderClient:function(){return o.renderClient;},resolvePath:function(){return o.resolvePath;},terminal:function(){return c.terminal;},useAppData:function(){return o.useAppData;},useClientLoaderData:function(){return o.useClientLoaderData;},useLoaderData:function(){return o.useLoaderData;},useLocation:function(){return o.useLocation;},useMatch:function(){return o.useMatch;},useNavigate:function(){return o.useNavigate;},useOutlet:function(){return o.useOutlet;},useOutletContext:function(){return o.useOutletContext;},useParams:function(){return o.useParams;},useResolvedPath:function(){return o.useResolvedPath;},useRouteData:function(){return o.useRouteData;},useRouteProps:function(){return o.useRouteProps;},useRoutes:function(){return o.useRoutes;},useSearchParams:function(){return o.useSearchParams;},useSelectedRoutes:function(){return o.useSelectedRoutes;},useServerInsertedHTML:function(){return l;},useServerLoaderData:function(){return o.useServerLoaderData;},withRouter:function(){return o.withRouter;}});var r=n("4fddf9a4"),a=n("49c3eda8"),o=n("4568593b"),i=n("febde3e9"),u=n("2be80ac9"),c=n("cb524c0c");let l=()=>{};},"8016e22e":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("0db032d7"),i=n("008baaa6"),u=a.Uint8Array,c=o(1..toString);u&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){i(this);for(var e="",t=0,n=this.length;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1?arguments[1]:void 0;return a(this,e,t);}}),i("groupBy");},"820fed99":function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()};}catch(e){return{error:!0,value:e};}};},"82110d96":function(e,t,n){"use strict";var r=n("4dc6d451"),a=Object;e.exports=function(e){return a(r(e));};},"8250f182":function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=!r(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e;});},"8290de02":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("53cf7c2e");r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return a(i,this,o(e));}});},"82c0d109":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return y;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("b594a703"),i=a._(n("9d065c04")),u=n("196f905b"),c=r._(n("59645bed")),l=60,s=3600,f=86400;function d(e){var t=Math.abs(e);return t-1;}var b=function(e){var t=(0,c.default)(),n=t.formatRelativeTime,r=t.textComponent,a=e.children,u=n(e.value||0,e.unit,(0,o.__rest)(e,["children","value","unit"]));return"function"==typeof a?a(u):r?i.createElement(r,null,u):i.createElement(i.Fragment,null,u);},g=function(e){var t,n=e.value,r=void 0===n?0:n,a=e.unit,c=void 0===a?"second":a,l=e.updateIntervalInSeconds,s=(0,o.__rest)(e,["value","unit","updateIntervalInSeconds"]);(0,u.invariant)(!l||!!(l&&v(c)),"Cannot schedule update with unit longer than hour");var f=i.useState(),m=f[0],g=f[1],y=i.useState(0),_=y[0],E=y[1],w=i.useState(0),S=w[0],x=w[1];(c!==m||r!==_)&&(E(r||0),g(c),x(v(c)?h(r,c):0)),i.useEffect(function(){function e(){clearTimeout(t);}if(e(),!l||!v(c))return e;var n=S-l,r=d(n);if("day"===r)return e;var a=p(r),o=n%a,i=n-o,u=i>=S?i-a:i,s=Math.abs(u-S);return S!==u&&(t=setTimeout(function(){return x(u);},1e3*s)),e;},[S,l,c]);var k=r||0,T=c;if(v(c)&&"number"==typeof S&&l){var P=p(T=d(S));k=Math.round(S/P);}return i.createElement(b,(0,o.__assign)({value:k,unit:T},s));};g.displayName="FormattedRelativeTime";var y=g;},"82fda5a1":function(e,t,n){"use strict";var r=n("24d8d964"),a=n("0db032d7"),o=n("6050ac71"),i=n("c4d65e90"),u=URLSearchParams,c=u.prototype,l=a(c.getAll),s=a(c.has),f=new u("a=1");(f.has("a",2)||!f.has("a",void 0))&&r(c,"has",function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return s(this,e);var r=l(this,e);i(t,1);for(var a=o(n),u=0;ul;)a(r,n=t[l++])&&(~i(s,n)||c(s,n));return s;};},"8389ebfc":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("7c8234aa"),o=n("3cf27215").add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=a(this),t=0,n=arguments.length;t1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n);}function h(e,t){var n=t||[],r=(0,i.default)(n,2),a=r[0],o=r[1];return[p(e.width,a),p(e.height,o)];}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]];}function v(e,t){var n,r,a=t[0],o=t[1];return r="t"===a?e.y:"b"===a?e.y+e.height:e.y+e.height/2,{x:n="l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:r};}function b(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e;}).join("");}function g(e,t,n,r,a,p,g){var y=f.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),_=(0,i.default)(y,2),E=_[0],w=_[1],S=f.useRef(0),x=f.useMemo(function(){return t?(0,d.collectScroller)(t):[];},[t]),k=f.useRef({}),T=function(){k.current={};};e||T();var P=(0,l.default)(function(){if(t&&n&&e){var l,s,f,y,_,E,S,T=t,P=T.ownerDocument,A=(0,d.getWin)(T).getComputedStyle(T),O=A.width,C=A.height,M=A.position,I=T.style.left,R=T.style.top,L=T.style.right,N=T.style.bottom,D=T.style.overflow,j=(0,o.default)((0,o.default)({},a[r]),p),F=P.createElement("div");if(null===(l=T.parentElement)||void 0===l||l.appendChild(F),F.style.left="".concat(T.offsetLeft,"px"),F.style.top="".concat(T.offsetTop,"px"),F.style.position=M,F.style.height="".concat(T.offsetHeight,"px"),F.style.width="".concat(T.offsetWidth,"px"),T.style.left="0",T.style.top="0",T.style.right="auto",T.style.bottom="auto",T.style.overflow="hidden",Array.isArray(n))f={x:n[0],y:n[1],width:0,height:0};else{var B=n.getBoundingClientRect();f={x:B.x,y:B.y,width:B.width,height:B.height};}var U=T.getBoundingClientRect(),H=P.documentElement,z=H.clientWidth,G=H.clientHeight,$=H.scrollWidth,V=H.scrollHeight,W=H.scrollTop,K=H.scrollLeft,Y=U.height,q=U.width,X=f.height,Q=f.width,Z={left:0,top:0,right:z,bottom:G},J={left:-K,top:-W,right:$-K,bottom:V-W},ee=j.htmlRegion,et="visible",en="visibleFirst";"scroll"!==ee&&ee!==en&&(ee=et);var er=ee===en,ea=(0,d.getVisibleArea)(J,x),eo=(0,d.getVisibleArea)(Z,x),ei=ee===et?eo:ea,eu=er?eo:ei;T.style.left="auto",T.style.top="auto",T.style.right="0",T.style.bottom="0";var ec=T.getBoundingClientRect();T.style.left=I,T.style.top=R,T.style.right=L,T.style.bottom=N,T.style.overflow=D,null===(s=T.parentElement)||void 0===s||s.removeChild(F);var el=(0,d.toNum)(Math.round(q/parseFloat(O)*1e3)/1e3),es=(0,d.toNum)(Math.round(Y/parseFloat(C)*1e3)/1e3);if(!(0===el||0===es||(0,u.isDOM)(n)&&!(0,c.default)(n))){var ef=j.offset,ed=j.targetOffset,ep=h(U,ef),eh=(0,i.default)(ep,2),em=eh[0],ev=eh[1],eb=h(f,ed),eg=(0,i.default)(eb,2),ey=eg[0],e_=eg[1];f.x-=ey,f.y-=e_;var eE=j.points||[],ew=(0,i.default)(eE,2),eS=ew[0],ex=ew[1],ek=m(ex),eT=m(eS),eP=v(f,ek),eA=v(U,eT),eO=(0,o.default)({},j),eC=eP.x-eA.x+em,eM=eP.y-eA.y+ev,eI=tv(eC,eM),eR=tv(eC,eM,eo),eL=v(f,["t","l"]),eN=v(U,["t","l"]),eD=v(f,["b","r"]),ej=v(U,["b","r"]),eF=j.overflow||{},eB=eF.adjustX,eU=eF.adjustY,eH=eF.shiftX,ez=eF.shiftY,eG=function(e){return"boolean"==typeof e?e:e>=0;};tb();var e$=eG(eU),eV=eT[0]===ek[0];if(e$&&"t"===eT[0]&&(_>eu.bottom||k.current.bt)){var eW=eM;eV?eW-=Y-X:eW=eL.y-ej.y-ev;var eK=tv(eC,eW),eY=tv(eC,eW,eo);eK>eI||eK===eI&&(!er||eY>=eR)?(k.current.bt=!0,eM=eW,ev=-ev,eO.points=[b(eT,0),b(ek,0)]):k.current.bt=!1;}if(e$&&"b"===eT[0]&&(yeI||eX===eI&&(!er||eQ>=eR)?(k.current.tb=!0,eM=eq,ev=-ev,eO.points=[b(eT,0),b(ek,0)]):k.current.tb=!1;}var eZ=eG(eB),eJ=eT[1]===ek[1];if(eZ&&"l"===eT[1]&&(S>eu.right||k.current.rl)){var e0=eC;eJ?e0-=q-Q:e0=eL.x-ej.x-em;var e1=tv(e0,eM),e2=tv(e0,eM,eo);e1>eI||e1===eI&&(!er||e2>=eR)?(k.current.rl=!0,eC=e0,em=-em,eO.points=[b(eT,1),b(ek,1)]):k.current.rl=!1;}if(eZ&&"r"===eT[1]&&(EeI||e6===eI&&(!er||e7>=eR)?(k.current.lr=!0,eC=e3,em=-em,eO.points=[b(eT,1),b(ek,1)]):k.current.lr=!1;}tb();var e9=!0===eH?0:eH;"number"==typeof e9&&(Eeo.right&&(eC-=S-eo.right-em,f.x>eo.right-e9&&(eC+=f.x-eo.right+e9)));var e8=!0===ez?0:ez;"number"==typeof e8&&(yeo.bottom&&(eM-=_-eo.bottom-ev,f.y>eo.bottom-e8&&(eM+=f.y-eo.bottom+e8)));var e4=U.x+eC,e5=e4+q,te=U.y+eM,tt=te+Y,tn=f.x,tr=tn+Q,ta=f.y,to=ta+X,ti=Math.max(e4,tn),tu=Math.min(e5,tr),tc=(ti+tu)/2,tl=tc-e4,ts=Math.max(te,ta),tf=Math.min(tt,to),td=(ts+tf)/2,tp=td-te;null==g||g(t,eO);var th=ec.right-U.x-(eC+U.width),tm=ec.bottom-U.y-(eM+U.height);w({ready:!0,offsetX:eC/el,offsetY:eM/es,offsetR:th/el,offsetB:tm/es,arrowX:tl/el,arrowY:tp/es,scaleX:el,scaleY:es,align:eO});}function tv(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ei,r=U.x+e,a=U.y+t,o=r+q,i=a+Y,u=Math.max(r,n.left),c=Math.max(a,n.top);return Math.max(0,(Math.min(o,n.right)-u)*(Math.min(i,n.bottom)-c));}function tb(){_=(y=U.y+eM)+Y,S=(E=U.x+eC)+q;}}}),A=function(){S.current+=1;var e=S.current;Promise.resolve().then(function(){S.current===e&&P();});},O=function(){w(function(e){return(0,o.default)((0,o.default)({},e),{},{ready:!1});});};return(0,s.default)(O,[r]),(0,s.default)(function(){e||O();},[e]),[E.ready,E.offsetX,E.offsetY,E.offsetR,E.offsetB,E.arrowX,E.arrowY,E.scaleX,E.scaleY,E.align,A];}},"861ce6cf":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{genReactRenderCode:function(){return y;},getAgnosticComponentModule:function(){return x;},getLocaleNav:function(){return S;},pickRouteSortMeta:function(){return w;},pluginManager:function(){return r;},setPluginManager:function(){return b;},useIsomorphicLayoutEffect:function(){return _;},useLocaleDocRoutes:function(){return g;},useRouteDataComparer:function(){return E;}});var r,a=n("5ca000fa"),o=n("9d065c04"),i=n("80ff2385");function u(){"use strict";u=function(){return e;};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value;},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t];}try{l({},"");}catch(e){l=function(e,t,n){return e[t]=n;};}function f(e,t,n,a){var o=Object.create((t&&t.prototype instanceof h?t:h).prototype);return r(o,"_invoke",{value:S(e,n,new P(a||[]))}),o;}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)};}catch(e){return{type:"throw",arg:e};}}e.wrap=f;var p={};function h(){}function m(){}function v(){}var b={};l(b,o,function(){return this;});var g=Object.getPrototypeOf,y=g&&g(g(A([])));y&&y!==t&&n.call(y,o)&&(b=y);var _=v.prototype=h.prototype=Object.create(b);function E(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e);});});}function w(e,t){var a;function o(r,a,i,u){var c=d(e[r],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){o("next",e,i,u);},function(e){o("throw",e,i,u);}):t.resolve(f).then(function(e){l.value=e,i(l);},function(e){return o("throw",e,i,u);});}u(c.arg);}r(this,"_invoke",{value:function(e,n){function r(){return new t(function(t,r){o(e,n,t,r);});}return a=a?a.then(r,r):r();}});}function S(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return O();}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var u=x(i,n);if(u){if(u===p)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done};}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg);}};}function x(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var a=d(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=TypeError("iterator result is not an object"),t.delegate=null,p);}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t);}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t;}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0);}function A(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p;}},e;}function c(e,t,n,r,a,o,i){try{var u=e[o](i),c=u.value;}catch(e){n(e);return;}u.done?t(c):Promise.resolve(c).then(r,a);}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,u,"next",e);}function u(e){c(o,r,a,i,u,"throw",e);}i(void 0);});};}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}function f(e,t){return v(e)||m(e,t)||p(e,t)||d();}function d(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function p(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t);}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n);'):"".concat(t,"\n\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\n\nReactDOM.render(\n ,\n document.getElementById('root'),\n);");},_="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,E=function(){var e=(0,i.useLocale)();return(0,o.useCallback)(function(t,n){return("order"in t&&"order"in n?t.order-n.order:0)||("link"in t&&"link"in n?t.link.split("/").length-n.link.split("/").length:0)||("path"in t&&"path"in n?t.path.split("/").length-n.path.split("/").length:0)||(t.title?t.title.localeCompare(n.title||"",e.id):-1);},[]);},w=function(e,t,n){var r,a="nav.second"===t?"object"===s(n.nav)?n.nav.second:{}:n[t];switch(s(a)){case"object":e.title=a.title||e.title,e.order=null!==(r=a.order)&&void 0!==r?r:e.order;break;case"string":e.title=a||e.title;}return e;};function S(e,t){return Array.isArray(e)?e:e[t.id];}function x(e){return k.apply(this,arguments);}function k(){return(k=l(u().mark(function e(t){var n,r;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Promise)){e.next=6;break;}return e.next=3,t;case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=t;case 7:return r=e.t0,e.abrupt("return",null!==(n=r.default)&&void 0!==n?n:r);case 9:case"end":return e.stop();}},e);}))).apply(this,arguments);}},"86a4fecc":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"parseItems",{enumerable:!0,get:function(){return v;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("c60c8136")),u=r._(n("6b99f428")),c=a._(n("9d065c04")),l=r._(n("7bd6308e")),s=r._(n("d42c42d2")),f=r._(n("aff5b667")),d=r._(n("2b2af3ca")),p=n("67075208"),h=["label","children","key","type"];function m(e){return(e||[]).map(function(e,t){if(e&&"object"===(0,u.default)(e)){var n=e,r=n.label,a=n.children,p=n.key,v=n.type,b=(0,i.default)(n,h),g=null!=p?p:"tmp-".concat(t);return a||"group"===v?"group"===v?c.createElement(l.default,(0,o.default)({key:g},b,{title:r}),m(a)):c.createElement(s.default,(0,o.default)({key:g},b,{title:r}),m(a)):"divider"===v?c.createElement(f.default,(0,o.default)({key:g},b)):c.createElement(d.default,(0,o.default)({key:g},b),r);}return null;}).filter(function(e){return e;});}function v(e,t,n){var r=e;return t&&(r=m(t)),(0,p.parseChildren)(r,n);}},"86adcc76":function(e,t,n){},"8766eb8a":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Action:function(){return r;},createBrowserHistory:function(){return l;},createHashHistory:function(){return s;},createMemoryHistory:function(){return f;},createPath:function(){return v;},parsePath:function(){return b;}});var r,a=n("777fffbe")._(n("a5105844"));!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE";}(r||(r={}));var o=function(e){return e;},i="beforeunload",u="hashchange",c="popstate";function l(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,u=n.history;function l(){var e=n.location,t=e.pathname,r=e.search,a=e.hash,i=u.state||{};return[i.idx,o({pathname:t,search:r,hash:a,state:i.usr||null,key:i.key||"default"})];}var s=null;function f(){if(s)w.call(s),s=null;else{var e=r.Pop,t=l(),n=t[0],a=t[1];if(w.length){if(null!=n){var o=y-n;o&&(s={action:e,location:a,retry:function(){C(-1*o);}},C(o));}}else P(e);}}n.addEventListener(c,f);var d=r.Pop,g=l(),y=g[0],_=g[1],E=h(),w=h();function S(e){return"string"==typeof e?e:v(e);}function x(e,t){return void 0===t&&(t=null),o((0,a.default)({pathname:_.pathname,hash:"",search:""},"string"==typeof e?b(e):e,{state:t,key:m()}));}function k(e,t){return[{usr:e.state,key:e.key,idx:t},S(e)];}function T(e,t,n){return!w.length||(w.call({action:e,location:t,retry:n}),!1);}function P(e){d=e;var t=l();y=t[0],_=t[1],E.call({action:d,location:_});}function A(e,t){var a=r.Push,o=x(e,t);if(T(a,o,function(){A(e,t);})){var i=k(o,y+1),c=i[0],l=i[1];try{u.pushState(c,"",l);}catch(e){n.location.assign(l);}P(a);}}function O(e,t){var n=r.Replace,a=x(e,t);if(T(n,a,function(){O(e,t);})){var o=k(a,y),i=o[0],c=o[1];u.replaceState(i,"",c),P(n);}}function C(e){u.go(e);}return null==y&&(y=0,u.replaceState((0,a.default)({},u.state,{idx:y}),"")),{get action(){return d;},get location(){return _;},createHref:S,push:A,replace:O,go:C,back:function(){C(-1);},forward:function(){C(1);},listen:function(e){return E.push(e);},block:function(e){var t=w.push(e);return 1===w.length&&n.addEventListener(i,p),function(){t(),w.length||n.removeEventListener(i,p);};}};}function s(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,l=n.history;function s(){var e=b(n.location.hash.substr(1)),t=e.pathname,r=void 0===t?"/":t,a=e.search,i=void 0===a?"":a,u=e.hash,c=void 0===u?"":u,s=l.state||{};return[s.idx,o({pathname:r,search:i,hash:c,state:s.usr||null,key:s.key||"default"})];}var f=null;function d(){if(f)S.call(f),f=null;else{var e=r.Pop,t=s(),n=t[0],a=t[1];if(S.length){if(null!=n){var o=_-n;o&&(f={action:e,location:a,retry:function(){I(-1*o);}},I(o));}}else O(e);}}n.addEventListener(c,d),n.addEventListener(u,function(){v(s()[1])!==v(E)&&d();});var g=r.Pop,y=s(),_=y[0],E=y[1],w=h(),S=h();function x(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,a=r.indexOf("#");t=-1===a?r:r.slice(0,a);}return t;}function k(e){return x()+"#"+("string"==typeof e?e:v(e));}function T(e,t){return void 0===t&&(t=null),o((0,a.default)({pathname:E.pathname,hash:"",search:""},"string"==typeof e?b(e):e,{state:t,key:m()}));}function P(e,t){return[{usr:e.state,key:e.key,idx:t},k(e)];}function A(e,t,n){return!S.length||(S.call({action:e,location:t,retry:n}),!1);}function O(e){g=e;var t=s();_=t[0],E=t[1],w.call({action:g,location:E});}function C(e,t){var a=r.Push,o=T(e,t);if(A(a,o,function(){C(e,t);})){var i=P(o,_+1),u=i[0],c=i[1];try{l.pushState(u,"",c);}catch(e){n.location.assign(c);}O(a);}}function M(e,t){var n=r.Replace,a=T(e,t);if(A(n,a,function(){M(e,t);})){var o=P(a,_),i=o[0],u=o[1];l.replaceState(i,"",u),O(n);}}function I(e){l.go(e);}return null==_&&(_=0,l.replaceState((0,a.default)({},l.state,{idx:_}),"")),{get action(){return g;},get location(){return E;},createHref:k,push:C,replace:M,go:I,back:function(){I(-1);},forward:function(){I(1);},listen:function(e){return w.push(e);},block:function(e){var t=S.push(e);return 1===S.length&&n.addEventListener(i,p),function(){t(),S.length||n.removeEventListener(i,p);};}};}function f(e){void 0===e&&(e={});var t=e,n=t.initialEntries,i=void 0===n?["/"]:n,u=t.initialIndex,c=i.map(function(e){return o((0,a.default)({pathname:"/",search:"",hash:"",state:null,key:m()},"string"==typeof e?b(e):e));}),l=d(null==u?c.length-1:u,0,c.length-1),s=r.Pop,f=c[l],p=h(),g=h();function y(e,t){return void 0===t&&(t=null),o((0,a.default)({pathname:f.pathname,search:"",hash:""},"string"==typeof e?b(e):e,{state:t,key:m()}));}function _(e,t,n){return!g.length||(g.call({action:e,location:t,retry:n}),!1);}function E(e,t){s=e,f=t,p.call({action:s,location:f});}function w(e,t){var n=r.Push,a=y(e,t);_(n,a,function(){w(e,t);})&&(l+=1,c.splice(l,c.length,a),E(n,a));}function S(e,t){var n=r.Replace,a=y(e,t);_(n,a,function(){S(e,t);})&&(c[l]=a,E(n,a));}function x(e){var t=d(l+e,0,c.length-1),n=r.Pop,a=c[t];_(n,a,function(){x(e);})&&(l=t,E(n,a));}return{get index(){return l;},get action(){return s;},get location(){return f;},createHref:function(e){return"string"==typeof e?e:v(e);},push:w,replace:S,go:x,back:function(){x(-1);},forward:function(){x(1);},listen:function(e){return p.push(e);},block:function(e){return g.push(e);}};}function d(e,t,n){return Math.min(Math.max(e,t),n);}function p(e){e.preventDefault(),e.returnValue="";}function h(){var e=[];return{get length(){return e.length;},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t;});};},call:function(t){e.forEach(function(e){return e&&e(t);});}};}function m(){return Math.random().toString(36).substr(2,8);}function v(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,a=void 0===r?"":r,o=e.hash,i=void 0===o?"":o;return a&&"?"!==a&&(n+="?"===a.charAt(0)?a:"?"+a),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n;}function b(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e);}return t;}},"878528cc":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("5828adcc").findLast,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLast",function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0);});},"879737d0":function(e,t,n){"use strict";var r=n("0db032d7"),a=Error,o=r("".replace),i=function(e){return String(new a(e).stack);}("zxcasd"),u=/\n\s*at [^:]*:[^\n]*/,c=u.test(i);e.exports=function(e,t){if(c&&"string"==typeof e&&!a.prepareStackTrace)for(;t--;)e=o(e,u,"");return e;};},"879b6201":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return v;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("c60c8136")),u=a._(n("9d065c04")),c=r._(n("6d9bd3c4")),l=r._(n("62841e54")),s=n("2e1d6719"),f=["component"],d=["className"],p=["className"],h=function(e,t){var n=u.useContext(s.OverflowContext);if(!n){var r=e.component,a=void 0===r?"div":r,h=(0,i.default)(e,f);return u.createElement(a,(0,o.default)({},h,{ref:t}));}var m=n.className,v=(0,i.default)(n,d),b=e.className,g=(0,i.default)(e,p);return u.createElement(s.OverflowContext.Provider,{value:null},u.createElement(l.default,(0,o.default)({ref:t,className:(0,c.default)(m,b)},v,g)));},m=u.forwardRef(h);m.displayName="RawItem";var v=m;},"87ff588a":function(e,t,n){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1;};},"88f89daa":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("cd7c81bf");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("isSubsetOf")},{isSubsetOf:a});},"895ad019":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("4b530b92");let a={ids:["pinmap-demo-default","pinmap-demo-marker","pinmap-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c7fd9920")]).then(n.dr(r,n.bind(n,"3feeb1ce")))};},"899439c4":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("377218ed"),i=n("f081b157"),u=n("b9ba4ce7"),c=n("4f336d3e"),l=n("32db7d60"),s=n("0d4455ba"),f=n("256d831f"),d=l(function(e){var t,n=this,r=n.iterator;if(!n.remaining--){var i=s(void 0,!0);return(n.done=!0,void 0!==(t=r.return))?e.resolve(a(t,r,void 0)).then(function(){return i;}):i;}return e.resolve(a(n.next,r)).then(function(e){return o(e).done?(n.done=!0,s(void 0,!0)):s(e.value,!1);}).then(null,function(e){throw n.done=!0,e;});});r({target:"AsyncIterator",proto:!0,real:!0,forced:f},{take:function(e){o(this);var t=c(u(+e));return new d(i(this),{remaining:t});}});},"8a0e7d4a":function(e,t,n){"use strict";var r=n("4afe9cf1");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r);},"8a4a495f":function(e,t,n){"use strict";var r,a=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),f=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case i:case c:case u:case p:case h:return e;default:switch(e=e&&e.$$typeof){case f:case s:case d:case v:case m:case l:return e;default:return t;}}case o:return t;}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=s,t.ContextProvider=l,t.Element=a,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=u,t.Suspense=p,t.SuspenseList=h,t.isAsyncMode=function(){return!1;},t.isConcurrentMode=function(){return!1;},t.isContextConsumer=function(e){return g(e)===s;},t.isContextProvider=function(e){return g(e)===l;},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a;},t.isForwardRef=function(e){return g(e)===d;},t.isFragment=function(e){return g(e)===i;},t.isLazy=function(e){return g(e)===v;},t.isMemo=function(e){return g(e)===m;},t.isPortal=function(e){return g(e)===o;},t.isProfiler=function(e){return g(e)===c;},t.isStrictMode=function(e){return g(e)===u;},t.isSuspense=function(e){return g(e)===p;},t.isSuspenseList=function(e){return g(e)===h;},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===u||e===p||e===h||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===r||void 0!==e.getModuleId);},t.typeOf=g;},"8aec9632":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("377218ed"),o=n("f081b157"),i=n("4a357c11");e.exports=function(e,t){t&&"string"==typeof e||a(e);var n=i(e);return o(a(void 0!==n?r(n,e):e));};},"8b30805d":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{DEFAULT_INTL_CONFIG:function(){return r.DEFAULT_INTL_CONFIG;},createIntl:function(){return o.createIntl;},createIntlCache:function(){return r.createIntlCache;},formatMessage:function(){return a.formatMessage;}});var r=n("188ed28f"),a=n("f398949a"),o=n("15ef8f5f");},"8b590019":function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype;});},"8b82de0b":function(e,t,n){"use strict";n("54beaba5")("replaceAll");},"8bda5910":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{IntlErrorCode:function(){return r;},IntlFormatError:function(){return l;},InvalidConfigError:function(){return u;},MessageFormatError:function(){return s;},MissingDataError:function(){return c;},MissingTranslationError:function(){return f;},UnsupportedFormatterError:function(){return i;}});var r,a=n("b594a703");!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION";}(r||(r={}));var o=function(e){function t(n,r,a){var o=this,i=a?a instanceof Error?a:Error(String(a)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o;}return(0,a.__extends)(t,e),t;}(Error),i=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this;}return(0,a.__extends)(t,e),t;}(o),u=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this;}return(0,a.__extends)(t,e),t;}(o),c=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this;}return(0,a.__extends)(t,e),t;}(o),l=function(e){function t(t,n,a){var o=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),a)||this;return o.locale=n,o;}return(0,a.__extends)(t,e),t;}(o),s=function(e){function t(t,n,r,a){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,a)||this;return o.descriptor=r,o.locale=n,o;}return(0,a.__extends)(t,e),t;}(l),f=function(e){function t(t,n){var a=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e);}).join(),")"):"id"," as fallback."))||this;return a.descriptor=t,a;}return(0,a.__extends)(t,e),t;}(o);},"8bf19462":function(e,t,n){"use strict";var r=n("e3d0fd29"),a=n("f16f296d");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),a.f(e,t,n);};},"8c0be298":function(e,t,n){"use strict";e.exports=n("913fa6c1");},"8c3d766a":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("1f316010"),i=n("b69db97a"),u=n("ff5769a6"),c=n("71cfa629").Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(i(this)?this:c);u(t);var r=u(n.set);return o(e,function(e){a(r,n,t(e),e);}),n;}});},"8c4863a7":function(e,t,n){"use strict";n("9a31e2b1")({target:"WeakMap",stat:!0,forced:!0},{from:n("4cd2fec9")});},"8cbef9d3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("a0338546");let r=[{id:"\u6269\u5C55-react-markdown-\u4F7F\u7528",depth:2,title:"\u6269\u5C55 react-markdown \u4F7F\u7528"}],a={title:"\u6269\u5C55 MD \u6E32\u67D3\u5668\u4F7F\u7528",toc:"content",filename:"docs/guide/custome-markdown.md",lastUpdated:1734934621e3,nav:{title:"\u6307\u5357",order:0},order:2};},"8d2964d4":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"openStackBlitz",{enumerable:!0,get:function(){return d;}});var r=n("777fffbe")._(n("21a05b42")),a=n("5ca000fa"),o=n("861ce6cf");function i(e,t){return f(e)||s(e,t)||c(e,t)||u();}function u(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function c(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t);}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n'},m={title:e.title||"",description:e.description||"An auto-generated demo by dumi",template:"create-react-app",files:{}};Object.entries(e.asset.dependencies).forEach(function(e){var t=i(e,2),n=t[0],r=t[1],a=r.type,o=r.value;"NPM"===a?d[n]=o:h[n===p?"App".concat(f):n]=o;}),null!==(u=d[n="react"])&&void 0!==u||(d[n]="latest"),null!==(l=d[c="react-dom"])&&void 0!==l||(d[c]=d.react),h["package.json"]=JSON.stringify({name:e.title,description:e.description||"An auto-generated demo by dumi",dependencies:d,devDependencies:s?{typescript:"^4"}:{}},null,2),h[p]=(0,o.genReactRenderCode)(d.react),m.files=h;var v=o.pluginManager.applyPlugins({type:a.ApplyPluginsType.modify,key:"modifyStackBlitzData",initialValue:m,args:e});r.default.openProject(v);};},"8d83395f":function(e,t,n){"use strict";var r=n("ff5769a6"),a=n("82110d96"),o=n("dba6f1a0"),i=n("8d87a5e8"),u=TypeError,c=function(e){return function(t,n,c,l){var s=a(t),f=o(s),d=i(s);r(n);var p=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(p in f){l=f[p],p+=h;break;}if(p+=h,e?p<0:d<=p)throw new u("Reduce of empty array with no initial value");}for(;e?p>=0:d>p;p+=h)p in f&&(l=n(l,f[p],p,s));return l;};};e.exports={left:c(!1),right:c(!0)};},"8d87a5e8":function(e,t,n){"use strict";var r=n("e6629856");e.exports=function(e){return r(e.length);};},"8d9c8bd6":function(e,t,n){"use strict";var r=n("a2078cdf"),a=n("e6629856"),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw new o("Wrong length or index");return n;};},"8de8a52b":function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=r+"+/",o=r+"-_",i=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t;};e.exports={i2c:a,c2i:i(a),i2cUrl:o,c2iUrl:i(o)};},"8df979c6":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("ff5769a6"),i=n("4dc6d451"),u=n("1f316010"),c=n("71cfa629"),l=n("256d831f"),s=c.Map,f=c.has,d=c.get,p=c.set,h=a([].push);r({target:"Map",stat:!0,forced:l},{groupBy:function(e,t){i(e),o(t);var n=new s,r=0;return u(e,function(e){var a=t(e,r++);f(n,a)?h(d(n,a),e):p(n,a,[e]);}),n;}});},"8e71849f":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("852bbaa9"),a=n("64c7e51a"),o=r._(n("9d065c04")),i=o.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=(0,a.supportRef)(n),u=o.useCallback(function(e){(0,a.fillRef)(t,r?r(e):e);},[r]),c=(0,a.useComposeRef)(u,(0,a.getNodeRef)(n));return i?o.cloneElement(n,{ref:c}):n;});},"8eee2f2b":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("30142f75")),u=r._(n("f2ad2335")),c=a._(n("9d065c04"));function l(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,l=e.motion;return a?c.createElement(u.default,(0,o.default)({},l,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return c.createElement("div",{style:{zIndex:r},className:(0,i.default)("".concat(t,"-mask"),n)});}):null;}},"8f976750":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{useMatchedRoute:function(){return g;},useRouteMeta:function(){return y;}});var r=n("777fffbe")._(n("5d65296e")),a=n("5ca000fa"),o=n("9d065c04"),i=n("861ce6cf");function u(e,t){return d(e)||f(e,t)||l(e,t)||c();}function c(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function l(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t);}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:m;return e.meta&&(Object.keys(e.meta).forEach(function(n){var r,a;null!==(a=(r=t)[n])&&void 0!==a||(r[n]=e.meta[n]);}),t.frontmatter=(0,r.default)(t.frontmatter,e.meta.frontmatter,{arrayMerge:function(e,t){return t;}})),t;},i=o((0,a.getRouteMetaById)(e.id,{syncOnly:!0})),u=function(n,r){if(v.includes(r)){if(!h.get(t)){var i=(0,a.getRouteMetaById)(e.id);i&&h.set(t,i.then(function(e){return p.set(t,o(e)).get(t);}));}var u=h.get(t);if(u)throw u;}return n[r];};null===(n=i.tabs)||void 0===n||n.forEach(function(e){e.meta=new Proxy(e.meta,{get:u});});var c=new Proxy(i,{get:u});p.set(t,c);}return p.get(t);}var g=function(){var e=(0,a.useRouteData)().route,t=(0,a.useLocation)().pathname,n=(0,a.useAppData)().clientRoutes,r=(0,o.useCallback)(function(){var r;if(e.path!==t||"isLayout"in e){var o,i=null===(o=(0,a.matchRoutes)(n,t))||void 0===o?void 0:o.pop();r=null==i?void 0:i.route;}else r=e;return r;},[n.length,t]),c=u((0,o.useState)(r),2),l=c[0],s=c[1];return(0,i.useIsomorphicLayoutEffect)(function(){s(r);},[n.length,t]),l;},y=function(){return b(g());};},"8fb0fcd1":function(e,t,n){"use strict";var r=n("0db032d7"),a=n("82110d96"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(a(e),t);};},"8fcc8f13":function(e,t,n){"use strict";var r,a,o,i=n("604624b9"),u=n("e6ade175"),c=n("7087e9e6"),l=n("1022370d"),s=n("8fb0fcd1"),f=n("6b2c1d8a"),d=n("be63189e"),p=n("e0f6bdfe"),h="Object already initialized",m=u.TypeError,v=u.WeakMap,b=function(e){return o(e)?a(e):r(e,{});},g=function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n;};};if(i||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new m(h);return t.facade=e,y.set(e,t),t;},a=function(e){return y.get(e)||{};},o=function(e){return y.has(e);};}else{var _=d("state");p[_]=!0,r=function(e,t){if(s(e,_))throw new m(h);return t.facade=e,l(e,_,t),t;},a=function(e){return s(e,_)?e[_]:{};},o=function(e){return s(e,_);};}e.exports={set:r,get:a,has:o,enforce:b,getterFor:g};},"8fdaad1e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{injectCSS:function(){return m;},removeCSS:function(){return b;},updateCSS:function(){return y;}});var r=n("777fffbe"),a=r._(n("1de795bc")),o=r._(n("70228951")),i=r._(n("1cddf5c1")),u="data-rc-order",c="data-rc-priority",l="rc-util-key",s=new Map;function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):l;}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body;}function p(e){return"queue"===e?"prependQueue":e?"prepend":"append";}function h(e){return Array.from((s.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName;});}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var n=t.csp,r=t.prepend,a=t.priority,i=void 0===a?0:a,l=p(r),s="prependQueue"===l,f=document.createElement("style");f.setAttribute(u,l),s&&i&&f.setAttribute(c,"".concat(i)),null!=n&&n.nonce&&(f.nonce=null==n?void 0:n.nonce),f.innerHTML=e;var m=d(t),v=m.firstChild;if(r){if(s){var b=(t.styles||h(m)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(u))&&i>=Number(e.getAttribute(c)||0);});if(b.length)return m.insertBefore(f,b[b.length-1].nextSibling),f;}m.insertBefore(f,v);}else m.appendChild(f);return f;}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||h(n)).find(function(n){return n.getAttribute(f(t))===e;});}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t);n&&d(t).removeChild(n);}function g(e,t){var n=s.get(e);if(!n||!(0,i.default)(document,n)){var r=m("",t),a=r.parentNode;s.set(e,a),e.removeChild(r);}}function y(e,t){var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=d(i),c=h(u),l=(0,a.default)((0,a.default)({},i),{},{styles:c});g(u,l);var s=v(t,l);if(s)return null!==(n=l.csp)&&void 0!==n&&n.nonce&&s.nonce!==(null===(r=l.csp)||void 0===r?void 0:r.nonce)&&(s.nonce=null===(o=l.csp)||void 0===o?void 0:o.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;var p=m(e,l);return p.setAttribute(f(l),t),p;}},"8ff8a0f1":function(e,t,n){"use strict";var r=n("4fccae39")("iterator"),a=!1;try{var o=0,i={next:function(){return{done:!!o++};},return:function(){a=!0;}};i[r]=function(){return this;},Array.from(i,function(){throw 2;});}catch(e){}e.exports=function(e,t){try{if(!t&&!a)return!1;}catch(e){return!1;}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0};}};},e(o);}catch(e){}return n;};},"906d3ddc":function(e,t,n){"use strict";n("59fc3ea2"),n("c3234e1c");var r=n("08279926"),a=n("2e3fa3e3"),o=n("7087e9e6"),i=Object,u=TypeError,c=r("Map"),l=r("WeakMap"),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=a(null);};s.prototype.get=function(e,t){return this[e]||(this[e]=t());},s.prototype.next=function(e,t,n){var r=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new l):this.primitives||(this.primitives=new c),a=r.get(t);return a||r.set(t,a=new s),a;};var f=new s;e.exports=function(){var e,t,n=f,r=arguments.length;for(e=0;ePromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("eff985a5")]).then(n.dr(r,n.bind(n,"e14e0636")))};},"90ea57fe":function(e,t,n){"use strict";var r=n("f16f296d").f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n];},set:function(e){t[n]=e;}});};},"913fa6c1":function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case d:case i:case c:case u:case h:return e;default:switch(e=e&&e.$$typeof){case s:case p:case b:case v:case l:return e;default:return t;}}case o:return t;}}}function S(e){return w(e)===d;}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=l,t.Element=a,t.ForwardRef=p,t.Fragment=i,t.Lazy=b,t.Memo=v,t.Portal=o,t.Profiler=c,t.StrictMode=u,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===f;},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===s;},t.isContextProvider=function(e){return w(e)===l;},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a;},t.isForwardRef=function(e){return w(e)===p;},t.isFragment=function(e){return w(e)===i;},t.isLazy=function(e){return w(e)===b;},t.isMemo=function(e){return w(e)===v;},t.isPortal=function(e){return w(e)===o;},t.isProfiler=function(e){return w(e)===c;},t.isStrictMode=function(e){return w(e)===u;},t.isSuspense=function(e){return w(e)===h;},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===c||e===u||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===l||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===_||e.$$typeof===E||e.$$typeof===g);},t.typeOf=w;},"91ba19d3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return _;},genCSSMotion:function(){return y;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=r._(n("1de795bc")),u=r._(n("361d5d06")),c=r._(n("6b99f428")),l=r._(n("6d9bd3c4")),s=r._(n("5f7c1969")),f=n("64c7e51a"),d=a._(n("9d065c04")),p=n("0b819d0d"),h=r._(n("2e33b627")),m=r._(n("420fb794")),v=n("b46f0b22"),b=n("38be20dd"),g=n("a3319121");function y(e){var t=e;function n(e,n){return!!(e.motionName&&t&&!1!==n);}"object"===(0,c.default)(e)&&(t=e.transitionSupport);var r=d.forwardRef(function(e,t){var r=e.visible,a=void 0===r||r,c=e.removeOnLeave,y=void 0===c||c,_=e.forceRender,E=e.children,w=e.motionName,S=e.leavedClassName,x=e.eventProps,k=n(e,d.useContext(p.Context).motion),T=(0,d.useRef)(),P=(0,d.useRef)();function A(){try{return T.current instanceof HTMLElement?T.current:(0,s.default)(P.current);}catch(e){return null;}}var O=(0,m.default)(k,a,A,e),C=(0,u.default)(O,4),M=C[0],I=C[1],R=C[2],L=C[3],N=d.useRef(L);L&&(N.current=!0);var D=d.useCallback(function(e){T.current=e,(0,f.fillRef)(t,e);},[t]),j=(0,i.default)((0,i.default)({},x),{},{visible:a});if(E){if(M===b.STATUS_NONE)F=L?E((0,i.default)({},j),D):!y&&N.current&&S?E((0,i.default)((0,i.default)({},j),{},{className:S}),D):!_&&(y||S)?null:E((0,i.default)((0,i.default)({},j),{},{style:{display:"none"}}),D);else{I===b.STEP_PREPARE?B="prepare":(0,v.isActive)(I)?B="active":I===b.STEP_START&&(B="start");var F,B,U=(0,g.getTransitionName)(w,"".concat(M,"-").concat(B));F=E((0,i.default)((0,i.default)({},j),{},{className:(0,l.default)((0,g.getTransitionName)(w,M),(0,o.default)((0,o.default)({},U,U&&B),w,"string"==typeof w)),style:R}),D);}}else F=null;return d.isValidElement(F)&&(0,f.supportRef)(F)&&!(0,f.getNodeRef)(F)&&(F=d.cloneElement(F,{ref:D})),d.createElement(h.default,{ref:P},F);});return r.displayName="CSSMotion",r;}var _=y(g.supportTransition);},"920311d8":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("7c8234aa"),i=n("3cf27215"),u=n("049b76d1"),c=i.Set,l=i.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=new c;return u(t,function(e){l(r,n(e,e,t));}),r;}});},"9291f323":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("d2d50ac8")),o=r._(n("9d065c04")),i=n("0f7ebd2f"),u=function(e){return o.default.createElement(i.ErrorBoundary,{fallbackRender:function(e){var t=e.error;return o.default.createElement(a.default,{type:"error"},o.default.createElement("p",null,o.default.createElement("strong",null,t.message||"This demo has been crashed.")),t.stack&&o.default.createElement("p",null,o.default.createElement("details",{open:!0},o.default.createElement("summary",null,"Error stack"),o.default.createElement("pre",null,t.stack))));}},e.children);};},"92a3d6cc":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("32db7d60");e.exports=a(function(){return r(this.next,this.iterator);},!0);},"92b937c9":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("377218ed"),o=n("e087dbce"),i=n("161477c7"),u=n("0d4455ba"),c=n("8fcc8f13"),l="Seeded Random",s=l+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',d=c.set,p=c.getterFor(s),h=TypeError,m=i(function(e){d(this,{type:s,seed:e%2147483647});},l,function(){var e=p(this);return u((1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,!1);});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=a(e).seed;if(!o(t))throw new h(f);return new m(t);}});},"92da72f9":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{getLocaleClearPath:function(){return b;},getRouteParentPath:function(){return g;},useFullSidebarData:function(){return y;},useSidebarData:function(){return _;}});var r=n("5ca000fa"),a=n("9d065c04"),o=n("861ce6cf");function i(e){return l(e)||c(e)||d(e)||u();}function u(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}function l(e){if(Array.isArray(e))return p(e);}function s(e,t){return m(e)||h(e,t)||d(e,t)||f();}function f(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t);}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nPromise.all([n.ensure("vendors_0"),n.ensure("cd8d7381")]).then(n.dr(r,n.bind(n,"b0812ac9")))),"dumi-context-layout":a.default.lazy(()=>Promise.all([n.ensure("98c9eb00")]).then(n.dr(r,n.bind(n,"98c9eb00")))),DocLayout:a.default.lazy(()=>Promise.all([n.ensure("vendors_3"),n.ensure("vendors_0"),n.ensure("7ef3cdc9")]).then(n.dr(r,n.bind(n,"7ef3cdc9")))),"docs/guide/custome-markdown":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("4f531b2b")]).then(n.dr(r,n.bind(n,"4f531b2b")))),"docs/guide/customize-style":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("58f94c65")]).then(n.dr(r,n.bind(n,"58f94c65")))),"docs/guide/antd-design-x":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("c58de0b2")]).then(n.dr(r,n.bind(n,"c58de0b2")))),"docs/guide/quick-start":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("be951759")]).then(n.dr(r,n.bind(n,"be951759")))),"docs/guide/custom-ui":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("767a099f")]).then(n.dr(r,n.bind(n,"767a099f")))),"docs/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("55fc7f52")]).then(n.dr(r,n.bind(n,"55fc7f52")))),"components/Area/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("890a0ebb")]).then(n.dr(r,n.bind(n,"890a0ebb")))),"components/Bar/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("01ca5838")]).then(n.dr(r,n.bind(n,"01ca5838")))),"components/ChartCodeRender/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("a0bdd78c")]).then(n.dr(r,n.bind(n,"a0bdd78c")))),"components/Column/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("c8a00b18")]).then(n.dr(r,n.bind(n,"c8a00b18")))),"components/ConfigProvider/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("afc1cb10")]).then(n.dr(r,n.bind(n,"afc1cb10")))),"components/DualAxes/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("734dbaa6")]).then(n.dr(r,n.bind(n,"734dbaa6")))),"components/FishboneDiagram/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("31c800c6")]).then(n.dr(r,n.bind(n,"31c800c6")))),"components/FlowDiagram/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("726cd1c1")]).then(n.dr(r,n.bind(n,"726cd1c1")))),"components/GPTVis/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("f07f3ef1")]).then(n.dr(r,n.bind(n,"f07f3ef1")))),"components/HeatMap/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("214d877e")]).then(n.dr(r,n.bind(n,"214d877e")))),"components/Histogram/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("7e52af90")]).then(n.dr(r,n.bind(n,"7e52af90")))),"components/IndentedTree/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("dc53b393")]).then(n.dr(r,n.bind(n,"dc53b393")))),"components/Line/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("335479ed")]).then(n.dr(r,n.bind(n,"335479ed")))),"components/Map/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("2c5b0acf")]).then(n.dr(r,n.bind(n,"2c5b0acf")))),"components/MindMap/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("77618d14")]).then(n.dr(r,n.bind(n,"77618d14")))),"components/NetworkGraph/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("85df578f")]).then(n.dr(r,n.bind(n,"85df578f")))),"components/OrganizationChart/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("e88e3cd8")]).then(n.dr(r,n.bind(n,"e88e3cd8")))),"components/PathMap/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("a7e230af")]).then(n.dr(r,n.bind(n,"a7e230af")))),"components/Pie/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("9924af32")]).then(n.dr(r,n.bind(n,"9924af32")))),"components/PinMap/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("d540738c")]).then(n.dr(r,n.bind(n,"d540738c")))),"components/Radar/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("46ad607b")]).then(n.dr(r,n.bind(n,"46ad607b")))),"components/Scatter/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("c6ce43c9")]).then(n.dr(r,n.bind(n,"c6ce43c9")))),"components/Text/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("a09c5581")]).then(n.dr(r,n.bind(n,"a09c5581")))),"components/Treemap/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("9644f4c5")]).then(n.dr(r,n.bind(n,"9644f4c5")))),"components/WordCloud/index":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("be0a7f6e")]).then(n.dr(r,n.bind(n,"be0a7f6e")))),"demo-render":a.default.lazy(()=>Promise.all([n.ensure("vendors_0"),n.ensure("9f7aa744")]).then(n.dr(r,n.bind(n,"ea160b80"))))}};}},"949d70f4":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{MenuContext:function(){return f;},default:function(){return p;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("c60c8136")),i=r._(n("1de795bc")),u=a._(n("9d065c04")),c=r._(n("de12d3cc")),l=r._(n("a5e11652")),s=["children","locked"],f=u.createContext(null);function d(e,t){var n=(0,i.default)({},e);return Object.keys(t).forEach(function(e){var r=t[e];void 0!==r&&(n[e]=r);}),n;}function p(e){var t=e.children,n=e.locked,r=(0,o.default)(e,s),a=u.useContext(f),i=(0,c.default)(function(){return d(a,r);},[a,r],function(e,t){return!n&&(e[0]!==t[0]||!(0,l.default)(e[1],t[1],!0));});return u.createElement(f.Provider,{value:i},t);}},"94a8084b":function(e,t,n){"use strict";n("9a31e2b1")({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n("b74c4593")});},"94dc832f":function(e,t,n){"use strict";n("9a31e2b1")({target:"WeakSet",stat:!0,forced:!0},{of:n("77abdb20")});},"94e1b84e":function(e,t,n){"use strict";var r=n("42387547"),a=n("ff5769a6"),o=n("bf6625f8"),i=r(r.bind);e.exports=function(e,t){return a(e),void 0===t?e:o?i(e,t):function(){return e.apply(t,arguments);};};},"9567bd3f":function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("606bab50");let a={ids:["map-demo-0"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("707b31e2")]).then(n.dr(r,n.bind(n,"2f0481f5")))};},"95af9ac2":function(e,t,n){"use strict";var r;n.d(t,"__esModule",{value:!0}),n.d(t,"ErrorKind",{enumerable:!0,get:function(){return r;}}),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG";}(r||(r={}));},"95b22a24":function(e,t,n){"use strict";var r=n("8fb0fcd1"),a=n("f58a3d2e"),o=n("cef3f03e"),i=n("f16f296d");e.exports=function(e,t,n){for(var u=a(t),c=i.f,l=o.f,s=0;s2?arguments[2]:void 0)(e,n);return s(n,e,t(f,e,n)),n;}});},"96cc64f3":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1dcdc1e8")),i=r._(n("73a85ba2")),u=a._(n("9d065c04")),c=o.default.ESC,l=o.default.TAB;function s(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=e.overlayRef,s=u.useRef(!1),f=function(){if(t){var e,a;null===(e=n.current)||void 0===e||null===(a=e.focus)||void 0===a||a.call(e),null==r||r(!1);}},d=function(){var e;return null!==(e=o.current)&&void 0!==e&&!!e.focus&&(o.current.focus(),s.current=!0,!0);},p=function(e){switch(e.keyCode){case c:f();break;case l:var t=!1;s.current||(t=d()),t?e.preventDefault():f();}};u.useEffect(function(){return t?(window.addEventListener("keydown",p),a&&(0,i.default)(d,3),function(){window.removeEventListener("keydown",p),s.current=!1;}):function(){s.current=!1;};},[t]);}},"9885bb6e":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("5a1676f2"));function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.default)(e,t);}},"9891fe36":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e81c7d0b").find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return a(this,e);}});},"997358fe":function(e,t,n){"use strict";var r=n("7087e9e6"),a=n("78178a98"),o=n("4fccae39")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===a(e));};},"9a02045c":function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("36678d47"),o=r.aTypedArrayConstructor,i=r.getTypedArrayConstructor;e.exports=function(e){return o(a(e,i(e)));};},"9a0fcc56":function(e,t,n){"use strict";function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},"9a31e2b1":function(e,t,n){"use strict";var r=n("e6ade175"),a=n("cef3f03e").f,o=n("1022370d"),i=n("24d8d964"),u=n("be3df0ae"),c=n("95b22a24"),l=n("b4b978cb");e.exports=function(e,t){var n,s,f,d,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||u(h,{}):(r[h]||{}).prototype)for(s in t){if(d=t[s],f=e.dontCallGetSet?(p=a(n,s))&&p.value:n[s],!l(m?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f);}(e.sham||f&&f.sham)&&o(d,"sham",!0),i(n,s,d,e);}};},"9a735f39":function(e,t,n){"use strict";var r=n("a2078cdf"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t);};},"9b3f9685":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var r=n("777fffbe"),a=n("a2e753d8"),o=r._(n("f52ac819")),i=r._(n("703dc661")),u=n("9d065c04"),c=n("5ca000fa"),l=()=>{let{setLoading:e}=(0,c.useSiteData)();return(0,u.useLayoutEffect)(()=>(e(!0),o.default.start(),()=>{e(!1),o.default.done();}),[]),(0,a.jsx)(i.default,{});};},"9ba5bd47":function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("5828adcc").findLastIndex,o=n("1a0d87be");r({target:"Array",proto:!0},{findLastIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0);}}),o("findLastIndex");},"9bb07508":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0});var r=n("777fffbe");n("c0c2eece");var a=n("56282e07"),o=n("861ce6cf"),i=n("4568593b"),u=n("948b322a"),c=n("2be80ac9"),l=r._(n("9b3f9685")),s=n("7f9f60ff");let f="/",d=!1;async function p(){let e=(0,a.createPluginManager)(),{routes:t,routeComponents:n}=await (0,u.getRoutes)(e);await e.applyPlugins({key:"patchRoutes",type:s.ApplyPluginsType.event,args:{routes:t,routeComponents:n}});let r=e.applyPlugins({key:"modifyContextOpts",type:s.ApplyPluginsType.modify,initialValue:{}}),o=r.basename||"/",p=r.historyType||"browser",h=(0,c.createHistory)({type:p,basename:o,...r.historyOpts});return e.applyPlugins({key:"render",type:s.ApplyPluginsType.compose,initialValue(){let a={useStream:!0,routes:t,routeComponents:n,pluginManager:e,mountElementId:"root",rootElement:r.rootElement||document.getElementById("root"),loadingComponent:l.default,publicPath:f,runtimePublicPath:d,history:h,historyType:p,basename:o,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:r.callback},u=e.applyPlugins({key:"modifyClientRenderOpts",type:s.ApplyPluginsType.modify,initialValue:a});return(0,i.renderClient)(u);}})();}"undefined"!=typeof history&&location.pathname.length>1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),"undefined"!=typeof document&&document.documentElement.setAttribute("data-prefers-color","light"),p(),"undefined"!=typeof window&&(window.g_umi={version:"4.4.2"}),(0,o.setPluginManager)((0,a.getPluginManager)());},"9bcc3d50":function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("08279926"),o=n("c9572803");e.exports=function(e,t,n,i){try{var u=o(e,"return");if(u)return a("Promise").resolve(r(u,e)).then(function(){t(n);},function(e){i(e);});}catch(e){return i(e);}t(n);};},"9be3ebf5":function(e,t,n){"use strict";n("9a31e2b1")({target:"Symbol",stat:!0},{isRegisteredSymbol:n("3a622c3e")});},"9c1788c4":function(e,t,n){"use strict";var r=n("08279926"),a=n("b69db97a"),o=n("ded84c47"),i=n("7087e9e6"),u=r("Set"),c=function(e){return i(e)&&"number"==typeof e.size&&a(e.has)&&a(e.keys);};e.exports=function(e){return c(e)?e:o(e)?new u(e):e;};},"9cb25b27":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe")._(n("6b99f428")),a=Symbol.for("react.element"),o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function u(e){return e&&"object"===(0,r.default)(e)&&(e.$$typeof===a||e.$$typeof===o)&&e.type===i;}},"9d065c04":function(e,t,n){"use strict";e.exports=n("a1056416");},"9d0c6301":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{PART_TYPE:function(){return r;},formatToParts:function(){return c;},isFormatXMLElementFn:function(){return u;}});var r,a=n("ffb8cfd8"),o=n("3eb9f3f5");function i(e){return e.length<2?e:e.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e;},[]);}function u(e){return"function"==typeof e;}function c(e,t,n,l,s,f,d){if(1===e.length&&(0,a.isLiteralElement)(e[0]))return[{type:r.literal,value:e[0].value}];for(var p=[],h=0,m=e;he&&t===w-1){let t=null!==(p=n.width)&&void 0!==p?p:"100%",r=e%1,a="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:a};}let a=r.default.createElement("span",{className:y,style:n,key:t},"\u200C");_?E.push(a):E.push(r.default.createElement(r.default.Fragment,{key:t},a,r.default.createElement("br",null)));}return r.default.createElement("span",{className:u,"data-testid":c,"aria-live":"polite","aria-busy":null!==(h=b.enableAnimation)&&void 0!==h?h:o},t?E.map((e,n)=>r.default.createElement(t,{key:n},e)):E);}},"9f0a4323":function(e,t,n){"use strict";var r=n("87ff588a"),a=Math.abs,o=2220446049250313e-31,i=4503599627370496,u=function(e){return e+i-i;};e.exports=function(e,t,n,i){var c=+e,l=a(c),s=r(c);if(ln||d!=d?1/0*s:s*d;};},"9f24e766":function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,forced:!0},{scale:n("fdd619de")});},"9f321c23":function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("1dcf9b4f");let r=[{id:"scatter-\u6563\u70B9\u56FE",depth:1,title:"Scatter \u6563\u70B9\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"scatter-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"scatter-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"scatterprops",depth:3,title:"ScatterProps"},{id:"scatterdataitem",depth:3,title:"ScatterDataItem"}],a={title:"Scatter \u6563\u70B9\u56FE",toc:"content",filename:"src/Scatter/index.md",atomId:"Scatter",lastUpdated:1734934621e3,order:6,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2}};},"9f4d32ab":function(e,t,n){"use strict";n("9a31e2b1")({target:"WeakSet",stat:!0,forced:!0},{from:n("4cd2fec9")});},"9fdc28a6":function(e,t,n){"use strict";var r=n("08279926"),a=function(e){return{size:e,has:function(){return!1;},keys:function(){return{next:function(){return{done:!0};}};}};};e.exports=function(e){var t=r("Set");try{new t()[e](a(0));try{return new t()[e](a(-1)),!1;}catch(e){return!0;}}catch(e){return!1;}};},"9ff71f41":function(e,t,n){"use strict";n("9a31e2b1")({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:n("bc10027c")});},a00876f5:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=r._(n("361d5d06")),u=r._(n("30142f75")),c=r._(n("567e06d4")),l=a._(n("4ed471c1")),s=r._(n("1dcdc1e8")),f=a._(n("9d065c04")),d=n("c1f00ff3"),p=r._(n("0f41ff34")),h=f.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,h=e.locale,m=e.mobile,v=e.moreIcon,b=void 0===v?"More":v,g=e.moreTransitionName,y=e.style,_=e.className,E=e.editable,w=e.tabBarGutter,S=e.rtl,x=e.removeAriaLabel,k=e.onTabClick,T=e.getPopupContainer,P=e.popupClassName,A=(0,f.useState)(!1),O=(0,i.default)(A,2),C=O[0],M=O[1],I=(0,f.useState)(null),R=(0,i.default)(I,2),L=R[0],N=R[1],D="".concat(r,"-more-popup"),j="".concat(n,"-dropdown"),F=null!==L?"".concat(D,"-").concat(L):null,B=null==h?void 0:h.dropdownAriaLabel;function U(e,t){e.preventDefault(),e.stopPropagation(),E.onEdit("remove",{key:t,event:e});}var H=f.createElement(l.default,{onClick:function(e){k(e.key,e.domEvent),M(!1);},prefixCls:"".concat(j,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":F,selectedKeys:[L],"aria-label":void 0!==B?B:"expanded dropdown"},a.map(function(e){var t=e.closable,n=e.disabled,a=e.closeIcon,o=e.key,i=e.label,u=(0,d.getRemovable)(t,a,E,n);return f.createElement(l.MenuItem,{key:o,id:"".concat(D,"-").concat(o),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(o),disabled:n},f.createElement("span",null,i),u&&f.createElement("button",{type:"button","aria-label":x||"remove",tabIndex:0,className:"".concat(j,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),U(e,o);}},a||E.removeIcon||"\xd7"));}));function z(e){for(var t=a.filter(function(e){return!e.disabled;}),n=t.findIndex(function(e){return e.key===L;})||0,r=t.length,o=0;o1?arguments[1]:void 0,1),n=c(e);if(v)return a(p,this,n,t);var r=this.length,o=i(n),l=0;if(o+t>r)throw new s("Wrong length");for(;le.length)&&(t=e.length);for(var n=0,r=Array(t);n{var P=Object.create;var I=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=(e,t,i)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,M=(e,t)=>{for(var i in t||(t={}))E.call(t,i)&&O(e,i,t[i]);if(R)for(var i of R(t))L.call(t,i)&&O(e,i,t[i]);return e};var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var N=(e,t,i,h)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of D(t))!E.call(e,a)&&a!==i&&I(e,a,{get:()=>t[a],enumerable:!(h=z(t,a))||h.enumerable});return e};var W=(e,t,i)=>(i=e!=null?P(B(e)):{},N(t||!e||!e.__esModule?I(i,"default",{value:e,enumerable:!0}):i,e));var j=F((K,w)=>{w.exports=function(e){var t={};function i(h){if(t[h])return t[h].exports;var a=t[h]={exports:{},id:h,loaded:!1};return e[h].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t,i){e.exports=i(1)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=i(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return h.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return h.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return h.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return h.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=t.findAll=function(s){var n=s.autoEscape,g=s.caseSensitive,f=g===void 0?!1:g,p=s.findChunks,u=p===void 0?a:p,c=s.sanitize,v=s.searchWords,T=s.textToHighlight;return l({chunksToHighlight:h({chunks:u({autoEscape:n,caseSensitive:f,sanitize:c,searchWords:v,textToHighlight:T})}),totalLength:T?T.length:0})},h=t.combineChunks=function(s){var n=s.chunks;return n=n.sort(function(g,f){return g.start-f.start}).reduce(function(g,f){if(g.length===0)return[f];var p=g.pop();if(f.start<=p.end){var u=Math.max(p.end,f.end);g.push({highlight:!1,start:p.start,end:u})}else g.push(p,f);return g},[]),n},a=function(s){var n=s.autoEscape,g=s.caseSensitive,f=s.sanitize,p=f===void 0?d:f,u=s.searchWords,c=s.textToHighlight;return c=p(c),u.filter(function(v){return v}).reduce(function(v,T){T=p(T),n&&(T=r(T));for(var m=new RegExp(T,g?"g":"gi"),x=void 0;x=m.exec(c);){var S=x.index,$=m.lastIndex;$>S&&v.push({highlight:!1,start:S,end:$}),x.index===m.lastIndex&&m.lastIndex++}return v},[])};t.findChunks=a;var l=t.fillInChunks=function(s){var n=s.chunksToHighlight,g=s.totalLength,f=[],p=function(v,T,m){T-v>0&&f.push({start:v,end:T,highlight:m})};if(n.length===0)p(0,g,!1);else{var u=0;n.forEach(function(c){p(u,c.start,!1),p(c.start,c.end,!0),u=c.end}),p(u,g,!1)}return f};function d(o){return o}function r(o){return o.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,"\\\\$&")}}])});var C=W(j());var H="tab";function k(e,t,i,h,a){let l=a!==void 0;return h.reduce((r,o)=>(o.tocIndex===a&&(r[o.paraId]=(r[o.paraId]||"").concat(o.value)),r),[]).filter(Boolean).length||l?{rawTitle:e,title:t,link:i,paragraphs:h.reduce((r,o)=>{var s,n;return o.tocIndex===a&&((n=r[s=o.paraId])!=null||(r[s]=""),r[o.paraId]+=o.value),r},[]).filter(Boolean)}:null}function y(e){return[e.title,e.subtitle].filter(Boolean).join(" ")}function _(e,t,i){let h=[],a=Object.values(t).reduce((l,d)=>{var r,o;return d.asset&&((o=l[r=d.routeId])!=null||(l[r]=[]),l[d.routeId].push(d)),l},{});return Object.values(e).forEach(l=>{var d;if("meta"in l&&!("isLayout"in l)){let r=l.meta,o=l.path.replace(/^([^/])/,"/$1")||"/",s=i.find(u=>o===u.link||o.startsWith(`${u.activePath}/`)),n=(a[l.id]||[]).map(u=>{var c;return(c=u.asset)==null?void 0:c.id}),g=k("",y(r.frontmatter),o,r.texts),f=r.toc.reduce((u,c,v)=>{if(!n.includes(c.id)&&c.depth>=1){let T=y(r.frontmatter);c.depth!==1&&(T=`${T} - ${c.title}`),u.push(k(c.title,T,`${o}#${c.id}`,r.texts,v))}return u},[]),p=(r.tabs||[]).reduce((u,{key:c,meta:v})=>{let T=k("",`${y(r.frontmatter)} - ${v.frontmatter.title}`,`${o}?${H}=${c}`,v.texts);return T&&u.push(T),u.push(...v.toc.map((m,x)=>k(m.title,`${y(r.frontmatter)} - ${v.frontmatter.title} - ${m.title}`,`${o}?${H}=${c}#${m.id}`,v.texts,x))),u},[]);h.push({navTitle:s==null?void 0:s.title,navOrder:s?i.indexOf(s):1/0,title:y(r.frontmatter),link:o,sections:[...g?[g]:[],...f,...p],demos:((d=a[l.id])==null?void 0:d.map(u=>({link:`${o}#${u.asset.id}`,rawTitle:u.asset.title||"",title:u.asset.title||y(r.frontmatter),description:u.asset.description||"",keywords:u.asset.keywords||[]})))||[]})}}),h}function b(e="",t,i=1){let h=(0,C.findAll)({textToHighlight:e,searchWords:t,autoEscape:!0}),a={};return[h.map(({start:l,end:d,highlight:r},o)=>{let s={text:e.slice(l,d)};return o===0&&!r&&h.length>1&&s.text.length>20&&(s.text=`...${s.text.slice(-20)}`),r&&(s.highlighted=!0,a[t.find(n=>s.text.includes(n))]=i),s}),a]}function Y(e,t){let i=t.split(" "),h=new RegExp(t.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&").replace(/\\s+/g,"|"),"i"),a={};return e.forEach(l=>{var o,s;let d=l.title,r=[];if(l.sections.forEach(n=>{for(let g of n.paragraphs)if(h.test(g)){let[f,p]=b(n.title,i,10),[u,c]=b(g,i);r.push({type:"content",link:n.link,priority:Object.values(M(M({},c),p)).reduce((v,T)=>v+T,0),highlightTitleTexts:f,highlightTexts:u,pageTitle:d});return}if(h.test(n.rawTitle)&&!h.test(l.title)){let[g,f]=b(n.title,i,10);r.push({type:"title",link:n.link,priority:Object.values(f).reduce((p,u)=>p+u,0),highlightTitleTexts:g,highlightTexts:b(n.paragraphs[0]||"",i)[0],pageTitle:d})}}),l.demos.forEach(n=>{if(h.test(n.rawTitle)||h.test(n.description)){let[g,f]=b(n.title,i,10),[p,u]=b(n.description,i);r.push({type:"demo",link:n.link,priority:Object.values(M(M({},u),f)).reduce((c,v)=>c+v,0),highlightTitleTexts:g,highlightTexts:p,pageTitle:d})}}),h.test(l.title)){let[n,g]=b(l.title,i,100);r.push({type:"page",link:l.link,priority:Object.values(g).reduce((f,p)=>f+p,0),highlightTitleTexts:n,highlightTexts:b(((o=l.sections[0])==null?void 0:o.paragraphs[0])||"",i)[0],pageTitle:d})}if(r.length){let n=l.navTitle||"$ROOT";(s=a[n])!=null||(a[n]={title:l.navTitle,priority:l.navOrder*1e3,hints:[]}),a[n].hints.push(...r)}}),Object.values(a).forEach(({hints:l})=>{l.sort((d,r)=>r.priority-d.priority)}),Object.values(a).sort((l,d)=>d.priority-l.priority)}var A;self.onmessage=({data:e})=>{switch(e.action){case"generate-metadata":A=_(e.args.routes,e.args.demos,e.args.nav);break;case"get-search-result":self.postMessage(Y(A,e.args.keywords));break;default:}};})();\n'],{type:"application/javascript"}))));var h=function(){var e=(0,i.useRef)(),t=c((0,i.useState)(!1),2),n=t[0],a=t[1],l=c((0,i.useState)(""),2),s=l[0],f=l[1],d=(0,o.useNavData)(),p=c((0,i.useState)([]),2),h=p[0],m=p[1],v=c((0,u.default)(),2),b=v[0],g=v[1],y=(0,i.useCallback)(function(e){g(),a(!0),f(e);},[]),_=null==b?void 0:b[0],E=null==b?void 0:b[1];return(0,i.useEffect)(function(){r.onmessage=function(e){m(e.data),a(!1);};},[]),(0,i.useEffect)(function(){_&&E&&r.postMessage({action:"generate-metadata",args:{routes:JSON.parse(JSON.stringify(_)),nav:d,demos:E}});},[_,E,d]),(0,i.useEffect)(function(){if(_){var t=s.trim();t?(clearTimeout(e.current),e.current=window.setTimeout(function(){r.postMessage({action:"get-search-result",args:{keywords:t}});},200)):m([]);}},[s,_]),{keywords:s,setKeywords:y,result:h,loading:n,load:g};};},a3e10f0b:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return h;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("c60c8136")),c=a._(n("9d065c04")),l=r._(n("3ff4a928")),s=r._(n("4347f168")),f=r._(n("069b10db")),d=["renderTabBar"],p=["label","key"],h=function(e){var t=e.renderTabBar,n=(0,u.default)(e,d),r=c.useContext(s.default).tabs;return t?t((0,i.default)((0,i.default)({},n),{},{panes:r.map(function(e){var t=e.label,n=e.key,r=(0,u.default)(e,p);return c.createElement(f.default,(0,o.default)({tab:t,key:n,tabKey:n},r));})}),l.default):c.createElement(l.default,n);};},a3e98dc0:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("a04fdb0c"),i=n("8d9c8bd6"),u=n("c2866d61"),c=TypeError,l=a(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(e,t){if("DataView"!==o(this))throw new c("Incorrect receiver");return l(this,i(e),u(t));}});},a40f134b:function(e,t,n){"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e];}),n;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},a4471b37:function(e,t,n){"use strict";n("9a31e2b1")({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:n("d58a43df")});},a447b03f:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("82110d96"),o=n("b11ea5c3"),i=n("b64f5e71"),u=n("d71b5fbf"),c=n("92a3d6cc");r({target:"AsyncIterator",stat:!0,forced:n("256d831f")},{from:function(e){var t=i("string"==typeof e?a(e):e);return o(u,t.iterator)?t.iterator:new c(t);}});},a44dc401:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return l;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("6d9bd3c4")),u=r._(n("f2ad2335")),c=a._(n("9d065c04"));function l(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,l=e.motion;return a?c.createElement(u.default,(0,o.default)({},l,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return c.createElement("div",{style:{zIndex:r},className:(0,i.default)("".concat(t,"-mask"),n)});}):null;}},a462cc16:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("6608108d");r({target:"Number",stat:!0,forced:!0},{range:function(e,t,n){return new a(e,t,n,"number",0,1);}});},a46a8ce1:function(e,t,n){"use strict";e.exports=function(e,t){return e===t||e!=e&&t!=t;};},a4987237:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("f77c1a90");let r=[{id:"-\u5B89\u88C5",depth:2,title:"\u23EC \u5B89\u88C5"},{id:"-\u4F7F\u7528",depth:2,title:"\u{1F330} \u4F7F\u7528"},{id:"-\u5B9A\u5236\u6E32\u67D3\u5668",depth:2,title:"\u{1F6E0} \u5B9A\u5236\u6E32\u67D3\u5668"}],a={title:"\u5FEB\u901F\u4E0A\u624B",toc:"content",filename:"docs/guide/quick-start.md",lastUpdated:1734934621e3,nav:{title:"\u6307\u5357",order:0},order:0,description:"\u4E1A\u52A1\u5B9A\u5236 UI \u573A\u666F\uFF0C\u63D0\u4F9B\u65B9\u4FBF\u7684\u6269\u5C55\u673A\u5236\uFF0C\u652F\u6301\u6807\u7B7E\u548C\u4EE3\u7801\u5757\u6269\u5C55\u3002"};},a4ee9ed3:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("7843f419");let a={ids:["flowdiagram-demo-common","flowdiagram-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("12b214d4")]).then(n.dr(r,n.bind(n,"f34637ac")))};},a5105844:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,r.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false",...e,children:(0,r.jsx)("path",{d:"M709.6 210l.4-.2h.2L512 96 313.9 209.8h-.2l.7.3L151.5 304v416L512 928l360.5-208V304l-162.9-94zM482.7 843.6L339.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"})});},a58cf3c8:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("0db032d7"),i=n("4dc6d451"),u=n("b69db97a"),c=n("42e9210f"),l=n("997358fe"),s=n("6050ac71"),f=n("c9572803"),d=n("bdee4280"),p=n("dc0539a8"),h=n("4fccae39"),m=n("256d831f"),v=h("replace"),b=TypeError,g=o("".indexOf),y=o("".replace),_=o("".slice),E=Math.max,w=function(e,t,n){return n>e.length?-1:""===t?n:g(e,t,n);};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,h,S,x,k,T,P=i(this),A=0,O=0,C="";if(!c(e)){if((n=l(e))&&!~g(s(i(d(e))),"g"))throw new b("`.replaceAll` does not allow non-global regexes");if(r=f(e,v))return a(r,e,P,t);if(m&&n)return y(s(P),e,t);}for(o=s(P),h=s(e),(S=u(t))||(t=s(t)),k=E(1,x=h.length),A=w(o,h,0);-1!==A;)T=S?s(t(h,A,o)):p(h,o,A,[],void 0,t),C+=_(o,O,A)+T,O=A+x,A=w(o,h,A+k);return O2&&void 0!==arguments[2]&&arguments[2],r=new Set;function i(e,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=r.has(e);if((0,o.default)(!c,"Warning: There may be circular references"),c)return!1;if(e===t)return!0;if(n&&u>1)return!1;r.add(e);var l=u+1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var s=0;s79&&i<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return a(this,e,t,t>1?arguments[1]:void 0);}});},a70a4552:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("a2078cdf"),o=n("6050ac71"),i=n("4dc6d451"),u=r("".charAt),c=r("".charCodeAt),l=r("".slice),s=function(e){return function(t,n){var r,s,f=o(i(t)),d=a(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=c(f,d))<55296||r>56319||d+1===p||(s=c(f,d+1))<56320||s>57343?e?u(f,d):r:e?l(f,d,d+2):(r-55296<<10)+(s-56320)+65536;};};e.exports={codeAt:s(!1),charAt:s(!0)};},a7103732:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("cd7c81bf");r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return a(i,this,o(e));}});},a723f7c2:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("48e642d4");let a={ids:["bar-demo-common","bar-demo-markdown","bar-demo-group","bar-demo-stack"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("03d60c13")]).then(n.dr(r,n.bind(n,"068e9b7f")))};},a754aa49:function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){return 1;},1);});};},a77d9a3c:function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];},a846319f:function(e,t,n){"use strict";var r=TypeError,a=9007199254740991;e.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e;};},a8802772:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("1f316010"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157");r({target:"Iterator",proto:!0,real:!0},{some:function(e){i(this),o(e);var t=u(this),n=0;return a(t,function(t,r){if(e(t,n++))return r();},{IS_RECORD:!0,INTERRUPTED:!0}).stopped;}});},a9dc4e2c:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("4069ad7f");r({target:"Iterator",proto:!0,real:!0,forced:n("256d831f")},{map:a});},a9eb0ef2:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("290e6ad6"),o=Object.isFrozen,i=function(e,t){if(!o||!a(e)||!o(e))return!1;for(var n,r=0,i=e.length;r0&&void 0!==arguments[0]?arguments[0]:"";return e.endsWith("/")?e:"".concat(e,"/");}n.d(t,"__esModule",{value:!0}),n.d(t,"fetchServerLoader",{enumerable:!0,get:function(){return r;}});},aa64b8b0:function(e,t,n){"use strict";var r=n("dba3fa5f"),a=n("8ff8a0f1"),o=n("1437c29a").CONSTRUCTOR;e.exports=o||!a(function(e){r.all(e).then(void 0,function(){});});},aae6879a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"innerProvider",{enumerable:!0,get:function(){return i;}});var r=n("777fffbe")._(n("9d065c04")),a=n("4568593b"),o=n("b04e85d4");let i=e=>r.default.createElement(a.HelmetProvider,{context:o.context},e);},ab881f6c:function(e,t,n){"use strict";var r=n("e6ade175");e.exports=function(e,t){var n=r[e],a=n&&n.prototype;return a&&a[t];};},abf07924:function(e,t,n){"use strict";var r=n("8fcc8f13"),a=n("161477c7"),o=n("0d4455ba"),i=n("8fb0fcd1"),u=n("d50c00e2"),c=n("82110d96"),l="Object Iterator",s=r.set,f=r.getterFor(l);e.exports=a(function(e,t){var n=c(e);s(this,{type:l,mode:t,object:n,keys:u(n),index:0});},"Object",function(){for(var e=f(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,o(void 0,!0);var n=t[e.index++],r=e.object;if(i(r,n)){switch(e.mode){case"keys":return o(n,!1);case"values":return o(r[n],!1);}return o([n,r[n]],!1);}}});},ac135916:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=r._(n("bc3725d3")),o=r._(n("3480b7d9")),i=n("47ff1fcd");function u(e,t,n,r,u){(0,o.default)(function(){if(e&&t&&n){var o=t,c=n,l=(0,i.collectScroller)(o),s=(0,i.collectScroller)(c),f=(0,i.getWin)(c),d=new Set([f].concat((0,a.default)(l),(0,a.default)(s)));function p(){r(),u();}return d.forEach(function(e){e.addEventListener("scroll",p,{passive:!0});}),f.addEventListener("resize",p,{passive:!0}),r(),function(){d.forEach(function(e){e.removeEventListener("scroll",p),f.removeEventListener("resize",p);});};}},[e,t,n]);}},ac483abd:function(e,t,n){"use strict";var r=n("2516ec49"),a=n("3cf27215");e.exports=r(a.proto,"size","get")||function(e){return e.size;};},ac4d6c88:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("3a974f1c"));function a(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.default)(e,t);}}},ac59c0e6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("852bbaa9")._(n("9d065c04"));function a(e){return e?Array.isArray(e)?e:[e]:[];}function o(e,t,n,o){return r.useMemo(function(){var r=a(null!=n?n:t),i=a(null!=o?o:t),u=new Set(r),c=new Set(i);return e&&(u.has("hover")&&(u.delete("hover"),u.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[u,c];},[e,t,n,o]);}},ac66d00f:function(e,t,n){"use strict";n("54beaba5")("matcher");},ac9098e4:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("377218ed"),o=n("2e3fa3e3"),i=n("c9572803"),u=n("f9f0e99d"),c=n("8fcc8f13"),l=n("08279926"),s=n("d71b5fbf"),f=n("0d4455ba"),d=l("Promise"),p="AsyncFromSyncIterator",h=c.set,m=c.getterFor(p),v=function(e,t,n){var r=e.done;d.resolve(e.value).then(function(e){t(f(e,r));},n);},b=function(e){e.type=p,h(this,e);};b.prototype=u(o(s),{next:function(){var e=m(this);return new d(function(t,n){v(a(r(e.next,e.iterator)),t,n);});},return:function(){var e=m(this).iterator;return new d(function(t,n){var o=i(e,"return");if(void 0===o)return t(f(void 0,!0));v(a(r(o,e)),t,n);});}}),e.exports=b;},ac942a75:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("4800823c"));},aca0c345:function(e,t,n){},acc63eba:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("b19842cd");r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return a(i,this,o(e));}});},acd0d328:function(e,t,n){"use strict";var r=n("9a735f39"),a=n("8d87a5e8"),o=n("6a0d41da"),i=Array,u=Math.max;e.exports=function(e,t,n){for(var c=a(e),l=r(t,c),s=r(void 0===n?c:n,c),f=i(u(s-l,0)),d=0;l=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(u&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p;}},e;}function l(e,t){if(null==e)return{};var n,r,a=s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n]);}return a;}function s(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a;}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,r);}return n;}function d(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);nPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("3e0a3146")]).then(n.dr(r,n.bind(n,"b4d8c69b")))};},aec75a93:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("256d831f"),i=n("ee176680"),u=n("b69db97a"),c=n("161477c7"),l=n("f7387e98"),s=n("33ae99a3"),f=n("ce195b5d"),d=n("1022370d"),p=n("24d8d964"),h=n("4fccae39"),m=n("84e069cc"),v=n("e4e43728"),b=i.PROPER,g=i.CONFIGURABLE,y=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),w="keys",S="values",x="entries",k=function(){return this;};e.exports=function(e,t,n,i,h,v,T){c(n,t,i);var P,A,O,C=function(e){if(e===h&&N)return N;if(!_&&e&&e in R)return R[e];switch(e){case w:case S:case x:return function(){return new n(this,e);};}return function(){return new n(this);};},M=t+" Iterator",I=!1,R=e.prototype,L=R[E]||R["@@iterator"]||h&&R[h],N=!_&&L||C(h),D="Array"===t&&R.entries||L;if(D&&(P=l(D.call(new e)))!==Object.prototype&&P.next&&(o||l(P)===y||(s?s(P,y):u(P[E])||p(P,E,k)),f(P,M,!0,!0),o&&(m[M]=k)),b&&h===S&&L&&L.name!==S&&(!o&&g?d(R,"name",S):(I=!0,N=function(){return a(L,this);})),h){if(A={values:C(S),keys:v?N:C(w),entries:C(x)},T)for(O in A)!_&&!I&&O in R||p(R,O,A[O]);else r({target:t,proto:!0,forced:_||I},A);}return(!o||T)&&R[E]!==N&&p(R,E,N,{name:h}),m[t]=N,A;};},af5aed4a:function(e,t,n){"use strict";var r=n("d618b2d4"),a=n("c41b9db1");e.exports=!r&&!a&&"object"==typeof window&&"object"==typeof document;},af96d23a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return f;}});var r=n("852bbaa9"),a=n("b594a703"),o=n("8b30805d"),i=r._(n("9d065c04")),u=n("196f905b"),c=n("32f67cc2"),l=n("d2782f88");function s(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements};}var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,o.createIntlCache)(),t.state={cache:t.cache,intl:(0,c.createIntl)(s(t.props),t.cache),prevConfig:s(t.props)},t;}return(0,a.__extends)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,a=s(e);return(0,u.shallowEqual)(n,a)?null:{intl:(0,c.createIntl)(a,r),prevConfig:a};},t.prototype.render=function(){return(0,u.invariantIntlContext)(this.state.intl),i.createElement(l.Provider,{value:this.state.intl},this.props.children);},t.displayName="IntlProvider",t.defaultProps=u.DEFAULT_INTL_CONFIG,t;}(i.PureComponent);},afbf33c3:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{getFocusableElements:function(){return S;},refreshElements:function(){return k;},useAccessibility:function(){return T;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=n("634ee5c5"),u=r._(n("1dcdc1e8")),c=r._(n("73a85ba2")),l=a._(n("9d065c04")),s=n("f3881a56"),f=u.default.LEFT,d=u.default.RIGHT,p=u.default.UP,h=u.default.DOWN,m=u.default.ENTER,v=u.default.ESC,b=u.default.HOME,g=u.default.END,y=[p,h,f,d];function _(e,t,n,r){var a,i,u,c,l="prev",s="next",b="children",g="parent";if("inline"===e&&r===m)return{inlineTrigger:!0};var y=(a={},(0,o.default)(a,p,l),(0,o.default)(a,h,s),a),_=(i={},(0,o.default)(i,f,n?s:l),(0,o.default)(i,d,n?l:s),(0,o.default)(i,h,b),(0,o.default)(i,m,b),i),E=(u={},(0,o.default)(u,p,l),(0,o.default)(u,h,s),(0,o.default)(u,m,b),(0,o.default)(u,v,g),(0,o.default)(u,f,n?b:g),(0,o.default)(u,d,n?g:b),u);switch(null===(c=({inline:y,horizontal:_,vertical:E,inlineSub:y,horizontalSub:E,verticalSub:E})["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case l:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case g:return{offset:-1,sibling:!1};case b:return{offset:1,sibling:!1};default:return null;}}function E(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement;}return null;}function w(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement;}return null;}function S(e,t){return(0,i.getFocusNodeList)(e,!0).filter(function(e){return t.has(e);});}function x(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var a=S(e,t),o=a.length,i=a.findIndex(function(e){return n===e;});return r<0?-1===i?i=o-1:i-=1:r>0&&(i+=1),a[i=(i+o)%o];}var k=function(e,t){var n=new Set,r=new Map,a=new Map;return e.forEach(function(e){var o=document.querySelector("[data-menu-id='".concat((0,s.getMenuId)(t,e),"']"));o&&(n.add(o),a.set(o,e),r.set(e,o));}),{elements:n,key2element:r,element2key:a};};function T(e,t,n,r,a,o,i,u,s,f){var d=l.useRef(),p=l.useRef();p.current=t;var h=function(){c.default.cancel(d.current);};return l.useEffect(function(){return function(){h();};},[]),function(l){var T=l.which;if([].concat(y,[m,v,b,g]).includes(T)){var P=o(),A=k(P,r),O=A,C=O.elements,M=O.key2element,I=O.element2key,R=w(M.get(t),C),L=I.get(R),N=_(e,1===i(L,!0).length,n,T);if(!N&&T!==b&&T!==g)return;(y.includes(T)||[b,g].includes(T))&&l.preventDefault();var D=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=I.get(e);u(r),h(),d.current=(0,c.default)(function(){p.current===r&&t.focus();});}};if([b,g].includes(T)||N.sibling||!R){var j,F,B=S(j=R&&"inline"!==e?E(R):a.current,C);D(F=T===b?B[0]:T===g?B[B.length-1]:x(j,C,R,N.offset));}else if(N.inlineTrigger)s(L);else if(N.offset>0)s(L,!0),h(),d.current=(0,c.default)(function(){A=k(P,r);var e=R.getAttribute("aria-controls");D(x(document.getElementById(e),A.elements));},5);else if(N.offset<0){var U=i(L,!0),H=U[U.length-2],z=M.get(H);s(H,!1),D(z);}}null==f||f(l);};}},aff5b667:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=n("852bbaa9")._(n("9d065c04")),o=r._(n("30142f75")),i=n("949d70f4"),u=n("d507a87a");function c(e){var t=e.className,n=e.style,r=a.useContext(i.MenuContext).prefixCls;return(0,u.useMeasure)()?null:a.createElement("li",{role:"separator",className:(0,o.default)("".concat(r,"-item-divider"),t),style:n});}},b04e85d4:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"context",{enumerable:!0,get:function(){return r;}});let r={};},b07ccb44:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},b0b4c94c:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("c53cbbe7"),o=n("7dfaf7bb"),i=Array;r({target:"Array",proto:!0},{with:function(e,t){return a(o(this),i,e,t);}});},b0caf53f:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("82110d96"),i=n("b11ea5c3"),u=n("e4e43728").IteratorPrototype,c=n("33aa6602"),l=n("8aec9632"),s=n("256d831f"),f=c(function(){return a(this.next,this.iterator);},!0);r({target:"Iterator",stat:!0,forced:s},{from:function(e){var t=l("string"==typeof e?o(e):e,!0);return i(u,t.iterator)?t.iterator:new f(t);}});},b11ea5c3:function(e,t,n){"use strict";var r=n("0db032d7");e.exports=r({}.isPrototypeOf);},b19842cd:function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("3cf27215").has,o=n("ac483abd"),i=n("60a9f091"),u=n("049b76d1"),c=n("fd7850ea"),l=n("93611cd2");e.exports=function(e){var t=r(this),n=i(e);if(o(t)<=n.size)return!1!==u(t,function(e){if(n.includes(e))return!1;},!0);var s=n.getIterator();return!1!==c(s,function(e){if(a(t,e))return l(s,"normal",!1);});};},b1a896c2:function(e,t,n){"use strict";var r=n("08279926"),a=n("8fb0fcd1"),o=n("1022370d"),i=n("b11ea5c3"),u=n("33ae99a3"),c=n("95b22a24"),l=n("90ea57fe"),s=n("2b044158"),f=n("e72efcaf"),d=n("1102e472"),p=n("c6047f27"),h=n("67b9d692"),m=n("256d831f");e.exports=function(e,t,n,v){var b="stackTraceLimit",g=v?2:1,y=e.split("."),_=y[y.length-1],E=r.apply(null,y);if(E){var w=E.prototype;if(!m&&a(w,"cause")&&delete w.cause,!n)return E;var S=r("Error"),x=t(function(e,t){var n=f(v?t:e,void 0),r=v?new E(e):new E;return void 0!==n&&o(r,"message",n),p(r,x,r.stack,2),this&&i(w,this)&&s(r,this,x),arguments.length>g&&d(r,arguments[g]),r;});if(x.prototype=w,"Error"!==_?u?u(x,S):c(x,S,{name:!0}):h&&b in E&&(l(x,E,b),l(x,E,"prepareStackTrace")),c(x,E),!m)try{w.name!==_&&o(w,"name",_),w.constructor=x;}catch(e){}return x;}};},b2231250:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("31a11f5f");let r=[{id:"withchartcode-\u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3",depth:1,title:"withChartCode \u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3"},{id:"\u4F7F\u7528-withchartcode",depth:2,title:"\u4F7F\u7528 withChartCode"},{id:"\u4F7F\u7528-withdefaultchartcode",depth:2,title:"\u4F7F\u7528 withDefaultChartCode"},{id:"\u5728\u6D41\u5F0F\u8F93\u51FA\u4E2D\u4F7F\u7528",depth:2,title:"\u5728\u6D41\u5F0F\u8F93\u51FA\u4E2D\u4F7F\u7528"},{id:"\u62D3\u5C55\u5176\u4ED6-code-\u7684\u81EA\u5B9A\u4E49\u6E32\u67D3",depth:2,title:"\u62D3\u5C55\u5176\u4ED6 code \u7684\u81EA\u5B9A\u4E49\u6E32\u67D3"},{id:"api",depth:2,title:"API"},{id:"withchartcodeoptions",depth:3,title:"WithChartCodeOptions"}],a={title:"withChartCode \u62D3\u5C55\u4EE3\u7801\u5757\u6E32\u67D3",toc:"content",filename:"src/ChartCodeRender/index.md",atomId:"ChartCodeRender",lastUpdated:1734934621e3,order:2,group:{order:10,title:"\u5176\u4ED6"},description:"\u81EA\u5B9A\u4E49\u62D3\u5C55 Markdown \u4EE3\u7801\u5757\u6E32\u67D3\uFF0C\u5C06\u4EE3\u7801\u5757\u81EA\u5B9A\u4E49\u53EF\u89C6\u5316\u3002"};},b2f36029:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("ff5769a6"),o=n("42e9210f"),i=n("8d87a5e8"),u=n("82110d96"),c=n("71cfa629"),l=n("6582164c"),s=c.Map,f=c.has,d=c.set,p=r([].push);e.exports=function(e){var t,n,r,c=u(this),h=i(c),m=[],v=new s,b=o(e)?function(e){return e;}:a(e);for(t=0;t>1),l="a",s=o(t);for(("H"==s||"k"==s)&&(c=0);c-- >0;)n+=l;for(;u-- >0;)n=s+n;}else"J"===a?n+="H":n+=a;}return n;}function o(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle");}var a=e.language;return"root"!==a&&(t=e.maximize().region),(r.timeData[t||""]||r.timeData[a||""]||r.timeData["".concat(a,"-001")]||r.timeData["001"])[0];}},b4b978cb:function(e,t,n){"use strict";var r=n("60eb28d7"),a=n("b69db97a"),o=/#|\.prototype\./,i=function(e,t){var n=c[u(e)];return n===s||n!==l&&(a(t)?r(t):!!t);},u=i.normalize=function(e){return String(e).replace(o,".").toLowerCase();},c=i.data={},l=i.NATIVE="N",s=i.POLYFILL="P";e.exports=i;},b4db3f71:function(e,t,n){"use strict";var r=n("6a1bb8c1"),a=n("9a02045c");e.exports=function(e,t){return r(a(e),t);};},b55354dd:function(e,t,n){"use strict";function r(e,t){for(var n=e,r=0;rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n;}function u(e,t,n,r){function a(e){return e instanceof n?e:new n(function(t){t(e);});}return new(n||(n=Promise))(function(n,o){function i(e){try{c(r.next(e));}catch(e){o(e);}}function u(e){try{c(r.throw(e));}catch(e){o(e);}}function c(e){e.done?n(e.value):a(e.value).then(i,u);}c((r=r.apply(e,t||[])).next());});}function c(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1];},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this;}),i;function u(e){return function(t){return c([e,t]);};}function c(u){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){o=0;continue;}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.");}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value);}catch(e){a={error:e};}finally{try{r&&!r.done&&(n=o.return)&&n.call(o);}finally{if(a)throw a.error;}}return i;}function d(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a1?arguments[1]:void 0),r=i(t,function(e,r){if(n(e,r,t))return{key:r};},!0);return r&&r.key;}});},b5ea9e34:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{inline:function(){return r;},inlineMock:function(){return a;}});var r=!1;function a(e){return"boolean"==typeof e&&(r=e),r;}},b6459298:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("67b9d692"),i=n("a16b223c"),u=n("ff5769a6"),c=n("377218ed"),l=n("6c55996b"),s=n("b69db97a"),f=n("42e9210f"),d=n("7087e9e6"),p=n("c9572803"),h=n("24d8d964"),m=n("f9f0e99d"),v=n("8bf19462"),b=n("41b36e61"),g=n("4fccae39"),y=n("8fcc8f13"),_=g("observable"),E="Observable",w="Subscription",S="SubscriptionObserver",x=y.getterFor,k=y.set,T=x(E),P=x(w),A=x(S),O=function(e){this.observer=c(e),this.cleanup=void 0,this.subscriptionObserver=void 0;};O.prototype={type:w,clean:function(){var e=this.cleanup;if(e){this.cleanup=void 0;try{e();}catch(e){b(e);}}},close:function(){if(!o){var e=this.facade,t=this.subscriptionObserver;e.closed=!0,t&&(t.closed=!0);}this.observer=void 0;},isClosed:function(){return void 0===this.observer;}};var C=function(e,t){var n,r=k(this,new O(e));o||(this.closed=!1);try{(n=p(e,"start"))&&a(n,e,this);}catch(e){b(e);}if(!r.isClosed()){var i=r.subscriptionObserver=new M(r);try{var c=t(i),l=c;f(c)||(r.cleanup=s(c.unsubscribe)?function(){l.unsubscribe();}:u(c));}catch(e){i.error(e);return;}r.isClosed()&&r.clean();}};C.prototype=m({},{unsubscribe:function(){var e=P(this);e.isClosed()||(e.close(),e.clean());}}),o&&v(C.prototype,"closed",{configurable:!0,get:function(){return P(this).isClosed();}});var M=function(e){k(this,{type:S,subscriptionState:e}),o||(this.closed=!1);};M.prototype=m({},{next:function(e){var t=A(this).subscriptionState;if(!t.isClosed()){var n=t.observer;try{var r=p(n,"next");r&&a(r,n,e);}catch(e){b(e);}}},error:function(e){var t=A(this).subscriptionState;if(!t.isClosed()){var n=t.observer;t.close();try{var r=p(n,"error");r?a(r,n,e):b(e);}catch(e){b(e);}t.clean();}},complete:function(){var e=A(this).subscriptionState;if(!e.isClosed()){var t=e.observer;e.close();try{var n=p(t,"complete");n&&a(n,t);}catch(e){b(e);}e.clean();}}}),o&&v(M.prototype,"closed",{configurable:!0,get:function(){return A(this).subscriptionState.isClosed();}});var I=function(e){l(this,R),k(this,{type:E,subscriber:u(e)});},R=I.prototype;m(R,{subscribe:function(e){var t=arguments.length;return new C(s(e)?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:d(e)?e:{},T(this).subscriber);}}),h(R,_,function(){return this;}),r({global:!0,constructor:!0,forced:!0},{Observable:I}),i(E);},b64f5e71:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("b69db97a"),o=n("377218ed"),i=n("f081b157"),u=n("4a357c11"),c=n("c9572803"),l=n("4fccae39"),s=n("ac9098e4"),f=l("asyncIterator");e.exports=function(e){var t,n=o(e),l=!0,d=c(n,f);return a(d)||(d=u(n),l=!1),void 0!==d?t=r(d,n):(t=n,l=!0),o(t),i(l?t:new s(i(t)));};},b6806481:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157"),c=n("33aa6602"),l=n("e7f68c76"),s=n("256d831f"),f=c(function(){for(var e,t,n=this.iterator,r=this.predicate,o=this.next;;){if(e=i(a(o,n)),this.done=!!e.done)return;if(l(n,r,[t=e.value,this.counter++],!0))return t;}});r({target:"Iterator",proto:!0,real:!0,forced:s},{filter:function(e){return i(this),o(e),new f(u(this),{predicate:e});}});},b69db97a:function(e,t,n){"use strict";var r=n("7c46879f"),a=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===a;}:function(e){return"function"==typeof e;};},b7499f6a:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("da755c5c");let a={ids:[],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"90ec04bf")))};},b74c4593:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("ff5769a6"),o=n("b69db97a"),i=n("377218ed"),u=TypeError;e.exports=function(e,t){var n,c=i(this),l=a(c.get),s=a(c.has),f=a(c.set),d=arguments.length>2?arguments[2]:void 0;if(!o(t)&&!o(d))throw new u("At least one callback required");return r(s,c,e)?(n=r(l,c,e),o(t)&&r(f,c,e,n=t(n))):o(d)&&r(f,c,e,n=d()),n;};},b7672d07:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("8fb0fcd1"),o=SyntaxError,i=parseInt,u=String.fromCharCode,c=r("".charAt),l=r("".slice),s=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":" "},d=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var n=!0,r="";tPromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("b426b87a")]).then(n.dr(r,n.bind(n,"7bb6b0ca")))};},bb3eb6b2:function(e,t,n){},bb495872:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("377218ed"),i=n("f081b157"),u=n("b9ba4ce7"),c=n("4f336d3e"),l=n("33aa6602"),s=n("256d831f"),f=l(function(){for(var e,t,n=this.iterator,r=this.next;this.remaining;)if(this.remaining--,e=o(a(r,n)),t=this.done=!!e.done)return;if(e=o(a(r,n)),!(t=this.done=!!e.done))return e.value;});r({target:"Iterator",proto:!0,real:!0,forced:s},{drop:function(e){o(this);var t=c(u(+e));return new f(i(this),{remaining:t});}});},bb5cd29d:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("86adcc76");let a={ids:["dualaxes-demo-common","dualaxes-demo-markdown","dualaxes-demo-multiple"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("8d782fde")]).then(n.dr(r,n.bind(n,"f73f2dea")))};},bbec3a2b:function(e,t,n){"use strict";n("9a31e2b1")({target:"String",stat:!0,forced:!0},{cooked:n("7346e12b")});},bc10027c:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("50a844aa"),o=function(e,t){return[t,e];};e.exports=function(){return r(a,this,o);};},bc3725d3:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=r._(n("487e5583")),o=r._(n("39670a60")),i=r._(n("e242f3cb")),u=r._(n("f99eee37"));function c(e){return(0,a.default)(e)||(0,o.default)(e)||(0,i.default)(e)||(0,u.default)();}},bcb5e59e:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"i18nProvider",{enumerable:!0,get:function(){return d;}});var r=n("852bbaa9"),a=n("a2e753d8"),o=n("5ca000fa"),i=r._(n("9d065c04")),u=n("187554de"),c=n("861ce6cf"),l=n("cbdf8a81");let s=(0,u.createIntlCache)(),f=e=>{let t=(0,i.useCallback)(()=>{let e="",t=l.locales.slice().reverse().find(t=>"suffix"in t?o.history.location.pathname.replace(/([^/])\/$/,"$1").endsWith(t.suffix):o.history.location.pathname.replace(/([^/])\/$/,"$1").startsWith(e+t.base)),n=t?t.id:l.locales[0].id;if(o.history.location.pathname.startsWith(e+"/~demos")){let e=new URLSearchParams(o.history.location.search);e.get("locale")&&(n=e.get("locale"));}let r=l.messages[n]||{};return r["$internal.edit.link"]="https://github.com/antvis/GPT-Vis/edit/HEAD/{filename}",r["$internal.api.sourceLink"]="https://github.com/antvis/GPT-Vis/tree/HEAD/{fileName}#L{line}",(0,u.createIntl)({locale:n,messages:r},s);},[]),[n,r]=(0,i.useState)(()=>t());return(0,c.useIsomorphicLayoutEffect)(()=>o.history.listen(()=>{r(t());}),[]),(0,a.jsx)(u.RawIntlProvider,{value:n,children:e.children},n.locale);};function d(e){return i.default.createElement(f,null,e);}},bcd5e131:function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,forced:!0},{imulh:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r,i=n>>16,u=r>>16,c=(i*o>>>0)+(a*o>>>16);return i*u+(c>>16)+((a*u>>>0)+(65535&c)>>16);}});},bcf5f786:function(e,t,n){"use strict";var r=n("3cf27215"),a=n("049b76d1"),o=r.Set,i=r.add;e.exports=function(e){var t=new o;return a(e,function(e){i(t,e);}),t;};},bcf6a639:function(e,t,n){"use strict";var r,a,o,i=n("39177d30"),u=n("67b9d692"),c=n("e6ade175"),l=n("b69db97a"),s=n("7087e9e6"),f=n("8fb0fcd1"),d=n("a04fdb0c"),p=n("6615efd8"),h=n("1022370d"),m=n("24d8d964"),v=n("8bf19462"),b=n("b11ea5c3"),g=n("f7387e98"),y=n("33ae99a3"),_=n("4fccae39"),E=n("3d75c2bd"),w=n("8fcc8f13"),S=w.enforce,x=w.get,k=c.Int8Array,T=k&&k.prototype,P=c.Uint8ClampedArray,A=P&&P.prototype,O=k&&g(k),C=T&&g(T),M=Object.prototype,I=c.TypeError,R=_("toStringTag"),L=E("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",D=i&&!!y&&"Opera"!==d(c.opera),j=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},U=function(e){if(!s(e))return!1;var t=d(e);return"DataView"===t||f(F,t)||f(B,t);},H=function(e){var t=g(e);if(s(t)){var n=x(t);return n&&f(n,N)?n[N]:H(t);}},z=function(e){if(!s(e))return!1;var t=d(e);return f(F,t)||f(B,t);},G=function(e){if(z(e))return e;throw new I("Target is not a typed array");},$=function(e){if(l(e)&&(!y||b(O,e)))return e;throw new I(p(e)+" is not a typed array constructor");},V=function(e,t,n,r){if(u){if(n)for(var a in F){var o=c[a];if(o&&f(o.prototype,e))try{delete o.prototype[e];}catch(n){try{o.prototype[e]=t;}catch(e){}}}(!C[e]||n)&&m(C,e,n?t:D&&T[e]||t,r);}},W=function(e,t,n){var r,a;if(u){if(y){if(n){for(r in F)if((a=c[r])&&f(a,e))try{delete a[e];}catch(e){}}if(O[e]&&!n)return;try{return m(O,e,n?t:D&&O[e]||t);}catch(e){}}for(r in F)(a=c[r])&&(!a[e]||n)&&m(a,e,t);}};for(r in F)(o=(a=c[r])&&a.prototype)?S(o)[N]=a:D=!1;for(r in B)(o=(a=c[r])&&a.prototype)&&(S(o)[N]=a);if((!D||!l(O)||O===Function.prototype)&&(O=function(){throw new I("Incorrect invocation");},D))for(r in F)c[r]&&y(c[r],O);if((!D||!C||C===M)&&(C=O.prototype,D))for(r in F)c[r]&&y(c[r].prototype,C);if(D&&g(A)!==C&&y(A,C),u&&!f(C,R))for(r in j=!0,v(C,R,{configurable:!0,get:function(){return s(this)?this[L]:void 0;}}),F)c[r]&&h(c[r],L,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:j&&L,aTypedArray:G,aTypedArrayConstructor:$,exportTypedArrayMethod:V,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:H,isView:U,isTypedArray:z,TypedArray:O,TypedArrayPrototype:C};},bd5dbf42:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("57506e03"),o=n("377218ed"),i=a.toKey,u=a.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);u(e,t,o(n),r);}});},bdddf38e:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{FormattedNumberParts:function(){return s;},createFormattedComponent:function(){return d;},createFormattedDateTimePartsComponent:function(){return f;}});var r,a,o=n("777fffbe"),i=n("852bbaa9"),u=n("b594a703"),c=i._(n("9d065c04")),l=o._(n("59645bed"));!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName";}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts";}(a||(a={}));var s=function(e){var t=(0,l.default)(),n=e.value,r=e.children,a=(0,u.__rest)(e,["value","children"]);return r(t.formatNumberToParts(n,a));};function f(e){var t=function(t){var n=(0,l.default)(),r=t.value,a=t.children,o=(0,u.__rest)(t,["value","children"]),i="string"==typeof r?new Date(r||0):r;return a("formatDate"===e?n.formatDateToParts(i,o):n.formatTimeToParts(i,o));};return t.displayName=a[e],t;}function d(e){var t=function(t){var n=(0,l.default)(),r=t.value,a=t.children,o=(0,u.__rest)(t,["value","children"]),i=n[e](r,o);if("function"==typeof a)return a(i);var s=n.textComponent||c.Fragment;return c.createElement(s,null,i);};return t.displayName=r[e],t;}s.displayName="FormattedNumberParts",s.displayName="FormattedNumberParts";},bdee4280:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("8fb0fcd1"),o=n("b11ea5c3"),i=n("f7d824f3"),u=RegExp.prototype;e.exports=function(e){var t=e.flags;return!(void 0===t&&!("flags"in u)&&!a(e,"flags")&&o(u,e))?t:r(i,e);};},be3df0ae:function(e,t,n){"use strict";var r=n("e6ade175"),a=Object.defineProperty;e.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0});}catch(n){r[e]=t;}return t;};},be4e7377:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("606bab50");let r=[{id:"\u4EE3\u7801\u793A\u4F8B",depth:3,title:"\u4EE3\u7801\u793A\u4F8B"}],a={title:"Map",toc:"content",filename:"src/Map/index.md",atomId:"Map",lastUpdated:1734934621e3,order:1,group:{order:2,title:"\u5730\u56FE"},debug:!0};},be63189e:function(e,t,n){"use strict";var r=n("b400dacf"),a=n("3d75c2bd"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e));};},be9e9534:function(e,t,n){"use strict";var r=n("4f336d3e"),a=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new a("Wrong offset");return n;};},bf6625f8:function(e,t,n){"use strict";var r=n("60eb28d7");e.exports=!r(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype");});},bf6f9163:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("b69db97a"),i=n("1b0971c3"),u=n("8fb0fcd1"),c=n("67b9d692"),l=Object.getOwnPropertyDescriptor,s=/^\s*class\b/,f=a(s.exec),d=function(e){try{if(!c||!f(s,i(e)))return!1;}catch(e){}var t=l(e,"prototype");return!!t&&u(t,"writable")&&!t.writable;};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(e){return o(e)&&!d(e);}});},bf7dd364:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"tabs",{enumerable:!0,get:function(){return r;}});let r={};},bf9944bb:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Collection:function(){return o;},CollectionContext:function(){return a;}});var r=n("852bbaa9")._(n("9d065c04")),a=r.createContext(null);function o(e){var t=e.children,n=e.onBatchResize,o=r.useRef(0),i=r.useRef([]),u=r.useContext(a),c=r.useCallback(function(e,t,r){o.current+=1;var a=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then(function(){a===o.current&&(null==n||n(i.current),i.current=[]);}),null==u||u(e,t,r);},[n,u]);return r.createElement(a.Provider,{value:c},t);}},bfd7edba:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"openCodeSandbox",{enumerable:!0,get:function(){return h;}});var r=n("0e52bcdf"),a=n("5ca000fa"),o=n("861ce6cf");function i(e,t){return f(e)||s(e,t)||c(e,t)||u();}function u(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function c(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t);}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n',isBinary:!1},d[h]={content:(0,o.genReactRenderCode)(p.react),isBinary:!1};var m=o.pluginManager.applyPlugins({type:a.ApplyPluginsType.modify,key:"modifyCodeSandboxData",initialValue:{files:d},args:e});return(0,r.getParameters)(m);}var h=function(e,t){var n,r=document.createElement("form"),a=document.createElement("input"),o=p(e);r.method="POST",r.target="_blank",r.style.display="none",r.action=(null==t?void 0:t.api)||d,r.appendChild(a),r.setAttribute("data-demo",(null===(n=e.assets)||void 0===n?void 0:n.id)||""),a.name="parameters",a.value=o,document.body.appendChild(r),r.submit(),r.remove();};},c0685d4e:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("abf07924");r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(e){return new a(e,"keys");}});},c0c2eece:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n("e280dee4"),n("2ae990f4"),n("4478aff3"),n("5c31cc1a"),n("15fbd0be"),n("9ba5bd47"),n("5c57cc56"),n("a6da9406"),n("7209425d"),n("2b98bc48"),n("de34354d"),n("771ea27f"),n("b0b4c94c"),n("8df979c6"),n("045ba5e3"),n("2da9e9fb"),n("05a6a5bc"),n("e5f8c70c"),n("dc614f94"),n("487a576b"),n("62a10fa7"),n("57336b5a"),n("a58cf3c8"),n("7a1dc046"),n("c8698ab0"),n("878528cc"),n("78ae8b16"),n("a2ed1987"),n("4d4cc88a"),n("e07af27c"),n("158c99da"),n("2ff54862"),n("27e53828"),n("6d711331"),n("24944cad"),n("2d12fdfd"),n("81ef251b"),n("ec15169d"),n("678cf36f"),n("a9eb0ef2"),n("2c43bc5e"),n("5a00d1a4"),n("1fa19c5c"),n("c512f206"),n("03549d0f"),n("66701516"),n("5adc6cbf"),n("feb5800d"),n("9ff71f41"),n("1678e573"),n("f4b14016"),n("65c6c441"),n("5460e461"),n("9891fe36"),n("a25c27c6"),n("4f21cf16"),n("a447b03f"),n("ec3a3108"),n("eb554e1f"),n("8079c878"),n("d597ce6a"),n("899439c4"),n("3e08fb5f"),n("45534e67"),n("645224a5"),n("83d005c9"),n("35254f2d"),n("fbf31a78"),n("73f0e41d"),n("a3e98dc0"),n("1ebd92a2"),n("c5d6f54a"),n("bf6f9163"),n("580060a4"),n("e05db345"),n("d0aefb14"),n("0c949309"),n("a4471b37"),n("fe260b9c"),n("bb495872"),n("1b54f483"),n("b6806481"),n("c6cda597"),n("d7c9ffdd"),n("6b7be2a4"),n("b0caf53f"),n("6203691a"),n("a9dc4e2c"),n("0132e6ef"),n("6fd16df9"),n("a8802772"),n("9dc659ee"),n("e8f4e42d"),n("cec22681"),n("e93d5141"),n("488fc3d7"),n("fd3cf70b"),n("e33cd3b9"),n("6ac7dd91"),n("c86799b8"),n("f402d18c"),n("502ea583"),n("b5b80124"),n("6bba5c47"),n("2b124bf3"),n("8c3d766a"),n("01751221"),n("30f9e47f"),n("5a8a74b3"),n("7068c6ff"),n("c78fa626"),n("3c34b2aa"),n("16162031"),n("95b87c99"),n("94a8084b"),n("c0db4d68"),n("045fc2a1"),n("222174f9"),n("5b1445f0"),n("dd3e72bb"),n("03177e2f"),n("5c0d118f"),n("bcd5e131"),n("3422a59f"),n("5abf7d56"),n("3a579c28"),n("9f24e766"),n("92b937c9"),n("e2098059"),n("7cf9438d"),n("278ff009"),n("a462cc16"),n("a5bbc039"),n("c0685d4e"),n("55c364c0"),n("d407c2f4"),n("53702629"),n("bd5dbf42"),n("85099adf"),n("d70eda9a"),n("200b5cdf"),n("338b0e56"),n("c59bde00"),n("51cbd84e"),n("437bd75a"),n("0841fb0b"),n("21a9b255"),n("8389ebfc"),n("659289f6"),n("37188e0b"),n("437d0f75"),n("c1cfa2bf"),n("4f79f73f"),n("d3b6be8b"),n("b89f9123"),n("6248808e"),n("da8a08fe"),n("679970fc"),n("acc63eba"),n("88f89daa"),n("a7103732"),n("1539046b"),n("70da07ed"),n("d0dd6420"),n("920311d8"),n("567f9df1"),n("3b66b6cc"),n("30dbdd9e"),n("11835daf"),n("8290de02"),n("eb54e8cf"),n("5658aa9e"),n("00c69f59"),n("bbec3a2b"),n("c35df087"),n("2c690296"),n("542b5387"),n("0f3c3efc"),n("9be3ebf5"),n("455f0f76"),n("7b552573"),n("dce15d9b"),n("ac66d00f"),n("031d996c"),n("f9499e5e"),n("f0445548"),n("847c8eda"),n("8b82de0b"),n("d1c1f4ec"),n("047a47d4"),n("7d11a9da"),n("121d447c"),n("7dbbcd96"),n("62ff3f4c"),n("45c566fd"),n("b7e80e28"),n("6450735a"),n("8016e22e"),n("5e40e025"),n("8c4863a7"),n("93869b49"),n("fa308bfb"),n("76607b31"),n("d3a763f7"),n("696c2573"),n("9f4d32ab"),n("94dc832f"),n("243be46f"),n("832a544c"),n("7e202809"),n("59469a64"),n("7bdf921b"),n("b8aba5e0"),n("82fda5a1"),n("5d5eb4d0"),n("0fe4187a");},c0db4d68:function(e,t,n){"use strict";n("9a31e2b1")({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n("b74c4593")});},c1cfa2bf:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("7c8234aa"),i=n("049b76d1");r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0);return!1!==i(t,function(e){if(!n(e,e,t))return!1;},!0);}});},c1f00ff3:function(e,t,n){"use strict";function r(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e;})):t=e,JSON.stringify(t);}n.d(t,"__esModule",{value:!0}),n.e(t,{genDataNodeKey:function(){return o;},getRemovable:function(){return i;},stringify:function(){return r;}});var a="TABS_DQ";function o(e){return String(e).replace(/"/g,a);}function i(e,t,n,r){return!!n&&!r&&!1!==e&&(void 0!==e||!1!==t&&null!==t);}},c218acf5:function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("3cf27215"),o=n("ac483abd"),i=n("60a9f091"),u=n("049b76d1"),c=n("fd7850ea"),l=a.Set,s=a.add,f=a.has;e.exports=function(e){var t=r(this),n=i(e),a=new l;return o(t)>n.size?c(n.getIterator(),function(e){f(t,e)&&s(a,e);}):u(t,function(e){n.includes(e)&&s(a,e);}),a;};},c2866d61:function(e,t,n){"use strict";var r=Math.round;e.exports=function(e){var t=r(e);return t<0?0:t>255?255:255&t;};},c2d1b7ee:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("4b530b92");let r=[{id:"pinmap-\u70B9\u6807\u6CE8\u5730\u56FE",depth:1,title:"PinMap \u70B9\u6807\u6CE8\u5730\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"pinmap-demo-default",depth:3,title:"\u9ED8\u8BA4\u5730\u56FE"},{id:"pinmap-demo-marker",depth:3,title:"\u81EA\u5B9A\u4E49\u6837\u5F0F"},{id:"pinmap-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"pinmapprops",depth:3,title:"PinMapProps"},{id:"markerdata",depth:3,title:"MarkerData"}],a={title:"PinMap \u70B9\u6807\u6CE8\u5730\u56FE",toc:"content",filename:"src/PinMap/index.md",atomId:"PinMap",lastUpdated:1734934621e3,order:1,group:{order:2,title:"\u5730\u56FE"},demo:{cols:2},description:"\u70B9\u6807\u6CE8\u5730\u56FE\uFF0C\u7528\u4E8E\u53EF\u89C6\u5316\u5C55\u793A POI \u70B9\u4F4D\u6570\u636E\u3002"};},c3234e1c:function(e,t,n){"use strict";n("5a246765");},c3290680:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"WHITE_SPACE_REGEX",{enumerable:!0,get:function(){return r;}});var r=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;},c35df087:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("161477c7"),o=n("0d4455ba"),i=n("4dc6d451"),u=n("6050ac71"),c=n("8fcc8f13"),l=n("a70a4552"),s=l.codeAt,f=l.charAt,d="String Iterator",p=c.set,h=c.getterFor(d),m=a(function(e){p(this,{type:d,string:e,index:0});},"String",function(){var e,t=h(this),n=t.string,r=t.index;return r>=n.length?o(void 0,!0):(e=f(n,r),t.index+=e.length,o({codePoint:s(e,0),position:r},!1));});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new m(u(i(this)));}});},c3caec5a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=n("852bbaa9")._(n("9d065c04")).createContext({});},c3e1c92d:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{formatNumber:function(){return u;},formatNumberToParts:function(){return c;},getFormatter:function(){return i;}});var r=n("8bda5910"),a=n("188ed28f"),o=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function i(e,t,n){var r=e.locale,i=e.formats,u=e.onError;void 0===n&&(n={});var c=n.format,l=c&&(0,a.getNamedFormat)(i,"number",c,u)||{};return t(r,(0,a.filterProps)(n,o,l));}function u(e,t,n,a){void 0===a&&(a={});try{return i(e,t,a).format(n);}catch(t){e.onError(new r.IntlFormatError("Error formatting number.",e.locale,t));}return String(n);}function c(e,t,n,a){void 0===a&&(a={});try{return i(e,t,a).formatToParts(n);}catch(t){e.onError(new r.IntlFormatError("Error formatting number.",e.locale,t));}return[];}},c41b9db1:function(e,t,n){"use strict";var r=n("e6ade175"),a=n("78178a98");e.exports="process"===a(r.process);},c4d65e90:function(e,t,n){"use strict";var r=TypeError;e.exports=function(e,t){if(ePromise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("9ca060df")]).then(n.dr(r,n.bind(n,"672db773")))};},c512f206:function(e,t,n){"use strict";var r=n("67b9d692"),a=n("8bf19462"),o=n("a2e20c93"),i=ArrayBuffer.prototype;!r||"detached"in i||a(i,"detached",{configurable:!0,get:function(){return o(this);}});},c53cbbe7:function(e,t,n){"use strict";var r=n("8d87a5e8"),a=n("a2078cdf"),o=RangeError;e.exports=function(e,t,n,i){var u=r(e),c=a(n),l=c<0?u+c:c;if(l>=u||l<0)throw new o("Incorrect index");for(var s=new t(u),f=0;f=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),g;}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n);}return a;}}throw Error("illegal catch attempt");},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g;}},t;}},c756ba1a:function(e,t,n){"use strict";var r=n("200bc327"),a={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function i(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t);}function u(e,t){var n,u,c,l,s,f,d=!1;t||(t={}),n=t.debug||!1;try{if(c=r(),l=document.createRange(),s=document.getSelection(),(f=document.createElement("span")).textContent=e,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",function(r){if(r.stopPropagation(),t.format){if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e);}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);}t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData));}),document.body.appendChild(f),l.selectNodeContents(f),s.addRange(l),!document.execCommand("copy"))throw Error("copy command was unsuccessful");d=!0;}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0;}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),u=i("message"in t?t.message:o),window.prompt(u,e);}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),f&&document.body.removeChild(f),c();}return d;}e.exports=u;},c78fa626:function(e,t,n){"use strict";n("9a31e2b1")({target:"Map",stat:!0,forced:!0},{of:n("77abdb20")});},c7eba360:function(e,t,n){"use strict";var r=n("03eb1d77"),a=n("60eb28d7"),o=n("e6ade175").String;e.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&r&&r<41;});},c7ed5220:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return s;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=r._(n("30142f75")),u=r._(n("1dcdc1e8")),c=a._(n("9d065c04")),l=n("c1f00ff3"),s=function(e){var t,n=e.prefixCls,r=e.id,a=e.active,s=e.tab,f=s.key,d=s.label,p=s.disabled,h=s.closeIcon,m=s.icon,v=e.closable,b=e.renderWrapper,g=e.removeAriaLabel,y=e.editable,_=e.onClick,E=e.onFocus,w=e.style,S="".concat(n,"-tab"),x=(0,l.getRemovable)(v,h,y,p);function k(e){p||_(e);}function T(e){e.preventDefault(),e.stopPropagation(),y.onEdit("remove",{key:f,event:e});}var P=c.useMemo(function(){return m&&"string"==typeof d?c.createElement("span",null,d):d;},[d,m]),A=c.createElement("div",{key:f,"data-node-key":(0,l.genDataNodeKey)(f),className:(0,i.default)(S,(t={},(0,o.default)(t,"".concat(S,"-with-remove"),x),(0,o.default)(t,"".concat(S,"-active"),a),(0,o.default)(t,"".concat(S,"-disabled"),p),t)),style:w,onClick:k},c.createElement("div",{role:"tab","aria-selected":a,id:r&&"".concat(r,"-tab-").concat(f),className:"".concat(S,"-btn"),"aria-controls":r&&"".concat(r,"-panel-").concat(f),"aria-disabled":p,tabIndex:p?null:0,onClick:function(e){e.stopPropagation(),k(e);},onKeyDown:function(e){[u.default.SPACE,u.default.ENTER].includes(e.which)&&(e.preventDefault(),k(e));},onFocus:E},m&&c.createElement("span",{className:"".concat(S,"-icon")},m),d&&P),x&&c.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(S,"-remove"),onClick:function(e){e.stopPropagation(),T(e);}},h||y.removeIcon||"\xd7"));return b?b(A):A;};},c857ae8b:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("e8043c88");let a={ids:["networkgraph-demo-common","networkgraph-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("bd9b0e6e")]).then(n.dr(r,n.bind(n,"ce1e9ed3")))};},c858baaf:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return o;}});var r=n("777fffbe")._(n("83e5ba8e"));function a(e,t){for(var n=0;n1?arguments[1]:void 0);return!1!==i(t,function(e,r){if(!n(e,r,t))return!1;},!0);}});},c8698ab0:function(e,t,n){"use strict";var r=n("bcf6a639"),a=n("8d87a5e8"),o=n("a2078cdf"),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",function(e){var t=i(this),n=a(t),r=o(e),u=r>=0?r:n+r;return u<0||u>=n?void 0:t[u];});},c9572803:function(e,t,n){"use strict";var r=n("ff5769a6"),a=n("42e9210f");e.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n);};},ca3f4a5a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return A;},generateTrigger:function(){return P;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1de795bc")),i=r._(n("361d5d06")),u=r._(n("c60c8136")),c=r._(n("259bf7bd")),l=r._(n("30142f75")),s=r._(n("d6cbc7a1")),f=n("5f7c1969"),d=n("27ca0e6b"),p=r._(n("e0ebc827")),h=r._(n("c6802e78")),m=r._(n("3480b7d9")),v=r._(n("373639b6")),b=a._(n("9d065c04")),g=r._(n("1a82a2a9")),y=r._(n("369c0c48")),_=r._(n("27335d4c")),E=r._(n("00bdd8c2")),w=r._(n("85d88a4b")),S=r._(n("37e3f8f8")),x=r._(n("30fb4089")),k=n("2f794f81"),T=["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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default;return b.forwardRef(function(t,n){var r,a,c=t.prefixCls,P=void 0===c?"rc-trigger-popup":c,A=t.children,O=t.action,C=void 0===O?"hover":O,M=t.showAction,I=t.hideAction,R=t.popupVisible,L=t.defaultPopupVisible,N=t.onPopupVisibleChange,D=t.afterPopupVisibleChange,j=t.mouseEnterDelay,F=t.mouseLeaveDelay,B=void 0===F?.1:F,U=t.focusDelay,H=t.blurDelay,z=t.mask,G=t.maskClosable,$=void 0===G||G,V=t.getPopupContainer,W=t.forceRender,K=t.autoDestroy,Y=t.destroyPopupOnHide,q=t.popup,X=t.popupClassName,Q=t.popupStyle,Z=t.popupPlacement,J=t.builtinPlacements,ee=void 0===J?{}:J,et=t.popupAlign,en=t.zIndex,er=t.stretch,ea=t.getPopupClassNameFromAlign,eo=t.fresh,ei=t.alignPoint,eu=t.onPopupClick,ec=t.onPopupAlign,el=t.arrow,es=t.popupMotion,ef=t.maskMotion,ed=t.popupTransitionName,ep=t.popupAnimation,eh=t.maskTransitionName,em=t.maskAnimation,ev=t.className,eb=t.getTriggerDOMNode,eg=(0,u.default)(t,T),ey=K||Y||!1,e_=b.useState(!1),eE=(0,i.default)(e_,2),ew=eE[0],eS=eE[1];(0,m.default)(function(){eS((0,v.default)());},[]);var ex=b.useRef({}),ek=b.useContext(_.default),eT=b.useMemo(function(){return{registerSubPopup:function(e,t){ex.current[e]=t,null==ek||ek.registerSubPopup(e,t);}};},[ek]),eP=(0,h.default)(),eA=b.useState(null),eO=(0,i.default)(eA,2),eC=eO[0],eM=eO[1],eI=(0,p.default)(function(e){(0,f.isDOM)(e)&&eC!==e&&eM(e),null==ek||ek.registerSubPopup(eP,e);}),eR=b.useState(null),eL=(0,i.default)(eR,2),eN=eL[0],eD=eL[1],ej=b.useRef(null),eF=(0,p.default)(function(e){(0,f.isDOM)(e)&&eN!==e&&(eD(e),ej.current=e);}),eB=b.Children.only(A),eU=(null==eB?void 0:eB.props)||{},eH={},ez=(0,p.default)(function(e){var t,n,r=eN;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.getShadowRoot)(r))||void 0===t?void 0:t.host)===e||e===r||(null==eC?void 0:eC.contains(e))||(null===(n=(0,d.getShadowRoot)(eC))||void 0===n?void 0:n.host)===e||e===eC||Object.values(ex.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t;});}),eG=(0,k.getMotion)(P,es,ep,ed),e$=(0,k.getMotion)(P,ef,em,eh),eV=b.useState(L||!1),eW=(0,i.default)(eV,2),eK=eW[0],eY=eW[1],eq=null!=R?R:eK,eX=(0,p.default)(function(e){void 0===R&&eY(e);});(0,m.default)(function(){eY(R||!1);},[R]);var eQ=b.useRef(eq);eQ.current=eq;var eZ=b.useRef([]);eZ.current=[];var eJ=(0,p.default)(function(e){var t;eX(e),(null!==(t=eZ.current[eZ.current.length-1])&&void 0!==t?t:eq)!==e&&(eZ.current.push(e),null==N||N(e));}),e0=b.useRef(),e1=function(){clearTimeout(e0.current);},e2=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e1(),0===t?eJ(e):e0.current=setTimeout(function(){eJ(e);},1e3*t);};b.useEffect(function(){return e1;},[]);var e3=b.useState(!1),e6=(0,i.default)(e3,2),e7=e6[0],e9=e6[1];(0,m.default)(function(e){(!e||eq)&&e9(!0);},[eq]);var e8=b.useState(null),e4=(0,i.default)(e8,2),e5=e4[0],te=e4[1],tt=b.useState([0,0]),tn=(0,i.default)(tt,2),tr=tn[0],ta=tn[1],to=function(e){ta([e.clientX,e.clientY]);},ti=(0,w.default)(eq,eC,ei?tr:eN,Z,ee,et,ec),tu=(0,i.default)(ti,11),tc=tu[0],tl=tu[1],ts=tu[2],tf=tu[3],td=tu[4],tp=tu[5],th=tu[6],tm=tu[7],tv=tu[8],tb=tu[9],tg=tu[10],ty=(0,E.default)(ew,C,M,I),t_=(0,i.default)(ty,2),tE=t_[0],tw=t_[1],tS=tE.has("click"),tx=tw.has("click")||tw.has("contextMenu"),tk=(0,p.default)(function(){e7||tg();}),tT=function(){eQ.current&&ei&&tx&&e2(!1);};(0,S.default)(eq,eN,eC,tk,tT),(0,m.default)(function(){tk();},[tr,Z]),(0,m.default)(function(){eq&&!(null!=ee&&ee[Z])&&tk();},[JSON.stringify(et)]);var tP=b.useMemo(function(){var e=(0,k.getAlignPopupClassName)(ee,P,tb,ei);return(0,l.default)(e,null==ea?void 0:ea(tb));},[tb,ea,ee,P,ei]);b.useImperativeHandle(n,function(){return{nativeElement:ej.current,forceAlign:tk};});var tA=b.useState(0),tO=(0,i.default)(tA,2),tC=tO[0],tM=tO[1],tI=b.useState(0),tR=(0,i.default)(tI,2),tL=tR[0],tN=tR[1],tD=function(){if(er&&eN){var e=eN.getBoundingClientRect();tM(e.width),tN(e.height);}},tj=function(){tD(),tk();},tF=function(e){e9(!1),tg(),null==D||D(e);},tB=function(){return new Promise(function(e){tD(),te(function(){return e;});});};function tU(e,t,n,r){eH[e]=function(a){var o;null==r||r(a),e2(t,n);for(var i=arguments.length,u=Array(i>1?i-1:0),c=1;c1?n-1:0),a=1;a1?n-1:0),a=1;a1?e.map(u).join(" "):e[0];return"object"==typeof t?`${o(t)}`:t.toString();}function u(e){return"object"==typeof e?`${JSON.stringify(e)}`:e.toString();}let c={log(...e){a("log",i(e));},info(...e){a("info",i(e));},warn(...e){a("warn",i(e));},error(...e){a("error",i(e));},group(){r++;},groupCollapsed(){r++;},groupEnd(){r&&--r;},clear(){a("clear");},trace(...e){console.trace(...e);},profile(...e){console.profile(...e);},profileEnd(...e){console.profileEnd(...e);}};},cbdf8a81:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{locales:function(){return r;},messages:function(){return a;}});let r=[{id:"zh-CN",name:"\u4E2D\u6587",base:"/"}],a={"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.x":"X","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.code.editable":"Edit code with real-time preview","previewer.actions.code.readonly":"Only index file is editable","previewer.actions.sketch":"Copy to Sketch app","previewer.actions.sketch.group":"Copy as Sketch Group","previewer.actions.sketch.symbol":"Copy as Sketch Symbol","previewer.actions.sketch.divider":"------------------------","previewer.actions.sketch.guide":"How to paste to Sketch?","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.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"Experimental","api.component.release.deprecated":"Deprecated","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","content.footer.last.updated":"Last updated: ","content.footer.actions.edit":"Improve this documentation","content.footer.actions.previous":"PREV","content.footer.actions.next":"NEXT","search.not.found":"No content was found","search.loading":"Loading...","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.x":"X","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.code.editable":"\u7F16\u8F91\u4EE3\u7801\u53EF\u5B9E\u65F6\u9884\u89C8","previewer.actions.code.readonly":"\u4EC5 index \u53EF\u7F16\u8F91","previewer.actions.codesandbox":"\u5728 CodeSandbox \u4E2D\u6253\u5F00","previewer.actions.sketch":"\u62F7\u8D1D\u5230 Sketch","previewer.actions.sketch.group":"\u62F7\u8D1D\u4E3A Sketch Group","previewer.actions.sketch.symbol":"\u62F7\u8D1D\u4E3A Sketch Symbol","previewer.actions.sketch.divider":"----------------------","previewer.actions.sketch.guide":"\u5982\u4F55\u7C98\u8D34\u5230 SKetch\uFF1F","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.release.alpha":"Alpha","api.component.release.beta":"Beta","api.component.release.experimental":"\u5B9E\u9A8C\u6027","api.component.release.deprecated":"\u5E9F\u5F03","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","content.footer.last.updated":"\u6700\u540E\u66F4\u65B0\u65F6\u95F4\uFF1A","content.footer.actions.edit":"\u5E2E\u52A9\u6539\u8FDB\u6B64\u6587\u6863","content.footer.actions.previous":"\u4E0A\u4E00\u7BC7","content.footer.actions.next":"\u4E0B\u4E00\u7BC7","search.not.found":"\u672A\u627E\u5230\u76F8\u5173\u5185\u5BB9","search.loading":"\u52A0\u8F7D\u4E2D...","layout.sidebar.btn":"\u4FA7\u8FB9\u83DC\u5355"}};},cbe5736b:function(e,t,n){},cc0b4922:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("130fe4a2");let r=[{id:"line-\u6298\u7EBF\u56FE",depth:1,title:"Line \u6298\u7EBF\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"line-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"line-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"line-demo-category",depth:3,title:"\u591A\u6298\u7EBF\u56FE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"lineprops",depth:3,title:"LineProps"},{id:"linedataitem",depth:3,title:"LineDataItem"}],a={title:"Line \u6298\u7EBF\u56FE",toc:"content",filename:"src/Line/index.md",atomId:"Line",lastUpdated:1734934621e3,order:1,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2}};},cca68e04:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("bb3eb6b2");let r=[{id:"vistext-\u6587\u672C",depth:1,title:"VisText \u6587\u672C"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"\u5355\u72EC\u4F7F\u7528",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"\u4F7F\u7528-configprovider-\u5168\u5C40\u914D\u7F6E\u4E2A\u6027\u5316\u5B9A\u5236",depth:3,title:"\u4F7F\u7528 ConfigProvider \u5168\u5C40\u914D\u7F6E\uFF0C\u4E2A\u6027\u5316\u5B9A\u5236"},{id:"api",depth:2,title:"API"},{id:"vistextprops",depth:3,title:"VisTextProps"},{id:"globalconfigcomponentsvistext",depth:3,title:"GlobalConfig.components.VisText"}],a={title:"VisText \u6587\u672C",toc:"content",filename:"src/Text/index.md",lastUpdated:1734934621e3,order:1,group:{order:3,title:"\u6587\u672C"},description:"\u901A\u8FC7 ConfigProvider \u5168\u5C40\u914D\u7F6E\uFF0C\u4E2A\u6027\u5316\u5B9A\u5236 VisText \u7EC4\u4EF6\u3002"};},ccbffb09:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("0db032d7"),i=n("b4b978cb"),u=n("24d8d964"),c=n("9deda740"),l=n("1f316010"),s=n("6c55996b"),f=n("b69db97a"),d=n("42e9210f"),p=n("7087e9e6"),h=n("60eb28d7"),m=n("8ff8a0f1"),v=n("ce195b5d"),b=n("2b044158");e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),_=g?"set":"add",E=a[e],w=E&&E.prototype,S=E,x={},k=function(e){var t=o(w[e]);u(w,e,"add"===e?function(e){return t(this,0===e?0:e),this;}:"delete"===e?function(e){return(!y||!!p(e))&&t(this,0===e?0:e);}:"get"===e?function(e){return y&&!p(e)?void 0:t(this,0===e?0:e);}:"has"===e?function(e){return(!y||!!p(e))&&t(this,0===e?0:e);}:function(e,n){return t(this,0===e?0:e,n),this;});};if(i(e,!f(E)||!(y||w.forEach&&!h(function(){new E().entries().next();}))))S=n.getConstructor(t,e,g,_),c.enable();else if(i(e,!0)){var T=new S,P=T[_](y?{}:-0,1)!==T,A=h(function(){T.has(1);}),O=m(function(e){new E(e);}),C=!y&&h(function(){for(var e=new E,t=5;t--;)e[_](t,t);return!e.has(-0);});O||((S=t(function(e,t){s(e,w);var n=b(new E,e,S);return d(t)||l(t,n[_],{that:n,AS_ENTRIES:g}),n;})).prototype=w,w.constructor=S),(A||C)&&(k("delete"),k("has"),g&&k("get")),(C||P)&&k(_),y&&w.clear&&delete w.clear;}return x[e]=S,r({global:!0,constructor:!0,forced:S!==E},x),v(S,e),y||n.setStrong(S,e,g),S;};},cd29c076:function(e,t,n){"use strict";var r=n("60eb28d7"),a=n("3e039690");e.exports=!r(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",a(1,7)),7!==e.stack);});},cd7c81bf:function(e,t,n){"use strict";var r=n("7c8234aa"),a=n("ac483abd"),o=n("049b76d1"),i=n("60a9f091");e.exports=function(e){var t=r(this),n=i(e);return!(a(t)>n.size)&&!1!==o(t,function(e){if(!n.includes(e))return!1;},!0);};},cdfa6ed3:function(e,t,n){},ce195b5d:function(e,t,n){"use strict";var r=n("f16f296d").f,a=n("8fb0fcd1"),o=n("4fccae39")("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!a(e,o)&&r(e,o,{configurable:!0,value:t});};},cec22681:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("377218ed"),o=n("ac9098e4"),i=n("92a3d6cc"),u=n("f081b157");r({target:"Iterator",proto:!0,real:!0,forced:n("256d831f")},{toAsync:function(){return new i(u(new o(u(a(this)))));}});},cef3f03e:function(e,t,n){"use strict";var r=n("67b9d692"),a=n("36d2efb6"),o=n("653d5b96"),i=n("3e039690"),u=n("7dfaf7bb"),c=n("ebc2442a"),l=n("8fb0fcd1"),s=n("e1e30bb5"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=u(e),t=c(t),s)try{return f(e,t);}catch(e){}if(l(e,t))return i(!a(o.f,e,t),e[t]);};},cf0202ff:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("1dcf9b4f");let a={ids:["scatter-demo-common","scatter-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("ab1d009d")]).then(n.dr(r,n.bind(n,"60fc5dad")))};},cf1c7770:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("e34fb88a");let a={ids:["gptvis-demo-default","gptvis-demo-tag","gptvis-demo-code","gptvis-demo-event","gptvis-demo-context-provider"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("70ff43c5")]).then(n.dr(r,n.bind(n,"6302cc33")))};},cfc22834:function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols;},cfe3a382:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("cbe5736b");let r=[{id:"histogram-\u76F4\u65B9\u56FE",depth:1,title:"Histogram \u76F4\u65B9\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"histogram-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"histogram-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"histogramprops",depth:3,title:"HistogramProps"},{id:"histogramdataitem",depth:3,title:"HistogramDataItem"}],a={title:"Histogram \u76F4\u65B9\u56FE",toc:"content",filename:"src/Histogram/index.md",atomId:"Histogram",lastUpdated:1734934621e3,order:5,group:{order:1,title:"\u7EDF\u8BA1\u56FE"},demo:{cols:2}};},d04004cf:function(e,t,n){"use strict";var r=n("94e1b84e"),a=n("0db032d7"),o=n("dba6f1a0"),i=n("82110d96"),u=n("8d87a5e8"),c=n("71cfa629"),l=c.Map,s=c.get,f=c.has,d=c.set,p=a([].push);e.exports=function(e){for(var t,n,a=i(this),c=o(a),h=r(e,arguments.length>1?arguments[1]:void 0),m=new l,v=u(c),b=0;v>b;b++)f(m,t=h(n=c[b],b,a))?p(s(m,t),n):d(m,t,[n]);return m;};},d04dc6e7:function(e,t,n){},d0aefb14:function(e,t,n){"use strict";n("9a31e2b1")({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:n("0c3f7dd5")});},d0af320c:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return d;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("bc3725d3")),i=r._(n("361d5d06")),u=a._(n("9d065c04")),c=r._(n("3480b7d9")),l=r._(n("70228951")),s=r._(n("0c3e13dd")),f=[];function d(e,t){var n=u.useState(function(){return(0,l.default)()?document.createElement("div"):null;}),r=(0,i.default)(n,1)[0],a=u.useRef(!1),d=u.useContext(s.default),p=u.useState(f),h=(0,i.default)(p,2),m=h[0],v=h[1],b=d||(a.current?void 0:function(e){v(function(t){return[e].concat((0,o.default)(t));});});function g(){r.parentElement||document.body.appendChild(r),a.current=!0;}function y(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),a.current=!1;}return(0,c.default)(function(){return e?d?d(g):g():y(),y;},[e]),(0,c.default)(function(){m.length&&(m.forEach(function(e){return e();}),v(f));},[m]),[r,b];}},d0dd6420:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("7c8234aa"),i=n("049b76d1"),u=n("6050ac71"),c=a([].join),l=a([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=o(this),n=void 0===e?",":u(e),r=[];return i(t,function(e){l(r,e);}),c(r,n);}});},d0ec023c:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=r._(n("2d08ddef")),o=r._(n("02d1a9fd")),i=r._(n("ac4d6c88")),u=r._(n("025dad2d"));function c(e){return(0,a.default)(e)||(0,o.default)(e)||(0,i.default)(e)||(0,u.default)();}},d11b0156:function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r);}catch(e){console.error(e);}}r(),e.exports=n("f66cffcf");},d13a5b6a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("039a5825");let r=[{id:"mindmap-\u601D\u7EF4\u5BFC\u56FE",depth:1,title:"MindMap \u601D\u7EF4\u5BFC\u56FE"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"\u5355\u72EC\u4F7F\u7528",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"\u4F7F\u7528-markdown-\u534F\u8BAE",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"mindmapprops",depth:3,title:"MindMapProps"},{id:"mindmapdata",depth:3,title:"MindMapData"}],a={title:"MindMap \u601D\u7EF4\u5BFC\u56FE",toc:"content",filename:"src/MindMap/index.md",atomId:"MindMap",lastUpdated:1734934621e3,order:1,group:{order:3,title:"\u5173\u7CFB\u56FE"},description:"\u601D\u7EF4\u5BFC\u56FE\uFF0C\u76F4\u89C2\u5730\u5C55\u793A\u4FE1\u606F\u7684\u5C42\u6B21\u7ED3\u6784\u548C\u5173\u8054\u5173\u7CFB\u3002"};},d1c1f4ec:function(e,t,n){"use strict";var r=n("08279926"),a=n("4fb239fa"),o=n("e49ec851"),i=n("bcf6a639"),u=n("6a1bb8c1"),c=i.aTypedArrayConstructor;(0,i.exportTypedArrayStaticMethod)("fromAsync",function(e){var t=this,n=arguments.length,i=n>1?arguments[1]:void 0,l=n>2?arguments[2]:void 0;return new(r("Promise"))(function(n){a(t),n(o(e,i,l));}).then(function(e){return u(c(t),e);});},!0);},d1d20e17:function(e,t,n){},d208682c:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return b;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1de795bc")),u=r._(n("361d5d06")),c=r._(n("6d9bd3c4")),l=r._(n("f2ad2335")),s=r._(n("d6cbc7a1")),f=r._(n("3480b7d9")),d=n("64c7e51a"),p=a._(n("9d065c04")),h=r._(n("0603a86b")),m=r._(n("a44dc401")),v=r._(n("f78aa92e")),b=p.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,b=e.style,g=e.target,y=e.onVisibleChanged,_=e.open,E=e.keepDom,w=e.fresh,S=e.onClick,x=e.mask,k=e.arrow,T=e.arrowPos,P=e.align,A=e.motion,O=e.maskMotion,C=e.forceRender,M=e.getPopupContainer,I=e.autoDestroy,R=e.portal,L=e.zIndex,N=e.onMouseEnter,D=e.onMouseLeave,j=e.onPointerEnter,F=e.onPointerDownCapture,B=e.ready,U=e.offsetX,H=e.offsetY,z=e.offsetR,G=e.offsetB,$=e.onAlign,V=e.onPrepare,W=e.stretch,K=e.targetWidth,Y=e.targetHeight,q="function"==typeof n?n():n,X=_||E,Q=(null==M?void 0:M.length)>0,Z=p.useState(!M||!Q),J=(0,u.default)(Z,2),ee=J[0],et=J[1];if((0,f.default)(function(){!ee&&Q&&g&&et(!0);},[ee,Q,g]),!ee)return null;var en="auto",er={left:"-1000vw",top:"-1000vh",right:en,bottom:en};if(B||!_){var ea,eo=P.points,ei=P.dynamicInset||(null===(ea=P._experimental)||void 0===ea?void 0:ea.dynamicInset),eu=ei&&"r"===eo[0][1],ec=ei&&"b"===eo[0][0];eu?(er.right=z,er.left=en):(er.left=U,er.right=en),ec?(er.bottom=G,er.top=en):(er.top=H,er.bottom=en);}var el={};return W&&(W.includes("height")&&Y?el.height=Y:W.includes("minHeight")&&Y&&(el.minHeight=Y),W.includes("width")&&K?el.width=K:W.includes("minWidth")&&K&&(el.minWidth=K)),_||(el.pointerEvents="none"),p.createElement(R,{open:C||X,getContainer:M&&function(){return M(g);},autoDestroy:I},p.createElement(m.default,{prefixCls:a,open:_,zIndex:L,mask:x,motion:O}),p.createElement(s.default,{onResize:$,disabled:!_},function(e){return p.createElement(l.default,(0,o.default)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(a,"-hidden")},A,{onAppearPrepare:V,onEnterPrepare:V,visible:_,onVisibleChanged:function(e){var t;null==A||null===(t=A.onVisibleChanged)||void 0===t||t.call(A,e),y(e);}}),function(n,o){var u=n.className,l=n.style,s=(0,c.default)(a,u,r);return p.createElement("div",{ref:(0,d.composeRef)(e,t,o),className:s,style:(0,i.default)((0,i.default)((0,i.default)((0,i.default)({"--arrow-x":"".concat(T.x||0,"px"),"--arrow-y":"".concat(T.y||0,"px")},er),el),l),{},{boxSizing:"border-box",zIndex:L},b),onMouseEnter:N,onMouseLeave:D,onPointerEnter:j,onClick:S,onPointerDownCapture:F},k&&p.createElement(h.default,{prefixCls:a,arrow:k,arrowPos:T,align:P}),p.createElement(v.default,{cache:!_&&!w},q));});}));});},d233e860:function(e,t,n){"use strict";var r=Math.ceil,a=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t);};},d23654cb:function(e,t,n){"use strict";e.exports=n("eb6e7381");},d2782f88:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{Context:function(){return p;},Provider:function(){return d;},default:function(){return h;}});var r=n("777fffbe"),a=n("852bbaa9"),o=n("b594a703"),i=r._(n("3b591ef1")),u=a._(n("9d065c04")),c=n("196f905b");function l(e){return e.displayName||e.name||"Component";}var s="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?u.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=u.createContext(null)),f=s.Consumer,d=s.Provider,p=s;function h(e,t){var n=t||{},r=n.intlPropName,a=void 0===r?"intl":r,s=n.forwardRef,d=void 0!==s&&s,p=n.enforceContext,h=void 0===p||p,m=function(t){return u.createElement(f,null,function(n){h&&(0,c.invariantIntlContext)(n);var r,i=((r={})[a]=n,r);return u.createElement(e,(0,o.__assign)({},t,i,{ref:d?t.forwardedRef:null}));});};return(m.displayName="injectIntl(".concat(l(e),")"),m.WrappedComponent=e,d)?(0,i.default)(u.forwardRef(function(e,t){return u.createElement(m,(0,o.__assign)({},e,{forwardedRef:t}));}),e):(0,i.default)(m,e);}},d2d50ac8:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("d7152fa2"));},d38f054a:function(e,t,n){"use strict";var r=n("2e3fa3e3"),a=n("8bf19462"),o=n("f9f0e99d"),i=n("94e1b84e"),u=n("6c55996b"),c=n("42e9210f"),l=n("1f316010"),s=n("aec75a93"),f=n("0d4455ba"),d=n("a16b223c"),p=n("67b9d692"),h=n("9deda740").fastKey,m=n("8fcc8f13"),v=m.set,b=m.getterFor;e.exports={getConstructor:function(e,t,n,s){var f=e(function(e,a){u(e,d),v(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),p||(e.size=0),c(a)||l(a,e[s],{that:e,AS_ENTRIES:n});}),d=f.prototype,m=b(t),g=function(e,t,n){var r,a,o=m(e),i=y(e,t);return i?i.value=n:(o.last=i={index:a=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),p?o.size++:e.size++,"F"!==a&&(o.index[a]=i)),e;},y=function(e,t){var n,r=m(e),a=h(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key===t)return n;};return o(d,{clear:function(){for(var e=this,t=m(e),n=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,p?t.size=0:e.size=0;},delete:function(e){var t=this,n=m(t),r=y(t,e);if(r){var a=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=a),a&&(a.previous=o),n.first===r&&(n.first=a),n.last===r&&(n.last=o),p?n.size--:t.size--;}return!!r;},forEach:function(e){for(var t,n=m(this),r=i(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous;},has:function(e){return!!y(this,e);}}),o(d,n?{get:function(e){var t=y(this,e);return t&&t.value;},set:function(e,t){return g(this,0===e?0:e,t);}}:{add:function(e){return g(this,e=0===e?0:e,e);}}),p&&a(d,"size",{configurable:!0,get:function(){return m(this).size;}}),f;},setStrong:function(e,t,n){var r=t+" Iterator",a=b(t),o=b(r);s(e,t,function(e,t){v(this,{type:r,target:e,state:a(e),kind:t,last:void 0});},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"===t?f(n.key,!1):"values"===t?f(n.value,!1):f([n.key,n.value],!1):(e.target=void 0,f(void 0,!0));},n?"entries":"values",!n,!0),d(t);}};},d3a763f7:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("cae15661"),o=n("474326bc").add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=a(this),t=0,n=arguments.length;t1?arguments[1]:void 0),r=i(t,function(e){if(n(e,e,t))return{value:e};},!0);return r&&r.value;}});},d407c2f4:function(e,t,n){"use strict";n("b6459298"),n("d7423459"),n("d5f1bbf0");},d41c46b6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{SiteContext:function(){return a;},useSiteData:function(){return o;}});var r=n("9d065c04"),a=(0,r.createContext)({pkg:{},historyType:"browser",entryExports:{},demos:{},components:{},locales:[],themeConfig:{},loading:!1,setLoading:function(){},_2_level_nav_available:!0}),o=function(){return(0,r.useContext)(a);};},d42c42d2:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return O;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1fc4f16a")),i=r._(n("a5105844")),u=r._(n("1de795bc")),c=r._(n("361d5d06")),l=r._(n("c60c8136")),s=a._(n("9d065c04")),f=r._(n("30142f75")),d=r._(n("5e1d9a4c"));n("9093f42f");var p=r._(n("e105b4e4")),h=n("67075208"),m=a._(n("949d70f4")),v=r._(n("46e80c26")),b=r._(n("f0610f58")),g=r._(n("e17998b5")),y=r._(n("35dd182e")),_=n("4ea037d3"),E=r._(n("d6b3c24b")),w=r._(n("15e393e1")),S=n("d507a87a"),x=n("f3881a56"),k=r._(n("c3caec5a")),T=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],P=["active"],A=function(e){var t,n=e.style,r=e.className,a=e.title,h=e.eventKey,A=(e.warnKey,e.disabled),O=e.internalPopupClose,C=e.children,M=e.itemIcon,I=e.expandIcon,R=e.popupClassName,L=e.popupOffset,N=e.popupStyle,D=e.onClick,j=e.onMouseEnter,F=e.onMouseLeave,B=e.onTitleClick,U=e.onTitleMouseEnter,H=e.onTitleMouseLeave,z=(0,l.default)(e,T),G=(0,x.useMenuId)(h),$=s.useContext(m.MenuContext),V=$.prefixCls,W=$.mode,K=$.openKeys,Y=$.disabled,q=$.overflowDisabled,X=$.activeKey,Q=$.selectedKeys,Z=$.itemIcon,J=$.expandIcon,ee=$.onItemClick,et=$.onOpenChange,en=$.onActive,er=s.useContext(k.default)._internalRenderSubMenuItem,ea=s.useContext(S.PathUserContext).isSubPathKey,eo=(0,S.useFullPath)(),ei="".concat(V,"-submenu"),eu=Y||A,ec=s.useRef(),el=s.useRef(),es=null!=M?M:Z,ef=null!=I?I:J,ed=K.includes(h),ep=!q&&ed,eh=ea(Q,h),em=(0,y.default)(h,eu,U,H),ev=em.active,eb=(0,l.default)(em,P),eg=s.useState(!1),ey=(0,c.default)(eg,2),e_=ey[0],eE=ey[1],ew=function(e){eu||eE(e);},eS=function(e){ew(!0),null==j||j({key:h,domEvent:e});},ex=function(e){ew(!1),null==F||F({key:h,domEvent:e});},ek=s.useMemo(function(){return ev||"inline"!==W&&(e_||ea([X],h));},[W,ev,X,e_,h,ea]),eT=(0,E.default)(eo.length),eP=function(e){eu||(null==B||B({key:h,domEvent:e}),"inline"===W&&et(h,!ed));},eA=(0,v.default)(function(e){null==D||D((0,_.warnItemProp)(e)),ee(e);}),eO=function(e){"inline"!==W&&et(h,e);},eC=function(){en(h);},eM=G&&"".concat(G,"-popup"),eI=s.createElement("div",(0,i.default)({role:"menuitem",style:eT,className:"".concat(ei,"-title"),tabIndex:eu?null:-1,ref:ec,title:"string"==typeof a?a:null,"data-menu-id":q&&G?null:G,"aria-expanded":ep,"aria-haspopup":!0,"aria-controls":eM,"aria-disabled":eu,onClick:eP,onFocus:eC},eb),a,s.createElement(g.default,{icon:"horizontal"!==W?ef:void 0,props:(0,u.default)((0,u.default)({},e),{},{isOpen:ep,isSubMenu:!0})},s.createElement("i",{className:"".concat(ei,"-arrow")}))),eR=s.useRef(W);if("inline"!==W&&eo.length>1?eR.current="vertical":eR.current=W,!q){var eL=eR.current;eI=s.createElement(b.default,{mode:eL,prefixCls:ei,visible:!O&&ep&&"inline"!==W,popupClassName:R,popupOffset:L,popupStyle:N,popup:s.createElement(m.default,{mode:"horizontal"===eL?"vertical":eL},s.createElement(p.default,{id:eM,ref:el},C)),disabled:eu,onVisibleChange:eO},eI);}var eN=s.createElement(d.default.Item,(0,i.default)({role:"none"},z,{component:"li",style:n,className:(0,f.default)(ei,"".concat(ei,"-").concat(W),r,(t={},(0,o.default)(t,"".concat(ei,"-open"),ep),(0,o.default)(t,"".concat(ei,"-active"),ek),(0,o.default)(t,"".concat(ei,"-selected"),eh),(0,o.default)(t,"".concat(ei,"-disabled"),eu),t)),onMouseEnter:eS,onMouseLeave:ex}),eI,!q&&s.createElement(w.default,{id:eM,open:ep,keyPath:eo},C));return er&&(eN=er(eN,e,{selected:eh,active:ek,open:ep,disabled:eu})),s.createElement(m.default,{onItemClick:eA,mode:"horizontal"===W?"vertical":W,itemIcon:es,expandIcon:ef},eN);};function O(e){var t,n=e.eventKey,r=e.children,a=(0,S.useFullPath)(n),o=(0,h.parseChildren)(r,a),i=(0,S.useMeasure)();return s.useEffect(function(){if(i)return i.registerPath(n,a),function(){i.unregisterPath(n,a);};},[a]),t=i?o:s.createElement(A,e,o),s.createElement(S.PathTrackerContext.Provider,{value:a},t);}},d48bec4e:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("f9f0e99d"),o=n("9deda740").getWeakData,i=n("6c55996b"),u=n("377218ed"),c=n("42e9210f"),l=n("7087e9e6"),s=n("1f316010"),f=n("6f33419a"),d=n("8fb0fcd1"),p=n("8fcc8f13"),h=p.set,m=p.getterFor,v=f.find,b=f.findIndex,g=r([].splice),y=0,_=function(e){return e.frozen||(e.frozen=new E);},E=function(){this.entries=[];},w=function(e,t){return v(e.entries,function(e){return e[0]===t;});};E.prototype={get:function(e){var t=w(this,e);if(t)return t[1];},has:function(e){return!!w(this,e);},set:function(e,t){var n=w(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=b(this.entries,function(t){return t[0]===e;});return~t&&g(this.entries,t,1),!!~t;}},e.exports={getConstructor:function(e,t,n,r){var f=e(function(e,a){i(e,p),h(e,{type:t,id:y++,frozen:void 0}),c(a)||s(a,e[r],{that:e,AS_ENTRIES:n});}),p=f.prototype,v=m(t),b=function(e,t,n){var r=v(e),a=o(u(t),!0);return!0===a?_(r).set(t,n):a[r.id]=n,e;};return a(p,{delete:function(e){var t=v(this);if(!l(e))return!1;var n=o(e);return!0===n?_(t).delete(e):n&&d(n,t.id)&&delete n[t.id];},has:function(e){var t=v(this);if(!l(e))return!1;var n=o(e);return!0===n?_(t).has(e):n&&d(n,t.id);}}),a(p,n?{get:function(e){var t=v(this);if(l(e)){var n=o(e);return!0===n?_(t).get(e):n?n[t.id]:void 0;}},set:function(e,t){return b(this,e,t);}}:{add:function(e){return b(this,e,!0);}}),f;}};},d4e0925f:function(e,t,n){"use strict";var r=n("9f0a4323"),a=11920928955078125e-23,o=34028234663852886e22,i=11754943508222875e-54;e.exports=Math.fround||function(e){return r(e,a,o,i);};},d507a87a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{PathRegisterContext:function(){return c;},PathTrackerContext:function(){return s;},PathUserContext:function(){return d;},useFullPath:function(){return f;},useMeasure:function(){return l;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("bc3725d3")),i=a._(n("9d065c04")),u=[],c=i.createContext(null);function l(){return i.useContext(c);}var s=i.createContext(u);function f(e){var t=i.useContext(s);return i.useMemo(function(){return void 0!==e?[].concat((0,o.default)(t),[e]):t;},[t,e]);}var d=i.createContext(null);},d50c00e2:function(e,t,n){"use strict";var r=n("837e35f3"),a=n("a77d9a3c");e.exports=Object.keys||function(e){return r(e,a);};},d58a43df:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("4069ad7f"),o=function(e,t){return[t,e];};e.exports=function(){return r(a,this,o);};},d597ce6a:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e81c7d0b").some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return a(this,e);}});},d5daf057:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("f77c1a90");let a={ids:[],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"2a131f38")))};},d5f1bbf0:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("08279926"),o=n("47c095a1"),i=a("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var e=o(this)?this:a("Observable"),t=arguments.length,n=i(t),r=0;re.length)&&(t=e.length);for(var n=0,r=Array(t);n=f&&n<=d;},g=function(e,t,n){if(n>=e.length)return -1;for(var r=0;t=f&&e<=d?e-f:e>=p&&e<=h?e-p+10:e>=m&&e<=v?e-m+10:-1;};e.exports=function(e){for(var t,n="",r=0,a=0;(a=l(e,"\\",a))>-1;){if(n+=s(e,r,a),++a===e.length)return;var c=u(e,a++);switch(c){case"b":n+="\b";break;case"t":n+=" ";break;case"n":n+="\n";break;case"v":n+="\v";break;case"f":n+="\f";break;case"r":n+="\r";break;case"\r":a1114111)return;n+=i(t);break;default:if(b(c,0))return;n+=c;}r=a;}return n+s(e,r);};},d7423459:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("08279926"),o=n("36d2efb6"),i=n("377218ed"),u=n("47c095a1"),c=n("850f86d6"),l=n("c9572803"),s=n("1f316010"),f=n("4fccae39")("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(e){var t=u(this)?this:a("Observable"),n=l(i(e),f);if(n){var r=i(o(n,e));return r.constructor===t?r:new t(function(e){return r.subscribe(e);});}var d=c(e);return new t(function(e){s(d,function(t,n){if(e.next(t),e.closed)return n();},{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete();});}});},d74861ba:function(e,t,n){},d7b22ddb:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return u;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("361d5d06")),i=a._(n("9d065c04"));function u(e){var t=i.useRef(!1),n=i.useState(e),r=(0,o.default)(n,2),a=r[0],u=r[1];return i.useEffect(function(){return t.current=!1,function(){t.current=!0;};},[]),[a,function(e,n){n&&t.current||u(e);}];}},d7c9ffdd:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("ff5769a6"),i=n("377218ed"),u=n("f081b157"),c=n("8aec9632"),l=n("33aa6602"),s=n("93611cd2"),f=n("256d831f"),d=l(function(){for(var e,t,n=this.iterator,r=this.mapper;;){if(t=this.inner)try{if(!(e=i(a(t.next,t.iterator))).done)return e.value;this.inner=null;}catch(e){s(n,"throw",e);}if(e=i(a(this.next,n)),this.done=!!e.done)return;try{this.inner=c(r(e.value,this.counter++),!1);}catch(e){s(n,"throw",e);}}});r({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(e){return i(this),o(e),new d(u(this),{mapper:e,inner:null});}});},d89c2b65:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("b69db97a"),o=n("7087e9e6"),i=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&a(n=e.toString)&&!o(u=r(n,e))||a(n=e.valueOf)&&!o(u=r(n,e))||"string"!==t&&a(n=e.toString)&&!o(u=r(n,e)))return u;throw new i("Can't convert object to primitive value");};},d95cb236:function(e,t,n){"use strict";var r,a,o,i,u=n("e6ade175"),c=n("f0a391cd"),l=n("94e1b84e"),s=n("b69db97a"),f=n("8fb0fcd1"),d=n("60eb28d7"),p=n("137df3d8"),h=n("0f8f5c29"),m=n("eedb51ae"),v=n("c4d65e90"),b=n("8a0e7d4a"),g=n("c41b9db1"),y=u.setImmediate,_=u.clearImmediate,E=u.process,w=u.Dispatch,S=u.Function,x=u.MessageChannel,k=u.String,T=0,P={},A="onreadystatechange";d(function(){r=u.location;});var O=function(e){if(f(P,e)){var t=P[e];delete P[e],t();}},C=function(e){return function(){O(e);};},M=function(e){O(e.data);},I=function(e){u.postMessage(k(e),r.protocol+"//"+r.host);};y&&_||(y=function(e){v(arguments.length,1);var t=s(e)?e:S(e),n=h(arguments,1);return P[++T]=function(){c(t,void 0,n);},a(T),T;},_=function(e){delete P[e];},g?a=function(e){E.nextTick(C(e));}:w&&w.now?a=function(e){w.now(C(e));}:x&&!b?(i=(o=new x).port2,o.port1.onmessage=M,a=l(i.postMessage,i)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!d(I)?(a=I,u.addEventListener("message",M,!1)):a=A in m("script")?function(e){p.appendChild(m("script"))[A]=function(){p.removeChild(this),O(e);};}:function(e){setTimeout(C(e),0);}),e.exports={set:y,clear:_};},d9cd326b:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("cdfa6ed3");let a={ids:["docs-guide-antd-design-x-demo-0","docs-guide-antd-design-x-demo-1"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("fff33d9f")]).then(n.dr(r,n.bind(n,"7750d1e1")))};},da755c5c:function(e,t,n){},da8a08fe:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("9c1788c4"),i=n("c218acf5");r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return a(i,this,o(e));}});},dba3fa5f:function(e,t,n){"use strict";var r=n("e6ade175");e.exports=r.Promise;},dba6f1a0:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("60eb28d7"),o=n("78178a98"),i=Object,u=r("".split);e.exports=a(function(){return!i("z").propertyIsEnumerable(0);})?function(e){return"String"===o(e)?u(e,""):i(e);}:i;},dbe550d3:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},dbe83fd2:function(e,t,n){"use strict";var r=n("290e6ad6"),a=n("47c095a1"),o=n("7087e9e6"),i=n("4fccae39")("species"),u=Array;e.exports=function(e){var t;return r(e)&&(a(t=e.constructor)&&(t===u||r(t.prototype))?t=void 0:o(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?u:t;};},dc0539a8:function(e,t,n){"use strict";var r=n("0db032d7"),a=n("82110d96"),o=Math.floor,i=r("".charAt),u=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,m=s;return void 0!==f&&(f=a(f),m=l),u(d,m,function(a,u){var l;switch(i(u,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,p);case"<":l=f[c(u,1,-1)];break;default:var s=+u;if(0===s)return a;if(s>h){var d=o(s/10);if(0===d)return a;if(d<=h)return void 0===r[d-1]?i(u,1):r[d-1]+i(u,1);return a;}l=r[s-1];}return void 0===l?"":l;});};},dc614f94:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("ce195b5d");r({global:!0},{Reflect:{}}),o(a.Reflect,"Reflect",!0);},dc6318f2:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return M;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("a5105844")),i=r._(n("1fc4f16a")),u=r._(n("1de795bc")),c=r._(n("bc3725d3")),l=r._(n("361d5d06")),s=r._(n("c60c8136")),f=r._(n("30142f75")),d=r._(n("5e1d9a4c")),p=r._(n("f6c6ae8c")),h=r._(n("a5e11652"));n("9093f42f");var m=a._(n("9d065c04")),v=n("d11b0156"),b=n("f3881a56"),g=r._(n("949d70f4")),y=n("d507a87a"),_=r._(n("c3caec5a")),E=n("afbf33c3"),w=a._(n("85c211f8")),S=r._(n("46e80c26")),x=r._(n("64ec8d9b")),k=r._(n("2b2af3ca")),T=r._(n("d42c42d2")),P=n("86a4fecc"),A=n("4ea037d3"),O=["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"],C=[],M=m.forwardRef(function(e,t){var n,r,a=e,M=a.prefixCls,I=void 0===M?"rc-menu":M,R=a.rootClassName,L=a.style,N=a.className,D=a.tabIndex,j=void 0===D?0:D,F=a.items,B=a.children,U=a.direction,H=a.id,z=a.mode,G=void 0===z?"vertical":z,$=a.inlineCollapsed,V=a.disabled,W=a.disabledOverflow,K=a.subMenuOpenDelay,Y=void 0===K?.1:K,q=a.subMenuCloseDelay,X=void 0===q?.1:q,Q=a.forceSubMenuRender,Z=a.defaultOpenKeys,J=a.openKeys,ee=a.activeKey,et=a.defaultActiveFirst,en=a.selectable,er=void 0===en||en,ea=a.multiple,eo=void 0!==ea&&ea,ei=a.defaultSelectedKeys,eu=a.selectedKeys,ec=a.onSelect,el=a.onDeselect,es=a.inlineIndent,ef=void 0===es?24:es,ed=a.motion,ep=a.defaultMotions,eh=a.triggerSubMenuAction,em=void 0===eh?"hover":eh,ev=a.builtinPlacements,eb=a.itemIcon,eg=a.expandIcon,ey=a.overflowedIndicator,e_=void 0===ey?"...":ey,eE=a.overflowedIndicatorPopupClassName,ew=a.getPopupContainer,eS=a.onClick,ex=a.onOpenChange,ek=a.onKeyDown,eT=(a.openAnimation,a.openTransitionName,a._internalRenderMenuItem),eP=a._internalRenderSubMenuItem,eA=(0,s.default)(a,O),eO=m.useMemo(function(){return(0,P.parseItems)(B,F,C);},[B,F]),eC=m.useState(!1),eM=(0,l.default)(eC,2),eI=eM[0],eR=eM[1],eL=m.useRef(),eN=(0,x.default)(H),eD="rtl"===U,ej=(0,p.default)(Z,{value:J,postState:function(e){return e||C;}}),eF=(0,l.default)(ej,2),eB=eF[0],eU=eF[1],eH=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){eU(e),null==ex||ex(e);}t?(0,v.flushSync)(n):n();},ez=m.useState(eB),eG=(0,l.default)(ez,2),e$=eG[0],eV=eG[1],eW=m.useRef(!1),eK=m.useMemo(function(){return("inline"===G||"vertical"===G)&&$?["vertical",$]:[G,!1];},[G,$]),eY=(0,l.default)(eK,2),eq=eY[0],eX=eY[1],eQ="inline"===eq,eZ=m.useState(eq),eJ=(0,l.default)(eZ,2),e0=eJ[0],e1=eJ[1],e2=m.useState(eX),e3=(0,l.default)(e2,2),e6=e3[0],e7=e3[1];m.useEffect(function(){e1(eq),e7(eX),eW.current&&(eQ?eU(e$):eH(C));},[eq,eX]);var e9=m.useState(0),e8=(0,l.default)(e9,2),e4=e8[0],e5=e8[1],te=e4>=eO.length-1||"horizontal"!==e0||W;m.useEffect(function(){eQ&&eV(eB);},[eB]),m.useEffect(function(){return eW.current=!0,function(){eW.current=!1;};},[]);var tt=(0,w.default)(),tn=tt.registerPath,tr=tt.unregisterPath,ta=tt.refreshOverflowKeys,to=tt.isSubPathKey,ti=tt.getKeyPath,tu=tt.getKeys,tc=tt.getSubPathKeys,tl=m.useMemo(function(){return{registerPath:tn,unregisterPath:tr};},[tn,tr]),ts=m.useMemo(function(){return{isSubPathKey:to};},[to]);m.useEffect(function(){ta(te?C:eO.slice(e4+1).map(function(e){return e.key;}));},[e4,te]);var tf=(0,p.default)(ee||et&&(null===(n=eO[0])||void 0===n?void 0:n.key),{value:ee}),td=(0,l.default)(tf,2),tp=td[0],th=td[1],tm=(0,S.default)(function(e){th(e);}),tv=(0,S.default)(function(){th(void 0);});(0,m.useImperativeHandle)(t,function(){return{list:eL.current,focus:function(e){var t,n,r=tu(),a=(0,E.refreshElements)(r,eN),o=a.elements,i=a.key2element,u=a.element2key,c=(0,E.getFocusableElements)(eL.current,o),l=null!=tp?tp:c[0]?u.get(c[0]):null===(t=eO.find(function(e){return!e.props.disabled;}))||void 0===t?void 0:t.key,s=i.get(l);l&&s&&(null==s||null===(n=s.focus)||void 0===n||n.call(s,e));}};});var tb=(0,p.default)(ei||[],{value:eu,postState:function(e){return Array.isArray(e)?e:null==e?C:[e];}}),tg=(0,l.default)(tb,2),ty=tg[0],t_=tg[1],tE=function(e){if(er){var t,n=e.key,r=ty.includes(n);t_(t=eo?r?ty.filter(function(e){return e!==n;}):[].concat((0,c.default)(ty),[n]):[n]);var a=(0,u.default)((0,u.default)({},e),{},{selectedKeys:t});r?null==el||el(a):null==ec||ec(a);}!eo&&eB.length&&"inline"!==e0&&eH(C);},tw=(0,S.default)(function(e){null==eS||eS((0,A.warnItemProp)(e)),tE(e);}),tS=(0,S.default)(function(e,t){var n=eB.filter(function(t){return t!==e;});if(t)n.push(e);else if("inline"!==e0){var r=tc(e);n=n.filter(function(e){return!r.has(e);});}(0,h.default)(eB,n,!0)||eH(n,!0);}),tx=function(e,t){var n=null!=t?t:!eB.includes(e);tS(e,n);},tk=(0,E.useAccessibility)(e0,tp,eD,eN,eL,tu,ti,th,tx,ek);m.useEffect(function(){eR(!0);},[]);var tT=m.useMemo(function(){return{_internalRenderMenuItem:eT,_internalRenderSubMenuItem:eP};},[eT,eP]),tP="horizontal"!==e0||W?eO:eO.map(function(e,t){return m.createElement(g.default,{key:e.key,overflowDisabled:t>e4},e);}),tA=m.createElement(d.default,(0,o.default)({id:H,ref:eL,prefixCls:"".concat(I,"-overflow"),component:"ul",itemComponent:k.default,className:(0,f.default)(I,"".concat(I,"-root"),"".concat(I,"-").concat(e0),N,(r={},(0,i.default)(r,"".concat(I,"-inline-collapsed"),e6),(0,i.default)(r,"".concat(I,"-rtl"),eD),r),R),dir:U,style:L,role:"menu",tabIndex:j,data:tP,renderRawItem:function(e){return e;},renderRawRest:function(e){var t=e.length,n=t?eO.slice(-t):null;return m.createElement(T.default,{eventKey:w.OVERFLOW_KEY,title:e_,disabled:te,internalPopupClose:0===t,popupClassName:eE},n);},maxCount:"horizontal"!==e0||W?d.default.INVALIDATE:d.default.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){e5(e);},onKeyDown:tk},eA));return m.createElement(_.default.Provider,{value:tT},m.createElement(b.IdContext.Provider,{value:eN},m.createElement(g.default,{prefixCls:I,rootClassName:R,mode:e0,openKeys:eB,rtl:eD,disabled:V,motion:eI?ed:null,defaultMotions:eI?ep:null,activeKey:tp,onActive:tm,onInactive:tv,selectedKeys:ty,inlineIndent:ef,subMenuOpenDelay:Y,subMenuCloseDelay:X,forceSubMenuRender:Q,builtinPlacements:ev,triggerSubMenuAction:em,getPopupContainer:ew,itemIcon:eb,expandIcon:eg,onItemClick:tw,onOpenChange:tS},m.createElement(y.PathUserContext.Provider,{value:ts},tA),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(y.PathRegisterContext.Provider,{value:tl},eO)))));});},dce15d9b:function(e,t,n){"use strict";n("9a31e2b1")({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:n("3afe4ef5")});},dd3e72bb:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("fdd619de"),o=n("d4e0925f");r({target:"Math",stat:!0,forced:!0},{fscale:function(e,t,n,r,i){return o(a(e,t,n,r,i));}});},ddea2ff8:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("ac4d6c88"));function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.default)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]};},e:function(e){throw e;},f:o};}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var i,u=!0,c=!1;return{s:function(){n=n.call(e);},n:function(){var e=n.next();return u=e.done,e;},e:function(e){c=!0,i=e;},f:function(){try{u||null==n.return||n.return();}finally{if(c)throw i;}}};}},de12d3cc:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("852bbaa9")._(n("9d065c04"));function a(e,t,n){var a=r.useRef({});return(!("value"in a.current)||n(a.current.condition,t))&&(a.current.value=e(),a.current.condition=t),a.current.value;}},de34354d:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("0db032d7"),o=n("ff5769a6"),i=n("7dfaf7bb"),u=n("6a1bb8c1"),c=n("ab881f6c"),l=n("1a0d87be"),s=Array,f=a(c("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(e){return void 0!==e&&o(e),f(u(s,i(this)),e);}}),l("toSorted");},de61d7df:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e;}n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});},ded84c47:function(e,t,n){"use strict";var r=n("a04fdb0c"),a=n("8fb0fcd1"),o=n("42e9210f"),i=n("4fccae39"),u=n("84e069cc"),c=i("iterator"),l=Object;e.exports=function(e){if(o(e))return!1;var t=l(e);return void 0!==t[c]||"@@iterator"in t||a(u,r(t));};},ded8d26f:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return A;},generateTrigger:function(){return P;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("1de795bc")),i=r._(n("361d5d06")),u=r._(n("c60c8136")),c=r._(n("259bf7bd")),l=r._(n("6d9bd3c4")),s=r._(n("d6cbc7a1")),f=n("5f7c1969"),d=n("27ca0e6b"),p=r._(n("e0ebc827")),h=r._(n("c6802e78")),m=r._(n("3480b7d9")),v=r._(n("373639b6")),b=a._(n("9d065c04")),g=r._(n("d208682c")),y=r._(n("8e71849f")),_=r._(n("2aae99ef")),E=r._(n("ac59c0e6")),w=r._(n("3091c066")),S=r._(n("ac135916")),x=r._(n("2c2d2cb7")),k=n("47ff1fcd"),T=["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","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default;return b.forwardRef(function(t,n){var r,a,c=t.prefixCls,P=void 0===c?"rc-trigger-popup":c,A=t.children,O=t.action,C=void 0===O?"hover":O,M=t.showAction,I=t.hideAction,R=t.popupVisible,L=t.defaultPopupVisible,N=t.onPopupVisibleChange,D=t.afterPopupVisibleChange,j=t.mouseEnterDelay,F=t.mouseLeaveDelay,B=void 0===F?.1:F,U=t.focusDelay,H=t.blurDelay,z=t.mask,G=t.maskClosable,$=void 0===G||G,V=t.getPopupContainer,W=t.forceRender,K=t.autoDestroy,Y=t.destroyPopupOnHide,q=t.popup,X=t.popupClassName,Q=t.popupStyle,Z=t.popupPlacement,J=t.builtinPlacements,ee=void 0===J?{}:J,et=t.popupAlign,en=t.zIndex,er=t.stretch,ea=t.getPopupClassNameFromAlign,eo=t.fresh,ei=t.alignPoint,eu=t.onPopupClick,ec=t.onPopupAlign,el=t.arrow,es=t.popupMotion,ef=t.maskMotion,ed=t.popupTransitionName,ep=t.popupAnimation,eh=t.maskTransitionName,em=t.maskAnimation,ev=t.className,eb=t.getTriggerDOMNode,eg=(0,u.default)(t,T),ey=K||Y||!1,e_=b.useState(!1),eE=(0,i.default)(e_,2),ew=eE[0],eS=eE[1];(0,m.default)(function(){eS((0,v.default)());},[]);var ex=b.useRef({}),ek=b.useContext(_.default),eT=b.useMemo(function(){return{registerSubPopup:function(e,t){ex.current[e]=t,null==ek||ek.registerSubPopup(e,t);}};},[ek]),eP=(0,h.default)(),eA=b.useState(null),eO=(0,i.default)(eA,2),eC=eO[0],eM=eO[1],eI=b.useRef(null),eR=(0,p.default)(function(e){eI.current=e,(0,f.isDOM)(e)&&eC!==e&&eM(e),null==ek||ek.registerSubPopup(eP,e);}),eL=b.useState(null),eN=(0,i.default)(eL,2),eD=eN[0],ej=eN[1],eF=b.useRef(null),eB=(0,p.default)(function(e){(0,f.isDOM)(e)&&eD!==e&&(ej(e),eF.current=e);}),eU=b.Children.only(A),eH=(null==eU?void 0:eU.props)||{},ez={},eG=(0,p.default)(function(e){var t,n,r=eD;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.getShadowRoot)(r))||void 0===t?void 0:t.host)===e||e===r||(null==eC?void 0:eC.contains(e))||(null===(n=(0,d.getShadowRoot)(eC))||void 0===n?void 0:n.host)===e||e===eC||Object.values(ex.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t;});}),e$=(0,k.getMotion)(P,es,ep,ed),eV=(0,k.getMotion)(P,ef,em,eh),eW=b.useState(L||!1),eK=(0,i.default)(eW,2),eY=eK[0],eq=eK[1],eX=null!=R?R:eY,eQ=(0,p.default)(function(e){void 0===R&&eq(e);});(0,m.default)(function(){eq(R||!1);},[R]);var eZ=b.useRef(eX);eZ.current=eX;var eJ=b.useRef([]);eJ.current=[];var e0=(0,p.default)(function(e){var t;eQ(e),(null!==(t=eJ.current[eJ.current.length-1])&&void 0!==t?t:eX)!==e&&(eJ.current.push(e),null==N||N(e));}),e1=b.useRef(),e2=function(){clearTimeout(e1.current);},e3=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e2(),0===t?e0(e):e1.current=setTimeout(function(){e0(e);},1e3*t);};b.useEffect(function(){return e2;},[]);var e6=b.useState(!1),e7=(0,i.default)(e6,2),e9=e7[0],e8=e7[1];(0,m.default)(function(e){(!e||eX)&&e8(!0);},[eX]);var e4=b.useState(null),e5=(0,i.default)(e4,2),te=e5[0],tt=e5[1],tn=b.useState(null),tr=(0,i.default)(tn,2),ta=tr[0],to=tr[1],ti=function(e){to([e.clientX,e.clientY]);},tu=(0,w.default)(eX,eC,ei&&null!==ta?ta:eD,Z,ee,et,ec),tc=(0,i.default)(tu,11),tl=tc[0],ts=tc[1],tf=tc[2],td=tc[3],tp=tc[4],th=tc[5],tm=tc[6],tv=tc[7],tb=tc[8],tg=tc[9],ty=tc[10],t_=(0,E.default)(ew,C,M,I),tE=(0,i.default)(t_,2),tw=tE[0],tS=tE[1],tx=tw.has("click"),tk=tS.has("click")||tS.has("contextMenu"),tT=(0,p.default)(function(){e9||ty();}),tP=function(){eZ.current&&ei&&tk&&e3(!1);};(0,S.default)(eX,eD,eC,tT,tP),(0,m.default)(function(){tT();},[ta,Z]),(0,m.default)(function(){eX&&!(null!=ee&&ee[Z])&&tT();},[JSON.stringify(et)]);var tA=b.useMemo(function(){var e=(0,k.getAlignPopupClassName)(ee,P,tg,ei);return(0,l.default)(e,null==ea?void 0:ea(tg));},[tg,ea,ee,P,ei]);b.useImperativeHandle(n,function(){return{nativeElement:eF.current,popupElement:eI.current,forceAlign:tT};});var tO=b.useState(0),tC=(0,i.default)(tO,2),tM=tC[0],tI=tC[1],tR=b.useState(0),tL=(0,i.default)(tR,2),tN=tL[0],tD=tL[1],tj=function(){if(er&&eD){var e=eD.getBoundingClientRect();tI(e.width),tD(e.height);}},tF=function(){tj(),tT();},tB=function(e){e8(!1),ty(),null==D||D(e);},tU=function(){return new Promise(function(e){tj(),tt(function(){return e;});});};function tH(e,t,n,r){ez[e]=function(a){var o;null==r||r(a),e3(t,n);for(var i=arguments.length,u=Array(i>1?i-1:0),c=1;c1?n-1:0),a=1;a1?n-1:0),a=1;a2&&f(n,arguments[2]);var u=[];return p(e,b,{that:u}),l(n,"errors",u),n;};i?i(g,v):u(g,v,{name:!0});var y=g.prototype=c(v.prototype,{constructor:s(1,g),message:s(1,""),name:s(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:g});},e1e30bb5:function(e,t,n){"use strict";var r=n("67b9d692"),a=n("60eb28d7"),o=n("eedb51ae");e.exports=!r&&!a(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7;}}).a;});},e2098059:function(e,t,n){"use strict";n("9a31e2b1")({target:"Math",stat:!0,forced:!0},{signbit:function(e){var t=+e;return t==t&&0===t?1/t==-1/0:t<0;}});},e242f3cb:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}});var r=n("777fffbe")._(n("e6a6ce2b"));function a(e,t){if(e){if("string"==typeof e)return(0,r.default)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.default)(e,t):void 0;}}},e280dee4:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("f0a391cd"),i=n("b1a896c2"),u="WebAssembly",c=a[u],l=7!==Error("e",{cause:7}).cause,s=function(e,t){var n={};n[e]=i(e,t,l),r({global:!0,constructor:!0,arity:1,forced:l},n);},f=function(e,t){if(c&&c[e]){var n={};n[e]=i(u+"."+e,t,l),r({target:u,stat:!0,constructor:!0,arity:1,forced:l},n);}};s("Error",function(e){return function(t){return o(e,this,arguments);};}),s("EvalError",function(e){return function(t){return o(e,this,arguments);};}),s("RangeError",function(e){return function(t){return o(e,this,arguments);};}),s("ReferenceError",function(e){return function(t){return o(e,this,arguments);};}),s("SyntaxError",function(e){return function(t){return o(e,this,arguments);};}),s("TypeError",function(e){return function(t){return o(e,this,arguments);};}),s("URIError",function(e){return function(t){return o(e,this,arguments);};}),f("CompileError",function(e){return function(t){return o(e,this,arguments);};}),f("LinkError",function(e){return function(t){return o(e,this,arguments);};}),f("RuntimeError",function(e){return function(t){return o(e,this,arguments);};});},e32a8b26:function(e,t,n){"use strict";var r=n("7087e9e6"),a=String,o=TypeError;e.exports=function(e){if(void 0===e||r(e))return e;throw new o(a(e)+" is not an object or undefined");};},e33cd3b9:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("762839db"),o=n("71cfa629").remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=a(this),n=!0,r=0,i=arguments.length;r1?arguments[1]:void 0,p=n>2?arguments[2]:void 0;return new(d("Promise"))(function(n){var d=o(e);void 0!==a&&(a=r(a,p));var h=f(d,b),g=h?void 0:s(d)||_,y=i(t)?new t:[];n(v(h?u(d,h):new m(l(c(d,g))),a,y));});};},e4cce9a6:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return h;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("e853406f")),i=a._(n("9d065c04"));function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0?a(r(e),9007199254740991):0;};},e6a6ce2b:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=t||n<0||d&&r>=i;}function w(){var e=g();if(_(e))return S(e);c=setTimeout(w,y(e));}function S(e){return(c=void 0,p&&r)?h(e):(r=o=void 0,u);}function k(){void 0!==c&&clearTimeout(c),s=0,r=l=o=c=void 0;}function T(){return void 0===c?u:S(g());}function P(){var e=g(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===c)return m(l);if(d)return c=setTimeout(w,t),h(l);}return void 0===c&&(c=setTimeout(w,t)),u;}return t=x(t)||0,E(n)&&(f=!!n.leading,i=(d="maxWait"in n)?v(x(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),P.cancel=k,P.flush=T,P;}function _(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw TypeError(a);return E(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),y(e,t,{leading:r,maxWait:t,trailing:o});}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t);}function w(e){return!!e&&"object"==typeof e;}function S(e){return"symbol"==typeof e||w(e)&&m.call(e)==i;}function x(e){if("number"==typeof e)return e;if(S(e))return o;if(E(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=E(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=l.test(e);return n||s.test(e)?f(e.slice(2),n?2:8):c.test(e)?o:+e;}e.exports=_;},e72efcaf:function(e,t,n){"use strict";var r=n("6050ac71");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e);};},e7c4c508:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return c;}});var r=n("777fffbe"),a=r._(n("de61d7df")),o=r._(n("39670a60")),i=r._(n("e242f3cb")),u=r._(n("9a0fcc56"));function c(e){return(0,a.default)(e)||(0,o.default)(e)||(0,i.default)(e)||(0,u.default)();}},e7f68c76:function(e,t,n){"use strict";var r=n("377218ed"),a=n("93611cd2");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n);}catch(t){a(e,"throw",t);}};},e8043c88:function(e,t,n){},e81c7d0b:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("ff5769a6"),o=n("377218ed"),i=n("7087e9e6"),u=n("a846319f"),c=n("08279926"),l=n("f081b157"),s=n("9bcc3d50"),f=function(e){var t=0===e,n=1===e,f=2===e,d=3===e;return function(e,p,h){o(e);var m=void 0!==p;(m||!t)&&a(p);var v=l(e),b=c("Promise"),g=v.iterator,y=v.next,_=0;return new b(function(e,a){var c=function(e){s(g,a,e,a);},l=function(){try{if(m)try{u(_);}catch(e){c(e);}b.resolve(o(r(y,g))).then(function(r){try{if(o(r).done)t?(h.length=_,e(h)):e(!d&&(f||void 0));else{var u=r.value;try{if(m){var v=p(u,_),y=function(r){if(n)l();else if(f)r?l():s(g,e,!1,a);else if(t)try{h[_++]=r,l();}catch(e){c(e);}else r?s(g,e,d||u,a):l();};i(v)?b.resolve(v).then(y,c):y(v);}else h[_++]=u,l();}catch(e){c(e);}}}catch(e){a(e);}},a);}catch(e){a(e);}};l();});};};e.exports={toArray:f(0),forEach:f(1),every:f(2),some:f(3),find:f(4)};},e853406f:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("1b472ae8"));},e89658ad:function(e,t,n){"use strict";var r=n("0db032d7"),a=WeakMap.prototype;e.exports={WeakMap:WeakMap,set:r(a.set),get:r(a.get),has:r(a.has),remove:r(a.delete)};},e8f4e42d:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("377218ed"),o=n("1f316010"),i=n("f081b157"),u=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(i(a(this)),u,{that:e,IS_RECORD:!0}),e;}});},e91bf72b:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return i;}});var r=n("777fffbe"),a=r._(n("9d065c04")),o=r._(n("9ecfa86d")),i=function(){return a.default.createElement("div",{className:"dumi-default-loading-skeleton"},a.default.createElement(o.default,{className:"first-line",count:1}),a.default.createElement(o.default,{count:2}),a.default.createElement(o.default,{count:1,width:"75%"}));};},e93d5141:function(e,t,n){"use strict";n("9a31e2b1")({target:"JSON",stat:!0,forced:!n("8250f182")},{isRawJSON:n("9e5895af")});},e94b613a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"formatRelativeTime",{enumerable:!0,get:function(){return c;}});var r=n("188ed28f"),a=n("5207c85c"),o=n("8bda5910"),i=["numeric","style"];function u(e,t,n){var a=e.locale,o=e.formats,u=e.onError;void 0===n&&(n={});var c=n.format,l=!!c&&(0,r.getNamedFormat)(o,"relative",c,u)||{};return t(a,(0,r.filterProps)(n,i,l));}function c(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new a.FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',a.ErrorCode.MISSING_INTL_API));try{return u(e,t,i).format(n,r);}catch(t){e.onError(new o.IntlFormatError("Error formatting relative time.",e.locale,t));}return String(n);}},e95b42dd:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r;}});var r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0;}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),o=a.width,i=a.height;if(o||i)return!0;}}return!1;};},e976fcbe:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("e91bf72b"));},eb54e8cf:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("176835b5");r({target:"Set",proto:!0,real:!0,forced:!n("9fdc28a6")("union")},{union:a});},eb554e1f:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("50a844aa");r({target:"AsyncIterator",proto:!0,real:!0,forced:n("256d831f")},{map:a});},eb6e7381:function(e,t,n){"use strict";function r(e,t){var n=e.length;for(e.push(t);0>>1,a=e[r];if(0>>1;ri(c,n))li(s,c)?(e[r]=s,e[l]=n,r=l):(e[r]=c,e[u]=n,r=u);else if(li(s,n))e[r]=s,e[l]=n,r=l;else break;}}return t;}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id;}if("object"==typeof performance&&"function"==typeof performance.now){var u,c=performance;t.unstable_now=function(){return c.now();};}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s;};}var f=[],d=[],p=1,h=null,m=3,v=!1,b=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,_="function"==typeof clearTimeout?clearTimeout:null,E="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=a(d);null!==t;){if(null===t.callback)o(d);else if(t.startTime<=e)o(d),t.sortIndex=t.expirationTime,r(f,t);else break;t=a(d);}}function S(e){if(g=!1,w(e),!b){if(null!==a(f))b=!0,L(x);else{var t=a(d);null!==t&&N(S,t.startTime-e);}}}function x(e,n){b=!1,g&&(g=!1,_(P),P=-1),v=!0;var r=m;try{for(w(n),h=a(f);null!==h&&(!(h.expirationTime>n)||e&&!C());){var i=h.callback;if("function"==typeof i){h.callback=null,m=h.priorityLevel;var u=i(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?h.callback=u:h===a(f)&&o(f),w(n);}else o(f);h=a(f);}if(null!==h)var c=!0;else{var l=a(d);null!==l&&N(S,l.startTime-n),c=!1;}return c;}finally{h=null,m=r,v=!1;}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,T=null,P=-1,A=5,O=-1;function C(){return!(t.unstable_now()-Oe||125i?(e.sortIndex=o,r(d,e),null===a(f)&&e===a(d)&&(g?(_(P),P=-1):g=!0,N(S,o-i))):(e.sortIndex=u,r(f,e),b||v||(b=!0,L(x))),e;},t.unstable_shouldYield=C,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments);}finally{m=n;}};};},ebc2442a:function(e,t,n){"use strict";var r=n("0c60d30d"),a=n("9e8ac8c9");e.exports=function(e){var t=r(e,"string");return a(t)?t:t+"";};},ec15169d:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("a754aa49"),o=n("1a0d87be"),i=n("d04004cf");r({target:"Array",proto:!0,name:"groupToMap",forced:n("256d831f")||!a("groupByToMap")},{groupByToMap:i}),o("groupByToMap");},ec3a3108:function(e,t,n){"use strict";n("9a31e2b1")({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:n("bc10027c")});},ec866b79:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return r.default;}});var r=n("777fffbe")._(n("7bd4d5b8"));},ed105511:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("aca0c345");let a={ids:["configprovider-demo-plot-theme","configprovider-demo-map-config","configprovider-demo-components-config","configprovider-demo-graph-components-config"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("c9bd98ac")]).then(n.dr(r,n.bind(n,"09c91aaf")))};},ed85fcab:function(e,t,n){"use strict";var r=n("ff5769a6"),a=TypeError,o=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw new a("Bad Promise constructor");t=e,n=r;}),this.resolve=r(t),this.reject=r(n);};e.exports.f=function(e){return new o(e);};},ee176680:function(e,t,n){"use strict";var r=n("67b9d692"),a=n("8fb0fcd1"),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,u=a(o,"name"),c=u&&"something"===(function(){}).name,l=u&&(!r||r&&i(o,"name").configurable);e.exports={EXISTS:u,PROPER:c,CONFIGURABLE:l};},eedb51ae:function(e,t,n){"use strict";var r=n("e6ade175"),a=n("7087e9e6"),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{};};},ef9dcad4:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return v;},defaultProps:function(){return u;}});var r=n("777fffbe"),a=r._(n("37fa6dc3")),o=r._(n("7d4e6fa5")),i=n("9d065c04"),u={Prism:a.default,theme:o.default};function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;}function l(){return(l=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t);},p=function(e){for(var t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,u=[],c=[u];i>-1;){for(;(o=r[i]++)0?p:["plain"],l=h):(p=d(p,h.type),h.alias&&(p=d(p,h.alias)),l=h.content),"string"!=typeof l){i++,t.push(p),n.push(l),r.push(0),a.push(l.length);continue;}var m=l.split(s),v=m.length;u.push({types:p,content:m[0]});for(var b=1;b{e.status="fulfilled",e.value=t;},t=>{e.status="rejected",e.reason=t;}),e;}let o=Object.keys(r.filesMeta).reduce((e,t)=>{if(r.filesMeta[t].demoIndex){let{ids:n,getter:a}=r.filesMeta[t].demoIndex;n.forEach(t=>{e[t]=a;});}return e;},{}),i=new Map;function u(e){e&&Object.keys(e).forEach(t=>{var n;let r=null===(n=t.match(/^(.+)\.(js|jsx|ts|tsx|json)$/))||void 0===n?void 0:n[1];r&&!e[r]&&(e[r]=e[t]);});}function c(e){if(!i.get(e)){var t;i.set(e,null===(t=o[e])||void 0===t?void 0:t.call(o).then(({demos:t})=>(u(t[e].context),t[e])));}return a(i.get(e));}async function l(){return Promise.all(Object.entries(r.filesMeta).filter(([e,t])=>t.demoIndex).map(async([e,t])=>({id:e,demos:(await t.demoIndex.getter()).demos}))).then(e=>e.reduce((e,{id:t,demos:n})=>(Object.values(n).forEach(e=>{e.routeId=t,u(e.context);}),Object.assign(e,n),e),{}));}function s(e,t){return{...r.tabsMeta[e],meta:t??{frontmatter:{title:r.tabsMeta[e].title},toc:[],texts:[]}};}function f(e,t){if(r.filesMeta[e]){let{frontmatter:n,toc:a,textGetter:o,tabs:i}=r.filesMeta[e],u={frontmatter:n,toc:a,texts:[]};return(null==t?void 0:t.syncOnly)?(i&&(u.tabs=i.map(e=>s(e,f(e,t)))),u):new Promise(async e=>{o&&({texts:u.texts}=await o()),i&&(u.tabs=await Promise.all(i.map(async e=>s(e,await f(e,t))))),e(u);});}}async function d(){return await Promise.all(Object.keys(r.filesMeta).map(async e=>({id:e,meta:await f(e)}))).then(e=>e.reduce((e,{id:t,meta:n})=>(e[t]=n,e),{}));}},f1fcb4ef:function(e,t,n){"use strict";var r=n("36d2efb6"),a=n("0db032d7"),o=n("94e1b84e"),i=n("377218ed"),u=n("ff5769a6"),c=n("42e9210f"),l=n("c9572803"),s=n("4fccae39"),f=s("asyncDispose"),d=s("dispose"),p=a([].push),h=function(e,t){if("async-dispose"===t){var n=l(e,f);return void 0!==n?n:(n=l(e,d),function(){r(n,this);});}return l(e,d);},m=function(e,t,n){return arguments.length<3&&!c(e)&&(n=u(h(i(e),t))),void 0===n?function(){}:o(n,e);};e.exports=function(e,t,n,r){var a;if(arguments.length<4){if(c(t)&&"sync-dispose"===n)return;a=m(t,n);}else a=m(void 0,n,r);p(e.stack,a);};},f25be289:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return I;}});let r=n("7b266b54");var a=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0);}),n;}return function(){function t(){this.__entries__=[];}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length;},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1];},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n]);},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1);},t.prototype.has=function(t){return!!~e(this.__entries__,t);},t.prototype.clear=function(){this.__entries__.splice(0);},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0;},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0);},e.prototype.disconnect_=function(){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);},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;f.some(function(e){return!!~n.indexOf(e);})&&this.refresh();},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_;},e.instance_=null,e;}(),h=function(e,t){for(var n=0,r=Object.keys(t);n0;},e;}(),C="undefined"!=typeof WeakMap?new WeakMap:new a,M=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new O(t,p.getInstance(),this);C.set(this,n);}return e;}();["observe","unobserve","disconnect"].forEach(function(e){M.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments);};});var I=function(){return void 0!==i.ResizeObserver?i.ResizeObserver:M;}();},f2ad2335:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{CSSMotionList:function(){return o.default;},Provider:function(){return i.default;},default:function(){return u;}});var r=n("777fffbe"),a=r._(n("91ba19d3")),o=r._(n("12a77729")),i=r._(n("0b819d0d")),u=a.default;},f3339bcd:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("e6ade175"),o=n("d95cb236").set,i=n("52f2a161"),u=a.setImmediate?i(o,!1):o;r({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==u},{setImmediate:u});},f3881a56:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{IdContext:function(){return a;},getMenuId:function(){return o;},useMenuId:function(){return i;}});var r=n("852bbaa9")._(n("9d065c04")),a=r.createContext(null);function o(e,t){return void 0===e?null:"".concat(e,"-").concat(t);}function i(e){return o(r.useContext(a),e);}},f398949a:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"formatMessage",{enumerable:!0,get:function(){return f;}});var r=n("b594a703"),a=n("ffb8cfd8"),o=n("5207c85c"),i=n("8bda5910"),u=n("188ed28f");function c(e,t){return Object.keys(e).reduce(function(n,a){return n[a]=(0,r.__assign)({timeZone:t},e[a]),n;},{});}function l(e,t){return Object.keys((0,r.__assign)((0,r.__assign)({},e),t)).reduce(function(n,a){return n[a]=(0,r.__assign)((0,r.__assign)({},e[a]||{}),t[a]||{}),n;},{});}function s(e,t){if(!t)return e;var n=o.IntlMessageFormat.formats;return(0,r.__assign)((0,r.__assign)((0,r.__assign)({},n),e),{date:l(c(n.date,t),c(e.date||{},t)),time:l(c(n.time,t),c(e.time||{},t))});}var f=function(e,t,n,o,c){var l=e.locale,f=e.formats,d=e.messages,p=e.defaultLocale,h=e.defaultFormats,m=e.fallbackOnEmptyString,v=e.onError,b=e.timeZone,g=e.defaultRichTextElements;void 0===n&&(n={id:""});var y=n.id,_=n.defaultMessage;(0,u.invariant)(!!y,"[@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.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var E=String(y),w=d&&Object.prototype.hasOwnProperty.call(d,E)&&d[E];if(Array.isArray(w)&&1===w.length&&w[0].type===a.TYPE.literal)return w[0].value;if(!o&&w&&"string"==typeof w&&!g)return w.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=(0,r.__assign)((0,r.__assign)({},g),o||{}),f=s(f,b),h=s(h,b),!w){if(!1===m&&""===w)return w;if((!_||l&&l.toLowerCase()!==p.toLowerCase())&&v(new i.MissingTranslationError(n,l)),_)try{var S=t.getMessageFormat(_,p,h,c);return S.format(o);}catch(e){return v(new i.MessageFormatError('Error formatting default message for: "'.concat(E,'", rendering default message verbatim'),l,n,e)),"string"==typeof _?_:E;}return E;}try{var S=t.getMessageFormat(w,l,f,(0,r.__assign)({formatters:t},c||{}));return S.format(o);}catch(e){v(new i.MessageFormatError('Error formatting message: "'.concat(E,'", using ').concat(_?"default message":"id"," as fallback."),l,n,e));}if(_)try{var S=t.getMessageFormat(_,p,h,c);return S.format(o);}catch(e){v(new i.MessageFormatError('Error formatting the default message for: "'.concat(E,'", rendering message verbatim'),l,n,e));}return"string"==typeof w?w:"string"==typeof _?_:E;};},f3ce4b99:function(e,t,n){"use strict";var r=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demoIndex",{enumerable:!0,get:function(){return a;}}),n("d1d20e17");let a={ids:["indentedtree-demo-common","indentedtree-demo-markdown"],getter:()=>Promise.all([n.ensure("vendors_3"),n.ensure("common"),n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("vendors_2"),n.ensure("bf4531e7")]).then(n.dr(r,n.bind(n,"b1d74bd7")))};},f402d18c:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("94e1b84e"),o=n("762839db"),i=n("71cfa629"),u=n("6582164c"),c=i.Map,l=i.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=a(e,arguments.length>1?arguments[1]:void 0),r=new c;return u(t,function(e,a){n(e,a,t)&&l(r,a,e);}),r;}});},f4b14016:function(e,t,n){"use strict";var r=n("9a31e2b1"),a=n("36d2efb6"),o=n("377218ed"),i=n("f081b157"),u=n("b9ba4ce7"),c=n("4f336d3e"),l=n("32db7d60"),s=n("0d4455ba"),f=n("256d831f"),d=l(function(e){var t=this;return new e(function(n,r){var i=function(e){t.done=!0,r(e);},u=function(){try{e.resolve(o(a(t.next,t.iterator))).then(function(e){try{o(e).done?(t.done=!0,n(s(void 0,!0))):t.remaining?(t.remaining--,u()):n(s(e.value,!1));}catch(e){i(e);}},i);}catch(e){i(e);}};u();});});r({target:"AsyncIterator",proto:!0,real:!0,forced:f},{drop:function(e){o(this);var t=c(u(+e));return new d(i(this),{remaining:t});}});},f507ce42:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{frontmatter:function(){return a;},toc:function(){return r;}}),n("d1d20e17");let r=[{id:"indentedtree-\u7F29\u8FDB\u6811",depth:1,title:"IndentedTree \u7F29\u8FDB\u6811"},{id:"\u4EE3\u7801\u6F14\u793A",depth:2,title:"\u4EE3\u7801\u6F14\u793A"},{id:"indentedtree-demo-common",depth:3,title:"\u5355\u72EC\u4F7F\u7528"},{id:"indentedtree-demo-markdown",depth:3,title:"\u4F7F\u7528 Markdown \u534F\u8BAE"},{id:"spec",depth:2,title:"Spec"},{id:"api",depth:2,title:"API"},{id:"indentedtreeprops",depth:3,title:"IndentedTreeProps"},{id:"indentedtreedata",depth:3,title:"IndentedTreeData"}],a={title:"IndentedTree \u7F29\u8FDB\u6811",toc:"content",filename:"src/IndentedTree/index.md",atomId:"IndentedTree",lastUpdated:1734934621e3,order:5,group:{order:3,title:"\u5173\u7CFB\u56FE"},demo:{cols:2},description:"\u7F29\u8FDB\u6811\uFF0C\u7528\u4E8E\u76F4\u89C2\u5730\u5C55\u793A\u5C42\u7EA7\u7ED3\u6784\u548C\u7236\u5B50\u5173\u7CFB\u3002"};},f52ac819:function(e,t,n){!function(n,r){"object"==typeof t?e.exports=r():n.NProgress=r();}(this,function(){var e={};e.version="0.2.0";var t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function n(e,t,n){return en?n:e;}function r(e){return(-1+e)*100;}function a(e,n,a){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+a,o;}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this;},e.status=null,e.set=function(r){var u=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var c=e.render(!u),l=c.querySelector(t.barSelector),s=t.speed,f=t.easing;return c.offsetWidth,o(function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),i(l,a(r,s,f)),1===r?(i(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout(function(){i(c,{transition:"all "+s+"ms linear",opacity:0}),setTimeout(function(){e.remove(),n();},s);},s)):setTimeout(n,s);}),this;},e.isStarted=function(){return"number"==typeof e.status;},e.start=function(){e.status||e.set(0);var n=function(){setTimeout(function(){e.status&&(e.trickle(),n());},t.trickleSpeed);};return t.trickle&&n(),this;},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this;},e.inc=function(t){var r=e.status;return r?("number"!=typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start();},e.trickle=function(){return e.inc(Math.random()*t.trickleRate);},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()&&(0===n&&e.start(),t++,n++,r.always(function(){0==--n?(t=0,e.done()):e.set((t-n)/t);})),this;};}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var a=document.createElement("div");a.id="nprogress",a.innerHTML=t.template;var o,u=a.querySelector(t.barSelector),l=n?"-100":r(e.status||0),s=document.querySelector(t.parent);return i(u,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),!t.showSpinner&&(o=a.querySelector(t.spinnerSelector))&&f(o),s!=document.body&&c(s,"nprogress-custom-parent"),s.appendChild(a),a;},e.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e);},e.isRendered=function(){return!!document.getElementById("nprogress");},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin";};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t);}return function(n){e.push(n),1==e.length&&t();};}(),i=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase();});}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t;}function a(e){return t[e=n(e)]||(t[e]=r(e));}function o(e,t,n){t=a(t),e.style[t]=n;}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2]);};}();function u(e,t){return("string"==typeof e?e:s(e)).indexOf(" "+t+" ")>=0;}function c(e,t){var n=s(e),r=n+t;u(n,t)||(e.className=r.substring(1));}function l(e,t){var n,r=s(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1));}function s(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ");}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e);}return e;});},f58a3d2e:function(e,t,n){"use strict";var r=n("08279926"),a=n("0db032d7"),o=n("2ab59e1b"),i=n("cfc22834"),u=n("377218ed"),c=a([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(u(e)),n=i.f;return n?c(t,n(e)):t;};},f66cffcf:function(e,t,n){"use strict";var r,a,o,i,u,c,l,s,f,d,p,h,m,v,b,g,y=n("9d065c04"),_=n("d23654cb");function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt;}return!1;}function L(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i;}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){N[e]=new L(e,0,!1,e,null,!1,!1);}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];N[t]=new L(t,1,!1,e[1],null,!1,!1);}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){N[e]=new L(e,2,!1,e.toLowerCase(),null,!1,!1);}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){N[e]=new L(e,2,!1,e,null,!1,!1);}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){N[e]=new L(e,3,!1,e.toLowerCase(),null,!1,!1);}),["checked","multiple","muted","selected"].forEach(function(e){N[e]=new L(e,3,!0,e,null,!1,!1);}),["capture","download"].forEach(function(e){N[e]=new L(e,4,!1,e,null,!1,!1);}),["cols","rows","size","span"].forEach(function(e){N[e]=new L(e,6,!1,e,null,!1,!1);}),["rowSpan","start"].forEach(function(e){N[e]=new L(e,5,!1,e.toLowerCase(),null,!1,!1);});var D=/[\-:]([a-z])/g;function j(e){return e[1].toUpperCase();}function F(e,t,n,r){var a=N.hasOwnProperty(t)?N[t]:null;(null!==a?0!==a.type:r||!(2--u||a[i]!==o[u]){var c="\n"+a[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c;}while(1<=i&&0<=u)break;}}}finally{er=!1,Error.prepareStackTrace=n;}return(e=e?e.displayName||e.name:"")?en(e):"";}function eo(e){switch(e.tag){case 5:return en(e.type);case 16:return en("Lazy");case 13:return en("Suspense");case 19:return en("SuspenseList");case 0:case 2:case 15:return e=ea(e.type,!1);case 11:return e=ea(e.type.render,!1);case 1:return e=ea(e.type,!0);default:return"";}}function ei(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case z:return"Fragment";case H:return"Portal";case $:return"Profiler";case G:return"StrictMode";case Y:return"Suspense";case q:return"SuspenseList";}if("object"==typeof e)switch(e.$$typeof){case W:return(e.displayName||"Context")+".Consumer";case V:return(e._context.displayName||"Context")+".Provider";case K:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case X:return null!==(t=e.displayName||null)?t:ei(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return ei(e(t));}catch(e){}}return null;}function eu(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ei(t);case 8:return t===G?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;}return null;}function ec(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return"";}}function el(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t);}function es(e){var t=el(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this);},set:function(e){r=""+e,o.call(this,e);}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r;},setValue:function(e){r=""+e;},stopTracking:function(){e._valueTracker=null,delete e[t];}};}}function ef(e){e._valueTracker||(e._valueTracker=es(e));}function ed(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=el(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0);}function ep(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body;}catch(t){return e.body;}}function eh(e,t){var n=t.checked;return et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked});}function em(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ec(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value};}function ev(e,t){null!=(t=t.checked)&&F(e,"checked",t,!1);}function eb(e,t){ev(e,t);var n=ec(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r){e.removeAttribute("value");return;}t.hasOwnProperty("value")?ey(e,t.type,n):t.hasOwnProperty("defaultValue")&&ey(e,t.type,ec(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked);}function eg(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t;}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n);}function ey(e,t,n){("number"!==t||ep(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n));}var e_=Array.isArray;function eE(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=a.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild);}});function eO(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return;}}e.textContent=t;}var eC={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},eM=["Webkit","ms","Moz","O"];function eI(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eC.hasOwnProperty(e)&&eC[e]?(""+t).trim():t+"px";}function eR(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=eI(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a;}}Object.keys(eC).forEach(function(e){eM.forEach(function(t){eC[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eC[e];});});var eL=et({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 eN(e,t){if(t){if(eL[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(E(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(E(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61));}if(null!=t.style&&"object"!=typeof t.style)throw Error(E(62));}}function eD(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0;}}var ej=null;function eF(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e;}var eB=null,eU=null,eH=null;function ez(e){if(e=r3(e)){if("function"!=typeof eB)throw Error(E(280));var t=e.stateNode;t&&(t=r7(t),eB(e.stateNode,e.type,t));}}function eG(e){eU?eH?eH.push(e):eH=[e]:eU=e;}function e$(){if(eU){var e=eU,t=eH;if(eH=eU=null,ez(e),t)for(e=0;e>>=0)?32:31-(tb(e)/tg|0)|0;}var t_=64,tE=4194304;function tw(e){switch(e&-e){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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e;}}function tS(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var u=i&~a;0!==u?r=tw(u):0!=(o&=i)&&(r=tw(o));}else 0!=(i=n&~a)?r=tw(i):0!==o&&(r=tw(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t;}function tO(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tv(t)]=n;}function tC(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=nP),nC=" ",nM=!1;function nI(e,t){switch(e){case"keyup":return -1!==nk.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1;}}function nR(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null;}var nL=!1;function nN(e,t){switch(e){case"compositionend":return nR(t);case"keypress":if(32!==t.which)return null;return nM=!0,nC;case"textInput":return(e=t.data)===nC&&nM?null:e;default:return null;}}function nD(e,t){if(nL)return"compositionend"===e||!nT&&nI(e,t)?(e=t5(),t4=t8=t9=null,nL=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n;}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e;}r=r.parentNode;}r=void 0;}r=n3(r);}}function n7(e,t){return!!e&&!!t&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?n7(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))));}function n9(){for(var e=window,t=ep();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href;}catch(e){n=!1;}if(n)e=t.contentWindow;else break;t=ep(e.document);}return t;}function n8(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable);}function n4(e){var t=n9(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&n7(n.ownerDocument.documentElement,n)){if(null!==r&&n8(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=n6(n,o);var i=n6(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)));}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,re=null,rt=null,rn=null,rr=!1;function ra(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;rr||null==re||re!==ep(r)||(r="selectionStart"in(r=re)&&n8(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},rn&&n2(rn,r)||(rn=r,0<(r=rC(rt,"onSelect")).length&&(t=new no("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=re)));}function ro(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n;}var ri={animationend:ro("Animation","AnimationEnd"),animationiteration:ro("Animation","AnimationIteration"),animationstart:ro("Animation","AnimationStart"),transitionend:ro("Transition","TransitionEnd")},ru={},rc={};function rl(e){if(ru[e])return ru[e];if(!ri[e])return e;var t,n=ri[e];for(t in n)if(n.hasOwnProperty(t)&&t in rc)return ru[e]=n[t];return e;}T&&(rc=document.createElement("div").style,"AnimationEvent"in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),"TransitionEvent"in window||delete ri.transitionend.transition);var rs=rl("animationend"),rf=rl("animationiteration"),rd=rl("animationstart"),rp=rl("transitionend"),rh=new Map,rm="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 rv(e,t){rh.set(e,t),x(t,[e]);}for(var rb=0;rbr8||(e.current=r9[r8],r9[r8]=null,r8--);}function ae(e,t){r9[++r8]=e.current,e.current=t;}var at={},an=r4(at),ar=r4(!1),aa=at;function ao(e,t){var n=e.type.contextTypes;if(!n)return at;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o;}function ai(e){return null!=(e=e.childContextTypes);}function au(){r5(ar),r5(an);}function ac(e,t,n){if(an.current!==at)throw Error(E(168));ae(an,t),ae(ar,n);}function al(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(E(108,eu(e)||"Unknown",a));return et({},n,r);}function as(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||at,aa=an.current,ae(an,e),ae(ar,ar.current),!0;}function af(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=al(e,t,aa),r.__reactInternalMemoizedMergedChildContext=e,r5(ar),r5(an),ae(an,e)):r5(ar),ae(ar,n);}var ad=null,ap=!1,ah=!1;function am(e){null===ad?ad=[e]:ad.push(e);}function av(e){ap=!0,am(e);}function ab(){if(!ah&&null!==ad){ah=!0;var e=0,t=tI;try{var n=ad;for(tI=1;e>=i,a-=i,ak=1<<32-tv(t)+a|n<m?(v=h,h=null):v=h.sibling;var b=d(a,h,u[m],c);if(null===b){null===h&&(h=v);break;}e&&h&&null===b.alternate&&t(a,h),i=o(b,i,m),null===s?l=b:s.sibling=b,s=b,h=v;}if(m===u.length)return n(a,h),aR&&aP(a,m),l;if(null===h){for(;mm?(v=h,h=null):v=h.sibling;var g=d(a,h,b.value,c);if(null===g){null===h&&(h=v);break;}e&&h&&null===g.alternate&&t(a,h),i=o(g,i,m),null===s?l=g:s.sibling=g,s=g,h=v;}if(b.done)return n(a,h),aR&&aP(a,m),l;if(null===h){for(;!b.done;m++,b=u.next())null!==(b=f(a,b.value,c))&&(i=o(b,i,m),null===s?l=b:s.sibling=b,s=b);return aR&&aP(a,m),l;}for(h=r(a,h);!b.done;m++,b=u.next())null!==(b=p(h,a,m,b.value,c))&&(e&&null!==b.alternate&&h.delete(null===b.key?m:b.key),i=o(b,i,m),null===s?l=b:s.sibling=b,s=b);return e&&h.forEach(function(e){return t(a,e);}),aR&&aP(a,m),l;}function v(e,r,o,u){if("object"==typeof o&&null!==o&&o.type===z&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case U:e:{for(var c=o.key,l=r;null!==l;){if(l.key===c){if((c=o.type)===z){if(7===l.tag){n(e,l.sibling),(r=a(l,o.props.children)).return=e,e=r;break e;}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Q&&aK(c)===l.type){n(e,l.sibling),(r=a(l,o.props)).ref=aV(e,l,o),r.return=e,e=r;break e;}n(e,l);break;}t(e,l),l=l.sibling;}o.type===z?((r=cT(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=ck(o.type,o.key,o.props,null,e.mode,u)).ref=aV(e,r,o),u.return=e,e=u);}return i(e);case H:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e;}n(e,r);break;}t(e,r),r=r.sibling;}(r=cO(o,e.mode,u)).return=e,e=r;}return i(e);case Q:return v(e,r,(l=o._init)(o._payload),u);}if(e_(o))return h(e,r,o,u);if(ee(o))return m(e,r,o,u);aW(e,o);}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e):(n(e,r),(r=cA(o,e.mode,u)).return=e),i(e=r)):n(e,r);}return v;}var aq=aY(!0),aX=aY(!1),aQ=r4(null),aZ=null,aJ=null,a0=null;function a1(){a0=aJ=aZ=null;}function a2(e){var t=aQ.current;r5(aQ),e._currentValue=t;}function a3(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return;}}function a6(e,t){aZ=e,a0=aJ=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(iO=!0),e.firstContext=null);}function a7(e){var t=e._currentValue;if(a0!==e){if(e={context:e,memoizedValue:t,next:null},null===aJ){if(null===aZ)throw Error(E(308));aJ=e,aZ.dependencies={lanes:0,firstContext:e};}else aJ=aJ.next=e;}return t;}var a9=null;function a8(e){null===a9?a9=[e]:a9.push(e);}function a4(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,a8(t)):(n.next=a.next,a.next=n),t.interleaved=n,a5(e,r);}function a5(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null;}var oe=!1;function ot(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};}function on(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects});}function or(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null};}function oa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&uT)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,a5(e,n);}return null===(a=r.interleaved)?(t.next=t,a8(r)):(t.next=a.next,a.next=t),r.interleaved=t,a5(e,n);}function oo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tM(e,n);}}function oi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next;}while(null!==n)null===o?a=o=t:o=o.next=t;}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return;}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;}function ou(e,t,n,r){var a=e.updateQueue;oe=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,u=a.shared.pending;if(null!==u){a.shared.pending=null;var c=u,l=c.next;c.next=null,null===i?o=l:i.next=l,i=c;var s=e.alternate;null!==s&&(u=(s=s.updateQueue).lastBaseUpdate)!==i&&(null===u?s.firstBaseUpdate=l:u.next=l,s.lastBaseUpdate=c);}if(null!==o){var f=a.baseState;for(i=0,s=l=c=null,u=o;;){var d=u.lane,p=u.eventTime;if((r&d)===d){null!==s&&(s=s.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var h=e,m=u;switch(d=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,d);break e;}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=m.payload)?h.call(p,f,d):h))break e;f=et({},f,d);break e;case 2:oe=!0;}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[u]:d.push(u));}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===s?(l=s=p,c=f):s=s.next=p,i|=d;if(null===(u=u.next)){if(null===(u=a.shared.pending))break;u=(d=u).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null;}}if(null===s&&(c=f),a.baseState=c,a.firstBaseUpdate=l,a.lastBaseUpdate=s,null!==(t=a.shared.interleaved)){a=t;do i|=a.lane,a=a.next;while(a!==t)}else null===o&&(a.shared.lanes=0);uL|=i,e.lanes=i,e.memoizedState=f;}}function oc(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tn?n:4,e(!0);var r=oS.transition;oS.transition={};try{e(!1),t();}finally{tI=n,oS.transition=r;}}function ie(){return oj().memoizedState;}function it(e,t,n){var r=uJ(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ia(e)?io(t,n):null!==(n=a4(e,t,n,r))&&(u0(n,e,r,uZ()),ii(n,t,r));}function ir(e,t,n){var r=uJ(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ia(e))io(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,u=o(i,n);if(a.hasEagerState=!0,a.eagerState=u,n1(u,i)){var c=t.interleaved;null===c?(a.next=a,a8(t)):(a.next=c.next,c.next=a),t.interleaved=a;return;}}catch(e){}finally{}null!==(n=a4(e,t,a,r))&&(u0(n,e,r,a=uZ()),ii(n,t,r));}}function ia(e){var t=e.alternate;return e===ok||null!==t&&t===ok;}function io(e,t){oO=oA=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t;}function ii(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tM(e,n);}}var iu={readContext:a7,useCallback:oI,useContext:oI,useEffect:oI,useImperativeHandle:oI,useInsertionEffect:oI,useLayoutEffect:oI,useMemo:oI,useReducer:oI,useRef:oI,useState:oI,useDebugValue:oI,useDeferredValue:oI,useTransition:oI,useMutableSource:oI,useSyncExternalStore:oI,useId:oI,unstable_isNewReconciler:!1},ic={readContext:a7,useCallback:function(e,t){return oD().memoizedState=[e,void 0===t?null:t],e;},useContext:a7,useEffect:oJ,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oQ(4194308,4,o3.bind(null,t,e),n);},useLayoutEffect:function(e,t){return oQ(4194308,4,e,t);},useInsertionEffect:function(e,t){return oQ(4,2,e,t);},useMemo:function(e,t){var n=oD();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e;},useReducer:function(e,t,n){var r=oD();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=it.bind(null,ok,e),[r.memoizedState,e];},useRef:function(e){return e={current:e},oD().memoizedState=e;},useState:oY,useDebugValue:o7,useDeferredValue:function(e){return oD().memoizedState=e;},useTransition:function(){var e=oY(!1),t=e[0];return e=o5.bind(null,e[1]),oD().memoizedState=e,[t,e];},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ok,a=oD();if(aR){if(void 0===n)throw Error(E(407));n=n();}else{if(n=t(),null===uP)throw Error(E(349));0!=(30&ox)||oG(r,t,n);}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oJ(oV.bind(null,r,o,e),[e]),r.flags|=2048,oq(9,o$.bind(null,r,o,n,t),void 0,null),n;},useId:function(){var e=oD(),t=uP.identifierPrefix;if(aR){var n=aT,r=ak;t=":"+t+"R"+(n=(r&~(1<<32-tv(r)-1)).toString(32)+n),0<(n=oC++)&&(t+="H"+n.toString(32)),t+=":";}else t=":"+t+"r"+(n=oM++).toString(32)+":";return e.memoizedState=t;},unstable_isNewReconciler:!1},il={readContext:a7,useCallback:o9,useContext:a7,useEffect:o0,useImperativeHandle:o6,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o8,useReducer:oB,useRef:oX,useState:function(){return oB(oF);},useDebugValue:o7,useDeferredValue:function(e){return o4(oj(),oT.memoizedState,e);},useTransition:function(){return[oB(oF)[0],oj().memoizedState];},useMutableSource:oH,useSyncExternalStore:oz,useId:ie,unstable_isNewReconciler:!1},is={readContext:a7,useCallback:o9,useContext:a7,useEffect:o0,useImperativeHandle:o6,useInsertionEffect:o1,useLayoutEffect:o2,useMemo:o8,useReducer:oU,useRef:oX,useState:function(){return oU(oF);},useDebugValue:o7,useDeferredValue:function(e){var t=oj();return null===oT?t.memoizedState=e:o4(t,oT.memoizedState,e);},useTransition:function(){return[oU(oF)[0],oj().memoizedState];},useMutableSource:oH,useSyncExternalStore:oz,useId:ie,unstable_isNewReconciler:!1};function id(e,t){if(e&&e.defaultProps)for(var n in t=et({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t;}function ip(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:et({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n);}var ih={isMounted:function(e){return!!(e=e._reactInternals)&&e9(e)===e;},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=uZ(),a=uJ(e),o=or(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(u0(t,e,a,r),oo(t,e,a));},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=uZ(),a=uJ(e),o=or(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=oa(e,o,a))&&(u0(t,e,a,r),oo(t,e,a));},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=uZ(),r=uJ(e),a=or(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=oa(e,a,r))&&(u0(t,e,r,n),oo(t,e,r));}};function im(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!n2(n,r)||!n2(a,o);}function iv(e,t,n){var r=!1,a=at,o=t.contextType;return"object"==typeof o&&null!==o?o=a7(o):(a=ai(t)?aa:an.current,o=(r=null!=(r=t.contextTypes))?ao(e,a):at),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ih,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t;}function ib(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ih.enqueueReplaceState(t,t.state,null);}function ig(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs={},ot(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=a7(o):(o=ai(t)?aa:an.current,a.context=ao(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ip(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&ih.enqueueReplaceState(a,a.state,null),ou(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308);}function iy(e,t){try{var n="",r=t;do n+=eo(r),r=r.return;while(r)var a=n;}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack;}return{value:e,source:t,stack:a,digest:null};}function i_(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null};}function iE(e,t){try{console.error(t.value);}catch(e){setTimeout(function(){throw e;});}}var iw="function"==typeof WeakMap?WeakMap:Map;function iS(e,t,n){(n=or(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){uz||(uz=!0,uG=r),iE(e,t);},n;}function ix(e,t,n){(n=or(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a);},n.callback=function(){iE(e,t);};}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){iE(e,t),"function"!=typeof r&&(null===u$?u$=new Set([this]):u$.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""});}),n;}function ik(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new iw;var a=new Set;r.set(t,a);}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=cm.bind(null,e,t,n),t.then(e,e));}function iT(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return;}while(null!==e)return null;}function iP(e,t,n,r,a){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=or(-1,1)).tag=2,oa(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=a),e;}var iA=B.ReactCurrentOwner,iO=!1;function iC(e,t,n,r){t.child=null===e?aX(t,null,n,r):aq(t,e.child,n,r);}function iM(e,t,n,r,a){n=n.render;var o=t.ref;return(a6(t,a),r=oL(e,t,n,r,o,a),n=oN(),null===e||iO)?(aR&&n&&aO(t),t.flags|=1,iC(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iQ(e,t,a));}function iI(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||cw(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ck(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,iR(e,t,o,r,a));}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:n2)(i,r)&&e.ref===t.ref)return iQ(e,t,a);}return t.flags|=1,(e=cx(o,r)).ref=t.ref,e.return=t,t.child=e;}function iR(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n2(o,r)&&e.ref===t.ref){if(iO=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,iQ(e,t,a);0!=(131072&e.flags)&&(iO=!0);}}return iD(e,t,n,r,a);}function iL(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ae(uM,uC),uC|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ae(uM,uC),uC|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,ae(uM,uC),uC|=r;}}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ae(uM,uC),uC|=r;return iC(e,t,a,n),t.child;}function iN(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152);}function iD(e,t,n,r,a){var o=ai(n)?aa:an.current;return(o=ao(t,o),a6(t,a),n=oL(e,t,n,r,o,a),r=oN(),null===e||iO)?(aR&&r&&aO(t),t.flags|=1,iC(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,iQ(e,t,a));}function ij(e,t,n,r,a){if(ai(n)){var o=!0;as(t);}else o=!1;if(a6(t,a),null===t.stateNode)iX(e,t),iv(t,n,r),ig(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,u=t.memoizedProps;i.props=u;var c=i.context,l=n.contextType;l="object"==typeof l&&null!==l?a7(l):ao(t,l=ai(n)?aa:an.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||c!==l)&&ib(t,i,r,l),oe=!1;var d=t.memoizedState;i.state=d,ou(t,r,i,a),c=t.memoizedState,u!==r||d!==c||ar.current||oe?("function"==typeof s&&(ip(t,n,s,r),c=t.memoizedState),(u=oe||im(t,n,u,r,d,c,l))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=l,r=u):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1);}else{i=t.stateNode,on(e,t),u=t.memoizedProps,l=t.type===t.elementType?u:id(t.type,u),i.props=l,f=t.pendingProps,d=i.context,c="object"==typeof(c=n.contextType)&&null!==c?a7(c):ao(t,c=ai(n)?aa:an.current);var p=n.getDerivedStateFromProps;(s="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==f||d!==c)&&ib(t,i,r,c),oe=!1,d=t.memoizedState,i.state=d,ou(t,r,i,a);var h=t.memoizedState;u!==f||d!==h||ar.current||oe?("function"==typeof p&&(ip(t,n,p,r),h=t.memoizedState),(l=oe||im(t,n,l,r,d,h,c)||!1)?(s||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,c),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,c)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=c,r=l):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1);}return iF(e,t,n,r,o,a);}function iF(e,t,n,r,a,o){iN(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&af(t,n,!1),iQ(e,t,o);r=t.stateNode,iA.current=t;var u=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=aq(t,e.child,null,o),t.child=aq(t,null,u,o)):iC(e,t,u,o),t.memoizedState=r.state,a&&af(t,n,!0),t.child;}function iB(e){var t=e.stateNode;t.pendingContext?ac(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ac(e,t.context,!1),oh(e,t.containerInfo);}function iU(e,t,n,r,a){return az(),aG(a),t.flags|=256,iC(e,t,n,r),t.child;}var iH={dehydrated:null,treeContext:null,retryLane:0};function iz(e){return{baseLanes:e,cachePool:null,transitions:null};}function iG(e,t,n){var r,a=t.pendingProps,o=og.current,i=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(o|=1),ae(og,1&o),null===e)return(aF(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,i?(a=t.mode,i=t.child,u={mode:"hidden",children:u},0==(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=cP(u,a,0,null),e=cT(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iz(n),t.memoizedState=iH,e):i$(t,u));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return iW(e,t,u,a,r,o,n);if(i){i=a.fallback,u=t.mode,r=(o=e.child).sibling;var c={mode:"hidden",children:a.children};return 0==(1&u)&&t.child!==o?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=cx(o,c)).subtreeFlags=14680064&o.subtreeFlags,null!==r?i=cx(r,i):(i=cT(i,u,n,null),i.flags|=2),i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,u=null===(u=e.child.memoizedState)?iz(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=iH,a;}return e=(i=e.child).sibling,a=cx(i,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a;}function i$(e,t){return(t=cP({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t;}function iV(e,t,n,r){return null!==r&&aG(r),aq(t,e.child,null,n),e=i$(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e;}function iW(e,t,n,r,a,o,i){if(n)return 256&t.flags?(t.flags&=-257,iV(e,t,i,r=i_(Error(E(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=cP({mode:"visible",children:r.children},a,0,null),o=cT(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,0!=(1&t.mode)&&aq(t,e.child,null,i),t.child.memoizedState=iz(i),t.memoizedState=iH,o);if(0==(1&t.mode))return iV(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,iV(e,t,i,r=i_(o=Error(E(419)),r,void 0));}if(u=0!=(i&e.childLanes),iO||u){if(null!==(r=uP)){switch(i&-i){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0;}0!==(a=0!=(a&(r.suspendedLanes|i))?0:a)&&a!==o.retryLane&&(o.retryLane=a,a5(e,a),u0(r,e,a,-1));}return ca(),iV(e,t,i,r=i_(Error(E(421))));}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=cb.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,aI=rK(a.nextSibling),aM=t,aR=!0,aL=null,null!==e&&(aw[aS++]=ak,aw[aS++]=aT,aw[aS++]=ax,ak=e.id,aT=e.overflow,ax=t),t=i$(t,r.children),t.flags|=4096,t);}function iK(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),a3(e.return,t,n);}function iY(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a);}function iq(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(iC(e,t,r.children,n),0!=(2&(r=og.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iK(e,n,t);else if(19===e.tag)iK(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue;}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return;}e.sibling.return=e.return,e=e.sibling;}r&=1;}if(ae(og,r),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===oy(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iY(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===oy(e)){t.child=a;break;}e=a.sibling,a.sibling=n,n=a,a=e;}iY(t,!0,n,null,o);break;case"together":iY(t,!1,null,null,void 0);break;default:t.memoizedState=null;}return t.child;}function iX(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2);}function iQ(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),uL|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(E(153));if(null!==t.child){for(n=cx(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=cx(e,e.pendingProps)).return=t;n.sibling=null;}return t.child;}function iZ(e,t,n){switch(t.tag){case 3:iB(t),az();break;case 5:ov(t);break;case 1:ai(t.type)&&as(t);break;case 4:oh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;ae(aQ,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return ae(og,1&og.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iG(e,t,n);return ae(og,1&og.current),null!==(e=iQ(e,t,n))?e.sibling:null;}ae(og,1&og.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iq(e,t,n);t.flags|=128;}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),ae(og,og.current),!r)return null;break;case 22:case 23:return t.lanes=0,iL(e,t,n);}return iQ(e,t,n);}function iJ(e,t){if(!aR)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null;}}function i0(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t;}function i1(e,t,n){var r=t.pendingProps;switch(aC(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return i0(t),null;case 1:case 17:return ai(t.type)&&au(),i0(t),null;case 3:return r=t.stateNode,om(),r5(ar),r5(an),oE(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(aU(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==aL&&(u6(aL),aL=null))),m(e,t),i0(t),null;case 5:ob(t);var a=op(od.current);if(n=t.type,null!==e&&null!=t.stateNode)v(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(E(166));return i0(t),null;}if(e=op(os.current),aU(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[rX]=t,r[rQ]=o,e=0!=(1&t.mode),n){case"dialog":rS("cancel",r),rS("close",r);break;case"iframe":case"object":case"embed":rS("load",r);break;case"video":case"audio":for(a=0;a",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rX]=t,e[rQ]=r,h(e,t,!1,!1),t.stateNode=e;e:{switch(i=eD(n,r),n){case"dialog":rS("cancel",e),rS("close",e),a=r;break;case"iframe":case"object":case"embed":rS("load",e),a=r;break;case"video":case"audio":for(a=0;auU&&(t.flags|=128,r=!0,iJ(o,!1),t.lanes=4194304);}}else{if(!r){if(null!==(e=oy(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iJ(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!aR)return i0(t),null;}else 2*ti()-o.renderingStartTime>uU&&1073741824!==n&&(t.flags|=128,r=!0,iJ(o,!1),t.lanes=4194304);}o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=o.last)?n.sibling=i:t.child=i,o.last=i);}if(null!==o.tail)return t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ti(),t.sibling=null,n=og.current,ae(og,r?1&n|2:1&n),t;return i0(t),null;case 22:case 23:return ce(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&uC)&&(i0(t),6&t.subtreeFlags&&(t.flags|=8192)):i0(t),null;case 24:case 25:return null;}throw Error(E(156,t.tag));}function i2(e,t){switch(aC(t),t.tag){case 1:return ai(t.type)&&au(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return om(),r5(ar),r5(an),oE(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ob(t),null;case 13:if(r5(og),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(E(340));az();}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return r5(og),null;case 4:return om(),null;case 10:return a2(t.type._context),null;case 22:case 23:return ce(),null;default:return null;}}h=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue;}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return;}n.sibling.return=n.return,n=n.sibling;}},m=function(){},v=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,op(os.current);var o,i=null;switch(n){case"input":a=eh(e,a),r=eh(e,r),i=[];break;case"select":a=et({},a,{value:void 0}),r=et({},r,{value:void 0}),i=[];break;case"textarea":a=ew(e,a),r=ew(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=rj);}for(l in eN(n,r),n=null,a)if(!r.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l]){if("style"===l){var u=a[l];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="");}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(S.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));}for(l in r){var c=r[l];if(u=null!=a?a[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u)){if("style"===l){if(u){for(o in u)!u.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&u[o]!==c[o]&&(n||(n={}),n[o]=c[o]);}else n||(i||(i=[]),i.push(l,n)),n=c;}else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(i=i||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(S.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&rS("scroll",e),i||u===c||(i=[])):(i=i||[]).push(l,c));}}n&&(i=i||[]).push("style",n);var l=i;(t.updateQueue=l)&&(t.flags|=4);}},b=function(e,t,n,r){n!==r&&(t.flags|=4);};var i3=!1,i6=!1,i7="function"==typeof WeakSet?WeakSet:Set,i9=null;function i8(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null);}catch(n){ch(e,t,n);}else n.current=null;}}function i4(e,t,n){try{n();}catch(n){ch(e,t,n);}}var i5=!1;function ue(e,t){if(rF=tJ,n8(e=n9())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType;}catch(e){n=null;break e;}var u=0,c=-1,l=-1,s=0,f=0,d=e,p=null;t:for(;;){for(;d!==n||0!==o&&3!==d.nodeType||(c=u+o),d!==i||0!==r&&3!==d.nodeType||(l=u+r),3===d.nodeType&&(u+=d.nodeValue.length),null!==(a=d.firstChild);)p=d,d=a;for(;;){if(d===e)break t;if(p===n&&++s===o&&(c=u),p===i&&++f===r&&(l=u),null!==(a=d.nextSibling))break;p=(d=p).parentNode;}d=a;}n=-1===c||-1===l?null:{start:c,end:l};}else n=null;}n=n||{start:0,end:0};}else n=null;for(rB={focusedElem:e,selectionRange:n},tJ=!1,i9=t;null!==i9;)if(e=(t=i9).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,i9=e;else for(;null!==i9;){t=i9;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,v=h.memoizedState,b=t.stateNode,g=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:id(t.type,m),v);b.__reactInternalSnapshotBeforeUpdate=g;}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(E(163));}}catch(e){ch(t,t.return,e);}if(null!==(e=t.sibling)){e.return=t.return,i9=e;break;}i9=t.return;}return h=i5,i5=!1,h;}function ut(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&i4(t,n,o);}a=a.next;}while(a!==r)}}function un(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r();}n=n.next;}while(n!==t)}}function ur(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e;}}function ua(e){var t=e.alternate;null!==t&&(e.alternate=null,ua(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[rX],delete t[rQ],delete t[rJ],delete t[r0],delete t[r1]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null;}function uo(e){return 5===e.tag||3===e.tag||4===e.tag;}function ui(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uo(e.return))return null;e=e.return;}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child;}if(!(2&e.flags))return e.stateNode;}}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=rj));else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling;}function uc(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uc(e,t,n),e=e.sibling;null!==e;)uc(e,t,n),e=e.sibling;}var ul=null,us=!1;function uf(e,t,n){for(n=n.child;null!==n;)ud(e,t,n),n=n.sibling;}function ud(e,t,n){if(th&&"function"==typeof th.onCommitFiberUnmount)try{th.onCommitFiberUnmount(tp,n);}catch(e){}switch(n.tag){case 5:i6||i8(n,t);case 6:var r=ul,a=us;ul=null,uf(e,t,n),ul=r,us=a,null!==ul&&(us?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(us?(e=ul,n=n.stateNode,8===e.nodeType?rW(e.parentNode,n):1===e.nodeType&&rW(e,n),tQ(e)):rW(ul,n.stateNode));break;case 4:r=ul,a=us,ul=n.stateNode.containerInfo,us=!0,uf(e,t,n),ul=r,us=a;break;case 0:case 11:case 14:case 15:if(!i6&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)?i4(n,t,i):0!=(4&o)&&i4(n,t,i)),a=a.next;}while(a!==r)}uf(e,t,n);break;case 1:if(!i6&&(i8(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount();}catch(e){ch(n,t,e);}uf(e,t,n);break;case 21:default:uf(e,t,n);break;case 22:1&n.mode?(i6=(r=i6)||null!==n.memoizedState,uf(e,t,n),i6=r):uf(e,t,n);}}function up(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new i7),t.forEach(function(t){var r=cg.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r));});}}function uh(e,t){var n=t.deletions;if(null!==n)for(var r=0;ra&&(a=i),r&=~o;}if(r=a,10<(r=(120>(r=ti()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*uw(r/1960))-r)){e.timeoutHandle=rH(cs.bind(null,e,uF,uH),r);break;}cs(e,uF,uH);break;default:throw Error(E(329));}}}return u1(e,ti()),e.callbackNode===n?u2.bind(null,e):null;}function u3(e,t){var n=uj;return e.current.memoizedState.isDehydrated&&(ct(e,t).flags|=256),2!==(e=co(e,t))&&(t=uF,uF=n,null!==t&&u6(t)),e;}function u6(e){null===uF?uF=e:uF.push.apply(uF,e);}function u7(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;re?16:e,null===uW)var r=!1;else{if(e=uW,uW=null,uK=0,0!=(6&uT))throw Error(E(331));var a=uT;for(uT|=4,i9=e.current;null!==i9;){var o=i9,i=o.child;if(0!=(16&i9.flags)){var u=o.deletions;if(null!==u){for(var c=0;cti()-uB?ct(e,0):uD|=n),u1(e,t);}function cv(e,t){0===t&&(0==(1&e.mode)?t=1:(t=tE,0==(130023424&(tE<<=1))&&(tE=4194304)));var n=uZ();null!==(e=a5(e,t))&&(tO(e,t,n),u1(e,n));}function cb(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),cv(e,n);}function cg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314));}null!==r&&r.delete(t),cv(e,n);}function cy(e,t){return tn(e,t);}function c_(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null;}function cE(e,t,n,r){return new c_(e,t,n,r);}function cw(e){return!(!(e=e.prototype)||!e.isReactComponent);}function cS(e){if("function"==typeof e)return cw(e)?1:0;if(null!=e){if((e=e.$$typeof)===K)return 11;if(e===X)return 14;}return 2;}function cx(e,t){var n=e.alternate;return null===n?((n=cE(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n;}function ck(e,t,n,r,a,o){var i=2;if(r=e,"function"==typeof e)cw(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case z:return cT(n.children,a,o,t);case G:i=8,a|=8;break;case $:return(e=cE(12,n,t,2|a)).elementType=$,e.lanes=o,e;case Y:return(e=cE(13,n,t,a)).elementType=Y,e.lanes=o,e;case q:return(e=cE(19,n,t,a)).elementType=q,e.lanes=o,e;case Z:return cP(n,a,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case V:i=10;break e;case W:i=9;break e;case K:i=11;break e;case X:i=14;break e;case Q:i=16,r=null;break e;}throw Error(E(130,null==e?e:typeof e,""));}return(t=cE(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t;}function cT(e,t,n,r){return(e=cE(7,e,r,t)).lanes=n,e;}function cP(e,t,n,r){return(e=cE(22,e,r,t)).elementType=Z,e.lanes=n,e.stateNode={isHidden:!1},e;}function cA(e,t,n){return(e=cE(6,e,null,t)).lanes=n,e;}function cO(e,t,n){return(t=cE(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t;}function cC(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tA(0),this.expirationTimes=tA(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tA(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null;}function cM(e,t,n,r,a,o,i,u,c){return e=new cC(e,t,n,u,c),1===t?(t=1,!0===o&&(t|=8)):t=0,o=cE(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ot(o),e;}function cI(e,t,n){var r=3-1,"register failed, invalid key ".concat(n," ").concat(e.path?"from plugin ".concat(e.path):"",".")),t.hooks[n]=(t.hooks[n]||[]).concat(e.apply[n]);});}},{key:"getHooks",value:function(e){var t=e.split("."),n=(0,l.default)(t),r=n[0],a=n.slice(1),o=this.hooks[r]||[];return a.length&&(o=o.map(function(e){try{var t,n=e,r=(0,c.default)(a);try{for(r.s();!(t=r.n()).done;)n=n[t.value];}catch(e){r.e(e);}finally{r.f();}return n;}catch(e){return null;}}).filter(Boolean)),o;}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,l=e.args,s=e.async,f=this.getHooks(t)||[];switch(l&&(0,p.assert)("object"===(0,u.default)(l),"applyPlugins failed, args must be plain object."),s&&(0,p.assert)(n===h.modify||n===h.event,"async only works with modify and event type."),n){case h.modify:if(s)return f.reduce(function(){var e=(0,i.default)((0,a.default)().mark(function e(n,r){var i;return(0,a.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((0,p.assert)("function"==typeof r||"object"===(0,u.default)(r)||(0,p.isPromiseLike)(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!(0,p.isPromiseLike)(n)){e.next=5;break;}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!=typeof r){e.next=16;break;}if(i=r(n,l),!(0,p.isPromiseLike)(i)){e.next=13;break;}return e.next=10,i;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",i);case 14:e.next=21;break;case 16:if(!(0,p.isPromiseLike)(r)){e.next=20;break;}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",(0,o.default)((0,o.default)({},n),r));case 21:case"end":return e.stop();}},e);}));return function(t,n){return e.apply(this,arguments);};}(),(0,p.isPromiseLike)(r)?r:Promise.resolve(r));return f.reduce(function(e,n){return((0,p.assert)("function"==typeof n||"object"===(0,u.default)(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"==typeof n)?n(e,l):(0,o.default)((0,o.default)({},e),n);},r);case h.event:return(0,i.default)((0,a.default)().mark(function e(){var n,r,o,i;return(0,a.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=(0,c.default)(f),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=12;break;}if(o=r.value,(0,p.assert)("function"==typeof o,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),i=o(l),!(s&&(0,p.isPromiseLike)(i))){e.next=10;break;}return e.next=10,i;case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),n.e(e.t0);case 17:return e.prev=17,n.f(),e.finish(17);case 20:case"end":return e.stop();}},e,null,[[1,14,17,20]]);}))();case h.compose:return function(){return(0,p.compose)({fns:f.concat(r),args:l})();};}}}],[{key:"create",value:function(t){var n=new e({validKeys:t.validKeys});return t.plugins.forEach(function(e){n.register(e);}),n;}}]),e;}();},fec39033:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return m;}});var r=n("777fffbe"),a=n("852bbaa9"),o=r._(n("361d5d06")),i=a._(n("9d065c04")),u=n("d11b0156"),c=r._(n("70228951"));n("9093f42f");var l=n("64c7e51a"),s=r._(n("0c3e13dd")),f=r._(n("d0af320c")),d=r._(n("fb9b94e7")),p=n("b5ea9e34"),h=function(e){return!1!==e&&((0,c.default)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null);},m=i.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer,m=e.debug,v=e.autoDestroy,b=void 0===v||v,g=e.children,y=i.useState(n),_=(0,o.default)(y,2),E=_[0],w=_[1],S=E||n;i.useEffect(function(){(b||n)&&w(n);},[n,b]);var x=i.useState(function(){return h(a);}),k=(0,o.default)(x,2),T=k[0],P=k[1];i.useEffect(function(){var e=h(a);P(null!=e?e:null);});var A=(0,f.default)(S&&!T,m),O=(0,o.default)(A,2),C=O[0],M=O[1],I=null!=T?T:C;(0,d.default)(r&&n&&(0,c.default)()&&(I===C||I===document.body));var R=null;g&&(0,l.supportRef)(g)&&t&&(R=g.ref);var L=(0,l.useComposeRef)(R,t);if(!S||!(0,c.default)()||void 0===T)return null;var N=!1===I||(0,p.inlineMock)(),D=g;return t&&(D=i.cloneElement(g,{ref:L})),i.createElement(s.default.Provider,{value:M},N?D:(0,u.createPortal)(D,I));});},fefa3346:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return i;},useUpdateState:function(){return u;}});var r=n("777fffbe")._(n("361d5d06")),a=n("3480b7d9"),o=n("9d065c04");function i(e){var t=(0,o.useState)(0),n=(0,r.default)(t,2),i=n[0],u=n[1],c=(0,o.useRef)(0),l=(0,o.useRef)();return l.current=e,(0,a.useLayoutUpdateEffect)(function(){var e;null===(e=l.current)||void 0===e||e.call(l);},[i]),function(){c.current===i&&(c.current+=1,u(c.current));};}function u(e){var t=(0,o.useRef)([]),n=(0,o.useState)({}),a=(0,r.default)(n,2)[1],u=(0,o.useRef)("function"==typeof e?e():e),c=i(function(){var e=u.current;t.current.forEach(function(t){e=t(e);}),t.current=[],u.current=e,a({});});function l(e){t.current.push(e),c();}return[u.current,l];}},ff5769a6:function(e,t,n){"use strict";var r=n("b69db97a"),a=n("6615efd8"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(a(e)+" is not a function");};},ffb8cfd8:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"parse",{enumerable:!0,get:function(){return l;}});var r=n("d1751d7c"),a=n("b594a703"),o=n("95af9ac2"),i=n("30796059"),u=r._(n("2aa7550f"),t);function c(e){e.forEach(function(e){if(delete e.location,(0,u.isSelectElement)(e)||(0,u.isPluralElement)(e))for(var t in e.options)delete e.options[t].location,c(e.options[t].value);else(0,u.isNumberElement)(e)&&(0,u.isNumberSkeleton)(e.style)?delete e.style.location:((0,u.isDateElement)(e)||(0,u.isTimeElement)(e))&&(0,u.isDateTimeSkeleton)(e.style)?delete e.style.location:(0,u.isTagElement)(e)&&c(e.children);});}function l(e,t){void 0===t&&(t={}),t=(0,a.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new i.Parser(e,t).parse();if(n.err){var r=SyntaxError(o.ErrorKind[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r;}return(null==t?void 0:t.captureLocation)||c(n.val),n.val;}},ffeacb43:function(e,t,n){"use strict";var r=n("e6ade175");e.exports=r;}};function createRuntime(e,t,n){var r={};function a(t){var n=r[t];if(void 0!==n)return n.exports;var o={id:t,exports:{}};r[t]=o;var i={id:t,module:o,factory:e[t],require:a};return a.requireInterceptors.forEach(function(e){e(i);}),i.factory.call(i.module.exports,i.module,i.module.exports,i.require),o.exports;}a.requireInterceptors=[],a.e=function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]});},a.d=Object.defineProperty.bind(Object),function(){function e(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then;}a.dr=function(t,n){return function(){var r=n();return e(r)?r.then(function(e){return t(e);}):t(r);};};}(),function(){a.chunkEnsures={},a.ensure=function(e){return Promise.all(Object.keys(a.chunkEnsures).reduce(function(t,n){return a.chunkEnsures[n](e,t),t;},[]));};}(),function(){a.jsonpInstalled={};var e=a.jsonpInstalled;a.chunkEnsures.jsonp=function(t,n){var r=e[t];if(0!==r){if(r)n.push(r[2]);else{var o=new Promise(function(n,a){r=e[t]=[n,a];});n.push(r[2]=o);var i=a.publicPath+chunksIdToUrlMap[t],u=Error(),c=function(n){if(0!==(r=e[t])&&(e[t]=void 0),r){var a=n&&n.type,o=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed. ("+a+" : "+o+")",u.name="ChunkLoadError",u.type=a,r[1](u);}};return a.loadScript(i,c,"chunk-"+t),o;}}};}(),function(){var e;a.cssInstalled=cssInstalledChunks,a.findStylesheet=function(t){try{e||(e=new URL(a.publicPath.replace(/^(\/\/)/,"https:$1")).pathname);}catch(e){}return Array.from(document.querySelectorAll("link[href][rel=stylesheet]")).find(function(n){var r=n.getAttribute("href").split("?")[0];return r===t||r===a.publicPath+t||e&&r===e+t;});},a.createStylesheet=function(e,t,n,r,a){var o=document.createElement("link");return o.rel="stylesheet",o.type="text/css",o.href=t,o.onerror=o.onload=function(t){if(o.onerror=o.onload=null,"load"===t.type)cssInstalledChunks[e]=0,r();else{delete cssInstalledChunks[e];var n=t&&t.type,i=t&&t.target&&t.target.href,u=Error("Loading CSS chunk "+e+" failed.\n("+i+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=n,u.request=i,o.parentNode.removeChild(o),a(u);}},n?n.parentNode.insertBefore(o,n.nextSibling):document.head.appendChild(o),o;},a.chunkEnsures.css=function(e,t){if(cssInstalledChunks[e])t.push(cssInstalledChunks[e]);else if(0!==cssInstalledChunks[e]&&cssChunksIdToUrlMap[e])return cssInstalledChunks[e]=new Promise(function(t,n){var r=cssChunksIdToUrlMap[e],o=a.publicPath+r;a.findStylesheet(r)?t():a.createStylesheet(e,o,null,t,n);}),t.push(cssInstalledChunks[e]),t;};}(),function(){var e={};a.loadScript=function(t,n,r){if(!self.document)return importScripts(t),n();if(e[t])return e[t].push(n);var a=document.querySelector('script[src="'+t+'"], script[data-mako="@antv/gpt-vis:'+r+'"]');a||((a=document.createElement("script")).timeout=120,a.src=t),e[t]=[n];var o=function(n,r){clearTimeout(i);var o=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(function(e){return e(r);}),n)return n(r);},i=setTimeout(o.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=o.bind(null,a.onerror),a.onload=o.bind(null,a.onload),document.head.appendChild(a);};}();var o=function(t){for(var n in t)e[n]=t[n];},i=function(e){var t=a.jsonpInstalled,n=e[0],r=e[1];n.some(function(e){return 0!==t[e];})&&o(r);for(var i=0;i;\nexport { SvgComponent as ReactComponent };\n\nexport default \"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2IiBmb2N1c2FibGU9ImZhbHNlIj48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIgLz48cGF0aCBkPSJNNDY0IDMzNmE0OCA0OCAwIDEwOTYgMCA0OCA0OCAwIDEwLTk2IDB6bTcyIDExMmgtNDhjLTQuNCAwLTggMy42LTggOHYyNzJjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0NTZjMC00LjQtMy42LTgtOC04eiIgLz48L3N2Zz4=\";","'use strict';\nvar classof = require('../internals/classof');\n\nvar $TypeError = TypeError;\n\n// Perform ? RequireInternalSlot(argument, [[TypedArrayName]])\n// If argument.[[TypedArrayName]] is not \"Uint8Array\", throw a TypeError exception\nmodule.exports = function (argument) {\n if (classof(argument) === 'Uint8Array') return argument;\n throw new $TypeError('Argument is not an Uint8Array');\n};\n","import * as React from 'react';\nfunction toArray(val) {\n return val ? Array.isArray(val) ? val : [val] : [];\n}\nexport default function useAction(mobile, action, showAction, hideAction) {\n return React.useMemo(function () {\n var mergedShowAction = toArray(showAction !== null && showAction !== void 0 ? showAction : action);\n var mergedHideAction = toArray(hideAction !== null && hideAction !== void 0 ? hideAction : action);\n var showActionSet = new Set(mergedShowAction);\n var hideActionSet = new Set(mergedHideAction);\n if (mobile) {\n if (showActionSet.has('hover')) {\n showActionSet.delete('hover');\n showActionSet.add('click');\n }\n if (hideActionSet.has('hover')) {\n hideActionSet.delete('hover');\n hideActionSet.add('click');\n }\n }\n return [showActionSet, hideActionSet];\n }, [mobile, action, showAction, hideAction]);\n}","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar charAt = require('../internals/string-multibyte').charAt;\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\n\n// `String.prototype.at` method\n// https://github.com/mathiasbynens/String.prototype.at\n$({ target: 'String', proto: true, forced: true }, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : charAt(S, k);\n }\n});\n","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport get from \"./get\";\nfunction internalSet(entity, paths, value, removeIfUndefined) {\n if (!paths.length) {\n return value;\n }\n var _paths = _toArray(paths),\n path = _paths[0],\n restPath = _paths.slice(1);\n var clone;\n if (!entity && typeof path === 'number') {\n clone = [];\n } else if (Array.isArray(entity)) {\n clone = _toConsumableArray(entity);\n } else {\n clone = _objectSpread({}, entity);\n }\n\n // Delete prop if `removeIfUndefined` and value is undefined\n if (removeIfUndefined && value === undefined && restPath.length === 1) {\n delete clone[path][restPath[0]];\n } else {\n clone[path] = internalSet(clone[path], restPath, value, removeIfUndefined);\n }\n return clone;\n}\nexport default function set(entity, paths, value) {\n var removeIfUndefined = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n // Do nothing if `removeIfUndefined` and parent object not exist\n if (paths.length && removeIfUndefined && value === undefined && !get(entity, paths.slice(0, -1))) {\n return entity;\n }\n return internalSet(entity, paths, value, removeIfUndefined);\n}\nfunction isObject(obj) {\n return _typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;\n}\nfunction createEmpty(source) {\n return Array.isArray(source) ? [] : {};\n}\nvar keys = typeof Reflect === 'undefined' ? Object.keys : Reflect.ownKeys;\n\n/**\n * Merge objects which will create\n */\nexport function merge() {\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n var clone = createEmpty(sources[0]);\n sources.forEach(function (src) {\n function internalMerge(path, parentLoopSet) {\n var loopSet = new Set(parentLoopSet);\n var value = get(src, path);\n var isArr = Array.isArray(value);\n if (isArr || isObject(value)) {\n // Only add not loop obj\n if (!loopSet.has(value)) {\n loopSet.add(value);\n var originValue = get(clone, path);\n if (isArr) {\n // Array will always be override\n clone = set(clone, path, []);\n } else if (!originValue || _typeof(originValue) !== 'object') {\n // Init container if not exist\n clone = set(clone, path, createEmpty(value));\n }\n keys(value).forEach(function (key) {\n internalMerge([].concat(_toConsumableArray(path), [key]), loopSet);\n });\n }\n } else {\n clone = set(clone, path, value);\n }\n }\n internalMerge([]);\n });\n return clone;\n}","\"use strict\";\n\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); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\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; }\n\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; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\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, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\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); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\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); }; }\n\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); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\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; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","'use strict';\n/* eslint-disable es/no-bigint -- safe */\nvar $ = require('../internals/export');\nvar NumericRangeIterator = require('../internals/numeric-range-iterator');\n\nvar $TypeError = TypeError;\n\n// `Iterator.range` method\n// https://github.com/tc39/proposal-Number.range\n$({ target: 'Iterator', stat: true, forced: true }, {\n range: function range(start, end, option) {\n if (typeof start == 'number') return new NumericRangeIterator(start, end, option, 'number', 0, 1);\n if (typeof start == 'bigint') return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));\n throw new $TypeError('Incorrect Iterator.range arguments');\n }\n});\n","function _getPrototypeOf(t) {\n return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, _getPrototypeOf(t);\n}\nexport { _getPrototypeOf as default };","'use strict';\nvar $ = require('../internals/export');\nvar aMap = require('../internals/a-map');\nvar iterate = require('../internals/map-iterate');\n\n// `Map.prototype.keyOf` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: true }, {\n keyOf: function keyOf(searchElement) {\n var result = iterate(aMap(this), function (value, key) {\n if (value === searchElement) return { key: key };\n }, true);\n return result && result.key;\n }\n});\n","export default function _nonIterableRest() {\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.\");\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","'use strict';\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar f16round = require('../internals/math-f16round');\n\n// `Math.f16round` method\n// https://github.com/tc39/proposal-float16array\n$({ target: 'Math', stat: true }, { f16round: f16round });\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.metadata` well-known symbol\n// https://github.com/tc39/proposal-decorators\ndefineWellKnownSymbol('metadata');\n","'use strict';\nvar $ = require('../internals/export');\nvar $transfer = require('../internals/array-buffer-transfer');\n\n// `ArrayBuffer.prototype.transfer` method\n// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer\nif ($transfer) $({ target: 'ArrayBuffer', proto: true }, {\n transfer: function transfer() {\n return $transfer(this, arguments.length ? arguments[0] : undefined, true);\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toPropertyKey = require('../internals/to-property-key');\nvar iterate = require('../internals/iterate');\n\nvar create = getBuiltIn('Object', 'create');\nvar push = uncurryThis([].push);\n\n// `Object.groupBy` method\n// https://github.com/tc39/proposal-array-grouping\n$({ target: 'Object', stat: true }, {\n groupBy: function groupBy(items, callbackfn) {\n requireObjectCoercible(items);\n aCallable(callbackfn);\n var obj = create(null);\n var k = 0;\n iterate(items, function (value) {\n var key = toPropertyKey(callbackfn(value, k++));\n // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys\n // but since it's a `null` prototype object, we can safely use `in`\n if (key in obj) push(obj[key], value);\n else obj[key] = [value];\n });\n return obj;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\n\nvar min = Math.min;\nvar max = Math.max;\n\n// `Math.clamp` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({ target: 'Math', stat: true, forced: true }, {\n clamp: function clamp(x, lower, upper) {\n return min(upper, max(lower, x));\n }\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filterReject = require('../internals/array-iteration').filterReject;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filterOut` method\n// https://github.com/tc39/proposal-array-filtering\nexportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg */) {\n var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n}, true);\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"arrow\", \"prefixCls\", \"transitionName\", \"animation\", \"align\", \"placement\", \"placements\", \"getPopupContainer\", \"showAction\", \"hideAction\", \"overlayClassName\", \"overlayStyle\", \"visible\", \"trigger\", \"autoFocus\", \"overlay\", \"children\", \"onVisibleChange\"];\nimport Trigger from '@rc-component/trigger';\nimport classNames from 'classnames';\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nimport React from 'react';\nimport useAccessibility from \"./hooks/useAccessibility\";\nimport Overlay from \"./Overlay\";\nimport Placements from \"./placements\";\nfunction Dropdown(props, ref) {\n var _children$props;\n var _props$arrow = props.arrow,\n arrow = _props$arrow === void 0 ? false : _props$arrow,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-dropdown' : _props$prefixCls,\n transitionName = props.transitionName,\n animation = props.animation,\n align = props.align,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'bottomLeft' : _props$placement,\n _props$placements = props.placements,\n placements = _props$placements === void 0 ? Placements : _props$placements,\n getPopupContainer = props.getPopupContainer,\n showAction = props.showAction,\n hideAction = props.hideAction,\n overlayClassName = props.overlayClassName,\n overlayStyle = props.overlayStyle,\n visible = props.visible,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n autoFocus = props.autoFocus,\n overlay = props.overlay,\n children = props.children,\n onVisibleChange = props.onVisibleChange,\n otherProps = _objectWithoutProperties(props, _excluded);\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n triggerVisible = _React$useState2[0],\n setTriggerVisible = _React$useState2[1];\n var mergedVisible = 'visible' in props ? visible : triggerVisible;\n var triggerRef = React.useRef(null);\n var overlayRef = React.useRef(null);\n var childRef = React.useRef(null);\n React.useImperativeHandle(ref, function () {\n return triggerRef.current;\n });\n var handleVisibleChange = function handleVisibleChange(newVisible) {\n setTriggerVisible(newVisible);\n onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(newVisible);\n };\n useAccessibility({\n visible: mergedVisible,\n triggerRef: childRef,\n onVisibleChange: handleVisibleChange,\n autoFocus: autoFocus,\n overlayRef: overlayRef\n });\n var onClick = function onClick(e) {\n var onOverlayClick = props.onOverlayClick;\n setTriggerVisible(false);\n if (onOverlayClick) {\n onOverlayClick(e);\n }\n };\n var getMenuElement = function getMenuElement() {\n return /*#__PURE__*/React.createElement(Overlay, {\n ref: overlayRef,\n overlay: overlay,\n prefixCls: prefixCls,\n arrow: arrow\n });\n };\n var getMenuElementOrLambda = function getMenuElementOrLambda() {\n if (typeof overlay === 'function') {\n return getMenuElement;\n }\n return getMenuElement();\n };\n var getMinOverlayWidthMatchTrigger = function getMinOverlayWidthMatchTrigger() {\n var minOverlayWidthMatchTrigger = props.minOverlayWidthMatchTrigger,\n alignPoint = props.alignPoint;\n if ('minOverlayWidthMatchTrigger' in props) {\n return minOverlayWidthMatchTrigger;\n }\n return !alignPoint;\n };\n var getOpenClassName = function getOpenClassName() {\n var openClassName = props.openClassName;\n if (openClassName !== undefined) {\n return openClassName;\n }\n return \"\".concat(prefixCls, \"-open\");\n };\n var childrenNode = /*#__PURE__*/React.cloneElement(children, {\n className: classNames((_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.className, mergedVisible && getOpenClassName()),\n ref: supportRef(children) ? composeRef(childRef, children.ref) : undefined\n });\n var triggerHideAction = hideAction;\n if (!triggerHideAction && trigger.indexOf('contextMenu') !== -1) {\n triggerHideAction = ['click'];\n }\n return /*#__PURE__*/React.createElement(Trigger, _extends({\n builtinPlacements: placements\n }, otherProps, {\n prefixCls: prefixCls,\n ref: triggerRef,\n popupClassName: classNames(overlayClassName, _defineProperty({}, \"\".concat(prefixCls, \"-show-arrow\"), arrow)),\n popupStyle: overlayStyle,\n action: trigger,\n showAction: showAction,\n hideAction: triggerHideAction,\n popupPlacement: placement,\n popupAlign: align,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupVisible: mergedVisible,\n stretch: getMinOverlayWidthMatchTrigger() ? 'minWidth' : '',\n popup: getMenuElementOrLambda(),\n onPopupVisibleChange: handleVisibleChange,\n onPopupClick: onClick,\n getPopupContainer: getPopupContainer\n }), childrenNode);\n}\nexport default /*#__PURE__*/React.forwardRef(Dropdown);","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar iterateSimple = require('../internals/iterate-simple');\nvar SetHelpers = require('../internals/set-helpers');\n\nvar Set = SetHelpers.Set;\nvar SetPrototype = SetHelpers.proto;\nvar forEach = uncurryThis(SetPrototype.forEach);\nvar keys = uncurryThis(SetPrototype.keys);\nvar next = keys(new Set()).next;\n\nmodule.exports = function (set, fn, interruptible) {\n return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","import classNames from 'classnames';\nimport * as React from 'react';\nexport default function Arrow(props) {\n var prefixCls = props.prefixCls,\n align = props.align,\n arrow = props.arrow,\n arrowPos = props.arrowPos;\n var _ref = arrow || {},\n className = _ref.className,\n content = _ref.content;\n var _arrowPos$x = arrowPos.x,\n x = _arrowPos$x === void 0 ? 0 : _arrowPos$x,\n _arrowPos$y = arrowPos.y,\n y = _arrowPos$y === void 0 ? 0 : _arrowPos$y;\n var arrowRef = React.useRef();\n\n // Skip if no align\n if (!align || !align.points) {\n return null;\n }\n var alignStyle = {\n position: 'absolute'\n };\n\n // Skip if no need to align\n if (align.autoArrow !== false) {\n var popupPoints = align.points[0];\n var targetPoints = align.points[1];\n var popupTB = popupPoints[0];\n var popupLR = popupPoints[1];\n var targetTB = targetPoints[0];\n var targetLR = targetPoints[1];\n\n // Top & Bottom\n if (popupTB === targetTB || !['t', 'b'].includes(popupTB)) {\n alignStyle.top = y;\n } else if (popupTB === 't') {\n alignStyle.top = 0;\n } else {\n alignStyle.bottom = 0;\n }\n\n // Left & Right\n if (popupLR === targetLR || !['l', 'r'].includes(popupLR)) {\n alignStyle.left = x;\n } else if (popupLR === 'l') {\n alignStyle.left = 0;\n } else {\n alignStyle.right = 0;\n }\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: classNames(\"\".concat(prefixCls, \"-arrow\"), className),\n style: alignStyle\n }, content);\n}","import classNames from 'classnames';\nimport * as React from 'react';\nvar TabPane = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n id = props.id,\n active = props.active,\n tabKey = props.tabKey,\n children = props.children;\n return /*#__PURE__*/React.createElement(\"div\", {\n id: id && \"\".concat(id, \"-panel-\").concat(tabKey),\n role: \"tabpanel\",\n tabIndex: active ? 0 : -1,\n \"aria-labelledby\": id && \"\".concat(id, \"-tab-\").concat(tabKey),\n \"aria-hidden\": !active,\n style: style,\n className: classNames(prefixCls, active && \"\".concat(prefixCls, \"-active\"), className),\n ref: ref\n }, children);\n});\nif (process.env.NODE_ENV !== 'production') {\n TabPane.displayName = 'TabPane';\n}\nexport default TabPane;","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?watch=parent';\n export const toc = [{\"id\":\"heatmap-热力地图\",\"depth\":1,\"title\":\"HeatMap 热力地图\"},{\"id\":\"代码演示\",\"depth\":2,\"title\":\"代码演示\"},{\"id\":\"单独使用\",\"depth\":3,\"title\":\"单独使用\"},{\"id\":\"使用-markdown-协议\",\"depth\":3,\"title\":\"使用 Markdown 协议\"},{\"id\":\"spec\",\"depth\":2,\"title\":\"Spec\"},{\"id\":\"api\",\"depth\":2,\"title\":\"API\"},{\"id\":\"heatmapprops\",\"depth\":3,\"title\":\"HeatMapProps\"},{\"id\":\"heatmapdataitem\",\"depth\":3,\"title\":\"HeatMapDataItem\"}];\nexport const frontmatter = {\"title\":\"HeatMap 热力地图\",\"toc\":\"content\",\"filename\":\"src/HeatMap/index.md\",\"atomId\":\"HeatMap\",\"lastUpdated\":1734934621000,\"order\":3,\"group\":{\"order\":2,\"title\":\"地图\"},\"description\":\"热力地图,直观展示数据密度与频率的空间分布。\"};","/* eslint-disable no-param-reassign */\nimport { removeCSS, updateCSS } from \"./Dom/dynamicCSS\";\nvar cached;\nfunction measureScrollbarSize(ele) {\n var randomId = \"rc-scrollbar-measure-\".concat(Math.random().toString(36).substring(7));\n var measureEle = document.createElement('div');\n measureEle.id = randomId;\n\n // Create Style\n var measureStyle = measureEle.style;\n measureStyle.position = 'absolute';\n measureStyle.left = '0';\n measureStyle.top = '0';\n measureStyle.width = '100px';\n measureStyle.height = '100px';\n measureStyle.overflow = 'scroll';\n\n // Clone Style if needed\n var fallbackWidth;\n var fallbackHeight;\n if (ele) {\n var targetStyle = getComputedStyle(ele);\n measureStyle.scrollbarColor = targetStyle.scrollbarColor;\n measureStyle.scrollbarWidth = targetStyle.scrollbarWidth;\n\n // Set Webkit style\n var webkitScrollbarStyle = getComputedStyle(ele, '::-webkit-scrollbar');\n var width = parseInt(webkitScrollbarStyle.width, 10);\n var height = parseInt(webkitScrollbarStyle.height, 10);\n\n // Try wrap to handle CSP case\n try {\n var widthStyle = width ? \"width: \".concat(webkitScrollbarStyle.width, \";\") : '';\n var heightStyle = height ? \"height: \".concat(webkitScrollbarStyle.height, \";\") : '';\n updateCSS(\"\\n#\".concat(randomId, \"::-webkit-scrollbar {\\n\").concat(widthStyle, \"\\n\").concat(heightStyle, \"\\n}\"), randomId);\n } catch (e) {\n // Can't wrap, just log error\n console.error(e);\n\n // Get from style directly\n fallbackWidth = width;\n fallbackHeight = height;\n }\n }\n document.body.appendChild(measureEle);\n\n // Measure. Get fallback style if provided\n var scrollWidth = ele && fallbackWidth && !isNaN(fallbackWidth) ? fallbackWidth : measureEle.offsetWidth - measureEle.clientWidth;\n var scrollHeight = ele && fallbackHeight && !isNaN(fallbackHeight) ? fallbackHeight : measureEle.offsetHeight - measureEle.clientHeight;\n\n // Clean up\n document.body.removeChild(measureEle);\n removeCSS(randomId);\n return {\n width: scrollWidth,\n height: scrollHeight\n };\n}\nexport default function getScrollBarSize(fresh) {\n if (typeof document === 'undefined') {\n return 0;\n }\n if (fresh || cached === undefined) {\n cached = measureScrollbarSize();\n }\n return cached.width;\n}\nexport function getTargetScrollBarSize(target) {\n if (typeof document === 'undefined' || !target || !(target instanceof Element)) {\n return {\n width: 0,\n height: 0\n };\n }\n return measureScrollbarSize(target);\n}","'use strict';\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\n\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.metadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, key) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n };\n }\n});\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nimport { warning } from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/rc-util@5.44.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util';\nimport deepmerge from '/home/runner/work/GPT-Vis/GPT-Vis/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge';\nimport { getRouteMetaById } from './exports';\n\n// Proxy do not warning since `Object.keys` will get nothing to loop\nfunction wrapEmpty(meta, fieldName, defaultValue) {\n Object.defineProperty(meta, fieldName, {\n get: () => {\n warning(false, `'${fieldName}' return empty in latest version, please use \\`useRouteMeta\\` instead.`);\n return defaultValue;\n },\n });\n}\n\nexport const patchRoutes = ({ routes }) => {\n Object.values(routes).forEach((route) => {\n const routeMeta = getRouteMetaById(route.id, { syncOnly: true });\n\n if (routeMeta) {\n if (process.env.NODE_ENV === 'production' && (route.meta?.frontmatter?.debug || routeMeta.frontmatter?.debug)) {\n // hide route in production which set hide frontmatter\n delete routes[route.id];\n } else {\n // merge meta to route object\n route.meta = deepmerge(route.meta, routeMeta);\n\n wrapEmpty(route.meta, 'toc', []);\n wrapEmpty(route.meta, 'texts', []);\n\n route.meta.tabs?.forEach((tab) => {\n wrapEmpty(tab, 'toc', []);\n wrapEmpty(tab, 'texts', []);\n });\n }\n }\n });\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar toIndex = require('../internals/to-index');\nvar isDetached = require('../internals/array-buffer-is-detached');\nvar arrayBufferByteLength = require('../internals/array-buffer-byte-length');\nvar detachTransferable = require('../internals/detach-transferable');\nvar PROPER_STRUCTURED_CLONE_TRANSFER = require('../internals/structured-clone-proper-transfer');\n\nvar structuredClone = global.structuredClone;\nvar ArrayBuffer = global.ArrayBuffer;\nvar DataView = global.DataView;\nvar TypeError = global.TypeError;\nvar min = Math.min;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataViewPrototype = DataView.prototype;\nvar slice = uncurryThis(ArrayBufferPrototype.slice);\nvar isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get');\nvar maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get');\nvar getInt8 = uncurryThis(DataViewPrototype.getInt8);\nvar setInt8 = uncurryThis(DataViewPrototype.setInt8);\n\nmodule.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) {\n var byteLength = arrayBufferByteLength(arrayBuffer);\n var newByteLength = newLength === undefined ? byteLength : toIndex(newLength);\n var fixedLength = !isResizable || !isResizable(arrayBuffer);\n var newBuffer;\n if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached');\n if (PROPER_STRUCTURED_CLONE_TRANSFER) {\n arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] });\n if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer;\n }\n if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) {\n newBuffer = slice(arrayBuffer, 0, newByteLength);\n } else {\n var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined;\n newBuffer = new ArrayBuffer(newByteLength, options);\n var a = new DataView(arrayBuffer);\n var b = new DataView(newBuffer);\n var copyLength = min(newByteLength, byteLength);\n for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i));\n }\n if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer);\n return newBuffer;\n};\n","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"children\"];\nimport * as React from 'react';\nexport var Context = /*#__PURE__*/React.createContext({});\nexport default function MotionProvider(_ref) {\n var children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(Context.Provider, {\n value: props\n }, children);\n}","/**\n * Test usage export. Do not use in your production\n */\nexport function isBodyOverflowing() {\n return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;\n}","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport * as React from 'react';\n/**\n * Fallback to findDOMNode if origin ref do not provide any dom element\n */\nvar DomWrapper = /*#__PURE__*/function (_React$Component) {\n _inherits(DomWrapper, _React$Component);\n var _super = _createSuper(DomWrapper);\n function DomWrapper() {\n _classCallCheck(this, DomWrapper);\n return _super.apply(this, arguments);\n }\n _createClass(DomWrapper, [{\n key: \"render\",\n value: function render() {\n return this.props.children;\n }\n }]);\n return DomWrapper;\n}(React.Component);\nexport { DomWrapper as default };","import * as React from 'react';\nvar OrderContext = /*#__PURE__*/React.createContext(null);\nexport default OrderContext;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function demethodize() {\n return uncurryThis(aCallable(this));\n};\n","export { FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, IntlContext, IntlProvider, RawIntlProvider, createIntlCache, defineMessages, injectIntl, useIntl } from 'react-intl';\nexport { AtomRenderer } from \"./AtomRenderer\";\nexport { DumiDemo } from \"./DumiDemo\";\nexport { DumiDemoGrid } from \"./DumiDemoGrid\";\nexport { DumiPage } from \"./DumiPage\";\nexport { useSiteData } from \"./context\";\nexport { openCodeSandbox } from \"./openCodeSandbox\";\nexport { openStackBlitz } from \"./openStackBlitz\";\nexport { useAtomAssets } from \"./useAtomAssets\";\nexport { useLiveDemo } from \"./useLiveDemo\";\nexport { useLocale } from \"./useLocale\";\nexport { useNavData } from \"./useNavData\";\nexport { usePrefersColor } from \"./usePrefersColor\";\nexport { useMatchedRoute, useRouteMeta } from \"./useRouteMeta\";\nexport { useFullSidebarData, useSidebarData } from \"./useSidebarData\";\nexport { useSiteSearch } from \"./useSiteSearch\";\nexport { useTabMeta } from \"./useTabMeta\";","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = global[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n || !isCallable(NativeIterator)\n || NativeIterator.prototype !== IteratorPrototype\n // FF44- non-standard `Iterator` passes previous tests\n || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorPrototype);\n if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n if (DESCRIPTORS) {\n defineBuiltInAccessor(IteratorPrototype, key, {\n configurable: true,\n get: function () {\n return value;\n },\n set: function (replacement) {\n anObject(this);\n if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n if (hasOwn(this, key)) this[key] = replacement;\n else createProperty(this, key, replacement);\n }\n });\n } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://github.com/tc39/proposal-iterator-helpers\n$({ global: true, constructor: true, forced: FORCED }, {\n Iterator: IteratorConstructor\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport { SP_ROUTE_PREFIX } from \"../../../constants\";\nimport { useAppData, useDemo, useSiteData } from 'dumi';\nimport React, { createElement } from 'react';\nimport Previewer from 'dumi/theme/builtins/Previewer';\nimport { useRenderer } from \"../useRenderer\";\nimport DemoErrorBoundary from \"./DemoErrorBoundary\";\nvar InternalDumiDemo = function InternalDumiDemo(props) {\n var _useSiteData = useSiteData(),\n historyType = _useSiteData.historyType;\n var _useAppData = useAppData(),\n basename = _useAppData.basename;\n var id = props.demo.id;\n var demo = useDemo(id);\n var component = demo.component,\n asset = demo.asset,\n renderOpts = demo.renderOpts;\n var _useRenderer = useRenderer({\n id: id,\n renderOpts: demo.renderOpts,\n component: demo.component\n }),\n canvasRef = _useRenderer.canvasRef;\n\n // hide debug demo in production\n if (process.env.NODE_ENV === 'production' && props.previewerProps.debug) return null;\n var demoNode = /*#__PURE__*/React.createElement(DemoErrorBoundary, null, renderOpts !== null && renderOpts !== void 0 && renderOpts.renderer ? /*#__PURE__*/React.createElement(\"div\", {\n ref: canvasRef\n }) : /*#__PURE__*/createElement(component));\n if (props.demo.inline) {\n return demoNode;\n }\n var isHashRoute = historyType === 'hash';\n return /*#__PURE__*/React.createElement(Previewer, _extends({\n asset: asset,\n demoUrl:\n // allow user override demoUrl by frontmatter\n props.previewerProps.demoUrl || // when use hash route, browser can automatically handle relative paths starting with #\n \"\".concat(isHashRoute ? \"#\" : '').concat(basename).concat(SP_ROUTE_PREFIX, \"demos/\").concat(props.demo.id)\n }, props.previewerProps), props.previewerProps.iframe ? null : demoNode);\n};\nexport var DumiDemo = /*#__PURE__*/React.memo(InternalDumiDemo, function (prev, next) {\n // compare length for performance\n return JSON.stringify(prev).length === JSON.stringify(next).length;\n});\nif (process.env.NODE_ENV !== 'production') {\n InternalDumiDemo.displayName = 'DumiDemo';\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"prefixCls\", \"className\", \"items\", \"direction\", \"activeKey\", \"defaultActiveKey\", \"editable\", \"animated\", \"tabPosition\", \"tabBarGutter\", \"tabBarStyle\", \"tabBarExtraContent\", \"locale\", \"moreIcon\", \"moreTransitionName\", \"destroyInactiveTabPane\", \"renderTabBar\", \"onChange\", \"onTabClick\", \"onTabScroll\", \"getPopupContainer\", \"popupClassName\", \"indicatorSize\", \"indicatorAlign\"];\n// Accessibility https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport isMobile from \"rc-util/es/isMobile\";\nimport * as React from 'react';\nimport { useEffect, useState } from 'react';\nimport TabContext from \"./TabContext\";\nimport TabNavListWrapper from \"./TabNavList/Wrapper\";\nimport TabPanelList from \"./TabPanelList\";\nimport useAnimateConfig from \"./hooks/useAnimateConfig\";\n/**\n * Should added antd:\n * - type\n *\n * Removed:\n * - onNextClick\n * - onPrevClick\n * - keyboard\n */ // Used for accessibility\nvar uuid = 0;\nvar Tabs = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _classNames;\n var id = props.id,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tabs' : _props$prefixCls,\n className = props.className,\n items = props.items,\n direction = props.direction,\n activeKey = props.activeKey,\n defaultActiveKey = props.defaultActiveKey,\n editable = props.editable,\n animated = props.animated,\n _props$tabPosition = props.tabPosition,\n tabPosition = _props$tabPosition === void 0 ? 'top' : _props$tabPosition,\n tabBarGutter = props.tabBarGutter,\n tabBarStyle = props.tabBarStyle,\n tabBarExtraContent = props.tabBarExtraContent,\n locale = props.locale,\n moreIcon = props.moreIcon,\n moreTransitionName = props.moreTransitionName,\n destroyInactiveTabPane = props.destroyInactiveTabPane,\n renderTabBar = props.renderTabBar,\n onChange = props.onChange,\n onTabClick = props.onTabClick,\n onTabScroll = props.onTabScroll,\n getPopupContainer = props.getPopupContainer,\n popupClassName = props.popupClassName,\n indicatorSize = props.indicatorSize,\n _props$indicatorAlign = props.indicatorAlign,\n indicatorAlign = _props$indicatorAlign === void 0 ? 'center' : _props$indicatorAlign,\n restProps = _objectWithoutProperties(props, _excluded);\n var tabs = React.useMemo(function () {\n return (items || []).filter(function (item) {\n return item && _typeof(item) === 'object' && 'key' in item;\n });\n }, [items]);\n var rtl = direction === 'rtl';\n var mergedAnimated = useAnimateConfig(animated);\n\n // ======================== Mobile ========================\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n mobile = _useState2[0],\n setMobile = _useState2[1];\n useEffect(function () {\n // Only update on the client side\n setMobile(isMobile());\n }, []);\n\n // ====================== Active Key ======================\n var _useMergedState = useMergedState(function () {\n var _tabs$;\n return (_tabs$ = tabs[0]) === null || _tabs$ === void 0 ? void 0 : _tabs$.key;\n }, {\n value: activeKey,\n defaultValue: defaultActiveKey\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedActiveKey = _useMergedState2[0],\n setMergedActiveKey = _useMergedState2[1];\n var _useState3 = useState(function () {\n return tabs.findIndex(function (tab) {\n return tab.key === mergedActiveKey;\n });\n }),\n _useState4 = _slicedToArray(_useState3, 2),\n activeIndex = _useState4[0],\n setActiveIndex = _useState4[1];\n\n // Reset active key if not exist anymore\n useEffect(function () {\n var newActiveIndex = tabs.findIndex(function (tab) {\n return tab.key === mergedActiveKey;\n });\n if (newActiveIndex === -1) {\n var _tabs$newActiveIndex;\n newActiveIndex = Math.max(0, Math.min(activeIndex, tabs.length - 1));\n setMergedActiveKey((_tabs$newActiveIndex = tabs[newActiveIndex]) === null || _tabs$newActiveIndex === void 0 ? void 0 : _tabs$newActiveIndex.key);\n }\n setActiveIndex(newActiveIndex);\n }, [tabs.map(function (tab) {\n return tab.key;\n }).join('_'), mergedActiveKey, activeIndex]);\n\n // ===================== Accessibility ====================\n var _useMergedState3 = useMergedState(null, {\n value: id\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedId = _useMergedState4[0],\n setMergedId = _useMergedState4[1];\n\n // Async generate id to avoid ssr mapping failed\n useEffect(function () {\n if (!id) {\n setMergedId(\"rc-tabs-\".concat(process.env.NODE_ENV === 'test' ? 'test' : uuid));\n uuid += 1;\n }\n }, []);\n\n // ======================== Events ========================\n function onInternalTabClick(key, e) {\n onTabClick === null || onTabClick === void 0 || onTabClick(key, e);\n var isActiveChanged = key !== mergedActiveKey;\n setMergedActiveKey(key);\n if (isActiveChanged) {\n onChange === null || onChange === void 0 || onChange(key);\n }\n }\n\n // ======================== Render ========================\n var sharedProps = {\n id: mergedId,\n activeKey: mergedActiveKey,\n animated: mergedAnimated,\n tabPosition: tabPosition,\n rtl: rtl,\n mobile: mobile\n };\n var tabNavBarProps = _objectSpread(_objectSpread({}, sharedProps), {}, {\n editable: editable,\n locale: locale,\n moreIcon: moreIcon,\n moreTransitionName: moreTransitionName,\n tabBarGutter: tabBarGutter,\n onTabClick: onInternalTabClick,\n onTabScroll: onTabScroll,\n extra: tabBarExtraContent,\n style: tabBarStyle,\n panes: null,\n getPopupContainer: getPopupContainer,\n popupClassName: popupClassName,\n indicatorSize: indicatorSize,\n indicatorAlign: indicatorAlign\n });\n return /*#__PURE__*/React.createElement(TabContext.Provider, {\n value: {\n tabs: tabs,\n prefixCls: prefixCls\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref,\n id: id,\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(tabPosition), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-mobile\"), mobile), _defineProperty(_classNames, \"\".concat(prefixCls, \"-editable\"), editable), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), rtl), _classNames), className)\n }, restProps), /*#__PURE__*/React.createElement(TabNavListWrapper, _extends({}, tabNavBarProps, {\n renderTabBar: renderTabBar\n })), /*#__PURE__*/React.createElement(TabPanelList, _extends({\n destroyInactiveTabPane: destroyInactiveTabPane\n }, sharedProps, {\n animated: mergedAnimated\n }))));\n});\nif (process.env.NODE_ENV !== 'production') {\n Tabs.displayName = 'Tabs';\n}\nexport default Tabs;","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?watch=parent';\n export const demoIndex = {\n ids: [\"pathmap-demo-default\",\"pathmap-demo-line\",\"pathmap-demo-markdown\"],\n getter: () => import(/* webpackChunkName: \"meta__PathMap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?type=demo')\n};","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 _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 _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 _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); }\nimport { useFullSidebarData, useLocale, useSiteData } from 'dumi';\nimport { useState } from 'react';\nimport { getLocaleClearPath, getRouteParentPath } from \"./useSidebarData\";\nimport { getLocaleNav, pickRouteSortMeta, useLocaleDocRoutes, useRouteDataComparer } from \"./utils\";\nfunction genNavItem(meta, groups, activePath, link) {\n return _objectSpread({\n title: meta.title || groups[0].title || groups[0].children[0].title,\n order: meta.order || 0,\n activePath: activePath\n }, link ? {\n link: link\n } : {});\n}\n\n/**\n * hook for get nav data\n */\nexport var useNavData = function useNavData() {\n var locale = useLocale();\n var routes = useLocaleDocRoutes();\n var _useSiteData = useSiteData(),\n themeConfig = _useSiteData.themeConfig,\n is2LevelNav = _useSiteData._2_level_nav_available;\n var sidebar = useFullSidebarData();\n var sidebarDataComparer = useRouteDataComparer();\n var _useState = useState(function () {\n // use user config first\n var userNavValue = [];\n var mode;\n if (themeConfig.nav) {\n // 形如:{mode: \"append\", value: []}\n if ('mode' in themeConfig.nav && typeof themeConfig.nav.mode === 'string') {\n mode = themeConfig.nav.mode;\n userNavValue = getLocaleNav(themeConfig.nav.value, locale);\n } else if (!('mode' in themeConfig.nav)) {\n // 形如:[] 或 {\"zh-CN\": []}\n userNavValue = getLocaleNav(themeConfig.nav, locale);\n }\n if (!mode || mode === 'override') return userNavValue;\n }\n\n // fallback to generate nav data from sidebar data\n var data = Object.values(Object.entries(sidebar)\n // make sure shallow nav item before deep\n .sort(function (_ref, _ref2) {\n var _ref3 = _slicedToArray(_ref, 1),\n a = _ref3[0];\n var _ref4 = _slicedToArray(_ref2, 1),\n b = _ref4[0];\n return a.split('/').length - b.split('/').length;\n })\n // convert sidebar data to nav data\n .reduce(function (ret, _ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n link = _ref6[0],\n groups = _ref6[1];\n var clearPath = getLocaleClearPath(link.replace(/^\\//, ''), locale);\n var parentPath = link.replace(clearPath, function (s) {\n return getRouteParentPath(s, {\n is2LevelNav: is2LevelNav,\n locale: locale\n });\n });\n var isNestedNav = link.length > parentPath.length && is2LevelNav;\n var _Object$values$reduce = Object.values(routes).reduce(function (ret, route) {\n // find routes which within the nav path\n if (route.path.startsWith(link.slice(1))) {\n pickRouteSortMeta(ret[0], 'nav', route.meta.frontmatter);\n // generate parent meta for nested nav\n if (isNestedNav) pickRouteSortMeta(ret[1], 'nav.second', route.meta.frontmatter);\n }\n return ret;\n }, [{}, {}]),\n _Object$values$reduce2 = _slicedToArray(_Object$values$reduce, 2),\n firstMeta = _Object$values$reduce2[0],\n secondMeta = _Object$values$reduce2[1];\n if (isNestedNav) {\n var _firstMeta$title, _ret$parentPath, _second$children;\n // fallback to use parent path as 1-level nav title\n (_firstMeta$title = firstMeta.title) !== null && _firstMeta$title !== void 0 ? _firstMeta$title : firstMeta.title = parentPath.split('/').pop().replace(/^[a-z]/, function (s) {\n return s.toUpperCase();\n });\n\n // handle nested nav item as parent children\n var second = (_ret$parentPath = ret[parentPath]) !== null && _ret$parentPath !== void 0 ? _ret$parentPath : ret[parentPath] = genNavItem(firstMeta, groups, parentPath);\n (_second$children = second.children) !== null && _second$children !== void 0 ? _second$children : second.children = [];\n second.children.push(genNavItem(secondMeta, groups, link, groups[0].children[0].link));\n } else {\n // handle root nav item\n ret[link] = genNavItem(firstMeta, groups, link, groups[0].children[0].link);\n }\n return ret;\n }, {}));\n data.forEach(function (item, i) {\n var _item$children;\n // item.link => the parent link is not in routes, but has children, will use parent.title or children.title\n if (!item.link && ((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children.length) === 1) {\n // hoist nav item if only one child\n var first = item.children[0];\n data[i] = _objectSpread(_objectSpread({}, first), {}, {\n title: (item === null || item === void 0 ? void 0 : item.title) || first.title\n });\n } else if (item.children) {\n // sort nav item children by order or title\n item.children.sort(sidebarDataComparer);\n }\n });\n // sort nav items by order or title\n data.sort(sidebarDataComparer);\n if (mode === 'prepend') data.unshift.apply(data, _toConsumableArray(userNavValue));else if (mode === 'append') data.push.apply(data, _toConsumableArray(userNavValue));\n return data;\n }),\n _useState2 = _slicedToArray(_useState, 1),\n nav = _useState2[0];\n return nav;\n};","\"use strict\";\nexports.__esModule = true;\nexports.getParameters = void 0;\nvar define_1 = require(\"codesandbox-import-utils/lib/api/define\");\nexports.getParameters = define_1.getParameters;\n//# sourceMappingURL=define.js.map","'use strict';\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) { /* empty */ }\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?watch=parent';\n export const toc = [{\"id\":\"wordcloud-词云图\",\"depth\":1,\"title\":\"WordCloud 词云图\"},{\"id\":\"代码演示\",\"depth\":2,\"title\":\"代码演示\"},{\"id\":\"单独使用\",\"depth\":3,\"title\":\"单独使用\"},{\"id\":\"使用-markdown-协议\",\"depth\":3,\"title\":\"使用 Markdown 协议\"},{\"id\":\"spec\",\"depth\":2,\"title\":\"Spec\"},{\"id\":\"api\",\"depth\":2,\"title\":\"API\"},{\"id\":\"wordcloudprops\",\"depth\":3,\"title\":\"WordCloudProps\"},{\"id\":\"wordclouddataitem\",\"depth\":3,\"title\":\"WordCloudDataItem\"}];\nexport const frontmatter = {\"title\":\"WordCloud 词云图\",\"toc\":\"content\",\"filename\":\"src/WordCloud/index.md\",\"atomId\":\"WordCloud\",\"lastUpdated\":1734934621000,\"order\":7,\"group\":{\"order\":1,\"title\":\"统计图\"},\"description\":\"词云图通过把文本中常出现的关键词放大,让用户更容易找到重要信息。\"};","import raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nexport default (function () {\n var nextFrameRef = React.useRef(null);\n function cancelNextFrame() {\n raf.cancel(nextFrameRef.current);\n }\n function nextFrame(callback) {\n var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n cancelNextFrame();\n var nextFrameId = raf(function () {\n if (delay <= 1) {\n callback({\n isCanceled: function isCanceled() {\n return nextFrameId !== nextFrameRef.current;\n }\n });\n } else {\n nextFrame(callback, delay - 1);\n }\n });\n nextFrameRef.current = nextFrameId;\n }\n React.useEffect(function () {\n return function () {\n cancelNextFrame();\n };\n }, []);\n return [nextFrame, cancelNextFrame];\n});","'use strict';\nvar global = require('../internals/global');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar Symbol = global.Symbol;\n\n// `Symbol.dispose` well-known symbol\n// https://github.com/tc39/proposal-explicit-resource-management\ndefineWellKnownSymbol('dispose');\n\nif (Symbol) {\n var descriptor = getOwnPropertyDescriptor(Symbol, 'dispose');\n // workaround of NodeJS 20.4 bug\n // https://github.com/nodejs/node/issues/48699\n // and incorrect descriptor from some transpilers and userland helpers\n if (descriptor.enumerable && descriptor.configurable && descriptor.writable) {\n defineProperty(Symbol, 'dispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false });\n }\n}\n","import * as React from 'react';\nvar AddButton = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n editable = props.editable,\n locale = props.locale,\n style = props.style;\n if (!editable || editable.showAdd === false) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"button\", {\n ref: ref,\n type: \"button\",\n className: \"\".concat(prefixCls, \"-nav-add\"),\n style: style,\n \"aria-label\": (locale === null || locale === void 0 ? void 0 : locale.addAriaLabel) || 'Add tab',\n onClick: function onClick(event) {\n editable.onEdit('add', {\n event: event\n });\n }\n }, editable.addIcon || '+');\n});\nexport default AddButton;","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?watch=parent';\n export const demoIndex = {\n ids: [\"chartcoderender-demo-common\",\"chartcoderender-demo-default\",\"chartcoderender-demo-stream\",\"chartcoderender-demo-extra\"],\n getter: () => import(/* webpackChunkName: \"meta__ChartCodeRender\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?type=demo')\n};","'use client';\nimport { createContext, Component, createElement, useContext, useState, useMemo, forwardRef } from 'react';\n\nconst ErrorBoundaryContext = createContext(null);\n\nconst initialState = {\n didCatch: false,\n error: null\n};\nclass ErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.resetErrorBoundary = this.resetErrorBoundary.bind(this);\n this.state = initialState;\n }\n static getDerivedStateFromError(error) {\n return {\n didCatch: true,\n error\n };\n }\n resetErrorBoundary() {\n const {\n error\n } = this.state;\n if (error !== null) {\n var _this$props$onReset, _this$props;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n (_this$props$onReset = (_this$props = this.props).onReset) === null || _this$props$onReset === void 0 ? void 0 : _this$props$onReset.call(_this$props, {\n args,\n reason: \"imperative-api\"\n });\n this.setState(initialState);\n }\n }\n componentDidCatch(error, info) {\n var _this$props$onError, _this$props2;\n (_this$props$onError = (_this$props2 = this.props).onError) === null || _this$props$onError === void 0 ? void 0 : _this$props$onError.call(_this$props2, error, info);\n }\n componentDidUpdate(prevProps, prevState) {\n const {\n didCatch\n } = this.state;\n const {\n resetKeys\n } = this.props;\n\n // There's an edge case where if the thing that triggered the error happens to *also* be in the resetKeys array,\n // we'd end up resetting the error boundary immediately.\n // This would likely trigger a second error to be thrown.\n // So we make sure that we don't check the resetKeys on the first call of cDU after the error is set.\n\n if (didCatch && prevState.error !== null && hasArrayChanged(prevProps.resetKeys, resetKeys)) {\n var _this$props$onReset2, _this$props3;\n (_this$props$onReset2 = (_this$props3 = this.props).onReset) === null || _this$props$onReset2 === void 0 ? void 0 : _this$props$onReset2.call(_this$props3, {\n next: resetKeys,\n prev: prevProps.resetKeys,\n reason: \"keys\"\n });\n this.setState(initialState);\n }\n }\n render() {\n const {\n children,\n fallbackRender,\n FallbackComponent,\n fallback\n } = this.props;\n const {\n didCatch,\n error\n } = this.state;\n let childToRender = children;\n if (didCatch) {\n const props = {\n error,\n resetErrorBoundary: this.resetErrorBoundary\n };\n if (typeof fallbackRender === \"function\") {\n childToRender = fallbackRender(props);\n } else if (FallbackComponent) {\n childToRender = createElement(FallbackComponent, props);\n } else if (fallback !== undefined) {\n childToRender = fallback;\n } else {\n throw error;\n }\n }\n return createElement(ErrorBoundaryContext.Provider, {\n value: {\n didCatch,\n error,\n resetErrorBoundary: this.resetErrorBoundary\n }\n }, childToRender);\n }\n}\nfunction hasArrayChanged() {\n let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return a.length !== b.length || a.some((item, index) => !Object.is(item, b[index]));\n}\n\nfunction assertErrorBoundaryContext(value) {\n if (value == null || typeof value.didCatch !== \"boolean\" || typeof value.resetErrorBoundary !== \"function\") {\n throw new Error(\"ErrorBoundaryContext not found\");\n }\n}\n\nfunction useErrorBoundary() {\n const context = useContext(ErrorBoundaryContext);\n assertErrorBoundaryContext(context);\n const [state, setState] = useState({\n error: null,\n hasError: false\n });\n const memoized = useMemo(() => ({\n resetBoundary: () => {\n context.resetErrorBoundary();\n setState({\n error: null,\n hasError: false\n });\n },\n showBoundary: error => setState({\n error,\n hasError: true\n })\n }), [context.resetErrorBoundary]);\n if (state.hasError) {\n throw state.error;\n }\n return memoized;\n}\n\nfunction withErrorBoundary(component, errorBoundaryProps) {\n const Wrapped = forwardRef((props, ref) => createElement(ErrorBoundary, errorBoundaryProps, createElement(component, {\n ...props,\n ref\n })));\n\n // Format for display in DevTools\n const name = component.displayName || component.name || \"Unknown\";\n Wrapped.displayName = \"withErrorBoundary(\".concat(name, \")\");\n return Wrapped;\n}\n\nexport { ErrorBoundary, ErrorBoundaryContext, useErrorBoundary, withErrorBoundary };\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; };\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n defineProperty(generator, \"_invoke\", { value: makeInvokeMethod(innerFn, self, context) });\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n defineProperty(Gp, \"constructor\", { value: GeneratorFunctionPrototype, configurable: true });\n defineProperty(\n GeneratorFunctionPrototype,\n \"constructor\",\n { value: GeneratorFunction, configurable: true }\n );\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n defineProperty(this, \"_invoke\", { value: enqueue });\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method;\n var method = delegate.iterator[methodName];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method, or a missing .next mehtod, always terminate the\n // yield* loop.\n context.delegate = null;\n\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (methodName === \"throw\" && delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n if (methodName !== \"return\") {\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a '\" + methodName + \"' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(val) {\n var object = Object(val);\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar V8 = require('../internals/engine-v8-version');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar structuredClone = global.structuredClone;\n\nmodule.exports = !!structuredClone && !fails(function () {\n // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false;\n var buffer = new ArrayBuffer(8);\n var clone = structuredClone(buffer, { transfer: [buffer] });\n return buffer.byteLength !== 0 || clone.byteLength !== 8;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar symmetricDifference = require('../internals/set-symmetric-difference');\nvar setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {\n symmetricDifference: symmetricDifference\n});\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $group = require('../internals/array-group');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.groupBy` method\n// https://github.com/tc39/proposal-array-grouping\nexportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) {\n var thisArg = arguments.length > 1 ? arguments[1] : undefined;\n return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor);\n}, true);\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"component\", \"children\", \"onVisibleChanged\", \"onAllRemoved\"],\n _excluded2 = [\"status\"];\n/* eslint react/prop-types: 0 */\nimport * as React from 'react';\nimport OriginCSSMotion from \"./CSSMotion\";\nimport { diffKeys, parseKeys, STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED } from \"./util/diff\";\nimport { supportTransition } from \"./util/motion\";\nvar MOTION_PROP_NAMES = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearPrepare', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];\n/**\n * Generate a CSSMotionList component with config\n * @param transitionSupport No need since CSSMotionList no longer depends on transition support\n * @param CSSMotion CSSMotion component\n */\nexport function genCSSMotionList(transitionSupport) {\n var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion;\n var CSSMotionList = /*#__PURE__*/function (_React$Component) {\n _inherits(CSSMotionList, _React$Component);\n var _super = _createSuper(CSSMotionList);\n function CSSMotionList() {\n var _this;\n _classCallCheck(this, CSSMotionList);\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), \"state\", {\n keyEntities: []\n });\n // ZombieJ: Return the count of rest keys. It's safe to refactor if need more info.\n _defineProperty(_assertThisInitialized(_this), \"removeKey\", function (removeKey) {\n _this.setState(function (prevState) {\n var nextKeyEntities = prevState.keyEntities.map(function (entity) {\n if (entity.key !== removeKey) return entity;\n return _objectSpread(_objectSpread({}, entity), {}, {\n status: STATUS_REMOVED\n });\n });\n return {\n keyEntities: nextKeyEntities\n };\n }, function () {\n var keyEntities = _this.state.keyEntities;\n var restKeysCount = keyEntities.filter(function (_ref) {\n var status = _ref.status;\n return status !== STATUS_REMOVED;\n }).length;\n if (restKeysCount === 0 && _this.props.onAllRemoved) {\n _this.props.onAllRemoved();\n }\n });\n });\n return _this;\n }\n _createClass(CSSMotionList, [{\n key: \"render\",\n value: function render() {\n var _this2 = this;\n var keyEntities = this.state.keyEntities;\n var _this$props = this.props,\n component = _this$props.component,\n children = _this$props.children,\n _onVisibleChanged = _this$props.onVisibleChanged,\n onAllRemoved = _this$props.onAllRemoved,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n var Component = component || React.Fragment;\n var motionProps = {};\n MOTION_PROP_NAMES.forEach(function (prop) {\n motionProps[prop] = restProps[prop];\n delete restProps[prop];\n });\n delete restProps.keys;\n return /*#__PURE__*/React.createElement(Component, restProps, keyEntities.map(function (_ref2, index) {\n var status = _ref2.status,\n eventProps = _objectWithoutProperties(_ref2, _excluded2);\n var visible = status === STATUS_ADD || status === STATUS_KEEP;\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({}, motionProps, {\n key: eventProps.key,\n visible: visible,\n eventProps: eventProps,\n onVisibleChanged: function onVisibleChanged(changedVisible) {\n _onVisibleChanged === null || _onVisibleChanged === void 0 || _onVisibleChanged(changedVisible, {\n key: eventProps.key\n });\n if (!changedVisible) {\n _this2.removeKey(eventProps.key);\n }\n }\n }), function (props, ref) {\n return children(_objectSpread(_objectSpread({}, props), {}, {\n index: index\n }), ref);\n });\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(_ref3, _ref4) {\n var keys = _ref3.keys;\n var keyEntities = _ref4.keyEntities;\n var parsedKeyObjects = parseKeys(keys);\n var mixedKeyEntities = diffKeys(keyEntities, parsedKeyObjects);\n return {\n keyEntities: mixedKeyEntities.filter(function (entity) {\n var prevEntity = keyEntities.find(function (_ref5) {\n var key = _ref5.key;\n return entity.key === key;\n });\n\n // Remove if already mark as removed\n if (prevEntity && prevEntity.status === STATUS_REMOVED && entity.status === STATUS_REMOVE) {\n return false;\n }\n return true;\n })\n };\n }\n }]);\n return CSSMotionList;\n }(React.Component);\n _defineProperty(CSSMotionList, \"defaultProps\", {\n component: 'div'\n });\n return CSSMotionList;\n}\nexport default genCSSMotionList(supportTransition);","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","import { useLocation } from 'react-router-dom';\nimport { useAppData } from \"./appContext\";\nexport function __useFetcher() {\n var _useAppData = useAppData(),\n preloadRoute = _useAppData.preloadRoute;\n var location = useLocation();\n return {\n load: function load(path) {\n preloadRoute(path || location.pathname);\n }\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport raf from \"rc-util/es/raf\";\nimport React, { useEffect, useRef, useState } from 'react';\nvar useIndicator = function useIndicator(options) {\n var activeTabOffset = options.activeTabOffset,\n horizontal = options.horizontal,\n rtl = options.rtl,\n indicatorSize = options.indicatorSize,\n indicatorAlign = options.indicatorAlign;\n var _useState = useState(),\n _useState2 = _slicedToArray(_useState, 2),\n inkStyle = _useState2[0],\n setInkStyle = _useState2[1];\n var inkBarRafRef = useRef();\n var getLength = React.useCallback(function (origin) {\n if (typeof indicatorSize === 'function') {\n return indicatorSize(origin);\n }\n if (typeof indicatorSize === 'number') {\n return indicatorSize;\n }\n return origin;\n }, [indicatorSize]);\n\n // Delay set ink style to avoid remove tab blink\n function cleanInkBarRaf() {\n raf.cancel(inkBarRafRef.current);\n }\n useEffect(function () {\n var newInkStyle = {};\n if (activeTabOffset) {\n if (horizontal) {\n newInkStyle.width = getLength(activeTabOffset.width);\n var key = rtl ? 'right' : 'left';\n if (indicatorAlign === 'start') {\n newInkStyle[key] = activeTabOffset[key];\n }\n if (indicatorAlign === 'center') {\n newInkStyle[key] = activeTabOffset[key] + activeTabOffset.width / 2;\n newInkStyle.transform = rtl ? 'translateX(50%)' : 'translateX(-50%)';\n }\n if (indicatorAlign === 'end') {\n newInkStyle[key] = activeTabOffset[key] + activeTabOffset.width;\n newInkStyle.transform = 'translateX(-100%)';\n }\n } else {\n newInkStyle.height = getLength(activeTabOffset.height);\n if (indicatorAlign === 'start') {\n newInkStyle.top = activeTabOffset.top;\n }\n if (indicatorAlign === 'center') {\n newInkStyle.top = activeTabOffset.top + activeTabOffset.height / 2;\n newInkStyle.transform = 'translateY(-50%)';\n }\n if (indicatorAlign === 'end') {\n newInkStyle.top = activeTabOffset.top + activeTabOffset.height;\n newInkStyle.transform = 'translateY(-100%)';\n }\n }\n }\n cleanInkBarRaf();\n inkBarRafRef.current = raf(function () {\n setInkStyle(newInkStyle);\n });\n return cleanInkBarRaf;\n }, [activeTabOffset, horizontal, rtl, indicatorSize, indicatorAlign, getLength]);\n return {\n style: inkStyle\n };\n};\nexport default useIndicator;","'use strict';\nvar global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar isSupersetOf = require('../internals/set-is-superset-of');\nvar setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');\n\n// `Set.prototype.isSupersetOf` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {\n isSupersetOf: isSupersetOf\n});\n","'use strict';\nvar arrayWith = require('../internals/array-with');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toBigInt = require('../internals/to-big-int');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar PROPER_ORDER = !!function () {\n try {\n // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing\n new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });\n } catch (error) {\n // some early implementations, like WebKit, does not follow the final semantic\n // https://github.com/tc39/proposal-change-array-by-copy/pull/86\n return error === 8;\n }\n}();\n\n// `%TypedArray%.prototype.with` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with\nexportTypedArrayMethod('with', { 'with': function (index, value) {\n var O = aTypedArray(this);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;\n return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);\n} }['with'], !PROPER_ORDER);\n","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\nimport { __assign, __rest, __spreadArray } from \"tslib\";\nimport { memoize, strategies } from '@formatjs/fast-memoize';\nimport { parse, } from '@formatjs/icu-messageformat-parser';\nimport { formatToParts, PART_TYPE, } from './formatters';\n// -- MessageFormat --------------------------------------------------------\nfunction mergeConfig(c1, c2) {\n if (!c2) {\n return c1;\n }\n return __assign(__assign(__assign({}, (c1 || {})), (c2 || {})), Object.keys(c1).reduce(function (all, k) {\n all[k] = __assign(__assign({}, c1[k]), (c2[k] || {}));\n return all;\n }, {}));\n}\nfunction mergeConfigs(defaultConfig, configs) {\n if (!configs) {\n return defaultConfig;\n }\n return Object.keys(defaultConfig).reduce(function (all, k) {\n all[k] = mergeConfig(defaultConfig[k], configs[k]);\n return all;\n }, __assign({}, defaultConfig));\n}\nfunction createFastMemoizeCache(store) {\n return {\n create: function () {\n return {\n get: function (key) {\n return store[key];\n },\n set: function (key, value) {\n store[key] = value;\n },\n };\n },\n };\n}\nfunction createDefaultFormatters(cache) {\n if (cache === void 0) { cache = {\n number: {},\n dateTime: {},\n pluralRules: {},\n }; }\n return {\n getNumberFormat: memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.number),\n strategy: strategies.variadic,\n }),\n getDateTimeFormat: memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.dateTime),\n strategy: strategies.variadic,\n }),\n getPluralRules: memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.pluralRules),\n strategy: strategies.variadic,\n }),\n };\n}\nvar IntlMessageFormat = /** @class */ (function () {\n function IntlMessageFormat(message, locales, overrideFormats, opts) {\n if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }\n var _this = this;\n this.formatterCache = {\n number: {},\n dateTime: {},\n pluralRules: {},\n };\n this.format = function (values) {\n var parts = _this.formatToParts(values);\n // Hot path for straight simple msg translations\n if (parts.length === 1) {\n return parts[0].value;\n }\n var result = parts.reduce(function (all, part) {\n if (!all.length ||\n part.type !== PART_TYPE.literal ||\n typeof all[all.length - 1] !== 'string') {\n all.push(part.value);\n }\n else {\n all[all.length - 1] += part.value;\n }\n return all;\n }, []);\n if (result.length <= 1) {\n return result[0] || '';\n }\n return result;\n };\n this.formatToParts = function (values) {\n return formatToParts(_this.ast, _this.locales, _this.formatters, _this.formats, values, undefined, _this.message);\n };\n this.resolvedOptions = function () {\n var _a;\n return ({\n locale: ((_a = _this.resolvedLocale) === null || _a === void 0 ? void 0 : _a.toString()) ||\n Intl.NumberFormat.supportedLocalesOf(_this.locales)[0],\n });\n };\n this.getAst = function () { return _this.ast; };\n // Defined first because it's used to build the format pattern.\n this.locales = locales;\n this.resolvedLocale = IntlMessageFormat.resolveLocale(locales);\n if (typeof message === 'string') {\n this.message = message;\n if (!IntlMessageFormat.__parse) {\n throw new TypeError('IntlMessageFormat.__parse must be set to process `message` of type `string`');\n }\n var _a = opts || {}, formatters = _a.formatters, parseOpts = __rest(_a, [\"formatters\"]);\n // Parse string messages into an AST.\n this.ast = IntlMessageFormat.__parse(message, __assign(__assign({}, parseOpts), { locale: this.resolvedLocale }));\n }\n else {\n this.ast = message;\n }\n if (!Array.isArray(this.ast)) {\n throw new TypeError('A message must be provided as a String or AST.');\n }\n // Creates a new object with the specified `formats` merged with the default\n // formats.\n this.formats = mergeConfigs(IntlMessageFormat.formats, overrideFormats);\n this.formatters =\n (opts && opts.formatters) || createDefaultFormatters(this.formatterCache);\n }\n Object.defineProperty(IntlMessageFormat, \"defaultLocale\", {\n get: function () {\n if (!IntlMessageFormat.memoizedDefaultLocale) {\n IntlMessageFormat.memoizedDefaultLocale =\n new Intl.NumberFormat().resolvedOptions().locale;\n }\n return IntlMessageFormat.memoizedDefaultLocale;\n },\n enumerable: false,\n configurable: true\n });\n IntlMessageFormat.memoizedDefaultLocale = null;\n IntlMessageFormat.resolveLocale = function (locales) {\n if (typeof Intl.Locale === 'undefined') {\n return;\n }\n var supportedLocales = Intl.NumberFormat.supportedLocalesOf(locales);\n if (supportedLocales.length > 0) {\n return new Intl.Locale(supportedLocales[0]);\n }\n return new Intl.Locale(typeof locales === 'string' ? locales : locales[0]);\n };\n IntlMessageFormat.__parse = parse;\n // Default format options used as the prototype of the `formats` provided to the\n // constructor. These are used when constructing the internal Intl.NumberFormat\n // and Intl.DateTimeFormat instances.\n IntlMessageFormat.formats = {\n number: {\n integer: {\n maximumFractionDigits: 0,\n },\n currency: {\n style: 'currency',\n },\n percent: {\n style: 'percent',\n },\n },\n date: {\n short: {\n month: 'numeric',\n day: 'numeric',\n year: '2-digit',\n },\n medium: {\n month: 'short',\n day: 'numeric',\n year: 'numeric',\n },\n long: {\n month: 'long',\n day: 'numeric',\n year: 'numeric',\n },\n full: {\n weekday: 'long',\n month: 'long',\n day: 'numeric',\n year: 'numeric',\n },\n },\n time: {\n short: {\n hour: 'numeric',\n minute: 'numeric',\n },\n medium: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n },\n long: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short',\n },\n full: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short',\n },\n },\n };\n return IntlMessageFormat;\n}());\nexport { IntlMessageFormat };\n","import isFragment from \"../React/isFragment\";\nimport React from 'react';\nexport default function toArray(children) {\n var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var ret = [];\n React.Children.forEach(children, function (child) {\n if ((child === undefined || child === null) && !option.keepEmpty) {\n return;\n }\n if (Array.isArray(child)) {\n ret = ret.concat(toArray(child));\n } else if (isFragment(child) && child.props) {\n ret = ret.concat(toArray(child.props.children, option));\n } else {\n ret.push(child);\n }\n });\n return ret;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport CSSMotion from 'rc-motion';\nimport { getMotion } from \"../utils/motionUtil\";\nimport MenuContextProvider, { MenuContext } from \"../context/MenuContext\";\nimport SubMenuList from \"./SubMenuList\";\nexport default function InlineSubMenuList(_ref) {\n var id = _ref.id,\n open = _ref.open,\n keyPath = _ref.keyPath,\n children = _ref.children;\n var fixedMode = 'inline';\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions,\n mode = _React$useContext.mode;\n\n // Always use latest mode check\n var sameModeRef = React.useRef(false);\n sameModeRef.current = mode === fixedMode;\n\n // We record `destroy` mark here since when mode change from `inline` to others.\n // The inline list should remove when motion end.\n var _React$useState = React.useState(!sameModeRef.current),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n destroy = _React$useState2[0],\n setDestroy = _React$useState2[1];\n var mergedOpen = sameModeRef.current ? open : false;\n\n // ================================= Effect =================================\n // Reset destroy state when mode change back\n React.useEffect(function () {\n if (sameModeRef.current) {\n setDestroy(false);\n }\n }, [mode]);\n\n // ================================= Render =================================\n var mergedMotion = _objectSpread({}, getMotion(fixedMode, motion, defaultMotions));\n\n // No need appear since nest inlineCollapse changed\n if (keyPath.length > 1) {\n mergedMotion.motionAppear = false;\n }\n\n // Hide inline list when mode changed and motion end\n var originOnVisibleChanged = mergedMotion.onVisibleChanged;\n mergedMotion.onVisibleChanged = function (newVisible) {\n if (!sameModeRef.current && !newVisible) {\n setDestroy(true);\n }\n return originOnVisibleChanged === null || originOnVisibleChanged === void 0 ? void 0 : originOnVisibleChanged(newVisible);\n };\n if (destroy) {\n return null;\n }\n return /*#__PURE__*/React.createElement(MenuContextProvider, {\n mode: fixedMode,\n locked: !sameModeRef.current\n }, /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: mergedOpen\n }, mergedMotion, {\n forceRender: forceSubMenuRender,\n removeOnLeave: false,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }), function (_ref2) {\n var motionClassName = _ref2.className,\n motionStyle = _ref2.style;\n return /*#__PURE__*/React.createElement(SubMenuList, {\n id: id,\n className: motionClassName,\n style: motionStyle\n }, children);\n }));\n}","import { __assign } from \"tslib\";\nimport { formatDate, formatDateTimeRange, formatDateToParts, formatTime, formatTimeToParts, } from './dateTime';\nimport { formatDisplayName } from './displayName';\nimport { InvalidConfigError, MissingDataError } from './error';\nimport { formatList, formatListToParts } from './list';\nimport { formatMessage } from './message';\nimport { formatNumber, formatNumberToParts } from './number';\nimport { formatPlural } from './plural';\nimport { formatRelativeTime } from './relativeTime';\nimport { createFormatters, DEFAULT_INTL_CONFIG } from './utils';\nfunction messagesContainString(messages) {\n var firstMessage = messages ? messages[Object.keys(messages)[0]] : undefined;\n return typeof firstMessage === 'string';\n}\nfunction verifyConfigMessages(config) {\n if (config.onWarn &&\n config.defaultRichTextElements &&\n messagesContainString(config.messages || {})) {\n config.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.github.io/docs/getting-started/message-distribution\");\n }\n}\n/**\n * Create intl object\n * @param config intl config\n * @param cache cache for formatter instances to prevent memory leak\n */\nexport function createIntl(config, cache) {\n var formatters = createFormatters(cache);\n var resolvedConfig = __assign(__assign({}, DEFAULT_INTL_CONFIG), config);\n var locale = resolvedConfig.locale, defaultLocale = resolvedConfig.defaultLocale, onError = resolvedConfig.onError;\n if (!locale) {\n if (onError) {\n onError(new InvalidConfigError(\"\\\"locale\\\" was not configured, using \\\"\".concat(defaultLocale, \"\\\" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details\")));\n }\n // Since there's no registered locale data for `locale`, this will\n // fallback to the `defaultLocale` to make sure things can render.\n // The `messages` are overridden to the `defaultProps` empty object\n // to maintain referential equality across re-renders. It's assumed\n // each contains a `defaultMessage` prop.\n resolvedConfig.locale = resolvedConfig.defaultLocale || 'en';\n }\n else if (!Intl.NumberFormat.supportedLocalesOf(locale).length && onError) {\n onError(new MissingDataError(\"Missing locale data for locale: \\\"\".concat(locale, \"\\\" in Intl.NumberFormat. Using default locale: \\\"\").concat(defaultLocale, \"\\\" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details\")));\n }\n else if (!Intl.DateTimeFormat.supportedLocalesOf(locale).length &&\n onError) {\n onError(new MissingDataError(\"Missing locale data for locale: \\\"\".concat(locale, \"\\\" in Intl.DateTimeFormat. Using default locale: \\\"\").concat(defaultLocale, \"\\\" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details\")));\n }\n verifyConfigMessages(resolvedConfig);\n return __assign(__assign({}, resolvedConfig), { formatters: formatters, formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat), formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat), formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat), formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatDateTimeRange: formatDateTimeRange.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat), formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules), formatMessage: formatMessage.bind(null, resolvedConfig, formatters), $t: formatMessage.bind(null, resolvedConfig, formatters), formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat), formatListToParts: formatListToParts.bind(null, resolvedConfig, formatters.getListFormat), formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames) });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar $findLast = require('../internals/array-iteration-from-last').findLast;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.findLast` method\n// https://tc39.es/ecma262/#sec-array.prototype.findlast\n$({ target: 'Array', proto: true }, {\n findLast: function findLast(callbackfn /* , that = undefined */) {\n return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\naddToUnscopables('findLast');\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar bind = require('../internals/function-bind-context');\nvar aMap = require('../internals/a-map');\nvar iterate = require('../internals/map-iterate');\n\n// `Map.prototype.some` method\n// https://github.com/tc39/proposal-collection-methods\n$({ target: 'Map', proto: true, real: true, forced: true }, {\n some: function some(callbackfn /* , thisArg */) {\n var map = aMap(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(map, function (value, key) {\n if (boundFunction(value, key, map)) return true;\n }, true) === true;\n }\n});\n","import * as React from \"react\";\nconst SvgComponent = (props)=>;\nexport { SvgComponent as ReactComponent };\n\nexport default \"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2IiBmb2N1c2FibGU9ImZhbHNlIj48cGF0aCBkPSJNOTI1LjYgNDA1LjFsLTIwMy0yNTMuN2E2LjUgNi41IDAgMDAtNS0yLjRIMzA2LjRjLTEuOSAwLTMuOC45LTUgMi40bC0yMDMgMjUzLjdhNi41IDYuNSAwIDAwLjIgOC4zbDQwOC42IDQ1OS41YzEuMiAxLjQgMyAyLjEgNC44IDIuMSAxLjggMCAzLjUtLjggNC44LTIuMWw0MDguNi00NTkuNWE2LjUgNi41IDAgMDAuMi04LjN6TTY0NS4yIDIwNi40bDM0LjQgMTMzLjktMTMyLjUtMTMzLjloOTguMXptOC4yIDE3OC41SDM3MC42TDUxMiAyNDJsMTQxLjQgMTQyLjl6TTM3OC44IDIwNi40aDk4LjFMMzQ0LjMgMzQwLjNsMzQuNS0xMzMuOXptLTUzLjQgN2wtNDQuMSAxNzEuNWgtOTMuMWwxMzcuMi0xNzEuNXpNMTk0LjYgNDM0LjlIMjg5bDEyNS44IDI0Ny43LTIyMC4yLTI0Ny43ek01MTIgNzYzLjRMMzQ1LjEgNDM0LjloMzMzLjdMNTEyIDc2My40em05Ny4xLTgwLjhMNzM1IDQzNC45aDk0LjRMNjA5LjEgNjgyLjZ6bTEzMy42LTI5Ny43bC00NC4xLTE3MS41IDEzNy4yIDE3MS41aC05My4xeiIgLz48L3N2Zz4=\";","\n import '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?watch=parent';\n export const demoIndex = {\n ids: [\"wordcloud-demo-0\",\"wordcloud-demo-1\"],\n getter: () => import(/* webpackChunkName: \"meta__WordCloud\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?type=demo')\n};","'use strict';\n// https://github.com/tc39/proposal-async-explicit-resource-management\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar getBuiltIn = require('../internals/get-built-in');\nvar getMethod = require('../internals/get-method');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\n\nvar ASYNC_DISPOSE = wellKnownSymbol('asyncDispose');\nvar Promise = getBuiltIn('Promise');\n\nif (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) {\n defineBuiltIn(AsyncIteratorPrototype, ASYNC_DISPOSE, function () {\n var O = this;\n return new Promise(function (resolve, reject) {\n var $return = getMethod(O, 'return');\n if ($return) {\n Promise.resolve(call($return, O)).then(function () {\n resolve(undefined);\n }, reject);\n } else resolve(undefined);\n });\n });\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","import * as React from \"react\";\nconst SvgComponent = (props)=>;\nexport { SvgComponent as ReactComponent };\n\nexport default \"data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSI2NCA2NCA4OTYgODk2IiBmb2N1c2FibGU9ImZhbHNlIj48cGF0aCBkPSJNMjU3LjcgNzUyYzIgMCA0LS4yIDYtLjVMNDMxLjkgNzIyYzItLjQgMy45LTEuMyA1LjMtMi44bDQyMy45LTQyMy45YTkuOTYgOS45NiAwIDAwMC0xNC4xTDY5NC45IDExNC45Yy0xLjktMS45LTQuNC0yLjktNy4xLTIuOXMtNS4yIDEtNy4xIDIuOUwyNTYuOCA1MzguOGMtMS41IDEuNS0yLjQgMy4zLTIuOCA1LjNsLTI5LjUgMTY4LjJhMzMuNSAzMy41IDAgMDA5LjQgMjkuOGM2LjYgNi40IDE0LjkgOS45IDIzLjggOS45em02Ny40LTE3NC40TDY4Ny44IDIxNWw3My4zIDczLjMtMzYyLjcgMzYyLjYtODguOSAxNS43IDE1LjYtODl6TTg4MCA4MzZIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYzNmMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtMzZjMC0xNy43LTE0LjMtMzItMzItMzJ6IiAvPjwvc3ZnPg==\";","// Copyright (c) 2013 Pieroxy \n// This work is free. You can redistribute it and/or modify it\n// under the terms of the WTFPL, Version 2\n// For more information see LICENSE.txt or http://www.wtfpl.net/\n//\n// For more information, the home page:\n// http://pieroxy.net/blog/pages/lz-string/testing.html\n//\n// LZ-based compression algorithm, version 1.4.5\nvar LZString = (function() {\n\n// private property\nvar f = String.fromCharCode;\nvar keyStrBase64 = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nvar keyStrUriSafe = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\";\nvar baseReverseDic = {};\n\nfunction getBaseValue(alphabet, character) {\n if (!baseReverseDic[alphabet]) {\n baseReverseDic[alphabet] = {};\n for (var i=0 ; i>> 8;\n buf[i*2+1] = current_value % 256;\n }\n return buf;\n },\n\n //decompress from uint8array (UCS-2 big endian format)\n decompressFromUint8Array:function (compressed) {\n if (compressed===null || compressed===undefined){\n return LZString.decompress(compressed);\n } else {\n var buf=new Array(compressed.length/2); // 2 bytes per character\n for (var i=0, TotalLen=buf.length; i> 1;\n }\n } else {\n value = 1;\n for (i=0 ; i> 1;\n }\n }\n context_enlargeIn--;\n if (context_enlargeIn == 0) {\n context_enlargeIn = Math.pow(2, context_numBits);\n context_numBits++;\n }\n delete context_dictionaryToCreate[context_w];\n } else {\n value = context_dictionary[context_w];\n for (i=0 ; i> 1;\n }\n\n\n }\n context_enlargeIn--;\n if (context_enlargeIn == 0) {\n context_enlargeIn = Math.pow(2, context_numBits);\n context_numBits++;\n }\n // Add wc to the dictionary.\n context_dictionary[context_wc] = context_dictSize++;\n context_w = String(context_c);\n }\n }\n\n // Output the code for w.\n if (context_w !== \"\") {\n if (Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)) {\n if (context_w.charCodeAt(0)<256) {\n for (i=0 ; i> 1;\n }\n } else {\n value = 1;\n for (i=0 ; i> 1;\n }\n }\n context_enlargeIn--;\n if (context_enlargeIn == 0) {\n context_enlargeIn = Math.pow(2, context_numBits);\n context_numBits++;\n }\n delete context_dictionaryToCreate[context_w];\n } else {\n value = context_dictionary[context_w];\n for (i=0 ; i> 1;\n }\n\n\n }\n context_enlargeIn--;\n if (context_enlargeIn == 0) {\n context_enlargeIn = Math.pow(2, context_numBits);\n context_numBits++;\n }\n }\n\n // Mark the end of the stream\n value = 2;\n for (i=0 ; i> 1;\n }\n\n // Flush the last char\n while (true) {\n context_data_val = (context_data_val << 1);\n if (context_data_position == bitsPerChar-1) {\n context_data.push(getCharFromInt(context_data_val));\n break;\n }\n else context_data_position++;\n }\n return context_data.join('');\n },\n\n decompress: function (compressed) {\n if (compressed == null) return \"\";\n if (compressed == \"\") return null;\n return LZString._decompress(compressed.length, 32768, function(index) { return compressed.charCodeAt(index); });\n },\n\n _decompress: function (length, resetValue, getNextValue) {\n var dictionary = [],\n next,\n enlargeIn = 4,\n dictSize = 4,\n numBits = 3,\n entry = \"\",\n result = [],\n i,\n w,\n bits, resb, maxpower, power,\n c,\n data = {val:getNextValue(0), position:resetValue, index:1};\n\n for (i = 0; i < 3; i += 1) {\n dictionary[i] = i;\n }\n\n bits = 0;\n maxpower = Math.pow(2,2);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n\n switch (next = bits) {\n case 0:\n bits = 0;\n maxpower = Math.pow(2,8);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n c = f(bits);\n break;\n case 1:\n bits = 0;\n maxpower = Math.pow(2,16);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n c = f(bits);\n break;\n case 2:\n return \"\";\n }\n dictionary[3] = c;\n w = c;\n result.push(c);\n while (true) {\n if (data.index > length) {\n return \"\";\n }\n\n bits = 0;\n maxpower = Math.pow(2,numBits);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n\n switch (c = bits) {\n case 0:\n bits = 0;\n maxpower = Math.pow(2,8);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n\n dictionary[dictSize++] = f(bits);\n c = dictSize-1;\n enlargeIn--;\n break;\n case 1:\n bits = 0;\n maxpower = Math.pow(2,16);\n power=1;\n while (power!=maxpower) {\n resb = data.val & data.position;\n data.position >>= 1;\n if (data.position == 0) {\n data.position = resetValue;\n data.val = getNextValue(data.index++);\n }\n bits |= (resb>0 ? 1 : 0) * power;\n power <<= 1;\n }\n dictionary[dictSize++] = f(bits);\n c = dictSize-1;\n enlargeIn--;\n break;\n case 2:\n return result.join('');\n }\n\n if (enlargeIn == 0) {\n enlargeIn = Math.pow(2, numBits);\n numBits++;\n }\n\n if (dictionary[c]) {\n entry = dictionary[c];\n } else {\n if (c === dictSize) {\n entry = w + w.charAt(0);\n } else {\n return null;\n }\n }\n result.push(entry);\n\n // Add w+entry[0] to the dictionary.\n dictionary[dictSize++] = w + entry.charAt(0);\n enlargeIn--;\n\n w = entry;\n\n if (enlargeIn == 0) {\n enlargeIn = Math.pow(2, numBits);\n numBits++;\n }\n\n }\n }\n};\n return LZString;\n})();\n\nif (typeof define === 'function' && define.amd) {\n define(function () { return LZString; });\n} else if( typeof module !== 'undefined' && module != null ) {\n module.exports = LZString\n} else if( typeof angular !== 'undefined' && angular != null ) {\n angular.module('LZString', [])\n .factory('LZString', function () {\n return LZString;\n });\n}\n","'use strict';\nvar aSet = require('../internals/a-set');\nvar add = require('../internals/set-helpers').add;\nvar clone = require('../internals/set-clone');\nvar getSetRecord = require('../internals/get-set-record');\nvar iterateSimple = require('../internals/iterate-simple');\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function union(other) {\n var O = aSet(this);\n var keysIter = getSetRecord(other).getIterator();\n var result = clone(O);\n iterateSimple(keysIter, function (it) {\n add(result, it);\n });\n return result;\n};\n","export { default as useEvent } from \"./hooks/useEvent\";\nexport { default as useMergedState } from \"./hooks/useMergedState\";\nexport { supportNodeRef, supportRef, useComposeRef } from \"./ref\";\nexport { default as get } from \"./utils/get\";\nexport { default as set } from \"./utils/set\";\nexport { default as warning } from \"./warning\";","import { createFormattedComponent, createFormattedDateTimePartsComponent, } from './src/components/createFormattedComponent';\nimport { createIntl } from './src/components/createIntl';\nimport FormattedDateTimeRange from './src/components/dateTimeRange';\nimport injectIntl, { Context as IntlContext, Provider as RawIntlProvider, } from './src/components/injectIntl';\nimport FormattedMessage from './src/components/message';\nimport FormattedPlural from './src/components/plural';\nimport IntlProvider from './src/components/provider';\nimport FormattedRelativeTime from './src/components/relative';\nimport useIntl from './src/components/useIntl';\nexport { createIntlCache, InvalidConfigError, MessageFormatError, MissingDataError, MissingTranslationError, IntlError as ReactIntlError, IntlErrorCode as ReactIntlErrorCode, UnsupportedFormatterError, } from '@formatjs/intl';\nexport { createIntl, FormattedDateTimeRange, FormattedMessage, FormattedPlural, FormattedRelativeTime, injectIntl, IntlContext, IntlProvider, RawIntlProvider, useIntl, };\nexport function defineMessages(msgs) {\n return msgs;\n}\nexport function defineMessage(msg) {\n return msg;\n}\n// IMPORTANT: Explicit here to prevent api-extractor from outputing `import('./src/types').CustomFormatConfig`\nexport var FormattedDate = createFormattedComponent('formatDate');\nexport var FormattedTime = createFormattedComponent('formatTime');\nexport var FormattedNumber = createFormattedComponent('formatNumber');\nexport var FormattedList = createFormattedComponent('formatList');\nexport var FormattedDisplayName = createFormattedComponent('formatDisplayName');\nexport var FormattedDateParts = createFormattedDateTimePartsComponent('formatDate');\nexport var FormattedTimeParts = createFormattedDateTimePartsComponent('formatTime');\nexport { FormattedListParts, FormattedNumberParts, } from './src/components/createFormattedComponent';\n","import { __assign, __spreadArray } from \"tslib\";\nimport { memoize, strategies } from '@formatjs/fast-memoize';\nimport { IntlMessageFormat } from 'intl-messageformat';\nimport { UnsupportedFormatterError } from './error';\nexport function invariant(condition, message, Err) {\n if (Err === void 0) { Err = Error; }\n if (!condition) {\n throw new Err(message);\n }\n}\nexport function filterProps(props, allowlist, defaults) {\n if (defaults === void 0) { defaults = {}; }\n return allowlist.reduce(function (filtered, name) {\n if (name in props) {\n filtered[name] = props[name];\n }\n else if (name in defaults) {\n filtered[name] = defaults[name];\n }\n return filtered;\n }, {});\n}\nvar defaultErrorHandler = function (error) {\n // @ts-ignore just so we don't need to declare dep on @types/node\n if (process.env.NODE_ENV !== 'production') {\n console.error(error);\n }\n};\nvar defaultWarnHandler = function (warning) {\n // @ts-ignore just so we don't need to declare dep on @types/node\n if (process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n};\nexport var DEFAULT_INTL_CONFIG = {\n formats: {},\n messages: {},\n timeZone: undefined,\n defaultLocale: 'en',\n defaultFormats: {},\n fallbackOnEmptyString: true,\n onError: defaultErrorHandler,\n onWarn: defaultWarnHandler,\n};\nexport function createIntlCache() {\n return {\n dateTime: {},\n number: {},\n message: {},\n relativeTime: {},\n pluralRules: {},\n list: {},\n displayNames: {},\n };\n}\nfunction createFastMemoizeCache(store) {\n return {\n create: function () {\n return {\n get: function (key) {\n return store[key];\n },\n set: function (key, value) {\n store[key] = value;\n },\n };\n },\n };\n}\n/**\n * Create intl formatters and populate cache\n * @param cache explicit cache to prevent leaking memory\n */\nexport function createFormatters(cache) {\n if (cache === void 0) { cache = createIntlCache(); }\n var RelativeTimeFormat = Intl.RelativeTimeFormat;\n var ListFormat = Intl.ListFormat;\n var DisplayNames = Intl.DisplayNames;\n var getDateTimeFormat = memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.dateTime),\n strategy: strategies.variadic,\n });\n var getNumberFormat = memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.number),\n strategy: strategies.variadic,\n });\n var getPluralRules = memoize(function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.pluralRules),\n strategy: strategies.variadic,\n });\n return {\n getDateTimeFormat: getDateTimeFormat,\n getNumberFormat: getNumberFormat,\n getMessageFormat: memoize(function (message, locales, overrideFormats, opts) {\n return new IntlMessageFormat(message, locales, overrideFormats, __assign({ formatters: {\n getNumberFormat: getNumberFormat,\n getDateTimeFormat: getDateTimeFormat,\n getPluralRules: getPluralRules,\n } }, (opts || {})));\n }, {\n cache: createFastMemoizeCache(cache.message),\n strategy: strategies.variadic,\n }),\n getRelativeTimeFormat: memoize(function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new (RelativeTimeFormat.bind.apply(RelativeTimeFormat, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.relativeTime),\n strategy: strategies.variadic,\n }),\n getPluralRules: getPluralRules,\n getListFormat: memoize(function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new (ListFormat.bind.apply(ListFormat, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.list),\n strategy: strategies.variadic,\n }),\n getDisplayNames: memoize(function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return new (DisplayNames.bind.apply(DisplayNames, __spreadArray([void 0], args, false)))();\n }, {\n cache: createFastMemoizeCache(cache.displayNames),\n strategy: strategies.variadic,\n }),\n };\n}\nexport function getNamedFormat(formats, type, name, onError) {\n var formatType = formats && formats[type];\n var format;\n if (formatType) {\n format = formatType[name];\n }\n if (format) {\n return format;\n }\n onError(new UnsupportedFormatterError(\"No \".concat(type, \" format named: \").concat(name)));\n}\n","import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { DEFAULT_INTL_CONFIG as CORE_DEFAULT_INTL_CONFIG } from '@formatjs/intl';\nexport function invariant(condition, message, Err) {\n if (Err === void 0) { Err = Error; }\n if (!condition) {\n throw new Err(message);\n }\n}\nexport function invariantIntlContext(intl) {\n invariant(intl, '[React Intl] Could not find required `intl` object. ' +\n ' needs to exist in the component ancestry.');\n}\nexport var DEFAULT_INTL_CONFIG = __assign(__assign({}, CORE_DEFAULT_INTL_CONFIG), { textComponent: React.Fragment });\n/**\n * Takes a `formatXMLElementFn`, and composes it in function, which passes\n * argument `parts` through, assigning unique key to each part, to prevent\n * \"Each child in a list should have a unique \"key\"\" React error.\n * @param formatXMLElementFn\n */\nexport function assignUniqueKeysToParts(formatXMLElementFn) {\n return function (parts) {\n // eslint-disable-next-line prefer-rest-params\n return formatXMLElementFn(React.Children.toArray(parts));\n };\n}\nexport function shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n if (!objA || !objB) {\n return false;\n }\n var aKeys = Object.keys(objA);\n var bKeys = Object.keys(objB);\n var len = aKeys.length;\n if (bKeys.length !== len) {\n return false;\n }\n for (var i = 0; i < len; i++) {\n var key = aKeys[i];\n if (objA[key] !== objB[key] ||\n !Object.prototype.hasOwnProperty.call(objB, key)) {\n return false;\n }\n }\n return true;\n}\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","import { __assign } from \"tslib\";\nimport { IntlFormatError } from './error';\nimport { filterProps, getNamedFormat } from './utils';\nvar DATE_TIME_FORMAT_OPTIONS = [\n 'formatMatcher',\n 'timeZone',\n 'hour12',\n 'weekday',\n 'era',\n 'year',\n 'month',\n 'day',\n 'hour',\n 'minute',\n 'second',\n 'timeZoneName',\n 'hourCycle',\n 'dateStyle',\n 'timeStyle',\n 'calendar',\n // 'dayPeriod',\n 'numberingSystem',\n 'fractionalSecondDigits',\n];\nexport function getFormatter(_a, type, getDateTimeFormat, options) {\n var locale = _a.locale, formats = _a.formats, onError = _a.onError, timeZone = _a.timeZone;\n if (options === void 0) { options = {}; }\n var format = options.format;\n var defaults = __assign(__assign({}, (timeZone && { timeZone: timeZone })), (format && getNamedFormat(formats, type, format, onError)));\n var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS, defaults);\n if (type === 'time' &&\n !filteredOptions.hour &&\n !filteredOptions.minute &&\n !filteredOptions.second &&\n !filteredOptions.timeStyle &&\n !filteredOptions.dateStyle) {\n // Add default formatting options if hour, minute, or second isn't defined.\n filteredOptions = __assign(__assign({}, filteredOptions), { hour: 'numeric', minute: 'numeric' });\n }\n return getDateTimeFormat(locale, filteredOptions);\n}\nexport function formatDate(config, getDateTimeFormat) {\n var _a = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n _a[_i - 2] = arguments[_i];\n }\n var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n try {\n return getFormatter(config, 'date', getDateTimeFormat, options).format(date);\n }\n catch (e) {\n config.onError(new IntlFormatError('Error formatting date.', config.locale, e));\n }\n return String(date);\n}\nexport function formatTime(config, getDateTimeFormat) {\n var _a = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n _a[_i - 2] = arguments[_i];\n }\n var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n try {\n return getFormatter(config, 'time', getDateTimeFormat, options).format(date);\n }\n catch (e) {\n config.onError(new IntlFormatError('Error formatting time.', config.locale, e));\n }\n return String(date);\n}\nexport function formatDateTimeRange(config, getDateTimeFormat) {\n var _a = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n _a[_i - 2] = arguments[_i];\n }\n var from = _a[0], to = _a[1], _b = _a[2], options = _b === void 0 ? {} : _b;\n var timeZone = config.timeZone, locale = config.locale, onError = config.onError;\n var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS, timeZone ? { timeZone: timeZone } : {});\n try {\n return getDateTimeFormat(locale, filteredOptions).formatRange(from, to);\n }\n catch (e) {\n onError(new IntlFormatError('Error formatting date time range.', config.locale, e));\n }\n return String(from);\n}\nexport function formatDateToParts(config, getDateTimeFormat) {\n var _a = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n _a[_i - 2] = arguments[_i];\n }\n var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n try {\n return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged\n }\n catch (e) {\n config.onError(new IntlFormatError('Error formatting date.', config.locale, e));\n }\n return [];\n}\nexport function formatTimeToParts(config, getDateTimeFormat) {\n var _a = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n _a[_i - 2] = arguments[_i];\n }\n var value = _a[0], _b = _a[1], options = _b === void 0 ? {} : _b;\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n try {\n return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date); // TODO: remove this when https://github.com/microsoft/TypeScript/pull/50402 is merged\n }\n catch (e) {\n config.onError(new IntlFormatError('Error formatting time.', config.locale, e));\n }\n return [];\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport ResizeObserver from 'rc-resize-observer';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport { composeRef } from \"rc-util/es/ref\";\nimport * as React from 'react';\nimport Arrow from \"./Arrow\";\nimport Mask from \"./Mask\";\nimport PopupContent from \"./PopupContent\";\nvar Popup = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var popup = props.popup,\n className = props.className,\n prefixCls = props.prefixCls,\n style = props.style,\n target = props.target,\n _onVisibleChanged = props.onVisibleChanged,\n open = props.open,\n keepDom = props.keepDom,\n fresh = props.fresh,\n onClick = props.onClick,\n mask = props.mask,\n arrow = props.arrow,\n arrowPos = props.arrowPos,\n align = props.align,\n motion = props.motion,\n maskMotion = props.maskMotion,\n forceRender = props.forceRender,\n getPopupContainer = props.getPopupContainer,\n autoDestroy = props.autoDestroy,\n Portal = props.portal,\n zIndex = props.zIndex,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onPointerEnter = props.onPointerEnter,\n ready = props.ready,\n offsetX = props.offsetX,\n offsetY = props.offsetY,\n offsetR = props.offsetR,\n offsetB = props.offsetB,\n onAlign = props.onAlign,\n onPrepare = props.onPrepare,\n stretch = props.stretch,\n targetWidth = props.targetWidth,\n targetHeight = props.targetHeight;\n var childNode = typeof popup === 'function' ? popup() : popup;\n\n // We can not remove holder only when motion finished.\n var isNodeVisible = open || keepDom;\n\n // ======================= Container ========================\n var getPopupContainerNeedParams = (getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer.length) > 0;\n var _React$useState = React.useState(!getPopupContainer || !getPopupContainerNeedParams),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n show = _React$useState2[0],\n setShow = _React$useState2[1];\n\n // Delay to show since `getPopupContainer` need target element\n useLayoutEffect(function () {\n if (!show && getPopupContainerNeedParams && target) {\n setShow(true);\n }\n }, [show, getPopupContainerNeedParams, target]);\n\n // ========================= Render =========================\n if (!show) {\n return null;\n }\n\n // >>>>> Offset\n var AUTO = 'auto';\n var offsetStyle = {\n left: '-1000vw',\n top: '-1000vh',\n right: AUTO,\n bottom: AUTO\n };\n\n // Set align style\n if (ready || !open) {\n var _experimental;\n var points = align.points;\n var dynamicInset = align.dynamicInset || ((_experimental = align._experimental) === null || _experimental === void 0 ? void 0 : _experimental.dynamicInset);\n var alignRight = dynamicInset && points[0][1] === 'r';\n var alignBottom = dynamicInset && points[0][0] === 'b';\n if (alignRight) {\n offsetStyle.right = offsetR;\n offsetStyle.left = AUTO;\n } else {\n offsetStyle.left = offsetX;\n offsetStyle.right = AUTO;\n }\n if (alignBottom) {\n offsetStyle.bottom = offsetB;\n offsetStyle.top = AUTO;\n } else {\n offsetStyle.top = offsetY;\n offsetStyle.bottom = AUTO;\n }\n }\n\n // >>>>> Misc\n var miscStyle = {};\n if (stretch) {\n if (stretch.includes('height') && targetHeight) {\n miscStyle.height = targetHeight;\n } else if (stretch.includes('minHeight') && targetHeight) {\n miscStyle.minHeight = targetHeight;\n }\n if (stretch.includes('width') && targetWidth) {\n miscStyle.width = targetWidth;\n } else if (stretch.includes('minWidth') && targetWidth) {\n miscStyle.minWidth = targetWidth;\n }\n }\n if (!open) {\n miscStyle.pointerEvents = 'none';\n }\n return /*#__PURE__*/React.createElement(Portal, {\n open: forceRender || isNodeVisible,\n getContainer: getPopupContainer && function () {\n return getPopupContainer(target);\n },\n autoDestroy: autoDestroy\n }, /*#__PURE__*/React.createElement(Mask, {\n prefixCls: prefixCls,\n open: open,\n zIndex: zIndex,\n mask: mask,\n motion: maskMotion\n }), /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onAlign,\n disabled: !open\n }, function (resizeObserverRef) {\n return /*#__PURE__*/React.createElement(CSSMotion, _extends({\n motionAppear: true,\n motionEnter: true,\n motionLeave: true,\n removeOnLeave: false,\n forceRender: forceRender,\n leavedClassName: \"\".concat(prefixCls, \"-hidden\")\n }, motion, {\n onAppearPrepare: onPrepare,\n onEnterPrepare: onPrepare,\n visible: open,\n onVisibleChanged: function onVisibleChanged(nextVisible) {\n var _motion$onVisibleChan;\n motion === null || motion === void 0 || (_motion$onVisibleChan = motion.onVisibleChanged) === null || _motion$onVisibleChan === void 0 || _motion$onVisibleChan.call(motion, nextVisible);\n _onVisibleChanged(nextVisible);\n }\n }), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n var cls = classNames(prefixCls, motionClassName, className);\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: composeRef(resizeObserverRef, ref, motionRef),\n className: cls,\n style: _objectSpread(_objectSpread(_objectSpread(_objectSpread({\n '--arrow-x': \"\".concat(arrowPos.x || 0, \"px\"),\n '--arrow-y': \"\".concat(arrowPos.y || 0, \"px\")\n }, offsetStyle), miscStyle), motionStyle), {}, {\n boxSizing: 'border-box',\n zIndex: zIndex\n }, style),\n onMouseEnter: onMouseEnter,\n onMouseLeave: onMouseLeave,\n onPointerEnter: onPointerEnter,\n onClick: onClick\n }, arrow && /*#__PURE__*/React.createElement(Arrow, {\n prefixCls: prefixCls,\n arrow: arrow,\n arrowPos: arrowPos,\n align: align\n }), /*#__PURE__*/React.createElement(PopupContent, {\n cache: !open && !fresh\n }, childNode));\n });\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n Popup.displayName = 'Popup';\n}\nexport default Popup;","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","// @ts-nocheck\n// This file is generated by Umi automatically\n// DO NOT CHANGE IT MANUALLY!\nimport { frontmatter as fm0, toc as t0 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custome-markdown.md?type=frontmatter';\nimport { demoIndex as dmi0 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custome-markdown.md?type=demo-index';\nimport { frontmatter as fm1, toc as t1 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?type=frontmatter';\nimport { demoIndex as dmi1 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?type=demo-index';\nimport { frontmatter as fm2, toc as t2 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/antd-design-x.md?type=frontmatter';\nimport { demoIndex as dmi2 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/antd-design-x.md?type=demo-index';\nimport { frontmatter as fm3, toc as t3 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/quick-start.md?type=frontmatter';\nimport { demoIndex as dmi3 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/quick-start.md?type=demo-index';\nimport { frontmatter as fm4, toc as t4 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custom-ui.md?type=frontmatter';\nimport { demoIndex as dmi4 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custom-ui.md?type=demo-index';\nimport { frontmatter as fm5, toc as t5 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/index.md?type=frontmatter';\nimport { demoIndex as dmi5 } from '/home/runner/work/GPT-Vis/GPT-Vis/docs/index.md?type=demo-index';\nimport { frontmatter as fm6, toc as t6 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/index.md?type=frontmatter';\nimport { demoIndex as dmi6 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Area/index.md?type=demo-index';\nimport { frontmatter as fm7, toc as t7 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/index.md?type=frontmatter';\nimport { demoIndex as dmi7 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/index.md?type=demo-index';\nimport { frontmatter as fm8, toc as t8 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?type=frontmatter';\nimport { demoIndex as dmi8 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?type=demo-index';\nimport { frontmatter as fm9, toc as t9 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/index.md?type=frontmatter';\nimport { demoIndex as dmi9 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Column/index.md?type=demo-index';\nimport { frontmatter as fm10, toc as t10 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/index.md?type=frontmatter';\nimport { demoIndex as dmi10 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/index.md?type=demo-index';\nimport { frontmatter as fm11, toc as t11 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/index.md?type=frontmatter';\nimport { demoIndex as dmi11 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/index.md?type=demo-index';\nimport { frontmatter as fm12, toc as t12 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/index.md?type=frontmatter';\nimport { demoIndex as dmi12 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/index.md?type=demo-index';\nimport { frontmatter as fm13, toc as t13 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/index.md?type=frontmatter';\nimport { demoIndex as dmi13 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/index.md?type=demo-index';\nimport { frontmatter as fm14, toc as t14 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/index.md?type=frontmatter';\nimport { demoIndex as dmi14 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/index.md?type=demo-index';\nimport { frontmatter as fm15, toc as t15 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?type=frontmatter';\nimport { demoIndex as dmi15 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?type=demo-index';\nimport { frontmatter as fm16, toc as t16 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/index.md?type=frontmatter';\nimport { demoIndex as dmi16 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/index.md?type=demo-index';\nimport { frontmatter as fm17, toc as t17 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/index.md?type=frontmatter';\nimport { demoIndex as dmi17 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/index.md?type=demo-index';\nimport { frontmatter as fm18, toc as t18 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/index.md?type=frontmatter';\nimport { demoIndex as dmi18 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Line/index.md?type=demo-index';\nimport { frontmatter as fm19, toc as t19 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Map/index.md?type=frontmatter';\nimport { demoIndex as dmi19 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Map/index.md?type=demo-index';\nimport { frontmatter as fm20, toc as t20 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/index.md?type=frontmatter';\nimport { demoIndex as dmi20 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/index.md?type=demo-index';\nimport { frontmatter as fm21, toc as t21 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/index.md?type=frontmatter';\nimport { demoIndex as dmi21 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/index.md?type=demo-index';\nimport { frontmatter as fm22, toc as t22 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/index.md?type=frontmatter';\nimport { demoIndex as dmi22 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/index.md?type=demo-index';\nimport { frontmatter as fm23, toc as t23 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?type=frontmatter';\nimport { demoIndex as dmi23 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?type=demo-index';\nimport { frontmatter as fm24, toc as t24 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/index.md?type=frontmatter';\nimport { demoIndex as dmi24 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/index.md?type=demo-index';\nimport { frontmatter as fm25, toc as t25 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/index.md?type=frontmatter';\nimport { demoIndex as dmi25 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/index.md?type=demo-index';\nimport { frontmatter as fm26, toc as t26 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/index.md?type=frontmatter';\nimport { demoIndex as dmi26 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/index.md?type=demo-index';\nimport { frontmatter as fm27, toc as t27 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/index.md?type=frontmatter';\nimport { demoIndex as dmi27 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/index.md?type=demo-index';\nimport { frontmatter as fm28, toc as t28 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/index.md?type=frontmatter';\nimport { demoIndex as dmi28 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Text/index.md?type=demo-index';\nimport { frontmatter as fm29, toc as t29 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/index.md?type=frontmatter';\nimport { demoIndex as dmi29 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/index.md?type=demo-index';\nimport { frontmatter as fm30, toc as t30 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?type=frontmatter';\nimport { demoIndex as dmi30 } from '/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?type=demo-index';\n\nexport const filesMeta = {\n 'docs/guide/custome-markdown': {\n frontmatter: fm0,\n toc: t0,\n demoIndex: dmi0,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custome-markdown.md?type=text'),\n },\n 'docs/guide/customize-style': {\n frontmatter: fm1,\n toc: t1,\n demoIndex: dmi1,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?type=text'),\n },\n 'docs/guide/antd-design-x': {\n frontmatter: fm2,\n toc: t2,\n demoIndex: dmi2,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/antd-design-x.md?type=text'),\n },\n 'docs/guide/quick-start': {\n frontmatter: fm3,\n toc: t3,\n demoIndex: dmi3,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/quick-start.md?type=text'),\n },\n 'docs/guide/custom-ui': {\n frontmatter: fm4,\n toc: t4,\n demoIndex: dmi4,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/custom-ui.md?type=text'),\n },\n 'docs/index': {\n frontmatter: fm5,\n toc: t5,\n demoIndex: dmi5,\n textGetter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/index.md?type=text'),\n },\n 'components/Area/index': {\n frontmatter: fm6,\n toc: t6,\n demoIndex: dmi6,\n textGetter: () => import(/* webpackChunkName: \"meta__Area\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Area/index.md?type=text'),\n },\n 'components/Bar/index': {\n frontmatter: fm7,\n toc: t7,\n demoIndex: dmi7,\n textGetter: () => import(/* webpackChunkName: \"meta__Bar\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Bar/index.md?type=text'),\n },\n 'components/ChartCodeRender/index': {\n frontmatter: fm8,\n toc: t8,\n demoIndex: dmi8,\n textGetter: () => import(/* webpackChunkName: \"meta__ChartCodeRender\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/ChartCodeRender/index.md?type=text'),\n },\n 'components/Column/index': {\n frontmatter: fm9,\n toc: t9,\n demoIndex: dmi9,\n textGetter: () => import(/* webpackChunkName: \"meta__Column\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Column/index.md?type=text'),\n },\n 'components/ConfigProvider/index': {\n frontmatter: fm10,\n toc: t10,\n demoIndex: dmi10,\n textGetter: () => import(/* webpackChunkName: \"meta__ConfigProvider\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/ConfigProvider/index.md?type=text'),\n },\n 'components/DualAxes/index': {\n frontmatter: fm11,\n toc: t11,\n demoIndex: dmi11,\n textGetter: () => import(/* webpackChunkName: \"meta__DualAxes\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/DualAxes/index.md?type=text'),\n },\n 'components/FishboneDiagram/index': {\n frontmatter: fm12,\n toc: t12,\n demoIndex: dmi12,\n textGetter: () => import(/* webpackChunkName: \"meta__FishboneDiagram\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/FishboneDiagram/index.md?type=text'),\n },\n 'components/FlowDiagram/index': {\n frontmatter: fm13,\n toc: t13,\n demoIndex: dmi13,\n textGetter: () => import(/* webpackChunkName: \"meta__FlowDiagram\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/FlowDiagram/index.md?type=text'),\n },\n 'components/GPTVis/index': {\n frontmatter: fm14,\n toc: t14,\n demoIndex: dmi14,\n textGetter: () => import(/* webpackChunkName: \"meta__GPTVis\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/GPTVis/index.md?type=text'),\n },\n 'components/HeatMap/index': {\n frontmatter: fm15,\n toc: t15,\n demoIndex: dmi15,\n textGetter: () => import(/* webpackChunkName: \"meta__HeatMap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/HeatMap/index.md?type=text'),\n },\n 'components/Histogram/index': {\n frontmatter: fm16,\n toc: t16,\n demoIndex: dmi16,\n textGetter: () => import(/* webpackChunkName: \"meta__Histogram\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Histogram/index.md?type=text'),\n },\n 'components/IndentedTree/index': {\n frontmatter: fm17,\n toc: t17,\n demoIndex: dmi17,\n textGetter: () => import(/* webpackChunkName: \"meta__IndentedTree\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/IndentedTree/index.md?type=text'),\n },\n 'components/Line/index': {\n frontmatter: fm18,\n toc: t18,\n demoIndex: dmi18,\n textGetter: () => import(/* webpackChunkName: \"meta__Line\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Line/index.md?type=text'),\n },\n 'components/Map/index': {\n frontmatter: fm19,\n toc: t19,\n demoIndex: dmi19,\n textGetter: () => import(/* webpackChunkName: \"meta__Map\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Map/index.md?type=text'),\n },\n 'components/MindMap/index': {\n frontmatter: fm20,\n toc: t20,\n demoIndex: dmi20,\n textGetter: () => import(/* webpackChunkName: \"meta__MindMap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/MindMap/index.md?type=text'),\n },\n 'components/NetworkGraph/index': {\n frontmatter: fm21,\n toc: t21,\n demoIndex: dmi21,\n textGetter: () => import(/* webpackChunkName: \"meta__NetworkGraph\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/NetworkGraph/index.md?type=text'),\n },\n 'components/OrganizationChart/index': {\n frontmatter: fm22,\n toc: t22,\n demoIndex: dmi22,\n textGetter: () => import(/* webpackChunkName: \"meta__OrganizationChart\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/OrganizationChart/index.md?type=text'),\n },\n 'components/PathMap/index': {\n frontmatter: fm23,\n toc: t23,\n demoIndex: dmi23,\n textGetter: () => import(/* webpackChunkName: \"meta__PathMap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/PathMap/index.md?type=text'),\n },\n 'components/Pie/index': {\n frontmatter: fm24,\n toc: t24,\n demoIndex: dmi24,\n textGetter: () => import(/* webpackChunkName: \"meta__Pie\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Pie/index.md?type=text'),\n },\n 'components/PinMap/index': {\n frontmatter: fm25,\n toc: t25,\n demoIndex: dmi25,\n textGetter: () => import(/* webpackChunkName: \"meta__PinMap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/PinMap/index.md?type=text'),\n },\n 'components/Radar/index': {\n frontmatter: fm26,\n toc: t26,\n demoIndex: dmi26,\n textGetter: () => import(/* webpackChunkName: \"meta__Radar\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Radar/index.md?type=text'),\n },\n 'components/Scatter/index': {\n frontmatter: fm27,\n toc: t27,\n demoIndex: dmi27,\n textGetter: () => import(/* webpackChunkName: \"meta__Scatter\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Scatter/index.md?type=text'),\n },\n 'components/Text/index': {\n frontmatter: fm28,\n toc: t28,\n demoIndex: dmi28,\n textGetter: () => import(/* webpackChunkName: \"meta__Text\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Text/index.md?type=text'),\n },\n 'components/Treemap/index': {\n frontmatter: fm29,\n toc: t29,\n demoIndex: dmi29,\n textGetter: () => import(/* webpackChunkName: \"meta__Treemap\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/Treemap/index.md?type=text'),\n },\n 'components/WordCloud/index': {\n frontmatter: fm30,\n toc: t30,\n demoIndex: dmi30,\n textGetter: () => import(/* webpackChunkName: \"meta__WordCloud\" */'/home/runner/work/GPT-Vis/GPT-Vis/src/WordCloud/index.md?type=text'),\n },\n}\n\nexport { tabs as tabsMeta } from './tabs';\n","function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\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; }\nimport { ReactComponent as IconCheck } from '@ant-design/icons-svg/inline-svg/outlined/check.svg';\nimport { ReactComponent as IconCopy } from '@ant-design/icons-svg/inline-svg/outlined/copy.svg';\nimport classNames from 'classnames';\nimport { useSiteData } from 'dumi';\nimport Highlight, { defaultProps } from 'prism-react-renderer';\nimport 'prism-themes/themes/prism-one-light.css';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\nimport \"./index.less\";\n\n/**\n * define DSL which can be highlighted as similar language\n */\nvar SIMILAR_DSL = {\n acss: 'css',\n axml: 'markup',\n vue: 'markup'\n};\nvar SourceCode = function SourceCode(props) {\n var _props$children = props.children,\n children = _props$children === void 0 ? '' : _props$children,\n lang = props.lang,\n _props$highlightLines = props.highlightLines,\n highlightLines = _props$highlightLines === void 0 ? [] : _props$highlightLines;\n var timer = useRef();\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isCopied = _useState2[0],\n setIsCopied = _useState2[1];\n var _useState3 = useState(children),\n _useState4 = _slicedToArray(_useState3, 2),\n text = _useState4[0],\n setText = _useState4[1];\n var _useSiteData = useSiteData(),\n themeConfig = _useSiteData.themeConfig;\n useEffect(function () {\n var isShell = /shellscript|shell|bash|sh|zsh/.test(lang);\n if (isShell) {\n var _text = children.replace(/^(\\$|>)\\s/gm, '');\n setText(_text);\n }\n }, [lang, children]);\n var code = /*#__PURE__*/React.createElement(Highlight, _extends({}, defaultProps, {\n code: props.textarea ? children : children.trim(),\n language: SIMILAR_DSL[lang] || lang,\n theme: undefined\n }), function (_ref) {\n var className = _ref.className,\n style = _ref.style,\n tokens = _ref.tokens,\n getLineProps = _ref.getLineProps,\n getTokenProps = _ref.getTokenProps;\n return /*#__PURE__*/React.createElement(\"pre\", {\n className: className,\n style: style\n }, tokens.map(function (line, i) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: String(i),\n className: classNames({\n highlighted: highlightLines.includes(i + 1),\n wrap: themeConfig.showLineNum\n })\n }, themeConfig.showLineNum && /*#__PURE__*/React.createElement(\"span\", {\n className: \"token-line-num\"\n }, i + 1), /*#__PURE__*/React.createElement(\"div\", _extends({}, getLineProps({\n line: line,\n key: i\n }), {\n className: classNames({\n 'line-cell': themeConfig.showLineNum\n })\n }), line.map(function (token, key) {\n return (\n /*#__PURE__*/\n // getTokenProps 返回值包含 key\n // eslint-disable-next-line react/jsx-key\n React.createElement(\"span\", getTokenProps({\n token: token,\n key: key\n }))\n );\n })));\n }));\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-source-code\"\n }, /*#__PURE__*/React.createElement(CopyToClipboard, {\n text: text,\n onCopy: function onCopy() {\n setIsCopied(true);\n clearTimeout(timer.current);\n timer.current = window.setTimeout(function () {\n return setIsCopied(false);\n }, 2000);\n }\n }, /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: \"dumi-default-source-code-copy\",\n \"data-copied\": isCopied || undefined\n }, isCopied ? /*#__PURE__*/React.createElement(IconCheck, null) : /*#__PURE__*/React.createElement(IconCopy, null))), props.textarea ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-source-code-scroll-container\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-source-code-scroll-content\"\n }, code, props.textarea)) : code, props.extra);\n};\nexport default SourceCode;","import Popup from \"./Popup\";\nimport Tooltip from \"./Tooltip\";\nexport { Popup };\nexport default Tooltip;","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n\n// `Iterator.prototype.every` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true }, {\n every: function every(predicate) {\n anObject(this);\n aCallable(predicate);\n var record = getIteratorDirect(this);\n var counter = 0;\n return !iterate(record, function (value, stop) {\n if (!predicate(value, counter++)) return stop();\n }, { IS_RECORD: true, INTERRUPTED: true }).stopped;\n }\n});\n","'use strict';\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar classof = require('../internals/classof-raw');\n\nvar $TypeError = TypeError;\n\n// Includes\n// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]).\n// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception.\nmodule.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) {\n if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected');\n return O.byteLength;\n};\n","export default function contains(root, n) {\n if (!root) {\n return false;\n }\n\n // Use native if support\n if (root.contains) {\n return root.contains(n);\n }\n\n // `document.contains` not support with IE11\n var node = n;\n while (node) {\n if (node === root) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nvar ExtraContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var position = props.position,\n prefixCls = props.prefixCls,\n extra = props.extra;\n if (!extra) {\n return null;\n }\n var content;\n\n // Parse extra\n var assertExtra = {};\n if (_typeof(extra) === 'object' && ! /*#__PURE__*/React.isValidElement(extra)) {\n assertExtra = extra;\n } else {\n assertExtra.right = extra;\n }\n if (position === 'right') {\n content = assertExtra.right;\n }\n if (position === 'left') {\n content = assertExtra.left;\n }\n return content ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra-content\"),\n ref: ref\n }, content) : null;\n});\nif (process.env.NODE_ENV !== 'production') {\n ExtraContent.displayName = 'ExtraContent';\n}\nexport default ExtraContent;","/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\n\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n /**\n * TAB\n */\n TAB: 9,\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12,\n // NUMLOCK on FF/Safari Mac\n /**\n * ENTER\n */\n ENTER: 13,\n /**\n * SHIFT\n */\n SHIFT: 16,\n /**\n * CTRL\n */\n CTRL: 17,\n /**\n * ALT\n */\n ALT: 18,\n /**\n * PAUSE\n */\n PAUSE: 19,\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n /**\n * ESC\n */\n ESC: 27,\n /**\n * SPACE\n */\n SPACE: 32,\n /**\n * PAGE_UP\n */\n PAGE_UP: 33,\n // also NUM_NORTH_EAST\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34,\n // also NUM_SOUTH_EAST\n /**\n * END\n */\n END: 35,\n // also NUM_SOUTH_WEST\n /**\n * HOME\n */\n HOME: 36,\n // also NUM_NORTH_WEST\n /**\n * LEFT\n */\n LEFT: 37,\n // also NUM_WEST\n /**\n * UP\n */\n UP: 38,\n // also NUM_NORTH\n /**\n * RIGHT\n */\n RIGHT: 39,\n // also NUM_EAST\n /**\n * DOWN\n */\n DOWN: 40,\n // also NUM_SOUTH\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n /**\n * INSERT\n */\n INSERT: 45,\n // also NUM_INSERT\n /**\n * DELETE\n */\n DELETE: 46,\n // also NUM_DELETE\n /**\n * ZERO\n */\n ZERO: 48,\n /**\n * ONE\n */\n ONE: 49,\n /**\n * TWO\n */\n TWO: 50,\n /**\n * THREE\n */\n THREE: 51,\n /**\n * FOUR\n */\n FOUR: 52,\n /**\n * FIVE\n */\n FIVE: 53,\n /**\n * SIX\n */\n SIX: 54,\n /**\n * SEVEN\n */\n SEVEN: 55,\n /**\n * EIGHT\n */\n EIGHT: 56,\n /**\n * NINE\n */\n NINE: 57,\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63,\n // needs localization\n /**\n * A\n */\n A: 65,\n /**\n * B\n */\n B: 66,\n /**\n * C\n */\n C: 67,\n /**\n * D\n */\n D: 68,\n /**\n * E\n */\n E: 69,\n /**\n * F\n */\n F: 70,\n /**\n * G\n */\n G: 71,\n /**\n * H\n */\n H: 72,\n /**\n * I\n */\n I: 73,\n /**\n * J\n */\n J: 74,\n /**\n * K\n */\n K: 75,\n /**\n * L\n */\n L: 76,\n /**\n * M\n */\n M: 77,\n /**\n * N\n */\n N: 78,\n /**\n * O\n */\n O: 79,\n /**\n * P\n */\n P: 80,\n /**\n * Q\n */\n Q: 81,\n /**\n * R\n */\n R: 82,\n /**\n * S\n */\n S: 83,\n /**\n * T\n */\n T: 84,\n /**\n * U\n */\n U: 85,\n /**\n * V\n */\n V: 86,\n /**\n * W\n */\n W: 87,\n /**\n * X\n */\n X: 88,\n /**\n * Y\n */\n Y: 89,\n /**\n * Z\n */\n Z: 90,\n /**\n * META\n */\n META: 91,\n // WIN_KEY_LEFT\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n /**\n * F1\n */\n F1: 112,\n /**\n * F2\n */\n F2: 113,\n /**\n * F3\n */\n F3: 114,\n /**\n * F4\n */\n F4: 115,\n /**\n * F5\n */\n F5: 116,\n /**\n * F6\n */\n F6: 117,\n /**\n * F7\n */\n F7: 118,\n /**\n * F8\n */\n F8: 119,\n /**\n * F9\n */\n F9: 120,\n /**\n * F10\n */\n F10: 121,\n /**\n * F11\n */\n F11: 122,\n /**\n * F12\n */\n F12: 123,\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n /**\n * SEMICOLON\n */\n SEMICOLON: 186,\n // needs localization\n /**\n * DASH\n */\n DASH: 189,\n // needs localization\n /**\n * EQUALS\n */\n EQUALS: 187,\n // needs localization\n /**\n * COMMA\n */\n COMMA: 188,\n // needs localization\n /**\n * PERIOD\n */\n PERIOD: 190,\n // needs localization\n /**\n * SLASH\n */\n SLASH: 191,\n // needs localization\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192,\n // needs localization\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222,\n // needs localization\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219,\n // needs localization\n /**\n * BACKSLASH\n */\n BACKSLASH: 220,\n // needs localization\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221,\n // needs localization\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224,\n // Firefox (Gecko) fires this for the meta key instead of 91\n /**\n * WIN_IME\n */\n WIN_IME: 229,\n // ======================== Function ========================\n /**\n * whether text and modified key is entered at the same time.\n */\n isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n if (e.altKey && !e.ctrlKey || e.metaKey ||\n // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n }\n\n // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n default:\n return true;\n }\n },\n /**\n * whether character is entered.\n */\n isCharacterKey: function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n }\n\n // Safari sends zero key code for non-latin characters.\n if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n default:\n return false;\n }\n }\n};\nexport default KeyCode;","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nexport { _objectSpread2 as default };","'use strict';\n// https://github.com/tc39/proposal-explicit-resource-management\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aCallable = require('../internals/a-callable');\nvar anInstance = require('../internals/an-instance');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar addDisposableResource = require('../internals/add-disposable-resource');\n\nvar SuppressedError = getBuiltIn('SuppressedError');\nvar $ReferenceError = ReferenceError;\n\nvar DISPOSE = wellKnownSymbol('dispose');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar DISPOSABLE_STACK = 'DisposableStack';\nvar setInternalState = InternalStateModule.set;\nvar getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK);\n\nvar HINT = 'sync-dispose';\nvar DISPOSED = 'disposed';\nvar PENDING = 'pending';\n\nvar getPendingDisposableStackInternalState = function (stack) {\n var internalState = getDisposableStackInternalState(stack);\n if (internalState.state === DISPOSED) throw new $ReferenceError(DISPOSABLE_STACK + ' already disposed');\n return internalState;\n};\n\nvar $DisposableStack = function DisposableStack() {\n setInternalState(anInstance(this, DisposableStackPrototype), {\n type: DISPOSABLE_STACK,\n state: PENDING,\n stack: []\n });\n\n if (!DESCRIPTORS) this.disposed = false;\n};\n\nvar DisposableStackPrototype = $DisposableStack.prototype;\n\ndefineBuiltIns(DisposableStackPrototype, {\n dispose: function dispose() {\n var internalState = getDisposableStackInternalState(this);\n if (internalState.state === DISPOSED) return;\n internalState.state = DISPOSED;\n if (!DESCRIPTORS) this.disposed = true;\n var stack = internalState.stack;\n var i = stack.length;\n var thrown = false;\n var suppressed;\n while (i) {\n var disposeMethod = stack[--i];\n stack[i] = null;\n try {\n disposeMethod();\n } catch (errorResult) {\n if (thrown) {\n suppressed = new SuppressedError(errorResult, suppressed);\n } else {\n thrown = true;\n suppressed = errorResult;\n }\n }\n }\n internalState.stack = null;\n if (thrown) throw suppressed;\n },\n use: function use(value) {\n addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT);\n return value;\n },\n adopt: function adopt(value, onDispose) {\n var internalState = getPendingDisposableStackInternalState(this);\n aCallable(onDispose);\n addDisposableResource(internalState, undefined, HINT, function () {\n onDispose(value);\n });\n return value;\n },\n defer: function defer(onDispose) {\n var internalState = getPendingDisposableStackInternalState(this);\n aCallable(onDispose);\n addDisposableResource(internalState, undefined, HINT, onDispose);\n },\n move: function move() {\n var internalState = getPendingDisposableStackInternalState(this);\n var newDisposableStack = new $DisposableStack();\n getDisposableStackInternalState(newDisposableStack).stack = internalState.stack;\n internalState.stack = [];\n internalState.state = DISPOSED;\n if (!DESCRIPTORS) this.disposed = true;\n return newDisposableStack;\n }\n});\n\nif (DESCRIPTORS) defineBuiltInAccessor(DisposableStackPrototype, 'disposed', {\n configurable: true,\n get: function disposed() {\n return getDisposableStackInternalState(this).state === DISPOSED;\n }\n});\n\ndefineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: 'dispose' });\ndefineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true });\n\n$({ global: true, constructor: true }, {\n DisposableStack: $DisposableStack\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","\n import '/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?watch=parent';\n export const demoIndex = {\n ids: [\"docs-guide-customize-style-demo-0\",\"docs-guide-customize-style-demo-1\"],\n getter: () => import(/* webpackChunkName: \"meta__docs\" */'/home/runner/work/GPT-Vis/GPT-Vis/docs/guide/customize-style.md?type=demo')\n};","var autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nexport var placements = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflow\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflow\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow\n },\n leftBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflow\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow\n },\n rightBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflow\n }\n};\nexport var placementsRtl = {\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflow\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflow\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflow\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflow\n },\n rightTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflow\n },\n rightBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflow\n },\n leftTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflow\n },\n leftBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflow\n }\n};\nexport default placements;","'use strict';\nvar $ = require('../internals/export');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar uniqueBy = require('../internals/array-unique-by');\n\n// `Array.prototype.uniqueBy` method\n// https://github.com/tc39/proposal-array-unique\n$({ target: 'Array', proto: true, forced: true }, {\n uniqueBy: uniqueBy\n});\n\naddToUnscopables('uniqueBy');\n","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar $arrayUniqueBy = require('../internals/array-unique-by');\n\nvar arrayUniqueBy = uncurryThis($arrayUniqueBy);\nvar concat = uncurryThis([].concat);\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\nvar ordinaryMetadataKeys = function (O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys;\n};\n\n// `Reflect.getMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({ target: 'Reflect', stat: true }, {\n getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryMetadataKeys(anObject(target), targetKey);\n }\n});\n","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nexport { _possibleConstructorReturn as default };","import React, { forwardRef, useMemo } from 'react';\nimport { composeRef, supportRef } from \"rc-util/es/ref\";\nvar Overlay = /*#__PURE__*/forwardRef(function (props, ref) {\n var overlay = props.overlay,\n arrow = props.arrow,\n prefixCls = props.prefixCls;\n var overlayNode = useMemo(function () {\n var overlayElement;\n if (typeof overlay === 'function') {\n overlayElement = overlay();\n } else {\n overlayElement = overlay;\n }\n return overlayElement;\n }, [overlay]);\n var composedRef = composeRef(ref, overlayNode === null || overlayNode === void 0 ? void 0 : overlayNode.ref);\n return /*#__PURE__*/React.createElement(React.Fragment, null, arrow && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-arrow\")\n }), /*#__PURE__*/React.cloneElement(overlayNode, {\n ref: supportRef(overlayNode) ? composedRef : undefined\n }));\n});\nexport default Overlay;","const CONNECT_INTERVAL = 500;\nconst CONNECT_MAX_ATTEMPTS = 20;\nconst DEFAULT_FRAME_HEIGHT = 300;\nconst DEFAULT_ORIGIN = \"https://stackblitz.com\";\nconst PROJECT_TEMPLATES = [\n \"angular-cli\",\n \"create-react-app\",\n \"html\",\n \"javascript\",\n \"node\",\n \"polymer\",\n \"typescript\",\n \"vue\"\n];\nconst UI_SIDEBAR_VIEWS = [\"project\", \"search\", \"ports\", \"settings\"];\nconst UI_THEMES = [\"light\", \"dark\"];\nconst UI_VIEWS = [\"editor\", \"preview\"];\nconst generators = {\n clickToLoad: (value) => trueParam(\"ctl\", value),\n devToolsHeight: (value) => percentParam(\"devtoolsheight\", value),\n forceEmbedLayout: (value) => trueParam(\"embed\", value),\n hideDevTools: (value) => trueParam(\"hidedevtools\", value),\n hideExplorer: (value) => trueParam(\"hideExplorer\", value),\n hideNavigation: (value) => trueParam(\"hideNavigation\", value),\n openFile: (value) => stringParams(\"file\", value),\n showSidebar: (value) => booleanParam(\"showSidebar\", value),\n sidebarView: (value) => enumParam(\"sidebarView\", value, UI_SIDEBAR_VIEWS),\n startScript: (value) => stringParams(\"startScript\", value),\n terminalHeight: (value) => percentParam(\"terminalHeight\", value),\n theme: (value) => enumParam(\"theme\", value, UI_THEMES),\n view: (value) => enumParam(\"view\", value, UI_VIEWS),\n zenMode: (value) => trueParam(\"zenMode\", value),\n organization: (value) => `${stringParams(\"orgName\", value?.name)}&${stringParams(\"orgProvider\", value?.provider)}`,\n crossOriginIsolated: (value) => trueParam(\"corp\", value)\n};\nfunction buildParams(options = {}) {\n const params = Object.entries(options).map(([key, value]) => {\n if (value != null && generators.hasOwnProperty(key)) {\n return generators[key](value);\n }\n return \"\";\n }).filter(Boolean);\n return params.length ? `?${params.join(\"&\")}` : \"\";\n}\nfunction trueParam(name, value) {\n if (value === true) {\n return `${name}=1`;\n }\n return \"\";\n}\nfunction booleanParam(name, value) {\n if (typeof value === \"boolean\") {\n return `${name}=${value ? \"1\" : \"0\"}`;\n }\n return \"\";\n}\nfunction percentParam(name, value) {\n if (typeof value === \"number\" && !Number.isNaN(value)) {\n const clamped = Math.min(100, Math.max(0, value));\n return `${name}=${encodeURIComponent(Math.round(clamped))}`;\n }\n return \"\";\n}\nfunction enumParam(name, value = \"\", allowList = []) {\n if (allowList.includes(value)) {\n return `${name}=${encodeURIComponent(value)}`;\n }\n return \"\";\n}\nfunction stringParams(name, value) {\n const values = Array.isArray(value) ? value : [value];\n return values.filter((val) => typeof val === \"string\" && val.trim() !== \"\").map((val) => `${name}=${encodeURIComponent(val)}`).join(\"&\");\n}\nfunction genID() {\n return Math.random().toString(36).slice(2, 6) + Math.random().toString(36).slice(2, 6);\n}\nfunction openUrl(route, options) {\n return `${getOrigin(options)}${route}${buildParams(options)}`;\n}\nfunction embedUrl(route, options) {\n const config = {\n forceEmbedLayout: true\n };\n if (options && typeof options === \"object\") {\n Object.assign(config, options);\n }\n return `${getOrigin(config)}${route}${buildParams(config)}`;\n}\nfunction getOrigin(options = {}) {\n const origin = typeof options.origin === \"string\" ? options.origin : DEFAULT_ORIGIN;\n return origin.replace(/\\/$/, \"\");\n}\nfunction replaceAndEmbed(target, frame, options) {\n if (!frame || !target || !target.parentNode) {\n throw new Error(\"Invalid Element\");\n }\n if (target.id) {\n frame.id = target.id;\n }\n if (target.className) {\n frame.className = target.className;\n }\n setFrameDimensions(frame, options);\n setFrameAllowList(target, frame, options);\n target.replaceWith(frame);\n}\nfunction findElement(elementOrId) {\n if (typeof elementOrId === \"string\") {\n const element = document.getElementById(elementOrId);\n if (!element) {\n throw new Error(`Could not find element with id '${elementOrId}'`);\n }\n return element;\n } else if (elementOrId instanceof HTMLElement) {\n return elementOrId;\n }\n throw new Error(`Invalid element: ${elementOrId}`);\n}\nfunction openTarget(options) {\n return options && options.newWindow === false ? \"_self\" : \"_blank\";\n}\nfunction setFrameDimensions(frame, options = {}) {\n const height = Object.hasOwnProperty.call(options, \"height\") ? `${options.height}` : `${DEFAULT_FRAME_HEIGHT}`;\n const width = Object.hasOwnProperty.call(options, \"width\") ? `${options.width}` : void 0;\n frame.setAttribute(\"height\", height);\n if (width) {\n frame.setAttribute(\"width\", width);\n } else {\n frame.setAttribute(\"style\", \"width:100%;\");\n }\n}\nfunction setFrameAllowList(target, frame, options = {}) {\n const allowList = target.allow?.split(\";\")?.map((key) => key.trim()) ?? [];\n if (options.crossOriginIsolated && !allowList.includes(\"cross-origin-isolated\")) {\n allowList.push(\"cross-origin-isolated\");\n }\n if (allowList.length > 0) {\n frame.allow = allowList.join(\"; \");\n }\n}\nclass RDC {\n constructor(port) {\n this.pending = {};\n this.port = port;\n this.port.onmessage = this.messageListener.bind(this);\n }\n request({ type, payload }) {\n return new Promise((resolve, reject) => {\n const id = genID();\n this.pending[id] = { resolve, reject };\n this.port.postMessage({\n type,\n payload: {\n ...payload,\n // Ensure the payload object includes the request ID\n __reqid: id\n }\n });\n });\n }\n messageListener(event) {\n if (typeof event.data.payload?.__reqid !== \"string\") {\n return;\n }\n const { type, payload } = event.data;\n const { __reqid: id, __success: success, __error: error } = payload;\n if (this.pending[id]) {\n if (success) {\n this.pending[id].resolve(this.cleanResult(payload));\n } else {\n this.pending[id].reject(error ? `${type}: ${error}` : type);\n }\n delete this.pending[id];\n }\n }\n cleanResult(payload) {\n const result = { ...payload };\n delete result.__reqid;\n delete result.__success;\n delete result.__error;\n return Object.keys(result).length ? result : null;\n }\n}\nclass VM {\n constructor(port, config) {\n this.editor = {\n /**\n * Open one of several files in tabs and/or split panes.\n *\n * @since 1.7.0 Added support for opening multiple files\n */\n openFile: (path) => {\n return this._rdc.request({\n type: \"SDK_OPEN_FILE\",\n payload: { path }\n });\n },\n /**\n * Set a project file as the currently selected file.\n *\n * - This may update the highlighted file in the file explorer,\n * and the currently open and/or focused editor tab.\n * - It will _not_ open a new editor tab if the provided path does not\n * match a currently open tab. See `vm.editor.openFile` to open files.\n *\n * @since 1.7.0\n * @experimental\n */\n setCurrentFile: (path) => {\n return this._rdc.request({\n type: \"SDK_SET_CURRENT_FILE\",\n payload: { path }\n });\n },\n /**\n * Change the color theme\n *\n * @since 1.7.0\n */\n setTheme: (theme) => {\n return this._rdc.request({\n type: \"SDK_SET_UI_THEME\",\n payload: { theme }\n });\n },\n /**\n * Change the display mode of the project:\n *\n * - `default`: show the editor and preview pane\n * - `editor`: show the editor pane only\n * - `preview`: show the preview pane only\n *\n * @since 1.7.0\n */\n setView: (view) => {\n return this._rdc.request({\n type: \"SDK_SET_UI_VIEW\",\n payload: { view }\n });\n },\n /**\n * Change the display mode of the sidebar:\n *\n * - `true`: show the sidebar\n * - `false`: hide the sidebar\n *\n * @since 1.7.0\n */\n showSidebar: (visible = true) => {\n return this._rdc.request({\n type: \"SDK_TOGGLE_SIDEBAR\",\n payload: { visible }\n });\n }\n };\n this.preview = {\n /**\n * The origin (protocol and domain) of the preview iframe.\n *\n * In WebContainers-based projects, the origin will always be `null`;\n * try using `vm.preview.getUrl` instead.\n *\n * @see https://developer.stackblitz.com/guides/user-guide/available-environments\n */\n origin: \"\",\n /**\n * Get the current preview URL.\n *\n * In both and EngineBlock and WebContainers-based projects, the preview URL\n * may not reflect the exact path of the current page, after user navigation.\n *\n * In WebContainers-based projects, the preview URL will be `null` initially,\n * and until the project starts a web server.\n *\n * @since 1.7.0\n * @experimental\n */\n getUrl: () => {\n return this._rdc.request({\n type: \"SDK_GET_PREVIEW_URL\",\n payload: {}\n }).then((data) => data?.url ?? null);\n },\n /**\n * Change the path of the preview URL.\n *\n * In WebContainers-based projects, this will be ignored if there is no\n * currently running web server.\n *\n * @since 1.7.0\n * @experimental\n */\n setUrl: (path = \"/\") => {\n if (typeof path !== \"string\" || !path.startsWith(\"/\")) {\n throw new Error(`Invalid argument: expected a path starting with '/', got '${path}'`);\n }\n return this._rdc.request({\n type: \"SDK_SET_PREVIEW_URL\",\n payload: { path }\n });\n }\n };\n this._rdc = new RDC(port);\n Object.defineProperty(this.preview, \"origin\", {\n value: typeof config.previewOrigin === \"string\" ? config.previewOrigin : null,\n writable: false\n });\n }\n /**\n * Apply batch updates to the project files in one call.\n */\n applyFsDiff(diff) {\n const isObject = (val) => val !== null && typeof val === \"object\";\n if (!isObject(diff) || !isObject(diff.create)) {\n throw new Error(\"Invalid diff object: expected diff.create to be an object.\");\n } else if (!Array.isArray(diff.destroy)) {\n throw new Error(\"Invalid diff object: expected diff.destroy to be an array.\");\n }\n return this._rdc.request({\n type: \"SDK_APPLY_FS_DIFF\",\n payload: diff\n });\n }\n /**\n * Get the project’s defined dependencies.\n *\n * In EngineBlock projects, version numbers represent the resolved dependency versions.\n * In WebContainers-based projects, returns data from the project’s `package.json` without resolving installed version numbers.\n */\n getDependencies() {\n return this._rdc.request({\n type: \"SDK_GET_DEPS_SNAPSHOT\",\n payload: {}\n });\n }\n /**\n * Get a snapshot of the project files and their content.\n */\n getFsSnapshot() {\n return this._rdc.request({\n type: \"SDK_GET_FS_SNAPSHOT\",\n payload: {}\n });\n }\n}\nconst connections = [];\nclass Connection {\n constructor(element) {\n this.id = genID();\n this.element = element;\n this.pending = new Promise((resolve, reject) => {\n const listenForSuccess = ({ data, ports }) => {\n if (data?.action === \"SDK_INIT_SUCCESS\" && data.id === this.id) {\n this.vm = new VM(ports[0], data.payload);\n resolve(this.vm);\n cleanup();\n }\n };\n const pingFrame = () => {\n this.element.contentWindow?.postMessage(\n {\n action: \"SDK_INIT\",\n id: this.id\n },\n \"*\"\n );\n };\n function cleanup() {\n window.clearInterval(interval);\n window.removeEventListener(\"message\", listenForSuccess);\n }\n window.addEventListener(\"message\", listenForSuccess);\n pingFrame();\n let attempts = 0;\n const interval = window.setInterval(() => {\n if (this.vm) {\n cleanup();\n return;\n }\n if (attempts >= CONNECT_MAX_ATTEMPTS) {\n cleanup();\n reject(\"Timeout: Unable to establish a connection with the StackBlitz VM\");\n connections.forEach((connection, index) => {\n if (connection.id === this.id) {\n connections.splice(index, 1);\n }\n });\n return;\n }\n attempts++;\n pingFrame();\n }, CONNECT_INTERVAL);\n });\n connections.push(this);\n }\n}\nconst getConnection = (identifier) => {\n const key = identifier instanceof Element ? \"element\" : \"id\";\n return connections.find((c) => c[key] === identifier) ?? null;\n};\nfunction createHiddenInput(name, value) {\n const input = document.createElement(\"input\");\n input.type = \"hidden\";\n input.name = name;\n input.value = value;\n return input;\n}\nfunction encodeFilePath(path) {\n return path.replace(/\\[/g, \"%5B\").replace(/\\]/g, \"%5D\");\n}\nfunction createProjectForm({\n template,\n title,\n description,\n dependencies,\n files,\n settings\n}) {\n if (!PROJECT_TEMPLATES.includes(template)) {\n const names = PROJECT_TEMPLATES.map((t) => `'${t}'`).join(\", \");\n console.warn(`Unsupported project.template: must be one of ${names}`);\n }\n const inputs = [];\n const addInput = (name, value, defaultValue = \"\") => {\n inputs.push(createHiddenInput(name, typeof value === \"string\" ? value : defaultValue));\n };\n addInput(\"project[title]\", title);\n if (typeof description === \"string\" && description.length > 0) {\n addInput(\"project[description]\", description);\n }\n addInput(\"project[template]\", template, \"javascript\");\n if (dependencies) {\n if (template === \"node\") {\n console.warn(\n `Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template.`\n );\n } else {\n addInput(\"project[dependencies]\", JSON.stringify(dependencies));\n }\n }\n if (settings) {\n addInput(\"project[settings]\", JSON.stringify(settings));\n }\n Object.entries(files).forEach(([path, contents]) => {\n addInput(`project[files][${encodeFilePath(path)}]`, contents);\n });\n const form = document.createElement(\"form\");\n form.method = \"POST\";\n form.setAttribute(\"style\", \"display:none!important;\");\n form.append(...inputs);\n return form;\n}\nfunction createProjectFrameHTML(project, options) {\n const form = createProjectForm(project);\n form.action = embedUrl(\"/run\", options);\n form.id = \"sb_run\";\n const html = `\n\n\n\n ${form.outerHTML}\n \n * ^\n * ```\n *\n * @type {State}\n */\n function continuationRawTagOpen(code) {\n if (code === 47) {\n effects.consume(code);\n buffer = '';\n return continuationRawEndTag;\n }\n return continuation(code);\n }\n\n /**\n * In raw continuation, after ` | \n * ^^^^^^\n * ```\n *\n * @type {State}\n */\n function continuationRawEndTag(code) {\n if (code === 62) {\n const name = buffer.toLowerCase();\n if (htmlRawNames.includes(name)) {\n effects.consume(code);\n return continuationClose;\n }\n return continuation(code);\n }\n if (asciiAlpha(code) && buffer.length < 8) {\n // Always the case.\n effects.consume(code);\n buffer += String.fromCharCode(code);\n return continuationRawEndTag;\n }\n return continuation(code);\n }\n\n /**\n * In cdata continuation, after `]`, expecting `]>`.\n *\n * ```markdown\n * > | &<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationCdataInside(code) {\n if (code === 93) {\n effects.consume(code);\n return continuationDeclarationInside;\n }\n return continuation(code);\n }\n\n /**\n * In declaration or instruction continuation, at `>`.\n *\n * ```markdown\n * > | \n * ^\n * > | \n * ^\n * > | \n * ^\n * > | \n * ^\n * > | &<]]>\n * ^\n * ```\n *\n * @type {State}\n */\n function continuationDeclarationInside(code) {\n if (code === 62) {\n effects.consume(code);\n return continuationClose;\n }\n\n // More dashes.\n if (code === 45 && marker === 2) {\n effects.consume(code);\n return continuationDeclarationInside;\n }\n return continuation(code);\n }\n\n /**\n * In closed continuation: everything we get until the eol/eof is part of it.\n *\n * ```markdown\n * > | \n * ^\n * ```\n *\n * @type {State}\n */\n function continuationClose(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit(\"htmlFlowData\");\n return continuationAfter(code);\n }\n effects.consume(code);\n return continuationClose;\n }\n\n /**\n * Done.\n *\n * ```markdown\n * > | \n * ^\n * ```\n *\n * @type {State}\n */\n function continuationAfter(code) {\n effects.exit(\"htmlFlow\");\n // // Feel free to interrupt.\n // tokenizer.interrupt = false\n // // No longer concrete.\n // tokenizer.concrete = false\n return ok(code);\n }\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeNonLazyContinuationStart(effects, ok, nok) {\n const self = this;\n return start;\n\n /**\n * At eol, before continuation.\n *\n * ```markdown\n * > | * ```js\n * ^\n * | b\n * ```\n *\n * @type {State}\n */\n function start(code) {\n if (markdownLineEnding(code)) {\n effects.enter(\"lineEnding\");\n effects.consume(code);\n effects.exit(\"lineEnding\");\n return after;\n }\n return nok(code);\n }\n\n /**\n * A continuation.\n *\n * ```markdown\n * | * ```js\n * > | b\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return self.parser.lazy[self.now().line] ? nok(code) : ok(code);\n }\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeBlankLineBefore(effects, ok, nok) {\n return start;\n\n /**\n * Before eol, expecting blank line.\n *\n * ```markdown\n * > |
\n * ^\n * |\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter(\"lineEnding\");\n effects.consume(code);\n effects.exit(\"lineEnding\");\n return effects.attempt(blankLine, ok, nok);\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ShopTwoToneSvg from \"@ant-design/icons-svg/es/asn/ShopTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ShopTwoTone = function ShopTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ShopTwoToneSvg\n }));\n};\n\n/**![shop](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzOS41IDM0NGgtNjU1Yy0uMyAwLS41LjItLjUuNXY5MS4yYzAgNTkuOCA0OSAxMDguMyAxMDkuMyAxMDguMyA0MC43IDAgNzYuMi0yMiA5NS4xLTU0LjcgMi45LTUuMSA4LjQtOC4zIDE0LjMtOC4zczExLjMgMy4yIDE0LjMgOC4zYzE4LjggMzIuNyA1NC4zIDU0LjcgOTUgNTQuNyA0MC44IDAgNzYuNC0yMi4xIDk1LjEtNTQuOSAyLjktNSA4LjItOC4xIDEzLjktOC4xaC42YzUuOCAwIDExIDMuMSAxMy45IDguMSAxOC44IDMyLjggNTQuNCA1NC45IDk1LjIgNTQuOUM3OTEgNTQ0IDg0MCA0OTUuNSA4NDAgNDM1Ljd2LTkxLjJjMC0uMy0uMi0uNS0uNS0uNXoiIGZpbGw9IiNlNmY0ZmYiIC8+PHBhdGggZD0iTTg4MiAyNzIuMVYxNDRjMC0xNy43LTE0LjMtMzItMzItMzJIMTc0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYxMjguMWMtMTYuNyAxLTMwIDE0LjktMzAgMzEuOXYxMzEuN2ExNzcgMTc3IDAgMDAxNC40IDcwLjRjNC4zIDEwLjIgOS42IDE5LjggMTUuNiA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A5LjYzIDAgMDEtOTUuMSA1NC43QzIzMyA1NDQgMTg0IDQ5NS41IDE4NCA0MzUuN3YtOTEuMmMwLS4zLjItLjUuNS0uNWg2NTVjLjMgMCAuNS4yLjUuNXY5MS4yeiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ShopTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ShopTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SettingFilledSvg from \"@ant-design/icons-svg/es/asn/SettingFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SettingFilled = function SettingFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SettingFilledSvg\n }));\n};\n\n/**![setting](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMi41IDM5MC42Yy0yOS45IDAtNTcuOSAxMS42LTc5LjEgMzIuOC0yMS4xIDIxLjItMzIuOCA0OS4yLTMyLjggNzkuMSAwIDI5LjkgMTEuNyA1Ny45IDMyLjggNzkuMSAyMS4yIDIxLjEgNDkuMiAzMi44IDc5LjEgMzIuOCAyOS45IDAgNTcuOS0xMS43IDc5LjEtMzIuOCAyMS4xLTIxLjIgMzIuOC00OS4yIDMyLjgtNzkuMSAwLTI5LjktMTEuNy01Ny45LTMyLjgtNzkuMWExMTAuOTYgMTEwLjk2IDAgMDAtNzkuMS0zMi44em00MTIuMyAyMzUuNWwtNjUuNC01NS45YzMuMS0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jEtOS41bDEuOC0yLjFjMzQuOC00MS4xIDYxLjUtODcuNCA3OS42LTEzNy43bC45LTIuNmM0LjMtMTIuNC42LTI2LjMtOS41LTM1em0tNDEyLjMgNTIuMmMtOTcuMSAwLTE3NS44LTc4LjctMTc1LjgtMTc1LjhzNzguNy0xNzUuOCAxNzUuOC0xNzUuOCAxNzUuOCA3OC43IDE3NS44IDE3NS44LTc4LjcgMTc1LjgtMTc1LjggMTc1Ljh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SettingFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SettingFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SoundFilledSvg from \"@ant-design/icons-svg/es/asn/SoundFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SoundFilled = function SoundFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SoundFilledSvg\n }));\n};\n\n/**![sound](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg5Mi4xIDczNy44bC0xMTAuMy02My43YTE1LjkgMTUuOSAwIDAwLTIxLjcgNS45bC0xOS45IDM0LjVjLTQuNCA3LjYtMS44IDE3LjQgNS44IDIxLjhMODU2LjMgODAwYTE1LjkgMTUuOSAwIDAwMjEuNy01LjlsMTkuOS0zNC41YzQuNC03LjYgMS43LTE3LjQtNS44LTIxLjh6TTc2MCAzNDRhMTUuOSAxNS45IDAgMDAyMS43IDUuOUw4OTIgMjg2LjJjNy42LTQuNCAxMC4yLTE0LjIgNS44LTIxLjhMODc4IDIzMGExNS45IDE1LjkgMCAwMC0yMS43LTUuOUw3NDYgMjg3LjhhMTUuOTkgMTUuOTkgMCAwMC01LjggMjEuOEw3NjAgMzQ0em0xNzQgMTMySDgwNmMtOC44IDAtMTYgNy4yLTE2IDE2djQwYzAgOC44IDcuMiAxNiAxNiAxNmgxMjhjOC44IDAgMTYtNy4yIDE2LTE2di00MGMwLTguOC03LjItMTYtMTYtMTZ6TTYyNS45IDExNWMtNS45IDAtMTEuOSAxLjYtMTcuNCA1LjNMMjU0IDM1Mkg5MGMtOC44IDAtMTYgNy4yLTE2IDE2djI4OGMwIDguOCA3LjIgMTYgMTYgMTZoMTY0bDM1NC41IDIzMS43YzUuNSAzLjYgMTEuNiA1LjMgMTcuNCA1LjMgMTYuNyAwIDMyLjEtMTMuMyAzMi4xLTMyLjFWMTQ3LjFjMC0xOC44LTE1LjQtMzIuMS0zMi4xLTMyLjF6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SoundFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SoundFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TwitchFilledSvg from \"@ant-design/icons-svg/es/asn/TwitchFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TwitchFilled = function TwitchFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TwitchFilledSvg\n }));\n};\n\n/**![twitch](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGZpbHRlclVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgaGVpZ2h0PSIxMDIuMyUiIGlkPSJhIiB3aWR0aD0iMTAyLjMlIiB4PSItMS4yJSIgeT0iLTEuMiUiPjxmZU9mZnNldCBkeT0iMiIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIgLz48ZmVHYXVzc2lhbkJsdXIgaW49InNoYWRvd09mZnNldE91dGVyMSIgcmVzdWx0PSJzaGFkb3dCbHVyT3V0ZXIxIiBzdGREZXZpYXRpb249IjIiIC8+PGZlQ29sb3JNYXRyaXggaW49InNoYWRvd0JsdXJPdXRlcjEiIHJlc3VsdD0ic2hhZG93TWF0cml4T3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuNSAwIiAvPjxmZU1lcmdlPjxmZU1lcmdlTm9kZSBpbj0ic2hhZG93TWF0cml4T3V0ZXIxIiAvPjxmZU1lcmdlTm9kZSBpbj0iU291cmNlR3JhcGhpYyIgLz48L2ZlTWVyZ2U+PC9maWx0ZXI+PC9kZWZzPjxnIGZpbHRlcj0idXJsKCNhKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOSA5KSI+PHBhdGggZD0iTTE4NS4xNCAxMTJMMTI4IDI1NC44NlY3OTcuN2gxNzEuNDNWOTEySDQxMy43TDUyOCA3OTcuNzFoMTQyLjg2bDIwMC0yMDBWMTEyem0zMTQuMjkgNDI4LjU3SDQxMy43VjMxMC4yMWg4NS43MnptMjAwIDBINjEzLjdWMzEwLjIxaDg1LjcyeiIgLz48L2c+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TwitchFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TwitchFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CopyOutlinedSvg from \"@ant-design/icons-svg/es/asn/CopyOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CopyOutlined = function CopyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CopyOutlinedSvg\n }));\n};\n\n/**![copy](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA2NEgyOTZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNDk2djY4OGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04Vjk2YzAtMTcuNy0xNC4zLTMyLTMyLTMyek03MDQgMTkySDE5MmMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NTMwLjdjMCA4LjUgMy40IDE2LjYgOS40IDIyLjZsMTczLjMgMTczLjNjMi4yIDIuMiA0LjcgNCA3LjQgNS41djEuOWg0LjJjMy41IDEuMyA3LjIgMiAxMSAySDcwNGMxNy43IDAgMzItMTQuMyAzMi0zMlYyMjRjMC0xNy43LTE0LjMtMzItMzItMzJ6TTM1MCA4NTYuMkwyNjMuOSA3NzBIMzUwdjg2LjJ6TTY2NCA4ODhINDE0Vjc0NmMwLTIyLjEtMTcuOS00MC00MC00MEgyMzJWMjY0aDQzMnY2MjR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CopyOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CopyOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport StrikethroughOutlinedSvg from \"@ant-design/icons-svg/es/asn/StrikethroughOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar StrikethroughOutlined = function StrikethroughOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: StrikethroughOutlinedSvg\n }));\n};\n\n/**![strikethrough](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk1MiA0NzRINTY5LjljLTEwLTItMjAuNS00LTMxLjYtNi0xNS45LTIuOS0yMi4yLTQuMS0zMC44LTUuOC01MS4zLTEwLTgyLjItMjAtMTA2LjgtMzQuMi0zNS4xLTIwLjUtNTIuMi00OC4zLTUyLjItODUuMSAwLTM3IDE1LjItNjcuNyA0NC04OSAyOC40LTIxIDY4LjgtMzIuMSAxMTYuOC0zMi4xIDU0LjggMCA5Ny4xIDE0LjQgMTI1LjggNDIuOCAxNC42IDE0LjQgMjUuMyAzMi4xIDMxLjggNTIuNiAxLjMgNC4xIDIuOCAxMCA0LjMgMTcuOC45IDQuOCA1LjIgOC4yIDkuOSA4LjJoNzIuOGM1LjYgMCAxMC4xLTQuNiAxMC4xLTEwLjF2LTFjLS43LTYuOC0xLjMtMTIuMS0yLTE2LTcuMy00My41LTI4LTgxLjctNTkuNy0xMTAuMy00NC40LTQwLjUtMTA5LjctNjEuOC0xODguNy02MS44LTcyLjMgMC0xMzcuNCAxOC4xLTE4My4zIDUwLjktMjUuNiAxOC40LTQ1LjQgNDEuMi01OC42IDY3LjctMTMuNSAyNy4xLTIwLjMgNTguNC0yMC4zIDkyLjkgMCAyOS41IDUuNyA1NC41IDE3LjMgNzYuNSA4LjMgMTUuNyAxOS42IDI5LjUgMzQuMSA0Mkg3MmMtNC40IDAtOCAzLjYtOCA4djYwYzAgNC40IDMuNiA4IDggOGg0MzMuMmMyLjEuNCAzLjkuOCA1LjkgMS4yIDMwLjkgNi4yIDQ5LjUgMTAuNCA2Ni42IDE1LjIgMjMgNi41IDQwLjYgMTMuMyA1NS4yIDIxLjUgMzUuOCAyMC4yIDUzLjMgNDkuMiA1My4zIDg5IDAgMzUuMy0xNS41IDY2LjgtNDMuNiA4OC44LTMwLjUgMjMuOS03NS42IDM2LjQtMTMwLjUgMzYuNC00My43IDAtODAuNy04LjUtMTEwLjItMjUtMjkuMS0xNi4zLTQ5LjEtMzkuOC01OS43LTY5LjUtLjgtMi4yLTEuNy01LjItMi43LTktMS4yLTQuNC01LjMtNy41LTkuNy03LjVoLTc5LjdjLTUuNiAwLTEwLjEgNC42LTEwLjEgMTAuMXYxYy4yIDIuMy40IDQuMi42IDUuNyA2LjUgNDguOCAzMC4zIDg4LjggNzAuNyAxMTguOCA0Ny4xIDM0LjggMTEzLjQgNTMuMiAxOTEuOCA1My4yIDg0LjIgMCAxNTQuOC0xOS44IDIwNC4yLTU3LjMgMjUtMTguOSA0NC4yLTQyLjIgNTcuMS02OSAxMy0yNy4xIDE5LjctNTcuOSAxOS43LTkxLjUgMC0zMS44LTUuOC01OC40LTE3LjgtODEuNC01LjgtMTEuMi0xMy4xLTIxLjUtMjEuOC0zMC44SDk1MmM0LjQgMCA4LTMuNiA4LTh2LTYwYTggOCAwIDAwLTgtNy45eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(StrikethroughOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'StrikethroughOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LockOutlinedSvg from \"@ant-design/icons-svg/es/asn/LockOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LockOutlined = function LockOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LockOutlinedSvg\n }));\n};\n\n/**![lock](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA0NjRoLTY4VjI0MGMwLTcwLjctNTcuMy0xMjgtMTI4LTEyOEgzODhjLTcwLjcgMC0xMjggNTcuMy0xMjggMTI4djIyNGgtNjhjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjM4NGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWNDk2YzAtMTcuNy0xNC4zLTMyLTMyLTMyek0zMzIgMjQwYzAtMzAuOSAyNS4xLTU2IDU2LTU2aDI0OGMzMC45IDAgNTYgMjUuMSA1NiA1NnYyMjRIMzMyVjI0MHptNDYwIDYwMEgyMzJWNTM2aDU2MHYzMDR6TTQ4NCA3MDF2NTNjMCA0LjQgMy42IDggOCA4aDQwYzQuNCAwIDgtMy42IDgtOHYtNTNhNDguMDEgNDguMDEgMCAxMC01NiAweiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LockOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LockOutlined';\n}\nexport default RefIcon;","/**\n * @import {\n * Construct,\n * State,\n * TokenizeContext,\n * Tokenizer\n * } from 'micromark-util-types'\n */\n\nimport { asciiPunctuation } from 'micromark-util-character';\n/** @type {Construct} */\nexport const characterEscape = {\n name: 'characterEscape',\n tokenize: tokenizeCharacterEscape\n};\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeCharacterEscape(effects, ok, nok) {\n return start;\n\n /**\n * Start of character escape.\n *\n * ```markdown\n * > | a\\*b\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n effects.enter(\"characterEscape\");\n effects.enter(\"escapeMarker\");\n effects.consume(code);\n effects.exit(\"escapeMarker\");\n return inside;\n }\n\n /**\n * After `\\`, at punctuation.\n *\n * ```markdown\n * > | a\\*b\n * ^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n // ASCII punctuation.\n if (asciiPunctuation(code)) {\n effects.enter(\"characterEscapeValue\");\n effects.consume(code);\n effects.exit(\"characterEscapeValue\");\n effects.exit(\"characterEscape\");\n return ok;\n }\n return nok(code);\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RightSquareOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightSquareOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RightSquareOutlined = function RightSquareOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RightSquareOutlinedSvg\n }));\n};\n\n/**![right-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQxMi43IDY5Ni41bDI0Ni0xNzhjNC40LTMuMiA0LjQtOS43IDAtMTIuOWwtMjQ2LTE3OGMtNS4zLTMuOC0xMi43IDAtMTIuNyA2LjVWMzgxYzAgMTAuMiA0LjkgMTkuOSAxMy4yIDI1LjlMNTU4LjYgNTEyIDQxMy4yIDYxNy4yYy04LjMgNi0xMy4yIDE1LjYtMTMuMiAyNS45VjY5MGMwIDYuNSA3LjQgMTAuMyAxMi43IDYuNXoiIC8+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDcyOEgxODRWMTg0aDY1NnY2NTZ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RightSquareOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RightSquareOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AccountBookTwoToneSvg from \"@ant-design/icons-svg/es/asn/AccountBookTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AccountBookTwoTone = function AccountBookTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AccountBookTwoToneSvg\n }));\n};\n\n/**![account-book](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcxMiAzMDRjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgzODR2NDhjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di00OEgxODR2NTg0aDY1NlYyNTZINzEydjQ4em0tNjUuN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DgtMy42IDgtOHYtMjEuM2MwLTQuNC0zLjYtOC04LThoLTQ5LjFsODkuMy0xNjQuMWMuNi0xLjIgMS0yLjUgMS0zLjguMS00LjQtMy40LTgtNy45LTh6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik04ODAgMTg0SDcxMnYtNjRjMC00LjQtMy42LTgtOC04aC01NmMtNC40IDAtOCAzLjYtOCA4djY0SDM4NHYtNjRjMC00LjQtMy42LTgtOC04aC01NmMtNC40IDAtOCAzLjYtOCA4djY0SDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NjY0YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDczNmMxNy43IDAgMzItMTQuMyAzMi0zMlYyMTZjMC0xNy43LTE0LjMtMzItMzItMzJ6bS00MCA2NTZIMTg0VjI1NmgxMjh2NDhjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNDhoMjU2djQ4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTQ4aDEyOHY1ODR6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AccountBookTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AccountBookTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BehanceOutlinedSvg from \"@ant-design/icons-svg/es/asn/BehanceOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BehanceOutlined = function BehanceOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BehanceOutlinedSvg\n }));\n};\n\n/**![behance](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYzNCAyOTQuM2gxOTkuNXY0OC40SDYzNHpNNDM0LjEgNDg1LjhjNDQuMS0yMS4xIDY3LjItNTMuMiA2Ny4yLTEwMi44IDAtOTguMS03My0xMjEuOS0xNTcuMy0xMjEuOUgxMTJ2NDkyLjRoMjM4LjVjODkuNCAwIDE3My4zLTQzIDE3My4zLTE0MyAwLTYxLjgtMjkuMi0xMDcuNS04OS43LTEyNC43ek0yMjAuMiAzNDUuMWgxMDEuNWMzOS4xIDAgNzQuMiAxMC45IDc0LjIgNTYuMyAwIDQxLjgtMjcuMyA1OC42LTY2IDU4LjZIMjIwLjJWMzQ1LjF6bTExNS41IDMyNC44SDIyMC4xVjUzNC4zSDMzOGM0Ny42IDAgNzcuNyAxOS45IDc3LjcgNzAuMyAwIDQ5LjYtMzUuOSA2NS4zLTgwIDY1LjN6bTU3NS44LTg5LjVjMC0xMDUuNS02MS43LTE5My40LTE3My4zLTE5My40LTEwOC41IDAtMTgyLjMgODEuNy0xODIuMyAxODguOCAwIDExMSA2OS45IDE4Ny4yIDE4Mi4zIDE4Ny4yIDg1LjEgMCAxNDAuMi0zOC4zIDE2Ni43LTEyMGgtODYuM2MtOS40IDMwLjUtNDcuNiA0Ni41LTc3LjMgNDYuNS01Ny40IDAtODcuNC0zMy42LTg3LjQtOTAuN2gyNTYuOWMuMy01LjkuNy0xMi4xLjctMTguNHpNNjUzLjkgNTM3YzMuMS00Ni45IDM0LjQtNzYuMiA4MS4yLTc2LjIgNDkuMiAwIDczLjggMjguOSA3OC4xIDc2LjJINjUzLjl6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BehanceOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BehanceOutlined';\n}\nexport default RefIcon;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport function toArray(value) {\n if (Array.isArray(value)) {\n return value;\n }\n return value !== undefined ? [value] : [];\n}\nexport var isClient = typeof window !== 'undefined' && window.document && window.document.documentElement;\n\n/** Is client side and not jsdom */\nexport var isBrowserClient = process.env.NODE_ENV !== 'test' && isClient;\nexport function hasValue(value) {\n return value !== undefined && value !== null;\n}\n\n/** combo mode no value judgment function */\nexport function isComboNoValue(value) {\n return !value && value !== 0;\n}\nfunction isTitleType(title) {\n return ['string', 'number'].includes(_typeof(title));\n}\nexport function getTitle(item) {\n var title = undefined;\n if (item) {\n if (isTitleType(item.title)) {\n title = item.title.toString();\n } else if (isTitleType(item.label)) {\n title = item.label.toString();\n }\n }\n return title;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MacCommandOutlinedSvg from \"@ant-design/icons-svg/es/asn/MacCommandOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MacCommandOutlined = function MacCommandOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MacCommandOutlinedSvg\n }));\n};\n\n/**![mac-command](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik04ODAgMTEySDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NzM2YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDczNmMxNy43IDAgMzItMTQuMyAzMi0zMlYxNDRjMC0xNy43LTE0LjMtMzItMzItMzJ6bS00MCA3MjhIMTg0VjE4NGg2NTZ2NjU2eiIgLz48cGF0aCBkPSJNMzcwLjggNTU0LjRjLTU0LjYgMC05OC44IDQ0LjItOTguOCA5OC44czQ0LjIgOTguOCA5OC44IDk4LjggOTguOC00NC4yIDk4LjgtOTguOHYtNDIuNGg4NC43djQyLjRjMCA1NC42IDQ0LjIgOTguOCA5OC44IDk4LjhzOTguOC00NC4yIDk4LjgtOTguOC00NC4yLTk4LjgtOTguOC05OC44aC00Mi40di04NC43aDQyLjRjNTQuNiAwIDk4LjgtNDQuMiA5OC44LTk4LjggMC01NC42LTQ0LjItOTguOC05OC44LTk4LjhzLTk4LjggNDQuMi05OC44IDk4Ljh2NDIuNGgtODQuN3YtNDIuNGMwLTU0LjYtNDQuMi05OC44LTk4LjgtOTguOFMyNzIgMzE2LjIgMjcyIDM3MC44czQ0LjIgOTguOCA5OC44IDk4LjhoNDIuNHY4NC43aC00Mi40em00Mi40IDk4LjhjMCAyMy40LTE5IDQyLjQtNDIuNCA0Mi40cy00Mi40LTE5LTQyLjQtNDIuNCAxOS00Mi40IDQyLjQtNDIuNGg0Mi40djQyLjR6bTE5Ny42LTI4Mi40YzAtMjMuNCAxOS00Mi40IDQyLjQtNDIuNHM0Mi40IDE5IDQyLjQgNDIuNC0xOSA0Mi40LTQyLjQgNDIuNGgtNDIuNHYtNDIuNHptMCAyNDBoNDIuNGMyMy40IDAgNDIuNCAxOSA0Mi40IDQyLjRzLTE5IDQyLjQtNDIuNCA0Mi40LTQyLjQtMTktNDIuNC00Mi40di00Mi40ek00NjkuNiA0NjkuNmg4NC43djg0LjdoLTg0Ljd2LTg0Ljd6bS05OC44LTU2LjRjLTIzLjQgMC00Mi40LTE5LTQyLjQtNDIuNHMxOS00Mi40IDQyLjQtNDIuNCA0Mi40IDE5IDQyLjQgNDIuNHY0Mi40aC00Mi40eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MacCommandOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MacCommandOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport Portal from '@rc-component/portal';\nimport useId from \"rc-util/es/hooks/useId\";\nvar COVER_PROPS = {\n fill: 'transparent',\n pointerEvents: 'auto'\n};\nvar Mask = function Mask(props) {\n var prefixCls = props.prefixCls,\n rootClassName = props.rootClassName,\n pos = props.pos,\n showMask = props.showMask,\n _props$style = props.style,\n style = _props$style === void 0 ? {} : _props$style,\n _props$fill = props.fill,\n fill = _props$fill === void 0 ? \"rgba(0,0,0,0.5)\" : _props$fill,\n open = props.open,\n animated = props.animated,\n zIndex = props.zIndex,\n disabledInteraction = props.disabledInteraction;\n var id = useId();\n var maskId = \"\".concat(prefixCls, \"-mask-\").concat(id);\n var mergedAnimated = _typeof(animated) === 'object' ? animated === null || animated === void 0 ? void 0 : animated.placeholder : animated;\n var isSafari = typeof navigator !== 'undefined' && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n var maskRectSize = isSafari ? {\n width: '100%',\n height: '100%'\n } : {\n width: '100vw',\n height: '100vh'\n };\n return /*#__PURE__*/React.createElement(Portal, {\n open: open,\n autoLock: true\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-mask\"), rootClassName),\n style: _objectSpread({\n position: 'fixed',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n zIndex: zIndex,\n pointerEvents: pos && !disabledInteraction ? 'none' : 'auto'\n }, style)\n }, showMask ? /*#__PURE__*/React.createElement(\"svg\", {\n style: {\n width: '100%',\n height: '100%'\n }\n }, /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"mask\", {\n id: maskId\n }, /*#__PURE__*/React.createElement(\"rect\", _extends({\n x: \"0\",\n y: \"0\"\n }, maskRectSize, {\n fill: \"white\"\n })), pos && /*#__PURE__*/React.createElement(\"rect\", {\n x: pos.left,\n y: pos.top,\n rx: pos.radius,\n width: pos.width,\n height: pos.height,\n fill: \"black\",\n className: mergedAnimated ? \"\".concat(prefixCls, \"-placeholder-animated\") : ''\n }))), /*#__PURE__*/React.createElement(\"rect\", {\n x: \"0\",\n y: \"0\",\n width: \"100%\",\n height: \"100%\",\n fill: fill,\n mask: \"url(#\".concat(maskId, \")\")\n }), pos && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"rect\", _extends({}, COVER_PROPS, {\n x: \"0\",\n y: \"0\",\n width: \"100%\",\n height: pos.top\n })), /*#__PURE__*/React.createElement(\"rect\", _extends({}, COVER_PROPS, {\n x: \"0\",\n y: \"0\",\n width: pos.left,\n height: \"100%\"\n })), /*#__PURE__*/React.createElement(\"rect\", _extends({}, COVER_PROPS, {\n x: \"0\",\n y: pos.top + pos.height,\n width: \"100%\",\n height: \"calc(100vh - \".concat(pos.top + pos.height, \"px)\")\n })), /*#__PURE__*/React.createElement(\"rect\", _extends({}, COVER_PROPS, {\n x: pos.left + pos.width,\n y: \"0\",\n width: \"calc(100vw - \".concat(pos.left + pos.width, \"px)\"),\n height: \"100%\"\n })))) : null));\n};\nexport default Mask;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftCircleFilledSvg from \"@ant-design/icons-svg/es/asn/LeftCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftCircleFilled = function LeftCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftCircleFilledSvg\n }));\n};\n\n/**![left-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0xMDQgMzE2LjljMCAxMC4yLTQuOSAxOS45LTEzLjIgMjUuOUw0NTcuNCA1MTJsMTQ1LjQgMTA1LjJjOC4zIDYgMTMuMiAxNS42IDEzLjIgMjUuOVY2OTBjMCA2LjUtNy40IDEwLjMtMTIuNyA2LjVsLTI0Ni0xNzhhNy45NSA3Ljk1IDAgMDEwLTEyLjlsMjQ2LTE3OGE4IDggMCAwMTEyLjcgNi41djQ2Ljh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftCircleFilled';\n}\nexport default RefIcon;","import { numberInputToObject, rgbaToHex, rgbToHex, rgbToHsl, rgbToHsv } from './conversion.js';\nimport { names } from './css-color-names.js';\nimport { inputToRGB } from './format-input';\nimport { bound01, boundAlpha, clamp01 } from './util.js';\nvar TinyColor = /** @class */ (function () {\n function TinyColor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n var _a;\n // If input is already a tinycolor, return itself\n if (color instanceof TinyColor) {\n // eslint-disable-next-line no-constructor-return\n return color;\n }\n if (typeof color === 'number') {\n color = numberInputToObject(color);\n }\n this.originalInput = color;\n var rgb = inputToRGB(color);\n this.originalInput = color;\n this.r = rgb.r;\n this.g = rgb.g;\n this.b = rgb.b;\n this.a = rgb.a;\n this.roundA = Math.round(100 * this.a) / 100;\n this.format = (_a = opts.format) !== null && _a !== void 0 ? _a : rgb.format;\n this.gradientType = opts.gradientType;\n // Don't let the range of [0,255] come back in [0,1].\n // Potentially lose a little bit of precision here, but will fix issues where\n // .5 gets interpreted as half of the total, instead of half of 1\n // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n if (this.r < 1) {\n this.r = Math.round(this.r);\n }\n if (this.g < 1) {\n this.g = Math.round(this.g);\n }\n if (this.b < 1) {\n this.b = Math.round(this.b);\n }\n this.isValid = rgb.ok;\n }\n TinyColor.prototype.isDark = function () {\n return this.getBrightness() < 128;\n };\n TinyColor.prototype.isLight = function () {\n return !this.isDark();\n };\n /**\n * Returns the perceived brightness of the color, from 0-255.\n */\n TinyColor.prototype.getBrightness = function () {\n // http://www.w3.org/TR/AERT#color-contrast\n var rgb = this.toRgb();\n return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n };\n /**\n * Returns the perceived luminance of a color, from 0-1.\n */\n TinyColor.prototype.getLuminance = function () {\n // http://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef\n var rgb = this.toRgb();\n var R;\n var G;\n var B;\n var RsRGB = rgb.r / 255;\n var GsRGB = rgb.g / 255;\n var BsRGB = rgb.b / 255;\n if (RsRGB <= 0.03928) {\n R = RsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n R = Math.pow((RsRGB + 0.055) / 1.055, 2.4);\n }\n if (GsRGB <= 0.03928) {\n G = GsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n G = Math.pow((GsRGB + 0.055) / 1.055, 2.4);\n }\n if (BsRGB <= 0.03928) {\n B = BsRGB / 12.92;\n }\n else {\n // eslint-disable-next-line prefer-exponentiation-operator\n B = Math.pow((BsRGB + 0.055) / 1.055, 2.4);\n }\n return 0.2126 * R + 0.7152 * G + 0.0722 * B;\n };\n /**\n * Returns the alpha value of a color, from 0-1.\n */\n TinyColor.prototype.getAlpha = function () {\n return this.a;\n };\n /**\n * Sets the alpha value on the current color.\n *\n * @param alpha - The new alpha value. The accepted range is 0-1.\n */\n TinyColor.prototype.setAlpha = function (alpha) {\n this.a = boundAlpha(alpha);\n this.roundA = Math.round(100 * this.a) / 100;\n return this;\n };\n /**\n * Returns whether the color is monochrome.\n */\n TinyColor.prototype.isMonochrome = function () {\n var s = this.toHsl().s;\n return s === 0;\n };\n /**\n * Returns the object as a HSVA object.\n */\n TinyColor.prototype.toHsv = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this.a };\n };\n /**\n * Returns the hsva values interpolated into a string with the following format:\n * \"hsva(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHsvString = function () {\n var hsv = rgbToHsv(this.r, this.g, this.b);\n var h = Math.round(hsv.h * 360);\n var s = Math.round(hsv.s * 100);\n var v = Math.round(hsv.v * 100);\n return this.a === 1 ? \"hsv(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%)\") : \"hsva(\".concat(h, \", \").concat(s, \"%, \").concat(v, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a HSLA object.\n */\n TinyColor.prototype.toHsl = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this.a };\n };\n /**\n * Returns the hsla values interpolated into a string with the following format:\n * \"hsla(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toHslString = function () {\n var hsl = rgbToHsl(this.r, this.g, this.b);\n var h = Math.round(hsl.h * 360);\n var s = Math.round(hsl.s * 100);\n var l = Math.round(hsl.l * 100);\n return this.a === 1 ? \"hsl(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%)\") : \"hsla(\".concat(h, \", \").concat(s, \"%, \").concat(l, \"%, \").concat(this.roundA, \")\");\n };\n /**\n * Returns the hex value of the color.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHex = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return rgbToHex(this.r, this.g, this.b, allow3Char);\n };\n /**\n * Returns the hex value of the color -with a # prefixed.\n * @param allow3Char will shorten hex value to 3 char if possible\n */\n TinyColor.prototype.toHexString = function (allow3Char) {\n if (allow3Char === void 0) { allow3Char = false; }\n return '#' + this.toHex(allow3Char);\n };\n /**\n * Returns the hex 8 value of the color.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8 = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return rgbaToHex(this.r, this.g, this.b, this.a, allow4Char);\n };\n /**\n * Returns the hex 8 value of the color -with a # prefixed.\n * @param allow4Char will shorten hex value to 4 char if possible\n */\n TinyColor.prototype.toHex8String = function (allow4Char) {\n if (allow4Char === void 0) { allow4Char = false; }\n return '#' + this.toHex8(allow4Char);\n };\n /**\n * Returns the shorter hex value of the color depends on its alpha -with a # prefixed.\n * @param allowShortChar will shorten hex value to 3 or 4 char if possible\n */\n TinyColor.prototype.toHexShortString = function (allowShortChar) {\n if (allowShortChar === void 0) { allowShortChar = false; }\n return this.a === 1 ? this.toHexString(allowShortChar) : this.toHex8String(allowShortChar);\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toRgb = function () {\n return {\n r: Math.round(this.r),\n g: Math.round(this.g),\n b: Math.round(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA values interpolated into a string with the following format:\n * \"RGBA(xxx, xxx, xxx, xx)\".\n */\n TinyColor.prototype.toRgbString = function () {\n var r = Math.round(this.r);\n var g = Math.round(this.g);\n var b = Math.round(this.b);\n return this.a === 1 ? \"rgb(\".concat(r, \", \").concat(g, \", \").concat(b, \")\") : \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(this.roundA, \")\");\n };\n /**\n * Returns the object as a RGBA object.\n */\n TinyColor.prototype.toPercentageRgb = function () {\n var fmt = function (x) { return \"\".concat(Math.round(bound01(x, 255) * 100), \"%\"); };\n return {\n r: fmt(this.r),\n g: fmt(this.g),\n b: fmt(this.b),\n a: this.a,\n };\n };\n /**\n * Returns the RGBA relative values interpolated into a string\n */\n TinyColor.prototype.toPercentageRgbString = function () {\n var rnd = function (x) { return Math.round(bound01(x, 255) * 100); };\n return this.a === 1\n ? \"rgb(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%)\")\n : \"rgba(\".concat(rnd(this.r), \"%, \").concat(rnd(this.g), \"%, \").concat(rnd(this.b), \"%, \").concat(this.roundA, \")\");\n };\n /**\n * The 'real' name of the color -if there is one.\n */\n TinyColor.prototype.toName = function () {\n if (this.a === 0) {\n return 'transparent';\n }\n if (this.a < 1) {\n return false;\n }\n var hex = '#' + rgbToHex(this.r, this.g, this.b, false);\n for (var _i = 0, _a = Object.entries(names); _i < _a.length; _i++) {\n var _b = _a[_i], key = _b[0], value = _b[1];\n if (hex === value) {\n return key;\n }\n }\n return false;\n };\n TinyColor.prototype.toString = function (format) {\n var formatSet = Boolean(format);\n format = format !== null && format !== void 0 ? format : this.format;\n var formattedString = false;\n var hasAlpha = this.a < 1 && this.a >= 0;\n var needsAlphaFormat = !formatSet && hasAlpha && (format.startsWith('hex') || format === 'name');\n if (needsAlphaFormat) {\n // Special case for \"transparent\", all other non-alpha formats\n // will return rgba when there is transparency.\n if (format === 'name' && this.a === 0) {\n return this.toName();\n }\n return this.toRgbString();\n }\n if (format === 'rgb') {\n formattedString = this.toRgbString();\n }\n if (format === 'prgb') {\n formattedString = this.toPercentageRgbString();\n }\n if (format === 'hex' || format === 'hex6') {\n formattedString = this.toHexString();\n }\n if (format === 'hex3') {\n formattedString = this.toHexString(true);\n }\n if (format === 'hex4') {\n formattedString = this.toHex8String(true);\n }\n if (format === 'hex8') {\n formattedString = this.toHex8String();\n }\n if (format === 'name') {\n formattedString = this.toName();\n }\n if (format === 'hsl') {\n formattedString = this.toHslString();\n }\n if (format === 'hsv') {\n formattedString = this.toHsvString();\n }\n return formattedString || this.toHexString();\n };\n TinyColor.prototype.toNumber = function () {\n return (Math.round(this.r) << 16) + (Math.round(this.g) << 8) + Math.round(this.b);\n };\n TinyColor.prototype.clone = function () {\n return new TinyColor(this.toString());\n };\n /**\n * Lighten the color a given amount. Providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.lighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l += amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Brighten the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.brighten = function (amount) {\n if (amount === void 0) { amount = 10; }\n var rgb = this.toRgb();\n rgb.r = Math.max(0, Math.min(255, rgb.r - Math.round(255 * -(amount / 100))));\n rgb.g = Math.max(0, Math.min(255, rgb.g - Math.round(255 * -(amount / 100))));\n rgb.b = Math.max(0, Math.min(255, rgb.b - Math.round(255 * -(amount / 100))));\n return new TinyColor(rgb);\n };\n /**\n * Darken the color a given amount, from 0 to 100.\n * Providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.darken = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.l -= amount / 100;\n hsl.l = clamp01(hsl.l);\n return new TinyColor(hsl);\n };\n /**\n * Mix the color with pure white, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return white.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.tint = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('white', amount);\n };\n /**\n * Mix the color with pure black, from 0 to 100.\n * Providing 0 will do nothing, providing 100 will always return black.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.shade = function (amount) {\n if (amount === void 0) { amount = 10; }\n return this.mix('black', amount);\n };\n /**\n * Desaturate the color a given amount, from 0 to 100.\n * Providing 100 will is the same as calling greyscale\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.desaturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s -= amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Saturate the color a given amount, from 0 to 100.\n * @param amount - valid between 1-100\n */\n TinyColor.prototype.saturate = function (amount) {\n if (amount === void 0) { amount = 10; }\n var hsl = this.toHsl();\n hsl.s += amount / 100;\n hsl.s = clamp01(hsl.s);\n return new TinyColor(hsl);\n };\n /**\n * Completely desaturates a color into greyscale.\n * Same as calling `desaturate(100)`\n */\n TinyColor.prototype.greyscale = function () {\n return this.desaturate(100);\n };\n /**\n * Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n * Values outside of this range will be wrapped into this range.\n */\n TinyColor.prototype.spin = function (amount) {\n var hsl = this.toHsl();\n var hue = (hsl.h + amount) % 360;\n hsl.h = hue < 0 ? 360 + hue : hue;\n return new TinyColor(hsl);\n };\n /**\n * Mix the current color a given amount with another color, from 0 to 100.\n * 0 means no mixing (return current color).\n */\n TinyColor.prototype.mix = function (color, amount) {\n if (amount === void 0) { amount = 50; }\n var rgb1 = this.toRgb();\n var rgb2 = new TinyColor(color).toRgb();\n var p = amount / 100;\n var rgba = {\n r: (rgb2.r - rgb1.r) * p + rgb1.r,\n g: (rgb2.g - rgb1.g) * p + rgb1.g,\n b: (rgb2.b - rgb1.b) * p + rgb1.b,\n a: (rgb2.a - rgb1.a) * p + rgb1.a,\n };\n return new TinyColor(rgba);\n };\n TinyColor.prototype.analogous = function (results, slices) {\n if (results === void 0) { results = 6; }\n if (slices === void 0) { slices = 30; }\n var hsl = this.toHsl();\n var part = 360 / slices;\n var ret = [this];\n for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results;) {\n hsl.h = (hsl.h + part) % 360;\n ret.push(new TinyColor(hsl));\n }\n return ret;\n };\n /**\n * taken from https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js\n */\n TinyColor.prototype.complement = function () {\n var hsl = this.toHsl();\n hsl.h = (hsl.h + 180) % 360;\n return new TinyColor(hsl);\n };\n TinyColor.prototype.monochromatic = function (results) {\n if (results === void 0) { results = 6; }\n var hsv = this.toHsv();\n var h = hsv.h;\n var s = hsv.s;\n var v = hsv.v;\n var res = [];\n var modification = 1 / results;\n while (results--) {\n res.push(new TinyColor({ h: h, s: s, v: v }));\n v = (v + modification) % 1;\n }\n return res;\n };\n TinyColor.prototype.splitcomplement = function () {\n var hsl = this.toHsl();\n var h = hsl.h;\n return [\n this,\n new TinyColor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n new TinyColor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n ];\n };\n /**\n * Compute how the color would appear on a background\n */\n TinyColor.prototype.onBackground = function (background) {\n var fg = this.toRgb();\n var bg = new TinyColor(background).toRgb();\n var alpha = fg.a + bg.a * (1 - fg.a);\n return new TinyColor({\n r: (fg.r * fg.a + bg.r * bg.a * (1 - fg.a)) / alpha,\n g: (fg.g * fg.a + bg.g * bg.a * (1 - fg.a)) / alpha,\n b: (fg.b * fg.a + bg.b * bg.a * (1 - fg.a)) / alpha,\n a: alpha,\n });\n };\n /**\n * Alias for `polyad(3)`\n */\n TinyColor.prototype.triad = function () {\n return this.polyad(3);\n };\n /**\n * Alias for `polyad(4)`\n */\n TinyColor.prototype.tetrad = function () {\n return this.polyad(4);\n };\n /**\n * Get polyad colors, like (for 1, 2, 3, 4, 5, 6, 7, 8, etc...)\n * monad, dyad, triad, tetrad, pentad, hexad, heptad, octad, etc...\n */\n TinyColor.prototype.polyad = function (n) {\n var hsl = this.toHsl();\n var h = hsl.h;\n var result = [this];\n var increment = 360 / n;\n for (var i = 1; i < n; i++) {\n result.push(new TinyColor({ h: (h + i * increment) % 360, s: hsl.s, l: hsl.l }));\n }\n return result;\n };\n /**\n * compare color vs current color\n */\n TinyColor.prototype.equals = function (color) {\n return this.toRgbString() === new TinyColor(color).toRgbString();\n };\n return TinyColor;\n}());\nexport { TinyColor };\n// kept for backwards compatability with v1\nexport function tinycolor(color, opts) {\n if (color === void 0) { color = ''; }\n if (opts === void 0) { opts = {}; }\n return new TinyColor(color, opts);\n}\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport { Color } from \"./color\";\nexport var ColorPickerPrefixCls = 'rc-color-picker';\nexport var generateColor = function generateColor(color) {\n if (color instanceof Color) {\n return color;\n }\n return new Color(color);\n};\nexport var defaultColor = generateColor('#1677ff');\nexport var calculateColor = function calculateColor(props) {\n var offset = props.offset,\n targetRef = props.targetRef,\n containerRef = props.containerRef,\n color = props.color,\n type = props.type;\n var _containerRef$current = containerRef.current.getBoundingClientRect(),\n width = _containerRef$current.width,\n height = _containerRef$current.height;\n var _targetRef$current$ge = targetRef.current.getBoundingClientRect(),\n targetWidth = _targetRef$current$ge.width,\n targetHeight = _targetRef$current$ge.height;\n var centerOffsetX = targetWidth / 2;\n var centerOffsetY = targetHeight / 2;\n var saturation = (offset.x + centerOffsetX) / width;\n var bright = 1 - (offset.y + centerOffsetY) / height;\n var hsb = color.toHsb();\n var alphaOffset = saturation;\n var hueOffset = (offset.x + centerOffsetX) / width * 360;\n if (type) {\n switch (type) {\n case 'hue':\n return generateColor(_objectSpread(_objectSpread({}, hsb), {}, {\n h: hueOffset <= 0 ? 0 : hueOffset\n }));\n case 'alpha':\n return generateColor(_objectSpread(_objectSpread({}, hsb), {}, {\n a: alphaOffset <= 0 ? 0 : alphaOffset\n }));\n }\n }\n return generateColor({\n h: hsb.h,\n s: saturation <= 0 ? 0 : saturation,\n b: bright >= 1 ? 1 : bright,\n a: hsb.a\n });\n};\nexport var calcOffset = function calcOffset(color, type) {\n var hsb = color.toHsb();\n switch (type) {\n case 'hue':\n return {\n x: hsb.h / 360 * 100,\n y: 50\n };\n case 'alpha':\n return {\n x: color.a * 100,\n y: 50\n };\n\n // Picker panel\n default:\n return {\n x: hsb.s * 100,\n y: (1 - hsb.b) * 100\n };\n }\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PlusOutlinedSvg from \"@ant-design/icons-svg/es/asn/PlusOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PlusOutlined = function PlusOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PlusOutlinedSvg\n }));\n};\n\n/**![plus](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4MiAxNTJoNjBxOCAwIDggOHY3MDRxMCA4LTggOGgtNjBxLTggMC04LThWMTYwcTAtOCA4LTh6IiAvPjxwYXRoIGQ9Ik0xOTIgNDc0aDY3MnE4IDAgOCA4djYwcTAgOC04IDhIMTYwcS04IDAtOC04di02MHEwLTggOC04eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PlusOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PlusOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RubyOutlinedSvg from \"@ant-design/icons-svg/es/asn/RubyOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RubyOutlined = function RubyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RubyOutlinedSvg\n }));\n};\n\n/**![ruby](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIw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JjLTIxLjIxIDY4LjI1LTYyLjY2IDE0Mi41OC0xMjIuNCAyMTEuODhsLTY1Ljg1LTE4OC40em0tMjUyLjU0IDU5LjZsNTMuNjQgMTUzLjU2LTE1My41NS01My42NSA2OC4xMi02OC4xMnptMjY5LjUgODEuMDR2MjM3TDczOC40NCA2ODcuMDRjNDAuMS00My43NCA3My43My04OS44MyAxMDAuNC0xMzYuNTltLTQ3OC4wNCA3Ny43bC0xNy4yNCAxMzguMDgtNzMuOTQtMTIzLjE4em03Mi41MiA1LjQ2bDE4OC4zMiA2NS44NWMtNjkuMjggNTkuNzEtMTQzLjU3IDEwMS4yLTIxMS44IDEyMi40ek0xODQuOSA2NDNsMTE3LjQzIDE5NS43Yy00Ni41LTEuMzMtODQuNjMtMTUuNzQtMTExLjI2LTQyLjM3LTIuMTYtMi4xNi00LjExLTQuOTMtNi4xNy03LjM4em01MDIuMTcgOTUuNDNsMTAwLjQgMTAwLjRoLTIzN2M0Ni43Ny0yNi42NyA5Mi44Ni02MC4zIDEzNi42LTEwMC40IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RubyOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RubyOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BorderTopOutlinedSvg from \"@ant-design/icons-svg/es/asn/BorderTopOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BorderTopOutlined = function BorderTopOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BorderTopOutlinedSvg\n }));\n};\n\n/**![border-top](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYW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C00LjQtMy42LTgtOC04em0xNjYgMGgtNTZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bS0zMzIgMGgtNTZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTMzMiAzMzJoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNTZjMC00LjQtMy42LTgtOC04em0tMzMyIDBoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNTZjMC00LjQtMy42LTgtOC04em0zMzItNDk4aC01NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOHptLTMzMiAwaC01NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOHptMzMyIDMzMmgtNTZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bS0zMzIgMGgtNTZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BorderTopOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BorderTopOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport useTimeInfo from \"../../hooks/useTimeInfo\";\nimport { fillTime } from \"../../utils/dateUtil\";\nimport DatePanel from \"../DatePanel\";\nimport TimePanel from \"../TimePanel\";\nexport default function DateTimePanel(props) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n showTime = props.showTime,\n onSelect = props.onSelect,\n value = props.value,\n pickerValue = props.pickerValue,\n onHover = props.onHover;\n var panelPrefixCls = \"\".concat(prefixCls, \"-datetime-panel\");\n\n // =============================== Time ===============================\n var _useTimeInfo = useTimeInfo(generateConfig, showTime),\n _useTimeInfo2 = _slicedToArray(_useTimeInfo, 1),\n getValidTime = _useTimeInfo2[0];\n\n // Merge the time info from `value` or `pickerValue`\n var mergeTime = function mergeTime(date) {\n if (value) {\n return fillTime(generateConfig, date, value);\n }\n return fillTime(generateConfig, date, pickerValue);\n };\n\n // ============================== Hover ===============================\n var onDateHover = function onDateHover(date) {\n onHover === null || onHover === void 0 || onHover(date ? mergeTime(date) : date);\n };\n\n // ============================== Select ==============================\n var onDateSelect = function onDateSelect(date) {\n // Merge with current time\n var cloneDate = mergeTime(date);\n onSelect(getValidTime(cloneDate, cloneDate));\n };\n\n // ============================== Render ==============================\n return /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(DatePanel, _extends({}, props, {\n onSelect: onDateSelect,\n onHover: onDateHover\n })), /*#__PURE__*/React.createElement(TimePanel, props));\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nexport function leftPad(str, length) {\n var fill = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';\n var current = String(str);\n while (current.length < length) {\n current = \"\".concat(fill).concat(current);\n }\n return current;\n}\n\n/**\n * Convert `value` to array. Will provide `[]` if is null or undefined.\n */\nexport function toArray(val) {\n if (val === null || val === undefined) {\n return [];\n }\n return Array.isArray(val) ? val : [val];\n}\nexport function fillIndex(ori, index, value) {\n var clone = _toConsumableArray(ori);\n clone[index] = value;\n return clone;\n}\n\n/** Pick props from the key list. Will filter empty value */\nexport function pickProps(props, keys) {\n var clone = {};\n var mergedKeys = keys || Object.keys(props);\n mergedKeys.forEach(function (key) {\n if (props[key] !== undefined) {\n clone[key] = props[key];\n }\n });\n return clone;\n}\nexport function getRowFormat(picker, locale, format) {\n if (format) {\n return format;\n }\n switch (picker) {\n // All from the `locale.fieldXXXFormat` first\n case 'time':\n return locale.fieldTimeFormat;\n case 'datetime':\n return locale.fieldDateTimeFormat;\n case 'month':\n return locale.fieldMonthFormat;\n case 'year':\n return locale.fieldYearFormat;\n case 'quarter':\n return locale.fieldQuarterFormat;\n case 'week':\n return locale.fieldWeekFormat;\n default:\n return locale.fieldDateFormat;\n }\n}\nexport function getFromDate(calendarValues, activeIndexList, activeIndex) {\n var mergedActiveIndex = activeIndex !== undefined ? activeIndex : activeIndexList[activeIndexList.length - 1];\n var firstValuedIndex = activeIndexList.find(function (index) {\n return calendarValues[index];\n });\n return mergedActiveIndex !== firstValuedIndex ? calendarValues[firstValuedIndex] : undefined;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ScheduleFilledSvg from \"@ant-design/icons-svg/es/asn/ScheduleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ScheduleFilled = function ScheduleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ScheduleFilledSvg\n }));\n};\n\n/**![schedule](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAyMjRINzY4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZINTQ4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZIMzI4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjU3NmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMjU2YzAtMTcuNy0xNC4zLTMyLTMyLTMyek00MjQgNjg4YzAgNC40LTMuNiA4LTggOEgyMzJjLTQuNCAwLTgtMy42LTgtOHYtNDhjMC00LjQgMy42LTggOC04aDE4NGM0LjQgMCA4IDMuNiA4IDh2NDh6bTAtMTM2YzAgNC40LTMuNiA4LTggOEgyMzJjLTQuNCAwLTgtMy42LTgtOHYtNDhjMC00LjQgMy42LTggOC04aDE4NGM0LjQgMCA4IDMuNiA4IDh2NDh6bTM3NC41LTkxLjNsLTE2NSAyMjguN2ExNS45IDE1LjkgMCAwMS0yNS44IDBMNDkzLjUgNTMxLjJjLTMuOC01LjMgMC0xMi43IDYuNS0xMi43aDU0LjljNS4xIDAgOS45IDIuNSAxMi45IDYuNmw1Mi44IDczLjEgMTAzLjctMTQzLjdjMy00LjIgNy44LTYuNiAxMi45LTYuNkg3OTJjNi41LjEgMTAuMyA3LjUgNi41IDEyLjh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ScheduleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ScheduleFilled';\n}\nexport default RefIcon;","/**\n * What's new?\n * - Common\n * - [Break] Support special year format, all the year will follow the locale config.\n * - Blur all of field will trigger `onChange` if validate\n * - Support `preserveInvalidOnBlur` to not to clean input if invalid and remove `changeOnBlur`\n * - `pickerValue` is now full controlled\n * - `defaultPickerValue` will take effect on every field active with popup opening.\n * - [Break] clear button return the event with `onClick`\n *\n * - Locale\n * - Remove `dateFormat` since it's never used\n * - Remove `dateTimeFormat` since it's never used\n *\n * - Picker\n * - TimePicker support `changeOnScroll`\n * - TimePicker support `millisecond`\n * - Support cellMeridiemFormat for AM/PM\n * - Get correct `disabledHours` when set `use12Hours`\n * - Support `showWeek`\n *\n * - RangePicker\n * - [Break] RangePicker is now not limit the range of clicked field.\n * - Trigger `onCalendarChange` when type correct\n * - [Break] Not order `value` if given `value` is wrong order.\n * - Hover `presets` will show date in input field.\n * - [Break] RangePicker go to end field, `pickerValue` will follow the start field if not controlled.\n */\n\nimport RangePicker from \"./PickerInput/RangePicker\";\nimport Picker from \"./PickerInput/SinglePicker\";\nimport PickerPanel from \"./PickerPanel\";\nexport { Picker, RangePicker, PickerPanel };\nexport default Picker;","/**\n * @import {\n * Code,\n * Construct,\n * Resolver,\n * State,\n * TokenizeContext,\n * Tokenizer\n * } from 'micromark-util-types'\n */\n\nimport { factorySpace } from 'micromark-factory-space';\nimport { markdownLineEnding, markdownSpace } from 'micromark-util-character';\n/** @type {Construct} */\nexport const setextUnderline = {\n name: 'setextUnderline',\n resolveTo: resolveToSetextUnderline,\n tokenize: tokenizeSetextUnderline\n};\n\n/** @type {Resolver} */\nfunction resolveToSetextUnderline(events, context) {\n // To do: resolve like `markdown-rs`.\n let index = events.length;\n /** @type {number | undefined} */\n let content;\n /** @type {number | undefined} */\n let text;\n /** @type {number | undefined} */\n let definition;\n\n // Find the opening of the content.\n // It’ll always exist: we don’t tokenize if it isn’t there.\n while (index--) {\n if (events[index][0] === 'enter') {\n if (events[index][1].type === \"content\") {\n content = index;\n break;\n }\n if (events[index][1].type === \"paragraph\") {\n text = index;\n }\n }\n // Exit\n else {\n if (events[index][1].type === \"content\") {\n // Remove the content end (if needed we’ll add it later)\n events.splice(index, 1);\n }\n if (!definition && events[index][1].type === \"definition\") {\n definition = index;\n }\n }\n }\n const heading = {\n type: \"setextHeading\",\n start: {\n ...events[text][1].start\n },\n end: {\n ...events[events.length - 1][1].end\n }\n };\n\n // Change the paragraph to setext heading text.\n events[text][1].type = \"setextHeadingText\";\n\n // If we have definitions in the content, we’ll keep on having content,\n // but we need move it.\n if (definition) {\n events.splice(text, 0, ['enter', heading, context]);\n events.splice(definition + 1, 0, ['exit', events[content][1], context]);\n events[content][1].end = {\n ...events[definition][1].end\n };\n } else {\n events[content][1] = heading;\n }\n\n // Add the heading exit at the end.\n events.push(['exit', heading, context]);\n return events;\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeSetextUnderline(effects, ok, nok) {\n const self = this;\n /** @type {NonNullable} */\n let marker;\n return start;\n\n /**\n * At start of heading (setext) underline.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n let index = self.events.length;\n /** @type {boolean | undefined} */\n let paragraph;\n // Find an opening.\n while (index--) {\n // Skip enter/exit of line ending, line prefix, and content.\n // We can now either have a definition or a paragraph.\n if (self.events[index][1].type !== \"lineEnding\" && self.events[index][1].type !== \"linePrefix\" && self.events[index][1].type !== \"content\") {\n paragraph = self.events[index][1].type === \"paragraph\";\n break;\n }\n }\n\n // To do: handle lazy/pierce like `markdown-rs`.\n // To do: parse indent like `markdown-rs`.\n if (!self.parser.lazy[self.now().line] && (self.interrupt || paragraph)) {\n effects.enter(\"setextHeadingLine\");\n marker = code;\n return before(code);\n }\n return nok(code);\n }\n\n /**\n * After optional whitespace, at `-` or `=`.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n effects.enter(\"setextHeadingLineSequence\");\n return inside(code);\n }\n\n /**\n * In sequence.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function inside(code) {\n if (code === marker) {\n effects.consume(code);\n return inside;\n }\n effects.exit(\"setextHeadingLineSequence\");\n return markdownSpace(code) ? factorySpace(effects, after, \"lineSuffix\")(code) : after(code);\n }\n\n /**\n * After sequence, after optional whitespace.\n *\n * ```markdown\n * | aa\n * > | ==\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit(\"setextHeadingLine\");\n return ok(code);\n }\n return nok(code);\n }\n}","import { lintWarning } from \"./utils\";\nvar linter = function linter(key, value, info) {\n if (info.parentSelectors.some(function (selector) {\n var selectors = selector.split(',');\n return selectors.some(function (item) {\n return item.split('&').length > 2;\n });\n })) {\n lintWarning('Should not use more than one `&` in a selector.', info);\n }\n};\nexport default linter;","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CustomerServiceOutlinedSvg from \"@ant-design/icons-svg/es/asn/CustomerServiceOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CustomerServiceOutlined = function CustomerServiceOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CustomerServiceOutlinedSvg\n }));\n};\n\n/**![customer-service](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiAxMjhjLTIxMi4xIDAtMzg0IDE3MS45LTM4NCAzODR2MzYwYzAgMTMuMyAxMC43IDI0IDI0IDI0aDE4NGMzNS4zIDAgNjQtMjguNyA2NC02NFY2MjRjMC0zNS4zLTI4LjctNjQtNjQtNjRIMjAwdi00OGMwLTE3Mi4zIDEzOS43LTMxMiAzMTItMzEyczMxMiAxMzkuNyAzMTIgMzEydjQ4SDY4OGMtMzUuMyAwLTY0IDI4LjctNjQgNjR2MjA4YzAgMzUuMyAyOC43IDY0IDY0IDY0aDE4NGMxMy4zIDAgMjQtMTAuNyAyNC0yNFY1MTJjMC0yMTIuMS0xNzEuOS0zODQtMzg0LTM4NHpNMzI4IDYzMnYxOTJIMjAwVjYzMmgxMjh6bTQ5NiAxOTJINjk2VjYzMmgxMjh2MTkyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CustomerServiceOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CustomerServiceOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"prefixCls\", \"steps\", \"strokeWidth\", \"trailWidth\", \"gapDegree\", \"gapPosition\", \"trailColor\", \"strokeLinecap\", \"style\", \"className\", \"strokeColor\", \"percent\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { defaultProps, useTransitionDuration } from \"../common\";\nimport useId from \"../hooks/useId\";\nimport PtgCircle from \"./PtgCircle\";\nimport { VIEW_BOX_SIZE, getCircleStyle } from \"./util\";\nfunction toArray(value) {\n var mergedValue = value !== null && value !== void 0 ? value : [];\n return Array.isArray(mergedValue) ? mergedValue : [mergedValue];\n}\nvar Circle = function Circle(props) {\n var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),\n id = _defaultProps$props.id,\n prefixCls = _defaultProps$props.prefixCls,\n steps = _defaultProps$props.steps,\n strokeWidth = _defaultProps$props.strokeWidth,\n trailWidth = _defaultProps$props.trailWidth,\n _defaultProps$props$g = _defaultProps$props.gapDegree,\n gapDegree = _defaultProps$props$g === void 0 ? 0 : _defaultProps$props$g,\n gapPosition = _defaultProps$props.gapPosition,\n trailColor = _defaultProps$props.trailColor,\n strokeLinecap = _defaultProps$props.strokeLinecap,\n style = _defaultProps$props.style,\n className = _defaultProps$props.className,\n strokeColor = _defaultProps$props.strokeColor,\n percent = _defaultProps$props.percent,\n restProps = _objectWithoutProperties(_defaultProps$props, _excluded);\n var halfSize = VIEW_BOX_SIZE / 2;\n var mergedId = useId(id);\n var gradientId = \"\".concat(mergedId, \"-gradient\");\n var radius = halfSize - strokeWidth / 2;\n var perimeter = Math.PI * 2 * radius;\n var rotateDeg = gapDegree > 0 ? 90 + gapDegree / 2 : -90;\n var perimeterWithoutGap = perimeter * ((360 - gapDegree) / 360);\n var _ref = _typeof(steps) === 'object' ? steps : {\n count: steps,\n gap: 2\n },\n stepCount = _ref.count,\n stepGap = _ref.gap;\n var percentList = toArray(percent);\n var strokeColorList = toArray(strokeColor);\n var gradient = strokeColorList.find(function (color) {\n return color && _typeof(color) === 'object';\n });\n var isConicGradient = gradient && _typeof(gradient) === 'object';\n var mergedStrokeLinecap = isConicGradient ? 'butt' : strokeLinecap;\n var circleStyle = getCircleStyle(perimeter, perimeterWithoutGap, 0, 100, rotateDeg, gapDegree, gapPosition, trailColor, mergedStrokeLinecap, strokeWidth);\n var paths = useTransitionDuration();\n var getStokeList = function getStokeList() {\n var stackPtg = 0;\n return percentList.map(function (ptg, index) {\n var color = strokeColorList[index] || strokeColorList[strokeColorList.length - 1];\n var circleStyleForStack = getCircleStyle(perimeter, perimeterWithoutGap, stackPtg, ptg, rotateDeg, gapDegree, gapPosition, color, mergedStrokeLinecap, strokeWidth);\n stackPtg += ptg;\n return /*#__PURE__*/React.createElement(PtgCircle, {\n key: index,\n color: color,\n ptg: ptg,\n radius: radius,\n prefixCls: prefixCls,\n gradientId: gradientId,\n style: circleStyleForStack,\n strokeLinecap: mergedStrokeLinecap,\n strokeWidth: strokeWidth,\n gapDegree: gapDegree,\n ref: function ref(elem) {\n // https://reactjs.org/docs/refs-and-the-dom.html#callback-refs\n // React will call the ref callback with the DOM element when the component mounts,\n // and call it with `null` when it unmounts.\n // Refs are guaranteed to be up-to-date before componentDidMount or componentDidUpdate fires.\n\n paths[index] = elem;\n },\n size: VIEW_BOX_SIZE\n });\n }).reverse();\n };\n var getStepStokeList = function getStepStokeList() {\n // only show the first percent when pass steps\n var current = Math.round(stepCount * (percentList[0] / 100));\n var stepPtg = 100 / stepCount;\n var stackPtg = 0;\n return new Array(stepCount).fill(null).map(function (_, index) {\n var color = index <= current - 1 ? strokeColorList[0] : trailColor;\n var stroke = color && _typeof(color) === 'object' ? \"url(#\".concat(gradientId, \")\") : undefined;\n var circleStyleForStack = getCircleStyle(perimeter, perimeterWithoutGap, stackPtg, stepPtg, rotateDeg, gapDegree, gapPosition, color, 'butt', strokeWidth, stepGap);\n stackPtg += (perimeterWithoutGap - circleStyleForStack.strokeDashoffset + stepGap) * 100 / perimeterWithoutGap;\n return /*#__PURE__*/React.createElement(\"circle\", {\n key: index,\n className: \"\".concat(prefixCls, \"-circle-path\"),\n r: radius,\n cx: halfSize,\n cy: halfSize,\n stroke: stroke,\n strokeWidth: strokeWidth,\n opacity: 1,\n style: circleStyleForStack,\n ref: function ref(elem) {\n paths[index] = elem;\n }\n });\n });\n };\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: classNames(\"\".concat(prefixCls, \"-circle\"), className),\n viewBox: \"0 0 \".concat(VIEW_BOX_SIZE, \" \").concat(VIEW_BOX_SIZE),\n style: style,\n id: id,\n role: \"presentation\"\n }, restProps), !stepCount && /*#__PURE__*/React.createElement(\"circle\", {\n className: \"\".concat(prefixCls, \"-circle-trail\"),\n r: radius,\n cx: halfSize,\n cy: halfSize,\n stroke: trailColor,\n strokeLinecap: mergedStrokeLinecap,\n strokeWidth: trailWidth || strokeWidth,\n style: circleStyle\n }), stepCount ? getStepStokeList() : getStokeList());\n};\nif (process.env.NODE_ENV !== 'production') {\n Circle.displayName = 'Circle';\n}\nexport default Circle;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodeSandboxCircleFilledSvg from \"@ant-design/icons-svg/es/asn/CodeSandboxCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodeSandboxCircleFilled = function CodeSandboxCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodeSandboxCircleFilledSvg\n }));\n};\n\n/**![code-sandbox-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0yNDMuNyA1ODkuMkw1MTIgNzk0IDI2OC4zIDY1My4yVjM3MS44bDExMC02My42LS40LS4yaC4yTDUxMiAyMzFsMTM0IDc3aC0uMmwtLjMuMiAxMTAuMSA2My42djI4MS40ek0zMDcuOSA1MzYuN2w4Ny42IDQ5LjlWNjgxbDk2LjcgNTUuOVY1MjQuOEwzMDcuOSA0MTguNHptMjAzLjktMTUxLjhMNDE4IDMzMWwtOTEuMSA1Mi42IDE4NS4yIDEwNyAxODUuMi0xMDYuOS05MS40LTUyLjh6bTIwIDM1Mmw5Ny4zLTU2LjJ2LTk0LjFsODctNDkuNVY0MTguNUw1MzEuOCA1MjV6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodeSandboxCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodeSandboxCircleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport OpenAIOutlinedSvg from \"@ant-design/icons-svg/es/asn/OpenAIOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar OpenAIOutlined = function OpenAIOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: OpenAIOutlinedSvg\n }));\n};\n\n/**![open-a-i](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNDgyLjg4IDEyOGMtODQuMzUgMC0xNTYuNTggNTIuOC0xODUuNjggMTI2Ljk4LTYwLjg5IDguMTMtMTE1LjMgNDMuNjMtMTQ2LjYgOTcuODQtNDIuMTYgNzMtMzIuNTUgMTYxLjg4IDE3LjE0IDIyNC4xNi0yMy4zOCA1Ni43NS0xOS44NSAxMjEuNiAxMS40MiAxNzUuNzggNDIuMTggNzMuMDIgMTI0LjEgMTA5LjE1IDIwMi45NCA5Ny4yM0M0MTkuNTggODk4LjYzIDQ3Ny41MSA5MjggNTQwLjEyIDkyOGM4NC4zNSAwIDE1Ni41OC01Mi44IDE4NS42OC0xMjYuOTggNjAuODktOC4xMyAxMTUuMy00My42MiAxNDYuNi05Ny44NCA0Mi4xNi03MyAzMi41NS0xNjEuODgtMTcuMTQtMjI0LjE2IDIzLjM4LTU2Ljc1IDE5Ljg1LTEyMS42LTExLjQyLTE3NS43OC00Mi4xOC03My4wMi0xMjQuMS0xMDkuMTUtMjAyLjk0LTk3LjIzQzYwMy40MiAxNTcuMzggNTQ1LjQ5IDEyOCA0ODIuODggMTI4bTAgNjEuNTRjMzUuNiAwIDY4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LjcyIDM4LjM1VjcyOC42YzAgNzYtNjEuOSAxMzcuODYtMTM3Ljk0IDEzNy44Ni0zNS42IDAtNjguOTctMTMuOTktOTQuMjItMzcuNzQgMS45My0xLjAzIDMuOTItMS44NCA1LjgzLTIuOTRsMTM2LjY4LTc4LjlhNDYuMTEgNDYuMTEgMCAwMDIzLjA5LTM5Ljh6bS00Ni41NCA4OS41NWwtLjM2IDc2LjAyLTE0NC41IDgzLjQxYy02NS44NSAzOC0xNTAuNDIgMTUuMzQtMTg4LjQ0LTUwLjQ4LTE3LjgtMzAuOC0yMi4zOC02Ni43LTE0LjQzLTEwMC40MiAxLjg4IDEuMTcgMy42IDIuNSA1LjUzIDMuNmwxMzYuNzQgNzguOTFhNDYuMjMgNDYuMjMgMCAwMDQ2IC4wNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(OpenAIOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'OpenAIOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SpotifyOutlinedSvg from \"@ant-design/icons-svg/es/asn/SpotifyOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SpotifyOutlined = function SpotifyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SpotifyOutlinedSvg\n }));\n};\n\n/**![spotify](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTEyIDY0QzI2NC41MiA2NCA2NCAyNjQu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TE1LjE2IDEzMy4wMi0xNS4xNiAxMDQuMjMgMCAxOTQuOTUgMjUuMzkgMjYxLjMzIDY2LjUgNi4yMyAzLjIgMTIuNyA1LjgyIDIyLjE0IDUuODIgMTguOTYgMCAzMS41LTE2LjA2IDMxLjUtMzQuOTggMC0xMi43LTUuOTctMjUuMjQtMTguNjYtMzEuNTEtODIuMTMtNTAuNTktMTg2LjUyLTc1LjgzLTI5NC03NS44M20xMC40OSAxMzYuNWMtNTMuNjUgMC0xMDQuNTMgNS45Ny0xNTUuMTYgMTguNjYtMTIuNjkgMy4yMS0yMi4xNyAxMi4yNC0yMi4xNyAyOCAwIDEyLjcgOS45MyAyNS42OCAyNS42OCAyNS42OCAzLjIxIDAgMTIuNC0zLjUgMTguNjctMy41YTU4MS43MyA1ODEuNzMgMCAwMTEyOS41LTE1LjJjNzguOSAwIDE1MS4wNiAxOC45NyAyMTEuMTcgNTMuNjkgNi40MiAzLjIgMTMuNTUgNS44MiAxOS44MiA1LjgyIDEyLjcgMCAyNC43OS05LjQ4IDI4LTIyLjE0IDAtMTUuOS02Ljg3LTIxLjc2LTE2LjM1LTI4LTY5LjU1LTQxLjE0LTE1MC44LTYzLjAyLTIzOS4xNi02My4wMiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SpotifyOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SpotifyOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport NodeIndexOutlinedSvg from \"@ant-design/icons-svg/es/asn/NodeIndexOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar NodeIndexOutlined = function NodeIndexOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: NodeIndexOutlinedSvg\n }));\n};\n\n/**![node-index](data:image/svg+xml;base64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LTIuMi0uMy01LjktLjgtMTAuNy0xLjMtMjUtMi4zLTUyLjEtMS41LTc4LjUgNC42LTU1LjIgMTIuOS05My45IDQ3LjItMTAxLjEgMTA1LjgtMTUuNyAxMjYuMiA3OC42IDE4NC43IDI3NiAxODguOSAyOS4xIDcwLjQgMTA2LjQgMTA3LjkgMTc5LjYgODcgNzMuMy0yMC45IDExOS4zLTkzLjQgMTA2LjktMTY4LjZ6TTMyOS4xIDM0NS4yYTgzLjMgODMuMyAwIDExLjAxLTE2Ni42MSA4My4zIDgzLjMgMCAwMS0uMDEgMTY2LjYxek02OTUuNiA4NDVhODMuMyA4My4zIDAgMTEuMDEtMTY2LjYxQTgzLjMgODMuMyAwIDAxNjk1LjYgODQ1eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(NodeIndexOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'NodeIndexOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ImportOutlinedSvg from \"@ant-design/icons-svg/es/asn/ImportOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ImportOutlined = function ImportOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ImportOutlinedSvg\n }));\n};\n\n/**![import](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNODgwIDkxMkgxNDRjLTE3LjcgMC0zMi0xNC4zLTMyLTMyVjE0NGMwLTE3LjcgMTQuMy0zMiAzMi0zMmgzNjBjNC40IDAgOCAzLjYgOCA4djU2YzAgNC40LTMuNiA4LTggOEgxODR2NjU2aDY1NlY1MjBjMC00LjQgMy42LTggOC04aDU2YzQuNCAwIDggMy42IDggOHYzNjBjMCAxNy43LTE0LjMgMzItMzIgMzJ6TTY1My4zIDQyNC42bDUyLjIgNTIuMmE4LjAxIDguMDEgMCAwMS00LjcgMTMuNmwtMTc5LjQgMjFjLTUuMS42LTkuNS0zLjctOC45LTguOWwyMS0xNzkuNGMuOC02LjYgOC45LTkuNCAxMy42LTQuN2w1Mi40IDUyLjQgMjU2LjItMjU2LjJjMy4xLTMuMSA4LjItMy4xIDExLjMgMGw0Mi40IDQyLjRjMy4xIDMuMSAzLjEgOC4yIDAgMTEuM0w2NTMuMyA0MjQuNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ImportOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ImportOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport StopFilledSvg from \"@ant-design/icons-svg/es/asn/StopFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar StopFilled = function StopFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: StopFilledSvg\n }));\n};\n\n/**![stop](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0yMzQuOCA3MzYuNUwyMjMuNSAyNzcuMmMxNi0xOS43IDM0LTM3LjcgNTMuNy01My43bDUyMy4zIDUyMy4zYy0xNiAxOS42LTM0IDM3LjctNTMuNyA1My43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(StopFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'StopFilled';\n}\nexport default RefIcon;","import * as React from 'react';\nimport Field from \"./Field\";\nimport List from \"./List\";\nimport useForm from \"./useForm\";\nimport FieldForm from \"./Form\";\nimport { FormProvider } from \"./FormContext\";\nimport FieldContext from \"./FieldContext\";\nimport ListContext from \"./ListContext\";\nimport useWatch from \"./useWatch\";\nvar InternalForm = /*#__PURE__*/React.forwardRef(FieldForm);\nvar RefForm = InternalForm;\nRefForm.FormProvider = FormProvider;\nRefForm.Field = Field;\nRefForm.List = List;\nRefForm.useForm = useForm;\nRefForm.useWatch = useWatch;\nexport { Field, List, useForm, FormProvider, FieldContext, ListContext, useWatch };\nexport default RefForm;","export { gfmTaskListItemHtml } from './lib/html.js';\nexport { gfmTaskListItem } from './lib/syntax.js';","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Heading} Heading\n * @typedef {import('../state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Turn an mdast `heading` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Heading} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function heading(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'h' + node.depth,\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport UpSquareTwoToneSvg from \"@ant-design/icons-svg/es/asn/UpSquareTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar UpSquareTwoTone = function UpSquareTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: UpSquareTwoToneSvg\n }));\n};\n\n/**![up-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDcyOEgxODRWMTg0aDY1NnY2NTZ6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik0xODQgODQwaDY1NlYxODRIMTg0djY1NnptMTQzLjUtMjI4LjdsMTc4LTI0NmMzLjItNC40IDkuNy00LjQgMTIuOSAwbDE3OCAyNDZjMy45IDUuMy4xIDEyLjctNi40IDEyLjdoLTQ2LjljLTEwLjIgMC0xOS45LTQuOS0yNS45LTEzLjJMNTEyIDQ2NS40IDQwNi44IDYxMC44Yy02IDguMy0xNS42IDEzLjItMjUuOSAxMy4ySDMzNGMtNi41IDAtMTAuMy03LjQtNi41LTEyLjd6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik0zMzQgNjI0aDQ2LjljMTAuMyAwIDE5LjktNC45IDI1LjktMTMuMkw1MTIgNDY1LjRsMTA1LjIgMTQ1LjRjNiA4LjMgMTUuNyAxMy4yIDI1LjkgMTMuMkg2OTBjNi41IDAgMTAuMy03LjQgNi40LTEyLjdsLTE3OC0yNDZhNy45NSA3Ljk1IDAgMDAtMTIuOSAwbC0xNzggMjQ2Yy0zLjggNS4zIDAgMTIuNyA2LjUgMTIuN3oiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(UpSquareTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'UpSquareTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PrinterFilledSvg from \"@ant-design/icons-svg/es/asn/PrinterFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PrinterFilled = function PrinterFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PrinterFilledSvg\n }));\n};\n\n/**![printer](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTczMiAxMjBjMC00LjQtMy42LTgtOC04SDMwMGMtNC40IDAtOCAzLjYtOCA4djE0OGg0NDBWMTIwem0xMjAgMjEySDE3MmMtNDQuMiAwLTgwIDM1LjgtODAgODB2MzI4YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDE2OHYxMzJjMCA0LjQgMy42IDggOCA4aDQyNGM0LjQgMCA4LTMuNiA4LThWNzcyaDE2OGMxNy43IDAgMzItMTQuMyAzMi0zMlY0MTJjMC00NC4yLTM1LjgtODAtODAtODB6TTY2NCA4NDRIMzYwVjU2OGgzMDR2Mjc2em0xNjQtMzYwYzAgNC40LTMuNiA4LTggOGgtNDBjLTQuNCAwLTgtMy42LTgtOHYtNDBjMC00LjQgMy42LTggOC04aDQwYzQuNCAwIDggMy42IDggOHY0MHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PrinterFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PrinterFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FunnelPlotOutlinedSvg from \"@ant-design/icons-svg/es/asn/FunnelPlotOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FunnelPlotOutlined = function FunnelPlotOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FunnelPlotOutlinedSvg\n }));\n};\n\n/**![funnel-plot](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MC4xIDE1NEgxNDMuOWMtMjQuNSAwLTM5LjggMjYuNy0yNy41IDQ4TDM0OSA2MDcuNFY4MzhjMCAxNy43IDE0LjIgMzIgMzEuOCAzMmgyNjIuNGMxNy42IDAgMzEuOC0xNC4zIDMxLjgtMzJWNjA3LjRMOTA3LjcgMjAyYzEyLjItMjEuMy0zLjEtNDgtMjcuNi00OHpNNjAzLjQgNzk4SDQyMC42VjY1MGgxODIuOXYxNDh6bTkuNi0yMjYuNmwtOC40IDE0LjZINDE5LjNsLTguNC0xNC42TDMzNC40IDQzOGgzNTUuMkw2MTMgNTcxLjR6TTcyNi4zIDM3NEgyOTcuN2wtODUtMTQ4aDU5OC42bC04NSAxNDh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FunnelPlotOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FunnelPlotOutlined';\n}\nexport default RefIcon;","import React, { useMemo } from 'react';\nimport { Color } from \"../color\";\nimport { generateColor } from \"../util\";\nvar Gradient = function Gradient(_ref) {\n var colors = _ref.colors,\n children = _ref.children,\n _ref$direction = _ref.direction,\n direction = _ref$direction === void 0 ? 'to right' : _ref$direction,\n type = _ref.type,\n prefixCls = _ref.prefixCls;\n var gradientColors = useMemo(function () {\n return colors.map(function (color, idx) {\n var result = generateColor(color);\n if (type === 'alpha' && idx === colors.length - 1) {\n result = new Color(result.setA(1));\n }\n return result.toRgbString();\n }).join(',');\n }, [colors, type]);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-gradient\"),\n style: {\n position: 'absolute',\n inset: 0,\n background: \"linear-gradient(\".concat(direction, \", \").concat(gradientColors, \")\")\n }\n }, children);\n};\nexport default Gradient;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport { pathKey } from \"../Cache\";\nimport StyleContext from \"../StyleContext\";\nimport useCompatibleInsertionEffect from \"./useCompatibleInsertionEffect\";\nimport useEffectCleanupRegister from \"./useEffectCleanupRegister\";\nimport useHMR from \"./useHMR\";\nexport default function useGlobalCache(prefix, keyPath, cacheFn, onCacheRemove,\n// Add additional effect trigger by `useInsertionEffect`\nonCacheEffect) {\n var _React$useContext = React.useContext(StyleContext),\n globalCache = _React$useContext.cache;\n var fullPath = [prefix].concat(_toConsumableArray(keyPath));\n var fullPathStr = pathKey(fullPath);\n var register = useEffectCleanupRegister([fullPathStr]);\n var HMRUpdate = useHMR();\n var buildCache = function buildCache(updater) {\n globalCache.opUpdate(fullPathStr, function (prevCache) {\n var _ref = prevCache || [undefined, undefined],\n _ref2 = _slicedToArray(_ref, 2),\n _ref2$ = _ref2[0],\n times = _ref2$ === void 0 ? 0 : _ref2$,\n cache = _ref2[1];\n\n // HMR should always ignore cache since developer may change it\n var tmpCache = cache;\n if (process.env.NODE_ENV !== 'production' && cache && HMRUpdate) {\n onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(tmpCache, HMRUpdate);\n tmpCache = null;\n }\n var mergedCache = tmpCache || cacheFn();\n var data = [times, mergedCache];\n\n // Call updater if need additional logic\n return updater ? updater(data) : data;\n });\n };\n\n // Create cache\n React.useMemo(function () {\n buildCache();\n }, /* eslint-disable react-hooks/exhaustive-deps */\n [fullPathStr]\n /* eslint-enable */);\n\n var cacheEntity = globalCache.opGet(fullPathStr);\n\n // HMR clean the cache but not trigger `useMemo` again\n // Let's fallback of this\n // ref https://github.com/ant-design/cssinjs/issues/127\n if (process.env.NODE_ENV !== 'production' && !cacheEntity) {\n buildCache();\n cacheEntity = globalCache.opGet(fullPathStr);\n }\n var cacheContent = cacheEntity[1];\n\n // Remove if no need anymore\n useCompatibleInsertionEffect(function () {\n onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent);\n }, function (polyfill) {\n // It's bad to call build again in effect.\n // But we have to do this since StrictMode will call effect twice\n // which will clear cache on the first time.\n buildCache(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n times = _ref4[0],\n cache = _ref4[1];\n if (polyfill && times === 0) {\n onCacheEffect === null || onCacheEffect === void 0 || onCacheEffect(cacheContent);\n }\n return [times + 1, cache];\n });\n return function () {\n globalCache.opUpdate(fullPathStr, function (prevCache) {\n var _ref5 = prevCache || [],\n _ref6 = _slicedToArray(_ref5, 2),\n _ref6$ = _ref6[0],\n times = _ref6$ === void 0 ? 0 : _ref6$,\n cache = _ref6[1];\n var nextCount = times - 1;\n if (nextCount === 0) {\n // Always remove styles in useEffect callback\n register(function () {\n // With polyfill, registered callback will always be called synchronously\n // But without polyfill, it will be called in effect clean up,\n // And by that time this cache is cleaned up.\n if (polyfill || !globalCache.opGet(fullPathStr)) {\n onCacheRemove === null || onCacheRemove === void 0 || onCacheRemove(cache, false);\n }\n });\n return null;\n }\n return [times - 1, cache];\n });\n };\n }, [fullPathStr]);\n return cacheContent;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TagsOutlinedSvg from \"@ant-design/icons-svg/es/asn/TagsOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TagsOutlined = function TagsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TagsOutlinedSvg\n }));\n};\n\n/**![tags](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4My4yIDc5MC4zTDg2MS40IDQxMmMxLjctMS43IDIuNS00IDIuMy02LjNsLTI1LjUtMzAxLjRjLS43LTcuOC02LjgtMTMuOS0xNC42LTE0LjZMNTIyLjIgNjQuM2MtMi4zLS4yLTQuNy42LTYuMyAyLjNMMTM3LjcgNDQ0LjhhOC4wMyA4LjAzIDAgMDAwIDExLjNsMzM0LjIgMzM0LjJjMy4xIDMuMiA4LjIgMy4yIDExLjMgMHptNjIuNi02NTEuN2wyMjQuNiAxOSAxOSAyMjQuNkw0NzcuNSA2OTQgMjMzLjkgNDUwLjVsMzExLjktMzExLjl6bTYwLjE2IDE4Ni4yM2E0OCA0OCAwIDEwNjcuODgtNjcuODkgNDggNDggMCAxMC02Ny44OCA2Ny44OXpNODg5LjcgNTM5LjhsLTM5LjYtMzkuNWE4LjAzIDguMDMgMCAwMC0xMS4zIDBsLTM2MiAzNjEuMy0yMzcuNi0yMzdhOC4wMyA4LjAzIDAgMDAtMTEuMyAwbC0zOS42IDM5LjVhOC4wMyA4LjAzIDAgMDAwIDExLjNsMjQzLjIgMjQyLjggMzkuNiAzOS41YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsNDA3LjMtNDA2LjZjMy4xLTMuMSAzLjEtOC4yIDAtMTEuM3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TagsOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TagsOutlined';\n}\nexport default RefIcon;","export default function useInputReadOnly(formatList, inputReadOnly, multiple) {\n if (typeof formatList[0] === 'function' || multiple) {\n return true;\n }\n return inputReadOnly;\n}","\nimport {nextToken, skipLineComment} from \"../tokenizer/index\";\nimport {charCodes} from \"../util/charcodes\";\nimport {input, state} from \"./base\";\nimport {parseTopLevel} from \"./statement\";\n\nexport function parseFile() {\n // If enabled, skip leading hashbang line.\n if (\n state.pos === 0 &&\n input.charCodeAt(0) === charCodes.numberSign &&\n input.charCodeAt(1) === charCodes.exclamationMark\n ) {\n skipLineComment(2);\n }\n nextToken();\n return parseTopLevel();\n}\n","/* istanbul ignore file */\n\n/** This is a placeholder, not real render in dom */\nvar Option = function Option() {\n return null;\n};\nOption.isSelectOption = true;\nexport default Option;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classnames from 'classnames';\nimport React from 'react';\nvar PanelContent = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var prefixCls = props.prefixCls,\n forceRender = props.forceRender,\n className = props.className,\n style = props.style,\n children = props.children,\n isActive = props.isActive,\n role = props.role,\n customizeClassNames = props.classNames,\n styles = props.styles;\n var _React$useState = React.useState(isActive || forceRender),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n rendered = _React$useState2[0],\n setRendered = _React$useState2[1];\n React.useEffect(function () {\n if (forceRender || isActive) {\n setRendered(true);\n }\n }, [forceRender, isActive]);\n if (!rendered) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: classnames(\"\".concat(prefixCls, \"-content\"), _defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-content-active\"), isActive), \"\".concat(prefixCls, \"-content-inactive\"), !isActive), className),\n style: style,\n role: role\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-content-box\"), customizeClassNames === null || customizeClassNames === void 0 ? void 0 : customizeClassNames.body),\n style: styles === null || styles === void 0 ? void 0 : styles.body\n }, children));\n});\nPanelContent.displayName = 'PanelContent';\nexport default PanelContent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport GitlabFilledSvg from \"@ant-design/icons-svg/es/asn/GitlabFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar GitlabFilled = function GitlabFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: GitlabFilledSvg\n }));\n};\n\n/**![gitlab](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkxMC41IDU1My4ybC0xMDktMzcwLjhjLTYuOC0yMC40LTIzLjEtMzQuMS00NC45LTM0LjFzLTM5LjUgMTIuMy00Ni4zIDMyLjdsLTcyLjIgMjE1LjRIMzg2LjJMMzE0IDE4MS4xYy02LjgtMjAuNC0yNC41LTMyLjctNDYuMy0zMi43cy0zOS41IDEzLjYtNDQuOSAzNC4xTDExMy45IDU1My4yYy00LjEgMTMuNiAxLjQgMjguNiAxMi4zIDM2LjhsMzg1LjQgMjg5IDM4Ni43LTI4OWMxMC44LTguMSAxNi4zLTIzLjEgMTIuMi0zNi44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(GitlabFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'GitlabFilled';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport React from 'react';\nexport function fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, showMeridiem) {\n var timeFormat = '';\n\n // Base HH:mm:ss\n var cells = [];\n if (showHour) {\n cells.push(showMeridiem ? 'hh' : 'HH');\n }\n if (showMinute) {\n cells.push('mm');\n }\n if (showSecond) {\n cells.push('ss');\n }\n timeFormat = cells.join(':');\n\n // Millisecond\n if (showMillisecond) {\n timeFormat += '.SSS';\n }\n\n // Meridiem\n if (showMeridiem) {\n timeFormat += ' A';\n }\n return timeFormat;\n}\n\n/**\n * Used for `useFilledProps` since it already in the React.useMemo\n */\nfunction fillLocale(locale, showHour, showMinute, showSecond, showMillisecond, use12Hours) {\n // Not fill `monthFormat` since `locale.shortMonths` handle this\n // Not fill `cellMeridiemFormat` since AM & PM by default\n var fieldDateTimeFormat = locale.fieldDateTimeFormat,\n fieldDateFormat = locale.fieldDateFormat,\n fieldTimeFormat = locale.fieldTimeFormat,\n fieldMonthFormat = locale.fieldMonthFormat,\n fieldYearFormat = locale.fieldYearFormat,\n fieldWeekFormat = locale.fieldWeekFormat,\n fieldQuarterFormat = locale.fieldQuarterFormat,\n yearFormat = locale.yearFormat,\n cellYearFormat = locale.cellYearFormat,\n cellQuarterFormat = locale.cellQuarterFormat,\n dayFormat = locale.dayFormat,\n cellDateFormat = locale.cellDateFormat;\n var timeFormat = fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, use12Hours);\n return _objectSpread(_objectSpread({}, locale), {}, {\n fieldDateTimeFormat: fieldDateTimeFormat || \"YYYY-MM-DD \".concat(timeFormat),\n fieldDateFormat: fieldDateFormat || 'YYYY-MM-DD',\n fieldTimeFormat: fieldTimeFormat || timeFormat,\n fieldMonthFormat: fieldMonthFormat || 'YYYY-MM',\n fieldYearFormat: fieldYearFormat || 'YYYY',\n fieldWeekFormat: fieldWeekFormat || 'gggg-wo',\n fieldQuarterFormat: fieldQuarterFormat || 'YYYY-[Q]Q',\n yearFormat: yearFormat || 'YYYY',\n cellYearFormat: cellYearFormat || 'YYYY',\n cellQuarterFormat: cellQuarterFormat || '[Q]Q',\n cellDateFormat: cellDateFormat || dayFormat || 'D'\n });\n}\n\n/**\n * Fill locale format as start up\n */\nexport default function useLocale(locale, showProps) {\n var showHour = showProps.showHour,\n showMinute = showProps.showMinute,\n showSecond = showProps.showSecond,\n showMillisecond = showProps.showMillisecond,\n use12Hours = showProps.use12Hours;\n return React.useMemo(function () {\n return fillLocale(locale, showHour, showMinute, showSecond, showMillisecond, use12Hours);\n }, [locale, showHour, showMinute, showSecond, showMillisecond, use12Hours]);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RedEnvelopeOutlinedSvg from \"@ant-design/icons-svg/es/asn/RedEnvelopeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RedEnvelopeOutlined = function RedEnvelopeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RedEnvelopeOutlinedSvg\n }));\n};\n\n/**![red-envelope](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0MC42IDQ2Mi42YTguMzggOC4zOCAwIDAwLTcuNS00LjZoLTQ4LjhjLTEuMyAwLTIuNi40LTMuOSAxYTguNCA4LjQgMCAwMC0zLjQgMTEuNGw4Ny40IDE2MS4xSDQxOWMtNC42IDAtOC40IDMuOC04LjQgOC40VjY2NWMwIDQuNiAzLjggOC40IDguNCA4LjRoNjNWNzAyaC02M2MtNC42IDAtOC40IDMuOC04LjQgOC40djI1LjFjMCA0LjYgMy44IDguNCA4LjQgOC40aDYzdjQ5LjljMCA0LjYgMy44IDguNCA4LjQgOC40aDQzLjdjNC42IDAgOC40LTMuOCA4LjQtOC40di00OS45aDYzLjNjNC43IDAgOC40LTMuOCA4LjItOC41di0yNWMwLTQuNi0zLjgtOC40LTguNC04LjRoLTYzLjN2LTI4LjZoNjMuM2M0LjYgMCA4LjQtMy44IDguNC04LjR2LTI1LjFjMC00LjYtMy44LTguNC04LjQtOC40aC00NS45bDg3LjItMTYxYTguNDUgOC40NSAwIDAwLTcuNC0xMi40aC00Ny44Yy0zLjEgMC02IDEuOC03LjUgNC42bC03MS45IDE0MS45LTcxLjctMTQyek04MzIgNjRIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY4MzJjMCAxNy43IDE0LjMgMzIgMzIgMzJoNjQwYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjk2YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDAgODI0SDIzMlYxOTMuMWwyNjAuMyAyMDQuMWMxMS42IDkuMSAyNy45IDkuMSAzOS41IDBMNzkyIDE5My4xVjg4OHptMC03NTEuM2gtMzEuN0w1MTIgMzMxLjMgMjYzLjcgMTM2LjdIMjMydi0uN2g1NjB2Ljd6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RedEnvelopeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RedEnvelopeOutlined';\n}\nexport default RefIcon;","/**\n * @typedef {import('mdast').ListItem} ListItem\n * @typedef {import('mdast').Paragraph} Paragraph\n * @typedef {import('mdast-util-from-markdown').CompileContext} CompileContext\n * @typedef {import('mdast-util-from-markdown').Extension} FromMarkdownExtension\n * @typedef {import('mdast-util-from-markdown').Handle} FromMarkdownHandle\n * @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension\n * @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle\n */\n\nimport {ok as assert} from 'devlop'\nimport {defaultHandlers} from 'mdast-util-to-markdown'\n\n/**\n * Create an extension for `mdast-util-from-markdown` to enable GFM task\n * list items in markdown.\n *\n * @returns {FromMarkdownExtension}\n * Extension for `mdast-util-from-markdown` to enable GFM task list items.\n */\nexport function gfmTaskListItemFromMarkdown() {\n return {\n exit: {\n taskListCheckValueChecked: exitCheck,\n taskListCheckValueUnchecked: exitCheck,\n paragraph: exitParagraphWithTaskListItem\n }\n }\n}\n\n/**\n * Create an extension for `mdast-util-to-markdown` to enable GFM task list\n * items in markdown.\n *\n * @returns {ToMarkdownExtension}\n * Extension for `mdast-util-to-markdown` to enable GFM task list items.\n */\nexport function gfmTaskListItemToMarkdown() {\n return {\n unsafe: [{atBreak: true, character: '-', after: '[:|-]'}],\n handlers: {listItem: listItemWithTaskListItem}\n }\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitCheck(token) {\n // We’re always in a paragraph, in a list item.\n const node = this.stack[this.stack.length - 2]\n assert(node.type === 'listItem')\n node.checked = token.type === 'taskListCheckValueChecked'\n}\n\n/**\n * @this {CompileContext}\n * @type {FromMarkdownHandle}\n */\nfunction exitParagraphWithTaskListItem(token) {\n const parent = this.stack[this.stack.length - 2]\n\n if (\n parent &&\n parent.type === 'listItem' &&\n typeof parent.checked === 'boolean'\n ) {\n const node = this.stack[this.stack.length - 1]\n assert(node.type === 'paragraph')\n const head = node.children[0]\n\n if (head && head.type === 'text') {\n const siblings = parent.children\n let index = -1\n /** @type {Paragraph | undefined} */\n let firstParaghraph\n\n while (++index < siblings.length) {\n const sibling = siblings[index]\n if (sibling.type === 'paragraph') {\n firstParaghraph = sibling\n break\n }\n }\n\n if (firstParaghraph === node) {\n // Must start with a space or a tab.\n head.value = head.value.slice(1)\n\n if (head.value.length === 0) {\n node.children.shift()\n } else if (\n node.position &&\n head.position &&\n typeof head.position.start.offset === 'number'\n ) {\n head.position.start.column++\n head.position.start.offset++\n node.position.start = Object.assign({}, head.position.start)\n }\n }\n }\n }\n\n this.exit(token)\n}\n\n/**\n * @type {ToMarkdownHandle}\n * @param {ListItem} node\n */\nfunction listItemWithTaskListItem(node, parent, state, info) {\n const head = node.children[0]\n const checkable =\n typeof node.checked === 'boolean' && head && head.type === 'paragraph'\n const checkbox = '[' + (node.checked ? 'x' : ' ') + '] '\n const tracker = state.createTracker(info)\n\n if (checkable) {\n tracker.move(checkbox)\n }\n\n let value = defaultHandlers.listItem(node, parent, state, {\n ...info,\n ...tracker.current()\n })\n\n if (checkable) {\n value = value.replace(/^(?:[*+-]|\\d+\\.)([\\r\\n]| {1,3})/, check)\n }\n\n return value\n\n /**\n * @param {string} $0\n * @returns {string}\n */\n function check($0) {\n return $0 + checkbox\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport UsbTwoToneSvg from \"@ant-design/icons-svg/es/asn/UsbTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar UsbTwoTone = function UsbTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: UsbTwoToneSvg\n }));\n};\n\n/**![usb](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc1OS45IDUwNEgyNjQuMWMtMjYuNSAwLTQ4LjEgMTkuNy00OC4xIDQ0djI5Mmg1OTJWNTQ4YzAtMjQuMy0yMS42LTQ0LTQ4LjEtNDR6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik00NTYgMjQ4aC00OGMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOGg0OGM0LjQgMCA4LTMuNiA4LTh2LTQ4YzAtNC40LTMuNi04LTgtOHptMTYwIDBoLTQ4Yy00LjQgMC04IDMuNi04IDh2NDhjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04eiIgZmlsbD0iIzE2NzdmZiIgLz48cGF0aCBkPSJNNzYwIDQzMlYxNDRjMC0xNy43LTE0LjMtMzItMzItMzJIMjk2Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYyODhjLTY2LjIgMC0xMjAgNTIuMS0xMjAgMTE2djM1NmMwIDQuNCAzLjYgOCA4IDhoNzIwYzQuNCAwIDgtMy42IDgtOFY1NDhjMC02My45LTUzLjgtMTE2LTEyMC0xMTZ6TTMzNiAxODRoMzUydjI0OEgzMzZWMTg0em00NzIgNjU2SDIxNlY1NDhjMC0yNC4zIDIxLjYtNDQgNDguMS00NGg0OTUuOGMyNi41IDAgNDguMSAxOS43IDQ4LjEgNDR2MjkyeiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(UsbTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'UsbTwoTone';\n}\nexport default RefIcon;","/**\n * @typedef {import('./create-h.js').Child} Child\n * Acceptable child value.\n * @typedef {import('./create-h.js').Properties} Properties\n * Acceptable value for element properties.\n * @typedef {import('./create-h.js').Result} Result\n * Result from a `h` (or `s`) call.\n */\n\n// Register the JSX namespace on `h`.\n/**\n * @typedef {import('./jsx-classic.js').Element} h.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} h.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} h.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} h.JSX.IntrinsicElements\n */\n\n// Register the JSX namespace on `s`.\n/**\n * @typedef {import('./jsx-classic.js').Element} s.JSX.Element\n * @typedef {import('./jsx-classic.js').ElementChildrenAttribute} s.JSX.ElementChildrenAttribute\n * @typedef {import('./jsx-classic.js').IntrinsicAttributes} s.JSX.IntrinsicAttributes\n * @typedef {import('./jsx-classic.js').IntrinsicElements} s.JSX.IntrinsicElements\n */\n\nimport {html, svg} from 'property-information'\nimport {createH} from './create-h.js'\nimport {svgCaseSensitiveTagNames} from './svg-case-sensitive-tag-names.js'\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType} */\nexport const h = createH(html, 'div')\n\n// Note: this explicit type is needed, otherwise TS creates broken types.\n/** @type {ReturnType} */\nexport const s = createH(svg, 'g', svgCaseSensitiveTagNames)\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AppleFilledSvg from \"@ant-design/icons-svg/es/asn/AppleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AppleFilled = function AppleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AppleFilledSvg\n }));\n};\n\n/**![apple](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc0Ny40IDUzNS43Yy0uNC02OC4yIDMwLjUtMTE5LjYgOTIuOS0xNTcuNS0zNC45LTUwLTg3LjctNzcuNS0xNTcuMy04Mi44LTY1LjktNS4yLTEzOCAzOC40LTE2NC40IDM4LjQtMjcuOSAwLTkxLjctMzYuNi0xNDEuOS0zNi42QzI3My4xIDI5OC44IDE2MyAzNzkuOCAxNjMgNTQ0LjZjMCA0OC43IDguOSA5OSAyNi43IDE1MC44IDIzLjggNjguMiAxMDkuNiAyMzUuMyAxOTkuMSAyMzIuNiA0Ni44LTEuMSA3OS45LTMzLjIgMTQwLjgtMzMuMiA1OS4xIDAgODkuNyAzMy4yIDE0MS45IDMzLjIgOTAuMy0xLjMgMTY3LjktMTUzLjIgMTkwLjUtMjIxLjYtMTIxLjEtNTcuMS0xMTQuNi0xNjcuMi0xMTQuNi0xNzAuN3ptLTEwNS4xLTMwNWM1MC43LTYwLjIgNDYuMS0xMTUgNDQuNi0xMzQuNy00NC44IDIuNi05Ni42IDMwLjUtMTI2LjEgNjQuOC0zMi41IDM2LjgtNTEuNiA4Mi4zLTQ3LjUgMTMzLjYgNDguNCAzLjcgOTIuNi0yMS4yIDEyOS02My43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AppleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AppleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FilePptFilledSvg from \"@ant-design/icons-svg/es/asn/FilePptFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FilePptFilled = function FilePptFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FilePptFilledSvg\n }));\n};\n\n/**![file-ppt](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1NC42IDI4OC43YzYgNiA5LjQgMTQuMSA5LjQgMjIuNlY5MjhjMCAxNy43LTE0LjMgMzItMzIgMzJIMTkyYy0xNy43IDAtMzItMTQuMy0zMi0zMlY5NmMwLTE3LjcgMTQuMy0zMiAzMi0zMmg0MjQuN2M4LjUgMCAxNi43IDMuNCAyMi43IDkuNGwyMTUuMiAyMTUuM3pNNzkwLjIgMzI2TDYwMiAxMzcuOFYzMjZoMTg4LjJ6TTQ2OC41MyA3NjB2LTkxLjU0aDU5LjI3YzYwLjU3IDAgMTAwLjItMzkuNjUgMTAwLjItOTguMTIgMC01OC4yMi0zOS41OC05OC4zNC05OS45OC05OC4zNEg0MjRhMTIgMTIgMCAwMC0xMiAxMnYyNzZhMTIgMTIgMCAwMDEyIDEyaDMyLjUzYTEyIDEyIDAgMDAxMi0xMnptMC0xMzkuMzNoMzQuOWM0Ny44MiAwIDY3LjE5LTEyLjkzIDY3LjE5LTUwLjMzIDAtMzIuMDUtMTguMTItNTAuMTItNDkuODctNTAuMTJoLTUyLjIydjEwMC40NXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FilePptFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FilePptFilled';\n}\nexport default RefIcon;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { getFocusNodeList } from \"rc-util/es/Dom/focus\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nimport { getMenuId } from \"../context/IdContext\";\n// destruct to reduce minify size\nvar LEFT = KeyCode.LEFT,\n RIGHT = KeyCode.RIGHT,\n UP = KeyCode.UP,\n DOWN = KeyCode.DOWN,\n ENTER = KeyCode.ENTER,\n ESC = KeyCode.ESC,\n HOME = KeyCode.HOME,\n END = KeyCode.END;\nvar ArrowKeys = [UP, DOWN, LEFT, RIGHT];\nfunction getOffset(mode, isRootLevel, isRtl, which) {\n var _offsets;\n var prev = 'prev';\n var next = 'next';\n var children = 'children';\n var parent = 'parent';\n\n // Inline enter is special that we use unique operation\n if (mode === 'inline' && which === ENTER) {\n return {\n inlineTrigger: true\n };\n }\n var inline = _defineProperty(_defineProperty({}, UP, prev), DOWN, next);\n var horizontal = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, LEFT, isRtl ? next : prev), RIGHT, isRtl ? prev : next), DOWN, children), ENTER, children);\n var vertical = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, UP, prev), DOWN, next), ENTER, children), ESC, parent), LEFT, isRtl ? children : parent), RIGHT, isRtl ? parent : children);\n var offsets = {\n inline: inline,\n horizontal: horizontal,\n vertical: vertical,\n inlineSub: inline,\n horizontalSub: vertical,\n verticalSub: vertical\n };\n var type = (_offsets = offsets[\"\".concat(mode).concat(isRootLevel ? '' : 'Sub')]) === null || _offsets === void 0 ? void 0 : _offsets[which];\n switch (type) {\n case prev:\n return {\n offset: -1,\n sibling: true\n };\n case next:\n return {\n offset: 1,\n sibling: true\n };\n case parent:\n return {\n offset: -1,\n sibling: false\n };\n case children:\n return {\n offset: 1,\n sibling: false\n };\n default:\n return null;\n }\n}\nfunction findContainerUL(element) {\n var current = element;\n while (current) {\n if (current.getAttribute('data-menu-list')) {\n return current;\n }\n current = current.parentElement;\n }\n\n // Normally should not reach this line\n /* istanbul ignore next */\n return null;\n}\n\n/**\n * Find focused element within element set provided\n */\nfunction getFocusElement(activeElement, elements) {\n var current = activeElement || document.activeElement;\n while (current) {\n if (elements.has(current)) {\n return current;\n }\n current = current.parentElement;\n }\n return null;\n}\n\n/**\n * Get focusable elements from the element set under provided container\n */\nexport function getFocusableElements(container, elements) {\n var list = getFocusNodeList(container, true);\n return list.filter(function (ele) {\n return elements.has(ele);\n });\n}\nfunction getNextFocusElement(parentQueryContainer, elements, focusMenuElement) {\n var offset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n // Key on the menu item will not get validate parent container\n if (!parentQueryContainer) {\n return null;\n }\n\n // List current level menu item elements\n var sameLevelFocusableMenuElementList = getFocusableElements(parentQueryContainer, elements);\n\n // Find next focus index\n var count = sameLevelFocusableMenuElementList.length;\n var focusIndex = sameLevelFocusableMenuElementList.findIndex(function (ele) {\n return focusMenuElement === ele;\n });\n if (offset < 0) {\n if (focusIndex === -1) {\n focusIndex = count - 1;\n } else {\n focusIndex -= 1;\n }\n } else if (offset > 0) {\n focusIndex += 1;\n }\n focusIndex = (focusIndex + count) % count;\n\n // Focus menu item\n return sameLevelFocusableMenuElementList[focusIndex];\n}\nexport var refreshElements = function refreshElements(keys, id) {\n var elements = new Set();\n var key2element = new Map();\n var element2key = new Map();\n keys.forEach(function (key) {\n var element = document.querySelector(\"[data-menu-id='\".concat(getMenuId(id, key), \"']\"));\n if (element) {\n elements.add(element);\n element2key.set(element, key);\n key2element.set(key, element);\n }\n });\n return {\n elements: elements,\n key2element: key2element,\n element2key: element2key\n };\n};\nexport function useAccessibility(mode, activeKey, isRtl, id, containerRef, getKeys, getKeyPath, triggerActiveKey, triggerAccessibilityOpen, originOnKeyDown) {\n var rafRef = React.useRef();\n var activeRef = React.useRef();\n activeRef.current = activeKey;\n var cleanRaf = function cleanRaf() {\n raf.cancel(rafRef.current);\n };\n React.useEffect(function () {\n return function () {\n cleanRaf();\n };\n }, []);\n return function (e) {\n var which = e.which;\n if ([].concat(ArrowKeys, [ENTER, ESC, HOME, END]).includes(which)) {\n var keys = getKeys();\n var refreshedElements = refreshElements(keys, id);\n var _refreshedElements = refreshedElements,\n elements = _refreshedElements.elements,\n key2element = _refreshedElements.key2element,\n element2key = _refreshedElements.element2key;\n\n // First we should find current focused MenuItem/SubMenu element\n var activeElement = key2element.get(activeKey);\n var focusMenuElement = getFocusElement(activeElement, elements);\n var focusMenuKey = element2key.get(focusMenuElement);\n var offsetObj = getOffset(mode, getKeyPath(focusMenuKey, true).length === 1, isRtl, which);\n\n // Some mode do not have fully arrow operation like inline\n if (!offsetObj && which !== HOME && which !== END) {\n return;\n }\n\n // Arrow prevent default to avoid page scroll\n if (ArrowKeys.includes(which) || [HOME, END].includes(which)) {\n e.preventDefault();\n }\n var tryFocus = function tryFocus(menuElement) {\n if (menuElement) {\n var focusTargetElement = menuElement;\n\n // Focus to link instead of menu item if possible\n var link = menuElement.querySelector('a');\n if (link !== null && link !== void 0 && link.getAttribute('href')) {\n focusTargetElement = link;\n }\n var targetKey = element2key.get(menuElement);\n triggerActiveKey(targetKey);\n\n /**\n * Do not `useEffect` here since `tryFocus` may trigger async\n * which makes React sync update the `activeKey`\n * that force render before `useRef` set the next activeKey\n */\n cleanRaf();\n rafRef.current = raf(function () {\n if (activeRef.current === targetKey) {\n focusTargetElement.focus();\n }\n });\n }\n };\n if ([HOME, END].includes(which) || offsetObj.sibling || !focusMenuElement) {\n // ========================== Sibling ==========================\n // Find walkable focus menu element container\n var parentQueryContainer;\n if (!focusMenuElement || mode === 'inline') {\n parentQueryContainer = containerRef.current;\n } else {\n parentQueryContainer = findContainerUL(focusMenuElement);\n }\n\n // Get next focus element\n var targetElement;\n var focusableElements = getFocusableElements(parentQueryContainer, elements);\n if (which === HOME) {\n targetElement = focusableElements[0];\n } else if (which === END) {\n targetElement = focusableElements[focusableElements.length - 1];\n } else {\n targetElement = getNextFocusElement(parentQueryContainer, elements, focusMenuElement, offsetObj.offset);\n }\n // Focus menu item\n tryFocus(targetElement);\n\n // ======================= InlineTrigger =======================\n } else if (offsetObj.inlineTrigger) {\n // Inline trigger no need switch to sub menu item\n triggerAccessibilityOpen(focusMenuKey);\n // =========================== Level ===========================\n } else if (offsetObj.offset > 0) {\n triggerAccessibilityOpen(focusMenuKey, true);\n cleanRaf();\n rafRef.current = raf(function () {\n // Async should resync elements\n refreshedElements = refreshElements(keys, id);\n var controlId = focusMenuElement.getAttribute('aria-controls');\n var subQueryContainer = document.getElementById(controlId);\n\n // Get sub focusable menu item\n var targetElement = getNextFocusElement(subQueryContainer, refreshedElements.elements);\n\n // Focus menu item\n tryFocus(targetElement);\n }, 5);\n } else if (offsetObj.offset < 0) {\n var keyPath = getKeyPath(focusMenuKey, true);\n var parentKey = keyPath[keyPath.length - 2];\n var parentMenuElement = key2element.get(parentKey);\n\n // Focus menu item\n triggerAccessibilityOpen(parentKey, false);\n tryFocus(parentMenuElement);\n }\n }\n\n // Pass origin key down event\n originOnKeyDown === null || originOnKeyDown === void 0 || originOnKeyDown(e);\n };\n}","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Link} Link\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `link` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Link} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function link(state, node) {\n /** @type {Properties} */\n const properties = {href: normalizeUri(node.url)}\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'a',\n properties,\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n","/* istanbul ignore file */\n\n/** This is a placeholder, not real render in dom */\nvar TreeNode = function TreeNode() {\n return null;\n};\nexport default TreeNode;","// Note: types exposed from `index.d.ts`.\nexport {default} from './lib/index.js'\n","/**\n * Like `Array#splice`, but smarter for giant arrays.\n *\n * `Array#splice` takes all items to be inserted as individual argument which\n * causes a stack overflow in V8 when trying to insert 100k items for instance.\n *\n * Otherwise, this does not return the removed items, and takes `items` as an\n * array instead of rest parameters.\n *\n * @template {unknown} T\n * Item type.\n * @param {Array} list\n * List to operate on.\n * @param {number} start\n * Index to remove/insert at (can be negative).\n * @param {number} remove\n * Number of items to remove.\n * @param {Array} items\n * Items to inject into `list`.\n * @returns {undefined}\n * Nothing.\n */\nexport function splice(list, start, remove, items) {\n const end = list.length;\n let chunkStart = 0;\n /** @type {Array} */\n let parameters;\n\n // Make start between zero and `end` (included).\n if (start < 0) {\n start = -start > end ? 0 : end + start;\n } else {\n start = start > end ? end : start;\n }\n remove = remove > 0 ? remove : 0;\n\n // No need to chunk the items if there’s only a couple (10k) items.\n if (items.length < 10000) {\n parameters = Array.from(items);\n parameters.unshift(start, remove);\n // @ts-expect-error Hush, it’s fine.\n list.splice(...parameters);\n } else {\n // Delete `remove` items starting from `start`\n if (remove) list.splice(start, remove);\n\n // Insert the items in chunks to not cause stack overflows.\n while (chunkStart < items.length) {\n parameters = items.slice(chunkStart, chunkStart + 10000);\n parameters.unshift(start, 0);\n // @ts-expect-error Hush, it’s fine.\n list.splice(...parameters);\n chunkStart += 10000;\n start += 10000;\n }\n }\n}\n\n/**\n * Append `items` (an array) at the end of `list` (another array).\n * When `list` was empty, returns `items` instead.\n *\n * This prevents a potentially expensive operation when `list` is empty,\n * and adds items in batches to prevent V8 from hanging.\n *\n * @template {unknown} T\n * Item type.\n * @param {Array} list\n * List to operate on.\n * @param {Array} items\n * Items to add to `list`.\n * @returns {Array}\n * Either `list` or `items`.\n */\nexport function push(list, items) {\n if (list.length > 0) {\n splice(list, list.length, 0, items);\n return list;\n }\n return items;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FolderOpenTwoToneSvg from \"@ant-design/icons-svg/es/asn/FolderOpenTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FolderOpenTwoTone = function FolderOpenTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FolderOpenTwoToneSvg\n }));\n};\n\n/**![folder-open](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1OSA3NjhoNjEyLjNsMTAzLjQtMjU2SDI2Mi4zeiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNOTI4IDQ0NEg4MjBWMzMwLjRjMC0xNy43LTE0LjMtMzItMzItMzJINDczTDM1NS43IDE4Ni4yYTguMTUgOC4xNSAwIDAwLTUuNS0yLjJIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjU5MmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2OThjMTMgMCAyNC44LTcuOSAyOS43LTIwbDEzNC0zMzJjMS41LTMuOCAyLjMtNy45IDIuMy0xMiAwLTE3LjctMTQuMy0zMi0zMi0zMnpNMTM2IDI1NmgxODguNWwxMTkuNiAxMTQuNEg3NDhWNDQ0SDIzOGMtMTMgMC0yNC44IDcuOS0yOS43IDIwTDEzNiA2NDMuMlYyNTZ6bTYzNS4zIDUxMkgxNTlsMTAzLjMtMjU2aDYxMi40TDc3MS4zIDc2OHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FolderOpenTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FolderOpenTwoTone';\n}\nexport default RefIcon;","const tab = 9 /* `\\t` */\nconst space = 32 /* ` ` */\n\n/**\n * Remove initial and final spaces and tabs at the line breaks in `value`.\n * Does not trim initial and final spaces and tabs of the value itself.\n *\n * @param {string} value\n * Value to trim.\n * @returns {string}\n * Trimmed value.\n */\nexport function trimLines(value) {\n const source = String(value)\n const search = /\\r?\\n|\\r/g\n let match = search.exec(source)\n let last = 0\n /** @type {Array} */\n const lines = []\n\n while (match) {\n lines.push(\n trimLine(source.slice(last, match.index), last > 0, true),\n match[0]\n )\n\n last = match.index + match[0].length\n match = search.exec(source)\n }\n\n lines.push(trimLine(source.slice(last), last > 0, false))\n\n return lines.join('')\n}\n\n/**\n * @param {string} value\n * Line to trim.\n * @param {boolean} start\n * Whether to trim the start of the line.\n * @param {boolean} end\n * Whether to trim the end of the line.\n * @returns {string}\n * Trimmed line.\n */\nfunction trimLine(value, start, end) {\n let startIndex = 0\n let endIndex = value.length\n\n if (start) {\n let code = value.codePointAt(startIndex)\n\n while (code === tab || code === space) {\n startIndex++\n code = value.codePointAt(startIndex)\n }\n }\n\n if (end) {\n let code = value.codePointAt(endIndex - 1)\n\n while (code === tab || code === space) {\n endIndex--\n code = value.codePointAt(endIndex - 1)\n }\n }\n\n return endIndex > startIndex ? value.slice(startIndex, endIndex) : ''\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport Trigger from '@rc-component/trigger';\nimport classNames from 'classnames';\nimport raf from \"rc-util/es/raf\";\nimport { MenuContext } from \"../context/MenuContext\";\nimport { placements, placementsRtl } from \"../placements\";\nimport { getMotion } from \"../utils/motionUtil\";\nvar popupPlacementMap = {\n horizontal: 'bottomLeft',\n vertical: 'rightTop',\n 'vertical-left': 'rightTop',\n 'vertical-right': 'leftTop'\n};\nexport default function PopupTrigger(_ref) {\n var prefixCls = _ref.prefixCls,\n visible = _ref.visible,\n children = _ref.children,\n popup = _ref.popup,\n popupStyle = _ref.popupStyle,\n popupClassName = _ref.popupClassName,\n popupOffset = _ref.popupOffset,\n disabled = _ref.disabled,\n mode = _ref.mode,\n onVisibleChange = _ref.onVisibleChange;\n var _React$useContext = React.useContext(MenuContext),\n getPopupContainer = _React$useContext.getPopupContainer,\n rtl = _React$useContext.rtl,\n subMenuOpenDelay = _React$useContext.subMenuOpenDelay,\n subMenuCloseDelay = _React$useContext.subMenuCloseDelay,\n builtinPlacements = _React$useContext.builtinPlacements,\n triggerSubMenuAction = _React$useContext.triggerSubMenuAction,\n forceSubMenuRender = _React$useContext.forceSubMenuRender,\n rootClassName = _React$useContext.rootClassName,\n motion = _React$useContext.motion,\n defaultMotions = _React$useContext.defaultMotions;\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerVisible = _React$useState2[0],\n setInnerVisible = _React$useState2[1];\n var placement = rtl ? _objectSpread(_objectSpread({}, placementsRtl), builtinPlacements) : _objectSpread(_objectSpread({}, placements), builtinPlacements);\n var popupPlacement = popupPlacementMap[mode];\n var targetMotion = getMotion(mode, motion, defaultMotions);\n var targetMotionRef = React.useRef(targetMotion);\n if (mode !== 'inline') {\n /**\n * PopupTrigger is only used for vertical and horizontal types.\n * When collapsed is unfolded, the inline animation will destroy the vertical animation.\n */\n targetMotionRef.current = targetMotion;\n }\n var mergedMotion = _objectSpread(_objectSpread({}, targetMotionRef.current), {}, {\n leavedClassName: \"\".concat(prefixCls, \"-hidden\"),\n removeOnLeave: false,\n motionAppear: true\n });\n\n // Delay to change visible\n var visibleRef = React.useRef();\n React.useEffect(function () {\n visibleRef.current = raf(function () {\n setInnerVisible(visible);\n });\n return function () {\n raf.cancel(visibleRef.current);\n };\n }, [visible]);\n return /*#__PURE__*/React.createElement(Trigger, {\n prefixCls: prefixCls,\n popupClassName: classNames(\"\".concat(prefixCls, \"-popup\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), rtl), popupClassName, rootClassName),\n stretch: mode === 'horizontal' ? 'minWidth' : null,\n getPopupContainer: getPopupContainer,\n builtinPlacements: placement,\n popupPlacement: popupPlacement,\n popupVisible: innerVisible,\n popup: popup,\n popupStyle: popupStyle,\n popupAlign: popupOffset && {\n offset: popupOffset\n },\n action: disabled ? [] : [triggerSubMenuAction],\n mouseEnterDelay: subMenuOpenDelay,\n mouseLeaveDelay: subMenuCloseDelay,\n onPopupVisibleChange: onVisibleChange,\n forceRender: forceSubMenuRender,\n popupMotion: mergedMotion,\n fresh: true\n }, children);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SplitCellsOutlinedSvg from \"@ant-design/icons-svg/es/asn/SplitCellsOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SplitCellsOutlined = function SplitCellsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SplitCellsOutlinedSvg\n }));\n};\n\n/**![split-cells](data:image/svg+xml;base64,PHN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URE__*/React.forwardRef(SplitCellsOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SplitCellsOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CaretDownOutlinedSvg from \"@ant-design/icons-svg/es/asn/CaretDownOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CaretDownOutlined = function CaretDownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CaretDownOutlinedSvg\n }));\n};\n\n/**![caret-down](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg0MC40IDMwMEgxODMuNmMtMTkuNyAwLTMwLjcgMjAuOC0xOC41IDM1bDMyOC40IDM4MC44YzkuNCAxMC45IDI3LjUgMTAuOSAzNyAwTDg1OC45IDMzNWMxMi4yLTE0LjIgMS4yLTM1LTE4LjUtMzV6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CaretDownOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CaretDownOutlined';\n}\nexport default RefIcon;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"icon\", \"spin\", \"rotate\", \"tabIndex\", \"onClick\", \"twoToneColor\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { blue } from '@ant-design/colors';\nimport Context from \"./Context\";\nimport ReactIcon from \"./IconBase\";\nimport { getTwoToneColor, setTwoToneColor } from \"./twoTonePrimaryColor\";\nimport { normalizeTwoToneColors } from \"../utils\";\n// Initial setting\n// should move it to antd main repo?\nsetTwoToneColor(blue.primary);\n\n// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720\n\nvar Icon = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var className = props.className,\n icon = props.icon,\n spin = props.spin,\n rotate = props.rotate,\n tabIndex = props.tabIndex,\n onClick = props.onClick,\n twoToneColor = props.twoToneColor,\n restProps = _objectWithoutProperties(props, _excluded);\n var _React$useContext = React.useContext(Context),\n _React$useContext$pre = _React$useContext.prefixCls,\n prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre,\n rootClassName = _React$useContext.rootClassName;\n var classString = classNames(rootClassName, prefixCls, _defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-\").concat(icon.name), !!icon.name), \"\".concat(prefixCls, \"-spin\"), !!spin || icon.name === 'loading'), className);\n var iconTabIndex = tabIndex;\n if (iconTabIndex === undefined && onClick) {\n iconTabIndex = -1;\n }\n var svgStyle = rotate ? {\n msTransform: \"rotate(\".concat(rotate, \"deg)\"),\n transform: \"rotate(\".concat(rotate, \"deg)\")\n } : undefined;\n var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor),\n _normalizeTwoToneColo2 = _slicedToArray(_normalizeTwoToneColo, 2),\n primaryColor = _normalizeTwoToneColo2[0],\n secondaryColor = _normalizeTwoToneColo2[1];\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n role: \"img\",\n \"aria-label\": icon.name\n }, restProps, {\n ref: ref,\n tabIndex: iconTabIndex,\n onClick: onClick,\n className: classString\n }), /*#__PURE__*/React.createElement(ReactIcon, {\n icon: icon,\n primaryColor: primaryColor,\n secondaryColor: secondaryColor,\n style: svgStyle\n }));\n});\nIcon.displayName = 'AntdIcon';\nIcon.getTwoToneColor = getTwoToneColor;\nIcon.setTwoToneColor = setTwoToneColor;\nexport default Icon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport HomeOutlinedSvg from \"@ant-design/icons-svg/es/asn/HomeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar HomeOutlined = function HomeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: HomeOutlinedSvg\n }));\n};\n\n/**![home](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Ni41IDUwNUw1NjAuMSAxMTguOGwtMjUuOS0yNS45YTMxLjUgMzEuNSAwIDAwLTQ0LjQgMEw3Ny41IDUwNWE2My45IDYzLjkgMCAwMC0xOC44IDQ2Yy40IDM1LjIgMjkuNyA2My4zIDY0LjkgNjMuM2g0Mi41Vjk0MGg2OTEuOFY2MTQuM2g0My40YzE3LjEgMCAzMy4yLTYuNyA0NS4zLTE4LjhhNjMuNiA2My42IDAgMDAxOC43LTQ1LjNjMC0xNy02LjctMzMuMS0xOC44LTQ1LjJ6TTU2OCA4NjhINDU2VjY2NGgxMTJ2MjA0em0yMTcuOS0zMjUuN1Y4NjhINjMyVjY0MGMwLTIyLjEtMTcuOS00MC00MC00MEg0MzJjLTIyLjEgMC00MCAxNy45LTQwIDQwdjIyOEgyMzguMVY1NDIuM2gtOTZsMzcwLTM2OS43IDIzLjEgMjMuMUw4ODIgNTQyLjNoLTk2LjF6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(HomeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'HomeOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\nimport { MenuContext } from \"../context/MenuContext\";\nexport default function useActive(eventKey, disabled, onMouseEnter, onMouseLeave) {\n var _React$useContext = React.useContext(MenuContext),\n activeKey = _React$useContext.activeKey,\n onActive = _React$useContext.onActive,\n onInactive = _React$useContext.onInactive;\n var ret = {\n active: activeKey === eventKey\n };\n\n // Skip when disabled\n if (!disabled) {\n ret.onMouseEnter = function (domEvent) {\n onMouseEnter === null || onMouseEnter === void 0 || onMouseEnter({\n key: eventKey,\n domEvent: domEvent\n });\n onActive(eventKey);\n };\n ret.onMouseLeave = function (domEvent) {\n onMouseLeave === null || onMouseLeave === void 0 || onMouseLeave({\n key: eventKey,\n domEvent: domEvent\n });\n onInactive(eventKey);\n };\n }\n return ret;\n}","import raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nfunction smoothScrollOffset(offset) {\n return Math.floor(Math.pow(offset, 0.5));\n}\nexport function getPageXY(e, horizontal) {\n var obj = 'touches' in e ? e.touches[0] : e;\n return obj[horizontal ? 'pageX' : 'pageY'] - window[horizontal ? 'scrollX' : 'scrollY'];\n}\nexport default function useScrollDrag(inVirtual, componentRef, onScrollOffset) {\n React.useEffect(function () {\n var ele = componentRef.current;\n if (inVirtual && ele) {\n var mouseDownLock = false;\n var rafId;\n var _offset;\n var stopScroll = function stopScroll() {\n raf.cancel(rafId);\n };\n var continueScroll = function continueScroll() {\n stopScroll();\n rafId = raf(function () {\n onScrollOffset(_offset);\n continueScroll();\n });\n };\n var onMouseDown = function onMouseDown(e) {\n // Skip if nest List has handled this event\n var event = e;\n if (!event._virtualHandled) {\n event._virtualHandled = true;\n mouseDownLock = true;\n }\n };\n var onMouseUp = function onMouseUp() {\n mouseDownLock = false;\n stopScroll();\n };\n var onMouseMove = function onMouseMove(e) {\n if (mouseDownLock) {\n var mouseY = getPageXY(e, false);\n var _ele$getBoundingClien = ele.getBoundingClientRect(),\n top = _ele$getBoundingClien.top,\n bottom = _ele$getBoundingClien.bottom;\n if (mouseY <= top) {\n var diff = top - mouseY;\n _offset = -smoothScrollOffset(diff);\n continueScroll();\n } else if (mouseY >= bottom) {\n var _diff = mouseY - bottom;\n _offset = smoothScrollOffset(_diff);\n continueScroll();\n } else {\n stopScroll();\n }\n }\n };\n ele.addEventListener('mousedown', onMouseDown);\n ele.ownerDocument.addEventListener('mouseup', onMouseUp);\n ele.ownerDocument.addEventListener('mousemove', onMouseMove);\n return function () {\n ele.removeEventListener('mousedown', onMouseDown);\n ele.ownerDocument.removeEventListener('mouseup', onMouseUp);\n ele.ownerDocument.removeEventListener('mousemove', onMouseMove);\n stopScroll();\n };\n }\n }, [inVirtual]);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"eventKey\", \"className\", \"style\", \"dragOver\", \"dragOverGapTop\", \"dragOverGapBottom\", \"isLeaf\", \"isStart\", \"isEnd\", \"expanded\", \"selected\", \"checked\", \"halfChecked\", \"loading\", \"domRef\", \"active\", \"data\", \"onMouseMove\", \"selectable\"];\nimport classNames from 'classnames';\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport * as React from 'react';\n// @ts-ignore\nimport { TreeContext } from \"./contextTypes\";\nimport Indent from \"./Indent\";\nimport getEntity from \"./utils/keyUtil\";\nimport { convertNodePropsToEventData } from \"./utils/treeUtil\";\nvar ICON_OPEN = 'open';\nvar ICON_CLOSE = 'close';\nvar defaultTitle = '---';\nvar InternalTreeNode = /*#__PURE__*/function (_React$Component) {\n _inherits(InternalTreeNode, _React$Component);\n var _super = _createSuper(InternalTreeNode);\n function InternalTreeNode() {\n var _this;\n _classCallCheck(this, InternalTreeNode);\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), \"state\", {\n dragNodeHighlight: false\n });\n _defineProperty(_assertThisInitialized(_this), \"selectHandle\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"cacheIndent\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"onSelectorClick\", function (e) {\n // Click trigger before select/check operation\n var onNodeClick = _this.props.context.onNodeClick;\n onNodeClick(e, convertNodePropsToEventData(_this.props));\n if (_this.isSelectable()) {\n _this.onSelect(e);\n } else {\n _this.onCheck(e);\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onSelectorDoubleClick\", function (e) {\n var onNodeDoubleClick = _this.props.context.onNodeDoubleClick;\n onNodeDoubleClick(e, convertNodePropsToEventData(_this.props));\n });\n _defineProperty(_assertThisInitialized(_this), \"onSelect\", function (e) {\n if (_this.isDisabled()) return;\n var onNodeSelect = _this.props.context.onNodeSelect;\n onNodeSelect(e, convertNodePropsToEventData(_this.props));\n });\n _defineProperty(_assertThisInitialized(_this), \"onCheck\", function (e) {\n if (_this.isDisabled()) return;\n var _this$props = _this.props,\n disableCheckbox = _this$props.disableCheckbox,\n checked = _this$props.checked;\n var onNodeCheck = _this.props.context.onNodeCheck;\n if (!_this.isCheckable() || disableCheckbox) return;\n var targetChecked = !checked;\n onNodeCheck(e, convertNodePropsToEventData(_this.props), targetChecked);\n });\n _defineProperty(_assertThisInitialized(_this), \"onMouseEnter\", function (e) {\n var onNodeMouseEnter = _this.props.context.onNodeMouseEnter;\n onNodeMouseEnter(e, convertNodePropsToEventData(_this.props));\n });\n _defineProperty(_assertThisInitialized(_this), \"onMouseLeave\", function (e) {\n var onNodeMouseLeave = _this.props.context.onNodeMouseLeave;\n onNodeMouseLeave(e, convertNodePropsToEventData(_this.props));\n });\n _defineProperty(_assertThisInitialized(_this), \"onContextMenu\", function (e) {\n var onNodeContextMenu = _this.props.context.onNodeContextMenu;\n onNodeContextMenu(e, convertNodePropsToEventData(_this.props));\n });\n _defineProperty(_assertThisInitialized(_this), \"onDragStart\", function (e) {\n var onNodeDragStart = _this.props.context.onNodeDragStart;\n e.stopPropagation();\n _this.setState({\n dragNodeHighlight: true\n });\n onNodeDragStart(e, _assertThisInitialized(_this));\n try {\n // ie throw error\n // firefox-need-it\n e.dataTransfer.setData('text/plain', '');\n } catch (error) {\n // empty\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"onDragEnter\", function (e) {\n var onNodeDragEnter = _this.props.context.onNodeDragEnter;\n e.preventDefault();\n e.stopPropagation();\n onNodeDragEnter(e, _assertThisInitialized(_this));\n });\n _defineProperty(_assertThisInitialized(_this), \"onDragOver\", function (e) {\n var onNodeDragOver = _this.props.context.onNodeDragOver;\n e.preventDefault();\n e.stopPropagation();\n onNodeDragOver(e, _assertThisInitialized(_this));\n });\n _defineProperty(_assertThisInitialized(_this), \"onDragLeave\", function (e) {\n var onNodeDragLeave = _this.props.context.onNodeDragLeave;\n e.stopPropagation();\n onNodeDragLeave(e, _assertThisInitialized(_this));\n });\n _defineProperty(_assertThisInitialized(_this), \"onDragEnd\", function (e) {\n var onNodeDragEnd = _this.props.context.onNodeDragEnd;\n e.stopPropagation();\n _this.setState({\n dragNodeHighlight: false\n });\n onNodeDragEnd(e, _assertThisInitialized(_this));\n });\n _defineProperty(_assertThisInitialized(_this), \"onDrop\", function (e) {\n var onNodeDrop = _this.props.context.onNodeDrop;\n e.preventDefault();\n e.stopPropagation();\n _this.setState({\n dragNodeHighlight: false\n });\n onNodeDrop(e, _assertThisInitialized(_this));\n });\n // Disabled item still can be switch\n _defineProperty(_assertThisInitialized(_this), \"onExpand\", function (e) {\n var _this$props2 = _this.props,\n loading = _this$props2.loading,\n onNodeExpand = _this$props2.context.onNodeExpand;\n if (loading) return;\n onNodeExpand(e, convertNodePropsToEventData(_this.props));\n });\n // Drag usage\n _defineProperty(_assertThisInitialized(_this), \"setSelectHandle\", function (node) {\n _this.selectHandle = node;\n });\n _defineProperty(_assertThisInitialized(_this), \"getNodeState\", function () {\n var expanded = _this.props.expanded;\n if (_this.isLeaf()) {\n return null;\n }\n return expanded ? ICON_OPEN : ICON_CLOSE;\n });\n _defineProperty(_assertThisInitialized(_this), \"hasChildren\", function () {\n var eventKey = _this.props.eventKey;\n var keyEntities = _this.props.context.keyEntities;\n var _ref = getEntity(keyEntities, eventKey) || {},\n children = _ref.children;\n return !!(children || []).length;\n });\n _defineProperty(_assertThisInitialized(_this), \"isLeaf\", function () {\n var _this$props3 = _this.props,\n isLeaf = _this$props3.isLeaf,\n loaded = _this$props3.loaded;\n var loadData = _this.props.context.loadData;\n var hasChildren = _this.hasChildren();\n if (isLeaf === false) {\n return false;\n }\n return isLeaf || !loadData && !hasChildren || loadData && loaded && !hasChildren;\n });\n _defineProperty(_assertThisInitialized(_this), \"isDisabled\", function () {\n var disabled = _this.props.disabled;\n var treeDisabled = _this.props.context.disabled;\n return !!(treeDisabled || disabled);\n });\n _defineProperty(_assertThisInitialized(_this), \"isCheckable\", function () {\n var checkable = _this.props.checkable;\n var treeCheckable = _this.props.context.checkable;\n\n // Return false if tree or treeNode is not checkable\n if (!treeCheckable || checkable === false) return false;\n return treeCheckable;\n });\n // Load data to avoid default expanded tree without data\n _defineProperty(_assertThisInitialized(_this), \"syncLoadData\", function (props) {\n var expanded = props.expanded,\n loading = props.loading,\n loaded = props.loaded;\n var _this$props$context = _this.props.context,\n loadData = _this$props$context.loadData,\n onNodeLoad = _this$props$context.onNodeLoad;\n if (loading) {\n return;\n }\n\n // read from state to avoid loadData at same time\n if (loadData && expanded && !_this.isLeaf() && !loaded) {\n // We needn't reload data when has children in sync logic\n // It's only needed in node expanded\n onNodeLoad(convertNodePropsToEventData(_this.props));\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"isDraggable\", function () {\n var _this$props4 = _this.props,\n data = _this$props4.data,\n draggable = _this$props4.context.draggable;\n return !!(draggable && (!draggable.nodeDraggable || draggable.nodeDraggable(data)));\n });\n // ==================== Render: Drag Handler ====================\n _defineProperty(_assertThisInitialized(_this), \"renderDragHandler\", function () {\n var _this$props$context2 = _this.props.context,\n draggable = _this$props$context2.draggable,\n prefixCls = _this$props$context2.prefixCls;\n return draggable !== null && draggable !== void 0 && draggable.icon ? /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-draggable-icon\")\n }, draggable.icon) : null;\n });\n // ====================== Render: Switcher ======================\n _defineProperty(_assertThisInitialized(_this), \"renderSwitcherIconDom\", function (isLeaf) {\n var switcherIconFromProps = _this.props.switcherIcon;\n var switcherIconFromCtx = _this.props.context.switcherIcon;\n var switcherIcon = switcherIconFromProps || switcherIconFromCtx;\n // if switcherIconDom is null, no render switcher span\n if (typeof switcherIcon === 'function') {\n return switcherIcon(_objectSpread(_objectSpread({}, _this.props), {}, {\n isLeaf: isLeaf\n }));\n }\n return switcherIcon;\n });\n // Switcher\n _defineProperty(_assertThisInitialized(_this), \"renderSwitcher\", function () {\n var expanded = _this.props.expanded;\n var prefixCls = _this.props.context.prefixCls;\n if (_this.isLeaf()) {\n // if switcherIconDom is null, no render switcher span\n var _switcherIconDom = _this.renderSwitcherIconDom(true);\n return _switcherIconDom !== false ? /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-switcher\"), \"\".concat(prefixCls, \"-switcher-noop\"))\n }, _switcherIconDom) : null;\n }\n var switcherCls = classNames(\"\".concat(prefixCls, \"-switcher\"), \"\".concat(prefixCls, \"-switcher_\").concat(expanded ? ICON_OPEN : ICON_CLOSE));\n var switcherIconDom = _this.renderSwitcherIconDom(false);\n return switcherIconDom !== false ? /*#__PURE__*/React.createElement(\"span\", {\n onClick: _this.onExpand,\n className: switcherCls\n }, switcherIconDom) : null;\n });\n // ====================== Render: Checkbox ======================\n // Checkbox\n _defineProperty(_assertThisInitialized(_this), \"renderCheckbox\", function () {\n var _this$props5 = _this.props,\n checked = _this$props5.checked,\n halfChecked = _this$props5.halfChecked,\n disableCheckbox = _this$props5.disableCheckbox;\n var prefixCls = _this.props.context.prefixCls;\n var disabled = _this.isDisabled();\n var checkable = _this.isCheckable();\n if (!checkable) return null;\n\n // [Legacy] Custom element should be separate with `checkable` in future\n var $custom = typeof checkable !== 'boolean' ? checkable : null;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-checkbox\"), checked && \"\".concat(prefixCls, \"-checkbox-checked\"), !checked && halfChecked && \"\".concat(prefixCls, \"-checkbox-indeterminate\"), (disabled || disableCheckbox) && \"\".concat(prefixCls, \"-checkbox-disabled\")),\n onClick: _this.onCheck\n }, $custom);\n });\n // ==================== Render: Title + Icon ====================\n _defineProperty(_assertThisInitialized(_this), \"renderIcon\", function () {\n var loading = _this.props.loading;\n var prefixCls = _this.props.context.prefixCls;\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-iconEle\"), \"\".concat(prefixCls, \"-icon__\").concat(_this.getNodeState() || 'docu'), loading && \"\".concat(prefixCls, \"-icon_loading\"))\n });\n });\n // Icon + Title\n _defineProperty(_assertThisInitialized(_this), \"renderSelector\", function () {\n var dragNodeHighlight = _this.state.dragNodeHighlight;\n var _this$props6 = _this.props,\n _this$props6$title = _this$props6.title,\n title = _this$props6$title === void 0 ? defaultTitle : _this$props6$title,\n selected = _this$props6.selected,\n icon = _this$props6.icon,\n loading = _this$props6.loading,\n data = _this$props6.data;\n var _this$props$context3 = _this.props.context,\n prefixCls = _this$props$context3.prefixCls,\n showIcon = _this$props$context3.showIcon,\n treeIcon = _this$props$context3.icon,\n loadData = _this$props$context3.loadData,\n titleRender = _this$props$context3.titleRender;\n var disabled = _this.isDisabled();\n var wrapClass = \"\".concat(prefixCls, \"-node-content-wrapper\");\n\n // Icon - Still show loading icon when loading without showIcon\n var $icon;\n if (showIcon) {\n var currentIcon = icon || treeIcon;\n $icon = currentIcon ? /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(\"\".concat(prefixCls, \"-iconEle\"), \"\".concat(prefixCls, \"-icon__customize\"))\n }, typeof currentIcon === 'function' ? currentIcon(_this.props) : currentIcon) : _this.renderIcon();\n } else if (loadData && loading) {\n $icon = _this.renderIcon();\n }\n\n // Title\n var titleNode;\n if (typeof title === 'function') {\n titleNode = title(data);\n } else if (titleRender) {\n titleNode = titleRender(data);\n } else {\n titleNode = title;\n }\n var $title = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-title\")\n }, titleNode);\n return /*#__PURE__*/React.createElement(\"span\", {\n ref: _this.setSelectHandle,\n title: typeof title === 'string' ? title : '',\n className: classNames(\"\".concat(wrapClass), \"\".concat(wrapClass, \"-\").concat(_this.getNodeState() || 'normal'), !disabled && (selected || dragNodeHighlight) && \"\".concat(prefixCls, \"-node-selected\")),\n onMouseEnter: _this.onMouseEnter,\n onMouseLeave: _this.onMouseLeave,\n onContextMenu: _this.onContextMenu,\n onClick: _this.onSelectorClick,\n onDoubleClick: _this.onSelectorDoubleClick\n }, $icon, $title, _this.renderDropIndicator());\n });\n // =================== Render: Drop Indicator ===================\n _defineProperty(_assertThisInitialized(_this), \"renderDropIndicator\", function () {\n var _this$props7 = _this.props,\n disabled = _this$props7.disabled,\n eventKey = _this$props7.eventKey;\n var _this$props$context4 = _this.props.context,\n draggable = _this$props$context4.draggable,\n dropLevelOffset = _this$props$context4.dropLevelOffset,\n dropPosition = _this$props$context4.dropPosition,\n prefixCls = _this$props$context4.prefixCls,\n indent = _this$props$context4.indent,\n dropIndicatorRender = _this$props$context4.dropIndicatorRender,\n dragOverNodeKey = _this$props$context4.dragOverNodeKey,\n direction = _this$props$context4.direction;\n var rootDraggable = !!draggable;\n // allowDrop is calculated in Tree.tsx, there is no need for calc it here\n var showIndicator = !disabled && rootDraggable && dragOverNodeKey === eventKey;\n\n // This is a hot fix which is already fixed in\n // https://github.com/react-component/tree/pull/743/files\n // But some case need break point so we hack on this\n // ref https://github.com/ant-design/ant-design/issues/43493\n var mergedIndent = indent !== null && indent !== void 0 ? indent : _this.cacheIndent;\n _this.cacheIndent = indent;\n return showIndicator ? dropIndicatorRender({\n dropPosition: dropPosition,\n dropLevelOffset: dropLevelOffset,\n indent: mergedIndent,\n prefixCls: prefixCls,\n direction: direction\n }) : null;\n });\n return _this;\n }\n _createClass(InternalTreeNode, [{\n key: \"componentDidMount\",\n value:\n // Isomorphic needn't load data in server side\n function componentDidMount() {\n this.syncLoadData(this.props);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.syncLoadData(this.props);\n }\n }, {\n key: \"isSelectable\",\n value: function isSelectable() {\n var selectable = this.props.selectable;\n var treeSelectable = this.props.context.selectable;\n\n // Ignore when selectable is undefined or null\n if (typeof selectable === 'boolean') {\n return selectable;\n }\n return treeSelectable;\n }\n }, {\n key: \"render\",\n value:\n // =========================== Render ===========================\n function render() {\n var _classNames;\n var _this$props8 = this.props,\n eventKey = _this$props8.eventKey,\n className = _this$props8.className,\n style = _this$props8.style,\n dragOver = _this$props8.dragOver,\n dragOverGapTop = _this$props8.dragOverGapTop,\n dragOverGapBottom = _this$props8.dragOverGapBottom,\n isLeaf = _this$props8.isLeaf,\n isStart = _this$props8.isStart,\n isEnd = _this$props8.isEnd,\n expanded = _this$props8.expanded,\n selected = _this$props8.selected,\n checked = _this$props8.checked,\n halfChecked = _this$props8.halfChecked,\n loading = _this$props8.loading,\n domRef = _this$props8.domRef,\n active = _this$props8.active,\n data = _this$props8.data,\n onMouseMove = _this$props8.onMouseMove,\n selectable = _this$props8.selectable,\n otherProps = _objectWithoutProperties(_this$props8, _excluded);\n var _this$props$context5 = this.props.context,\n prefixCls = _this$props$context5.prefixCls,\n filterTreeNode = _this$props$context5.filterTreeNode,\n keyEntities = _this$props$context5.keyEntities,\n dropContainerKey = _this$props$context5.dropContainerKey,\n dropTargetKey = _this$props$context5.dropTargetKey,\n draggingNodeKey = _this$props$context5.draggingNodeKey;\n var disabled = this.isDisabled();\n var dataOrAriaAttributeProps = pickAttrs(otherProps, {\n aria: true,\n data: true\n });\n var _ref2 = getEntity(keyEntities, eventKey) || {},\n level = _ref2.level;\n var isEndNode = isEnd[isEnd.length - 1];\n var mergedDraggable = this.isDraggable();\n var draggableWithoutDisabled = !disabled && mergedDraggable;\n var dragging = draggingNodeKey === eventKey;\n var ariaSelected = selectable !== undefined ? {\n 'aria-selected': !!selectable\n } : undefined;\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: domRef,\n className: classNames(className, \"\".concat(prefixCls, \"-treenode\"), (_classNames = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames, \"\".concat(prefixCls, \"-treenode-disabled\"), disabled), \"\".concat(prefixCls, \"-treenode-switcher-\").concat(expanded ? 'open' : 'close'), !isLeaf), \"\".concat(prefixCls, \"-treenode-checkbox-checked\"), checked), \"\".concat(prefixCls, \"-treenode-checkbox-indeterminate\"), halfChecked), \"\".concat(prefixCls, \"-treenode-selected\"), selected), \"\".concat(prefixCls, \"-treenode-loading\"), loading), \"\".concat(prefixCls, \"-treenode-active\"), active), \"\".concat(prefixCls, \"-treenode-leaf-last\"), isEndNode), \"\".concat(prefixCls, \"-treenode-draggable\"), mergedDraggable), \"dragging\", dragging), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_classNames, 'drop-target', dropTargetKey === eventKey), 'drop-container', dropContainerKey === eventKey), 'drag-over', !disabled && dragOver), 'drag-over-gap-top', !disabled && dragOverGapTop), 'drag-over-gap-bottom', !disabled && dragOverGapBottom), 'filter-node', filterTreeNode && filterTreeNode(convertNodePropsToEventData(this.props))))),\n style: style\n // Draggable config\n ,\n draggable: draggableWithoutDisabled,\n \"aria-grabbed\": dragging,\n onDragStart: draggableWithoutDisabled ? this.onDragStart : undefined\n // Drop config\n ,\n onDragEnter: mergedDraggable ? this.onDragEnter : undefined,\n onDragOver: mergedDraggable ? this.onDragOver : undefined,\n onDragLeave: mergedDraggable ? this.onDragLeave : undefined,\n onDrop: mergedDraggable ? this.onDrop : undefined,\n onDragEnd: mergedDraggable ? this.onDragEnd : undefined,\n onMouseMove: onMouseMove\n }, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(Indent, {\n prefixCls: prefixCls,\n level: level,\n isStart: isStart,\n isEnd: isEnd\n }), this.renderDragHandler(), this.renderSwitcher(), this.renderCheckbox(), this.renderSelector());\n }\n }]);\n return InternalTreeNode;\n}(React.Component);\nvar ContextTreeNode = function ContextTreeNode(props) {\n return /*#__PURE__*/React.createElement(TreeContext.Consumer, null, function (context) {\n return /*#__PURE__*/React.createElement(InternalTreeNode, _extends({}, props, {\n context: context\n }));\n });\n};\nContextTreeNode.displayName = 'TreeNode';\nContextTreeNode.isTreeNode = 1;\nexport default ContextTreeNode;","/**\n * @import {Info, State} from 'mdast-util-to-markdown'\n * @import {Parents, Text} from 'mdast'\n */\n\n/**\n * @param {Text} node\n * @param {Parents | undefined} _\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function text(node, _, state, info) {\n return state.safe(node.value, info)\n}\n","var locale = {\n // Options\n items_per_page: '条/页',\n jump_to: '跳至',\n jump_to_confirm: '确定',\n page: '页',\n // Pagination\n prev_page: '上一页',\n next_page: '下一页',\n prev_5: '向前 5 页',\n next_5: '向后 5 页',\n prev_3: '向前 3 页',\n next_3: '向后 3 页',\n page_size: '页码'\n};\nexport default locale;","import rules from \"../rule\";\nimport { isEmptyValue } from \"../util\";\nvar integer = function integer(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n rules.required(rule, value, source, errors, options);\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n callback(errors);\n};\nexport default integer;","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){\"use strict\";var e={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},t=/(\\[[^[]*\\])|([-_:/.,()\\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\\d/,r=/\\d\\d/,i=/\\d\\d?/,o=/\\d*[^-_:/,()\\s\\d]+/,s={},a=function(e){return(e=+e)+(e>68?1900:2e3)};var f=function(e){return function(t){this[e]=+t}},h=[/[+-]\\d\\d:?(\\d\\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if(\"Z\"===e)return 0;var t=e.match(/([+-]|\\d\\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:\"+\"===t[0]?-n:n}(e)}],u=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=s.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?\"pm\":\"PM\");return n},c={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\\d{3}/,function(e){this.milliseconds=+e}],s:[i,f(\"seconds\")],ss:[i,f(\"seconds\")],m:[i,f(\"minutes\")],mm:[i,f(\"minutes\")],H:[i,f(\"hours\")],h:[i,f(\"hours\")],HH:[i,f(\"hours\")],hh:[i,f(\"hours\")],D:[i,f(\"day\")],DD:[r,f(\"day\")],Do:[o,function(e){var t=s.ordinal,n=e.match(/\\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\\[|\\]/g,\"\")===e&&(this.day=r)}],w:[i,f(\"week\")],ww:[r,f(\"week\")],M:[i,f(\"month\")],MM:[r,f(\"month\")],MMM:[o,function(e){var t=u(\"months\"),n=(u(\"monthsShort\")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=u(\"months\").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\\d+/,f(\"year\")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\\d{4}/,f(\"year\")],Z:h,ZZ:h};function l(n){var r,i;r=n,i=s&&s.formats;for(var o=(n=r.replace(/(\\[[^\\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\\[[^\\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=o.length,f=0;f-1)return new Date((\"X\"===t?1e3:1)*e);var i=l(t)(e),o=i.year,s=i.month,a=i.day,f=i.hours,h=i.minutes,u=i.seconds,d=i.milliseconds,c=i.zone,m=i.week,M=new Date,Y=a||(o||s?1:M.getDate()),p=o||M.getFullYear(),v=0;o&&!s||(v=s>0?s-1:M.getMonth());var D,w=f||0,g=h||0,y=u||0,L=d||0;return c?new Date(Date.UTC(p,v,Y,w,g,y,L+60*c.offset*1e3)):n?new Date(Date.UTC(p,v,Y,w,g,y,L)):(D=new Date(p,v,Y,w,g,y,L),m&&(D=r(D).week(m).toDate()),D)}catch(e){return new Date(\"\")}}(t,a,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date(\"\")),s={}}else if(a instanceof Array)for(var c=a.length,m=1;m<=c;m+=1){o[1]=a[m-1];var M=n.apply(this,o);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===c&&(this.$d=new Date(\"\"))}else i.call(this,e)}}}));","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodeTwoToneSvg from \"@ant-design/icons-svg/es/asn/CodeTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodeTwoTone = function CodeTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodeTwoToneSvg\n }));\n};\n\n/**![code](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDcyOEgxODRWMTg0aDY1NnY2NTZ6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik0xODQgODQwaDY1NlYxODRIMTg0djY1NnptMzM5LjUtMjIzaDE4NWM0LjEgMCA3LjUgMy42IDcuNSA4djQ4YzAgNC40LTMuNCA4LTcuNSA4aC0xODVjLTQuMSAwLTcuNS0zLjYtNy41LTh2LTQ4YzAtNC40IDMuNC04IDcuNS04ek0zMDggNjEwLjNjMC0yLjMgMS4xLTQuNiAyLjktNi4xTDQyMC43IDUxMmwtMTA5LjgtOTIuMmE3LjYzIDcuNjMgMCAwMS0yLjktNi4xVjM1MWMwLTYuOCA3LjktMTAuNSAxMy4xLTYuMWwxOTIgMTYwLjljMy45IDMuMiAzLjkgOS4xIDAgMTIuM2wtMTkyIDE2MWMtNS4yIDQuNC0xMy4xLjctMTMuMS02LjF2LTYyLjd6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik0zMjEuMSA2NzkuMWwxOTItMTYxYzMuOS0zLjIgMy45LTkuMSAwLTEyLjNsLTE5Mi0xNjAuOUE3Ljk1IDcuOTUgMCAwMDMwOCAzNTF2NjIuN2MwIDIuNCAxIDQuNiAyLjkgNi4xTDQyMC43IDUxMmwtMTA5LjggOTIuMmE4LjEgOC4xIDAgMDAtMi45IDYuMVY2NzNjMCA2LjggNy45IDEwLjUgMTMuMSA2LjF6TTUxNiA2NzNjMCA0LjQgMy40IDggNy41IDhoMTg1YzQuMSAwIDcuNS0zLjYgNy41LTh2LTQ4YzAtNC40LTMuNC04LTcuNS04aC0xODVjLTQuMSAwLTcuNSAzLjYtNy41IDh2NDh6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodeTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodeTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FieldStringOutlinedSvg from \"@ant-design/icons-svg/es/asn/FieldStringOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FieldStringOutlined = function FieldStringOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FieldStringOutlinedSvg\n }));\n};\n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M2MwLTcwLjItMzguNi0xMDguNS0xMzIuNC0xMjkuOXpNODQxIDcyOWEzNiAzNiAwIDEwNzIgMCAzNiAzNiAwIDEwLTcyIDB6TTY1MyA0NTcuOGgtNTEuNFYzOTZjMC00LjQtMy42LTgtOC04aC01NC43Yy00LjQgMC04IDMuNi04IDh2NjEuOEg0OTVjLTQuNCAwLTggMy42LTggOHY0Mi4zYzAgNC40IDMuNiA4IDggOGgzNS45djE0Ny41YzAgNTYuMiAyNy40IDc5LjQgOTMuMSA3OS40IDExLjcgMCAyMy42LTEuMiAzMy44LTMuMSAxLjktLjMgMy4yLTIgMy4yLTMuOXYtNDkuM2MwLTIuMi0xLjgtNC00LTRoLS40Yy00LjkuNS02LjIuNi04LjMuOC00LjEuMy03LjguNS0xMi42LjUtMjQuMSAwLTM0LjEtMTAuMy0zNC4xLTM1LjZWNTE2LjFINjUzYzQuNCAwIDgtMy42IDgtOHYtNDIuM2MwLTQuNC0zLjYtOC04LTh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FieldStringOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FieldStringOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DollarCircleTwoToneSvg from \"@ant-design/icons-svg/es/asn/DollarCircleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DollarCircleTwoTone = function DollarCircleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DollarCircleTwoToneSvg\n }));\n};\n\n/**![dollar-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG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N1Y1NDMuM2MzLjEuOSA1LjkgMS42IDguOCAyLjIgNDcuMyAxNC40IDYzLjIgMzQuNCA2My4yIDY1LjEgMCAzOS4xLTI5LjQgNjIuNi03MiA2Ni40eiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DollarCircleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DollarCircleTwoTone';\n}\nexport default RefIcon;","import { Parser } from './parser/index.js';\nexport { defaultTreeAdapter } from './tree-adapters/default.js';\nexport { /** @internal */ Parser } from './parser/index.js';\nexport { serialize, serializeOuter } from './serializer/index.js';\nexport { ERR as ErrorCodes } from './common/error-codes.js';\n/** @internal */\nexport * as foreignContent from './common/foreign-content.js';\nexport * as html from './common/html.js';\nexport * as Token from './common/token.js';\n/** @internal */\nexport { Tokenizer, TokenizerMode } from './tokenizer/index.js';\n// Shorthands\n/**\n * Parses an HTML string.\n *\n * @param html Input HTML string.\n * @param options Parsing options.\n * @returns Document\n *\n * @example\n *\n * ```js\n * const parse5 = require('parse5');\n *\n * const document = parse5.parse('Hi there!');\n *\n * console.log(document.childNodes[1].tagName); //> 'html'\n *```\n */\nexport function parse(html, options) {\n return Parser.parse(html, options);\n}\nexport function parseFragment(fragmentContext, html, options) {\n if (typeof fragmentContext === 'string') {\n options = html;\n html = fragmentContext;\n fragmentContext = null;\n }\n const parser = Parser.getFragmentParser(fragmentContext, options);\n parser.tokenizer.write(html, true);\n return parser.getFragment();\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PlaySquareFilledSvg from \"@ant-design/icons-svg/es/asn/PlaySquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PlaySquareFilled = function PlaySquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PlaySquareFilledSvg\n }));\n};\n\n/**![play-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNjQxLjcgNTIwLjhMNDQyLjMgNjc3LjZjLTcuNCA1LjgtMTguMy42LTE4LjMtOC44VjM1NS4zYzAtOS40IDEwLjktMTQuNyAxOC4zLTguOGwxOTkuNCAxNTYuN2ExMS4yIDExLjIgMCAwMTAgMTcuNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PlaySquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PlaySquareFilled';\n}\nexport default RefIcon;","import { useRef, useEffect } from 'react';\nexport var defaultProps = {\n percent: 0,\n prefixCls: 'rc-progress',\n strokeColor: '#2db7f5',\n strokeLinecap: 'round',\n strokeWidth: 1,\n trailColor: '#D9D9D9',\n trailWidth: 1,\n gapPosition: 'bottom'\n};\nexport var useTransitionDuration = function useTransitionDuration() {\n var pathsRef = useRef([]);\n var prevTimeStamp = useRef(null);\n useEffect(function () {\n var now = Date.now();\n var updated = false;\n pathsRef.current.forEach(function (path) {\n if (!path) {\n return;\n }\n updated = true;\n var pathStyle = path.style;\n pathStyle.transitionDuration = '.3s, .3s, .3s, .06s';\n if (prevTimeStamp.current && now - prevTimeStamp.current < 100) {\n pathStyle.transitionDuration = '0s, 0s';\n }\n });\n if (updated) {\n prevTimeStamp.current = Date.now();\n }\n });\n return pathsRef.current;\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport InfoOutlinedSvg from \"@ant-design/icons-svg/es/asn/InfoOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar InfoOutlined = function InfoOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: InfoOutlinedSvg\n }));\n};\n\n/**![info](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0OCAyMjRhNjQgNjQgMCAxMDEyOCAwIDY0IDY0IDAgMTAtMTI4IDB6bTk2IDE2OGgtNjRjLTQuNCAwLTggMy42LTggOHY0NjRjMCA0LjQgMy42IDggOCA4aDY0YzQuNCAwIDgtMy42IDgtOFY0MDBjMC00LjQtMy42LTgtOC04eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(InfoOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'InfoOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport QqSquareFilledSvg from \"@ant-design/icons-svg/es/asn/QqSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar QqSquareFilled = function QqSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: QqSquareFilledSvg\n }));\n};\n\n/**![qq-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNzIyLjUgNjc2LjRjLTExLjUgMS40LTQ0LjktNTIuNy00NC45LTUyLjcgMCAzMS4zLTE2LjIgNzIuMi01MS4xIDEwMS44IDE2LjkgNS4yIDU0LjkgMTkuMiA0NS45IDM0LjQtNy4zIDEyLjMtMTI1LjYgNy45LTE1OS44IDQtMzQuMiAzLjgtMTUyLjUgOC4zLTE1OS44LTQtOS4xLTE1LjIgMjguOS0yOS4yIDQ1LjgtMzQuNC0zNS0yOS41LTUxLjEtNzAuNC01MS4xLTEwMS44IDAgMC0zMy40IDU0LjEtNDQuOSA1Mi43LTUuNC0uNy0xMi40LTI5LjYgOS40LTk5LjcgMTAuMy0zMyAyMi02MC41IDQwLjItMTA1LjgtMy4xLTExNi45IDQ1LjMtMjE1IDE2MC40LTIxNSAxMTMuOSAwIDE2My4zIDk2LjEgMTYwLjQgMjE1IDE4LjEgNDUuMiAyOS45IDcyLjggNDAuMiAxMDUuOCAyMS43IDcwLjEgMTQuNiA5OS4xIDkuMyA5OS43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(QqSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'QqSquareFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TagOutlinedSvg from \"@ant-design/icons-svg/es/asn/TagOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TagOutlined = function TagOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TagOutlinedSvg\n }));\n};\n\n/**![tag](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkzOCA0NTguOGwtMjkuNi0zMTIuNmMtMS41LTE2LjItMTQuNC0yOS0zMC42LTMwLjZMNTY1LjIgODZoLS40Yy0zLjIgMC01LjcgMS03LjYgMi45TDg4LjkgNTU3LjJhOS45NiA5Ljk2IDAgMDAwIDE0LjFsMzYzLjggMzYzLjhjMS45IDEuOSA0LjQgMi45IDcuMSAyLjlzNS4yLTEgNy4xLTIuOWw0NjguMy00NjguM2MyLTIuMSAzLTUgMi44LTh6TTQ1OS43IDgzNC43TDE4OS4zIDU2NC4zIDU4OSAxNjQuNiA4MzYgMTg4bDIzLjQgMjQ3LTM5OS43IDM5OS43ek02ODAgMjU2Yy00OC41IDAtODggMzkuNS04OCA4OHMzOS41IDg4IDg4IDg4IDg4LTM5LjUgODgtODgtMzkuNS04OC04OC04OHptMCAxMjBjLTE3LjcgMC0zMi0xNC4zLTMyLTMyczE0LjMtMzIgMzItMzIgMzIgMTQuMyAzMiAzMi0xNC4zIDMyLTMyIDMyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TagOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TagOutlined';\n}\nexport default RefIcon;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport hash from '@emotion/hash';\nimport { updateCSS } from \"rc-util/es/Dom/dynamicCSS\";\nimport { useContext } from 'react';\nimport StyleContext, { ATTR_MARK, ATTR_TOKEN, CSS_IN_JS_INSTANCE } from \"../StyleContext\";\nimport { flattenToken, memoResult, token2key, toStyleStr } from \"../util\";\nimport { transformToken } from \"../util/css-variables\";\nimport useGlobalCache from \"./useGlobalCache\";\nvar EMPTY_OVERRIDE = {};\n\n// Generate different prefix to make user selector break in production env.\n// This helps developer not to do style override directly on the hash id.\nvar hashPrefix = process.env.NODE_ENV !== 'production' ? 'css-dev-only-do-not-override' : 'css';\nvar tokenKeys = new Map();\nfunction recordCleanToken(tokenKey) {\n tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) + 1);\n}\nfunction removeStyleTags(key, instanceId) {\n if (typeof document !== 'undefined') {\n var styles = document.querySelectorAll(\"style[\".concat(ATTR_TOKEN, \"=\\\"\").concat(key, \"\\\"]\"));\n styles.forEach(function (style) {\n if (style[CSS_IN_JS_INSTANCE] === instanceId) {\n var _style$parentNode;\n (_style$parentNode = style.parentNode) === null || _style$parentNode === void 0 || _style$parentNode.removeChild(style);\n }\n });\n }\n}\nvar TOKEN_THRESHOLD = 0;\n\n// Remove will check current keys first\nfunction cleanTokenStyle(tokenKey, instanceId) {\n tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) - 1);\n var tokenKeyList = Array.from(tokenKeys.keys());\n var cleanableKeyList = tokenKeyList.filter(function (key) {\n var count = tokenKeys.get(key) || 0;\n return count <= 0;\n });\n\n // Should keep tokens under threshold for not to insert style too often\n if (tokenKeyList.length - cleanableKeyList.length > TOKEN_THRESHOLD) {\n cleanableKeyList.forEach(function (key) {\n removeStyleTags(key, instanceId);\n tokenKeys.delete(key);\n });\n }\n}\nexport var getComputedToken = function getComputedToken(originToken, overrideToken, theme, format) {\n var derivativeToken = theme.getDerivativeToken(originToken);\n\n // Merge with override\n var mergedDerivativeToken = _objectSpread(_objectSpread({}, derivativeToken), overrideToken);\n\n // Format if needed\n if (format) {\n mergedDerivativeToken = format(mergedDerivativeToken);\n }\n return mergedDerivativeToken;\n};\nexport var TOKEN_PREFIX = 'token';\n/**\n * Cache theme derivative token as global shared one\n * @param theme Theme entity\n * @param tokens List of tokens, used for cache. Please do not dynamic generate object directly\n * @param option Additional config\n * @returns Call Theme.getDerivativeToken(tokenObject) to get token\n */\nexport default function useCacheToken(theme, tokens) {\n var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var _useContext = useContext(StyleContext),\n instanceId = _useContext.cache.instanceId,\n container = _useContext.container;\n var _option$salt = option.salt,\n salt = _option$salt === void 0 ? '' : _option$salt,\n _option$override = option.override,\n override = _option$override === void 0 ? EMPTY_OVERRIDE : _option$override,\n formatToken = option.formatToken,\n compute = option.getComputedToken,\n cssVar = option.cssVar;\n\n // Basic - We do basic cache here\n var mergedToken = memoResult(function () {\n return Object.assign.apply(Object, [{}].concat(_toConsumableArray(tokens)));\n }, tokens);\n var tokenStr = flattenToken(mergedToken);\n var overrideTokenStr = flattenToken(override);\n var cssVarStr = cssVar ? flattenToken(cssVar) : '';\n var cachedToken = useGlobalCache(TOKEN_PREFIX, [salt, theme.id, tokenStr, overrideTokenStr, cssVarStr], function () {\n var _cssVar$key;\n var mergedDerivativeToken = compute ? compute(mergedToken, override, theme) : getComputedToken(mergedToken, override, theme, formatToken);\n\n // Replace token value with css variables\n var actualToken = _objectSpread({}, mergedDerivativeToken);\n var cssVarsStr = '';\n if (!!cssVar) {\n var _transformToken = transformToken(mergedDerivativeToken, cssVar.key, {\n prefix: cssVar.prefix,\n ignore: cssVar.ignore,\n unitless: cssVar.unitless,\n preserve: cssVar.preserve\n });\n var _transformToken2 = _slicedToArray(_transformToken, 2);\n mergedDerivativeToken = _transformToken2[0];\n cssVarsStr = _transformToken2[1];\n }\n\n // Optimize for `useStyleRegister` performance\n var tokenKey = token2key(mergedDerivativeToken, salt);\n mergedDerivativeToken._tokenKey = tokenKey;\n actualToken._tokenKey = token2key(actualToken, salt);\n var themeKey = (_cssVar$key = cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) !== null && _cssVar$key !== void 0 ? _cssVar$key : tokenKey;\n mergedDerivativeToken._themeKey = themeKey;\n recordCleanToken(themeKey);\n var hashId = \"\".concat(hashPrefix, \"-\").concat(hash(tokenKey));\n mergedDerivativeToken._hashId = hashId; // Not used\n\n return [mergedDerivativeToken, hashId, actualToken, cssVarsStr, (cssVar === null || cssVar === void 0 ? void 0 : cssVar.key) || ''];\n }, function (cache) {\n // Remove token will remove all related style\n cleanTokenStyle(cache[0]._themeKey, instanceId);\n }, function (_ref) {\n var _ref2 = _slicedToArray(_ref, 4),\n token = _ref2[0],\n cssVarsStr = _ref2[3];\n if (cssVar && cssVarsStr) {\n var style = updateCSS(cssVarsStr, hash(\"css-variables-\".concat(token._themeKey)), {\n mark: ATTR_MARK,\n prepend: 'queue',\n attachTo: container,\n priority: -999\n });\n style[CSS_IN_JS_INSTANCE] = instanceId;\n\n // Used for `useCacheToken` to remove on batch when token removed\n style.setAttribute(ATTR_TOKEN, token._themeKey);\n }\n });\n return cachedToken;\n}\nexport var extract = function extract(cache, effectStyles, options) {\n var _cache = _slicedToArray(cache, 5),\n realToken = _cache[2],\n styleStr = _cache[3],\n cssVarKey = _cache[4];\n var _ref3 = options || {},\n plain = _ref3.plain;\n if (!styleStr) {\n return null;\n }\n var styleId = realToken._tokenKey;\n var order = -999;\n\n // ====================== Style ======================\n // Used for rc-util\n var sharedAttrs = {\n 'data-rc-order': 'prependQueue',\n 'data-rc-priority': \"\".concat(order)\n };\n var styleText = toStyleStr(styleStr, cssVarKey, styleId, sharedAttrs, plain);\n return [order, styleId, styleText];\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ClockCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/ClockCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ClockCircleOutlined = function ClockCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ClockCircleOutlinedSvg\n }));\n};\n\n/**![clock-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTY4Ni43IDYzOC42TDU0NC4xIDUzNS41VjI4OGMwLTQuNC0zLjYtOC04LThINDg4Yy00LjQgMC04IDMuNi04IDh2Mjc1LjRjMCAyLjYgMS4yIDUgMy4zIDYuNWwxNjUuNCAxMjAuNmMzLjYgMi42IDguNiAxLjggMTEuMi0xLjdsMjguNi0zOWMyLjYtMy43IDEuOC04LjctMS44LTExLjJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ClockCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ClockCircleOutlined';\n}\nexport default RefIcon;","import {input, state} from \"../traverser/base\";\nimport {charCodes} from \"../util/charcodes\";\nimport {IS_IDENTIFIER_CHAR} from \"../util/identifier\";\nimport {finishToken} from \"./index\";\nimport {READ_WORD_TREE} from \"./readWordTree\";\nimport {TokenType as tt} from \"./types\";\n\n/**\n * Read an identifier, producing either a name token or matching on one of the existing keywords.\n * For performance, we pre-generate big decision tree that we traverse. Each node represents a\n * prefix and has 27 values, where the first value is the token or contextual token, if any (-1 if\n * not), and the other 26 values are the transitions to other nodes, or -1 to stop.\n */\nexport default function readWord() {\n let treePos = 0;\n let code = 0;\n let pos = state.pos;\n while (pos < input.length) {\n code = input.charCodeAt(pos);\n if (code < charCodes.lowercaseA || code > charCodes.lowercaseZ) {\n break;\n }\n const next = READ_WORD_TREE[treePos + (code - charCodes.lowercaseA) + 1];\n if (next === -1) {\n break;\n } else {\n treePos = next;\n pos++;\n }\n }\n\n const keywordValue = READ_WORD_TREE[treePos];\n if (keywordValue > -1 && !IS_IDENTIFIER_CHAR[code]) {\n state.pos = pos;\n if (keywordValue & 1) {\n finishToken(keywordValue >>> 1);\n } else {\n finishToken(tt.name, keywordValue >>> 1);\n }\n return;\n }\n\n while (pos < input.length) {\n const ch = input.charCodeAt(pos);\n if (IS_IDENTIFIER_CHAR[ch]) {\n pos++;\n } else if (ch === charCodes.backslash) {\n // \\u\n pos += 2;\n if (input.charCodeAt(pos) === charCodes.leftCurlyBrace) {\n while (pos < input.length && input.charCodeAt(pos) !== charCodes.rightCurlyBrace) {\n pos++;\n }\n pos++;\n }\n } else if (ch === charCodes.atSign && input.charCodeAt(pos + 1) === charCodes.atSign) {\n pos += 2;\n } else {\n break;\n }\n }\n state.pos = pos;\n finishToken(tt.name);\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WechatOutlinedSvg from \"@ant-design/icons-svg/es/asn/WechatOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WechatOutlined = function WechatOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WechatOutlinedSvg\n }));\n};\n\n/**![wechat](data:image/svg+xml;base64,PH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LTEyMC44LTIyNC41LTI2OS45LTIyNC41LTE0OSAwLTI2OS45IDEwMC41LTI2OS45IDIyNC41UzU0MC45IDg0Ny41IDY5MCA4NDcuNWMzMC44IDAgNjAuNi00LjQgODguMS0xMi4zIDIuNi0uOCA1LjItMS4yIDcuOS0xLjIgNS4yIDAgOS45IDEuNiAxNC4zIDQuMWw1OS4xIDM0YzEuNyAxIDMuMyAxLjcgNS4yIDEuN2E5IDkgMCAwMDYuNC0yLjYgOSA5IDAgMDAyLjYtNi40YzAtMi4yLS45LTQuNC0xLjQtNi42LS4zLTEuMi03LjYtMjguMy0xMi4yLTQ1LjMtLjUtMS45LS45LTMuOC0uOS01LjcuMS01LjkgMy4xLTExLjIgNy42LTE0LjV6TTYwMC4yIDU4Ny4yYy0xOS45IDAtMzYtMTYuMS0zNi0zNS45IDAtMTkuOCAxNi4xLTM1LjkgMzYtMzUuOXMzNiAxNi4xIDM2IDM1LjljMCAxOS44LTE2LjIgMzUuOS0zNiAzNS45em0xNzkuOSAwYy0xOS45IDAtMzYtMTYuMS0zNi0zNS45IDAtMTkuOCAxNi4xLTM1LjkgMzYtMzUuOXMzNiAxNi4xIDM2IDM1LjlhMzYuMDggMzYuMDggMCAwMS0zNiAzNS45eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WechatOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WechatOutlined';\n}\nexport default RefIcon;","/**\n * @typedef {import('mdast').Root} Root\n * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions\n * @typedef {import('unified').Parser} Parser\n * @typedef {import('unified').Processor} Processor\n */\n\n/**\n * @typedef {Omit} Options\n */\n\nimport {fromMarkdown} from 'mdast-util-from-markdown'\n\n/**\n * Aadd support for parsing from markdown.\n *\n * @param {Readonly | null | undefined} [options]\n * Configuration (optional).\n * @returns {undefined}\n * Nothing.\n */\nexport default function remarkParse(options) {\n /** @type {Processor} */\n // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.\n const self = this\n\n self.parser = parser\n\n /**\n * @type {Parser}\n */\n function parser(doc) {\n return fromMarkdown(doc, {\n ...self.data('settings'),\n ...options,\n // Note: these options are not in the readme.\n // The goal is for them to be set by plugins on `data` instead of being\n // passed by users.\n extensions: self.data('micromarkExtensions') || [],\n mdastExtensions: self.data('fromMarkdownExtensions') || []\n })\n }\n}\n","/**\n * @import {Code} from 'micromark-util-types'\n */\n\n/**\n * Check whether the character code represents an ASCII alpha (`a` through `z`,\n * case insensitive).\n *\n * An **ASCII alpha** is an ASCII upper alpha or ASCII lower alpha.\n *\n * An **ASCII upper alpha** is a character in the inclusive range U+0041 (`A`)\n * to U+005A (`Z`).\n *\n * An **ASCII lower alpha** is a character in the inclusive range U+0061 (`a`)\n * to U+007A (`z`).\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiAlpha = regexCheck(/[A-Za-z]/);\n\n/**\n * Check whether the character code represents an ASCII alphanumeric (`a`\n * through `z`, case insensitive, or `0` through `9`).\n *\n * An **ASCII alphanumeric** is an ASCII digit (see `asciiDigit`) or ASCII alpha\n * (see `asciiAlpha`).\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiAlphanumeric = regexCheck(/[\\dA-Za-z]/);\n\n/**\n * Check whether the character code represents an ASCII atext.\n *\n * atext is an ASCII alphanumeric (see `asciiAlphanumeric`), or a character in\n * the inclusive ranges U+0023 NUMBER SIGN (`#`) to U+0027 APOSTROPHE (`'`),\n * U+002A ASTERISK (`*`), U+002B PLUS SIGN (`+`), U+002D DASH (`-`), U+002F\n * SLASH (`/`), U+003D EQUALS TO (`=`), U+003F QUESTION MARK (`?`), U+005E\n * CARET (`^`) to U+0060 GRAVE ACCENT (`` ` ``), or U+007B LEFT CURLY BRACE\n * (`{`) to U+007E TILDE (`~`).\n *\n * See:\n * **\\[RFC5322]**:\n * [Internet Message Format](https://tools.ietf.org/html/rfc5322).\n * P. Resnick.\n * IETF.\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiAtext = regexCheck(/[#-'*+\\--9=?A-Z^-~]/);\n\n/**\n * Check whether a character code is an ASCII control character.\n *\n * An **ASCII control** is a character in the inclusive range U+0000 NULL (NUL)\n * to U+001F (US), or U+007F (DEL).\n *\n * @param {Code} code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport function asciiControl(code) {\n return (\n // Special whitespace codes (which have negative values), C0 and Control\n // character DEL\n code !== null && (code < 32 || code === 127)\n );\n}\n\n/**\n * Check whether the character code represents an ASCII digit (`0` through `9`).\n *\n * An **ASCII digit** is a character in the inclusive range U+0030 (`0`) to\n * U+0039 (`9`).\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiDigit = regexCheck(/\\d/);\n\n/**\n * Check whether the character code represents an ASCII hex digit (`a` through\n * `f`, case insensitive, or `0` through `9`).\n *\n * An **ASCII hex digit** is an ASCII digit (see `asciiDigit`), ASCII upper hex\n * digit, or an ASCII lower hex digit.\n *\n * An **ASCII upper hex digit** is a character in the inclusive range U+0041\n * (`A`) to U+0046 (`F`).\n *\n * An **ASCII lower hex digit** is a character in the inclusive range U+0061\n * (`a`) to U+0066 (`f`).\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiHexDigit = regexCheck(/[\\dA-Fa-f]/);\n\n/**\n * Check whether the character code represents ASCII punctuation.\n *\n * An **ASCII punctuation** is a character in the inclusive ranges U+0021\n * EXCLAMATION MARK (`!`) to U+002F SLASH (`/`), U+003A COLON (`:`) to U+0040 AT\n * SIGN (`@`), U+005B LEFT SQUARE BRACKET (`[`) to U+0060 GRAVE ACCENT\n * (`` ` ``), or U+007B LEFT CURLY BRACE (`{`) to U+007E TILDE (`~`).\n *\n * @param code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport const asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);\n\n/**\n * Check whether a character code is a markdown line ending.\n *\n * A **markdown line ending** is the virtual characters M-0003 CARRIAGE RETURN\n * LINE FEED (CRLF), M-0004 LINE FEED (LF) and M-0005 CARRIAGE RETURN (CR).\n *\n * In micromark, the actual character U+000A LINE FEED (LF) and U+000D CARRIAGE\n * RETURN (CR) are replaced by these virtual characters depending on whether\n * they occurred together.\n *\n * @param {Code} code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport function markdownLineEnding(code) {\n return code !== null && code < -2;\n}\n\n/**\n * Check whether a character code is a markdown line ending (see\n * `markdownLineEnding`) or markdown space (see `markdownSpace`).\n *\n * @param {Code} code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport function markdownLineEndingOrSpace(code) {\n return code !== null && (code < 0 || code === 32);\n}\n\n/**\n * Check whether a character code is a markdown space.\n *\n * A **markdown space** is the concrete character U+0020 SPACE (SP) and the\n * virtual characters M-0001 VIRTUAL SPACE (VS) and M-0002 HORIZONTAL TAB (HT).\n *\n * In micromark, the actual character U+0009 CHARACTER TABULATION (HT) is\n * replaced by one M-0002 HORIZONTAL TAB (HT) and between 0 and 3 M-0001 VIRTUAL\n * SPACE (VS) characters, depending on the column at which the tab occurred.\n *\n * @param {Code} code\n * Code.\n * @returns {boolean}\n * Whether it matches.\n */\nexport function markdownSpace(code) {\n return code === -2 || code === -1 || code === 32;\n}\n\n// Size note: removing ASCII from the regex and using `asciiPunctuation` here\n// In fact adds to the bundle size.\n/**\n * Check whether the character code represents Unicode punctuation.\n *\n * A **Unicode punctuation** is a character in the Unicode `Pc` (Punctuation,\n * Connector), `Pd` (Punctuation, Dash), `Pe` (Punctuation, Close), `Pf`\n * (Punctuation, Final quote), `Pi` (Punctuation, Initial quote), `Po`\n * (Punctuation, Other), or `Ps` (Punctuation, Open) categories, or an ASCII\n * punctuation (see `asciiPunctuation`).\n *\n * See:\n * **\\[UNICODE]**:\n * [The Unicode Standard](https://www.unicode.org/versions/).\n * Unicode Consortium.\n *\n * @param code\n * Code.\n * @returns\n * Whether it matches.\n */\nexport const unicodePunctuation = regexCheck(/\\p{P}|\\p{S}/u);\n\n/**\n * Check whether the character code represents Unicode whitespace.\n *\n * Note that this does handle micromark specific markdown whitespace characters.\n * See `markdownLineEndingOrSpace` to check that.\n *\n * A **Unicode whitespace** is a character in the Unicode `Zs` (Separator,\n * Space) category, or U+0009 CHARACTER TABULATION (HT), U+000A LINE FEED (LF),\n * U+000C (FF), or U+000D CARRIAGE RETURN (CR) (**\\[UNICODE]**).\n *\n * See:\n * **\\[UNICODE]**:\n * [The Unicode Standard](https://www.unicode.org/versions/).\n * Unicode Consortium.\n *\n * @param code\n * Code.\n * @returns\n * Whether it matches.\n */\nexport const unicodeWhitespace = regexCheck(/\\s/);\n\n/**\n * Create a code check from a regex.\n *\n * @param {RegExp} regex\n * Expression.\n * @returns {(code: Code) => boolean}\n * Check.\n */\nfunction regexCheck(regex) {\n return check;\n\n /**\n * Check whether a code matches the bound regex.\n *\n * @param {Code} code\n * Character code.\n * @returns {boolean}\n * Whether the character code matches the bound regex.\n */\n function check(code) {\n return code !== null && code > -1 && regex.test(String.fromCharCode(code));\n }\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"open\", \"prefix\", \"clearIcon\", \"suffixIcon\", \"activeHelp\", \"allHelp\", \"focused\", \"onFocus\", \"onBlur\", \"onKeyDown\", \"locale\", \"generateConfig\", \"placeholder\", \"className\", \"style\", \"onClick\", \"onClear\", \"internalPicker\", \"value\", \"onChange\", \"onSubmit\", \"onInputChange\", \"multiple\", \"maxTagCount\", \"format\", \"maskFormat\", \"preserveInvalidOnBlur\", \"onInvalid\", \"disabled\", \"invalid\", \"inputReadOnly\", \"direction\", \"onOpenChange\", \"onMouseDown\", \"required\", \"aria-required\", \"autoFocus\", \"tabIndex\", \"removeIcon\"];\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { isSame } from \"../../../utils/dateUtil\";\nimport PickerContext from \"../../context\";\nimport Icon, { ClearIcon } from \"../Icon\";\nimport Input from \"../Input\";\nimport useInputProps from \"../hooks/useInputProps\";\nimport useRootProps from \"../hooks/useRootProps\";\nimport MultipleDates from \"./MultipleDates\";\nfunction SingleSelector(props, ref) {\n var id = props.id,\n open = props.open,\n prefix = props.prefix,\n clearIcon = props.clearIcon,\n suffixIcon = props.suffixIcon,\n activeHelp = props.activeHelp,\n allHelp = props.allHelp,\n focused = props.focused,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onKeyDown = props.onKeyDown,\n locale = props.locale,\n generateConfig = props.generateConfig,\n placeholder = props.placeholder,\n className = props.className,\n style = props.style,\n onClick = props.onClick,\n onClear = props.onClear,\n internalPicker = props.internalPicker,\n value = props.value,\n onChange = props.onChange,\n onSubmit = props.onSubmit,\n onInputChange = props.onInputChange,\n multiple = props.multiple,\n maxTagCount = props.maxTagCount,\n format = props.format,\n maskFormat = props.maskFormat,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n onInvalid = props.onInvalid,\n disabled = props.disabled,\n invalid = props.invalid,\n inputReadOnly = props.inputReadOnly,\n direction = props.direction,\n onOpenChange = props.onOpenChange,\n _onMouseDown = props.onMouseDown,\n required = props.required,\n ariaRequired = props['aria-required'],\n autoFocus = props.autoFocus,\n tabIndex = props.tabIndex,\n removeIcon = props.removeIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var rtl = direction === 'rtl';\n\n // ======================== Prefix ========================\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n\n // ========================= Refs =========================\n var rootRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: rootRef.current,\n focus: function focus(options) {\n var _inputRef$current;\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus(options);\n },\n blur: function blur() {\n var _inputRef$current2;\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();\n }\n };\n });\n\n // ======================== Props =========================\n var rootProps = useRootProps(restProps);\n\n // ======================== Change ========================\n var onSingleChange = function onSingleChange(date) {\n onChange([date]);\n };\n var onMultipleRemove = function onMultipleRemove(date) {\n var nextValues = value.filter(function (oriDate) {\n return oriDate && !isSame(generateConfig, locale, oriDate, date, internalPicker);\n });\n onChange(nextValues);\n\n // When `open`, it means user is operating the\n if (!open) {\n onSubmit();\n }\n };\n\n // ======================== Inputs ========================\n var _useInputProps = useInputProps(_objectSpread(_objectSpread({}, props), {}, {\n onChange: onSingleChange\n }), function (_ref) {\n var valueTexts = _ref.valueTexts;\n return {\n value: valueTexts[0] || '',\n active: focused\n };\n }),\n _useInputProps2 = _slicedToArray(_useInputProps, 2),\n getInputProps = _useInputProps2[0],\n getText = _useInputProps2[1];\n\n // ======================== Clear =========================\n var showClear = !!(clearIcon && value.length && !disabled);\n\n // ======================= Multiple =======================\n var selectorNode = multiple ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MultipleDates, {\n prefixCls: prefixCls,\n value: value,\n onRemove: onMultipleRemove,\n formatDate: getText,\n maxTagCount: maxTagCount,\n disabled: disabled,\n removeIcon: removeIcon,\n placeholder: placeholder\n }), /*#__PURE__*/React.createElement(\"input\", {\n className: \"\".concat(prefixCls, \"-multiple-input\"),\n value: value.map(getText).join(','),\n ref: inputRef,\n readOnly: true,\n autoFocus: autoFocus,\n tabIndex: tabIndex\n }), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n })) : /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputRef\n }, getInputProps(), {\n autoFocus: autoFocus,\n tabIndex: tabIndex,\n suffixIcon: suffixIcon,\n clearIcon: showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n }),\n showActiveCls: false\n }));\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, rootProps, {\n className: classNames(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-multiple\"), multiple), \"\".concat(prefixCls, \"-focused\"), focused), \"\".concat(prefixCls, \"-disabled\"), disabled), \"\".concat(prefixCls, \"-invalid\"), invalid), \"\".concat(prefixCls, \"-rtl\"), rtl), className),\n style: style,\n ref: rootRef,\n onClick: onClick\n // Not lose current input focus\n ,\n onMouseDown: function onMouseDown(e) {\n var _inputRef$current3;\n var target = e.target;\n if (target !== ((_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.inputElement)) {\n e.preventDefault();\n }\n _onMouseDown === null || _onMouseDown === void 0 || _onMouseDown(e);\n }\n }), prefix && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-prefix\")\n }, prefix), selectorNode);\n}\nvar RefSingleSelector = /*#__PURE__*/React.forwardRef(SingleSelector);\nif (process.env.NODE_ENV !== 'production') {\n RefSingleSelector.displayName = 'SingleSelector';\n}\nexport default RefSingleSelector;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BellOutlinedSvg from \"@ant-design/icons-svg/es/asn/BellOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BellOutlined = function BellOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BellOutlinedSvg\n }));\n};\n\n/**![bell](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgxNiA3NjhoLTI0VjQyOGMwLTE0MS4xLTEwNC4zLTI1Ny43LTI0MC0yNzcuMVYxMTJjMC0yMi4xLTE3LjktNDAtNDAtNDBzLTQwIDE3LjktNDAgNDB2MzguOWMtMTM1LjcgMTkuNC0yNDAgMTM2LTI0MCAyNzcuMXYzNDBoLTI0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYzMmMwIDQuNCAzLjYgOCA4IDhoMjE2YzAgNjEuOCA1MC4yIDExMiAxMTIgMTEyczExMi01MC4yIDExMi0xMTJoMjE2YzQuNCAwIDgtMy42IDgtOHYtMzJjMC0xNy43LTE0LjMtMzItMzItMzJ6TTUxMiA4ODhjLTI2LjUgMC00OC0yMS41LTQ4LTQ4aDk2YzAgMjYuNS0yMS41IDQ4LTQ4IDQ4ek0zMDQgNzY4VjQyOGMwLTU1LjYgMjEuNi0xMDcuOCA2MC45LTE0Ny4xUzQ1Ni40IDIyMCA1MTIgMjIwYzU1LjYgMCAxMDcuOCAyMS42IDE0Ny4xIDYwLjlTNzIwIDM3Mi40IDcyMCA0Mjh2MzQwSDMwNHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BellOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BellOutlined';\n}\nexport default RefIcon;","/**\n * @import {\n * Construct,\n * State,\n * TokenizeContext,\n * Tokenizer\n * } from 'micromark-util-types'\n */\n\nimport { factoryDestination } from 'micromark-factory-destination';\nimport { factoryLabel } from 'micromark-factory-label';\nimport { factorySpace } from 'micromark-factory-space';\nimport { factoryTitle } from 'micromark-factory-title';\nimport { factoryWhitespace } from 'micromark-factory-whitespace';\nimport { markdownLineEndingOrSpace, markdownLineEnding, markdownSpace } from 'micromark-util-character';\nimport { normalizeIdentifier } from 'micromark-util-normalize-identifier';\n/** @type {Construct} */\nexport const definition = {\n name: 'definition',\n tokenize: tokenizeDefinition\n};\n\n/** @type {Construct} */\nconst titleBefore = {\n partial: true,\n tokenize: tokenizeTitleBefore\n};\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeDefinition(effects, ok, nok) {\n const self = this;\n /** @type {string} */\n let identifier;\n return start;\n\n /**\n * At start of a definition.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n // Do not interrupt paragraphs (but do follow definitions).\n // To do: do `interrupt` the way `markdown-rs` does.\n // To do: parse whitespace the way `markdown-rs` does.\n effects.enter(\"definition\");\n return before(code);\n }\n\n /**\n * After optional whitespace, at `[`.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function before(code) {\n // To do: parse whitespace the way `markdown-rs` does.\n\n return factoryLabel.call(self, effects, labelAfter,\n // Note: we don’t need to reset the way `markdown-rs` does.\n nok, \"definitionLabel\", \"definitionLabelMarker\", \"definitionLabelString\")(code);\n }\n\n /**\n * After label.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function labelAfter(code) {\n identifier = normalizeIdentifier(self.sliceSerialize(self.events[self.events.length - 1][1]).slice(1, -1));\n if (code === 58) {\n effects.enter(\"definitionMarker\");\n effects.consume(code);\n effects.exit(\"definitionMarker\");\n return markerAfter;\n }\n return nok(code);\n }\n\n /**\n * After marker.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function markerAfter(code) {\n // Note: whitespace is optional.\n return markdownLineEndingOrSpace(code) ? factoryWhitespace(effects, destinationBefore)(code) : destinationBefore(code);\n }\n\n /**\n * Before destination.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function destinationBefore(code) {\n return factoryDestination(effects, destinationAfter,\n // Note: we don’t need to reset the way `markdown-rs` does.\n nok, \"definitionDestination\", \"definitionDestinationLiteral\", \"definitionDestinationLiteralMarker\", \"definitionDestinationRaw\", \"definitionDestinationString\")(code);\n }\n\n /**\n * After destination.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function destinationAfter(code) {\n return effects.attempt(titleBefore, after, after)(code);\n }\n\n /**\n * After definition.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return markdownSpace(code) ? factorySpace(effects, afterWhitespace, \"whitespace\")(code) : afterWhitespace(code);\n }\n\n /**\n * After definition, after optional whitespace.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function afterWhitespace(code) {\n if (code === null || markdownLineEnding(code)) {\n effects.exit(\"definition\");\n\n // Note: we don’t care about uniqueness.\n // It’s likely that that doesn’t happen very frequently.\n // It is more likely that it wastes precious time.\n self.parser.defined.push(identifier);\n\n // To do: `markdown-rs` interrupt.\n // // You’d be interrupting.\n // tokenizer.interrupt = true\n return ok(code);\n }\n return nok(code);\n }\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeTitleBefore(effects, ok, nok) {\n return titleBefore;\n\n /**\n * After destination, at whitespace.\n *\n * ```markdown\n * > | [a]: b\n * ^\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleBefore(code) {\n return markdownLineEndingOrSpace(code) ? factoryWhitespace(effects, beforeMarker)(code) : nok(code);\n }\n\n /**\n * At title.\n *\n * ```markdown\n * | [a]: b\n * > | \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function beforeMarker(code) {\n return factoryTitle(effects, titleAfter, nok, \"definitionTitle\", \"definitionTitleMarker\", \"definitionTitleString\")(code);\n }\n\n /**\n * After title.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleAfter(code) {\n return markdownSpace(code) ? factorySpace(effects, titleAfterOptionalWhitespace, \"whitespace\")(code) : titleAfterOptionalWhitespace(code);\n }\n\n /**\n * After title, after optional whitespace.\n *\n * ```markdown\n * > | [a]: b \"c\"\n * ^\n * ```\n *\n * @type {State}\n */\n function titleAfterOptionalWhitespace(code) {\n return code === null || markdownLineEnding(code) ? ok(code) : nok(code);\n }\n}","// A derivative work based on:\n// .\n// Which is licensed:\n//\n// MIT License\n//\n// Copyright (c) 2013 James Halliday\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy of\n// this software and associated documentation files (the \"Software\"), to deal in\n// the Software without restriction, including without limitation the rights to\n// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n// the Software, and to permit persons to whom the Software is furnished to do so,\n// subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A derivative work based on:\n//\n// Parts of that are extracted from Node’s internal `path` module:\n// .\n// Which is licensed:\n//\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nexport const minpath = {basename, dirname, extname, join, sep: '/'}\n\n/* eslint-disable max-depth, complexity */\n\n/**\n * Get the basename from a path.\n *\n * @param {string} path\n * File path.\n * @param {string | null | undefined} [extname]\n * Extension to strip.\n * @returns {string}\n * Stem or basename.\n */\nfunction basename(path, extname) {\n if (extname !== undefined && typeof extname !== 'string') {\n throw new TypeError('\"ext\" argument must be a string')\n }\n\n assertPath(path)\n let start = 0\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let seenNonSlash\n\n if (\n extname === undefined ||\n extname.length === 0 ||\n extname.length > path.length\n ) {\n while (index--) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // path component.\n seenNonSlash = true\n end = index + 1\n }\n }\n\n return end < 0 ? '' : path.slice(start, end)\n }\n\n if (extname === path) {\n return ''\n }\n\n let firstNonSlashEnd = -1\n let extnameIndex = extname.length - 1\n\n while (index--) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else {\n if (firstNonSlashEnd < 0) {\n // We saw the first non-path separator, remember this index in case\n // we need it if the extension ends up not matching.\n seenNonSlash = true\n firstNonSlashEnd = index + 1\n }\n\n if (extnameIndex > -1) {\n // Try to match the explicit extension.\n if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {\n if (extnameIndex < 0) {\n // We matched the extension, so mark this as the end of our path\n // component\n end = index\n }\n } else {\n // Extension does not match, so our result is the entire path\n // component\n extnameIndex = -1\n end = firstNonSlashEnd\n }\n }\n }\n }\n\n if (start === end) {\n end = firstNonSlashEnd\n } else if (end < 0) {\n end = path.length\n }\n\n return path.slice(start, end)\n}\n\n/**\n * Get the dirname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\nfunction dirname(path) {\n assertPath(path)\n\n if (path.length === 0) {\n return '.'\n }\n\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n // Prefix `--` is important to not run on `0`.\n while (--index) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n if (unmatchedSlash) {\n end = index\n break\n }\n } else if (!unmatchedSlash) {\n // We saw the first non-path separator\n unmatchedSlash = true\n }\n }\n\n return end < 0\n ? path.codePointAt(0) === 47 /* `/` */\n ? '/'\n : '.'\n : end === 1 && path.codePointAt(0) === 47 /* `/` */\n ? '//'\n : path.slice(0, end)\n}\n\n/**\n * Get an extname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * Extname.\n */\nfunction extname(path) {\n assertPath(path)\n\n let index = path.length\n\n let end = -1\n let startPart = 0\n let startDot = -1\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find.\n let preDotState = 0\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n while (index--) {\n const code = path.codePointAt(index)\n\n if (code === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (unmatchedSlash) {\n startPart = index + 1\n break\n }\n\n continue\n }\n\n if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // extension.\n unmatchedSlash = true\n end = index + 1\n }\n\n if (code === 46 /* `.` */) {\n // If this is our first dot, mark it as the start of our extension.\n if (startDot < 0) {\n startDot = index\n } else if (preDotState !== 1) {\n preDotState = 1\n }\n } else if (startDot > -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension.\n preDotState = -1\n }\n }\n\n if (\n startDot < 0 ||\n end < 0 ||\n // We saw a non-dot character immediately before the dot.\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly `..`.\n (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)\n ) {\n return ''\n }\n\n return path.slice(startDot, end)\n}\n\n/**\n * Join segments from a path.\n *\n * @param {Array} segments\n * Path segments.\n * @returns {string}\n * File path.\n */\nfunction join(...segments) {\n let index = -1\n /** @type {string | undefined} */\n let joined\n\n while (++index < segments.length) {\n assertPath(segments[index])\n\n if (segments[index]) {\n joined =\n joined === undefined ? segments[index] : joined + '/' + segments[index]\n }\n }\n\n return joined === undefined ? '.' : normalize(joined)\n}\n\n/**\n * Normalize a basic file path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\n// Note: `normalize` is not exposed as `path.normalize`, so some code is\n// manually removed from it.\nfunction normalize(path) {\n assertPath(path)\n\n const absolute = path.codePointAt(0) === 47 /* `/` */\n\n // Normalize the path according to POSIX rules.\n let value = normalizeString(path, !absolute)\n\n if (value.length === 0 && !absolute) {\n value = '.'\n }\n\n if (value.length > 0 && path.codePointAt(path.length - 1) === 47 /* / */) {\n value += '/'\n }\n\n return absolute ? '/' + value : value\n}\n\n/**\n * Resolve `.` and `..` elements in a path with directory names.\n *\n * @param {string} path\n * File path.\n * @param {boolean} allowAboveRoot\n * Whether `..` can move above root.\n * @returns {string}\n * File path.\n */\nfunction normalizeString(path, allowAboveRoot) {\n let result = ''\n let lastSegmentLength = 0\n let lastSlash = -1\n let dots = 0\n let index = -1\n /** @type {number | undefined} */\n let code\n /** @type {number} */\n let lastSlashIndex\n\n while (++index <= path.length) {\n if (index < path.length) {\n code = path.codePointAt(index)\n } else if (code === 47 /* `/` */) {\n break\n } else {\n code = 47 /* `/` */\n }\n\n if (code === 47 /* `/` */) {\n if (lastSlash === index - 1 || dots === 1) {\n // Empty.\n } else if (lastSlash !== index - 1 && dots === 2) {\n if (\n result.length < 2 ||\n lastSegmentLength !== 2 ||\n result.codePointAt(result.length - 1) !== 46 /* `.` */ ||\n result.codePointAt(result.length - 2) !== 46 /* `.` */\n ) {\n if (result.length > 2) {\n lastSlashIndex = result.lastIndexOf('/')\n\n if (lastSlashIndex !== result.length - 1) {\n if (lastSlashIndex < 0) {\n result = ''\n lastSegmentLength = 0\n } else {\n result = result.slice(0, lastSlashIndex)\n lastSegmentLength = result.length - 1 - result.lastIndexOf('/')\n }\n\n lastSlash = index\n dots = 0\n continue\n }\n } else if (result.length > 0) {\n result = ''\n lastSegmentLength = 0\n lastSlash = index\n dots = 0\n continue\n }\n }\n\n if (allowAboveRoot) {\n result = result.length > 0 ? result + '/..' : '..'\n lastSegmentLength = 2\n }\n } else {\n if (result.length > 0) {\n result += '/' + path.slice(lastSlash + 1, index)\n } else {\n result = path.slice(lastSlash + 1, index)\n }\n\n lastSegmentLength = index - lastSlash - 1\n }\n\n lastSlash = index\n dots = 0\n } else if (code === 46 /* `.` */ && dots > -1) {\n dots++\n } else {\n dots = -1\n }\n }\n\n return result\n}\n\n/**\n * Make sure `path` is a string.\n *\n * @param {string} path\n * File path.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path) {\n if (typeof path !== 'string') {\n throw new TypeError(\n 'Path must be a string. Received ' + JSON.stringify(path)\n )\n }\n}\n\n/* eslint-enable max-depth, complexity */\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodepenSquareFilledSvg from \"@ant-design/icons-svg/es/asn/CodepenSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodepenSquareFilled = function CodepenSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodepenSquareFilledSvg\n }));\n};\n\n/**![codepen-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcyMy4xIDQyOEw1MzUuOSAzMDMuNHYxMTEuM2wxMDMuNiA2OS4xek01MTIgNDU2LjFsLTg0LjUgNTYuNCA4NC41IDU2LjQgODQuNS01Ni40em0yMy45IDE1NC4ydjExMS4zTDcyMy4xIDU5N2wtODMuNi01NS44em0tMTUxLjQtNjkuMUwzMDAuOSA1OTdsMTg3LjIgMTI0LjZWNjEwLjNsLTEwMy42LTY5LjF6TTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTkwIDQ4NWMwIDEuMS0uMSAyLjEtLjIgMy4xIDAgLjQtLjEuNy0uMiAxYTE0LjE2IDE0LjE2IDAgMDEtLjggMy4yYy0uMi42LS40IDEuMi0uNiAxLjctLjIuNC0uNC44LS41IDEuMi0uMy41LS41IDEuMS0uOCAxLjYtLjIuNC0uNC43LS43IDEuMS0uMy41LS43IDEtMSAxLjUtLjMuNC0uNS43LS44IDEtLjQuNC0uOC45LTEuMiAxLjMtLjMuMy0uNi42LTEgLjktLjQuNC0uOS44L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4xLjcuMiAxIC4xIDEgLjIgMi4xLjIgMy4xVjU5N3ptLTQ3LjgtNDQuNnYtNzkuOGwtNTkuOCAzOS45em0tNDYwLjQtNzkuOHY3OS44bDU5LjgtMzkuOXptMjA2LjMtNTcuOVYzMDMuNEwzMDAuOSA0MjhsODMuNiA1NS44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodepenSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodepenSquareFilled';\n}\nexport default RefIcon;","/**\n * @import {State} from 'mdast-util-to-markdown'\n * @import {Heading} from 'mdast'\n */\n\nimport {EXIT, visit} from 'unist-util-visit'\nimport {toString} from 'mdast-util-to-string'\n\n/**\n * @param {Heading} node\n * @param {State} state\n * @returns {boolean}\n */\nexport function formatHeadingAsSetext(node, state) {\n let literalWithBreak = false\n\n // Look for literals with a line break.\n // Note that this also\n visit(node, function (node) {\n if (\n ('value' in node && /\\r?\\n|\\r/.test(node.value)) ||\n node.type === 'break'\n ) {\n literalWithBreak = true\n return EXIT\n }\n })\n\n return Boolean(\n (!node.depth || node.depth < 3) &&\n toString(node) &&\n (state.options.setext || literalWithBreak)\n )\n}\n","export var ContextualKeyword; (function (ContextualKeyword) {\n const NONE = 0; ContextualKeyword[ContextualKeyword[\"NONE\"] = NONE] = \"NONE\";\n const _abstract = NONE + 1; ContextualKeyword[ContextualKeyword[\"_abstract\"] = _abstract] = \"_abstract\";\n const _accessor = _abstract + 1; ContextualKeyword[ContextualKeyword[\"_accessor\"] = _accessor] = \"_accessor\";\n const _as = _accessor + 1; ContextualKeyword[ContextualKeyword[\"_as\"] = _as] = \"_as\";\n const _assert = _as + 1; ContextualKeyword[ContextualKeyword[\"_assert\"] = _assert] = \"_assert\";\n const _asserts = _assert + 1; ContextualKeyword[ContextualKeyword[\"_asserts\"] = _asserts] = \"_asserts\";\n const _async = _asserts + 1; ContextualKeyword[ContextualKeyword[\"_async\"] = _async] = \"_async\";\n const _await = _async + 1; ContextualKeyword[ContextualKeyword[\"_await\"] = _await] = \"_await\";\n const _checks = _await + 1; ContextualKeyword[ContextualKeyword[\"_checks\"] = _checks] = \"_checks\";\n const _constructor = _checks + 1; ContextualKeyword[ContextualKeyword[\"_constructor\"] = _constructor] = \"_constructor\";\n const _declare = _constructor + 1; ContextualKeyword[ContextualKeyword[\"_declare\"] = _declare] = \"_declare\";\n const _enum = _declare + 1; ContextualKeyword[ContextualKeyword[\"_enum\"] = _enum] = \"_enum\";\n const _exports = _enum + 1; ContextualKeyword[ContextualKeyword[\"_exports\"] = _exports] = \"_exports\";\n const _from = _exports + 1; ContextualKeyword[ContextualKeyword[\"_from\"] = _from] = \"_from\";\n const _get = _from + 1; ContextualKeyword[ContextualKeyword[\"_get\"] = _get] = \"_get\";\n const _global = _get + 1; ContextualKeyword[ContextualKeyword[\"_global\"] = _global] = \"_global\";\n const _implements = _global + 1; ContextualKeyword[ContextualKeyword[\"_implements\"] = _implements] = \"_implements\";\n const _infer = _implements + 1; ContextualKeyword[ContextualKeyword[\"_infer\"] = _infer] = \"_infer\";\n const _interface = _infer + 1; ContextualKeyword[ContextualKeyword[\"_interface\"] = _interface] = \"_interface\";\n const _is = _interface + 1; ContextualKeyword[ContextualKeyword[\"_is\"] = _is] = \"_is\";\n const _keyof = _is + 1; ContextualKeyword[ContextualKeyword[\"_keyof\"] = _keyof] = \"_keyof\";\n const _mixins = _keyof + 1; ContextualKeyword[ContextualKeyword[\"_mixins\"] = _mixins] = \"_mixins\";\n const _module = _mixins + 1; ContextualKeyword[ContextualKeyword[\"_module\"] = _module] = \"_module\";\n const _namespace = _module + 1; ContextualKeyword[ContextualKeyword[\"_namespace\"] = _namespace] = \"_namespace\";\n const _of = _namespace + 1; ContextualKeyword[ContextualKeyword[\"_of\"] = _of] = \"_of\";\n const _opaque = _of + 1; ContextualKeyword[ContextualKeyword[\"_opaque\"] = _opaque] = \"_opaque\";\n const _out = _opaque + 1; ContextualKeyword[ContextualKeyword[\"_out\"] = _out] = \"_out\";\n const _override = _out + 1; ContextualKeyword[ContextualKeyword[\"_override\"] = _override] = \"_override\";\n const _private = _override + 1; ContextualKeyword[ContextualKeyword[\"_private\"] = _private] = \"_private\";\n const _protected = _private + 1; ContextualKeyword[ContextualKeyword[\"_protected\"] = _protected] = \"_protected\";\n const _proto = _protected + 1; ContextualKeyword[ContextualKeyword[\"_proto\"] = _proto] = \"_proto\";\n const _public = _proto + 1; ContextualKeyword[ContextualKeyword[\"_public\"] = _public] = \"_public\";\n const _readonly = _public + 1; ContextualKeyword[ContextualKeyword[\"_readonly\"] = _readonly] = \"_readonly\";\n const _require = _readonly + 1; ContextualKeyword[ContextualKeyword[\"_require\"] = _require] = \"_require\";\n const _satisfies = _require + 1; ContextualKeyword[ContextualKeyword[\"_satisfies\"] = _satisfies] = \"_satisfies\";\n const _set = _satisfies + 1; ContextualKeyword[ContextualKeyword[\"_set\"] = _set] = \"_set\";\n const _static = _set + 1; ContextualKeyword[ContextualKeyword[\"_static\"] = _static] = \"_static\";\n const _symbol = _static + 1; ContextualKeyword[ContextualKeyword[\"_symbol\"] = _symbol] = \"_symbol\";\n const _type = _symbol + 1; ContextualKeyword[ContextualKeyword[\"_type\"] = _type] = \"_type\";\n const _unique = _type + 1; ContextualKeyword[ContextualKeyword[\"_unique\"] = _unique] = \"_unique\";\n const _using = _unique + 1; ContextualKeyword[ContextualKeyword[\"_using\"] = _using] = \"_using\";\n})(ContextualKeyword || (ContextualKeyword = {}));\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport HourglassOutlinedSvg from \"@ant-design/icons-svg/es/asn/HourglassOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar HourglassOutlined = function HourglassOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: HourglassOutlinedSvg\n }));\n};\n\n/**![hourglass](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc0MiAzMThWMTg0aDg2YzQuNCAwIDgtMy42IDgtOHYtNTZjMC00LjQtMy42LTgtOC04SDE5NmMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg4NnYxMzRjMCA4MS41IDQyLjQgMTUzLjIgMTA2LjQgMTk0LTY0IDQwLjgtMTA2LjQgMTEyLjUtMTA2LjQgMTk0djEzNGgtODZjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNjMyYzQuNCAwIDgtMy42IDgtOHYtNTZjMC00LjQtMy42LTgtOC04aC04NlY3MDZjMC04MS41LTQyLjQtMTUzLjItMTA2LjQtMTk0IDY0LTQwLjggMTA2LjQtMTEyLjUgMTA2LjQtMTk0em0tNzIgMzg4djEzNEgzNTRWNzA2YzAtNDIuMiAxNi40LTgxLjkgNDYuMy0xMTEuN0M0MzAuMSA1NjQuNCA0NjkuOCA1NDggNTEyIDU0OHM4MS45IDE2LjQgMTExLjcgNDYuM0M2NTMuNiA2MjQuMSA2NzAgNjYzLjggNjcwIDcwNnptMC0zODhjMCA0Mi4yLTE2LjQgODEuOS00Ni4zIDExMS43QzU5My45IDQ1OS42IDU1NC4yIDQ3NiA1MTIgNDc2cy04MS45LTE2LjQtMTExLjctNDYuM0ExNTYuNjMgMTU2LjYzIDAgMDEzNTQgMzE4VjE4NGgzMTZ2MTM0eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(HourglassOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'HourglassOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodeSandboxSquareFilledSvg from \"@ant-design/icons-svg/es/asn/CodeSandboxSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodeSandboxSquareFilled = function CodeSandboxSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodeSandboxSquareFilledSvg\n }));\n};\n\n/**![code-sandbox-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMwNy45IDUzNi43bDg3LjYgNDkuOVY2ODFsOTYuNyA1NS45VjUyNC44TDMwNy45IDQxOC40ek04ODAgMTEySDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NzM2YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDczNmMxNy43IDAgMzItMTQuMyAzMi0zMlYxNDRjMC0xNy43LTE0LjMtMzItMzItMzJ6TTc1NS43IDY1My4yTDUxMiA3OTQgMjY4LjMgNjUzLjJWMzcxLjhsMTEwLTYzLjYtLjQtLjJoLjJMNTEyIDIzMWwxMzQgNzdoLS4ybC0uMy4yIDExMC4xIDYzLjZ2MjgxLjR6bS0yMjMuOSA4My43bDk3LjMtNTYuMnYtOTQuMWw4Ny00OS41VjQxOC41TDUzMS44IDUyNXptLTIwLTM1Mkw0MTggMzMxbC05MS4xIDUyLjYgMTg1LjIgMTA3IDE4NS4yLTEwNi45LTkxLjQtNTIuOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodeSandboxSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodeSandboxSquareFilled';\n}\nexport default RefIcon;","import LinesAndColumns from \"lines-and-columns\";\n\n\nimport {formatTokenType} from \"../parser/tokenizer/types\";\n\nexport default function formatTokens(code, tokens) {\n if (tokens.length === 0) {\n return \"\";\n }\n\n const tokenKeys = Object.keys(tokens[0]).filter(\n (k) => k !== \"type\" && k !== \"value\" && k !== \"start\" && k !== \"end\" && k !== \"loc\",\n );\n const typeKeys = Object.keys(tokens[0].type).filter((k) => k !== \"label\" && k !== \"keyword\");\n\n const headings = [\"Location\", \"Label\", \"Raw\", ...tokenKeys, ...typeKeys];\n\n const lines = new LinesAndColumns(code);\n const rows = [headings, ...tokens.map(getTokenComponents)];\n const padding = headings.map(() => 0);\n for (const components of rows) {\n for (let i = 0; i < components.length; i++) {\n padding[i] = Math.max(padding[i], components[i].length);\n }\n }\n return rows\n .map((components) => components.map((component, i) => component.padEnd(padding[i])).join(\" \"))\n .join(\"\\n\");\n\n function getTokenComponents(token) {\n const raw = code.slice(token.start, token.end);\n return [\n formatRange(token.start, token.end),\n formatTokenType(token.type),\n truncate(String(raw), 14),\n // @ts-ignore: Intentional dynamic access by key.\n ...tokenKeys.map((key) => formatValue(token[key], key)),\n // @ts-ignore: Intentional dynamic access by key.\n ...typeKeys.map((key) => formatValue(token.type[key], key)),\n ];\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function formatValue(value, key) {\n if (value === true) {\n return key;\n } else if (value === false || value === null) {\n return \"\";\n } else {\n return String(value);\n }\n }\n\n function formatRange(start, end) {\n return `${formatPos(start)}-${formatPos(end)}`;\n }\n\n function formatPos(pos) {\n const location = lines.locationForIndex(pos);\n if (!location) {\n return \"Unknown\";\n } else {\n return `${location.line + 1}:${location.column + 1}`;\n }\n }\n}\n\nfunction truncate(s, length) {\n if (s.length > length) {\n return `${s.slice(0, length - 3)}...`;\n } else {\n return s;\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodeSandboxOutlinedSvg from \"@ant-design/icons-svg/es/asn/CodeSandboxOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodeSandboxOutlined = function CodeSandboxOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodeSandboxOutlinedSvg\n }));\n};\n\n/**![code-sandbox](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcwOS42IDIxMGwuNC0uMmguMkw1MTIgOTYgMzEzLjkgMjA5LjhoLS4ybC43LjNMMTUxLjUgMzA0djQxNkw1MTIgOTI4bDM2MC41LTIwOFYzMDRsLTE2Mi45LTk0ek00ODIuNyA4NDMuNkwzMzkuNiA3NjFWNjIxLjRMMjEwIDU0Ny44VjM3Mi45bDI3Mi43IDE1Ny4zdjMxMy40ek0yMzguMiAzMjEuNWwxMzQuNy03Ny44IDEzOC45IDc5LjcgMTM5LjEtNzkuOSAxMzUuMiA3OC0yNzMuOSAxNTgtMjc0LTE1OHpNODE0IDU0OC4zbC0xMjguOCA3My4xdjEzOS4xbC0xNDMuOSA4M1Y1MzAuNEw4MTQgMzczLjF2MTc1LjJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodeSandboxOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodeSandboxOutlined';\n}\nexport default RefIcon;","import Tour from \"./Tour\";\nexport default Tour;","import * as React from 'react';\nexport default function usePickerRef(ref) {\n var selectorRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n var _selectorRef$current;\n return {\n nativeElement: (_selectorRef$current = selectorRef.current) === null || _selectorRef$current === void 0 ? void 0 : _selectorRef$current.nativeElement,\n focus: function focus(options) {\n var _selectorRef$current2;\n (_selectorRef$current2 = selectorRef.current) === null || _selectorRef$current2 === void 0 || _selectorRef$current2.focus(options);\n },\n blur: function blur() {\n var _selectorRef$current3;\n (_selectorRef$current3 = selectorRef.current) === null || _selectorRef$current3 === void 0 || _selectorRef$current3.blur();\n }\n };\n });\n return selectorRef;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SaveOutlinedSvg from \"@ant-design/icons-svg/es/asn/SaveOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SaveOutlined = function SaveOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SaveOutlinedSvg\n }));\n};\n\n/**![save](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg5My4zIDI5My4zTDczMC43IDEzMC43Yy03LjUtNy41LTE2LjctMTMtMjYuNy0xNlYxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjMzOC41YzAtMTctNi43LTMzLjItMTguNy00NS4yek0zODQgMTg0aDI1NnYxMDRIMzg0VjE4NHptNDU2IDY1NkgxODRWMTg0aDEzNnYxMzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoMzIwYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIwNS44bDEzNiAxMzZWODQwek01MTIgNDQyYy03OS41IDAtMTQ0IDY0LjUtMTQ0IDE0NHM2NC41IDE0NCAxNDQgMTQ0IDE0NC02NC41IDE0NC0xNDQtNjQuNS0xNDQtMTQ0LTE0NHptMCAyMjRjLTQ0LjIgMC04MC0zNS44LTgwLTgwczM1LjgtODAgODAtODAgODAgMzUuOCA4MCA4MC0zNS44IDgwLTgwIDgweiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SaveOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SaveOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport VerticalLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/VerticalLeftOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar VerticalLeftOutlined = function VerticalLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: VerticalLeftOutlinedSvg\n }));\n};\n\n/**![vertical-left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2MiAxNjRoLTY0Yy00LjQgMC04IDMuNi04IDh2Njg4YzAgNC40IDMuNiA4IDggOGg2NGM0LjQgMCA4LTMuNiA4LThWMTcyYzAtNC40LTMuNi04LTgtOHptLTUwOCAwdjcyLjRjMCA5LjUgNC4yIDE4LjQgMTEuNCAyNC41TDU2NC42IDUxMiAyNjUuNCA3NjMuMWMtNy4yIDYuMS0xMS40IDE1LTExLjQgMjQuNVY4NjBjMCA2LjggNy45IDEwLjUgMTMuMSA2LjFMNjg5IDUxMiAyNjcuMSAxNTcuOUE3Ljk1IDcuOTUgMCAwMDI1NCAxNjR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(VerticalLeftOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'VerticalLeftOutlined';\n}\nexport default RefIcon;","const UNDEFINED_CODE_POINTS = new Set([\n 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214,\n 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894,\n 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574,\n 1048575, 1114110, 1114111,\n]);\nexport const REPLACEMENT_CHARACTER = '\\uFFFD';\nexport var CODE_POINTS;\n(function (CODE_POINTS) {\n CODE_POINTS[CODE_POINTS[\"EOF\"] = -1] = \"EOF\";\n CODE_POINTS[CODE_POINTS[\"NULL\"] = 0] = \"NULL\";\n CODE_POINTS[CODE_POINTS[\"TABULATION\"] = 9] = \"TABULATION\";\n CODE_POINTS[CODE_POINTS[\"CARRIAGE_RETURN\"] = 13] = \"CARRIAGE_RETURN\";\n CODE_POINTS[CODE_POINTS[\"LINE_FEED\"] = 10] = \"LINE_FEED\";\n CODE_POINTS[CODE_POINTS[\"FORM_FEED\"] = 12] = \"FORM_FEED\";\n CODE_POINTS[CODE_POINTS[\"SPACE\"] = 32] = \"SPACE\";\n CODE_POINTS[CODE_POINTS[\"EXCLAMATION_MARK\"] = 33] = \"EXCLAMATION_MARK\";\n CODE_POINTS[CODE_POINTS[\"QUOTATION_MARK\"] = 34] = \"QUOTATION_MARK\";\n CODE_POINTS[CODE_POINTS[\"AMPERSAND\"] = 38] = \"AMPERSAND\";\n CODE_POINTS[CODE_POINTS[\"APOSTROPHE\"] = 39] = \"APOSTROPHE\";\n CODE_POINTS[CODE_POINTS[\"HYPHEN_MINUS\"] = 45] = \"HYPHEN_MINUS\";\n CODE_POINTS[CODE_POINTS[\"SOLIDUS\"] = 47] = \"SOLIDUS\";\n CODE_POINTS[CODE_POINTS[\"DIGIT_0\"] = 48] = \"DIGIT_0\";\n CODE_POINTS[CODE_POINTS[\"DIGIT_9\"] = 57] = \"DIGIT_9\";\n CODE_POINTS[CODE_POINTS[\"SEMICOLON\"] = 59] = \"SEMICOLON\";\n CODE_POINTS[CODE_POINTS[\"LESS_THAN_SIGN\"] = 60] = \"LESS_THAN_SIGN\";\n CODE_POINTS[CODE_POINTS[\"EQUALS_SIGN\"] = 61] = \"EQUALS_SIGN\";\n CODE_POINTS[CODE_POINTS[\"GREATER_THAN_SIGN\"] = 62] = \"GREATER_THAN_SIGN\";\n CODE_POINTS[CODE_POINTS[\"QUESTION_MARK\"] = 63] = \"QUESTION_MARK\";\n CODE_POINTS[CODE_POINTS[\"LATIN_CAPITAL_A\"] = 65] = \"LATIN_CAPITAL_A\";\n CODE_POINTS[CODE_POINTS[\"LATIN_CAPITAL_Z\"] = 90] = \"LATIN_CAPITAL_Z\";\n CODE_POINTS[CODE_POINTS[\"RIGHT_SQUARE_BRACKET\"] = 93] = \"RIGHT_SQUARE_BRACKET\";\n CODE_POINTS[CODE_POINTS[\"GRAVE_ACCENT\"] = 96] = \"GRAVE_ACCENT\";\n CODE_POINTS[CODE_POINTS[\"LATIN_SMALL_A\"] = 97] = \"LATIN_SMALL_A\";\n CODE_POINTS[CODE_POINTS[\"LATIN_SMALL_Z\"] = 122] = \"LATIN_SMALL_Z\";\n})(CODE_POINTS || (CODE_POINTS = {}));\nexport const SEQUENCES = {\n DASH_DASH: '--',\n CDATA_START: '[CDATA[',\n DOCTYPE: 'doctype',\n SCRIPT: 'script',\n PUBLIC: 'public',\n SYSTEM: 'system',\n};\n//Surrogates\nexport function isSurrogate(cp) {\n return cp >= 55296 && cp <= 57343;\n}\nexport function isSurrogatePair(cp) {\n return cp >= 56320 && cp <= 57343;\n}\nexport function getSurrogatePairCodePoint(cp1, cp2) {\n return (cp1 - 55296) * 1024 + 9216 + cp2;\n}\n//NOTE: excluding NULL and ASCII whitespace\nexport function isControlCodePoint(cp) {\n return ((cp !== 0x20 && cp !== 0x0a && cp !== 0x0d && cp !== 0x09 && cp !== 0x0c && cp >= 0x01 && cp <= 0x1f) ||\n (cp >= 0x7f && cp <= 0x9f));\n}\nexport function isUndefinedCodePoint(cp) {\n return (cp >= 64976 && cp <= 65007) || UNDEFINED_CODE_POINTS.has(cp);\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CarryOutOutlinedSvg from \"@ant-design/icons-svg/es/asn/CarryOutOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CarryOutOutlined = function CarryOutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CarryOutOutlinedSvg\n }));\n};\n\n/**![carry-out](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxODRINzEydi02NGMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NjRIMzg0di02NGMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NjRIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY2NjRjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIxNmMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDY1NkgxODRWMjU2aDEyOHY0OGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di00OGgyNTZ2NDhjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNDhoMTI4djU4NHpNNjg4IDQyMGgtNTUuMmMtNS4xIDAtMTAgMi41LTEzIDYuNkw0NjguOSA2MzQuNGwtNjQuNy04OWMtMy00LjEtNy44LTYuNi0xMy02LjZIMzM2Yy02LjUgMC0xMC4zIDcuNC02LjUgMTIuN2wxMjYuNCAxNzRhMTYuMSAxNi4xIDAgMDAyNiAwbDIxMi42LTI5Mi43YzMuOC01LjQgMC0xMi44LTYuNS0xMi44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CarryOutOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CarryOutOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FolderOpenFilledSvg from \"@ant-design/icons-svg/es/asn/FolderOpenFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FolderOpenFilled = function FolderOpenFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FolderOpenFilledSvg\n }));\n};\n\n/**![folder-open](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCA0NDRIODIwVjMzMC40YzAtMTcuNy0xNC4zLTMyLTMyLTMySDQ3M0wzNTUuNyAxODYuMmE4LjE1IDguMTUgMCAwMC01LjUtMi4ySDk2Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1OTJjMCAxNy43IDE0LjMgMzIgMzIgMzJoNjk4YzEzIDAgMjQuOC03LjkgMjkuNy0yMGwxMzQtMzMyYzEuNS0zLjggMi4zLTcuOSAyLjMtMTIgMC0xNy43LTE0LjMtMzItMzItMzJ6bS0xODAgMEgyMzhjLTEzIDAtMjQuOCA3LjktMjkuNyAyMEwxMzYgNjQzLjJWMjU2aDE4OC41bDExOS42IDExNC40SDc0OFY0NDR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FolderOpenFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FolderOpenFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"name\"];\nimport toChildrenArray from \"rc-util/es/Children/toArray\";\nimport isEqual from \"rc-util/es/isEqual\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport FieldContext, { HOOK_MARK } from \"./FieldContext\";\nimport ListContext from \"./ListContext\";\nimport { toArray } from \"./utils/typeUtil\";\nimport { validateRules } from \"./utils/validateUtil\";\nimport { containsNamePath, defaultGetValueFromEvent, getNamePath, getValue } from \"./utils/valueUtil\";\nvar EMPTY_ERRORS = [];\nfunction requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {\n if (typeof shouldUpdate === 'function') {\n return shouldUpdate(prev, next, 'source' in info ? {\n source: info.source\n } : {});\n }\n return prevValue !== nextValue;\n}\n\n// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style\n// We use Class instead of Hooks here since it will cost much code by using Hooks.\nvar Field = /*#__PURE__*/function (_React$Component) {\n _inherits(Field, _React$Component);\n var _super = _createSuper(Field);\n // ============================== Subscriptions ==============================\n function Field(props) {\n var _this;\n _classCallCheck(this, Field);\n _this = _super.call(this, props);\n\n // Register on init\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n resetCount: 0\n });\n _defineProperty(_assertThisInitialized(_this), \"cancelRegisterFunc\", null);\n _defineProperty(_assertThisInitialized(_this), \"mounted\", false);\n /**\n * Follow state should not management in State since it will async update by React.\n * This makes first render of form can not get correct state value.\n */\n _defineProperty(_assertThisInitialized(_this), \"touched\", false);\n /**\n * Mark when touched & validated. Currently only used for `dependencies`.\n * Note that we do not think field with `initialValue` is dirty\n * but this will be by `isFieldDirty` func.\n */\n _defineProperty(_assertThisInitialized(_this), \"dirty\", false);\n _defineProperty(_assertThisInitialized(_this), \"validatePromise\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"prevValidating\", void 0);\n _defineProperty(_assertThisInitialized(_this), \"errors\", EMPTY_ERRORS);\n _defineProperty(_assertThisInitialized(_this), \"warnings\", EMPTY_ERRORS);\n _defineProperty(_assertThisInitialized(_this), \"cancelRegister\", function () {\n var _this$props = _this.props,\n preserve = _this$props.preserve,\n isListField = _this$props.isListField,\n name = _this$props.name;\n if (_this.cancelRegisterFunc) {\n _this.cancelRegisterFunc(isListField, preserve, getNamePath(name));\n }\n _this.cancelRegisterFunc = null;\n });\n // ================================== Utils ==================================\n _defineProperty(_assertThisInitialized(_this), \"getNamePath\", function () {\n var _this$props2 = _this.props,\n name = _this$props2.name,\n fieldContext = _this$props2.fieldContext;\n var _fieldContext$prefixN = fieldContext.prefixName,\n prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;\n return name !== undefined ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];\n });\n _defineProperty(_assertThisInitialized(_this), \"getRules\", function () {\n var _this$props3 = _this.props,\n _this$props3$rules = _this$props3.rules,\n rules = _this$props3$rules === void 0 ? [] : _this$props3$rules,\n fieldContext = _this$props3.fieldContext;\n return rules.map(function (rule) {\n if (typeof rule === 'function') {\n return rule(fieldContext);\n }\n return rule;\n });\n });\n _defineProperty(_assertThisInitialized(_this), \"refresh\", function () {\n if (!_this.mounted) return;\n\n /**\n * Clean up current node.\n */\n _this.setState(function (_ref) {\n var resetCount = _ref.resetCount;\n return {\n resetCount: resetCount + 1\n };\n });\n });\n // Event should only trigger when meta changed\n _defineProperty(_assertThisInitialized(_this), \"metaCache\", null);\n _defineProperty(_assertThisInitialized(_this), \"triggerMetaEvent\", function (destroy) {\n var onMetaChange = _this.props.onMetaChange;\n if (onMetaChange) {\n var _meta = _objectSpread(_objectSpread({}, _this.getMeta()), {}, {\n destroy: destroy\n });\n if (!isEqual(_this.metaCache, _meta)) {\n onMetaChange(_meta);\n }\n _this.metaCache = _meta;\n } else {\n _this.metaCache = null;\n }\n });\n // ========================= Field Entity Interfaces =========================\n // Trigger by store update. Check if need update the component\n _defineProperty(_assertThisInitialized(_this), \"onStoreChange\", function (prevStore, namePathList, info) {\n var _this$props4 = _this.props,\n shouldUpdate = _this$props4.shouldUpdate,\n _this$props4$dependen = _this$props4.dependencies,\n dependencies = _this$props4$dependen === void 0 ? [] : _this$props4$dependen,\n onReset = _this$props4.onReset;\n var store = info.store;\n var namePath = _this.getNamePath();\n var prevValue = _this.getValue(prevStore);\n var curValue = _this.getValue(store);\n var namePathMatch = namePathList && containsNamePath(namePathList, namePath);\n\n // `setFieldsValue` is a quick access to update related status\n if (info.type === 'valueUpdate' && info.source === 'external' && !isEqual(prevValue, curValue)) {\n _this.touched = true;\n _this.dirty = true;\n _this.validatePromise = null;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n }\n switch (info.type) {\n case 'reset':\n if (!namePathList || namePathMatch) {\n // Clean up state\n _this.touched = false;\n _this.dirty = false;\n _this.validatePromise = undefined;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n onReset === null || onReset === void 0 || onReset();\n _this.refresh();\n return;\n }\n break;\n\n /**\n * In case field with `preserve = false` nest deps like:\n * - A = 1 => show B\n * - B = 1 => show C\n * - Reset A, need clean B, C\n */\n case 'remove':\n {\n if (shouldUpdate && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'setField':\n {\n var data = info.data;\n if (namePathMatch) {\n if ('touched' in data) {\n _this.touched = data.touched;\n }\n if ('validating' in data && !('originRCField' in data)) {\n _this.validatePromise = data.validating ? Promise.resolve([]) : null;\n }\n if ('errors' in data) {\n _this.errors = data.errors || EMPTY_ERRORS;\n }\n if ('warnings' in data) {\n _this.warnings = data.warnings || EMPTY_ERRORS;\n }\n _this.dirty = true;\n _this.triggerMetaEvent();\n _this.reRender();\n return;\n } else if ('value' in data && containsNamePath(namePathList, namePath, true)) {\n // Contains path with value should also check\n _this.reRender();\n return;\n }\n\n // Handle update by `setField` with `shouldUpdate`\n if (shouldUpdate && !namePath.length && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n case 'dependenciesUpdate':\n {\n /**\n * Trigger when marked `dependencies` updated. Related fields will all update\n */\n var dependencyList = dependencies.map(getNamePath);\n // No need for `namePathMath` check and `shouldUpdate` check, since `valueUpdate` will be\n // emitted earlier and they will work there\n // If set it may cause unnecessary twice rerendering\n if (dependencyList.some(function (dependency) {\n return containsNamePath(info.relatedFields, dependency);\n })) {\n _this.reRender();\n return;\n }\n break;\n }\n default:\n // 1. If `namePath` exists in `namePathList`, means it's related value and should update\n // For example \n // If `namePathList` is [['list']] (List value update), Field should be updated\n // If `namePathList` is [['list', 0]] (Field value update), List shouldn't be updated\n // 2.\n // 2.1 If `dependencies` is set, `name` is not set and `shouldUpdate` is not set,\n // don't use `shouldUpdate`. `dependencies` is view as a shortcut if `shouldUpdate`\n // is not provided\n // 2.2 If `shouldUpdate` provided, use customize logic to update the field\n // else to check if value changed\n if (namePathMatch || (!dependencies.length || namePath.length || shouldUpdate) && requireUpdate(shouldUpdate, prevStore, store, prevValue, curValue, info)) {\n _this.reRender();\n return;\n }\n break;\n }\n if (shouldUpdate === true) {\n _this.reRender();\n }\n });\n _defineProperty(_assertThisInitialized(_this), \"validateRules\", function (options) {\n // We should fixed namePath & value to avoid developer change then by form function\n var namePath = _this.getNamePath();\n var currentValue = _this.getValue();\n var _ref2 = options || {},\n triggerName = _ref2.triggerName,\n _ref2$validateOnly = _ref2.validateOnly,\n validateOnly = _ref2$validateOnly === void 0 ? false : _ref2$validateOnly;\n\n // Force change to async to avoid rule OOD under renderProps field\n var rootPromise = Promise.resolve().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n var _this$props5, _this$props5$validate, validateFirst, messageVariables, validateDebounce, filteredRules, promise;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (_this.mounted) {\n _context.next = 2;\n break;\n }\n return _context.abrupt(\"return\", []);\n case 2:\n _this$props5 = _this.props, _this$props5$validate = _this$props5.validateFirst, validateFirst = _this$props5$validate === void 0 ? false : _this$props5$validate, messageVariables = _this$props5.messageVariables, validateDebounce = _this$props5.validateDebounce; // Start validate\n filteredRules = _this.getRules();\n if (triggerName) {\n filteredRules = filteredRules.filter(function (rule) {\n return rule;\n }).filter(function (rule) {\n var validateTrigger = rule.validateTrigger;\n if (!validateTrigger) {\n return true;\n }\n var triggerList = toArray(validateTrigger);\n return triggerList.includes(triggerName);\n });\n }\n\n // Wait for debounce. Skip if no `triggerName` since its from `validateFields / submit`\n if (!(validateDebounce && triggerName)) {\n _context.next = 10;\n break;\n }\n _context.next = 8;\n return new Promise(function (resolve) {\n setTimeout(resolve, validateDebounce);\n });\n case 8:\n if (!(_this.validatePromise !== rootPromise)) {\n _context.next = 10;\n break;\n }\n return _context.abrupt(\"return\", []);\n case 10:\n promise = validateRules(namePath, currentValue, filteredRules, options, validateFirst, messageVariables);\n promise.catch(function (e) {\n return e;\n }).then(function () {\n var ruleErrors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : EMPTY_ERRORS;\n if (_this.validatePromise === rootPromise) {\n var _ruleErrors$forEach;\n _this.validatePromise = null;\n\n // Get errors & warnings\n var nextErrors = [];\n var nextWarnings = [];\n (_ruleErrors$forEach = ruleErrors.forEach) === null || _ruleErrors$forEach === void 0 || _ruleErrors$forEach.call(ruleErrors, function (_ref4) {\n var warningOnly = _ref4.rule.warningOnly,\n _ref4$errors = _ref4.errors,\n errors = _ref4$errors === void 0 ? EMPTY_ERRORS : _ref4$errors;\n if (warningOnly) {\n nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));\n } else {\n nextErrors.push.apply(nextErrors, _toConsumableArray(errors));\n }\n });\n _this.errors = nextErrors;\n _this.warnings = nextWarnings;\n _this.triggerMetaEvent();\n _this.reRender();\n }\n });\n return _context.abrupt(\"return\", promise);\n case 13:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n })));\n if (validateOnly) {\n return rootPromise;\n }\n _this.validatePromise = rootPromise;\n _this.dirty = true;\n _this.errors = EMPTY_ERRORS;\n _this.warnings = EMPTY_ERRORS;\n _this.triggerMetaEvent();\n\n // Force trigger re-render since we need sync renderProps with new meta\n _this.reRender();\n return rootPromise;\n });\n _defineProperty(_assertThisInitialized(_this), \"isFieldValidating\", function () {\n return !!_this.validatePromise;\n });\n _defineProperty(_assertThisInitialized(_this), \"isFieldTouched\", function () {\n return _this.touched;\n });\n _defineProperty(_assertThisInitialized(_this), \"isFieldDirty\", function () {\n // Touched or validate or has initialValue\n if (_this.dirty || _this.props.initialValue !== undefined) {\n return true;\n }\n\n // Form set initialValue\n var fieldContext = _this.props.fieldContext;\n var _fieldContext$getInte = fieldContext.getInternalHooks(HOOK_MARK),\n getInitialValue = _fieldContext$getInte.getInitialValue;\n if (getInitialValue(_this.getNamePath()) !== undefined) {\n return true;\n }\n return false;\n });\n _defineProperty(_assertThisInitialized(_this), \"getErrors\", function () {\n return _this.errors;\n });\n _defineProperty(_assertThisInitialized(_this), \"getWarnings\", function () {\n return _this.warnings;\n });\n _defineProperty(_assertThisInitialized(_this), \"isListField\", function () {\n return _this.props.isListField;\n });\n _defineProperty(_assertThisInitialized(_this), \"isList\", function () {\n return _this.props.isList;\n });\n _defineProperty(_assertThisInitialized(_this), \"isPreserve\", function () {\n return _this.props.preserve;\n });\n // ============================= Child Component =============================\n _defineProperty(_assertThisInitialized(_this), \"getMeta\", function () {\n // Make error & validating in cache to save perf\n _this.prevValidating = _this.isFieldValidating();\n var meta = {\n touched: _this.isFieldTouched(),\n validating: _this.prevValidating,\n errors: _this.errors,\n warnings: _this.warnings,\n name: _this.getNamePath(),\n validated: _this.validatePromise === null\n };\n return meta;\n });\n // Only return validate child node. If invalidate, will do nothing about field.\n _defineProperty(_assertThisInitialized(_this), \"getOnlyChild\", function (children) {\n // Support render props\n if (typeof children === 'function') {\n var _meta2 = _this.getMeta();\n return _objectSpread(_objectSpread({}, _this.getOnlyChild(children(_this.getControlled(), _meta2, _this.props.fieldContext))), {}, {\n isFunction: true\n });\n }\n\n // Filed element only\n var childList = toChildrenArray(children);\n if (childList.length !== 1 || ! /*#__PURE__*/React.isValidElement(childList[0])) {\n return {\n child: childList,\n isFunction: false\n };\n }\n return {\n child: childList[0],\n isFunction: false\n };\n });\n // ============================== Field Control ==============================\n _defineProperty(_assertThisInitialized(_this), \"getValue\", function (store) {\n var getFieldsValue = _this.props.fieldContext.getFieldsValue;\n var namePath = _this.getNamePath();\n return getValue(store || getFieldsValue(true), namePath);\n });\n _defineProperty(_assertThisInitialized(_this), \"getControlled\", function () {\n var childProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _this$props6 = _this.props,\n name = _this$props6.name,\n trigger = _this$props6.trigger,\n validateTrigger = _this$props6.validateTrigger,\n getValueFromEvent = _this$props6.getValueFromEvent,\n normalize = _this$props6.normalize,\n valuePropName = _this$props6.valuePropName,\n getValueProps = _this$props6.getValueProps,\n fieldContext = _this$props6.fieldContext;\n var mergedValidateTrigger = validateTrigger !== undefined ? validateTrigger : fieldContext.validateTrigger;\n var namePath = _this.getNamePath();\n var getInternalHooks = fieldContext.getInternalHooks,\n getFieldsValue = fieldContext.getFieldsValue;\n var _getInternalHooks = getInternalHooks(HOOK_MARK),\n dispatch = _getInternalHooks.dispatch;\n var value = _this.getValue();\n var mergedGetValueProps = getValueProps || function (val) {\n return _defineProperty({}, valuePropName, val);\n };\n var originTriggerFunc = childProps[trigger];\n var valueProps = name !== undefined ? mergedGetValueProps(value) : {};\n\n // warning when prop value is function\n if (process.env.NODE_ENV !== 'production' && valueProps) {\n Object.keys(valueProps).forEach(function (key) {\n warning(typeof valueProps[key] !== 'function', \"It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: \".concat(key, \")\"));\n });\n }\n var control = _objectSpread(_objectSpread({}, childProps), valueProps);\n\n // Add trigger\n control[trigger] = function () {\n // Mark as touched\n _this.touched = true;\n _this.dirty = true;\n _this.triggerMetaEvent();\n var newValue;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (getValueFromEvent) {\n newValue = getValueFromEvent.apply(void 0, args);\n } else {\n newValue = defaultGetValueFromEvent.apply(void 0, [valuePropName].concat(args));\n }\n if (normalize) {\n newValue = normalize(newValue, value, getFieldsValue(true));\n }\n if (newValue !== value) {\n dispatch({\n type: 'updateValue',\n namePath: namePath,\n value: newValue\n });\n }\n if (originTriggerFunc) {\n originTriggerFunc.apply(void 0, args);\n }\n };\n\n // Add validateTrigger\n var validateTriggerList = toArray(mergedValidateTrigger || []);\n validateTriggerList.forEach(function (triggerName) {\n // Wrap additional function of component, so that we can get latest value from store\n var originTrigger = control[triggerName];\n control[triggerName] = function () {\n if (originTrigger) {\n originTrigger.apply(void 0, arguments);\n }\n\n // Always use latest rules\n var rules = _this.props.rules;\n if (rules && rules.length) {\n // We dispatch validate to root,\n // since it will update related data with other field with same name\n dispatch({\n type: 'validateField',\n namePath: namePath,\n triggerName: triggerName\n });\n }\n };\n });\n return control;\n });\n if (props.fieldContext) {\n var getInternalHooks = props.fieldContext.getInternalHooks;\n var _getInternalHooks2 = getInternalHooks(HOOK_MARK),\n initEntityValue = _getInternalHooks2.initEntityValue;\n initEntityValue(_assertThisInitialized(_this));\n }\n return _this;\n }\n _createClass(Field, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props7 = this.props,\n shouldUpdate = _this$props7.shouldUpdate,\n fieldContext = _this$props7.fieldContext;\n this.mounted = true;\n\n // Register on init\n if (fieldContext) {\n var getInternalHooks = fieldContext.getInternalHooks;\n var _getInternalHooks3 = getInternalHooks(HOOK_MARK),\n registerField = _getInternalHooks3.registerField;\n this.cancelRegisterFunc = registerField(this);\n }\n\n // One more render for component in case fields not ready\n if (shouldUpdate === true) {\n this.reRender();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.cancelRegister();\n this.triggerMetaEvent(true);\n this.mounted = false;\n }\n }, {\n key: \"reRender\",\n value: function reRender() {\n if (!this.mounted) return;\n this.forceUpdate();\n }\n }, {\n key: \"render\",\n value: function render() {\n var resetCount = this.state.resetCount;\n var children = this.props.children;\n var _this$getOnlyChild = this.getOnlyChild(children),\n child = _this$getOnlyChild.child,\n isFunction = _this$getOnlyChild.isFunction;\n\n // Not need to `cloneElement` since user can handle this in render function self\n var returnChildNode;\n if (isFunction) {\n returnChildNode = child;\n } else if ( /*#__PURE__*/React.isValidElement(child)) {\n returnChildNode = /*#__PURE__*/React.cloneElement(child, this.getControlled(child.props));\n } else {\n warning(!child, '`children` of Field is not validate ReactElement.');\n returnChildNode = child;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: resetCount\n }, returnChildNode);\n }\n }]);\n return Field;\n}(React.Component);\n_defineProperty(Field, \"contextType\", FieldContext);\n_defineProperty(Field, \"defaultProps\", {\n trigger: 'onChange',\n valuePropName: 'value'\n});\nfunction WrapperField(_ref6) {\n var _restProps$isListFiel;\n var name = _ref6.name,\n restProps = _objectWithoutProperties(_ref6, _excluded);\n var fieldContext = React.useContext(FieldContext);\n var listContext = React.useContext(ListContext);\n var namePath = name !== undefined ? getNamePath(name) : undefined;\n var isMergedListField = (_restProps$isListFiel = restProps.isListField) !== null && _restProps$isListFiel !== void 0 ? _restProps$isListFiel : !!listContext;\n var key = 'keep';\n if (!isMergedListField) {\n key = \"_\".concat((namePath || []).join('_'));\n }\n\n // Warning if it's a directly list field.\n // We can still support multiple level field preserve.\n if (process.env.NODE_ENV !== 'production' && restProps.preserve === false && isMergedListField && namePath.length <= 1) {\n warning(false, '`preserve` should not apply on Form.List fields.');\n }\n return /*#__PURE__*/React.createElement(Field, _extends({\n key: key,\n name: namePath,\n isListField: isMergedListField\n }, restProps, {\n fieldContext: fieldContext\n }));\n}\nexport default WrapperField;","/**\n * `hast` is close to `React`, but differs in a couple of cases.\n *\n * To get a React property from a hast property, check if it is in\n * `hastToReact`, if it is, then use the corresponding value,\n * otherwise, use the hast property.\n *\n * @type {Record}\n */\nexport const hastToReact = {\n classId: 'classID',\n dataType: 'datatype',\n itemId: 'itemID',\n strokeDashArray: 'strokeDasharray',\n strokeDashOffset: 'strokeDashoffset',\n strokeLineCap: 'strokeLinecap',\n strokeLineJoin: 'strokeLinejoin',\n strokeMiterLimit: 'strokeMiterlimit',\n typeOf: 'typeof',\n xLinkActuate: 'xlinkActuate',\n xLinkArcRole: 'xlinkArcrole',\n xLinkHref: 'xlinkHref',\n xLinkRole: 'xlinkRole',\n xLinkShow: 'xlinkShow',\n xLinkTitle: 'xlinkTitle',\n xLinkType: 'xlinkType',\n xmlnsXLink: 'xmlnsXlink'\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AudioOutlinedSvg from \"@ant-design/icons-svg/es/asn/AudioOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AudioOutlined = function AudioOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AudioOutlinedSvg\n }));\n};\n\n/**![audio](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg0MiA0NTRjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4IDAgMTQwLjMtMTEzLjcgMjU0LTI1NCAyNTRTMjU4IDU5NC4zIDI1OCA0NTRjMC00LjQtMy42LTgtOC04aC02MGMtNC40IDAtOCAzLjYtOCA4IDAgMTY4LjcgMTI2LjYgMzA3LjkgMjkwIDMyNy42Vjg4NEgzMjYuN2MtMTMuNyAwLTI0LjcgMTQuMy0yNC43IDMydjM2YzAgNC40IDIuOCA4IDYuMiA4aDQwNy42YzMuNCAwIDYuMi0zLjYgNi4yLTh2LTM2YzAtMTcuNy0xMS0zMi0yNC43LTMySDU0OFY3ODIuMWMxNjUuMy0xOCAyOTQtMTU4IDI5NC0zMjguMXpNNTEyIDYyNGM5My45IDAgMTcwLTc1LjIgMTcwLTE2OFYyMzJjMC05Mi44LTc2LjEtMTY4LTE3MC0xNjhzLTE3MCA3NS4yLTE3MCAxNjh2MjI0YzAgOTIuOCA3Ni4xIDE2OCAxNzAgMTY4em0tOTQtMzkyYzAtNTAuNiA0MS45LTkyIDk0LTkyczk0IDQxLjQgOTQgOTJ2MjI0YzAgNTAuNi00MS45IDkyLTk0IDkycy05NC00MS40LTk0LTkyVjIzMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AudioOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AudioOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BellTwoToneSvg from \"@ant-design/icons-svg/es/asn/BellTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BellTwoTone = function BellTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BellTwoToneSvg\n }));\n};\n\n/**![bell](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY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DcyMCA0Mjh2MzQweiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BellTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BellTwoTone';\n}\nexport default RefIcon;","import rules from \"../rule\";\nimport { isEmptyValue } from \"../util\";\nvar method = function method(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n rules.required(rule, value, source, errors, options);\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n callback(errors);\n};\nexport default method;","/**\n * BaseSelect provide some parsed data into context.\n * You can use this hooks to get them.\n */\n\nimport * as React from 'react';\nexport var BaseSelectContext = /*#__PURE__*/React.createContext(null);\nexport default function useBaseProps() {\n return React.useContext(BaseSelectContext);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RadiusSettingOutlinedSvg from \"@ant-design/icons-svg/es/asn/RadiusSettingOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RadiusSettingOutlined = function RadiusSettingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RadiusSettingOutlinedSvg\n }));\n};\n\n/**![radius-setting](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM5NiAxNDBoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtNTZ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Ny4zIDAgMTU4IDcwLjcgMTU4IDE1OHYxNzB6TTIzNiA5Nkg5MmMtNC40IDAtOCAzLjYtOCA4djE0NGMwIDQuNCAzLjYgOCA4IDhoMTQ0YzQuNCAwIDgtMy42IDgtOFYxMDRjMC00LjQtMy42LTgtOC04em0tNDggMTAxLjZjMCAxLjMtMS4xIDIuNC0yLjQgMi40aC00My4yYy0xLjMgMC0yLjQtMS4xLTIuNC0yLjR2LTQzLjJjMC0xLjMgMS4xLTIuNCAyLjQtMi40aDQzLjJjMS4zIDAgMi40IDEuMSAyLjQgMi40djQzLjJ6TTkyMCA3ODBINzc2Yy00LjQgMC04IDMuNi04IDh2MTQ0YzAgNC40IDMuNiA4IDggOGgxNDRjNC40IDAgOC0zLjYgOC04Vjc4OGMwLTQuNC0zLjYtOC04LTh6bS00OCAxMDEuNmMwIDEuMy0xLjEgMi40LTIuNCAyLjRoLTQzLjJjLTEuMyAwLTIuNC0xLjEtMi40LTIuNHYtNDMuMmMwLTEuMyAxLjEtMi40IDIuNC0yLjRoNDMuMmMxLjMgMCAyLjQgMS4xIDIuNCAyLjR2NDMuMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RadiusSettingOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RadiusSettingOutlined';\n}\nexport default RefIcon;","import { format, isEmptyValue } from \"../util\";\nvar required = function required(rule, value, source, errors, options, type) {\n if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {\n errors.push(format(options.messages.required, rule.fullField));\n }\n};\nexport default required;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CodepenCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CodepenCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CodepenCircleOutlined = function CodepenCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CodepenCircleOutlinedSvg\n }));\n};\n\n/**![codepen-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4OC4xIDQxNC43VjMwMy40TDMwMC45IDQyOGw4My42IDU1Ljh6bTI1NC4xIDEzNy43di03OS44bC01OS44IDM5Ljl6TTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0yNzggNTMzYzAgMS4xLS4xIDIuMS0uMiAzLjEgMCAuNC0uMS43LS4yIDFhMTQuMTYgMTQuMTYgMCAwMS0uOCAzLjJjLS4yLjYtLjQgMS4yLS42IDEuNy0uMi40LS40LjgtLjUgMS4yLS4zLjUtLjUgMS4xLS44IDEuNi0uMi40LS40LjctLjcgMS4xLS4zLjUtLjcgMS0xIDEuNS0uMy40LS41LjctLjggMS0uNC40LS44LjktMS4yIDEuMy0uMy4zLS42LjYtMSAuOS0uNC40LS45LjgtMS40IDEuMS0uNC4zLS43LjYtMS4xLjgtLjEuMS0uMy4yLS40LjNMNTI1LjIgNzg2Yy00IDIuNy04LjYgNC0xMy4yIDQtNC43IDAtOS4zLTEuNC0xMy4zLTRMMjQ0LjYgNjE2LjljLS4xLS4xLS4zLS4yLS40LS4zbC0xLjEtLjhjLS41LS40LS45LS43LTEuMy0xLjEtLjMtLjMtLjYtLjYtMS0uOS0uNC0uNC0uOC0uOC0xLjItMS4zYTcgNyAwIDAxLS44LTFjLS40LS41LS43LTEtMS0xLjUtLjItLjQtLjUtLjctLjctMS4xLS4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jwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CodepenCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CodepenCircleOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SearchOutlinedSvg from \"@ant-design/icons-svg/es/asn/SearchOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SearchOutlined = function SearchOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SearchOutlinedSvg\n }));\n};\n\n/**![search](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkwOS42IDg1NC41TDY0OS45IDU5NC44QzY5MC4yIDU0Mi43IDcxMiA0NzkgNzEyIDQxMmMwLTgwLjItMzEuMy0xNTUuNC04Ny45LTIxMi4xLTU2LjYtNTYuNy0xMzItODcuOS0yMTIuMS04Ny45cy0xNTUuNSAzMS4zLTIxMi4xIDg3LjlDMTQzLjIgMjU2LjUgMTEyIDMzMS44IDExMiA0MTJjMCA4MC4xIDMxLjMgMTU1LjUgODcuOSAyMTIuMUMyNTYuNSA2ODAuOCAzMzEuOCA3MTIgNDEyIDcxMmM2NyAwIDEzMC42LTIxLjggMTgyLjctNjJsMjU5LjcgMjU5LjZhOC4yIDguMiAwIDAwMTEuNiAwbDQzLjYtNDMuNWE4LjIgOC4yIDAgMDAwLTExLjZ6TTU3MC40IDU3MC40QzUyOCA2MTIuNyA0NzEuOCA2MzYgNDEyIDYzNnMtMTE2LTIzLjMtMTU4LjQtNjUuNkMyMTEuMyA1MjggMTg4IDQ3MS44IDE4OCA0MTJzMjMuMy0xMTYuMSA2NS42LTE1OC40QzI5NiAyMTEuMyAzNTIuMiAxODggNDEyIDE4OHMxMTYuMSAyMy4yIDE1OC40IDY1LjZTNjM2IDM1Mi4yIDYzNiA0MTJzLTIzLjMgMTE2LjEtNjUuNiAxNTguNHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SearchOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SearchOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ToolOutlinedSvg from \"@ant-design/icons-svg/es/asn/ToolOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ToolOutlined = function ToolOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ToolOutlinedSvg\n }));\n};\n\n/**![tool](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3Ni42IDIzOS41Yy0uNS0uOS0xLjItMS44LTItMi41LTUtNS0xMy4xLTUtMTguMSAwTDY4NC4yIDQwOS4zbC02Ny45LTY3LjlMNzg4LjcgMTY5Yy44LS44IDEuNC0xLjYgMi0yLjUgMy42LTYuMSAxLjYtMTMuOS00LjUtMTcuNS05OC4yLTU4LTIyNi44LTQ0LjctMzExLjMgMzkuNy02NyA2Ny04OS4yIDE2Mi02Ni41IDI0Ny40bC0yOTMgMjkzYy0zIDMtMi44IDcuOS4zIDExbDE2OS43IDE2OS43YzMuMSAzLjEgOC4xIDMuMyAxMSAuM2wyOTIuOS0yOTIuOWM4NS41IDIyLjggMTgwLjUuNyAyNDcuNi02Ni40IDg0LjQtODQuNSA5Ny43LTIxMy4xIDM5LjctMzExLjN6TTc4NiA0OTkuOGMtNTguMSA1OC4xLTE0NS4zIDY5LjMtMjE0LjYgMzMuNmwtOC44IDguOC0uMS0uMS0yNzQgMjc0LjEtNzkuMi03OS4yIDIzMC4xLTIzMC4xczAgLjEuMS4xbDUyLjgtNTIuOGMtMzUuNy02OS4zLTI0LjUtMTU2LjUgMzMuNi0yMTQuNmExODQuMiAxODQuMiAwIDAxMTQ0LTUzLjVMNTM3IDMxOC45YTMyLjA1IDMyLjA1IDAgMDAwIDQ1LjNsMTI0LjUgMTI0LjVhMzIuMDUgMzIuMDUgMCAwMDQ1LjMgMGwxMzIuOC0xMzIuOGMzLjcgNTEuOC0xNC40IDEwNC44LTUzLjYgMTQzLjl6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ToolOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ToolOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\nexport default function DropIndicator(_ref) {\n var dropPosition = _ref.dropPosition,\n dropLevelOffset = _ref.dropLevelOffset,\n indent = _ref.indent;\n var style = {\n pointerEvents: 'none',\n position: 'absolute',\n right: 0,\n backgroundColor: 'red',\n height: 2\n };\n switch (dropPosition) {\n case -1:\n style.top = 0;\n style.left = -dropLevelOffset * indent;\n break;\n case 1:\n style.bottom = 0;\n style.left = -dropLevelOffset * indent;\n break;\n case 0:\n style.bottom = 0;\n style.left = indent;\n break;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n style: style\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DribbbleOutlinedSvg from \"@ant-design/icons-svg/es/asn/DribbbleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DribbbleOutlined = function DribbbleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DribbbleOutlinedSvg\n }));\n};\n\n/**![dribbble](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA5NkMyODIuNiA5NiA5NiAyODIuNiA5NiA1MTJzMTg2LjYgNDE2IDQxNiA0MTYgNDE2LTE4Ni42IDQxNi00MTZTNzQxLjQgOTYgNTEyIDk2em0yNzUuMSAxOTEuOGM0OS41IDYwLjUgNzkuNSAxMzcuNSA4MC4yIDIyMS40LTExLjctMi41LTEyOS4yLTI2LjMtMjQ3LjQtMTEuNC0yLjUtNi4xLTUtMTIuMi03LjYtMTguMy03LjQtMTcuMy0xNS4zLTM0LjYtMjMuNi01MS41QzcyMCAzNzQuMyA3NzkuNiAyOTggNzg3LjEgMjg3Ljh6TTUxMiAxNTcuMmM5MC4zIDAgMTcyLjggMzMuOSAyMzUuNSA4OS41LTYuNCA5LjEtNTkuOSA4MS0xODYuMiAxMjguNC01OC4yLTEwNy0xMjIuNy0xOTQuOC0xMzIuNi0yMDggMjcuMy02LjYgNTUuMi05LjkgODMuMy05Ljl6TTM2MC45IDE5MWM5LjQgMTIuOCA3Mi45IDEwMC45IDEzMS43IDIwNS41QzMyNi40IDQ0MC42IDE4MCA0NDAgMTY0LjEgNDM5LjhjMjMuMS0xMTAuMyA5Ny40LTIwMS45IDE5Ni44LTI0OC44ek0xNTYuNyA1MTIuNWMwLTMuNi4xLTcuMy4yLTEwLjkgMTUuNS4zIDE4Ny43IDIuNSAzNjUuMi01MC42IDEwLjIgMTkuOSAxOS45IDQwLjEgMjguOCA2MC4zLTQuNyAxLjMtOS40IDIuNy0xNCA0LjJDMzUzLjYgNTc0LjkgMjU2LjEgNzM2LjQgMjQ4IDc1MC4xYy01Ni43LTYzLTkxLjMtMTQ2LjMtOTEuMy0yMzcuNnpNNTEyIDg2Ny44Yy04Mi4yIDAtMTU3LjktMjgtMjE4LjEtNzUgNi40LTEzLjEgNzguMy0xNTIgMjc4LjctMjIxLjlsMi4zLS44YzQ5LjkgMTI5LjYgNzAuNSAyMzguMyA3NS44IDI2OS41QTM1MC40NiAzNTAuNDYgMCAwMTUxMiA4NjcuOHptMTk4LjUtNjAuN2MtMy42LTIxLjYtMjIuNS0xMjUuNi02OS0yNTMuM0M3NTIuOSA1MzYgODUwLjcgNTY1LjIgODYyLjggNTY5Yy0xNS44IDk4LjgtNzIuNSAxODQuMi0xNTIuMyAyMzguMXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DribbbleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DribbbleOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SisternodeOutlinedSvg from \"@ant-design/icons-svg/es/asn/SisternodeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SisternodeOutlined = function SisternodeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SisternodeOutlinedSvg\n }));\n};\n\n/**![sisternode](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik02NzIgNDMyYy0xMjAuMyAwLTIxOS45IDg4LjUtMjM3LjMgMjA0SDMyMGMtMTUuNSAwLTI4LTEyLjUtMjgtMjhWMjQ0aDI5MWMxNC4yIDM1LjIgNDguNyA2MCA4OSA2MCA1MyAwIDk2LTQzIDk2LTk2cy00My05Ni05Ni05NmMtNDAuMyAwLTc0LjggMjQuOC04OSA2MEgxMTJ2NzJoMTA4djM2NGMwIDU1LjIgNDQuOCAxMDAgMTAwIDEwMGgxMTQuN2MxNy40IDExNS41IDExNyAyMDQgMjM3LjMgMjA0IDEzMi41IDAgMjQwLTEwNy41IDI0MC0yNDBTODA0LjUgNDMyIDY3MiA0MzJ6bTEyOCAyNjZjMCA0LjQtMy42IDgtOCA4aC04NnY4NmMwIDQuNC0zLjYgOC04IDhoLTUyYy00LjQgMC04LTMuNi04LTh2LTg2aC04NmMtNC40IDAtOC0zLjYtOC04di01MmMwLTQuNCAzLjYtOCA4LThoODZ2LTg2YzAtNC40IDMuNi04IDgtOGg1MmM0LjQgMCA4IDMuNiA4IDh2ODZoODZjNC40IDAgOCAzLjYgOCA4djUyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SisternodeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SisternodeOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\nexport function Item(_ref) {\n var children = _ref.children,\n setRef = _ref.setRef;\n var refFunc = React.useCallback(function (node) {\n setRef(node);\n }, []);\n return /*#__PURE__*/React.cloneElement(children, {\n ref: refFunc\n });\n}","// Generated file, do not edit! Run \"yarn generate\" to re-generate this file.\n/* istanbul ignore file */\n/**\n * Enum of all token types, with bit fields to signify meaningful properties.\n */\nexport var TokenType; (function (TokenType) {\n // Precedence 0 means not an operator; otherwise it is a positive number up to 12.\n const PRECEDENCE_MASK = 0xf; TokenType[TokenType[\"PRECEDENCE_MASK\"] = PRECEDENCE_MASK] = \"PRECEDENCE_MASK\";\n const IS_KEYWORD = 1 << 4; TokenType[TokenType[\"IS_KEYWORD\"] = IS_KEYWORD] = \"IS_KEYWORD\";\n const IS_ASSIGN = 1 << 5; TokenType[TokenType[\"IS_ASSIGN\"] = IS_ASSIGN] = \"IS_ASSIGN\";\n const IS_RIGHT_ASSOCIATIVE = 1 << 6; TokenType[TokenType[\"IS_RIGHT_ASSOCIATIVE\"] = IS_RIGHT_ASSOCIATIVE] = \"IS_RIGHT_ASSOCIATIVE\";\n const IS_PREFIX = 1 << 7; TokenType[TokenType[\"IS_PREFIX\"] = IS_PREFIX] = \"IS_PREFIX\";\n const IS_POSTFIX = 1 << 8; TokenType[TokenType[\"IS_POSTFIX\"] = IS_POSTFIX] = \"IS_POSTFIX\";\n const IS_EXPRESSION_START = 1 << 9; TokenType[TokenType[\"IS_EXPRESSION_START\"] = IS_EXPRESSION_START] = \"IS_EXPRESSION_START\";\n\n const num = 512; TokenType[TokenType[\"num\"] = num] = \"num\"; // num startsExpr\n const bigint = 1536; TokenType[TokenType[\"bigint\"] = bigint] = \"bigint\"; // bigint startsExpr\n const decimal = 2560; TokenType[TokenType[\"decimal\"] = decimal] = \"decimal\"; // decimal startsExpr\n const regexp = 3584; TokenType[TokenType[\"regexp\"] = regexp] = \"regexp\"; // regexp startsExpr\n const string = 4608; TokenType[TokenType[\"string\"] = string] = \"string\"; // string startsExpr\n const name = 5632; TokenType[TokenType[\"name\"] = name] = \"name\"; // name startsExpr\n const eof = 6144; TokenType[TokenType[\"eof\"] = eof] = \"eof\"; // eof\n const bracketL = 7680; TokenType[TokenType[\"bracketL\"] = bracketL] = \"bracketL\"; // [ startsExpr\n const bracketR = 8192; TokenType[TokenType[\"bracketR\"] = bracketR] = \"bracketR\"; // ]\n const braceL = 9728; TokenType[TokenType[\"braceL\"] = braceL] = \"braceL\"; // { startsExpr\n const braceBarL = 10752; TokenType[TokenType[\"braceBarL\"] = braceBarL] = \"braceBarL\"; // {| startsExpr\n const braceR = 11264; TokenType[TokenType[\"braceR\"] = braceR] = \"braceR\"; // }\n const braceBarR = 12288; TokenType[TokenType[\"braceBarR\"] = braceBarR] = \"braceBarR\"; // |}\n const parenL = 13824; TokenType[TokenType[\"parenL\"] = parenL] = \"parenL\"; // ( startsExpr\n const parenR = 14336; TokenType[TokenType[\"parenR\"] = parenR] = \"parenR\"; // )\n const comma = 15360; TokenType[TokenType[\"comma\"] = comma] = \"comma\"; // ,\n const semi = 16384; TokenType[TokenType[\"semi\"] = semi] = \"semi\"; // ;\n const colon = 17408; TokenType[TokenType[\"colon\"] = colon] = \"colon\"; // :\n const doubleColon = 18432; TokenType[TokenType[\"doubleColon\"] = doubleColon] = \"doubleColon\"; // ::\n const dot = 19456; TokenType[TokenType[\"dot\"] = dot] = \"dot\"; // .\n const question = 20480; TokenType[TokenType[\"question\"] = question] = \"question\"; // ?\n const questionDot = 21504; TokenType[TokenType[\"questionDot\"] = questionDot] = \"questionDot\"; // ?.\n const arrow = 22528; TokenType[TokenType[\"arrow\"] = arrow] = \"arrow\"; // =>\n const template = 23552; TokenType[TokenType[\"template\"] = template] = \"template\"; // template\n const ellipsis = 24576; TokenType[TokenType[\"ellipsis\"] = ellipsis] = \"ellipsis\"; // ...\n const backQuote = 25600; TokenType[TokenType[\"backQuote\"] = backQuote] = \"backQuote\"; // `\n const dollarBraceL = 27136; TokenType[TokenType[\"dollarBraceL\"] = dollarBraceL] = \"dollarBraceL\"; // ${ startsExpr\n const at = 27648; TokenType[TokenType[\"at\"] = at] = \"at\"; // @\n const hash = 29184; TokenType[TokenType[\"hash\"] = hash] = \"hash\"; // # startsExpr\n const eq = 29728; TokenType[TokenType[\"eq\"] = eq] = \"eq\"; // = isAssign\n const assign = 30752; TokenType[TokenType[\"assign\"] = assign] = \"assign\"; // _= isAssign\n const preIncDec = 32640; TokenType[TokenType[\"preIncDec\"] = preIncDec] = \"preIncDec\"; // ++/-- prefix postfix startsExpr\n const postIncDec = 33664; TokenType[TokenType[\"postIncDec\"] = postIncDec] = \"postIncDec\"; // ++/-- prefix postfix startsExpr\n const bang = 34432; TokenType[TokenType[\"bang\"] = bang] = \"bang\"; // ! prefix startsExpr\n const tilde = 35456; TokenType[TokenType[\"tilde\"] = tilde] = \"tilde\"; // ~ prefix startsExpr\n const pipeline = 35841; TokenType[TokenType[\"pipeline\"] = pipeline] = \"pipeline\"; // |> prec:1\n const nullishCoalescing = 36866; TokenType[TokenType[\"nullishCoalescing\"] = nullishCoalescing] = \"nullishCoalescing\"; // ?? prec:2\n const logicalOR = 37890; TokenType[TokenType[\"logicalOR\"] = logicalOR] = \"logicalOR\"; // || prec:2\n const logicalAND = 38915; TokenType[TokenType[\"logicalAND\"] = logicalAND] = \"logicalAND\"; // && prec:3\n const bitwiseOR = 39940; TokenType[TokenType[\"bitwiseOR\"] = bitwiseOR] = \"bitwiseOR\"; // | prec:4\n const bitwiseXOR = 40965; TokenType[TokenType[\"bitwiseXOR\"] = bitwiseXOR] = \"bitwiseXOR\"; // ^ prec:5\n const bitwiseAND = 41990; TokenType[TokenType[\"bitwiseAND\"] = bitwiseAND] = \"bitwiseAND\"; // & prec:6\n const equality = 43015; TokenType[TokenType[\"equality\"] = equality] = \"equality\"; // ==/!= prec:7\n const lessThan = 44040; TokenType[TokenType[\"lessThan\"] = lessThan] = \"lessThan\"; // < prec:8\n const greaterThan = 45064; TokenType[TokenType[\"greaterThan\"] = greaterThan] = \"greaterThan\"; // > prec:8\n const relationalOrEqual = 46088; TokenType[TokenType[\"relationalOrEqual\"] = relationalOrEqual] = \"relationalOrEqual\"; // <=/>= prec:8\n const bitShiftL = 47113; TokenType[TokenType[\"bitShiftL\"] = bitShiftL] = \"bitShiftL\"; // << prec:9\n const bitShiftR = 48137; TokenType[TokenType[\"bitShiftR\"] = bitShiftR] = \"bitShiftR\"; // >>/>>> prec:9\n const plus = 49802; TokenType[TokenType[\"plus\"] = plus] = \"plus\"; // + prec:10 prefix startsExpr\n const minus = 50826; TokenType[TokenType[\"minus\"] = minus] = \"minus\"; // - prec:10 prefix startsExpr\n const modulo = 51723; TokenType[TokenType[\"modulo\"] = modulo] = \"modulo\"; // % prec:11 startsExpr\n const star = 52235; TokenType[TokenType[\"star\"] = star] = \"star\"; // * prec:11\n const slash = 53259; TokenType[TokenType[\"slash\"] = slash] = \"slash\"; // / prec:11\n const exponent = 54348; TokenType[TokenType[\"exponent\"] = exponent] = \"exponent\"; // ** prec:12 rightAssociative\n const jsxName = 55296; TokenType[TokenType[\"jsxName\"] = jsxName] = \"jsxName\"; // jsxName\n const jsxText = 56320; TokenType[TokenType[\"jsxText\"] = jsxText] = \"jsxText\"; // jsxText\n const jsxEmptyText = 57344; TokenType[TokenType[\"jsxEmptyText\"] = jsxEmptyText] = \"jsxEmptyText\"; // jsxEmptyText\n const jsxTagStart = 58880; TokenType[TokenType[\"jsxTagStart\"] = jsxTagStart] = \"jsxTagStart\"; // jsxTagStart startsExpr\n const jsxTagEnd = 59392; TokenType[TokenType[\"jsxTagEnd\"] = jsxTagEnd] = \"jsxTagEnd\"; // jsxTagEnd\n const typeParameterStart = 60928; TokenType[TokenType[\"typeParameterStart\"] = typeParameterStart] = \"typeParameterStart\"; // typeParameterStart startsExpr\n const nonNullAssertion = 61440; TokenType[TokenType[\"nonNullAssertion\"] = nonNullAssertion] = \"nonNullAssertion\"; // nonNullAssertion\n const _break = 62480; TokenType[TokenType[\"_break\"] = _break] = \"_break\"; // break keyword\n const _case = 63504; TokenType[TokenType[\"_case\"] = _case] = \"_case\"; // case keyword\n const _catch = 64528; TokenType[TokenType[\"_catch\"] = _catch] = \"_catch\"; // catch keyword\n const _continue = 65552; TokenType[TokenType[\"_continue\"] = _continue] = \"_continue\"; // continue keyword\n const _debugger = 66576; TokenType[TokenType[\"_debugger\"] = _debugger] = \"_debugger\"; // debugger keyword\n const _default = 67600; TokenType[TokenType[\"_default\"] = _default] = \"_default\"; // default keyword\n const _do = 68624; TokenType[TokenType[\"_do\"] = _do] = \"_do\"; // do keyword\n const _else = 69648; TokenType[TokenType[\"_else\"] = _else] = \"_else\"; // else keyword\n const _finally = 70672; TokenType[TokenType[\"_finally\"] = _finally] = \"_finally\"; // finally keyword\n const _for = 71696; TokenType[TokenType[\"_for\"] = _for] = \"_for\"; // for keyword\n const _function = 73232; TokenType[TokenType[\"_function\"] = _function] = \"_function\"; // function keyword startsExpr\n const _if = 73744; TokenType[TokenType[\"_if\"] = _if] = \"_if\"; // if keyword\n const _return = 74768; TokenType[TokenType[\"_return\"] = _return] = \"_return\"; // return keyword\n const _switch = 75792; TokenType[TokenType[\"_switch\"] = _switch] = \"_switch\"; // switch keyword\n const _throw = 77456; TokenType[TokenType[\"_throw\"] = _throw] = \"_throw\"; // throw keyword prefix startsExpr\n const _try = 77840; TokenType[TokenType[\"_try\"] = _try] = \"_try\"; // try keyword\n const _var = 78864; TokenType[TokenType[\"_var\"] = _var] = \"_var\"; // var keyword\n const _let = 79888; TokenType[TokenType[\"_let\"] = _let] = \"_let\"; // let keyword\n const _const = 80912; TokenType[TokenType[\"_const\"] = _const] = \"_const\"; // const keyword\n const _while = 81936; TokenType[TokenType[\"_while\"] = _while] = \"_while\"; // while keyword\n const _with = 82960; TokenType[TokenType[\"_with\"] = _with] = \"_with\"; // with keyword\n const _new = 84496; TokenType[TokenType[\"_new\"] = _new] = \"_new\"; // new keyword startsExpr\n const _this = 85520; TokenType[TokenType[\"_this\"] = _this] = \"_this\"; // this keyword startsExpr\n const _super = 86544; TokenType[TokenType[\"_super\"] = _super] = \"_super\"; // super keyword startsExpr\n const _class = 87568; TokenType[TokenType[\"_class\"] = _class] = \"_class\"; // class keyword startsExpr\n const _extends = 88080; TokenType[TokenType[\"_extends\"] = _extends] = \"_extends\"; // extends keyword\n const _export = 89104; TokenType[TokenType[\"_export\"] = _export] = \"_export\"; // export keyword\n const _import = 90640; TokenType[TokenType[\"_import\"] = _import] = \"_import\"; // import keyword startsExpr\n const _yield = 91664; TokenType[TokenType[\"_yield\"] = _yield] = \"_yield\"; // yield keyword startsExpr\n const _null = 92688; TokenType[TokenType[\"_null\"] = _null] = \"_null\"; // null keyword startsExpr\n const _true = 93712; TokenType[TokenType[\"_true\"] = _true] = \"_true\"; // true keyword startsExpr\n const _false = 94736; TokenType[TokenType[\"_false\"] = _false] = \"_false\"; // false keyword startsExpr\n const _in = 95256; TokenType[TokenType[\"_in\"] = _in] = \"_in\"; // in prec:8 keyword\n const _instanceof = 96280; TokenType[TokenType[\"_instanceof\"] = _instanceof] = \"_instanceof\"; // instanceof prec:8 keyword\n const _typeof = 97936; TokenType[TokenType[\"_typeof\"] = _typeof] = \"_typeof\"; // typeof keyword prefix startsExpr\n const _void = 98960; TokenType[TokenType[\"_void\"] = _void] = \"_void\"; // void keyword prefix startsExpr\n const _delete = 99984; TokenType[TokenType[\"_delete\"] = _delete] = \"_delete\"; // delete keyword prefix startsExpr\n const _async = 100880; TokenType[TokenType[\"_async\"] = _async] = \"_async\"; // async keyword startsExpr\n const _get = 101904; TokenType[TokenType[\"_get\"] = _get] = \"_get\"; // get keyword startsExpr\n const _set = 102928; TokenType[TokenType[\"_set\"] = _set] = \"_set\"; // set keyword startsExpr\n const _declare = 103952; TokenType[TokenType[\"_declare\"] = _declare] = \"_declare\"; // declare keyword startsExpr\n const _readonly = 104976; TokenType[TokenType[\"_readonly\"] = _readonly] = \"_readonly\"; // readonly keyword startsExpr\n const _abstract = 106000; TokenType[TokenType[\"_abstract\"] = _abstract] = \"_abstract\"; // abstract keyword startsExpr\n const _static = 107024; TokenType[TokenType[\"_static\"] = _static] = \"_static\"; // static keyword startsExpr\n const _public = 107536; TokenType[TokenType[\"_public\"] = _public] = \"_public\"; // public keyword\n const _private = 108560; TokenType[TokenType[\"_private\"] = _private] = \"_private\"; // private keyword\n const _protected = 109584; TokenType[TokenType[\"_protected\"] = _protected] = \"_protected\"; // protected keyword\n const _override = 110608; TokenType[TokenType[\"_override\"] = _override] = \"_override\"; // override keyword\n const _as = 112144; TokenType[TokenType[\"_as\"] = _as] = \"_as\"; // as keyword startsExpr\n const _enum = 113168; TokenType[TokenType[\"_enum\"] = _enum] = \"_enum\"; // enum keyword startsExpr\n const _type = 114192; TokenType[TokenType[\"_type\"] = _type] = \"_type\"; // type keyword startsExpr\n const _implements = 115216; TokenType[TokenType[\"_implements\"] = _implements] = \"_implements\"; // implements keyword startsExpr\n})(TokenType || (TokenType = {}));\nexport function formatTokenType(tokenType) {\n switch (tokenType) {\n case TokenType.num:\n return \"num\";\n case TokenType.bigint:\n return \"bigint\";\n case TokenType.decimal:\n return \"decimal\";\n case TokenType.regexp:\n return \"regexp\";\n case TokenType.string:\n return \"string\";\n case TokenType.name:\n return \"name\";\n case TokenType.eof:\n return \"eof\";\n case TokenType.bracketL:\n return \"[\";\n case TokenType.bracketR:\n return \"]\";\n case TokenType.braceL:\n return \"{\";\n case TokenType.braceBarL:\n return \"{|\";\n case TokenType.braceR:\n return \"}\";\n case TokenType.braceBarR:\n return \"|}\";\n case TokenType.parenL:\n return \"(\";\n case TokenType.parenR:\n return \")\";\n case TokenType.comma:\n return \",\";\n case TokenType.semi:\n return \";\";\n case TokenType.colon:\n return \":\";\n case TokenType.doubleColon:\n return \"::\";\n case TokenType.dot:\n return \".\";\n case TokenType.question:\n return \"?\";\n case TokenType.questionDot:\n return \"?.\";\n case TokenType.arrow:\n return \"=>\";\n case TokenType.template:\n return \"template\";\n case TokenType.ellipsis:\n return \"...\";\n case TokenType.backQuote:\n return \"`\";\n case TokenType.dollarBraceL:\n return \"${\";\n case TokenType.at:\n return \"@\";\n case TokenType.hash:\n return \"#\";\n case TokenType.eq:\n return \"=\";\n case TokenType.assign:\n return \"_=\";\n case TokenType.preIncDec:\n return \"++/--\";\n case TokenType.postIncDec:\n return \"++/--\";\n case TokenType.bang:\n return \"!\";\n case TokenType.tilde:\n return \"~\";\n case TokenType.pipeline:\n return \"|>\";\n case TokenType.nullishCoalescing:\n return \"??\";\n case TokenType.logicalOR:\n return \"||\";\n case TokenType.logicalAND:\n return \"&&\";\n case TokenType.bitwiseOR:\n return \"|\";\n case TokenType.bitwiseXOR:\n return \"^\";\n case TokenType.bitwiseAND:\n return \"&\";\n case TokenType.equality:\n return \"==/!=\";\n case TokenType.lessThan:\n return \"<\";\n case TokenType.greaterThan:\n return \">\";\n case TokenType.relationalOrEqual:\n return \"<=/>=\";\n case TokenType.bitShiftL:\n return \"<<\";\n case TokenType.bitShiftR:\n return \">>/>>>\";\n case TokenType.plus:\n return \"+\";\n case TokenType.minus:\n return \"-\";\n case TokenType.modulo:\n return \"%\";\n case TokenType.star:\n return \"*\";\n case TokenType.slash:\n return \"/\";\n case TokenType.exponent:\n return \"**\";\n case TokenType.jsxName:\n return \"jsxName\";\n case TokenType.jsxText:\n return \"jsxText\";\n case TokenType.jsxEmptyText:\n return \"jsxEmptyText\";\n case TokenType.jsxTagStart:\n return \"jsxTagStart\";\n case TokenType.jsxTagEnd:\n return \"jsxTagEnd\";\n case TokenType.typeParameterStart:\n return \"typeParameterStart\";\n case TokenType.nonNullAssertion:\n return \"nonNullAssertion\";\n case TokenType._break:\n return \"break\";\n case TokenType._case:\n return \"case\";\n case TokenType._catch:\n return \"catch\";\n case TokenType._continue:\n return \"continue\";\n case TokenType._debugger:\n return \"debugger\";\n case TokenType._default:\n return \"default\";\n case TokenType._do:\n return \"do\";\n case TokenType._else:\n return \"else\";\n case TokenType._finally:\n return \"finally\";\n case TokenType._for:\n return \"for\";\n case TokenType._function:\n return \"function\";\n case TokenType._if:\n return \"if\";\n case TokenType._return:\n return \"return\";\n case TokenType._switch:\n return \"switch\";\n case TokenType._throw:\n return \"throw\";\n case TokenType._try:\n return \"try\";\n case TokenType._var:\n return \"var\";\n case TokenType._let:\n return \"let\";\n case TokenType._const:\n return \"const\";\n case TokenType._while:\n return \"while\";\n case TokenType._with:\n return \"with\";\n case TokenType._new:\n return \"new\";\n case TokenType._this:\n return \"this\";\n case TokenType._super:\n return \"super\";\n case TokenType._class:\n return \"class\";\n case TokenType._extends:\n return \"extends\";\n case TokenType._export:\n return \"export\";\n case TokenType._import:\n return \"import\";\n case TokenType._yield:\n return \"yield\";\n case TokenType._null:\n return \"null\";\n case TokenType._true:\n return \"true\";\n case TokenType._false:\n return \"false\";\n case TokenType._in:\n return \"in\";\n case TokenType._instanceof:\n return \"instanceof\";\n case TokenType._typeof:\n return \"typeof\";\n case TokenType._void:\n return \"void\";\n case TokenType._delete:\n return \"delete\";\n case TokenType._async:\n return \"async\";\n case TokenType._get:\n return \"get\";\n case TokenType._set:\n return \"set\";\n case TokenType._declare:\n return \"declare\";\n case TokenType._readonly:\n return \"readonly\";\n case TokenType._abstract:\n return \"abstract\";\n case TokenType._static:\n return \"static\";\n case TokenType._public:\n return \"public\";\n case TokenType._private:\n return \"private\";\n case TokenType._protected:\n return \"protected\";\n case TokenType._override:\n return \"override\";\n case TokenType._as:\n return \"as\";\n case TokenType._enum:\n return \"enum\";\n case TokenType._type:\n return \"type\";\n case TokenType._implements:\n return \"implements\";\n default:\n return \"\";\n }\n}\n","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport canUseDom from \"rc-util/es/Dom/canUseDom\";\nvar uuid = 0;\n\n/** Is client side and not jsdom */\nexport var isBrowserClient = process.env.NODE_ENV !== 'test' && canUseDom();\n\n/** Get unique id for accessibility usage */\nfunction getUUID() {\n var retId;\n\n // Test never reach\n /* istanbul ignore if */\n if (isBrowserClient) {\n retId = uuid;\n uuid += 1;\n } else {\n retId = 'TEST_OR_SSR';\n }\n return retId;\n}\nexport default (function (id) {\n // Inner id for accessibility usage. Only work in client side\n var _React$useState = React.useState(),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n innerId = _React$useState2[0],\n setInnerId = _React$useState2[1];\n React.useEffect(function () {\n setInnerId(\"rc_progress_\".concat(getUUID()));\n }, []);\n return id || innerId;\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PlayCircleTwoToneSvg from \"@ant-design/icons-svg/es/asn/PlayCircleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PlayCircleTwoTone = function PlayCircleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PlayCircleTwoToneSvg\n }));\n};\n\n/**![play-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIGZpbGw9IiMxNjc3ZmYiIC8+PHBhdGggZD0iTTUxMiAxNDBjLTIwNS40IDAtMzcyIDE2Ni42LTM3MiAzNzJzMTY2LjYgMzcyIDM3MiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzItMTY2LjYtMzcyLTM3Mi0zNzJ6bTE2NC4xIDM3OC4yTDQ1Ny43IDY3Ny4xYTguMDIgOC4wMiAwIDAxLTEyLjctNi41VjM1M2E4IDggMCAwMTEyLjctNi41bDIxOC40IDE1OC44YTcuOSA3LjkgMCAwMTAgMTIuOXoiIGZpbGw9IiNlNmY0ZmYiIC8+PHBhdGggZD0iTTY3Ni4xIDUwNS4zTDQ1Ny43IDM0Ni41QTggOCAwIDAwNDQ1IDM1M3YzMTcuNmE4LjAyIDguMDIgMCAwMDEyLjcgNi41bDIxOC40LTE1OC45YTcuOSA3LjkgMCAwMDAtMTIuOXoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PlayCircleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PlayCircleTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport EyeInvisibleTwoToneSvg from \"@ant-design/icons-svg/es/asn/EyeInvisibleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar EyeInvisibleTwoTone = function EyeInvisibleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: EyeInvisibleTwoToneSvg\n }));\n};\n\n/**![eye-invisible](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI1NC44OSA3NTguODVsMTI1LjU3LTEyNS41N2ExNzYgMTc2IDAgMDEyNDguODItMjQ4LjgyTDc1NyAyNTYuNzJRNjUxLjY5IDE4Ni4wNyA1MTIgMTg2cS0yODguMyAwLTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41cTY5LjI3IDE0NS45MSAxNzMuMDkgMjIxLjA1ek05NDIuMiA0ODYuMlE4ODkuNDYgMzc1LjExIDgxNi43IDMwNUw2NzIuNDggNDQ5LjI3YTE3Ni4wOSAxNzYuMDkgMCAwMS0yMjcuMjIgMjI3LjIxTDMyMyA3OTguNzVRNDA4IDgzOCA1MTIgODM4cTI4OC4zIDAgNDMwLjItMzAwLjNhNjAuMjkgNjAuMjkgMCAwMDAtNTEuNXoiIGZpbG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AyMjcuNDItMjI3LjQybC01Mi44MiA1Mi44MmMuMzEgMy4zOC40NyA2Ljc5LjQ3IDEwLjI1YTExMS45NCAxMTEuOTQgMCAwMS0xMTIgMTEyeiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(EyeInvisibleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'EyeInvisibleTwoTone';\n}\nexport default RefIcon;","/**\n * @import {Info, State} from 'mdast-util-to-markdown'\n * @import {Definition, Parents} from 'mdast'\n */\n\nimport {checkQuote} from '../util/check-quote.js'\n\n/**\n * @param {Definition} node\n * @param {Parents | undefined} _\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function definition(node, _, state, info) {\n const quote = checkQuote(state)\n const suffix = quote === '\"' ? 'Quote' : 'Apostrophe'\n const exit = state.enter('definition')\n let subexit = state.enter('label')\n const tracker = state.createTracker(info)\n let value = tracker.move('[')\n value += tracker.move(\n state.safe(state.associationId(node), {\n before: value,\n after: ']',\n ...tracker.current()\n })\n )\n value += tracker.move(']: ')\n\n subexit()\n\n if (\n // If there’s no url, or…\n !node.url ||\n // If there are control characters or whitespace.\n /[\\0- \\u007F]/.test(node.url)\n ) {\n subexit = state.enter('destinationLiteral')\n value += tracker.move('<')\n value += tracker.move(\n state.safe(node.url, {before: value, after: '>', ...tracker.current()})\n )\n value += tracker.move('>')\n } else {\n // No whitespace, raw is prettier.\n subexit = state.enter('destinationRaw')\n value += tracker.move(\n state.safe(node.url, {\n before: value,\n after: node.title ? ' ' : '\\n',\n ...tracker.current()\n })\n )\n }\n\n subexit()\n\n if (node.title) {\n subexit = state.enter(`title${suffix}`)\n value += tracker.move(' ' + quote)\n value += tracker.move(\n state.safe(node.title, {\n before: value,\n after: quote,\n ...tracker.current()\n })\n )\n value += tracker.move(quote)\n subexit()\n }\n\n exit()\n\n return value\n}\n","import * as React from 'react';\n/** Used for each single Panel. e.g. DatePanel */\nexport var PanelContext = /*#__PURE__*/React.createContext(null);\nexport function usePanelContext() {\n return React.useContext(PanelContext);\n}\n\n/**\n * Get shared props for the SharedPanelProps interface.\n */\nexport function useInfo(props, panelType) {\n var prefixCls = props.prefixCls,\n generateConfig = props.generateConfig,\n locale = props.locale,\n disabledDate = props.disabledDate,\n minDate = props.minDate,\n maxDate = props.maxDate,\n cellRender = props.cellRender,\n hoverValue = props.hoverValue,\n hoverRangeValue = props.hoverRangeValue,\n onHover = props.onHover,\n values = props.values,\n pickerValue = props.pickerValue,\n onSelect = props.onSelect,\n prevIcon = props.prevIcon,\n nextIcon = props.nextIcon,\n superPrevIcon = props.superPrevIcon,\n superNextIcon = props.superNextIcon;\n\n // ========================= MISC =========================\n var now = generateConfig.getNow();\n\n // ========================= Info =========================\n var info = {\n now: now,\n values: values,\n pickerValue: pickerValue,\n prefixCls: prefixCls,\n disabledDate: disabledDate,\n minDate: minDate,\n maxDate: maxDate,\n cellRender: cellRender,\n hoverValue: hoverValue,\n hoverRangeValue: hoverRangeValue,\n onHover: onHover,\n locale: locale,\n generateConfig: generateConfig,\n onSelect: onSelect,\n panelType: panelType,\n // Icons\n prevIcon: prevIcon,\n nextIcon: nextIcon,\n superPrevIcon: superPrevIcon,\n superNextIcon: superNextIcon\n };\n return [info, now];\n}\n\n// ============================== Internal ==============================\n\n/**\n * Internal usage for RangePicker to not to show the operation arrow\n */\nexport var PickerHackContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n PickerHackContext.displayName = 'PickerHackContext';\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LikeFilledSvg from \"@ant-design/icons-svg/es/asn/LikeFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LikeFilled = function LikeFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LikeFilledSvg\n }));\n};\n\n/**![like](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4NS45IDUzMy43YzE2LjgtMjIuMiAyNi4xLTQ5LjQgMjYuMS03Ny43IDAtNDQuOS0yNS4xLTg3LjQtNjUuNS0xMTEuMWE2Ny42NyA2Ny42NyAwIDAwLTM0LjMtOS4zSDU3Mi40bDYtMTIyLjljMS40LTI5LjctOS4xLTU3LjktMjkuNS03OS40QTEwNi42MiAxMDYuNjIgMCAwMDQ3MSA5OS45Yy01MiAwLTk4IDM1LTExMS44IDg1LjFsLTg1LjkgMzExaC0uM3Y0MjhoNDcyLjNjOS4yIDAgMTguMi0xLjggMjYuNS01LjQgNDcuNi0yMC4zIDc4LjMtNjYuOCA3OC4zLTExOC40IDAtMTIuNi0xLjgtMjUtNS40LTM3IDE2LjgtMjIuMiAyNi4xLTQ5LjQgMjYuMS03Ny43IDAtMTIuNi0xLjgtMjUtNS40LTM3IDE2LjgtMjIuMiAyNi4xLTQ5LjQgMjYuMS03Ny43LS4yLTEyLjYtMi0yNS4xLTUuNi0zNy4xek0xMTIgNTI4djM2NGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NVY0OTZoLTY1Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LikeFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LikeFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\n\n/**![right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2NS43IDQ4Ni44TDMxNC45IDEzNC43QTcuOTcgNy45NyAwIDAwMzAyIDE0MXY3Ny4zYzAgNC45IDIuMyA5LjYgNi4xIDEyLjZsMzYwIDI4MS4xLTM2MCAyODEuMWMtMy45IDMtNi4xIDcuNy02LjEgMTIuNlY4ODNjMCA2LjcgNy43IDEwLjQgMTIuOSA2LjNsNDUwLjgtMzUyLjFhMzEuOTYgMzEuOTYgMCAwMDAtNTAuNHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RightOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RightOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BankFilledSvg from \"@ant-design/icons-svg/es/asn/BankFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BankFilled = function BankFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BankFilledSvg\n }));\n};\n\n/**![bank](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg5NCA0NjJjMzAuOSAwIDQzLjgtMzkuNyAxOC43LTU4TDUzMC44IDEyNi4yYTMxLjgxIDMxLjgxIDAgMDAtMzcuNiAwTDExMS4zIDQwNGMtMjUuMSAxOC4yLTEyLjIgNTggMTguOCA1OEgxOTJ2Mzc0aC03MmMtNC40IDAtOCAzLjYtOCA4djUyYzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01MmMwLTQuNC0zLjYtOC04LThoLTcyVjQ2Mmg2MnpNMzgxIDgzNkgyNjRWNDYyaDExN3YzNzR6bTE4OSAwSDQ1M1Y0NjJoMTE3djM3NHptMTkwIDBINjQyVjQ2MmgxMTh2Mzc0eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BankFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BankFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PushpinFilledSvg from \"@ant-design/icons-svg/es/asn/PushpinFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PushpinFilled = function PushpinFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PushpinFilledSvg\n }));\n};\n\n/**![pushpin](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3OC4zIDM5Mi4xTDYzMS45IDE0NS43Yy02LjUtNi41LTE1LTkuNy0yMy41LTkuN3MtMTcgMy4yLTIzLjUgOS43TDQyMy44IDMwNi45Yy0xMi4yLTEuNC0yNC41LTItMzYuOC0yLTczLjIgMC0xNDYuNCAyNC4xLTIwNi41IDcyLjMtMTUuNCAxMi4zLTE2LjYgMzUuNC0yLjcgNDkuNGwxODEuNyAxODEuNy0yMTUuNCAyMTUuMmExNS44IDE1LjggMCAwMC00LjYgOS44bC0zLjQgMzcuMmMtLjkgOS40IDYuNiAxNy40IDE1LjkgMTcuNC41IDAgMSAwIDEuNS0uMWwzNy4yLTMuNGMzLjctLjMgNy4yLTIgOS44LTQuNmwyMTUuNC0yMTUuNCAxODEuNyAxODEuN2M2LjUgNi41IDE1IDkuNyAyMy41IDkuNyA5LjcgMCAxOS4zLTQuMiAyNS45LTEyLjQgNTYuMy03MC4zIDc5LjctMTU4LjMgNzAuMi0yNDMuNGwxNjEuMS0xNjEuMWMxMi45LTEyLjggMTIuOS0zMy44IDAtNDYuOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PushpinFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PushpinFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SlackSquareOutlinedSvg from \"@ant-design/icons-svg/es/asn/SlackSquareOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SlackSquareOutlined = function SlackSquareOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SlackSquareOutlinedSvg\n }));\n};\n\n/**![slack-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2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IyLjYgNTAuMyA1MC40IDAgMjcuOC0yMi41IDUwLjQtNTAuMyA1MC40em0xMzQtMTM0LjRoLTEzNGE1MC4zNSA1MC4zNSAwIDAxLTUwLjMtNTAuNGMwLTI3LjggMjIuNS01MC40IDUwLjMtNTAuNGgxMzRjMjcuOCAwIDUwLjMgMjIuNiA1MC4zIDUwLjQgMCAyNy44LTIyLjUgNTAuNC01MC4zIDUwLjR6bTAtMTM0LjRINjYzdi01MC40YzAtMjcuOCAyMi41LTUwLjQgNTAuMy01MC40czUwLjMgMjIuNiA1MC4zIDUwLjRjMCAyNy44LTIyLjUgNTAuNC01MC4zIDUwLjR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SlackSquareOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SlackSquareOutlined';\n}\nexport default RefIcon;","import {blockquote} from './blockquote.js'\nimport {hardBreak} from './break.js'\nimport {code} from './code.js'\nimport {definition} from './definition.js'\nimport {emphasis} from './emphasis.js'\nimport {heading} from './heading.js'\nimport {html} from './html.js'\nimport {image} from './image.js'\nimport {imageReference} from './image-reference.js'\nimport {inlineCode} from './inline-code.js'\nimport {link} from './link.js'\nimport {linkReference} from './link-reference.js'\nimport {list} from './list.js'\nimport {listItem} from './list-item.js'\nimport {paragraph} from './paragraph.js'\nimport {root} from './root.js'\nimport {strong} from './strong.js'\nimport {text} from './text.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/**\n * Default (CommonMark) handlers.\n */\nexport const handle = {\n blockquote,\n break: hardBreak,\n code,\n definition,\n emphasis,\n hardBreak,\n heading,\n html,\n image,\n imageReference,\n inlineCode,\n link,\n linkReference,\n list,\n listItem,\n paragraph,\n root,\n strong,\n text,\n thematicBreak\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FileZipOutlinedSvg from \"@ant-design/icons-svg/es/asn/FileZipOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FileZipOutlined = function FileZipOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FileZipOutlinedSvg\n }));\n};\n\n/**![file-zip](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5NiAzOTJoNjR2NjRoLTY0em0wIDE5MHYxNjBoMTI4VjU4MmgtNjR2LTYyaC02NHY2MnptODAgNDh2NjRoLTMydi02NGgzMnptLTE2LTMwMmg2NHY2NGgtNjR6bS02NC02NGg2NHY2NGgtNjR6bTY0IDE5Mmg2NHY2NGgtNjR6bTAtMjU2aDY0djY0aC02NHptNDk0LjYgODguNkw2MzkuNCA3My40Yy02LTYtMTQuMS05LjQtMjIuNi05LjRIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY4MzJjMCAxNy43IDE0LjMgMzIgMzIgMzJoNjQwYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjMxMS4zYzAtOC41LTMuNC0xNi43LTkuNC0yMi43ek03OTAuMiAzMjZINjAyVjEzNy44TDc5MC4yIDMyNnptMS44IDU2MkgyMzJWMTM2aDY0djY0aDY0di02NGgxNzR2MjE2YTQyIDQyIDAgMDA0MiA0MmgyMTZ2NDk0eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FileZipOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FileZipOutlined';\n}\nexport default RefIcon;","import MutateObserver from \"./MutateObserver\";\nimport useMutateObserver from \"./useMutateObserver\";\nexport { useMutateObserver };\nexport default MutateObserver;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CiCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/CiCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CiCircleOutlined = function CiCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CiCircleOutlinedSvg\n }));\n};\n\n/**![ci-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnptMjE4LTU3Mi4xaC01MC40Yy00LjQgMC04IDMuNi04IDh2Mzg0LjJjMCA0LjQgMy42IDggOCA4SDczMGM0LjQgMCA4LTMuNiA4LThWMzE5LjljMC00LjQtMy42LTgtOC04em0tMjgxLjQgNDkuNmM0OS41IDAgODMuMSAzMS41IDg3IDc3LjYuNCA0LjIgMy44IDcuNCA4IDcuNGg1Mi42YzIuNCAwIDQuNC0yIDQuNC00LjQgMC04MS4yLTY0LTEzOC4xLTE1Mi4zLTEzOC4xQzM0NS40IDMwNCAyODYgMzczLjUgMjg2IDQ4OC40djQ5YzAgMTE0IDU5LjQgMTgyLjYgMTYyLjMgMTgyLjYgODggMCAxNTIuMy01NS4xIDE1Mi4zLTEzMi41IDAtMi40LTItNC40LTQuNC00LjRoLTUyLjdjLTQuMiAwLTcuNiAzLjItOCA3LjMtNC4yIDQzLTM3LjcgNzIuNC04NyA3Mi40LTYxLjEgMC05NS42LTQ0LjktOTUuNi0xMjUuMnYtNDkuM2MuMS04MS40IDM0LjYtMTI2LjggOTUuNy0xMjYuOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CiCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CiCircleOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FileJpgOutlinedSvg from \"@ant-design/icons-svg/es/asn/FileJpgOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FileJpgOutlined = function FileJpgOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FileJpgOutlinedSvg\n }));\n};\n\n/**![file-jpg](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3NC42IDMwMS44TDU5Ni44IDIxLjNjLTQuNS00LjUtOS40LTguMy0xNC43LTExLjUtMS40LS44LTIuOC0xLjYtNC4zLTIuMy0uOS0uNS0xLjktLjktMi44LTEuMy05LTQtMTguOS02LjItMjktNi4ySDIwMWMtMzkuOCAwLTczIDMyLjItNzMgNzJ2ODgwYzAgMzkuOCAzMy4yIDcyIDczIDcyaDYyM2MzOS44IDAgNzEtMzIuMiA3MS03MlYzNTIuNWMwLTE5LTctMzcuMi0yMC40LTUwLjd6TTU4MyAxMTAuNEw3ODMuOCAzMTJINTgzVjExMC40ek04MjMgOTUySDIwMFY3MmgzMTF2MjQwYzAgMzkuOCAzMy4yIDcyIDczIDcyaDIzOXY1Njh6TTM1MCA2OTYuNWMwIDI0LjItNy41IDMxLjQtMjEuOSAzMS40LTkgMC0xOC40LTUuOC0yNC44LTE4LjVMMjcyLjkgNzMyYzEzLjQgMjIuOSAzMi4zIDM0LjIgNjEuMyAzNC4yIDQxLjYgMCA2MC44LTI5LjkgNjAuOC02Ni4yVjU3N2gtNDV2MTE5LjV6TTUwMS4zIDU3N0g0Mzd2MTg2aDQ0di02MmgyMS42YzM5LjEgMCA3My4xLTE5LjYgNzMuMS02My42IDAtNDUuOC0zMy41LTYwLjQtNzQuNC02MC40em0tLjggODlINDgxdi01M2gxOC4yYzIxLjUgMCAzMy40IDYuMiAzMy40IDI0LjkgMCAxOC4xLTEwLjUgMjguMS0zMi4xIDI4LjF6bTE4Mi41LTl2MzZoMzB2MzAuMWMtNCAyLjktMTEgNC43LTE3LjcgNC43LTM0LjMgMC01MC43LTIxLjQtNTAuNy01OC4yIDAtMzYuMSAxOS43LTU3LjQgNDcuMS01Ny40IDE1LjMgMCAyNSA2LjIgMzQgMTQuNGwyMy43LTI4LjNjLTEyLjctMTIuOC0zMi4xLTI0LjItNTkuMi0yNC4yLTQ5LjYgMC05MS4xIDM1LjMtOTEuMSA5NyAwIDYyLjcgNDAgOTUuMSA5MS41IDk1LjEgMjUuOSAwIDQ5LjItMTAuMiA2MS41LTIyLjZWNjU3SDY4M3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FileJpgOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FileJpgOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport StockOutlinedSvg from \"@ant-design/icons-svg/es/asn/StockOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar StockOutlined = function StockOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: StockOutlinedSvg\n }));\n};\n\n/**![stock](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkwNCA3NDdIMTIwYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDc4NGM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOHpNMTY1LjcgNjIxLjhsMzkuNyAzOS41YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMjM0LjctMjMzLjkgOTcuNiA5Ny4zYTMyLjExIDMyLjExIDAgMDA0NS4yIDBsMjY0LjItMjYzLjJjMy4xLTMuMSAzLjEtOC4yIDAtMTEuM2wtMzkuNy0zOS42YTguMDMgOC4wMyAwIDAwLTExLjMgMGwtMjM1LjcgMjM1LTk3LjctOTcuM2EzMi4xMSAzMi4xMSAwIDAwLTQ1LjIgMEwxNjUuNyA2MTAuNWE3Ljk0IDcuOTQgMCAwMDAgMTEuM3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(StockOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'StockOutlined';\n}\nexport default RefIcon;","import rules from \"../rule\";\nimport { isEmptyValue } from \"../util\";\nvar string = function string(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n rules.required(rule, value, source, errors, options, 'string');\n if (!isEmptyValue(value, 'string')) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n rules.pattern(rule, value, source, errors, options);\n if (rule.whitespace === true) {\n rules.whitespace(rule, value, source, errors, options);\n }\n }\n }\n callback(errors);\n};\nexport default string;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PlaySquareTwoToneSvg from \"@ant-design/icons-svg/es/asn/PlaySquareTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PlaySquareTwoTone = function PlaySquareTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PlaySquareTwoToneSvg\n }));\n};\n\n/**![play-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDcyOEgxODRWMTg0aDY1NnY2NTZ6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik0xODQgODQwaDY1NlYxODRIMTg0djY1NnptMjQwLTQ4NC43YzAtOS40IDEwLjktMTQuNyAxOC4zLTguOGwxOTkuNCAxNTYuN2ExMS4yIDExLjIgMCAwMTAgMTcuNkw0NDIuMyA2NzcuNmMtNy40IDUuOC0xOC4zLjYtMTguMy04LjhWMzU1LjN6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik00NDIuMyA2NzcuNmwxOTkuNC0xNTYuOGExMS4yIDExLjIgMCAwMDAtMTcuNkw0NDIuMyAzNDYuNWMtNy40LTUuOS0xOC4zLS42LTE4LjMgOC44djMxMy41YzAgOS40IDEwLjkgMTQuNiAxOC4zIDguOHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PlaySquareTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PlaySquareTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ProductFilledSvg from \"@ant-design/icons-svg/es/asn/ProductFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ProductFilled = function ProductFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ProductFilledSvg\n }));\n};\n\n/**![product](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTYwIDE0NGgzMDRhMTYgMTYgMCAwMTE2IDE2djMwNGExNiAxNiAwIDAxLTE2IDE2SDE2MGExNiAxNiAwIDAxLTE2LTE2VjE2MGExNiAxNiAwIDAxMTYtMTZtNTY0LjMxLTI1LjMzbDE4MS4wMiAxODEuMDJhMTYgMTYgMCAwMTAgMjIuNjJMNzI0LjMxIDUwMy4zM2ExNiAxNiAwIDAxLTIyLjYyIDBMNTIwLjY3IDMyMi4zMWExNiAxNiAwIDAxMC0yMi42MmwxODEuMDItMTgxLjAyYTE2IDE2IDAgMDEyMi42MiAwTTE2MCA1NDRoMzA0YTE2IDE2IDAgMDExNiAxNnYzMDRhMTYgMTYgMCAwMS0xNiAxNkgxNjBhMTYgMTYgMCAwMS0xNi0xNlY1NjBhMTYgMTYgMCAwMTE2LTE2bTQwMCAwaDMwNGExNiAxNiAwIDAxMTYgMTZ2MzA0YTE2IDE2IDAgMDEtMTYgMTZINTYwYTE2IDE2IDAgMDEtMTYtMTZWNTYwYTE2IDE2IDAgMDExNi0xNiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ProductFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ProductFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FileImageTwoToneSvg from \"@ant-design/icons-svg/es/asn/FileImageTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FileImageTwoTone = function FileImageTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FileImageTwoToneSvg\n }));\n};\n\n/**![file-image](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUzNCAzNTJWMTM2SDIzMnY3NTJoNTYwVjM5NEg1NzZhNDIgNDIgMCAwMS00Mi00MnptLTEzNCA1MGMyMi4xIDAgNDAgMTcuOSA0MCA0MHMtMTcuOSA0MC00MCA0MC00MC0xNy45LTQwLTQwIDE3LjktNDAgNDAtNDB6bTI5NiAyOTRIMzI4LjFjLTYuNyAwLTEwLjQtNy43LTYuMy0xMi45bDk5LjgtMTI3LjJhOCA4IDAgMDExMi42IDBsNDEuMSA1Mi40IDc3LjgtOTkuMmE4LjEgOC4xIDAgMDExMi43IDBsMTM2LjUgMTc0YzQuMSA1LjIuNCAxMi45LTYuMyAxMi45eiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNODU0LjYgMjg4LjZMNjM5LjQgNzMuNGMtNi02LTE0LjEtOS40LTIyLjYtOS40SDE5MmMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2ODMyYzAgMTcuNyAxNC4zIDMyIDMyIDMyaDY0MGMxNy43IDAgMzItMTQuMyAzMi0zMlYzMTEuM2MwLTguNS0zLjQtMTYuNy05LjQtMjIuN3pNNjAyIDEzNy44TDc5MC4yIDMyNkg2MDJWMTM3Ljh6TTc5MiA4ODhIMjMyVjEzNmgzMDJ2MjE2YTQyIDQyIDAgMDA0MiA0MmgyMTZ2NDk0eiIgZmlsbD0iIzE2NzdmZiIgLz48cGF0aCBkPSJNNTUzLjEgNTA5LjFsLTc3LjggOTkuMi00MS4xLTUyLjRhOCA4IDAgMDAtMTIuNiAwbC05OS44IDEyNy4yYTcuOTggNy45OCAwIDAwNi4zIDEyLjlINjk2YzYuNyAwIDEwLjQtNy43IDYuMy0xMi45bC0xMzYuNS0xNzRhOC4xIDguMSAwIDAwLTEyLjcgMHpNMzYwIDQ0MmE0MCA0MCAwIDEwODAgMCA0MCA0MCAwIDEwLTgwIDB6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FileImageTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FileImageTwoTone';\n}\nexport default RefIcon;","import CSSCalculator from \"./CSSCalculator\";\nimport NumCalculator from \"./NumCalculator\";\nvar genCalc = function genCalc(type, unitlessCssVar) {\n var Calculator = type === 'css' ? CSSCalculator : NumCalculator;\n return function (num) {\n return new Calculator(num, unitlessCssVar);\n };\n};\nexport default genCalc;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SoundOutlinedSvg from \"@ant-design/icons-svg/es/asn/SoundOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SoundOutlined = function SoundOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SoundOutlinedSvg\n }));\n};\n\n/**![sound](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYyNS45IDExNWMtNS45IDAtMTEuOSAxLjYtMTcuNCA1LjNMMjU0IDM1Mkg5MGMtOC44IDAtMTYgNy4yLTE2IDE2djI4OGMwIDguOCA3LjIgMTYgMTYgMTZoMTY0bDM1NC41IDIzMS43YzUuNSAzLjYgMTEuNiA1LjMgMTcuNCA1LjMgMTYuNyAwIDMyLjEtMTMuMyAzMi4xLTMyLjFWMTQ3LjFjMC0xOC44LTE1LjQtMzIuMS0zMi4xLTMyLjF6TTU4NiA4MDNMMjkzLjQgNjExLjdsLTE4LTExLjdIMTQ2VjQyNGgxMjkuNGwxNy45LTExLjdMNTg2IDIyMXY1ODJ6bTM0OC0zMjdIODA2Yy04LjggMC0xNiA3LjItMTYgMTZ2NDBjMCA4LjggNy4yIDE2IDE2IDE2aDEyOGM4LjggMCAxNi03LjIgMTYtMTZ2LTQwYzAtOC44LTcuMi0xNi0xNi0xNnptLTQxLjkgMjYxLjhsLTExMC4zLTYzLjdhMTUuOSAxNS45IDAgMDAtMjEuNyA1LjlsLTE5LjkgMzQuNWMtNC40IDcuNi0xLjggMTcuNCA1LjggMjEuOEw4NTYuMyA4MDBhMTUuOSAxNS45IDAgMDAyMS43LTUuOWwxOS45LTM0LjVjNC40LTcuNiAxLjctMTcuNC01LjgtMjEuOHpNNzYwIDM0NGExNS45IDE1LjkgMCAwMDIxLjcgNS45TDg5MiAyODYuMmM3LjYtNC40IDEwLjItMTQuMiA1LjgtMjEuOEw4NzggMjMwYTE1LjkgMTUuOSAwIDAwLTIxLjctNS45TDc0NiAyODcuOGExNS45OSAxNS45OSAwIDAwLTUuOCAyMS44TDc2MCAzNDR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SoundOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SoundOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WarningFilledSvg from \"@ant-design/icons-svg/es/asn/WarningFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WarningFilled = function WarningFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WarningFilledSvg\n }));\n};\n\n/**![warning](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk1NS43IDg1NmwtNDE2LTcyMGMtNi4yLTEwLjctMTYuOS0xNi0yNy43LTE2cy0yMS42IDUuMy0yNy43IDE2bC00MTYgNzIwQzU2IDg3Ny40IDcxLjQgOTA0IDk2IDkwNGg4MzJjMjQuNiAwIDQwLTI2LjYgMjcuNy00OHpNNDgwIDQxNmMwLTQuNCAzLjYtOCA4LThoNDhjNC40IDAgOCAzLjYgOCA4djE4NGMwIDQuNC0zLjYgOC04IDhoLTQ4Yy00LjQgMC04LTMuNi04LThWNDE2em0zMiAzNTJhNDguMDEgNDguMDEgMCAwMTAtOTYgNDguMDEgNDguMDEgMCAwMTAgOTZ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WarningFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WarningFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ExportOutlinedSvg from \"@ant-design/icons-svg/es/asn/ExportOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ExportOutlined = function ExportOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ExportOutlinedSvg\n }));\n};\n\n/**![export](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNODgwIDkxMkgxNDRjLTE3LjcgMC0zMi0xNC4zLTMyLTMyVjE0NGMwLTE3LjcgMTQuMy0zMiAzMi0zMmgzNjBjNC40IDAgOCAzLjYgOCA4djU2YzAgNC40LTMuNiA4LTggOEgxODR2NjU2aDY1NlY1MjBjMC00LjQgMy42LTggOC04aDU2YzQuNCAwIDggMy42IDggOHYzNjBjMCAxNy43LTE0LjMgMzItMzIgMzJ6TTc3MC44NyAxOTkuMTNsLTUyLjItNTIuMmE4LjAxIDguMDEgMCAwMTQuNy0xMy42bDE3OS40LTIxYzUuMS0uNiA5LjUgMy43IDguOSA4LjlsLTIxIDE3OS40Yy0uOCA2LjYtOC45IDkuNC0xMy42IDQuN2wtNTIuNC01Mi40LTI1Ni4yIDI1Ni4yYTguMDMgOC4wMyAwIDAxLTExLjMgMGwtNDIuNC00Mi40YTguMDMgOC4wMyAwIDAxMC0xMS4zbDI1Ni4xLTI1Ni4zeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ExportOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ExportOutlined';\n}\nexport default RefIcon;","export var TokenType;\n(function (TokenType) {\n TokenType[TokenType[\"CHARACTER\"] = 0] = \"CHARACTER\";\n TokenType[TokenType[\"NULL_CHARACTER\"] = 1] = \"NULL_CHARACTER\";\n TokenType[TokenType[\"WHITESPACE_CHARACTER\"] = 2] = \"WHITESPACE_CHARACTER\";\n TokenType[TokenType[\"START_TAG\"] = 3] = \"START_TAG\";\n TokenType[TokenType[\"END_TAG\"] = 4] = \"END_TAG\";\n TokenType[TokenType[\"COMMENT\"] = 5] = \"COMMENT\";\n TokenType[TokenType[\"DOCTYPE\"] = 6] = \"DOCTYPE\";\n TokenType[TokenType[\"EOF\"] = 7] = \"EOF\";\n TokenType[TokenType[\"HIBERNATION\"] = 8] = \"HIBERNATION\";\n})(TokenType || (TokenType = {}));\nexport function getTokenAttr(token, attrName) {\n for (let i = token.attrs.length - 1; i >= 0; i--) {\n if (token.attrs[i].name === attrName) {\n return token.attrs[i].value;\n }\n }\n return null;\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ContainerTwoToneSvg from \"@ant-design/icons-svg/es/asn/ContainerTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ContainerTwoTone = function ContainerTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ContainerTwoToneSvg\n }));\n};\n\n/**![container](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZp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gtOEgzMjBjLTQuNCAwLTggMy42LTggOHY0OGMwIDQuNCAzLjYgOCA4IDh6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ContainerTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ContainerTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"children\", \"label\", \"key\", \"collapsible\", \"onItemClick\", \"destroyInactivePanel\"];\nimport toArray from \"rc-util/es/Children/toArray\";\nimport React from 'react';\nimport CollapsePanel from \"../Panel\";\nvar convertItemsToNodes = function convertItemsToNodes(items, props) {\n var prefixCls = props.prefixCls,\n accordion = props.accordion,\n collapsible = props.collapsible,\n destroyInactivePanel = props.destroyInactivePanel,\n onItemClick = props.onItemClick,\n activeKey = props.activeKey,\n openMotion = props.openMotion,\n expandIcon = props.expandIcon;\n return items.map(function (item, index) {\n var children = item.children,\n label = item.label,\n rawKey = item.key,\n rawCollapsible = item.collapsible,\n rawOnItemClick = item.onItemClick,\n rawDestroyInactivePanel = item.destroyInactivePanel,\n restProps = _objectWithoutProperties(item, _excluded);\n\n // You may be puzzled why you want to convert them all into strings, me too.\n // Maybe: https://github.com/react-component/collapse/blob/aac303a8b6ff30e35060b4f8fecde6f4556fcbe2/src/Collapse.tsx#L15\n var key = String(rawKey !== null && rawKey !== void 0 ? rawKey : index);\n var mergeCollapsible = rawCollapsible !== null && rawCollapsible !== void 0 ? rawCollapsible : collapsible;\n var mergeDestroyInactivePanel = rawDestroyInactivePanel !== null && rawDestroyInactivePanel !== void 0 ? rawDestroyInactivePanel : destroyInactivePanel;\n var handleItemClick = function handleItemClick(value) {\n if (mergeCollapsible === 'disabled') return;\n onItemClick(value);\n rawOnItemClick === null || rawOnItemClick === void 0 || rawOnItemClick(value);\n };\n var isActive = false;\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n return /*#__PURE__*/React.createElement(CollapsePanel, _extends({}, restProps, {\n prefixCls: prefixCls,\n key: key,\n panelKey: key,\n isActive: isActive,\n accordion: accordion,\n openMotion: openMotion,\n expandIcon: expandIcon,\n header: label,\n collapsible: mergeCollapsible,\n onItemClick: handleItemClick,\n destroyInactivePanel: mergeDestroyInactivePanel\n }), children);\n });\n};\n\n/**\n * @deprecated The next major version will be removed\n */\nvar getNewChild = function getNewChild(child, index, props) {\n if (!child) return null;\n var prefixCls = props.prefixCls,\n accordion = props.accordion,\n collapsible = props.collapsible,\n destroyInactivePanel = props.destroyInactivePanel,\n onItemClick = props.onItemClick,\n activeKey = props.activeKey,\n openMotion = props.openMotion,\n expandIcon = props.expandIcon;\n var key = child.key || String(index);\n var _child$props = child.props,\n header = _child$props.header,\n headerClass = _child$props.headerClass,\n childDestroyInactivePanel = _child$props.destroyInactivePanel,\n childCollapsible = _child$props.collapsible,\n childOnItemClick = _child$props.onItemClick;\n var isActive = false;\n if (accordion) {\n isActive = activeKey[0] === key;\n } else {\n isActive = activeKey.indexOf(key) > -1;\n }\n var mergeCollapsible = childCollapsible !== null && childCollapsible !== void 0 ? childCollapsible : collapsible;\n var handleItemClick = function handleItemClick(value) {\n if (mergeCollapsible === 'disabled') return;\n onItemClick(value);\n childOnItemClick === null || childOnItemClick === void 0 || childOnItemClick(value);\n };\n var childProps = {\n key: key,\n panelKey: key,\n header: header,\n headerClass: headerClass,\n isActive: isActive,\n prefixCls: prefixCls,\n destroyInactivePanel: childDestroyInactivePanel !== null && childDestroyInactivePanel !== void 0 ? childDestroyInactivePanel : destroyInactivePanel,\n openMotion: openMotion,\n accordion: accordion,\n children: child.props.children,\n onItemClick: handleItemClick,\n expandIcon: expandIcon,\n collapsible: mergeCollapsible\n };\n\n // https://github.com/ant-design/ant-design/issues/20479\n if (typeof child.type === 'string') {\n return child;\n }\n Object.keys(childProps).forEach(function (propName) {\n if (typeof childProps[propName] === 'undefined') {\n delete childProps[propName];\n }\n });\n return /*#__PURE__*/React.cloneElement(child, childProps);\n};\nfunction useItems(items, rawChildren, props) {\n if (Array.isArray(items)) {\n return convertItemsToNodes(items, props);\n }\n return toArray(rawChildren).map(function (child, index) {\n return getNewChild(child, index, props);\n });\n}\nexport default useItems;","import React from 'react';\nvar NavbarExtra = function NavbarExtra() {\n return /*#__PURE__*/React.createElement(React.Fragment, null);\n};\nexport default NavbarExtra;","var _excluded = [\"children\"];\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 _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport throttle from 'lodash.throttle';\nimport React, { useEffect, useRef, useState } from 'react';\nimport \"./index.less\";\nvar Table = function Table(_ref) {\n var children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n var container = useRef(null);\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n leftFolded = _useState2[0],\n setLeftFolded = _useState2[1];\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n rightFolded = _useState4[0],\n setRightFolded = _useState4[1];\n\n // watch content scroll to render folded shadow\n useEffect(function () {\n var elm = container.current;\n if (elm) {\n var handler = throttle(function () {\n setLeftFolded(elm.scrollLeft > 0);\n setRightFolded(elm.scrollLeft < elm.scrollWidth - elm.offsetWidth);\n }, 100);\n handler();\n elm.addEventListener('scroll', handler);\n window.addEventListener('resize', handler);\n return function () {\n elm.removeEventListener('scroll', handler);\n window.removeEventListener('resize', handler);\n };\n }\n }, []);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-table\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-table-content\",\n ref: container,\n \"data-left-folded\": leftFolded || undefined,\n \"data-right-folded\": rightFolded || undefined\n }, /*#__PURE__*/React.createElement(\"table\", props, children)));\n};\nexport default Table;","/**\n * @typedef {import('hast').ElementContent} ElementContent\n *\n * @typedef {import('mdast').Nodes} Nodes\n * @typedef {import('mdast').Reference} Reference\n *\n * @typedef {import('./state.js').State} State\n */\n\n// Make VS Code show references to the above types.\n''\n\n/**\n * Return the content of a reference without definition as plain text.\n *\n * @param {State} state\n * Info passed around.\n * @param {Extract} node\n * Reference node (image, link).\n * @returns {Array}\n * hast content.\n */\nexport function revert(state, node) {\n const subtype = node.referenceType\n let suffix = ']'\n\n if (subtype === 'collapsed') {\n suffix += '[]'\n } else if (subtype === 'full') {\n suffix += '[' + (node.label || node.identifier) + ']'\n }\n\n if (node.type === 'imageReference') {\n return [{type: 'text', value: '![' + node.alt + suffix}]\n }\n\n const contents = state.all(node)\n const head = contents[0]\n\n if (head && head.type === 'text') {\n head.value = '[' + head.value\n } else {\n contents.unshift({type: 'text', value: '['})\n }\n\n const tail = contents[contents.length - 1]\n\n if (tail && tail.type === 'text') {\n tail.value += suffix\n } else {\n contents.push({type: 'text', value: suffix})\n }\n\n return contents\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport YahooOutlinedSvg from \"@ant-design/icons-svg/es/asn/YahooOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar YahooOutlined = function YahooOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: YahooOutlinedSvg\n }));\n};\n\n/**![yahoo](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1OS45IDY4MS40aC0xNC4xYy0yNy4xIDAtNDkuMiAyMi4yLTQ5LjIgNDkuM3YxNC4xYzAgMjcuMSAyMi4yIDQ5LjMgNDkuMiA0OS4zaDE0LjFjMjcuMSAwIDQ5LjItMjIuMiA0OS4yLTQ5LjN2LTE0LjFjMC0yNy4xLTIyLjItNDkuMy00OS4yLTQ5LjN6TTQwMi42IDIzMUMyMTYuMiAyMzEgNjUgMzU3IDY1IDUxMi41UzIxNi4yIDc5NCA0MDIuNiA3OTRzMzM3LjYtMTI2IDMzNy42LTI4MS41UzU4OS4xIDIzMSA0MDIuNiAyMzF6bTAgNTA3QzI0NS4xIDczOCAxMjEgNjM0LjYgMTIxIDUxMi41YzAtNjIuMyAzMi4zLTExOS43IDg0LjktMTYxdjQ4LjRoMzdsMTU5LjggMTU5Ljl2NjUuM2gtODQuNHY1Ni4zaDIyNS4xdi01Ni4zSDQ1OXYtNjUuM2wxMDMuNS0xMDMuNmg2NS4zdi01Ni4zSDQ1OXY2NS4zbC0yOC4xIDI4LjEtOTMuNC05My41aDM3di01Ni4zSDIxNi40YzQ5LjQtMzUgMTE0LjMtNTYuNiAxODYuMi01Ni42IDE1Ny42IDAgMjgxLjYgMTAzLjQgMjgxLjYgMjI1LjVTNTYwLjIgNzM4IDQwMi42IDczOHptNTM0LjctNTA3SDgyNC43Yy0xNS41IDAtMjcuNyAxMi42LTI3LjEgMjguMWwxMy4xIDM2Nmg4NC40bDY1LjQtMzY2LjRjMi43LTE1LjItNy44LTI3LjctMjMuMi0yNy43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(YahooOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'YahooOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SkinFilledSvg from \"@ant-design/icons-svg/es/asn/SkinFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SkinFilled = function SkinFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SkinFilledSvg\n }));\n};\n\n/**![skin](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3MCAxMjZINjYzLjhjLTE3LjQgMC0zMi45IDExLjktMzcgMjkuM0M2MTQuMyAyMDguMSA1NjcgMjQ2IDUxMiAyNDZzLTEwMi4zLTM3LjktMTE0LjgtOTAuN2EzNy45MyAzNy45MyAwIDAwLTM3LTI5LjNIMTU0YTQ0IDQ0IDAgMDAtNDQgNDR2MjUyYTQ0IDQ0IDAgMDA0NCA0NGg3NXYzODhhNDQgNDQgMCAwMDQ0IDQ0aDQ3OGE0NCA0NCAwIDAwNDQtNDRWNDY2aDc1YTQ0IDQ0IDAgMDA0NC00NFYxNzBhNDQgNDQgMCAwMC00NC00NHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SkinFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SkinFilled';\n}\nexport default RefIcon;","import { useEvent } from 'rc-util';\nimport { isSame } from \"../../utils/dateUtil\";\n/**\n * Merge `disabledDate` with `minDate` & `maxDate`.\n */\nexport default function useDisabledBoundary(generateConfig, locale, disabledDate, minDate, maxDate) {\n var mergedDisabledDate = useEvent(function (date, info) {\n if (disabledDate && disabledDate(date, info)) {\n return true;\n }\n if (minDate && generateConfig.isAfter(minDate, date) && !isSame(generateConfig, locale, minDate, date, info.type)) {\n return true;\n }\n if (maxDate && generateConfig.isAfter(date, maxDate) && !isSame(generateConfig, locale, maxDate, date, info.type)) {\n return true;\n }\n return false;\n });\n return mergedDisabledDate;\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"steps\", \"defaultCurrent\", \"current\", \"onChange\", \"onClose\", \"onFinish\", \"open\", \"mask\", \"arrow\", \"rootClassName\", \"placement\", \"renderPanel\", \"gap\", \"animated\", \"scrollIntoViewOptions\", \"zIndex\", \"closeIcon\", \"closable\", \"builtinPlacements\", \"disabledInteraction\"];\nimport * as React from 'react';\nimport Portal from '@rc-component/portal';\nimport Trigger from '@rc-component/trigger';\nimport classNames from 'classnames';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport { useMemo } from 'react';\nimport { useClosable } from \"./hooks/useClosable\";\nimport useTarget from \"./hooks/useTarget\";\nimport Mask from \"./Mask\";\nimport { getPlacements } from \"./placements\";\nimport TourStep from \"./TourStep\";\nimport { getPlacement } from \"./util\";\nvar CENTER_PLACEHOLDER = {\n left: '50%',\n top: '50%',\n width: 1,\n height: 1\n};\nvar defaultScrollIntoViewOptions = {\n block: 'center',\n inline: 'center'\n};\nvar Tour = function Tour(props) {\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tour' : _props$prefixCls,\n _props$steps = props.steps,\n steps = _props$steps === void 0 ? [] : _props$steps,\n defaultCurrent = props.defaultCurrent,\n current = props.current,\n onChange = props.onChange,\n onClose = props.onClose,\n _onFinish = props.onFinish,\n open = props.open,\n _props$mask = props.mask,\n mask = _props$mask === void 0 ? true : _props$mask,\n _props$arrow = props.arrow,\n arrow = _props$arrow === void 0 ? true : _props$arrow,\n rootClassName = props.rootClassName,\n placement = props.placement,\n renderPanel = props.renderPanel,\n gap = props.gap,\n animated = props.animated,\n _props$scrollIntoView = props.scrollIntoViewOptions,\n scrollIntoViewOptions = _props$scrollIntoView === void 0 ? defaultScrollIntoViewOptions : _props$scrollIntoView,\n _props$zIndex = props.zIndex,\n zIndex = _props$zIndex === void 0 ? 1001 : _props$zIndex,\n closeIcon = props.closeIcon,\n closable = props.closable,\n builtinPlacements = props.builtinPlacements,\n disabledInteraction = props.disabledInteraction,\n restProps = _objectWithoutProperties(props, _excluded);\n var triggerRef = React.useRef();\n var _useMergedState = useMergedState(0, {\n value: current,\n defaultValue: defaultCurrent\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n mergedCurrent = _useMergedState2[0],\n setMergedCurrent = _useMergedState2[1];\n var _useMergedState3 = useMergedState(undefined, {\n value: open,\n postState: function postState(origin) {\n return mergedCurrent < 0 || mergedCurrent >= steps.length ? false : origin !== null && origin !== void 0 ? origin : true;\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n mergedOpen = _useMergedState4[0],\n setMergedOpen = _useMergedState4[1];\n\n // Record if already rended in the DOM to avoid `findDOMNode` issue\n var _React$useState = React.useState(mergedOpen),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n hasOpened = _React$useState2[0],\n setHasOpened = _React$useState2[1];\n var openRef = React.useRef(mergedOpen);\n useLayoutEffect(function () {\n if (mergedOpen) {\n if (!openRef.current) {\n setMergedCurrent(0);\n }\n setHasOpened(true);\n }\n openRef.current = mergedOpen;\n }, [mergedOpen]);\n var _ref = steps[mergedCurrent] || {},\n target = _ref.target,\n stepPlacement = _ref.placement,\n stepStyle = _ref.style,\n stepArrow = _ref.arrow,\n stepClassName = _ref.className,\n stepMask = _ref.mask,\n _ref$scrollIntoViewOp = _ref.scrollIntoViewOptions,\n stepScrollIntoViewOptions = _ref$scrollIntoViewOp === void 0 ? defaultScrollIntoViewOptions : _ref$scrollIntoViewOp,\n stepCloseIcon = _ref.closeIcon,\n stepClosable = _ref.closable;\n var mergedClosable = useClosable(stepClosable, stepCloseIcon, closable, closeIcon);\n var mergedMask = mergedOpen && (stepMask !== null && stepMask !== void 0 ? stepMask : mask);\n var mergedScrollIntoViewOptions = stepScrollIntoViewOptions !== null && stepScrollIntoViewOptions !== void 0 ? stepScrollIntoViewOptions : scrollIntoViewOptions;\n var _useTarget = useTarget(target, open, gap, mergedScrollIntoViewOptions),\n _useTarget2 = _slicedToArray(_useTarget, 2),\n posInfo = _useTarget2[0],\n targetElement = _useTarget2[1];\n var mergedPlacement = getPlacement(targetElement, placement, stepPlacement);\n\n // ========================= arrow =========================\n var mergedArrow = targetElement ? typeof stepArrow === 'undefined' ? arrow : stepArrow : false;\n var arrowPointAtCenter = _typeof(mergedArrow) === 'object' ? mergedArrow.pointAtCenter : false;\n useLayoutEffect(function () {\n var _triggerRef$current;\n (_triggerRef$current = triggerRef.current) === null || _triggerRef$current === void 0 ? void 0 : _triggerRef$current.forceAlign();\n }, [arrowPointAtCenter, mergedCurrent]);\n\n // ========================= Change =========================\n var onInternalChange = function onInternalChange(nextCurrent) {\n setMergedCurrent(nextCurrent);\n onChange === null || onChange === void 0 ? void 0 : onChange(nextCurrent);\n };\n var mergedBuiltinPlacements = useMemo(function () {\n if (builtinPlacements) {\n return typeof builtinPlacements === 'function' ? builtinPlacements({\n arrowPointAtCenter: arrowPointAtCenter\n }) : builtinPlacements;\n }\n return getPlacements(arrowPointAtCenter);\n }, [builtinPlacements, arrowPointAtCenter]);\n\n // ========================= Render =========================\n // Skip if not init yet\n if (targetElement === undefined || !hasOpened) {\n return null;\n }\n var handleClose = function handleClose() {\n setMergedOpen(false);\n onClose === null || onClose === void 0 ? void 0 : onClose(mergedCurrent);\n };\n var getPopupElement = function getPopupElement() {\n return /*#__PURE__*/React.createElement(TourStep, _extends({\n arrow: mergedArrow,\n key: \"content\",\n prefixCls: prefixCls,\n total: steps.length,\n renderPanel: renderPanel,\n onPrev: function onPrev() {\n onInternalChange(mergedCurrent - 1);\n },\n onNext: function onNext() {\n onInternalChange(mergedCurrent + 1);\n },\n onClose: handleClose,\n current: mergedCurrent,\n onFinish: function onFinish() {\n handleClose();\n _onFinish === null || _onFinish === void 0 ? void 0 : _onFinish();\n }\n }, steps[mergedCurrent], {\n closable: mergedClosable\n }));\n };\n var mergedShowMask = typeof mergedMask === 'boolean' ? mergedMask : !!mergedMask;\n var mergedMaskStyle = typeof mergedMask === 'boolean' ? undefined : mergedMask;\n\n // when targetElement is not exist, use body as triggerDOMNode\n var getTriggerDOMNode = function getTriggerDOMNode(node) {\n return node || targetElement || document.body;\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Mask, {\n zIndex: zIndex,\n prefixCls: prefixCls,\n pos: posInfo,\n showMask: mergedShowMask,\n style: mergedMaskStyle === null || mergedMaskStyle === void 0 ? void 0 : mergedMaskStyle.style,\n fill: mergedMaskStyle === null || mergedMaskStyle === void 0 ? void 0 : mergedMaskStyle.color,\n open: mergedOpen,\n animated: animated,\n rootClassName: rootClassName,\n disabledInteraction: disabledInteraction\n }), /*#__PURE__*/React.createElement(Trigger, _extends({}, restProps, {\n builtinPlacements: mergedBuiltinPlacements,\n ref: triggerRef,\n popupStyle: stepStyle,\n popupPlacement: mergedPlacement,\n popupVisible: mergedOpen,\n popupClassName: classNames(rootClassName, stepClassName),\n prefixCls: prefixCls,\n popup: getPopupElement,\n forceRender: false,\n destroyPopupOnHide: true,\n zIndex: zIndex,\n getTriggerDOMNode: getTriggerDOMNode,\n arrow: !!mergedArrow\n }), /*#__PURE__*/React.createElement(Portal, {\n open: mergedOpen,\n autoLock: true\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(rootClassName, \"\".concat(prefixCls, \"-target-placeholder\")),\n style: _objectSpread(_objectSpread({}, posInfo || CENTER_PLACEHOLDER), {}, {\n position: 'fixed',\n pointerEvents: 'none'\n })\n }))));\n};\nexport default Tour;","export var charCodes; (function (charCodes) {\n const backSpace = 8; charCodes[charCodes[\"backSpace\"] = backSpace] = \"backSpace\";\n const lineFeed = 10; charCodes[charCodes[\"lineFeed\"] = lineFeed] = \"lineFeed\"; // '\\n'\n const tab = 9; charCodes[charCodes[\"tab\"] = tab] = \"tab\"; // '\\t'\n const carriageReturn = 13; charCodes[charCodes[\"carriageReturn\"] = carriageReturn] = \"carriageReturn\"; // '\\r'\n const shiftOut = 14; charCodes[charCodes[\"shiftOut\"] = shiftOut] = \"shiftOut\";\n const space = 32; charCodes[charCodes[\"space\"] = space] = \"space\";\n const exclamationMark = 33; charCodes[charCodes[\"exclamationMark\"] = exclamationMark] = \"exclamationMark\"; // '!'\n const quotationMark = 34; charCodes[charCodes[\"quotationMark\"] = quotationMark] = \"quotationMark\"; // '\"'\n const numberSign = 35; charCodes[charCodes[\"numberSign\"] = numberSign] = \"numberSign\"; // '#'\n const dollarSign = 36; charCodes[charCodes[\"dollarSign\"] = dollarSign] = \"dollarSign\"; // '$'\n const percentSign = 37; charCodes[charCodes[\"percentSign\"] = percentSign] = \"percentSign\"; // '%'\n const ampersand = 38; charCodes[charCodes[\"ampersand\"] = ampersand] = \"ampersand\"; // '&'\n const apostrophe = 39; charCodes[charCodes[\"apostrophe\"] = apostrophe] = \"apostrophe\"; // '''\n const leftParenthesis = 40; charCodes[charCodes[\"leftParenthesis\"] = leftParenthesis] = \"leftParenthesis\"; // '('\n const rightParenthesis = 41; charCodes[charCodes[\"rightParenthesis\"] = rightParenthesis] = \"rightParenthesis\"; // ')'\n const asterisk = 42; charCodes[charCodes[\"asterisk\"] = asterisk] = \"asterisk\"; // '*'\n const plusSign = 43; charCodes[charCodes[\"plusSign\"] = plusSign] = \"plusSign\"; // '+'\n const comma = 44; charCodes[charCodes[\"comma\"] = comma] = \"comma\"; // ','\n const dash = 45; charCodes[charCodes[\"dash\"] = dash] = \"dash\"; // '-'\n const dot = 46; charCodes[charCodes[\"dot\"] = dot] = \"dot\"; // '.'\n const slash = 47; charCodes[charCodes[\"slash\"] = slash] = \"slash\"; // '/'\n const digit0 = 48; charCodes[charCodes[\"digit0\"] = digit0] = \"digit0\"; // '0'\n const digit1 = 49; charCodes[charCodes[\"digit1\"] = digit1] = \"digit1\"; // '1'\n const digit2 = 50; charCodes[charCodes[\"digit2\"] = digit2] = \"digit2\"; // '2'\n const digit3 = 51; charCodes[charCodes[\"digit3\"] = digit3] = \"digit3\"; // '3'\n const digit4 = 52; charCodes[charCodes[\"digit4\"] = digit4] = \"digit4\"; // '4'\n const digit5 = 53; charCodes[charCodes[\"digit5\"] = digit5] = \"digit5\"; // '5'\n const digit6 = 54; charCodes[charCodes[\"digit6\"] = digit6] = \"digit6\"; // '6'\n const digit7 = 55; charCodes[charCodes[\"digit7\"] = digit7] = \"digit7\"; // '7'\n const digit8 = 56; charCodes[charCodes[\"digit8\"] = digit8] = \"digit8\"; // '8'\n const digit9 = 57; charCodes[charCodes[\"digit9\"] = digit9] = \"digit9\"; // '9'\n const colon = 58; charCodes[charCodes[\"colon\"] = colon] = \"colon\"; // ':'\n const semicolon = 59; charCodes[charCodes[\"semicolon\"] = semicolon] = \"semicolon\"; // ';'\n const lessThan = 60; charCodes[charCodes[\"lessThan\"] = lessThan] = \"lessThan\"; // '<'\n const equalsTo = 61; charCodes[charCodes[\"equalsTo\"] = equalsTo] = \"equalsTo\"; // '='\n const greaterThan = 62; charCodes[charCodes[\"greaterThan\"] = greaterThan] = \"greaterThan\"; // '>'\n const questionMark = 63; charCodes[charCodes[\"questionMark\"] = questionMark] = \"questionMark\"; // '?'\n const atSign = 64; charCodes[charCodes[\"atSign\"] = atSign] = \"atSign\"; // '@'\n const uppercaseA = 65; charCodes[charCodes[\"uppercaseA\"] = uppercaseA] = \"uppercaseA\"; // 'A'\n const uppercaseB = 66; charCodes[charCodes[\"uppercaseB\"] = uppercaseB] = \"uppercaseB\"; // 'B'\n const uppercaseC = 67; charCodes[charCodes[\"uppercaseC\"] = uppercaseC] = \"uppercaseC\"; // 'C'\n const uppercaseD = 68; charCodes[charCodes[\"uppercaseD\"] = uppercaseD] = \"uppercaseD\"; // 'D'\n const uppercaseE = 69; charCodes[charCodes[\"uppercaseE\"] = uppercaseE] = \"uppercaseE\"; // 'E'\n const uppercaseF = 70; charCodes[charCodes[\"uppercaseF\"] = uppercaseF] = \"uppercaseF\"; // 'F'\n const uppercaseG = 71; charCodes[charCodes[\"uppercaseG\"] = uppercaseG] = \"uppercaseG\"; // 'G'\n const uppercaseH = 72; charCodes[charCodes[\"uppercaseH\"] = uppercaseH] = \"uppercaseH\"; // 'H'\n const uppercaseI = 73; charCodes[charCodes[\"uppercaseI\"] = uppercaseI] = \"uppercaseI\"; // 'I'\n const uppercaseJ = 74; charCodes[charCodes[\"uppercaseJ\"] = uppercaseJ] = \"uppercaseJ\"; // 'J'\n const uppercaseK = 75; charCodes[charCodes[\"uppercaseK\"] = uppercaseK] = \"uppercaseK\"; // 'K'\n const uppercaseL = 76; charCodes[charCodes[\"uppercaseL\"] = uppercaseL] = \"uppercaseL\"; // 'L'\n const uppercaseM = 77; charCodes[charCodes[\"uppercaseM\"] = uppercaseM] = \"uppercaseM\"; // 'M'\n const uppercaseN = 78; charCodes[charCodes[\"uppercaseN\"] = uppercaseN] = \"uppercaseN\"; // 'N'\n const uppercaseO = 79; charCodes[charCodes[\"uppercaseO\"] = uppercaseO] = \"uppercaseO\"; // 'O'\n const uppercaseP = 80; charCodes[charCodes[\"uppercaseP\"] = uppercaseP] = \"uppercaseP\"; // 'P'\n const uppercaseQ = 81; charCodes[charCodes[\"uppercaseQ\"] = uppercaseQ] = \"uppercaseQ\"; // 'Q'\n const uppercaseR = 82; charCodes[charCodes[\"uppercaseR\"] = uppercaseR] = \"uppercaseR\"; // 'R'\n const uppercaseS = 83; charCodes[charCodes[\"uppercaseS\"] = uppercaseS] = \"uppercaseS\"; // 'S'\n const uppercaseT = 84; charCodes[charCodes[\"uppercaseT\"] = uppercaseT] = \"uppercaseT\"; // 'T'\n const uppercaseU = 85; charCodes[charCodes[\"uppercaseU\"] = uppercaseU] = \"uppercaseU\"; // 'U'\n const uppercaseV = 86; charCodes[charCodes[\"uppercaseV\"] = uppercaseV] = \"uppercaseV\"; // 'V'\n const uppercaseW = 87; charCodes[charCodes[\"uppercaseW\"] = uppercaseW] = \"uppercaseW\"; // 'W'\n const uppercaseX = 88; charCodes[charCodes[\"uppercaseX\"] = uppercaseX] = \"uppercaseX\"; // 'X'\n const uppercaseY = 89; charCodes[charCodes[\"uppercaseY\"] = uppercaseY] = \"uppercaseY\"; // 'Y'\n const uppercaseZ = 90; charCodes[charCodes[\"uppercaseZ\"] = uppercaseZ] = \"uppercaseZ\"; // 'Z'\n const leftSquareBracket = 91; charCodes[charCodes[\"leftSquareBracket\"] = leftSquareBracket] = \"leftSquareBracket\"; // '['\n const backslash = 92; charCodes[charCodes[\"backslash\"] = backslash] = \"backslash\"; // '\\ '\n const rightSquareBracket = 93; charCodes[charCodes[\"rightSquareBracket\"] = rightSquareBracket] = \"rightSquareBracket\"; // ']'\n const caret = 94; charCodes[charCodes[\"caret\"] = caret] = \"caret\"; // '^'\n const underscore = 95; charCodes[charCodes[\"underscore\"] = underscore] = \"underscore\"; // '_'\n const graveAccent = 96; charCodes[charCodes[\"graveAccent\"] = graveAccent] = \"graveAccent\"; // '`'\n const lowercaseA = 97; charCodes[charCodes[\"lowercaseA\"] = lowercaseA] = \"lowercaseA\"; // 'a'\n const lowercaseB = 98; charCodes[charCodes[\"lowercaseB\"] = lowercaseB] = \"lowercaseB\"; // 'b'\n const lowercaseC = 99; charCodes[charCodes[\"lowercaseC\"] = lowercaseC] = \"lowercaseC\"; // 'c'\n const lowercaseD = 100; charCodes[charCodes[\"lowercaseD\"] = lowercaseD] = \"lowercaseD\"; // 'd'\n const lowercaseE = 101; charCodes[charCodes[\"lowercaseE\"] = lowercaseE] = \"lowercaseE\"; // 'e'\n const lowercaseF = 102; charCodes[charCodes[\"lowercaseF\"] = lowercaseF] = \"lowercaseF\"; // 'f'\n const lowercaseG = 103; charCodes[charCodes[\"lowercaseG\"] = lowercaseG] = \"lowercaseG\"; // 'g'\n const lowercaseH = 104; charCodes[charCodes[\"lowercaseH\"] = lowercaseH] = \"lowercaseH\"; // 'h'\n const lowercaseI = 105; charCodes[charCodes[\"lowercaseI\"] = lowercaseI] = \"lowercaseI\"; // 'i'\n const lowercaseJ = 106; charCodes[charCodes[\"lowercaseJ\"] = lowercaseJ] = \"lowercaseJ\"; // 'j'\n const lowercaseK = 107; charCodes[charCodes[\"lowercaseK\"] = lowercaseK] = \"lowercaseK\"; // 'k'\n const lowercaseL = 108; charCodes[charCodes[\"lowercaseL\"] = lowercaseL] = \"lowercaseL\"; // 'l'\n const lowercaseM = 109; charCodes[charCodes[\"lowercaseM\"] = lowercaseM] = \"lowercaseM\"; // 'm'\n const lowercaseN = 110; charCodes[charCodes[\"lowercaseN\"] = lowercaseN] = \"lowercaseN\"; // 'n'\n const lowercaseO = 111; charCodes[charCodes[\"lowercaseO\"] = lowercaseO] = \"lowercaseO\"; // 'o'\n const lowercaseP = 112; charCodes[charCodes[\"lowercaseP\"] = lowercaseP] = \"lowercaseP\"; // 'p'\n const lowercaseQ = 113; charCodes[charCodes[\"lowercaseQ\"] = lowercaseQ] = \"lowercaseQ\"; // 'q'\n const lowercaseR = 114; charCodes[charCodes[\"lowercaseR\"] = lowercaseR] = \"lowercaseR\"; // 'r'\n const lowercaseS = 115; charCodes[charCodes[\"lowercaseS\"] = lowercaseS] = \"lowercaseS\"; // 's'\n const lowercaseT = 116; charCodes[charCodes[\"lowercaseT\"] = lowercaseT] = \"lowercaseT\"; // 't'\n const lowercaseU = 117; charCodes[charCodes[\"lowercaseU\"] = lowercaseU] = \"lowercaseU\"; // 'u'\n const lowercaseV = 118; charCodes[charCodes[\"lowercaseV\"] = lowercaseV] = \"lowercaseV\"; // 'v'\n const lowercaseW = 119; charCodes[charCodes[\"lowercaseW\"] = lowercaseW] = \"lowercaseW\"; // 'w'\n const lowercaseX = 120; charCodes[charCodes[\"lowercaseX\"] = lowercaseX] = \"lowercaseX\"; // 'x'\n const lowercaseY = 121; charCodes[charCodes[\"lowercaseY\"] = lowercaseY] = \"lowercaseY\"; // 'y'\n const lowercaseZ = 122; charCodes[charCodes[\"lowercaseZ\"] = lowercaseZ] = \"lowercaseZ\"; // 'z'\n const leftCurlyBrace = 123; charCodes[charCodes[\"leftCurlyBrace\"] = leftCurlyBrace] = \"leftCurlyBrace\"; // '{'\n const verticalBar = 124; charCodes[charCodes[\"verticalBar\"] = verticalBar] = \"verticalBar\"; // '|'\n const rightCurlyBrace = 125; charCodes[charCodes[\"rightCurlyBrace\"] = rightCurlyBrace] = \"rightCurlyBrace\"; // '}'\n const tilde = 126; charCodes[charCodes[\"tilde\"] = tilde] = \"tilde\"; // '~'\n const nonBreakingSpace = 160; charCodes[charCodes[\"nonBreakingSpace\"] = nonBreakingSpace] = \"nonBreakingSpace\";\n // eslint-disable-next-line no-irregular-whitespace\n const oghamSpaceMark = 5760; charCodes[charCodes[\"oghamSpaceMark\"] = oghamSpaceMark] = \"oghamSpaceMark\"; // ' '\n const lineSeparator = 8232; charCodes[charCodes[\"lineSeparator\"] = lineSeparator] = \"lineSeparator\";\n const paragraphSeparator = 8233; charCodes[charCodes[\"paragraphSeparator\"] = paragraphSeparator] = \"paragraphSeparator\";\n})(charCodes || (charCodes = {}));\n\nexport function isDigit(code) {\n return (\n (code >= charCodes.digit0 && code <= charCodes.digit9) ||\n (code >= charCodes.lowercaseA && code <= charCodes.lowercaseF) ||\n (code >= charCodes.uppercaseA && code <= charCodes.uppercaseF)\n );\n}\n","export var VIEW_BOX_SIZE = 100;\nexport var getCircleStyle = function getCircleStyle(perimeter, perimeterWithoutGap, offset, percent, rotateDeg, gapDegree, gapPosition, strokeColor, strokeLinecap, strokeWidth) {\n var stepSpace = arguments.length > 10 && arguments[10] !== undefined ? arguments[10] : 0;\n var offsetDeg = offset / 100 * 360 * ((360 - gapDegree) / 360);\n var positionDeg = gapDegree === 0 ? 0 : {\n bottom: 0,\n top: 180,\n left: 90,\n right: -90\n }[gapPosition];\n var strokeDashoffset = (100 - percent) / 100 * perimeterWithoutGap;\n // Fix percent accuracy when strokeLinecap is round\n // https://github.com/ant-design/ant-design/issues/35009\n if (strokeLinecap === 'round' && percent !== 100) {\n strokeDashoffset += strokeWidth / 2;\n // when percent is small enough (<= 1%), keep smallest value to avoid it's disappearance\n if (strokeDashoffset >= perimeterWithoutGap) {\n strokeDashoffset = perimeterWithoutGap - 0.01;\n }\n }\n var halfSize = VIEW_BOX_SIZE / 2;\n return {\n stroke: typeof strokeColor === 'string' ? strokeColor : undefined,\n strokeDasharray: \"\".concat(perimeterWithoutGap, \"px \").concat(perimeter),\n strokeDashoffset: strokeDashoffset + stepSpace,\n transform: \"rotate(\".concat(rotateDeg + offsetDeg + positionDeg, \"deg)\"),\n transformOrigin: \"\".concat(halfSize, \"px \").concat(halfSize, \"px\"),\n transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s',\n fillOpacity: 0\n };\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ArrowsAltOutlinedSvg from \"@ant-design/icons-svg/es/asn/ArrowsAltOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ArrowsAltOutlined = function ArrowsAltOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ArrowsAltOutlinedSvg\n }));\n};\n\n/**![arrows-alt](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg1NSAxNjAuMWwtMTg5LjIgMjMuNWMtNi42LjgtOS4zIDguOC00LjcgMTMuNWw1NC43IDU0LjctMTUzLjUgMTUzLjVhOC4wMyA4LjAzIDAgMDAwIDExLjNsNDUuMSA0NS4xYzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMTUzLjYtMTUzLjYgNTQuNyA1NC43YTcuOTQgNy45NCAwIDAwMTMuNS00LjdMODYzLjkgMTY5YTcuOSA3LjkgMCAwMC04LjktOC45ek00MTYuNiA1NjIuM2E4LjAzIDguMDMgMCAwMC0xMS4zIDBMMjUxLjggNzE1LjlsLTU0LjctNTQuN2E3Ljk0IDcuOTQgMCAwMC0xMy41IDQuN0wxNjAuMSA4NTVjLS42IDUuMiAzLjcgOS41IDguOSA4LjlsMTg5LjItMjMuNWM2LjYtLjggOS4zLTguOCA0LjctMTMuNWwtNTQuNy01NC43IDE1My42LTE1My42YzMuMS0zLjEgMy4xLTguMiAwLTExLjNsLTQ1LjItNDV6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ArrowsAltOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ArrowsAltOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ClusterOutlinedSvg from \"@ant-design/icons-svg/es/asn/ClusterOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ClusterOutlined = function ClusterOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ClusterOutlinedSvg\n }));\n};\n\n/**![cluster](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+P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A4MCAwIDQwIDQwIDAgMTAtODAgMHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ClusterOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ClusterOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\n\n/**\n * Same as `React.useCallback` but always return a memoized function\n * but redirect to real function.\n */\nexport default function useRefFunc(callback) {\n var funcRef = React.useRef();\n funcRef.current = callback;\n var cacheFn = React.useCallback(function () {\n return funcRef.current.apply(funcRef, arguments);\n }, []);\n return cacheFn;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PrinterOutlinedSvg from \"@ant-design/icons-svg/es/asn/PrinterOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PrinterOutlined = function PrinterOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PrinterOutlinedSvg\n }));\n};\n\n/**![printer](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgyMCA0MzZoLTQwYy00LjQgMC04IDMuNi04IDh2NDBjMCA0LjQgMy42IDggOCA4aDQwYzQuNCAwIDgtMy42IDgtOHYtNDBjMC00LjQtMy42LTgtOC04em0zMi0xMDRINzMyVjEyMGMwLTQuNC0zLjYtOC04LThIMzAwYy00LjQgMC04IDMuNi04IDh2MjEySDE3MmMtNDQuMiAwLTgwIDM1LjgtODAgODB2MzI4YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDE2OHYxMzJjMCA0LjQgMy42IDggOCA4aDQyNGM0LjQgMCA4LTMuNiA4LThWNzcyaDE2OGMxNy43IDAgMzItMTQuMyAzMi0zMlY0MTJjMC00NC4yLTM1LjgtODAtODAtODB6TTM2MCAxODBoMzA0djE1MkgzNjBWMTgwem0zMDQgNjY0SDM2MFY1NjhoMzA0djI3NnptMjAwLTE0MEg3MzJWNTAwSDI5MnYyMDRIMTYwVjQxMmMwLTYuNiA1LjQtMTIgMTItMTJoNjgwYzYuNiAwIDEyIDUuNCAxMiAxMnYyOTJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PrinterOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PrinterOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FolderViewOutlinedSvg from \"@ant-design/icons-svg/es/asn/FolderViewOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FolderViewOutlined = function FolderViewOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FolderViewOutlinedSvg\n }));\n};\n\n/**![folder-view](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik0zMDkuMSA1NTQuM2E0Mi45MiA0Mi45MiAwIDAwMCAzNi40QzM1My4zIDY4NCA0MjEuNiA3MzIgNTEyLjUgNzMyczE1OS4yLTQ4LjEgMjAzLjQtMTQxLjNjNS40LTExLjUgNS40LTI0LjguMS0zNi4zbC0uMS0uMS0uMS0uMUM2NzEuNyA0NjEgNjAzLjQgNDEzIDUxMi41IDQxM3MtMTU5LjIgNDguMS0yMDMuNCAxNDEuM3pNNTEyLjUgNDc3YzYyLjEgMCAxMDcuNCAzMCAxNDEuMSA5NS41QzYyMCA2MzggNTc0LjYgNjY4IDUxMi41IDY2OHMtMTA3LjQtMzAtMTQxLjEtOTUuNWMzMy43LTY1LjUgNzktOTUuNSAxNDEuMS05NS41eiIgLz48cGF0aCBkPSJNNDU3IDU3M2E1NiA1NiAwIDEwMTEyIDAgNTYgNTYgMCAxMC0xMTIgMHoiIC8+PHBhdGggZD0iTTg4MCAyOTguNEg1MjFMNDAzLjcgMTg2LjJhOC4xNSA4LjE1IDAgMDAtNS41LTIuMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjU5MmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMzMwLjRjMC0xNy43LTE0LjMtMzItMzItMzJ6TTg0MCA3NjhIMTg0VjI1NmgxODguNWwxMTkuNiAxMTQuNEg4NDBWNzY4eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FolderViewOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FolderViewOutlined';\n}\nexport default RefIcon;","import _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nvar AbstractCalculator = /*#__PURE__*/_createClass(function AbstractCalculator() {\n _classCallCheck(this, AbstractCalculator);\n});\nexport default AbstractCalculator;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\n/**\n * This function will try to call requestIdleCallback if available to save performance.\n * No need `getLabel` here since already fetch on `rawLabeledValue`.\n */\nexport default (function (values) {\n var cacheRef = React.useRef({\n valueLabels: new Map()\n });\n return React.useMemo(function () {\n var valueLabels = cacheRef.current.valueLabels;\n var valueLabelsCache = new Map();\n var filledValues = values.map(function (item) {\n var value = item.value,\n label = item.label;\n var mergedLabel = label !== null && label !== void 0 ? label : valueLabels.get(value);\n\n // Save in cache\n valueLabelsCache.set(value, mergedLabel);\n return _objectSpread(_objectSpread({}, item), {}, {\n label: mergedLabel\n });\n });\n cacheRef.current.valueLabels = valueLabelsCache;\n return [filledValues];\n }, [values]);\n});","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport warning from \"rc-util/es/warning\";\nfunction getKey(data, index) {\n var key = data.key;\n var value;\n if ('value' in data) {\n value = data.value;\n }\n if (key !== null && key !== undefined) {\n return key;\n }\n if (value !== undefined) {\n return value;\n }\n return \"rc-index-key-\".concat(index);\n}\nexport function isValidCount(value) {\n return typeof value !== 'undefined' && !Number.isNaN(value);\n}\nexport function fillFieldNames(fieldNames, childrenAsData) {\n var _ref = fieldNames || {},\n label = _ref.label,\n value = _ref.value,\n options = _ref.options,\n groupLabel = _ref.groupLabel;\n var mergedLabel = label || (childrenAsData ? 'children' : 'label');\n return {\n label: mergedLabel,\n value: value || 'value',\n options: options || 'options',\n groupLabel: groupLabel || mergedLabel\n };\n}\n\n/**\n * Flat options into flatten list.\n * We use `optionOnly` here is aim to avoid user use nested option group.\n * Here is simply set `key` to the index if not provided.\n */\nexport function flattenOptions(options) {\n var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n fieldNames = _ref2.fieldNames,\n childrenAsData = _ref2.childrenAsData;\n var flattenList = [];\n var _fillFieldNames = fillFieldNames(fieldNames, false),\n fieldLabel = _fillFieldNames.label,\n fieldValue = _fillFieldNames.value,\n fieldOptions = _fillFieldNames.options,\n groupLabel = _fillFieldNames.groupLabel;\n function dig(list, isGroupOption) {\n if (!Array.isArray(list)) {\n return;\n }\n list.forEach(function (data) {\n if (isGroupOption || !(fieldOptions in data)) {\n var value = data[fieldValue];\n\n // Option\n flattenList.push({\n key: getKey(data, flattenList.length),\n groupOption: isGroupOption,\n data: data,\n label: data[fieldLabel],\n value: value\n });\n } else {\n var grpLabel = data[groupLabel];\n if (grpLabel === undefined && childrenAsData) {\n grpLabel = data.label;\n }\n\n // Option Group\n flattenList.push({\n key: getKey(data, flattenList.length),\n group: true,\n data: data,\n label: grpLabel\n });\n dig(data[fieldOptions], true);\n }\n });\n }\n dig(options, false);\n return flattenList;\n}\n\n/**\n * Inject `props` into `option` for legacy usage\n */\nexport function injectPropsWithOption(option) {\n var newOption = _objectSpread({}, option);\n if (!('props' in newOption)) {\n Object.defineProperty(newOption, 'props', {\n get: function get() {\n warning(false, 'Return type is option instead of Option instance. Please read value directly instead of reading from `props`.');\n return newOption;\n }\n });\n }\n return newOption;\n}\nexport var getSeparatedContent = function getSeparatedContent(text, tokens, end) {\n if (!tokens || !tokens.length) {\n return null;\n }\n var match = false;\n var separate = function separate(str, _ref3) {\n var _ref4 = _toArray(_ref3),\n token = _ref4[0],\n restTokens = _ref4.slice(1);\n if (!token) {\n return [str];\n }\n var list = str.split(token);\n match = match || list.length > 1;\n return list.reduce(function (prevList, unitStr) {\n return [].concat(_toConsumableArray(prevList), _toConsumableArray(separate(unitStr, restTokens)));\n }, []).filter(Boolean);\n };\n var list = separate(text, tokens);\n if (match) {\n return typeof end !== 'undefined' ? list.slice(0, end) : list;\n } else {\n return null;\n }\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WechatWorkOutlinedSvg from \"@ant-design/icons-svg/es/asn/WechatWorkOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WechatWorkOutlined = function WechatWorkOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WechatWorkOutlinedSvg\n }));\n};\n\n/**![wechat-work](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpb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42NCAwIDAxLTk2LjE3IDExLjI0IDQxNy45OCA0MTcuOTggMCAwMS04Ni40LTkuNTJMMjE2LjUyIDgxNy40YTI3LjYyIDI3LjYyIDAgMDEtMjkuOTgtMy4xNCAyOC4wMiAyOC4wMiAwIDAxLTkuNjctMjguNjFsMjIuNC05MC4yNEEyOTIuMjYgMjkyLjI2IDAgMDE2NCA0NTYuMjFDNjQgMjg1Ljk4IDIyNyAxNDggNDI4LjA5IDE0OGMxOTAuOTMgMCAzNDcuMjkgMTI0LjUzIDM2Mi41MiAyODIuODJhMjQ0Ljk3IDI0NC45NyAwIDAwLTI2LjQ3LTIuNjJjLTkuOS4zOC0xOS43OSAxLjMxLTI5LjYgMi44OHptLTExNi4zIDE5OC44MWExMzUuNzYgMTM1Ljc2IDAgMDA0Ny4wNS0xOS4wNCAxMTQuMjQgMTE0LjI0IDAgMDE1MS40NS0zMSA3Ni40NyA3Ni40NyAwIDAxLTI0LjUgNDUuMzQgMTY5LjQ4IDE2OS40OCAwIDAwLTIzLjQgNTUuMDUgNTAuNDEgNTAuNDEgMCAwMS0xMDAuOC4yMyA1MC40MSA1MC40MSAwIDAxNTAuMi01MC41OG05MC44IDEyMS4zMmExNjguNiAxNjguNiAwIDAwNTQuNjYgMjMuOSA1MC40NCA1MC40NCAwIDAxMzUuNjQgODYuMDggNTAuMzggNTAuMzggMCAwMS04Ni4wNC0zNS42NiAxMzYuNzQgMTM2Ljc0IDAgMDAtMTguNjctNDcuMjggMTE0LjcxIDExNC43MSAwIDAxLTMwLjU0LTUxLjggNzYgNzYgMCAwMTQ0Ljk1IDI1LjA2eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WechatWorkOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WechatWorkOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SlackSquareFilledSvg from \"@ant-design/icons-svg/es/asn/SlackSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SlackSquareFilled = function SlackSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SlackSquareFilledSvg\n }));\n};\n\n/**![slack-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNTI5IDMxMS40YzAtMjcuOCAyMi41LTUwLjQgNTAuMy01MC40IDI3LjggMCA1MC4zIDIyLjYgNTAuMyA1MC40djEzNC40YzAgMjcuOC0yMi41IDUwLjQtNTAuMyA1MC40LTI3LjggMC01MC4zLTIyLjYtNTAuMy01MC40VjMxMS40ek0zNjEuNSA1ODAuMmMwIDI3LjgtMjIuNSA1MC40LTUwLjMgNTAuNGE1MC4zNSA1MC4zNSAwIDAxLTUwLjMtNTAuNGMwLTI3LjggMjIuNS01MC40IDUwLjMtNTAuNGg1MC4zdjUwLjR6bTEzNCAxMzQuNGMwIDI3LjgtMjIuNSA1MC40LTUwLjMgNTAuNC0yNy44IDAtNTAuMy0yMi42LTUwLjMtNTAuNFY1ODAuMmMwLTI3LjggMjIuNS01MC40IDUwLjMtNTAuNGE1MC4zNSA1MC4zNSAwIDAxNTAuMyA1MC40djEzNC40em0tNTAuMi0yMTguNGgtMTM0Yy0yNy44IDAtNTAuMy0yMi42LTUwLjMtNTAuNCAwLTI3LjggMjIuNS01MC40IDUwLjMtNTAuNGgxMzRjMjcuOCAwIDUwLjMgMjIuNiA1MC4zIDUwLjQtLjEgMjcuOS0yMi42IDUwLjQtNTAuMyA1MC40em0wLTEzNC40Yy0xMy4zIDAtMjYuMS01LjMtMzUuNi0xNC44UzM5NSAzMjQuOCAzOTUgMzExLjRjMC0yNy44IDIyLjUtNTAuNCA1MC4zLTUwLjQgMjcuOCAwIDUwLjMgMjIuNiA1MC4zIDUwLjR2NTAuNGgtNTAuM3ptMTM0IDQwMy4yYy0yNy44IDAtNTAuMy0yMi42LTUwLjMtNTAuNHYtNTAuNGg1MC4zYzI3LjggMCA1MC4zIDIyLjYgNTAuMyA1MC40IDAgMjcuOC0yMi41IDUwLjQtNTAuMyA1MC40em0xMzQtMTM0LjRoLTEzNGE1MC4zNSA1MC4zNSAwIDAxLTUwLjMtNTAuNGMwLTI3LjggMjIuNS01MC40IDUwLjMtNTAuNGgxMzRjMjcuOCAwIDUwLjMgMjIuNiA1MC4zIDUwLjQgMCAyNy44LTIyLjUgNTAuNC01MC4zIDUwLjR6bTAtMTM0LjRINjYzdi01MC40YzAtMjcuOCAyMi41LTUwLjQgNTAuMy01MC40czUwLjMgMjIuNiA1MC4zIDUwLjRjMCAyNy44LTIyLjUgNTAuNC01MC4zIDUwLjR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SlackSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SlackSquareFilled';\n}\nexport default RefIcon;","import {\n VOID, PRIMITIVE,\n ARRAY, OBJECT,\n DATE, REGEXP, MAP, SET,\n ERROR, BIGINT\n} from './types.js';\n\nconst env = typeof self === 'object' ? self : globalThis;\n\nconst deserializer = ($, _) => {\n const as = (out, index) => {\n $.set(index, out);\n return out;\n };\n\n const unpair = index => {\n if ($.has(index))\n return $.get(index);\n\n const [type, value] = _[index];\n switch (type) {\n case PRIMITIVE:\n case VOID:\n return as(value, index);\n case ARRAY: {\n const arr = as([], index);\n for (const index of value)\n arr.push(unpair(index));\n return arr;\n }\n case OBJECT: {\n const object = as({}, index);\n for (const [key, index] of value)\n object[unpair(key)] = unpair(index);\n return object;\n }\n case DATE:\n return as(new Date(value), index);\n case REGEXP: {\n const {source, flags} = value;\n return as(new RegExp(source, flags), index);\n }\n case MAP: {\n const map = as(new Map, index);\n for (const [key, index] of value)\n map.set(unpair(key), unpair(index));\n return map;\n }\n case SET: {\n const set = as(new Set, index);\n for (const index of value)\n set.add(unpair(index));\n return set;\n }\n case ERROR: {\n const {name, message} = value;\n return as(new env[name](message), index);\n }\n case BIGINT:\n return as(BigInt(value), index);\n case 'BigInt':\n return as(Object(BigInt(value)), index);\n }\n return as(new env[type](value), index);\n };\n\n return unpair;\n};\n\n/**\n * @typedef {Array} Record a type representation\n */\n\n/**\n * Returns a deserialized value from a serialized array of Records.\n * @param {Record[]} serialized a previously serialized value.\n * @returns {any}\n */\nexport const deserialize = serialized => deserializer(new Map, serialized)(0);\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WeiboCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/WeiboCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WeiboCircleOutlined = function WeiboCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WeiboCircleOutlinedSvg\n }));\n};\n\n/**![weibo-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NC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jJ6bS0zMzQuNSA2LjFjLTkxLjQgOS0xNjAuNyA2NS4xLTE1NC43IDEyNS4yIDUuOSA2MC4xIDg0LjggMTAxLjUgMTc2LjIgOTIuNSA5MS40LTkuMSAxNjAuNy02NS4xIDE1NC43LTEyNS4zLTUuOS02MC4xLTg0LjgtMTAxLjUtMTc2LjItOTIuNHptODAuMiAxNDEuN2MtMTguNyA0Mi4zLTcyLjMgNjQuOC0xMTcuOCA1MC4xLTQzLjktMTQuMi02Mi41LTU3LjctNDMuMy05Ni44IDE4LjktMzguNCA2OC02MC4xIDExMS41LTQ4LjggNDUgMTEuNyA2OCA1NC4yIDQ5LjYgOTUuNXptLTkzLTMyLjJjLTE0LjItNS45LTMyLjQuMi00MS4yIDEzLjktOC44IDEzLjgtNC43IDMwLjIgOS4zIDM2LjYgMTQuMyA2LjUgMzMuMi4zIDQyLTEzLjggOC44LTE0LjMgNC4yLTMwLjYtMTAuMS0zNi43em0zNC45LTE0LjVjLTUuNC0yLjItMTIuMi41LTE1LjQgNS44LTMuMSA1LjQtMS40IDExLjUgNC4xIDEzLjggNS41IDIuMyAxMi42LS4zIDE1LjgtNS44IDMtNS42IDEtMTEuOC00LjUtMTMuOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WeiboCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WeiboCircleOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SketchSquareFilledSvg from \"@ant-design/icons-svg/es/asn/SketchSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SketchSquareFilled = function SketchSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SketchSquareFilledSvg\n }));\n};\n\n/**![sketch-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwOC4yIDQyMy4zTDUxMiAzMjYuMWwtOTYuMiA5Ny4yem0tMjUuOSAyMDIuM2wxNDcuOS0xNjYuM2gtNjMuNHptOTAtMjAyLjNoNjIuNWwtOTIuMS0xMTUuMXpNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tODEuMyAzMzIuMkw1MTUuOCA3NjIuM2MtMSAxLjEtMi40IDEuNy0zLjggMS43cy0yLjgtLjYtMy44LTEuN0wyMjUuMyA0NDQuMmE1LjE0IDUuMTQgMCAwMS0uMi02LjZMMzY1LjYgMjYyYzEtMS4yIDIuNC0xLjkgNC0xLjloMjg0LjZjMS42IDAgMyAuNyA0IDEuOWwxNDAuNSAxNzUuNmE0LjkgNC45IDAgMDEwIDYuNnptLTQwMS4xIDE1LjFMNTEyIDY4NC41bDExNC40LTIyNS4yem0tMTYuMy0xNTEuMWwtOTIuMSAxMTUuMWg2Mi41em0tODcuNSAxNTEuMWwxNDcuOSAxNjYuMy04NC41LTE2Ni4zem0xMjYuNS0xNTguMmwtMjMuMSA4OS44IDg4LjgtODkuOHptMTgzLjQgMEg1MzhsODguOCA4OS44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SketchSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SketchSquareFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TransactionOutlinedSvg from \"@ant-design/icons-svg/es/asn/TransactionOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TransactionOutlined = function TransactionOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TransactionOutlinedSvg\n }));\n};\n\n/**![transaction](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTY2OC42IDMyMGMwLTQuNC0zLjYtOC04LThoLTU0LjVjLTMgMC01LjggMS43LTcuMSA0LjRsLTg0LjcgMTY4LjhINTExbC04NC43LTE2OC44YTggOCAwIDAwLTcuMS00LjRoLTU1LjdjLTEuMyAwLTIuNi4zLTMuOCAxLTMuOSAyLjEtNS4zIDctMy4yIDEwLjhsMTAzLjkgMTkxLjZoLTU3Yy00LjQgMC04IDMuNi04IDh2MjcuMWMwIDQuNCAzLjYgOCA4IDhoNzZ2MzloLTc2Yy00LjQgMC04IDMuNi04IDh2MjcuMWMwIDQuNCAzLjYgOCA4IDhoNzZWNzA0YzAgNC40IDMuNiA4IDggOGg0OS45YzQuNCAwIDgtMy42IDgtOHYtNjMuNWg3Ni4zYzQuNCAwIDgtMy42IDgtOHYtMjcuMWMwLTQuNC0zLjYtOC04LThoLTc2LjN2LTM5aDc2LjNjNC40IDAgOC0zLjYgOC04di0yNy4xYzAtNC40LTMuNi04LTgtOEg1NjRsMTAzLjctMTkxLjZjLjUtMS4xLjktMi40LjktMy43ek0xNTcuOSA1MDQuMmEzNTIuNyAzNTIuNyAwIDAxMTAzLjUtMjQyLjRjMzIuNS0zMi41IDcwLjMtNTguMSAxMTIuNC03NS45IDQzLjYtMTguNCA4OS45LTI3LjggMTM3LjYtMjcuOCA0Ny44IDAgOTQuMSA5LjMgMTM3LjYgMjcuOCA0Mi4xIDE3LjggNzkuOSA0My40IDExMi40IDc1LjkgMTAgMTAgMTkuMyAyMC41IDI3LjkgMzEuNGwtNTAgMzkuMWE4IDggMCAwMDMgMTQuMWwxNTYuOCAzOC4zYzUgMS4yIDkuOS0yLjYgOS45LTcuN2wuOC0xNjEuNWMwLTYuNy03LjctMTAuNS0xMi45LTYuM2wtNDcuOCAzNy40Qzc3MC43IDE0Ni4zIDY0OC42IDgyIDUxMS41IDgyIDI3NyA4MiA4Ni4zIDI3MC4xIDgyIDUwMy44YTggOCAwIDAwOCA4LjJoNjBjNC4zIDAgNy44LTMuNSA3LjktNy44ek05MzQgNTEyaC02MGMtNC4zIDAtNy45IDMuNS04IDcuOGEzNTIuNyAzNTIuNyAwIDAxLTEwMy41IDI0Mi40IDM1Mi41NyAzNTIuNTcgMCAwMS0xMTIuNCA3NS45Yy00My42IDE4LjQtODkuOSAyNy44LTEzNy42IDI3LjhzLTk0LjEtOS4zLTEzNy42LTI3LjhhMzUyLjU3IDM1Mi41NyAwIDAxLTExMi40LTc1LjljLTEwLTEwLTE5LjMtMjAuNS0yNy45LTMxLjRsNDkuOS0zOS4xYTggOCAwIDAwLTMtMTQuMWwtMTU2LjgtMzguM2MtNS0xLjItOS45IDIuNi05LjkgNy43bC0uOCAxNjEuN2MwIDYuNyA3LjcgMTAuNSAxMi45IDYuM2w0Ny44LTM3LjRDMjUzLjMgODc3LjcgMzc1LjQgOTQyIDUxMi41IDk0MiA3NDcgOTQyIDkzNy43IDc1My45IDk0MiA1MjAuMmE4IDggMCAwMC04LTguMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TransactionOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TransactionOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SkinTwoToneSvg from \"@ant-design/icons-svg/es/asn/SkinTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SkinTwoTone = function SkinTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SkinTwoToneSvg\n }));\n};\n\n/**![skin](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiAzMThjLTc5LjIgMC0xNDguNS00OC44LTE3Ni43LTEyMEgxODJ2MTk2aDExOXY0MzJoNDIyVjM5NGgxMTlWMTk4SDY4OC43Yy0yOC4yIDcxLjItOTcuNSAxMjAtMTc2LjcgMTIweiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNODcwIDEyNkg2NjMuOGMtMTcuNCAwLTMyLjkgMTEuOS0zNyAyOS4zQzYxNC4zIDIwOC4xIDU2NyAyNDYgNTEyIDI0NnMtMTAyLjMtMzcuOS0xMTQuOC05MC43YTM3LjkzIDM3LjkzIDAgMDAtMzctMjkuM0gxNTRhNDQgNDQgMCAwMC00NCA0NHYyNTJhNDQgNDQgMCAwMDQ0IDQ0aDc1djM4OGE0NCA0NCAwIDAwNDQgNDRoNDc4YTQ0IDQ0IDAgMDA0NC00NFY0NjZoNzVhNDQgNDQgMCAwMDQ0LTQ0VjE3MGE0NCA0NCAwIDAwLTQ0LTQ0em0tMjggMjY4SDcyM3Y0MzJIMzAxVjM5NEgxODJWMTk4aDE1My4zYzI4LjIgNzEuMiA5Ny41IDEyMCAxNzYuNyAxMjBzMTQ4LjUtNDguOCAxNzYuNy0xMjBIODQydjE5NnoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SkinTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SkinTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PushpinOutlinedSvg from \"@ant-design/icons-svg/es/asn/PushpinOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PushpinOutlined = function PushpinOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PushpinOutlinedSvg\n }));\n};\n\n/**![pushpin](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3OC4zIDM5Mi4xTDYzMS45IDE0NS43Yy02LjUtNi41LTE1LTkuNy0yMy41LTkuN3MtMTcgMy4yLTIzLjUgOS43TDQyMy44IDMwNi45Yy0xMi4yLTEuNC0yNC41LTItMzYuOC0yLTczLjIgMC0xNDYuNCAyNC4xLTIwNi41IDcyLjNhMzMuMjMgMzMuMjMgMCAwMC0yLjcgNDkuNGwxODEuNyAxODEuNy0yMTUuNCAyMTUuMmExNS44IDE1LjggMCAwMC00LjYgOS44bC0zLjQgMzcuMmMtLjkgOS40IDYuNiAxNy40IDE1LjkgMTcuNC41IDAgMSAwIDEuNS0uMWwzNy4yLTMuNGMzLjctLjMgNy4yLTIgOS44LTQuNmwyMTUuNC0yMTUuNCAxODEuNyAxODEuN2M2LjUgNi41IDE1IDkuNyAyMy41IDkuNyA5LjcgMCAxOS4zLTQuMiAyNS45LTEyLjQgNTYuMy03MC4zIDc5LjctMTU4LjMgNzAuMi0yNDMuNGwxNjEuMS0xNjEuMWMxMi45LTEyLjggMTIuOS0zMy44IDAtNDYuOHpNNjY2LjIgNTQ5LjNsLTI0LjUgMjQuNSAzLjggMzQuNGEyNTkuOTIgMjU5LjkyIDAgMDEtMzAuNCAxNTMuOUwyNjIgNDA4LjhjMTIuOS03LjEgMjYuMy0xMy4xIDQwLjMtMTcuOSAyNy4yLTkuNCA1NS43LTE0LjEgODQuNy0xNC4xIDkuNiAwIDE5LjMuNSAyOC45IDEuNmwzNC40IDMuOCAyNC41LTI0LjVMNjA4LjUgMjI0IDgwMCA0MTUuNSA2NjYuMiA1NDkuM3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PushpinOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PushpinOutlined';\n}\nexport default RefIcon;","export { default as genCalc } from \"./calc\";\nexport { default as createTheme } from \"./createTheme\";\nexport { default as Theme } from \"./Theme\";\nexport { default as ThemeCache } from \"./ThemeCache\";","export { gfmTableHtml } from './lib/html.js';\nexport { gfmTable } from './lib/syntax.js';","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WalletFilledSvg from \"@ant-design/icons-svg/es/asn/WalletFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WalletFilled = function WalletFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WalletFilledSvg\n }));\n};\n\n/**![wallet](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTMyIDQ2NEg1MjhWNDQ4aDMyMHYxMjh6bS0yNjgtNjRhNDAgNDAgMCAxMDgwIDAgNDAgNDAgMCAxMC04MCAweiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WalletFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WalletFilled';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport { warning } from 'rc-util';\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport * as React from 'react';\nimport { formatValue } from \"../../../utils/dateUtil\";\nexport default function useInputProps(props, /** Used for SinglePicker */\npostProps) {\n var format = props.format,\n maskFormat = props.maskFormat,\n generateConfig = props.generateConfig,\n locale = props.locale,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n inputReadOnly = props.inputReadOnly,\n required = props.required,\n ariaRequired = props['aria-required'],\n onSubmit = props.onSubmit,\n _onFocus = props.onFocus,\n _onBlur = props.onBlur,\n onInputChange = props.onInputChange,\n onInvalid = props.onInvalid,\n open = props.open,\n onOpenChange = props.onOpenChange,\n _onKeyDown = props.onKeyDown,\n _onChange = props.onChange,\n activeHelp = props.activeHelp,\n name = props.name,\n autoComplete = props.autoComplete,\n id = props.id,\n value = props.value,\n invalid = props.invalid,\n placeholder = props.placeholder,\n disabled = props.disabled,\n activeIndex = props.activeIndex,\n allHelp = props.allHelp,\n picker = props.picker;\n\n // ======================== Parser ========================\n var parseDate = function parseDate(str, formatStr) {\n var parsed = generateConfig.locale.parse(locale.locale, str, [formatStr]);\n return parsed && generateConfig.isValidate(parsed) ? parsed : null;\n };\n\n // ========================= Text =========================\n var firstFormat = format[0];\n var getText = React.useCallback(function (date) {\n return formatValue(date, {\n locale: locale,\n format: firstFormat,\n generateConfig: generateConfig\n });\n }, [locale, generateConfig, firstFormat]);\n var valueTexts = React.useMemo(function () {\n return value.map(getText);\n }, [value, getText]);\n\n // ========================= Size =========================\n var size = React.useMemo(function () {\n var defaultSize = picker === 'time' ? 8 : 10;\n var length = typeof firstFormat === 'function' ? firstFormat(generateConfig.getNow()).length : firstFormat.length;\n return Math.max(defaultSize, length) + 2;\n }, [firstFormat, picker, generateConfig]);\n\n // ======================= Validate =======================\n var _validateFormat = function validateFormat(text) {\n for (var i = 0; i < format.length; i += 1) {\n var singleFormat = format[i];\n\n // Only support string type\n if (typeof singleFormat === 'string') {\n var parsed = parseDate(text, singleFormat);\n if (parsed) {\n return parsed;\n }\n }\n }\n return false;\n };\n\n // ======================== Input =========================\n var getInputProps = function getInputProps(index) {\n function getProp(propValue) {\n return index !== undefined ? propValue[index] : propValue;\n }\n var pickedAttrs = pickAttrs(props, {\n aria: true,\n data: true\n });\n var inputProps = _objectSpread(_objectSpread({}, pickedAttrs), {}, {\n // ============== Shared ==============\n format: maskFormat,\n validateFormat: function validateFormat(text) {\n return !!_validateFormat(text);\n },\n preserveInvalidOnBlur: preserveInvalidOnBlur,\n readOnly: inputReadOnly,\n required: required,\n 'aria-required': ariaRequired,\n name: name,\n autoComplete: autoComplete,\n size: size,\n // ============= By Index =============\n id: getProp(id),\n value: getProp(valueTexts) || '',\n invalid: getProp(invalid),\n placeholder: getProp(placeholder),\n active: activeIndex === index,\n helped: allHelp || activeHelp && activeIndex === index,\n disabled: getProp(disabled),\n onFocus: function onFocus(event) {\n _onFocus(event, index);\n },\n onBlur: function onBlur(event) {\n // Blur do not trigger close\n // Since it may focus to the popup panel\n _onBlur(event, index);\n },\n onSubmit: onSubmit,\n // Get validate text value\n onChange: function onChange(text) {\n onInputChange();\n var parsed = _validateFormat(text);\n if (parsed) {\n onInvalid(false, index);\n _onChange(parsed, index);\n return;\n }\n\n // Tell outer that the value typed is invalid.\n // If text is empty, it means valid.\n onInvalid(!!text, index);\n },\n onHelp: function onHelp() {\n onOpenChange(true, {\n index: index\n });\n },\n onKeyDown: function onKeyDown(event) {\n var prevented = false;\n _onKeyDown === null || _onKeyDown === void 0 || _onKeyDown(event, function () {\n if (process.env.NODE_ENV !== 'production') {\n warning(false, '`preventDefault` callback is deprecated. Please call `event.preventDefault` directly.');\n }\n prevented = true;\n });\n if (!event.defaultPrevented && !prevented) {\n switch (event.key) {\n case 'Escape':\n onOpenChange(false, {\n index: index\n });\n break;\n case 'Enter':\n if (!open) {\n onOpenChange(true);\n }\n break;\n }\n }\n }\n }, postProps === null || postProps === void 0 ? void 0 : postProps({\n valueTexts: valueTexts\n }));\n\n // ============== Clean Up ==============\n Object.keys(inputProps).forEach(function (key) {\n if (inputProps[key] === undefined) {\n delete inputProps[key];\n }\n });\n return inputProps;\n };\n return [getInputProps, getText];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport EyeOutlinedSvg from \"@ant-design/icons-svg/es/asn/EyeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar EyeOutlined = function EyeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: EyeOutlinedSvg\n }));\n};\n\n/**![eye](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTk0Mi4yIDQ4Ni4yQzg0Ny40IDI4Ni41IDcwNC4xIDE4NiA1MTIgMTg2Yy0xOTIuMiAwLTMzNS40IDEwMC41LTQzMC4yIDMwMC4zYTYwLjMgNjAuMyAwIDAwMCA1MS41QzE3Ni42IDczNy41IDMxOS45IDgzOCA1MTIgODM4YzE5Mi4yIDAgMzM1LjQtMTAwLjUgNDMwLjItMzAwLjMgNy43LTE2LjIgNy43LTM1IDAtNTEuNXpNNTEyIDc2NmMtMTYxLjMgMC0yNzkuNC04MS44LTM2Mi43LTI1NEMyMzIuNiAzMzkuOCAzNTAuNyAyNTggNTEyIDI1OGMxNjEuMyAwIDI3OS40IDgxLjggMzYyLjcgMjU0Qzc5MS41IDY4NC4yIDY3My40IDc2NiA1MTIgNzY2em0tNC00MzBjLTk3LjIgMC0xNzYgNzguOC0xNzYgMTc2czc4LjggMTc2IDE3NiAxNzYgMTc2LTc4LjggMTc2LTE3Ni03OC44LTE3Ni0xNzYtMTc2em0wIDI4OGMtNjEuOSAwLTExMi01MC4xLTExMi0xMTJzNTAuMS0xMTIgMTEyLTExMiAxMTIgNTAuMSAxMTIgMTEyLTUwLjEgMTEyLTExMiAxMTJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(EyeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'EyeOutlined';\n}\nexport default RefIcon;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport * as React from 'react';\nimport { toArray } from \"../../utils/miscUtil\";\nimport { getRealPlacement, getoffsetUnit } from \"../../utils/uiUtil\";\nimport PickerContext from \"../context\";\nimport Footer from \"./Footer\";\nimport PopupPanel from \"./PopupPanel\";\nimport PresetPanel from \"./PresetPanel\";\nexport default function Popup(props) {\n var panelRender = props.panelRender,\n internalMode = props.internalMode,\n picker = props.picker,\n showNow = props.showNow,\n range = props.range,\n multiple = props.multiple,\n _props$activeOffset = props.activeOffset,\n activeOffset = _props$activeOffset === void 0 ? 0 : _props$activeOffset,\n placement = props.placement,\n presets = props.presets,\n onPresetHover = props.onPresetHover,\n onPresetSubmit = props.onPresetSubmit,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPanelMouseDown = props.onPanelMouseDown,\n direction = props.direction,\n value = props.value,\n onSelect = props.onSelect,\n isInvalid = props.isInvalid,\n defaultOpenValue = props.defaultOpenValue,\n onOk = props.onOk,\n onSubmit = props.onSubmit;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n var panelPrefixCls = \"\".concat(prefixCls, \"-panel\");\n var rtl = direction === 'rtl';\n\n // ========================= Refs =========================\n var arrowRef = React.useRef(null);\n var wrapperRef = React.useRef(null);\n\n // ======================== Offset ========================\n var _React$useState = React.useState(0),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n containerWidth = _React$useState2[0],\n setContainerWidth = _React$useState2[1];\n var _React$useState3 = React.useState(0),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n containerOffset = _React$useState4[0],\n setContainerOffset = _React$useState4[1];\n var onResize = function onResize(info) {\n if (info.offsetWidth) {\n setContainerWidth(info.offsetWidth);\n }\n };\n React.useEffect(function () {\n // `activeOffset` is always align with the active input element\n // So we need only check container contains the `activeOffset`\n if (range) {\n var _arrowRef$current;\n // Offset in case container has border radius\n var arrowWidth = ((_arrowRef$current = arrowRef.current) === null || _arrowRef$current === void 0 ? void 0 : _arrowRef$current.offsetWidth) || 0;\n var maxOffset = containerWidth - arrowWidth;\n if (activeOffset <= maxOffset) {\n setContainerOffset(0);\n } else {\n setContainerOffset(activeOffset + arrowWidth - containerWidth);\n }\n }\n }, [containerWidth, activeOffset, range]);\n\n // ======================== Custom ========================\n function filterEmpty(list) {\n return list.filter(function (item) {\n return item;\n });\n }\n var valueList = React.useMemo(function () {\n return filterEmpty(toArray(value));\n }, [value]);\n var isTimePickerEmptyValue = picker === 'time' && !valueList.length;\n var footerSubmitValue = React.useMemo(function () {\n if (isTimePickerEmptyValue) {\n return filterEmpty([defaultOpenValue]);\n }\n return valueList;\n }, [isTimePickerEmptyValue, valueList, defaultOpenValue]);\n var popupPanelValue = isTimePickerEmptyValue ? defaultOpenValue : valueList;\n var disableSubmit = React.useMemo(function () {\n // Empty is invalid\n if (!footerSubmitValue.length) {\n return true;\n }\n return footerSubmitValue.some(function (val) {\n return isInvalid(val);\n });\n }, [footerSubmitValue, isInvalid]);\n var onFooterSubmit = function onFooterSubmit() {\n // For TimePicker, we will additional trigger the value update\n if (isTimePickerEmptyValue) {\n onSelect(defaultOpenValue);\n }\n onOk();\n onSubmit();\n };\n var mergedNodes = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-panel-layout\")\n }, /*#__PURE__*/React.createElement(PresetPanel, {\n prefixCls: prefixCls,\n presets: presets,\n onClick: onPresetSubmit,\n onHover: onPresetHover\n }), /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(PopupPanel, _extends({}, props, {\n value: popupPanelValue\n })), /*#__PURE__*/React.createElement(Footer, _extends({}, props, {\n showNow: multiple ? false : showNow,\n invalid: disableSubmit,\n onSubmit: onFooterSubmit\n }))));\n if (panelRender) {\n mergedNodes = panelRender(mergedNodes);\n }\n\n // ======================== Render ========================\n var containerPrefixCls = \"\".concat(panelPrefixCls, \"-container\");\n var marginLeft = 'marginLeft';\n var marginRight = 'marginRight';\n\n // Container\n var renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n tabIndex: -1,\n className: classNames(containerPrefixCls, // Used for Today Button style, safe to remove if no need\n \"\".concat(prefixCls, \"-\").concat(internalMode, \"-panel-container\")),\n style: _defineProperty(_defineProperty({}, rtl ? marginRight : marginLeft, containerOffset), rtl ? marginLeft : marginRight, 'auto')\n // Still wish not to lose focus on mouse down\n // onMouseDown={(e) => {\n // // e.preventDefault();\n // }}\n ,\n onFocus: onFocus,\n onBlur: onBlur\n }, mergedNodes);\n if (range) {\n var realPlacement = getRealPlacement(placement, rtl);\n var offsetUnit = getoffsetUnit(realPlacement, rtl);\n renderNode = /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onPanelMouseDown,\n ref: wrapperRef,\n className: classNames(\"\".concat(prefixCls, \"-range-wrapper\"), \"\".concat(prefixCls, \"-\").concat(picker, \"-range-wrapper\"))\n }, /*#__PURE__*/React.createElement(\"div\", {\n ref: arrowRef,\n className: \"\".concat(prefixCls, \"-range-arrow\"),\n style: _defineProperty({}, offsetUnit, activeOffset)\n }), /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: onResize\n }, renderNode));\n }\n return renderNode;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MedicineBoxFilledSvg from \"@ant-design/icons-svg/es/asn/MedicineBoxFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MedicineBoxFilled = function MedicineBoxFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MedicineBoxFilledSvg\n }));\n};\n\n/**![medicine-box](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzOS4yIDI3OC4xYTMyIDMyIDAgMDAtMzAuNC0yMi4xSDczNlYxNDRjMC0xNy43LTE0LjMtMzItMzItMzJIMzIwYy0xNy43IDAtMzIgMTQuMy0zMiAzMnYxMTJoLTcyLjhhMzEuOSAzMS45IDAgMDAtMzAuNCAyMi4xTDExMiA1MDJ2Mzc4YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDczNmMxNy43IDAgMzItMTQuMyAzMi0zMlY1MDJsLTcyLjgtMjIzLjl6TTY2MCA2MjhjMCA0LjQtMy42IDgtOCA4SDU0NHYxMDhjMCA0LjQtMy42IDgtOCA4aC00OGMtNC40IDAtOC0zLjYtOC04VjYzNkgzNzJjLTQuNCAwLTgtMy42LTgtOHYtNDhjMC00LjQgMy42LTggOC04aDEwOFY0NjRjMC00LjQgMy42LTggOC04aDQ4YzQuNCAwIDggMy42IDggOHYxMDhoMTA4YzQuNCAwIDggMy42IDggOHY0OHptNC0zNzJIMzYwdi03MmgzMDR2NzJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MedicineBoxFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MedicineBoxFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport GooglePlusSquareFilledSvg from \"@ant-design/icons-svg/es/asn/GooglePlusSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar GooglePlusSquareFilled = function GooglePlusSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: GooglePlusSquareFilledSvg\n }));\n};\n\n/**![google-plus-square](data:image/svg+xml;base64,PHN2Z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PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(GooglePlusSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'GooglePlusSquareFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ShoppingTwoToneSvg from \"@ant-design/icons-svg/es/asn/ShoppingTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ShoppingTwoTone = function ShoppingTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ShoppingTwoToneSvg\n }));\n};\n\n/**![shopping](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTY5NiA0NzJjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di04OEg0MDB2ODhjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di04OGgtOTZ2NDU2aDU2MFYzODRoLTk2djg4eiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNODMyIDMxMkg2OTZ2LTE2YzAtMTAxLjYtODIuNC0xODQtMTg0LTE4NHMtMTg0IDgyLjQtMTg0IDE4NHYxNkgxOTJjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjUzNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWMzQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDMyLTE2YzAtNjEuOSA1MC4xLTExMiAxMTItMTEyczExMiA1MC4xIDExMiAxMTJ2MTZINDAwdi0xNnptMzkyIDU0NEgyMzJWMzg0aDk2djg4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTg4aDIyNHY4OGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di04OGg5NnY0NTZ6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ShoppingTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ShoppingTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PieChartTwoToneSvg from \"@ant-design/icons-svg/es/asn/PieChartTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PieChartTwoTone = function PieChartTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PieChartTwoToneSvg\n }));\n};\n\n/**![pie-chart](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMxNi4yIDkyMC41Yy00Ny42LTIwLjEtOTAuNC00OS0xMjcuMS04NS43YTM5OC4xOSAzOTguMTkgMCAwMS04NS43LTEyNy4xQTM5Ny4xMiAzOTcuMTIgMCAwMTcyIDU1Mi4ydi4yYTM5OC41NyAzOTguNTcgMCAwMDExNyAyODIuNWMzNi43IDM2LjcgNzkuNCA2NS41IDEyNyA4NS42QTM5Ni42NCAzOTYuNjQgMCAwMDQ3MS42IDk1MmMyNyAwIDUzLjYtMi43IDc5LjctNy45LTI1LjkgNS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xIDAgMDA0NzIgOTUyYzI2LjkgMCA1My40LTIuNiA3OS4zLTcuOCAyNi4xLTUuMyA1MS43LTEzLjEgNzYuNC0yMy42IDQ3LjYtMjAuMSA5MC40LTQ5IDEyNy4xLTg1LjcgMzYuNy0zNi43IDY1LjYtNzkuNSA4NS43LTEyNy4xQTM5Ny42MSAzOTcuNjEgMCAwMDg3MiA1NTJ2LTI2YzAtNC40LTMuNi04LTgtOHpNNzA1LjcgNzg3LjhBMzMxLjU5IDMzMS41OSAwIDAxNDcwLjQgODg0Yy04OC4xLS40LTE3MC45LTM0LjktMjMzLjItOTcuMkMxNzQuNSA3MjQuMSAxNDAgNjQwLjcgMTQwIDU1MnMzNC41LTE3Mi4xIDk3LjItMjM0LjhjNTQuNi01NC42IDEyNC45LTg3LjkgMjAwLjgtOTUuNVY1ODZoMzY0LjNjLTcuNyA3Ni4zLTQxLjMgMTQ3LTk2LjYgMjAxLjh6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik05NTIgNDYyLjRsLTIuNi0yOC4yYy04LjUtOTIuMS00OS40LTE3OS0xMTUuMi0yNDQuNkEzOTkuNCAzOTkuNCAwIDAwNTg5IDc0LjZMNTYwLjcgNzJjLTMuNC0uMy02LjQgMS41LTcuOCA0LjNhOC43IDguNyAwIDAwLS45IDMuNlY0NjRjMCA0LjQgMy42IDggOCA4bDM4NC0xYzEuMiAwIDIuMy0uMyAzLjQtLjdhOC4xIDguMSAwIDAwNC42LTcuOXptLTMzMi4yLTU4LjJWMTQ3LjZhMzMyLjI0IDMzMi4yNCAwIDAxMTY2LjQgODkuOGM0NS43IDQ1LjYgNzcgMTAzLjYgOTAgMTY2LjFsLTI1Ni40Ljd6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PieChartTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PieChartTwoTone';\n}\nexport default RefIcon;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport warning from \"rc-util/es/warning\";\nimport React, { useEffect } from 'react';\nimport zhCN from \"./locale/zh_CN\";\nimport Options from \"./Options\";\nimport Pager from \"./Pager\";\nvar defaultItemRender = function defaultItemRender(page, type, element) {\n return element;\n};\nfunction noop() {}\nfunction isInteger(v) {\n var value = Number(v);\n return typeof value === 'number' && !Number.isNaN(value) && isFinite(value) && Math.floor(value) === value;\n}\nfunction calculatePage(p, pageSize, total) {\n var _pageSize = typeof p === 'undefined' ? pageSize : p;\n return Math.floor((total - 1) / _pageSize) + 1;\n}\nvar Pagination = function Pagination(props) {\n var _classNames5;\n var _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-pagination' : _props$prefixCls,\n _props$selectPrefixCl = props.selectPrefixCls,\n selectPrefixCls = _props$selectPrefixCl === void 0 ? 'rc-select' : _props$selectPrefixCl,\n className = props.className,\n currentProp = props.current,\n _props$defaultCurrent = props.defaultCurrent,\n defaultCurrent = _props$defaultCurrent === void 0 ? 1 : _props$defaultCurrent,\n _props$total = props.total,\n total = _props$total === void 0 ? 0 : _props$total,\n pageSizeProp = props.pageSize,\n _props$defaultPageSiz = props.defaultPageSize,\n defaultPageSize = _props$defaultPageSiz === void 0 ? 10 : _props$defaultPageSiz,\n _props$onChange = props.onChange,\n onChange = _props$onChange === void 0 ? noop : _props$onChange,\n hideOnSinglePage = props.hideOnSinglePage,\n align = props.align,\n _props$showPrevNextJu = props.showPrevNextJumpers,\n showPrevNextJumpers = _props$showPrevNextJu === void 0 ? true : _props$showPrevNextJu,\n showQuickJumper = props.showQuickJumper,\n showLessItems = props.showLessItems,\n _props$showTitle = props.showTitle,\n showTitle = _props$showTitle === void 0 ? true : _props$showTitle,\n _props$onShowSizeChan = props.onShowSizeChange,\n onShowSizeChange = _props$onShowSizeChan === void 0 ? noop : _props$onShowSizeChan,\n _props$locale = props.locale,\n locale = _props$locale === void 0 ? zhCN : _props$locale,\n style = props.style,\n _props$totalBoundaryS = props.totalBoundaryShowSizeChanger,\n totalBoundaryShowSizeChanger = _props$totalBoundaryS === void 0 ? 50 : _props$totalBoundaryS,\n disabled = props.disabled,\n simple = props.simple,\n showTotal = props.showTotal,\n _props$showSizeChange = props.showSizeChanger,\n showSizeChanger = _props$showSizeChange === void 0 ? total > totalBoundaryShowSizeChanger : _props$showSizeChange,\n sizeChangerRender = props.sizeChangerRender,\n pageSizeOptions = props.pageSizeOptions,\n _props$itemRender = props.itemRender,\n itemRender = _props$itemRender === void 0 ? defaultItemRender : _props$itemRender,\n jumpPrevIcon = props.jumpPrevIcon,\n jumpNextIcon = props.jumpNextIcon,\n prevIcon = props.prevIcon,\n nextIcon = props.nextIcon;\n var paginationRef = React.useRef(null);\n var _useMergedState = useMergedState(10, {\n value: pageSizeProp,\n defaultValue: defaultPageSize\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n pageSize = _useMergedState2[0],\n setPageSize = _useMergedState2[1];\n var _useMergedState3 = useMergedState(1, {\n value: currentProp,\n defaultValue: defaultCurrent,\n postState: function postState(c) {\n return Math.max(1, Math.min(c, calculatePage(undefined, pageSize, total)));\n }\n }),\n _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n current = _useMergedState4[0],\n setCurrent = _useMergedState4[1];\n var _React$useState = React.useState(current),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n internalInputVal = _React$useState2[0],\n setInternalInputVal = _React$useState2[1];\n useEffect(function () {\n setInternalInputVal(current);\n }, [current]);\n var hasOnChange = onChange !== noop;\n var hasCurrent = ('current' in props);\n if (process.env.NODE_ENV !== 'production') {\n warning(hasCurrent ? hasOnChange : true, 'You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.');\n }\n var jumpPrevPage = Math.max(1, current - (showLessItems ? 3 : 5));\n var jumpNextPage = Math.min(calculatePage(undefined, pageSize, total), current + (showLessItems ? 3 : 5));\n function getItemIcon(icon, label) {\n var iconNode = icon || /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n \"aria-label\": label,\n className: \"\".concat(prefixCls, \"-item-link\")\n });\n if (typeof icon === 'function') {\n iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread({}, props));\n }\n return iconNode;\n }\n function getValidValue(e) {\n var inputValue = e.target.value;\n var allPages = calculatePage(undefined, pageSize, total);\n var value;\n if (inputValue === '') {\n value = inputValue;\n } else if (Number.isNaN(Number(inputValue))) {\n value = internalInputVal;\n } else if (inputValue >= allPages) {\n value = allPages;\n } else {\n value = Number(inputValue);\n }\n return value;\n }\n function isValid(page) {\n return isInteger(page) && page !== current && isInteger(total) && total > 0;\n }\n var shouldDisplayQuickJumper = total > pageSize ? showQuickJumper : false;\n\n /**\n * prevent \"up arrow\" key reseting cursor position within textbox\n * @see https://stackoverflow.com/a/1081114\n */\n function handleKeyDown(event) {\n if (event.keyCode === KeyCode.UP || event.keyCode === KeyCode.DOWN) {\n event.preventDefault();\n }\n }\n function handleKeyUp(event) {\n var value = getValidValue(event);\n if (value !== internalInputVal) {\n setInternalInputVal(value);\n }\n switch (event.keyCode) {\n case KeyCode.ENTER:\n handleChange(value);\n break;\n case KeyCode.UP:\n handleChange(value - 1);\n break;\n case KeyCode.DOWN:\n handleChange(value + 1);\n break;\n default:\n break;\n }\n }\n function handleBlur(event) {\n handleChange(getValidValue(event));\n }\n function changePageSize(size) {\n var newCurrent = calculatePage(size, pageSize, total);\n var nextCurrent = current > newCurrent && newCurrent !== 0 ? newCurrent : current;\n setPageSize(size);\n setInternalInputVal(nextCurrent);\n onShowSizeChange === null || onShowSizeChange === void 0 || onShowSizeChange(current, size);\n setCurrent(nextCurrent);\n onChange === null || onChange === void 0 || onChange(nextCurrent, size);\n }\n function handleChange(page) {\n if (isValid(page) && !disabled) {\n var currentPage = calculatePage(undefined, pageSize, total);\n var newPage = page;\n if (page > currentPage) {\n newPage = currentPage;\n } else if (page < 1) {\n newPage = 1;\n }\n if (newPage !== internalInputVal) {\n setInternalInputVal(newPage);\n }\n setCurrent(newPage);\n onChange === null || onChange === void 0 || onChange(newPage, pageSize);\n return newPage;\n }\n return current;\n }\n var hasPrev = current > 1;\n var hasNext = current < calculatePage(undefined, pageSize, total);\n function prevHandle() {\n if (hasPrev) handleChange(current - 1);\n }\n function nextHandle() {\n if (hasNext) handleChange(current + 1);\n }\n function jumpPrevHandle() {\n handleChange(jumpPrevPage);\n }\n function jumpNextHandle() {\n handleChange(jumpNextPage);\n }\n function runIfEnter(event, callback) {\n if (event.key === 'Enter' || event.charCode === KeyCode.ENTER || event.keyCode === KeyCode.ENTER) {\n for (var _len = arguments.length, restParams = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n restParams[_key - 2] = arguments[_key];\n }\n callback.apply(void 0, restParams);\n }\n }\n function runIfEnterPrev(event) {\n runIfEnter(event, prevHandle);\n }\n function runIfEnterNext(event) {\n runIfEnter(event, nextHandle);\n }\n function runIfEnterJumpPrev(event) {\n runIfEnter(event, jumpPrevHandle);\n }\n function runIfEnterJumpNext(event) {\n runIfEnter(event, jumpNextHandle);\n }\n function renderPrev(prevPage) {\n var prevButton = itemRender(prevPage, 'prev', getItemIcon(prevIcon, 'prev page'));\n return /*#__PURE__*/React.isValidElement(prevButton) ? /*#__PURE__*/React.cloneElement(prevButton, {\n disabled: !hasPrev\n }) : prevButton;\n }\n function renderNext(nextPage) {\n var nextButton = itemRender(nextPage, 'next', getItemIcon(nextIcon, 'next page'));\n return /*#__PURE__*/React.isValidElement(nextButton) ? /*#__PURE__*/React.cloneElement(nextButton, {\n disabled: !hasNext\n }) : nextButton;\n }\n function handleGoTO(event) {\n if (event.type === 'click' || event.keyCode === KeyCode.ENTER) {\n handleChange(internalInputVal);\n }\n }\n var jumpPrev = null;\n var dataOrAriaAttributeProps = pickAttrs(props, {\n aria: true,\n data: true\n });\n var totalText = showTotal && /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-total-text\")\n }, showTotal(total, [total === 0 ? 0 : (current - 1) * pageSize + 1, current * pageSize > total ? total : current * pageSize]));\n var jumpNext = null;\n var allPages = calculatePage(undefined, pageSize, total);\n\n // ================== Render ==================\n // When hideOnSinglePage is true and there is only 1 page, hide the pager\n if (hideOnSinglePage && total <= pageSize) {\n return null;\n }\n var pagerList = [];\n var pagerProps = {\n rootPrefixCls: prefixCls,\n onClick: handleChange,\n onKeyPress: runIfEnter,\n showTitle: showTitle,\n itemRender: itemRender,\n page: -1\n };\n var prevPage = current - 1 > 0 ? current - 1 : 0;\n var nextPage = current + 1 < allPages ? current + 1 : allPages;\n var goButton = showQuickJumper && showQuickJumper.goButton;\n\n // ================== Simple ==================\n // FIXME: ts type\n var isReadOnly = _typeof(simple) === 'object' ? simple.readOnly : !simple;\n var gotoButton = goButton;\n var simplePager = null;\n if (simple) {\n // ====== Simple quick jump ======\n if (goButton) {\n if (typeof goButton === 'boolean') {\n gotoButton = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: handleGoTO,\n onKeyUp: handleGoTO\n }, locale.jump_to_confirm);\n } else {\n gotoButton = /*#__PURE__*/React.createElement(\"span\", {\n onClick: handleGoTO,\n onKeyUp: handleGoTO\n }, goButton);\n }\n gotoButton = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? \"\".concat(locale.jump_to).concat(current, \"/\").concat(allPages) : null,\n className: \"\".concat(prefixCls, \"-simple-pager\")\n }, gotoButton);\n }\n simplePager = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? \"\".concat(current, \"/\").concat(allPages) : null,\n className: \"\".concat(prefixCls, \"-simple-pager\")\n }, isReadOnly ? internalInputVal : /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n value: internalInputVal,\n disabled: disabled,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n onChange: handleKeyUp,\n onBlur: handleBlur,\n size: 3\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-slash\")\n }, \"/\"), allPages);\n }\n\n // ====================== Normal ======================\n var pageBufferSize = showLessItems ? 1 : 2;\n if (allPages <= 3 + pageBufferSize * 2) {\n if (!allPages) {\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: \"noPager\",\n page: 1,\n className: \"\".concat(prefixCls, \"-item-disabled\")\n })));\n }\n for (var i = 1; i <= allPages; i += 1) {\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: i,\n page: i,\n active: current === i\n })));\n }\n } else {\n var prevItemTitle = showLessItems ? locale.prev_3 : locale.prev_5;\n var nextItemTitle = showLessItems ? locale.next_3 : locale.next_5;\n var jumpPrevContent = itemRender(jumpPrevPage, 'jump-prev', getItemIcon(jumpPrevIcon, 'prev page'));\n var jumpNextContent = itemRender(jumpNextPage, 'jump-next', getItemIcon(jumpNextIcon, 'next page'));\n if (showPrevNextJumpers) {\n jumpPrev = jumpPrevContent ? /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? prevItemTitle : null,\n key: \"prev\",\n onClick: jumpPrevHandle,\n tabIndex: 0,\n onKeyDown: runIfEnterJumpPrev,\n className: classNames(\"\".concat(prefixCls, \"-jump-prev\"), _defineProperty({}, \"\".concat(prefixCls, \"-jump-prev-custom-icon\"), !!jumpPrevIcon))\n }, jumpPrevContent) : null;\n jumpNext = jumpNextContent ? /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? nextItemTitle : null,\n key: \"next\",\n onClick: jumpNextHandle,\n tabIndex: 0,\n onKeyDown: runIfEnterJumpNext,\n className: classNames(\"\".concat(prefixCls, \"-jump-next\"), _defineProperty({}, \"\".concat(prefixCls, \"-jump-next-custom-icon\"), !!jumpNextIcon))\n }, jumpNextContent) : null;\n }\n var left = Math.max(1, current - pageBufferSize);\n var right = Math.min(current + pageBufferSize, allPages);\n if (current - 1 <= pageBufferSize) {\n right = 1 + pageBufferSize * 2;\n }\n if (allPages - current <= pageBufferSize) {\n left = allPages - pageBufferSize * 2;\n }\n for (var _i = left; _i <= right; _i += 1) {\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: _i,\n page: _i,\n active: current === _i\n })));\n }\n if (current - 1 >= pageBufferSize * 2 && current !== 1 + 2) {\n pagerList[0] = /*#__PURE__*/React.cloneElement(pagerList[0], {\n className: classNames(\"\".concat(prefixCls, \"-item-after-jump-prev\"), pagerList[0].props.className)\n });\n pagerList.unshift(jumpPrev);\n }\n if (allPages - current >= pageBufferSize * 2 && current !== allPages - 2) {\n var lastOne = pagerList[pagerList.length - 1];\n pagerList[pagerList.length - 1] = /*#__PURE__*/React.cloneElement(lastOne, {\n className: classNames(\"\".concat(prefixCls, \"-item-before-jump-next\"), lastOne.props.className)\n });\n pagerList.push(jumpNext);\n }\n if (left !== 1) {\n pagerList.unshift( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: 1,\n page: 1\n })));\n }\n if (right !== allPages) {\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: allPages,\n page: allPages\n })));\n }\n }\n var prev = renderPrev(prevPage);\n if (prev) {\n var prevDisabled = !hasPrev || !allPages;\n prev = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.prev_page : null,\n onClick: prevHandle,\n tabIndex: prevDisabled ? null : 0,\n onKeyDown: runIfEnterPrev,\n className: classNames(\"\".concat(prefixCls, \"-prev\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), prevDisabled)),\n \"aria-disabled\": prevDisabled\n }, prev);\n }\n var next = renderNext(nextPage);\n if (next) {\n var nextDisabled, nextTabIndex;\n if (simple) {\n nextDisabled = !hasNext;\n nextTabIndex = hasPrev ? 0 : null;\n } else {\n nextDisabled = !hasNext || !allPages;\n nextTabIndex = nextDisabled ? null : 0;\n }\n next = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.next_page : null,\n onClick: nextHandle,\n tabIndex: nextTabIndex,\n onKeyDown: runIfEnterNext,\n className: classNames(\"\".concat(prefixCls, \"-next\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), nextDisabled)),\n \"aria-disabled\": nextDisabled\n }, next);\n }\n var cls = classNames(prefixCls, className, (_classNames5 = {}, _defineProperty(_classNames5, \"\".concat(prefixCls, \"-start\"), align === 'start'), _defineProperty(_classNames5, \"\".concat(prefixCls, \"-center\"), align === 'center'), _defineProperty(_classNames5, \"\".concat(prefixCls, \"-end\"), align === 'end'), _defineProperty(_classNames5, \"\".concat(prefixCls, \"-simple\"), simple), _defineProperty(_classNames5, \"\".concat(prefixCls, \"-disabled\"), disabled), _classNames5));\n return /*#__PURE__*/React.createElement(\"ul\", _extends({\n className: cls,\n style: style,\n ref: paginationRef\n }, dataOrAriaAttributeProps), totalText, prev, simple ? simplePager : pagerList, next, /*#__PURE__*/React.createElement(Options, {\n locale: locale,\n rootPrefixCls: prefixCls,\n disabled: disabled,\n selectPrefixCls: selectPrefixCls,\n changeSize: changePageSize,\n pageSize: pageSize,\n pageSizeOptions: pageSizeOptions,\n quickGo: shouldDisplayQuickJumper ? handleChange : null,\n goButton: gotoButton,\n showSizeChanger: showSizeChanger,\n sizeChangerRender: sizeChangerRender\n }));\n};\nif (process.env.NODE_ENV !== 'production') {\n Pagination.displayName = 'Pagination';\n}\nexport default Pagination;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport HddOutlinedSvg from \"@ant-design/icons-svg/es/asn/HddOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar HddOutlined = function HddOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: HddOutlinedSvg\n }));\n};\n\n/**![hdd](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA2NEgxOTJjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjgzMmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6bS02MDAgNzJoNTYwdjIwOEgyMzJWMTM2em01NjAgNDgwSDIzMlY0MDhoNTYwdjIwOHptMCAyNzJIMjMyVjY4MGg1NjB2MjA4ek00OTYgMjA4SDMxMmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOGgxODRjNC40IDAgOC0zLjYgOC04di00OGMwLTQuNC0zLjYtOC04LTh6TTMxMiA1NDRoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDMxMmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHptMzI4IDI0NGE0MCA0MCAwIDEwODAgMCA0MCA0MCAwIDEwLTgwIDB6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(HddOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'HddOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport NotificationTwoToneSvg from \"@ant-design/icons-svg/es/asn/NotificationTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar NotificationTwoTone = function NotificationTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: NotificationTwoToneSvg\n }));\n};\n\n/**![notification](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIyOS42IDY3OC4xYy0zLjcgMTEuNi01LjYgMjMuOS01LjYgMzYuNCAwLTEyLjUgMi0yNC44IDUuNy0zNi40aC0uMXptNzYuMy0yNjAuMkgxODR2MTg4LjJoMTIxLjlsMTIuOSA1LjJMODQwIDgyMC43VjIwMy4zTDMxOC44IDQxMi43eiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNODgwIDExMmMtMy44IDAtNy43LjctMTEuNiAyLjNMMjkyIDM0NS45SDEyOGMtOC44IDAtMTYgNy40LTE2IDE2LjZ2Mjk5YzAgOS4yIDcuMiAxNi42IDE2IDE2LjZoMTAxLjdjLTMuNyAxMS42LTUuNyAyMy45LTUuNyAzNi40IDAgNjUuOSA1My44IDExOS41IDEyMCAxMTkuNSA1NS40IDAgMTAyLjEtMzcuNiAxMTUuOS04OC40bDQwOC42IDE2NC4yYzMuOSAxLjUgNy44IDIuMyAxMS42IDIuMyAxNi45IDAgMzItMTQuMiAzMi0zMy4yVjE0NS4yQzkxMiAxMjYuMiA4OTcgMTEyIDg4MCAxMTJ6TTM0NCA3NjIuM2MtMjYuNSAwLTQ4LTIxLjQtNDgtNDcuOCAwLTExLjIgMy45LTIxLjkgMTEtMzAuNGw4NC45IDM0LjFjLTIgMjQuNi0yMi43IDQ0LjEtNDcuOSA0NC4xem00OTYgNTguNEwzMTguOCA2MTEuM2wtMTIuOS01LjJIMTg0VjQxNy45aDEyMS45bDEyLjktNS4yTDg0MCAyMDMuM3Y2MTcuNHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(NotificationTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'NotificationTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DeleteColumnOutlinedSvg from \"@ant-design/icons-svg/es/asn/DeleteColumnOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DeleteColumnOutlined = function DeleteColumnOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DeleteColumnOutlinedSvg\n }));\n};\n\n/**![delete-column](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik02NTEuMSA2NDEuOWE3Ljg0IDcuODQgMCAwMC01LjEtMS45aC01NC43Yy0yLjQgMC00LjYgMS4xLTYuMSAyLjlMNTEyIDczMC43bC03My4xLTg3LjhhOC4xIDguMSAwIDAwLTYuMS0yLjlIMzc4Yy0xLjkgMC0zLjcuNy01LjEgMS45YTcuOTcgNy45NyAwIDAwLTEgMTEuM0w0NzQuMiA3NzYgMzcxLjggODk4LjlhOC4wNiA4LjA2IDAgMDA2LjEgMTMuMmg1NC43YzIuNCAwIDQuNi0xLjEgNi4xLTIuOWw3My4xLTg3LjggNzMuMSA4Ny44YTguMSA4LjEgMCAwMDYuMSAyLjloNTVjMS45IDAgMy43LS43IDUuMS0xLjkgMy40LTIuOCAzLjktNy45IDEtMTEuM0w1NDkuOCA3NzZsMTAyLjQtMTIyLjljMi44LTMuNCAyLjMtOC40LTEuMS0xMS4yek00NzIgNTQ0aDgwYzQuNCAwIDgtMy42IDgtOFYxMjBjMC00LjQtMy42LTgtOC04aC04MGMtNC40IDAtOCAzLjYtOCA4djQxNmMwIDQuNCAzLjYgOCA4IDh6TTM1MCAzODZIMTg0VjEzNmMwLTMuMy0yLjctNi02LTZoLTYwYy0zLjMgMC02IDIuNy02IDZ2MjkyYzAgMTYuNiAxMy40IDMwIDMwIDMwaDIwOGMzLjMgMCA2LTIuNyA2LTZ2LTYwYzAtMy4zLTIuNy02LTYtNnptNTU2LTI1NmgtNjBjLTMuMyAwLTYgMi43LTYgNnYyNTBINjc0Yy0zLjMgMC02IDIuNy02IDZ2NjBjMCAzLjMgMi43IDYgNiA2aDIwOGMxNi42IDAgMzAtMTMuNCAzMC0zMFYxMzZjMC0zLjMtMi43LTYtNi02eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DeleteColumnOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DeleteColumnOutlined';\n}\nexport default RefIcon;","import classNames from 'classnames';\nimport * as React from 'react';\nexport default function Popup(props) {\n var children = props.children,\n prefixCls = props.prefixCls,\n id = props.id,\n overlayInnerStyle = props.overlayInnerStyle,\n className = props.className,\n style = props.style;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-content\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-inner\"),\n id: id,\n role: \"tooltip\",\n style: overlayInnerStyle\n }, typeof children === 'function' ? children() : children));\n}","import {caseSensitiveTransform} from './case-sensitive-transform.js'\n\n/**\n * @param {Record} attributes\n * @param {string} property\n * @returns {string}\n */\nexport function caseInsensitiveTransform(attributes, property) {\n return caseSensitiveTransform(attributes, property.toLowerCase())\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DockerOutlinedSvg from \"@ant-design/icons-svg/es/asn/DockerOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DockerOutlined = function DockerOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DockerOutlinedSvg\n }));\n};\n\n/**![docker](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTU1Ljg4IDQ4OC4yNGgtOTIuNjJ2LTgyLjc5aDkyLjYyem0wLTI4Ni4yNGgtOTIuNjJ2ODUuNTloOTIuNjJ6bTEwOS40NSAyMDMuNDVINTcyLjd2ODIuNzloOTIuNjJ6bS0yMTguOS0xMDEuMDJoLTkyLjYxdjg0LjE4aDkyLjZ6bTEwOS40NSAwaC05Mi42MXY4NC4xOGg5Mi42em0zODguNjkgMTQwLjNjLTE5LjY1LTE0LjAyLTY3LjM2LTE4LjIzLTEwMi40NC0xMS4yMi00LjItMzMuNjctMjMuODUtNjMuMTQtNTcuNTMtODkuOGwtMTkuNjUtMTIuNjItMTIuNjIgMTkuNjRjLTI1LjI2IDM5LjI5LTMyLjI4IDEwMy44My01LjYyIDE0NS45Mi0xMi42MyA3LjAyLTM2LjQ4IDE1LjQ0LTY3LjM1IDE1LjQ0SDY3LjU2Yy0xMi42MyA3MS41NiA4LjQyIDE2NC4xNiA2MS43NCAyMjcuM0MxODEuMjIgODAxLjEzIDI1OS44IDgzMiAzNjAuODMgODMyYzIyMC4zIDAgMzg0LjQ4LTEwMS4wMiA0NjAuMjUtMjg2LjI0IDI5LjQ3IDAgOTUuNDIgMCAxMjcuNy02My4xNCAxLjQtMi44IDkuODItMTguMjQgMTEuMjItMjMuODV6bS03MTcuMDQtMzkuMjhoLTkyLjYxdjgyLjc5aDkyLjZ6bTEwOS40NSAwaC05Mi42MXY4Mi43OWg5Mi42em0xMDkuNDUgMGgtOTIuNjF2ODIuNzloOTIuNnpNMzM2Ljk4IDMwNC40M2gtOTIuNjF2ODQuMTloOTIuNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DockerOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DockerOutlined';\n}\nexport default RefIcon;","import {TokenType as tt} from \"../parser/tokenizer/types\";\n\nimport getImportExportSpecifierInfo from \"./getImportExportSpecifierInfo\";\n\n/**\n * Special case code to scan for imported names in ESM TypeScript. We need to do this so we can\n * properly get globals so we can compute shadowed globals.\n *\n * This is similar to logic in CJSImportProcessor, but trimmed down to avoid logic with CJS\n * replacement and flow type imports.\n */\nexport default function getTSImportedNames(tokens) {\n const importedNames = new Set();\n for (let i = 0; i < tokens.tokens.length; i++) {\n if (\n tokens.matches1AtIndex(i, tt._import) &&\n !tokens.matches3AtIndex(i, tt._import, tt.name, tt.eq)\n ) {\n collectNamesForImport(tokens, i, importedNames);\n }\n }\n return importedNames;\n}\n\nfunction collectNamesForImport(\n tokens,\n index,\n importedNames,\n) {\n index++;\n\n if (tokens.matches1AtIndex(index, tt.parenL)) {\n // Dynamic import, so nothing to do\n return;\n }\n\n if (tokens.matches1AtIndex(index, tt.name)) {\n importedNames.add(tokens.identifierNameAtIndex(index));\n index++;\n if (tokens.matches1AtIndex(index, tt.comma)) {\n index++;\n }\n }\n\n if (tokens.matches1AtIndex(index, tt.star)) {\n // * as\n index += 2;\n importedNames.add(tokens.identifierNameAtIndex(index));\n index++;\n }\n\n if (tokens.matches1AtIndex(index, tt.braceL)) {\n index++;\n collectNamesForNamedImport(tokens, index, importedNames);\n }\n}\n\nfunction collectNamesForNamedImport(\n tokens,\n index,\n importedNames,\n) {\n while (true) {\n if (tokens.matches1AtIndex(index, tt.braceR)) {\n return;\n }\n\n const specifierInfo = getImportExportSpecifierInfo(tokens, index);\n index = specifierInfo.endIndex;\n if (!specifierInfo.isType) {\n importedNames.add(specifierInfo.rightName);\n }\n\n if (tokens.matches2AtIndex(index, tt.comma, tt.braceR)) {\n return;\n } else if (tokens.matches1AtIndex(index, tt.braceR)) {\n return;\n } else if (tokens.matches1AtIndex(index, tt.comma)) {\n index++;\n } else {\n throw new Error(`Unexpected token: ${JSON.stringify(tokens.tokens[index])}`);\n }\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useEvent, useMergedState } from 'rc-util';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport omit from \"rc-util/es/omit\";\nimport pickAttrs from \"rc-util/es/pickAttrs\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport PickerTrigger from \"../PickerTrigger\";\nimport { pickTriggerProps } from \"../PickerTrigger/util\";\nimport { fillIndex, getFromDate, toArray } from \"../utils/miscUtil\";\nimport PickerContext from \"./context\";\nimport useCellRender from \"./hooks/useCellRender\";\nimport useFieldsInvalidate from \"./hooks/useFieldsInvalidate\";\nimport useFilledProps from \"./hooks/useFilledProps\";\nimport useOpen from \"./hooks/useOpen\";\nimport usePickerRef from \"./hooks/usePickerRef\";\nimport usePresets from \"./hooks/usePresets\";\nimport useRangeActive from \"./hooks/useRangeActive\";\nimport useRangeDisabledDate from \"./hooks/useRangeDisabledDate\";\nimport useRangePickerValue from \"./hooks/useRangePickerValue\";\nimport useRangeValue, { useInnerValue } from \"./hooks/useRangeValue\";\nimport useShowNow from \"./hooks/useShowNow\";\nimport Popup from \"./Popup\";\nimport RangeSelector from \"./Selector/RangeSelector\";\nfunction separateConfig(config, defaultConfig) {\n var singleConfig = config !== null && config !== void 0 ? config : defaultConfig;\n if (Array.isArray(singleConfig)) {\n return singleConfig;\n }\n return [singleConfig, singleConfig];\n}\n\n/** Used for change event, it should always be not undefined */\n\nfunction getActiveRange(activeIndex) {\n return activeIndex === 1 ? 'end' : 'start';\n}\nfunction RangePicker(props, ref) {\n // ========================= Prop =========================\n var _useFilledProps = useFilledProps(props, function () {\n var disabled = props.disabled,\n allowEmpty = props.allowEmpty;\n var mergedDisabled = separateConfig(disabled, false);\n var mergedAllowEmpty = separateConfig(allowEmpty, false);\n return {\n disabled: mergedDisabled,\n allowEmpty: mergedAllowEmpty\n };\n }),\n _useFilledProps2 = _slicedToArray(_useFilledProps, 6),\n filledProps = _useFilledProps2[0],\n internalPicker = _useFilledProps2[1],\n complexPicker = _useFilledProps2[2],\n formatList = _useFilledProps2[3],\n maskFormat = _useFilledProps2[4],\n isInvalidateDate = _useFilledProps2[5];\n var prefixCls = filledProps.prefixCls,\n styles = filledProps.styles,\n classNames = filledProps.classNames,\n placement = filledProps.placement,\n defaultValue = filledProps.defaultValue,\n value = filledProps.value,\n needConfirm = filledProps.needConfirm,\n onKeyDown = filledProps.onKeyDown,\n disabled = filledProps.disabled,\n allowEmpty = filledProps.allowEmpty,\n disabledDate = filledProps.disabledDate,\n minDate = filledProps.minDate,\n maxDate = filledProps.maxDate,\n defaultOpen = filledProps.defaultOpen,\n open = filledProps.open,\n onOpenChange = filledProps.onOpenChange,\n locale = filledProps.locale,\n generateConfig = filledProps.generateConfig,\n picker = filledProps.picker,\n showNow = filledProps.showNow,\n showToday = filledProps.showToday,\n showTime = filledProps.showTime,\n mode = filledProps.mode,\n onPanelChange = filledProps.onPanelChange,\n onCalendarChange = filledProps.onCalendarChange,\n onOk = filledProps.onOk,\n defaultPickerValue = filledProps.defaultPickerValue,\n pickerValue = filledProps.pickerValue,\n onPickerValueChange = filledProps.onPickerValueChange,\n inputReadOnly = filledProps.inputReadOnly,\n suffixIcon = filledProps.suffixIcon,\n onFocus = filledProps.onFocus,\n onBlur = filledProps.onBlur,\n presets = filledProps.presets,\n ranges = filledProps.ranges,\n components = filledProps.components,\n cellRender = filledProps.cellRender,\n dateRender = filledProps.dateRender,\n monthCellRender = filledProps.monthCellRender,\n onClick = filledProps.onClick;\n\n // ========================= Refs =========================\n var selectorRef = usePickerRef(ref);\n\n // ========================= Open =========================\n var _useOpen = useOpen(open, defaultOpen, disabled, onOpenChange),\n _useOpen2 = _slicedToArray(_useOpen, 2),\n mergedOpen = _useOpen2[0],\n setMergeOpen = _useOpen2[1];\n var triggerOpen = function triggerOpen(nextOpen, config) {\n // No need to open if all disabled\n if (disabled.some(function (fieldDisabled) {\n return !fieldDisabled;\n }) || !nextOpen) {\n setMergeOpen(nextOpen, config);\n }\n };\n\n // ======================== Values ========================\n var _useInnerValue = useInnerValue(generateConfig, locale, formatList, true, false, defaultValue, value, onCalendarChange, onOk),\n _useInnerValue2 = _slicedToArray(_useInnerValue, 5),\n mergedValue = _useInnerValue2[0],\n setInnerValue = _useInnerValue2[1],\n getCalendarValue = _useInnerValue2[2],\n triggerCalendarChange = _useInnerValue2[3],\n triggerOk = _useInnerValue2[4];\n var calendarValue = getCalendarValue();\n\n // ======================== Active ========================\n var _useRangeActive = useRangeActive(disabled, allowEmpty, mergedOpen),\n _useRangeActive2 = _slicedToArray(_useRangeActive, 7),\n focused = _useRangeActive2[0],\n triggerFocus = _useRangeActive2[1],\n lastOperation = _useRangeActive2[2],\n activeIndex = _useRangeActive2[3],\n setActiveIndex = _useRangeActive2[4],\n nextActiveIndex = _useRangeActive2[5],\n activeIndexList = _useRangeActive2[6];\n var onSharedFocus = function onSharedFocus(event, index) {\n triggerFocus(true);\n onFocus === null || onFocus === void 0 || onFocus(event, {\n range: getActiveRange(index !== null && index !== void 0 ? index : activeIndex)\n });\n };\n var onSharedBlur = function onSharedBlur(event, index) {\n triggerFocus(false);\n onBlur === null || onBlur === void 0 || onBlur(event, {\n range: getActiveRange(index !== null && index !== void 0 ? index : activeIndex)\n });\n };\n\n // ======================= ShowTime =======================\n /** Used for Popup panel */\n var mergedShowTime = React.useMemo(function () {\n if (!showTime) {\n return null;\n }\n var disabledTime = showTime.disabledTime;\n var proxyDisabledTime = disabledTime ? function (date) {\n var range = getActiveRange(activeIndex);\n var fromDate = getFromDate(calendarValue, activeIndexList, activeIndex);\n return disabledTime(date, range, {\n from: fromDate\n });\n } : undefined;\n return _objectSpread(_objectSpread({}, showTime), {}, {\n disabledTime: proxyDisabledTime\n });\n }, [showTime, activeIndex, calendarValue, activeIndexList]);\n\n // ========================= Mode =========================\n var _useMergedState = useMergedState([picker, picker], {\n value: mode\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n modes = _useMergedState2[0],\n setModes = _useMergedState2[1];\n var mergedMode = modes[activeIndex] || picker;\n\n /** Extends from `mergedMode` to patch `datetime` mode */\n var internalMode = mergedMode === 'date' && mergedShowTime ? 'datetime' : mergedMode;\n\n // ====================== PanelCount ======================\n var multiplePanel = internalMode === picker && internalMode !== 'time';\n\n // ======================= Show Now =======================\n var mergedShowNow = useShowNow(picker, mergedMode, showNow, showToday, true);\n\n // ======================== Value =========================\n var _useRangeValue = useRangeValue(filledProps, mergedValue, setInnerValue, getCalendarValue, triggerCalendarChange, disabled, formatList, focused, mergedOpen, isInvalidateDate),\n _useRangeValue2 = _slicedToArray(_useRangeValue, 3),\n /** Trigger `onChange` by check `disabledDate` */\n flushSubmit = _useRangeValue2[0],\n /** Trigger `onChange` directly without check `disabledDate` */\n triggerSubmitChange = _useRangeValue2[1],\n /** Tell `index` has filled value in it */\n hasSubmitValue = _useRangeValue2[2];\n\n // ===================== DisabledDate =====================\n var mergedDisabledDate = useRangeDisabledDate(calendarValue, disabled, activeIndexList, generateConfig, locale, disabledDate);\n\n // ======================= Validate =======================\n var _useFieldsInvalidate = useFieldsInvalidate(calendarValue, isInvalidateDate, allowEmpty),\n _useFieldsInvalidate2 = _slicedToArray(_useFieldsInvalidate, 2),\n submitInvalidates = _useFieldsInvalidate2[0],\n onSelectorInvalid = _useFieldsInvalidate2[1];\n\n // ===================== Picker Value =====================\n var _useRangePickerValue = useRangePickerValue(generateConfig, locale, calendarValue, modes, mergedOpen, activeIndex, internalPicker, multiplePanel, defaultPickerValue, pickerValue, mergedShowTime === null || mergedShowTime === void 0 ? void 0 : mergedShowTime.defaultOpenValue, onPickerValueChange, minDate, maxDate),\n _useRangePickerValue2 = _slicedToArray(_useRangePickerValue, 2),\n currentPickerValue = _useRangePickerValue2[0],\n setCurrentPickerValue = _useRangePickerValue2[1];\n\n // >>> Mode need wait for `pickerValue`\n var triggerModeChange = useEvent(function (nextPickerValue, nextMode, triggerEvent) {\n var clone = fillIndex(modes, activeIndex, nextMode);\n if (clone[0] !== modes[0] || clone[1] !== modes[1]) {\n setModes(clone);\n }\n\n // Compatible with `onPanelChange`\n if (onPanelChange && triggerEvent !== false) {\n var clonePickerValue = _toConsumableArray(calendarValue);\n if (nextPickerValue) {\n clonePickerValue[activeIndex] = nextPickerValue;\n }\n onPanelChange(clonePickerValue, clone);\n }\n });\n\n // ======================== Change ========================\n var fillCalendarValue = function fillCalendarValue(date, index) {\n return (\n // Trigger change only when date changed\n fillIndex(calendarValue, index, date)\n );\n };\n\n // ======================== Submit ========================\n /**\n * Trigger by confirm operation.\n * This function has already handle the `needConfirm` check logic.\n * - Selector: enter key\n * - Panel: OK button\n */\n var triggerPartConfirm = function triggerPartConfirm(date, skipFocus) {\n var nextValue = calendarValue;\n if (date) {\n nextValue = fillCalendarValue(date, activeIndex);\n }\n\n // Get next focus index\n var nextIndex = nextActiveIndex(nextValue);\n\n // Change calendar value and tell flush it\n triggerCalendarChange(nextValue);\n flushSubmit(activeIndex, nextIndex === null);\n if (nextIndex === null) {\n triggerOpen(false, {\n force: true\n });\n } else if (!skipFocus) {\n selectorRef.current.focus({\n index: nextIndex\n });\n }\n };\n\n // ======================== Click =========================\n var onSelectorClick = function onSelectorClick(event) {\n var _activeElement;\n var rootNode = event.target.getRootNode();\n if (!selectorRef.current.nativeElement.contains((_activeElement = rootNode.activeElement) !== null && _activeElement !== void 0 ? _activeElement : document.activeElement)) {\n // Click to focus the enabled input\n var enabledIndex = disabled.findIndex(function (d) {\n return !d;\n });\n if (enabledIndex >= 0) {\n selectorRef.current.focus({\n index: enabledIndex\n });\n }\n }\n triggerOpen(true);\n onClick === null || onClick === void 0 || onClick(event);\n };\n var onSelectorClear = function onSelectorClear() {\n triggerSubmitChange(null);\n triggerOpen(false, {\n force: true\n });\n };\n\n // ======================== Hover =========================\n var _React$useState = React.useState(null),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n hoverSource = _React$useState2[0],\n setHoverSource = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n internalHoverValues = _React$useState4[0],\n setInternalHoverValues = _React$useState4[1];\n var hoverValues = React.useMemo(function () {\n return internalHoverValues || calendarValue;\n }, [calendarValue, internalHoverValues]);\n\n // Clean up `internalHoverValues` when closed\n React.useEffect(function () {\n if (!mergedOpen) {\n setInternalHoverValues(null);\n }\n }, [mergedOpen]);\n\n // ========================================================\n // == Panels ==\n // ========================================================\n // Save the offset with active bar position\n var _React$useState5 = React.useState(0),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n activeOffset = _React$useState6[0],\n setActiveOffset = _React$useState6[1];\n\n // ======================= Presets ========================\n var presetList = usePresets(presets, ranges);\n var onPresetHover = function onPresetHover(nextValues) {\n setInternalHoverValues(nextValues);\n setHoverSource('preset');\n };\n var onPresetSubmit = function onPresetSubmit(nextValues) {\n var passed = triggerSubmitChange(nextValues);\n if (passed) {\n triggerOpen(false, {\n force: true\n });\n }\n };\n var onNow = function onNow(now) {\n triggerPartConfirm(now);\n };\n\n // ======================== Panel =========================\n var onPanelHover = function onPanelHover(date) {\n setInternalHoverValues(date ? fillCalendarValue(date, activeIndex) : null);\n setHoverSource('cell');\n };\n\n // >>> Focus\n var onPanelFocus = function onPanelFocus(event) {\n triggerOpen(true);\n onSharedFocus(event);\n };\n\n // >>> MouseDown\n var onPanelMouseDown = function onPanelMouseDown() {\n lastOperation('panel');\n };\n\n // >>> Calendar\n var onPanelSelect = function onPanelSelect(date) {\n var clone = fillIndex(calendarValue, activeIndex, date);\n\n // Only trigger calendar event but not update internal `calendarValue` state\n triggerCalendarChange(clone);\n\n // >>> Trigger next active if !needConfirm\n // Fully logic check `useRangeValue` hook\n if (!needConfirm && !complexPicker && internalPicker === internalMode) {\n triggerPartConfirm(date);\n }\n };\n\n // >>> Close\n var onPopupClose = function onPopupClose() {\n // Close popup\n triggerOpen(false);\n };\n\n // >>> cellRender\n var onInternalCellRender = useCellRender(cellRender, dateRender, monthCellRender, getActiveRange(activeIndex));\n\n // >>> Value\n var panelValue = calendarValue[activeIndex] || null;\n\n // >>> invalid\n var isPopupInvalidateDate = useEvent(function (date) {\n return isInvalidateDate(date, {\n activeIndex: activeIndex\n });\n });\n var panelProps = React.useMemo(function () {\n var domProps = pickAttrs(filledProps, false);\n var restProps = omit(filledProps, [].concat(_toConsumableArray(Object.keys(domProps)), ['onChange', 'onCalendarChange', 'style', 'className', 'onPanelChange', 'disabledTime']));\n return restProps;\n }, [filledProps]);\n\n // >>> Render\n var panel = /*#__PURE__*/React.createElement(Popup, _extends({}, panelProps, {\n showNow: mergedShowNow,\n showTime: mergedShowTime\n // Range\n ,\n range: true,\n multiplePanel: multiplePanel,\n activeOffset: activeOffset,\n placement: placement\n // Disabled\n ,\n disabledDate: mergedDisabledDate\n // Focus\n ,\n onFocus: onPanelFocus,\n onBlur: onSharedBlur,\n onPanelMouseDown: onPanelMouseDown\n // Mode\n ,\n picker: picker,\n mode: mergedMode,\n internalMode: internalMode,\n onPanelChange: triggerModeChange\n // Value\n ,\n format: maskFormat,\n value: panelValue,\n isInvalid: isPopupInvalidateDate,\n onChange: null,\n onSelect: onPanelSelect\n // PickerValue\n ,\n pickerValue: currentPickerValue,\n defaultOpenValue: toArray(showTime === null || showTime === void 0 ? void 0 : showTime.defaultOpenValue)[activeIndex],\n onPickerValueChange: setCurrentPickerValue\n // Hover\n ,\n hoverValue: hoverValues,\n onHover: onPanelHover\n // Submit\n ,\n needConfirm: needConfirm,\n onSubmit: triggerPartConfirm,\n onOk: triggerOk\n // Preset\n ,\n presets: presetList,\n onPresetHover: onPresetHover,\n onPresetSubmit: onPresetSubmit\n // Now\n ,\n onNow: onNow\n // Render\n ,\n cellRender: onInternalCellRender\n }));\n\n // ========================================================\n // == Selector ==\n // ========================================================\n\n // ======================== Change ========================\n var onSelectorChange = function onSelectorChange(date, index) {\n var clone = fillCalendarValue(date, index);\n triggerCalendarChange(clone);\n };\n var onSelectorInputChange = function onSelectorInputChange() {\n lastOperation('input');\n };\n\n // ======================= Selector =======================\n var onSelectorFocus = function onSelectorFocus(event, index) {\n // Check if `needConfirm` but user not submit yet\n var activeListLen = activeIndexList.length;\n var lastActiveIndex = activeIndexList[activeListLen - 1];\n if (activeListLen && lastActiveIndex !== index && needConfirm &&\n // Not change index if is not filled\n !allowEmpty[lastActiveIndex] && !hasSubmitValue(lastActiveIndex) && calendarValue[lastActiveIndex]) {\n selectorRef.current.focus({\n index: lastActiveIndex\n });\n return;\n }\n lastOperation('input');\n triggerOpen(true, {\n inherit: true\n });\n\n // When click input to switch the field, it will not trigger close.\n // Which means it will lose the part confirm and we need fill back.\n // ref: https://github.com/ant-design/ant-design/issues/49512\n if (activeIndex !== index && mergedOpen && !needConfirm && complexPicker) {\n triggerPartConfirm(null, true);\n }\n setActiveIndex(index);\n onSharedFocus(event, index);\n };\n var onSelectorBlur = function onSelectorBlur(event, index) {\n triggerOpen(false);\n if (!needConfirm && lastOperation() === 'input') {\n var nextIndex = nextActiveIndex(calendarValue);\n flushSubmit(activeIndex, nextIndex === null);\n }\n onSharedBlur(event, index);\n };\n var onSelectorKeyDown = function onSelectorKeyDown(event, preventDefault) {\n if (event.key === 'Tab') {\n triggerPartConfirm(null, true);\n }\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(event, preventDefault);\n };\n\n // ======================= Context ========================\n var context = React.useMemo(function () {\n return {\n prefixCls: prefixCls,\n locale: locale,\n generateConfig: generateConfig,\n button: components.button,\n input: components.input\n };\n }, [prefixCls, locale, generateConfig, components.button, components.input]);\n\n // ======================== Effect ========================\n // >>> Mode\n // Reset for every active\n useLayoutEffect(function () {\n if (mergedOpen && activeIndex !== undefined) {\n // Legacy compatible. This effect update should not trigger `onPanelChange`\n triggerModeChange(null, picker, false);\n }\n }, [mergedOpen, activeIndex, picker]);\n\n // >>> For complex picker, we need check if need to focus next one\n useLayoutEffect(function () {\n var lastOp = lastOperation();\n\n // Trade as confirm on field leave\n if (!mergedOpen && lastOp === 'input') {\n triggerOpen(false);\n triggerPartConfirm(null, true);\n }\n\n // Submit with complex picker\n if (!mergedOpen && complexPicker && !needConfirm && lastOp === 'panel') {\n triggerOpen(true);\n triggerPartConfirm();\n }\n }, [mergedOpen]);\n\n // ====================== DevWarning ======================\n if (process.env.NODE_ENV !== 'production') {\n var isIndexEmpty = function isIndexEmpty(index) {\n return (\n // Value is empty\n !(value !== null && value !== void 0 && value[index]) &&\n // DefaultValue is empty\n !(defaultValue !== null && defaultValue !== void 0 && defaultValue[index])\n );\n };\n if (disabled.some(function (fieldDisabled, index) {\n return fieldDisabled && isIndexEmpty(index) && !allowEmpty[index];\n })) {\n warning(false, '`disabled` should not set with empty `value`. You should set `allowEmpty` or `value` instead.');\n }\n }\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(PickerContext.Provider, {\n value: context\n }, /*#__PURE__*/React.createElement(PickerTrigger, _extends({}, pickTriggerProps(filledProps), {\n popupElement: panel,\n popupStyle: styles.popup,\n popupClassName: classNames.popup\n // Visible\n ,\n visible: mergedOpen,\n onClose: onPopupClose\n // Range\n ,\n range: true\n }), /*#__PURE__*/React.createElement(RangeSelector\n // Shared\n , _extends({}, filledProps, {\n // Ref\n ref: selectorRef\n // Icon\n ,\n suffixIcon: suffixIcon\n // Active\n ,\n activeIndex: focused || mergedOpen ? activeIndex : null,\n activeHelp: !!internalHoverValues,\n allHelp: !!internalHoverValues && hoverSource === 'preset',\n focused: focused,\n onFocus: onSelectorFocus,\n onBlur: onSelectorBlur,\n onKeyDown: onSelectorKeyDown,\n onSubmit: triggerPartConfirm\n // Change\n ,\n value: hoverValues,\n maskFormat: maskFormat,\n onChange: onSelectorChange,\n onInputChange: onSelectorInputChange\n // Format\n ,\n format: formatList,\n inputReadOnly: inputReadOnly\n // Disabled\n ,\n disabled: disabled\n // Open\n ,\n open: mergedOpen,\n onOpenChange: triggerOpen\n // Click\n ,\n onClick: onSelectorClick,\n onClear: onSelectorClear\n // Invalid\n ,\n invalid: submitInvalidates,\n onInvalid: onSelectorInvalid\n // Offset\n ,\n onActiveOffset: setActiveOffset\n }))));\n}\nvar RefRangePicker = /*#__PURE__*/React.forwardRef(RangePicker);\nif (process.env.NODE_ENV !== 'production') {\n RefRangePicker.displayName = 'RefRangePicker';\n}\nexport default RefRangePicker;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ProfileTwoToneSvg from \"@ant-design/icons-svg/es/asn/ProfileTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ProfileTwoTone = function ProfileTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ProfileTwoToneSvg\n }));\n};\n\n/**![profile](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtb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gMCAxMC04MCAwem0wLTE0NGE0MCA0MCAwIDEwODAgMCA0MCA0MCAwIDEwLTgwIDB6bTE1MiAzMjBoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHptMC0xNDRoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHptMC0xNDRoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ProfileTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ProfileTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MergeCellsOutlinedSvg from \"@ant-design/icons-svg/es/asn/MergeCellsOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MergeCellsOutlined = function MergeCellsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MergeCellsOutlinedSvg\n }));\n};\n\n/**![merge-cells](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik00ODIuMiA1MDguNEwzMzEuMyAzODljLTMtMi40LTcuMy0uMi03LjMgMy42VjQ3OEgxODRWMTg0aDIwNHYxMjhjMCAyLjIgMS44IDQgNCA0aDYwYzIuMiAwIDQtMS44IDQtNFYxNDRjMC0xNS41LTEyLjUtMjgtMjgtMjhIMTQ0Yy0xNS41IDAtMjggMTIuNS0yOCAyOHY3MzZjMCAxNS41IDEyLjUgMjggMjggMjhoMjg0YzE1LjUgMCAyOC0xMi41IDI4LTI4VjcxMmMwLTIuMi0xLjgtNC00LTRoLTYwYy0yLjIgMC00IDEuOC00IDR2MTI4SDE4NFY1NDZoMTQwdjg1LjRjMCAzLjggNC40IDYgNy4zIDMuNmwxNTAuOS0xMTkuNGE0LjUgNC41IDAgMDAwLTcuMnpNODgwIDExNkg1OTZjLTE1LjUgMC0yOCAxMi41LTI4IDI4djE2OGMwIDIuMiAxLjggNCA0IDRoNjBjMi4yIDAgNC0xLjggNC00VjE4NGgyMDR2Mjk0SDcwMHYtODUuNGMwLTMuOC00LjMtNi03LjMtMy42bC0xNTEgMTE5LjRhNC41MiA0LjUyIDAgMDAwIDcuMWwxNTEgMTE5LjVjMi45IDIuMyA3LjMuMiA3LjMtMy42VjU0NmgxNDB2Mjk0SDYzNlY3MTJjMC0yLjItMS44LTQtNC00aC02MGMtMi4yIDAtNCAxLjgtNCA0djE2OGMwIDE1LjUgMTIuNSAyOCAyOCAyOGgyODRjMTUuNSAwIDI4LTEyLjUgMjgtMjhWMTQ0YzAtMTUuNS0xMi41LTI4LTI4LTI4eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MergeCellsOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MergeCellsOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LayoutOutlinedSvg from \"@ant-design/icons-svg/es/asn/LayoutOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LayoutOutlined = function LayoutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LayoutOutlinedSvg\n }));\n};\n\n/**![layout](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTY5NiA3MmgxMzZ2NjU2SDE4NFYxODR6bTY1NiA2NTZIMzg0VjM4NGg0NTZ2NDU2ek0zODQgMzIwVjE4NGg0NTZ2MTM2SDM4NHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LayoutOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LayoutOutlined';\n}\nexport default RefIcon;","//Const\nconst NOAH_ARK_CAPACITY = 3;\nexport var EntryType;\n(function (EntryType) {\n EntryType[EntryType[\"Marker\"] = 0] = \"Marker\";\n EntryType[EntryType[\"Element\"] = 1] = \"Element\";\n})(EntryType || (EntryType = {}));\nconst MARKER = { type: EntryType.Marker };\n//List of formatting elements\nexport class FormattingElementList {\n constructor(treeAdapter) {\n this.treeAdapter = treeAdapter;\n this.entries = [];\n this.bookmark = null;\n }\n //Noah Ark's condition\n //OPTIMIZATION: at first we try to find possible candidates for exclusion using\n //lightweight heuristics without thorough attributes check.\n _getNoahArkConditionCandidates(newElement, neAttrs) {\n const candidates = [];\n const neAttrsLength = neAttrs.length;\n const neTagName = this.treeAdapter.getTagName(newElement);\n const neNamespaceURI = this.treeAdapter.getNamespaceURI(newElement);\n for (let i = 0; i < this.entries.length; i++) {\n const entry = this.entries[i];\n if (entry.type === EntryType.Marker) {\n break;\n }\n const { element } = entry;\n if (this.treeAdapter.getTagName(element) === neTagName &&\n this.treeAdapter.getNamespaceURI(element) === neNamespaceURI) {\n const elementAttrs = this.treeAdapter.getAttrList(element);\n if (elementAttrs.length === neAttrsLength) {\n candidates.push({ idx: i, attrs: elementAttrs });\n }\n }\n }\n return candidates;\n }\n _ensureNoahArkCondition(newElement) {\n if (this.entries.length < NOAH_ARK_CAPACITY)\n return;\n const neAttrs = this.treeAdapter.getAttrList(newElement);\n const candidates = this._getNoahArkConditionCandidates(newElement, neAttrs);\n if (candidates.length < NOAH_ARK_CAPACITY)\n return;\n //NOTE: build attrs map for the new element, so we can perform fast lookups\n const neAttrsMap = new Map(neAttrs.map((neAttr) => [neAttr.name, neAttr.value]));\n let validCandidates = 0;\n //NOTE: remove bottommost candidates, until Noah's Ark condition will not be met\n for (let i = 0; i < candidates.length; i++) {\n const candidate = candidates[i];\n // We know that `candidate.attrs.length === neAttrs.length`\n if (candidate.attrs.every((cAttr) => neAttrsMap.get(cAttr.name) === cAttr.value)) {\n validCandidates += 1;\n if (validCandidates >= NOAH_ARK_CAPACITY) {\n this.entries.splice(candidate.idx, 1);\n }\n }\n }\n }\n //Mutations\n insertMarker() {\n this.entries.unshift(MARKER);\n }\n pushElement(element, token) {\n this._ensureNoahArkCondition(element);\n this.entries.unshift({\n type: EntryType.Element,\n element,\n token,\n });\n }\n insertElementAfterBookmark(element, token) {\n const bookmarkIdx = this.entries.indexOf(this.bookmark);\n this.entries.splice(bookmarkIdx, 0, {\n type: EntryType.Element,\n element,\n token,\n });\n }\n removeEntry(entry) {\n const entryIndex = this.entries.indexOf(entry);\n if (entryIndex >= 0) {\n this.entries.splice(entryIndex, 1);\n }\n }\n /**\n * Clears the list of formatting elements up to the last marker.\n *\n * @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker\n */\n clearToLastMarker() {\n const markerIdx = this.entries.indexOf(MARKER);\n if (markerIdx >= 0) {\n this.entries.splice(0, markerIdx + 1);\n }\n else {\n this.entries.length = 0;\n }\n }\n //Search\n getElementEntryInScopeWithTagName(tagName) {\n const entry = this.entries.find((entry) => entry.type === EntryType.Marker || this.treeAdapter.getTagName(entry.element) === tagName);\n return entry && entry.type === EntryType.Element ? entry : null;\n }\n getElementEntry(element) {\n return this.entries.find((entry) => entry.type === EntryType.Element && entry.element === element);\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PrinterTwoToneSvg from \"@ant-design/icons-svg/es/asn/PrinterTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PrinterTwoTone = function PrinterTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PrinterTwoToneSvg\n }));\n};\n\n/**![printer](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTM2MCAxODBoMzA0djE1MkgzNjB6bTQ5MiAyMjBIMTcyYy02LjYgMC0xMiA1LjQtMTIgMTJ2MjkyaDEzMlY1MDBoNDQwdjIwNGgxMzJWNDEyYzAtNi42LTUuNC0xMi0xMi0xMnptLTI0IDg0YzAgNC40LTMuNiA4LTggOGgtNDBjLTQuNCAwLTgtMy42LTgtOHYtNDBjMC00LjQgMy42LTggOC04aDQwYzQuNCAwIDggMy42IDggOHY0MHoiIGZpbGw9IiNlNmY0ZmYiIC8+PHBhdGggZD0iTTg1MiAzMzJINzMyVjEyMGMwLTQuNC0zLjYtOC04LThIMzAwYy00LjQgMC04IDMuNi04IDh2MjEySDE3MmMtNDQuMiAwLTgwIDM1LjgtODAgODB2MzI4YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDE2OHYxMzJjMCA0LjQgMy42IDggOCA4aDQyNGM0LjQgMCA4LTMuNiA4LThWNzcyaDE2OGMxNy43IDAgMzItMTQuMyAzMi0zMlY0MTJjMC00NC4yLTM1LjgtODAtODAtODB6TTM2MCAxODBoMzA0djE1MkgzNjBWMTgwem0zMDQgNjY0SDM2MFY1NjhoMzA0djI3NnptMjAwLTE0MEg3MzJWNTAwSDI5MnYyMDRIMTYwVjQxMmMwLTYuNiA1LjQtMTIgMTItMTJoNjgwYzYuNiAwIDEyIDUuNCAxMiAxMnYyOTJ6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik04MjAgNDM2aC00MGMtNC40IDAtOCAzLjYtOCA4djQwYzAgNC40IDMuNiA4IDggOGg0MGM0LjQgMCA4LTMuNiA4LTh2LTQwYzAtNC40LTMuNi04LTgtOHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PrinterTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PrinterTwoTone';\n}\nexport default RefIcon;","/**\n * Utility with info on URL attributes.\n *\n * ## What is this?\n *\n * This package contains info on attributes that have URLs as values.\n *\n * ## When should I use this?\n *\n * You can use this package any time you’re rewriting URLs.\n *\n * ## Use\n *\n * ```js\n * import {urlAttributes} from 'html-url-attributes'\n *\n * console.log(urlAttributes.formAction)\n * //=> ['button', 'input']\n * console.log(urlAttributes.href)\n * //=> ['a', 'area', 'base', 'link']\n * ```\n *\n * ## API\n *\n * ### `urlAttributes`\n *\n * HTML URL properties (`Record | null>`).\n *\n * Each key is a property name and each value is a list of tag names it applies\n * to or `null` if it applies to all elements.\n */\n\nexport {urlAttributes} from './lib/index.js'\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftCircleOutlined = function LeftCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftCircleOutlinedSvg\n }));\n};\n\n/**![left-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwMy4zIDMyNy41bC0yNDYgMTc4YTcuOTUgNy45NSAwIDAwMCAxMi45bDI0NiAxNzhjNS4zIDMuOCAxMi43IDAgMTIuNy02LjVWNjQzYzAtMTAuMi00LjktMTkuOS0xMy4yLTI1LjlMNDU3LjQgNTEybDE0NS40LTEwNS4yYzguMy02IDEzLjItMTUuNiAxMy4yLTI1LjlWMzM0YzAtNi41LTcuNC0xMC4zLTEyLjctNi41eiIgLz48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftCircleOutlined';\n}\nexport default RefIcon;","export function deprecate(fn) {\n return fn\n}\n\nexport function equal() {}\n\nexport function ok() {}\n\nexport function unreachable() {}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"active\", \"showActiveCls\", \"suffixIcon\", \"format\", \"validateFormat\", \"onChange\", \"onInput\", \"helped\", \"onHelp\", \"onSubmit\", \"onKeyDown\", \"preserveInvalidOnBlur\", \"invalid\", \"clearIcon\"];\nimport classNames from 'classnames';\nimport { useEvent } from 'rc-util';\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nimport raf from \"rc-util/es/raf\";\nimport * as React from 'react';\nimport { leftPad } from \"../../utils/miscUtil\";\nimport PickerContext from \"../context\";\nimport useLockEffect from \"../hooks/useLockEffect\";\nimport Icon from \"./Icon\";\nimport MaskFormat from \"./MaskFormat\";\nimport { getMaskRange } from \"./util\";\n\n// Format logic\n//\n// First time on focus:\n// 1. check if the text is valid, if not fill with format\n// 2. set highlight cell to the first cell\n// Cells\n// 1. Selection the index cell, set inner `cacheValue` to ''\n// 2. Key input filter non-number char, patch after the `cacheValue`\n// 1. Replace the `cacheValue` with input align the cell length\n// 2. Re-selection the mask cell\n// 3. If `cacheValue` match the limit length or cell format (like 1 ~ 12 month), go to next cell\n\nvar Input = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var active = props.active,\n _props$showActiveCls = props.showActiveCls,\n showActiveCls = _props$showActiveCls === void 0 ? true : _props$showActiveCls,\n suffixIcon = props.suffixIcon,\n format = props.format,\n validateFormat = props.validateFormat,\n onChange = props.onChange,\n onInput = props.onInput,\n helped = props.helped,\n onHelp = props.onHelp,\n onSubmit = props.onSubmit,\n onKeyDown = props.onKeyDown,\n _props$preserveInvali = props.preserveInvalidOnBlur,\n preserveInvalidOnBlur = _props$preserveInvali === void 0 ? false : _props$preserveInvali,\n invalid = props.invalid,\n clearIcon = props.clearIcon,\n restProps = _objectWithoutProperties(props, _excluded);\n var value = props.value,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onMouseUp = props.onMouseUp;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls,\n _React$useContext$inp = _React$useContext.input,\n Component = _React$useContext$inp === void 0 ? 'input' : _React$useContext$inp;\n var inputPrefixCls = \"\".concat(prefixCls, \"-input\");\n\n // ======================== Value =========================\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n var _React$useState3 = React.useState(value),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n internalInputValue = _React$useState4[0],\n setInputValue = _React$useState4[1];\n var _React$useState5 = React.useState(''),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n focusCellText = _React$useState6[0],\n setFocusCellText = _React$useState6[1];\n var _React$useState7 = React.useState(null),\n _React$useState8 = _slicedToArray(_React$useState7, 2),\n focusCellIndex = _React$useState8[0],\n setFocusCellIndex = _React$useState8[1];\n var _React$useState9 = React.useState(null),\n _React$useState10 = _slicedToArray(_React$useState9, 2),\n forceSelectionSyncMark = _React$useState10[0],\n forceSelectionSync = _React$useState10[1];\n var inputValue = internalInputValue || '';\n\n // Sync value if needed\n React.useEffect(function () {\n setInputValue(value);\n }, [value]);\n\n // ========================= Refs =========================\n var holderRef = React.useRef();\n var inputRef = React.useRef();\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: holderRef.current,\n inputElement: inputRef.current,\n focus: function focus(options) {\n inputRef.current.focus(options);\n },\n blur: function blur() {\n inputRef.current.blur();\n }\n };\n });\n\n // ======================== Format ========================\n var maskFormat = React.useMemo(function () {\n return new MaskFormat(format || '');\n }, [format]);\n var _React$useMemo = React.useMemo(function () {\n if (helped) {\n return [0, 0];\n }\n return maskFormat.getSelection(focusCellIndex);\n }, [maskFormat, focusCellIndex, helped]),\n _React$useMemo2 = _slicedToArray(_React$useMemo, 2),\n selectionStart = _React$useMemo2[0],\n selectionEnd = _React$useMemo2[1];\n\n // ======================== Modify ========================\n // When input modify content, trigger `onHelp` if is not the format\n var onModify = function onModify(text) {\n if (text && text !== format && text !== value) {\n onHelp();\n }\n };\n\n // ======================== Change ========================\n /**\n * Triggered by paste, keyDown and focus to show format\n */\n var triggerInputChange = useEvent(function (text) {\n if (validateFormat(text)) {\n onChange(text);\n }\n setInputValue(text);\n onModify(text);\n });\n\n // Directly trigger `onChange` if `format` is empty\n var onInternalChange = function onInternalChange(event) {\n // Hack `onChange` with format to do nothing\n if (!format) {\n var text = event.target.value;\n onModify(text);\n setInputValue(text);\n onChange(text);\n }\n };\n var onFormatPaste = function onFormatPaste(event) {\n // Get paste text\n var pasteText = event.clipboardData.getData('text');\n if (validateFormat(pasteText)) {\n triggerInputChange(pasteText);\n }\n };\n\n // ======================== Mouse =========================\n // When `mouseDown` get focus, it's better to not to change the selection\n // Since the up position maybe not is the first cell\n var mouseDownRef = React.useRef(false);\n var onFormatMouseDown = function onFormatMouseDown() {\n mouseDownRef.current = true;\n };\n var onFormatMouseUp = function onFormatMouseUp(event) {\n var _ref = event.target,\n start = _ref.selectionStart;\n var closeMaskIndex = maskFormat.getMaskCellIndex(start);\n setFocusCellIndex(closeMaskIndex);\n\n // Force update the selection\n forceSelectionSync({});\n onMouseUp === null || onMouseUp === void 0 || onMouseUp(event);\n mouseDownRef.current = false;\n };\n\n // ====================== Focus Blur ======================\n var onFormatFocus = function onFormatFocus(event) {\n setFocused(true);\n setFocusCellIndex(0);\n setFocusCellText('');\n onFocus(event);\n };\n var onSharedBlur = function onSharedBlur(event) {\n onBlur(event);\n };\n var onFormatBlur = function onFormatBlur(event) {\n setFocused(false);\n onSharedBlur(event);\n };\n\n // ======================== Active ========================\n // Check if blur need reset input value\n useLockEffect(active, function () {\n if (!active && !preserveInvalidOnBlur) {\n setInputValue(value);\n }\n });\n\n // ======================= Keyboard =======================\n var onSharedKeyDown = function onSharedKeyDown(event) {\n if (event.key === 'Enter' && validateFormat(inputValue)) {\n onSubmit();\n }\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(event);\n };\n var onFormatKeyDown = function onFormatKeyDown(event) {\n onSharedKeyDown(event);\n var key = event.key;\n\n // Save the cache with cell text\n var nextCellText = null;\n\n // Fill in the input\n var nextFillText = null;\n var maskCellLen = selectionEnd - selectionStart;\n var cellFormat = format.slice(selectionStart, selectionEnd);\n\n // Cell Index\n var offsetCellIndex = function offsetCellIndex(offset) {\n setFocusCellIndex(function (idx) {\n var nextIndex = idx + offset;\n nextIndex = Math.max(nextIndex, 0);\n nextIndex = Math.min(nextIndex, maskFormat.size() - 1);\n return nextIndex;\n });\n };\n\n // Range\n var offsetCellValue = function offsetCellValue(offset) {\n var _getMaskRange = getMaskRange(cellFormat),\n _getMaskRange2 = _slicedToArray(_getMaskRange, 3),\n rangeStart = _getMaskRange2[0],\n rangeEnd = _getMaskRange2[1],\n rangeDefault = _getMaskRange2[2];\n var currentText = inputValue.slice(selectionStart, selectionEnd);\n var currentTextNum = Number(currentText);\n if (isNaN(currentTextNum)) {\n return String(rangeDefault ? rangeDefault : offset > 0 ? rangeStart : rangeEnd);\n }\n var num = currentTextNum + offset;\n var range = rangeEnd - rangeStart + 1;\n return String(rangeStart + (range + num - rangeStart) % range);\n };\n switch (key) {\n // =============== Remove ===============\n case 'Backspace':\n case 'Delete':\n nextCellText = '';\n nextFillText = cellFormat;\n break;\n\n // =============== Arrows ===============\n // Left key\n case 'ArrowLeft':\n nextCellText = '';\n offsetCellIndex(-1);\n break;\n\n // Right key\n case 'ArrowRight':\n nextCellText = '';\n offsetCellIndex(1);\n break;\n\n // Up key\n case 'ArrowUp':\n nextCellText = '';\n nextFillText = offsetCellValue(1);\n break;\n\n // Down key\n case 'ArrowDown':\n nextCellText = '';\n nextFillText = offsetCellValue(-1);\n break;\n\n // =============== Number ===============\n default:\n if (!isNaN(Number(key))) {\n nextCellText = focusCellText + key;\n nextFillText = nextCellText;\n }\n break;\n }\n\n // Update cell text\n if (nextCellText !== null) {\n setFocusCellText(nextCellText);\n if (nextCellText.length >= maskCellLen) {\n // Go to next cell\n offsetCellIndex(1);\n setFocusCellText('');\n }\n }\n\n // Update the input text\n if (nextFillText !== null) {\n // Replace selection range with `nextCellText`\n var nextFocusValue =\n // before\n inputValue.slice(0, selectionStart) +\n // replace\n leftPad(nextFillText, maskCellLen) +\n // after\n inputValue.slice(selectionEnd);\n triggerInputChange(nextFocusValue.slice(0, format.length));\n }\n\n // Always trigger selection sync after key down\n forceSelectionSync({});\n };\n\n // ======================== Format ========================\n var rafRef = React.useRef();\n useLayoutEffect(function () {\n if (!focused || !format || mouseDownRef.current) {\n return;\n }\n\n // Reset with format if not match\n if (!maskFormat.match(inputValue)) {\n triggerInputChange(format);\n return;\n }\n\n // Match the selection range\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n\n // Chrome has the bug anchor position looks not correct but actually correct\n rafRef.current = raf(function () {\n inputRef.current.setSelectionRange(selectionStart, selectionEnd);\n });\n return function () {\n raf.cancel(rafRef.current);\n };\n }, [maskFormat, format, focused, inputValue, focusCellIndex, selectionStart, selectionEnd, forceSelectionSyncMark, triggerInputChange]);\n\n // ======================== Render ========================\n // Input props for format\n var inputProps = format ? {\n onFocus: onFormatFocus,\n onBlur: onFormatBlur,\n onKeyDown: onFormatKeyDown,\n onMouseDown: onFormatMouseDown,\n onMouseUp: onFormatMouseUp,\n onPaste: onFormatPaste\n } : {};\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: holderRef,\n className: classNames(inputPrefixCls, _defineProperty(_defineProperty({}, \"\".concat(inputPrefixCls, \"-active\"), active && showActiveCls), \"\".concat(inputPrefixCls, \"-placeholder\"), helped))\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: inputRef,\n \"aria-invalid\": invalid,\n autoComplete: \"off\"\n }, restProps, {\n onKeyDown: onSharedKeyDown,\n onBlur: onSharedBlur\n // Replace with format\n }, inputProps, {\n // Value\n value: inputValue,\n onChange: onInternalChange\n })), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), clearIcon);\n});\nif (process.env.NODE_ENV !== 'production') {\n Input.displayName = 'Input';\n}\nexport default Input;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ShareAltOutlinedSvg from \"@ant-design/icons-svg/es/asn/ShareAltOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ShareAltOutlined = function ShareAltOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ShareAltOutlinedSvg\n }));\n};\n\n/**![share-alt](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc1MiA2NjRjLTI4LjUgMC01NC44IDEwLTc1LjQgMjYuN0w0NjkuNCA1NDAuOGExNjAuNjggMTYwLjY4IDAgMDAwLTU3LjZsMjA3LjItMTQ5LjlDNjk3LjIgMzUwIDcyMy41IDM2MCA3NTIgMzYwYzY2LjIgMCAxMjAtNTMuOCAxMjAtMTIwcy01My44LTEyMC0xMjAtMTIwLTEyMCA1My44LTEyMCAxMjBjMCAxMS42IDEuNiAyMi43IDQuNyAzMy4zTDQzOS45IDQxNS44QzQxMC43IDM3Ny4xIDM2NC4zIDM1MiAzMTIgMzUyYy04OC40IDAtMTYwIDcxLjYtMTYwIDE2MHM3MS42IDE2MCAxNjAgMTYwYzUyLjMgMCA5OC43LTI1LjEgMTI3LjktNjMuOGwxOTYuOCAxNDIuNWMtMy4xIDEwLjYtNC43IDIxLjgtNC43IDMzLjMgMCA2Ni4yIDUzLjggMTIwIDEyMCAxMjBzMTIwLTUzLjggMTIwLTEyMC01My44LTEyMC0xMjAtMTIwem0wLTQ3NmMyOC43IDAgNTIgMjMuMyA1MiA1MnMtMjMuMyA1Mi01MiA1Mi01Mi0yMy4zLTUyLTUyIDIzLjMtNTIgNTItNTJ6TTMxMiA2MDBjLTQ4LjUgMC04OC0zOS41LTg4LTg4czM5LjUtODggODgtODggODggMzkuNSA4OCA4OC0zOS41IDg4LTg4IDg4em00NDAgMjM2Yy0yOC43IDAtNTItMjMuMy01Mi01MnMyMy4zLTUyIDUyLTUyIDUyIDIzLjMgNTIgNTItMjMuMyA1Mi01MiA1MnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ShareAltOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ShareAltOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FundProjectionScreenOutlinedSvg from \"@ant-design/icons-svg/es/asn/FundProjectionScreenOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FundProjectionScreenOutlined = function FundProjectionScreenOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FundProjectionScreenOutlinedSvg\n }));\n};\n\n/**![fund-projection-screen](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik0zMTIuMSA1OTEuNWMzLjEgMy4xIDguMiAzLjEgMTEuMyAwbDEwMS44LTEwMS44IDg2LjEgODYuMmMzLjEgMy4xIDguMiAzLjEgMTEuMyAwbDIyNi4zLTIyNi41YzMuMS0zLjEgMy4xLTguMiAwLTExLjNsLTM2LjgtMzYuOGE4LjAzIDguMDMgMCAwMC0xMS4zIDBMNTE3IDQ4NS4zbC04Ni4xLTg2LjJhOC4wMyA4LjAzIDAgMDAtMTEuMyAwTDI3NS4zIDU0My40YTguMDMgOC4wMyAwIDAwMCAxMS4zbDM2LjggMzYuOHoiIC8+PHBhdGggZD0iTTkwNCAxNjBINTQ4Vjk2YzAtNC40LTMuNi04LTgtOGgtNTZjLTQuNCAwLTggMy42LTggOHY2NEgxMjBjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjUyMGMwIDE3LjcgMTQuMyAzMiAzMiAzMmgzNTYuNHYzMkwzMTEuNiA4ODQuMWE3LjkyIDcuOTIgMCAwMC0yLjMgMTFsMzAuMyA0Ny4ydi4xYzIuNCAzLjcgNy40IDQuNyAxMS4xIDIuM0w1MTIgODM4LjlsMTYxLjMgMTA1LjhjMy43IDIuNCA4LjcgMS40IDExLjEtMi4zdi0uMWwzMC4zLTQ3LjJhOCA4IDAgMDAtMi4zLTExTDU0OCA3NzYuM1Y3NDRoMzU2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE5MmMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDUxMkgxNjBWMjMyaDcwNHY0NDB6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FundProjectionScreenOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FundProjectionScreenOutlined';\n}\nexport default RefIcon;","import { lintWarning } from \"./utils\";\nfunction isConcatSelector(selector) {\n var _selector$match;\n var notContent = ((_selector$match = selector.match(/:not\\(([^)]*)\\)/)) === null || _selector$match === void 0 ? void 0 : _selector$match[1]) || '';\n\n // split selector. e.g.\n // `h1#a.b` => ['h1', #a', '.b']\n var splitCells = notContent.split(/(\\[[^[]*])|(?=[.#])/).filter(function (str) {\n return str;\n });\n return splitCells.length > 1;\n}\nfunction parsePath(info) {\n return info.parentSelectors.reduce(function (prev, cur) {\n if (!prev) {\n return cur;\n }\n return cur.includes('&') ? cur.replace(/&/g, prev) : \"\".concat(prev, \" \").concat(cur);\n }, '');\n}\nvar linter = function linter(key, value, info) {\n var parentSelectorPath = parsePath(info);\n var notList = parentSelectorPath.match(/:not\\([^)]*\\)/g) || [];\n if (notList.length > 0 && notList.some(isConcatSelector)) {\n lintWarning(\"Concat ':not' selector not support in legacy browsers.\", info);\n }\n};\nexport default linter;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ContactsFilledSvg from \"@ant-design/icons-svg/es/asn/ContactsFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ContactsFilled = function ContactsFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ContactsFilledSvg\n }));\n};\n\n/**![contacts](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAyMjRINzY4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZINTQ4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZIMzI4di01NmMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NTZIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjU3NmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMjU2YzAtMTcuNy0xNC4zLTMyLTMyLTMyek02NjEgNzM2aC00My45Yy00LjIgMC03LjYtMy4zLTcuOS03LjUtMy44LTUwLjYtNDYtOTAuNS05Ny4yLTkwLjVzLTkzLjQgNDAtOTcuMiA5MC41Yy0uMyA0LjItMy43IDcuNS03LjkgNy41SDM2M2E4IDggMCAwMS04LTguNGMyLjgtNTMuMyAzMi05OS43IDc0LjYtMTI2LjFhMTExLjggMTExLjggMCAwMS0yOS4xLTc1LjVjMC02MS45IDQ5LjktMTEyIDExMS40LTExMiA2MS41IDAgMTExLjQgNTAuMSAxMTEuNCAxMTIgMCAyOS4xLTExIDU1LjUtMjkuMSA3NS41IDQyLjcgMjYuNSA3MS44IDcyLjggNzQuNiAxMjYuMS40IDQuNi0zLjIgOC40LTcuOCA4LjR6TTUxMiA0NzRjLTI4LjUgMC01MS43IDIzLjMtNTEuNyA1MnMyMy4yIDUyIDUxLjcgNTJjMjguNSAwIDUxLjctMjMuMyA1MS43LTUycy0yMy4yLTUyLTUxLjctNTJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ContactsFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ContactsFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WeiboCircleFilledSvg from \"@ant-design/icons-svg/es/asn/WeiboCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WeiboCircleFilled = function WeiboCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WeiboCircleFilledSvg\n }));\n};\n\n/**![weibo-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAi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TA0LjA0IDEwNC4wNCAwIDAwLTk4LjktMzIuMSAyMS4xNCAyMS4xNCAwIDAxLTI1LjEtMTYuMyAyMS4wNyAyMS4wNyAwIDAxMTYuMi0yNS4xYzQ5LjQtMTAuNSAxMDIuOCA0LjggMTM5LjEgNDUuMSAzNi4zIDQwLjIgNDYuMSA5NS4xIDMwLjYgMTQzLjJ6bS0zMzQuNSA2LjFjLTkxLjQgOS0xNjAuNyA2NS4xLTE1NC43IDEyNS4yIDUuOSA2MC4xIDg0LjggMTAxLjUgMTc2LjIgOTIuNSA5MS40LTkuMSAxNjAuNy02NS4xIDE1NC43LTEyNS4zLTUuOS02MC4xLTg0LjgtMTAxLjUtMTc2LjItOTIuNHptODAuMiAxNDEuN2MtMTguNyA0Mi4zLTcyLjMgNjQuOC0xMTcuOCA1MC4xLTQzLjktMTQuMi02Mi41LTU3LjctNDMuMy05Ni44IDE4LjktMzguNCA2OC02MC4xIDExMS41LTQ4LjggNDUgMTEuNyA2OCA1NC4yIDQ5LjYgOTUuNXptLTkzLTMyLjJjLTE0LjItNS45LTMyLjQuMi00MS4yIDEzLjktOC44IDEzLjgtNC43IDMwLjIgOS4zIDM2LjYgMTQuMyA2LjUgMzMuMi4zIDQyLTEzLjggOC44LTE0LjMgNC4yLTMwLjYtMTAuMS0zNi43em0zNC45LTE0LjVjLTUuNC0yLjItMTIuMi41LTE1LjQgNS44LTMuMSA1LjQtMS40IDExLjUgNC4xIDEzLjggNS41IDIuMyAxMi42LS4zIDE1LjgtNS44IDMtNS42IDEtMTEuOC00LjUtMTMuOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WeiboCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WeiboCircleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LinkOutlinedSvg from \"@ant-design/icons-svg/es/asn/LinkOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LinkOutlined = function LinkOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LinkOutlinedSvg\n }));\n};\n\n/**![link](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTU3NCA2NjUuNGE4LjAzIDguMDMgMCAwMC0xMS4zIDBMNDQ2LjUgNzgxLjZjLTUzLjggNTMuOC0xNDQuNiA1OS41LTIwNCAwLTU5LjUtNTkuNS01My44LTE1MC4yIDAtMjA0bDExNi4yLTExNi4yYzMuMS0zLjEgMy4xLTguMiAwLTExLjNsLTM5LjgtMzkuOGE4LjAzIDguMDMgMCAwMC0xMS4zIDBMMTkxLjQgNTI2LjVjLTg0LjYgODQuNi04NC42IDIyMS41IDAgMzA2czIyMS41IDg0LjYgMzA2IDBsMTE2LjItMTE2LjJjMy4xLTMuMSAzLjEtOC4yIDAtMTEuM0w1NzQgNjY1LjR6bTI1OC42LTQ3NGMtODQuNi04NC42LTIyMS41LTg0LjYtMzA2IDBMNDEwLjMgMzA3LjZhOC4wMyA4LjAzIDAgMDAwIDExLjNsMzkuNyAzOS43YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMTE2LjItMTE2LjJjNTMuOC01My44IDE0NC42LTU5LjUgMjA0IDAgNTkuNSA1OS41IDUzLjggMTUwLjIgMCAyMDRMNjY1LjMgNTYyLjZhOC4wMyA4LjAzIDAgMDAwIDExLjNsMzkuOCAzOS44YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMTE2LjItMTE2LjJjODQuNS04NC42IDg0LjUtMjIxLjUgMC0zMDYuMXpNNjEwLjEgMzcyLjNhOC4wMyA4LjAzIDAgMDAtMTEuMyAwTDM3Mi4zIDU5OC43YTguMDMgOC4wMyAwIDAwMCAxMS4zbDM5LjYgMzkuNmMzLjEgMy4xIDguMiAzLjEgMTEuMyAwbDIyNi40LTIyNi40YzMuMS0zLjEgMy4xLTguMiAwLTExLjNsLTM5LjUtMzkuNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LinkOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LinkOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LockTwoToneSvg from \"@ant-design/icons-svg/es/asn/LockTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LockTwoTone = function LockTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LockTwoToneSvg\n }));\n};\n\n/**![lock](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA0NjRoLTY4VjI0MGMwLTcwLjctNTcuMy0xMjgtMTI4LTEyOEgzODhjLTcwLjcgMC0xMjggNTcuMy0xMjggMTI4djIyNGgtNjhjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjM4NGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWNDk2YzAtMTcuNy0xNC4zLTMyLTMyLTMyek0zMzIgMjQwYzAtMzAuOSAyNS4xLTU2IDU2LTU2aDI0OGMzMC45IDAgNTYgMjUuMSA1NiA1NnYyMjRIMzMyVjI0MHptNDYwIDYwMEgyMzJWNTM2aDU2MHYzMDR6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik0yMzIgODQwaDU2MFY1MzZIMjMydjMwNHptMjgwLTIyNmE0OC4wMSA0OC4wMSAwIDAxMjggODd2NTNjMCA0LjQtMy42IDgtOCA4aC00MGMtNC40IDAtOC0zLjYtOC04di01M2E0OC4wMSA0OC4wMSAwIDAxMjgtODd6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik00ODQgNzAxdjUzYzAgNC40IDMuNiA4IDggOGg0MGM0LjQgMCA4LTMuNiA4LTh2LTUzYTQ4LjAxIDQ4LjAxIDAgMTAtNTYgMHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LockTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LockTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MutedFilledSvg from \"@ant-design/icons-svg/es/asn/MutedFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MutedFilled = function MutedFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MutedFilledSvg\n }));\n};\n\n/**![muted](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNzcxLjkxIDExNWEzMS42NSAzMS42NSAwIDAwLTE3LjQyIDUuMjdMNDAwIDM1MS45N0gyMzZhMTYgMTYgMCAwMC0xNiAxNnYyODguMDZhMTYgMTYgMCAwMDE2IDE2aDE2NGwzNTQuNSAyMzEuN2EzMS42NiAzMS42NiAwIDAwMTcuNDIgNS4yN2MxNi42NSAwIDMyLjA4LTEzLjI1IDMyLjA4LTMyLjA2VjE0Ny4wNmMwLTE4LjgtMTUuNDQtMzIuMDYtMzIuMDktMzIuMDYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MutedFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MutedFilled';\n}\nexport default RefIcon;","/**\n * @import {Info, State} from 'mdast-util-to-markdown'\n * @import {Paragraph, Parents} from 'mdast'\n */\n\n/**\n * @param {Paragraph} node\n * @param {Parents | undefined} _\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function paragraph(node, _, state, info) {\n const exit = state.enter('paragraph')\n const subexit = state.enter('phrasing')\n const value = state.containerPhrasing(node, info)\n subexit()\n exit()\n return value\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FireFilledSvg from \"@ant-design/icons-svg/es/asn/FireFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FireFilled = function FireFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FireFilledSvg\n }));\n};\n\n/**![fire](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzNC4xIDQ2OS4yQTM0Ny40OSAzNDcuNDkgMCAwMDc1MS4yIDM1NGwtMjkuMS0yNi43YTguMDkgOC4wOSAwIDAwLTEzIDMuM2wtMTMgMzcuM2MtOC4xIDIzLjQtMjMgNDcuMy00NC4xIDcwLjgtMS40IDEuNS0zIDEuOS00LjEgMi0xLjEuMS0yLjgtLjEtNC4zLTEuNS0xLjQtMS4yLTIuMS0zLTItNC44IDMuNy02MC4yLTE0LjMtMTI4LjEtNTMuNy0yMDJDNTU1LjMgMTcxIDUxMCAxMjMuMSA0NTMuNCA4OS43bC00MS4zLTI0LjNjLTUuNC0zLjItMTIuMyAxLTEyIDcuM2wyLjIgNDhjMS41IDMyLjgtMi4zIDYxLjgtMTEuMyA4NS45LTExIDI5LjUtMjYuOCA1Ni45LTQ3IDgxLjVhMjk1LjY0IDI5NS42NCAwIDAxLTQ3LjUgNDYuMSAzNTIuNiAzNTIuNiAwIDAwLTEwMC4zIDEyMS41QTM0Ny43NSAzNDcuNzUgMCAwMDE2MCA2MTBjMCA0Ny4yIDkuMyA5Mi45IDI3LjcgMTM2YTM0OS40IDM0OS40IDAgMDA3NS41IDExMC45YzMyLjQgMzIgNzAgNTcuMiAxMTEuOSA3NC43QzQxOC41IDk0OS44IDQ2NC41IDk1OSA1MTIgOTU5czkzLjUtOS4yIDEzNi45LTI3LjNBMzQ4LjYgMzQ4LjYgMCAwMDc2MC44IDg1N2MzMi40LTMyIDU3LjgtNjkuNCA3NS41LTExMC45YTM0NC4yIDM0NC4yIDAgMDAyNy43LTEzNmMwLTQ4LjgtMTAtOTYuMi0yOS45LTE0MC45eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FireFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FireFilled';\n}\nexport default RefIcon;","/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast-util-raw').Options} RawOptions\n * @typedef {import('vfile').VFile} VFile\n */\n\n/**\n * @typedef {Omit} Options\n * Configuration.\n */\n\nimport {raw} from 'hast-util-raw'\n\n/**\n * Parse the tree (and raw nodes) again, keeping positional info okay.\n *\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns\n * Transform.\n */\nexport default function rehypeRaw(options) {\n /**\n * @param {Root} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {Root}\n * New tree.\n */\n return function (tree, file) {\n // Assume root in -> root out.\n const result = /** @type {Root} */ (raw(tree, {...options, file}))\n return result\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport InsuranceOutlinedSvg from \"@ant-design/icons-svg/es/asn/InsuranceOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar InsuranceOutlined = function InsuranceOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: InsuranceOutlinedSvg\n }));\n};\n\n/**![insurance](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0MS42IDMwNi44TDQwMyAyODguNmE2LjEgNi4xIDAgMDAtOC40IDMuN2MtMTcuNSA1OC41LTQ1LjIgMTEwLjEtODIuMiAxNTMuNmE2LjA1IDYuMDUgMCAwMC0xLjIgNS42bDEzLjIgNDMuNWMxLjMgNC40IDcgNS43IDEwLjIgMi40IDcuNy04LjEgMTUuNC0xNi45IDIzLjEtMjZWNjU2YzAgNC40IDMuNiA4IDggOEg0MDNjNC40IDAgOC0zLjYgOC04VjM5My4xYTQyOS4yIDQyOS4yIDAgMDAzMy42LTc5YzEtMi45LS4zLTYtMy03LjN6bTI2LjggOS4ydjEyNy4yYzAgNC40IDMuNiA4IDggOGg2NS45djE4LjZoLTk0LjljLTQuNCAwLTggMy42LTggOH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.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'InsuranceOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CaretRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/CaretRightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CaretRightOutlined = function CaretRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CaretRightOutlinedSvg\n }));\n};\n\n/**![caret-right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcxNS44IDQ5My41TDMzNSAxNjUuMWMtMTQuMi0xMi4yLTM1LTEuMi0zNSAxOC41djY1Ni44YzAgMTkuNyAyMC44IDMwLjcgMzUgMTguNWwzODAuOC0zMjguNGMxMC45LTkuNCAxMC45LTI3LjYgMC0zN3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CaretRightOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CaretRightOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AudioMutedOutlinedSvg from \"@ant-design/icons-svg/es/asn/AudioMutedOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AudioMutedOutlined = function AudioMutedOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AudioMutedOutlinedSvg\n }));\n};\n\n/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MgOC4wMyAwIDAwMCAxMS4zbDQyLjcgNDIuN2MzLjEgMy4xIDguMiAzLjEgMTEuMyAwTDg0Ni4yIDc5LjhsLjEtLjFjMy4xLTMuMiAzLTguMy0uMi0xMS40ek00MTcgNDAxVjIzMmMwLTUwLjYgNDEuOS05MiA5NC05MiA0NiAwIDg0LjEgMzIuMyA5Mi4zIDc0LjdMNDE3IDQwMXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AudioMutedOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AudioMutedOutlined';\n}\nexport default RefIcon;","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.setArray = {}));\n})(this, (function (exports) { 'use strict';\n\n /**\n * SetArray acts like a `Set` (allowing only one occurrence of a string `key`), but provides the\n * index of the `key` in the backing array.\n *\n * This is designed to allow synchronizing a second array with the contents of the backing array,\n * like how in a sourcemap `sourcesContent[i]` is the source content associated with `source[i]`,\n * and there are never duplicates.\n */\n class SetArray {\n constructor() {\n this._indexes = { __proto__: null };\n this.array = [];\n }\n }\n /**\n * Typescript doesn't allow friend access to private fields, so this just casts the set into a type\n * with public access modifiers.\n */\n function cast(set) {\n return set;\n }\n /**\n * Gets the index associated with `key` in the backing array, if it is already present.\n */\n function get(setarr, key) {\n return cast(setarr)._indexes[key];\n }\n /**\n * Puts `key` into the backing array, if it is not already present. Returns\n * the index of the `key` in the backing array.\n */\n function put(setarr, key) {\n // The key may or may not be present. If it is present, it's a number.\n const index = get(setarr, key);\n if (index !== undefined)\n return index;\n const { array, _indexes: indexes } = cast(setarr);\n const length = array.push(key);\n return (indexes[key] = length - 1);\n }\n /**\n * Pops the last added item out of the SetArray.\n */\n function pop(setarr) {\n const { array, _indexes: indexes } = cast(setarr);\n if (array.length === 0)\n return;\n const last = array.pop();\n indexes[last] = undefined;\n }\n /**\n * Removes the key, if it exists in the set.\n */\n function remove(setarr, key) {\n const index = get(setarr, key);\n if (index === undefined)\n return;\n const { array, _indexes: indexes } = cast(setarr);\n for (let i = index + 1; i < array.length; i++) {\n const k = array[i];\n array[i - 1] = k;\n indexes[k]--;\n }\n indexes[key] = undefined;\n array.pop();\n }\n\n exports.SetArray = SetArray;\n exports.get = get;\n exports.pop = pop;\n exports.put = put;\n exports.remove = remove;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=set-array.umd.js.map\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BookOutlinedSvg from \"@ant-design/icons-svg/es/asn/BookOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BookOutlined = function BookOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BookOutlinedSvg\n }));\n};\n\n/**![book](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA2NEgxOTJjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjgzMmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6bS0yNjAgNzJoOTZ2MjA5LjlMNjIxLjUgMzEyIDU3MiAzNDcuNFYxMzZ6bTIyMCA3NTJIMjMyVjEzNmgyODB2Mjk2LjljMCAzLjMgMSA2LjYgMyA5LjNhMTUuOSAxNS45IDAgMDAyMi4zIDMuN2w4My44LTU5LjkgODEuNCA1OS40YzIuNyAyIDYgMy4xIDkuNCAzLjEgOC44IDAgMTYtNy4yIDE2LTE2VjEzNmg2NHY3NTJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BookOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BookOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FontSizeOutlinedSvg from \"@ant-design/icons-svg/es/asn/FontSizeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FontSizeOutlined = function FontSizeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FontSizeOutlinedSvg\n }));\n};\n\n/**![font-size](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyMCA0MTZINjE2Yy00LjQgMC04IDMuNi04IDh2MTEyYzAgNC40IDMuNiA4IDggOGg0OGM0LjQgMCA4LTMuNiA4LTh2LTU2aDYwdjMyMGgtNDZjLTQuNCAwLTggMy42LTggOHY0OGMwIDQuNCAzLjYgOCA4IDhoMTY0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04aC00NlY0ODBoNjB2NTZjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0MjRjMC00LjQtMy42LTgtOC04ek02NTYgMjk2VjE2OGMwLTQuNC0zLjYtOC04LThIMTA0Yy00LjQgMC04IDMuNi04IDh2MTI4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTY0aDE2OHY1NjBoLTkyYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDI2NGM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOGgtOTJWMjMyaDE2OHY2NGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FontSizeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FontSizeOutlined';\n}\nexport default RefIcon;","import {Info} from './info.js'\nimport * as types from './types.js'\n\n/** @type {Array} */\n// @ts-expect-error: hush.\nconst checks = Object.keys(types)\n\nexport class DefinedInfo extends Info {\n /**\n * @constructor\n * @param {string} property\n * @param {string} attribute\n * @param {number|null} [mask]\n * @param {string} [space]\n */\n constructor(property, attribute, mask, space) {\n let index = -1\n\n super(property, attribute)\n\n mark(this, 'space', space)\n\n if (typeof mask === 'number') {\n while (++index < checks.length) {\n const check = checks[index]\n mark(this, checks[index], (mask & types[check]) === types[check])\n }\n }\n }\n}\n\nDefinedInfo.prototype.defined = true\n\n/**\n * @param {DefinedInfo} values\n * @param {string} key\n * @param {unknown} value\n */\nfunction mark(values, key, value) {\n if (value) {\n // @ts-expect-error: assume `value` matches the expected value of `key`.\n values[key] = value\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { formatValue, isInRange, isSameYear } from \"../../utils/dateUtil\";\nimport { PanelContext, useInfo } from \"../context\";\nimport PanelBody from \"../PanelBody\";\nimport PanelHeader from \"../PanelHeader\";\nexport default function YearPanel(props) {\n var prefixCls = props.prefixCls,\n locale = props.locale,\n generateConfig = props.generateConfig,\n pickerValue = props.pickerValue,\n disabledDate = props.disabledDate,\n onPickerValueChange = props.onPickerValueChange,\n onModeChange = props.onModeChange;\n var panelPrefixCls = \"\".concat(prefixCls, \"-year-panel\");\n\n // ========================== Base ==========================\n var _useInfo = useInfo(props, 'year'),\n _useInfo2 = _slicedToArray(_useInfo, 1),\n info = _useInfo2[0];\n var getStartYear = function getStartYear(date) {\n var startYear = Math.floor(generateConfig.getYear(date) / 10) * 10;\n return generateConfig.setYear(date, startYear);\n };\n var getEndYear = function getEndYear(date) {\n var startYear = getStartYear(date);\n return generateConfig.addYear(startYear, 9);\n };\n var startYearDate = getStartYear(pickerValue);\n var endYearDate = getEndYear(pickerValue);\n var baseDate = generateConfig.addYear(startYearDate, -1);\n\n // ========================= Cells ==========================\n var getCellDate = function getCellDate(date, offset) {\n return generateConfig.addYear(date, offset);\n };\n var getCellText = function getCellText(date) {\n return formatValue(date, {\n locale: locale,\n format: locale.cellYearFormat,\n generateConfig: generateConfig\n });\n };\n var getCellClassName = function getCellClassName(date) {\n return _defineProperty({}, \"\".concat(prefixCls, \"-cell-in-view\"), isSameYear(generateConfig, date, startYearDate) || isSameYear(generateConfig, date, endYearDate) || isInRange(generateConfig, startYearDate, endYearDate, date));\n };\n\n // ======================== Disabled ========================\n var mergedDisabledDate = disabledDate ? function (currentDate, disabledInfo) {\n // Start\n var startMonth = generateConfig.setMonth(currentDate, 0);\n var startDate = generateConfig.setDate(startMonth, 1);\n\n // End\n var endMonth = generateConfig.addYear(startDate, 1);\n var endDate = generateConfig.addDate(endMonth, -1);\n return disabledDate(startDate, disabledInfo) && disabledDate(endDate, disabledInfo);\n } : null;\n\n // ========================= Header =========================\n var yearNode = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n key: \"decade\",\n \"aria-label\": \"decade panel\",\n onClick: function onClick() {\n onModeChange('decade');\n },\n tabIndex: -1,\n className: \"\".concat(prefixCls, \"-decade-btn\")\n }, formatValue(startYearDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n }), \"-\", formatValue(endYearDate, {\n locale: locale,\n format: locale.yearFormat,\n generateConfig: generateConfig\n }));\n\n // ========================= Render =========================\n return /*#__PURE__*/React.createElement(PanelContext.Provider, {\n value: info\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: panelPrefixCls\n }, /*#__PURE__*/React.createElement(PanelHeader, {\n superOffset: function superOffset(distance) {\n return generateConfig.addYear(pickerValue, distance * 10);\n },\n onChange: onPickerValueChange\n // Limitation\n ,\n getStart: getStartYear,\n getEnd: getEndYear\n }, yearNode), /*#__PURE__*/React.createElement(PanelBody, _extends({}, props, {\n disabledDate: mergedDisabledDate,\n titleFormat: locale.fieldYearFormat,\n colNum: 3,\n rowNum: 4,\n baseDate: baseDate\n // Body\n ,\n getCellDate: getCellDate,\n getCellText: getCellText,\n getCellClassName: getCellClassName\n }))));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DingtalkOutlinedSvg from \"@ant-design/icons-svg/es/asn/DingtalkOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DingtalkOutlined = function DingtalkOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DingtalkOutlinedSvg\n }));\n};\n\n/**![dingtalk](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTU3My43IDI1Mi41QzQyMi41IDE5Ny40IDIwMS4zIDk2LjcgMjAxLjMgOTYuN2MtMTUuNy00LjEtMTcuOSAxMS4xLTE3LjkgMTEuMS01IDYxLjEgMzMuNiAxNjAuNSA1My42IDE4Mi44IDE5LjkgMjIuMyAzMTkuMSAxMTMuNyAzMTkuMSAxMTMuN1MzMjYgMzU3LjkgMjcwLjUgMzQxLjljLTU1LjYtMTYtMzcuOSAxNy44LTM3LjkgMTcuOCAxMS40IDYxLjcgNjQuOSAxMzEuOCAxMDcuMiAxMzguNCA0Mi4yIDYuNiAyMjAuMSA0IDIyMC4xIDRzLTM1LjUgNC4xLTkzLjIgMTEuOWMtNDIuNyA1LjgtOTcgMTIuNS0xMTEuMSAxNy44LTMzLjEgMTIuNSAyNCA2Mi42IDI0IDYyLjYgODQuNyA3Ni44IDEyOS43IDUwLjUgMTI5LjcgNTAuNSAzMy4zLTEwLjcgNjEuNC0xOC41IDg1LjItMjQuMkw1NjUgNzQzLjFoODQuNkw2MDMgOTI4bDIwNS4zLTI3MS45SDcwMC44bDIyLjMtMzguN2MuMy41LjQuOC40LjhTNzk5LjggNDk2LjEgODI5IDQzMy44bC42LTFoLS4xYzUtMTAuOCA4LjYtMTkuNyAxMC0yNS44IDE3LTcxLjMtMTE0LjUtOTkuNC0yNjUuOC0xNTQuNXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DingtalkOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DingtalkOutlined';\n}\nexport default RefIcon;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar SPLIT = '__@field_split__';\n\n/**\n * Convert name path into string to fast the fetch speed of Map.\n */\nfunction normalize(namePath) {\n return namePath.map(function (cell) {\n return \"\".concat(_typeof(cell), \":\").concat(cell);\n })\n // Magic split\n .join(SPLIT);\n}\n\n/**\n * NameMap like a `Map` but accepts `string[]` as key.\n */\nvar NameMap = /*#__PURE__*/function () {\n function NameMap() {\n _classCallCheck(this, NameMap);\n _defineProperty(this, \"kvs\", new Map());\n }\n _createClass(NameMap, [{\n key: \"set\",\n value: function set(key, value) {\n this.kvs.set(normalize(key), value);\n }\n }, {\n key: \"get\",\n value: function get(key) {\n return this.kvs.get(normalize(key));\n }\n }, {\n key: \"update\",\n value: function update(key, updater) {\n var origin = this.get(key);\n var next = updater(origin);\n if (!next) {\n this.delete(key);\n } else {\n this.set(key, next);\n }\n }\n }, {\n key: \"delete\",\n value: function _delete(key) {\n this.kvs.delete(normalize(key));\n }\n\n // Since we only use this in test, let simply realize this\n }, {\n key: \"map\",\n value: function map(callback) {\n return _toConsumableArray(this.kvs.entries()).map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n var cells = key.split(SPLIT);\n return callback({\n key: cells.map(function (cell) {\n var _cell$match = cell.match(/^([^:]*):(.*)$/),\n _cell$match2 = _slicedToArray(_cell$match, 3),\n type = _cell$match2[1],\n unit = _cell$match2[2];\n return type === 'number' ? Number(unit) : unit;\n }),\n value: value\n });\n });\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var json = {};\n this.map(function (_ref3) {\n var key = _ref3.key,\n value = _ref3.value;\n json[key.join('.')] = value;\n return null;\n });\n return json;\n }\n }]);\n return NameMap;\n}();\nexport default NameMap;","import { CODE_POINTS as $, getSurrogatePairCodePoint, isControlCodePoint, isSurrogate, isSurrogatePair, isUndefinedCodePoint, } from '../common/unicode.js';\nimport { ERR } from '../common/error-codes.js';\n//Const\nconst DEFAULT_BUFFER_WATERLINE = 1 << 16;\n//Preprocessor\n//NOTE: HTML input preprocessing\n//(see: http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#preprocessing-the-input-stream)\nexport class Preprocessor {\n constructor(handler) {\n this.handler = handler;\n this.html = '';\n this.pos = -1;\n // NOTE: Initial `lastGapPos` is -2, to ensure `col` on initialisation is 0\n this.lastGapPos = -2;\n this.gapStack = [];\n this.skipNextNewLine = false;\n this.lastChunkWritten = false;\n this.endOfChunkHit = false;\n this.bufferWaterline = DEFAULT_BUFFER_WATERLINE;\n this.isEol = false;\n this.lineStartPos = 0;\n this.droppedBufferSize = 0;\n this.line = 1;\n //NOTE: avoid reporting errors twice on advance/retreat\n this.lastErrOffset = -1;\n }\n /** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */\n get col() {\n return this.pos - this.lineStartPos + Number(this.lastGapPos !== this.pos);\n }\n get offset() {\n return this.droppedBufferSize + this.pos;\n }\n getError(code, cpOffset) {\n const { line, col, offset } = this;\n const startCol = col + cpOffset;\n const startOffset = offset + cpOffset;\n return {\n code,\n startLine: line,\n endLine: line,\n startCol,\n endCol: startCol,\n startOffset,\n endOffset: startOffset,\n };\n }\n _err(code) {\n if (this.handler.onParseError && this.lastErrOffset !== this.offset) {\n this.lastErrOffset = this.offset;\n this.handler.onParseError(this.getError(code, 0));\n }\n }\n _addGap() {\n this.gapStack.push(this.lastGapPos);\n this.lastGapPos = this.pos;\n }\n _processSurrogate(cp) {\n //NOTE: try to peek a surrogate pair\n if (this.pos !== this.html.length - 1) {\n const nextCp = this.html.charCodeAt(this.pos + 1);\n if (isSurrogatePair(nextCp)) {\n //NOTE: we have a surrogate pair. Peek pair character and recalculate code point.\n this.pos++;\n //NOTE: add a gap that should be avoided during retreat\n this._addGap();\n return getSurrogatePairCodePoint(cp, nextCp);\n }\n }\n //NOTE: we are at the end of a chunk, therefore we can't infer the surrogate pair yet.\n else if (!this.lastChunkWritten) {\n this.endOfChunkHit = true;\n return $.EOF;\n }\n //NOTE: isolated surrogate\n this._err(ERR.surrogateInInputStream);\n return cp;\n }\n willDropParsedChunk() {\n return this.pos > this.bufferWaterline;\n }\n dropParsedChunk() {\n if (this.willDropParsedChunk()) {\n this.html = this.html.substring(this.pos);\n this.lineStartPos -= this.pos;\n this.droppedBufferSize += this.pos;\n this.pos = 0;\n this.lastGapPos = -2;\n this.gapStack.length = 0;\n }\n }\n write(chunk, isLastChunk) {\n if (this.html.length > 0) {\n this.html += chunk;\n }\n else {\n this.html = chunk;\n }\n this.endOfChunkHit = false;\n this.lastChunkWritten = isLastChunk;\n }\n insertHtmlAtCurrentPos(chunk) {\n this.html = this.html.substring(0, this.pos + 1) + chunk + this.html.substring(this.pos + 1);\n this.endOfChunkHit = false;\n }\n startsWith(pattern, caseSensitive) {\n // Check if our buffer has enough characters\n if (this.pos + pattern.length > this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return false;\n }\n if (caseSensitive) {\n return this.html.startsWith(pattern, this.pos);\n }\n for (let i = 0; i < pattern.length; i++) {\n const cp = this.html.charCodeAt(this.pos + i) | 0x20;\n if (cp !== pattern.charCodeAt(i)) {\n return false;\n }\n }\n return true;\n }\n peek(offset) {\n const pos = this.pos + offset;\n if (pos >= this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return $.EOF;\n }\n const code = this.html.charCodeAt(pos);\n return code === $.CARRIAGE_RETURN ? $.LINE_FEED : code;\n }\n advance() {\n this.pos++;\n //NOTE: LF should be in the last column of the line\n if (this.isEol) {\n this.isEol = false;\n this.line++;\n this.lineStartPos = this.pos;\n }\n if (this.pos >= this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return $.EOF;\n }\n let cp = this.html.charCodeAt(this.pos);\n //NOTE: all U+000D CARRIAGE RETURN (CR) characters must be converted to U+000A LINE FEED (LF) characters\n if (cp === $.CARRIAGE_RETURN) {\n this.isEol = true;\n this.skipNextNewLine = true;\n return $.LINE_FEED;\n }\n //NOTE: any U+000A LINE FEED (LF) characters that immediately follow a U+000D CARRIAGE RETURN (CR) character\n //must be ignored.\n if (cp === $.LINE_FEED) {\n this.isEol = true;\n if (this.skipNextNewLine) {\n // `line` will be bumped again in the recursive call.\n this.line--;\n this.skipNextNewLine = false;\n this._addGap();\n return this.advance();\n }\n }\n this.skipNextNewLine = false;\n if (isSurrogate(cp)) {\n cp = this._processSurrogate(cp);\n }\n //OPTIMIZATION: first check if code point is in the common allowed\n //range (ASCII alphanumeric, whitespaces, big chunk of BMP)\n //before going into detailed performance cost validation.\n const isCommonValidRange = this.handler.onParseError === null ||\n (cp > 0x1f && cp < 0x7f) ||\n cp === $.LINE_FEED ||\n cp === $.CARRIAGE_RETURN ||\n (cp > 0x9f && cp < 64976);\n if (!isCommonValidRange) {\n this._checkForProblematicCharacters(cp);\n }\n return cp;\n }\n _checkForProblematicCharacters(cp) {\n if (isControlCodePoint(cp)) {\n this._err(ERR.controlCharacterInInputStream);\n }\n else if (isUndefinedCodePoint(cp)) {\n this._err(ERR.noncharacterInInputStream);\n }\n }\n retreat(count) {\n this.pos -= count;\n while (this.pos < this.lastGapPos) {\n this.lastGapPos = this.gapStack.pop();\n this.pos--;\n }\n this.isEol = false;\n }\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WechatWorkFilledSvg from \"@ant-design/icons-svg/es/asn/WechatWorkFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WechatWorkFilled = function WechatWorkFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WechatWorkFilledSvg\n }));\n};\n\n/**![wechat-work](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNODA1LjMzIDExMkgyMTguNjdDMTU5Ljc2IDExMiAxMTIgMTU5Ljc2IDExMiAyMTguNjd2NTg2LjY2QzExMiA4NjQuMjQgMTU5Ljc2IDkxMiAyMTguNjcgOTEyaDU4Ni42NkM4NjQuMjQgOTE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DEtNS43MyAzOS4wNiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WechatWorkFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WechatWorkFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FolderFilledSvg from \"@ant-design/icons-svg/es/asn/FolderFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FolderFilled = function FolderFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FolderFilledSvg\n }));\n};\n\n/**![folder](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAyOTguNEg1MjFMNDAzLjcgMTg2LjJhOC4xNSA4LjE1IDAgMDAtNS41LTIuMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjU5MmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMzMwLjRjMC0xNy43LTE0LjMtMzItMzItMzJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FolderFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FolderFilled';\n}\nexport default RefIcon;","/**\n * @import {Info, State} from 'mdast-util-to-markdown'\n * @import {Parents, Root} from 'mdast'\n */\n\nimport {phrasing} from 'mdast-util-phrasing'\n\n/**\n * @param {Root} node\n * @param {Parents | undefined} _\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function root(node, _, state, info) {\n // Note: `html` nodes are ambiguous.\n const hasPhrasing = node.children.some(function (d) {\n return phrasing(d)\n })\n\n const container = hasPhrasing ? state.containerPhrasing : state.containerFlow\n return container.call(state, node, info)\n}\n","/**\n * @import {Options, State} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {State} state\n * @returns {Exclude}\n */\nexport function checkStrong(state) {\n const marker = state.options.strong || '*'\n\n if (marker !== '*' && marker !== '_') {\n throw new Error(\n 'Cannot serialize strong with `' +\n marker +\n '` for `options.strong`, expected `*`, or `_`'\n )\n }\n\n return marker\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BackwardOutlinedSvg from \"@ant-design/icons-svg/es/asn/BackwardOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BackwardOutlined = function BackwardOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BackwardOutlinedSvg\n }));\n};\n\n/**![backward](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4NS42IDI0OS45TDE5OC4yIDQ5OGMtOC4zIDcuMS04LjMgMjAuOCAwIDI3LjlsMjg3LjQgMjQ4LjJjMTAuNyA5LjIgMjYuNC45IDI2LjQtMTRWMjYzLjhjMC0xNC44LTE1LjctMjMuMi0yNi40LTEzLjl6bTMyMCAwTDUxOC4yIDQ5OGExOC42IDE4LjYgMCAwMC02LjIgMTRjMCA1LjIgMi4xIDEwLjQgNi4yIDE0bDI4Ny40IDI0OC4yYzEwLjcgOS4yIDI2LjQuOSAyNi40LTE0VjI2My44YzAtMTQuOC0xNS43LTIzLjItMjYuNC0xMy45eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BackwardOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BackwardOutlined';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"children\", \"value\"];\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport warning from \"rc-util/es/warning\";\nimport TreeNode from \"../TreeNode\";\nexport function convertChildrenToData(nodes) {\n return toArray(nodes).map(function (node) {\n if (! /*#__PURE__*/React.isValidElement(node) || !node.type) {\n return null;\n }\n var _ref = node,\n key = _ref.key,\n _ref$props = _ref.props,\n children = _ref$props.children,\n value = _ref$props.value,\n restProps = _objectWithoutProperties(_ref$props, _excluded);\n var data = _objectSpread({\n key: key,\n value: value\n }, restProps);\n var childData = convertChildrenToData(children);\n if (childData.length) {\n data.children = childData;\n }\n return data;\n }).filter(function (data) {\n return data;\n });\n}\nexport function fillLegacyProps(dataNode) {\n if (!dataNode) {\n return dataNode;\n }\n var cloneNode = _objectSpread({}, dataNode);\n if (!('props' in cloneNode)) {\n Object.defineProperty(cloneNode, 'props', {\n get: function get() {\n warning(false, 'New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access.');\n return cloneNode;\n }\n });\n }\n return cloneNode;\n}\nexport function fillAdditionalInfo(extra, triggerValue, checkedValues, treeData, showPosition, fieldNames) {\n var triggerNode = null;\n var nodeList = null;\n function generateMap() {\n function dig(list) {\n var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';\n var parentIncluded = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return list.map(function (option, index) {\n var pos = \"\".concat(level, \"-\").concat(index);\n var value = option[fieldNames.value];\n var included = checkedValues.includes(value);\n var children = dig(option[fieldNames.children] || [], pos, included);\n var node = /*#__PURE__*/React.createElement(TreeNode, option, children.map(function (child) {\n return child.node;\n }));\n\n // Link with trigger node\n if (triggerValue === value) {\n triggerNode = node;\n }\n if (included) {\n var checkedNode = {\n pos: pos,\n node: node,\n children: children\n };\n if (!parentIncluded) {\n nodeList.push(checkedNode);\n }\n return checkedNode;\n }\n return null;\n }).filter(function (node) {\n return node;\n });\n }\n if (!nodeList) {\n nodeList = [];\n dig(treeData);\n\n // Sort to keep the checked node length\n nodeList.sort(function (_ref2, _ref3) {\n var val1 = _ref2.node.props.value;\n var val2 = _ref3.node.props.value;\n var index1 = checkedValues.indexOf(val1);\n var index2 = checkedValues.indexOf(val2);\n return index1 - index2;\n });\n }\n }\n Object.defineProperty(extra, 'triggerNode', {\n get: function get() {\n warning(false, '`triggerNode` is deprecated. Please consider decoupling data with node.');\n generateMap();\n return triggerNode;\n }\n });\n Object.defineProperty(extra, 'allCheckedNodes', {\n get: function get() {\n warning(false, '`allCheckedNodes` is deprecated. Please consider decoupling data with node.');\n generateMap();\n if (showPosition) {\n return nodeList;\n }\n return nodeList.map(function (_ref4) {\n var node = _ref4.node;\n return node;\n });\n }\n });\n}","import {create} from './util/create.js'\n\nexport const xml = create({\n space: 'xml',\n transform(_, prop) {\n return 'xml:' + prop.slice(3).toLowerCase()\n },\n properties: {xmlLang: null, xmlBase: null, xmlSpace: null}\n})\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport HeartTwoToneSvg from \"@ant-design/icons-svg/es/asn/HeartTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar HeartTwoTone = function HeartTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: HeartTwoToneSvg\n }));\n};\n\n/**![heart](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2E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DIwMSA2NzkuNyAyMDFjMTA0IDAgMTg4LjMgODIuNiAxODguMyAxODQuNSAwIDIwMS4yLTM1NiA0MjkuMy0zNTYgNDI5LjN6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik02NzkuNyAyMDFjLTczLjEgMC0xMzYuNSA0MC44LTE2Ny43IDEwMC40QzQ4MC44IDI0MS44IDQxNy40IDIwMSAzNDQuMyAyMDFjLTEwNCAwLTE4OC4zIDgyLjYtMTg4LjMgMTg0LjUgMCAyMDEuMiAzNTYgNDI5LjMgMzU2IDQyOS4zczM1Ni0yMjguMSAzNTYtNDI5LjNDODY4IDI4My42IDc4My43IDIwMSA2NzkuNyAyMDF6IiBmaWxsPSIjZTZmNGZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(HeartTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'HeartTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PlusCircleFilledSvg from \"@ant-design/icons-svg/es/asn/PlusCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PlusCircleFilled = function PlusCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PlusCircleFilledSvg\n }));\n};\n\n/**![plus-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0xOTIgNDcyYzAgNC40LTMuNiA4LTggOEg1NDR2MTUyYzAgNC40LTMuNiA4LTggOGgtNDhjLTQuNCAwLTgtMy42LTgtOFY1NDRIMzI4Yy00LjQgMC04LTMuNi04LTh2LTQ4YzAtNC40IDMuNi04IDgtOGgxNTJWMzI4YzAtNC40IDMuNi04IDgtOGg0OGM0LjQgMCA4IDMuNiA4IDh2MTUyaDE1MmM0LjQgMCA4IDMuNiA4IDh2NDh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PlusCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PlusCircleFilled';\n}\nexport default RefIcon;","/**\n * @typedef {import('hast').Nodes} Nodes\n */\n\n// HTML whitespace expression.\n// See .\nconst re = /[ \\t\\n\\f\\r]/g\n\n/**\n * Check if the given value is *inter-element whitespace*.\n *\n * @param {Nodes | string} thing\n * Thing to check (`Node` or `string`).\n * @returns {boolean}\n * Whether the `value` is inter-element whitespace (`boolean`): consisting of\n * zero or more of space, tab (`\\t`), line feed (`\\n`), carriage return\n * (`\\r`), or form feed (`\\f`); if a node is passed it must be a `Text` node,\n * whose `value` field is checked.\n */\nexport function whitespace(thing) {\n return typeof thing === 'object'\n ? thing.type === 'text'\n ? empty(thing.value)\n : false\n : empty(thing)\n}\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction empty(value) {\n return value.replace(re, '') === ''\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ProfileOutlinedSvg from \"@ant-design/icons-svg/es/asn/ProfileOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ProfileOutlined = function ProfileOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ProfileOutlinedSvg\n }));\n};\n\n/**![profile](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQwIDcyOEgxODRWMTg0aDY1NnY2NTZ6TTQ5MiA0MDBoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHptMCAxNDRoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHptMCAxNDRoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04SDQ5MmMtNC40IDAtOCAzLjYtOCA4djQ4YzAgNC40IDMuNiA4IDggOHpNMzQwIDM2OGE0MCA0MCAwIDEwODAgMCA0MCA0MCAwIDEwLTgwIDB6bTAgMTQ0YTQwIDQwIDAgMTA4MCAwIDQwIDQwIDAgMTAtODAgMHptMCAxNDRhNDAgNDAgMCAxMDgwIDAgNDAgNDAgMCAxMC04MCAweiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ProfileOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ProfileOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DislikeFilledSvg from \"@ant-design/icons-svg/es/asn/DislikeFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DislikeFilled = function DislikeFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DislikeFilledSvg\n }));\n};\n\n/**![dislike](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4NS45IDQ5MC4zYzMuNi0xMiA1LjQtMjQuNCA1LjQtMzcgMC0yOC4zLTkuMy01NS41LTI2LjEtNzcuNyAzLjYtMTIgNS40LTI0LjQgNS40LTM3IDAtMjguMy05LjMtNTUuNS0yNi4xLTc3LjcgMy42LTEyIDUuNC0yNC40IDUuNC0zNyAwLTUxLjYtMzAuNy05OC4xLTc4LjMtMTE4LjRhNjYuMSA2Ni4xIDAgMDAtMjYuNS01LjRIMjczdjQyOGguM2w4NS44IDMxMC44QzM3Mi45IDg4OSA0MTguOSA5MjQgNDcwLjkgOTI0YzI5LjcgMCA1Ny40LTExLjggNzcuOS0zMy40IDIwLjUtMjEuNSAzMS00OS43IDI5LjUtNzkuNGwtNi0xMjIuOWgyMzkuOWMxMi4xIDAgMjMuOS0zLjIgMzQuMy05LjMgNDAuNC0yMy41IDY1LjUtNjYuMSA2NS41LTExMSAwLTI4LjMtOS4zLTU1LjUtMjYuMS03Ny43ek0xMTIgMTMydjM2NGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NVYxMDBoLTY1Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DislikeFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DislikeFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport UpCircleFilledSvg from \"@ant-design/icons-svg/es/asn/UpCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar UpCircleFilled = function UpCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: UpCircleFilledSvg\n }));\n};\n\n/**![up-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0xNzggNTU1aC00Ni45Yy0xMC4yIDAtMTkuOS00LjktMjUuOS0xMy4yTDUxMiA0NjAuNCA0MDYuOCA2MDUuOGMtNiA4LjMtMTUuNiAxMy4yLTI1LjkgMTMuMkgzMzRjLTYuNSAwLTEwLjMtNy40LTYuNS0xMi43bDE3OC0yNDZjMy4yLTQuNCA5LjctNC40IDEyLjkgMGwxNzggMjQ2YzMuOSA1LjMuMSAxMi43LTYuNCAxMi43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(UpCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'UpCircleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AlibabaOutlinedSvg from \"@ant-design/icons-svg/es/asn/AlibabaOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AlibabaOutlined = function AlibabaOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AlibabaOutlinedSvg\n }));\n};\n\n/**![alibaba](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwMi45IDY2OS44Yy0zNy4yIDIuNi0zMy42LTE3LjMtMTEuNS00Ni4yIDUwLjQtNjcuMiAxNDMuNy0xNTguNSAxNDcuOS0yMjUuMiA1LjgtODYuNi04MS4zLTExMy40LTE3MS0xMTMuNC02Mi40IDEuNi0xMjcgMTguOS0xNzEgMzQuNi0xNTEuNiA1My41LTI0Ni42IDEzNy41LTMwNi45IDIzMi02Mi40IDkzLjQtNDMgMTgzLjIgOTEuOCAxODUuOCAxMDEuOC00LjIgMTcwLjUtMzIuNSAyMzkuNy02OC4yLjUgMC0xOTIuNSA1NS4xLTI2My45IDE0LjctNy45LTQuMi0xNS43LTEwLTE3LjgtMjYuMiAwLTMzLjEgNTQuNi02Ny43IDg2LjYtNzguN3YtNTYuN2M2NC41IDIyLjYgMTQwLjYgMTYuMyAyMDUuNy0zMiAyLjEgNS44IDQuMiAxMy4xIDMuNyAyMWgxMWMyLjYtMjIuNi0xMi42LTQ0LjYtMzcuOC00Ni4yIDcuMyA1LjggMTIuNiAxMC41IDE1LjIgMTQuN2wtMSAxLS41LjVjLTgzLjkgNTguOC0xNjUuMyAzMS41LTE3My4xIDI5LjlsNDYuNy00NS43LTEzLjEtMzMuMWM5Mi45LTMyLjUgMTY5LjUtNTYuMiAyOTYuOS03OC43bC0yOC41LTIzIDE0LjctOC45Yzc1LjUgMjEgMTI2LjQgMzYuNyAxMjMuOCA3Ni42LTEgNi44LTMuNyAxNC43LTcuOSAyMy4xQzY2MC4xIDQ2Ni4xIDU5NCA1MzggNTY3LjIgNTY5Yy0xNy4zIDIwLjUtMzQuNiAzOS40LTQ2LjcgNTguMy0xMy42IDE5LjQtMjAuNSAzNy4zLTIxIDUzLjUgMi42IDEzMS44IDM5MS40LTYxLjkgNDY4LTExMi45LTExMS43IDQ3LjgtMjMyLjkgOTMuNS0zNjQuNiAxMDEuOXptODUtMzAyLjljMi44IDUuMiA0LjEgMTEuNiA0LjEgMTkuMS0uMS02LjgtMS40LTEzLjMtNC4xLTE5LjF6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AlibabaOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AlibabaOutlined';\n}\nexport default RefIcon;","\nimport {TokenType as tt} from \"../parser/tokenizer/types\";\n\n/**\n * Get all identifier names in the code, in order, including duplicates.\n */\nexport default function getIdentifierNames(code, tokens) {\n const names = [];\n for (const token of tokens) {\n if (token.type === tt.name) {\n names.push(code.slice(token.start, token.end));\n }\n }\n return names;\n}\n","\n\n\n\n\n\n\n\n\nexport default function getJSXPragmaInfo(options) {\n const [base, suffix] = splitPragma(options.jsxPragma || \"React.createElement\");\n const [fragmentBase, fragmentSuffix] = splitPragma(options.jsxFragmentPragma || \"React.Fragment\");\n return {base, suffix, fragmentBase, fragmentSuffix};\n}\n\nfunction splitPragma(pragma) {\n let dotIndex = pragma.indexOf(\".\");\n if (dotIndex === -1) {\n dotIndex = pragma.length;\n }\n return [pragma.slice(0, dotIndex), pragma.slice(dotIndex)];\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport UpCircleTwoToneSvg from \"@ant-design/icons-svg/es/asn/UpCircleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar UpCircleTwoTone = function UpCircleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: UpCircleTwoToneSvg\n }));\n};\n\n/**![up-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiAxNDBjLTIwNS40IDAtMzcyIDE2Ni42LTM3MiAzNzJzMTY2LjYgMzcyIDM3MiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzItMTY2LjYtMzcyLTM3Mi0zNzJ6bTE3OCA0NzloLTQ2LjljLTEwLjIgMC0xOS45LTQuOS0yNS45LTEzLjJMNTEyIDQ2MC40IDQwNi44IDYwNS44Yy02IDguMy0xNS42IDEzLjItMjUuOSAxMy4ySDMzNGMtNi41IDAtMTAuMy03LjQtNi41LTEyLjdsMTc4LTI0NmMzLjItNC40IDkuNy00LjQgMTIuOSAwbDE3OCAyNDZjMy45IDUuMy4xIDEyLjctNi40IDEyLjd6IiBmaWxsPSIjZTZmNGZmIiAvPjxwYXRoIGQ9Ik01MTIgNjRDMjY0LjYgNjQgNjQgMjY0LjYgNjQgNTEyczIwMC42IDQ0OCA0NDggNDQ4IDQ0OC0yMDAuNiA0NDgtNDQ4Uzc1OS40IDY0IDUxMiA2NHptMCA4MjBjLTIwNS40IDAtMzcyLTE2Ni42LTM3Mi0zNzJzMTY2LjYtMzcyIDM3Mi0zNzIgMzcyIDE2Ni42IDM3MiAzNzItMTY2LjYgMzcyLTM3MiAzNzJ6IiBmaWxsPSIjMTY3N2ZmIiAvPjxwYXRoIGQ9Ik01MTguNCAzNjAuM2E3Ljk1IDcuOTUgMCAwMC0xMi45IDBsLTE3OCAyNDZjLTMuOCA1LjMgMCAxMi43IDYuNSAxMi43aDQ2LjljMTAuMyAwIDE5LjktNC45IDI1LjktMTMuMkw1MTIgNDYwLjRsMTA1LjIgMTQ1LjRjNiA4LjMgMTUuNyAxMy4yIDI1LjkgMTMuMkg2OTBjNi41IDAgMTAuMy03LjQgNi40LTEyLjdsLTE3OC0yNDZ6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(UpCircleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'UpCircleTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ShoppingOutlinedSvg from \"@ant-design/icons-svg/es/asn/ShoppingOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ShoppingOutlined = function ShoppingOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ShoppingOutlinedSvg\n }));\n};\n\n/**![shopping](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiAzMTJINjk2di0xNmMwLTEwMS42LTgyLjQtMTg0LTE4NC0xODRzLTE4NCA4Mi40LTE4NCAxODR2MTZIMTkyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNjQwYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjM0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQzMi0xNmMwLTYxLjkgNTAuMS0xMTIgMTEyLTExMnMxMTIgNTAuMSAxMTIgMTEydjE2SDQwMHYtMTZ6bTM5MiA1NDRIMjMyVjM4NGg5NnY4OGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04di04OGgyMjR2ODhjMCA0LjQgMy42IDggOCA4aDU2YzQuNCAwIDgtMy42IDgtOHYtODhoOTZ2NDU2eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ShoppingOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ShoppingOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SunFilledSvg from \"@ant-design/icons-svg/es/asn/SunFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SunFilled = function SunFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SunFilledSvg\n }));\n};\n\n/**![sun](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNTQ4IDgxOHYxMjZhMTYgMTYgMCAwMS0xNiAxNmgtNDBhMTYgMTYgMCAwMS0xNi0xNlY4MThjMTUuODUgMS42NCAyNy44NCAyLjQ2IDM2IDIuNDYgOC4xNSAwIDIwLjE2LS44MiAzNi0yLjQ2bTIwNS4yNS0xMTUuNjZsODkuMSA4OS4xYTE2IDE2IDAgMDEwIDIyLjYybC0yOC4yOSAyOC4yOWExNiAxNiAwIDAxLTIyLjYyIDBsLTg5LjEtODkuMWMxMi4zNy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i42MiAwTTUzMiA2NGExNiAxNiAwIDAxMTYgMTZ2MTI2Yy0xNS44NS0xLjY0LTI3Ljg0LTIuNDYtMzYtMi40Ni04LjE1IDAtMjAuMTYuODItMzYgMi40NlY4MGExNiAxNiAwIDAxMTYtMTZ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SunFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SunFilled';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"showArrow\", \"headerClass\", \"isActive\", \"onItemClick\", \"forceRender\", \"className\", \"classNames\", \"styles\", \"prefixCls\", \"collapsible\", \"accordion\", \"panelKey\", \"extra\", \"header\", \"expandIcon\", \"openMotion\", \"destroyInactivePanel\", \"children\"];\nimport classNames from 'classnames';\nimport CSSMotion from 'rc-motion';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport React from 'react';\nimport PanelContent from \"./PanelContent\";\nvar CollapsePanel = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow,\n headerClass = props.headerClass,\n isActive = props.isActive,\n onItemClick = props.onItemClick,\n forceRender = props.forceRender,\n className = props.className,\n _props$classNames = props.classNames,\n customizeClassNames = _props$classNames === void 0 ? {} : _props$classNames,\n _props$styles = props.styles,\n styles = _props$styles === void 0 ? {} : _props$styles,\n prefixCls = props.prefixCls,\n collapsible = props.collapsible,\n accordion = props.accordion,\n panelKey = props.panelKey,\n extra = props.extra,\n header = props.header,\n expandIcon = props.expandIcon,\n openMotion = props.openMotion,\n destroyInactivePanel = props.destroyInactivePanel,\n children = props.children,\n resetProps = _objectWithoutProperties(props, _excluded);\n var disabled = collapsible === 'disabled';\n var ifExtraExist = extra !== null && extra !== undefined && typeof extra !== 'boolean';\n var collapsibleProps = _defineProperty(_defineProperty(_defineProperty({\n onClick: function onClick() {\n onItemClick === null || onItemClick === void 0 || onItemClick(panelKey);\n },\n onKeyDown: function onKeyDown(e) {\n if (e.key === 'Enter' || e.keyCode === KeyCode.ENTER || e.which === KeyCode.ENTER) {\n onItemClick === null || onItemClick === void 0 || onItemClick(panelKey);\n }\n },\n role: accordion ? 'tab' : 'button'\n }, 'aria-expanded', isActive), 'aria-disabled', disabled), \"tabIndex\", disabled ? -1 : 0);\n\n // ======================== Icon ========================\n var iconNodeInner = typeof expandIcon === 'function' ? expandIcon(props) : /*#__PURE__*/React.createElement(\"i\", {\n className: \"arrow\"\n });\n var iconNode = iconNodeInner && /*#__PURE__*/React.createElement(\"div\", _extends({\n className: \"\".concat(prefixCls, \"-expand-icon\")\n }, ['header', 'icon'].includes(collapsible) ? collapsibleProps : {}), iconNodeInner);\n var collapsePanelClassNames = classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-item-active\"), isActive), \"\".concat(prefixCls, \"-item-disabled\"), disabled), className);\n var headerClassName = classNames(headerClass, \"\".concat(prefixCls, \"-header\"), _defineProperty({}, \"\".concat(prefixCls, \"-collapsible-\").concat(collapsible), !!collapsible), customizeClassNames.header);\n\n // ======================== HeaderProps ========================\n var headerProps = _objectSpread({\n className: headerClassName,\n style: styles.header\n }, ['header', 'icon'].includes(collapsible) ? {} : collapsibleProps);\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, resetProps, {\n ref: ref,\n className: collapsePanelClassNames\n }), /*#__PURE__*/React.createElement(\"div\", headerProps, showArrow && iconNode, /*#__PURE__*/React.createElement(\"span\", _extends({\n className: \"\".concat(prefixCls, \"-header-text\")\n }, collapsible === 'header' ? collapsibleProps : {}), header), ifExtraExist && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), /*#__PURE__*/React.createElement(CSSMotion, _extends({\n visible: isActive,\n leavedClassName: \"\".concat(prefixCls, \"-content-hidden\")\n }, openMotion, {\n forceRender: forceRender,\n removeOnLeave: destroyInactivePanel\n }), function (_ref, motionRef) {\n var motionClassName = _ref.className,\n motionStyle = _ref.style;\n return /*#__PURE__*/React.createElement(PanelContent, {\n ref: motionRef,\n prefixCls: prefixCls,\n className: motionClassName,\n classNames: customizeClassNames,\n style: motionStyle,\n styles: styles,\n isActive: isActive,\n forceRender: forceRender,\n role: accordion ? 'tabpanel' : void 0\n }, children);\n }));\n});\nexport default CollapsePanel;","/**\n * @import {\n * Construct,\n * ContainerState,\n * InitialConstruct,\n * Initializer,\n * Point,\n * State,\n * TokenizeContext,\n * Tokenizer,\n * Token\n * } from 'micromark-util-types'\n */\n\n/**\n * @typedef {[Construct, ContainerState]} StackItem\n * Construct and its state.\n */\n\nimport { factorySpace } from 'micromark-factory-space';\nimport { markdownLineEnding } from 'micromark-util-character';\nimport { splice } from 'micromark-util-chunked';\n/** @type {InitialConstruct} */\nexport const document = {\n tokenize: initializeDocument\n};\n\n/** @type {Construct} */\nconst containerConstruct = {\n tokenize: tokenizeContainer\n};\n\n/**\n * @this {TokenizeContext}\n * Self.\n * @type {Initializer}\n * Initializer.\n */\nfunction initializeDocument(effects) {\n const self = this;\n /** @type {Array} */\n const stack = [];\n let continued = 0;\n /** @type {TokenizeContext | undefined} */\n let childFlow;\n /** @type {Token | undefined} */\n let childToken;\n /** @type {number} */\n let lineStartOffset;\n return start;\n\n /** @type {State} */\n function start(code) {\n // First we iterate through the open blocks, starting with the root\n // document, and descending through last children down to the last open\n // block.\n // Each block imposes a condition that the line must satisfy if the block is\n // to remain open.\n // For example, a block quote requires a `>` character.\n // A paragraph requires a non-blank line.\n // In this phase we may match all or just some of the open blocks.\n // But we cannot close unmatched blocks yet, because we may have a lazy\n // continuation line.\n if (continued < stack.length) {\n const item = stack[continued];\n self.containerState = item[1];\n return effects.attempt(item[0].continuation, documentContinue, checkNewContainers)(code);\n }\n\n // Done.\n return checkNewContainers(code);\n }\n\n /** @type {State} */\n function documentContinue(code) {\n continued++;\n\n // Note: this field is called `_closeFlow` but it also closes containers.\n // Perhaps a good idea to rename it but it’s already used in the wild by\n // extensions.\n if (self.containerState._closeFlow) {\n self.containerState._closeFlow = undefined;\n if (childFlow) {\n closeFlow();\n }\n\n // Note: this algorithm for moving events around is similar to the\n // algorithm when dealing with lazy lines in `writeToChild`.\n const indexBeforeExits = self.events.length;\n let indexBeforeFlow = indexBeforeExits;\n /** @type {Point | undefined} */\n let point;\n\n // Find the flow chunk.\n while (indexBeforeFlow--) {\n if (self.events[indexBeforeFlow][0] === 'exit' && self.events[indexBeforeFlow][1].type === \"chunkFlow\") {\n point = self.events[indexBeforeFlow][1].end;\n break;\n }\n }\n exitContainers(continued);\n\n // Fix positions.\n let index = indexBeforeExits;\n while (index < self.events.length) {\n self.events[index][1].end = {\n ...point\n };\n index++;\n }\n\n // Inject the exits earlier (they’re still also at the end).\n splice(self.events, indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));\n\n // Discard the duplicate exits.\n self.events.length = index;\n return checkNewContainers(code);\n }\n return start(code);\n }\n\n /** @type {State} */\n function checkNewContainers(code) {\n // Next, after consuming the continuation markers for existing blocks, we\n // look for new block starts (e.g. `>` for a block quote).\n // If we encounter a new block start, we close any blocks unmatched in\n // step 1 before creating the new block as a child of the last matched\n // block.\n if (continued === stack.length) {\n // No need to `check` whether there’s a container, of `exitContainers`\n // would be moot.\n // We can instead immediately `attempt` to parse one.\n if (!childFlow) {\n return documentContinued(code);\n }\n\n // If we have concrete content, such as block HTML or fenced code,\n // we can’t have containers “pierce” into them, so we can immediately\n // start.\n if (childFlow.currentConstruct && childFlow.currentConstruct.concrete) {\n return flowStart(code);\n }\n\n // If we do have flow, it could still be a blank line,\n // but we’d be interrupting it w/ a new container if there’s a current\n // construct.\n // To do: next major: remove `_gfmTableDynamicInterruptHack` (no longer\n // needed in micromark-extension-gfm-table@1.0.6).\n self.interrupt = Boolean(childFlow.currentConstruct && !childFlow._gfmTableDynamicInterruptHack);\n }\n\n // Check if there is a new container.\n self.containerState = {};\n return effects.check(containerConstruct, thereIsANewContainer, thereIsNoNewContainer)(code);\n }\n\n /** @type {State} */\n function thereIsANewContainer(code) {\n if (childFlow) closeFlow();\n exitContainers(continued);\n return documentContinued(code);\n }\n\n /** @type {State} */\n function thereIsNoNewContainer(code) {\n self.parser.lazy[self.now().line] = continued !== stack.length;\n lineStartOffset = self.now().offset;\n return flowStart(code);\n }\n\n /** @type {State} */\n function documentContinued(code) {\n // Try new containers.\n self.containerState = {};\n return effects.attempt(containerConstruct, containerContinue, flowStart)(code);\n }\n\n /** @type {State} */\n function containerContinue(code) {\n continued++;\n stack.push([self.currentConstruct, self.containerState]);\n // Try another.\n return documentContinued(code);\n }\n\n /** @type {State} */\n function flowStart(code) {\n if (code === null) {\n if (childFlow) closeFlow();\n exitContainers(0);\n effects.consume(code);\n return;\n }\n childFlow = childFlow || self.parser.flow(self.now());\n effects.enter(\"chunkFlow\", {\n _tokenizer: childFlow,\n contentType: \"flow\",\n previous: childToken\n });\n return flowContinue(code);\n }\n\n /** @type {State} */\n function flowContinue(code) {\n if (code === null) {\n writeToChild(effects.exit(\"chunkFlow\"), true);\n exitContainers(0);\n effects.consume(code);\n return;\n }\n if (markdownLineEnding(code)) {\n effects.consume(code);\n writeToChild(effects.exit(\"chunkFlow\"));\n // Get ready for the next line.\n continued = 0;\n self.interrupt = undefined;\n return start;\n }\n effects.consume(code);\n return flowContinue;\n }\n\n /**\n * @param {Token} token\n * Token.\n * @param {boolean | undefined} [endOfFile]\n * Whether the token is at the end of the file (default: `false`).\n * @returns {undefined}\n * Nothing.\n */\n function writeToChild(token, endOfFile) {\n const stream = self.sliceStream(token);\n if (endOfFile) stream.push(null);\n token.previous = childToken;\n if (childToken) childToken.next = token;\n childToken = token;\n childFlow.defineSkip(token.start);\n childFlow.write(stream);\n\n // Alright, so we just added a lazy line:\n //\n // ```markdown\n // > a\n // b.\n //\n // Or:\n //\n // > ~~~c\n // d\n //\n // Or:\n //\n // > | e |\n // f\n // ```\n //\n // The construct in the second example (fenced code) does not accept lazy\n // lines, so it marked itself as done at the end of its first line, and\n // then the content construct parses `d`.\n // Most constructs in markdown match on the first line: if the first line\n // forms a construct, a non-lazy line can’t “unmake” it.\n //\n // The construct in the third example is potentially a GFM table, and\n // those are *weird*.\n // It *could* be a table, from the first line, if the following line\n // matches a condition.\n // In this case, that second line is lazy, which “unmakes” the first line\n // and turns the whole into one content block.\n //\n // We’ve now parsed the non-lazy and the lazy line, and can figure out\n // whether the lazy line started a new flow block.\n // If it did, we exit the current containers between the two flow blocks.\n if (self.parser.lazy[token.start.line]) {\n let index = childFlow.events.length;\n while (index--) {\n if (\n // The token starts before the line ending…\n childFlow.events[index][1].start.offset < lineStartOffset && (\n // …and either is not ended yet…\n !childFlow.events[index][1].end ||\n // …or ends after it.\n childFlow.events[index][1].end.offset > lineStartOffset)) {\n // Exit: there’s still something open, which means it’s a lazy line\n // part of something.\n return;\n }\n }\n\n // Note: this algorithm for moving events around is similar to the\n // algorithm when closing flow in `documentContinue`.\n const indexBeforeExits = self.events.length;\n let indexBeforeFlow = indexBeforeExits;\n /** @type {boolean | undefined} */\n let seen;\n /** @type {Point | undefined} */\n let point;\n\n // Find the previous chunk (the one before the lazy line).\n while (indexBeforeFlow--) {\n if (self.events[indexBeforeFlow][0] === 'exit' && self.events[indexBeforeFlow][1].type === \"chunkFlow\") {\n if (seen) {\n point = self.events[indexBeforeFlow][1].end;\n break;\n }\n seen = true;\n }\n }\n exitContainers(continued);\n\n // Fix positions.\n index = indexBeforeExits;\n while (index < self.events.length) {\n self.events[index][1].end = {\n ...point\n };\n index++;\n }\n\n // Inject the exits earlier (they’re still also at the end).\n splice(self.events, indexBeforeFlow + 1, 0, self.events.slice(indexBeforeExits));\n\n // Discard the duplicate exits.\n self.events.length = index;\n }\n }\n\n /**\n * @param {number} size\n * Size.\n * @returns {undefined}\n * Nothing.\n */\n function exitContainers(size) {\n let index = stack.length;\n\n // Exit open containers.\n while (index-- > size) {\n const entry = stack[index];\n self.containerState = entry[1];\n entry[0].exit.call(self, effects);\n }\n stack.length = size;\n }\n function closeFlow() {\n childFlow.write([null]);\n childToken = undefined;\n childFlow = undefined;\n self.containerState._closeFlow = undefined;\n }\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n * Tokenizer.\n */\nfunction tokenizeContainer(effects, ok, nok) {\n // Always populated by defaults.\n\n return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok, nok), \"linePrefix\", this.parser.constructs.disable.null.includes('codeIndented') ? undefined : 4);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport AlignCenterOutlinedSvg from \"@ant-design/icons-svg/es/asn/AlignCenterOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar AlignCenterOutlined = function AlignCenterOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: AlignCenterOutlinedSvg\n }));\n};\n\n/**![align-center](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI2NCAyMzBoNDk2YzQuNCAwIDgtMy42IDgtOHYtNTZjMC00LjQtMy42LTgtOC04SDI2NGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOHptNDk2IDQyNGM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOEgyNjRjLTQuNCAwLTggMy42LTggOHY1NmMwIDQuNCAzLjYgOCA4IDhoNDk2em0xNDQgMTQwSDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6bTAtNDI0SDEyMGMtNC40IDAtOCAzLjYtOCA4djU2YzAgNC40IDMuNiA4IDggOGg3ODRjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(AlignCenterOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'AlignCenterOutlined';\n}\nexport default RefIcon;","// Note: extra types exposed from `index.d.ts`.\nexport {fromParse5} from './lib/index.js'\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport HeartOutlinedSvg from \"@ant-design/icons-svg/es/asn/HeartOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar HeartOutlined = function HeartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: HeartOutlinedSvg\n }));\n};\n\n/**![heart](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyMyAyODMuNmEyNjAuMDQgMjYwLjA0IDAgMDAtNTYuOS04Mi44IDI2NC40IDI2NC40IDAgMDAtODQtNTUuNUEyNjUuMzQgMjY1LjM0IDAgMDA2NzkuNyAxMjVjLTQ5LjMgMC05Ny40IDEzLjUtMTM5LjIgMzktMTAgNi4xLTE5LjUgMTIuOC0yOC41IDIwLjEtOS03LjMtMTguNS0xNC0yOC41LTIwLjEtNDEuOC0yNS41LTg5LjktMzktMTM5LjItMzktMzUuNSAwLTY5LjkgNi44LTEwMi40IDIwLjMtMzEuNCAxMy01OS43IDMxLjctODQgNTUuNWEyNTguNDQgMjU4LjQ0IDAgMDAtNTYuOSA4Mi44Yy0xMy45IDMyLjMtMjEgNjYuNi0yMSAxMDEuOSAwIDMzLjMgNi44IDY4IDIwLjMgMTAzLjMgMTEuMyAyOS41IDI3LjUgNjAuMSA0OC4yIDkxIDMyLjggNDguOSA3Ny45IDk5LjkgMTMzLjkgMTUxLjYgOTIuOCA4NS43IDE4NC43IDE0NC45IDE4OC42IDE0Ny4zbDIzLjcgMTUuMmMxMC41IDYuNyAyNCA2LjcgMzQuNSAwbDIzLjctMTUuMmMzLjktMi41IDk1LjctNjEuNiAxODguNi0xNDcuMyA1Ni01MS43IDEwMS4xLTEwMi43IDEzMy45LTE1MS42IDIwLjctMzAuOSAzNy02MS41IDQ4LjItOTEgMTMuNS0zNS4zIDIwLjMtNzAgMjAuMy0xMDMuMy4xLTM1LjMtNy02OS42LTIwLjktMTAxLjl6TTUxMiA4MTQuOFMxNTYgNTg2LjcgMTU2IDM4NS41QzE1NiAyODMuNiAyNDAuMyAyMDEgMzQ0LjMgMjAxYzczLjEgMCAxMzYuNSA0MC44IDE2Ny43IDEwMC40QzU0My4yIDI0MS44IDYwNi42IDIwMSA2NzkuNyAyMDFjMTA0IDAgMTg4LjMgODIuNiAxODguMyAxODQuNSAwIDIwMS4yLTM1NiA0MjkuMy0zNTYgNDI5LjN6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(HeartOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'HeartOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SignatureFilledSvg from \"@ant-design/icons-svg/es/asn/SignatureFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SignatureFilled = function SignatureFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SignatureFilledSvg\n }));\n};\n\n/**![signature](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQ1LjcxIDc1MmMyIDAgNC0uMiA1Ljk4LS41TDMxOS45IDcyMmMxLjk5LS40IDMuODgtMS4zIDUuMjgtMi44bDQyMy45MS00MjMuODdhOS45MyA5LjkzIDAgMDAwLTE0LjA2TDU4Mi44OCAxMTQuOUM1ODEgMTEzIDU3OC41IDExMiA1NzUuODIgMTEycy01LjE4IDEtNy4wOCAyLjlMMTQ0LjgyIDUzOC43NmMtMS41IDEuNS0yLjQgMy4yOS0yLjggNS4yOGwtMjkuNSAxNjguMTdhMzMuNTkgMzMuNTkgMCAwMDkuMzcgMjkuODFjNi41OCA2LjQ4IDE0Ljk1IDkuOTcgMjMuODIgOS45N200NTMuMTItMTg0LjA3YzI3LjY5LTE0LjgxIDU3LjI5LTIwLjg1IDg1LjU0LTE1LjUyIDMyLjM3IDYuMSA1OS43MiAyNi41MyA3OC45NiA1OS40IDI5Ljk3IDUxLjIyIDIxLjY0IDEwMi4zNC0xOC40OCAxNDQuMjYtMTcuNTggMTguMzYtNDEuMDcgMzUuMDEtNzAgNTAuM2wtLjMuMTUuODYuMjZhMTQ3Ljg4IDE0Ny44OCAwIDAwNDEuNTQgNi4ybDEuMTcuMDFjNjEuMDcgMCAxMDAuOTgtMjIuMSAxMjUuMjgtNjcuODdhMzYgMzYgMCAwMTYzLjYgMzMuNzZDODY5LjcgODQ5LjEgODA0LjkgODg1IDcxOC4xMiA4ODVjLTQ3LjY5IDAtOTEuOTQtMTUuMDMtMTI4LjE5LTQxLjM2bC0xLjA1LS43OC0xLjM2LjQ3Yy00Ni4xOCAxNi05OC43NCAyOS45NS0xNTUuMzcgNDEuOTRsLTIuMjQuNDdhMTkzMS4xIDE5MzEuMSAwIDAxLTEzOS4xNiAyMy45NiAzNiAzNiAwIDExLTkuNS03MS4zOCAxODYwLjEgMTg2MC4xIDAgMDAxMzMuODQtMjMuMDRjNDIuOC05IDgzLTE5LjEzIDExOS4zNS0zMC4zNGwuMjQtLjA4LS40NC0uNjljLTE2LjQ2LTI2LjQ1LTI1Ljg2LTU1LjQzLTI2LjE0LTgzLjI0di0xLjNjMC00OS45IDM5LjU1LTEwNC4zMiA5MC43My0xMzEuN002NzEgNjIzLjE3Yy0xMC43NC0yLjAzLTI0LjEuNy0zOC4yMiA4LjI2LTI5LjU1IDE1LjgtNTIuNyA0Ny42NC01Mi43IDY4LjIgMCAxOC4yIDguOSA0MC4xNCAyNC43MSA1OS43M2wuMjQuMyAxLjIyLS41MmMzOS4xNy0xNi41OCA2OC40OS0zNC4yNyA4NS45My01Mi4xOGwuNjQtLjY3YzE4Ljc0LTE5LjU3IDIxLjM5LTM1Ljg0IDguMzYtNTguMS05LjA2LTE1LjQ3LTE5LjAzLTIyLjkyLTMwLjE4LTI1LjAyIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SignatureFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SignatureFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TrademarkCircleFilledSvg from \"@ant-design/icons-svg/es/asn/TrademarkCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TrademarkCircleFilled = function TrademarkCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TrademarkCircleFilledSvg\n }));\n};\n\n/**![trademark-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0xNjQuNyA2NjAuMmMtMS4xLjUtMi4zLjgtMy41LjhoLTYyYy0zLjEgMC01LjktMS44LTcuMi00LjZsLTc0LjYtMTU5LjJoLTg4LjdWNzE3YzAgNC40LTMuNiA4LTggOEgzNzhjLTQuNCAwLTgtMy42LTgtOFYzMDdjMC00LjQgMy42LTggOC04aDE1NS42Yzk4LjggMCAxNDQuMiA1OS45IDE0NC4yIDEzMS4xIDAgNzAuMi00My42IDEwNi40LTc4LjQgMTE5LjJsODAuOCAxNjQuMmMyLjEgMy45LjQgOC43LTMuNSAxMC43ek01MjMuOSAzNTdoLTgzLjR2MTQ4SDUyMmM1MyAwIDgyLjgtMjUuNiA4Mi44LTcyLjQgMC01MC4zLTMyLjktNzUuNi04MC45LTc1LjZ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TrademarkCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TrademarkCircleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CameraFilledSvg from \"@ant-design/icons-svg/es/asn/CameraFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CameraFilled = function CameraFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CameraFilledSvg\n }));\n};\n\n/**![camera](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg2NCAyNjBINzI4bC0zMi40LTkwLjhhMzIuMDcgMzIuMDcgMCAwMC0zMC4yLTIxLjJIMzU4LjZjLTEzLjUgMC0yNS42IDguNS0zMC4xIDIxLjJMMjk2IDI2MEgxNjBjLTQ0LjIgMC04MCAzNS44LTgwIDgwdjQ1NmMwIDQ0LjIgMzUuOCA4MCA4MCA4MGg3MDRjNDQuMiAwIDgwLTM1LjggODAtODBWMzQwYzAtNDQuMi0zNS44LTgwLTgwLTgwek01MTIgNzE2Yy04OC40IDAtMTYwLTcxLjYtMTYwLTE2MHM3MS42LTE2MCAxNjAtMTYwIDE2MCA3MS42IDE2MCAxNjAtNzEuNiAxNjAtMTYwIDE2MHptLTk2LTE2MGE5NiA5NiAwIDEwMTkyIDAgOTYgOTYgMCAxMC0xOTIgMHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CameraFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CameraFilled';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\n/**\n * Cache `value` related LabeledValue & options.\n */\nexport default (function (labeledValues, valueOptions) {\n var cacheRef = React.useRef({\n values: new Map(),\n options: new Map()\n });\n var filledLabeledValues = React.useMemo(function () {\n var _cacheRef$current = cacheRef.current,\n prevValueCache = _cacheRef$current.values,\n prevOptionCache = _cacheRef$current.options;\n\n // Fill label by cache\n var patchedValues = labeledValues.map(function (item) {\n if (item.label === undefined) {\n var _prevValueCache$get;\n return _objectSpread(_objectSpread({}, item), {}, {\n label: (_prevValueCache$get = prevValueCache.get(item.value)) === null || _prevValueCache$get === void 0 ? void 0 : _prevValueCache$get.label\n });\n }\n return item;\n });\n\n // Refresh cache\n var valueCache = new Map();\n var optionCache = new Map();\n patchedValues.forEach(function (item) {\n valueCache.set(item.value, item);\n optionCache.set(item.value, valueOptions.get(item.value) || prevOptionCache.get(item.value));\n });\n cacheRef.current.values = valueCache;\n cacheRef.current.options = optionCache;\n return patchedValues;\n }, [labeledValues, valueOptions]);\n var getOption = React.useCallback(function (val) {\n return valueOptions.get(val) || cacheRef.current.options.get(val);\n }, [valueOptions]);\n return [filledLabeledValues, getOption];\n});","// To do: next major: remove.\n/**\n * @typedef {Options} MarkdownTableOptions\n * Configuration.\n */\n\n/**\n * @typedef Options\n * Configuration.\n * @property {boolean | null | undefined} [alignDelimiters=true]\n * Whether to align the delimiters (default: `true`);\n * they are aligned by default:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * Pass `false` to make them staggered:\n *\n * ```markdown\n * | Alpha | B |\n * | - | - |\n * | C | Delta |\n * ```\n * @property {ReadonlyArray | string | null | undefined} [align]\n * How to align columns (default: `''`);\n * one style for all columns or styles for their respective columns;\n * each style is either `'l'` (left), `'r'` (right), or `'c'` (center);\n * other values are treated as `''`, which doesn’t place the colon in the\n * alignment row but does align left;\n * *only the lowercased first character is used, so `Right` is fine.*\n * @property {boolean | null | undefined} [delimiterEnd=true]\n * Whether to end each row with the delimiter (default: `true`).\n *\n * > 👉 **Note**: please don’t use this: it could create fragile structures\n * > that aren’t understandable to some markdown parsers.\n *\n * When `true`, there are ending delimiters:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there are no ending delimiters:\n *\n * ```markdown\n * | Alpha | B\n * | ----- | -----\n * | C | Delta\n * ```\n * @property {boolean | null | undefined} [delimiterStart=true]\n * Whether to begin each row with the delimiter (default: `true`).\n *\n * > 👉 **Note**: please don’t use this: it could create fragile structures\n * > that aren’t understandable to some markdown parsers.\n *\n * When `true`, there are starting delimiters:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there are no starting delimiters:\n *\n * ```markdown\n * Alpha | B |\n * ----- | ----- |\n * C | Delta |\n * ```\n * @property {boolean | null | undefined} [padding=true]\n * Whether to add a space of padding between delimiters and cells\n * (default: `true`).\n *\n * When `true`, there is padding:\n *\n * ```markdown\n * | Alpha | B |\n * | ----- | ----- |\n * | C | Delta |\n * ```\n *\n * When `false`, there is no padding:\n *\n * ```markdown\n * |Alpha|B |\n * |-----|-----|\n * |C |Delta|\n * ```\n * @property {((value: string) => number) | null | undefined} [stringLength]\n * Function to detect the length of table cell content (optional);\n * this is used when aligning the delimiters (`|`) between table cells;\n * full-width characters and emoji mess up delimiter alignment when viewing\n * the markdown source;\n * to fix this, you can pass this function,\n * which receives the cell content and returns its “visible” size;\n * note that what is and isn’t visible depends on where the text is displayed.\n *\n * Without such a function, the following:\n *\n * ```js\n * markdownTable([\n * ['Alpha', 'Bravo'],\n * ['中文', 'Charlie'],\n * ['👩‍❤️‍👩', 'Delta']\n * ])\n * ```\n *\n * Yields:\n *\n * ```markdown\n * | Alpha | Bravo |\n * | - | - |\n * | 中文 | Charlie |\n * | 👩‍❤️‍👩 | Delta |\n * ```\n *\n * With [`string-width`](https://github.com/sindresorhus/string-width):\n *\n * ```js\n * import stringWidth from 'string-width'\n *\n * markdownTable(\n * [\n * ['Alpha', 'Bravo'],\n * ['中文', 'Charlie'],\n * ['👩‍❤️‍👩', 'Delta']\n * ],\n * {stringLength: stringWidth}\n * )\n * ```\n *\n * Yields:\n *\n * ```markdown\n * | Alpha | Bravo |\n * | ----- | ------- |\n * | 中文 | Charlie |\n * | 👩‍❤️‍👩 | Delta |\n * ```\n */\n\n/**\n * @param {string} value\n * Cell value.\n * @returns {number}\n * Cell size.\n */\nfunction defaultStringLength(value) {\n return value.length\n}\n\n/**\n * Generate a markdown\n * ([GFM](https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables))\n * table.\n *\n * @param {ReadonlyArray>} table\n * Table data (matrix of strings).\n * @param {Readonly | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Result.\n */\nexport function markdownTable(table, options) {\n const settings = options || {}\n // To do: next major: change to spread.\n const align = (settings.align || []).concat()\n const stringLength = settings.stringLength || defaultStringLength\n /** @type {Array} Character codes as symbols for alignment per column. */\n const alignments = []\n /** @type {Array>} Cells per row. */\n const cellMatrix = []\n /** @type {Array>} Sizes of each cell per row. */\n const sizeMatrix = []\n /** @type {Array} */\n const longestCellByColumn = []\n let mostCellsPerRow = 0\n let rowIndex = -1\n\n // This is a superfluous loop if we don’t align delimiters, but otherwise we’d\n // do superfluous work when aligning, so optimize for aligning.\n while (++rowIndex < table.length) {\n /** @type {Array} */\n const row = []\n /** @type {Array} */\n const sizes = []\n let columnIndex = -1\n\n if (table[rowIndex].length > mostCellsPerRow) {\n mostCellsPerRow = table[rowIndex].length\n }\n\n while (++columnIndex < table[rowIndex].length) {\n const cell = serialize(table[rowIndex][columnIndex])\n\n if (settings.alignDelimiters !== false) {\n const size = stringLength(cell)\n sizes[columnIndex] = size\n\n if (\n longestCellByColumn[columnIndex] === undefined ||\n size > longestCellByColumn[columnIndex]\n ) {\n longestCellByColumn[columnIndex] = size\n }\n }\n\n row.push(cell)\n }\n\n cellMatrix[rowIndex] = row\n sizeMatrix[rowIndex] = sizes\n }\n\n // Figure out which alignments to use.\n let columnIndex = -1\n\n if (typeof align === 'object' && 'length' in align) {\n while (++columnIndex < mostCellsPerRow) {\n alignments[columnIndex] = toAlignment(align[columnIndex])\n }\n } else {\n const code = toAlignment(align)\n\n while (++columnIndex < mostCellsPerRow) {\n alignments[columnIndex] = code\n }\n }\n\n // Inject the alignment row.\n columnIndex = -1\n /** @type {Array} */\n const row = []\n /** @type {Array} */\n const sizes = []\n\n while (++columnIndex < mostCellsPerRow) {\n const code = alignments[columnIndex]\n let before = ''\n let after = ''\n\n if (code === 99 /* `c` */) {\n before = ':'\n after = ':'\n } else if (code === 108 /* `l` */) {\n before = ':'\n } else if (code === 114 /* `r` */) {\n after = ':'\n }\n\n // There *must* be at least one hyphen-minus in each alignment cell.\n let size =\n settings.alignDelimiters === false\n ? 1\n : Math.max(\n 1,\n longestCellByColumn[columnIndex] - before.length - after.length\n )\n\n const cell = before + '-'.repeat(size) + after\n\n if (settings.alignDelimiters !== false) {\n size = before.length + size + after.length\n\n if (size > longestCellByColumn[columnIndex]) {\n longestCellByColumn[columnIndex] = size\n }\n\n sizes[columnIndex] = size\n }\n\n row[columnIndex] = cell\n }\n\n // Inject the alignment row.\n cellMatrix.splice(1, 0, row)\n sizeMatrix.splice(1, 0, sizes)\n\n rowIndex = -1\n /** @type {Array} */\n const lines = []\n\n while (++rowIndex < cellMatrix.length) {\n const row = cellMatrix[rowIndex]\n const sizes = sizeMatrix[rowIndex]\n columnIndex = -1\n /** @type {Array} */\n const line = []\n\n while (++columnIndex < mostCellsPerRow) {\n const cell = row[columnIndex] || ''\n let before = ''\n let after = ''\n\n if (settings.alignDelimiters !== false) {\n const size =\n longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0)\n const code = alignments[columnIndex]\n\n if (code === 114 /* `r` */) {\n before = ' '.repeat(size)\n } else if (code === 99 /* `c` */) {\n if (size % 2) {\n before = ' '.repeat(size / 2 + 0.5)\n after = ' '.repeat(size / 2 - 0.5)\n } else {\n before = ' '.repeat(size / 2)\n after = before\n }\n } else {\n after = ' '.repeat(size)\n }\n }\n\n if (settings.delimiterStart !== false && !columnIndex) {\n line.push('|')\n }\n\n if (\n settings.padding !== false &&\n // Don’t add the opening space if we’re not aligning and the cell is\n // empty: there will be a closing space.\n !(settings.alignDelimiters === false && cell === '') &&\n (settings.delimiterStart !== false || columnIndex)\n ) {\n line.push(' ')\n }\n\n if (settings.alignDelimiters !== false) {\n line.push(before)\n }\n\n line.push(cell)\n\n if (settings.alignDelimiters !== false) {\n line.push(after)\n }\n\n if (settings.padding !== false) {\n line.push(' ')\n }\n\n if (\n settings.delimiterEnd !== false ||\n columnIndex !== mostCellsPerRow - 1\n ) {\n line.push('|')\n }\n }\n\n lines.push(\n settings.delimiterEnd === false\n ? line.join('').replace(/ +$/, '')\n : line.join('')\n )\n }\n\n return lines.join('\\n')\n}\n\n/**\n * @param {string | null | undefined} [value]\n * Value to serialize.\n * @returns {string}\n * Result.\n */\nfunction serialize(value) {\n return value === null || value === undefined ? '' : String(value)\n}\n\n/**\n * @param {string | null | undefined} value\n * Value.\n * @returns {number}\n * Alignment.\n */\nfunction toAlignment(value) {\n const code = typeof value === 'string' ? value.codePointAt(0) : 0\n\n return code === 67 /* `C` */ || code === 99 /* `c` */\n ? 99 /* `c` */\n : code === 76 /* `L` */ || code === 108 /* `l` */\n ? 108 /* `l` */\n : code === 82 /* `R` */ || code === 114 /* `r` */\n ? 114 /* `r` */\n : 0\n}\n","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function (style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function (node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ProductOutlinedSvg from \"@ant-design/icons-svg/es/asn/ProductOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ProductOutlined = function ProductOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ProductOutlinedSvg\n }));\n};\n\n/**![product](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNDY0IDE0NGExNiAxNiAwIDAxMTYgMTZ2MzA0YTE2IDE2IDAgMDEtMTYgMTZIMTYwYTE2IDE2IDAgMDEtMTYtMTZWMTYwYTE2IDE2IDAgMDExNi0xNnptLTUyIDY4SDIxMnYyMDBoMjAwem00OTMuMzMgODcuNjlhMTYgMTYgMCAwMTAgMjIuNjJMNzI0LjMxIDUwMy4zM2ExNiAxNiAwIDAxLTIyLjYyIDBMNTIwLjY3IDMyMi4zMWExNiAxNiAwIDAxMC0yMi42MmwxODEuMDItMTgxLjAyYTE2IDE2IDAgMDEyMi42MiAwem0tODQuODUgMTEuM0w3MTMgMjAzLjUzIDYwNS41MiAzMTEgNzEzIDQxOC40OHpNNDY0IDU0NGExNiAxNiAwIDAxMTYgMTZ2MzA0YTE2IDE2IDAgMDEtMTYgMTZIMTYwYTE2IDE2IDAgMDEtMTYtMTZWNTYwYTE2IDE2IDAgMDExNi0xNnptLTUyIDY4SDIxMnYyMDBoMjAwem00NTItNjhhMTYgMTYgMCAwMTE2IDE2djMwNGExNiAxNiAwIDAxLTE2IDE2SDU2MGExNiAxNiAwIDAxLTE2LTE2VjU2MGExNiAxNiAwIDAxMTYtMTZ6bS01MiA2OEg2MTJ2MjAwaDIwMHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ProductOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ProductOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FunnelPlotFilledSvg from \"@ant-design/icons-svg/es/asn/FunnelPlotFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FunnelPlotFilled = function FunnelPlotFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FunnelPlotFilledSvg\n }));\n};\n\n/**![funnel-plot](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMzNi43IDU4NmgzNTAuNmw4NC45LTE0OEgyNTEuOHptNTQzLjQtNDMySDE0My45Yy0yNC41IDAtMzkuOCAyNi43LTI3LjUgNDhMMjE1IDM3NGg1OTRsOTguNy0xNzJjMTIuMi0yMS4zLTMuMS00OC0yNy42LTQ4ek0zNDkgODM4YzAgMTcuNyAxNC4yIDMyIDMxLjggMzJoMjYyLjRjMTcuNiAwIDMxLjgtMTQuMyAzMS44LTMyVjY1MEgzNDl2MTg4eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FunnelPlotFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FunnelPlotFilled';\n}\nexport default RefIcon;","import * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useMeasure } from \"./context/PathContext\";\nexport default function Divider(_ref) {\n var className = _ref.className,\n style = _ref.style;\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n var measure = useMeasure();\n if (measure) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n role: \"separator\",\n className: classNames(\"\".concat(prefixCls, \"-item-divider\"), className),\n style: style\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PictureFilledSvg from \"@ant-design/icons-svg/es/asn/PictureFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PictureFilled = function PictureFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PictureFilledSvg\n }));\n};\n\n/**![picture](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNjBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjY0MGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTkyYzAtMTcuNy0xNC4zLTMyLTMyLTMyek0zMzggMzA0YzM1LjMgMCA2NCAyOC43IDY0IDY0cy0yOC43IDY0LTY0IDY0LTY0LTI4LjctNjQtNjQgMjguNy02NCA2NC02NHptNTEzLjkgNDM3LjFhOC4xMSA4LjExIDAgMDEtNS4yIDEuOUgxNzcuMmMtNC40IDAtOC0zLjYtOC04IDAtMS45LjctMy43IDEuOS01LjJsMTcwLjMtMjAyYzIuOC0zLjQgNy45LTMuOCAxMS4zLTEgLjMuMy43LjYgMSAxbDk5LjQgMTE4IDE1OC4xLTE4Ny41YzIuOC0zLjQgNy45LTMuOCAxMS4zLTEgLjMuMy43LjYgMSAxbDIyOS42IDI3MS42YzIuNiAzLjMgMi4yIDguNC0xLjIgMTEuMnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PictureFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PictureFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"className\", \"title\", \"eventKey\", \"children\"];\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\nimport { parseChildren } from \"./utils/commonUtil\";\nvar InternalMenuItemGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var className = props.className,\n title = props.title,\n eventKey = props.eventKey,\n children = props.children,\n restProps = _objectWithoutProperties(props, _excluded);\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n var groupPrefixCls = \"\".concat(prefixCls, \"-item-group\");\n return /*#__PURE__*/React.createElement(\"li\", _extends({\n ref: ref,\n role: \"presentation\"\n }, restProps, {\n onClick: function onClick(e) {\n return e.stopPropagation();\n },\n className: classNames(groupPrefixCls, className)\n }), /*#__PURE__*/React.createElement(\"div\", {\n role: \"presentation\",\n className: \"\".concat(groupPrefixCls, \"-title\"),\n title: typeof title === 'string' ? title : undefined\n }, title), /*#__PURE__*/React.createElement(\"ul\", {\n role: \"group\",\n className: \"\".concat(groupPrefixCls, \"-list\")\n }, children));\n});\nvar MenuItemGroup = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var eventKey = props.eventKey,\n children = props.children;\n var connectedKeyPath = useFullPath(eventKey);\n var childList = parseChildren(children, connectedKeyPath);\n var measure = useMeasure();\n if (measure) {\n return childList;\n }\n return /*#__PURE__*/React.createElement(InternalMenuItemGroup, _extends({\n ref: ref\n }, omit(props, ['warnKey'])), childList);\n});\nif (process.env.NODE_ENV !== 'production') {\n MenuItemGroup.displayName = 'MenuItemGroup';\n}\nexport default MenuItemGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CameraOutlinedSvg from \"@ant-design/icons-svg/es/asn/CameraOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CameraOutlined = function CameraOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CameraOutlinedSvg\n }));\n};\n\n/**![camera](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg2NCAyNDhINzI4bC0zMi40LTkwLjhhMzIuMDcgMzIuMDcgMCAwMC0zMC4yLTIxLjJIMzU4LjZjLTEzLjUgMC0yNS42IDguNS0zMC4xIDIxLjJMMjk2IDI0OEgxNjBjLTQ0LjIgMC04MCAzNS44LTgwIDgwdjQ1NmMwIDQ0LjIgMzUuOCA4MCA4MCA4MGg3MDRjNDQuMiAwIDgwLTM1LjggODAtODBWMzI4YzAtNDQuMi0zNS44LTgwLTgwLTgwem04IDUzNmMwIDQuNC0zLjYgOC04IDhIMTYwYy00LjQgMC04LTMuNi04LThWMzI4YzAtNC40IDMuNi04IDgtOGgxODYuN2wxNy4xLTQ3LjggMjIuOS02NC4yaDI1MC41bDIyLjkgNjQuMiAxNy4xIDQ3LjhIODY0YzQuNCAwIDggMy42IDggOHY0NTZ6TTUxMiAzODRjLTg4LjQgMC0xNjAgNzEuNi0xNjAgMTYwczcxLjYgMTYwIDE2MCAxNjAgMTYwLTcxLjYgMTYwLTE2MC03MS42LTE2MC0xNjAtMTYwem0wIDI1NmMtNTMgMC05Ni00My05Ni05NnM0My05NiA5Ni05NiA5NiA0MyA5NiA5Ni00MyA5Ni05NiA5NnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CameraOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CameraOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FullscreenOutlinedSvg from \"@ant-design/icons-svg/es/asn/FullscreenOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FullscreenOutlined = function FullscreenOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FullscreenOutlinedSvg\n }));\n};\n\n/**![fullscreen](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5MCAyMzYuNGw0My45LTQzLjlhOC4wMSA4LjAxIDAgMDAtNC43LTEzLjZMMTY5IDE2MGMtNS4xLS42LTkuNSAzLjctOC45IDguOUwxNzkgMzI5LjFjLjggNi42IDguOSA5LjQgMTMuNiA0LjdsNDMuNy00My43TDM3MCA0MjMuN2MzLjEgMy4xIDguMiAzLjEgMTEuMyAwbDQyLjQtNDIuM2MzLjEtMy4xIDMuMS04LjIgMC0xMS4zTDI5MCAyMzYuNHptMzUyLjcgMTg3LjNjMy4xIDMuMSA4LjIgMy4xIDExLjMgMGwxMzMuNy0xMzMuNiA0My43IDQzLjdhOC4wMSA4LjAxIDAgMDAxMy42LTQuN0w4NjMuOSAxNjljLjYtNS4xLTMuNy05LjUtOC45LTguOUw2OTQuOCAxNzljLTYuNi44LTkuNCA4LjktNC43IDEzLjZsNDMuOSA0My45TDYwMC4zIDM3MGE4LjAzIDguMDMgMCAwMDAgMTEuM2w0Mi40IDQyLjR6TTg0NSA2OTQuOWMtLjgtNi42LTguOS05LjQtMTMuNi00LjdsLTQzLjcgNDMuN0w2NTQgNjAwLjNhOC4wMyA4LjAzIDAgMDAtMTEuMyAwbC00Mi40IDQyLjNhOC4wMyA4LjAzIDAgMDAwIDExLjNMNzM0IDc4Ny42bC00My45IDQzLjlhOC4wMSA4LjAxIDAgMDA0LjcgMTMuNkw4NTUgODY0YzUuMS42IDkuNS0zLjcgOC45LTguOUw4NDUgNjk0Ljl6bS00NjMuNy05NC42YTguMDMgOC4wMyAwIDAwLTExLjMgMEwyMzYuMyA3MzMuOWwtNDMuNy00My43YTguMDEgOC4wMSAwIDAwLTEzLjYgNC43TDE2MC4xIDg1NWMtLjYgNS4xIDMuNyA5LjUgOC45IDguOUwzMjkuMiA4NDVjNi42LS44IDkuNC04LjkgNC43LTEzLjZMMjkwIDc4Ny42IDQyMy43IDY1NGMzLjEtMy4xIDMuMS04LjIgMC0xMS4zbC00Mi40LTQyLjR6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FullscreenOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FullscreenOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"overlayClassName\", \"trigger\", \"mouseEnterDelay\", \"mouseLeaveDelay\", \"overlayStyle\", \"prefixCls\", \"children\", \"onVisibleChange\", \"afterVisibleChange\", \"transitionName\", \"animation\", \"motion\", \"placement\", \"align\", \"destroyTooltipOnHide\", \"defaultVisible\", \"getTooltipContainer\", \"overlayInnerStyle\", \"arrowContent\", \"overlay\", \"id\", \"showArrow\"];\nimport Trigger from '@rc-component/trigger';\nimport * as React from 'react';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { placements } from \"./placements\";\nimport Popup from \"./Popup\";\nvar Tooltip = function Tooltip(props, ref) {\n var overlayClassName = props.overlayClassName,\n _props$trigger = props.trigger,\n trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,\n _props$mouseEnterDela = props.mouseEnterDelay,\n mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela,\n _props$mouseLeaveDela = props.mouseLeaveDelay,\n mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n overlayStyle = props.overlayStyle,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-tooltip' : _props$prefixCls,\n children = props.children,\n onVisibleChange = props.onVisibleChange,\n afterVisibleChange = props.afterVisibleChange,\n transitionName = props.transitionName,\n animation = props.animation,\n motion = props.motion,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'right' : _props$placement,\n _props$align = props.align,\n align = _props$align === void 0 ? {} : _props$align,\n _props$destroyTooltip = props.destroyTooltipOnHide,\n destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip,\n defaultVisible = props.defaultVisible,\n getTooltipContainer = props.getTooltipContainer,\n overlayInnerStyle = props.overlayInnerStyle,\n arrowContent = props.arrowContent,\n overlay = props.overlay,\n id = props.id,\n _props$showArrow = props.showArrow,\n showArrow = _props$showArrow === void 0 ? true : _props$showArrow,\n restProps = _objectWithoutProperties(props, _excluded);\n var triggerRef = useRef(null);\n useImperativeHandle(ref, function () {\n return triggerRef.current;\n });\n var extraProps = _objectSpread({}, restProps);\n if ('visible' in props) {\n extraProps.popupVisible = props.visible;\n }\n var getPopupElement = function getPopupElement() {\n return /*#__PURE__*/React.createElement(Popup, {\n key: \"content\",\n prefixCls: prefixCls,\n id: id,\n overlayInnerStyle: overlayInnerStyle\n }, overlay);\n };\n return /*#__PURE__*/React.createElement(Trigger, _extends({\n popupClassName: overlayClassName,\n prefixCls: prefixCls,\n popup: getPopupElement,\n action: trigger,\n builtinPlacements: placements,\n popupPlacement: placement,\n ref: triggerRef,\n popupAlign: align,\n getPopupContainer: getTooltipContainer,\n onPopupVisibleChange: onVisibleChange,\n afterPopupVisibleChange: afterVisibleChange,\n popupTransitionName: transitionName,\n popupAnimation: animation,\n popupMotion: motion,\n defaultPopupVisible: defaultVisible,\n autoDestroy: destroyTooltipOnHide,\n mouseLeaveDelay: mouseLeaveDelay,\n popupStyle: overlayStyle,\n mouseEnterDelay: mouseEnterDelay,\n arrow: showArrow\n }, extraProps), children);\n};\nexport default /*#__PURE__*/forwardRef(Tooltip);","/// \n\n/* eslint-env browser */\n\nconst element = document.createElement('i')\n\n/**\n * @param {string} value\n * @returns {string|false}\n */\nexport function decodeNamedCharacterReference(value) {\n const characterReference = '&' + value + ';'\n element.innerHTML = characterReference\n const char = element.textContent\n\n // Some named character references do not require the closing semicolon\n // (`¬`, for instance), which leads to situations where parsing the assumed\n // named reference of `¬it;` will result in the string `¬it;`.\n // When we encounter a trailing semicolon after parsing, and the character\n // reference to decode was not a semicolon (`;`), we can assume that the\n // matching was not complete.\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n if (char.charCodeAt(char.length - 1) === 59 /* `;` */ && value !== 'semi') {\n return false\n }\n\n // If the decoded string is equal to the input, the character reference was\n // not valid.\n // @ts-expect-error: TypeScript is wrong that `textContent` on elements can\n // yield `null`.\n return char === characterReference ? false : char\n}\n","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport Trigger from '@rc-component/trigger';\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { getRealPlacement } from \"../utils/uiUtil\";\nimport PickerContext from \"../PickerInput/context\";\nvar BUILT_IN_PLACEMENTS = {\n bottomLeft: {\n points: ['tl', 'bl'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n bottomRight: {\n points: ['tr', 'br'],\n offset: [0, 4],\n overflow: {\n adjustX: 1,\n adjustY: 1\n }\n },\n topLeft: {\n points: ['bl', 'tl'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n },\n topRight: {\n points: ['br', 'tr'],\n offset: [0, -4],\n overflow: {\n adjustX: 0,\n adjustY: 1\n }\n }\n};\nfunction PickerTrigger(_ref) {\n var popupElement = _ref.popupElement,\n popupStyle = _ref.popupStyle,\n popupClassName = _ref.popupClassName,\n popupAlign = _ref.popupAlign,\n transitionName = _ref.transitionName,\n getPopupContainer = _ref.getPopupContainer,\n children = _ref.children,\n range = _ref.range,\n placement = _ref.placement,\n _ref$builtinPlacement = _ref.builtinPlacements,\n builtinPlacements = _ref$builtinPlacement === void 0 ? BUILT_IN_PLACEMENTS : _ref$builtinPlacement,\n direction = _ref.direction,\n visible = _ref.visible,\n onClose = _ref.onClose;\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n var dropdownPrefixCls = \"\".concat(prefixCls, \"-dropdown\");\n var realPlacement = getRealPlacement(placement, direction === 'rtl');\n return /*#__PURE__*/React.createElement(Trigger, {\n showAction: [],\n hideAction: ['click'],\n popupPlacement: realPlacement,\n builtinPlacements: builtinPlacements,\n prefixCls: dropdownPrefixCls,\n popupTransitionName: transitionName,\n popup: popupElement,\n popupAlign: popupAlign,\n popupVisible: visible,\n popupClassName: classNames(popupClassName, _defineProperty(_defineProperty({}, \"\".concat(dropdownPrefixCls, \"-range\"), range), \"\".concat(dropdownPrefixCls, \"-rtl\"), direction === 'rtl')),\n popupStyle: popupStyle,\n stretch: \"minWidth\",\n getPopupContainer: getPopupContainer,\n onPopupVisibleChange: function onPopupVisibleChange(nextVisible) {\n if (!nextVisible) {\n onClose();\n }\n }\n }, children);\n}\nexport default PickerTrigger;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport WeiboOutlinedSvg from \"@ant-design/icons-svg/es/asn/WeiboOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar WeiboOutlined = function WeiboOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: WeiboOutlinedSvg\n }));\n};\n\n/**![weibo](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ1Ny4zIDU0M2MtNjguMS0xNy43LTE0NSAxNi4yLTE3NC42IDc2LjItMzAuMSA2MS4yLTEgMTI5LjEgNjcuOCAxNTEuMyA3MS4yIDIzIDE1NS4yLTEyLjIgMTg0LjQtNzguMyAyOC43LTY0LjYtNy4yLTEzMS03Ny42LTE0OS4yem0tNTIgMTU2LjJjLTEzLjggMjIuMS00My41IDMxLjctNjUuOCAyMS42LTIyLTEwLTI4LjUtMzUuNy0xNC42LTU3LjIgMTMuNy0yMS40IDQyLjMtMzEgNjQuNC0yMS43IDIyLjQgOS41IDI5LjYgMzUgMTYgNTcuM3ptNDUuNS01OC41Yy01IDguNi0xNi4xIDEyLjctMjQuNyA5LjEtOC41LTMuNS0xMS4yLTEzLjEtNi40LTIxLjUgNS04LjQgMTUuNi0xMi40IDI0LjEtOS4xIDguNyAzLjIgMTEuOCAxMi45IDcgMjEuNXptMzM0LjUtMTk3LjJjMTUgNC44IDMxLTMuNCAzNS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My0xNC4yIDI2Ni41IDUwLjUgMjc1LjggMTQ0LjRDNjk0LjQgNzA5IDU4NiA3OTYuNiA0NDMgODEwLjh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(WeiboOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'WeiboOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PaperClipOutlinedSvg from \"@ant-design/icons-svg/es/asn/PaperClipOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PaperClipOutlined = function PaperClipOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PaperClipOutlinedSvg\n }));\n};\n\n/**![paper-clip](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc3OS4zIDE5Ni42Yy05NC4yLTk0LjItMjQ3LjYtOTQuMi0zNDEuNyAwbC0yNjEgMjYwLjhjLTEuNyAxLjctMi42IDQtMi42IDYuNHMuOSA0LjcgMi42IDYuNGwzNi45IDM2LjlhOSA5IDAgMDAxMi43IDBsMjYxLTI2MC44YzMyLjQtMzIuNCA3NS41LTUwLjIgMTIxLjMtNTAuMnM4OC45IDE3LjggMTIxLjIgNTAuMmMzMi40IDMyLjQgNTAuMiA3NS41IDUwLjIgMTIxLjIgMCA0NS44LTE3LjggODguOC01MC4yIDEyMS4ybC0yNjYgMjY1LjktNDMuMSA0My4xYy00MC4zIDQwLjMtMTA1LjggNDAuMy0xNDYuMSAwLTE5LjUtMTkuNS0zMC4yLTQ1LjQtMzAuMi03M3MxMC43LTUzLjUgMzAuMi03M2wyNjMuOS0yNjMuOGM2LjctNi42IDE1LjUtMTAuMyAyNC45LTEwLjNoLjFjOS40IDAgMTguMSAzLjcgMjQuNyAxMC4zIDYuNyA2LjcgMTAuMyAxNS41IDEwLjMgMjQuOSAwIDkuMy0zLjcgMTguMS0xMC4zIDI0LjdMMzcyLjQgNjUzYy0xLjcgMS43LTIuNiA0LTIuNiA2LjRzLjkgNC43IDIuNiA2LjRsMzYuOSAzNi45YTkgOSAwIDAwMTIuNyAwbDIxNS42LTIxNS42YzE5LjktMTkuOSAzMC44LTQ2LjMgMzAuOC03NC40cy0xMS01NC42LTMwLjgtNzQuNGMtNDEuMS00MS4xLTEwNy45LTQxLTE0OSAwTDQ2MyAzNjQgMjI0LjggNjAyLjFBMTcyLjIyIDE3Mi4yMiAwIDAwMTc0IDcyNC44YzAgNDYuMyAxOC4xIDg5LjggNTAuOCAxMjIuNSAzMy45IDMzLjggNzguMyA1MC43IDEyMi43IDUwLjcgNDQuNCAwIDg4LjgtMTYuOSAxMjIuNi01MC43bDMwOS4yLTMwOUM4MjQuOCA0OTIuNyA4NTAgNDMyIDg1MCAzNjcuNWMuMS02NC42LTI1LjEtMTI1LjMtNzAuNy0xNzAuOXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PaperClipOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PaperClipOutlined';\n}\nexport default RefIcon;","/**\n * List of HTML void tag names.\n *\n * @type {Array}\n */\nexport const htmlVoidElements = [\n 'area',\n 'base',\n 'basefont',\n 'bgsound',\n 'br',\n 'col',\n 'command',\n 'embed',\n 'frame',\n 'hr',\n 'image',\n 'img',\n 'input',\n 'keygen',\n 'link',\n 'meta',\n 'param',\n 'source',\n 'track',\n 'wbr'\n]\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SlackOutlinedSvg from \"@ant-design/icons-svg/es/asn/SlackOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SlackOutlined = function SlackOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SlackOutlinedSvg\n }));\n};\n\n/**![slack](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQwOS40IDEyOGMtNDIuNCAwLTc2LjcgMzQuNC03Ni43IDc2LjggMCAyMC4zIDguMSAzOS45IDIyLjQgNTQuM2E3Ni43NCA3Ni43NCAwIDAwNTQuMyAyMi41aDc2Ljd2LTc2LjhjMC00Mi4zLTM0LjMtNzYuNy03Ni43LTc2Ljh6bTAgMjA0LjhIMjA0LjdjLTQyLjQgMC03Ni43IDM0LjQtNzYuNyA3Ni44czM0LjQgNzYuOCA3Ni43IDc2LjhoMjA0LjZjNDIuNCAwIDc2LjctMzQuNCA3Ni43LTc2LjguMS00Mi40LTM0LjMtNzYuOC03Ni42LTc2Ljh6TTYxNCA0ODYuNGM0Mi40IDAgNzYuOC0zNC40IDc2LjctNzYuOFYyMDQuOGMwLTQyLjQtMzQuMy03Ni44LTc2LjctNzYuOC00Mi40IDAtNzYuNyAzNC40LTc2LjcgNzYuOHYyMDQuOGMwIDQyLjUgMzQuMyA3Ni44IDc2LjcgNzYuOHptMjgxLjQtNzYuOGMwLTQyLjQtMzQuNC03Ni44LTc2LjctNzYuOFM3NDIgMzY3LjIgNzQyIDQwOS42djc2LjhoNzYuN2M0Mi4zIDAgNzYuNy0zNC40IDc2LjctNzYuOHptLTc2LjggMTI4SDYxNGMtNDIuNCAwLTc2LjcgMzQuNC03Ni43IDc2LjggMCAyMC4zIDguMSAzOS45IDIyLjQgNTQuM2E3Ni43NCA3Ni43NCAwIDAwNTQuMyAyMi41aDIwNC42YzQyLjQgMCA3Ni43LTM0LjQgNzYuNy03Ni44LjEtNDIuNC0zNC4zLTc2LjctNzYuNy03Ni44ek02MTQgNzQyLjRoLTc2Ljd2NzYuOGMwIDQyLjQgMzQuNCA3Ni44IDc2LjcgNzYuOCA0Mi40IDAgNzYuOC0zNC40IDc2LjctNzYuOC4xLTQyLjQtMzQuMy03Ni43LTc2LjctNzYuOHpNNDA5LjQgNTM3LjZjLTQyLjQgMC03Ni43IDM0LjQtNzYuNyA3Ni44djIwNC44YzAgNDIuNCAzNC40IDc2LjggNzYuNyA3Ni44IDQyLjQgMCA3Ni44LTM0LjQgNzYuNy03Ni44VjYxNC40YzAtMjAuMy04LjEtMzkuOS0yMi40LTU0LjNhNzYuOTIgNzYuOTIgMCAwMC01NC4zLTIyLjV6TTEyOCA2MTQuNGMwIDIwLjMgOC4xIDM5LjkgMjIuNCA1NC4zYTc2Ljc0IDc2Ljc0IDAgMDA1NC4zIDIyLjVjNDIuNCAwIDc2LjgtMzQuNCA3Ni43LTc2Ljh2LTc2LjhoLTc2LjdjLTQyLjMgMC03Ni43IDM0LjQtNzYuNyA3Ni44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SlackOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SlackOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FilePptTwoToneSvg from \"@ant-design/icons-svg/es/asn/FilePptTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FilePptTwoTone = function FilePptTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FilePptTwoToneSvg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CA4LTMuNiA4LTh2LTk1LjVoNjMuM2M1OS40IDAgOTYuMi0zOC45IDk2LjItOTQuMSAwLTU0LjUtMzYuMy05NC4zLTk2LTk0LjNINDI0em0xNTAuNiA5NC4yYzAgNDMuNC0yNi41IDU0LjMtNzEuMiA1NC4zaC0zOC45VjUxNi4yaDU2LjJjMzMuOCAwIDUzLjkgMTkuNyA1My45IDU0LjF6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FilePptTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FilePptTwoTone';\n}\nexport default RefIcon;","/* eslint max-len: 0 */\n\n// A recursive descent parser operates by defining functions for all\n// syntactic elements, and recursively calling those, each function\n// advancing the input stream and returning an AST node. Precedence\n// of constructs (for example, the fact that `!x[1]` means `!(x[1])`\n// instead of `(!x)[1]` is handled by the fact that the parser\n// function that parses unary prefix operators is called first, and\n// in turn calls the function that parses `[]` subscripts — that\n// way, it'll receive the node for `x[1]` already parsed, and wraps\n// *that* in the unary operator node.\n//\n// Acorn uses an [operator precedence parser][opp] to handle binary\n// operator precedence, because it is much more compact than using\n// the technique outlined above, which uses different, nesting\n// functions to specify precedence, for all of the ten binary\n// precedence levels that JavaScript defines.\n//\n// [opp]: http://en.wikipedia.org/wiki/Operator-precedence_parser\n\nimport {\n flowParseArrow,\n flowParseFunctionBodyAndFinish,\n flowParseMaybeAssign,\n flowParseSubscript,\n flowParseSubscripts,\n flowParseVariance,\n flowStartParseAsyncArrowFromCallExpression,\n flowStartParseNewArguments,\n flowStartParseObjPropValue,\n} from \"../plugins/flow\";\nimport {jsxParseElement} from \"../plugins/jsx/index\";\nimport {typedParseConditional, typedParseParenItem} from \"../plugins/types\";\nimport {\n tsParseArrow,\n tsParseFunctionBodyAndFinish,\n tsParseMaybeAssign,\n tsParseSubscript,\n tsParseType,\n tsParseTypeAssertion,\n tsStartParseAsyncArrowFromCallExpression,\n tsStartParseObjPropValue,\n} from \"../plugins/typescript\";\nimport {\n eat,\n IdentifierRole,\n lookaheadCharCode,\n lookaheadType,\n match,\n next,\n nextTemplateToken,\n popTypeContext,\n pushTypeContext,\n rescan_gt,\n retokenizeSlashAsRegex,\n} from \"../tokenizer/index\";\nimport {ContextualKeyword} from \"../tokenizer/keywords\";\nimport {Scope} from \"../tokenizer/state\";\nimport {TokenType, TokenType as tt} from \"../tokenizer/types\";\nimport {charCodes} from \"../util/charcodes\";\nimport {IS_IDENTIFIER_START} from \"../util/identifier\";\nimport {getNextContextId, isFlowEnabled, isJSXEnabled, isTypeScriptEnabled, state} from \"./base\";\nimport {\n markPriorBindingIdentifier,\n parseBindingIdentifier,\n parseMaybeDefault,\n parseRest,\n parseSpread,\n} from \"./lval\";\nimport {\n parseBlock,\n parseBlockBody,\n parseClass,\n parseDecorators,\n parseFunction,\n parseFunctionParams,\n} from \"./statement\";\nimport {\n canInsertSemicolon,\n eatContextual,\n expect,\n expectContextual,\n hasFollowingLineBreak,\n hasPrecedingLineBreak,\n isContextual,\n unexpected,\n} from \"./util\";\n\nexport class StopState {\n \n constructor(stop) {\n this.stop = stop;\n }\n}\n\n// ### Expression parsing\n\n// These nest, from the most general expression type at the top to\n// 'atomic', nondivisible expression types at the bottom. Most of\n// the functions will simply let the function (s) below them parse,\n// and, *if* the syntactic construct they handle is present, wrap\n// the AST node that the inner parser gave them in another node.\nexport function parseExpression(noIn = false) {\n parseMaybeAssign(noIn);\n if (match(tt.comma)) {\n while (eat(tt.comma)) {\n parseMaybeAssign(noIn);\n }\n }\n}\n\n/**\n * noIn is used when parsing a for loop so that we don't interpret a following \"in\" as the binary\n * operatior.\n * isWithinParens is used to indicate that we're parsing something that might be a comma expression\n * or might be an arrow function or might be a Flow type assertion (which requires explicit parens).\n * In these cases, we should allow : and ?: after the initial \"left\" part.\n */\nexport function parseMaybeAssign(noIn = false, isWithinParens = false) {\n if (isTypeScriptEnabled) {\n return tsParseMaybeAssign(noIn, isWithinParens);\n } else if (isFlowEnabled) {\n return flowParseMaybeAssign(noIn, isWithinParens);\n } else {\n return baseParseMaybeAssign(noIn, isWithinParens);\n }\n}\n\n// Parse an assignment expression. This includes applications of\n// operators like `+=`.\n// Returns true if the expression was an arrow function.\nexport function baseParseMaybeAssign(noIn, isWithinParens) {\n if (match(tt._yield)) {\n parseYield();\n return false;\n }\n\n if (match(tt.parenL) || match(tt.name) || match(tt._yield)) {\n state.potentialArrowAt = state.start;\n }\n\n const wasArrow = parseMaybeConditional(noIn);\n if (isWithinParens) {\n parseParenItem();\n }\n if (state.type & TokenType.IS_ASSIGN) {\n next();\n parseMaybeAssign(noIn);\n return false;\n }\n return wasArrow;\n}\n\n// Parse a ternary conditional (`?:`) operator.\n// Returns true if the expression was an arrow function.\nfunction parseMaybeConditional(noIn) {\n const wasArrow = parseExprOps(noIn);\n if (wasArrow) {\n return true;\n }\n parseConditional(noIn);\n return false;\n}\n\nfunction parseConditional(noIn) {\n if (isTypeScriptEnabled || isFlowEnabled) {\n typedParseConditional(noIn);\n } else {\n baseParseConditional(noIn);\n }\n}\n\nexport function baseParseConditional(noIn) {\n if (eat(tt.question)) {\n parseMaybeAssign();\n expect(tt.colon);\n parseMaybeAssign(noIn);\n }\n}\n\n// Start the precedence parser.\n// Returns true if this was an arrow function\nfunction parseExprOps(noIn) {\n const startTokenIndex = state.tokens.length;\n const wasArrow = parseMaybeUnary();\n if (wasArrow) {\n return true;\n }\n parseExprOp(startTokenIndex, -1, noIn);\n return false;\n}\n\n// Parse binary operators with the operator precedence parsing\n// algorithm. `left` is the left-hand side of the operator.\n// `minPrec` provides context that allows the function to stop and\n// defer further parser to one of its callers when it encounters an\n// operator that has a lower precedence than the set it is parsing.\nfunction parseExprOp(startTokenIndex, minPrec, noIn) {\n if (\n isTypeScriptEnabled &&\n (tt._in & TokenType.PRECEDENCE_MASK) > minPrec &&\n !hasPrecedingLineBreak() &&\n (eatContextual(ContextualKeyword._as) || eatContextual(ContextualKeyword._satisfies))\n ) {\n const oldIsType = pushTypeContext(1);\n tsParseType();\n popTypeContext(oldIsType);\n rescan_gt();\n parseExprOp(startTokenIndex, minPrec, noIn);\n return;\n }\n\n const prec = state.type & TokenType.PRECEDENCE_MASK;\n if (prec > 0 && (!noIn || !match(tt._in))) {\n if (prec > minPrec) {\n const op = state.type;\n next();\n if (op === tt.nullishCoalescing) {\n state.tokens[state.tokens.length - 1].nullishStartIndex = startTokenIndex;\n }\n\n const rhsStartTokenIndex = state.tokens.length;\n parseMaybeUnary();\n // Extend the right operand of this operator if possible.\n parseExprOp(rhsStartTokenIndex, op & TokenType.IS_RIGHT_ASSOCIATIVE ? prec - 1 : prec, noIn);\n if (op === tt.nullishCoalescing) {\n state.tokens[startTokenIndex].numNullishCoalesceStarts++;\n state.tokens[state.tokens.length - 1].numNullishCoalesceEnds++;\n }\n // Continue with any future operator holding this expression as the left operand.\n parseExprOp(startTokenIndex, minPrec, noIn);\n }\n }\n}\n\n// Parse unary operators, both prefix and postfix.\n// Returns true if this was an arrow function.\nexport function parseMaybeUnary() {\n if (isTypeScriptEnabled && !isJSXEnabled && eat(tt.lessThan)) {\n tsParseTypeAssertion();\n return false;\n }\n if (\n isContextual(ContextualKeyword._module) &&\n lookaheadCharCode() === charCodes.leftCurlyBrace &&\n !hasFollowingLineBreak()\n ) {\n parseModuleExpression();\n return false;\n }\n if (state.type & TokenType.IS_PREFIX) {\n next();\n parseMaybeUnary();\n return false;\n }\n\n const wasArrow = parseExprSubscripts();\n if (wasArrow) {\n return true;\n }\n while (state.type & TokenType.IS_POSTFIX && !canInsertSemicolon()) {\n // The tokenizer calls everything a preincrement, so make it a postincrement when\n // we see it in that context.\n if (state.type === tt.preIncDec) {\n state.type = tt.postIncDec;\n }\n next();\n }\n return false;\n}\n\n// Parse call, dot, and `[]`-subscript expressions.\n// Returns true if this was an arrow function.\nexport function parseExprSubscripts() {\n const startTokenIndex = state.tokens.length;\n const wasArrow = parseExprAtom();\n if (wasArrow) {\n return true;\n }\n parseSubscripts(startTokenIndex);\n // If there was any optional chain operation, the start token would be marked\n // as such, so also mark the end now.\n if (state.tokens.length > startTokenIndex && state.tokens[startTokenIndex].isOptionalChainStart) {\n state.tokens[state.tokens.length - 1].isOptionalChainEnd = true;\n }\n return false;\n}\n\nfunction parseSubscripts(startTokenIndex, noCalls = false) {\n if (isFlowEnabled) {\n flowParseSubscripts(startTokenIndex, noCalls);\n } else {\n baseParseSubscripts(startTokenIndex, noCalls);\n }\n}\n\nexport function baseParseSubscripts(startTokenIndex, noCalls = false) {\n const stopState = new StopState(false);\n do {\n parseSubscript(startTokenIndex, noCalls, stopState);\n } while (!stopState.stop && !state.error);\n}\n\nfunction parseSubscript(startTokenIndex, noCalls, stopState) {\n if (isTypeScriptEnabled) {\n tsParseSubscript(startTokenIndex, noCalls, stopState);\n } else if (isFlowEnabled) {\n flowParseSubscript(startTokenIndex, noCalls, stopState);\n } else {\n baseParseSubscript(startTokenIndex, noCalls, stopState);\n }\n}\n\n/** Set 'state.stop = true' to indicate that we should stop parsing subscripts. */\nexport function baseParseSubscript(\n startTokenIndex,\n noCalls,\n stopState,\n) {\n if (!noCalls && eat(tt.doubleColon)) {\n parseNoCallExpr();\n stopState.stop = true;\n // Propagate startTokenIndex so that `a::b?.()` will keep `a` as the first token. We may want\n // to revisit this in the future when fully supporting bind syntax.\n parseSubscripts(startTokenIndex, noCalls);\n } else if (match(tt.questionDot)) {\n state.tokens[startTokenIndex].isOptionalChainStart = true;\n if (noCalls && lookaheadType() === tt.parenL) {\n stopState.stop = true;\n return;\n }\n next();\n state.tokens[state.tokens.length - 1].subscriptStartIndex = startTokenIndex;\n\n if (eat(tt.bracketL)) {\n parseExpression();\n expect(tt.bracketR);\n } else if (eat(tt.parenL)) {\n parseCallExpressionArguments();\n } else {\n parseMaybePrivateName();\n }\n } else if (eat(tt.dot)) {\n state.tokens[state.tokens.length - 1].subscriptStartIndex = startTokenIndex;\n parseMaybePrivateName();\n } else if (eat(tt.bracketL)) {\n state.tokens[state.tokens.length - 1].subscriptStartIndex = startTokenIndex;\n parseExpression();\n expect(tt.bracketR);\n } else if (!noCalls && match(tt.parenL)) {\n if (atPossibleAsync()) {\n // We see \"async\", but it's possible it's a usage of the name \"async\". Parse as if it's a\n // function call, and if we see an arrow later, backtrack and re-parse as a parameter list.\n const snapshot = state.snapshot();\n const asyncStartTokenIndex = state.tokens.length;\n next();\n state.tokens[state.tokens.length - 1].subscriptStartIndex = startTokenIndex;\n\n const callContextId = getNextContextId();\n\n state.tokens[state.tokens.length - 1].contextId = callContextId;\n parseCallExpressionArguments();\n state.tokens[state.tokens.length - 1].contextId = callContextId;\n\n if (shouldParseAsyncArrow()) {\n // We hit an arrow, so backtrack and start again parsing function parameters.\n state.restoreFromSnapshot(snapshot);\n stopState.stop = true;\n state.scopeDepth++;\n\n parseFunctionParams();\n parseAsyncArrowFromCallExpression(asyncStartTokenIndex);\n }\n } else {\n next();\n state.tokens[state.tokens.length - 1].subscriptStartIndex = startTokenIndex;\n const callContextId = getNextContextId();\n state.tokens[state.tokens.length - 1].contextId = callContextId;\n parseCallExpressionArguments();\n state.tokens[state.tokens.length - 1].contextId = callContextId;\n }\n } else if (match(tt.backQuote)) {\n // Tagged template expression.\n parseTemplate();\n } else {\n stopState.stop = true;\n }\n}\n\nexport function atPossibleAsync() {\n // This was made less strict than the original version to avoid passing around nodes, but it\n // should be safe to have rare false positives here.\n return (\n state.tokens[state.tokens.length - 1].contextualKeyword === ContextualKeyword._async &&\n !canInsertSemicolon()\n );\n}\n\nexport function parseCallExpressionArguments() {\n let first = true;\n while (!eat(tt.parenR) && !state.error) {\n if (first) {\n first = false;\n } else {\n expect(tt.comma);\n if (eat(tt.parenR)) {\n break;\n }\n }\n\n parseExprListItem(false);\n }\n}\n\nfunction shouldParseAsyncArrow() {\n return match(tt.colon) || match(tt.arrow);\n}\n\nfunction parseAsyncArrowFromCallExpression(startTokenIndex) {\n if (isTypeScriptEnabled) {\n tsStartParseAsyncArrowFromCallExpression();\n } else if (isFlowEnabled) {\n flowStartParseAsyncArrowFromCallExpression();\n }\n expect(tt.arrow);\n parseArrowExpression(startTokenIndex);\n}\n\n// Parse a no-call expression (like argument of `new` or `::` operators).\n\nfunction parseNoCallExpr() {\n const startTokenIndex = state.tokens.length;\n parseExprAtom();\n parseSubscripts(startTokenIndex, true);\n}\n\n// Parse an atomic expression — either a single token that is an\n// expression, an expression started by a keyword like `function` or\n// `new`, or an expression wrapped in punctuation like `()`, `[]`,\n// or `{}`.\n// Returns true if the parsed expression was an arrow function.\nexport function parseExprAtom() {\n if (eat(tt.modulo)) {\n // V8 intrinsic expression. Just parse the identifier, and the function invocation is parsed\n // naturally.\n parseIdentifier();\n return false;\n }\n\n if (match(tt.jsxText) || match(tt.jsxEmptyText)) {\n parseLiteral();\n return false;\n } else if (match(tt.lessThan) && isJSXEnabled) {\n state.type = tt.jsxTagStart;\n jsxParseElement();\n next();\n return false;\n }\n\n const canBeArrow = state.potentialArrowAt === state.start;\n switch (state.type) {\n case tt.slash:\n case tt.assign:\n retokenizeSlashAsRegex();\n // Fall through.\n\n case tt._super:\n case tt._this:\n case tt.regexp:\n case tt.num:\n case tt.bigint:\n case tt.decimal:\n case tt.string:\n case tt._null:\n case tt._true:\n case tt._false:\n next();\n return false;\n\n case tt._import:\n next();\n if (match(tt.dot)) {\n // import.meta\n state.tokens[state.tokens.length - 1].type = tt.name;\n next();\n parseIdentifier();\n }\n return false;\n\n case tt.name: {\n const startTokenIndex = state.tokens.length;\n const functionStart = state.start;\n const contextualKeyword = state.contextualKeyword;\n parseIdentifier();\n if (contextualKeyword === ContextualKeyword._await) {\n parseAwait();\n return false;\n } else if (\n contextualKeyword === ContextualKeyword._async &&\n match(tt._function) &&\n !canInsertSemicolon()\n ) {\n next();\n parseFunction(functionStart, false);\n return false;\n } else if (\n canBeArrow &&\n contextualKeyword === ContextualKeyword._async &&\n !canInsertSemicolon() &&\n match(tt.name)\n ) {\n state.scopeDepth++;\n parseBindingIdentifier(false);\n expect(tt.arrow);\n // let foo = async bar => {};\n parseArrowExpression(startTokenIndex);\n return true;\n } else if (match(tt._do) && !canInsertSemicolon()) {\n next();\n parseBlock();\n return false;\n }\n\n if (canBeArrow && !canInsertSemicolon() && match(tt.arrow)) {\n state.scopeDepth++;\n markPriorBindingIdentifier(false);\n expect(tt.arrow);\n parseArrowExpression(startTokenIndex);\n return true;\n }\n\n state.tokens[state.tokens.length - 1].identifierRole = IdentifierRole.Access;\n return false;\n }\n\n case tt._do: {\n next();\n parseBlock();\n return false;\n }\n\n case tt.parenL: {\n const wasArrow = parseParenAndDistinguishExpression(canBeArrow);\n return wasArrow;\n }\n\n case tt.bracketL:\n next();\n parseExprList(tt.bracketR, true);\n return false;\n\n case tt.braceL:\n parseObj(false, false);\n return false;\n\n case tt._function:\n parseFunctionExpression();\n return false;\n\n case tt.at:\n parseDecorators();\n // Fall through.\n\n case tt._class:\n parseClass(false);\n return false;\n\n case tt._new:\n parseNew();\n return false;\n\n case tt.backQuote:\n parseTemplate();\n return false;\n\n case tt.doubleColon: {\n next();\n parseNoCallExpr();\n return false;\n }\n\n case tt.hash: {\n const code = lookaheadCharCode();\n if (IS_IDENTIFIER_START[code] || code === charCodes.backslash) {\n parseMaybePrivateName();\n } else {\n next();\n }\n // Smart pipeline topic reference.\n return false;\n }\n\n default:\n unexpected();\n return false;\n }\n}\n\nfunction parseMaybePrivateName() {\n eat(tt.hash);\n parseIdentifier();\n}\n\nfunction parseFunctionExpression() {\n const functionStart = state.start;\n parseIdentifier();\n if (eat(tt.dot)) {\n // function.sent\n parseIdentifier();\n }\n parseFunction(functionStart, false);\n}\n\nexport function parseLiteral() {\n next();\n}\n\nexport function parseParenExpression() {\n expect(tt.parenL);\n parseExpression();\n expect(tt.parenR);\n}\n\n// Returns true if this was an arrow expression.\nfunction parseParenAndDistinguishExpression(canBeArrow) {\n // Assume this is a normal parenthesized expression, but if we see an arrow, we'll bail and\n // start over as a parameter list.\n const snapshot = state.snapshot();\n\n const startTokenIndex = state.tokens.length;\n expect(tt.parenL);\n\n let first = true;\n\n while (!match(tt.parenR) && !state.error) {\n if (first) {\n first = false;\n } else {\n expect(tt.comma);\n if (match(tt.parenR)) {\n break;\n }\n }\n\n if (match(tt.ellipsis)) {\n parseRest(false /* isBlockScope */);\n parseParenItem();\n break;\n } else {\n parseMaybeAssign(false, true);\n }\n }\n\n expect(tt.parenR);\n\n if (canBeArrow && shouldParseArrow()) {\n const wasArrow = parseArrow();\n if (wasArrow) {\n // It was an arrow function this whole time, so start over and parse it as params so that we\n // get proper token annotations.\n state.restoreFromSnapshot(snapshot);\n state.scopeDepth++;\n // Don't specify a context ID because arrow functions don't need a context ID.\n parseFunctionParams();\n parseArrow();\n parseArrowExpression(startTokenIndex);\n if (state.error) {\n // Nevermind! This must have been something that looks very much like an\n // arrow function but where its \"parameter list\" isn't actually a valid\n // parameter list. Force non-arrow parsing.\n // See https://github.com/alangpierce/sucrase/issues/666 for an example.\n state.restoreFromSnapshot(snapshot);\n parseParenAndDistinguishExpression(false);\n return false;\n }\n return true;\n }\n }\n\n return false;\n}\n\nfunction shouldParseArrow() {\n return match(tt.colon) || !canInsertSemicolon();\n}\n\n// Returns whether there was an arrow token.\nexport function parseArrow() {\n if (isTypeScriptEnabled) {\n return tsParseArrow();\n } else if (isFlowEnabled) {\n return flowParseArrow();\n } else {\n return eat(tt.arrow);\n }\n}\n\nfunction parseParenItem() {\n if (isTypeScriptEnabled || isFlowEnabled) {\n typedParseParenItem();\n }\n}\n\n// New's precedence is slightly tricky. It must allow its argument to\n// be a `[]` or dot subscript expression, but not a call — at least,\n// not without wrapping it in parentheses. Thus, it uses the noCalls\n// argument to parseSubscripts to prevent it from consuming the\n// argument list.\nfunction parseNew() {\n expect(tt._new);\n if (eat(tt.dot)) {\n // new.target\n parseIdentifier();\n return;\n }\n parseNewCallee();\n if (isFlowEnabled) {\n flowStartParseNewArguments();\n }\n if (eat(tt.parenL)) {\n parseExprList(tt.parenR);\n }\n}\n\nfunction parseNewCallee() {\n parseNoCallExpr();\n eat(tt.questionDot);\n}\n\nexport function parseTemplate() {\n // Finish `, read quasi\n nextTemplateToken();\n // Finish quasi, read ${\n nextTemplateToken();\n while (!match(tt.backQuote) && !state.error) {\n expect(tt.dollarBraceL);\n parseExpression();\n // Finish }, read quasi\n nextTemplateToken();\n // Finish quasi, read either ${ or `\n nextTemplateToken();\n }\n next();\n}\n\n// Parse an object literal or binding pattern.\nexport function parseObj(isPattern, isBlockScope) {\n // Attach a context ID to the object open and close brace and each object key.\n const contextId = getNextContextId();\n let first = true;\n\n next();\n state.tokens[state.tokens.length - 1].contextId = contextId;\n\n while (!eat(tt.braceR) && !state.error) {\n if (first) {\n first = false;\n } else {\n expect(tt.comma);\n if (eat(tt.braceR)) {\n break;\n }\n }\n\n let isGenerator = false;\n if (match(tt.ellipsis)) {\n const previousIndex = state.tokens.length;\n parseSpread();\n if (isPattern) {\n // Mark role when the only thing being spread over is an identifier.\n if (state.tokens.length === previousIndex + 2) {\n markPriorBindingIdentifier(isBlockScope);\n }\n if (eat(tt.braceR)) {\n break;\n }\n }\n continue;\n }\n\n if (!isPattern) {\n isGenerator = eat(tt.star);\n }\n\n if (!isPattern && isContextual(ContextualKeyword._async)) {\n if (isGenerator) unexpected();\n\n parseIdentifier();\n if (\n match(tt.colon) ||\n match(tt.parenL) ||\n match(tt.braceR) ||\n match(tt.eq) ||\n match(tt.comma)\n ) {\n // This is a key called \"async\" rather than an async function.\n } else {\n if (match(tt.star)) {\n next();\n isGenerator = true;\n }\n parsePropertyName(contextId);\n }\n } else {\n parsePropertyName(contextId);\n }\n\n parseObjPropValue(isPattern, isBlockScope, contextId);\n }\n\n state.tokens[state.tokens.length - 1].contextId = contextId;\n}\n\nfunction isGetterOrSetterMethod(isPattern) {\n // We go off of the next and don't bother checking if the node key is actually \"get\" or \"set\".\n // This lets us avoid generating a node, and should only make the validation worse.\n return (\n !isPattern &&\n (match(tt.string) || // get \"string\"() {}\n match(tt.num) || // get 1() {}\n match(tt.bracketL) || // get [\"string\"]() {}\n match(tt.name) || // get foo() {}\n !!(state.type & TokenType.IS_KEYWORD)) // get debugger() {}\n );\n}\n\n// Returns true if this was a method.\nfunction parseObjectMethod(isPattern, objectContextId) {\n // We don't need to worry about modifiers because object methods can't have optional bodies, so\n // the start will never be used.\n const functionStart = state.start;\n if (match(tt.parenL)) {\n if (isPattern) unexpected();\n parseMethod(functionStart, /* isConstructor */ false);\n return true;\n }\n\n if (isGetterOrSetterMethod(isPattern)) {\n parsePropertyName(objectContextId);\n parseMethod(functionStart, /* isConstructor */ false);\n return true;\n }\n return false;\n}\n\nfunction parseObjectProperty(isPattern, isBlockScope) {\n if (eat(tt.colon)) {\n if (isPattern) {\n parseMaybeDefault(isBlockScope);\n } else {\n parseMaybeAssign(false);\n }\n return;\n }\n\n // Since there's no colon, we assume this is an object shorthand.\n\n // If we're in a destructuring, we've now discovered that the key was actually an assignee, so\n // we need to tag it as a declaration with the appropriate scope. Otherwise, we might need to\n // transform it on access, so mark it as a normal object shorthand.\n let identifierRole;\n if (isPattern) {\n if (state.scopeDepth === 0) {\n identifierRole = IdentifierRole.ObjectShorthandTopLevelDeclaration;\n } else if (isBlockScope) {\n identifierRole = IdentifierRole.ObjectShorthandBlockScopedDeclaration;\n } else {\n identifierRole = IdentifierRole.ObjectShorthandFunctionScopedDeclaration;\n }\n } else {\n identifierRole = IdentifierRole.ObjectShorthand;\n }\n state.tokens[state.tokens.length - 1].identifierRole = identifierRole;\n\n // Regardless of whether we know this to be a pattern or if we're in an ambiguous context, allow\n // parsing as if there's a default value.\n parseMaybeDefault(isBlockScope, true);\n}\n\nfunction parseObjPropValue(\n isPattern,\n isBlockScope,\n objectContextId,\n) {\n if (isTypeScriptEnabled) {\n tsStartParseObjPropValue();\n } else if (isFlowEnabled) {\n flowStartParseObjPropValue();\n }\n const wasMethod = parseObjectMethod(isPattern, objectContextId);\n if (!wasMethod) {\n parseObjectProperty(isPattern, isBlockScope);\n }\n}\n\nexport function parsePropertyName(objectContextId) {\n if (isFlowEnabled) {\n flowParseVariance();\n }\n if (eat(tt.bracketL)) {\n state.tokens[state.tokens.length - 1].contextId = objectContextId;\n parseMaybeAssign();\n expect(tt.bracketR);\n state.tokens[state.tokens.length - 1].contextId = objectContextId;\n } else {\n if (match(tt.num) || match(tt.string) || match(tt.bigint) || match(tt.decimal)) {\n parseExprAtom();\n } else {\n parseMaybePrivateName();\n }\n\n state.tokens[state.tokens.length - 1].identifierRole = IdentifierRole.ObjectKey;\n state.tokens[state.tokens.length - 1].contextId = objectContextId;\n }\n}\n\n// Parse object or class method.\nexport function parseMethod(functionStart, isConstructor) {\n const funcContextId = getNextContextId();\n\n state.scopeDepth++;\n const startTokenIndex = state.tokens.length;\n const allowModifiers = isConstructor; // For TypeScript parameter properties\n parseFunctionParams(allowModifiers, funcContextId);\n parseFunctionBodyAndFinish(functionStart, funcContextId);\n const endTokenIndex = state.tokens.length;\n state.scopes.push(new Scope(startTokenIndex, endTokenIndex, true));\n state.scopeDepth--;\n}\n\n// Parse arrow function expression.\n// If the parameters are provided, they will be converted to an\n// assignable list.\nexport function parseArrowExpression(startTokenIndex) {\n parseFunctionBody(true);\n const endTokenIndex = state.tokens.length;\n state.scopes.push(new Scope(startTokenIndex, endTokenIndex, true));\n state.scopeDepth--;\n}\n\nexport function parseFunctionBodyAndFinish(functionStart, funcContextId = 0) {\n if (isTypeScriptEnabled) {\n tsParseFunctionBodyAndFinish(functionStart, funcContextId);\n } else if (isFlowEnabled) {\n flowParseFunctionBodyAndFinish(funcContextId);\n } else {\n parseFunctionBody(false, funcContextId);\n }\n}\n\nexport function parseFunctionBody(allowExpression, funcContextId = 0) {\n const isExpression = allowExpression && !match(tt.braceL);\n\n if (isExpression) {\n parseMaybeAssign();\n } else {\n parseBlock(true /* isFunctionScope */, funcContextId);\n }\n}\n\n// Parses a comma-separated list of expressions, and returns them as\n// an array. `close` is the token type that ends the list, and\n// `allowEmpty` can be turned on to allow subsequent commas with\n// nothing in between them to be parsed as `null` (which is needed\n// for array literals).\n\nfunction parseExprList(close, allowEmpty = false) {\n let first = true;\n while (!eat(close) && !state.error) {\n if (first) {\n first = false;\n } else {\n expect(tt.comma);\n if (eat(close)) break;\n }\n parseExprListItem(allowEmpty);\n }\n}\n\nfunction parseExprListItem(allowEmpty) {\n if (allowEmpty && match(tt.comma)) {\n // Empty item; nothing more to parse for this item.\n } else if (match(tt.ellipsis)) {\n parseSpread();\n parseParenItem();\n } else if (match(tt.question)) {\n // Partial function application proposal.\n next();\n } else {\n parseMaybeAssign(false, true);\n }\n}\n\n// Parse the next token as an identifier.\nexport function parseIdentifier() {\n next();\n state.tokens[state.tokens.length - 1].type = tt.name;\n}\n\n// Parses await expression inside async function.\nfunction parseAwait() {\n parseMaybeUnary();\n}\n\n// Parses yield expression inside generator.\nfunction parseYield() {\n next();\n if (!match(tt.semi) && !canInsertSemicolon()) {\n eat(tt.star);\n parseMaybeAssign();\n }\n}\n\n// https://github.com/tc39/proposal-js-module-blocks\nfunction parseModuleExpression() {\n expectContextual(ContextualKeyword._module);\n expect(tt.braceL);\n // For now, just call parseBlockBody to parse the block. In the future when we\n // implement full support, we'll want to emit scopes and possibly other\n // information.\n parseBlockBody(tt.braceR);\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BellFilledSvg from \"@ant-design/icons-svg/es/asn/BellFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BellFilled = function BellFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BellFilledSvg\n }));\n};\n\n/**![bell](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgxNiA3NjhoLTI0VjQyOGMwLTE0MS4xLTEwNC4zLTI1Ny44LTI0MC0yNzcuMlYxMTJjMC0yMi4xLTE3LjktNDAtNDAtNDBzLTQwIDE3LjktNDAgNDB2MzguOEMzMzYuMyAxNzAuMiAyMzIgMjg2LjkgMjMyIDQyOHYzNDBoLTI0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYzMmMwIDQuNCAzLjYgOCA4IDhoMjE2YzAgNjEuOCA1MC4yIDExMiAxMTIgMTEyczExMi01MC4yIDExMi0xMTJoMjE2YzQuNCAwIDgtMy42IDgtOHYtMzJjMC0xNy43LTE0LjMtMzItMzItMzJ6TTUxMiA4ODhjLTI2LjUgMC00OC0yMS41LTQ4LTQ4aDk2YzAgMjYuNS0yMS41IDQ4LTQ4IDQ4eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BellFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BellFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BranchesOutlinedSvg from \"@ant-design/icons-svg/es/asn/BranchesOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BranchesOutlined = function BranchesOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BranchesOutlinedSvg\n }));\n};\n\n/**![branches](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc0MCAxNjFjLTYxLjggMC0xMTIgNTAuMi0xMTIgMTEyIDAgNTAuMSAzMy4xIDkyLjYgNzguNSAxMDYuOXY5NS45TDMyMCA2MDIuNFYzMTguMWM0NC4yLTE1IDc2LTU2LjkgNzYtMTA2LjEgMC02MS44LTUwLjItMTEyLTExMi0xMTJzLTExMiA1MC4yLTExMiAxMTJjMCA0OS4yIDMxLjggOTEgNzYgMTA2LjFWNzA2Yy00NC4yIDE1LTc2IDU2LjktNzYgMTA2LjEgMCA2MS44IDUwLjIgMTEyIDExMiAxMTJzMTEyLTUwLjIgMTEyLTExMmMwLTQ5LjItMzEuOC05MS03Ni0xMDYuMXYtMjcuOGw0MjMuNS0xMzguN2E1MC41MiA1MC41MiAwIDAwMzQuOS00OC4yVjM3OC4yYzQyLjktMTUuOCA3My42LTU3IDczLjYtMTA1LjIgMC02MS44LTUwLjItMTEyLTExMi0xMTJ6bS01MDQgNTFhNDguMDEgNDguMDEgMCAwMTk2IDAgNDguMDEgNDguMDEgMCAwMS05NiAwem05NiA2MDBhNDguMDEgNDguMDEgMCAwMS05NiAwIDQ4LjAxIDQ4LjAxIDAgMDE5NiAwem00MDgtNDkxYTQ4LjAxIDQ4LjAxIDAgMDEwLTk2IDQ4LjAxIDQ4LjAxIDAgMDEwIDk2eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BranchesOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BranchesOutlined';\n}\nexport default RefIcon;","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nvar _excluded = [\"b\"],\n _excluded2 = [\"v\"];\nimport { FastColor } from '@ant-design/fast-color';\nexport var getRoundNumber = function getRoundNumber(value) {\n return Math.round(Number(value || 0));\n};\nvar convertHsb2Hsv = function convertHsb2Hsv(color) {\n if (color instanceof FastColor) {\n return color;\n }\n if (color && _typeof(color) === 'object' && 'h' in color && 'b' in color) {\n var _ref = color,\n b = _ref.b,\n resets = _objectWithoutProperties(_ref, _excluded);\n return _objectSpread(_objectSpread({}, resets), {}, {\n v: b\n });\n }\n if (typeof color === 'string' && /hsb/.test(color)) {\n return color.replace(/hsb/, 'hsv');\n }\n return color;\n};\nexport var Color = /*#__PURE__*/function (_FastColor) {\n _inherits(Color, _FastColor);\n var _super = _createSuper(Color);\n function Color(color) {\n _classCallCheck(this, Color);\n return _super.call(this, convertHsb2Hsv(color));\n }\n _createClass(Color, [{\n key: \"toHsbString\",\n value: function toHsbString() {\n var hsb = this.toHsb();\n var saturation = getRoundNumber(hsb.s * 100);\n var lightness = getRoundNumber(hsb.b * 100);\n var hue = getRoundNumber(hsb.h);\n var alpha = hsb.a;\n var hsbString = \"hsb(\".concat(hue, \", \").concat(saturation, \"%, \").concat(lightness, \"%)\");\n var hsbaString = \"hsba(\".concat(hue, \", \").concat(saturation, \"%, \").concat(lightness, \"%, \").concat(alpha.toFixed(alpha === 0 ? 0 : 2), \")\");\n return alpha === 1 ? hsbString : hsbaString;\n }\n }, {\n key: \"toHsb\",\n value: function toHsb() {\n var _this$toHsv = this.toHsv(),\n v = _this$toHsv.v,\n resets = _objectWithoutProperties(_this$toHsv, _excluded2);\n return _objectSpread(_objectSpread({}, resets), {}, {\n b: v,\n a: this.a\n });\n }\n }]);\n return Color;\n}(FastColor);","import * as React from 'react';\nfunction executeValue(value) {\n return typeof value === 'function' ? value() : value;\n}\nexport default function PresetPanel(props) {\n var prefixCls = props.prefixCls,\n presets = props.presets,\n _onClick = props.onClick,\n onHover = props.onHover;\n if (!presets.length) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-presets\")\n }, /*#__PURE__*/React.createElement(\"ul\", null, presets.map(function (_ref, index) {\n var label = _ref.label,\n value = _ref.value;\n return /*#__PURE__*/React.createElement(\"li\", {\n key: index,\n onClick: function onClick() {\n _onClick(executeValue(value));\n },\n onMouseEnter: function onMouseEnter() {\n onHover(executeValue(value));\n },\n onMouseLeave: function onMouseLeave() {\n onHover(null);\n }\n }, label);\n })));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MobileTwoToneSvg from \"@ant-design/icons-svg/es/asn/MobileTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MobileTwoTone = function MobileTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MobileTwoToneSvg\n }));\n};\n\n/**![mobile](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc0NCA2NEgyODBjLTM1LjMgMC02NCAyOC43LTY0IDY0djc2OGMwIDM1LjMgMjguNyA2NCA2NCA2NGg0NjRjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTI4YzAtMzUuMy0yOC43LTY0LTY0LTY0em0tOCA4MjRIMjg4VjEzNmg0NDh2NzUyeiIgZmlsbD0iIzE2NzdmZiIgLz48cGF0aCBkPSJNMjg4IDg4OGg0NDhWMTM2SDI4OHY3NTJ6bTIyNC0xNDJjMjIuMSAwIDQwIDE3LjkgNDAgNDBzLTE3LjkgNDAtNDAgNDAtNDAtMTcuOS00MC00MCAxNy45LTQwIDQwLTQweiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNNDcyIDc4NmE0MCA0MCAwIDEwODAgMCA0MCA0MCAwIDEwLTgwIDB6IiBmaWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MobileTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MobileTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LineHeightOutlinedSvg from \"@ant-design/icons-svg/es/asn/LineHeightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LineHeightOutlined = function LineHeightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LineHeightOutlinedSvg\n }));\n};\n\n/**![line-height](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTY0OCAxNjBIMTA0Yy00LjQgMC04IDMuNi04IDh2MTI4YzAgNC40IDMuNiA4IDggOGg1NmM0LjQgMCA4LTMuNiA4LTh2LTY0aDE2OHY1NjBoLTkyYy00LjQgMC04IDMuNi04IDh2NTZjMCA0LjQgMy42IDggOCA4aDI2NGM0LjQgMCA4LTMuNiA4LTh2LTU2YzAtNC40LTMuNi04LTgtOGgtOTJWMjMyaDE2OHY2NGMwIDQuNCAzLjYgOCA4IDhoNTZjNC40IDAgOC0zLjYgOC04VjE2OGMwLTQuNC0zLjYtOC04LTh6bTI3Mi44IDU0Nkg4NTZWMzE4aDY0LjhjNiAwIDkuNC03IDUuNy0xMS43TDgyNS43IDE3OC43YTcuMTQgNy4xNCAwIDAwLTExLjMgMEw3MTMuNiAzMDYuM2E3LjIzIDcuMjMgMCAwMDUuNyAxMS43SDc4NHYzODhoLTY0LjhjLTYgMC05LjQgNy01LjcgMTEuN2wxMDAuOCAxMjcuNWMyLjkgMy43IDguNSAzLjcgMTEuMyAwbDEwMC44LTEyNy41YTcuMiA3LjIgMCAwMC01LjYtMTEuN3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LineHeightOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LineHeightOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DownSquareFilledSvg from \"@ant-design/icons-svg/es/asn/DownSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DownSquareFilled = function DownSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DownSquareFilledSvg\n }));\n};\n\n/**![down-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNjk2LjUgNDEyLjdsLTE3OCAyNDZhNy45NSA3Ljk1IDAgMDEtMTIuOSAwbC0xNzgtMjQ2Yy0zLjgtNS4zIDAtMTIuNyA2LjUtMTIuN0gzODFjMTAuMiAwIDE5LjkgNC45IDI1LjkgMTMuMkw1MTIgNTU4LjZsMTA1LjItMTQ1LjRjNi04LjMgMTUuNi0xMy4yIDI1LjktMTMuMkg2OTBjNi41IDAgMTAuMyA3LjQgNi41IDEyLjd6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DownSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DownSquareFilled';\n}\nexport default RefIcon;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\nvar _excluded = [\"title\", \"attribute\", \"elementRef\"],\n _excluded2 = [\"style\", \"className\", \"eventKey\", \"warnKey\", \"disabled\", \"itemIcon\", \"children\", \"role\", \"onMouseEnter\", \"onMouseLeave\", \"onClick\", \"onKeyDown\", \"onFocus\"],\n _excluded3 = [\"active\"];\nimport classNames from 'classnames';\nimport Overflow from 'rc-overflow';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport omit from \"rc-util/es/omit\";\nimport { useComposeRef } from \"rc-util/es/ref\";\nimport warning from \"rc-util/es/warning\";\nimport * as React from 'react';\nimport { useMenuId } from \"./context/IdContext\";\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useFullPath, useMeasure } from \"./context/PathContext\";\nimport PrivateContext from \"./context/PrivateContext\";\nimport useActive from \"./hooks/useActive\";\nimport useDirectionStyle from \"./hooks/useDirectionStyle\";\nimport Icon from \"./Icon\";\nimport { warnItemProp } from \"./utils/warnUtil\";\n// Since Menu event provide the `info.item` which point to the MenuItem node instance.\n// We have to use class component here.\n// This should be removed from doc & api in future.\nvar LegacyMenuItem = /*#__PURE__*/function (_React$Component) {\n _inherits(LegacyMenuItem, _React$Component);\n var _super = _createSuper(LegacyMenuItem);\n function LegacyMenuItem() {\n _classCallCheck(this, LegacyMenuItem);\n return _super.apply(this, arguments);\n }\n _createClass(LegacyMenuItem, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n title = _this$props.title,\n attribute = _this$props.attribute,\n elementRef = _this$props.elementRef,\n restProps = _objectWithoutProperties(_this$props, _excluded);\n\n // Here the props are eventually passed to the DOM element.\n // React does not recognize non-standard attributes.\n // Therefore, remove the props that is not used here.\n // ref: https://github.com/ant-design/ant-design/issues/41395\n var passedProps = omit(restProps, ['eventKey', 'popupClassName', 'popupOffset', 'onTitleClick']);\n warning(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');\n return /*#__PURE__*/React.createElement(Overflow.Item, _extends({}, attribute, {\n title: typeof title === 'string' ? title : undefined\n }, passedProps, {\n ref: elementRef\n }));\n }\n }]);\n return LegacyMenuItem;\n}(React.Component);\n/**\n * Real Menu Item component\n */\nvar InternalMenuItem = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var style = props.style,\n className = props.className,\n eventKey = props.eventKey,\n warnKey = props.warnKey,\n disabled = props.disabled,\n itemIcon = props.itemIcon,\n children = props.children,\n role = props.role,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n onClick = props.onClick,\n onKeyDown = props.onKeyDown,\n onFocus = props.onFocus,\n restProps = _objectWithoutProperties(props, _excluded2);\n var domDataId = useMenuId(eventKey);\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls,\n onItemClick = _React$useContext.onItemClick,\n contextDisabled = _React$useContext.disabled,\n overflowDisabled = _React$useContext.overflowDisabled,\n contextItemIcon = _React$useContext.itemIcon,\n selectedKeys = _React$useContext.selectedKeys,\n onActive = _React$useContext.onActive;\n var _React$useContext2 = React.useContext(PrivateContext),\n _internalRenderMenuItem = _React$useContext2._internalRenderMenuItem;\n var itemCls = \"\".concat(prefixCls, \"-item\");\n var legacyMenuItemRef = React.useRef();\n var elementRef = React.useRef();\n var mergedDisabled = contextDisabled || disabled;\n var mergedEleRef = useComposeRef(ref, elementRef);\n var connectedKeys = useFullPath(eventKey);\n\n // ================================ Warn ================================\n if (process.env.NODE_ENV !== 'production' && warnKey) {\n warning(false, 'MenuItem should not leave undefined `key`.');\n }\n\n // ============================= Info =============================\n var getEventInfo = function getEventInfo(e) {\n return {\n key: eventKey,\n // Note: For legacy code is reversed which not like other antd component\n keyPath: _toConsumableArray(connectedKeys).reverse(),\n item: legacyMenuItemRef.current,\n domEvent: e\n };\n };\n\n // ============================= Icon =============================\n var mergedItemIcon = itemIcon || contextItemIcon;\n\n // ============================ Active ============================\n var _useActive = useActive(eventKey, mergedDisabled, onMouseEnter, onMouseLeave),\n active = _useActive.active,\n activeProps = _objectWithoutProperties(_useActive, _excluded3);\n\n // ============================ Select ============================\n var selected = selectedKeys.includes(eventKey);\n\n // ======================== DirectionStyle ========================\n var directionStyle = useDirectionStyle(connectedKeys.length);\n\n // ============================ Events ============================\n var onInternalClick = function onInternalClick(e) {\n if (mergedDisabled) {\n return;\n }\n var info = getEventInfo(e);\n onClick === null || onClick === void 0 || onClick(warnItemProp(info));\n onItemClick(info);\n };\n var onInternalKeyDown = function onInternalKeyDown(e) {\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n if (e.which === KeyCode.ENTER) {\n var info = getEventInfo(e);\n\n // Legacy. Key will also trigger click event\n onClick === null || onClick === void 0 || onClick(warnItemProp(info));\n onItemClick(info);\n }\n };\n\n /**\n * Used for accessibility. Helper will focus element without key board.\n * We should manually trigger an active\n */\n var onInternalFocus = function onInternalFocus(e) {\n onActive(eventKey);\n onFocus === null || onFocus === void 0 || onFocus(e);\n };\n\n // ============================ Render ============================\n var optionRoleProps = {};\n if (props.role === 'option') {\n optionRoleProps['aria-selected'] = selected;\n }\n var renderNode = /*#__PURE__*/React.createElement(LegacyMenuItem, _extends({\n ref: legacyMenuItemRef,\n elementRef: mergedEleRef,\n role: role === null ? 'none' : role || 'menuitem',\n tabIndex: disabled ? null : -1,\n \"data-menu-id\": overflowDisabled && domDataId ? null : domDataId\n }, omit(restProps, ['extra']), activeProps, optionRoleProps, {\n component: \"li\",\n \"aria-disabled\": disabled,\n style: _objectSpread(_objectSpread({}, directionStyle), style),\n className: classNames(itemCls, _defineProperty(_defineProperty(_defineProperty({}, \"\".concat(itemCls, \"-active\"), active), \"\".concat(itemCls, \"-selected\"), selected), \"\".concat(itemCls, \"-disabled\"), mergedDisabled), className),\n onClick: onInternalClick,\n onKeyDown: onInternalKeyDown,\n onFocus: onInternalFocus\n }), children, /*#__PURE__*/React.createElement(Icon, {\n props: _objectSpread(_objectSpread({}, props), {}, {\n isSelected: selected\n }),\n icon: mergedItemIcon\n }));\n if (_internalRenderMenuItem) {\n renderNode = _internalRenderMenuItem(renderNode, props, {\n selected: selected\n });\n }\n return renderNode;\n});\nfunction MenuItem(props, ref) {\n var eventKey = props.eventKey;\n\n // ==================== Record KeyPath ====================\n var measure = useMeasure();\n var connectedKeyPath = useFullPath(eventKey);\n\n // eslint-disable-next-line consistent-return\n React.useEffect(function () {\n if (measure) {\n measure.registerPath(eventKey, connectedKeyPath);\n return function () {\n measure.unregisterPath(eventKey, connectedKeyPath);\n };\n }\n }, [connectedKeyPath]);\n if (measure) {\n return null;\n }\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(InternalMenuItem, _extends({}, props, {\n ref: ref\n }));\n}\nexport default /*#__PURE__*/React.forwardRef(MenuItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport MergeOutlinedSvg from \"@ant-design/icons-svg/es/asn/MergeOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar MergeOutlined = function MergeOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: MergeOutlinedSvg\n }));\n};\n\n/**![merge](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iNjQgNjQgODk2IDg5NiIgZm9jdXNhYmxlPSJmYWxzZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjQ4IDc1Mmg3MlYyNjRoLTcyeiIgLz48cGF0aCBkPSJNNzQwIDg2M2M2MS44NiAwIDExMi01MC4xNCAxMTItMTEyIDAtNDguMzMtMzAuNi04OS41LTczLjUtMTA1LjJsLS4wMS0xMTMuMDRhNTAuNzMgNTAuNzMgMCAwMC0zNC45NS00OC4ybC00MzQuOS0xNDIuNDEtMjIuNCA2OC40MiA0MjAuMjUgMTM3LjYxLjAxIDk1LjkyQzY2MSA2NTguMzQgNjI4IDcwMC44IDYyOCA3NTFjMCA2MS44NiA1MC4xNCAxMTIgMTEyIDExMm0tNDU2IDYxYzYxLjg2IDAgMTEyLTUwLjE0IDExMi0xMTJzLTUwLjE0LTExMi0xMTItMTEyLTExMiA1MC4xNC0xMTIgMTEyIDUwLjE0IDExMiAxMTIgMTEybTQ1Ni0xMjVhNDggNDggMCAxMTAtOTYgNDggNDggMCAwMTAgOTZtLTQ1NiA2MWE0OCA0OCAwIDExMC05NiA0OCA0OCAwIDAxMCA5Nm0wLTUzNmM2MS44NiAwIDExMi01MC4xNCAxMTItMTEycy01MC4xNC0xMTItMTEyLTExMi0xMTIgNTAuMTQtMTEyIDExMiA1MC4xNCAxMTIgMTEyIDExMm0wLTY0YTQ4IDQ4IDAgMTEwLTk2IDQ4IDQ4IDAgMDEwIDk2IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(MergeOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'MergeOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DesktopOutlinedSvg from \"@ant-design/icons-svg/es/asn/DesktopOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DesktopOutlined = function DesktopOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DesktopOutlinedSvg\n }));\n};\n\n/**![desktop](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNDBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjQ5NmMwIDE3LjcgMTQuMyAzMiAzMiAzMmgzODB2MTEySDMwNGMtOC44IDAtMTYgNy4yLTE2IDE2djQ4YzAgNC40IDMuNiA4IDggOGg0MzJjNC40IDAgOC0zLjYgOC04di00OGMwLTguOC03LjItMTYtMTYtMTZINTQ4VjcwMGgzODBjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTcyYzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDAgNDg4SDEzNlYyMTJoNzUydjQxNnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DesktopOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DesktopOutlined';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport * as React from 'react';\nexport default function Icon(_ref) {\n var icon = _ref.icon,\n props = _ref.props,\n children = _ref.children;\n var iconNode;\n if (icon === null || icon === false) {\n return null;\n }\n if (typeof icon === 'function') {\n iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread({}, props));\n } else if (typeof icon !== \"boolean\") {\n // Compatible for origin definition\n iconNode = icon;\n }\n return iconNode || children || null;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SecurityScanFilledSvg from \"@ant-design/icons-svg/es/asn/SecurityScanFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SecurityScanFilled = function SecurityScanFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SecurityScanFilledSvg\n }));\n};\n\n/**![security-scan](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg2Ni45IDE2OS45TDUyNy4xIDU0LjFDNTIzIDUyLjcgNTE3LjUgNTIgNTEyIDUycy0xMSAuNy0xNS4xIDIuMUwxNTcuMSAxNjkuOWMtOC4zIDIuOC0xNS4xIDEyLjQtMTUuMSAyMS4ydjQ4Mi40YzAgOC44IDUuNyAyMC40IDEyLjYgMjUuOUw0OTkuMyA5NjhjMy41IDIuNyA4IDQuMSAxMi42IDQuMXM5LjItMS40IDEyLjYtNC4xbDM0NC43LTI2OC42YzYuOS01LjQgMTIuNi0xNyAxMi42LTI1LjlWMTkxLjFjLjItOC44LTYuNi0xOC4zLTE0LjktMjEuMnpNNjI2LjggNTU0Yy00OC41IDQ4LjUtMTIzIDU1LjItMTc4LjYgMjAuMWwtNzcuNSA3Ny41YTguMDMgOC4wMyAwIDAxLTExLjMgMGwtMzQtMzRhOC4wMyA4LjAzIDAgMDEwLTExLjNsNzcuNS03Ny41Yy0zNS4xLTU1LjctMjguNC0xMzAuMSAyMC4xLTE3OC42IDU2LjMtNTYuMyAxNDcuNS01Ni4zIDIwMy44IDAgNTYuMyA1Ni4zIDU2LjMgMTQ3LjUgMCAyMDMuOHptLTE1OC41NC00NS4yN2E4MC4xIDgwLjEgMCAxMDExMy4yNy0xMTMuMjggODAuMSA4MC4xIDAgMTAtMTEzLjI3IDExMy4yOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SecurityScanFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SecurityScanFilled';\n}\nexport default RefIcon;","/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport QuestionCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/QuestionCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar QuestionCircleOutlined = function QuestionCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: QuestionCircleOutlinedSvg\n }));\n};\n\n/**![question-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIC8+PHBhdGggZD0iTTYyMy42IDMxNi43QzU5My42IDI5MC40IDU1NCAyNzYgNTEyIDI3NnMtODEuNiAxNC41LTExMS42IDQwLjdDMzY5LjIgMzQ0IDM1MiAzODAuNyAzNTIgNDIwdjcuNmMwIDQuNCAzLjYgOCA4IDhoNDhjNC40IDAgOC0zLjYgOC04VjQyMGMwLTQ0LjEgNDMuMS04MCA5Ni04MHM5NiAzNS45IDk2IDgwYzAgMzEuMS0yMiA1OS42LTU2LjEgNzIuNy0yMS4yIDguMS0zOS4yIDIyLjMtNTIuMSA0MC45LTEzLjEgMTktMTkuOSA0MS44LTE5LjkgNjQuOVY2MjBjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOHYtMjIuN2E0OC4zIDQ4LjMgMCAwMTMwLjktNDQuOGM1OS0yMi43IDk3LjEtNzQuNyA5Ny4xLTEzMi41LjEtMzkuMy0xNy4xLTc2LTQ4LjMtMTAzLjN6TTQ3MiA3MzJhNDAgNDAgMCAxMDgwIDAgNDAgNDAgMCAxMC04MCAweiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(QuestionCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'QuestionCircleOutlined';\n}\nexport default RefIcon;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"autoComplete\", \"onChange\", \"onFocus\", \"onBlur\", \"onPressEnter\", \"onKeyDown\", \"onKeyUp\", \"prefixCls\", \"disabled\", \"htmlSize\", \"className\", \"maxLength\", \"suffix\", \"showCount\", \"count\", \"type\", \"classes\", \"classNames\", \"styles\", \"onCompositionStart\", \"onCompositionEnd\"];\nimport clsx from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';\nimport BaseInput from \"./BaseInput\";\nimport useCount from \"./hooks/useCount\";\nimport { resolveOnChange, triggerFocus } from \"./utils/commonUtils\";\nvar Input = /*#__PURE__*/forwardRef(function (props, ref) {\n var autoComplete = props.autoComplete,\n onChange = props.onChange,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onPressEnter = props.onPressEnter,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n _props$prefixCls = props.prefixCls,\n prefixCls = _props$prefixCls === void 0 ? 'rc-input' : _props$prefixCls,\n disabled = props.disabled,\n htmlSize = props.htmlSize,\n className = props.className,\n maxLength = props.maxLength,\n suffix = props.suffix,\n showCount = props.showCount,\n count = props.count,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n classes = props.classes,\n classNames = props.classNames,\n styles = props.styles,\n _onCompositionStart = props.onCompositionStart,\n onCompositionEnd = props.onCompositionEnd,\n rest = _objectWithoutProperties(props, _excluded);\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n focused = _useState2[0],\n setFocused = _useState2[1];\n var compositionRef = useRef(false);\n var keyLockRef = useRef(false);\n var inputRef = useRef(null);\n var holderRef = useRef(null);\n var focus = function focus(option) {\n if (inputRef.current) {\n triggerFocus(inputRef.current, option);\n }\n };\n\n // ====================== Value =======================\n var _useMergedState = useMergedState(props.defaultValue, {\n value: props.value\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n value = _useMergedState2[0],\n setValue = _useMergedState2[1];\n var formatValue = value === undefined || value === null ? '' : String(value);\n\n // =================== Select Range ===================\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n selection = _useState4[0],\n setSelection = _useState4[1];\n\n // ====================== Count =======================\n var countConfig = useCount(count, showCount);\n var mergedMax = countConfig.max || maxLength;\n var valueLength = countConfig.strategy(formatValue);\n var isOutOfRange = !!mergedMax && valueLength > mergedMax;\n\n // ======================= Ref ========================\n useImperativeHandle(ref, function () {\n var _holderRef$current;\n return {\n focus: focus,\n blur: function blur() {\n var _inputRef$current;\n (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.blur();\n },\n setSelectionRange: function setSelectionRange(start, end, direction) {\n var _inputRef$current2;\n (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.setSelectionRange(start, end, direction);\n },\n select: function select() {\n var _inputRef$current3;\n (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.select();\n },\n input: inputRef.current,\n nativeElement: ((_holderRef$current = holderRef.current) === null || _holderRef$current === void 0 ? void 0 : _holderRef$current.nativeElement) || inputRef.current\n };\n });\n useEffect(function () {\n if (keyLockRef.current) {\n keyLockRef.current = false;\n }\n setFocused(function (prev) {\n return prev && disabled ? false : prev;\n });\n }, [disabled]);\n var triggerChange = function triggerChange(e, currentValue, info) {\n var cutValue = currentValue;\n if (!compositionRef.current && countConfig.exceedFormatter && countConfig.max && countConfig.strategy(currentValue) > countConfig.max) {\n cutValue = countConfig.exceedFormatter(currentValue, {\n max: countConfig.max\n });\n if (currentValue !== cutValue) {\n var _inputRef$current4, _inputRef$current5;\n setSelection([((_inputRef$current4 = inputRef.current) === null || _inputRef$current4 === void 0 ? void 0 : _inputRef$current4.selectionStart) || 0, ((_inputRef$current5 = inputRef.current) === null || _inputRef$current5 === void 0 ? void 0 : _inputRef$current5.selectionEnd) || 0]);\n }\n } else if (info.source === 'compositionEnd') {\n // Avoid triggering twice\n // https://github.com/ant-design/ant-design/issues/46587\n return;\n }\n setValue(cutValue);\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange, cutValue);\n }\n };\n useEffect(function () {\n if (selection) {\n var _inputRef$current6;\n (_inputRef$current6 = inputRef.current) === null || _inputRef$current6 === void 0 || _inputRef$current6.setSelectionRange.apply(_inputRef$current6, _toConsumableArray(selection));\n }\n }, [selection]);\n var onInternalChange = function onInternalChange(e) {\n triggerChange(e, e.target.value, {\n source: 'change'\n });\n };\n var onInternalCompositionEnd = function onInternalCompositionEnd(e) {\n compositionRef.current = false;\n triggerChange(e, e.currentTarget.value, {\n source: 'compositionEnd'\n });\n onCompositionEnd === null || onCompositionEnd === void 0 || onCompositionEnd(e);\n };\n var handleKeyDown = function handleKeyDown(e) {\n if (onPressEnter && e.key === 'Enter' && !keyLockRef.current) {\n keyLockRef.current = true;\n onPressEnter(e);\n }\n onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);\n };\n var handleKeyUp = function handleKeyUp(e) {\n if (e.key === 'Enter') {\n keyLockRef.current = false;\n }\n onKeyUp === null || onKeyUp === void 0 || onKeyUp(e);\n };\n var handleFocus = function handleFocus(e) {\n setFocused(true);\n onFocus === null || onFocus === void 0 || onFocus(e);\n };\n var handleBlur = function handleBlur(e) {\n if (keyLockRef.current) {\n keyLockRef.current = false;\n }\n setFocused(false);\n onBlur === null || onBlur === void 0 || onBlur(e);\n };\n var handleReset = function handleReset(e) {\n setValue('');\n focus();\n if (inputRef.current) {\n resolveOnChange(inputRef.current, e, onChange);\n }\n };\n\n // ====================== Input =======================\n var outOfRangeCls = isOutOfRange && \"\".concat(prefixCls, \"-out-of-range\");\n var getInputElement = function getInputElement() {\n // Fix https://fb.me/react-unknown-prop\n var otherProps = omit(props, ['prefixCls', 'onPressEnter', 'addonBefore', 'addonAfter', 'prefix', 'suffix', 'allowClear',\n // Input elements must be either controlled or uncontrolled,\n // specify either the value prop, or the defaultValue prop, but not both.\n 'defaultValue', 'showCount', 'count', 'classes', 'htmlSize', 'styles', 'classNames', 'onClear']);\n return /*#__PURE__*/React.createElement(\"input\", _extends({\n autoComplete: autoComplete\n }, otherProps, {\n onChange: onInternalChange,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n className: clsx(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled), classNames === null || classNames === void 0 ? void 0 : classNames.input),\n style: styles === null || styles === void 0 ? void 0 : styles.input,\n ref: inputRef,\n size: htmlSize,\n type: type,\n onCompositionStart: function onCompositionStart(e) {\n compositionRef.current = true;\n _onCompositionStart === null || _onCompositionStart === void 0 || _onCompositionStart(e);\n },\n onCompositionEnd: onInternalCompositionEnd\n }));\n };\n var getSuffix = function getSuffix() {\n // Max length value\n var hasMaxLength = Number(mergedMax) > 0;\n if (suffix || countConfig.show) {\n var dataCount = countConfig.showFormatter ? countConfig.showFormatter({\n value: formatValue,\n count: valueLength,\n maxLength: mergedMax\n }) : \"\".concat(valueLength).concat(hasMaxLength ? \" / \".concat(mergedMax) : '');\n return /*#__PURE__*/React.createElement(React.Fragment, null, countConfig.show && /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(\"\".concat(prefixCls, \"-show-count-suffix\"), _defineProperty({}, \"\".concat(prefixCls, \"-show-count-has-suffix\"), !!suffix), classNames === null || classNames === void 0 ? void 0 : classNames.count),\n style: _objectSpread({}, styles === null || styles === void 0 ? void 0 : styles.count)\n }, dataCount), suffix);\n }\n return null;\n };\n\n // ====================== Render ======================\n return /*#__PURE__*/React.createElement(BaseInput, _extends({}, rest, {\n prefixCls: prefixCls,\n className: clsx(className, outOfRangeCls),\n handleReset: handleReset,\n value: formatValue,\n focused: focused,\n triggerFocus: focus,\n suffix: getSuffix(),\n disabled: disabled,\n classes: classes,\n classNames: classNames,\n styles: styles\n }), getInputElement());\n});\nexport default Input;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _createForOfIteratorHelper from \"@babel/runtime/helpers/esm/createForOfIteratorHelper\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useBaseProps } from 'rc-select';\nimport Tree from 'rc-tree';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport useMemo from \"rc-util/es/hooks/useMemo\";\nimport * as React from 'react';\nimport LegacyContext from \"./LegacyContext\";\nimport TreeSelectContext from \"./TreeSelectContext\";\nimport { getAllKeys, isCheckDisabled } from \"./utils/valueUtil\";\nvar HIDDEN_STYLE = {\n width: 0,\n height: 0,\n display: 'flex',\n overflow: 'hidden',\n opacity: 0,\n border: 0,\n padding: 0,\n margin: 0\n};\nvar OptionList = function OptionList(_, ref) {\n var _useBaseProps = useBaseProps(),\n prefixCls = _useBaseProps.prefixCls,\n multiple = _useBaseProps.multiple,\n searchValue = _useBaseProps.searchValue,\n toggleOpen = _useBaseProps.toggleOpen,\n open = _useBaseProps.open,\n notFoundContent = _useBaseProps.notFoundContent;\n var _React$useContext = React.useContext(TreeSelectContext),\n virtual = _React$useContext.virtual,\n listHeight = _React$useContext.listHeight,\n listItemHeight = _React$useContext.listItemHeight,\n listItemScrollOffset = _React$useContext.listItemScrollOffset,\n treeData = _React$useContext.treeData,\n fieldNames = _React$useContext.fieldNames,\n onSelect = _React$useContext.onSelect,\n dropdownMatchSelectWidth = _React$useContext.dropdownMatchSelectWidth,\n treeExpandAction = _React$useContext.treeExpandAction,\n treeTitleRender = _React$useContext.treeTitleRender,\n onPopupScroll = _React$useContext.onPopupScroll;\n var _React$useContext2 = React.useContext(LegacyContext),\n checkable = _React$useContext2.checkable,\n checkedKeys = _React$useContext2.checkedKeys,\n halfCheckedKeys = _React$useContext2.halfCheckedKeys,\n treeExpandedKeys = _React$useContext2.treeExpandedKeys,\n treeDefaultExpandAll = _React$useContext2.treeDefaultExpandAll,\n treeDefaultExpandedKeys = _React$useContext2.treeDefaultExpandedKeys,\n onTreeExpand = _React$useContext2.onTreeExpand,\n treeIcon = _React$useContext2.treeIcon,\n showTreeIcon = _React$useContext2.showTreeIcon,\n switcherIcon = _React$useContext2.switcherIcon,\n treeLine = _React$useContext2.treeLine,\n treeNodeFilterProp = _React$useContext2.treeNodeFilterProp,\n loadData = _React$useContext2.loadData,\n treeLoadedKeys = _React$useContext2.treeLoadedKeys,\n treeMotion = _React$useContext2.treeMotion,\n onTreeLoad = _React$useContext2.onTreeLoad,\n keyEntities = _React$useContext2.keyEntities;\n var treeRef = React.useRef();\n var memoTreeData = useMemo(function () {\n return treeData;\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [open, treeData], function (prev, next) {\n return next[0] && prev[1] !== next[1];\n });\n\n // ========================== Values ==========================\n var mergedCheckedKeys = React.useMemo(function () {\n if (!checkable) {\n return null;\n }\n return {\n checked: checkedKeys,\n halfChecked: halfCheckedKeys\n };\n }, [checkable, checkedKeys, halfCheckedKeys]);\n\n // ========================== Scroll ==========================\n React.useEffect(function () {\n // Single mode should scroll to current key\n if (open && !multiple && checkedKeys.length) {\n var _treeRef$current;\n (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 || _treeRef$current.scrollTo({\n key: checkedKeys[0]\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n\n // ========================== Events ==========================\n var onListMouseDown = function onListMouseDown(event) {\n event.preventDefault();\n };\n var onInternalSelect = function onInternalSelect(__, info) {\n var node = info.node;\n if (checkable && isCheckDisabled(node)) {\n return;\n }\n onSelect(node.key, {\n selected: !checkedKeys.includes(node.key)\n });\n if (!multiple) {\n toggleOpen(false);\n }\n };\n\n // =========================== Keys ===========================\n var _React$useState = React.useState(treeDefaultExpandedKeys),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n expandedKeys = _React$useState2[0],\n setExpandedKeys = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n searchExpandedKeys = _React$useState4[0],\n setSearchExpandedKeys = _React$useState4[1];\n var mergedExpandedKeys = React.useMemo(function () {\n if (treeExpandedKeys) {\n return _toConsumableArray(treeExpandedKeys);\n }\n return searchValue ? searchExpandedKeys : expandedKeys;\n }, [expandedKeys, searchExpandedKeys, treeExpandedKeys, searchValue]);\n var onInternalExpand = function onInternalExpand(keys) {\n setExpandedKeys(keys);\n setSearchExpandedKeys(keys);\n if (onTreeExpand) {\n onTreeExpand(keys);\n }\n };\n\n // ========================== Search ==========================\n var lowerSearchValue = String(searchValue).toLowerCase();\n var filterTreeNode = function filterTreeNode(treeNode) {\n if (!lowerSearchValue) {\n return false;\n }\n return String(treeNode[treeNodeFilterProp]).toLowerCase().includes(lowerSearchValue);\n };\n React.useEffect(function () {\n if (searchValue) {\n setSearchExpandedKeys(getAllKeys(treeData, fieldNames));\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [searchValue]);\n\n // ========================== Get First Selectable Node ==========================\n var getFirstMatchingNode = function getFirstMatchingNode(nodes) {\n var _iterator = _createForOfIteratorHelper(nodes),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var node = _step.value;\n if (node.disabled || node.selectable === false) {\n continue;\n }\n if (searchValue) {\n if (filterTreeNode(node)) {\n return node;\n }\n } else {\n return node;\n }\n if (node[fieldNames.children]) {\n var matchInChildren = getFirstMatchingNode(node[fieldNames.children]);\n if (matchInChildren) {\n return matchInChildren;\n }\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return null;\n };\n\n // ========================== Active ==========================\n var _React$useState5 = React.useState(null),\n _React$useState6 = _slicedToArray(_React$useState5, 2),\n activeKey = _React$useState6[0],\n setActiveKey = _React$useState6[1];\n var activeEntity = keyEntities[activeKey];\n React.useEffect(function () {\n if (!open) {\n return;\n }\n var nextActiveKey = null;\n var getFirstNode = function getFirstNode() {\n var firstNode = getFirstMatchingNode(memoTreeData);\n return firstNode ? firstNode[fieldNames.value] : null;\n };\n\n // single mode active first checked node\n if (!multiple && checkedKeys.length && !searchValue) {\n nextActiveKey = checkedKeys[0];\n } else {\n nextActiveKey = getFirstNode();\n }\n setActiveKey(nextActiveKey);\n }, [open, searchValue]);\n\n // ========================= Keyboard =========================\n React.useImperativeHandle(ref, function () {\n var _treeRef$current2;\n return {\n scrollTo: (_treeRef$current2 = treeRef.current) === null || _treeRef$current2 === void 0 ? void 0 : _treeRef$current2.scrollTo,\n onKeyDown: function onKeyDown(event) {\n var _treeRef$current3;\n var which = event.which;\n switch (which) {\n // >>> Arrow keys\n case KeyCode.UP:\n case KeyCode.DOWN:\n case KeyCode.LEFT:\n case KeyCode.RIGHT:\n (_treeRef$current3 = treeRef.current) === null || _treeRef$current3 === void 0 || _treeRef$current3.onKeyDown(event);\n break;\n\n // >>> Select item\n case KeyCode.ENTER:\n {\n if (activeEntity) {\n var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {},\n selectable = _ref.selectable,\n value = _ref.value,\n disabled = _ref.disabled;\n if (selectable !== false && !disabled) {\n onInternalSelect(null, {\n node: {\n key: activeKey\n },\n selected: !checkedKeys.includes(value)\n });\n }\n }\n break;\n }\n\n // >>> Close\n case KeyCode.ESC:\n {\n toggleOpen(false);\n }\n }\n },\n onKeyUp: function onKeyUp() {}\n };\n });\n var hasLoadDataFn = useMemo(function () {\n return searchValue ? false : true;\n }, [searchValue, treeExpandedKeys || expandedKeys], function (_ref2, _ref3) {\n var _ref4 = _slicedToArray(_ref2, 1),\n preSearchValue = _ref4[0];\n var _ref5 = _slicedToArray(_ref3, 2),\n nextSearchValue = _ref5[0],\n nextExcludeSearchExpandedKeys = _ref5[1];\n return preSearchValue !== nextSearchValue && !!(nextSearchValue || nextExcludeSearchExpandedKeys);\n });\n var syncLoadData = hasLoadDataFn ? loadData : null;\n\n // ========================== Render ==========================\n if (memoTreeData.length === 0) {\n return /*#__PURE__*/React.createElement(\"div\", {\n role: \"listbox\",\n className: \"\".concat(prefixCls, \"-empty\"),\n onMouseDown: onListMouseDown\n }, notFoundContent);\n }\n var treeProps = {\n fieldNames: fieldNames\n };\n if (treeLoadedKeys) {\n treeProps.loadedKeys = treeLoadedKeys;\n }\n if (mergedExpandedKeys) {\n treeProps.expandedKeys = mergedExpandedKeys;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n onMouseDown: onListMouseDown\n }, activeEntity && open && /*#__PURE__*/React.createElement(\"span\", {\n style: HIDDEN_STYLE,\n \"aria-live\": \"assertive\"\n }, activeEntity.node.value), /*#__PURE__*/React.createElement(Tree, _extends({\n ref: treeRef,\n focusable: false,\n prefixCls: \"\".concat(prefixCls, \"-tree\"),\n treeData: memoTreeData,\n height: listHeight,\n itemHeight: listItemHeight,\n itemScrollOffset: listItemScrollOffset,\n virtual: virtual !== false && dropdownMatchSelectWidth !== false,\n multiple: multiple,\n icon: treeIcon,\n showIcon: showTreeIcon,\n switcherIcon: switcherIcon,\n showLine: treeLine,\n loadData: syncLoadData,\n motion: treeMotion,\n activeKey: activeKey\n // We handle keys by out instead tree self\n ,\n checkable: checkable,\n checkStrictly: true,\n checkedKeys: mergedCheckedKeys,\n selectedKeys: !checkable ? checkedKeys : [],\n defaultExpandAll: treeDefaultExpandAll,\n titleRender: treeTitleRender\n }, treeProps, {\n // Proxy event out\n onActiveChange: setActiveKey,\n onSelect: onInternalSelect,\n onCheck: onInternalSelect,\n onExpand: onInternalExpand,\n onLoad: onTreeLoad,\n filterTreeNode: filterTreeNode,\n expandAction: treeExpandAction,\n onScroll: onPopupScroll\n })));\n};\nvar RefOptionList = /*#__PURE__*/React.forwardRef(OptionList);\nif (process.env.NODE_ENV !== 'production') {\n RefOptionList.displayName = 'OptionList';\n}\nexport default RefOptionList;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DingtalkCircleFilledSvg from \"@ant-design/icons-svg/es/asn/DingtalkCircleFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DingtalkCircleFilled = function DingtalkCircleFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DingtalkCircleFilledSvg\n }));\n};\n\n/**![dingtalk-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0yMjcgMzg1LjNjLTEgNC4yLTMuNSAxMC40LTcgMTcuOGguMWwtLjQuN2MtMjAuMyA0My4xLTczLjEgMTI3LjctNzMuMSAxMjcuN3MtLjEtLjItLjMtLjVsLTE1LjUgMjYuOGg3NC41TDU3NS4xIDgxMGwzMi4zLTEyOGgtNTguNmwyMC40LTg0LjdjLTE2LjUgMy45LTM1LjkgOS40LTU5IDE2LjggMCAwLTMxLjIgMTguMi04OS45LTM1IDAgMC0zOS42LTM0LjctMTYuNi00My40IDkuOC0zLjcgNDcuNC04LjQgNzctMTIuMyA0MC01LjQgNjQuNi04LjIgNjQuNi04LjJTNDIyIDUxNyAzOTIuNyA1MTIuNWMtMjkuMy00LjYtNjYuNC01My4xLTc0LjMtOTUuOCAwIDAtMTIuMi0yMy40IDI2LjMtMTIuMyAzOC41IDExLjEgMTk3LjkgNDMuMiAxOTcuOSA0My4ycy0yMDcuNC02My4zLTIyMS4yLTc4LjdjLTEzLjgtMTUuNC00MC42LTg0LjItMzcuMS0xMjYuNSAwIDAgMS41LTEwLjUgMTIuNC03LjcgMCAwIDE1My4zIDY5LjcgMjU4LjEgMTA3LjkgMTA0LjggMzcuOSAxOTUuOSA1Ny4zIDE4NC4yIDEwNi43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DingtalkCircleFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DingtalkCircleFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ControlOutlinedSvg from \"@ant-design/icons-svg/es/asn/ControlOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ControlOutlined = function ControlOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ControlOutlinedSvg\n }));\n};\n\n/**![control](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9I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S42LS4zYy0uNS0uMi0xLjEtLjUtMS42LS44LS4xLS4xLS4zLS4xLS40LS4yLS42LS4zLTEuMy0uNy0xLjktMS4xLS4xLS4xLS4zLS4yLS40LS4zLS41LS4zLTEtLjYtMS40LTEtLjItLjEtLjMtLjItLjUtLjMtLjYtLjQtMS4yLS45LTEuNy0xLjNzLTEuMS0uOS0xLjYtMS40bC0uNC0uNC0xLjItMS4yLS4zLS4zYy0uNS0uNS0xLTEuMS0xLjQtMS42LS4xLS4xLS4yLS4zLS4zLS40LS40LS40LS43LS45LTEtMS40LS4xLS4yLS4yLS4zLS4zLS41bC0xLjItMS44di0uMWMtLjQtLjYtLjctMS4yLTEtMS44LTIuNi01LTQuMS0xMC43LTQuMS0xNi43czEuNS0xMS43IDQuMS0xNi43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ControlOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ControlOutlined';\n}\nexport default RefIcon;","/* istanbul ignore file */\n\n/** This is a placeholder, not real render in dom */\nvar OptGroup = function OptGroup() {\n return null;\n};\nOptGroup.isSelectOptGroup = true;\nexport default OptGroup;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\n\n/**\n * Similar with `useLock`, but this hook will always execute last value.\n * When set to `true`, it will keep `true` for a short time even if `false` is set.\n */\nexport default function useDelayReset() {\n var timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 10;\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n bool = _React$useState2[0],\n setBool = _React$useState2[1];\n var delayRef = React.useRef(null);\n var cancelLatest = function cancelLatest() {\n window.clearTimeout(delayRef.current);\n };\n React.useEffect(function () {\n return cancelLatest;\n }, []);\n var delaySetBool = function delaySetBool(value, callback) {\n cancelLatest();\n delayRef.current = window.setTimeout(function () {\n setBool(value);\n if (callback) {\n callback();\n }\n }, timeout);\n };\n return [bool, delaySetBool, cancelLatest];\n}","import _regeneratorRuntime from \"@babel/runtime/helpers/esm/regeneratorRuntime\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/esm/asyncToGenerator\";\n// https://github.com/ant-design/ant-design/issues/50080\nvar traverseFileTree = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(files, isAccepted) {\n var flattenFileList, progressFileList, readDirectory, _readDirectory, readFile, _readFile, _traverseFileTree, wipIndex;\n return _regeneratorRuntime().wrap(function _callee4$(_context4) {\n while (1) switch (_context4.prev = _context4.next) {\n case 0:\n _readFile = function _readFile3() {\n _readFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {\n return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n while (1) switch (_context3.prev = _context3.next) {\n case 0:\n return _context3.abrupt(\"return\", new Promise(function (reslove) {\n item.file(function (file) {\n if (isAccepted(file)) {\n // https://github.com/ant-design/ant-design/issues/16426\n if (item.fullPath && !file.webkitRelativePath) {\n Object.defineProperties(file, {\n webkitRelativePath: {\n writable: true\n }\n });\n // eslint-disable-next-line no-param-reassign\n file.webkitRelativePath = item.fullPath.replace(/^\\//, '');\n Object.defineProperties(file, {\n webkitRelativePath: {\n writable: false\n }\n });\n }\n reslove(file);\n } else {\n reslove(null);\n }\n });\n }));\n case 1:\n case \"end\":\n return _context3.stop();\n }\n }, _callee3);\n }));\n return _readFile.apply(this, arguments);\n };\n readFile = function _readFile2(_x4) {\n return _readFile.apply(this, arguments);\n };\n _readDirectory = function _readDirectory3() {\n _readDirectory = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(directory) {\n var dirReader, entries, results, n, i;\n return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n while (1) switch (_context2.prev = _context2.next) {\n case 0:\n dirReader = directory.createReader();\n entries = [];\n case 2:\n if (!true) {\n _context2.next = 12;\n break;\n }\n _context2.next = 5;\n return new Promise(function (resolve) {\n dirReader.readEntries(resolve, function () {\n return resolve([]);\n });\n });\n case 5:\n results = _context2.sent;\n n = results.length;\n if (n) {\n _context2.next = 9;\n break;\n }\n return _context2.abrupt(\"break\", 12);\n case 9:\n for (i = 0; i < n; i++) {\n entries.push(results[i]);\n }\n _context2.next = 2;\n break;\n case 12:\n return _context2.abrupt(\"return\", entries);\n case 13:\n case \"end\":\n return _context2.stop();\n }\n }, _callee2);\n }));\n return _readDirectory.apply(this, arguments);\n };\n readDirectory = function _readDirectory2(_x3) {\n return _readDirectory.apply(this, arguments);\n };\n flattenFileList = [];\n progressFileList = [];\n files.forEach(function (file) {\n return progressFileList.push(file.webkitGetAsEntry());\n });\n\n // eslint-disable-next-line @typescript-eslint/naming-convention\n _traverseFileTree = /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(item, path) {\n var _file, entries;\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n if (item) {\n _context.next = 2;\n break;\n }\n return _context.abrupt(\"return\");\n case 2:\n // eslint-disable-next-line no-param-reassign\n item.path = path || '';\n if (!item.isFile) {\n _context.next = 10;\n break;\n }\n _context.next = 6;\n return readFile(item);\n case 6:\n _file = _context.sent;\n if (_file) {\n flattenFileList.push(_file);\n }\n _context.next = 15;\n break;\n case 10:\n if (!item.isDirectory) {\n _context.next = 15;\n break;\n }\n _context.next = 13;\n return readDirectory(item);\n case 13:\n entries = _context.sent;\n progressFileList.push.apply(progressFileList, _toConsumableArray(entries));\n case 15:\n case \"end\":\n return _context.stop();\n }\n }, _callee);\n }));\n return function _traverseFileTree(_x5, _x6) {\n return _ref2.apply(this, arguments);\n };\n }();\n wipIndex = 0;\n case 9:\n if (!(wipIndex < progressFileList.length)) {\n _context4.next = 15;\n break;\n }\n _context4.next = 12;\n return _traverseFileTree(progressFileList[wipIndex]);\n case 12:\n wipIndex++;\n _context4.next = 9;\n break;\n case 15:\n return _context4.abrupt(\"return\", flattenFileList);\n case 16:\n case \"end\":\n return _context4.stop();\n }\n }, _callee4);\n }));\n return function traverseFileTree(_x, _x2) {\n return _ref.apply(this, arguments);\n };\n}();\nexport default traverseFileTree;","export const VOID = -1;\nexport const PRIMITIVE = 0;\nexport const ARRAY = 1;\nexport const OBJECT = 2;\nexport const DATE = 3;\nexport const REGEXP = 4;\nexport const MAP = 5;\nexport const SET = 6;\nexport const ERROR = 7;\nexport const BIGINT = 8;\n// export const SYMBOL = 9;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CarryOutFilledSvg from \"@ant-design/icons-svg/es/asn/CarryOutFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CarryOutFilled = function CarryOutFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CarryOutFilledSvg\n }));\n};\n\n/**![carry-out](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxODRINzEydi02NGMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NjRIMzg0di02NGMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2NjRIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY2NjRjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjIxNmMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNjk0LjUgNDMyLjdMNDgxLjkgNzI1LjRhMTYuMSAxNi4xIDAgMDEtMjYgMGwtMTI2LjQtMTc0Yy0zLjgtNS4zIDAtMTIuNyA2LjUtMTIuN2g1NS4yYzUuMSAwIDEwIDIuNSAxMyA2LjZsNjQuNyA4OSAxNTAuOS0yMDcuOGMzLTQuMSA3LjgtNi42IDEzLTYuNkg2ODhjNi41LjEgMTAuMyA3LjUgNi41IDEyLjh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CarryOutFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CarryOutFilled';\n}\nexport default RefIcon;","import TextArea from \"./TextArea\";\nexport { default as ResizableTextArea } from \"./ResizableTextArea\";\nexport default TextArea;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport InfoCircleTwoToneSvg from \"@ant-design/icons-svg/es/asn/InfoCircleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar InfoCircleTwoTone = function InfoCircleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: InfoCircleTwoToneSvg\n }));\n};\n\n/**![info-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnoiIGZpbGw9IiMxNjc3ZmYiIC8+PHBhdGggZD0iTTUxMiAxNDBjLTIwNS40IDAtMzcyIDE2Ni42LTM3MiAzNzJzMTY2LjYgMzcyIDM3MiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzItMTY2LjYtMzcyLTM3Mi0zNzJ6bTMyIDU4OGMwIDQuNC0zLjYgOC04IDhoLTQ4Yy00LjQgMC04LTMuNi04LThWNDU2YzAtNC40IDMuNi04IDgtOGg0OGM0LjQgMCA4IDMuNiA4IDh2Mjcyem0tMzItMzQ0YTQ4LjAxIDQ4LjAxIDAgMDEwLTk2IDQ4LjAxIDQ4LjAxIDAgMDEwIDk2eiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNNDY0IDMzNmE0OCA0OCAwIDEwOTYgMCA0OCA0OCAwIDEwLTk2IDB6bTcyIDExMmgtNDhjLTQuNCAwLTggMy42LTggOHYyNzJjMCA0LjQgMy42IDggOCA4aDQ4YzQuNCAwIDgtMy42IDgtOFY0NTZjMC00LjQtMy42LTgtOC04eiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(InfoCircleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'InfoCircleTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CreditCardFilledSvg from \"@ant-design/icons-svg/es/asn/CreditCardFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CreditCardFilled = function CreditCardFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CreditCardFilledSvg\n }));\n};\n\n/**![credit-card](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNjBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjE2MGg4OTZWMTkyYzAtMTcuNy0xNC4zLTMyLTMyLTMyek02NCA4MzJjMCAxNy43IDE0LjMgMzIgMzIgMzJoODMyYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjQ0MEg2NHYzOTJ6bTU3OS0xODRjMC00LjQgMy42LTggOC04aDE2NWM0LjQgMCA4IDMuNiA4IDh2NzJjMCA0LjQtMy42IDgtOCA4SDY1MWMtNC40IDAtOC0zLjYtOC04di03MnoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CreditCardFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CreditCardFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport CreditCardOutlinedSvg from \"@ant-design/icons-svg/es/asn/CreditCardOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar CreditCardOutlined = function CreditCardOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: CreditCardOutlinedSvg\n }));\n};\n\n/**![credit-card](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNjBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjY0MGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTkyYzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNzkyIDcyaDc1MnYxMjBIMTM2VjIzMnptNzUyIDU2MEgxMzZWNDQwaDc1MnYzNTJ6bS0yMzctNjRoMTY1YzQuNCAwIDgtMy42IDgtOHYtNzJjMC00LjQtMy42LTgtOC04SDY1MWMtNC40IDAtOCAzLjYtOCA4djcyYzAgNC40IDMuNiA4IDggOHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(CreditCardOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'CreditCardOutlined';\n}\nexport default RefIcon;","export const xmlReplacer = /[\"&'<>$\\x80-\\uFFFF]/g;\nconst xmlCodeMap = new Map([\n [34, \""\"],\n [38, \"&\"],\n [39, \"'\"],\n [60, \"<\"],\n [62, \">\"],\n]);\n// For compatibility with node < 4, we wrap `codePointAt`\nexport const getCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.prototype.codePointAt != null\n ? (str, index) => str.codePointAt(index)\n : // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n (c, index) => (c.charCodeAt(index) & 0xfc00) === 0xd800\n ? (c.charCodeAt(index) - 0xd800) * 0x400 +\n c.charCodeAt(index + 1) -\n 0xdc00 +\n 0x10000\n : c.charCodeAt(index);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using XML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `ü`) will be used.\n */\nexport function encodeXML(str) {\n let ret = \"\";\n let lastIdx = 0;\n let match;\n while ((match = xmlReplacer.exec(str)) !== null) {\n const i = match.index;\n const char = str.charCodeAt(i);\n const next = xmlCodeMap.get(char);\n if (next !== undefined) {\n ret += str.substring(lastIdx, i) + next;\n lastIdx = i + 1;\n }\n else {\n ret += `${str.substring(lastIdx, i)}&#x${getCodePoint(str, i).toString(16)};`;\n // Increase by 1 if we have a surrogate pair\n lastIdx = xmlReplacer.lastIndex += Number((char & 0xfc00) === 0xd800);\n }\n }\n return ret + str.substr(lastIdx);\n}\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using numeric hexadecimal reference (eg. `ü`).\n *\n * Have a look at `escapeUTF8` if you want a more concise output at the expense\n * of reduced transportability.\n *\n * @param data String to escape.\n */\nexport const escape = encodeXML;\n/**\n * Creates a function that escapes all characters matched by the given regular\n * expression using the given map of characters to escape to their entities.\n *\n * @param regex Regular expression to match characters to escape.\n * @param map Map of characters to escape to their entities.\n *\n * @returns Function that escapes all characters matched by the given regular\n * expression using the given map of characters to escape to their entities.\n */\nfunction getEscaper(regex, map) {\n return function escape(data) {\n let match;\n let lastIdx = 0;\n let result = \"\";\n while ((match = regex.exec(data))) {\n if (lastIdx !== match.index) {\n result += data.substring(lastIdx, match.index);\n }\n // We know that this character will be in the map.\n result += map.get(match[0].charCodeAt(0));\n // Every match will be of length 1\n lastIdx = match.index + 1;\n }\n return result + data.substring(lastIdx);\n };\n}\n/**\n * Encodes all characters not valid in XML documents using XML entities.\n *\n * Note that the output will be character-set dependent.\n *\n * @param data String to escape.\n */\nexport const escapeUTF8 = getEscaper(/[&<>'\"]/g, xmlCodeMap);\n/**\n * Encodes all characters that have to be escaped in HTML attributes,\n * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.\n *\n * @param data String to escape.\n */\nexport const escapeAttribute = getEscaper(/[\"&\\u00A0]/g, new Map([\n [34, \""\"],\n [38, \"&\"],\n [160, \" \"],\n]));\n/**\n * Encodes all characters that have to be escaped in HTML text,\n * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.\n *\n * @param data String to escape.\n */\nexport const escapeText = getEscaper(/[&<>\\u00A0]/g, new Map([\n [38, \"&\"],\n [60, \"<\"],\n [62, \">\"],\n [160, \" \"],\n]));\n//# sourceMappingURL=escape.js.map","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ScheduleTwoToneSvg from \"@ant-design/icons-svg/es/asn/ScheduleTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ScheduleTwoTone = function ScheduleTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ScheduleTwoToneSvg\n }));\n};\n\n/**![schedule](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2OCAzNTJjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di01Nkg1NDh2NTZjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di01NkgzMjh2NTZjMCA0LjQtMy42IDgtOCA4aC01NmMtNC40IDAtOC0zLjYtOC04di01NkgxMzZ2NDk2aDc1MlYyOTZINzY4djU2ek00MjQgNjg4YzAgNC40LTMuNiA4LTggOEgyMzJjLTQuNCAwLTgtMy42LTgtOHYtNDhjMC00LjQgMy42LTggOC04aDE4NGM0LjQgMCA4IDMuNiA4IDh2NDh6bTAtMTM2YzAgNC40LTMuNiA4LTggOEgyMzJjLTQuNCAwLTgtMy42LTgtOHYtNDhjMC00LjQgMy42LTggOC04aDE4NGM0LjQgMCA4IDMuNiA4IDh2NDh6bTM3NC40LTkxLjJsLTE2NSAyMjguN2ExNS45IDE1LjkgMCAwMS0yNS44IDBMNDkzLjUgNTMxLjNjLTMuOC01LjMgMC0xMi43IDYuNS0xMi43aDU0LjljNS4xIDAgOS45IDIuNCAxMi45IDYuNmw1Mi44IDczLjEgMTAzLjY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mlsbD0iIzE2NzdmZiIgLz48cGF0aCBkPSJNNDE2IDYzMkgyMzJjLTQuNCAwLTggMy42LTggOHY0OGMwIDQuNCAzLjYgOCA4IDhoMTg0YzQuNCAwIDgtMy42IDgtOHYtNDhjMC00LjQtMy42LTgtOC04eiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ScheduleTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ScheduleTwoTone';\n}\nexport default RefIcon;","export { default as genStyleUtils } from \"./util/genStyleUtils\";\nexport { default as genCalc } from \"./util/calc\";\nexport { default as statisticToken, merge as mergeToken, statistic } from \"./util/statistic\";","import { merge as mergeToken } from \"./statistic\";\nfunction getDefaultComponentToken(component, token, getDefaultToken) {\n if (typeof getDefaultToken === 'function') {\n var _token$component;\n return getDefaultToken(mergeToken(token, (_token$component = token[component]) !== null && _token$component !== void 0 ? _token$component : {}));\n }\n return getDefaultToken !== null && getDefaultToken !== void 0 ? getDefaultToken : {};\n}\nexport default getDefaultComponentToken;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DislikeTwoToneSvg from \"@ant-design/icons-svg/es/asn/DislikeTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DislikeTwoTone = function DislikeTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DislikeTwoToneSvg\n }));\n};\n\n/**![dislike](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3MyAxMDAuMXY0Mj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Ni0xMjIuOWgyMzkuOWMxMi4xIDAgMjMuOS0zLjIgMzQuMy05LjMgNDAuNC0yMy41IDY1LjUtNjYuMSA2NS41LTExMSAwLTI4LjMtOS4zLTU1LjUtMjYuMS03Ny43em0tNzQuNyAxMjYuMUg0OTYuOGw5LjYgMTk4LjRjLjYgMTEuOS00LjcgMjMuMS0xNC42IDMwLjUtNi4xIDQuNS0xMy42IDYuOC0yMS4xIDYuN2E0NC4yOCA0NC4yOCAwIDAxLTQyLjItMzIuM2MtMzcuMS0xMzQuNC02NC45LTIzNS4yLTgzLjUtMzAyLjVWMTcyaDM5OS40YTU2Ljg1IDU2Ljg1IDAgMDEzMy42IDUxLjhjMCA5LjctMi4zIDE4LjktNi45IDI3LjNsLTEzLjkgMjUuNCAyMS45IDE5YTU2Ljc2IDU2Ljc2IDAgMDExOS42IDQzYzAgOS43LTIuMyAxOC45LTYuOSAyNy4zbC0xMy45IDI1LjQgMjEuOSAxOWE1Ni43NiA1Ni43NiAwIDAxMTkuNiA0M2MwIDkuNy0yLjMgMTguOS02LjkgMjcuM2wtMTQgMjUuNSAyMS45IDE5YTU2Ljc2IDU2Ljc2IDAgMDExOS42IDQzYzAgMTkuMS0xMSAzNy41LTI4LjggNDguNHoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DislikeTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DislikeTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RadarChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/RadarChartOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RadarChartOutlined = function RadarChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RadarChartOutlinedSvg\n }));\n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\nvar RefIcon = /*#__PURE__*/React.forwardRef(RadarChartOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RadarChartOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\n\n/**\n * Locker return cached mark.\n * If set to `true`, will return `true` in a short time even if set `false`.\n * If set to `false` and then set to `true`, will change to `true`.\n * And after time duration, it will back to `null` automatically.\n */\nexport default function useLock() {\n var duration = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 250;\n var lockRef = React.useRef(null);\n var timeoutRef = React.useRef(null);\n\n // Clean up\n React.useEffect(function () {\n return function () {\n window.clearTimeout(timeoutRef.current);\n };\n }, []);\n function doLock(locked) {\n if (locked || lockRef.current === null) {\n lockRef.current = locked;\n }\n window.clearTimeout(timeoutRef.current);\n timeoutRef.current = window.setTimeout(function () {\n lockRef.current = null;\n }, duration);\n }\n return [function () {\n return lockRef.current;\n }, doLock];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DeleteTwoToneSvg from \"@ant-design/icons-svg/es/asn/DeleteTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DeleteTwoTone = function DeleteTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DeleteTwoToneSvg\n }));\n};\n\n/**![delete](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5Mi43IDg0MGg0MzguNmwyNC4yLTUxMmgtNDg3eiIgZmlsbD0iI2U2ZjRmZiIgLz48cGF0aCBkPSJNODY0IDI1Nkg3MzZ2LTgwYzAtMzUuMy0yOC43LTY0LTY0LTY0SDM1MmMtMzUuMyAwLTY0IDI4LjctNjQgNjR2ODBIMTYwYy0xNy43IDAtMzIgMTQuMy0zMiAzMnYzMmMwIDQuNCAzLjYgOCA4IDhoNjAuNGwyNC43IDUyM2MxLjYgMzQuMSAyOS44IDYxIDYzLjkgNjFoNDU0YzM0LjIgMCA2Mi4zLTI2LjggNjMuOS02MWwyNC43LTUyM0g4ODhjNC40IDAgOC0zLjYgOC04di0zMmMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTUwNC03MmgzMDR2NzJIMzYwdi03MnptMzcxLjMgNjU2SDI5Mi43bC0yNC4yLTUxMmg0ODdsLTI0LjIgNTEyeiIgZmlsbD0iIzE2NzdmZiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DeleteTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DeleteTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RollbackOutlinedSvg from \"@ant-design/icons-svg/es/asn/RollbackOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RollbackOutlined = function RollbackOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RollbackOutlinedSvg\n }));\n};\n\n/**![rollback](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc5MyAyNDJIMzY2di03NGMwLTYuNy03LjctMTAuNC0xMi45LTYuM2wtMTQyIDExMmE4IDggMCAwMDAgMTIuNmwxNDIgMTEyYzUuMiA0LjEgMTIuOS40IDEyLjktNi4zdi03NGg0MTV2NDcwSDE3NWMtNC40IDAtOCAzLjYtOCA4djYwYzAgNC40IDMuNiA4IDggOGg2MThjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMzA2YzAtMzUuMy0yOC43LTY0LTY0LTY0eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RollbackOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RollbackOutlined';\n}\nexport default RefIcon;","import rules from \"../rule\";\nimport { isEmptyValue } from \"../util\";\nvar regexp = function regexp(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n rules.required(rule, value, source, errors, options);\n if (!isEmptyValue(value)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n callback(errors);\n};\nexport default regexp;","import { Link, useIntl, useLocale } from 'dumi';\nimport React from 'react';\nimport \"./index.less\";\nvar Page404 = function Page404() {\n var intl = useIntl();\n var locale = useLocale();\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"dumi-default-not-found\"\n }, /*#__PURE__*/React.createElement(\"h1\", null, intl.formatMessage({\n id: '404.title'\n })), /*#__PURE__*/React.createElement(Link, {\n to: 'base' in locale ? locale.base : '/',\n replace: true\n }, intl.formatMessage({\n id: '404.back'\n }), \" \\u2192\"));\n};\nexport default Page404;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RedEnvelopeFilledSvg from \"@ant-design/icons-svg/es/asn/RedEnvelopeFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RedEnvelopeFilled = function RedEnvelopeFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RedEnvelopeFilledSvg\n }));\n};\n\n/**![red-envelope](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTgzMiA2NEgxOTJjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjgzMmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg2NDBjMTcuNyAwIDMyLTE0LjMgMzItMzJWOTZjMC0xNy43LTE0LjMtMzItMzItMzJ6TTY0NyA0NzAuNGwtODcuMiAxNjFoNDUuOWM0LjYgMCA4LjQgMy44IDguNCA4LjR2MjUuMWMwIDQuNi0zLjggOC40LTguNCA4LjRoLTYzLjN2MjguNmg2My4zYzQuNiAwIDguNCAzLjggOC40IDguNHYyNWMuMiA0LjYtMy42IDguNS04LjIgOC41aC02My4zdjQ5LjljMCA0LjYtMy44IDguNC04LjQgOC40aC00My43Yy00LjYgMC04LjQtMy44LTguNC04LjR2LTQ5LjloLTYzYy00LjYgMC04LjQtMy44LTguNC04LjR2LTI1LjFjMC00LjYgMy44LTguNCA4LjQtOC40aDYzdi0yOC42aC02M2MtNC42IDAtOC40LTMuOC04LjQtOC40di0yNS4xYzAtNC42IDMuOC04LjQgOC40LTguNGg0NS40bC04Ny41LTE2MWMtMi4yLTQuMS0uNy05LjEgMy40LTExLjQgMS4zLS42IDIuNi0xIDMuOS0xaDQ4LjhjMy4yIDAgNi4xIDEuOCA3LjUgNC42bDcxLjkgMTQxLjggNzEuOS0xNDEuOWE4LjUgOC41IDAgMDE3LjUtNC42aDQ3LjhjNC42IDAgOC40IDMuOCA4LjQgOC40LS4xIDEuNS0uNSAyLjktMS4xIDQuMXpNNTEyLjYgMzIzTDI4OSAxNDhoNDQ2TDUxMi42IDMyM3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RedEnvelopeFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RedEnvelopeFilled';\n}\nexport default RefIcon;","import {\n boolean,\n number,\n spaceSeparated,\n commaSeparated,\n commaOrSpaceSeparated\n} from './util/types.js'\nimport {create} from './util/create.js'\nimport {caseSensitiveTransform} from './util/case-sensitive-transform.js'\n\nexport const svg = create({\n space: 'svg',\n attributes: {\n accentHeight: 'accent-height',\n alignmentBaseline: 'alignment-baseline',\n arabicForm: 'arabic-form',\n baselineShift: 'baseline-shift',\n capHeight: 'cap-height',\n className: 'class',\n clipPath: 'clip-path',\n clipRule: 'clip-rule',\n colorInterpolation: 'color-interpolation',\n colorInterpolationFilters: 'color-interpolation-filters',\n colorProfile: 'color-profile',\n colorRendering: 'color-rendering',\n crossOrigin: 'crossorigin',\n dataType: 'datatype',\n dominantBaseline: 'dominant-baseline',\n enableBackground: 'enable-background',\n fillOpacity: 'fill-opacity',\n fillRule: 'fill-rule',\n floodColor: 'flood-color',\n floodOpacity: 'flood-opacity',\n fontFamily: 'font-family',\n fontSize: 'font-size',\n fontSizeAdjust: 'font-size-adjust',\n fontStretch: 'font-stretch',\n fontStyle: 'font-style',\n fontVariant: 'font-variant',\n fontWeight: 'font-weight',\n glyphName: 'glyph-name',\n glyphOrientationHorizontal: 'glyph-orientation-horizontal',\n glyphOrientationVertical: 'glyph-orientation-vertical',\n hrefLang: 'hreflang',\n horizAdvX: 'horiz-adv-x',\n horizOriginX: 'horiz-origin-x',\n horizOriginY: 'horiz-origin-y',\n imageRendering: 'image-rendering',\n letterSpacing: 'letter-spacing',\n lightingColor: 'lighting-color',\n markerEnd: 'marker-end',\n markerMid: 'marker-mid',\n markerStart: 'marker-start',\n navDown: 'nav-down',\n navDownLeft: 'nav-down-left',\n navDownRight: 'nav-down-right',\n navLeft: 'nav-left',\n navNext: 'nav-next',\n navPrev: 'nav-prev',\n navRight: 'nav-right',\n navUp: 'nav-up',\n navUpLeft: 'nav-up-left',\n navUpRight: 'nav-up-right',\n onAbort: 'onabort',\n onActivate: 'onactivate',\n onAfterPrint: 'onafterprint',\n onBeforePrint: 'onbeforeprint',\n onBegin: 'onbegin',\n onCancel: 'oncancel',\n onCanPlay: 'oncanplay',\n onCanPlayThrough: 'oncanplaythrough',\n onChange: 'onchange',\n onClick: 'onclick',\n onClose: 'onclose',\n onCopy: 'oncopy',\n onCueChange: 'oncuechange',\n onCut: 'oncut',\n onDblClick: 'ondblclick',\n onDrag: 'ondrag',\n onDragEnd: 'ondragend',\n onDragEnter: 'ondragenter',\n onDragExit: 'ondragexit',\n onDragLeave: 'ondragleave',\n onDragOver: 'ondragover',\n onDragStart: 'ondragstart',\n onDrop: 'ondrop',\n onDurationChange: 'ondurationchange',\n onEmptied: 'onemptied',\n onEnd: 'onend',\n onEnded: 'onended',\n onError: 'onerror',\n onFocus: 'onfocus',\n onFocusIn: 'onfocusin',\n onFocusOut: 'onfocusout',\n onHashChange: 'onhashchange',\n onInput: 'oninput',\n onInvalid: 'oninvalid',\n onKeyDown: 'onkeydown',\n onKeyPress: 'onkeypress',\n onKeyUp: 'onkeyup',\n onLoad: 'onload',\n onLoadedData: 'onloadeddata',\n onLoadedMetadata: 'onloadedmetadata',\n onLoadStart: 'onloadstart',\n onMessage: 'onmessage',\n onMouseDown: 'onmousedown',\n onMouseEnter: 'onmouseenter',\n onMouseLeave: 'onmouseleave',\n onMouseMove: 'onmousemove',\n onMouseOut: 'onmouseout',\n onMouseOver: 'onmouseover',\n onMouseUp: 'onmouseup',\n onMouseWheel: 'onmousewheel',\n onOffline: 'onoffline',\n onOnline: 'ononline',\n onPageHide: 'onpagehide',\n onPageShow: 'onpageshow',\n onPaste: 'onpaste',\n onPause: 'onpause',\n onPlay: 'onplay',\n onPlaying: 'onplaying',\n onPopState: 'onpopstate',\n onProgress: 'onprogress',\n onRateChange: 'onratechange',\n onRepeat: 'onrepeat',\n onReset: 'onreset',\n onResize: 'onresize',\n onScroll: 'onscroll',\n onSeeked: 'onseeked',\n onSeeking: 'onseeking',\n onSelect: 'onselect',\n onShow: 'onshow',\n onStalled: 'onstalled',\n onStorage: 'onstorage',\n onSubmit: 'onsubmit',\n onSuspend: 'onsuspend',\n onTimeUpdate: 'ontimeupdate',\n onToggle: 'ontoggle',\n onUnload: 'onunload',\n onVolumeChange: 'onvolumechange',\n onWaiting: 'onwaiting',\n onZoom: 'onzoom',\n overlinePosition: 'overline-position',\n overlineThickness: 'overline-thickness',\n paintOrder: 'paint-order',\n panose1: 'panose-1',\n pointerEvents: 'pointer-events',\n referrerPolicy: 'referrerpolicy',\n renderingIntent: 'rendering-intent',\n shapeRendering: 'shape-rendering',\n stopColor: 'stop-color',\n stopOpacity: 'stop-opacity',\n strikethroughPosition: 'strikethrough-position',\n strikethroughThickness: 'strikethrough-thickness',\n strokeDashArray: 'stroke-dasharray',\n strokeDashOffset: 'stroke-dashoffset',\n strokeLineCap: 'stroke-linecap',\n strokeLineJoin: 'stroke-linejoin',\n strokeMiterLimit: 'stroke-miterlimit',\n strokeOpacity: 'stroke-opacity',\n strokeWidth: 'stroke-width',\n tabIndex: 'tabindex',\n textAnchor: 'text-anchor',\n textDecoration: 'text-decoration',\n textRendering: 'text-rendering',\n transformOrigin: 'transform-origin',\n typeOf: 'typeof',\n underlinePosition: 'underline-position',\n underlineThickness: 'underline-thickness',\n unicodeBidi: 'unicode-bidi',\n unicodeRange: 'unicode-range',\n unitsPerEm: 'units-per-em',\n vAlphabetic: 'v-alphabetic',\n vHanging: 'v-hanging',\n vIdeographic: 'v-ideographic',\n vMathematical: 'v-mathematical',\n vectorEffect: 'vector-effect',\n vertAdvY: 'vert-adv-y',\n vertOriginX: 'vert-origin-x',\n vertOriginY: 'vert-origin-y',\n wordSpacing: 'word-spacing',\n writingMode: 'writing-mode',\n xHeight: 'x-height',\n // These were camelcased in Tiny. Now lowercased in SVG 2\n playbackOrder: 'playbackorder',\n timelineBegin: 'timelinebegin'\n },\n transform: caseSensitiveTransform,\n properties: {\n about: commaOrSpaceSeparated,\n accentHeight: number,\n accumulate: null,\n additive: null,\n alignmentBaseline: null,\n alphabetic: number,\n amplitude: number,\n arabicForm: null,\n ascent: number,\n attributeName: null,\n attributeType: null,\n azimuth: number,\n bandwidth: null,\n baselineShift: null,\n baseFrequency: null,\n baseProfile: null,\n bbox: null,\n begin: null,\n bias: number,\n by: null,\n calcMode: null,\n capHeight: number,\n className: spaceSeparated,\n clip: null,\n clipPath: null,\n clipPathUnits: null,\n clipRule: null,\n color: null,\n colorInterpolation: null,\n colorInterpolationFilters: null,\n colorProfile: null,\n colorRendering: null,\n content: null,\n contentScriptType: null,\n contentStyleType: null,\n crossOrigin: null,\n cursor: null,\n cx: null,\n cy: null,\n d: null,\n dataType: null,\n defaultAction: null,\n descent: number,\n diffuseConstant: number,\n direction: null,\n display: null,\n dur: null,\n divisor: number,\n dominantBaseline: null,\n download: boolean,\n dx: null,\n dy: null,\n edgeMode: null,\n editable: null,\n elevation: number,\n enableBackground: null,\n end: null,\n event: null,\n exponent: number,\n externalResourcesRequired: null,\n fill: null,\n fillOpacity: number,\n fillRule: null,\n filter: null,\n filterRes: null,\n filterUnits: null,\n floodColor: null,\n floodOpacity: null,\n focusable: null,\n focusHighlight: null,\n fontFamily: null,\n fontSize: null,\n fontSizeAdjust: null,\n fontStretch: null,\n fontStyle: null,\n fontVariant: null,\n fontWeight: null,\n format: null,\n fr: null,\n from: null,\n fx: null,\n fy: null,\n g1: commaSeparated,\n g2: commaSeparated,\n glyphName: commaSeparated,\n glyphOrientationHorizontal: null,\n glyphOrientationVertical: null,\n glyphRef: null,\n gradientTransform: null,\n gradientUnits: null,\n handler: null,\n hanging: number,\n hatchContentUnits: null,\n hatchUnits: null,\n height: null,\n href: null,\n hrefLang: null,\n horizAdvX: number,\n horizOriginX: number,\n horizOriginY: number,\n id: null,\n ideographic: number,\n imageRendering: null,\n initialVisibility: null,\n in: null,\n in2: null,\n intercept: number,\n k: number,\n k1: number,\n k2: number,\n k3: number,\n k4: number,\n kernelMatrix: commaOrSpaceSeparated,\n kernelUnitLength: null,\n keyPoints: null, // SEMI_COLON_SEPARATED\n keySplines: null, // SEMI_COLON_SEPARATED\n keyTimes: null, // SEMI_COLON_SEPARATED\n kerning: null,\n lang: null,\n lengthAdjust: null,\n letterSpacing: null,\n lightingColor: null,\n limitingConeAngle: number,\n local: null,\n markerEnd: null,\n markerMid: null,\n markerStart: null,\n markerHeight: null,\n markerUnits: null,\n markerWidth: null,\n mask: null,\n maskContentUnits: null,\n maskUnits: null,\n mathematical: null,\n max: null,\n media: null,\n mediaCharacterEncoding: null,\n mediaContentEncodings: null,\n mediaSize: number,\n mediaTime: null,\n method: null,\n min: null,\n mode: null,\n name: null,\n navDown: null,\n navDownLeft: null,\n navDownRight: null,\n navLeft: null,\n navNext: null,\n navPrev: null,\n navRight: null,\n navUp: null,\n navUpLeft: null,\n navUpRight: null,\n numOctaves: null,\n observer: null,\n offset: null,\n onAbort: null,\n onActivate: null,\n onAfterPrint: null,\n onBeforePrint: null,\n onBegin: null,\n onCancel: null,\n onCanPlay: null,\n onCanPlayThrough: null,\n onChange: null,\n onClick: null,\n onClose: null,\n onCopy: null,\n onCueChange: null,\n onCut: null,\n onDblClick: null,\n onDrag: null,\n onDragEnd: null,\n onDragEnter: null,\n onDragExit: null,\n onDragLeave: null,\n onDragOver: null,\n onDragStart: null,\n onDrop: null,\n onDurationChange: null,\n onEmptied: null,\n onEnd: null,\n onEnded: null,\n onError: null,\n onFocus: null,\n onFocusIn: null,\n onFocusOut: null,\n onHashChange: null,\n onInput: null,\n onInvalid: null,\n onKeyDown: null,\n onKeyPress: null,\n onKeyUp: null,\n onLoad: null,\n onLoadedData: null,\n onLoadedMetadata: null,\n onLoadStart: null,\n onMessage: null,\n onMouseDown: null,\n onMouseEnter: null,\n onMouseLeave: null,\n onMouseMove: null,\n onMouseOut: null,\n onMouseOver: null,\n onMouseUp: null,\n onMouseWheel: null,\n onOffline: null,\n onOnline: null,\n onPageHide: null,\n onPageShow: null,\n onPaste: null,\n onPause: null,\n onPlay: null,\n onPlaying: null,\n onPopState: null,\n onProgress: null,\n onRateChange: null,\n onRepeat: null,\n onReset: null,\n onResize: null,\n onScroll: null,\n onSeeked: null,\n onSeeking: null,\n onSelect: null,\n onShow: null,\n onStalled: null,\n onStorage: null,\n onSubmit: null,\n onSuspend: null,\n onTimeUpdate: null,\n onToggle: null,\n onUnload: null,\n onVolumeChange: null,\n onWaiting: null,\n onZoom: null,\n opacity: null,\n operator: null,\n order: null,\n orient: null,\n orientation: null,\n origin: null,\n overflow: null,\n overlay: null,\n overlinePosition: number,\n overlineThickness: number,\n paintOrder: null,\n panose1: null,\n path: null,\n pathLength: number,\n patternContentUnits: null,\n patternTransform: null,\n patternUnits: null,\n phase: null,\n ping: spaceSeparated,\n pitch: null,\n playbackOrder: null,\n pointerEvents: null,\n points: null,\n pointsAtX: number,\n pointsAtY: number,\n pointsAtZ: number,\n preserveAlpha: null,\n preserveAspectRatio: null,\n primitiveUnits: null,\n propagate: null,\n property: commaOrSpaceSeparated,\n r: null,\n radius: null,\n referrerPolicy: null,\n refX: null,\n refY: null,\n rel: commaOrSpaceSeparated,\n rev: commaOrSpaceSeparated,\n renderingIntent: null,\n repeatCount: null,\n repeatDur: null,\n requiredExtensions: commaOrSpaceSeparated,\n requiredFeatures: commaOrSpaceSeparated,\n requiredFonts: commaOrSpaceSeparated,\n requiredFormats: commaOrSpaceSeparated,\n resource: null,\n restart: null,\n result: null,\n rotate: null,\n rx: null,\n ry: null,\n scale: null,\n seed: null,\n shapeRendering: null,\n side: null,\n slope: null,\n snapshotTime: null,\n specularConstant: number,\n specularExponent: number,\n spreadMethod: null,\n spacing: null,\n startOffset: null,\n stdDeviation: null,\n stemh: null,\n stemv: null,\n stitchTiles: null,\n stopColor: null,\n stopOpacity: null,\n strikethroughPosition: number,\n strikethroughThickness: number,\n string: null,\n stroke: null,\n strokeDashArray: commaOrSpaceSeparated,\n strokeDashOffset: null,\n strokeLineCap: null,\n strokeLineJoin: null,\n strokeMiterLimit: number,\n strokeOpacity: number,\n strokeWidth: null,\n style: null,\n surfaceScale: number,\n syncBehavior: null,\n syncBehaviorDefault: null,\n syncMaster: null,\n syncTolerance: null,\n syncToleranceDefault: null,\n systemLanguage: commaOrSpaceSeparated,\n tabIndex: number,\n tableValues: null,\n target: null,\n targetX: number,\n targetY: number,\n textAnchor: null,\n textDecoration: null,\n textRendering: null,\n textLength: null,\n timelineBegin: null,\n title: null,\n transformBehavior: null,\n type: null,\n typeOf: commaOrSpaceSeparated,\n to: null,\n transform: null,\n transformOrigin: null,\n u1: null,\n u2: null,\n underlinePosition: number,\n underlineThickness: number,\n unicode: null,\n unicodeBidi: null,\n unicodeRange: null,\n unitsPerEm: number,\n values: null,\n vAlphabetic: number,\n vMathematical: number,\n vectorEffect: null,\n vHanging: number,\n vIdeographic: number,\n version: null,\n vertAdvY: number,\n vertOriginX: number,\n vertOriginY: number,\n viewBox: null,\n viewTarget: null,\n visibility: null,\n width: null,\n widths: null,\n wordSpacing: null,\n writingMode: null,\n x: null,\n x1: null,\n x2: null,\n xChannelSelector: null,\n xHeight: number,\n y: null,\n y1: null,\n y2: null,\n yChannelSelector: null,\n z: null,\n zoomAndPan: null\n }\n})\n","import { tinycolor } from './index.js';\nexport * from './index.js';\nexport * from './css-color-names.js';\nexport * from './readability.js';\nexport * from './to-ms-filter.js';\nexport * from './from-ratio.js';\nexport * from './format-input.js';\nexport * from './random.js';\nexport * from './interfaces.js';\nexport * from './conversion.js';\n// kept for backwards compatability with v1\nexport default tinycolor;\n","import {charCodes} from \"./charcodes\";\nimport {WHITESPACE_CHARS} from \"./whitespace\";\n\nfunction computeIsIdentifierChar(code) {\n if (code < 48) return code === 36;\n if (code < 58) return true;\n if (code < 65) return false;\n if (code < 91) return true;\n if (code < 97) return code === 95;\n if (code < 123) return true;\n if (code < 128) return false;\n throw new Error(\"Should not be called with non-ASCII char code.\");\n}\n\nexport const IS_IDENTIFIER_CHAR = new Uint8Array(65536);\nfor (let i = 0; i < 128; i++) {\n IS_IDENTIFIER_CHAR[i] = computeIsIdentifierChar(i) ? 1 : 0;\n}\nfor (let i = 128; i < 65536; i++) {\n IS_IDENTIFIER_CHAR[i] = 1;\n}\n// Aside from whitespace and newlines, all characters outside the ASCII space are either\n// identifier characters or invalid. Since we're not performing code validation, we can just\n// treat all invalid characters as identifier characters.\nfor (const whitespaceChar of WHITESPACE_CHARS) {\n IS_IDENTIFIER_CHAR[whitespaceChar] = 0;\n}\nIS_IDENTIFIER_CHAR[0x2028] = 0;\nIS_IDENTIFIER_CHAR[0x2029] = 0;\n\nexport const IS_IDENTIFIER_START = IS_IDENTIFIER_CHAR.slice();\nfor (let numChar = charCodes.digit0; numChar <= charCodes.digit9; numChar++) {\n IS_IDENTIFIER_START[numChar] = 0;\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TrophyTwoToneSvg from \"@ant-design/icons-svg/es/asn/TrophyTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TrophyTwoTone = function TrophyTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TrophyTwoToneSvg\n }));\n};\n\n/**![trophy](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMyMCA0ODBjMCA0OS4xIDE5LjEgOTUuMyA1My45IDEzMC4xIDM0LjcgMzQuOCA4MSA1My45IDEzMC4xIDUzLjloMTZjNDkuMSAwIDk1LjMtMTkuMSAxMzAuMS01My45IDM0LjgtMzQuNyA1My45LTgxIDUzLjktMTMwLjFWMTg0SDMyM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maWxsPSIjMTY3N2ZmIiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TrophyTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TrophyTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ApiFilledSvg from \"@ant-design/icons-svg/es/asn/ApiFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ApiFilled = function ApiFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ApiFilledSvg\n }));\n};\n\n/**![api](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkxNy43IDE0OC44bC00Mi40LTQyLjRjLTEuNi0xLjYtMy42LTIuMy01LjctMi4zcy00LjEuOC01LjcgMi4zbC03Ni4xIDc2LjFhMTk5LjI3IDE5OS4yNyAwIDAwLTExMi4xLTM0LjNjLTUxLjIgMC0xMDIuNCAxOS41LTE0MS41IDU4LjZMNDMyLjMgMzA4LjdhOC4wMyA4LjAzIDAgMDAwIDExLjNMNzA0IDU5MS43YzEuNiAxLjYgMy42IDIuMyA1LjcgMi4zIDIgMCA0LjEtLjggNS43LTIuM2wxMDEuOS0xMDEuOWM2OC45LTY5IDc3LTE3NS43IDI0LjMtMjUzLjVsNzYuMS03Ni4xYzMuMS0zLjIgMy4xLTguMyAwLTExLjR6TTU3OC45IDU0Ni43YTguMDMgOC4wMyAwIDAwLTExLjMgMEw1MDEgNjEzLjMgNDEwLjcgNTIzbDY2LjctNjYuN2MzLjEtMy4xIDMuMS04LjIgMC0xMS4zTDQ0MSA0MDguNmE4LjAzIDguMDMgMCAwMC0xMS4zIDBMMzYzIDQ3NS4zbC00My00M2E3Ljg1IDcuODUgMCAwMC01LjctMi4zYy0yIDAtNC4xLjgtNS43IDIuM0wyMDYuOCA1MzQuMmMtNjguOSA2OC45LTc3IDE3NS43LTI0LjMgMjUzLjVsLTc2LjEgNzYuMWE4LjAzIDguMDMgMCAwMDAgMTEuM2w0Mi40IDQyLjRjMS42IDEuNiAzLjYgMi4zIDUuNyAyLjNzNC4xLS44IDUuNy0yLjNsNzYuMS03Ni4xYzMzLjcgMjIuOSA3Mi45IDM0LjMgMTEyLjEgMzQuMyA1MS4yIDAgMTAyLjQtMTkuNSAxNDEuNS01OC42bDEwMS45LTEwMS45YzMuMS0zLjEgMy4xLTguMiAwLTExLjNsLTQzLTQzIDY2LjctNjYuN2MzLjEtMy4xIDMuMS04LjIgMC0xMS4zbC0zNi42LTM2LjJ6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ApiFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ApiFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BugTwoToneSvg from \"@ant-design/icons-svg/es/asn/BugTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BugTwoTone = function BugTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BugTwoToneSvg\n }));\n};\n\n/**![bug](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N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_ENV !== 'production') {\n RefIcon.displayName = 'BugTwoTone';\n}\nexport default RefIcon;","export function allPromiseFinish(promiseList) {\n var hasError = false;\n var count = promiseList.length;\n var results = [];\n if (!promiseList.length) {\n return Promise.resolve([]);\n }\n return new Promise(function (resolve, reject) {\n promiseList.forEach(function (promise, index) {\n promise.catch(function (e) {\n hasError = true;\n return e;\n }).then(function (result) {\n count -= 1;\n results[index] = result;\n if (count > 0) {\n return;\n }\n if (hasError) {\n reject(results);\n }\n resolve(results);\n });\n });\n });\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TaobaoSquareFilledSvg from \"@ant-design/icons-svg/es/asn/TaobaoSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TaobaoSquareFilled = function TaobaoSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TaobaoSquareFilledSvg\n }));\n};\n\n/**![taobao-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNMzE1LjcgMjkxLjVjMjcuMyAwIDQ5LjUgMjIuMSA0OS41IDQ5LjRzLTIyLjEgNDkuNC00OS41IDQ5LjRhNDkuNCA0OS40IDAgMTEwLTk4Ljh6TTM2Ni45IDU3OGMtMTMuNiA0Mi4zLTEwLjIgMjYuNy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LjMgMzA3LjQgNTAuNSAzMDcuNCA1MC41czE5LjEgOTEuOCAzLjggMjM1Ljd6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TaobaoSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TaobaoSquareFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport GoogleSquareFilledSvg from \"@ant-design/icons-svg/es/asn/GoogleSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar GoogleSquareFilled = function GoogleSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: GoogleSquareFilledSvg\n }));\n};\n\n/**![google-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNjc5IDY5Ny42QzYzOC40IDczNSA1ODMgNzU3IDUxNi45IDc1N2MtOTUuNyAwLTE3OC41LTU0LjktMjE4LjgtMTM0LjlBMjQ1LjAyIDI0NS4wMiAwIDAxMjcyIDUxMmMwLTM5LjYgOS41LTc3IDI2LjEtMTEwLjEgNDAuMy04MC4xIDEyMy4xLTEzNSAyMTguOC0xMzUgNjYgMCAxMjEuNCAyNC4zIDE2My45IDYzLjhMNjEwLjYgNDAxYy0yNS40LTI0LjMtNTcuNy0zNi42LTkzLjYtMzYuNi02My44IDAtMTE3LjggNDMuMS0xMzcuMSAxMDEtNC45IDE0LjctNy43IDMwLjQtNy43IDQ2LjZzMi44IDMxLjkgNy43IDQ2LjZjMTkuMyA1Ny45IDczLjMgMTAxIDEzNyAxMDEgMzMgMCA2MS04LjcgODIuOS0yMy40IDI2LTE3LjQgNDMuMi00My4zIDQ4LjktNzRINTE2Ljl2LTk0LjhoMjMwLjdjMi45IDE2LjEgNC40IDMyLjggNC40IDUwLjEgMCA3NC43LTI2LjcgMTM3LjQtNzMgMTgwLjF6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(GoogleSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'GoogleSquareFilled';\n}\nexport default RefIcon;","/**\n * @typedef {import('./lib/index.js').Options} Options\n */\n\nexport {cont, name, start} from './lib/index.js'\n","// Note: types exposed from `index.d.ts`.\nexport {handlers as defaultHandlers} from './lib/handlers/index.js'\nexport {toHast} from './lib/index.js'\nexport {\n defaultFootnoteBackContent,\n defaultFootnoteBackLabel\n} from './lib/footer.js'\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LineChartOutlinedSvg from \"@ant-design/icons-svg/es/asn/LineChartOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LineChartOutlined = function LineChartOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LineChartOutlinedSvg\n }));\n};\n\n/**![line-chart](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4OCA3OTJIMjAwVjE2OGMwLTQuNC0zLjYtOC04LThoLTU2Yy00LjQgMC04IDMuNi04IDh2Njg4YzAgNC40IDMuNiA4IDggOGg3NTJjNC40IDAgOC0zLjYgOC04di01NmMwLTQuNC0zLjYtOC04LTh6TTMwNS44IDYzNy43YzMuMSAzLjEgOC4xIDMuMSAxMS4zIDBsMTM4LjMtMTM3LjZMNTgzIDYyOC41YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMjc1LjQtMjc1LjNjMy4xLTMuMSAzLjEtOC4yIDAtMTEuM2wtMzkuNi0zOS42YTguMDMgOC4wMyAwIDAwLTExLjMgMGwtMjMwIDIyOS45TDQ2MS40IDQwNGE4LjAzIDguMDMgMCAwMC0xMS4zIDBMMjY2LjMgNTg2LjdhOC4wMyA4LjAzIDAgMDAwIDExLjNsMzkuNSAzOS43eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LineChartOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LineChartOutlined';\n}\nexport default RefIcon;","var autoAdjustOverflowTopBottom = {\n shiftX: 64,\n adjustY: 1\n};\nvar autoAdjustOverflowLeftRight = {\n adjustX: 1,\n shiftY: true\n};\nvar targetOffset = [0, 0];\nexport var placements = {\n left: {\n points: ['cr', 'cl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n right: {\n points: ['cl', 'cr'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n top: {\n points: ['bc', 'tc'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n bottom: {\n points: ['tc', 'bc'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n topLeft: {\n points: ['bl', 'tl'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n leftTop: {\n points: ['tr', 'tl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n },\n topRight: {\n points: ['br', 'tr'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, -4],\n targetOffset: targetOffset\n },\n rightTop: {\n points: ['tl', 'tr'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomRight: {\n points: ['tr', 'br'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n rightBottom: {\n points: ['bl', 'br'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [4, 0],\n targetOffset: targetOffset\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n overflow: autoAdjustOverflowTopBottom,\n offset: [0, 4],\n targetOffset: targetOffset\n },\n leftBottom: {\n points: ['br', 'bl'],\n overflow: autoAdjustOverflowLeftRight,\n offset: [-4, 0],\n targetOffset: targetOffset\n }\n};\nexport default placements;","import any from \"./any\";\nimport array from \"./array\";\nimport boolean from \"./boolean\";\nimport date from \"./date\";\nimport enumValidator from \"./enum\";\nimport float from \"./float\";\nimport integer from \"./integer\";\nimport method from \"./method\";\nimport number from \"./number\";\nimport object from \"./object\";\nimport pattern from \"./pattern\";\nimport regexp from \"./regexp\";\nimport required from \"./required\";\nimport string from \"./string\";\nimport type from \"./type\";\nexport default {\n string: string,\n method: method,\n number: number,\n boolean: boolean,\n regexp: regexp,\n integer: integer,\n float: float,\n array: array,\n object: object,\n enum: enumValidator,\n pattern: pattern,\n date: date,\n url: type,\n hex: type,\n email: type,\n required: required,\n any: any\n};","export {whitespace} from './lib/index.js'\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DownOutlinedSvg from \"@ant-design/icons-svg/es/asn/DownOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DownOutlined = function DownOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DownOutlinedSvg\n }));\n};\n\n/**![down](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4NCAyNTZoLTc1Yy01LjEgMC05LjkgMi41LTEyLjkgNi42TDUxMiA2NTQuMiAyMjcuOSAyNjIuNmMtMy00LjEtNy44LTYuNi0xMi45LTYuNmgtNzVjLTYuNSAwLTEwLjMgNy40LTYuNSAxMi43bDM1Mi42IDQ4Ni4xYzEyLjggMTcuNiAzOSAxNy42IDUxLjcgMGwzNTIuNi00ODYuMWMzLjktNS4zLjEtMTIuNy02LjQtMTIuN3oiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DownOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DownOutlined';\n}\nexport default RefIcon;","/**\n * Webpack has bug for import loop, which is not the same behavior as ES module.\n * When util.js imports the TreeNode for tree generate will cause treeContextTypes be empty.\n */\nimport * as React from 'react';\nexport var TreeContext = /*#__PURE__*/React.createContext(null);","import * as React from 'react';\nvar LegacySelectContext = /*#__PURE__*/React.createContext(null);\nexport default LegacySelectContext;","/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast').RootContent} RootContent\n *\n * @typedef {import('property-information').Info} Info\n * @typedef {import('property-information').Schema} Schema\n */\n\n/**\n * @typedef {Element | Root} Result\n * Result from a `h` (or `s`) call.\n *\n * @typedef {number | string} StyleValue\n * Value for a CSS style field.\n * @typedef {Record} Style\n * Supported value of a `style` prop.\n * @typedef {boolean | number | string | null | undefined} PrimitiveValue\n * Primitive property value.\n * @typedef {Array} ArrayValue\n * List of property values for space- or comma separated values (such as `className`).\n * @typedef {ArrayValue | PrimitiveValue} PropertyValue\n * Primitive value or list value.\n * @typedef {{[property: string]: PropertyValue | Style}} Properties\n * Acceptable value for element properties.\n *\n * @typedef {number | string | null | undefined} PrimitiveChild\n * Primitive children, either ignored (nullish), or turned into text nodes.\n * @typedef {Array} ArrayChild\n * List of children.\n * @typedef {Array} ArrayChildNested\n * List of children (deep).\n * @typedef {ArrayChild | Nodes | PrimitiveChild} Child\n * Acceptable child value.\n */\n\nimport {parse as commas} from 'comma-separated-tokens'\nimport {parseSelector} from 'hast-util-parse-selector'\nimport {find, normalize} from 'property-information'\nimport {parse as spaces} from 'space-separated-tokens'\n\nconst own = {}.hasOwnProperty\n\n/**\n * @param {Schema} schema\n * Schema to use.\n * @param {string} defaultTagName\n * Default tag name.\n * @param {Array | undefined} [caseSensitive]\n * Case-sensitive tag names (default: `undefined`).\n * @returns\n * `h`.\n */\nexport function createH(schema, defaultTagName, caseSensitive) {\n const adjust = caseSensitive && createAdjustMap(caseSensitive)\n\n /**\n * Hyperscript compatible DSL for creating virtual hast trees.\n *\n * @overload\n * @param {null | undefined} [selector]\n * @param {...Child} children\n * @returns {Root}\n *\n * @overload\n * @param {string} selector\n * @param {Properties} properties\n * @param {...Child} children\n * @returns {Element}\n *\n * @overload\n * @param {string} selector\n * @param {...Child} children\n * @returns {Element}\n *\n * @param {string | null | undefined} [selector]\n * Selector.\n * @param {Child | Properties | null | undefined} [properties]\n * Properties (or first child) (default: `undefined`).\n * @param {...Child} children\n * Children.\n * @returns {Result}\n * Result.\n */\n function h(selector, properties, ...children) {\n let index = -1\n /** @type {Result} */\n let node\n\n if (selector === undefined || selector === null) {\n node = {type: 'root', children: []}\n // Properties are not supported for roots.\n const child = /** @type {Child} */ (properties)\n children.unshift(child)\n } else {\n node = parseSelector(selector, defaultTagName)\n // Normalize the name.\n node.tagName = node.tagName.toLowerCase()\n if (adjust && own.call(adjust, node.tagName)) {\n node.tagName = adjust[node.tagName]\n }\n\n // Handle props.\n if (isChild(properties)) {\n children.unshift(properties)\n } else {\n /** @type {string} */\n let key\n\n for (key in properties) {\n if (own.call(properties, key)) {\n addProperty(schema, node.properties, key, properties[key])\n }\n }\n }\n }\n\n // Handle children.\n while (++index < children.length) {\n addChild(node.children, children[index])\n }\n\n if (node.type === 'element' && node.tagName === 'template') {\n node.content = {type: 'root', children: node.children}\n node.children = []\n }\n\n return node\n }\n\n return h\n}\n\n/**\n * Check if something is properties or a child.\n *\n * @param {Child | Properties} value\n * Value to check.\n * @returns {value is Child}\n * Whether `value` is definitely a child.\n */\nfunction isChild(value) {\n // Never properties if not an object.\n if (value === null || typeof value !== 'object' || Array.isArray(value)) {\n return true\n }\n\n // Never node without `type`; that’s the main discriminator.\n if (typeof value.type !== 'string') return false\n\n // Slower check: never property value if object or array with\n // non-number/strings.\n const record = /** @type {Record} */ (value)\n const keys = Object.keys(value)\n\n for (const key of keys) {\n const value = record[key]\n\n if (value && typeof value === 'object') {\n if (!Array.isArray(value)) return true\n\n const list = /** @type {Array} */ (value)\n\n for (const item of list) {\n if (typeof item !== 'number' && typeof item !== 'string') {\n return true\n }\n }\n }\n }\n\n // Also see empty `children` as a node.\n if ('children' in value && Array.isArray(value.children)) {\n return true\n }\n\n // Default to properties, someone can always pass an empty object,\n // put `data: {}` in a node,\n // or wrap it in an array.\n return false\n}\n\n/**\n * @param {Schema} schema\n * Schema.\n * @param {Properties} properties\n * Properties object.\n * @param {string} key\n * Property name.\n * @param {PropertyValue | Style} value\n * Property value.\n * @returns {undefined}\n * Nothing.\n */\nfunction addProperty(schema, properties, key, value) {\n const info = find(schema, key)\n let index = -1\n /** @type {PropertyValue} */\n let result\n\n // Ignore nullish and NaN values.\n if (value === undefined || value === null) return\n\n if (typeof value === 'number') {\n // Ignore NaN.\n if (Number.isNaN(value)) return\n\n result = value\n }\n // Booleans.\n else if (typeof value === 'boolean') {\n result = value\n }\n // Handle list values.\n else if (typeof value === 'string') {\n if (info.spaceSeparated) {\n result = spaces(value)\n } else if (info.commaSeparated) {\n result = commas(value)\n } else if (info.commaOrSpaceSeparated) {\n result = spaces(commas(value).join(' '))\n } else {\n result = parsePrimitive(info, info.property, value)\n }\n } else if (Array.isArray(value)) {\n result = value.concat()\n } else {\n result = info.property === 'style' ? style(value) : String(value)\n }\n\n if (Array.isArray(result)) {\n /** @type {Array} */\n const finalResult = []\n\n while (++index < result.length) {\n // Assume no booleans in array.\n const value = /** @type {number | string} */ (\n parsePrimitive(info, info.property, result[index])\n )\n finalResult[index] = value\n }\n\n result = finalResult\n }\n\n // Class names (which can be added both on the `selector` and here).\n if (info.property === 'className' && Array.isArray(properties.className)) {\n // Assume no booleans in `className`.\n const value = /** @type {number | string} */ (result)\n result = properties.className.concat(value)\n }\n\n properties[info.property] = result\n}\n\n/**\n * @param {Array} nodes\n * Children.\n * @param {Child} value\n * Child.\n * @returns {undefined}\n * Nothing.\n */\nfunction addChild(nodes, value) {\n let index = -1\n\n if (value === undefined || value === null) {\n // Empty.\n } else if (typeof value === 'string' || typeof value === 'number') {\n nodes.push({type: 'text', value: String(value)})\n } else if (Array.isArray(value)) {\n while (++index < value.length) {\n addChild(nodes, value[index])\n }\n } else if (typeof value === 'object' && 'type' in value) {\n if (value.type === 'root') {\n addChild(nodes, value.children)\n } else {\n nodes.push(value)\n }\n } else {\n throw new Error('Expected node, nodes, or string, got `' + value + '`')\n }\n}\n\n/**\n * Parse a single primitives.\n *\n * @param {Info} info\n * Property information.\n * @param {string} name\n * Property name.\n * @param {PrimitiveValue} value\n * Property value.\n * @returns {PrimitiveValue}\n * Property value.\n */\nfunction parsePrimitive(info, name, value) {\n if (typeof value === 'string') {\n if (info.number && value && !Number.isNaN(Number(value))) {\n return Number(value)\n }\n\n if (\n (info.boolean || info.overloadedBoolean) &&\n (value === '' || normalize(value) === normalize(name))\n ) {\n return true\n }\n }\n\n return value\n}\n\n/**\n * Serialize a `style` object as a string.\n *\n * @param {Style} value\n * Style object.\n * @returns {string}\n * CSS string.\n */\nfunction style(value) {\n /** @type {Array} */\n const result = []\n /** @type {string} */\n let key\n\n for (key in value) {\n if (own.call(value, key)) {\n result.push([key, value[key]].join(': '))\n }\n }\n\n return result.join('; ')\n}\n\n/**\n * Create a map to adjust casing.\n *\n * @param {Array} values\n * List of properly cased keys.\n * @returns {Record}\n * Map of lowercase keys to uppercase keys.\n */\nfunction createAdjustMap(values) {\n /** @type {Record} */\n const result = {}\n let index = -1\n\n while (++index < values.length) {\n result[values[index].toLowerCase()] = values[index]\n }\n\n return result\n}\n","import {ContextualKeyword} from \"../parser/tokenizer/keywords\";\nimport {TokenType as tt} from \"../parser/tokenizer/types\";\n\n\n/**\n * Starting at `export {`, look ahead and return `true` if this is an\n * `export {...} from` statement and `false` if this is a plain multi-export.\n */\nexport default function isExportFrom(tokens) {\n let closeBraceIndex = tokens.currentIndex();\n while (!tokens.matches1AtIndex(closeBraceIndex, tt.braceR)) {\n closeBraceIndex++;\n }\n return (\n tokens.matchesContextualAtIndex(closeBraceIndex + 1, ContextualKeyword._from) &&\n tokens.matches1AtIndex(closeBraceIndex + 2, tt.string)\n );\n}\n","// Note: types exported from `index.d.ts`\nexport {CONTINUE, EXIT, SKIP, visitParents} from './lib/index.js'\n","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"item\"];\nimport warning from \"rc-util/es/warning\";\n\n/**\n * `onClick` event return `info.item` which point to react node directly.\n * We should warning this since it will not work on FC.\n */\nexport function warnItemProp(_ref) {\n var item = _ref.item,\n restInfo = _objectWithoutProperties(_ref, _excluded);\n Object.defineProperty(restInfo, 'item', {\n get: function get() {\n warning(false, '`info.item` is deprecated since we will move to function component that not provides React Node instance in future.');\n return item;\n }\n });\n return restInfo;\n}","function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\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; }\n/* eslint-disable @typescript-eslint/no-use-before-define */\nimport { ReactComponent as IconDown } from '@ant-design/icons-svg/inline-svg/outlined/down.svg';\nimport { Link, useLocation, useNavData } from 'dumi';\nimport NavbarExtra from 'dumi/theme/slots/NavbarExtra';\nimport React, { useState } from 'react';\nimport \"./index.less\";\nvar NavbarItem = function NavbarItem(_ref) {\n var data = _ref.data;\n var _useLocation = useLocation(),\n pathname = _useLocation.pathname;\n var _useState = useState(function () {\n var _data$children;\n return (_data$children = data.children) === null || _data$children === void 0 ? void 0 : _data$children.some(function (item) {\n var activePath = item.activePath || item.link;\n return activePath && pathname.startsWith(activePath);\n });\n }),\n _useState2 = _slicedToArray(_useState, 2),\n isCollapsed = _useState2[0],\n setIsCollapsed = _useState2[1];\n var CollapsedBtn = data.children && /*#__PURE__*/React.createElement(\"button\", {\n className: \"dumi-default-navbar-collapse-btn\",\n type: \"button\",\n onClick: function onClick(e) {\n e.stopPropagation();\n setIsCollapsed(function (v) {\n return !v;\n });\n },\n \"data-collapsed\": isCollapsed || undefined\n }, /*#__PURE__*/React.createElement(IconDown, null));\n var NestedNav = data.children && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"dumi-default-navbar-dropdown\",\n \"data-collapsed\": isCollapsed || undefined\n }, /*#__PURE__*/React.createElement(NavbarContent, {\n data: data.children\n }));\n // user custom nav has no activePath, so fallback to link\n var activePath = data.activePath || data.link;\n var extraProps = activePath && pathname.startsWith(activePath) ? {\n className: 'active'\n } : {};\n return data.link ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Link, _extends({\n to: data.link\n }, extraProps), data.title), CollapsedBtn, NestedNav) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", _extends({\n onClick: function onClick(e) {\n e.stopPropagation();\n setIsCollapsed(function (v) {\n return !v;\n });\n }\n }, extraProps), data.title), CollapsedBtn, NestedNav);\n};\nvar NavbarContent = function NavbarContent(_ref2) {\n var data = _ref2.data;\n return /*#__PURE__*/React.createElement(React.Fragment, null, data.map(function (item) {\n return /*#__PURE__*/React.createElement(\"li\", {\n key: item.activePath || item.link || item.title\n }, item.link && /^(\\w+:)\\/\\/|^(mailto|tel):/.test(item.link) ? /*#__PURE__*/React.createElement(\"a\", {\n href: item.link,\n target: \"_blank\",\n rel: \"noreferrer\"\n }, item.title) : /*#__PURE__*/React.createElement(NavbarItem, {\n data: item\n }));\n }));\n};\nvar Navbar = function Navbar() {\n var nav = useNavData();\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: \"dumi-default-navbar\"\n }, /*#__PURE__*/React.createElement(NavbarContent, {\n data: nav\n }), /*#__PURE__*/React.createElement(NavbarExtra, null));\n};\nexport default Navbar;","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport React from 'react';\nvar BEAT_LIMIT = 1000 * 60 * 10;\n\n/**\n * A helper class to map keys to values.\n * It supports both primitive keys and object keys.\n */\nvar ArrayKeyMap = /*#__PURE__*/function () {\n function ArrayKeyMap() {\n _classCallCheck(this, ArrayKeyMap);\n _defineProperty(this, \"map\", new Map());\n // Use WeakMap to avoid memory leak\n _defineProperty(this, \"objectIDMap\", new WeakMap());\n _defineProperty(this, \"nextID\", 0);\n _defineProperty(this, \"lastAccessBeat\", new Map());\n // We will clean up the cache when reach the limit\n _defineProperty(this, \"accessBeat\", 0);\n }\n _createClass(ArrayKeyMap, [{\n key: \"set\",\n value: function set(keys, value) {\n // New set will trigger clear\n this.clear();\n\n // Set logic\n var compositeKey = this.getCompositeKey(keys);\n this.map.set(compositeKey, value);\n this.lastAccessBeat.set(compositeKey, Date.now());\n }\n }, {\n key: \"get\",\n value: function get(keys) {\n var compositeKey = this.getCompositeKey(keys);\n var cache = this.map.get(compositeKey);\n this.lastAccessBeat.set(compositeKey, Date.now());\n this.accessBeat += 1;\n return cache;\n }\n }, {\n key: \"getCompositeKey\",\n value: function getCompositeKey(keys) {\n var _this = this;\n var ids = keys.map(function (key) {\n if (key && _typeof(key) === 'object') {\n return \"obj_\".concat(_this.getObjectID(key));\n }\n return \"\".concat(_typeof(key), \"_\").concat(key);\n });\n return ids.join('|');\n }\n }, {\n key: \"getObjectID\",\n value: function getObjectID(obj) {\n if (this.objectIDMap.has(obj)) {\n return this.objectIDMap.get(obj);\n }\n var id = this.nextID;\n this.objectIDMap.set(obj, id);\n this.nextID += 1;\n return id;\n }\n }, {\n key: \"clear\",\n value: function clear() {\n var _this2 = this;\n if (this.accessBeat > 10000) {\n var now = Date.now();\n this.lastAccessBeat.forEach(function (beat, key) {\n if (now - beat > BEAT_LIMIT) {\n _this2.map.delete(key);\n _this2.lastAccessBeat.delete(key);\n }\n });\n this.accessBeat = 0;\n }\n }\n }]);\n return ArrayKeyMap;\n}();\nvar uniqueMap = new ArrayKeyMap();\n\n/**\n * Like `useMemo`, but this hook result will be shared across all instances.\n */\nfunction useUniqueMemo(memoFn, deps) {\n return React.useMemo(function () {\n var cachedValue = uniqueMap.get(deps);\n if (cachedValue) {\n return cachedValue;\n }\n var newValue = memoFn();\n uniqueMap.set(deps, newValue);\n return newValue;\n }, deps);\n}\nexport default useUniqueMemo;","import {eat, finishToken, lookaheadTypeAndKeyword, match, nextTokenStart} from \"../tokenizer/index\";\n\nimport {formatTokenType, TokenType as tt} from \"../tokenizer/types\";\nimport {charCodes} from \"../util/charcodes\";\nimport {input, state} from \"./base\";\n\n// ## Parser utilities\n\n// Tests whether parsed token is a contextual keyword.\nexport function isContextual(contextualKeyword) {\n return state.contextualKeyword === contextualKeyword;\n}\n\nexport function isLookaheadContextual(contextualKeyword) {\n const l = lookaheadTypeAndKeyword();\n return l.type === tt.name && l.contextualKeyword === contextualKeyword;\n}\n\n// Consumes contextual keyword if possible.\nexport function eatContextual(contextualKeyword) {\n return state.contextualKeyword === contextualKeyword && eat(tt.name);\n}\n\n// Asserts that following token is given contextual keyword.\nexport function expectContextual(contextualKeyword) {\n if (!eatContextual(contextualKeyword)) {\n unexpected();\n }\n}\n\n// Test whether a semicolon can be inserted at the current position.\nexport function canInsertSemicolon() {\n return match(tt.eof) || match(tt.braceR) || hasPrecedingLineBreak();\n}\n\nexport function hasPrecedingLineBreak() {\n const prevToken = state.tokens[state.tokens.length - 1];\n const lastTokEnd = prevToken ? prevToken.end : 0;\n for (let i = lastTokEnd; i < state.start; i++) {\n const code = input.charCodeAt(i);\n if (\n code === charCodes.lineFeed ||\n code === charCodes.carriageReturn ||\n code === 0x2028 ||\n code === 0x2029\n ) {\n return true;\n }\n }\n return false;\n}\n\nexport function hasFollowingLineBreak() {\n const nextStart = nextTokenStart();\n for (let i = state.end; i < nextStart; i++) {\n const code = input.charCodeAt(i);\n if (\n code === charCodes.lineFeed ||\n code === charCodes.carriageReturn ||\n code === 0x2028 ||\n code === 0x2029\n ) {\n return true;\n }\n }\n return false;\n}\n\nexport function isLineTerminator() {\n return eat(tt.semi) || canInsertSemicolon();\n}\n\n// Consume a semicolon, or, failing that, see if we are allowed to\n// pretend that there is a semicolon at this position.\nexport function semicolon() {\n if (!isLineTerminator()) {\n unexpected('Unexpected token, expected \";\"');\n }\n}\n\n// Expect a token of a given type. If found, consume it, otherwise,\n// raise an unexpected token error at given pos.\nexport function expect(type) {\n const matched = eat(type);\n if (!matched) {\n unexpected(`Unexpected token, expected \"${formatTokenType(type)}\"`);\n }\n}\n\n/**\n * Transition the parser to an error state. All code needs to be written to naturally unwind in this\n * state, which allows us to backtrack without exceptions and without error plumbing everywhere.\n */\nexport function unexpected(message = \"Unexpected token\", pos = state.start) {\n if (state.error) {\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const err = new SyntaxError(message);\n err.pos = pos;\n state.error = err;\n state.pos = input.length;\n finishToken(tt.eof);\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BuildFilledSvg from \"@ant-design/icons-svg/es/asn/BuildFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BuildFilled = function BuildFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BuildFilledSvg\n }));\n};\n\n/**![build](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkxNiAyMTBIMzc2Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYyMzZIMTA4Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnYyNzJjMCAxNy43IDE0LjMgMzIgMzIgMzJoNTQwYzE3LjcgMCAzMi0xNC4zIDMyLTMyVjU0NmgyMzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMjQyYzAtMTcuNy0xNC4zLTMyLTMyLTMyek02MTIgNzQ2SDQxMlY1NDZoMjAwdjIwMHptMjY4LTI2OEg2ODBWMjc4aDIwMHYyMDB6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BuildFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BuildFilled';\n}\nexport default RefIcon;","\n\n\nimport XHTMLEntities from \"../parser/plugins/jsx/xhtml\";\nimport {JSXRole} from \"../parser/tokenizer\";\nimport {TokenType as tt} from \"../parser/tokenizer/types\";\nimport {charCodes} from \"../parser/util/charcodes\";\n\nimport getJSXPragmaInfo, {} from \"../util/getJSXPragmaInfo\";\n\nimport Transformer from \"./Transformer\";\n\nexport default class JSXTransformer extends Transformer {\n \n \n \n\n // State for calculating the line number of each JSX tag in development.\n __init() {this.lastLineNumber = 1}\n __init2() {this.lastIndex = 0}\n\n // In development, variable name holding the name of the current file.\n __init3() {this.filenameVarName = null}\n // Mapping of claimed names for imports in the automatic transform, e,g.\n // {jsx: \"_jsx\"}. This determines which imports to generate in the prefix.\n __init4() {this.esmAutomaticImportNameResolutions = {}}\n // When automatically adding imports in CJS mode, we store the variable name\n // holding the imported CJS module so we can require it in the prefix.\n __init5() {this.cjsAutomaticModuleNameResolutions = {}}\n\n constructor(\n rootTransformer,\n tokens,\n importProcessor,\n nameManager,\n options,\n ) {\n super();this.rootTransformer = rootTransformer;this.tokens = tokens;this.importProcessor = importProcessor;this.nameManager = nameManager;this.options = options;JSXTransformer.prototype.__init.call(this);JSXTransformer.prototype.__init2.call(this);JSXTransformer.prototype.__init3.call(this);JSXTransformer.prototype.__init4.call(this);JSXTransformer.prototype.__init5.call(this);;\n this.jsxPragmaInfo = getJSXPragmaInfo(options);\n this.isAutomaticRuntime = options.jsxRuntime === \"automatic\";\n this.jsxImportSource = options.jsxImportSource || \"react\";\n }\n\n process() {\n if (this.tokens.matches1(tt.jsxTagStart)) {\n this.processJSXTag();\n return true;\n }\n return false;\n }\n\n getPrefixCode() {\n let prefix = \"\";\n if (this.filenameVarName) {\n prefix += `const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath || \"\")};`;\n }\n if (this.isAutomaticRuntime) {\n if (this.importProcessor) {\n // CJS mode: emit require statements for all modules that were referenced.\n for (const [path, resolvedName] of Object.entries(this.cjsAutomaticModuleNameResolutions)) {\n prefix += `var ${resolvedName} = require(\"${path}\");`;\n }\n } else {\n // ESM mode: consolidate and emit import statements for referenced names.\n const {createElement: createElementResolution, ...otherResolutions} =\n this.esmAutomaticImportNameResolutions;\n if (createElementResolution) {\n prefix += `import {createElement as ${createElementResolution}} from \"${this.jsxImportSource}\";`;\n }\n const importSpecifiers = Object.entries(otherResolutions)\n .map(([name, resolvedName]) => `${name} as ${resolvedName}`)\n .join(\", \");\n if (importSpecifiers) {\n const importPath =\n this.jsxImportSource + (this.options.production ? \"/jsx-runtime\" : \"/jsx-dev-runtime\");\n prefix += `import {${importSpecifiers}} from \"${importPath}\";`;\n }\n }\n }\n return prefix;\n }\n\n processJSXTag() {\n const {jsxRole, start} = this.tokens.currentToken();\n // Calculate line number information at the very start (if in development\n // mode) so that the information is guaranteed to be queried in token order.\n const elementLocationCode = this.options.production ? null : this.getElementLocationCode(start);\n if (this.isAutomaticRuntime && jsxRole !== JSXRole.KeyAfterPropSpread) {\n this.transformTagToJSXFunc(elementLocationCode, jsxRole);\n } else {\n this.transformTagToCreateElement(elementLocationCode);\n }\n }\n\n getElementLocationCode(firstTokenStart) {\n const lineNumber = this.getLineNumberForIndex(firstTokenStart);\n return `lineNumber: ${lineNumber}`;\n }\n\n /**\n * Get the line number for this source position. This is calculated lazily and\n * must be called in increasing order by index.\n */\n getLineNumberForIndex(index) {\n const code = this.tokens.code;\n while (this.lastIndex < index && this.lastIndex < code.length) {\n if (code[this.lastIndex] === \"\\n\") {\n this.lastLineNumber++;\n }\n this.lastIndex++;\n }\n return this.lastLineNumber;\n }\n\n /**\n * Convert the current JSX element to a call to jsx, jsxs, or jsxDEV. This is\n * the primary transformation for the automatic transform.\n *\n * Example:\n *
Hello{x}
\n * becomes\n * jsxs('div', {a: 1, children: [\"Hello\", x]}, 2)\n */\n transformTagToJSXFunc(elementLocationCode, jsxRole) {\n const isStatic = jsxRole === JSXRole.StaticChildren;\n // First tag is always jsxTagStart.\n this.tokens.replaceToken(this.getJSXFuncInvocationCode(isStatic));\n\n let keyCode = null;\n if (this.tokens.matches1(tt.jsxTagEnd)) {\n // Fragment syntax.\n this.tokens.replaceToken(`${this.getFragmentCode()}, {`);\n this.processAutomaticChildrenAndEndProps(jsxRole);\n } else {\n // Normal open tag or self-closing tag.\n this.processTagIntro();\n this.tokens.appendCode(\", {\");\n keyCode = this.processProps(true);\n\n if (this.tokens.matches2(tt.slash, tt.jsxTagEnd)) {\n // Self-closing tag, no children to add, so close the props.\n this.tokens.appendCode(\"}\");\n } else if (this.tokens.matches1(tt.jsxTagEnd)) {\n // Tag with children.\n this.tokens.removeToken();\n this.processAutomaticChildrenAndEndProps(jsxRole);\n } else {\n throw new Error(\"Expected either /> or > at the end of the tag.\");\n }\n // If a key was present, move it to its own arg. Note that moving code\n // like this will cause line numbers to get out of sync within the JSX\n // element if the key expression has a newline in it. This is unfortunate,\n // but hopefully should be rare.\n if (keyCode) {\n this.tokens.appendCode(`, ${keyCode}`);\n }\n }\n if (!this.options.production) {\n // If the key wasn't already added, add it now so we can correctly set\n // positional args for jsxDEV.\n if (keyCode === null) {\n this.tokens.appendCode(\", void 0\");\n }\n this.tokens.appendCode(`, ${isStatic}, ${this.getDevSource(elementLocationCode)}, this`);\n }\n // We're at the close-tag or the end of a self-closing tag, so remove\n // everything else and close the function call.\n this.tokens.removeInitialToken();\n while (!this.tokens.matches1(tt.jsxTagEnd)) {\n this.tokens.removeToken();\n }\n this.tokens.replaceToken(\")\");\n }\n\n /**\n * Convert the current JSX element to a createElement call. In the classic\n * runtime, this is the only case. In the automatic runtime, this is called\n * as a fallback in some situations.\n *\n * Example:\n *
Hello{x}
\n * becomes\n * React.createElement('div', {a: 1, key: 2}, \"Hello\", x)\n */\n transformTagToCreateElement(elementLocationCode) {\n // First tag is always jsxTagStart.\n this.tokens.replaceToken(this.getCreateElementInvocationCode());\n\n if (this.tokens.matches1(tt.jsxTagEnd)) {\n // Fragment syntax.\n this.tokens.replaceToken(`${this.getFragmentCode()}, null`);\n this.processChildren(true);\n } else {\n // Normal open tag or self-closing tag.\n this.processTagIntro();\n this.processPropsObjectWithDevInfo(elementLocationCode);\n\n if (this.tokens.matches2(tt.slash, tt.jsxTagEnd)) {\n // Self-closing tag; no children to process.\n } else if (this.tokens.matches1(tt.jsxTagEnd)) {\n // Tag with children and a close-tag; process the children as args.\n this.tokens.removeToken();\n this.processChildren(true);\n } else {\n throw new Error(\"Expected either /> or > at the end of the tag.\");\n }\n }\n // We're at the close-tag or the end of a self-closing tag, so remove\n // everything else and close the function call.\n this.tokens.removeInitialToken();\n while (!this.tokens.matches1(tt.jsxTagEnd)) {\n this.tokens.removeToken();\n }\n this.tokens.replaceToken(\")\");\n }\n\n /**\n * Get the code for the relevant function for this context: jsx, jsxs,\n * or jsxDEV. The following open-paren is included as well.\n *\n * These functions are only used for the automatic runtime, so they are always\n * auto-imported, but the auto-import will be either CJS or ESM based on the\n * target module format.\n */\n getJSXFuncInvocationCode(isStatic) {\n if (this.options.production) {\n if (isStatic) {\n return this.claimAutoImportedFuncInvocation(\"jsxs\", \"/jsx-runtime\");\n } else {\n return this.claimAutoImportedFuncInvocation(\"jsx\", \"/jsx-runtime\");\n }\n } else {\n return this.claimAutoImportedFuncInvocation(\"jsxDEV\", \"/jsx-dev-runtime\");\n }\n }\n\n /**\n * Return the code to use for the createElement function, e.g.\n * `React.createElement`, including the following open-paren.\n *\n * This is the main function to use for the classic runtime. For the\n * automatic runtime, this function is used as a fallback function to\n * preserve behavior when there is a prop spread followed by an explicit\n * key. In that automatic runtime case, the function should be automatically\n * imported.\n */\n getCreateElementInvocationCode() {\n if (this.isAutomaticRuntime) {\n return this.claimAutoImportedFuncInvocation(\"createElement\", \"\");\n } else {\n const {jsxPragmaInfo} = this;\n const resolvedPragmaBaseName = this.importProcessor\n ? this.importProcessor.getIdentifierReplacement(jsxPragmaInfo.base) || jsxPragmaInfo.base\n : jsxPragmaInfo.base;\n return `${resolvedPragmaBaseName}${jsxPragmaInfo.suffix}(`;\n }\n }\n\n /**\n * Return the code to use as the component when compiling a shorthand\n * fragment, e.g. `React.Fragment`.\n *\n * This may be called from either the classic or automatic runtime, and\n * the value should be auto-imported for the automatic runtime.\n */\n getFragmentCode() {\n if (this.isAutomaticRuntime) {\n return this.claimAutoImportedName(\n \"Fragment\",\n this.options.production ? \"/jsx-runtime\" : \"/jsx-dev-runtime\",\n );\n } else {\n const {jsxPragmaInfo} = this;\n const resolvedFragmentPragmaBaseName = this.importProcessor\n ? this.importProcessor.getIdentifierReplacement(jsxPragmaInfo.fragmentBase) ||\n jsxPragmaInfo.fragmentBase\n : jsxPragmaInfo.fragmentBase;\n return resolvedFragmentPragmaBaseName + jsxPragmaInfo.fragmentSuffix;\n }\n }\n\n /**\n * Return code that invokes the given function.\n *\n * When the imports transform is enabled, use the CJSImportTransformer\n * strategy of using `.call(void 0, ...` to avoid passing a `this` value in a\n * situation that would otherwise look like a method call.\n */\n claimAutoImportedFuncInvocation(funcName, importPathSuffix) {\n const funcCode = this.claimAutoImportedName(funcName, importPathSuffix);\n if (this.importProcessor) {\n return `${funcCode}.call(void 0, `;\n } else {\n return `${funcCode}(`;\n }\n }\n\n claimAutoImportedName(funcName, importPathSuffix) {\n if (this.importProcessor) {\n // CJS mode: claim a name for the module and mark it for import.\n const path = this.jsxImportSource + importPathSuffix;\n if (!this.cjsAutomaticModuleNameResolutions[path]) {\n this.cjsAutomaticModuleNameResolutions[path] =\n this.importProcessor.getFreeIdentifierForPath(path);\n }\n return `${this.cjsAutomaticModuleNameResolutions[path]}.${funcName}`;\n } else {\n // ESM mode: claim a name for this function and add it to the names that\n // should be auto-imported when the prefix is generated.\n if (!this.esmAutomaticImportNameResolutions[funcName]) {\n this.esmAutomaticImportNameResolutions[funcName] = this.nameManager.claimFreeName(\n `_${funcName}`,\n );\n }\n return this.esmAutomaticImportNameResolutions[funcName];\n }\n }\n\n /**\n * Process the first part of a tag, before any props.\n */\n processTagIntro() {\n // Walk forward until we see one of these patterns:\n // jsxName to start the first prop, preceded by another jsxName to end the tag name.\n // jsxName to start the first prop, preceded by greaterThan to end the type argument.\n // [open brace] to start the first prop.\n // [jsxTagEnd] to end the open-tag.\n // [slash, jsxTagEnd] to end the self-closing tag.\n let introEnd = this.tokens.currentIndex() + 1;\n while (\n this.tokens.tokens[introEnd].isType ||\n (!this.tokens.matches2AtIndex(introEnd - 1, tt.jsxName, tt.jsxName) &&\n !this.tokens.matches2AtIndex(introEnd - 1, tt.greaterThan, tt.jsxName) &&\n !this.tokens.matches1AtIndex(introEnd, tt.braceL) &&\n !this.tokens.matches1AtIndex(introEnd, tt.jsxTagEnd) &&\n !this.tokens.matches2AtIndex(introEnd, tt.slash, tt.jsxTagEnd))\n ) {\n introEnd++;\n }\n if (introEnd === this.tokens.currentIndex() + 1) {\n const tagName = this.tokens.identifierName();\n if (startsWithLowerCase(tagName)) {\n this.tokens.replaceToken(`'${tagName}'`);\n }\n }\n while (this.tokens.currentIndex() < introEnd) {\n this.rootTransformer.processToken();\n }\n }\n\n /**\n * Starting at the beginning of the props, add the props argument to\n * React.createElement, including the comma before it.\n */\n processPropsObjectWithDevInfo(elementLocationCode) {\n const devProps = this.options.production\n ? \"\"\n : `__self: this, __source: ${this.getDevSource(elementLocationCode)}`;\n if (!this.tokens.matches1(tt.jsxName) && !this.tokens.matches1(tt.braceL)) {\n if (devProps) {\n this.tokens.appendCode(`, {${devProps}}`);\n } else {\n this.tokens.appendCode(`, null`);\n }\n return;\n }\n this.tokens.appendCode(`, {`);\n this.processProps(false);\n if (devProps) {\n this.tokens.appendCode(` ${devProps}}`);\n } else {\n this.tokens.appendCode(\"}\");\n }\n }\n\n /**\n * Transform the core part of the props, assuming that a { has already been\n * inserted before us and that a } will be inserted after us.\n *\n * If extractKeyCode is true (i.e. when using any jsx... function), any prop\n * named \"key\" has its code captured and returned rather than being emitted to\n * the output code. This shifts line numbers, and emitting the code later will\n * correct line numbers again. If no key is found or if extractKeyCode is\n * false, this function returns null.\n */\n processProps(extractKeyCode) {\n let keyCode = null;\n while (true) {\n if (this.tokens.matches2(tt.jsxName, tt.eq)) {\n // This is a regular key={value} or key=\"value\" prop.\n const propName = this.tokens.identifierName();\n if (extractKeyCode && propName === \"key\") {\n if (keyCode !== null) {\n // The props list has multiple keys. Different implementations are\n // inconsistent about what to do here: as of this writing, Babel and\n // swc keep the *last* key and completely remove the rest, while\n // TypeScript uses the *first* key and leaves the others as regular\n // props. The React team collaborated with Babel on the\n // implementation of this behavior, so presumably the Babel behavior\n // is the one to use.\n // Since we won't ever be emitting the previous key code, we need to\n // at least emit its newlines here so that the line numbers match up\n // in the long run.\n this.tokens.appendCode(keyCode.replace(/[^\\n]/g, \"\"));\n }\n // key\n this.tokens.removeToken();\n // =\n this.tokens.removeToken();\n const snapshot = this.tokens.snapshot();\n this.processPropValue();\n keyCode = this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(snapshot);\n // Don't add a comma\n continue;\n } else {\n this.processPropName(propName);\n this.tokens.replaceToken(\": \");\n this.processPropValue();\n }\n } else if (this.tokens.matches1(tt.jsxName)) {\n // This is a shorthand prop like .\n const propName = this.tokens.identifierName();\n this.processPropName(propName);\n this.tokens.appendCode(\": true\");\n } else if (this.tokens.matches1(tt.braceL)) {\n // This is prop spread, like
, which we can pass\n // through fairly directly as an object spread.\n this.tokens.replaceToken(\"\");\n this.rootTransformer.processBalancedCode();\n this.tokens.replaceToken(\"\");\n } else {\n break;\n }\n this.tokens.appendCode(\",\");\n }\n return keyCode;\n }\n\n processPropName(propName) {\n if (propName.includes(\"-\")) {\n this.tokens.replaceToken(`'${propName}'`);\n } else {\n this.tokens.copyToken();\n }\n }\n\n processPropValue() {\n if (this.tokens.matches1(tt.braceL)) {\n this.tokens.replaceToken(\"\");\n this.rootTransformer.processBalancedCode();\n this.tokens.replaceToken(\"\");\n } else if (this.tokens.matches1(tt.jsxTagStart)) {\n this.processJSXTag();\n } else {\n this.processStringPropValue();\n }\n }\n\n processStringPropValue() {\n const token = this.tokens.currentToken();\n const valueCode = this.tokens.code.slice(token.start + 1, token.end - 1);\n const replacementCode = formatJSXTextReplacement(valueCode);\n const literalCode = formatJSXStringValueLiteral(valueCode);\n this.tokens.replaceToken(literalCode + replacementCode);\n }\n\n /**\n * Starting in the middle of the props object literal, produce an additional\n * prop for the children and close the object literal.\n */\n processAutomaticChildrenAndEndProps(jsxRole) {\n if (jsxRole === JSXRole.StaticChildren) {\n this.tokens.appendCode(\" children: [\");\n this.processChildren(false);\n this.tokens.appendCode(\"]}\");\n } else {\n // The parser information tells us whether we will see a real child or if\n // all remaining children (if any) will resolve to empty. If there are no\n // non-empty children, don't emit a children prop at all, but still\n // process children so that we properly transform the code into nothing.\n if (jsxRole === JSXRole.OneChild) {\n this.tokens.appendCode(\" children: \");\n }\n this.processChildren(false);\n this.tokens.appendCode(\"}\");\n }\n }\n\n /**\n * Transform children into a comma-separated list, which will be either\n * arguments to createElement or array elements of a children prop.\n */\n processChildren(needsInitialComma) {\n let needsComma = needsInitialComma;\n while (true) {\n if (this.tokens.matches2(tt.jsxTagStart, tt.slash)) {\n // Closing tag, so no more children.\n return;\n }\n let didEmitElement = false;\n if (this.tokens.matches1(tt.braceL)) {\n if (this.tokens.matches2(tt.braceL, tt.braceR)) {\n // Empty interpolations and comment-only interpolations are allowed\n // and don't create an extra child arg.\n this.tokens.replaceToken(\"\");\n this.tokens.replaceToken(\"\");\n } else {\n // Interpolated expression.\n this.tokens.replaceToken(needsComma ? \", \" : \"\");\n this.rootTransformer.processBalancedCode();\n this.tokens.replaceToken(\"\");\n didEmitElement = true;\n }\n } else if (this.tokens.matches1(tt.jsxTagStart)) {\n // Child JSX element\n this.tokens.appendCode(needsComma ? \", \" : \"\");\n this.processJSXTag();\n didEmitElement = true;\n } else if (this.tokens.matches1(tt.jsxText) || this.tokens.matches1(tt.jsxEmptyText)) {\n didEmitElement = this.processChildTextElement(needsComma);\n } else {\n throw new Error(\"Unexpected token when processing JSX children.\");\n }\n if (didEmitElement) {\n needsComma = true;\n }\n }\n }\n\n /**\n * Turn a JSX text element into a string literal, or nothing at all if the JSX\n * text resolves to the empty string.\n *\n * Returns true if a string literal is emitted, false otherwise.\n */\n processChildTextElement(needsComma) {\n const token = this.tokens.currentToken();\n const valueCode = this.tokens.code.slice(token.start, token.end);\n const replacementCode = formatJSXTextReplacement(valueCode);\n const literalCode = formatJSXTextLiteral(valueCode);\n if (literalCode === '\"\"') {\n this.tokens.replaceToken(replacementCode);\n return false;\n } else {\n this.tokens.replaceToken(`${needsComma ? \", \" : \"\"}${literalCode}${replacementCode}`);\n return true;\n }\n }\n\n getDevSource(elementLocationCode) {\n return `{fileName: ${this.getFilenameVarName()}, ${elementLocationCode}}`;\n }\n\n getFilenameVarName() {\n if (!this.filenameVarName) {\n this.filenameVarName = this.nameManager.claimFreeName(\"_jsxFileName\");\n }\n return this.filenameVarName;\n }\n}\n\n/**\n * Spec for identifiers: https://tc39.github.io/ecma262/#prod-IdentifierStart.\n *\n * Really only treat anything starting with a-z as tag names. `_`, `$`, `é`\n * should be treated as component names\n */\nexport function startsWithLowerCase(s) {\n const firstChar = s.charCodeAt(0);\n return firstChar >= charCodes.lowercaseA && firstChar <= charCodes.lowercaseZ;\n}\n\n/**\n * Turn the given jsxText string into a JS string literal. Leading and trailing\n * whitespace on lines is removed, except immediately after the open-tag and\n * before the close-tag. Empty lines are completely removed, and spaces are\n * added between lines after that.\n *\n * We use JSON.stringify to introduce escape characters as necessary, and trim\n * the start and end of each line and remove blank lines.\n */\nfunction formatJSXTextLiteral(text) {\n let result = \"\";\n let whitespace = \"\";\n\n let isInInitialLineWhitespace = false;\n let seenNonWhitespace = false;\n for (let i = 0; i < text.length; i++) {\n const c = text[i];\n if (c === \" \" || c === \"\\t\" || c === \"\\r\") {\n if (!isInInitialLineWhitespace) {\n whitespace += c;\n }\n } else if (c === \"\\n\") {\n whitespace = \"\";\n isInInitialLineWhitespace = true;\n } else {\n if (seenNonWhitespace && isInInitialLineWhitespace) {\n result += \" \";\n }\n result += whitespace;\n whitespace = \"\";\n if (c === \"&\") {\n const {entity, newI} = processEntity(text, i + 1);\n i = newI - 1;\n result += entity;\n } else {\n result += c;\n }\n seenNonWhitespace = true;\n isInInitialLineWhitespace = false;\n }\n }\n if (!isInInitialLineWhitespace) {\n result += whitespace;\n }\n return JSON.stringify(result);\n}\n\n/**\n * Produce the code that should be printed after the JSX text string literal,\n * with most content removed, but all newlines preserved and all spacing at the\n * end preserved.\n */\nfunction formatJSXTextReplacement(text) {\n let numNewlines = 0;\n let numSpaces = 0;\n for (const c of text) {\n if (c === \"\\n\") {\n numNewlines++;\n numSpaces = 0;\n } else if (c === \" \") {\n numSpaces++;\n }\n }\n return \"\\n\".repeat(numNewlines) + \" \".repeat(numSpaces);\n}\n\n/**\n * Format a string in the value position of a JSX prop.\n *\n * Use the same implementation as convertAttribute from\n * babel-helper-builder-react-jsx.\n */\nfunction formatJSXStringValueLiteral(text) {\n let result = \"\";\n for (let i = 0; i < text.length; i++) {\n const c = text[i];\n if (c === \"\\n\") {\n if (/\\s/.test(text[i + 1])) {\n result += \" \";\n while (i < text.length && /\\s/.test(text[i + 1])) {\n i++;\n }\n } else {\n result += \"\\n\";\n }\n } else if (c === \"&\") {\n const {entity, newI} = processEntity(text, i + 1);\n result += entity;\n i = newI - 1;\n } else {\n result += c;\n }\n }\n return JSON.stringify(result);\n}\n\n/**\n * Starting at a &, see if there's an HTML entity (specified by name, decimal\n * char code, or hex char code) and return it if so.\n *\n * Modified from jsxReadString in babel-parser.\n */\nfunction processEntity(text, indexAfterAmpersand) {\n let str = \"\";\n let count = 0;\n let entity;\n let i = indexAfterAmpersand;\n\n if (text[i] === \"#\") {\n let radix = 10;\n i++;\n let numStart;\n if (text[i] === \"x\") {\n radix = 16;\n i++;\n numStart = i;\n while (i < text.length && isHexDigit(text.charCodeAt(i))) {\n i++;\n }\n } else {\n numStart = i;\n while (i < text.length && isDecimalDigit(text.charCodeAt(i))) {\n i++;\n }\n }\n if (text[i] === \";\") {\n const numStr = text.slice(numStart, i);\n if (numStr) {\n i++;\n entity = String.fromCodePoint(parseInt(numStr, radix));\n }\n }\n } else {\n while (i < text.length && count++ < 10) {\n const ch = text[i];\n i++;\n if (ch === \";\") {\n entity = XHTMLEntities.get(str);\n break;\n }\n str += ch;\n }\n }\n\n if (!entity) {\n return {entity: \"&\", newI: indexAfterAmpersand};\n }\n return {entity, newI: i};\n}\n\nfunction isDecimalDigit(code) {\n return code >= charCodes.digit0 && code <= charCodes.digit9;\n}\n\nfunction isHexDigit(code) {\n return (\n (code >= charCodes.digit0 && code <= charCodes.digit9) ||\n (code >= charCodes.lowercaseA && code <= charCodes.lowercaseF) ||\n (code >= charCodes.uppercaseA && code <= charCodes.uppercaseF)\n );\n}\n","// More types exposed from `index.d.ts`.\nexport {VFile} from './lib/index.js'\n","module.exports = require('buffer-okam/');\n","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nvar autoAdjustOverflow = {\n adjustX: 1,\n adjustY: 1\n};\nvar targetOffset = [0, 0];\nvar basePlacements = {\n left: {\n points: ['cr', 'cl'],\n offset: [-8, 0]\n },\n right: {\n points: ['cl', 'cr'],\n offset: [8, 0]\n },\n top: {\n points: ['bc', 'tc'],\n offset: [0, -8]\n },\n bottom: {\n points: ['tc', 'bc'],\n offset: [0, 8]\n },\n topLeft: {\n points: ['bl', 'tl'],\n offset: [0, -8]\n },\n leftTop: {\n points: ['tr', 'tl'],\n offset: [-8, 0]\n },\n topRight: {\n points: ['br', 'tr'],\n offset: [0, -8]\n },\n rightTop: {\n points: ['tl', 'tr'],\n offset: [8, 0]\n },\n bottomRight: {\n points: ['tr', 'br'],\n offset: [0, 8]\n },\n rightBottom: {\n points: ['bl', 'br'],\n offset: [8, 0]\n },\n bottomLeft: {\n points: ['tl', 'bl'],\n offset: [0, 8]\n },\n leftBottom: {\n points: ['br', 'bl'],\n offset: [-8, 0]\n }\n};\nexport function getPlacements() {\n var arrowPointAtCenter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var placements = {};\n Object.keys(basePlacements).forEach(function (key) {\n placements[key] = _objectSpread(_objectSpread({}, basePlacements[key]), {}, {\n autoArrow: arrowPointAtCenter,\n targetOffset: targetOffset\n });\n });\n return placements;\n}\nexport var placements = getPlacements();","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ForkOutlinedSvg from \"@ant-design/icons-svg/es/asn/ForkOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ForkOutlined = function ForkOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ForkOutlinedSvg\n }));\n};\n\n/**![fork](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc1MiAxMDBjLTYxLjggMC0xMTIgNTAuMi0xMTIgMTEyIDAgNDcuNyAyOS45IDg4LjUgNzIgMTA0LjZ2MjcuNkw1MTIgNjAxLjQgMzEyIDM0NC4ydi0yNy42YzQyLjEtMTYuMSA3Mi01Ni45IDcyLTEwNC42IDAtNjEuOC01MC4yLTExMi0xMTItMTEycy0xMTIgNTAuMi0xMTIgMTEyYzAgNTAuNiAzMy44IDkzLjUgODAgMTA3LjN2MzQuNGMwIDkuNyAzLjMgMTkuMyA5LjMgMjdMNDc2IDY3Mi4zdjMzLjZjLTQ0LjIgMTUtNzYgNTYuOS03NiAxMDYuMSAwIDYxLjggNTAuMiAxMTIgMTEyIDExMnMxMTItNTAuMiAxMTItMTEyYzAtNDkuMi0zMS44LTkxLTc2LTEwNi4xdi0zMy42bDIyNi43LTI5MS42YzYtNy43IDkuMy0xNy4zIDkuMy0yN3YtMzQuNGM0Ni4yLTEzLjggODAtNTYuNyA4MC0xMDcuMyAwLTYxLjgtNTAuMi0xMTItMTEyLTExMnpNMjI0IDIxMmE0OC4wMSA0OC4wMSAwIDAxOTYgMCA0OC4wMSA0OC4wMSAwIDAxLTk2IDB6bTMzNiA2MDBhNDguMDEgNDguMDEgMCAwMS05NiAwIDQ4LjAxIDQ4LjAxIDAgMDE5NiAwem0xOTItNTUyYTQ4LjAxIDQ4LjAxIDAgMDEwLTk2IDQ4LjAxIDQ4LjAxIDAgMDEwIDk2eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ForkOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ForkOutlined';\n}\nexport default RefIcon;","/**\n * @import {ConstructName, Unsafe} from 'mdast-util-to-markdown'\n */\n\n/**\n * @param {Array} stack\n * @param {Unsafe} pattern\n * @returns {boolean}\n */\nexport function patternInScope(stack, pattern) {\n return (\n listInScope(stack, pattern.inConstruct, true) &&\n !listInScope(stack, pattern.notInConstruct, false)\n )\n}\n\n/**\n * @param {Array} stack\n * @param {Unsafe['inConstruct']} list\n * @param {boolean} none\n * @returns {boolean}\n */\nfunction listInScope(stack, list, none) {\n if (typeof list === 'string') {\n list = [list]\n }\n\n if (!list || list.length === 0) {\n return none\n }\n\n let index = -1\n\n while (++index < list.length) {\n if (stack.includes(list[index])) {\n return true\n }\n }\n\n return false\n}\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport BgColorsOutlinedSvg from \"@ant-design/icons-svg/es/asn/BgColorsOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar BgColorsOutlined = function BgColorsOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: BgColorsOutlinedSvg\n }));\n};\n\n/**![bg-colors](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2Ni40IDc0NC4zYzQzLjcgMCA3OS40LTM2LjIgNzkuNC04MC41IDAtNTMuNS03OS40LTE0MC44LTc5LjQtMTQwLjhTNjg3IDYxMC4zIDY4NyA2NjMuOGMwIDQ0LjMgMzUuNyA4MC41IDc5LjQgODAuNXptLTM3Ny4xLTQ0LjFjNy4xIDcuMSAxOC42IDcuMSAyNS42IDBsMjU2LjEtMjU2YzcuMS03LjEgNy4xLTE4LjYgMC0yNS42bC0yNTYtMjU2Yy0uNi0uNi0xLjMtMS4yLTItMS43bC03OC4yLTc4LjJhOS4xMSA5LjExIDAgMDAtMTIuOCAwbC00OCA0OGE5LjExIDkuMTEgMCAwMDAgMTIuOGw2Ny4yIDY3LjItMjA3LjggMjA3LjljLTcuMSA3LjEtNy4xIDE4LjYgMCAyNS42bDI1NS45IDI1NnptMTIuOS00NDguNmwxNzguOSAxNzguOUgyMjMuNGwxNzguOC0xNzguOXpNOTA0IDgxNkgxMjBjLTQuNCAwLTggMy42LTggOHY4MGMwIDQuNCAzLjYgOCA4IDhoNzg0YzQuNCAwIDgtMy42IDgtOHYtODBjMC00LjQtMy42LTgtOC04eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(BgColorsOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'BgColorsOutlined';\n}\nexport default RefIcon;","import * as React from 'react';\n\n/**\n * Cache callback function that always return same ref instead.\n * This is used for context optimization.\n */\nexport default function useMemoCallback(func) {\n var funRef = React.useRef(func);\n funRef.current = func;\n var callback = React.useCallback(function () {\n var _funRef$current;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_funRef$current = funRef.current) === null || _funRef$current === void 0 ? void 0 : _funRef$current.call.apply(_funRef$current, [funRef].concat(args));\n }, []);\n return func ? callback : undefined;\n}","/**\n * @import {Info, State} from 'mdast-util-to-markdown'\n * @import {Image, Parents} from 'mdast'\n */\n\nimport {checkQuote} from '../util/check-quote.js'\n\nimage.peek = imagePeek\n\n/**\n * @param {Image} node\n * @param {Parents | undefined} _\n * @param {State} state\n * @param {Info} info\n * @returns {string}\n */\nexport function image(node, _, state, info) {\n const quote = checkQuote(state)\n const suffix = quote === '\"' ? 'Quote' : 'Apostrophe'\n const exit = state.enter('image')\n let subexit = state.enter('label')\n const tracker = state.createTracker(info)\n let value = tracker.move('![')\n value += tracker.move(\n state.safe(node.alt, {before: value, after: ']', ...tracker.current()})\n )\n value += tracker.move('](')\n\n subexit()\n\n if (\n // If there’s no url but there is a title…\n (!node.url && node.title) ||\n // If there are control characters or whitespace.\n /[\\0- \\u007F]/.test(node.url)\n ) {\n subexit = state.enter('destinationLiteral')\n value += tracker.move('<')\n value += tracker.move(\n state.safe(node.url, {before: value, after: '>', ...tracker.current()})\n )\n value += tracker.move('>')\n } else {\n // No whitespace, raw is prettier.\n subexit = state.enter('destinationRaw')\n value += tracker.move(\n state.safe(node.url, {\n before: value,\n after: node.title ? ' ' : ')',\n ...tracker.current()\n })\n )\n }\n\n subexit()\n\n if (node.title) {\n subexit = state.enter(`title${suffix}`)\n value += tracker.move(' ' + quote)\n value += tracker.move(\n state.safe(node.title, {\n before: value,\n after: quote,\n ...tracker.current()\n })\n )\n value += tracker.move(quote)\n subexit()\n }\n\n value += tracker.move(')')\n exit()\n\n return value\n}\n\n/**\n * @returns {string}\n */\nfunction imagePeek() {\n return '!'\n}\n","/**\n * @import {\n * Construct,\n * Resolver,\n * State,\n * TokenizeContext,\n * Tokenizer,\n * Token\n * } from 'micromark-util-types'\n */\n\nimport { factorySpace } from 'micromark-factory-space';\nimport { markdownLineEnding } from 'micromark-util-character';\nimport { subtokenize } from 'micromark-util-subtokenize';\n/**\n * No name because it must not be turned off.\n * @type {Construct}\n */\nexport const content = {\n resolve: resolveContent,\n tokenize: tokenizeContent\n};\n\n/** @type {Construct} */\nconst continuationConstruct = {\n partial: true,\n tokenize: tokenizeContinuation\n};\n\n/**\n * Content is transparent: it’s parsed right now. That way, definitions are also\n * parsed right now: before text in paragraphs (specifically, media) are parsed.\n *\n * @type {Resolver}\n */\nfunction resolveContent(events) {\n subtokenize(events);\n return events;\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeContent(effects, ok) {\n /** @type {Token | undefined} */\n let previous;\n return chunkStart;\n\n /**\n * Before a content chunk.\n *\n * ```markdown\n * > | abc\n * ^\n * ```\n *\n * @type {State}\n */\n function chunkStart(code) {\n effects.enter(\"content\");\n previous = effects.enter(\"chunkContent\", {\n contentType: \"content\"\n });\n return chunkInside(code);\n }\n\n /**\n * In a content chunk.\n *\n * ```markdown\n * > | abc\n * ^^^\n * ```\n *\n * @type {State}\n */\n function chunkInside(code) {\n if (code === null) {\n return contentEnd(code);\n }\n\n // To do: in `markdown-rs`, each line is parsed on its own, and everything\n // is stitched together resolving.\n if (markdownLineEnding(code)) {\n return effects.check(continuationConstruct, contentContinue, contentEnd)(code);\n }\n\n // Data.\n effects.consume(code);\n return chunkInside;\n }\n\n /**\n *\n *\n * @type {State}\n */\n function contentEnd(code) {\n effects.exit(\"chunkContent\");\n effects.exit(\"content\");\n return ok(code);\n }\n\n /**\n *\n *\n * @type {State}\n */\n function contentContinue(code) {\n effects.consume(code);\n effects.exit(\"chunkContent\");\n previous.next = effects.enter(\"chunkContent\", {\n contentType: \"content\",\n previous\n });\n previous = previous.next;\n return chunkInside;\n }\n}\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeContinuation(effects, ok, nok) {\n const self = this;\n return startLookahead;\n\n /**\n *\n *\n * @type {State}\n */\n function startLookahead(code) {\n effects.exit(\"chunkContent\");\n effects.enter(\"lineEnding\");\n effects.consume(code);\n effects.exit(\"lineEnding\");\n return factorySpace(effects, prefixed, \"linePrefix\");\n }\n\n /**\n *\n *\n * @type {State}\n */\n function prefixed(code) {\n if (code === null || markdownLineEnding(code)) {\n return nok(code);\n }\n\n // Always populated by defaults.\n\n const tail = self.events[self.events.length - 1];\n if (!self.parser.constructs.disable.null.includes('codeIndented') && tail && tail[1].type === \"linePrefix\" && tail[2].sliceSerialize(tail[1], true).length >= 4) {\n return ok(code);\n }\n return effects.interrupt(self.parser.constructs.flow, nok, ok)(code);\n }\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FolderOpenOutlinedSvg from \"@ant-design/icons-svg/es/asn/FolderOpenOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FolderOpenOutlined = function FolderOpenOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FolderOpenOutlinedSvg\n }));\n};\n\n/**![folder-open](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCA0NDRIODIwVjMzMC40YzAtMTcuNy0xNC4zLTMyLTMyLTMySDQ3M0wzNTUuNyAxODYuMmE4LjE1IDguMTUgMCAwMC01LjUtMi4ySDk2Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY1OTJjMCAxNy43IDE0LjMgMzIgMzIgMzJoNjk4YzEzIDAgMjQuOC03LjkgMjkuNy0yMGwxMzQtMzMyYzEuNS0zLjggMi4zLTcuOSAyLjMtMTIgMC0xNy43LTE0LjMtMzItMzItMzJ6TTEzNiAyNTZoMTg4LjVsMTE5LjYgMTE0LjRINzQ4VjQ0NEgyMzhjLTEzIDAtMjQuOCA3LjktMjkuNyAyMEwxMzYgNjQzLjJWMjU2em02MzUuMyA1MTJIMTU5bDEwMy4zLTI1Nmg2MTIuNEw3NzEuMyA3Njh6IiAvPjwvc3ZnPg==) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FolderOpenOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FolderOpenOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport PhoneOutlinedSvg from \"@ant-design/icons-svg/es/asn/PhoneOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar PhoneOutlined = function PhoneOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: PhoneOutlinedSvg\n }));\n};\n\n/**![phone](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg3Ny4xIDIzOC43TDc3MC42IDEzMi4zYy0xMy0xMy0zMC40LTIwLjMtNDguOC0yMC4zcy0zNS44IDcuMi00OC44IDIwLjNMNTU4LjMgMjQ2LjhjLTEzIDEzLTIwLjMgMzAuNS0yMC4zIDQ4LjkgMCAxOC41IDcuMiAzNS44IDIwLjMgNDguOWw4OS42IDg5LjdhNDA1LjQ2IDQwNS40NiAwIDAxLTg2LjQgMTI3LjNjLTM2LjcgMzYuOS03OS42IDY2LTEyNy4yIDg2LjZsLTg5LjYtODkuN2MtMTMtMTMtMzAuNC0yMC4zLTQ4LjgtMjAuM2E2OC4yIDY4LjIgMCAwMC00OC44IDIwLjNMMTMyLjMgNjczYy0xMyAxMy0yMC4zIDMwLjUtMjAuMyA0OC45IDAgMTguNSA3LjIgMzUuOCAyMC4zIDQ4LjlsMTA2LjQgMTA2LjRjMjIuMiAyMi4yIDUyLjggMzQuOSA4NC4yIDM0LjkgNi41IDAgMTIuOC0uNSAxOS4yLTEuNiAxMzIuNC0yMS44IDI2My44LTkyLjMgMzY5LjktMTk4LjNDODE4IDYwNiA4ODguNCA0NzQuNiA5MTAuNCAzNDIuMWM2LjMtMzcuNi02LjMtNzYuMy0zMy4zLTEwMy40em0tMzcuNiA5MS41Yy0xOS41IDExNy45LTgyLjkgMjM1LjUtMTc4LjQgMzMxcy0yMTMgMTU4LjktMzMwLjkgMTc4LjRjLTE0LjggMi41LTMwLTIuNS00MC44LTEzLjJMMTg0LjkgNzIxLjkgMjk1LjcgNjExbDExOS44IDEyMCAuOS45IDIxLjYtOGE0ODEuMjkgNDgxLjI5IDAgMDAyODUuNy0yODUuOGw4LTIxLjYtMTIwLjgtMTIwLjcgMTEwLjgtMTEwLjkgMTA0LjUgMTA0LjVjMTAuOCAxMC44IDE1LjggMjYgMTMuMyA0MC44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(PhoneOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'PhoneOutlined';\n}\nexport default RefIcon;","import { useRef } from 'react';\nexport default (function (isScrollAtTop, isScrollAtBottom, isScrollAtLeft, isScrollAtRight) {\n // Do lock for a wheel when scrolling\n var lockRef = useRef(false);\n var lockTimeoutRef = useRef(null);\n function lockScroll() {\n clearTimeout(lockTimeoutRef.current);\n lockRef.current = true;\n lockTimeoutRef.current = setTimeout(function () {\n lockRef.current = false;\n }, 50);\n }\n\n // Pass to ref since global add is in closure\n var scrollPingRef = useRef({\n top: isScrollAtTop,\n bottom: isScrollAtBottom,\n left: isScrollAtLeft,\n right: isScrollAtRight\n });\n scrollPingRef.current.top = isScrollAtTop;\n scrollPingRef.current.bottom = isScrollAtBottom;\n scrollPingRef.current.left = isScrollAtLeft;\n scrollPingRef.current.right = isScrollAtRight;\n return function (isHorizontal, delta) {\n var smoothOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var originScroll = isHorizontal ?\n // Pass origin wheel when on the left\n delta < 0 && scrollPingRef.current.left ||\n // Pass origin wheel when on the right\n delta > 0 && scrollPingRef.current.right // Pass origin wheel when on the top\n : delta < 0 && scrollPingRef.current.top ||\n // Pass origin wheel when on the bottom\n delta > 0 && scrollPingRef.current.bottom;\n if (smoothOffset && originScroll) {\n // No need lock anymore when it's smooth offset from touchMove interval\n clearTimeout(lockTimeoutRef.current);\n lockRef.current = false;\n } else if (!originScroll || lockRef.current) {\n lockScroll();\n }\n return !lockRef.current && originScroll;\n };\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport FundTwoToneSvg from \"@ant-design/icons-svg/es/asn/FundTwoTone\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar FundTwoTone = function FundTwoTone(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: FundTwoToneSvg\n }));\n};\n\n/**![fund](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTkyOCAxNjBIOTZjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjY0MGMwIDE3LjcgMTQuMyAzMiAzMiAzMmg4MzJjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTkyYzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDAgNjMySDEzNlYyMzJoNzUydjU2MHoiIGZpbGw9IiMxNjc3ZmYiIC8+PHBhdGggZD0iTTEzNiA3OTJoNzUyVjIzMkgxMzZ2NTYwem01Ni40LTEzMC41bDIxNC45LTIxNWMzLjEtMy4xIDguMi0zLjEgMTEuMyAwTDUzMyA1NjFsMjU0LjUtMjU0LjZjMy4xLTMuMSA4LjItMy4xIDExLjMgMGwzNi44IDM2LjhjMy4xIDMuMSAzLjEgOC4yIDAgMTEuM2wtMjk3IDI5Ny4yYTguMDMgOC4wMyAwIDAxLTExLjMgMEw0MTIuOSA1MzcuMiAyNDAuNCA3MDkuN2E4LjAzIDguMDMgMCAwMS0xMS4zIDBsLTM2LjctMzYuOWE4LjAzIDguMDMgMCAwMTAtMTEuM3oiIGZpbGw9IiNlNmY0ZmYiIC8+PHBhdGggZD0iTTIyOS4xIDcwOS43YzMuMSAzLjEgOC4yIDMuMSAxMS4zIDBsMTcyLjUtMTcyLjUgMTE0LjQgMTE0LjVjMy4xIDMuMSA4LjIgMy4xIDExLjMgMGwyOTctMjk3LjJjMy4xLTMuMSAzLjEtOC4yIDAtMTEuM2wtMzYuOC0zNi44YTguMDMgOC4wMyAwIDAwLTExLjMgMEw1MzMgNTYxIDQxOC42IDQ0Ni41YTguMDMgOC4wMyAwIDAwLTExLjMgMGwtMjE0LjkgMjE1YTguMDMgOC4wMyAwIDAwMCAxMS4zbDM2LjcgMzYuOXoiIGZpbGw9IiMxNjc3ZmYiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(FundTwoTone);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'FundTwoTone';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport SafetyOutlinedSvg from \"@ant-design/icons-svg/es/asn/SafetyOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar SafetyOutlined = function SafetyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: SafetyOutlinedSvg\n }));\n};\n\n/**![safety](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEwxMjggMTkydjM4NGMwIDIxMi4xIDE3MS45IDM4NCAzODQgMzg0czM4NC0xNzEuOSAzODQtMzg0VjE5Mkw1MTIgNjR6bTMxMiA1MTJjMCAxNzIuMy0xMzkuNyAzMTItMzEyIDMxMlMyMDAgNzQ4LjMgMjAwIDU3NlYyNDZsMzEyLTExMCAzMTIgMTEwdjMzMHoiIC8+PHBhdGggZD0iTTM3OC40IDQ3NS4xYTM1LjkxIDM1LjkxIDAgMDAtNTAuOSAwIDM1LjkxIDM1LjkxIDAgMDAwIDUwLjlsMTI5LjQgMTI5LjQgMi4xIDIuMWEzMy45OCAzMy45OCAwIDAwNDguMSAwTDczMC42IDQzNGEzMy45OCAzMy45OCAwIDAwMC00OC4xbC0yLjgtMi44YTMzLjk4IDMzLjk4IDAgMDAtNDguMSAwTDQ4MyA1NzkuNyAzNzguNCA0NzUuMXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(SafetyOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'SafetyOutlined';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"icon\", \"type\"],\n _excluded2 = [\"onClear\"];\nimport * as React from 'react';\nimport PickerContext from \"../context\";\nexport default function Icon(props) {\n var icon = props.icon,\n type = props.type,\n restProps = _objectWithoutProperties(props, _excluded);\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n return icon ? /*#__PURE__*/React.createElement(\"span\", _extends({\n className: \"\".concat(prefixCls, \"-\").concat(type)\n }, restProps), icon) : null;\n}\nexport function ClearIcon(_ref) {\n var onClear = _ref.onClear,\n restProps = _objectWithoutProperties(_ref, _excluded2);\n return /*#__PURE__*/React.createElement(Icon, _extends({}, restProps, {\n type: \"clear\",\n role: \"button\",\n onMouseDown: function onMouseDown(e) {\n e.preventDefault();\n },\n onClick: function onClick(e) {\n e.stopPropagation();\n onClear();\n }\n }));\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport TrademarkOutlinedSvg from \"@ant-design/icons-svg/es/asn/TrademarkOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar TrademarkOutlined = function TrademarkOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: TrademarkOutlinedSvg\n }));\n};\n\n/**![trademark](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTEyIDY0em0wIDgyMGMtMjA1LjQgMC0zNzItMTY2LjYtMzcyLTM3MnMxNjYuNi0zNzIgMzcyLTM3MiAzNzIgMTY2LjYgMzcyIDM3Mi0xNjYuNiAzNzItMzcyIDM3MnptODcuNS0zMzQuN2MzNC44LTEyLjggNzguNC00OSA3OC40LTExOS4yIDAtNzEuMi00NS41LTEzMS4xLTE0NC4yLTEzMS4xSDM3OGMtNC40IDAtOCAzLjYtOCA4djQxMGMwIDQuNCAzLjYgOCA4IDhoNTQuNWM0LjQgMCA4LTMuNiA4LThWNTYxLjJoODguN2w3NC42IDE1OS4yYzEuMyAyLjggNC4xIDQuNiA3LjIgNC42aDYyYTcuOSA3LjkgMCAwMDcuMS0xMS41bC04MC42LTE2NC4yek01MjIgNTA1aC04MS41VjM1N2g4My40YzQ4IDAgODAuOSAyNS4zIDgwLjkgNzUuNSAwIDQ2LjktMjkuOCA3Mi41LTgyLjggNzIuNXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(TrademarkOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'TrademarkOutlined';\n}\nexport default RefIcon;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport { findListDiffIndex } from \"../utils/algorithmUtil\";\nexport default function useDiffItem(data, getKey, onDiff) {\n var _React$useState = React.useState(data),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n prevData = _React$useState2[0],\n setPrevData = _React$useState2[1];\n var _React$useState3 = React.useState(null),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n diffItem = _React$useState4[0],\n setDiffItem = _React$useState4[1];\n React.useEffect(function () {\n var diff = findListDiffIndex(prevData || [], data || [], getKey);\n if ((diff === null || diff === void 0 ? void 0 : diff.index) !== undefined) {\n onDiff === null || onDiff === void 0 || onDiff(diff.index);\n setDiffItem(data[diff.index]);\n }\n setPrevData(data);\n }, [data]);\n return [diffItem];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DollarCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/DollarCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DollarCircleOutlined = function DollarCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DollarCircleOutlinedSvg\n }));\n};\n\n/**![dollar-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUxMiA2NEMyNjQuNiA2NCA2NCAyNjQuNiA2NCA1MTJzMjAwLjYgNDQ4IDQ0OCA0NDggNDQ4LTIwMC42IDQ0OC00NDhTNzU5LjQgNjQgNTE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 'production') {\n RefIcon.displayName = 'DollarCircleOutlined';\n}\nexport default RefIcon;","var WILDCARD = '*';\n/* event-emitter */\nvar EventEmitter = /** @class */ (function () {\n function EventEmitter() {\n this._events = {};\n }\n /**\n * 监听一个事件\n * @param evt\n * @param callback\n * @param once\n */\n EventEmitter.prototype.on = function (evt, callback, once) {\n if (!this._events[evt]) {\n this._events[evt] = [];\n }\n this._events[evt].push({\n callback: callback,\n once: !!once,\n });\n return this;\n };\n /**\n * 监听一个事件一次\n * @param evt\n * @param callback\n */\n EventEmitter.prototype.once = function (evt, callback) {\n return this.on(evt, callback, true);\n };\n /**\n * 触发一个事件\n * @param evt\n * @param args\n */\n EventEmitter.prototype.emit = function (evt) {\n var _this = this;\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var events = this._events[evt] || [];\n var wildcardEvents = this._events[WILDCARD] || [];\n // 实际的处理 emit 方法\n var doEmit = function (es) {\n var length = es.length;\n for (var i = 0; i < length; i++) {\n if (!es[i]) {\n continue;\n }\n var _a = es[i], callback = _a.callback, once = _a.once;\n if (once) {\n es.splice(i, 1);\n if (es.length === 0) {\n delete _this._events[evt];\n }\n length--;\n i--;\n }\n callback.apply(_this, args);\n }\n };\n doEmit(events);\n doEmit(wildcardEvents);\n };\n /**\n * 取消监听一个事件,或者一个channel\n * @param evt\n * @param callback\n */\n EventEmitter.prototype.off = function (evt, callback) {\n if (!evt) {\n // evt 为空全部清除\n this._events = {};\n }\n else {\n if (!callback) {\n // evt 存在,callback 为空,清除事件所有方法\n delete this._events[evt];\n }\n else {\n // evt 存在,callback 存在,清除匹配的\n var events = this._events[evt] || [];\n var length_1 = events.length;\n for (var i = 0; i < length_1; i++) {\n if (events[i].callback === callback) {\n events.splice(i, 1);\n length_1--;\n i--;\n }\n }\n if (events.length === 0) {\n delete this._events[evt];\n }\n }\n }\n return this;\n };\n /* 当前所有的事件 */\n EventEmitter.prototype.getEvents = function () {\n return this._events;\n };\n return EventEmitter;\n}());\nexport default EventEmitter;\n//# sourceMappingURL=index.js.map","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport ZhihuSquareFilledSvg from \"@ant-design/icons-svg/es/asn/ZhihuSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar ZhihuSquareFilled = function ZhihuSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: ZhihuSquareFilledSvg\n }));\n};\n\n/**![zhihu-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNDMyLjMgNTkyLjhsNzEgODAuN2M5LjIgMzMtMy4zIDYzLjEtMy4zIDYzLjFsLTk1LjctMTExLjl2LS4xYy04LjkgMjktMjAuMSA1Ny4zLTMzLjMgODQuNy0yMi42IDQ1LjctNTUuMiA1NC43LTg5LjUgNTcuNy0zNC40IDMtMjMuMy01LjMtMjMuMy01LjMgNjgtNTUuNSA3OC04Ny44IDk2LjgtMTIzLjEgMTEuOS0yMi4zIDIwLjQtNjQuMyAyNS4zLTk2LjhIMjY0LjFzNC44LTMxLjIgMTkuMi00MS43aDEwMS42Yy42LTE1LjMtMS4zLTEwMi44LTItMTMxLjRoLTQ5LjRjLTkuMiA0NS00MSA1Ni43LTQ4LjEgNjAuMS03IDMuNC0yMy42IDcuMS0yMS4xIDAgMi42LTcuMSAyNy00Ni4yIDQzLjItMTEwLjcgMTYuMy02NC42IDYzLjktNjIgNjMuOS02Mi0xMi44IDIyLjUtMjIuNCA3My42LTIyLjQgNzMuNmgxNTkuN2MxMC4xIDAgMTAuNiAzOSAxMC42IDM5aC05MC44Yy0uNyAyMi43LTIuOCA4My44LTUgMTMxLjRINTE5czEyLjIgMTUuNCAxMi4yIDQxLjdoLTExMGwtLjEgMS41Yy0xLjUgMjAuNC02LjMgNDMuOS0xMi45IDY3LjZsMjQuMS0xOC4xem0zMzUuNSAxMTZoLTg3LjZsLTY5LjUgNDYuNi0xNi40LTQ2LjZoLTQwLjFWMzIxLjVoMjEzLjZ2Mzg3LjN6TTQwOC4yIDYxMXMwLS4xIDAgMHptMjE2IDk0LjNsNTYuOC0zOC4xaDQ1LjYtLjFWMzY0LjdINTk2Ljd2MzAyLjVoMTQuMXoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(ZhihuSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'ZhihuSquareFilled';\n}\nexport default RefIcon;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport DropboxSquareFilledSvg from \"@ant-design/icons-svg/es/asn/DropboxSquareFilled\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar DropboxSquareFilled = function DropboxSquareFilled(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: DropboxSquareFilledSvg\n }));\n};\n\n/**![dropbox-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTg4MCAxMTJIMTQ0Yy0xNy43IDAtMzIgMTQuMy0zMiAzMnY3MzZjMCAxNy43IDE0LjMgMzIgMzIgMzJoNzM2YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjE0NGMwLTE3LjctMTQuMy0zMi0zMi0zMnpNNjYzLjIgNjU5LjVMNTEyLjYgNzUwbC0xNTEtOTAuNXYtMzMuMWw0NS40IDI5LjQgMTA1LjYtODcuNyAxMDUuNiA4Ny43IDQ1LjEtMjkuNHYzMy4xem0tNDUuNi0yMi40bC0xMDUuMy04Ny43TDQwNyA2MzcuMWwtMTUxLTk5LjIgMTA0LjUtODIuNEwyNTYgMzcxLjIgNDA3IDI3NGwxMDUuMyA4Ny43TDYxNy42IDI3NCA3NjggMzcyLjFsLTEwNC4yIDgzLjVMNzY4IDUzOWwtMTUwLjQgOTguMXpNNTEyLjMgMzYxLjdsLTE1MS44IDkzLjggMTUxLjggOTMuOSAxNTEuNS05My45em0xNTEuNSA5My44eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(DropboxSquareFilled);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'DropboxSquareFilled';\n}\nexport default RefIcon;","// Register `Raw` in tree:\n/// \n\n/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Nodes} Nodes\n * @typedef {import('hast').Parents} Parents\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast-util-to-jsx-runtime').Components} JsxRuntimeComponents\n * @typedef {import('remark-rehype').Options} RemarkRehypeOptions\n * @typedef {import('unist-util-visit').BuildVisitor} Visitor\n * @typedef {import('unified').PluggableList} PluggableList\n */\n\n/**\n * @callback AllowElement\n * Filter elements.\n * @param {Readonly} element\n * Element to check.\n * @param {number} index\n * Index of `element` in `parent`.\n * @param {Readonly | undefined} parent\n * Parent of `element`.\n * @returns {boolean | null | undefined}\n * Whether to allow `element` (default: `false`).\n *\n * @typedef {Partial} Components\n * Map tag names to components.\n *\n * @typedef Deprecation\n * Deprecation.\n * @property {string} from\n * Old field.\n * @property {string} id\n * ID in readme.\n * @property {keyof Options} [to]\n * New field.\n *\n * @typedef Options\n * Configuration.\n * @property {AllowElement | null | undefined} [allowElement]\n * Filter elements (optional);\n * `allowedElements` / `disallowedElements` is used first.\n * @property {ReadonlyArray | null | undefined} [allowedElements]\n * Tag names to allow (default: all tag names);\n * cannot combine w/ `disallowedElements`.\n * @property {string | null | undefined} [children]\n * Markdown.\n * @property {string | null | undefined} [className]\n * Wrap in a `div` with this class name.\n * @property {Components | null | undefined} [components]\n * Map tag names to components.\n * @property {ReadonlyArray | null | undefined} [disallowedElements]\n * Tag names to disallow (default: `[]`);\n * cannot combine w/ `allowedElements`.\n * @property {PluggableList | null | undefined} [rehypePlugins]\n * List of rehype plugins to use.\n * @property {PluggableList | null | undefined} [remarkPlugins]\n * List of remark plugins to use.\n * @property {Readonly | null | undefined} [remarkRehypeOptions]\n * Options to pass through to `remark-rehype`.\n * @property {boolean | null | undefined} [skipHtml=false]\n * Ignore HTML in markdown completely (default: `false`).\n * @property {boolean | null | undefined} [unwrapDisallowed=false]\n * Extract (unwrap) what’s in disallowed elements (default: `false`);\n * normally when say `strong` is not allowed, it and it’s children are dropped,\n * with `unwrapDisallowed` the element itself is replaced by its children.\n * @property {UrlTransform | null | undefined} [urlTransform]\n * Change URLs (default: `defaultUrlTransform`)\n *\n * @callback UrlTransform\n * Transform all URLs.\n * @param {string} url\n * URL.\n * @param {string} key\n * Property name (example: `'href'`).\n * @param {Readonly} node\n * Node.\n * @returns {string | null | undefined}\n * Transformed URL (optional).\n */\n\nimport {unreachable} from 'devlop'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {urlAttributes} from 'html-url-attributes'\n// @ts-expect-error: untyped.\nimport {Fragment, jsx, jsxs} from 'react/jsx-runtime'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {unified} from 'unified'\nimport {visit} from 'unist-util-visit'\nimport {VFile} from 'vfile'\n\nconst changelog =\n 'https://github.com/remarkjs/react-markdown/blob/main/changelog.md'\n\n/** @type {PluggableList} */\nconst emptyPlugins = []\n/** @type {Readonly} */\nconst emptyRemarkRehypeOptions = {allowDangerousHtml: true}\nconst safeProtocol = /^(https?|ircs?|mailto|xmpp)$/i\n\n// Mutable because we `delete` any time it’s used and a message is sent.\n/** @type {ReadonlyArray>} */\nconst deprecations = [\n {from: 'astPlugins', id: 'remove-buggy-html-in-markdown-parser'},\n {from: 'allowDangerousHtml', id: 'remove-buggy-html-in-markdown-parser'},\n {\n from: 'allowNode',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'allowElement'\n },\n {\n from: 'allowedTypes',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'allowedElements'\n },\n {\n from: 'disallowedTypes',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'disallowedElements'\n },\n {from: 'escapeHtml', id: 'remove-buggy-html-in-markdown-parser'},\n {from: 'includeElementIndex', id: '#remove-includeelementindex'},\n {\n from: 'includeNodeIndex',\n id: 'change-includenodeindex-to-includeelementindex'\n },\n {from: 'linkTarget', id: 'remove-linktarget'},\n {from: 'plugins', id: 'change-plugins-to-remarkplugins', to: 'remarkPlugins'},\n {from: 'rawSourcePos', id: '#remove-rawsourcepos'},\n {from: 'renderers', id: 'change-renderers-to-components', to: 'components'},\n {from: 'source', id: 'change-source-to-children', to: 'children'},\n {from: 'sourcePos', id: '#remove-sourcepos'},\n {from: 'transformImageUri', id: '#add-urltransform', to: 'urlTransform'},\n {from: 'transformLinkUri', id: '#add-urltransform', to: 'urlTransform'}\n]\n\n/**\n * Component to render markdown.\n *\n * @param {Readonly} options\n * Props.\n * @returns {JSX.Element}\n * React element.\n */\nexport function Markdown(options) {\n const allowedElements = options.allowedElements\n const allowElement = options.allowElement\n const children = options.children || ''\n const className = options.className\n const components = options.components\n const disallowedElements = options.disallowedElements\n const rehypePlugins = options.rehypePlugins || emptyPlugins\n const remarkPlugins = options.remarkPlugins || emptyPlugins\n const remarkRehypeOptions = options.remarkRehypeOptions\n ? {...options.remarkRehypeOptions, ...emptyRemarkRehypeOptions}\n : emptyRemarkRehypeOptions\n const skipHtml = options.skipHtml\n const unwrapDisallowed = options.unwrapDisallowed\n const urlTransform = options.urlTransform || defaultUrlTransform\n\n const processor = unified()\n .use(remarkParse)\n .use(remarkPlugins)\n .use(remarkRehype, remarkRehypeOptions)\n .use(rehypePlugins)\n\n const file = new VFile()\n\n if (typeof children === 'string') {\n file.value = children\n } else {\n unreachable(\n 'Unexpected value `' +\n children +\n '` for `children` prop, expected `string`'\n )\n }\n\n if (allowedElements && disallowedElements) {\n unreachable(\n 'Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other'\n )\n }\n\n for (const deprecation of deprecations) {\n if (Object.hasOwn(options, deprecation.from)) {\n unreachable(\n 'Unexpected `' +\n deprecation.from +\n '` prop, ' +\n (deprecation.to\n ? 'use `' + deprecation.to + '` instead'\n : 'remove it') +\n ' (see <' +\n changelog +\n '#' +\n deprecation.id +\n '> for more info)'\n )\n }\n }\n\n const mdastTree = processor.parse(file)\n /** @type {Nodes} */\n let hastTree = processor.runSync(mdastTree, file)\n\n // Wrap in `div` if there’s a class name.\n if (className) {\n hastTree = {\n type: 'element',\n tagName: 'div',\n properties: {className},\n // Assume no doctypes.\n children: /** @type {Array} */ (\n hastTree.type === 'root' ? hastTree.children : [hastTree]\n )\n }\n }\n\n visit(hastTree, transform)\n\n return toJsxRuntime(hastTree, {\n Fragment,\n components,\n ignoreInvalidStyle: true,\n jsx,\n jsxs,\n passKeys: true,\n passNode: true\n })\n\n /** @type {Visitor} */\n function transform(node, index, parent) {\n if (node.type === 'raw' && parent && typeof index === 'number') {\n if (skipHtml) {\n parent.children.splice(index, 1)\n } else {\n parent.children[index] = {type: 'text', value: node.value}\n }\n\n return index\n }\n\n if (node.type === 'element') {\n /** @type {string} */\n let key\n\n for (key in urlAttributes) {\n if (\n Object.hasOwn(urlAttributes, key) &&\n Object.hasOwn(node.properties, key)\n ) {\n const value = node.properties[key]\n const test = urlAttributes[key]\n if (test === null || test.includes(node.tagName)) {\n node.properties[key] = urlTransform(String(value || ''), key, node)\n }\n }\n }\n }\n\n if (node.type === 'element') {\n let remove = allowedElements\n ? !allowedElements.includes(node.tagName)\n : disallowedElements\n ? disallowedElements.includes(node.tagName)\n : false\n\n if (!remove && allowElement && typeof index === 'number') {\n remove = !allowElement(node, index, parent)\n }\n\n if (remove && parent && typeof index === 'number') {\n if (unwrapDisallowed && node.children) {\n parent.children.splice(index, 1, ...node.children)\n } else {\n parent.children.splice(index, 1)\n }\n\n return index\n }\n }\n }\n}\n\n/**\n * Make a URL safe.\n *\n * @satisfies {UrlTransform}\n * @param {string} value\n * URL.\n * @returns {string}\n * Safe URL.\n */\nexport function defaultUrlTransform(value) {\n // Same as:\n // \n // But without the `encode` part.\n const colon = value.indexOf(':')\n const questionMark = value.indexOf('?')\n const numberSign = value.indexOf('#')\n const slash = value.indexOf('/')\n\n if (\n // If there is no protocol, it’s relative.\n colon < 0 ||\n // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.\n (slash > -1 && colon > slash) ||\n (questionMark > -1 && colon > questionMark) ||\n (numberSign > -1 && colon > numberSign) ||\n // It is a protocol, it should be allowed.\n safeProtocol.test(value.slice(0, colon))\n ) {\n return value\n }\n\n return ''\n}\n","// https://github.com/bahamas10/css-color-names/blob/master/css-color-names.json\n/**\n * @hidden\n */\nexport var names = {\n aliceblue: '#f0f8ff',\n antiquewhite: '#faebd7',\n aqua: '#00ffff',\n aquamarine: '#7fffd4',\n azure: '#f0ffff',\n beige: '#f5f5dc',\n bisque: '#ffe4c4',\n black: '#000000',\n blanchedalmond: '#ffebcd',\n blue: '#0000ff',\n blueviolet: '#8a2be2',\n brown: '#a52a2a',\n burlywood: '#deb887',\n cadetblue: '#5f9ea0',\n chartreuse: '#7fff00',\n chocolate: '#d2691e',\n coral: '#ff7f50',\n cornflowerblue: '#6495ed',\n cornsilk: '#fff8dc',\n crimson: '#dc143c',\n cyan: '#00ffff',\n darkblue: '#00008b',\n darkcyan: '#008b8b',\n darkgoldenrod: '#b8860b',\n darkgray: '#a9a9a9',\n darkgreen: '#006400',\n darkgrey: '#a9a9a9',\n darkkhaki: '#bdb76b',\n darkmagenta: '#8b008b',\n darkolivegreen: '#556b2f',\n darkorange: '#ff8c00',\n darkorchid: '#9932cc',\n darkred: '#8b0000',\n darksalmon: '#e9967a',\n darkseagreen: '#8fbc8f',\n darkslateblue: '#483d8b',\n darkslategray: '#2f4f4f',\n darkslategrey: '#2f4f4f',\n darkturquoise: '#00ced1',\n darkviolet: '#9400d3',\n deeppink: '#ff1493',\n deepskyblue: '#00bfff',\n dimgray: '#696969',\n dimgrey: '#696969',\n dodgerblue: '#1e90ff',\n firebrick: '#b22222',\n floralwhite: '#fffaf0',\n forestgreen: '#228b22',\n fuchsia: '#ff00ff',\n gainsboro: '#dcdcdc',\n ghostwhite: '#f8f8ff',\n goldenrod: '#daa520',\n gold: '#ffd700',\n gray: '#808080',\n green: '#008000',\n greenyellow: '#adff2f',\n grey: '#808080',\n honeydew: '#f0fff0',\n hotpink: '#ff69b4',\n indianred: '#cd5c5c',\n indigo: '#4b0082',\n ivory: '#fffff0',\n khaki: '#f0e68c',\n lavenderblush: '#fff0f5',\n lavender: '#e6e6fa',\n lawngreen: '#7cfc00',\n lemonchiffon: '#fffacd',\n lightblue: '#add8e6',\n lightcoral: '#f08080',\n lightcyan: '#e0ffff',\n lightgoldenrodyellow: '#fafad2',\n lightgray: '#d3d3d3',\n lightgreen: '#90ee90',\n lightgrey: '#d3d3d3',\n lightpink: '#ffb6c1',\n lightsalmon: '#ffa07a',\n lightseagreen: '#20b2aa',\n lightskyblue: '#87cefa',\n lightslategray: '#778899',\n lightslategrey: '#778899',\n lightsteelblue: '#b0c4de',\n lightyellow: '#ffffe0',\n lime: '#00ff00',\n limegreen: '#32cd32',\n linen: '#faf0e6',\n magenta: '#ff00ff',\n maroon: '#800000',\n mediumaquamarine: '#66cdaa',\n mediumblue: '#0000cd',\n mediumorchid: '#ba55d3',\n mediumpurple: '#9370db',\n mediumseagreen: '#3cb371',\n mediumslateblue: '#7b68ee',\n mediumspringgreen: '#00fa9a',\n mediumturquoise: '#48d1cc',\n mediumvioletred: '#c71585',\n midnightblue: '#191970',\n mintcream: '#f5fffa',\n mistyrose: '#ffe4e1',\n moccasin: '#ffe4b5',\n navajowhite: '#ffdead',\n navy: '#000080',\n oldlace: '#fdf5e6',\n olive: '#808000',\n olivedrab: '#6b8e23',\n orange: '#ffa500',\n orangered: '#ff4500',\n orchid: '#da70d6',\n palegoldenrod: '#eee8aa',\n palegreen: '#98fb98',\n paleturquoise: '#afeeee',\n palevioletred: '#db7093',\n papayawhip: '#ffefd5',\n peachpuff: '#ffdab9',\n peru: '#cd853f',\n pink: '#ffc0cb',\n plum: '#dda0dd',\n powderblue: '#b0e0e6',\n purple: '#800080',\n rebeccapurple: '#663399',\n red: '#ff0000',\n rosybrown: '#bc8f8f',\n royalblue: '#4169e1',\n saddlebrown: '#8b4513',\n salmon: '#fa8072',\n sandybrown: '#f4a460',\n seagreen: '#2e8b57',\n seashell: '#fff5ee',\n sienna: '#a0522d',\n silver: '#c0c0c0',\n skyblue: '#87ceeb',\n slateblue: '#6a5acd',\n slategray: '#708090',\n slategrey: '#708090',\n snow: '#fffafa',\n springgreen: '#00ff7f',\n steelblue: '#4682b4',\n tan: '#d2b48c',\n teal: '#008080',\n thistle: '#d8bfd8',\n tomato: '#ff6347',\n turquoise: '#40e0d0',\n violet: '#ee82ee',\n wheat: '#f5deb3',\n white: '#ffffff',\n whitesmoke: '#f5f5f5',\n yellow: '#ffff00',\n yellowgreen: '#9acd32',\n};\n","import { Tokenizer, TokenizerMode } from '../tokenizer/index.js';\nimport { OpenElementStack } from './open-element-stack.js';\nimport { FormattingElementList, EntryType } from './formatting-element-list.js';\nimport { defaultTreeAdapter } from '../tree-adapters/default.js';\nimport * as doctype from '../common/doctype.js';\nimport * as foreignContent from '../common/foreign-content.js';\nimport { ERR } from '../common/error-codes.js';\nimport * as unicode from '../common/unicode.js';\nimport { TAG_ID as $, TAG_NAMES as TN, NS, ATTRS, SPECIAL_ELEMENTS, DOCUMENT_MODE, NUMBERED_HEADERS, getTagID, } from '../common/html.js';\nimport { TokenType, getTokenAttr, } from '../common/token.js';\n//Misc constants\nconst HIDDEN_INPUT_TYPE = 'hidden';\n//Adoption agency loops iteration count\nconst AA_OUTER_LOOP_ITER = 8;\nconst AA_INNER_LOOP_ITER = 3;\n//Insertion modes\nvar InsertionMode;\n(function (InsertionMode) {\n InsertionMode[InsertionMode[\"INITIAL\"] = 0] = \"INITIAL\";\n InsertionMode[InsertionMode[\"BEFORE_HTML\"] = 1] = \"BEFORE_HTML\";\n InsertionMode[InsertionMode[\"BEFORE_HEAD\"] = 2] = \"BEFORE_HEAD\";\n InsertionMode[InsertionMode[\"IN_HEAD\"] = 3] = \"IN_HEAD\";\n InsertionMode[InsertionMode[\"IN_HEAD_NO_SCRIPT\"] = 4] = \"IN_HEAD_NO_SCRIPT\";\n InsertionMode[InsertionMode[\"AFTER_HEAD\"] = 5] = \"AFTER_HEAD\";\n InsertionMode[InsertionMode[\"IN_BODY\"] = 6] = \"IN_BODY\";\n InsertionMode[InsertionMode[\"TEXT\"] = 7] = \"TEXT\";\n InsertionMode[InsertionMode[\"IN_TABLE\"] = 8] = \"IN_TABLE\";\n InsertionMode[InsertionMode[\"IN_TABLE_TEXT\"] = 9] = \"IN_TABLE_TEXT\";\n InsertionMode[InsertionMode[\"IN_CAPTION\"] = 10] = \"IN_CAPTION\";\n InsertionMode[InsertionMode[\"IN_COLUMN_GROUP\"] = 11] = \"IN_COLUMN_GROUP\";\n InsertionMode[InsertionMode[\"IN_TABLE_BODY\"] = 12] = \"IN_TABLE_BODY\";\n InsertionMode[InsertionMode[\"IN_ROW\"] = 13] = \"IN_ROW\";\n InsertionMode[InsertionMode[\"IN_CELL\"] = 14] = \"IN_CELL\";\n InsertionMode[InsertionMode[\"IN_SELECT\"] = 15] = \"IN_SELECT\";\n InsertionMode[InsertionMode[\"IN_SELECT_IN_TABLE\"] = 16] = \"IN_SELECT_IN_TABLE\";\n InsertionMode[InsertionMode[\"IN_TEMPLATE\"] = 17] = \"IN_TEMPLATE\";\n InsertionMode[InsertionMode[\"AFTER_BODY\"] = 18] = \"AFTER_BODY\";\n InsertionMode[InsertionMode[\"IN_FRAMESET\"] = 19] = \"IN_FRAMESET\";\n InsertionMode[InsertionMode[\"AFTER_FRAMESET\"] = 20] = \"AFTER_FRAMESET\";\n InsertionMode[InsertionMode[\"AFTER_AFTER_BODY\"] = 21] = \"AFTER_AFTER_BODY\";\n InsertionMode[InsertionMode[\"AFTER_AFTER_FRAMESET\"] = 22] = \"AFTER_AFTER_FRAMESET\";\n})(InsertionMode || (InsertionMode = {}));\nconst BASE_LOC = {\n startLine: -1,\n startCol: -1,\n startOffset: -1,\n endLine: -1,\n endCol: -1,\n endOffset: -1,\n};\nconst TABLE_STRUCTURE_TAGS = new Set([$.TABLE, $.TBODY, $.TFOOT, $.THEAD, $.TR]);\nconst defaultParserOptions = {\n scriptingEnabled: true,\n sourceCodeLocationInfo: false,\n treeAdapter: defaultTreeAdapter,\n onParseError: null,\n};\n//Parser\nexport class Parser {\n constructor(options, document, \n /** @internal */\n fragmentContext = null, \n /** @internal */\n scriptHandler = null) {\n this.fragmentContext = fragmentContext;\n this.scriptHandler = scriptHandler;\n this.currentToken = null;\n this.stopped = false;\n /** @internal */\n this.insertionMode = InsertionMode.INITIAL;\n /** @internal */\n this.originalInsertionMode = InsertionMode.INITIAL;\n /** @internal */\n this.headElement = null;\n /** @internal */\n this.formElement = null;\n /** Indicates that the current node is not an element in the HTML namespace */\n this.currentNotInHTML = false;\n /**\n * The template insertion mode stack is maintained from the left.\n * Ie. the topmost element will always have index 0.\n *\n * @internal\n */\n this.tmplInsertionModeStack = [];\n /** @internal */\n this.pendingCharacterTokens = [];\n /** @internal */\n this.hasNonWhitespacePendingCharacterToken = false;\n /** @internal */\n this.framesetOk = true;\n /** @internal */\n this.skipNextNewLine = false;\n /** @internal */\n this.fosterParentingEnabled = false;\n this.options = {\n ...defaultParserOptions,\n ...options,\n };\n this.treeAdapter = this.options.treeAdapter;\n this.onParseError = this.options.onParseError;\n // Always enable location info if we report parse errors.\n if (this.onParseError) {\n this.options.sourceCodeLocationInfo = true;\n }\n this.document = document !== null && document !== void 0 ? document : this.treeAdapter.createDocument();\n this.tokenizer = new Tokenizer(this.options, this);\n this.activeFormattingElements = new FormattingElementList(this.treeAdapter);\n this.fragmentContextID = fragmentContext ? getTagID(this.treeAdapter.getTagName(fragmentContext)) : $.UNKNOWN;\n this._setContextModes(fragmentContext !== null && fragmentContext !== void 0 ? fragmentContext : this.document, this.fragmentContextID);\n this.openElements = new OpenElementStack(this.document, this.treeAdapter, this);\n }\n // API\n static parse(html, options) {\n const parser = new this(options);\n parser.tokenizer.write(html, true);\n return parser.document;\n }\n static getFragmentParser(fragmentContext, options) {\n const opts = {\n ...defaultParserOptions,\n ...options,\n };\n //NOTE: use a