hermes-web-ui 0.6.40 → 0.6.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/js/{AppSidebar-CaSVcbCW.js → AppSidebar-CNkSiv3l.js} +1 -1
- package/dist/client/assets/js/{ChannelsView-hdAXa1hf.js → ChannelsView-6rEo6RBl.js} +1 -1
- package/dist/client/assets/js/{ChatPanel-C6sX6idm.js → ChatPanel-ANAZWluc.js} +3 -3
- package/dist/client/assets/js/{ChatView-B68k_-D9.js → ChatView-DFcPsmRF.js} +1 -1
- package/dist/client/assets/js/{CodingAgentsView-CsIjwbXR.js → CodingAgentsView-CpIY0SHT.js} +1 -1
- package/dist/client/assets/js/{DefaultCredentialPrompt-BRhb4DOa.js → DefaultCredentialPrompt-DmNeotSW.js} +1 -1
- package/dist/client/assets/js/{DesktopBrowserPanel-BlBfS64w.js → DesktopBrowserPanel-CWjTU-3y.js} +1 -1
- package/dist/client/assets/js/{DesktopBrowserView-JukL0QuS.js → DesktopBrowserView-D9Qb3fIV.js} +1 -1
- package/dist/client/assets/js/{DesktopPetView-DWq4EiRU.js → DesktopPetView-B7REtC57.js} +1 -1
- package/dist/client/assets/js/{DesktopTitleBar-DphP4oa6.js → DesktopTitleBar-Dej_16hB.js} +1 -1
- package/dist/client/assets/js/{DevicesView-BFtrfqJs.js → DevicesView--d4HCkch.js} +1 -1
- package/dist/client/assets/js/{DocxFilePreview-CmVJ9Jxx.js → DocxFilePreview-BQz6WC7r.js} +2 -2
- package/dist/client/assets/js/{FileEditor-CdkNYp7b.js → FileEditor-BBegs-5i.js} +2 -2
- package/dist/client/assets/js/{FilePreview-CJrVRPRs.js → FilePreview-B7WqYvZs.js} +2 -2
- package/dist/client/assets/js/{FileRenameModal-mghyEXU4.js → FileRenameModal-82RkAZkd.js} +1 -1
- package/dist/client/assets/js/{FilesPanel-B9cKB5lX.js → FilesPanel-BHcg6CpC.js} +2 -2
- package/dist/client/assets/js/{FilesView-iKZu70E9.js → FilesView-Dl15WTar.js} +2 -2
- package/dist/client/assets/js/{GlobalAgentView-JZsss0gx.js → GlobalAgentView-dxEX611f.js} +1 -1
- package/dist/client/assets/js/{GlobalPendingActions-BRQIt5vl.js → GlobalPendingActions-CeK96C3G.js} +1 -1
- package/dist/client/assets/js/{GroupChatLinkView-CNrV8lnT.js → GroupChatLinkView-CJhI9DVE.js} +1 -1
- package/dist/client/assets/js/{GroupChatPanel-WK4zBasl.js → GroupChatPanel-CLa3s08V.js} +3 -3
- package/dist/client/assets/js/{GroupChatView-BlMUD1MW.js → GroupChatView-CUwvu-6F.js} +1 -1
- package/dist/client/assets/js/{HistoryMessageList-D8zoQ1Zs.js → HistoryMessageList-BdD8GJYM.js} +1 -1
- package/dist/client/assets/js/{HistoryView-Bpr8N2lC.js → HistoryView-Ro92tP5R.js} +1 -1
- package/dist/client/assets/js/{HtmlFilePreview-Bj3_-hMo.js → HtmlFilePreview-xYn7YtmC.js} +1 -1
- package/dist/client/assets/js/{JobsView-CZK26gTw.js → JobsView-BaNA1Yaa.js} +2 -2
- package/dist/client/assets/js/{JourneyView-BPUsLj4o.js → JourneyView-Bw-05mCF.js} +1 -1
- package/dist/client/assets/js/{KanbanView-B7d-2_z9.js → KanbanView-BYC32l2Q.js} +1 -1
- package/dist/client/assets/js/{LoginView-BpYyv831.js → LoginView-KrpCkwOr.js} +1 -1
- package/dist/client/assets/js/{LogsView-CabFHk0v.js → LogsView-Dgm4v5sN.js} +1 -1
- package/dist/client/assets/js/{MarkdownRenderer-CVtmHZwc.js → MarkdownRenderer-BIPowjr-.js} +3 -3
- package/dist/client/assets/js/{McpManagerView-C-ou8vf3.js → McpManagerView-DTtkUIvq.js} +1 -1
- package/dist/client/assets/js/{MemoryView-QGFW4iZo.js → MemoryView-BnL7xzux.js} +2 -2
- package/dist/client/assets/js/{MessageList-DZR-TFjD.js → MessageList-5tytzhb0.js} +3 -3
- package/dist/client/assets/js/{ModelsView-DiWdSWOW.js → ModelsView-ComCz0Ce.js} +1 -1
- package/dist/client/assets/js/{OutlinePanel-Dlr5svMY.js → OutlinePanel-CF_XPCRn.js} +1 -1
- package/dist/client/assets/js/{PageSidebarFooter-Bic1fUmG.js → PageSidebarFooter-dvLzcTIm.js} +1 -1
- package/dist/client/assets/js/{PdfFilePreview-Dkpan1ay.js → PdfFilePreview-COOAoJ4V.js} +2 -2
- package/dist/client/assets/js/{PerformanceView-LrZaED_Z.js → PerformanceView-D6dKifJh.js} +1 -1
- package/dist/client/assets/js/{PetdexView-Bv8RioGL.js → PetdexView-CmvzDYwf.js} +1 -1
- package/dist/client/assets/js/{PluginsView-CbtdIGlq.js → PluginsView-zJV9FE9c.js} +1 -1
- package/dist/client/assets/js/{PptxFilePreview-5if_GbU6.js → PptxFilePreview-dC4JxV6j.js} +2 -2
- package/dist/client/assets/js/{ProfileAvatar-DI9ciJxS.js → ProfileAvatar-C8xoALCI.js} +1 -1
- package/dist/client/assets/js/{ProfilesView-C-FSiKMU.js → ProfilesView-CxVxJRN_.js} +1 -1
- package/dist/client/assets/js/{ProviderConfigurationPrompt-BUoWC41Y.js → ProviderConfigurationPrompt-zwk1UwoP.js} +1 -1
- package/dist/client/assets/js/{SessionSearchModal-CEKvSihp.js → SessionSearchModal-DhwGsV-i.js} +1 -1
- package/dist/client/assets/js/{SettingRow-CSfiJmxx.js → SettingRow-DHqhLX3M.js} +1 -1
- package/dist/client/assets/js/{SettingsCircuitBadge-DHIEFyTR.js → SettingsCircuitBadge-CnWSfQZd.js} +1 -1
- package/dist/client/assets/js/{SettingsView-DbNJroV3.js → SettingsView-Cbroga25.js} +1 -1
- package/dist/client/assets/js/{SharedGroupChatView-CTYjqWcO.js → SharedGroupChatView-DXfqtQ33.js} +1 -1
- package/dist/client/assets/js/{SkillsUsageView-BqZ3GtfT.js → SkillsUsageView-C34i3lOQ.js} +1 -1
- package/dist/client/assets/js/{SkillsView-Bhla7821.js → SkillsView-DRG_1esx.js} +2 -2
- package/dist/client/assets/js/{SpreadsheetFilePreview-CGK8HDAx.js → SpreadsheetFilePreview-DRw4kIx5.js} +1 -1
- package/dist/client/assets/js/{TerminalPanel-CtBTLOwq.js → TerminalPanel-Da1nL9P8.js} +1 -1
- package/dist/client/assets/js/{TerminalView-BID7fupB.js → TerminalView-B6z-VaGq.js} +1 -1
- package/dist/client/assets/js/{ThemeView-Cx3ucIus.js → ThemeView-CAaJ9MH-.js} +1 -1
- package/dist/client/assets/js/{UsageView-ByGCsw7o.js → UsageView-B_hLsp0k.js} +1 -1
- package/dist/client/assets/js/{VersionPreviewView-DiAK1ind.js → VersionPreviewView-DKXL6anl.js} +1 -1
- package/dist/client/assets/js/{WebPet-CdIqrnp1.js → WebPet-BUvrfjpq.js} +1 -1
- package/dist/client/assets/js/{WorkflowView-DmBOhSuq.js → WorkflowView-r46Ap9FY.js} +1 -1
- package/dist/client/assets/js/{WorkspaceDiffPreview-dHIGp-9F.js → WorkspaceDiffPreview-EwZAE18F.js} +2 -2
- package/dist/client/assets/js/{abap-Dj8IFKiF.js → abap-C7gkFu-A.js} +1 -1
- package/dist/client/assets/js/{aiden0z-pptx-renderer.es-6vi5-jAN.js → aiden0z-pptx-renderer.es-DOpVaH_k.js} +1 -1
- package/dist/client/assets/js/{apex-C3INPUEt.js → apex-DZOtRowu.js} +1 -1
- package/dist/client/assets/js/{ar-Gk9y3ZfO.js → ar-8iThLSJQ.js} +1 -1
- package/dist/client/assets/js/architecture-7EHR7CIX-BrfhYGuP.js +1 -0
- package/dist/client/assets/js/{architectureDiagram-3BPJPVTR-DLZYeivB.js → architectureDiagram-3BPJPVTR-DEsTTzKd.js} +1 -1
- package/dist/client/assets/js/{auth-D1ZFqv22.js → auth-B52zm2Ir.js} +1 -1
- package/dist/client/assets/js/{azcli-UBzLhJq5.js → azcli-KxuicZQh.js} +1 -1
- package/dist/client/assets/js/{bat-P3O4jldt.js → bat-DfFP4HF-.js} +1 -1
- package/dist/client/assets/js/{bicep-DdQR9RxE.js → bicep-Co4bntVh.js} +1 -1
- package/dist/client/assets/js/{blockDiagram-GPEHLZMM-UWFo8sm5.js → blockDiagram-GPEHLZMM-NsxYeUKd.js} +1 -1
- package/dist/client/assets/js/{c4Diagram-AAUBKEIU-jgyj0wOb.js → c4Diagram-AAUBKEIU-D68asSzm.js} +1 -1
- package/dist/client/assets/js/{cameligo-Bb4ubW_C.js → cameligo-Xi0l_9Wr.js} +1 -1
- package/dist/client/assets/js/{chat-DdHii4Qz.js → chat-fUZW3YFa.js} +1 -1
- package/dist/client/assets/js/{chat-input-height-CSPwB9it.js → chat-input-height-lvFawuv9.js} +1 -1
- package/dist/client/assets/js/{chat-timestamp-DGQ8fmtT.js → chat-timestamp-4wWFcZWv.js} +1 -1
- package/dist/client/assets/js/{chunk-2J33WTMH-Br9OWF5a.js → chunk-2J33WTMH-CEU5sLIh.js} +1 -1
- package/dist/client/assets/js/{chunk-3OPIFGDE-Cb40LuI4.js → chunk-3OPIFGDE-DEhbKkCl.js} +1 -1
- package/dist/client/assets/js/{chunk-4BX2VUAB-jYtdiafd.js → chunk-4BX2VUAB-OIZUstuy.js} +1 -1
- package/dist/client/assets/js/{chunk-55IACEB6-CBtymeHY.js → chunk-55IACEB6-DQHKZCBG.js} +1 -1
- package/dist/client/assets/js/{chunk-5ZQYHXKU-yj9xqmex.js → chunk-5ZQYHXKU-BU3pQVVl.js} +1 -1
- package/dist/client/assets/js/{chunk-727SXJPM-er_5tB5X.js → chunk-727SXJPM-jj97gdnP.js} +1 -1
- package/dist/client/assets/js/{chunk-AQP2D5EJ-C4mDD6xK.js → chunk-AQP2D5EJ-jv-oWlkb.js} +1 -1
- package/dist/client/assets/js/{chunk-BSJP7CBP-QZesZe57.js → chunk-BSJP7CBP-DkKsepNF.js} +1 -1
- package/dist/client/assets/js/{chunk-CSCIHK7Q-5LH118bT.js → chunk-CSCIHK7Q-CLgoBoCF.js} +3 -3
- package/dist/client/assets/js/{chunk-FMBD7UC4-CQho6QZ5.js → chunk-FMBD7UC4-Bx1bCKUR.js} +1 -1
- package/dist/client/assets/js/{chunk-KSCS5N6A-DONM1Omv.js → chunk-KSCS5N6A-CZHZ6pBd.js} +1 -1
- package/dist/client/assets/js/{chunk-L5ZTLDWV-FN_zFWkp.js → chunk-L5ZTLDWV-dz9D3kOb.js} +1 -1
- package/dist/client/assets/js/{chunk-LZXEDZCA-CEEUVvpS.js → chunk-LZXEDZCA-CQiSQehC.js} +2 -2
- package/dist/client/assets/js/{chunk-ND2GUHAM-DWckpxQD.js → chunk-ND2GUHAM-mWODKb8v.js} +1 -1
- package/dist/client/assets/js/{chunk-NZK2D7GU-0mKZmkuV.js → chunk-NZK2D7GU-ivCkjCOR.js} +1 -1
- package/dist/client/assets/js/{chunk-O5CBEL6O-DIDAOkT_.js → chunk-O5CBEL6O-BRUisK47.js} +1 -1
- package/dist/client/assets/js/{chunk-QZHKN3VN-D3c-TMz-.js → chunk-QZHKN3VN-BHjgTrzY.js} +1 -1
- package/dist/client/assets/js/{chunk-WU5MYG2G-BZvSpwm4.js → chunk-WU5MYG2G-CNW1rcpL.js} +1 -1
- package/dist/client/assets/js/{chunk-XPW4576I-xdyJtk-s.js → chunk-XPW4576I-DP3dJbOu.js} +1 -1
- package/dist/client/assets/js/classDiagram-4FO5ZUOK-BVBBe3DQ.js +1 -0
- package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-DJUe3i9Y.js +1 -0
- package/dist/client/assets/js/{clipboard-DQ_A8ns-.js → clipboard-DHZFaAvO.js} +1 -1
- package/dist/client/assets/js/{clipboard-files-bDrcGKPe.js → clipboard-files-CBDy-02Y.js} +1 -1
- package/dist/client/assets/js/{clojure-ku7aCU1_.js → clojure-DuyGwS8X.js} +1 -1
- package/dist/client/assets/js/{coding-agents-DfHyBvky.js → coding-agents-BNTHD6kd.js} +1 -1
- package/dist/client/assets/js/{codingAgentProviders-BM18FAW9.js → codingAgentProviders-DM_ouxbL.js} +1 -1
- package/dist/client/assets/js/{coffee-DnRIdJlY.js → coffee-C5p7vzpa.js} +1 -1
- package/dist/client/assets/js/{completion-notification-XxjbntI8.js → completion-notification-CzdnhuX3.js} +1 -1
- package/dist/client/assets/js/{cose-bilkent-S5V4N54A-w891sIF1.js → cose-bilkent-S5V4N54A-De_ZdqY0.js} +1 -1
- package/dist/client/assets/js/{cpp-CN8i6ISX.js → cpp-II5hDbTe.js} +1 -1
- package/dist/client/assets/js/{csharp-B-fxig7O.js → csharp-D0POzSpv.js} +1 -1
- package/dist/client/assets/js/{csp-Bar9LGt4.js → csp-CwtuRkR3.js} +1 -1
- package/dist/client/assets/js/{css-DFtC5xZN.js → css-Dc2fJIqQ.js} +1 -1
- package/dist/client/assets/js/{cssMode-DH5XKKL2.js → cssMode-CC6jRvHF.js} +1 -1
- package/dist/client/assets/js/{cypher-BkJexWsv.js → cypher-DBcQoWDH.js} +1 -1
- package/dist/client/assets/js/{cytoscape.esm-BDsvr8Aq.js → cytoscape.esm-C9FMRqxM.js} +1 -1
- package/dist/client/assets/js/{dagre-BM42HDAG-BuT885pa.js → dagre-BM42HDAG-CvJIC410.js} +1 -1
- package/dist/client/assets/js/{dagre-BVUDh8Sh.js → dagre-BtgEsAtK.js} +1 -1
- package/dist/client/assets/js/{dart-B7W8hAtN.js → dart-Jf_Hmp2o.js} +1 -1
- package/dist/client/assets/js/{de-LDpd8WHJ.js → de-7hLSwCEx.js} +1 -1
- package/dist/client/assets/js/{defineProperty-DdPu4ZVv.js → defineProperty-DHkErCmG.js} +1 -1
- package/dist/client/assets/js/{desktop-browser-xrRFPNUg.js → desktop-browser-C6AhY0uu.js} +1 -1
- package/dist/client/assets/js/{diagram-2AECGRRQ-B1sSf-09.js → diagram-2AECGRRQ-CvPeU5Lm.js} +1 -1
- package/dist/client/assets/js/{diagram-5GNKFQAL-BffX22pf.js → diagram-5GNKFQAL-CBniYlkH.js} +1 -1
- package/dist/client/assets/js/{diagram-KO2AKTUF-D8QvpUpn.js → diagram-KO2AKTUF-C_yFaVRj.js} +1 -1
- package/dist/client/assets/js/{diagram-LMA3HP47-DkG7p3lQ.js → diagram-LMA3HP47-BzM1IxNe.js} +1 -1
- package/dist/client/assets/js/{diagram-OG6HWLK6-RjvNNvXM.js → diagram-OG6HWLK6-yvmf_3ax.js} +1 -1
- package/dist/client/assets/js/{dist-Bk0VKtV3.js → dist-BHzBn3v7.js} +1 -1
- package/dist/client/assets/js/{dockerfile-C4m7j8sy.js → dockerfile-J3d6ZPDJ.js} +1 -1
- package/dist/client/assets/js/{docx-preview-BpTW-GN7.js → docx-preview-Rqt8wMjQ.js} +1 -1
- package/dist/client/assets/js/{download-CX8EG48r.js → download-xhRMWMda.js} +1 -1
- package/dist/client/assets/js/{ecl-EHV358Ls.js → ecl-XnlT0p97.js} +1 -1
- package/dist/client/assets/js/{editor.api2-CnHBqh_d.js → editor.api2-ChO5nUQb.js} +1 -1
- package/dist/client/assets/js/{elixir-DLfp2Dwn.js → elixir-BEJbxH-B.js} +1 -1
- package/dist/client/assets/js/{en-D6VVFwFU.js → en-D2WSXgkM.js} +1 -1
- package/dist/client/assets/js/{erDiagram-TEJ5UH35-CLlLC6xx.js → erDiagram-TEJ5UH35-DZysD9r9.js} +1 -1
- package/dist/client/assets/js/{es-BIMLuyVP.js → es-B7Mq1P0U.js} +1 -1
- package/dist/client/assets/js/{esm-C8D4M0Yn.js → esm-DnZPPtmx.js} +1 -1
- package/dist/client/assets/js/eventmodeling-FCH6USID-vlE3-g2j.js +1 -0
- package/dist/client/assets/js/{file-preview-BvgwVZXh.js → file-preview-C417aixJ.js} +1 -1
- package/dist/client/assets/js/{files-CJkCqsUx.js → files-DjI-npgn.js} +1 -1
- package/dist/client/assets/js/{flow9-CtBaUnAi.js → flow9-j5XT_8TQ.js} +1 -1
- package/dist/client/assets/js/{flowDiagram-I6XJVG4X-VTRTPnqD.js → flowDiagram-I6XJVG4X-Dt5ZtyHz.js} +1 -1
- package/dist/client/assets/js/{fr-C2lf0cY2.js → fr-DvClrDOw.js} +1 -1
- package/dist/client/assets/js/{freemarker2-XLeMvhl_.js → freemarker2-BzCf_0SN.js} +1 -1
- package/dist/client/assets/js/{fsharp-Db0uaBQv.js → fsharp-ClU_Sdjr.js} +1 -1
- package/dist/client/assets/js/{ganttDiagram-6RSMTGT7-CdKcIZ8_.js → ganttDiagram-6RSMTGT7-Bca3rPWi.js} +1 -1
- package/dist/client/assets/js/gitGraph-WXDBUCRP-Cyd4P6XH.js +1 -0
- package/dist/client/assets/js/{gitGraphDiagram-PVQCEYII-Bcuyw6fo.js → gitGraphDiagram-PVQCEYII-Co29qnTg.js} +1 -1
- package/dist/client/assets/js/{go-DwaTlB-B.js → go-D3iUyCM0.js} +1 -1
- package/dist/client/assets/js/{graphlib-vAI4Pw7R.js → graphlib-Bln6qd-Z.js} +1 -1
- package/dist/client/assets/js/{graphql-Cf2XhNJR.js → graphql-z8koqyyL.js} +1 -1
- package/dist/client/assets/js/{group-agent-avatar-CPehpiK0.js → group-agent-avatar-CwqtaKGw.js} +1 -1
- package/dist/client/assets/js/{group-chat-CY62vc77.js → group-chat-Buz8HP-N.js} +1 -1
- package/dist/client/assets/js/{group-chat-xkdjC2Jt.js → group-chat-CgFAwCtr.js} +1 -1
- package/dist/client/assets/js/{group-chat-agent-link-DdSNKasF.js → group-chat-agent-link-N5IFeN_j.js} +1 -1
- package/dist/client/assets/js/{handlebars-CNEKu_p8.js → handlebars-C_JvhUYs.js} +1 -1
- package/dist/client/assets/js/{hcl-6UZbq6h2.js → hcl-X7TzviIX.js} +1 -1
- package/dist/client/assets/js/{highlight-DwtBT6t1.js → highlight-C4yUBxwQ.js} +1 -1
- package/dist/client/assets/js/{html-DfSIHhKA.js → html-B-rCQB0N.js} +1 -1
- package/dist/client/assets/js/{htmlMode-iGw9-O-W.js → htmlMode-CAeEf_yf.js} +1 -1
- package/dist/client/assets/js/{index-DnjQJzX4.js → index-DN4SafrP.js} +5 -5
- package/dist/client/assets/js/info-J43DQDTF-B9tkQ2Sb.js +1 -0
- package/dist/client/assets/js/{infoDiagram-5YYISTIA-85450Zam.js → infoDiagram-5YYISTIA-BWQGayms.js} +1 -1
- package/dist/client/assets/js/{ini-8em8V_Af.js → ini-LTHHN4J-.js} +1 -1
- package/dist/client/assets/js/{ishikawaDiagram-YF4QCWOH-BZ4az7UA.js → ishikawaDiagram-YF4QCWOH-Dhuplz_z.js} +1 -1
- package/dist/client/assets/js/{ja-C1bBXgr_.js → ja-D7BeX2_D.js} +1 -1
- package/dist/client/assets/js/{java-CP1MdIkO.js → java-BRFX-ya0.js} +1 -1
- package/dist/client/assets/js/{javascript-Cr8_LHYa.js → javascript-ZXiVmjXn.js} +1 -1
- package/dist/client/assets/js/{journeyDiagram-JHISSGLW-DGMB8Tgc.js → journeyDiagram-JHISSGLW-CJeatAU9.js} +1 -1
- package/dist/client/assets/js/{jsonMode-HCZ-1lFH.js → jsonMode-C6FcMe0o.js} +1 -1
- package/dist/client/assets/js/{jszip.min-BkR6b8DY.js → jszip.min-skZCUzWf.js} +1 -1
- package/dist/client/assets/js/{julia-DMTMxa5q.js → julia-Bph8N3CL.js} +1 -1
- package/dist/client/assets/js/{kanban-definition-UN3LZRKU-F5cH_RpB.js → kanban-definition-UN3LZRKU-tvWuOdSr.js} +1 -1
- package/dist/client/assets/js/{katex-CYbEJAbZ.js → katex-hSGJNERm.js} +1 -1
- package/dist/client/assets/js/{ko-qgOeHd8L.js → ko-BsVa-If_.js} +1 -1
- package/dist/client/assets/js/{kotlin-Blzus47W.js → kotlin-_c4-tPQp.js} +1 -1
- package/dist/client/assets/js/{less-DWCHpDyf.js → less-5oVo4jfQ.js} +1 -1
- package/dist/client/assets/js/{lexon-YXdlYGbJ.js → lexon-DE4YtGwF.js} +1 -1
- package/dist/client/assets/js/{liquid-DSQgvRwe.js → liquid-BGfieGMG.js} +1 -1
- package/dist/client/assets/js/{lspLanguageFeatures-0Hx2Vnc-.js → lspLanguageFeatures-DU_1H2uW.js} +1 -1
- package/dist/client/assets/js/{lua-Cyv3mTkg.js → lua-7WJSZJqD.js} +1 -1
- package/dist/client/assets/js/{m3-CPY3Ym7_.js → m3-gZlfoR19.js} +1 -1
- package/dist/client/assets/js/{markdown-DaPQ1nuG.js → markdown-BYF71orA.js} +1 -1
- package/dist/client/assets/js/{mdx-BqA6Xr9V.js → mdx-CunEIV3g.js} +1 -1
- package/dist/client/assets/js/{mermaid-parser.core-D4HRUOce.js → mermaid-parser.core-DU_SX15F.js} +3 -3
- package/dist/client/assets/js/{mermaid.core-w6kHmgOG.js → mermaid.core-8vsbhG5J.js} +3 -3
- package/dist/client/assets/js/{message-scroll-position-C5yRCyBU.js → message-scroll-position-C9_YO3pX.js} +2 -2
- package/dist/client/assets/js/{mindmap-definition-RKZ34NQL-CnzhnJ7Z.js → mindmap-definition-RKZ34NQL-HPtlKqL1.js} +1 -1
- package/dist/client/assets/js/{mips-BfqBfLvN.js → mips-DXkvw9aZ.js} +1 -1
- package/dist/client/assets/js/{models-wrytxWnf.js → models-BILDy2sV.js} +1 -1
- package/dist/client/assets/js/{monaco.contribution-Bc-DesyO.js → monaco.contribution-DDqeHGl3.js} +2 -2
- package/dist/client/assets/js/{msdax-DgMip49g.js → msdax-BbHEBDvP.js} +1 -1
- package/dist/client/assets/js/{mysql-DPUvF1g2.js → mysql-7I1rlwh7.js} +1 -1
- package/dist/client/assets/js/{objective-c-BQ3llrPW.js → objective-c-Dk03REAv.js} +1 -1
- package/dist/client/assets/js/packet-YPE3B663-DlTFK3Wo.js +1 -0
- package/dist/client/assets/js/{pascal-bFWHV7MZ.js → pascal-BCfNkzYY.js} +1 -1
- package/dist/client/assets/js/{pascaligo-C8Qza2pK.js → pascaligo-D-DslS98.js} +1 -1
- package/dist/client/assets/js/{pdf-Cb7x495t.js → pdf-B_OYWxSy.js} +1 -1
- package/dist/client/assets/js/{pdf.worker.min-DDUKJ6cJ.js → pdf.worker.min--q2RLEHa.js} +1 -1
- package/dist/client/assets/js/{perl-x25gw0_p.js → perl-MUnuTclx.js} +1 -1
- package/dist/client/assets/js/{pets-BfRsvl7D.js → pets-D74G2jqA.js} +1 -1
- package/dist/client/assets/js/{pgsql-DAUcGeRq.js → pgsql-BxCBktNe.js} +1 -1
- package/dist/client/assets/js/{php-nri1eqb2.js → php-zp9UgH03.js} +1 -1
- package/dist/client/assets/js/pie-LRSECV5Y-BtnBGhFZ.js +1 -0
- package/dist/client/assets/js/{pieDiagram-4H26LBE5-4LODdtT_.js → pieDiagram-4H26LBE5-CG8_pcHr.js} +1 -1
- package/dist/client/assets/js/{pla-CHi5LWNL.js → pla-DGCtmYZC.js} +1 -1
- package/dist/client/assets/js/{postiats-Bk7jD0AA.js → postiats-DHSW8gnY.js} +1 -1
- package/dist/client/assets/js/{powerquery-UTqJ0Vs7.js → powerquery-BGsPEmJe.js} +1 -1
- package/dist/client/assets/js/{powershell-CuPY3Rqk.js → powershell-BItlb0hE.js} +1 -1
- package/dist/client/assets/js/{profiles-D-vlI-Ec.js → profiles-BK5JKD7h.js} +1 -1
- package/dist/client/assets/js/{protobuf-Be4AIz9j.js → protobuf-BIhm6JYx.js} +1 -1
- package/dist/client/assets/js/{pt-D7_udWb3.js → pt-BSORCDMm.js} +1 -1
- package/dist/client/assets/js/{pug-CZFx15Ey.js → pug-BtnM7KZj.js} +1 -1
- package/dist/client/assets/js/{python-BgRg6Ez6.js → python-DxzTx1Q_.js} +1 -1
- package/dist/client/assets/js/{qsharp-BiBiLhRS.js → qsharp-B_8MSfaB.js} +1 -1
- package/dist/client/assets/js/{quadrantDiagram-W4KKPZXB-g_q9-dXx.js → quadrantDiagram-W4KKPZXB-CsbkMYuV.js} +1 -1
- package/dist/client/assets/js/{r-DM7NVSbZ.js → r-kvKC59jk.js} +1 -1
- package/dist/client/assets/js/radar-GUYGQ44K-BTKMKX4G.js +1 -0
- package/dist/client/assets/js/{razor-CiWy0jCW.js → razor-BwZ0MkaL.js} +1 -1
- package/dist/client/assets/js/{redis-BR2LPmFL.js → redis-5j1U_i85.js} +1 -1
- package/dist/client/assets/js/{redshift-B0sdAV16.js → redshift-CX1dFLA1.js} +1 -1
- package/dist/client/assets/js/{requirementDiagram-4Y6WPE33-EedCclad.js → requirementDiagram-4Y6WPE33-CKC7CQCX.js} +1 -1
- package/dist/client/assets/js/{restructuredtext-kQOBLN1M.js → restructuredtext-MV0-Naya.js} +1 -1
- package/dist/client/assets/js/{rough.esm-Dyx_2DON.js → rough.esm-CV1rL6PC.js} +1 -1
- package/dist/client/assets/js/{ru-CVQQmreT.js → ru-JsH6TKyg.js} +1 -1
- package/dist/client/assets/js/{ruby-CbdJXy6J.js → ruby-Bhyejf9X.js} +1 -1
- package/dist/client/assets/js/{rust-DZanYksk.js → rust-CR8d_FC1.js} +1 -1
- package/dist/client/assets/js/{sankeyDiagram-5OEKKPKP-DFC0nzsd.js → sankeyDiagram-5OEKKPKP-CKlqlvAe.js} +1 -1
- package/dist/client/assets/js/{sb-C5-WiqDZ.js → sb-hLW2EM2L.js} +1 -1
- package/dist/client/assets/js/{scala-Bk7i9nV-.js → scala-DVUhALEZ.js} +1 -1
- package/dist/client/assets/js/{scheme-CaZSWmJ2.js → scheme-BS6yNanr.js} +1 -1
- package/dist/client/assets/js/{scss-ByOYuc7K.js → scss-BfoRsElt.js} +1 -1
- package/dist/client/assets/js/{sequenceDiagram-3UESZ5HK-hWjPfqXt.js → sequenceDiagram-3UESZ5HK-CTimhD6H.js} +1 -1
- package/dist/client/assets/js/{session-browser-prefs-Br8OYA4_.js → session-browser-prefs-BT1woDux.js} +1 -1
- package/dist/client/assets/js/{sessions-iGK9S6zk.js → sessions-IkLKgnN6.js} +1 -1
- package/dist/client/assets/js/{settings-pbanANH0.js → settings-roYY6G3W.js} +1 -1
- package/dist/client/assets/js/{shell-Di0TEySc.js → shell-BO_Lyczz.js} +1 -1
- package/dist/client/assets/js/{skills-DC-UPcXj.js → skills-a5LPwmiT.js} +1 -1
- package/dist/client/assets/js/{solidity-BNTjAuuA.js → solidity-D3T2Ki4l.js} +1 -1
- package/dist/client/assets/js/{sophia-LY__8Yob.js → sophia-iJmIEvi8.js} +1 -1
- package/dist/client/assets/js/{sparql-CWnLfgGS.js → sparql-C2HCEExr.js} +1 -1
- package/dist/client/assets/js/{sql-B0ypQ9lR.js → sql-DM6_3GBc.js} +1 -1
- package/dist/client/assets/js/{src-BihFroE7.js → src-DD_TpJde.js} +1 -1
- package/dist/client/assets/js/{st-CqVFKTbZ.js → st-DSb39Fm5.js} +1 -1
- package/dist/client/assets/js/{stateDiagram-AJRCARHV-B7wEnYVe.js → stateDiagram-AJRCARHV-DwBGmBj6.js} +1 -1
- package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-5bNcwBne.js +1 -0
- package/dist/client/assets/js/{style-DDAg_jVj.js → style-B5xXhBlp.js} +1 -1
- package/dist/client/assets/js/{swift-B4ZZmDxc.js → swift-DrZYSZK3.js} +1 -1
- package/dist/client/assets/js/{systemverilog-zLt-O1mT.js → systemverilog-BAWNCaf6.js} +1 -1
- package/dist/client/assets/js/{tcl-DCSZmA-l.js → tcl-DY15ex6v.js} +1 -1
- package/dist/client/assets/js/{timeline-definition-PNZ67QCA-BN_LfleE.js → timeline-definition-PNZ67QCA-B8xuIu6g.js} +1 -1
- package/dist/client/assets/js/treeView-BLDUP644-DvZPUnGM.js +1 -0
- package/dist/client/assets/js/treemap-LRROVOQU-Bis1djYh.js +1 -0
- package/dist/client/assets/js/{tsMode-BjUcuHrq.js → tsMode-BE8JCSCE.js} +1 -1
- package/dist/client/assets/js/{ttsHelpers-BLunFYsq.js → ttsHelpers-BLNiQExI.js} +1 -1
- package/dist/client/assets/js/{twig-CuJlVpUG.js → twig-BpHF_18K.js} +1 -1
- package/dist/client/assets/js/{typescript-De40YVFt.js → typescript-FQ3z9hVG.js} +1 -1
- package/dist/client/assets/js/{typespec-8QcsIc3c.js → typespec-BKvcn6aE.js} +1 -1
- package/dist/client/assets/js/{useSttSettings-B1-KXN44.js → useSttSettings-DHX06G8A.js} +1 -1
- package/dist/client/assets/js/{vb-DEGTdhxf.js → vb-B74ucE43.js} +1 -1
- package/dist/client/assets/js/{vennDiagram-CIIHVFJN-hL8ax7wF.js → vennDiagram-CIIHVFJN-DtEu04QR.js} +1 -1
- package/dist/client/assets/js/wardley-L42UT6IY-CD4dIN63.js +1 -0
- package/dist/client/assets/js/{wardleyDiagram-YWT4CUSO-BIR-RA6Y.js → wardleyDiagram-YWT4CUSO-DdNKCPsp.js} +1 -1
- package/dist/client/assets/js/{wgsl-CmbiucmY.js → wgsl-DEf5Vdqv.js} +1 -1
- package/dist/client/assets/js/{workers-BgWBq4qY.js → workers-BbaiLVxx.js} +1 -1
- package/dist/client/assets/js/{workflow-socket-DZ9Ceffc.js → workflow-socket-DH402vxO.js} +1 -1
- package/dist/client/assets/js/{xml-SZLdwDmk.js → xml-zjE51I7v.js} +1 -1
- package/dist/client/assets/js/{xterm-D6CotCNH.js → xterm-Djy4rCx0.js} +1 -1
- package/dist/client/assets/js/{xychartDiagram-2RQKCTM6-DHa486uP.js → xychartDiagram-2RQKCTM6-CKqN7g7r.js} +1 -1
- package/dist/client/assets/js/{yaml-CgQpCgM5.js → yaml-DabeGoTc.js} +1 -1
- package/dist/client/assets/js/{zh-BDlMioZr.js → zh-CI4-L3JY.js} +1 -1
- package/dist/client/assets/js/{zh-TW-DTbLWR1A.js → zh-TW-wYlj-uOZ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/openapi.json +1 -1
- package/package.json +9 -1
- package/dist/client/assets/js/architecture-7EHR7CIX-Cl4Qi40R.js +0 -1
- package/dist/client/assets/js/classDiagram-4FO5ZUOK-DC0BcY8x.js +0 -1
- package/dist/client/assets/js/classDiagram-v2-Q7XG4LA2-BfDDH_fm.js +0 -1
- package/dist/client/assets/js/eventmodeling-FCH6USID-Bgzwnvkn.js +0 -1
- package/dist/client/assets/js/gitGraph-WXDBUCRP-CwFrpI3e.js +0 -1
- package/dist/client/assets/js/info-J43DQDTF-wMwkmIWM.js +0 -1
- package/dist/client/assets/js/packet-YPE3B663-DYmKXJOE.js +0 -1
- package/dist/client/assets/js/pie-LRSECV5Y-Dx0hbcjV.js +0 -1
- package/dist/client/assets/js/radar-GUYGQ44K-D-t-QJhi.js +0 -1
- package/dist/client/assets/js/stateDiagram-v2-BHNVJYJU-CoMhBVvo.js +0 -1
- package/dist/client/assets/js/treeView-BLDUP644-CMJGhbWk.js +0 -1
- package/dist/client/assets/js/treemap-LRROVOQU-_j4KoVDh.js +0 -1
- package/dist/client/assets/js/wardley-L42UT6IY-BeOvmJoM.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Oa as J3,Ta as tN,wa as I}from"./index-DnjQJzX4.js";import{t as eN}from"./jszip.min-BkR6b8DY.js";function ft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ed(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ed,St=I((()=>{Ed=function(e,t){return Ed=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Ed(e,t)}}));function rN(e,t){var r=t.browser,i=e.match(/Firefox\/([\d.]+)/),n=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);if(i&&(r.firefox=!0,r.version=i[1]),n&&(r.ie=!0,r.version=n[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u"){var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}}var aw,Nt,pr=I((()=>{aw=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),Nt=new((function(){function e(){this.browser=new aw,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e})()),typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Nt.wxa=!0,Nt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Nt.worker=!0:!Nt.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(Nt.node=!0,Nt.svgSupported=!0):rN(navigator.userAgent,Nt)}));function iN(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var i=String.fromCharCode(r+32);t[i]=(e.charCodeAt(r)-wT)/MT}return t}var nN,ow,ST,wT,MT,sw,lw,Ur,xi=I((()=>{nN=12,ow="sans-serif",ST="12px "+ow,wT=20,MT=100,sw="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N",lw=iN(sw),Ur={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var e,t;return function(r,i){if(!e){var n=Ur.createCanvas();e=n&&n.getContext("2d")}if(e)return t!==i&&(t=e.font=i||"12px sans-serif"),e.measureText(r);r=r||"",i=i||"12px sans-serif";var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||12,s=0;if(i.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=lw[r[l]];s+=u==null?o:u*o}return{width:s}}})(),loadImage:function(e,t,r){var i=new Image;return i.onload=t,i.onerror=r,i.src=e,i},getTime:function(){return Date.now?Date.now():+new Date}}}));function CT(){return Rd>=PT&&(Rd=0),Rd++}function n$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Yt(e){if(e==null||typeof e!="object")return e;var t=e,r=tu.call(e);if(r==="[object Array]"){if(!Dc(e)){t=[];for(var i=0,n=e.length;i<n;i++)t[i]=Yt(e[i])}}else if(l$[r]){if(!Dc(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var i=0,n=e.length;i<n;i++)t[i]=e[i]}}}else if(!s$[r]&&!Dc(e)&&!Kc(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==qp&&(t[o]=Yt(e[o]))}return t}function pe(e,t,r){if(!_t(t)||!_t(e))return r?Yt(t):e;for(var i in t)if(t.hasOwnProperty(i)&&i!==qp){var n=e[i],a=t[i];_t(a)&&_t(n)&&!at(a)&&!at(n)&&!Kc(a)&&!Kc(n)&&!uw(a)&&!uw(n)&&!Dc(a)&&!Dc(n)?pe(n,a,r):(r||!(i in e))&&(e[i]=Yt(t[i]))}return e}function K(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==qp&&(e[r]=t[r]);return e}function aN(e,t,r){e=e||{};for(var i=0;i<r.length;i++){var n=r[i];e[n]=t[n]}return e}function Xt(e,t,r){for(var i=ge(t),n=0,a=i.length;n<a;n++){var o=i[n];(r?t[o]!=null:e[o]==null)&&(e[o]=t[o])}return e}function Jt(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r}return-1}function oN(e,t){var r=e.prototype;function i(){}i.prototype=t.prototype,e.prototype=new i;for(var n in r)r.hasOwnProperty(n)&&(e.prototype[n]=r[n]);e.prototype.constructor=e,e.superClass=t}function Ei(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),n=0;n<i.length;n++){var a=i[n];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else Xt(e,t,r)}function Wr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function F(e,t,r){if(e&&t)if(e.forEach&&e.forEach===TT)e.forEach(t,r);else if(e.length===+e.length)for(var i=0,n=e.length;i<n;i++)t.call(r,e[i],i,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function ut(e,t,r){if(!e)return[];if(!t)return a$(e);if(e.map&&e.map===kT)return e.map(t,r);for(var i=[],n=0,a=e.length;n<a;n++)i.push(t.call(r,e[n],n,e));return i}function xa(e,t,r,i){if(e&&t){for(var n=0,a=e.length;n<a;n++)r=t.call(i,r,e[n],n,e);return r}}function Qe(e,t,r){if(!e)return[];if(!t)return a$(e);if(e.filter&&e.filter===DT)return e.filter(t,r);for(var i=[],n=0,a=e.length;n<a;n++)t.call(r,e[n],n,e)&&i.push(e[n]);return i}function LT(e,t,r){if(e&&t){for(var i=0,n=e.length;i<n;i++)if(t.call(r,e[i],i,e))return e[i]}}function ge(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function sN(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return function(){return e.apply(t,r.concat(Xp.call(arguments)))}}function Je(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(Xp.call(arguments)))}}function at(e){return Array.isArray?Array.isArray(e):tu.call(e)==="[object Array]"}function Dt(e){return typeof e=="function"}function vt(e){return typeof e=="string"}function oy(e){return tu.call(e)==="[object String]"}function $e(e){return typeof e=="number"}function _t(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function uw(e){return!!s$[tu.call(e)]}function ri(e){return!!l$[tu.call(e)]}function Kc(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function Zp(e){return e.colorStops!=null}function lN(e){return e.image!=null}function Qc(e){return e!==e}function Av(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,i=e.length;r<i;r++)if(e[r]!=null)return e[r]}function gt(e,t){return e??t}function mo(e,t,r){return e??t??r}function a$(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Xp.apply(e,t)}function o$(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function $a(e,t){if(!e)throw new Error(t)}function Tn(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function sy(e){e[u$]=!0}function Dc(e){return e[u$]}function uN(){return ly?new Map:new IT}function Lt(e){return new ET(e)}function cN(e,t){for(var r=new e.constructor(e.length+t.length),i=0;i<e.length;i++)r[i]=e[i];for(var n=e.length,i=0;i<t.length;i++)r[i+n]=t[i];return r}function Yp(e,t){var r;if(Object.create)r=Object.create(e);else{var i=function(){};i.prototype=e,r=new i}return t&&K(r,t),r}function AT(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function tt(e,t){return e.hasOwnProperty(t)}function Pr(){}var s$,l$,tu,Lu,TT,DT,Xp,kT,rg,Au,qp,Rd,PT,hN,ne,u$,IT,ly,ET,RT,fN,j=I((()=>{xi(),s$=xa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),l$=xa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),tu=Object.prototype.toString,Lu=Array.prototype,TT=Lu.forEach,DT=Lu.filter,Xp=Lu.slice,kT=Lu.map,rg=function(){}.constructor,Au=rg?rg.prototype:null,qp="__proto__",Rd=2311,PT=Math.pow(2,53)-1,hN=Ur.createCanvas,ne=Au&&Dt(Au.bind)?Au.call.bind(Au.bind):sN,u$="__ec_primitive__",IT=(function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return ge(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var i in r)r.hasOwnProperty(i)&&t(r[i],i)},e})(),ly=typeof Map=="function",ET=(function(){function e(t){var r=at(t);this.data=uN();var i=this;t instanceof e?t.each(n):t&&F(t,n);function n(a,o){r?i.set(a,o):i.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(i,n){t.call(r,i,n)})},e.prototype.keys=function(){var t=this.data.keys();return ly?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e})(),RT=180/Math.PI,fN=Number.EPSILON||Math.pow(2,-52)}));function we(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Fd(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Fd,ke=I((()=>{Fd=function(e,t){return Fd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Fd(e,t)}}));function Ll(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function cw(e,t){return e[0]=t[0],e[1]=t[1],e}function dN(e){return[e[0],e[1]]}function ig(e,t,r){return e[0]=t,e[1]=r,e}function hw(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function vN(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function pN(e){return Math.sqrt(gN(e))}function gN(e){return e[0]*e[0]+e[1]*e[1]}function ng(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function mN(e,t){var r=pN(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function uy(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}function yN(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function ag(e,t,r,i){return e[0]=t[0]+i*(r[0]-t[0]),e[1]=t[1]+i*(r[1]-t[1]),e}function ti(e,t,r){var i=t[0],n=t[1];return e[0]=r[0]*i+r[2]*n+r[4],e[1]=r[1]*i+r[3]*n+r[5],e}function gl(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function ml(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var Tv,os,gr=I((()=>{Tv=uy,os=yN})),Po,FT,xN=I((()=>{Po=(function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e})(),FT=(function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Po(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var i=t.offsetX,n=t.offsetY,a=i-this._x,o=n-this._y;this._x=i,this._y=n,r.drift(a,o,t),this.handler.dispatchToElement(new Po(r,t),"drag",t.event);var s=this.handler.findHover(i,n,r).target,l=this._dropTarget;this._dropTarget=s,r!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Po(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Po(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Po(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Po(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e})()})),hn,Pa=I((()=>{hn=(function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,i,n){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(n=i,i=r,r=null),!i||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===i)return this;var l={h:i,query:r,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},u=a[t].length-1,c=a[t][u];return c&&c.callAtLast?a[t].splice(u,0,l):a[t].push(l),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(r){if(i[t]){for(var n=[],a=0,o=i[t].length;a<o;a++)i[t][a].h!==r&&n.push(i[t][a]);i[t]=n}i[t]&&i[t].length===0&&delete i[t]}else delete i[t];return this},e.prototype.trigger=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=r.length,s=n.length,l=0;l<s;l++){var u=n[l];if(!(a&&a.filter&&u.query!=null&&!a.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,r[0]);break;case 2:u.h.call(u.ctx,r[0],r[1]);break;default:u.h.apply(u.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=r.length,s=r[o-1],l=n.length,u=0;u<l;u++){var c=n[u];if(!(a&&a.filter&&c.query!=null&&!a.filter(t,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,r[0]);break;case 2:c.h.call(s,r[0],r[1]);break;default:c.h.apply(s,r.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e})()}));function cy(e,t,r,i,n,a){var o=i+"-"+n,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~n)/BT);return e[r][l]}for(var u=i|1<<r,c=r+1;i&1<<c;)c++;for(var h=0,f=0,d=0;f<s;f++){var v=1<<f;v&n||(h+=(d%2?-1:1)*e[r][f]*cy(e,t-1,c,u,n|v,a),d++)}return a[o]=h,h}function fw(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],i={},n=cy(r,8,0,0,0,i);if(n!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]??(a[s]=0),a[s]+=((o+s)%2?-1:1)*cy(r,7,o===0?1:0,1<<o,1<<s,i)/n*t[o];return function(l,u,c){var h=u*a[6]+c*a[7]+1;l[0]=(u*a[0]+c*a[1]+a[2])/h,l[1]=(u*a[3]+c*a[4]+a[5])/h}}}var BT,$N=I((()=>{BT=Math.log(2)}));function bN(e,t,r,i,n){return hy(Bd,t,i,n,!0)&&hy(e,r,Bd[0],Bd[1])}function _N(e,t){e&&r(e),t&&r(t);function r(i){var n=i[Jc];n&&(n.clearMarkers&&n.clearMarkers(),delete i[Jc])}}function hy(e,t,r,i,n){if(t.getBoundingClientRect&&Nt.domSupported&&!NT(t)){var a=t[Jc]||(t[Jc]={}),o=wN(SN(t,a),a,n);if(o)return o(e,r,i),!0}return!1}function SN(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var i=["left","right"],n=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",n[u]+":0",i[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return t.clearMarkers=function(){F(r,function(c){c.parentNode&&c.parentNode.removeChild(c)})},r}function wN(e,t,r){for(var i=r?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),h=2*u,f=c.left,d=c.top;o.push(f,d),l=l&&a&&f===a[h]&&d===a[h+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&n?n:(t.srcCoords=o,t[i]=r?fw(s,o):fw(o,s))}function NT(e){return e.nodeName.toUpperCase()==="CANVAS"}function Kr(e){return e==null?"":(e+"").replace(OT,function(t,r){return zT[r]})}var Jc,Bd,OT,zT,Kp=I((()=>{pr(),$N(),j(),Jc="___zrEVENTSAVED",Bd=[],OT=/([&<>"'])/g,zT={"&":"&","<":"<",">":">",'"':""","'":"'"}}));function fy(e,t,r,i){return r=r||{},i?dw(e,t,r):HT&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):dw(e,t,r),r}function dw(e,t,r){if(Nt.domSupported&&e.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(NT(e)){var a=e.getBoundingClientRect();r.zrX=i-a.left,r.zrY=n-a.top;return}else if(hy(Nd,e,i,n)){r.zrX=Nd[0],r.zrY=Nd[1];return}}r.zrX=r.zrY=0}function c$(e){return e||window.event}function Ai(e,t,r){if(t=c$(t),t.zrX!=null)return t;var i=t.type;if(i&&i.indexOf("touch")>=0){var a=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&fy(e,a,t,r)}else{fy(e,t,t,r);var n=MN(t);t.zrDelta=n?n/120:-(t.detail||0)/3}var o=t.button;return t.which==null&&o!==void 0&>.test(t.type)&&(t.which=o&1?1:o&2?3:o&4?2:0),t}function MN(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,i=e.deltaY;if(r==null||i==null)return t;var n=Math.abs(i!==0?i:r),a=i>0?-1:i<0?1:r>0?-1:1;return 3*n*a}function CN(e,t,r,i){e.addEventListener(t,r,i)}function LN(e,t,r,i){e.removeEventListener(t,r,i)}var GT,Nd,HT,h$,_s=I((()=>{pr(),Kp(),GT=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Nd=[],HT=Nt.browser.firefox&&+Nt.browser.version.split(".")[0]<39,h$=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}}));function vw(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function AN(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var jT,yf,TN=I((()=>{_s(),jT=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,i){return this._doTrack(t,r,i),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:r,event:t},o=0,s=n.length;o<s;o++){var l=n[o],u=fy(i,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in yf)if(yf.hasOwnProperty(r)){var i=yf[r](this._track,t);if(i)return i}},e})(),yf={pinch:function(e,t){var r=e.length;if(r){var i=(e[r-1]||{}).points,n=(e[r-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var a=vw(i)/vw(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=AN(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}}}));function cr(){return[1,0,0,1,0,0]}function Ch(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function f$(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function kc(e,t,r){var i=t[0]*r[0]+t[2]*r[1],n=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=i,e[1]=n,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function dy(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function d$(e,t,r,i){i===void 0&&(i=[0,0]);var n=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(r),h=Math.cos(r);return e[0]=n*h+s*c,e[1]=-n*c+s*h,e[2]=a*h+l*c,e[3]=-a*c+h*l,e[4]=h*(o-i[0])+c*(u-i[1])+i[0],e[5]=h*(u-i[1])-c*(o-i[0])+i[1],e}function DN(e,t,r){var i=r[0],n=r[1];return e[0]=t[0]*i,e[1]=t[1]*n,e[2]=t[2]*i,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*n,e}function eu(e,t){var r=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],l=r*o-a*i;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-i*l,e[3]=r*l,e[4]=(i*s-o*n)*l,e[5]=(a*n-r*s)*l,e):null}var $i=I((()=>{})),Ft,ru=I((()=>{Ft=(function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,i=this.y-t.y;return Math.sqrt(r*r+i*i)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,i=this.y-t.y;return r*r+i*i},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,i=this.y;return this.x=t[0]*r+t[2]*i+t[4],this.y=t[1]*r+t[3]*i+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,i){t.x=r,t.y=i},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,i){t.x=r.x+i.x,t.y=r.y+i.y},e.sub=function(t,r,i){t.x=r.x-i.x,t.y=r.y-i.y},e.scale=function(t,r,i){t.x=r.x*i,t.y=r.y*i},e.scaleAndAdd=function(t,r,i,n){t.x=r.x+i.x*n,t.y=r.y+i.y*n},e.lerp=function(t,r,i,n){var a=1-n;t.x=a*r.x+n*i.x,t.y=a*r.y+n*i.y},e})()}));function pw(e,t,r,i,n,a,o,s){var l=Dv(t-r),u=Dv(i-e),c=fo(l,u),h=vy[n],f=vy[1-n],d=UT[n];t<r||i<e?l<u?(a&&(kv[h]=-l),s&&(o[h]=t,o[d]=0)):(a&&(kv[h]=u),s&&(o[h]=e,o[d]=0)):(o&&(o[h]=qo(e,r),o[d]=fo(t,i)-o[h]),a&&(c<Al[0]||qr.useDir)&&(Al[0]=fo(c,Al[0]),(l<u||!qr.bidirectional)&&(yl[h]=l,yl[f]=0,qr.useDir&&qr.calcDirMTV()),(l>=u||!qr.bidirectional)&&(yl[h]=-u,yl[f]=0,qr.useDir&&qr.calcDirMTV())))}function VT(){var e=0,t=new Ft,r=new Ft,i={minTv:new Ft,maxTv:new Ft,useDir:!1,dirMinTv:new Ft,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){i.touchThreshold=0,a&&a.touchThreshold!=null&&(i.touchThreshold=qo(0,a.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,a&&a.direction!=null&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),r.copy(i.minTv),e=a.direction,i.bidirectional=a.bidirectional==null||!!a.bidirectional,i.bidirectional||t.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var a=i.minTv,o=i.dirMinTv,s=a.y*a.y+a.x*a.x,l=Math.sin(e),u=Math.cos(e),c=l*a.y+u*a.x;if(n(c)){n(a.x)&&n(a.y)&&o.set(0,0);return}if(r.x=s*u/c,r.y=s*l/c,n(r.x)&&n(r.y)){o.set(0,0);return}(i.bidirectional||t.dot(r)>0)&&r.len()<o.len()&&o.copy(r)}};function n(a){return Dv(a)<1e-10}return i}var fo,qo,Dv,vy,UT,Ha,ja,Va,Ua,qr,yl,kv,Al,Ct,th,xf,Tl,gw,WT,ZT,mw,yw,$f,je=I((()=>{$i(),gr(),ru(),fo=Math.min,qo=Math.max,Dv=Math.abs,vy=["x","y"],UT=["width","height"],Ha=new Ft,ja=new Ft,Va=new Ft,Ua=new Ft,qr=VT(),yl=qr.minTv,kv=qr.maxTv,Al=[0,0],Ct=(function(){function e(t,r,i,n){xf(this,t,r,i,n)}return e.set=function(t,r,i,n,a){return n<0&&(r=r+n,n=-n),a<0&&(i=i+a,a=-a),t.x=r,t.y=i,t.width=n,t.height=a,t},e.prototype.union=function(t){var r=fo(t.x,this.x),i=fo(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=qo(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=qo(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=r,this.y=i},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){return gw(cr(),this,t)},e.prototype.intersect=function(t,r,i){return e.intersect(this,t,r,i)},e.intersect=function(t,r,i,n){i&&Ft.set(i,0,0);var a=n&&n.outIntersectRect||null,o=n&&n.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!r)return!1;t instanceof e||(t=xf(mw,t.x,t.y,t.width,t.height)),r instanceof e||(r=xf(yw,r.x,r.y,r.width,r.height));var s=!!i;qr.reset(n,s);var l=qr.touchThreshold,u=t.x+l,c=t.x+t.width-l,h=t.y+l,f=t.y+t.height-l,d=r.x+l,v=r.x+r.width-l,p=r.y+l,m=r.y+r.height-l;if(u>c||h>f||d>v||p>m)return!1;var g=!(c<d||v<u||f<p||m<h);return(s||a)&&(Al[0]=1/0,Al[1]=0,pw(u,c,d,v,0,s,a,o),pw(h,f,p,m,1,s,a,o),s&&Ft.copy(i,g?qr.useDir?qr.dirMinTv:yl:kv)),g},e.contain=function(t,r,i){return r>=t.x&&r<=t.x+t.width&&i>=t.y&&i<=t.y+t.height},e.prototype.contain=function(t,r){return e.contain(this,t,r)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){Tl(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t?t.x:0,t?t.y:0,t?t.width:0,t?t.height:0)},e.copy=function(t,r){return t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height,t},e.applyTransform=function(t,r,i){if(!i){t!==r&&Tl(t,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=r.x*n+o,t.y=r.y*a+s,t.width=r.width*n,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Ha.x=Va.x=r.x,Ha.y=Ua.y=r.y,ja.x=Ua.x=r.x+r.width,ja.y=Va.y=r.y+r.height,Ha.transform(i),Ua.transform(i),ja.transform(i),Va.transform(i),t.x=fo(Ha.x,ja.x,Va.x,Ua.x),t.y=fo(Ha.y,ja.y,Va.y,Ua.y);var l=qo(Ha.x,ja.x,Va.x,Ua.x),u=qo(Ha.y,ja.y,Va.y,Ua.y);t.width=l-t.x,t.height=u-t.y},e.calculateTransform=function(t,r,i){var n=i.width/r.width,a=i.height/r.height;return t=Ch(t||[]),dy(t,t,ig($f,-r.x,-r.y)),DN(t,t,ig($f,n,a)),dy(t,t,ig($f,i.x,i.y)),t},e})(),th=Ct.create,xf=Ct.set,Tl=Ct.copy,gw=Ct.calculateTransform,WT=Ct.applyTransform,ZT=Ct.contain,mw=new Ct(0,0,0,0),yw=new Ct(0,0,0,0),$f=[]}));function kN(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:PN}}function PN(){h$(this.event)}function IN(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var i=e,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,r))return!1}i.silent&&(n=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return n?v$:!0}return!1}function xw(e,t,r,i,n){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==n&&!o.ignore&&(s=IN(o,r,i))&&(!t.topTarget&&(t.topTarget=o),s!==v$)){t.target=o;break}}}function $w(e,t,r){var i=e.painter;return t<0||t>i.getWidth()||r<0||r>i.getHeight()}var v$,bw,Os,_w,bf,py,EN=I((()=>{ke(),j(),gr(),xN(),Pa(),_s(),TN(),je(),v$="silent",bw=(function(e){we(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(hn),Os=(function(){function e(t,r){this.x=t,this.y=r}return e})(),_w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],bf=new Ct(0,0,0,0),py=(function(e){we(t,e);function t(r,i,n,a,o){var s=e.call(this)||this;return s._hovered=new Os(0,0),s.storage=r,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new bw,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new FT(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(F(_w,function(i){r.on&&r.on(i,this[i],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var i=r.zrX,n=r.zrY,a=$w(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Os(i,n):this.findHover(i,n),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var i=r.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Os(0,0)},t.prototype.dispatch=function(r,i){var n=this[r];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var i=this.proxy;i.setCursor&&i.setCursor(r)},t.prototype.dispatchToElement=function(r,i,n){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+i,s=kN(i,r,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(i,s)}))}},t.prototype.findHover=function(r,i,n){var a=this.storage.getDisplayList(),o=new Os(r,i);if(xw(a,o,r,i,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Ct(r-u,i-u,l,l),h=a.length-1;h>=0;h--){var f=a[h];f!==n&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(bf.copy(f.getBoundingRect()),f.transform&&bf.applyTransform(f.transform),bf.intersect(c)&&s.push(f))}if(s.length){for(var d=4,v=Math.PI/12,p=Math.PI*2,m=0;m<u;m+=d)for(var g=0;g<p;g+=v)if(xw(s,o,r+m*Math.cos(g),i+m*Math.sin(g),n),o.target)return o}}return o},t.prototype.processGesture=function(r,i){this._gestureMgr||(this._gestureMgr=new jT);var n=this._gestureMgr;i==="start"&&n.clear();var a=n.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(i==="end"&&n.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Os;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t})(hn),F(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){py.prototype[e]=function(t){var r=t.zrX,i=t.zrY,n=$w(this,r,i),a,o;if((e!=="mouseup"||!n)&&(a=this.findHover(r,i),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||Tv(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}})}));function RN(e){for(var t=0;e>=p$;)t|=e&1,e>>=1;return e+t}function Sw(e,t,r,i){var n=t+1;if(n===r)return 1;if(i(e[n++],e[t])<0){for(;n<r&&i(e[n],e[n-1])<0;)n++;FN(e,t,n)}else for(;n<r&&i(e[n],e[n-1])>=0;)n++;return n-t}function FN(e,t,r){for(r--;t<r;){var i=e[t];e[t++]=e[r],e[r--]=i}}function ww(e,t,r,i,n){for(i===t&&i++;i<r;i++){for(var a=e[i],o=t,s=i,l;o<s;)l=o+s>>>1,n(a,e[l])<0?s=l:o=l+1;var u=i-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=a}}function og(e,t,r,i,n,a){var o=0,s=0,l=1;if(a(e,t[r+n])>0){for(s=i-n;l<s&&a(e,t[r+n+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;l<s&&a(e,t[r+n-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])>0?o=c+1:l=c}return l}function sg(e,t,r,i,n,a){var o=0,s=0,l=1;if(a(e,t[r+n])<0){for(s=n+1;l<s&&a(e,t[r+n-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=i-n;l<s&&a(e,t[r+n+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])<0?l=c:o=c+1}return l}function BN(e,t){var r=sl,i,n,a=0,o=[];i=[],n=[];function s(d,v){i[a]=d,n[a]=v,a+=1}function l(){for(;a>1;){var d=a-2;if(d>=1&&n[d-1]<=n[d]+n[d+1]||d>=2&&n[d-2]<=n[d]+n[d-1])n[d-1]<n[d+1]&&d--;else if(n[d]>n[d+1])break;c(d)}}function u(){for(;a>1;){var d=a-2;d>0&&n[d-1]<n[d+1]&&d--,c(d)}}function c(d){var v=i[d],p=n[d],m=i[d+1],g=n[d+1];n[d]=p+g,d===a-3&&(i[d+1]=i[d+2],n[d+1]=n[d+2]),a--;var y=sg(e[m],e,v,p,0,t);v+=y,p-=y,p!==0&&(g=og(e[v+p-1],e,m,g,g-1,t),g!==0&&(p<=g?h(v,p,m,g):f(v,p,m,g)))}function h(d,v,p,m){var g=0;for(g=0;g<v;g++)o[g]=e[d+g];var y=0,x=p,$=d;if(e[$++]=e[x++],--m===0){for(g=0;g<v;g++)e[$+g]=o[y+g];return}if(v===1){for(g=0;g<m;g++)e[$+g]=e[x+g];e[$+m]=o[y];return}for(var b=r,_,S,M;;){_=0,S=0,M=!1;do if(t(e[x],o[y])<0){if(e[$++]=e[x++],S++,_=0,--m===0){M=!0;break}}else if(e[$++]=o[y++],_++,S=0,--v===1){M=!0;break}while((_|S)<b);if(M)break;do{if(_=sg(e[x],o,y,v,0,t),_!==0){for(g=0;g<_;g++)e[$+g]=o[y+g];if($+=_,y+=_,v-=_,v<=1){M=!0;break}}if(e[$++]=e[x++],--m===0){M=!0;break}if(S=og(o[y],e,x,m,0,t),S!==0){for(g=0;g<S;g++)e[$+g]=e[x+g];if($+=S,x+=S,m-=S,m===0){M=!0;break}}if(e[$++]=o[y++],--v===1){M=!0;break}b--}while(_>=sl||S>=sl);if(M)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),v===1){for(g=0;g<m;g++)e[$+g]=e[x+g];e[$+m]=o[y]}else{if(v===0)throw new Error;for(g=0;g<v;g++)e[$+g]=o[y+g]}}function f(d,v,p,m){var g=0;for(g=0;g<m;g++)o[g]=e[p+g];var y=d+v-1,x=m-1,$=p+m-1,b=0,_=0;if(e[$--]=e[y--],--v===0){for(b=$-(m-1),g=0;g<m;g++)e[b+g]=o[g];return}if(m===1){for($-=v,y-=v,_=$+1,b=y+1,g=v-1;g>=0;g--)e[_+g]=e[b+g];e[$]=o[x];return}for(var S=r;;){var M=0,w=0,T=!1;do if(t(o[x],e[y])<0){if(e[$--]=e[y--],M++,w=0,--v===0){T=!0;break}}else if(e[$--]=o[x--],w++,M=0,--m===1){T=!0;break}while((M|w)<S);if(T)break;do{if(M=v-sg(o[x],e,d,v,v-1,t),M!==0){for($-=M,y-=M,v-=M,_=$+1,b=y+1,g=M-1;g>=0;g--)e[_+g]=e[b+g];if(v===0){T=!0;break}}if(e[$--]=o[x--],--m===1){T=!0;break}if(w=m-og(e[y],o,0,m,m-1,t),w!==0){for($-=w,x-=w,m-=w,_=$+1,b=x+1,g=0;g<w;g++)e[_+g]=o[b+g];if(m<=1){T=!0;break}}if(e[$--]=e[y--],--v===0){T=!0;break}S--}while(M>=sl||w>=sl);if(T)break;S<0&&(S=0),S+=2}if(r=S,r<1&&(r=1),m===1){for($-=v,y-=v,_=$+1,b=y+1,g=v-1;g>=0;g--)e[_+g]=e[b+g];e[$]=o[x]}else{if(m===0)throw new Error;for(b=$-(m-1),g=0;g<m;g++)e[b+g]=o[g]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Od(e,t,r,i){r||(r=0),i||(i=e.length);var n=i-r;if(!(n<2)){var a=0;if(n<p$){a=Sw(e,r,i,t),ww(e,r,i,r+a,t);return}var o=BN(e,t),s=RN(n);do{if(a=Sw(e,r,i,t),a<s){var l=n;l>s&&(l=s),ww(e,r,r+l,r+a,t),a=l}o.pushRun(r,a),o.mergeRuns(),n-=a,r+=a}while(n!==0);o.forceMergeRuns()}}var p$,sl,YT=I((()=>{p$=32,sl=7})),Ss=I((()=>{}));function lg(){gy||(gy=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Mw(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var gy,XT,NN=I((()=>{j(),YT(),Ss(),gy=!1,XT=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Mw}return e.prototype.traverse=function(t,r){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var i=this._displayList;return(t||!i.length)&&this.updateDisplayList(r),i},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,i=this._displayList,n=0,a=r.length;n<a;n++)this._updateAndAddDisplayable(r[n],null,t);i.length=this._displayListLen,Od(i,Mw)},e.prototype._updateAndAddDisplayable=function(t,r,i){if(!(t.ignore&&!i)){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),a=r&&r.length,o=0,s=t.__clipPaths;if(!t.ignoreClip&&(a||n)){if(s||(s=t.__clipPaths=[]),a)for(var l=0;l<r.length;l++)s[o++]=r[l];for(var u=n,c=t;u;)u.parent=c,u.updateTransform(),s[o++]=u,c=u,u=u.getClipPath()}if(s&&(s.length=o),t.childrenRef){for(var h=t.childrenRef(),f=0;f<h.length;f++){var d=h[f];t.__dirty&&(d.__dirty|=1),this._updateAndAddDisplayable(d,s,i)}t.__dirty=0}else{var v=t;isNaN(v.z)&&(lg(),v.z=0),isNaN(v.z2)&&(lg(),v.z2=0),isNaN(v.zlevel)&&(lg(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var p=t.getDecalElement&&t.getDecalElement();p&&this._updateAndAddDisplayable(p,s,i);var m=t.getTextGuideLine();m&&this._updateAndAddDisplayable(m,s,i);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,s,i)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,i=t.length;r<i;r++)this.delRoot(t[r]);return}var n=Jt(this._roots,t);n>=0&&this._roots.splice(n,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e})()})),Pv,qT=I((()=>{pr(),Pv=Nt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)}})),xl,KT=I((()=>{xl={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)))},elasticOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-xl.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?xl.bounceIn(e*2)*.5:xl.bounceOut(e*2-1)*.5+.5}}}));function po(e){return e>-eh&&e<eh}function QT(e){return e>eh||e<-eh}function ar(e,t,r,i,n){var a=1-n;return a*a*(a*e+3*n*t)+n*n*(n*i+3*a*r)}function Cw(e,t,r,i,n){var a=1-n;return 3*(((t-e)*a+2*(r-t)*n)*a+(i-r)*n*n)}function Iv(e,t,r,i,n,a){var o=i+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-n,c=s*s-3*o*l,h=s*l-9*o*u,f=l*l-3*s*u,d=0;if(po(c)&&po(h))if(po(s))a[0]=0;else{var v=-l/s;v>=0&&v<=1&&(a[d++]=v)}else{var p=h*h-4*c*f;if(po(p)){var m=h/c,v=-s/o+m,g=-m/2;v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g)}else if(p>0){var y=pa(p),x=c*s+1.5*o*(-h+y),$=c*s+1.5*o*(-h-y);x<0?x=-ac(-x,oc):x=ac(x,oc),$<0?$=-ac(-$,oc):$=ac($,oc);var v=(-s-(x+$))/(3*o);v>=0&&v<=1&&(a[d++]=v)}else{var b=(2*c*s-3*o*h)/(2*pa(c*c*c)),_=Math.acos(b)/3,S=pa(c),M=Math.cos(_),v=(-s-2*S*M)/(3*o),g=(-s+S*(M+my*Math.sin(_)))/(3*o),w=(-s+S*(M-my*Math.sin(_)))/(3*o);v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g),w>=0&&w<=1&&(a[d++]=w)}}return d}function JT(e,t,r,i,n){var a=6*r-12*t+6*e,o=9*t+3*i-3*e-9*r,s=3*t-3*e,l=0;if(po(o)){if(QT(a)){var u=-s/a;u>=0&&u<=1&&(n[l++]=u)}}else{var c=a*a-4*o*s;if(po(c))n[0]=-a/(2*o);else if(c>0){var h=pa(c),u=(-a+h)/(2*o),f=(-a-h)/(2*o);u>=0&&u<=1&&(n[l++]=u),f>=0&&f<=1&&(n[l++]=f)}}return l}function Ev(e,t,r,i,n,a){var o=(t-e)*n+e,s=(r-t)*n+t,l=(i-r)*n+r,u=(s-o)*n+o,c=(l-s)*n+s,h=(c-u)*n+u;a[0]=e,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=i}function tD(e,t,r,i,n,a,o,s,l,u,c){var h,f=.005,d=1/0,v,p,m,g;ln[0]=l,ln[1]=u;for(var y=0;y<1;y+=.05)fi[0]=ar(e,r,n,o,y),fi[1]=ar(t,i,a,s,y),m=os(ln,fi),m<d&&(h=y,d=m);d=1/0;for(var x=0;x<32&&!(f<g$);x++)v=h-f,p=h+f,fi[0]=ar(e,r,n,o,v),fi[1]=ar(t,i,a,s,v),m=os(fi,ln),v>=0&&m<d?(h=v,d=m):(ss[0]=ar(e,r,n,o,p),ss[1]=ar(t,i,a,s,p),g=os(ss,ln),p<=1&&g<d?(h=p,d=g):f*=.5);return c&&(c[0]=ar(e,r,n,o,h),c[1]=ar(t,i,a,s,h)),pa(d)}function ON(e,t,r,i,n,a,o,s,l){for(var u=e,c=t,h=0,f=1/l,d=1;d<=l;d++){var v=d*f,p=ar(e,r,n,o,v),m=ar(t,i,a,s,v),g=p-u,y=m-c;h+=Math.sqrt(g*g+y*y),u=p,c=m}return h}function Lr(e,t,r,i){var n=1-i;return n*(n*e+2*i*t)+i*i*r}function Lw(e,t,r,i){return 2*((1-i)*(t-e)+i*(r-t))}function zN(e,t,r,i,n){var a=e-2*t+r,o=2*(t-e),s=e-i,l=0;if(po(a)){if(QT(o)){var u=-s/o;u>=0&&u<=1&&(n[l++]=u)}}else{var c=o*o-4*a*s;if(po(c)){var u=-o/(2*a);u>=0&&u<=1&&(n[l++]=u)}else if(c>0){var h=pa(c),u=(-o+h)/(2*a),f=(-o-h)/(2*a);u>=0&&u<=1&&(n[l++]=u),f>=0&&f<=1&&(n[l++]=f)}}return l}function eD(e,t,r){var i=e+r-2*t;return i===0?.5:(e-t)/i}function Rv(e,t,r,i,n){var a=(t-e)*i+e,o=(r-t)*i+t,s=(o-a)*i+a;n[0]=e,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=r}function rD(e,t,r,i,n,a,o,s,l){var u,c=.005,h=1/0;ln[0]=o,ln[1]=s;for(var f=0;f<1;f+=.05){fi[0]=Lr(e,r,n,f),fi[1]=Lr(t,i,a,f);var d=os(ln,fi);d<h&&(u=f,h=d)}h=1/0;for(var v=0;v<32&&!(c<g$);v++){var p=u-c,m=u+c;fi[0]=Lr(e,r,n,p),fi[1]=Lr(t,i,a,p);var d=os(fi,ln);if(p>=0&&d<h)u=p,h=d;else{ss[0]=Lr(e,r,n,m),ss[1]=Lr(t,i,a,m);var g=os(ss,ln);m<=1&&g<h?(u=m,h=g):c*=.5}}return l&&(l[0]=Lr(e,r,n,u),l[1]=Lr(t,i,a,u)),pa(h)}function GN(e,t,r,i,n,a,o){for(var s=e,l=t,u=0,c=1/o,h=1;h<=o;h++){var f=h*c,d=Lr(e,r,n,f),v=Lr(t,i,a,f),p=d-s,m=v-l;u+=Math.sqrt(p*p+m*m),s=d,l=v}return u}var ac,pa,eh,g$,my,oc,ln,fi,ss,vn=I((()=>{gr(),ac=Math.pow,pa=Math.sqrt,eh=1e-8,g$=1e-4,my=pa(3),oc=1/3,ln=Ll(),fi=Ll(),ss=Ll()}));function iD(e){var t=e&&nD.exec(e);if(t){var r=t[1].split(","),i=+Tn(r[0]),n=+Tn(r[1]),a=+Tn(r[2]),o=+Tn(r[3]);if(isNaN(i+n+a+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:Iv(0,i,a,1,l,s)&&ar(0,n,o,1,s[0])}}}var nD,m$=I((()=>{vn(),j(),nD=/cubic-bezier\(([0-9,\.e ]+)\)/})),aD,HN=I((()=>{KT(),j(),m$(),aD=(function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Pr,this.ondestroy=t.ondestroy||Pr,this.onrestart=t.onrestart||Pr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=n%i;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Dt(t)?t:xl[t]||iD(t)},e})()})),ug,Aw,fs,Qp=I((()=>{ug=(function(){function e(t){this.value=t}return e})(),Aw=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new ug(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,i=t.next;r?r.next=i:this.head=i,i?i.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e})(),fs=(function(){function e(t){this._list=new Aw,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new ug(r),s.key=t,i.insertEntry(s),n[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],i=this._list;if(r!=null)return r!==i.tail&&(i.remove(r),i.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})()}));function yo(e){return e=Math.round(e),e<0?0:e>255?255:e}function jN(e){return e=Math.round(e),e<0?0:e>360?360:e}function yy(e){return e<0?0:e>1?1:e}function cg(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?yo(parseFloat(t)/100*255):yo(parseInt(t,10))}function ls(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?yy(parseFloat(t)/100):yy(parseFloat(t))}function hg(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function _f(e,t,r){return e+(t-e)*r}function Ci(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=i,e[3]=n,e}function xy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function zs(e,t){sc&&xy(sc,t),sc=y$.put(e,sc||t.slice())}function Fn(e,t){if(e){t=t||[];var r=y$.get(e);if(r)return xy(t,r);e=e+"";var i=e.replace(/ /g,"").toLowerCase();if(i in _y)return xy(t,_y[i]),zs(e,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){Ci(t,0,0,0,1);return}return Ci(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),zs(e,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){Ci(t,0,0,0,1);return}return Ci(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),zs(e,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var l=i.substr(0,o),u=i.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Ci(t,+u[0],+u[1],+u[2],1):Ci(t,0,0,0,1);c=ls(u.pop());case"rgb":if(u.length>=3)return Ci(t,cg(u[0]),cg(u[1]),cg(u[2]),u.length===3?c:ls(u[3])),zs(e,t),t;Ci(t,0,0,0,1);return;case"hsla":if(u.length!==4){Ci(t,0,0,0,1);return}return u[3]=ls(u[3]),$y(u,t),zs(e,t),t;case"hsl":if(u.length!==3){Ci(t,0,0,0,1);return}return $y(u,t),zs(e,t),t;default:return}}Ci(t,0,0,0,1)}}function $y(e,t){var r=(parseFloat(e[0])%360+360)%360/360,i=ls(e[1]),n=ls(e[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],Ci(t,yo(hg(o,a,r+1/3)*255),yo(hg(o,a,r)*255),yo(hg(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function VN(e){if(e){var t=e[0]/255,r=e[1]/255,i=e[2]/255,n=Math.min(t,r,i),a=Math.max(t,r,i),o=a-n,s=(a+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(a+n):u=o/(2-a-n);var c=((a-t)/6+o/2)/o,h=((a-r)/6+o/2)/o,f=((a-i)/6+o/2)/o;t===a?l=f-h:r===a?l=1/3+c-f:i===a&&(l=2/3+h-c),l<0&&(l+=1),l>1&&(l-=1)}var d=[l*360,u,s];return e[3]!=null&&d.push(e[3]),d}}function Tw(e,t){var r=Fn(e);if(r){for(var i=0;i<3;i++)t<0?r[i]=r[i]*(1-t)|0:r[i]=(255-r[i])*t+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return Lh(r,r.length===4?"rgba":"rgb")}}function UN(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var i=e*(t.length-1),n=Math.floor(i),a=Math.ceil(i),o=Fn(t[n]),s=Fn(t[a]),l=i-n,u=Lh([yo(_f(o[0],s[0],l)),yo(_f(o[1],s[1],l)),yo(_f(o[2],s[2],l)),yy(_f(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:n,rightIndex:a,value:i}:u}}function by(e,t,r,i){var n=Fn(e);if(e)return n=VN(n),t!=null&&(n[0]=jN(Dt(t)?t(n[0]):t)),r!=null&&(n[1]=ls(Dt(r)?r(n[1]):r)),i!=null&&(n[2]=ls(Dt(i)?i(n[2]):i)),Lh($y(n),"rgba")}function Lh(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Fv(e,t){var r=Fn(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function Dw(e){if(vt(e)){var t=Sy.get(e);return t||(t=Tw(e,-.1),Sy.put(e,t)),t}else if(Zp(e)){var r=K({},e);return r.colorStops=ut(e.colorStops,function(i){return{offset:i.offset,color:Tw(i.color,-.1)}}),r}return e}var _y,y$,sc,Sy,Ui=I((()=>{Qp(),j(),_y={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},y$=new fs(20),sc=null,Sy=new fs(100)}));function WN(e){return e.type==="linear"}function ZN(e){return e.type==="radial"}var YN,oD=I((()=>{YN=(function(){return typeof Buffer<"u"&&typeof Buffer.from=="function"?function(e){return Buffer.from(e).toString("base64")}:typeof btoa=="function"&&typeof unescape=="function"&&typeof encodeURIComponent=="function"?function(e){return btoa(unescape(encodeURIComponent(e)))}:function(e){return null}})()}));function oa(e,t,r){return(t-e)*r+e}function fg(e,t,r,i){for(var n=t.length,a=0;a<n;a++)e[a]=oa(t[a],r[a],i);return e}function XN(e,t,r,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=oa(t[o][s],r[o][s],i)}return e}function Sf(e,t,r,i){for(var n=t.length,a=0;a<n;a++)e[a]=t[a]+r[a]*i;return e}function kw(e,t,r,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+r[o][s]*i}return e}function qN(e,t){for(var r=e.length,i=t.length,n=r>i?t:e,a=Math.min(r,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(r,i);s++)n.push({offset:o.offset,color:o.color.slice()})}function KN(e,t,r){var i=e,n=t;if(!(!i.push||!n.push)){var a=i.length,o=n.length;if(a!==o)if(a>o)i.length=o;else for(var s=a;s<o;s++)i.push(r===1?n[s]:Bv.call(n[s]));for(var l=i[0]&&i[0].length,s=0;s<i.length;s++)if(r===1)isNaN(i[s])&&(i[s]=n[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=n[s][u])}}function Pc(e){if(Wr(e)){var t=e.length;if(Wr(e[0])){for(var r=[],i=0;i<t;i++)r.push(Bv.call(e[i]));return r}return Bv.call(e)}return e}function wf(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function QN(e){return Wr(e&&e[0])?2:1}function Pw(e){return e===zd||e===Gd}function Mf(e){return e===lc||e===wy}var Bv,Tu,lc,wy,Gs,zd,Gd,dg,Hs,Iw,Jp,x$=I((()=>{HN(),Ui(),j(),KT(),m$(),oD(),Bv=Array.prototype.slice,Tu=0,lc=1,wy=2,Gs=3,zd=4,Gd=5,dg=6,Hs=[0,0,0,0],Iw=(function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=dg,l=r;if(Wr(r)){var u=QN(r);s=u,(u===1&&!$e(r[0])||u===2&&!$e(r[0][0]))&&(o=!0)}else if($e(r)&&!Qc(r))s=Tu;else if(vt(r))if(!isNaN(+r))s=Tu;else{var c=Fn(r);c&&(l=c,s=Gs)}else if(Zp(r)){var h=K({},l);h.colorStops=ut(r.colorStops,function(d){return{offset:d.offset,color:Fn(d.color)}}),WN(r)?s=zd:ZN(r)&&(s=Gd),l=h}a===0?this.valType=s:(s!==this.valType||s===dg)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:r,percent:0};return i&&(f.easing=i,f.easingFunc=Dt(i)?i:xl[i]||iD(i)),n.push(f),f},e.prototype.prepare=function(t,r){var i=this.keyframes;this._needsSort&&i.sort(function(p,m){return p.time-m.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,l=Mf(n),u=Pw(n),c=0;c<a;c++){var h=i[c],f=h.value,d=o.value;h.percent=h.time/t,s||(l&&c!==a-1?KN(f,d,n):u&&qN(f.colorStops,d.colorStops))}if(!s&&n!==Gd&&r&&this.needsAnimate()&&r.needsAnimate()&&n===r.valType&&!r._finished){this._additiveTrack=r;for(var v=i[0].value,c=0;c<a;c++)n===Tu?i[c].additiveValue=i[c].value-v:n===Gs?i[c].additiveValue=Sf([],i[c].value,v,-1):Mf(n)&&(i[c].additiveValue=n===lc?Sf([],i[c].value,v,-1):kw([],i[c].value,v,-1))}},e.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i=this._additiveTrack!=null,n=i?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=a===Gs,c,h=this._lastFr,f=Math.min,d,v;if(s===1)d=v=o[0];else{if(r<0)c=0;else if(r<this._lastFrP){for(c=f(h+1,s-1);c>=0&&!(o[c].percent<=r);c--);c=f(c,s-2)}else{for(c=h;c<s&&!(o[c].percent>r);c++);c=f(c-1,s-2)}v=o[c+1],d=o[c]}if(d&&v){this._lastFr=c,this._lastFrP=r;var p=v.percent-d.percent,m=p===0?1:f((r-d.percent)/p,1);v.easingFunc&&(m=v.easingFunc(m));var g=i?this._additiveValue:u?Hs:t[l];if((Mf(a)||u)&&!g&&(g=this._additiveValue=[]),this.discrete)t[l]=m<1?d.rawValue:v.rawValue;else if(Mf(a))a===lc?fg(g,d[n],v[n],m):XN(g,d[n],v[n],m);else if(Pw(a)){var y=d[n],x=v[n],$=a===zd;t[l]={type:$?"linear":"radial",x:oa(y.x,x.x,m),y:oa(y.y,x.y,m),colorStops:ut(y.colorStops,function(_,S){var M=x.colorStops[S];return{offset:oa(_.offset,M.offset,m),color:wf(fg([],_.color,M.color,m))}}),global:x.global},$?(t[l].x2=oa(y.x2,x.x2,m),t[l].y2=oa(y.y2,x.y2,m)):t[l].r=oa(y.r,x.r,m)}else if(u)fg(g,d[n],v[n],m),i||(t[l]=wf(g));else{var b=oa(d[n],v[n],m);i?this._additiveValue=b:t[l]=b}i&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,i=this.propName,n=this._additiveValue;r===Tu?t[i]=t[i]+n:r===Gs?(Fn(t[i],Hs),Sf(Hs,Hs,n,1),t[i]=wf(Hs)):r===lc?Sf(t[i],t[i],n,1):r===wy&&kw(t[i],t[i],n,1)},e})(),Jp=(function(){function e(t,r,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&n){n$("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,i){return this.whenWithKeys(t,r,ge(r),i)},e.prototype.whenWithKeys=function(t,r,i,n){for(var a=this._tracks,o=0;o<i.length;o++){var s=i[o],l=a[s];if(!l){l=a[s]=new Iw(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var h=c.keyframes,f=h[h.length-1];u=f&&f.value,c.valType===Gs&&u&&(u=wf(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,Pc(u),n),this._trackKeys.push(s)}l.addKeyframe(t,Pc(r[s]),n)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,i=0;i<r;i++)t[i].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var i=0;i<r.length;i++)r[i].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,i=0;i<r.length;i++)t[r[i]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var a=i[n].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,i=[],n=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(n,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=u[c-1];h&&(r._target[s.propName]=h.rawValue),s.setFinished()}else i.push(s)}if(i.length||this._force){var f=new aD({life:n,loop:this._loop,delay:this._delay||0,onframe:function(d){r._started=2;var v=r._additiveAnimators;if(v){for(var p=!1,m=0;m<v.length;m++)if(v[m]._clip){p=!0;break}p||(r._additiveAnimators=null)}for(var m=0;m<i.length;m++)i[m].step(r._target,d);var g=r._onframeCbs;if(g)for(var m=0;m<g.length;m++)g[m](r._target,d)},ondestroy:function(){r._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return ut(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,a=0;a<t.length;a++){var o=i[t[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<n.length;a++)if(!i[n[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,r,i){if(t){r=r||this._trackKeys;for(var n=0;n<r.length;n++){var a=r[n],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[i?0:s.length-1];l&&(t[a]=Pc(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||ge(t);for(var i=0;i<r.length;i++){var n=r[i],a=this._tracks[n];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e})()}));function $l(){return new Date().getTime()}var sD,JN=I((()=>{ke(),Pa(),qT(),x$(),sD=(function(e){we(t,e);function t(r){var i=e.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,r=r||{},i.stage=r.stage||{},i}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var i=r.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(r){if(r.animation){var i=r.prev,n=r.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var i=r.getClip();i&&this.removeClip(i),r.animation=null},t.prototype.update=function(r){for(var i=$l()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next;a.step(i,n)&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,r||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function i(){r._running&&(Pv(i),!r._paused&&r.update())}Pv(i)},t.prototype.start=function(){this._running||(this._time=$l(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=$l(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=$l()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var i=r.next;r.prev=r.next=r.animation=null,r=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,i){i=i||{},this.start();var n=new Jp(r,i.loop);return this.addAnimator(n),n},t})(hn)}));function vg(e){var t=e.pointerType;return t==="pen"||t==="touch"}function tO(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function pg(e){e&&(e.zrByTouch=!0)}function eO(e,t){return Ai(e.dom,new uD(e,t),!0)}function lD(e,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return i}function rO(e,t){var r=t.domHandlers;Nt.pointerEventsSupported?F(jd.pointer,function(i){Hd(t,i,function(n){r[i].call(e,n)})}):(Nt.touchEventsSupported&&F(jd.touch,function(i){Hd(t,i,function(n){r[i].call(e,n),tO(t)})}),F(jd.mouse,function(i){Hd(t,i,function(n){n=c$(n),t.touching||r[i].call(e,n)})}))}function iO(e,t){Nt.pointerEventsSupported?F(My.pointer,r):Nt.touchEventsSupported||F(My.mouse,r);function r(i){function n(a){a=c$(a),lD(e,a.target)||(a=eO(e,a),t.domHandlers[i].call(e,a))}Hd(t,i,n,{capture:!0})}}function Hd(e,t,r,i){e.mounted[t]=r,e.listenerOpts[t]=i,CN(e.domTarget,t,r,i)}function gg(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&LN(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var Ew,Cf,jd,My,mg,uD,wi,Lf,yg,cD,nO=I((()=>{ke(),_s(),j(),Pa(),pr(),Ew=300,Cf=Nt.domSupported,jd=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:e,touch:t,pointer:ut(e,function(i){var n=i.replace("mouse","pointer");return r.hasOwnProperty(n)?n:i})}})(),My={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},mg=!1,uD=(function(){function e(t,r){this.stopPropagation=Pr,this.stopImmediatePropagation=Pr,this.preventDefault=Pr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e})(),wi={mousedown:function(e){e=Ai(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Ai(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=Ai(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=Ai(this.dom,e);var t=e.toElement||e.relatedTarget;lD(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){mg=!0,e=Ai(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){mg||(e=Ai(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=Ai(this.dom,e),pg(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),wi.mousemove.call(this,e),wi.mousedown.call(this,e)},touchmove:function(e){e=Ai(this.dom,e),pg(e),this.handler.processGesture(e,"change"),wi.mousemove.call(this,e)},touchend:function(e){e=Ai(this.dom,e),pg(e),this.handler.processGesture(e,"end"),wi.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<Ew&&wi.click.call(this,e)},pointerdown:function(e){wi.mousedown.call(this,e)},pointermove:function(e){vg(e)||wi.mousemove.call(this,e)},pointerup:function(e){wi.mouseup.call(this,e)},pointerout:function(e){vg(e)||wi.mouseout.call(this,e)}},F(["click","dblclick","contextmenu"],function(e){wi[e]=function(t){t=Ai(this.dom,t),this.trigger(e,t)}}),Lf={pointermove:function(e){vg(e)||Lf.mousemove.call(this,e)},pointerup:function(e){Lf.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}},yg=(function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e})(),cD=(function(e){we(t,e);function t(r,i){var n=e.call(this)||this;return n.__pointerCapturing=!1,n.dom=r,n.painterRoot=i,n._localHandlerScope=new yg(r,wi),Cf&&(n._globalHandlerScope=new yg(document,Lf)),rO(n,n._localHandlerScope),n}return t.prototype.dispose=function(){gg(this._localHandlerScope),Cf&&gg(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,Cf&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var i=this._globalHandlerScope;r?iO(this,i):gg(i)}},t})(hn)})),xg,rh,Cy,Nv,Ov,hD,iu=I((()=>{pr(),xg=1,Nt.hasGlobalWindow&&(xg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1)),rh=xg,Cy=.4,Nv="#333",Ov="#ccc",hD="#eee"}));function Io(e){return e>Ly||e<-Ly}function Du(){return new ba}function zv(e,t){return aN(e,t,Gn)}var $g,Ly,Wa,Eo,Af,Tf,ba,Ay,Gn,pn=I((()=>{$i(),j(),gr(),$g=Ch,Ly=5e-5,Wa=[],Eo=[],Af=cr(),Tf=Math.abs,ba=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return Ay(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Io(this.rotation)||Io(this.x)||Io(this.y)||Io(this.scaleX-1)||Io(this.scaleY-1)||Io(this.skewX)||Io(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),i=this.transform;if(!(r||t)){i&&($g(i),this.invTransform=null);return}i=i||cr(),r?this.getLocalTransform(i):$g(i),t&&(r?kc(i,t,i):f$(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i),this.invTransform=this.invTransform||cr(),eu(this.invTransform,i)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Wa);var i=Wa[0]<0?-1:1,n=Wa[1]<0?-1:1,a=((Wa[0]-i)*r+i)/Wa[0]||0,o=((Wa[1]-n)*r+n)/Wa[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=i,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||cr(),kc(Eo,t.invTransform,r),r=Eo);var i=this.originX,n=this.originY;(i||n)&&(Af[4]=i,Af[5]=n,kc(Eo,r,Af),Eo[4]-=i,Eo[5]-=n,r=Eo),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var i=[t,r],n=this.invTransform;return n&&ti(i,i,n),i},e.prototype.transformCoordToGlobal=function(t,r){var i=[t,r],n=this.transform;return n&&ti(i,i,n),i},e.prototype.getLineScale=function(){var t=this.transform;return t&&Tf(t[0]-1)>1e-10&&Tf(t[3]-1)>1e-10?Math.sqrt(Tf(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){zv(this,t)},e.getLocalTransform=function(t,r){r=r||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||l){var v=i+s,p=n+l;r[4]=-v*a-f*p*o,r[5]=-p*o-d*v*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=d*a,r[2]=f*o,u&&d$(r,r,u),r[4]+=i+c,r[5]+=n+h,r},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e})(),Ay=ba.getLocalTransform,Gn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"]}));function Bn(e){Df||(Df=new fs(100)),e=e||"12px sans-serif";var t=Df.get(e);return t||(t={font:e,strWidthCache:new fs(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Ur.measureText("国",e).width,asciiCharWidth:Ur.measureText("a",e).width},Df.put(e,t)),t}function aO(e){if(!(Vd>=Ty)){e=e||"12px sans-serif";for(var t=[],r=+new Date,i=0;i<=127;i++)t[i]=Ur.measureText(String.fromCharCode(i),e).width;var n=+new Date-r;return n>16?Vd=Ty:n>2&&Vd++,t}}function fD(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=aO(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function Nn(e,t){var r=e.strWidthCache,i=r.get(t);return i==null&&(i=Ur.measureText(t,e.font).width,r.put(t,i)),i}function Rw(e,t,r,i){var n=Nn(Bn(t),e),a=t0(t);return new Ct(zl(0,n,r),us(0,a,i),n,a)}function dD(e,t,r,i){var n=((e||"")+"").split(`
|
|
1
|
+
import{Oa as J3,Ta as tN,wa as I}from"./index-DN4SafrP.js";import{t as eN}from"./jszip.min-skZCUzWf.js";function ft(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ed(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ed,St=I((()=>{Ed=function(e,t){return Ed=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Ed(e,t)}}));function rN(e,t){var r=t.browser,i=e.match(/Firefox\/([\d.]+)/),n=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);if(i&&(r.firefox=!0,r.version=i[1]),n&&(r.ie=!0,r.version=n[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u"){var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}}var aw,Nt,pr=I((()=>{aw=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),Nt=new((function(){function e(){this.browser=new aw,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e})()),typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Nt.wxa=!0,Nt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Nt.worker=!0:!Nt.hasGlobalWindow||"Deno"in window||typeof navigator<"u"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Node.js")>-1?(Nt.node=!0,Nt.svgSupported=!0):rN(navigator.userAgent,Nt)}));function iN(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var i=String.fromCharCode(r+32);t[i]=(e.charCodeAt(r)-wT)/MT}return t}var nN,ow,ST,wT,MT,sw,lw,Ur,xi=I((()=>{nN=12,ow="sans-serif",ST="12px "+ow,wT=20,MT=100,sw="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N",lw=iN(sw),Ur={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var e,t;return function(r,i){if(!e){var n=Ur.createCanvas();e=n&&n.getContext("2d")}if(e)return t!==i&&(t=e.font=i||"12px sans-serif"),e.measureText(r);r=r||"",i=i||"12px sans-serif";var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||12,s=0;if(i.indexOf("mono")>=0)s=o*r.length;else for(var l=0;l<r.length;l++){var u=lw[r[l]];s+=u==null?o:u*o}return{width:s}}})(),loadImage:function(e,t,r){var i=new Image;return i.onload=t,i.onerror=r,i.src=e,i},getTime:function(){return Date.now?Date.now():+new Date}}}));function CT(){return Rd>=PT&&(Rd=0),Rd++}function n$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function Yt(e){if(e==null||typeof e!="object")return e;var t=e,r=tu.call(e);if(r==="[object Array]"){if(!Dc(e)){t=[];for(var i=0,n=e.length;i<n;i++)t[i]=Yt(e[i])}}else if(l$[r]){if(!Dc(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var i=0,n=e.length;i<n;i++)t[i]=e[i]}}}else if(!s$[r]&&!Dc(e)&&!Kc(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==qp&&(t[o]=Yt(e[o]))}return t}function pe(e,t,r){if(!_t(t)||!_t(e))return r?Yt(t):e;for(var i in t)if(t.hasOwnProperty(i)&&i!==qp){var n=e[i],a=t[i];_t(a)&&_t(n)&&!at(a)&&!at(n)&&!Kc(a)&&!Kc(n)&&!uw(a)&&!uw(n)&&!Dc(a)&&!Dc(n)?pe(n,a,r):(r||!(i in e))&&(e[i]=Yt(t[i]))}return e}function K(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==qp&&(e[r]=t[r]);return e}function aN(e,t,r){e=e||{};for(var i=0;i<r.length;i++){var n=r[i];e[n]=t[n]}return e}function Xt(e,t,r){for(var i=ge(t),n=0,a=i.length;n<a;n++){var o=i[n];(r?t[o]!=null:e[o]==null)&&(e[o]=t[o])}return e}function Jt(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r}return-1}function oN(e,t){var r=e.prototype;function i(){}i.prototype=t.prototype,e.prototype=new i;for(var n in r)r.hasOwnProperty(n)&&(e.prototype[n]=r[n]);e.prototype.constructor=e,e.superClass=t}function Ei(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(t),n=0;n<i.length;n++){var a=i[n];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else Xt(e,t,r)}function Wr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function F(e,t,r){if(e&&t)if(e.forEach&&e.forEach===TT)e.forEach(t,r);else if(e.length===+e.length)for(var i=0,n=e.length;i<n;i++)t.call(r,e[i],i,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function ut(e,t,r){if(!e)return[];if(!t)return a$(e);if(e.map&&e.map===kT)return e.map(t,r);for(var i=[],n=0,a=e.length;n<a;n++)i.push(t.call(r,e[n],n,e));return i}function xa(e,t,r,i){if(e&&t){for(var n=0,a=e.length;n<a;n++)r=t.call(i,r,e[n],n,e);return r}}function Qe(e,t,r){if(!e)return[];if(!t)return a$(e);if(e.filter&&e.filter===DT)return e.filter(t,r);for(var i=[],n=0,a=e.length;n<a;n++)t.call(r,e[n],n,e)&&i.push(e[n]);return i}function LT(e,t,r){if(e&&t){for(var i=0,n=e.length;i<n;i++)if(t.call(r,e[i],i,e))return e[i]}}function ge(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function sN(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return function(){return e.apply(t,r.concat(Xp.call(arguments)))}}function Je(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(Xp.call(arguments)))}}function at(e){return Array.isArray?Array.isArray(e):tu.call(e)==="[object Array]"}function Dt(e){return typeof e=="function"}function vt(e){return typeof e=="string"}function oy(e){return tu.call(e)==="[object String]"}function $e(e){return typeof e=="number"}function _t(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function uw(e){return!!s$[tu.call(e)]}function ri(e){return!!l$[tu.call(e)]}function Kc(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function Zp(e){return e.colorStops!=null}function lN(e){return e.image!=null}function Qc(e){return e!==e}function Av(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,i=e.length;r<i;r++)if(e[r]!=null)return e[r]}function gt(e,t){return e??t}function mo(e,t,r){return e??t??r}function a$(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Xp.apply(e,t)}function o$(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function $a(e,t){if(!e)throw new Error(t)}function Tn(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function sy(e){e[u$]=!0}function Dc(e){return e[u$]}function uN(){return ly?new Map:new IT}function Lt(e){return new ET(e)}function cN(e,t){for(var r=new e.constructor(e.length+t.length),i=0;i<e.length;i++)r[i]=e[i];for(var n=e.length,i=0;i<t.length;i++)r[i+n]=t[i];return r}function Yp(e,t){var r;if(Object.create)r=Object.create(e);else{var i=function(){};i.prototype=e,r=new i}return t&&K(r,t),r}function AT(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function tt(e,t){return e.hasOwnProperty(t)}function Pr(){}var s$,l$,tu,Lu,TT,DT,Xp,kT,rg,Au,qp,Rd,PT,hN,ne,u$,IT,ly,ET,RT,fN,j=I((()=>{xi(),s$=xa(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),l$=xa(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),tu=Object.prototype.toString,Lu=Array.prototype,TT=Lu.forEach,DT=Lu.filter,Xp=Lu.slice,kT=Lu.map,rg=function(){}.constructor,Au=rg?rg.prototype:null,qp="__proto__",Rd=2311,PT=Math.pow(2,53)-1,hN=Ur.createCanvas,ne=Au&&Dt(Au.bind)?Au.call.bind(Au.bind):sN,u$="__ec_primitive__",IT=(function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return ge(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var i in r)r.hasOwnProperty(i)&&t(r[i],i)},e})(),ly=typeof Map=="function",ET=(function(){function e(t){var r=at(t);this.data=uN();var i=this;t instanceof e?t.each(n):t&&F(t,n);function n(a,o){r?i.set(a,o):i.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(i,n){t.call(r,i,n)})},e.prototype.keys=function(){var t=this.data.keys();return ly?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e})(),RT=180/Math.PI,fN=Number.EPSILON||Math.pow(2,-52)}));function we(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Fd(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Fd,ke=I((()=>{Fd=function(e,t){return Fd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Fd(e,t)}}));function Ll(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function cw(e,t){return e[0]=t[0],e[1]=t[1],e}function dN(e){return[e[0],e[1]]}function ig(e,t,r){return e[0]=t,e[1]=r,e}function hw(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function vN(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function pN(e){return Math.sqrt(gN(e))}function gN(e){return e[0]*e[0]+e[1]*e[1]}function ng(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function mN(e,t){var r=pN(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function uy(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}function yN(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}function ag(e,t,r,i){return e[0]=t[0]+i*(r[0]-t[0]),e[1]=t[1]+i*(r[1]-t[1]),e}function ti(e,t,r){var i=t[0],n=t[1];return e[0]=r[0]*i+r[2]*n+r[4],e[1]=r[1]*i+r[3]*n+r[5],e}function gl(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function ml(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var Tv,os,gr=I((()=>{Tv=uy,os=yN})),Po,FT,xN=I((()=>{Po=(function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e})(),FT=(function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Po(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var i=t.offsetX,n=t.offsetY,a=i-this._x,o=n-this._y;this._x=i,this._y=n,r.drift(a,o,t),this.handler.dispatchToElement(new Po(r,t),"drag",t.event);var s=this.handler.findHover(i,n,r).target,l=this._dropTarget;this._dropTarget=s,r!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Po(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Po(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Po(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Po(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e})()})),hn,Pa=I((()=>{hn=(function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,i,n){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(n=i,i=r,r=null),!i||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===i)return this;var l={h:i,query:r,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},u=a[t].length-1,c=a[t][u];return c&&c.callAtLast?a[t].splice(u,0,l):a[t].push(l),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(r){if(i[t]){for(var n=[],a=0,o=i[t].length;a<o;a++)i[t][a].h!==r&&n.push(i[t][a]);i[t]=n}i[t]&&i[t].length===0&&delete i[t]}else delete i[t];return this},e.prototype.trigger=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=r.length,s=n.length,l=0;l<s;l++){var u=n[l];if(!(a&&a.filter&&u.query!=null&&!a.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,r[0]);break;case 2:u.h.call(u.ctx,r[0],r[1]);break;default:u.h.apply(u.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],a=this._$eventProcessor;if(n)for(var o=r.length,s=r[o-1],l=n.length,u=0;u<l;u++){var c=n[u];if(!(a&&a.filter&&c.query!=null&&!a.filter(t,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,r[0]);break;case 2:c.h.call(s,r[0],r[1]);break;default:c.h.apply(s,r.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e})()}));function cy(e,t,r,i,n,a){var o=i+"-"+n,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~n)/BT);return e[r][l]}for(var u=i|1<<r,c=r+1;i&1<<c;)c++;for(var h=0,f=0,d=0;f<s;f++){var v=1<<f;v&n||(h+=(d%2?-1:1)*e[r][f]*cy(e,t-1,c,u,n|v,a),d++)}return a[o]=h,h}function fw(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],i={},n=cy(r,8,0,0,0,i);if(n!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]??(a[s]=0),a[s]+=((o+s)%2?-1:1)*cy(r,7,o===0?1:0,1<<o,1<<s,i)/n*t[o];return function(l,u,c){var h=u*a[6]+c*a[7]+1;l[0]=(u*a[0]+c*a[1]+a[2])/h,l[1]=(u*a[3]+c*a[4]+a[5])/h}}}var BT,$N=I((()=>{BT=Math.log(2)}));function bN(e,t,r,i,n){return hy(Bd,t,i,n,!0)&&hy(e,r,Bd[0],Bd[1])}function _N(e,t){e&&r(e),t&&r(t);function r(i){var n=i[Jc];n&&(n.clearMarkers&&n.clearMarkers(),delete i[Jc])}}function hy(e,t,r,i,n){if(t.getBoundingClientRect&&Nt.domSupported&&!NT(t)){var a=t[Jc]||(t[Jc]={}),o=wN(SN(t,a),a,n);if(o)return o(e,r,i),!0}return!1}function SN(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var i=["left","right"],n=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",n[u]+":0",i[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return t.clearMarkers=function(){F(r,function(c){c.parentNode&&c.parentNode.removeChild(c)})},r}function wN(e,t,r){for(var i=r?"invTrans":"trans",n=t[i],a=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),h=2*u,f=c.left,d=c.top;o.push(f,d),l=l&&a&&f===a[h]&&d===a[h+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&n?n:(t.srcCoords=o,t[i]=r?fw(s,o):fw(o,s))}function NT(e){return e.nodeName.toUpperCase()==="CANVAS"}function Kr(e){return e==null?"":(e+"").replace(OT,function(t,r){return zT[r]})}var Jc,Bd,OT,zT,Kp=I((()=>{pr(),$N(),j(),Jc="___zrEVENTSAVED",Bd=[],OT=/([&<>"'])/g,zT={"&":"&","<":"<",">":">",'"':""","'":"'"}}));function fy(e,t,r,i){return r=r||{},i?dw(e,t,r):HT&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):dw(e,t,r),r}function dw(e,t,r){if(Nt.domSupported&&e.getBoundingClientRect){var i=t.clientX,n=t.clientY;if(NT(e)){var a=e.getBoundingClientRect();r.zrX=i-a.left,r.zrY=n-a.top;return}else if(hy(Nd,e,i,n)){r.zrX=Nd[0],r.zrY=Nd[1];return}}r.zrX=r.zrY=0}function c$(e){return e||window.event}function Ai(e,t,r){if(t=c$(t),t.zrX!=null)return t;var i=t.type;if(i&&i.indexOf("touch")>=0){var a=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&fy(e,a,t,r)}else{fy(e,t,t,r);var n=MN(t);t.zrDelta=n?n/120:-(t.detail||0)/3}var o=t.button;return t.which==null&&o!==void 0&>.test(t.type)&&(t.which=o&1?1:o&2?3:o&4?2:0),t}function MN(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,i=e.deltaY;if(r==null||i==null)return t;var n=Math.abs(i!==0?i:r),a=i>0?-1:i<0?1:r>0?-1:1;return 3*n*a}function CN(e,t,r,i){e.addEventListener(t,r,i)}function LN(e,t,r,i){e.removeEventListener(t,r,i)}var GT,Nd,HT,h$,_s=I((()=>{pr(),Kp(),GT=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Nd=[],HT=Nt.browser.firefox&&+Nt.browser.version.split(".")[0]<39,h$=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}}));function vw(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function AN(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var jT,yf,TN=I((()=>{_s(),jT=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,i){return this._doTrack(t,r,i),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,i){var n=t.touches;if(n){for(var a={points:[],touches:[],target:r,event:t},o=0,s=n.length;o<s;o++){var l=n[o],u=fy(i,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in yf)if(yf.hasOwnProperty(r)){var i=yf[r](this._track,t);if(i)return i}},e})(),yf={pinch:function(e,t){var r=e.length;if(r){var i=(e[r-1]||{}).points,n=(e[r-2]||{}).points||i;if(n&&n.length>1&&i&&i.length>1){var a=vw(i)/vw(n);!isFinite(a)&&(a=1),t.pinchScale=a;var o=AN(i);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}}}));function cr(){return[1,0,0,1,0,0]}function Ch(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function f$(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function kc(e,t,r){var i=t[0]*r[0]+t[2]*r[1],n=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=i,e[1]=n,e[2]=a,e[3]=o,e[4]=s,e[5]=l,e}function dy(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function d$(e,t,r,i){i===void 0&&(i=[0,0]);var n=t[0],a=t[2],o=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(r),h=Math.cos(r);return e[0]=n*h+s*c,e[1]=-n*c+s*h,e[2]=a*h+l*c,e[3]=-a*c+h*l,e[4]=h*(o-i[0])+c*(u-i[1])+i[0],e[5]=h*(u-i[1])-c*(o-i[0])+i[1],e}function DN(e,t,r){var i=r[0],n=r[1];return e[0]=t[0]*i,e[1]=t[1]*n,e[2]=t[2]*i,e[3]=t[3]*n,e[4]=t[4]*i,e[5]=t[5]*n,e}function eu(e,t){var r=t[0],i=t[2],n=t[4],a=t[1],o=t[3],s=t[5],l=r*o-a*i;return l?(l=1/l,e[0]=o*l,e[1]=-a*l,e[2]=-i*l,e[3]=r*l,e[4]=(i*s-o*n)*l,e[5]=(a*n-r*s)*l,e):null}var $i=I((()=>{})),Ft,ru=I((()=>{Ft=(function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,i=this.y-t.y;return Math.sqrt(r*r+i*i)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,i=this.y-t.y;return r*r+i*i},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,i=this.y;return this.x=t[0]*r+t[2]*i+t[4],this.y=t[1]*r+t[3]*i+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,i){t.x=r,t.y=i},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,i){t.x=r.x+i.x,t.y=r.y+i.y},e.sub=function(t,r,i){t.x=r.x-i.x,t.y=r.y-i.y},e.scale=function(t,r,i){t.x=r.x*i,t.y=r.y*i},e.scaleAndAdd=function(t,r,i,n){t.x=r.x+i.x*n,t.y=r.y+i.y*n},e.lerp=function(t,r,i,n){var a=1-n;t.x=a*r.x+n*i.x,t.y=a*r.y+n*i.y},e})()}));function pw(e,t,r,i,n,a,o,s){var l=Dv(t-r),u=Dv(i-e),c=fo(l,u),h=vy[n],f=vy[1-n],d=UT[n];t<r||i<e?l<u?(a&&(kv[h]=-l),s&&(o[h]=t,o[d]=0)):(a&&(kv[h]=u),s&&(o[h]=e,o[d]=0)):(o&&(o[h]=qo(e,r),o[d]=fo(t,i)-o[h]),a&&(c<Al[0]||qr.useDir)&&(Al[0]=fo(c,Al[0]),(l<u||!qr.bidirectional)&&(yl[h]=l,yl[f]=0,qr.useDir&&qr.calcDirMTV()),(l>=u||!qr.bidirectional)&&(yl[h]=-u,yl[f]=0,qr.useDir&&qr.calcDirMTV())))}function VT(){var e=0,t=new Ft,r=new Ft,i={minTv:new Ft,maxTv:new Ft,useDir:!1,dirMinTv:new Ft,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(a,o){i.touchThreshold=0,a&&a.touchThreshold!=null&&(i.touchThreshold=qo(0,a.touchThreshold)),i.negativeSize=!1,o&&(i.minTv.set(1/0,1/0),i.maxTv.set(0,0),i.useDir=!1,a&&a.direction!=null&&(i.useDir=!0,i.dirMinTv.copy(i.minTv),r.copy(i.minTv),e=a.direction,i.bidirectional=a.bidirectional==null||!!a.bidirectional,i.bidirectional||t.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var a=i.minTv,o=i.dirMinTv,s=a.y*a.y+a.x*a.x,l=Math.sin(e),u=Math.cos(e),c=l*a.y+u*a.x;if(n(c)){n(a.x)&&n(a.y)&&o.set(0,0);return}if(r.x=s*u/c,r.y=s*l/c,n(r.x)&&n(r.y)){o.set(0,0);return}(i.bidirectional||t.dot(r)>0)&&r.len()<o.len()&&o.copy(r)}};function n(a){return Dv(a)<1e-10}return i}var fo,qo,Dv,vy,UT,Ha,ja,Va,Ua,qr,yl,kv,Al,Ct,th,xf,Tl,gw,WT,ZT,mw,yw,$f,je=I((()=>{$i(),gr(),ru(),fo=Math.min,qo=Math.max,Dv=Math.abs,vy=["x","y"],UT=["width","height"],Ha=new Ft,ja=new Ft,Va=new Ft,Ua=new Ft,qr=VT(),yl=qr.minTv,kv=qr.maxTv,Al=[0,0],Ct=(function(){function e(t,r,i,n){xf(this,t,r,i,n)}return e.set=function(t,r,i,n,a){return n<0&&(r=r+n,n=-n),a<0&&(i=i+a,a=-a),t.x=r,t.y=i,t.width=n,t.height=a,t},e.prototype.union=function(t){var r=fo(t.x,this.x),i=fo(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=qo(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=qo(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=r,this.y=i},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){return gw(cr(),this,t)},e.prototype.intersect=function(t,r,i){return e.intersect(this,t,r,i)},e.intersect=function(t,r,i,n){i&&Ft.set(i,0,0);var a=n&&n.outIntersectRect||null,o=n&&n.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!t||!r)return!1;t instanceof e||(t=xf(mw,t.x,t.y,t.width,t.height)),r instanceof e||(r=xf(yw,r.x,r.y,r.width,r.height));var s=!!i;qr.reset(n,s);var l=qr.touchThreshold,u=t.x+l,c=t.x+t.width-l,h=t.y+l,f=t.y+t.height-l,d=r.x+l,v=r.x+r.width-l,p=r.y+l,m=r.y+r.height-l;if(u>c||h>f||d>v||p>m)return!1;var g=!(c<d||v<u||f<p||m<h);return(s||a)&&(Al[0]=1/0,Al[1]=0,pw(u,c,d,v,0,s,a,o),pw(h,f,p,m,1,s,a,o),s&&Ft.copy(i,g?qr.useDir?qr.dirMinTv:yl:kv)),g},e.contain=function(t,r,i){return r>=t.x&&r<=t.x+t.width&&i>=t.y&&i<=t.y+t.height},e.prototype.contain=function(t,r){return e.contain(this,t,r)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){Tl(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t?t.x:0,t?t.y:0,t?t.width:0,t?t.height:0)},e.copy=function(t,r){return t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height,t},e.applyTransform=function(t,r,i){if(!i){t!==r&&Tl(t,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var n=i[0],a=i[3],o=i[4],s=i[5];t.x=r.x*n+o,t.y=r.y*a+s,t.width=r.width*n,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Ha.x=Va.x=r.x,Ha.y=Ua.y=r.y,ja.x=Ua.x=r.x+r.width,ja.y=Va.y=r.y+r.height,Ha.transform(i),Ua.transform(i),ja.transform(i),Va.transform(i),t.x=fo(Ha.x,ja.x,Va.x,Ua.x),t.y=fo(Ha.y,ja.y,Va.y,Ua.y);var l=qo(Ha.x,ja.x,Va.x,Ua.x),u=qo(Ha.y,ja.y,Va.y,Ua.y);t.width=l-t.x,t.height=u-t.y},e.calculateTransform=function(t,r,i){var n=i.width/r.width,a=i.height/r.height;return t=Ch(t||[]),dy(t,t,ig($f,-r.x,-r.y)),DN(t,t,ig($f,n,a)),dy(t,t,ig($f,i.x,i.y)),t},e})(),th=Ct.create,xf=Ct.set,Tl=Ct.copy,gw=Ct.calculateTransform,WT=Ct.applyTransform,ZT=Ct.contain,mw=new Ct(0,0,0,0),yw=new Ct(0,0,0,0),$f=[]}));function kN(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:PN}}function PN(){h$(this.event)}function IN(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var i=e,n=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(t,r))return!1}i.silent&&(n=!0);var s=i.__hostTarget;i=s?i.ignoreHostSilent?null:s:i.parent}return n?v$:!0}return!1}function xw(e,t,r,i,n){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==n&&!o.ignore&&(s=IN(o,r,i))&&(!t.topTarget&&(t.topTarget=o),s!==v$)){t.target=o;break}}}function $w(e,t,r){var i=e.painter;return t<0||t>i.getWidth()||r<0||r>i.getHeight()}var v$,bw,Os,_w,bf,py,EN=I((()=>{ke(),j(),gr(),xN(),Pa(),_s(),TN(),je(),v$="silent",bw=(function(e){we(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(hn),Os=(function(){function e(t,r){this.x=t,this.y=r}return e})(),_w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],bf=new Ct(0,0,0,0),py=(function(e){we(t,e);function t(r,i,n,a,o){var s=e.call(this)||this;return s._hovered=new Os(0,0),s.storage=r,s.painter=i,s.painterRoot=a,s._pointerSize=o,n=n||new bw,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new FT(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(F(_w,function(i){r.on&&r.on(i,this[i],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var i=r.zrX,n=r.zrY,a=$w(this,i,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=a?new Os(i,n):this.findHover(i,n),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var i=r.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Os(0,0)},t.prototype.dispatch=function(r,i){var n=this[r];n&&n.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var i=this.proxy;i.setCursor&&i.setCursor(r)},t.prototype.dispatchToElement=function(r,i,n){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+i,s=kN(i,r,n);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(i,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(i,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(i,s)}))}},t.prototype.findHover=function(r,i,n){var a=this.storage.getDisplayList(),o=new Os(r,i);if(xw(a,o,r,i,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Ct(r-u,i-u,l,l),h=a.length-1;h>=0;h--){var f=a[h];f!==n&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(bf.copy(f.getBoundingRect()),f.transform&&bf.applyTransform(f.transform),bf.intersect(c)&&s.push(f))}if(s.length){for(var d=4,v=Math.PI/12,p=Math.PI*2,m=0;m<u;m+=d)for(var g=0;g<p;g+=v)if(xw(s,o,r+m*Math.cos(g),i+m*Math.sin(g),n),o.target)return o}}return o},t.prototype.processGesture=function(r,i){this._gestureMgr||(this._gestureMgr=new jT);var n=this._gestureMgr;i==="start"&&n.clear();var a=n.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(i==="end"&&n.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Os;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t})(hn),F(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){py.prototype[e]=function(t){var r=t.zrX,i=t.zrY,n=$w(this,r,i),a,o;if((e!=="mouseup"||!n)&&(a=this.findHover(r,i),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||Tv(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}})}));function RN(e){for(var t=0;e>=p$;)t|=e&1,e>>=1;return e+t}function Sw(e,t,r,i){var n=t+1;if(n===r)return 1;if(i(e[n++],e[t])<0){for(;n<r&&i(e[n],e[n-1])<0;)n++;FN(e,t,n)}else for(;n<r&&i(e[n],e[n-1])>=0;)n++;return n-t}function FN(e,t,r){for(r--;t<r;){var i=e[t];e[t++]=e[r],e[r--]=i}}function ww(e,t,r,i,n){for(i===t&&i++;i<r;i++){for(var a=e[i],o=t,s=i,l;o<s;)l=o+s>>>1,n(a,e[l])<0?s=l:o=l+1;var u=i-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=a}}function og(e,t,r,i,n,a){var o=0,s=0,l=1;if(a(e,t[r+n])>0){for(s=i-n;l<s&&a(e,t[r+n+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;l<s&&a(e,t[r+n-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])>0?o=c+1:l=c}return l}function sg(e,t,r,i,n,a){var o=0,s=0,l=1;if(a(e,t[r+n])<0){for(s=n+1;l<s&&a(e,t[r+n-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=i-n;l<s&&a(e,t[r+n+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o<l;){var c=o+(l-o>>>1);a(e,t[r+c])<0?l=c:o=c+1}return l}function BN(e,t){var r=sl,i,n,a=0,o=[];i=[],n=[];function s(d,v){i[a]=d,n[a]=v,a+=1}function l(){for(;a>1;){var d=a-2;if(d>=1&&n[d-1]<=n[d]+n[d+1]||d>=2&&n[d-2]<=n[d]+n[d-1])n[d-1]<n[d+1]&&d--;else if(n[d]>n[d+1])break;c(d)}}function u(){for(;a>1;){var d=a-2;d>0&&n[d-1]<n[d+1]&&d--,c(d)}}function c(d){var v=i[d],p=n[d],m=i[d+1],g=n[d+1];n[d]=p+g,d===a-3&&(i[d+1]=i[d+2],n[d+1]=n[d+2]),a--;var y=sg(e[m],e,v,p,0,t);v+=y,p-=y,p!==0&&(g=og(e[v+p-1],e,m,g,g-1,t),g!==0&&(p<=g?h(v,p,m,g):f(v,p,m,g)))}function h(d,v,p,m){var g=0;for(g=0;g<v;g++)o[g]=e[d+g];var y=0,x=p,$=d;if(e[$++]=e[x++],--m===0){for(g=0;g<v;g++)e[$+g]=o[y+g];return}if(v===1){for(g=0;g<m;g++)e[$+g]=e[x+g];e[$+m]=o[y];return}for(var b=r,_,S,M;;){_=0,S=0,M=!1;do if(t(e[x],o[y])<0){if(e[$++]=e[x++],S++,_=0,--m===0){M=!0;break}}else if(e[$++]=o[y++],_++,S=0,--v===1){M=!0;break}while((_|S)<b);if(M)break;do{if(_=sg(e[x],o,y,v,0,t),_!==0){for(g=0;g<_;g++)e[$+g]=o[y+g];if($+=_,y+=_,v-=_,v<=1){M=!0;break}}if(e[$++]=e[x++],--m===0){M=!0;break}if(S=og(o[y],e,x,m,0,t),S!==0){for(g=0;g<S;g++)e[$+g]=e[x+g];if($+=S,x+=S,m-=S,m===0){M=!0;break}}if(e[$++]=o[y++],--v===1){M=!0;break}b--}while(_>=sl||S>=sl);if(M)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),v===1){for(g=0;g<m;g++)e[$+g]=e[x+g];e[$+m]=o[y]}else{if(v===0)throw new Error;for(g=0;g<v;g++)e[$+g]=o[y+g]}}function f(d,v,p,m){var g=0;for(g=0;g<m;g++)o[g]=e[p+g];var y=d+v-1,x=m-1,$=p+m-1,b=0,_=0;if(e[$--]=e[y--],--v===0){for(b=$-(m-1),g=0;g<m;g++)e[b+g]=o[g];return}if(m===1){for($-=v,y-=v,_=$+1,b=y+1,g=v-1;g>=0;g--)e[_+g]=e[b+g];e[$]=o[x];return}for(var S=r;;){var M=0,w=0,T=!1;do if(t(o[x],e[y])<0){if(e[$--]=e[y--],M++,w=0,--v===0){T=!0;break}}else if(e[$--]=o[x--],w++,M=0,--m===1){T=!0;break}while((M|w)<S);if(T)break;do{if(M=v-sg(o[x],e,d,v,v-1,t),M!==0){for($-=M,y-=M,v-=M,_=$+1,b=y+1,g=M-1;g>=0;g--)e[_+g]=e[b+g];if(v===0){T=!0;break}}if(e[$--]=o[x--],--m===1){T=!0;break}if(w=m-og(e[y],o,0,m,m-1,t),w!==0){for($-=w,x-=w,m-=w,_=$+1,b=x+1,g=0;g<w;g++)e[_+g]=o[b+g];if(m<=1){T=!0;break}}if(e[$--]=e[y--],--v===0){T=!0;break}S--}while(M>=sl||w>=sl);if(T)break;S<0&&(S=0),S+=2}if(r=S,r<1&&(r=1),m===1){for($-=v,y-=v,_=$+1,b=y+1,g=v-1;g>=0;g--)e[_+g]=e[b+g];e[$]=o[x]}else{if(m===0)throw new Error;for(b=$-(m-1),g=0;g<m;g++)e[b+g]=o[g]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Od(e,t,r,i){r||(r=0),i||(i=e.length);var n=i-r;if(!(n<2)){var a=0;if(n<p$){a=Sw(e,r,i,t),ww(e,r,i,r+a,t);return}var o=BN(e,t),s=RN(n);do{if(a=Sw(e,r,i,t),a<s){var l=n;l>s&&(l=s),ww(e,r,r+l,r+a,t),a=l}o.pushRun(r,a),o.mergeRuns(),n-=a,r+=a}while(n!==0);o.forceMergeRuns()}}var p$,sl,YT=I((()=>{p$=32,sl=7})),Ss=I((()=>{}));function lg(){gy||(gy=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Mw(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var gy,XT,NN=I((()=>{j(),YT(),Ss(),gy=!1,XT=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Mw}return e.prototype.traverse=function(t,r){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var i=this._displayList;return(t||!i.length)&&this.updateDisplayList(r),i},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,i=this._displayList,n=0,a=r.length;n<a;n++)this._updateAndAddDisplayable(r[n],null,t);i.length=this._displayListLen,Od(i,Mw)},e.prototype._updateAndAddDisplayable=function(t,r,i){if(!(t.ignore&&!i)){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath(),a=r&&r.length,o=0,s=t.__clipPaths;if(!t.ignoreClip&&(a||n)){if(s||(s=t.__clipPaths=[]),a)for(var l=0;l<r.length;l++)s[o++]=r[l];for(var u=n,c=t;u;)u.parent=c,u.updateTransform(),s[o++]=u,c=u,u=u.getClipPath()}if(s&&(s.length=o),t.childrenRef){for(var h=t.childrenRef(),f=0;f<h.length;f++){var d=h[f];t.__dirty&&(d.__dirty|=1),this._updateAndAddDisplayable(d,s,i)}t.__dirty=0}else{var v=t;isNaN(v.z)&&(lg(),v.z=0),isNaN(v.z2)&&(lg(),v.z2=0),isNaN(v.zlevel)&&(lg(),v.zlevel=0),this._displayList[this._displayListLen++]=v}var p=t.getDecalElement&&t.getDecalElement();p&&this._updateAndAddDisplayable(p,s,i);var m=t.getTextGuideLine();m&&this._updateAndAddDisplayable(m,s,i);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,s,i)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,i=t.length;r<i;r++)this.delRoot(t[r]);return}var n=Jt(this._roots,t);n>=0&&this._roots.splice(n,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e})()})),Pv,qT=I((()=>{pr(),Pv=Nt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)}})),xl,KT=I((()=>{xl={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)))},elasticOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/i)+1)},elasticInOut:function(e){var t,r=.1,i=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/i)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-xl.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?xl.bounceIn(e*2)*.5:xl.bounceOut(e*2-1)*.5+.5}}}));function po(e){return e>-eh&&e<eh}function QT(e){return e>eh||e<-eh}function ar(e,t,r,i,n){var a=1-n;return a*a*(a*e+3*n*t)+n*n*(n*i+3*a*r)}function Cw(e,t,r,i,n){var a=1-n;return 3*(((t-e)*a+2*(r-t)*n)*a+(i-r)*n*n)}function Iv(e,t,r,i,n,a){var o=i+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-n,c=s*s-3*o*l,h=s*l-9*o*u,f=l*l-3*s*u,d=0;if(po(c)&&po(h))if(po(s))a[0]=0;else{var v=-l/s;v>=0&&v<=1&&(a[d++]=v)}else{var p=h*h-4*c*f;if(po(p)){var m=h/c,v=-s/o+m,g=-m/2;v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g)}else if(p>0){var y=pa(p),x=c*s+1.5*o*(-h+y),$=c*s+1.5*o*(-h-y);x<0?x=-ac(-x,oc):x=ac(x,oc),$<0?$=-ac(-$,oc):$=ac($,oc);var v=(-s-(x+$))/(3*o);v>=0&&v<=1&&(a[d++]=v)}else{var b=(2*c*s-3*o*h)/(2*pa(c*c*c)),_=Math.acos(b)/3,S=pa(c),M=Math.cos(_),v=(-s-2*S*M)/(3*o),g=(-s+S*(M+my*Math.sin(_)))/(3*o),w=(-s+S*(M-my*Math.sin(_)))/(3*o);v>=0&&v<=1&&(a[d++]=v),g>=0&&g<=1&&(a[d++]=g),w>=0&&w<=1&&(a[d++]=w)}}return d}function JT(e,t,r,i,n){var a=6*r-12*t+6*e,o=9*t+3*i-3*e-9*r,s=3*t-3*e,l=0;if(po(o)){if(QT(a)){var u=-s/a;u>=0&&u<=1&&(n[l++]=u)}}else{var c=a*a-4*o*s;if(po(c))n[0]=-a/(2*o);else if(c>0){var h=pa(c),u=(-a+h)/(2*o),f=(-a-h)/(2*o);u>=0&&u<=1&&(n[l++]=u),f>=0&&f<=1&&(n[l++]=f)}}return l}function Ev(e,t,r,i,n,a){var o=(t-e)*n+e,s=(r-t)*n+t,l=(i-r)*n+r,u=(s-o)*n+o,c=(l-s)*n+s,h=(c-u)*n+u;a[0]=e,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=i}function tD(e,t,r,i,n,a,o,s,l,u,c){var h,f=.005,d=1/0,v,p,m,g;ln[0]=l,ln[1]=u;for(var y=0;y<1;y+=.05)fi[0]=ar(e,r,n,o,y),fi[1]=ar(t,i,a,s,y),m=os(ln,fi),m<d&&(h=y,d=m);d=1/0;for(var x=0;x<32&&!(f<g$);x++)v=h-f,p=h+f,fi[0]=ar(e,r,n,o,v),fi[1]=ar(t,i,a,s,v),m=os(fi,ln),v>=0&&m<d?(h=v,d=m):(ss[0]=ar(e,r,n,o,p),ss[1]=ar(t,i,a,s,p),g=os(ss,ln),p<=1&&g<d?(h=p,d=g):f*=.5);return c&&(c[0]=ar(e,r,n,o,h),c[1]=ar(t,i,a,s,h)),pa(d)}function ON(e,t,r,i,n,a,o,s,l){for(var u=e,c=t,h=0,f=1/l,d=1;d<=l;d++){var v=d*f,p=ar(e,r,n,o,v),m=ar(t,i,a,s,v),g=p-u,y=m-c;h+=Math.sqrt(g*g+y*y),u=p,c=m}return h}function Lr(e,t,r,i){var n=1-i;return n*(n*e+2*i*t)+i*i*r}function Lw(e,t,r,i){return 2*((1-i)*(t-e)+i*(r-t))}function zN(e,t,r,i,n){var a=e-2*t+r,o=2*(t-e),s=e-i,l=0;if(po(a)){if(QT(o)){var u=-s/o;u>=0&&u<=1&&(n[l++]=u)}}else{var c=o*o-4*a*s;if(po(c)){var u=-o/(2*a);u>=0&&u<=1&&(n[l++]=u)}else if(c>0){var h=pa(c),u=(-o+h)/(2*a),f=(-o-h)/(2*a);u>=0&&u<=1&&(n[l++]=u),f>=0&&f<=1&&(n[l++]=f)}}return l}function eD(e,t,r){var i=e+r-2*t;return i===0?.5:(e-t)/i}function Rv(e,t,r,i,n){var a=(t-e)*i+e,o=(r-t)*i+t,s=(o-a)*i+a;n[0]=e,n[1]=a,n[2]=s,n[3]=s,n[4]=o,n[5]=r}function rD(e,t,r,i,n,a,o,s,l){var u,c=.005,h=1/0;ln[0]=o,ln[1]=s;for(var f=0;f<1;f+=.05){fi[0]=Lr(e,r,n,f),fi[1]=Lr(t,i,a,f);var d=os(ln,fi);d<h&&(u=f,h=d)}h=1/0;for(var v=0;v<32&&!(c<g$);v++){var p=u-c,m=u+c;fi[0]=Lr(e,r,n,p),fi[1]=Lr(t,i,a,p);var d=os(fi,ln);if(p>=0&&d<h)u=p,h=d;else{ss[0]=Lr(e,r,n,m),ss[1]=Lr(t,i,a,m);var g=os(ss,ln);m<=1&&g<h?(u=m,h=g):c*=.5}}return l&&(l[0]=Lr(e,r,n,u),l[1]=Lr(t,i,a,u)),pa(h)}function GN(e,t,r,i,n,a,o){for(var s=e,l=t,u=0,c=1/o,h=1;h<=o;h++){var f=h*c,d=Lr(e,r,n,f),v=Lr(t,i,a,f),p=d-s,m=v-l;u+=Math.sqrt(p*p+m*m),s=d,l=v}return u}var ac,pa,eh,g$,my,oc,ln,fi,ss,vn=I((()=>{gr(),ac=Math.pow,pa=Math.sqrt,eh=1e-8,g$=1e-4,my=pa(3),oc=1/3,ln=Ll(),fi=Ll(),ss=Ll()}));function iD(e){var t=e&&nD.exec(e);if(t){var r=t[1].split(","),i=+Tn(r[0]),n=+Tn(r[1]),a=+Tn(r[2]),o=+Tn(r[3]);if(isNaN(i+n+a+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:Iv(0,i,a,1,l,s)&&ar(0,n,o,1,s[0])}}}var nD,m$=I((()=>{vn(),j(),nD=/cubic-bezier\(([0-9,\.e ]+)\)/})),aD,HN=I((()=>{KT(),j(),m$(),aD=(function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Pr,this.ondestroy=t.ondestroy||Pr,this.onrestart=t.onrestart||Pr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var i=this._life,n=t-this._startTime-this._pausedTime,a=n/i;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var l=n%i;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Dt(t)?t:xl[t]||iD(t)},e})()})),ug,Aw,fs,Qp=I((()=>{ug=(function(){function e(t){this.value=t}return e})(),Aw=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new ug(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,i=t.next;r?r.next=i:this.head=i,i?i.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e})(),fs=(function(){function e(t){this._list=new Aw,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var i=this._list,n=this._map,a=null;if(n[t]==null){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new ug(r),s.key=t,i.insertEntry(s),n[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],i=this._list;if(r!=null)return r!==i.tail&&(i.remove(r),i.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})()}));function yo(e){return e=Math.round(e),e<0?0:e>255?255:e}function jN(e){return e=Math.round(e),e<0?0:e>360?360:e}function yy(e){return e<0?0:e>1?1:e}function cg(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?yo(parseFloat(t)/100*255):yo(parseInt(t,10))}function ls(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?yy(parseFloat(t)/100):yy(parseFloat(t))}function hg(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function _f(e,t,r){return e+(t-e)*r}function Ci(e,t,r,i,n){return e[0]=t,e[1]=r,e[2]=i,e[3]=n,e}function xy(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function zs(e,t){sc&&xy(sc,t),sc=y$.put(e,sc||t.slice())}function Fn(e,t){if(e){t=t||[];var r=y$.get(e);if(r)return xy(t,r);e=e+"";var i=e.replace(/ /g,"").toLowerCase();if(i in _y)return xy(t,_y[i]),zs(e,t),t;var n=i.length;if(i.charAt(0)==="#"){if(n===4||n===5){var a=parseInt(i.slice(1,4),16);if(!(a>=0&&a<=4095)){Ci(t,0,0,0,1);return}return Ci(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,n===5?parseInt(i.slice(4),16)/15:1),zs(e,t),t}else if(n===7||n===9){var a=parseInt(i.slice(1,7),16);if(!(a>=0&&a<=16777215)){Ci(t,0,0,0,1);return}return Ci(t,(a&16711680)>>16,(a&65280)>>8,a&255,n===9?parseInt(i.slice(7),16)/255:1),zs(e,t),t}return}var o=i.indexOf("("),s=i.indexOf(")");if(o!==-1&&s+1===n){var l=i.substr(0,o),u=i.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Ci(t,+u[0],+u[1],+u[2],1):Ci(t,0,0,0,1);c=ls(u.pop());case"rgb":if(u.length>=3)return Ci(t,cg(u[0]),cg(u[1]),cg(u[2]),u.length===3?c:ls(u[3])),zs(e,t),t;Ci(t,0,0,0,1);return;case"hsla":if(u.length!==4){Ci(t,0,0,0,1);return}return u[3]=ls(u[3]),$y(u,t),zs(e,t),t;case"hsl":if(u.length!==3){Ci(t,0,0,0,1);return}return $y(u,t),zs(e,t),t;default:return}}Ci(t,0,0,0,1)}}function $y(e,t){var r=(parseFloat(e[0])%360+360)%360/360,i=ls(e[1]),n=ls(e[2]),a=n<=.5?n*(i+1):n+i-n*i,o=n*2-a;return t=t||[],Ci(t,yo(hg(o,a,r+1/3)*255),yo(hg(o,a,r)*255),yo(hg(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function VN(e){if(e){var t=e[0]/255,r=e[1]/255,i=e[2]/255,n=Math.min(t,r,i),a=Math.max(t,r,i),o=a-n,s=(a+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(a+n):u=o/(2-a-n);var c=((a-t)/6+o/2)/o,h=((a-r)/6+o/2)/o,f=((a-i)/6+o/2)/o;t===a?l=f-h:r===a?l=1/3+c-f:i===a&&(l=2/3+h-c),l<0&&(l+=1),l>1&&(l-=1)}var d=[l*360,u,s];return e[3]!=null&&d.push(e[3]),d}}function Tw(e,t){var r=Fn(e);if(r){for(var i=0;i<3;i++)t<0?r[i]=r[i]*(1-t)|0:r[i]=(255-r[i])*t+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return Lh(r,r.length===4?"rgba":"rgb")}}function UN(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var i=e*(t.length-1),n=Math.floor(i),a=Math.ceil(i),o=Fn(t[n]),s=Fn(t[a]),l=i-n,u=Lh([yo(_f(o[0],s[0],l)),yo(_f(o[1],s[1],l)),yo(_f(o[2],s[2],l)),yy(_f(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:n,rightIndex:a,value:i}:u}}function by(e,t,r,i){var n=Fn(e);if(e)return n=VN(n),t!=null&&(n[0]=jN(Dt(t)?t(n[0]):t)),r!=null&&(n[1]=ls(Dt(r)?r(n[1]):r)),i!=null&&(n[2]=ls(Dt(i)?i(n[2]):i)),Lh($y(n),"rgba")}function Lh(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Fv(e,t){var r=Fn(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function Dw(e){if(vt(e)){var t=Sy.get(e);return t||(t=Tw(e,-.1),Sy.put(e,t)),t}else if(Zp(e)){var r=K({},e);return r.colorStops=ut(e.colorStops,function(i){return{offset:i.offset,color:Tw(i.color,-.1)}}),r}return e}var _y,y$,sc,Sy,Ui=I((()=>{Qp(),j(),_y={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]},y$=new fs(20),sc=null,Sy=new fs(100)}));function WN(e){return e.type==="linear"}function ZN(e){return e.type==="radial"}var YN,oD=I((()=>{YN=(function(){return typeof Buffer<"u"&&typeof Buffer.from=="function"?function(e){return Buffer.from(e).toString("base64")}:typeof btoa=="function"&&typeof unescape=="function"&&typeof encodeURIComponent=="function"?function(e){return btoa(unescape(encodeURIComponent(e)))}:function(e){return null}})()}));function oa(e,t,r){return(t-e)*r+e}function fg(e,t,r,i){for(var n=t.length,a=0;a<n;a++)e[a]=oa(t[a],r[a],i);return e}function XN(e,t,r,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=oa(t[o][s],r[o][s],i)}return e}function Sf(e,t,r,i){for(var n=t.length,a=0;a<n;a++)e[a]=t[a]+r[a]*i;return e}function kw(e,t,r,i){for(var n=t.length,a=n&&t[0].length,o=0;o<n;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+r[o][s]*i}return e}function qN(e,t){for(var r=e.length,i=t.length,n=r>i?t:e,a=Math.min(r,i),o=n[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(r,i);s++)n.push({offset:o.offset,color:o.color.slice()})}function KN(e,t,r){var i=e,n=t;if(!(!i.push||!n.push)){var a=i.length,o=n.length;if(a!==o)if(a>o)i.length=o;else for(var s=a;s<o;s++)i.push(r===1?n[s]:Bv.call(n[s]));for(var l=i[0]&&i[0].length,s=0;s<i.length;s++)if(r===1)isNaN(i[s])&&(i[s]=n[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=n[s][u])}}function Pc(e){if(Wr(e)){var t=e.length;if(Wr(e[0])){for(var r=[],i=0;i<t;i++)r.push(Bv.call(e[i]));return r}return Bv.call(e)}return e}function wf(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function QN(e){return Wr(e&&e[0])?2:1}function Pw(e){return e===zd||e===Gd}function Mf(e){return e===lc||e===wy}var Bv,Tu,lc,wy,Gs,zd,Gd,dg,Hs,Iw,Jp,x$=I((()=>{HN(),Ui(),j(),KT(),m$(),oD(),Bv=Array.prototype.slice,Tu=0,lc=1,wy=2,Gs=3,zd=4,Gd=5,dg=6,Hs=[0,0,0,0],Iw=(function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,i){this._needsSort=!0;var n=this.keyframes,a=n.length,o=!1,s=dg,l=r;if(Wr(r)){var u=QN(r);s=u,(u===1&&!$e(r[0])||u===2&&!$e(r[0][0]))&&(o=!0)}else if($e(r)&&!Qc(r))s=Tu;else if(vt(r))if(!isNaN(+r))s=Tu;else{var c=Fn(r);c&&(l=c,s=Gs)}else if(Zp(r)){var h=K({},l);h.colorStops=ut(r.colorStops,function(d){return{offset:d.offset,color:Fn(d.color)}}),WN(r)?s=zd:ZN(r)&&(s=Gd),l=h}a===0?this.valType=s:(s!==this.valType||s===dg)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:l,rawValue:r,percent:0};return i&&(f.easing=i,f.easingFunc=Dt(i)?i:xl[i]||iD(i)),n.push(f),f},e.prototype.prepare=function(t,r){var i=this.keyframes;this._needsSort&&i.sort(function(p,m){return p.time-m.time});for(var n=this.valType,a=i.length,o=i[a-1],s=this.discrete,l=Mf(n),u=Pw(n),c=0;c<a;c++){var h=i[c],f=h.value,d=o.value;h.percent=h.time/t,s||(l&&c!==a-1?KN(f,d,n):u&&qN(f.colorStops,d.colorStops))}if(!s&&n!==Gd&&r&&this.needsAnimate()&&r.needsAnimate()&&n===r.valType&&!r._finished){this._additiveTrack=r;for(var v=i[0].value,c=0;c<a;c++)n===Tu?i[c].additiveValue=i[c].value-v:n===Gs?i[c].additiveValue=Sf([],i[c].value,v,-1):Mf(n)&&(i[c].additiveValue=n===lc?Sf([],i[c].value,v,-1):kw([],i[c].value,v,-1))}},e.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i=this._additiveTrack!=null,n=i?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=a===Gs,c,h=this._lastFr,f=Math.min,d,v;if(s===1)d=v=o[0];else{if(r<0)c=0;else if(r<this._lastFrP){for(c=f(h+1,s-1);c>=0&&!(o[c].percent<=r);c--);c=f(c,s-2)}else{for(c=h;c<s&&!(o[c].percent>r);c++);c=f(c-1,s-2)}v=o[c+1],d=o[c]}if(d&&v){this._lastFr=c,this._lastFrP=r;var p=v.percent-d.percent,m=p===0?1:f((r-d.percent)/p,1);v.easingFunc&&(m=v.easingFunc(m));var g=i?this._additiveValue:u?Hs:t[l];if((Mf(a)||u)&&!g&&(g=this._additiveValue=[]),this.discrete)t[l]=m<1?d.rawValue:v.rawValue;else if(Mf(a))a===lc?fg(g,d[n],v[n],m):XN(g,d[n],v[n],m);else if(Pw(a)){var y=d[n],x=v[n],$=a===zd;t[l]={type:$?"linear":"radial",x:oa(y.x,x.x,m),y:oa(y.y,x.y,m),colorStops:ut(y.colorStops,function(_,S){var M=x.colorStops[S];return{offset:oa(_.offset,M.offset,m),color:wf(fg([],_.color,M.color,m))}}),global:x.global},$?(t[l].x2=oa(y.x2,x.x2,m),t[l].y2=oa(y.y2,x.y2,m)):t[l].r=oa(y.r,x.r,m)}else if(u)fg(g,d[n],v[n],m),i||(t[l]=wf(g));else{var b=oa(d[n],v[n],m);i?this._additiveValue=b:t[l]=b}i&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,i=this.propName,n=this._additiveValue;r===Tu?t[i]=t[i]+n:r===Gs?(Fn(t[i],Hs),Sf(Hs,Hs,n,1),t[i]=wf(Hs)):r===lc?Sf(t[i],t[i],n,1):r===wy&&kw(t[i],t[i],n,1)},e})(),Jp=(function(){function e(t,r,i,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&n){n$("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=i}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,i){return this.whenWithKeys(t,r,ge(r),i)},e.prototype.whenWithKeys=function(t,r,i,n){for(var a=this._tracks,o=0;o<i.length;o++){var s=i[o],l=a[s];if(!l){l=a[s]=new Iw(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var h=c.keyframes,f=h[h.length-1];u=f&&f.value,c.valType===Gs&&u&&(u=wf(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,Pc(u),n),this._trackKeys.push(s)}l.addKeyframe(t,Pc(r[s]),n)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,i=0;i<r;i++)t[i].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var i=0;i<r.length;i++)r[i].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,i=0;i<r.length;i++)t[r[i]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var a=i[n].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,i=[],n=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(n,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=u[c-1];h&&(r._target[s.propName]=h.rawValue),s.setFinished()}else i.push(s)}if(i.length||this._force){var f=new aD({life:n,loop:this._loop,delay:this._delay||0,onframe:function(d){r._started=2;var v=r._additiveAnimators;if(v){for(var p=!1,m=0;m<v.length;m++)if(v[m]._clip){p=!0;break}p||(r._additiveAnimators=null)}for(var m=0;m<i.length;m++)i[m].step(r._target,d);var g=r._onframeCbs;if(g)for(var m=0;m<g.length;m++)g[m](r._target,d)},ondestroy:function(){r._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return ut(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,a=0;a<t.length;a++){var o=i[t[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<n.length;a++)if(!i[n[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,r,i){if(t){r=r||this._trackKeys;for(var n=0;n<r.length;n++){var a=r[n],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[i?0:s.length-1];l&&(t[a]=Pc(l.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||ge(t);for(var i=0;i<r.length;i++){var n=r[i],a=this._tracks[n];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[n]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e})()}));function $l(){return new Date().getTime()}var sD,JN=I((()=>{ke(),Pa(),qT(),x$(),sD=(function(e){we(t,e);function t(r){var i=e.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,r=r||{},i.stage=r.stage||{},i}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var i=r.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(r){if(r.animation){var i=r.prev,n=r.next;i?i.next=n:this._head=n,n?n.prev=i:this._tail=i,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var i=r.getClip();i&&this.removeClip(i),r.animation=null},t.prototype.update=function(r){for(var i=$l()-this._pausedTime,n=i-this._time,a=this._head;a;){var o=a.next;a.step(i,n)&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=i,r||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function i(){r._running&&(Pv(i),!r._paused&&r.update())}Pv(i)},t.prototype.start=function(){this._running||(this._time=$l(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=$l(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=$l()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var i=r.next;r.prev=r.next=r.animation=null,r=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,i){i=i||{},this.start();var n=new Jp(r,i.loop);return this.addAnimator(n),n},t})(hn)}));function vg(e){var t=e.pointerType;return t==="pen"||t==="touch"}function tO(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function pg(e){e&&(e.zrByTouch=!0)}function eO(e,t){return Ai(e.dom,new uD(e,t),!0)}function lD(e,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return i}function rO(e,t){var r=t.domHandlers;Nt.pointerEventsSupported?F(jd.pointer,function(i){Hd(t,i,function(n){r[i].call(e,n)})}):(Nt.touchEventsSupported&&F(jd.touch,function(i){Hd(t,i,function(n){r[i].call(e,n),tO(t)})}),F(jd.mouse,function(i){Hd(t,i,function(n){n=c$(n),t.touching||r[i].call(e,n)})}))}function iO(e,t){Nt.pointerEventsSupported?F(My.pointer,r):Nt.touchEventsSupported||F(My.mouse,r);function r(i){function n(a){a=c$(a),lD(e,a.target)||(a=eO(e,a),t.domHandlers[i].call(e,a))}Hd(t,i,n,{capture:!0})}}function Hd(e,t,r,i){e.mounted[t]=r,e.listenerOpts[t]=i,CN(e.domTarget,t,r,i)}function gg(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&LN(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var Ew,Cf,jd,My,mg,uD,wi,Lf,yg,cD,nO=I((()=>{ke(),_s(),j(),Pa(),pr(),Ew=300,Cf=Nt.domSupported,jd=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:e,touch:t,pointer:ut(e,function(i){var n=i.replace("mouse","pointer");return r.hasOwnProperty(n)?n:i})}})(),My={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},mg=!1,uD=(function(){function e(t,r){this.stopPropagation=Pr,this.stopImmediatePropagation=Pr,this.preventDefault=Pr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e})(),wi={mousedown:function(e){e=Ai(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=Ai(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=Ai(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=Ai(this.dom,e);var t=e.toElement||e.relatedTarget;lD(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){mg=!0,e=Ai(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){mg||(e=Ai(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=Ai(this.dom,e),pg(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),wi.mousemove.call(this,e),wi.mousedown.call(this,e)},touchmove:function(e){e=Ai(this.dom,e),pg(e),this.handler.processGesture(e,"change"),wi.mousemove.call(this,e)},touchend:function(e){e=Ai(this.dom,e),pg(e),this.handler.processGesture(e,"end"),wi.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<Ew&&wi.click.call(this,e)},pointerdown:function(e){wi.mousedown.call(this,e)},pointermove:function(e){vg(e)||wi.mousemove.call(this,e)},pointerup:function(e){wi.mouseup.call(this,e)},pointerout:function(e){vg(e)||wi.mouseout.call(this,e)}},F(["click","dblclick","contextmenu"],function(e){wi[e]=function(t){t=Ai(this.dom,t),this.trigger(e,t)}}),Lf={pointermove:function(e){vg(e)||Lf.mousemove.call(this,e)},pointerup:function(e){Lf.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}},yg=(function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e})(),cD=(function(e){we(t,e);function t(r,i){var n=e.call(this)||this;return n.__pointerCapturing=!1,n.dom=r,n.painterRoot=i,n._localHandlerScope=new yg(r,wi),Cf&&(n._globalHandlerScope=new yg(document,Lf)),rO(n,n._localHandlerScope),n}return t.prototype.dispose=function(){gg(this._localHandlerScope),Cf&&gg(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,Cf&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var i=this._globalHandlerScope;r?iO(this,i):gg(i)}},t})(hn)})),xg,rh,Cy,Nv,Ov,hD,iu=I((()=>{pr(),xg=1,Nt.hasGlobalWindow&&(xg=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1)),rh=xg,Cy=.4,Nv="#333",Ov="#ccc",hD="#eee"}));function Io(e){return e>Ly||e<-Ly}function Du(){return new ba}function zv(e,t){return aN(e,t,Gn)}var $g,Ly,Wa,Eo,Af,Tf,ba,Ay,Gn,pn=I((()=>{$i(),j(),gr(),$g=Ch,Ly=5e-5,Wa=[],Eo=[],Af=cr(),Tf=Math.abs,ba=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return Ay(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Io(this.rotation)||Io(this.x)||Io(this.y)||Io(this.scaleX-1)||Io(this.scaleY-1)||Io(this.skewX)||Io(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),i=this.transform;if(!(r||t)){i&&($g(i),this.invTransform=null);return}i=i||cr(),r?this.getLocalTransform(i):$g(i),t&&(r?kc(i,t,i):f$(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i),this.invTransform=this.invTransform||cr(),eu(this.invTransform,i)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Wa);var i=Wa[0]<0?-1:1,n=Wa[1]<0?-1:1,a=((Wa[0]-i)*r+i)/Wa[0]||0,o=((Wa[1]-n)*r+n)/Wa[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),a=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=i,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||cr(),kc(Eo,t.invTransform,r),r=Eo);var i=this.originX,n=this.originY;(i||n)&&(Af[4]=i,Af[5]=n,kc(Eo,r,Af),Eo[4]-=i,Eo[5]-=n,r=Eo),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var i=[t,r],n=this.invTransform;return n&&ti(i,i,n),i},e.prototype.transformCoordToGlobal=function(t,r){var i=[t,r],n=this.transform;return n&&ti(i,i,n),i},e.prototype.getLineScale=function(){var t=this.transform;return t&&Tf(t[0]-1)>1e-10&&Tf(t[3]-1)>1e-10?Math.sqrt(Tf(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){zv(this,t)},e.getLocalTransform=function(t,r){r=r||[];var i=t.originX||0,n=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||l){var v=i+s,p=n+l;r[4]=-v*a-f*p*o,r[5]=-p*o-d*v*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=d*a,r[2]=f*o,u&&d$(r,r,u),r[4]+=i+c,r[5]+=n+h,r},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e})(),Ay=ba.getLocalTransform,Gn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"]}));function Bn(e){Df||(Df=new fs(100)),e=e||"12px sans-serif";var t=Df.get(e);return t||(t={font:e,strWidthCache:new fs(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:Ur.measureText("国",e).width,asciiCharWidth:Ur.measureText("a",e).width},Df.put(e,t)),t}function aO(e){if(!(Vd>=Ty)){e=e||"12px sans-serif";for(var t=[],r=+new Date,i=0;i<=127;i++)t[i]=Ur.measureText(String.fromCharCode(i),e).width;var n=+new Date-r;return n>16?Vd=Ty:n>2&&Vd++,t}}function fD(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=aO(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function Nn(e,t){var r=e.strWidthCache,i=r.get(t);return i==null&&(i=Ur.measureText(t,e.font).width,r.put(t,i)),i}function Rw(e,t,r,i){var n=Nn(Bn(t),e),a=t0(t);return new Ct(zl(0,n,r),us(0,a,i),n,a)}function dD(e,t,r,i){var n=((e||"")+"").split(`
|
|
2
2
|
`);if(n.length===1)return Rw(n[0],t,r,i);for(var a=new Ct(0,0,0,0),o=0;o<n.length;o++){var s=Rw(n[o],t,r,i);o===0?a.copy(s):a.union(s)}return a}function zl(e,t,r,i){return r==="right"?i?e+=t:e-=t:r==="center"&&(i?e+=t/2:e-=t/2),e}function us(e,t,r,i){return r==="middle"?i?e+=t/2:e-=t/2:r==="bottom"&&(i?e+=t:e-=t),e}function t0(e){return Bn(e).stWideCharWidth}function ds(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Gv(e,t,r){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,l=r.x,u=r.y,c="left",h="top";if(i instanceof Array)l+=ds(i[0],r.width),u+=ds(i[1],r.height),c=null,h=null;else switch(i){case"left":l-=n,u+=s,c="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,c="center",h="bottom";break;case"bottom":l+=o/2,u+=a+n,c="center";break;case"inside":l+=o/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,c="right",h="middle";break;case"insideTop":l+=o/2,u+=n,c="center";break;case"insideBottom":l+=o/2,u+=a-n,c="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,c="right";break;case"insideBottomLeft":l+=n,u+=a-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=a-n,c="right",h="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=h,e}var Df,Vd,Ty,gn=I((()=>{je(),Qp(),xi(),Vd=0,Ty=5}));function bg(e,t,r,i,n){r=r||{};var a=[];vD(e,"",e,t,r,i,a,n);var o=a.length,s=!1,l=r.done,u=r.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},h=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&r.during&&a[0].during(function(v,p){r.during(p)});for(var f=0;f<a.length;f++){var d=a[f];c&&d.done(c),h&&d.aborted(h),r.force&&d.duration(r.duration),d.start(r.easing)}return a}function _g(e,t,r){for(var i=0;i<r;i++)e[i]=t[i]}function oO(e){return Wr(e[0])}function sO(e,t,r){if(Wr(t[r]))if(Wr(e[r])||(e[r]=[]),ri(t[r])){var i=t[r].length;e[r].length!==i&&(e[r]=new t[r].constructor(i),_g(e[r],t[r],i))}else{var n=t[r],a=e[r],o=n.length;if(oO(n))for(var s=n[0].length,l=0;l<o;l++)a[l]?_g(a[l],n[l],s):a[l]=Array.prototype.slice.call(n[l]);else _g(a,n,o);a.length=n.length}else e[r]=t[r]}function lO(e,t){return e===t||Wr(e)&&Wr(t)&&uO(e,t)}function uO(e,t){var r=e.length;if(r!==t.length)return!1;for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}function vD(e,t,r,i,n,a,o,s){for(var l=ge(i),u=n.duration,c=n.delay,h=n.additive,f=n.setToFinal,d=!_t(a),v=e.animators,p=[],m=0;m<l.length;m++){var g=l[m],y=i[g];if(y!=null&&r[g]!=null&&(d||a[g]))if(_t(y)&&!Wr(y)&&!Zp(y)){if(t){s||(r[g]=y,e.updateDuringAnimation(t));continue}vD(e,g,r[g],y,n,a&&a[g],o,s)}else p.push(g);else s||(r[g]=y,e.updateDuringAnimation(t),p.push(g))}var x=p.length;if(!h&&x)for(var $=0;$<v.length;$++){var b=v[$];if(b.targetName===t&&b.stopTracks(p)){var _=Jt(v,b);v.splice(_,1)}}if(n.force||(p=Qe(p,function(T){return!lO(i[T],r[T])}),x=p.length),x>0||n.force&&!o.length){var S=void 0,M=void 0,w=void 0;if(s){M={},f&&(S={});for(var $=0;$<x;$++){var g=p[$];M[g]=r[g],f?S[g]=i[g]:r[g]=i[g]}}else if(f){w={};for(var $=0;$<x;$++){var g=p[$];w[g]=Pc(r[g]),sO(r,i,g)}}var b=new Jp(r,!1,!1,h?Qe(v,function(L){return L.targetName===t}):null);b.targetName=t,n.scope&&(b.scope=n.scope),f&&S&&b.whenWithKeys(0,S,p),w&&b.whenWithKeys(0,w,p),b.whenWithKeys(u??500,s?M:i,p).delay(c||0),e.addAnimator(b,t),o.push(b)}}function Fw(e,t,r,i){return!(r&&r.hoverLayer||i)||Bw(e)||t&&Bw(t)?0:1}function Bw(e){return e.type==="text"||e.type==="tspan"}function Nw(e,t,r){return!t&&!e.__inHover&&r&&r.duration>0}var Sg,kf,Ow,Ro,zw,ku,cO,hO,Ic,$$=I((()=>{pn(),x$(),je(),Pa(),gn(),j(),iu(),Ui(),Ss(),$i(),Sg="__zr_normal__",kf=Gn.concat(["ignore"]),Ow=xa(Gn,function(e,t){return e[t]=!0,e},{ignore:!1}),Ro={},zw=new Ct(0,0,0,0),ku=[],cO=0,hO=1,Ic=(function(){function e(t){this.id=CT(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,i){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,a=r.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=n?this:null;var u=!1;a.copyTransform(r);var c=i.position!=null,h=i.autoOverflowArea,f=void 0;if((h||c)&&(f=zw,i.layoutRect?f.copy(i.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform)),c){this.calculateTextPosition?this.calculateTextPosition(Ro,i,f):Gv(Ro,i,f),a.x=Ro.x,a.y=Ro.y,o=Ro.align,s=Ro.verticalAlign;var d=i.origin;if(d&&i.rotation!=null){var v=void 0,p=void 0;d==="center"?(v=f.width*.5,p=f.height*.5):(v=ds(d[0],f.width),p=ds(d[1],f.height)),u=!0,a.originX=-a.x+v+(n?0:f.x),a.originY=-a.y+p+(n?0:f.y)}}i.rotation!=null&&(a.rotation=i.rotation);var m=i.offset;m&&(a.x+=m[0],a.y+=m[1],u||(a.originX=-m[0],a.originY=-m[1]));var g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(h){var y=g.overflowRect=g.overflowRect||new Ct(0,0,0,0);a.getLocalTransform(ku),eu(ku,ku),Ct.copy(y,f),y.applyTransform(ku)}else g.overflowRect=null;var x=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,$=void 0,b=void 0,_=void 0;x&&this.canBeInsideText()?($=i.insideFill,b=i.insideStroke,($==null||$==="auto")&&($=this.getInsideTextFill()),(b==null||b==="auto")&&(b=this.getInsideTextStroke($),_=!0)):($=i.outsideFill,b=i.outsideStroke,($==null||$==="auto")&&($=this.getOutsideFill()),(b==null||b==="auto")&&(b=this.getOutsideStroke($),_=!0)),$=$||"#000",($!==g.fill||b!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=$,g.stroke=b,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=1,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ov:Nv},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),i=typeof r=="string"&&Fn(r);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,Lh(i,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},K(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(_t(t))for(var i=ge(t),n=0;n<i.length;n++){var a=i[n];this.attrKV(a,t[a])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],a=n.__fromStateTransition;if(!(n.getLoop()||a&&a!=="__zr_normal__")){var o=n.targetName,s=o?r[o]:r;n.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,kf)},e.prototype._savePrimaryToNormal=function(t,r,i){for(var n=0;n<i.length;n++){var a=i[n];t[a]!=null&&!(a in r)&&(r[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(Sg,!1,t)},e.prototype.useState=function(t,r,i,n){var a=t===Sg;if(!(!this.hasState()&&a)){var o=this.currentStates,s=this.stateTransition;if(!(Jt(o,t)>=0&&(r||o.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){n$("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var u=this._textContent,c=Fw(this,u,l,n);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,l,this._normalState,r,Nw(this,i,s),s);var h=this._textGuide;return u&&u.useState(t,r,i,!!c),h&&h.useState(t,r,i,!!c),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,this.__dirty&=-2),l}}},e.prototype.useStates=function(t,r,i){if(!t.length)this.clearStates();else{var n=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var l=0;l<o;l++)if(t[l]!==a[l]){s=!1;break}}if(s)return;for(var l=0;l<o;l++){var u=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&n.push(c)}var h=n[o-1],f=this._textContent,d=Fw(this,f,h,i);d&&!this.__inHover&&(this.__inHover=d);var v=this._mergeStates(n),p=this.stateTransition;this.saveCurrentToNormalState(v),this._applyStateObj(t.join(","),v,this._normalState,!1,Nw(this,r,p),p);var m=this._textGuide;f&&f.useStates(t,r,!!d),m&&m.useStates(t,r,!!d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this.__inHover=0,this.__dirty&=-2)}},e.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var r=t.__hostTarget;t=r?t.ignoreHostSilent?null:r:t.parent}return!1},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=Jt(this.currentStates,t);if(r>=0){var i=this.currentStates.slice();i.splice(r,1),this.useStates(i)}},e.prototype.replaceState=function(t,r,i){var n=this.currentStates.slice(),a=Jt(n,t),o=Jt(n,r)>=0;a>=0?o?n.splice(a,1):n[a]=r:i&&!o&&n.push(r),this.useStates(n)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},i,n=0;n<t.length;n++){var a=t[n];K(r,a),a.textConfig&&(i=i||{},K(i,a.textConfig))}return i&&(r.textConfig=i),r},e.prototype._applyStateObj=function(t,r,i,n,a,o){if(this.__inHover!==1){var s=!(r&&n);r&&r.textConfig?(this.textConfig=K({},n?this.textConfig:i.textConfig),K(this.textConfig,r.textConfig)):s&&i.textConfig&&(this.textConfig=i.textConfig);for(var l={},u=!1,c=0;c<kf.length;c++){var h=kf[c],f=a&&Ow[h];r&&r[h]!=null?f?(u=!0,l[h]=r[h]):this[h]=r[h]:s&&i[h]!=null&&(f?(u=!0,l[h]=i[h]):this[h]=i[h])}if(!a)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],v=d.targetName;d.getLoop()||d.__changeFinalValue(v?(r||i)[v]:r||i)}u&&this._transitionState(t,l,o)}},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var r=this._textContent;r!==t&&(r&&r!==t&&this.removeTextContent(),t.innerTransformable=new ba,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),K(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var i=0;i<r.length;i++)t.animation.addAnimator(r[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var r=this.animators;if(r)for(var i=0;i<r.length;i++)t.animation.removeAnimator(r[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,i){var n=new Jp(t?this[t]:this,r,i);return t&&(n.targetName=t),this.addAnimator(n,t),n},e.prototype.addAnimator=function(t,r){var i=this.__zr,n=this;t.during(function(){n.updateDuringAnimation(r)}).done(function(){var a=n.animators,o=Jt(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var i=this.animators,n=i.length,a=[],o=0;o<n;o++){var s=i[o];!t||t===s.scope?s.stop(r):a.push(s)}return this.animators=a,this},e.prototype.animateTo=function(t,r,i){bg(this,t,r,i)},e.prototype.animateFrom=function(t,r,i){bg(this,t,r,i,!0)},e.prototype._transitionState=function(t,r,i,n){for(var a=bg(this,r,i,n),o=0;o<a.length;o++)a[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=(function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.ignoreHostSilent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=!1,t.__inHover=0,t.__dirty=1;function r(i,n,a,o){Object.defineProperty(t,i,{get:function(){if(!this[n]){var l=this[n]=[];s(this,l)}return this[n]},set:function(l){this[a]=l[0],this[o]=l[1],this[n]=l,s(this,l)}});function s(l,u){Object.defineProperty(u,0,{get:function(){return l[a]},set:function(c){l[a]=c}}),Object.defineProperty(u,1,{get:function(){return l[o]},set:function(c){l[o]=c}})}}Object.defineProperty&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))})(),e})(),Ei(Ic,hn),Ei(Ic,ba)})),Fe,ws=I((()=>{ke(),j(),$$(),je(),Fe=(function(e){we(t,e);function t(r){var i=e.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(r),i}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var i=this._children,n=0;n<i.length;n++)if(i[n].name===r)return i[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(r){return r&&r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),this},t.prototype.addBefore=function(r,i){if(r&&r!==this&&r.parent!==this&&i&&i.parent===this){var n=this._children,a=n.indexOf(i);a>=0&&(n.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,i){var n=Jt(this._children,r);return n>=0&&this.replaceAt(i,n),this},t.prototype.replaceAt=function(r,i){var n=this._children,a=n[i];if(r&&r!==this&&r.parent!==this&&r!==a){n[i]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var i=this.__zr;i&&i!==r.__zr&&r.addSelfToZr(i),i&&i.refresh()},t.prototype.remove=function(r){var i=this.__zr,n=this._children,a=Jt(n,r);return a<0?this:(n.splice(a,1),r.parent=null,i&&r.removeSelfFromZr(i),i&&i.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,i=this.__zr,n=0;n<r.length;n++){var a=r[n];i&&a.removeSelfFromZr(i),a.parent=null}return r.length=0,this},t.prototype.eachChild=function(r,i){for(var n=this._children,a=0;a<n.length;a++){var o=n[a];r.call(i,o,a)}return this},t.prototype.traverse=function(r,i){for(var n=0;n<this._children.length;n++){var a=this._children[n],o=r.call(i,a);a.isGroup&&!o&&a.traverse(r,i)}return this},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var i=0;i<this._children.length;i++)this._children[i].addSelfToZr(r)},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var i=0;i<this._children.length;i++)this._children[i].removeSelfFromZr(r)},t.prototype.getBoundingRect=function(r){for(var i=new Ct(0,0,0,0),n=r||this._children,a=[],o=null,s=0;s<n.length;s++){var l=n[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(a);c?(Ct.applyTransform(i,u,c),o=o||i.clone(),o.union(i)):(o=o||u.clone(),o.union(u))}}return o||i},t})(Ic),Fe.prototype.type="group"}));function fO(e){delete b$[e]}function dO(e){if(!e)return!1;if(typeof e=="string")return Fv(e,1)<Cy;if(e.colorStops){for(var t=e.colorStops,r=0,i=t.length,n=0;n<i;n++)r+=Fv(t[n].color,1);return r/=i,r<Cy}return!1}function Gw(e,t){var r=new pD(CT(),e,t);return b$[r.id]=r,r}function vO(e,t){uc[e]=t}function pO(e){gO=e}var uc,b$,pD,gO,_$=I((()=>{pr(),j(),EN(),NN(),JN(),nO(),Ui(),iu(),ws(),uc={},b$={},pD=(function(){function e(t,r,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!1,this._darkMode=!1,i=i||{},this.dom=r,this.id=t;var a=new XT,o=i.renderer||"canvas";uc[o]||(o=ge(uc)[0]),i.useDirtyRect=i.useDirtyRect==null?!1:i.useDirtyRect;var s=new uc[o](r,a,i,t),l=i.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!Nt.node&&!Nt.worker&&!l?new cD(s.getViewportRoot(),s.root):null,c=i.useCoarsePointer,h=c==null||c==="auto"?Nt.touchEventsSupported:!!c,f=44,d;h&&(d=gt(i.pointerSize,f)),this.handler=new py(a,s,u,s.root,d),this.animation=new sD({stage:{update:l?null:function(){return n._flush(!1)}}}),l||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=dO(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||this._refresh({animUpdate:!t,refresh:!0,refreshHover:!1})},e.prototype._refresh=function(t){t.animUpdate&&this.animation.update(!0),this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh({refresh:t.refresh,refreshHover:t.refreshHover}),this._needsRefresh=this._needsRefreshHover=!1},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!0)},e.prototype._flush=function(t){var r,i=$l(),n=this._needsRefresh,a=this._needsRefreshHover;(n||a)&&(r=!0,this._refresh({animUpdate:t,refresh:n,refreshHover:a}));var o=$l();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:o-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||this._refresh({animUpdate:!1,refresh:!1,refreshHover:!0})},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,i){return this._disposed||this.handler.on(t,r,i),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof Fe&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,fO(this.id))},e})()}));function mO(e){return e.replace(/^\s+|\s+$/g,"")}function Dy(e,t,r,i){var n=t[0],a=t[1],o=r[0],s=r[1],l=a-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(i)if(l>0){if(e<=n)return o;if(e>=a)return s}else{if(e>=n)return o;if(e<=a)return s}else{if(e===n)return o;if(e===a)return s}return(e-n)/l*u+o}function yO(e,t,r){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return ky(e,t,r)}function ky(e,t,r){return vt(e)?xO(e)?parseFloat(e)/100*t+(r||0):parseFloat(e):e==null?NaN:+e}function xO(e){return!!mO(e).match(/%$/)}function de(e,t,r){return isNaN(t)?r?""+e:+e:(t=or(le(0,t),C$),e=(+e).toFixed(t),r?e:+e)}function S$(e){return e.sort(function(t,r){return t-r}),e}function go(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Hn(e*t)/t===e)return r}return $O(e)}function $O(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),i=r>0?+t.slice(r+1):0,n=r>0?r:t.length,a=t.indexOf(".");return le(0,(a<0?0:n-1-a)-i)}function bO(e,t,r){var i=tr(e[1]-e[0]);if(!isFinite(i)||i===0)return NaN;var n=Gl(2*tr(r||1)*tr(i))/jv,a=Gl(tr(t))/jv,o=le(0,au(-n+a));return isFinite(o)||(o=NaN),o}function _O(e,t){var r=xa(e,function(d,v){return d+(isNaN(v)?0:v)},0);if(r===0)return[];for(var i=_o(10,t),n=ut(e,function(d){return(isNaN(d)?0:d)/r*i*100}),a=i*100,o=ut(n,function(d){return bo(d)}),s=xa(o,function(d,v){return d+v},0),l=ut(n,function(d,v){return d-o[v]});s<a;){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,f=l.length;h<f;++h)l[h]>u&&(u=l[h],c=h);++o[c],l[c]=0,++s}return ut(o,function(d){return d/i})}function SO(e,t){var r=le(go(e),go(t)),i=e+t;return r>C$?i:de(i,r)}function gD(e){var t=xD*2;return(e%t+t)%t}function Hv(e){return e>-Iy&&e<Iy}function nu(e){if(e instanceof Date)return e;if(vt(e)){var t=bD.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Hn(e))}function mD(e){return _o(10,w$(e))}function w$(e){if(e===0)return 0;var t=bo(Gl(e)/jv);return e/_o(10,t)>=10&&t++,t}function M$(e,t){var r=w$(e),i=_o(10,r),n=e/i,a;return t===2?a=1:t?n<1.5?a=1:n<2.5?a=2:n<4?a=3:n<7?a=5:a=10:n<1?a=1:n<2?a=2:n<3?a=3:n<5?a=5:a=10,e=a*i,de(e,-r)}function co(e){var t=parseFloat(e);return t==e&&(t!==0||!vt(e)||e.indexOf("x")<=0)?t:NaN}function wO(e){return!isNaN(co(e))}function Py(){return Hn($D()*9)}function yD(e,t){return t===0?e:yD(t,e%t)}function Hw(e,t){return e==null?t:t==null?e:e*t/yD(e,t)}function Oi(e){return e!=null&&isFinite(e)}var Iy,C$,or,le,tr,Hn,bo,au,_o,Gl,jv,xD,$D,ie,Ey,bD,MO,Ot=I((()=>{j(),Iy=1e-4,C$=20,or=Math.min,le=Math.max,tr=Math.abs,Hn=Math.round,bo=Math.floor,au=Math.ceil,_o=Math.pow,Gl=Math.log,jv=Math.LN10,xD=Math.PI,$D=Math.random,ie=yO,Ey=_o(2,53)-1,bD=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/,MO=2}));function CO(e,t,r){if(SD){if(r){if(Ry[t])return;Ry[t]=!0}console[e](_D+t)}}function jw(e,t){CO("error",e,t)}function hr(e){throw new Error(e)}var _D,Ry,SD,Ia=I((()=>{_D="[ECharts] ",Ry={},SD=typeof console<"u"&&console.warn&&console.log}));function Vw(e,t,r){return(t-e)*r+e}function dr(e){return e instanceof Array?e:e==null?[]:[e]}function Fy(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var i=0,n=r.length;i<n;i++){var a=r[i];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}function Ah(e){return _t(e)&&!at(e)&&!(e instanceof Date)?e.value:e}function LO(e){return _t(e)&&!(e instanceof Array)}function wD(e,t,r){var i=r==="normalMerge",n=r==="replaceMerge",a=r==="replaceAll";e=e||[],t=(t||[]).slice();var o=Lt();F(t,function(l,u){if(!_t(l)){t[u]=null;return}});var s=AO(e,o,r);return(i||n)&&TO(s,e,o,t),i&&DO(s,t),i||n?kO(s,t,n):a&&PO(s,t),IO(s),s}function AO(e,t,r){var i=[];if(r==="replaceAll")return i;for(var n=0;n<e.length;n++){var a=e[n];a&&a.id!=null&&t.set(a.id,n),i.push({existing:r==="replaceMerge"||ih(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function TO(e,t,r,i){F(i,function(n,a){if(!(!n||n.id==null)){var o=Ec(n.id),s=r.get(o);if(s!=null){var l=e[s];$a(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=n,l.existing=t[s],i[a]=null}}})}function DO(e,t){F(t,function(r,i){if(!(!r||r.name==null))for(var n=0;n<e.length;n++){var a=e[n].existing;if(!e[n].newOption&&a&&(a.id==null||r.id==null)&&!ih(r)&&!ih(a)&&MD("name",a,r)){e[n].newOption=r,t[i]=null;return}}})}function kO(e,t,r){F(t,function(i){if(i){for(var n,a=0;(n=e[a])&&(n.newOption||ih(n.existing)||n.existing&&i.id!=null&&!MD("id",i,n.existing));)a++;n?(n.newOption=i,n.brandNew=r):e.push({newOption:i,brandNew:r,existing:null,keyInfo:null}),a++}})}function PO(e,t){F(t,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function IO(e){var t=Lt();F(e,function(r){var i=r.existing;i&&t.set(i.id,r)}),F(e,function(r){var i=r.newOption;$a(!i||i.id==null||!t.get(i.id)||t.get(i.id)===r,"id duplicates: "+(i&&i.id)),i&&i.id!=null&&t.set(i.id,r),!r.keyInfo&&(r.keyInfo={})}),F(e,function(r,i){var n=r.existing,a=r.newOption,o=r.keyInfo;if(_t(a)){if(o.name=a.name!=null?Ec(a.name):n?n.name:P$+i,n)o.id=Ec(n.id);else if(a.id!=null)o.id=Ec(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,r)}})}function MD(e,t,r){var i=Qr(t[e],null),n=Qr(r[e],null);return i!=null&&n!=null&&i===n}function Ec(e){return Qr(e,"")}function Qr(e,t){return e==null?t:vt(e)?e:$e(e)||oy(e)?e+"":t}function L$(e){var t=e.name;return!!(t&&t.indexOf(P$))}function ih(e){return e&&e.id!=null&&Ec(e.id).indexOf(PD)===0}function EO(e,t,r){F(e,function(i){var n=i.newOption;_t(n)&&(i.keyInfo.mainType=t,i.keyInfo.subType=RO(t,n,i.existing,r))})}function RO(e,t,r,i){return t.type?t.type:r?r.subType:i.determineSubType(e,t)}function vs(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return at(t.dataIndex)?ut(t.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return at(t.name)?ut(t.name,function(r){return e.indexOfName(r)}):e.indexOfName(t.name)}function oe(){var e="__ec_inner_"+ID++;return function(t){return t[e]||(t[e]={})}}function wg(e,t,r){var i=A$(t,r),n=i.mainTypeSpecified,a=i.queryOptionMap,o=i.others,s=r?r.defaultMainType:null;return!n&&s&&a.set(s,{}),a.each(function(l,u){var c=Th(e,u,l,{useDefault:s===u,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});o[u+"Models"]=c.models,o[u+"Model"]=c.models[0]}),o}function A$(e,t){var r;if(vt(e)){var i={};i[e+"Index"]=0,r=i}else r=e;var n=Lt(),a={},o=!1;return F(r,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){a[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],h=(u[2]||"").toLowerCase();if(!(!c||!h||t&&t.includeMainTypes&&Jt(t.includeMainTypes,c)<0)){o=o||!!c;var f=n.get(c)||n.set(c,{});f[h]=s}}),{mainTypeSpecified:o,queryOptionMap:n,others:a}}function Th(e,t,r,i){i=i||gi;var n=r.index,a=r.id,o=r.name,s={models:null,specified:n!=null||a!=null||o!=null};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=e.getComponent(t))?[l]:[],s}if(n==="none"||n===!1){if(i.enableNone)return s.models=[],s;n=-1}return n==="all"&&(i.enableAll?n=a=o=null:n=-1),s.models=e.queryComponents({mainType:t,index:n,id:a,name:o}),s}function FO(e,t,r){var i={};i[t+"Id"]=e[t+"Id"],i[t+"Index"]=e[t+"Index"],i[t+"Name"]=e[t+"Name"];var n={mainType:t,query:i};return r&&(n.subType=r),n}function CD(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function BO(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function NO(e){return e==="auto"?Nt.domSupported?"html":"richText":e||"html"}function LD(e,t,r,i,n){var a=t==null||t==="auto";if(i==null)return i;if($e(i)){var o=Vw(r||0,i,n);return de(o,a?Math.max(go(r||0),go(i)):t)}else{if(vt(i))return n<1?r:i;for(var s=[],l=r,u=i,c=Math.max(l?l.length:0,u.length),h=0;h<c;++h){var f=e.getDimensionInfo(h);if(f&&f.type==="ordinal")s[h]=(n<1&&l?l:u)[h];else{var d=l&&l[h]?l[h]:0,v=u[h],o=Vw(d,v,n);s[h]=de(o,a?Math.max(go(d),go(v)):t)}}return s}}function Ii(){return[1/0,-1/0]}function By(e,t){_a(t)&&(t<e[0]&&(e[0]=t),t>e[1]&&(e[1]=t))}function AD(e,t){_a(t)&&t<e[0]&&(e[0]=t)}function TD(e,t){_a(t)&&t>e[1]&&(e[1]=t)}function OO(e,t){Hl(t[0],t[1])&&(t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]))}function _a(e){return e!=null&&isFinite(e)}function Hl(e,t){return _a(e)&&_a(t)&&e<=t}function zO(e){var t=e[1]-e[0];return isFinite(t)&&t>=0}function GO(e){Hl(e[0],e[1])&&e[0]>e[1]&&(e[0]=e[1])}function T$(){var e="__ec_once_"+ED++;return function(t,r){tt(t,e)||(t[e]=1,r())}}function D$(e,t,r){var i=Lt(),n=0;F(e,function(a){var o=t(a),s=i.get(o)||0;r&&r(a,s),!s&&!r&&(e[n++]=a),i.set(o,s+1)}),r||(e.length=n)}function HO(e){return e.value+""}function jO(e){return e+""}function cs(e,t){return gt(t,!0)?e.seriesIndex+2:0}function DD(e,t,r){var i=e.getData().count();return{progressiveRender:r.progressiveEnabled&&t.incrementalPrepareRender&&i>=r.threshold,large:e.get("large")&&i>=e.get("largeThreshold"),modDataCount:e.get("progressiveChunkMode")==="mod"?e.getData().count():null}}function kD(e,t){return{seriesType:e,overallReset:t}}function k$(e){return{overallReset:e}}var P$,PD,Ny,ID,gi,VO,ED,lt=I((()=>{j(),pr(),Ot(),P$="series\0",PD="\0_ec_\0",Ny=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],ID=Py(),gi={useDefault:!0,enableAll:!1,enableNone:!1},VO=(function(){function e(){}return e.prototype.reset=function(t,r,i,n){return this._list=t,this._step=n=n||1,this._idx=r,this._end=i??(n>0?t.length:0),this.item=null,this.key=NaN,this},e.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)?(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0):!1},e})(),ED=Py()}));function Dn(e){var t={main:"",sub:""};if(e){var r=e.split(FD);t.main=r[0]||"",t.sub=r[1]||""}return t}function UO(e){$a(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function WO(e){return!!(e&&e[E$])}function I$(e,t){e.$constructor=e,e.extend=function(r){var i=this,n;return ZO(i)?n=(function(a){ft(o,a);function o(){return a.apply(this,arguments)||this}return o})(i):(n=function(){(r.$constructor||i).apply(this,arguments)},oN(n,this)),K(n.prototype,r),n[E$]=!0,n.extend=this.extend,n.superCall=XO,n.superApply=qO,n.superClass=i,n}}function ZO(e){return Dt(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function RD(e,t){e.extend=t.extend}function YO(e){var t=["__\0is_clz",BD++].join("_");e.prototype[t]=!0,e.isInstance=function(r){return!!(r&&r[t])}}function XO(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return this.superClass.prototype[t].apply(e,r)}function qO(e,t,r){return this.superClass.prototype[t].apply(e,r)}function e0(e){var t={};e.registerClass=function(i){var n=i.type||i.prototype.type;if(n){UO(n),i.prototype.type=n;var a=Dn(n);if(!a.sub)t[a.main]=i;else if(a.sub!==io){var o=r(a);o[a.sub]=i}}return i},e.getClass=function(i,n,a){var o=t[i];if(o&&o[io]&&(o=n?o[n]:null),a&&!o)throw new Error(n?"Component "+i+"."+(n||"")+" is used but not imported.":i+".type should be specified.");return o},e.getClassesByMainType=function(i){var n=Dn(i),a=[],o=t[n.main];return o&&o[io]?F(o,function(s,l){l!==io&&a.push(s)}):a.push(o),a},e.hasClass=function(i){return!!t[Dn(i).main]},e.getAllClassMainTypes=function(){var i=[];return F(t,function(n,a){i.push(a)}),i},e.hasSubTypes=function(i){var n=t[Dn(i).main];return n&&n[io]};function r(i){var n=t[i.main];return(!n||!n[io])&&(n=t[i.main]={},n[io]=!0),n}}var FD,io,E$,BD,Ea=I((()=>{St(),j(),FD=".",io="___EC__COMPONENT__CONTAINER___",E$="___EC__EXTENDED_CLASS___",BD=Math.round(Math.random()*10)}));function nh(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(i,n,a){for(var o={},s=0;s<e.length;s++){var l=e[s][1];if(!(n&&Jt(n,l)>=0||a&&Jt(a,l)<0)){var u=i.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var ou=I((()=>{j()})),Uw,Ww,ND,KO=I((()=>{ou(),Uw=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Ww=nh(Uw),ND=(function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return Ww(this,t,r)},e})()}));function QO(e){if(typeof e=="string"){var t=Vv.get(e);return t&&t.image}else return e}function OD(e,t,r,i,n){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Vv.get(e),o={hostEl:r,cb:i,cbPayload:n};return a?(t=a.image,!r0(t)&&a.pending.push(o)):(t=Ur.loadImage(e,Zw,Zw),t.__zrImageSrc=e,Vv.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function Zw(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],i=r.cb;i&&i(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function r0(e){return e&&e.width&&e.height}var Vv,R$=I((()=>{Qp(),xi(),Vv=new fs(50)}));function JO(e,t,r,i,n,a){if(!r){e.text="",e.isTruncated=!1;return}var o=(t+"").split(`
|
|
3
3
|
`);a=zD(r,i,n,a);for(var s=!1,l={},u=0,c=o.length;u<c;u++)GD(l,o[u],a),o[u]=l.textLine,s=s||l.isTruncated;e.text=o.join(`
|
|
4
4
|
`),e.isTruncated=s}function zD(e,t,r,i){i=i||{};var n=K({},i);r=gt(r,"..."),n.maxIterations=gt(i.maxIterations,2);var a=n.minChar=gt(i.minChar,0),o=n.fontMeasureInfo=Bn(t),s=o.asciiCharWidth;n.placeholder=gt(i.placeholder,"");for(var l=e=Math.max(0,e-1),u=0;u<a&&l>=s;u++)l-=s;var c=Nn(o,r);return c>l&&(r="",c=0),l=e-c,n.ellipsis=r,n.ellipsisWidth=c,n.contentWidth=l,n.containerWidth=e,n}function GD(e,t,r){var i=r.containerWidth,n=r.contentWidth,a=r.fontMeasureInfo;if(!i){e.textLine="",e.isTruncated=!1;return}var o=Nn(a,t);if(o<=i){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=n||s>=r.maxIterations){t+=r.ellipsis;break}var l=s===0?t4(t,n,a):o>0?Math.floor(t.length*n/o):0;t=t.substr(0,l),o=Nn(a,t)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function t4(e,t,r){for(var i=0,n=0,a=e.length;n<a&&i<t;n++)i+=fD(r,e.charCodeAt(n));return n}function e4(e,t,r,i){var n=F$(e),a=t.overflow,o=t.padding,s=o?o[1]+o[3]:0,l=o?o[0]+o[2]:0,u=t.font,c=a==="truncate",h=t0(u),f=gt(t.lineHeight,h),d=t.lineOverflow==="truncate",v=!1,p=t.width;p==null&&r!=null&&(p=r-s);var m=t.height;m==null&&i!=null&&(m=i-l);var g;p!=null&&(a==="break"||a==="breakAll")?g=n?HD(n,t.font,p,a==="breakAll",0).lines:[]:g=n?n.split(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{wa as n}from"./index-
|
|
1
|
+
import{wa as n}from"./index-DN4SafrP.js";var i,s,o,t,r,a=n((()=>{i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},s=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],o=e=>e.charAt(0).toUpperCase()+e.substr(1),t=[],s.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(o(e))}),r={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}));a();export{i as conf,r as language};
|