@runeya/runeya 2.0.3 → 2.0.5
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/agent/index.js +12 -0
- package/agent/index.js.map +1 -1
- package/agent-manager-UP3PJ35X-LO6B3XKF.js +8 -0
- package/{chunk-PVUDD5DD.js → chunk-BSPKMRKW.js} +5 -2
- package/{chunk-PVUDD5DD.js.map → chunk-BSPKMRKW.js.map} +1 -1
- package/{dist-KSETQNTN.js → dist-6LF3EWHR.js} +4 -4
- package/index.js +1 -1
- package/package.json +1 -1
- package/web/assets/{AddressBar.vue-BKDjFQEO.js → AddressBar.vue-BOHUxRhN.js} +1 -1
- package/web/assets/{AgentPage-BgJ6Oumo.js → AgentPage-DFHxsu-9.js} +1 -1
- package/web/assets/{AgentScalarChatInterface.vue-C__iUL1Z.js → AgentScalarChatInterface.vue-Cxxiyyj8.js} +1 -1
- package/web/assets/{AgentTerminalPage-10MrzYed.js → AgentTerminalPage-D-T5emEl.js} +1 -1
- package/web/assets/AiChatPage-C81mFvv5.js +1 -0
- package/web/assets/{ApiDocsPage-BLR94Cpt.js → ApiDocsPage-CMGvcGEJ.js} +3 -3
- package/web/assets/{AppLayout-CDmZkp4X.js → AppLayout-D10vX1fo.js} +1 -1
- package/web/assets/{AuditPage-DmzLNZum.js → AuditPage-DZiwogoY.js} +1 -1
- package/web/assets/{CodeInput.vue-DESnqXGT.js → CodeInput.vue-8aNMYCYM.js} +1 -1
- package/web/assets/{Collection.vue-DsMsUTvq.js → Collection.vue-N8zZa4pa.js} +1 -1
- package/web/assets/{CollectionAuthentication.vue-CMRcgbVh.js → CollectionAuthentication.vue-cJOxjafo.js} +1 -1
- package/web/assets/CollectionCookies.vue-DrFQqbwv.js +1 -0
- package/web/assets/{CollectionEnvironment.vue-1tFpk-iW.js → CollectionEnvironment.vue-DWPTZ8qx.js} +1 -1
- package/web/assets/{CollectionOverview.vue-ClKgsIxR.js → CollectionOverview.vue-1Qf130d5.js} +1 -1
- package/web/assets/CollectionScripts.vue-DhcFFz80.js +1 -0
- package/web/assets/{CollectionServers.vue-DQQoH4jS.js → CollectionServers.vue-h7E03W0v.js} +1 -1
- package/web/assets/{CollectionSettings.vue-BNccb6p7.js → CollectionSettings.vue-CFrOwl7U.js} +1 -1
- package/web/assets/CollectionSync.vue-PV_tIrJS.js +1 -0
- package/web/assets/{CommandActionInput.vue-B3M0qimk.js → CommandActionInput.vue-L7AcEf6T.js} +1 -1
- package/web/assets/{Cookies.vue-Dm17xLaC.js → Cookies.vue-_P19OjMm.js} +1 -1
- package/web/assets/{DashboardPage-jcsHhPai.js → DashboardPage-BUDWnuJT.js} +1 -1
- package/web/assets/{DataTable.vue-zdywGoM2.js → DataTable.vue-DYVeGQPP.js} +1 -1
- package/web/assets/{DataTableCheckbox.vue-CclkBKvE.js → DataTableCheckbox.vue-n2xCTJj1.js} +1 -1
- package/web/assets/{DataTableHeader.vue-CeoLy43w.js → DataTableHeader.vue-ByesjY2f.js} +1 -1
- package/web/assets/{DataTableInput.vue-3ERbFJoE.js → DataTableInput.vue-uPpuKzrX.js} +1 -1
- package/web/assets/{DeleteSidebarListElement.vue-3UGiyFzi.js → DeleteSidebarListElement.vue-CBIb58rU.js} +1 -1
- package/web/assets/{EditSidebarListElement.vue-CCE5jAED.js → EditSidebarListElement.vue-DqTVSZtI.js} +1 -1
- package/web/assets/{EditorIcon-C2ppEtfo.js → EditorIcon-B70ii4EM.js} +1 -1
- package/web/assets/{EmptyState.vue-DlGCQP8X.js → EmptyState.vue-CcnWPtfW.js} +1 -1
- package/web/assets/{Environment.vue-B9fCQn_o.js → Environment.vue-Cgx06nkH.js} +1 -1
- package/web/assets/{EnvironmentForm-B6sX-gjz.js → EnvironmentForm-iBZzqZKd.js} +1 -1
- package/web/assets/{EnvironmentFormPage-LkjLL2Tx.js → EnvironmentFormPage-YVxAAreT.js} +1 -1
- package/web/assets/{EnvironmentListPage-DJrq-bw9.js → EnvironmentListPage-CHYDJ_c-.js} +1 -1
- package/web/assets/{EnvironmentModal.vue-CGuZ2LaE.js → EnvironmentModal.vue-BJNYZuPC.js} +1 -1
- package/web/assets/{EnvironmentSelector-BLJiz2gj.js → EnvironmentSelector-BZn_taec.js} +1 -1
- package/web/assets/{Form.vue-Cv791OrG.js → Form.vue-NLXFw40d.js} +1 -1
- package/web/assets/{IconSelector.vue-fCHQhHMO.js → IconSelector.vue-Ykh6DAln.js} +1 -1
- package/web/assets/{KanbanBoardPage-DhSVHsG8.js → KanbanBoardPage-gtXv0ZhK.js} +3 -3
- package/web/assets/{KanbanListPage-BeViEJtv.js → KanbanListPage-DMNSYO_o.js} +1 -1
- package/web/assets/{LaunchProjectPage-CIGYCxFP.js → LaunchProjectPage-DSyBuhky.js} +1 -1
- package/web/assets/{LaunchServicesPage-D0j30OXl.js → LaunchServicesPage-CiGkiqwE.js} +1 -1
- package/web/assets/{LogViewer-CXdJvW0h.js → LogViewer-DBVkaZnm.js} +1 -1
- package/web/assets/{ProcessControls-DL7EynVq.js → ProcessControls-Cya4eb3d.js} +1 -1
- package/web/assets/{ProcessDetailPage-DrFtEQIB.js → ProcessDetailPage-8ypC6zkc.js} +1 -1
- package/web/assets/{ProcessMetrics-DI_OfGVK.js → ProcessMetrics-CxRgbaUS.js} +1 -1
- package/web/assets/{ProjectDetailPage-BbTkdOjA.js → ProjectDetailPage-a1lTAjKP.js} +1 -1
- package/web/assets/{ProjectListPage-D5AjQ76w.js → ProjectListPage-Dewqu8Dm.js} +1 -1
- package/web/assets/{RandomJobTestPage-BqA1OISu.js → RandomJobTestPage-E6mevkqw.js} +1 -1
- package/web/assets/{Request.vue-DZqQbBpT.js → Request.vue-DQPTi6ur.js} +1 -1
- package/web/assets/{RequestAuth.vue-D_xgg-Np.js → RequestAuth.vue-DV5nNO3f.js} +1 -1
- package/web/assets/{RequestRoot.vue-BNteZz7y.js → RequestRoot.vue-DKlASKU5.js} +1 -1
- package/web/assets/{ScalarAsciiArt.vue-Bq6jHX7k.js → ScalarAsciiArt.vue-mk9jZSKh.js} +1 -1
- package/web/assets/{ScalarIconEyeSlash.vue-BmXqf-BS.js → ScalarIconEyeSlash.vue-DWKhR_BX.js} +1 -1
- package/web/assets/{ScalarIconTrash.vue-B6zURvRt.js → ScalarIconTrash.vue-CtSwrO5S.js} +1 -1
- package/web/assets/{ScenarioEditorPage-C6ezD0zR.js → ScenarioEditorPage-DogHTbNU.js} +1 -1
- package/web/assets/{ServerVariablesForm.vue-DNmYrfHr.js → ServerVariablesForm.vue-DYmWiAuz.js} +1 -1
- package/web/assets/{ServiceControlsBar-IQttXg13.js → ServiceControlsBar-B8Sm6p9E.js} +1 -1
- package/web/assets/{ServiceDetailPage-KU1gvCBw.js → ServiceDetailPage-DpWLccOg.js} +1 -1
- package/web/assets/{ServiceFormPage-DJjK3iWz.js → ServiceFormPage-DQbOgtB3.js} +1 -1
- package/web/assets/{Settings.vue-DKVhG7ed.js → Settings.vue-buoYkM3l.js} +1 -1
- package/web/assets/{SettingsPage-B_3jbuRH.js → SettingsPage-CCjZq5jP.js} +1 -1
- package/web/assets/{SetupKeyPage-CuqL0je4.js → SetupKeyPage-BdSpJPDR.js} +1 -1
- package/web/assets/{SetupPage-66SJwdOq.js → SetupPage-BsWaVllB.js} +1 -1
- package/web/assets/{Sidebar.vue-Bi6nDDuM.js → Sidebar.vue-DntMEn5m.js} +1 -1
- package/web/assets/{SidebarButton.vue-DXlFKFt7.js → SidebarButton.vue-DTin2zI2.js} +1 -1
- package/web/assets/{SidebarListElement.vue-RCpzoEDa.js → SidebarListElement.vue-zlfRLuE5.js} +1 -1
- package/web/assets/{UnlockPage-DOJwyaIc.js → UnlockPage-CmwRV1XA.js} +1 -1
- package/web/assets/{VariablesTable-DKZDozPX.js → VariablesTable-C8lxLV1V.js} +1 -1
- package/web/assets/{ViewLayout.vue-CA3dFsBE.js → ViewLayout.vue-C7w_U_o6.js} +1 -1
- package/web/assets/{ViewLayoutContent.vue-D0ZyDMeg.js → ViewLayoutContent.vue-CAXM5eIo.js} +1 -1
- package/web/assets/{ViewLayoutSection.vue-2zO572AC.js → ViewLayoutSection.vue-BzJIsja7.js} +1 -1
- package/web/assets/{active-entities-y4R6TMSt.js → active-entities-C2TbBQeI.js} +1 -1
- package/web/assets/{api-reference-BxlRg4qR.js → api-reference-BJkGMKQj.js} +1 -1
- package/web/assets/{autocomplete-6qBTCyf6.js → autocomplete-CxPmwkcZ.js} +1 -1
- package/web/assets/{card-CCBkP2P8.js → card-D5_gGGD-.js} +1 -1
- package/web/assets/{checkbox-C1esDvCD.js → checkbox-C0sXsL9e.js} +1 -1
- package/web/assets/{chip-DEYEeW-F.js → chip-rnk9_cKV.js} +1 -1
- package/web/assets/{column-aK2I8PaJ.js → column-ChvIrUdH.js} +1 -1
- package/web/assets/{core-CGdWGCUX.js → core-wYvkV3-A.js} +1 -1
- package/web/assets/{cssMode-DpoqIkov.js → cssMode-DdlczEni.js} +1 -1
- package/web/assets/{dist-BFf6fIdo.js → dist-BHh6fQzR.js} +1 -1
- package/web/assets/{dist-wmfsxjxc.js → dist-DBBhfLmf.js} +1 -1
- package/web/assets/{dist-Cu0IbGNw.js → dist-DeOvPbza.js} +1 -1
- package/web/assets/{dist-BpDjOvWf.js → dist-ZJ37S89a.js} +1 -1
- package/web/assets/{divider-Bk4Brbv7.js → divider-D6L7p-FU.js} +1 -1
- package/web/assets/{editor.store-BF8_S543.js → editor.store-CWtgIxvE.js} +1 -1
- package/web/assets/{fieldset-DA1GYALV.js → fieldset-CiwzR0un.js} +1 -1
- package/web/assets/{freemarker2-C0SgSEQX.js → freemarker2-_wLEdPSz.js} +1 -1
- package/web/assets/{handlebars-DgMfQd2U.js → handlebars-66zKrSAk.js} +1 -1
- package/web/assets/{html-XhTY3nJ1.js → html-oM24gnvF.js} +1 -1
- package/web/assets/{htmlMode-a8Q5--J-.js → htmlMode-D65_fKu-.js} +1 -1
- package/web/assets/{index-DtgzVYQA.js → index-D5xJxOo2.js} +5 -5
- package/web/assets/index-Pqvy10Qz.css +1 -0
- package/web/assets/{javascript-CF3GRA6J.js → javascript-D-njx6Yh.js} +1 -1
- package/web/assets/{jsonMode-BVI1ty1E.js → jsonMode-bqHogKpM.js} +1 -1
- package/web/assets/{keyboard-C-kSRd_7.js → keyboard-BzTLpobK.js} +1 -1
- package/web/assets/{lib-Byz6Xoc7.js → lib-CPo2W-Kx.js} +1 -1
- package/web/assets/{library-yLls1gid.js → library-DmdL5Pgv.js} +1 -1
- package/web/assets/{liquid-BTUbnx76.js → liquid-BDL70fhI.js} +1 -1
- package/web/assets/{mdx-CT9JRVqk.js → mdx-Bo_N_Jd-.js} +1 -1
- package/web/assets/{mediaTypes-C2O-9mqw.js → mediaTypes-Cnm-r_sv.js} +1 -1
- package/web/assets/{message-BP6E2kB3.js → message-gtjFpAbc.js} +1 -1
- package/web/assets/{minus-l3m1t2VR.js → minus-C5Lsl7Wp.js} +1 -1
- package/web/assets/{multiselect-Dx1fcUSk.js → multiselect-BlmCsiSW.js} +1 -1
- package/web/assets/{password-DrgM_4MT.js → password-RYOg4soC.js} +1 -1
- package/web/assets/{plus-Dz5uLOsa.js → plus-C52I3-BN.js} +1 -1
- package/web/assets/{pretty-ms-BlzIQVgC.js → pretty-ms-BBvjfSt1.js} +1 -1
- package/web/assets/process.store-3BOses3z.js +1 -0
- package/web/assets/{project.store-IkiJVnHi.js → project.store-emr8mjg8.js} +1 -1
- package/web/assets/{python-D-ygMaD7.js → python-D1UXSNgK.js} +1 -1
- package/web/assets/{radiobutton-BF_JCgK5.js → radiobutton-B0t-WlKP.js} +1 -1
- package/web/assets/{razor-Cj7iiXRp.js → razor-Bd4GOtMe.js} +1 -1
- package/web/assets/router-DHhyM3YQ.js +1 -0
- package/web/assets/{settings.store-DlrIalG7.js → settings.store-CDr0Mia7.js} +1 -1
- package/web/assets/{store-DIQ5cnJB.js → store-CZKREOuj.js} +1 -1
- package/web/assets/{tabpanel-BFvptblG.js → tabpanel-geoVG-sX.js} +1 -1
- package/web/assets/{tag-Bg6HzaCD.js → tag-Dv5CaUPa.js} +1 -1
- package/web/assets/{toggleswitch-COqZTyfv.js → toggleswitch-DNzwv4Lc.js} +1 -1
- package/web/assets/trpc-B-vyi6vd.js +1 -0
- package/web/assets/{tsMode-IV67jT9w.js → tsMode-BkM4CkKr.js} +1 -1
- package/web/assets/{typescript-Bx9S0mR5.js → typescript-CUKl0qxN.js} +1 -1
- package/web/assets/{urls-D-5DkVsl.js → urls-BqL-MrG5.js} +1 -1
- package/web/assets/{use-tree-walker-Xi56Kyhe.js → use-tree-walker-E64HILpa.js} +1 -1
- package/web/assets/useAiChatDrawer-uS6dsG6x.js +1 -0
- package/web/assets/{useClipboard-CQwV_ErZ.js → useClipboard-Bep2crMO.js} +1 -1
- package/web/assets/{useLayout-CtomPxVB.js → useLayout-F9XKAPPL.js} +1 -1
- package/web/assets/{usePluginManager-B0LLVYIo.js → usePluginManager-yL67GqCi.js} +1 -1
- package/web/assets/{useSidebar-lFxMzh7T.js → useSidebar-DVRRagIa.js} +1 -1
- package/web/assets/{vue-router-DyWP0jFg.js → vue-router-uE6ClrN-.js} +1 -1
- package/web/assets/{xml-Chbr5k8r.js → xml-DMOW2yTg.js} +1 -1
- package/web/assets/{yaml-W-9gxiit.js → yaml-D2q3K0ZL.js} +1 -1
- package/web/index.html +2 -2
- package/agent-manager-RDBYJ3IY-G7IRVN2S.js +0 -8
- package/web/assets/AiChatPage-DHXHJArt.js +0 -1
- package/web/assets/CollectionCookies.vue-giwIx9Oo.js +0 -1
- package/web/assets/CollectionScripts.vue-CfmQLF4T.js +0 -1
- package/web/assets/CollectionSync.vue-Cvrk773s.js +0 -1
- package/web/assets/index-BRDI9Dib.css +0 -1
- package/web/assets/process.store-Bt4k1TZl.js +0 -1
- package/web/assets/router-DcgtzWsZ.js +0 -1
- package/web/assets/trpc-tQqsDgwJ.js +0 -1
- package/web/assets/useAiChatDrawer-CaLJAha9.js +0 -1
- /package/{agent-manager-RDBYJ3IY-G7IRVN2S.js.map → agent-manager-UP3PJ35X-LO6B3XKF.js.map} +0 -0
- /package/{dist-KSETQNTN.js.map → dist-6LF3EWHR.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bi as e,Ca as t,Oi as n,Ui as r,di as i,fi as a,li as o,yi as s}from"./index-
|
|
1
|
+
import{Bi as e,Ca as t,Oi as n,Ui as r,di as i,fi as a,li as o,yi as s}from"./index-D5xJxOo2.js";import{un as c}from"./dist-ZJ37S89a.js";var l={key:0},u={key:1},d={key:2},f={key:3},p={key:4},m={key:5},h=s({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(s){let{bind:h,weight:g}=c(s);return(s,c)=>(e(),a(`svg`,n({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},t(h)),[r(s.$slots,`default`),t(g)===`bold`?(e(),a(`g`,l,[...c[0]||=[o(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`},null,-1)]])):t(g)===`duotone`?(e(),a(`g`,u,[...c[1]||=[o(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),o(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):t(g)===`fill`?(e(),a(`g`,d,[...c[2]||=[o(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`},null,-1)]])):t(g)===`light`?(e(),a(`g`,f,[...c[3]||=[o(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`},null,-1)]])):t(g)===`regular`?(e(),a(`g`,p,[...c[4]||=[o(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):t(g)===`thin`?(e(),a(`g`,m,[...c[5]||=[o(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`},null,-1)]])):i(``,!0)],16))}});export{h as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$i as e,Bi as t,Bn as n,C as r,Ca as i,Cn as a,D as o,Da as s,Dn as c,E as l,Ea as u,Gi as d,Gn as f,Gr as p,Gt as m,Hi as h,Ii as g,Ji as _,Ki as v,Kr as y,Nt as b,Oa as ee,Oi as x,P as te,Ri as S,S as ne,T as re,Tn as ie,U as ae,Ui as C,Vi as oe,Vt as se,W as w,Yn as T,Zi as ce,_ as le,_i as E,ai as ue,b as de,ci as D,di as O,ea as fe,et as k,fi as A,gi as pe,ha as j,hn as me,ia as M,j as he,ka as N,ki as ge,li as P,lt as _e,ni as ve,q as ye,ra as F,ri as be,ui as I,ut as xe,v as Se,w as Ce,wi as we,x as Te,xi as Ee,y as De,ya as Oe,yi as ke,zn as Ae}from"./index-DtgzVYQA.js";import{t as je}from"./checkbox-C1esDvCD.js";import{t as Me}from"./multiselect-Dx1fcUSk.js";import{t as Ne}from"./uuid-B9GFVXPm.js";var Pe={name:`ControlButton`,compatConfig:{MODE:3}},Fe=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},L={type:`button`,class:`vue-flow__controls-button`};function R(e,n,r,i,a,o){return t(),A(`button`,L,[C(e.$slots,`default`)])}var Ie=Fe(Pe,[[`render`,R]]),Le={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 32`},Re=[P(`path`,{d:`M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z`},null,-1)];function ze(e,n){return t(),A(`svg`,Le,Re)}var z={render:ze},Be={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 5`},Ve=[P(`path`,{d:`M0 0h32v4.2H0z`},null,-1)];function He(e,n){return t(),A(`svg`,Be,Ve)}var Ue={render:He},We={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 30`},Ge=[P(`path`,{d:`M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z`},null,-1)];function Ke(e,n){return t(),A(`svg`,We,Ge)}var qe={render:Ke},Je={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 25 32`},Ye=[P(`path`,{d:`M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z`},null,-1)];function Xe(e,n){return t(),A(`svg`,Je,Ye)}var Ze={render:Xe},B={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 25 32`},V=[P(`path`,{d:`M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z`},null,-1)];function H(e,n){return t(),A(`svg`,B,V)}var U={render:H},Qe=ke({name:`Controls`,compatConfig:{MODE:3},props:{showZoom:{type:Boolean,default:!0},showFitView:{type:Boolean,default:!0},showInteractive:{type:Boolean,default:!0},fitViewParams:{},position:{default:()=>De.BottomLeft}},emits:[`zoomIn`,`zoomOut`,`fitView`,`interactionChange`],setup(e,{emit:n}){let{nodesDraggable:r,nodesConnectable:a,elementsSelectable:o,setInteractive:s,zoomIn:c,zoomOut:u,fitView:d,viewport:f,minZoom:p,maxZoom:m}=l(),h=Oe(()=>r.value||a.value||o.value),g=Oe(()=>f.value.zoom<=p.value),_=Oe(()=>f.value.zoom>=m.value);function y(){c(),n(`zoomIn`)}function b(){u(),n(`zoomOut`)}function ee(){d(e.fitViewParams),n(`fitView`)}function x(){s(!h.value),n(`interactionChange`,!h.value)}return(e,n)=>(t(),I(i(de),{class:`vue-flow__controls`,position:e.position},{default:F(()=>[C(e.$slots,`top`),e.showZoom?(t(),A(ue,{key:0},[C(e.$slots,`control-zoom-in`,{},()=>[E(Ie,{class:`vue-flow__controls-zoomin`,disabled:_.value,onClick:y},{default:F(()=>[C(e.$slots,`icon-zoom-in`,{},()=>[(t(),I(v(i(z))))])]),_:3},8,[`disabled`])]),C(e.$slots,`control-zoom-out`,{},()=>[E(Ie,{class:`vue-flow__controls-zoomout`,disabled:g.value,onClick:b},{default:F(()=>[C(e.$slots,`icon-zoom-out`,{},()=>[(t(),I(v(i(Ue))))])]),_:3},8,[`disabled`])])],64)):O(``,!0),e.showFitView?C(e.$slots,`control-fit-view`,{key:1},()=>[E(Ie,{class:`vue-flow__controls-fitview`,onClick:ee},{default:F(()=>[C(e.$slots,`icon-fit-view`,{},()=>[(t(),I(v(i(qe))))])]),_:3})]):O(``,!0),e.showInteractive?C(e.$slots,`control-interactive`,{key:2},()=>[e.showInteractive?(t(),I(Ie,{key:0,class:`vue-flow__controls-interactive`,onClick:x},{default:F(()=>[h.value?C(e.$slots,`icon-unlock`,{key:0},()=>[(t(),I(v(i(U))))]):O(``,!0),h.value?O(``,!0):C(e.$slots,`icon-lock`,{key:1},()=>[(t(),I(v(i(Ze))))])]),_:3})):O(``,!0)]):O(``,!0),C(e.$slots,`default`)]),_:3},8,[`position`]))}}),$e={value:()=>{}};function W(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new et(n)}function et(e){this._=e}function tt(e,t){return e.trim().split(/^|\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}et.prototype=W.prototype={constructor:et,on:function(e,t){var n=this._,r=tt(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=nt(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=rt(n[i],e.name,t);else if(t==null)for(i in n)n[i]=rt(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new et(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function nt(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function rt(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=$e,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var it=`http://www.w3.org/1999/xhtml`,at={svg:`http://www.w3.org/2000/svg`,xhtml:it,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function ot(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),at.hasOwnProperty(t)?{space:at[t],local:e}:e}function st(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===it&&t.documentElement.namespaceURI===it?t.createElement(e):t.createElementNS(n,e)}}function ct(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function lt(e){var t=ot(e);return(t.local?ct:st)(t)}function ut(){}function dt(e){return e==null?ut:function(){return this.querySelector(e)}}function ft(e){typeof e!=`function`&&(e=dt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new J(r,this._parents)}function pt(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function mt(){return[]}function ht(e){return e==null?mt:function(){return this.querySelectorAll(e)}}function gt(e){return function(){return pt(e.apply(this,arguments))}}function _t(e){e=typeof e==`function`?gt(e):ht(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new J(r,i)}function vt(e){return function(){return this.matches(e)}}function yt(e){return function(t){return t.matches(e)}}var bt=Array.prototype.find;function xt(e){return function(){return bt.call(this.children,e)}}function G(){return this.firstElementChild}function St(e){return this.select(e==null?G:xt(typeof e==`function`?e:yt(e)))}var Ct=Array.prototype.filter;function K(){return Array.from(this.children)}function wt(e){return function(){return Ct.call(this.children,e)}}function Tt(e){return this.selectAll(e==null?K:wt(typeof e==`function`?e:yt(e)))}function Et(e){typeof e!=`function`&&(e=vt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new J(r,this._parents)}function Dt(e){return Array(e.length)}function Ot(){return new J(this._enter||this._groups.map(Dt),this._parents)}function kt(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}kt.prototype={constructor:kt,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function At(e){return function(){return e}}function jt(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new kt(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function Mt(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new kt(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function Nt(e){return e.__data__}function Pt(e,t){if(!arguments.length)return Array.from(this,Nt);var n=t?Mt:jt,r=this._parents,i=this._groups;typeof e!=`function`&&(e=At(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=Ft(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new J(o,r),o._enter=s,o._exit=c,o}function Ft(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function It(){return new J(this._exit||this._groups.map(Dt),this._parents)}function Lt(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function Rt(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new J(s,this._parents)}function q(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function zt(e){e||=Bt;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new J(i,this._parents).order()}function Bt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Vt(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Ht(){return Array.from(this)}function Ut(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function Wt(){let e=0;for(let t of this)++e;return e}function Gt(){return!this.node()}function Kt(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function qt(e){return function(){this.removeAttribute(e)}}function Jt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Yt(e,t){return function(){this.setAttribute(e,t)}}function Xt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Zt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Qt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function $t(e,t){var n=ot(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Jt:qt:typeof t==`function`?n.local?Qt:Zt:n.local?Xt:Yt)(n,t))}function en(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function tn(e){return function(){this.style.removeProperty(e)}}function nn(e,t,n){return function(){this.style.setProperty(e,t,n)}}function rn(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function an(e,t,n){return arguments.length>1?this.each((t==null?tn:typeof t==`function`?rn:nn)(e,t,n??``)):on(this.node(),e)}function on(e,t){return e.style.getPropertyValue(t)||en(e).getComputedStyle(e,null).getPropertyValue(t)}function sn(e){return function(){delete this[e]}}function cn(e,t){return function(){this[e]=t}}function ln(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function un(e,t){return arguments.length>1?this.each((t==null?sn:typeof t==`function`?ln:cn)(e,t)):this.node()[e]}function dn(e){return e.trim().split(/^|\s+/)}function fn(e){return e.classList||new pn(e)}function pn(e){this._node=e,this._names=dn(e.getAttribute(`class`)||``)}pn.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function mn(e,t){for(var n=fn(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function hn(e,t){for(var n=fn(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function gn(e){return function(){mn(this,e)}}function _n(e){return function(){hn(this,e)}}function vn(e,t){return function(){(t.apply(this,arguments)?mn:hn)(this,e)}}function yn(e,t){var n=dn(e+``);if(arguments.length<2){for(var r=fn(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?vn:t?gn:_n)(n,t))}function bn(){this.textContent=``}function xn(e){return function(){this.textContent=e}}function Sn(e){return function(){this.textContent=e.apply(this,arguments)??``}}function Cn(e){return arguments.length?this.each(e==null?bn:(typeof e==`function`?Sn:xn)(e)):this.node().textContent}function wn(){this.innerHTML=``}function Tn(e){return function(){this.innerHTML=e}}function En(e){return function(){this.innerHTML=e.apply(this,arguments)??``}}function Dn(e){return arguments.length?this.each(e==null?wn:(typeof e==`function`?En:Tn)(e)):this.node().innerHTML}function On(){this.nextSibling&&this.parentNode.appendChild(this)}function kn(){return this.each(On)}function An(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function jn(){return this.each(An)}function Mn(e){var t=typeof e==`function`?e:lt(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Nn(){return null}function Pn(e,t){var n=typeof e==`function`?e:lt(e),r=t==null?Nn:typeof t==`function`?t:dt(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Fn(){var e=this.parentNode;e&&e.removeChild(this)}function In(){return this.each(Fn)}function Ln(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Rn(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function zn(e){return this.select(e?Rn:Ln)}function Bn(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Vn(e){return function(t){e.call(this,t,this.__data__)}}function Hn(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Un(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function Wn(e,t,n){return function(){var r=this.__on,i,a=Vn(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Gn(e,t,n){var r=Hn(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?Wn:Un,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function Kn(e,t,n){var r=en(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function qn(e,t){return function(){return Kn(this,e,t)}}function Jn(e,t){return function(){return Kn(this,e,t.apply(this,arguments))}}function Yn(e,t){return this.each((typeof t==`function`?Jn:qn)(e,t))}function*Xn(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var Zn=[null];function J(e,t){this._groups=e,this._parents=t}function Qn(){return new J([[document.documentElement]],Zn)}function $n(){return this}J.prototype=Qn.prototype={constructor:J,select:ft,selectAll:_t,selectChild:St,selectChildren:Tt,filter:Et,data:Pt,enter:Ot,exit:It,join:Lt,merge:Rt,selection:$n,order:q,sort:zt,call:Vt,nodes:Ht,node:Ut,size:Wt,empty:Gt,each:Kt,attr:$t,style:an,property:un,classed:yn,text:Cn,html:Dn,raise:kn,lower:jn,append:Mn,insert:Pn,remove:In,clone:zn,datum:Bn,on:Gn,dispatch:Yn,[Symbol.iterator]:Xn};function er(e){return typeof e==`string`?new J([[document.querySelector(e)]],[document.documentElement]):new J([[e]],Zn)}function tr(e){let t;for(;t=e.sourceEvent;)e=t;return e}function nr(e,t){if(e=tr(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var rr={capture:!0,passive:!1};function ir(e){e.preventDefault(),e.stopImmediatePropagation()}function ar(e){var t=e.document.documentElement,n=er(e).on(`dragstart.drag`,ir,rr);`onselectstart`in t?n.on(`selectstart.drag`,ir,rr):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect=`none`)}function or(e,t){var n=e.document.documentElement,r=er(e).on(`dragstart.drag`,null);t&&(r.on(`click.drag`,ir,rr),setTimeout(function(){r.on(`click.drag`,null)},0)),`onselectstart`in n?r.on(`selectstart.drag`,null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function sr(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function cr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function lr(){}var ur=.7,dr=1/ur,fr=`\\s*([+-]?\\d+)\\s*`,pr=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,Y=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,mr=/^#([0-9a-f]{3,8})$/,hr=RegExp(`^rgb\\(${fr},${fr},${fr}\\)$`),gr=RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`),_r=RegExp(`^rgba\\(${fr},${fr},${fr},${pr}\\)$`),vr=RegExp(`^rgba\\(${Y},${Y},${Y},${pr}\\)$`),yr=RegExp(`^hsl\\(${pr},${Y},${Y}\\)$`),br=RegExp(`^hsla\\(${pr},${Y},${Y},${pr}\\)$`),xr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};sr(lr,Er,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Sr,formatHex:Sr,formatHex8:Cr,formatHsl:wr,formatRgb:Tr,toString:Tr});function Sr(){return this.rgb().formatHex()}function Cr(){return this.rgb().formatHex8()}function wr(){return Rr(this).formatHsl()}function Tr(){return this.rgb().formatRgb()}function Er(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=mr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Dr(t):n===3?new X(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Or(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Or(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=hr.exec(e))?new X(t[1],t[2],t[3],1):(t=gr.exec(e))?new X(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=_r.exec(e))?Or(t[1],t[2],t[3],t[4]):(t=vr.exec(e))?Or(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=yr.exec(e))?Lr(t[1],t[2]/100,t[3]/100,1):(t=br.exec(e))?Lr(t[1],t[2]/100,t[3]/100,t[4]):xr.hasOwnProperty(e)?Dr(xr[e]):e===`transparent`?new X(NaN,NaN,NaN,0):null}function Dr(e){return new X(e>>16&255,e>>8&255,e&255,1)}function Or(e,t,n,r){return r<=0&&(e=t=n=NaN),new X(e,t,n,r)}function kr(e){return e instanceof lr||(e=Er(e)),e?(e=e.rgb(),new X(e.r,e.g,e.b,e.opacity)):new X}function Ar(e,t,n,r){return arguments.length===1?kr(e):new X(e,t,n,r??1)}function X(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}sr(X,Ar,cr(lr,{brighter(e){return e=e==null?dr:dr**+e,new X(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ur:ur**+e,new X(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new X(Fr(this.r),Fr(this.g),Fr(this.b),Pr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:jr,formatHex:jr,formatHex8:Mr,formatRgb:Nr,toString:Nr}));function jr(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}`}function Mr(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}${Ir((isNaN(this.opacity)?1:this.opacity)*255)}`}function Nr(){let e=Pr(this.opacity);return`${e===1?`rgb(`:`rgba(`}${Fr(this.r)}, ${Fr(this.g)}, ${Fr(this.b)}${e===1?`)`:`, ${e})`}`}function Pr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Fr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ir(e){return e=Fr(e),(e<16?`0`:``)+e.toString(16)}function Lr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Z(e,t,n,r)}function Rr(e){if(e instanceof Z)return new Z(e.h,e.s,e.l,e.opacity);if(e instanceof lr||(e=Er(e)),!e)return new Z;if(e instanceof Z)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Z(o,s,c,e.opacity)}function zr(e,t,n,r){return arguments.length===1?Rr(e):new Z(e,t,n,r??1)}function Z(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}sr(Z,zr,cr(lr,{brighter(e){return e=e==null?dr:dr**+e,new Z(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ur:ur**+e,new Z(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new X(Hr(e>=240?e-240:e+120,i,r),Hr(e,i,r),Hr(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Z(Br(this.h),Vr(this.s),Vr(this.l),Pr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=Pr(this.opacity);return`${e===1?`hsl(`:`hsla(`}${Br(this.h)}, ${Vr(this.s)*100}%, ${Vr(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function Br(e){return e=(e||0)%360,e<0?e+360:e}function Vr(e){return Math.max(0,Math.min(1,e||0))}function Hr(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var Ur=e=>()=>e;function Wr(e,t){return function(n){return e+n*t}}function Gr(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Kr(e){return(e=+e)==1?qr:function(t,n){return n-t?Gr(t,n,e):Ur(isNaN(t)?n:t)}}function qr(e,t){var n=t-e;return n?Wr(e,n):Ur(isNaN(e)?t:e)}var Jr=function e(t){var n=Kr(t);function r(e,t){var r=n((e=Ar(e)).r,(t=Ar(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=qr(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r}(1);function Yr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Xr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zr=new RegExp(Xr.source,`g`);function Qr(e){return function(){return e}}function $r(e){return function(t){return e(t)+``}}function ei(e,t){var n=Xr.lastIndex=Zr.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Xr.exec(e))&&(i=Zr.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:Yr(r,i)})),n=Zr.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?$r(c[0].x):Qr(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}var ti=180/Math.PI,ni={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ri(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*ti,skewX:Math.atan(c)*ti,scaleX:o,scaleY:s}}var ii;function ai(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?ni:ri(t.a,t.b,t.c,t.d,t.e,t.f)}function oi(e){return e==null||(ii||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),ii.setAttribute(`transform`,e),!(e=ii.transform.baseVal.consolidate()))?ni:(e=e.matrix,ri(e.a,e.b,e.c,e.d,e.e,e.f))}function si(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:Yr(e,i)},{i:c-2,x:Yr(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:Yr(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:Yr(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:Yr(e,n)},{i:s-2,x:Yr(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var ci=si(ai,`px, `,`px)`,`deg)`),li=si(oi,`, `,`)`,`)`),ui=1e-12;function di(e){return((e=Math.exp(e))+1/e)/2}function fi(e){return((e=Math.exp(e))-1/e)/2}function pi(e){return((e=Math.exp(2*e))-1)/(e+1)}var mi=function e(t,n,r){function i(e,i){var a=e[0],o=e[1],s=e[2],c=i[0],l=i[1],u=i[2],d=c-a,f=l-o,p=d*d+f*f,m,h;if(p<ui)h=Math.log(u/s)/t,m=function(e){return[a+e*d,o+e*f,s*Math.exp(t*e*h)]};else{var g=Math.sqrt(p),_=(u*u-s*s+r*p)/(2*s*n*g),v=(u*u-s*s-r*p)/(2*u*n*g),y=Math.log(Math.sqrt(_*_+1)-_);h=(Math.log(Math.sqrt(v*v+1)-v)-y)/t,m=function(e){var r=e*h,i=di(y),c=s/(n*g)*(i*pi(t*r+y)-fi(y));return[a+c*d,o+c*f,s*i/di(t*r+y)]}}return m.duration=h*1e3*t/Math.SQRT2,m}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4),hi=0,gi=0,_i=0,vi=1e3,yi,bi,xi=0,Si=0,Ci=0,wi=typeof performance==`object`&&performance.now?performance:Date,Ti=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ei(){return Si||=(Ti(Di),wi.now()+Ci)}function Di(){Si=0}function Oi(){this._call=this._time=this._next=null}Oi.prototype=ki.prototype={constructor:Oi,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?Ei():+n)+(t==null?0:+t),!this._next&&bi!==this&&(bi?bi._next=this:yi=this,bi=this),this._call=e,this._time=n,Pi()},stop:function(){this._call&&(this._call=null,this._time=1/0,Pi())}};function ki(e,t,n){var r=new Oi;return r.restart(e,t,n),r}function Ai(){Ei(),++hi;for(var e=yi,t;e;)(t=Si-e._time)>=0&&e._call.call(void 0,t),e=e._next;--hi}function ji(){Si=(xi=wi.now())+Ci,hi=gi=0;try{Ai()}finally{hi=0,Ni(),Si=0}}function Mi(){var e=wi.now(),t=e-xi;t>vi&&(Ci-=t,xi=e)}function Ni(){for(var e,t=yi,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:yi=n);bi=e,Pi(r)}function Pi(e){hi||(gi&&=clearTimeout(gi),e-Si>24?(e<1/0&&(gi=setTimeout(ji,e-wi.now()-Ci)),_i&&=clearInterval(_i)):(_i||=(xi=wi.now(),setInterval(Mi,vi)),hi=1,Ti(ji)))}function Fi(e,t,n){var r=new Oi;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var Ii=W(`start`,`end`,`cancel`,`interrupt`),Li=[],Ri=0,zi=1,Bi=2,Vi=3,Hi=4,Ui=5,Wi=6;function Gi(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;Ji(e,n,{name:t,index:r,group:i,on:Ii,tween:Li,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Ri})}function Ki(e,t){var n=Q(e,t);if(n.state>Ri)throw Error(`too late; already scheduled`);return n}function qi(e,t){var n=Q(e,t);if(n.state>Vi)throw Error(`too late; already running`);return n}function Q(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function Ji(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=ki(a,0,n.time);function a(e){n.state=zi,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==zi)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===Vi)return Fi(o);f.state===Hi?(f.state=Wi,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=Wi,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(Fi(function(){n.state===Vi&&(n.state=Hi,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=Bi,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===Bi){for(n.state=Vi,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=Ui,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===Ui&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=Wi,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function Yi(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>Bi&&r.state<Ui,r.state=Wi,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}function Xi(e){return this.each(function(){Yi(this,e)})}function Zi(e,t){var n,r;return function(){var i=qi(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function Qi(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=qi(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function $i(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=Q(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?Zi:Qi)(n,e,t))}function ea(e,t,n){var r=e._id;return e.each(function(){var e=qi(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return Q(e,r).value[t]}}function ta(e,t){var n;return(typeof t==`number`?Yr:t instanceof Er?Jr:(n=Er(t))?(t=n,Jr):ei)(e,t)}function na(e){return function(){this.removeAttribute(e)}}function ra(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ia(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function aa(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function oa(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function sa(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function ca(e,t){var n=ot(e),r=n===`transform`?li:ta;return this.attrTween(e,typeof t==`function`?(n.local?sa:oa)(n,r,ea(this,`attr.`+e,t)):t==null?(n.local?ra:na)(n):(n.local?aa:ia)(n,r,t))}function la(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function ua(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function da(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&ua(e,i)),n}return i._value=t,i}function fa(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&la(e,i)),n}return i._value=t,i}function pa(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=ot(e);return this.tween(n,(r.local?da:fa)(r,t))}function ma(e,t){return function(){Ki(this,e).delay=+t.apply(this,arguments)}}function ha(e,t){return t=+t,function(){Ki(this,e).delay=t}}function ga(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?ma:ha)(t,e)):Q(this.node(),t).delay}function _a(e,t){return function(){qi(this,e).duration=+t.apply(this,arguments)}}function va(e,t){return t=+t,function(){qi(this,e).duration=t}}function ya(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?_a:va)(t,e)):Q(this.node(),t).duration}function ba(e,t){if(typeof t!=`function`)throw Error();return function(){qi(this,e).ease=t}}function xa(e){var t=this._id;return arguments.length?this.each(ba(t,e)):Q(this.node(),t).ease}function Sa(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();qi(this,e).ease=n}}function Ca(e){if(typeof e!=`function`)throw Error();return this.each(Sa(this._id,e))}function wa(e){typeof e!=`function`&&(e=vt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new $a(r,this._parents,this._name,this._id)}function Ta(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new $a(o,this._parents,this._name,this._id)}function Ea(e){return(e+``).trim().split(/^|\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function Da(e,t,n){var r,i,a=Ea(t)?Ki:qi;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function Oa(e,t){var n=this._id;return arguments.length<2?Q(this.node(),n).on.on(e):this.each(Da(n,e,t))}function ka(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Aa(){return this.on(`end.remove`,ka(this._id))}function ja(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=dt(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,Gi(l[f],t,n,f,l,Q(u,n)));return new $a(a,this._parents,t,n)}function Ma(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=ht(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=Q(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&Gi(p,t,n,h,f,m);a.push(f),o.push(u)}return new $a(a,o,t,n)}var Na=Qn.prototype.constructor;function Pa(){return new Na(this._groups,this._parents)}function Fa(e,t){var n,r,i;return function(){var a=on(this,e),o=(this.style.removeProperty(e),on(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function Ia(e){return function(){this.style.removeProperty(e)}}function La(e,t,n){var r,i=n+``,a;return function(){var o=on(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function Ra(e,t,n){var r,i,a;return function(){var o=on(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),on(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function za(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=qi(this,e),l=c.on,u=c.value[a]==null?s||=Ia(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function Ba(e,t,n){var r=(e+=``)==`transform`?ci:ta;return t==null?this.styleTween(e,Fa(e,r)).on(`end.style.`+e,Ia(e)):typeof t==`function`?this.styleTween(e,Ra(e,r,ea(this,`style.`+e,t))).each(za(this._id,e)):this.styleTween(e,La(e,r,t),n).on(`end.style.`+e,null)}function Va(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function Ha(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&Va(e,a,n)),r}return a._value=t,a}function Ua(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,Ha(e,t,n??``))}function Wa(e){return function(){this.textContent=e}}function Ga(e){return function(){this.textContent=e(this)??``}}function Ka(e){return this.tween(`text`,typeof e==`function`?Ga(ea(this,`text`,e)):Wa(e==null?``:e+``))}function qa(e){return function(t){this.textContent=e.call(this,t)}}function Ja(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&qa(r)),t}return r._value=e,r}function Ya(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,Ja(e))}function Xa(){for(var e=this._name,t=this._id,n=eo(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=Q(c,t);Gi(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new $a(r,this._parents,e,n)}function Za(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=qi(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var Qa=0;function $a(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function eo(){return++Qa}var to=Qn.prototype;$a.prototype={constructor:$a,select:ja,selectAll:Ma,selectChild:to.selectChild,selectChildren:to.selectChildren,filter:wa,merge:Ta,selection:Pa,transition:Xa,call:to.call,nodes:to.nodes,node:to.node,size:to.size,empty:to.empty,each:to.each,on:Oa,attr:ca,attrTween:pa,style:Ba,styleTween:Ua,text:Ka,textTween:Ya,remove:Aa,tween:$i,delay:ga,duration:ya,ease:xa,easeVarying:Ca,end:Za,[Symbol.iterator]:to[Symbol.iterator]};function no(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var ro={time:null,delay:0,duration:250,ease:no};function io(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function ao(e){var t,n;e instanceof $a?(t=e._id,e=e._name):(t=eo(),(n=ro).time=Ei(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&Gi(c,e,t,l,o,n||io(c,t));return new $a(r,this._parents,e,t)}Qn.prototype.interrupt=Xi,Qn.prototype.transition=ao;var oo=e=>()=>e;function so(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function co(e,t,n){this.k=e,this.x=t,this.y=n}co.prototype={constructor:co,scale:function(e){return e===1?this:new co(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new co(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var lo=new co(1,0,0);co.prototype;function uo(e){e.stopImmediatePropagation()}function fo(e){e.preventDefault(),e.stopImmediatePropagation()}function po(e){return(!e.ctrlKey||e.type===`wheel`)&&!e.button}function mo(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute(`viewBox`)?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function ho(){return this.__zoom||lo}function go(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function _o(){return navigator.maxTouchPoints||`ontouchstart`in this}function vo(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function yo(){var e=po,t=mo,n=vo,r=go,i=_o,a=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],s=250,c=mi,l=W(`start`,`zoom`,`end`),u,d,f,p=500,m=150,h=0,g=10;function _(e){e.property(`__zoom`,ho).on(`wheel.zoom`,S,{passive:!1}).on(`mousedown.zoom`,ne).on(`dblclick.zoom`,re).filter(i).on(`touchstart.zoom`,ie).on(`touchmove.zoom`,ae).on(`touchend.zoom touchcancel.zoom`,C).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}_.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property(`__zoom`,ho),e===i?i.interrupt().each(function(){x(this,arguments).event(r).start().zoom(null,typeof t==`function`?t.apply(this,arguments):t).end()}):ee(e,t,n,r)},_.scaleBy=function(e,t,n,r){_.scaleTo(e,function(){return this.__zoom.k*(typeof t==`function`?t.apply(this,arguments):t)},n,r)},_.scaleTo=function(e,r,i,a){_.transform(e,function(){var e=t.apply(this,arguments),a=this.__zoom,s=i==null?b(e):typeof i==`function`?i.apply(this,arguments):i,c=a.invert(s),l=typeof r==`function`?r.apply(this,arguments):r;return n(y(v(a,l),s,c),e,o)},i,a)},_.translateBy=function(e,r,i,a){_.transform(e,function(){return n(this.__zoom.translate(typeof r==`function`?r.apply(this,arguments):r,typeof i==`function`?i.apply(this,arguments):i),t.apply(this,arguments),o)},null,a)},_.translateTo=function(e,r,i,a,s){_.transform(e,function(){var e=t.apply(this,arguments),s=this.__zoom,c=a==null?b(e):typeof a==`function`?a.apply(this,arguments):a;return n(lo.translate(c[0],c[1]).scale(s.k).translate(typeof r==`function`?-r.apply(this,arguments):-r,typeof i==`function`?-i.apply(this,arguments):-i),e,o)},a,s)};function v(e,t){return t=Math.max(a[0],Math.min(a[1],t)),t===e.k?e:new co(t,e.x,e.y)}function y(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new co(e.k,r,i)}function b(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function ee(e,n,r,i){e.on(`start.zoom`,function(){x(this,arguments).event(i).start()}).on(`interrupt.zoom end.zoom`,function(){x(this,arguments).event(i).end()}).tween(`zoom`,function(){var e=this,a=arguments,o=x(e,a).event(i),s=t.apply(e,a),l=r==null?b(s):typeof r==`function`?r.apply(e,a):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),d=e.__zoom,f=typeof n==`function`?n.apply(e,a):n,p=c(d.invert(l).concat(u/d.k),f.invert(l).concat(u/f.k));return function(e){if(e===1)e=f;else{var t=p(e),n=u/t[2];e=new co(n,l[0]-t[0]*n,l[1]-t[1]*n)}o.zoom(null,e)}})}function x(e,t,n){return!n&&e.__zooming||new te(e,t)}function te(e,n){this.that=e,this.args=n,this.active=0,this.sourceEvent=null,this.extent=t.apply(e,n),this.taps=0}te.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit(`start`)),this},zoom:function(e,t){return this.mouse&&e!==`mouse`&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&e!==`touch`&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&e!==`touch`&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit(`zoom`),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit(`end`)),this},emit:function(e){var t=er(this.that).datum();l.call(e,this.that,new so(e,{sourceEvent:this.sourceEvent,target:_,type:e,transform:this.that.__zoom,dispatch:l}),t)}};function S(t,...i){if(!e.apply(this,arguments))return;var s=x(this,i).event(t),c=this.__zoom,l=Math.max(a[0],Math.min(a[1],c.k*2**r.apply(this,arguments))),u=nr(t);if(s.wheel)(s.mouse[0][0]!==u[0]||s.mouse[0][1]!==u[1])&&(s.mouse[1]=c.invert(s.mouse[0]=u)),clearTimeout(s.wheel);else if(c.k===l)return;else s.mouse=[u,c.invert(u)],Yi(this),s.start();fo(t),s.wheel=setTimeout(d,m),s.zoom(`mouse`,n(y(v(c,l),s.mouse[0],s.mouse[1]),s.extent,o));function d(){s.wheel=null,s.end()}}function ne(t,...r){if(f||!e.apply(this,arguments))return;var i=t.currentTarget,a=x(this,r,!0).event(t),s=er(t.view).on(`mousemove.zoom`,d,!0).on(`mouseup.zoom`,p,!0),c=nr(t,i),l=t.clientX,u=t.clientY;ar(t.view),uo(t),a.mouse=[c,this.__zoom.invert(c)],Yi(this),a.start();function d(e){if(fo(e),!a.moved){var t=e.clientX-l,r=e.clientY-u;a.moved=t*t+r*r>h}a.event(e).zoom(`mouse`,n(y(a.that.__zoom,a.mouse[0]=nr(e,i),a.mouse[1]),a.extent,o))}function p(e){s.on(`mousemove.zoom mouseup.zoom`,null),or(e.view,a.moved),fo(e),a.event(e).end()}}function re(r,...i){if(e.apply(this,arguments)){var a=this.__zoom,c=nr(r.changedTouches?r.changedTouches[0]:r,this),l=a.invert(c),u=a.k*(r.shiftKey?.5:2),d=n(y(v(a,u),c,l),t.apply(this,i),o);fo(r),s>0?er(this).transition().duration(s).call(ee,d,c,r):er(this).call(_.transform,d,c,r)}}function ie(t,...n){if(e.apply(this,arguments)){var r=t.touches,i=r.length,a=x(this,n,t.changedTouches.length===i).event(t),o,s,c,l;for(uo(t),s=0;s<i;++s)c=r[s],l=nr(c,this),l=[l,this.__zoom.invert(l),c.identifier],a.touch0?!a.touch1&&a.touch0[2]!==l[2]&&(a.touch1=l,a.taps=0):(a.touch0=l,o=!0,a.taps=1+!!u);u&&=clearTimeout(u),o&&(a.taps<2&&(d=l[0],u=setTimeout(function(){u=null},p)),Yi(this),a.start())}}function ae(e,...t){if(this.__zooming){var r=x(this,t).event(e),i=e.changedTouches,a=i.length,s,c,l,u;for(fo(e),s=0;s<a;++s)c=i[s],l=nr(c,this),r.touch0&&r.touch0[2]===c.identifier?r.touch0[0]=l:r.touch1&&r.touch1[2]===c.identifier&&(r.touch1[0]=l);if(c=r.that.__zoom,r.touch1){var d=r.touch0[0],f=r.touch0[1],p=r.touch1[0],m=r.touch1[1],h=(h=p[0]-d[0])*h+(h=p[1]-d[1])*h,g=(g=m[0]-f[0])*g+(g=m[1]-f[1])*g;c=v(c,Math.sqrt(h/g)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],u=[(f[0]+m[0])/2,(f[1]+m[1])/2]}else if(r.touch0)l=r.touch0[0],u=r.touch0[1];else return;r.zoom(`touch`,n(y(c,l,u),r.extent,o))}}function C(e,...t){if(this.__zooming){var n=x(this,t).event(e),r=e.changedTouches,i=r.length,a,o;for(uo(e),f&&clearTimeout(f),f=setTimeout(function(){f=null},p),a=0;a<i;++a)o=r[a],n.touch0&&n.touch0[2]===o.identifier?delete n.touch0:n.touch1&&n.touch1[2]===o.identifier&&delete n.touch1;if(n.touch1&&!n.touch0&&(n.touch0=n.touch1,delete n.touch1),n.touch0)n.touch0[1]=this.__zoom.invert(n.touch0[0]);else if(n.end(),n.taps===2&&(o=nr(o,this),Math.hypot(d[0]-o[0],d[1]-o[1])<g)){var s=er(this).on(`dblclick.zoom`);s&&s.apply(this,arguments)}}}return _.wheelDelta=function(e){return arguments.length?(r=typeof e==`function`?e:oo(+e),_):r},_.filter=function(t){return arguments.length?(e=typeof t==`function`?t:oo(!!t),_):e},_.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:oo(!!e),_):i},_.extent=function(e){return arguments.length?(t=typeof e==`function`?e:oo([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),_):t},_.scaleExtent=function(e){return arguments.length?(a[0]=+e[0],a[1]=+e[1],_):[a[0],a[1]]},_.translateExtent=function(e){return arguments.length?(o[0][0]=+e[0][0],o[1][0]=+e[1][0],o[0][1]=+e[0][1],o[1][1]=+e[1][1],_):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},_.constrain=function(e){return arguments.length?(n=e,_):n},_.duration=function(e){return arguments.length?(s=+e,_):s},_.interpolate=function(e){return arguments.length?(c=e,_):c},_.on=function(){var e=l.on.apply(l,arguments);return e===l?_:e},_.clickDistance=function(e){return arguments.length?(h=(e=+e)*e,_):Math.sqrt(h)},_.tapDistance=function(e){return arguments.length?(g=+e,_):g},_}var bo=Symbol(`MiniMapSlots`),xo=[`id`,`x`,`y`,`rx`,`ry`,`width`,`height`,`fill`,`stroke`,`stroke-width`,`shape-rendering`],So=ke({name:`MiniMapNode`,compatConfig:{MODE:3},inheritAttrs:!1,props:{id:{},type:{},selected:{type:Boolean},dragging:{type:Boolean},position:{},dimensions:{},borderRadius:{},color:{},shapeRendering:{},strokeColor:{},strokeWidth:{},hidden:{type:Boolean}},emits:[`click`,`dblclick`,`mouseenter`,`mousemove`,`mouseleave`],setup(e,{emit:n}){let r=e,a=we(bo),o=_(),c=Oe(()=>o.style??{});function l(e){n(`click`,e)}function u(e){n(`dblclick`,e)}function d(e){n(`mouseenter`,e)}function f(e){n(`mousemove`,e)}function p(e){n(`mouseleave`,e)}return(e,n)=>!e.hidden&&e.dimensions.width!==0&&e.dimensions.height!==0?(t(),A(ue,{key:0},[i(a)[`node-${r.type}`]?(t(),I(v(i(a)[`node-${r.type}`]),s(x({key:0},{...r,...e.$attrs})),null,16)):(t(),A(`rect`,x({key:1,id:e.id},e.$attrs,{class:[`vue-flow__minimap-node`,{selected:e.selected,dragging:e.dragging}],x:e.position.x,y:e.position.y,rx:e.borderRadius,ry:e.borderRadius,width:e.dimensions.width,height:e.dimensions.height,fill:e.color||c.value.background||c.value.backgroundColor,stroke:e.strokeColor,"stroke-width":e.strokeWidth,"shape-rendering":e.shapeRendering,onClick:l,onDblclick:u,onMouseenter:d,onMousemove:f,onMouseleave:p}),null,16,xo))],64)):O(``,!0)}}),Co=[`width`,`height`,`viewBox`,`aria-labelledby`],wo=[`id`],To=[`d`,`fill`,`stroke`,`stroke-width`],Eo=ke({name:`MiniMap`,compatConfig:{MODE:3},props:{nodeColor:{type:[String,Function],default:`#e2e2e2`},nodeStrokeColor:{type:[String,Function],default:`transparent`},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:`rgb(240, 240, 240, 0.6)`},maskStrokeColor:{default:`none`},maskStrokeWidth:{default:1},position:{default:`bottom-right`},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:`Vue Flow mini map`},inversePan:{type:Boolean,default:!1},zoomStep:{default:1},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:[`click`,`nodeClick`,`nodeDblclick`,`nodeMouseenter`,`nodeMousemove`,`nodeMouseleave`],setup(e,{emit:n}){let a=ce(),s=_(),{id:c,edges:d,viewport:f,translateExtent:p,dimensions:m,emits:g,d3Selection:v,d3Zoom:y,getNodesInitialized:b}=l(),x=j();oe(bo,a);let te=Oe(()=>e.width??s.style?.width??200),S=Oe(()=>e.height??s.style?.height??150),ie=typeof window>`u`||window.chrome?`crispEdges`:`geometricPrecision`,ae=D(()=>typeof e.nodeColor==`string`?()=>e.nodeColor:e.nodeColor),C=D(()=>typeof e.nodeStrokeColor==`string`?()=>e.nodeStrokeColor:e.nodeStrokeColor),se=D(()=>typeof e.nodeClassName==`string`?()=>e.nodeClassName:typeof e.nodeClassName==`function`?e.nodeClassName:()=>``),w=D(()=>Ce(b.value.filter(e=>!e.hidden))),T=D(()=>({x:-f.value.x/f.value.zoom,y:-f.value.y/f.value.zoom,width:m.value.width/f.value.zoom,height:m.value.height/f.value.zoom})),le=D(()=>b.value&&b.value.length?ne(w.value,T.value):T.value),E=D(()=>{let e=le.value.width/te.value,t=le.value.height/S.value;return Math.max(e,t)}),k=D(()=>{let t=E.value*te.value,n=E.value*S.value,r=e.offsetScale*E.value;return{offset:r,x:le.value.x-(t-le.value.width)/2-r,y:le.value.y-(n-le.value.height)/2-r,width:t+r*2,height:n+r*2}}),pe=D(()=>!k.value.x||!k.value.y?``:`
|
|
1
|
+
import{$i as e,Bi as t,Bn as n,C as r,Ca as i,Cn as a,D as o,Da as s,Dn as c,E as l,Ea as u,Gi as d,Gn as f,Gr as p,Gt as m,Hi as h,Ii as g,Ji as _,Ki as v,Kr as y,Nt as b,Oa as ee,Oi as x,P as te,Ri as S,S as ne,T as re,Tn as ie,U as ae,Ui as C,Vi as oe,Vt as se,W as w,Yn as T,Zi as ce,_ as le,_i as E,ai as ue,b as de,ci as D,di as O,ea as fe,et as k,fi as A,gi as pe,ha as j,hn as me,ia as M,j as he,ka as N,ki as ge,li as P,lt as _e,ni as ve,q as ye,ra as F,ri as be,ui as I,ut as xe,v as Se,w as Ce,wi as we,x as Te,xi as Ee,y as De,ya as Oe,yi as ke,zn as Ae}from"./index-D5xJxOo2.js";import{t as je}from"./checkbox-C0sXsL9e.js";import{t as Me}from"./multiselect-BlmCsiSW.js";import{t as Ne}from"./uuid-B9GFVXPm.js";var Pe={name:`ControlButton`,compatConfig:{MODE:3}},Fe=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},L={type:`button`,class:`vue-flow__controls-button`};function R(e,n,r,i,a,o){return t(),A(`button`,L,[C(e.$slots,`default`)])}var Ie=Fe(Pe,[[`render`,R]]),Le={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 32`},Re=[P(`path`,{d:`M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z`},null,-1)];function ze(e,n){return t(),A(`svg`,Le,Re)}var z={render:ze},Be={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 5`},Ve=[P(`path`,{d:`M0 0h32v4.2H0z`},null,-1)];function He(e,n){return t(),A(`svg`,Be,Ve)}var Ue={render:He},We={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 32 30`},Ge=[P(`path`,{d:`M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z`},null,-1)];function Ke(e,n){return t(),A(`svg`,We,Ge)}var qe={render:Ke},Je={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 25 32`},Ye=[P(`path`,{d:`M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z`},null,-1)];function Xe(e,n){return t(),A(`svg`,Je,Ye)}var Ze={render:Xe},B={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 25 32`},V=[P(`path`,{d:`M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z`},null,-1)];function H(e,n){return t(),A(`svg`,B,V)}var U={render:H},Qe=ke({name:`Controls`,compatConfig:{MODE:3},props:{showZoom:{type:Boolean,default:!0},showFitView:{type:Boolean,default:!0},showInteractive:{type:Boolean,default:!0},fitViewParams:{},position:{default:()=>De.BottomLeft}},emits:[`zoomIn`,`zoomOut`,`fitView`,`interactionChange`],setup(e,{emit:n}){let{nodesDraggable:r,nodesConnectable:a,elementsSelectable:o,setInteractive:s,zoomIn:c,zoomOut:u,fitView:d,viewport:f,minZoom:p,maxZoom:m}=l(),h=Oe(()=>r.value||a.value||o.value),g=Oe(()=>f.value.zoom<=p.value),_=Oe(()=>f.value.zoom>=m.value);function y(){c(),n(`zoomIn`)}function b(){u(),n(`zoomOut`)}function ee(){d(e.fitViewParams),n(`fitView`)}function x(){s(!h.value),n(`interactionChange`,!h.value)}return(e,n)=>(t(),I(i(de),{class:`vue-flow__controls`,position:e.position},{default:F(()=>[C(e.$slots,`top`),e.showZoom?(t(),A(ue,{key:0},[C(e.$slots,`control-zoom-in`,{},()=>[E(Ie,{class:`vue-flow__controls-zoomin`,disabled:_.value,onClick:y},{default:F(()=>[C(e.$slots,`icon-zoom-in`,{},()=>[(t(),I(v(i(z))))])]),_:3},8,[`disabled`])]),C(e.$slots,`control-zoom-out`,{},()=>[E(Ie,{class:`vue-flow__controls-zoomout`,disabled:g.value,onClick:b},{default:F(()=>[C(e.$slots,`icon-zoom-out`,{},()=>[(t(),I(v(i(Ue))))])]),_:3},8,[`disabled`])])],64)):O(``,!0),e.showFitView?C(e.$slots,`control-fit-view`,{key:1},()=>[E(Ie,{class:`vue-flow__controls-fitview`,onClick:ee},{default:F(()=>[C(e.$slots,`icon-fit-view`,{},()=>[(t(),I(v(i(qe))))])]),_:3})]):O(``,!0),e.showInteractive?C(e.$slots,`control-interactive`,{key:2},()=>[e.showInteractive?(t(),I(Ie,{key:0,class:`vue-flow__controls-interactive`,onClick:x},{default:F(()=>[h.value?C(e.$slots,`icon-unlock`,{key:0},()=>[(t(),I(v(i(U))))]):O(``,!0),h.value?O(``,!0):C(e.$slots,`icon-lock`,{key:1},()=>[(t(),I(v(i(Ze))))])]),_:3})):O(``,!0)]):O(``,!0),C(e.$slots,`default`)]),_:3},8,[`position`]))}}),$e={value:()=>{}};function W(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new et(n)}function et(e){this._=e}function tt(e,t){return e.trim().split(/^|\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}et.prototype=W.prototype={constructor:et,on:function(e,t){var n=this._,r=tt(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=nt(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=rt(n[i],e.name,t);else if(t==null)for(i in n)n[i]=rt(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new et(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function nt(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function rt(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=$e,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var it=`http://www.w3.org/1999/xhtml`,at={svg:`http://www.w3.org/2000/svg`,xhtml:it,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function ot(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),at.hasOwnProperty(t)?{space:at[t],local:e}:e}function st(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===it&&t.documentElement.namespaceURI===it?t.createElement(e):t.createElementNS(n,e)}}function ct(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function lt(e){var t=ot(e);return(t.local?ct:st)(t)}function ut(){}function dt(e){return e==null?ut:function(){return this.querySelector(e)}}function ft(e){typeof e!=`function`&&(e=dt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new J(r,this._parents)}function pt(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function mt(){return[]}function ht(e){return e==null?mt:function(){return this.querySelectorAll(e)}}function gt(e){return function(){return pt(e.apply(this,arguments))}}function _t(e){e=typeof e==`function`?gt(e):ht(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new J(r,i)}function vt(e){return function(){return this.matches(e)}}function yt(e){return function(t){return t.matches(e)}}var bt=Array.prototype.find;function xt(e){return function(){return bt.call(this.children,e)}}function G(){return this.firstElementChild}function St(e){return this.select(e==null?G:xt(typeof e==`function`?e:yt(e)))}var Ct=Array.prototype.filter;function K(){return Array.from(this.children)}function wt(e){return function(){return Ct.call(this.children,e)}}function Tt(e){return this.selectAll(e==null?K:wt(typeof e==`function`?e:yt(e)))}function Et(e){typeof e!=`function`&&(e=vt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new J(r,this._parents)}function Dt(e){return Array(e.length)}function Ot(){return new J(this._enter||this._groups.map(Dt),this._parents)}function kt(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}kt.prototype={constructor:kt,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function At(e){return function(){return e}}function jt(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new kt(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function Mt(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new kt(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function Nt(e){return e.__data__}function Pt(e,t){if(!arguments.length)return Array.from(this,Nt);var n=t?Mt:jt,r=this._parents,i=this._groups;typeof e!=`function`&&(e=At(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=Ft(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new J(o,r),o._enter=s,o._exit=c,o}function Ft(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function It(){return new J(this._exit||this._groups.map(Dt),this._parents)}function Lt(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function Rt(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new J(s,this._parents)}function q(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function zt(e){e||=Bt;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new J(i,this._parents).order()}function Bt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Vt(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Ht(){return Array.from(this)}function Ut(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function Wt(){let e=0;for(let t of this)++e;return e}function Gt(){return!this.node()}function Kt(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function qt(e){return function(){this.removeAttribute(e)}}function Jt(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Yt(e,t){return function(){this.setAttribute(e,t)}}function Xt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Zt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Qt(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function $t(e,t){var n=ot(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Jt:qt:typeof t==`function`?n.local?Qt:Zt:n.local?Xt:Yt)(n,t))}function en(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function tn(e){return function(){this.style.removeProperty(e)}}function nn(e,t,n){return function(){this.style.setProperty(e,t,n)}}function rn(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function an(e,t,n){return arguments.length>1?this.each((t==null?tn:typeof t==`function`?rn:nn)(e,t,n??``)):on(this.node(),e)}function on(e,t){return e.style.getPropertyValue(t)||en(e).getComputedStyle(e,null).getPropertyValue(t)}function sn(e){return function(){delete this[e]}}function cn(e,t){return function(){this[e]=t}}function ln(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function un(e,t){return arguments.length>1?this.each((t==null?sn:typeof t==`function`?ln:cn)(e,t)):this.node()[e]}function dn(e){return e.trim().split(/^|\s+/)}function fn(e){return e.classList||new pn(e)}function pn(e){this._node=e,this._names=dn(e.getAttribute(`class`)||``)}pn.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function mn(e,t){for(var n=fn(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function hn(e,t){for(var n=fn(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function gn(e){return function(){mn(this,e)}}function _n(e){return function(){hn(this,e)}}function vn(e,t){return function(){(t.apply(this,arguments)?mn:hn)(this,e)}}function yn(e,t){var n=dn(e+``);if(arguments.length<2){for(var r=fn(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?vn:t?gn:_n)(n,t))}function bn(){this.textContent=``}function xn(e){return function(){this.textContent=e}}function Sn(e){return function(){this.textContent=e.apply(this,arguments)??``}}function Cn(e){return arguments.length?this.each(e==null?bn:(typeof e==`function`?Sn:xn)(e)):this.node().textContent}function wn(){this.innerHTML=``}function Tn(e){return function(){this.innerHTML=e}}function En(e){return function(){this.innerHTML=e.apply(this,arguments)??``}}function Dn(e){return arguments.length?this.each(e==null?wn:(typeof e==`function`?En:Tn)(e)):this.node().innerHTML}function On(){this.nextSibling&&this.parentNode.appendChild(this)}function kn(){return this.each(On)}function An(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function jn(){return this.each(An)}function Mn(e){var t=typeof e==`function`?e:lt(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Nn(){return null}function Pn(e,t){var n=typeof e==`function`?e:lt(e),r=t==null?Nn:typeof t==`function`?t:dt(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Fn(){var e=this.parentNode;e&&e.removeChild(this)}function In(){return this.each(Fn)}function Ln(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Rn(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function zn(e){return this.select(e?Rn:Ln)}function Bn(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Vn(e){return function(t){e.call(this,t,this.__data__)}}function Hn(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Un(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function Wn(e,t,n){return function(){var r=this.__on,i,a=Vn(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Gn(e,t,n){var r=Hn(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?Wn:Un,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function Kn(e,t,n){var r=en(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function qn(e,t){return function(){return Kn(this,e,t)}}function Jn(e,t){return function(){return Kn(this,e,t.apply(this,arguments))}}function Yn(e,t){return this.each((typeof t==`function`?Jn:qn)(e,t))}function*Xn(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var Zn=[null];function J(e,t){this._groups=e,this._parents=t}function Qn(){return new J([[document.documentElement]],Zn)}function $n(){return this}J.prototype=Qn.prototype={constructor:J,select:ft,selectAll:_t,selectChild:St,selectChildren:Tt,filter:Et,data:Pt,enter:Ot,exit:It,join:Lt,merge:Rt,selection:$n,order:q,sort:zt,call:Vt,nodes:Ht,node:Ut,size:Wt,empty:Gt,each:Kt,attr:$t,style:an,property:un,classed:yn,text:Cn,html:Dn,raise:kn,lower:jn,append:Mn,insert:Pn,remove:In,clone:zn,datum:Bn,on:Gn,dispatch:Yn,[Symbol.iterator]:Xn};function er(e){return typeof e==`string`?new J([[document.querySelector(e)]],[document.documentElement]):new J([[e]],Zn)}function tr(e){let t;for(;t=e.sourceEvent;)e=t;return e}function nr(e,t){if(e=tr(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}var rr={capture:!0,passive:!1};function ir(e){e.preventDefault(),e.stopImmediatePropagation()}function ar(e){var t=e.document.documentElement,n=er(e).on(`dragstart.drag`,ir,rr);`onselectstart`in t?n.on(`selectstart.drag`,ir,rr):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect=`none`)}function or(e,t){var n=e.document.documentElement,r=er(e).on(`dragstart.drag`,null);t&&(r.on(`click.drag`,ir,rr),setTimeout(function(){r.on(`click.drag`,null)},0)),`onselectstart`in n?r.on(`selectstart.drag`,null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function sr(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function cr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function lr(){}var ur=.7,dr=1/ur,fr=`\\s*([+-]?\\d+)\\s*`,pr=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*`,Y=`\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*`,mr=/^#([0-9a-f]{3,8})$/,hr=RegExp(`^rgb\\(${fr},${fr},${fr}\\)$`),gr=RegExp(`^rgb\\(${Y},${Y},${Y}\\)$`),_r=RegExp(`^rgba\\(${fr},${fr},${fr},${pr}\\)$`),vr=RegExp(`^rgba\\(${Y},${Y},${Y},${pr}\\)$`),yr=RegExp(`^hsl\\(${pr},${Y},${Y}\\)$`),br=RegExp(`^hsla\\(${pr},${Y},${Y},${pr}\\)$`),xr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};sr(lr,Er,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Sr,formatHex:Sr,formatHex8:Cr,formatHsl:wr,formatRgb:Tr,toString:Tr});function Sr(){return this.rgb().formatHex()}function Cr(){return this.rgb().formatHex8()}function wr(){return Rr(this).formatHsl()}function Tr(){return this.rgb().formatRgb()}function Er(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=mr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Dr(t):n===3?new X(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Or(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Or(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=hr.exec(e))?new X(t[1],t[2],t[3],1):(t=gr.exec(e))?new X(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=_r.exec(e))?Or(t[1],t[2],t[3],t[4]):(t=vr.exec(e))?Or(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=yr.exec(e))?Lr(t[1],t[2]/100,t[3]/100,1):(t=br.exec(e))?Lr(t[1],t[2]/100,t[3]/100,t[4]):xr.hasOwnProperty(e)?Dr(xr[e]):e===`transparent`?new X(NaN,NaN,NaN,0):null}function Dr(e){return new X(e>>16&255,e>>8&255,e&255,1)}function Or(e,t,n,r){return r<=0&&(e=t=n=NaN),new X(e,t,n,r)}function kr(e){return e instanceof lr||(e=Er(e)),e?(e=e.rgb(),new X(e.r,e.g,e.b,e.opacity)):new X}function Ar(e,t,n,r){return arguments.length===1?kr(e):new X(e,t,n,r??1)}function X(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}sr(X,Ar,cr(lr,{brighter(e){return e=e==null?dr:dr**+e,new X(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ur:ur**+e,new X(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new X(Fr(this.r),Fr(this.g),Fr(this.b),Pr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:jr,formatHex:jr,formatHex8:Mr,formatRgb:Nr,toString:Nr}));function jr(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}`}function Mr(){return`#${Ir(this.r)}${Ir(this.g)}${Ir(this.b)}${Ir((isNaN(this.opacity)?1:this.opacity)*255)}`}function Nr(){let e=Pr(this.opacity);return`${e===1?`rgb(`:`rgba(`}${Fr(this.r)}, ${Fr(this.g)}, ${Fr(this.b)}${e===1?`)`:`, ${e})`}`}function Pr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Fr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ir(e){return e=Fr(e),(e<16?`0`:``)+e.toString(16)}function Lr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Z(e,t,n,r)}function Rr(e){if(e instanceof Z)return new Z(e.h,e.s,e.l,e.opacity);if(e instanceof lr||(e=Er(e)),!e)return new Z;if(e instanceof Z)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new Z(o,s,c,e.opacity)}function zr(e,t,n,r){return arguments.length===1?Rr(e):new Z(e,t,n,r??1)}function Z(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}sr(Z,zr,cr(lr,{brighter(e){return e=e==null?dr:dr**+e,new Z(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ur:ur**+e,new Z(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new X(Hr(e>=240?e-240:e+120,i,r),Hr(e,i,r),Hr(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Z(Br(this.h),Vr(this.s),Vr(this.l),Pr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=Pr(this.opacity);return`${e===1?`hsl(`:`hsla(`}${Br(this.h)}, ${Vr(this.s)*100}%, ${Vr(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function Br(e){return e=(e||0)%360,e<0?e+360:e}function Vr(e){return Math.max(0,Math.min(1,e||0))}function Hr(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var Ur=e=>()=>e;function Wr(e,t){return function(n){return e+n*t}}function Gr(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Kr(e){return(e=+e)==1?qr:function(t,n){return n-t?Gr(t,n,e):Ur(isNaN(t)?n:t)}}function qr(e,t){var n=t-e;return n?Wr(e,n):Ur(isNaN(e)?t:e)}var Jr=function e(t){var n=Kr(t);function r(e,t){var r=n((e=Ar(e)).r,(t=Ar(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=qr(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r}(1);function Yr(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Xr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zr=new RegExp(Xr.source,`g`);function Qr(e){return function(){return e}}function $r(e){return function(t){return e(t)+``}}function ei(e,t){var n=Xr.lastIndex=Zr.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=Xr.exec(e))&&(i=Zr.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:Yr(r,i)})),n=Zr.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?$r(c[0].x):Qr(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}var ti=180/Math.PI,ni={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ri(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*ti,skewX:Math.atan(c)*ti,scaleX:o,scaleY:s}}var ii;function ai(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?ni:ri(t.a,t.b,t.c,t.d,t.e,t.f)}function oi(e){return e==null||(ii||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),ii.setAttribute(`transform`,e),!(e=ii.transform.baseVal.consolidate()))?ni:(e=e.matrix,ri(e.a,e.b,e.c,e.d,e.e,e.f))}function si(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:Yr(e,i)},{i:c-2,x:Yr(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:Yr(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:Yr(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:Yr(e,n)},{i:s-2,x:Yr(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var ci=si(ai,`px, `,`px)`,`deg)`),li=si(oi,`, `,`)`,`)`),ui=1e-12;function di(e){return((e=Math.exp(e))+1/e)/2}function fi(e){return((e=Math.exp(e))-1/e)/2}function pi(e){return((e=Math.exp(2*e))-1)/(e+1)}var mi=function e(t,n,r){function i(e,i){var a=e[0],o=e[1],s=e[2],c=i[0],l=i[1],u=i[2],d=c-a,f=l-o,p=d*d+f*f,m,h;if(p<ui)h=Math.log(u/s)/t,m=function(e){return[a+e*d,o+e*f,s*Math.exp(t*e*h)]};else{var g=Math.sqrt(p),_=(u*u-s*s+r*p)/(2*s*n*g),v=(u*u-s*s-r*p)/(2*u*n*g),y=Math.log(Math.sqrt(_*_+1)-_);h=(Math.log(Math.sqrt(v*v+1)-v)-y)/t,m=function(e){var r=e*h,i=di(y),c=s/(n*g)*(i*pi(t*r+y)-fi(y));return[a+c*d,o+c*f,s*i/di(t*r+y)]}}return m.duration=h*1e3*t/Math.SQRT2,m}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4),hi=0,gi=0,_i=0,vi=1e3,yi,bi,xi=0,Si=0,Ci=0,wi=typeof performance==`object`&&performance.now?performance:Date,Ti=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Ei(){return Si||=(Ti(Di),wi.now()+Ci)}function Di(){Si=0}function Oi(){this._call=this._time=this._next=null}Oi.prototype=ki.prototype={constructor:Oi,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?Ei():+n)+(t==null?0:+t),!this._next&&bi!==this&&(bi?bi._next=this:yi=this,bi=this),this._call=e,this._time=n,Pi()},stop:function(){this._call&&(this._call=null,this._time=1/0,Pi())}};function ki(e,t,n){var r=new Oi;return r.restart(e,t,n),r}function Ai(){Ei(),++hi;for(var e=yi,t;e;)(t=Si-e._time)>=0&&e._call.call(void 0,t),e=e._next;--hi}function ji(){Si=(xi=wi.now())+Ci,hi=gi=0;try{Ai()}finally{hi=0,Ni(),Si=0}}function Mi(){var e=wi.now(),t=e-xi;t>vi&&(Ci-=t,xi=e)}function Ni(){for(var e,t=yi,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:yi=n);bi=e,Pi(r)}function Pi(e){hi||(gi&&=clearTimeout(gi),e-Si>24?(e<1/0&&(gi=setTimeout(ji,e-wi.now()-Ci)),_i&&=clearInterval(_i)):(_i||=(xi=wi.now(),setInterval(Mi,vi)),hi=1,Ti(ji)))}function Fi(e,t,n){var r=new Oi;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var Ii=W(`start`,`end`,`cancel`,`interrupt`),Li=[],Ri=0,zi=1,Bi=2,Vi=3,Hi=4,Ui=5,Wi=6;function Gi(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;Ji(e,n,{name:t,index:r,group:i,on:Ii,tween:Li,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Ri})}function Ki(e,t){var n=Q(e,t);if(n.state>Ri)throw Error(`too late; already scheduled`);return n}function qi(e,t){var n=Q(e,t);if(n.state>Vi)throw Error(`too late; already running`);return n}function Q(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function Ji(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=ki(a,0,n.time);function a(e){n.state=zi,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==zi)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===Vi)return Fi(o);f.state===Hi?(f.state=Wi,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=Wi,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(Fi(function(){n.state===Vi&&(n.state=Hi,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=Bi,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===Bi){for(n.state=Vi,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=Ui,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===Ui&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=Wi,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function Yi(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>Bi&&r.state<Ui,r.state=Wi,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}function Xi(e){return this.each(function(){Yi(this,e)})}function Zi(e,t){var n,r;return function(){var i=qi(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function Qi(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=qi(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function $i(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=Q(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?Zi:Qi)(n,e,t))}function ea(e,t,n){var r=e._id;return e.each(function(){var e=qi(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return Q(e,r).value[t]}}function ta(e,t){var n;return(typeof t==`number`?Yr:t instanceof Er?Jr:(n=Er(t))?(t=n,Jr):ei)(e,t)}function na(e){return function(){this.removeAttribute(e)}}function ra(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ia(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function aa(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function oa(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function sa(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function ca(e,t){var n=ot(e),r=n===`transform`?li:ta;return this.attrTween(e,typeof t==`function`?(n.local?sa:oa)(n,r,ea(this,`attr.`+e,t)):t==null?(n.local?ra:na)(n):(n.local?aa:ia)(n,r,t))}function la(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function ua(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function da(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&ua(e,i)),n}return i._value=t,i}function fa(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&la(e,i)),n}return i._value=t,i}function pa(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=ot(e);return this.tween(n,(r.local?da:fa)(r,t))}function ma(e,t){return function(){Ki(this,e).delay=+t.apply(this,arguments)}}function ha(e,t){return t=+t,function(){Ki(this,e).delay=t}}function ga(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?ma:ha)(t,e)):Q(this.node(),t).delay}function _a(e,t){return function(){qi(this,e).duration=+t.apply(this,arguments)}}function va(e,t){return t=+t,function(){qi(this,e).duration=t}}function ya(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?_a:va)(t,e)):Q(this.node(),t).duration}function ba(e,t){if(typeof t!=`function`)throw Error();return function(){qi(this,e).ease=t}}function xa(e){var t=this._id;return arguments.length?this.each(ba(t,e)):Q(this.node(),t).ease}function Sa(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();qi(this,e).ease=n}}function Ca(e){if(typeof e!=`function`)throw Error();return this.each(Sa(this._id,e))}function wa(e){typeof e!=`function`&&(e=vt(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new $a(r,this._parents,this._name,this._id)}function Ta(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new $a(o,this._parents,this._name,this._id)}function Ea(e){return(e+``).trim().split(/^|\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function Da(e,t,n){var r,i,a=Ea(t)?Ki:qi;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function Oa(e,t){var n=this._id;return arguments.length<2?Q(this.node(),n).on.on(e):this.each(Da(n,e,t))}function ka(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Aa(){return this.on(`end.remove`,ka(this._id))}function ja(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=dt(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,Gi(l[f],t,n,f,l,Q(u,n)));return new $a(a,this._parents,t,n)}function Ma(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=ht(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=Q(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&Gi(p,t,n,h,f,m);a.push(f),o.push(u)}return new $a(a,o,t,n)}var Na=Qn.prototype.constructor;function Pa(){return new Na(this._groups,this._parents)}function Fa(e,t){var n,r,i;return function(){var a=on(this,e),o=(this.style.removeProperty(e),on(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function Ia(e){return function(){this.style.removeProperty(e)}}function La(e,t,n){var r,i=n+``,a;return function(){var o=on(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function Ra(e,t,n){var r,i,a;return function(){var o=on(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),on(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function za(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=qi(this,e),l=c.on,u=c.value[a]==null?s||=Ia(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function Ba(e,t,n){var r=(e+=``)==`transform`?ci:ta;return t==null?this.styleTween(e,Fa(e,r)).on(`end.style.`+e,Ia(e)):typeof t==`function`?this.styleTween(e,Ra(e,r,ea(this,`style.`+e,t))).each(za(this._id,e)):this.styleTween(e,La(e,r,t),n).on(`end.style.`+e,null)}function Va(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function Ha(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&Va(e,a,n)),r}return a._value=t,a}function Ua(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,Ha(e,t,n??``))}function Wa(e){return function(){this.textContent=e}}function Ga(e){return function(){this.textContent=e(this)??``}}function Ka(e){return this.tween(`text`,typeof e==`function`?Ga(ea(this,`text`,e)):Wa(e==null?``:e+``))}function qa(e){return function(t){this.textContent=e.call(this,t)}}function Ja(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&qa(r)),t}return r._value=e,r}function Ya(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,Ja(e))}function Xa(){for(var e=this._name,t=this._id,n=eo(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=Q(c,t);Gi(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new $a(r,this._parents,e,n)}function Za(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=qi(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var Qa=0;function $a(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function eo(){return++Qa}var to=Qn.prototype;$a.prototype={constructor:$a,select:ja,selectAll:Ma,selectChild:to.selectChild,selectChildren:to.selectChildren,filter:wa,merge:Ta,selection:Pa,transition:Xa,call:to.call,nodes:to.nodes,node:to.node,size:to.size,empty:to.empty,each:to.each,on:Oa,attr:ca,attrTween:pa,style:Ba,styleTween:Ua,text:Ka,textTween:Ya,remove:Aa,tween:$i,delay:ga,duration:ya,ease:xa,easeVarying:Ca,end:Za,[Symbol.iterator]:to[Symbol.iterator]};function no(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var ro={time:null,delay:0,duration:250,ease:no};function io(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function ao(e){var t,n;e instanceof $a?(t=e._id,e=e._name):(t=eo(),(n=ro).time=Ei(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&Gi(c,e,t,l,o,n||io(c,t));return new $a(r,this._parents,e,t)}Qn.prototype.interrupt=Xi,Qn.prototype.transition=ao;var oo=e=>()=>e;function so(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function co(e,t,n){this.k=e,this.x=t,this.y=n}co.prototype={constructor:co,scale:function(e){return e===1?this:new co(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new co(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var lo=new co(1,0,0);co.prototype;function uo(e){e.stopImmediatePropagation()}function fo(e){e.preventDefault(),e.stopImmediatePropagation()}function po(e){return(!e.ctrlKey||e.type===`wheel`)&&!e.button}function mo(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute(`viewBox`)?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function ho(){return this.__zoom||lo}function go(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function _o(){return navigator.maxTouchPoints||`ontouchstart`in this}function vo(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],a=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}function yo(){var e=po,t=mo,n=vo,r=go,i=_o,a=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],s=250,c=mi,l=W(`start`,`zoom`,`end`),u,d,f,p=500,m=150,h=0,g=10;function _(e){e.property(`__zoom`,ho).on(`wheel.zoom`,S,{passive:!1}).on(`mousedown.zoom`,ne).on(`dblclick.zoom`,re).filter(i).on(`touchstart.zoom`,ie).on(`touchmove.zoom`,ae).on(`touchend.zoom touchcancel.zoom`,C).style(`-webkit-tap-highlight-color`,`rgba(0,0,0,0)`)}_.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property(`__zoom`,ho),e===i?i.interrupt().each(function(){x(this,arguments).event(r).start().zoom(null,typeof t==`function`?t.apply(this,arguments):t).end()}):ee(e,t,n,r)},_.scaleBy=function(e,t,n,r){_.scaleTo(e,function(){return this.__zoom.k*(typeof t==`function`?t.apply(this,arguments):t)},n,r)},_.scaleTo=function(e,r,i,a){_.transform(e,function(){var e=t.apply(this,arguments),a=this.__zoom,s=i==null?b(e):typeof i==`function`?i.apply(this,arguments):i,c=a.invert(s),l=typeof r==`function`?r.apply(this,arguments):r;return n(y(v(a,l),s,c),e,o)},i,a)},_.translateBy=function(e,r,i,a){_.transform(e,function(){return n(this.__zoom.translate(typeof r==`function`?r.apply(this,arguments):r,typeof i==`function`?i.apply(this,arguments):i),t.apply(this,arguments),o)},null,a)},_.translateTo=function(e,r,i,a,s){_.transform(e,function(){var e=t.apply(this,arguments),s=this.__zoom,c=a==null?b(e):typeof a==`function`?a.apply(this,arguments):a;return n(lo.translate(c[0],c[1]).scale(s.k).translate(typeof r==`function`?-r.apply(this,arguments):-r,typeof i==`function`?-i.apply(this,arguments):-i),e,o)},a,s)};function v(e,t){return t=Math.max(a[0],Math.min(a[1],t)),t===e.k?e:new co(t,e.x,e.y)}function y(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new co(e.k,r,i)}function b(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function ee(e,n,r,i){e.on(`start.zoom`,function(){x(this,arguments).event(i).start()}).on(`interrupt.zoom end.zoom`,function(){x(this,arguments).event(i).end()}).tween(`zoom`,function(){var e=this,a=arguments,o=x(e,a).event(i),s=t.apply(e,a),l=r==null?b(s):typeof r==`function`?r.apply(e,a):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),d=e.__zoom,f=typeof n==`function`?n.apply(e,a):n,p=c(d.invert(l).concat(u/d.k),f.invert(l).concat(u/f.k));return function(e){if(e===1)e=f;else{var t=p(e),n=u/t[2];e=new co(n,l[0]-t[0]*n,l[1]-t[1]*n)}o.zoom(null,e)}})}function x(e,t,n){return!n&&e.__zooming||new te(e,t)}function te(e,n){this.that=e,this.args=n,this.active=0,this.sourceEvent=null,this.extent=t.apply(e,n),this.taps=0}te.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit(`start`)),this},zoom:function(e,t){return this.mouse&&e!==`mouse`&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&e!==`touch`&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&e!==`touch`&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit(`zoom`),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit(`end`)),this},emit:function(e){var t=er(this.that).datum();l.call(e,this.that,new so(e,{sourceEvent:this.sourceEvent,target:_,type:e,transform:this.that.__zoom,dispatch:l}),t)}};function S(t,...i){if(!e.apply(this,arguments))return;var s=x(this,i).event(t),c=this.__zoom,l=Math.max(a[0],Math.min(a[1],c.k*2**r.apply(this,arguments))),u=nr(t);if(s.wheel)(s.mouse[0][0]!==u[0]||s.mouse[0][1]!==u[1])&&(s.mouse[1]=c.invert(s.mouse[0]=u)),clearTimeout(s.wheel);else if(c.k===l)return;else s.mouse=[u,c.invert(u)],Yi(this),s.start();fo(t),s.wheel=setTimeout(d,m),s.zoom(`mouse`,n(y(v(c,l),s.mouse[0],s.mouse[1]),s.extent,o));function d(){s.wheel=null,s.end()}}function ne(t,...r){if(f||!e.apply(this,arguments))return;var i=t.currentTarget,a=x(this,r,!0).event(t),s=er(t.view).on(`mousemove.zoom`,d,!0).on(`mouseup.zoom`,p,!0),c=nr(t,i),l=t.clientX,u=t.clientY;ar(t.view),uo(t),a.mouse=[c,this.__zoom.invert(c)],Yi(this),a.start();function d(e){if(fo(e),!a.moved){var t=e.clientX-l,r=e.clientY-u;a.moved=t*t+r*r>h}a.event(e).zoom(`mouse`,n(y(a.that.__zoom,a.mouse[0]=nr(e,i),a.mouse[1]),a.extent,o))}function p(e){s.on(`mousemove.zoom mouseup.zoom`,null),or(e.view,a.moved),fo(e),a.event(e).end()}}function re(r,...i){if(e.apply(this,arguments)){var a=this.__zoom,c=nr(r.changedTouches?r.changedTouches[0]:r,this),l=a.invert(c),u=a.k*(r.shiftKey?.5:2),d=n(y(v(a,u),c,l),t.apply(this,i),o);fo(r),s>0?er(this).transition().duration(s).call(ee,d,c,r):er(this).call(_.transform,d,c,r)}}function ie(t,...n){if(e.apply(this,arguments)){var r=t.touches,i=r.length,a=x(this,n,t.changedTouches.length===i).event(t),o,s,c,l;for(uo(t),s=0;s<i;++s)c=r[s],l=nr(c,this),l=[l,this.__zoom.invert(l),c.identifier],a.touch0?!a.touch1&&a.touch0[2]!==l[2]&&(a.touch1=l,a.taps=0):(a.touch0=l,o=!0,a.taps=1+!!u);u&&=clearTimeout(u),o&&(a.taps<2&&(d=l[0],u=setTimeout(function(){u=null},p)),Yi(this),a.start())}}function ae(e,...t){if(this.__zooming){var r=x(this,t).event(e),i=e.changedTouches,a=i.length,s,c,l,u;for(fo(e),s=0;s<a;++s)c=i[s],l=nr(c,this),r.touch0&&r.touch0[2]===c.identifier?r.touch0[0]=l:r.touch1&&r.touch1[2]===c.identifier&&(r.touch1[0]=l);if(c=r.that.__zoom,r.touch1){var d=r.touch0[0],f=r.touch0[1],p=r.touch1[0],m=r.touch1[1],h=(h=p[0]-d[0])*h+(h=p[1]-d[1])*h,g=(g=m[0]-f[0])*g+(g=m[1]-f[1])*g;c=v(c,Math.sqrt(h/g)),l=[(d[0]+p[0])/2,(d[1]+p[1])/2],u=[(f[0]+m[0])/2,(f[1]+m[1])/2]}else if(r.touch0)l=r.touch0[0],u=r.touch0[1];else return;r.zoom(`touch`,n(y(c,l,u),r.extent,o))}}function C(e,...t){if(this.__zooming){var n=x(this,t).event(e),r=e.changedTouches,i=r.length,a,o;for(uo(e),f&&clearTimeout(f),f=setTimeout(function(){f=null},p),a=0;a<i;++a)o=r[a],n.touch0&&n.touch0[2]===o.identifier?delete n.touch0:n.touch1&&n.touch1[2]===o.identifier&&delete n.touch1;if(n.touch1&&!n.touch0&&(n.touch0=n.touch1,delete n.touch1),n.touch0)n.touch0[1]=this.__zoom.invert(n.touch0[0]);else if(n.end(),n.taps===2&&(o=nr(o,this),Math.hypot(d[0]-o[0],d[1]-o[1])<g)){var s=er(this).on(`dblclick.zoom`);s&&s.apply(this,arguments)}}}return _.wheelDelta=function(e){return arguments.length?(r=typeof e==`function`?e:oo(+e),_):r},_.filter=function(t){return arguments.length?(e=typeof t==`function`?t:oo(!!t),_):e},_.touchable=function(e){return arguments.length?(i=typeof e==`function`?e:oo(!!e),_):i},_.extent=function(e){return arguments.length?(t=typeof e==`function`?e:oo([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),_):t},_.scaleExtent=function(e){return arguments.length?(a[0]=+e[0],a[1]=+e[1],_):[a[0],a[1]]},_.translateExtent=function(e){return arguments.length?(o[0][0]=+e[0][0],o[1][0]=+e[1][0],o[0][1]=+e[0][1],o[1][1]=+e[1][1],_):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},_.constrain=function(e){return arguments.length?(n=e,_):n},_.duration=function(e){return arguments.length?(s=+e,_):s},_.interpolate=function(e){return arguments.length?(c=e,_):c},_.on=function(){var e=l.on.apply(l,arguments);return e===l?_:e},_.clickDistance=function(e){return arguments.length?(h=(e=+e)*e,_):Math.sqrt(h)},_.tapDistance=function(e){return arguments.length?(g=+e,_):g},_}var bo=Symbol(`MiniMapSlots`),xo=[`id`,`x`,`y`,`rx`,`ry`,`width`,`height`,`fill`,`stroke`,`stroke-width`,`shape-rendering`],So=ke({name:`MiniMapNode`,compatConfig:{MODE:3},inheritAttrs:!1,props:{id:{},type:{},selected:{type:Boolean},dragging:{type:Boolean},position:{},dimensions:{},borderRadius:{},color:{},shapeRendering:{},strokeColor:{},strokeWidth:{},hidden:{type:Boolean}},emits:[`click`,`dblclick`,`mouseenter`,`mousemove`,`mouseleave`],setup(e,{emit:n}){let r=e,a=we(bo),o=_(),c=Oe(()=>o.style??{});function l(e){n(`click`,e)}function u(e){n(`dblclick`,e)}function d(e){n(`mouseenter`,e)}function f(e){n(`mousemove`,e)}function p(e){n(`mouseleave`,e)}return(e,n)=>!e.hidden&&e.dimensions.width!==0&&e.dimensions.height!==0?(t(),A(ue,{key:0},[i(a)[`node-${r.type}`]?(t(),I(v(i(a)[`node-${r.type}`]),s(x({key:0},{...r,...e.$attrs})),null,16)):(t(),A(`rect`,x({key:1,id:e.id},e.$attrs,{class:[`vue-flow__minimap-node`,{selected:e.selected,dragging:e.dragging}],x:e.position.x,y:e.position.y,rx:e.borderRadius,ry:e.borderRadius,width:e.dimensions.width,height:e.dimensions.height,fill:e.color||c.value.background||c.value.backgroundColor,stroke:e.strokeColor,"stroke-width":e.strokeWidth,"shape-rendering":e.shapeRendering,onClick:l,onDblclick:u,onMouseenter:d,onMousemove:f,onMouseleave:p}),null,16,xo))],64)):O(``,!0)}}),Co=[`width`,`height`,`viewBox`,`aria-labelledby`],wo=[`id`],To=[`d`,`fill`,`stroke`,`stroke-width`],Eo=ke({name:`MiniMap`,compatConfig:{MODE:3},props:{nodeColor:{type:[String,Function],default:`#e2e2e2`},nodeStrokeColor:{type:[String,Function],default:`transparent`},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:`rgb(240, 240, 240, 0.6)`},maskStrokeColor:{default:`none`},maskStrokeWidth:{default:1},position:{default:`bottom-right`},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:`Vue Flow mini map`},inversePan:{type:Boolean,default:!1},zoomStep:{default:1},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:[`click`,`nodeClick`,`nodeDblclick`,`nodeMouseenter`,`nodeMousemove`,`nodeMouseleave`],setup(e,{emit:n}){let a=ce(),s=_(),{id:c,edges:d,viewport:f,translateExtent:p,dimensions:m,emits:g,d3Selection:v,d3Zoom:y,getNodesInitialized:b}=l(),x=j();oe(bo,a);let te=Oe(()=>e.width??s.style?.width??200),S=Oe(()=>e.height??s.style?.height??150),ie=typeof window>`u`||window.chrome?`crispEdges`:`geometricPrecision`,ae=D(()=>typeof e.nodeColor==`string`?()=>e.nodeColor:e.nodeColor),C=D(()=>typeof e.nodeStrokeColor==`string`?()=>e.nodeStrokeColor:e.nodeStrokeColor),se=D(()=>typeof e.nodeClassName==`string`?()=>e.nodeClassName:typeof e.nodeClassName==`function`?e.nodeClassName:()=>``),w=D(()=>Ce(b.value.filter(e=>!e.hidden))),T=D(()=>({x:-f.value.x/f.value.zoom,y:-f.value.y/f.value.zoom,width:m.value.width/f.value.zoom,height:m.value.height/f.value.zoom})),le=D(()=>b.value&&b.value.length?ne(w.value,T.value):T.value),E=D(()=>{let e=le.value.width/te.value,t=le.value.height/S.value;return Math.max(e,t)}),k=D(()=>{let t=E.value*te.value,n=E.value*S.value,r=e.offsetScale*E.value;return{offset:r,x:le.value.x-(t-le.value.width)/2-r,y:le.value.y-(n-le.value.height)/2-r,width:t+r*2,height:n+r*2}}),pe=D(()=>!k.value.x||!k.value.y?``:`
|
|
2
2
|
M${k.value.x-k.value.offset},${k.value.y-k.value.offset}
|
|
3
3
|
h${k.value.width+k.value.offset*2}
|
|
4
4
|
v${k.value.height+k.value.offset*2}
|
package/web/assets/{ServerVariablesForm.vue-DNmYrfHr.js → ServerVariablesForm.vue-DYmWiAuz.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bi as e,Ca as t,Ea as n,Hi as r,Oi as i,Yi as a,_i as o,ai as s,ci as c,di as l,ei as u,fi as d,gi as f,ia as p,ka as m,li as h,ra as g,ui as _,yi as v}from"./index-
|
|
1
|
+
import{Bi as e,Ca as t,Ea as n,Hi as r,Oi as i,Yi as a,_i as o,ai as s,ci as c,di as l,ei as u,fi as d,gi as f,ia as p,ka as m,li as h,ra as g,ui as _,yi as v}from"./index-D5xJxOo2.js";import{cn as y,hn as b,z as x}from"./dist-ZJ37S89a.js";var S={key:0,class:`sr-only`},C=v({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(r,{emit:i}){let a=r,s=i,u=c(()=>a.enum.map(e=>({id:e,label:e}))),p=c({get:()=>u.value.find(e=>e.id===a.value),set:e=>s(`change`,e?.id??``)});return(i,a)=>(e(),_(t(x),{modelValue:p.value,"onUpdate:modelValue":a[0]||=e=>p.value=e,options:u.value},{default:g(()=>[o(t(b),{"aria-controls":r.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:g(()=>[h(`span`,{class:n({"text-c-1":r.value})},[r.value?(e(),d(`span`,S,` Selected: `)):l(``,!0),f(` `+m(r.value||`Select value`),1)],2),o(t(y),{weight:`bold`,class:`mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180`})]),_:1},8,[`aria-controls`])]),_:1},8,[`modelValue`,`options`]))}}),w=v({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(t,{emit:n}){let r=t,a=n,o=c({get:()=>r.value,set:e=>a(`change`,e)});return(n,r)=>p((e(),d(`input`,i({"onUpdate:modelValue":r[0]||=e=>o.value=e},t.controls?{...n.$attrs,"aria-controls":t.controls}:{},{autocomplete:`off`,class:`text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg`,placeholder:`value`,spellcheck:`false`,type:`text`}),null,16)),[[u,o.value]])}}),T=[`for`],E=v({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(i,{emit:o}){let c=o,u=a();function f(e,t){c(`update:variable`,e,t)}let p=e=>(i.values?.[e]??i.variables?.[e]?.default??``).toString();return(a,o)=>i.variables&&Object.keys(i.variables??{}).length?(e(!0),d(s,{key:0},r(Object.keys(i.variables),r=>(e(),d(`div`,{key:r,class:n([`group/label flex h-8 w-full`,i.layout===`reference`&&`items-center border-x border-b last:rounded-b-lg`])},[h(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${t(u)}-${r}`},m(r),9,T),i.variables?.[r]?.enum?.length?(e(),_(C,{key:0,id:`${t(u)}-${r}`,controls:i.controls,enum:i.variables[r]?.enum?.map(e=>`${e}`)??[],value:p(r),onChange:e=>f(r,e)},null,8,[`id`,`controls`,`enum`,`value`,`onChange`])):(e(),_(w,{key:1,id:`${t(u)}-${r}`,controls:i.controls,value:p(r),onChange:e=>f(r,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):l(``,!0)}});export{E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bi as e,Ca as t,Cn as n,H as r,Yn as i,_i as a,ci as o,fi as s,li as c,yi as l}from"./index-
|
|
1
|
+
import{Bi as e,Ca as t,Cn as n,H as r,Yn as i,_i as a,ci as o,fi as s,li as c,yi as l}from"./index-D5xJxOo2.js";import{t as u}from"./tag-Dv5CaUPa.js";import{t as d}from"./ProcessControls-Cya4eb3d.js";var f={class:`service-controls-bar`},p={class:`service-controls-bar__left`},m={class:`service-controls-bar__right`},h=n(l({__name:`ServiceControlsBar`,props:{service:{},processes:{}},setup(n){let l=n,h=o(()=>l.processes.find(e=>e.state===`running`||e.state===`starting`)??l.processes[0]??null),g=o(()=>h.value?h.value.state:`stopped`),{t:_}=i(),v=r(),y=o(()=>{let e=l.service.effectiveAgentId;return e?v.getById(e)?.config.name??e:null}),b=o(()=>{switch(g.value){case`running`:return`success`;case`starting`:return`warn`;case`errored`:return`danger`;default:return`secondary`}});return(r,i)=>(e(),s(`div`,f,[c(`div`,p,[a(t(u),{value:g.value,severity:b.value,class:`service-controls-bar__tag`},null,8,[`value`,`severity`]),a(t(u),{value:y.value??t(_)(`serviceHeader.noAgent`),severity:y.value?`secondary`:`warn`,icon:`pi pi-server`,class:`service-controls-bar__tag`},null,8,[`value`,`severity`])]),c(`div`,m,[a(d,{"agent-id":h.value?.agentId??n.service.agentId??``,"process-id":h.value?.id??n.service.id,state:h.value?.state??`stopped`},null,8,[`agent-id`,`process-id`,`state`])])]))}}),[[`__scopeId`,`data-v-541498f0`]]);export{h as t};
|