@intent-hq/web 2.361.1 → 2.361.2
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/package.json +1 -1
- package/web/app/immutable/chunks/{iDIfJ3iV.js → -7du9lfn.js} +1 -1
- package/web/app/immutable/chunks/{ByIgBfs_.js → 0_7FQkiC.js} +1 -1
- package/web/app/immutable/chunks/{BAyBEEFm.js → 1EW4b83o.js} +1 -1
- package/web/app/immutable/chunks/{B9t82so5.js → 2wJjyVNk.js} +2 -2
- package/web/app/immutable/chunks/{B_tHbtUI.js → 52-_4pXR.js} +1 -1
- package/web/app/immutable/chunks/{i9Ai-esv.js → 5NiJCy7J.js} +1 -1
- package/web/app/immutable/chunks/{BTpJekrR.js → 5u3dQlae.js} +1 -1
- package/web/app/immutable/chunks/{CEX--Xsn.js → 6d4Jv8Hz.js} +2 -2
- package/web/app/immutable/chunks/{j9e5aB7O.js → 7tcI69cn.js} +1 -1
- package/web/app/immutable/chunks/{BTYFFiiL.js → 8HLudOb-.js} +1 -1
- package/web/app/immutable/chunks/{ye2FbJ5D.js → 96DwTK9j.js} +2 -2
- package/web/app/immutable/chunks/{BIbN5V8o.js → As8lK70V.js} +1 -1
- package/web/app/immutable/chunks/{QNDivBsM.js → AxCVH26S.js} +1 -1
- package/web/app/immutable/chunks/{DxOUk2oJ.js → B07OdpUU.js} +3 -3
- package/web/app/immutable/chunks/{C7Y9ew7Z.js → B0JbhmMb.js} +1 -1
- package/web/app/immutable/chunks/{D6d4xhu_.js → B1Tr5BPZ.js} +1 -1
- package/web/app/immutable/chunks/{CigwWVbR.js → B2ns9OTA.js} +1 -1
- package/web/app/immutable/chunks/{WJw0rC-g.js → B4kCZd9W.js} +1 -1
- package/web/app/immutable/chunks/{BTl8ihCX.js → B5Pg9_MZ.js} +1 -1
- package/web/app/immutable/chunks/{_iJcPN5_.js → B9pYL5w0.js} +1 -1
- package/web/app/immutable/chunks/{q3oLC86w.js → B9tRD7MQ.js} +1 -1
- package/web/app/immutable/chunks/{DU2T1Vdb.js → BAgFsuQz.js} +1 -1
- package/web/app/immutable/chunks/{DMHNxEyN.js → BD9wTbmm.js} +1 -1
- package/web/app/immutable/chunks/{BdcgINI4.js → BG4tBRsm.js} +1 -1
- package/web/app/immutable/chunks/{BzTKzuhn.js → BGOuxFsr.js} +1 -1
- package/web/app/immutable/chunks/{CbvpJoHZ.js → BKHUH54N.js} +1 -1
- package/web/app/immutable/chunks/{Bmmvebpd.js → BKw6wLyE.js} +1 -1
- package/web/app/immutable/chunks/{DKAPPU9s.js → BLFlTVjy.js} +4 -4
- package/web/app/immutable/chunks/{i-66Uv-K.js → BMYcVUUM.js} +1 -1
- package/web/app/immutable/chunks/{8C8OyL-H.js → BOSMtVmb.js} +1 -1
- package/web/app/immutable/chunks/{CVFwlr2Z.js → BPG9IRUj.js} +1 -1
- package/web/app/immutable/chunks/{DHQj_UCz.js → BPRz9VyT.js} +1 -1
- package/web/app/immutable/chunks/{Dxv3G1Mb.js → BSM5O6JV.js} +1 -1
- package/web/app/immutable/chunks/{LbgKUbsl.js → BTR14c-t.js} +3 -3
- package/web/app/immutable/chunks/{C9vs7bl5.js → BWUH3HmG.js} +1 -1
- package/web/app/immutable/chunks/{CIDE3x9D.js → BZp1yALL.js} +1 -1
- package/web/app/immutable/chunks/{NAsYJxQg.js → BbIMIfqX.js} +1 -1
- package/web/app/immutable/chunks/BbV7MtxC.js +1 -0
- package/web/app/immutable/chunks/{wuYAM5lX.js → BeLtysng.js} +1 -1
- package/web/app/immutable/chunks/{DGzlSz-8.js → Bgk8kfr8.js} +1 -1
- package/web/app/immutable/chunks/Bhx5E4sN.js +2 -0
- package/web/app/immutable/chunks/{CD3p1vYG.js → Big1YQpq.js} +1 -1
- package/web/app/immutable/chunks/{DjcKhQp4.js → Bl0Adq86.js} +1 -1
- package/web/app/immutable/chunks/{Dg9xZYld.js → Bl2aLOn5.js} +1 -1
- package/web/app/immutable/chunks/{CzEsFefN.js → BskEvHZa.js} +1 -1
- package/web/app/immutable/chunks/{BShQ2LRb.js → Bt_RDNlI.js} +1 -1
- package/web/app/immutable/chunks/{D478BUHq.js → Bx_nP_MK.js} +1 -1
- package/web/app/immutable/chunks/{BVV3fM7W.js → Bya2sQrR.js} +1 -1
- package/web/app/immutable/chunks/{BqUUWX71.js → Byj6QL5F.js} +1 -1
- package/web/app/immutable/chunks/{BYx2Y144.js → C-Qm3bfA.js} +1 -1
- package/web/app/immutable/chunks/{BrQ0wqQy.js → C1wjuTFV.js} +1 -1
- package/web/app/immutable/chunks/{CU9Jo2EB.js → C3L3GwMq.js} +1 -1
- package/web/app/immutable/chunks/{DzGon3k8.js → C4qqiNcA.js} +1 -1
- package/web/app/immutable/chunks/{C_RGTtXj.js → C5cRG0yV.js} +3 -3
- package/web/app/immutable/chunks/{B1ScYY03.js → C9otdzZM.js} +4 -4
- package/web/app/immutable/chunks/{Ccaz1_yi.js → CGINFMqT.js} +1 -1
- package/web/app/immutable/chunks/{DUCIVWu4.js → CJHViisg.js} +3 -3
- package/web/app/immutable/chunks/{g5Oev8-0.js → CNUg0Cs8.js} +1 -1
- package/web/app/immutable/chunks/{CubYUWh2.js → CO15VKbw.js} +1 -1
- package/web/app/immutable/chunks/{BrYKR-SG.js → CVOsommd.js} +2 -2
- package/web/app/immutable/chunks/{CM4RKAei.js → C_z20mJT.js} +1 -1
- package/web/app/immutable/chunks/{Oa6WXH6c.js → Cb4s3Dt_.js} +3 -3
- package/web/app/immutable/chunks/{Cnly_zgc.js → CgS1Dv_8.js} +1 -1
- package/web/app/immutable/chunks/{Cn2kUD4R.js → Ch9oF0ek.js} +1 -1
- package/web/app/immutable/chunks/{D39Rrj4Y.js → CjorBqRt.js} +1 -1
- package/web/app/immutable/chunks/{C1d-f55y.js → CkVsI2Jc.js} +1 -1
- package/web/app/immutable/chunks/{CD6wiERl.js → CmVyGqNV.js} +2 -2
- package/web/app/immutable/chunks/{ZWDSGAzi.js → CpBPE3-0.js} +1 -1
- package/web/app/immutable/chunks/{DxNx74qV.js → CpHAR9_T.js} +1 -1
- package/web/app/immutable/chunks/{DlZbnYcc.js → CpY-WDD9.js} +1 -1
- package/web/app/immutable/chunks/{m2KtwqZj.js → Cq0xvhw9.js} +3 -3
- package/web/app/immutable/chunks/{BTli9eoV.js → Cq8fk3CH.js} +1 -1
- package/web/app/immutable/chunks/{BSQOiuf7.js → CrLichOk.js} +1 -1
- package/web/app/immutable/chunks/CsqD9xz6.js +2 -0
- package/web/app/immutable/chunks/{CuHcMIuh.js → CssvkQD7.js} +1 -1
- package/web/app/immutable/chunks/{p1enVnf-.js → CuoerPJp.js} +3 -3
- package/web/app/immutable/chunks/{BCKdYbDN.js → CvH6beJr.js} +1 -1
- package/web/app/immutable/chunks/{CtoSWfC3.js → CyQJi5fM.js} +1 -1
- package/web/app/immutable/chunks/{CDfNySzn.js → CytLF-ur.js} +6 -6
- package/web/app/immutable/chunks/{DSEn8hom.js → D00mCTUs.js} +1 -1
- package/web/app/immutable/chunks/{fUWZZKuh.js → D0VMf2Fp.js} +3 -3
- package/web/app/immutable/chunks/{BAL5XTLB.js → D0g6v2_u.js} +1 -1
- package/web/app/immutable/chunks/{IF38I4hJ.js → D1FSU9Gk.js} +1 -1
- package/web/app/immutable/chunks/{DP_4YjFn.js → D1Vat_ZV.js} +1 -1
- package/web/app/immutable/chunks/{C0w-ozGP.js → D3rVaYU0.js} +1 -1
- package/web/app/immutable/chunks/{CNrMRWtA.js → D4LnecGU.js} +2 -2
- package/web/app/immutable/chunks/{CfrI0flQ.js → D5kZvSPC.js} +1 -1
- package/web/app/immutable/chunks/{CGa_N4XN.js → D9H2UCuG.js} +1 -1
- package/web/app/immutable/chunks/{DhFCUcs_.js → DAwOD17b.js} +1 -1
- package/web/app/immutable/chunks/{DW6bFMyN.js → DC3pczce.js} +1 -1
- package/web/app/immutable/chunks/{9JxkPVF4.js → DD4-FHBp.js} +1 -1
- package/web/app/immutable/chunks/{LOqiMc_U.js → DHBQy6St.js} +1 -1
- package/web/app/immutable/chunks/{CGyzoULR.js → DHbwKi-E.js} +2 -2
- package/web/app/immutable/chunks/{CK1KGIDF.js → DQTzZEWU.js} +2 -2
- package/web/app/immutable/chunks/{Bx9jZIih.js → DVlYg0SZ.js} +3 -3
- package/web/app/immutable/chunks/{BPvTHi1E.js → DWWTsFh-.js} +1 -1
- package/web/app/immutable/chunks/{PRiKArA2.js → DXcrfgZH.js} +1 -1
- package/web/app/immutable/chunks/{CwzEnqS-.js → Db7PzaF_.js} +1 -1
- package/web/app/immutable/chunks/{BJ3gWX43.js → DjKDfA1m.js} +2 -2
- package/web/app/immutable/chunks/{jbEf1eyu.js → DkNdI_Wp.js} +1 -1
- package/web/app/immutable/chunks/{CWv2hgO9.js → DkgfeEA0.js} +1 -1
- package/web/app/immutable/chunks/{BpOARSV2.js → DlBKZ9jQ.js} +2 -2
- package/web/app/immutable/chunks/{Mq-KWmnJ.js → Ds8ezw9K.js} +1 -1
- package/web/app/immutable/chunks/{BSEFatJl.js → DsCJG1hb.js} +1 -1
- package/web/app/immutable/chunks/{Dr8wZpId.js → Dtqu7Pxg.js} +1 -1
- package/web/app/immutable/chunks/{LWmvlIUb.js → DuTju9rc.js} +1 -1
- package/web/app/immutable/chunks/{DJ5x8cvc.js → DvCS4TTw.js} +1 -1
- package/web/app/immutable/chunks/{HzX2dyQQ.js → DyIRpoZq.js} +1 -1
- package/web/app/immutable/chunks/{HtczSd2T.js → DzmdzUVi.js} +1 -1
- package/web/app/immutable/chunks/{DB-v9jra.js → MzfVdJbX.js} +1 -1
- package/web/app/immutable/chunks/{CY0JcuWq.js → OiHDtgNp.js} +1 -1
- package/web/app/immutable/chunks/{D_duQWml.js → QWfAA7k-.js} +1 -1
- package/web/app/immutable/chunks/{Bh3GosDM.js → TaZ6zGN1.js} +1 -1
- package/web/app/immutable/chunks/{CTRz9TAp.js → Tqm9-f9l.js} +1 -1
- package/web/app/immutable/chunks/{BffM0X9l.js → Vfi0Dmt8.js} +1 -1
- package/web/app/immutable/chunks/{DPVE_K_W.js → W67SWYQh.js} +1 -1
- package/web/app/immutable/chunks/{D3110at5.js → YhYmjxML.js} +1 -1
- package/web/app/immutable/chunks/{BCReWepB.js → aCDFJfWo.js} +1 -1
- package/web/app/immutable/chunks/{DtIte6Mn.js → aokikQw5.js} +47 -47
- package/web/app/immutable/chunks/{Dg8d6CfG.js → buVzC4lf.js} +1 -1
- package/web/app/immutable/chunks/{DfPFNZRA.js → c1DCm8IK.js} +1 -1
- package/web/app/immutable/chunks/{DnxaSjad.js → cU6Fqv3g.js} +1 -1
- package/web/app/immutable/chunks/{ChdfugfS.js → dGnsWF4N.js} +1 -1
- package/web/app/immutable/chunks/{DYUOfSUt.js → ivBdCvd6.js} +1 -1
- package/web/app/immutable/chunks/{DDJJ0r24.js → kbpbXlKS.js} +1 -1
- package/web/app/immutable/chunks/{Pyx0yui4.js → lZNvj_WH.js} +1 -1
- package/web/app/immutable/chunks/{Dd5fSdFI.js → rUCEwUE_.js} +1 -1
- package/web/app/immutable/chunks/{BM1o8cfq.js → t94_2IkW.js} +1 -1
- package/web/app/immutable/chunks/{DgcVHfLT.js → tSlfPnTD.js} +1 -1
- package/web/app/immutable/chunks/y2YthUTc.js +1 -0
- package/web/app/immutable/chunks/{DL8IL3dP.js → yTlZ1Sih.js} +1 -1
- package/web/app/immutable/entry/{app.0rhGzEA-.js → app.CYYj7JvH.js} +2 -2
- package/web/app/immutable/entry/start.BH_-Ros5.js +1 -0
- package/web/app/immutable/nodes/{0.7iTMX8MP.js → 0.vJoG8nTo.js} +1 -1
- package/web/app/immutable/nodes/{1.BwagR4s9.js → 1.Di6AbyQm.js} +1 -1
- package/web/app/immutable/nodes/{10.DuZeAxuV.js → 10.BkazfxT8.js} +16 -16
- package/web/app/immutable/nodes/{11.D7qyNhVk.js → 11.Ck_7PTgk.js} +4 -4
- package/web/app/immutable/nodes/{15.De8ZpDZ1.js → 15.DWwqZzAg.js} +1 -1
- package/web/app/immutable/nodes/{19.Df09vK0B.js → 19.CjDPuA-n.js} +2 -2
- package/web/app/immutable/nodes/{2.Dlt4LRYB.js → 2.B7bl9OWL.js} +4 -4
- package/web/app/immutable/nodes/{3.PjliZTHk.js → 3.CY1Mye6q.js} +1 -1
- package/web/app/immutable/nodes/{4.OFyddHWG.js → 4.sNrk6dxf.js} +1 -1
- package/web/app/immutable/nodes/{5.C7naJyKP.js → 5.BrOibHKo.js} +1 -1
- package/web/app/immutable/nodes/{6.k4q9sApB.js → 6.BVYLHxv3.js} +1 -1
- package/web/app/immutable/nodes/{7.C4plvmUt.js → 7.BZ0ZLzU_.js} +1 -1
- package/web/app/immutable/nodes/{8.tv1szX_U.js → 8.BNlg4qDc.js} +1 -1
- package/web/app/immutable/nodes/{9.gOkUPoOT.js → 9.C8X38wWW.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/Ct4BiqZH.js +0 -2
- package/web/app/immutable/chunks/D9WrKwE8.js +0 -1
- package/web/app/immutable/chunks/DbaZdUr0.js +0 -1
- package/web/app/immutable/chunks/tm_HKw3E.js +0 -2
- package/web/app/immutable/entry/start.piZarN4f.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./AeC4KVgG.js";import{g as dC}from"./BdWqymET.js";import{aR as bs}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D9H2UCuG.js","/app/immutable/chunks/t94_2IkW.js","/app/immutable/chunks/6d4Jv8Hz.js","/app/immutable/chunks/AeC4KVgG.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BAgFsuQz.js","/app/immutable/chunks/DC3pczce.js","/app/immutable/chunks/5NiJCy7J.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/1EW4b83o.js","/app/immutable/chunks/dGnsWF4N.js","/app/immutable/chunks/D0g6v2_u.js","/app/immutable/chunks/kbpbXlKS.js","/app/immutable/chunks/CgS1Dv_8.js","/app/immutable/chunks/DHBQy6St.js","/app/immutable/chunks/B0JbhmMb.js","/app/immutable/chunks/BEyxbMng.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BkzMrEqG.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/Bd1FsnP3.js","/app/immutable/chunks/Dp2nUoTL.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DWPd-rzt.js","/app/immutable/chunks/Ci7mS1ie.js","/app/immutable/chunks/ZcoUa9Jg.js","/app/immutable/chunks/k2awEenT.js","/app/immutable/chunks/DrHJ7oPv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CswzK9Go.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/jhNNYE0v.js","/app/immutable/chunks/Cwla-sl1.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/Dz2z231n.js","/app/immutable/chunks/DWUO9rBe.js","/app/immutable/chunks/DkNdI_Wp.js","/app/immutable/chunks/BbV7MtxC.js","/app/immutable/chunks/DJM6amHV.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/HftJbvyF.js","/app/immutable/chunks/BNODdf6r.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DsyH2ZOJ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CbSeeP7P.js","/app/immutable/chunks/DTWXK3Yd.js","/app/immutable/chunks/96DwTK9j.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/dxPehZVa.js","/app/immutable/chunks/DwQfkcIA.js","/app/immutable/chunks/CAYSf4zc.js","/app/immutable/chunks/CZ-8NDq0.js","/app/immutable/chunks/R1d5Y9eD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CD7PpB6R.js","/app/immutable/chunks/BV4GrhSx.js","/app/immutable/chunks/Vfi0Dmt8.js","/app/immutable/chunks/D5kZvSPC.js","/app/immutable/chunks/CjorBqRt.js","/app/immutable/chunks/CpY-WDD9.js","/app/immutable/chunks/C_z20mJT.js","/app/immutable/chunks/DAwOD17b.js","/app/immutable/chunks/CfNfee-Y.js","/app/immutable/chunks/DzmdzUVi.js","/app/immutable/chunks/BskEvHZa.js","/app/immutable/chunks/Ds8ezw9K.js","/app/immutable/chunks/Big1YQpq.js","/app/immutable/chunks/C-Qm3bfA.js","/app/immutable/chunks/Db7PzaF_.js","/app/immutable/chunks/BGOuxFsr.js","/app/immutable/chunks/CrLichOk.js","/app/immutable/chunks/CpBPE3-0.js","/app/immutable/chunks/BD9wTbmm.js","/app/immutable/chunks/BG4tBRsm.js","/app/immutable/chunks/CkVsI2Jc.js","/app/immutable/chunks/DyIRpoZq.js","/app/immutable/chunks/buVzC4lf.js","/app/immutable/chunks/B9tRD7MQ.js","/app/immutable/chunks/BKw6wLyE.js","/app/immutable/chunks/BOSMtVmb.js","/app/immutable/chunks/DuTju9rc.js","/app/immutable/chunks/CyQJi5fM.js","/app/immutable/chunks/OiHDtgNp.js","/app/immutable/chunks/BPRz9VyT.js","/app/immutable/chunks/-7du9lfn.js","/app/immutable/chunks/BSM5O6JV.js","/app/immutable/chunks/B2ns9OTA.js","/app/immutable/chunks/QWfAA7k-.js","/app/immutable/chunks/aCDFJfWo.js","/app/immutable/chunks/BeLtysng.js","/app/immutable/chunks/tSlfPnTD.js","/app/immutable/chunks/8HLudOb-.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var lC=Object.defineProperty;var cC=(e,t,r)=>t in e?lC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var xr=(e,t,r)=>cC(e,typeof t!="symbol"?t+"":t,r);import{_ as Ve,t as Oo,bo as He,bm as je,bw as Do,b as Ro,bp as hC}from"./AeC4KVgG.js";import{g as dC}from"./BdWqymET.js";import{aR as bs}from"./B0JbhmMb.js";import{b7 as uC,cc as fC,bs as No,a7 as Ko,ay as ui,aD as A,bS as We,be as en,b$ as rl,b_ as cr,bO as br,W as ge,c9 as Dt,bn as qo,aA as _e,aB as ar,bk as hd,bH as gt,ca as Bo,c5 as pl,a5 as qe,bA as $e,bV as ce,bl as Tr,c0 as Th,aC as pi,aw as ml,a as Wu,bj as Np,br as wi,cb as gC,bf as pC}from"./CJxGDkBm.js";import{i as yr}from"./k2awEenT.js";import{h as zu}from"./BigcqNWS.js";import{f as co,s as fe,b as qp,c as Wp,g as Xa}from"./DrHJ7oPv.js";import{b as no}from"./NtFyWdpR.js";import{c as mC}from"./ChTqQfQN.js";import{d3 as yC,cV as xC,F as dn,aL as bC,ba as zp,m as CC,n as wC,f as kC,j as SC,x as Hu,u as Yu,h as vC,G as MC,P as TC,s as BC,N as _C,r as LC,k as AC,D as Xu,H as FC,U as $C,aw as EC,ax as PC,aX as IC}from"./Ci7mS1ie.js";import{f as Ja,ae as OC}from"./DJM6amHV.js";import"./jhNNYE0v.js";import{M as DC,Z as RC}from"./MzfVdJbX.js";import{p as rn,h as NC,d as qC,S as WC,e as zC,g as ya,i as ju}from"./CswzK9Go.js";import{c as HC}from"./BbIcudMY.js";import{k as Hp}from"./HftJbvyF.js";import{n as To,h as Gu,t as Is,d as Uu}from"./DsyH2ZOJ.js";import{c as fa}from"./ZcoUa9Jg.js";import{e as YC}from"./C4xwE0yj.js";import{t as XC}from"./DAsc1V4f.js";import{s as il}from"./Dp2nUoTL.js";import{H as jC}from"./CCnGCUBh.js";import{s as Vu,a as GC}from"./BsieX9dN.js";import{K as UC}from"./CkCQ3HCp.js";import{b as VC,a as ZC,M as KC}from"./-6dzlBdM.js";import{M as Cc}from"./CkHTSBAH.js";import"./Bw3fY4XA.js";import{u as wo}from"./BbV7MtxC.js";import"./BNODdf6r.js";import"./BkzMrEqG.js";import{bK as QC}from"./DkNdI_Wp.js";function JC(e,t){uC(window,["resize"],()=>fC(()=>t(window[e])))}var Yp=Object.defineProperty,C=(e,t)=>Yp(e,"name",{value:t,configurable:!0}),t2=(e,t)=>{for(var r in t)Yp(e,r,{get:t[r],enumerable:!0})};function Xp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}C(Xp,"getDefaultExportFromCjs");var ei={},Pn={},Xo={},Zu;function Ts(){if(Zu)return Xo;Zu=1;function e(s){return typeof s>"u"||s===null}C(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}C(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}C(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}C(i,"extend");function o(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}C(o,"repeat");function a(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return C(a,"isNegativeZero"),Xo.isNothing=e,Xo.isObject=t,Xo.toArray=r,Xo.repeat=o,Xo.isNegativeZero=a,Xo.extend=i,Xo}C(Ts,"requireCommon");var wc,Ku;function Bs(){if(Ku)return wc;Ku=1;function e(r,i){let o="";const a=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(o+='in "'+r.mark.name+'" '),o+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(o+=`
|
|
3
3
|
|
|
4
4
|
`+r.mark.snippet),a+" "+o):a}C(e,"formatError");function t(r,i){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=i,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return C(t,"YAMLException2"),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=C(function(i){return this.name+": "+e(this,i)},"toString"),wc=t,wc}C(Bs,"requireException");var kc,Qu;function jp(){if(Qu)return kc;Qu=1;const e=Ts();function t(o,a,s,n,l){let c="",h="";const d=Math.floor(l/2)-1;return n-a>d&&(c=" ... ",a=n-d+c.length),s-n>d&&(h=" ...",s=n+d-h.length),{str:c+o.slice(a,s).replace(/\t/g,"→")+h,pos:n-a+c.length}}C(t,"getLine");function r(o,a){return e.repeat(" ",a-o.length)+o}C(r,"padStart");function i(o,a){if(a=Object.create(a||null),!o.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);const s=/\r?\n|\r|\0/g,n=[0],l=[];let c,h=-1;for(;c=s.exec(o.buffer);)l.push(c.index),n.push(c.index+c[0].length),o.position<=c.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);let d="";const u=Math.min(o.line+a.linesAfter,l.length).toString().length,f=a.maxLength-(a.indent+u+3);for(let p=1;p<=a.linesBefore&&!(h-p<0);p++){const m=t(o.buffer,n[h-p],l[h-p],o.position-(n[h]-n[h-p]),f);d=e.repeat(" ",a.indent)+r((o.line-p+1).toString(),u)+" | "+m.str+`
|
|
5
5
|
`+d}const g=t(o.buffer,n[h],l[h],o.position,f);d+=e.repeat(" ",a.indent)+r((o.line+1).toString(),u)+" | "+g.str+`
|
|
@@ -298,8 +298,8 @@ ${a.join(`
|
|
|
298
298
|
L0,20`)},"requirement_arrow"),lL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
299
299
|
L20,10
|
|
300
300
|
M20,10
|
|
301
|
-
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./CGa_N4XN.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./DU2T1Vdb.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./DW6bFMyN.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./i9Ai-esv.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var $P=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",EP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,L=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(L,d-1)==58?(x++,L+="("):L+=hh(b);break;case 41:x--,L+=")";break;case 34:case 39:case 91:L+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){L+=hn(b);break}L+=FL(g);break;case 92:L+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(L)&&ks(L,-1,void 0)!==" "&&(L+=" ");break;default:L+="/"}break;case 123*p:n[c++]=oo(L)*y;case 125*p:case 59:case 0:if(x>0&&b){L+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(L=ed(L,/\f/g,"")),f>0&&(oo(L)-d||p===0)&&jn(f>32?sp(L+";",i,r,d-1,l):sp(ed(L," ","")+";",i,r,d-2,l),l);break;case 59:L+=";";default:if(jn(_=ap(L,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(L,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(L,3)===110)break;case 108:if(is(L,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(L,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=L="",d=s;break;case 58:d=1+oo(L),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(L+=hn(b),b*p){case 38:y=h>0?1:(L+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(L)-1)*y,y=1;break;case 64:Vo()===45&&(L+=hh(ji())),u=Vo(),h=d=oo(S=L+=PL(fl())),b++;break;case 45:g===45&&oo(L)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BAyBEEFm.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BAL5XTLB.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BffM0X9l.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CfrI0flQ.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D39Rrj4Y.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DlZbnYcc.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./HtczSd2T.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Mq-KWmnJ.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CD3p1vYG.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BYx2Y144.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CwzEnqS-.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BzTKzuhn.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BSQOiuf7.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./ZWDSGAzi.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DMHNxEyN.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BdcgINI4.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
|
|
302
|
-
`);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BAL5XTLB.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./NAsYJxQg.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./C1d-f55y.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./HzX2dyQQ.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Dg8d6CfG.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./q3oLC86w.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bmmvebpd.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./8C8OyL-H.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./LWmvlIUb.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CtoSWfC3.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CY0JcuWq.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BVV3fM7W.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BSEFatJl.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DHQj_UCz.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./iDIfJ3iV.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Dxv3G1Mb.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CigwWVbR.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D_duQWml.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./wuYAM5lX.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DgcVHfLT.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BTYFFiiL.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
|
|
301
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),cL=C((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),hL=C((e,t,r)=>{const i=Ar(),{themeVariables:o}=i,{strokeWidth:a}=o,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),dL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),uL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),fL=C((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),gL={extension:H_,composition:Y_,aggregation:X_,dependency:j_,lollipop:G_,point:U_,circle:V_,cross:Z_,barb:K_,barbNeo:Q_,hierarchy:dL,only_one:J_,zero_or_one:tL,one_or_more:eL,zero_or_more:rL,only_one_neo:iL,zero_or_one_neo:oL,one_or_more_neo:aL,zero_or_more_neo:sL,requirement_arrow:nL,requirement_contains:cL,requirement_arrow_neo:lL,requirement_contains_neo:hL,openArrow:uL,hollowCircle:fL},pL=z_,mL={common:kn,getConfig:Ar,insertCluster:UB,insertEdge:W_,insertEdgeLabel:E_,insertMarkers:pL,insertNode:eb,interpolateToCurve:Vd,labelHelper:he,log:Lt,positionEdgeLabel:I_},yL=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],mn=Object.create(null),Cb=C(e=>{for(const t of e)mn[t.name]=t},"registerLayoutLoaders"),xL=C(()=>{const e=C(async()=>await Ve(()=>import("./D9H2UCuG.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...yL.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),bL=C(()=>{Cb([{name:"dagre",loader:C(async()=>await Ve(()=>import("./BAgFsuQz.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:C(async()=>await Ve(()=>import("./DC3pczce.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:C(async()=>await Ve(()=>import("./5NiJCy7J.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...xL()])},"registerDefaultLayoutLoaders");bL();var $P=C(async(e,t)=>{if(!Object.hasOwn(mn,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const a of e.nodes){const s=a.domId||a.id;a.domId=`${e.diagramId}-${s}`}const r=mn[e.layoutAlgorithm],i=await r.loader();a2(t,e.config);const o=await i.render(e,t,mL,{algorithm:r.algorithm});return B_(t.node()),o},"render"),ch="dagre",EP=C((e="",{fallback:t=ch}={})=>{if(Object.hasOwn(mn,e))return e;for(const r of[t,ch])if(Object.hasOwn(mn,r))return Lt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${ch} is registered.`)},"getRegisteredLayoutAlgorithm"),CL=C(e=>{const{securityLevel:t}=Ge();let r=Ye("body");if(t==="sandbox"){const a=Ye(`#i${e}`).node()?.contentDocument??document;r=Ye(a.body)}return r.select(`#${e}`)},"selectSvgElement"),ku="comm",wb="rule",kb="decl",wL="@media",kL="@import",SL="@supports",vL="@namespace",td="@keyframes",Sb="@layer",ML="@scope",TL=Math.abs,hn=String.fromCharCode;function vb(e){return e.trim()}function ed(e,t,r){return e.replace(t,r)}function is(e,t){return e.charCodeAt(t)|0}function ks(e,t,r){return e.slice(t,r)}function oo(e){return e.length}function Mb(e){return e.length}function jn(e,t){return t.push(e),e}var cc=1,Ss=1,Tb=0,Ii=0,qr=0,Fs="";function Su(e,t,r,i,o,a,s,n){return{value:e,root:t,parent:r,type:i,props:o,children:a,line:cc,column:Ss,length:s,return:"",siblings:n}}function BL(){return qr}function _L(){return qr=Ii>0?is(Fs,--Ii):0,Ss--,qr===10&&(Ss=1,cc--),qr}function ji(){return qr=Ii<Tb?is(Fs,Ii++):0,Ss++,qr===10&&(Ss=1,cc++),qr}function Vo(){return is(Fs,Ii)}function fl(){return Ii}function hc(e,t){return ks(Fs,e,t)}function yn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function LL(e){return cc=Ss=1,Tb=oo(Fs=e),Ii=0,[]}function AL(e){return Fs="",e}function hh(e){return vb(hc(Ii-1,rd(e===91?e+2:e===40?e+1:e)))}function FL(e){for(;(qr=Vo())&&qr<33;)ji();return yn(e)>2||yn(qr)>3?"":" "}function $L(e,t){for(;--t&&ji()&&!(qr<48||qr>102||qr>57&&qr<65||qr>70&&qr<97););return hc(e,fl()+(t<6&&Vo()==32&&ji()==32))}function rd(e){for(;ji();)switch(qr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&rd(qr);break;case 40:e===41&&rd(e);break;case 92:ji();break}return Ii}function EL(e,t){for(;ji()&&e+qr!==57;)if(e+qr===84&&Vo()===47)break;return"/*"+hc(t,Ii-1)+"*"+hn(e===47?e:ji())}function PL(e){for(;!yn(Vo());)ji();return hc(e,Ii)}function IL(e){return AL(gl("",null,null,null,[""],e=LL(e),0,[0],e))}function gl(e,t,r,i,o,a,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,g=0,p=1,m=1,y=1,x=0,b=0,S="",T=o,k=a,_=i,L=S;m;)switch(g=b,b=ji()){case 40:g!=108&&is(L,d-1)==58?(x++,L+="("):L+=hh(b);break;case 41:x--,L+=")";break;case 34:case 39:case 91:L+=hh(b);break;case 9:case 10:case 13:case 32:if(x>0){L+=hn(b);break}L+=FL(g);break;case 92:L+=$L(fl()-1,7);continue;case 47:switch(Vo()){case 42:case 47:jn(OL(EL(ji(),fl()),t,r,l),l),(yn(g||1)==5||yn(Vo()||1)==5)&&oo(L)&&ks(L,-1,void 0)!==" "&&(L+=" ");break;default:L+="/"}break;case 123*p:n[c++]=oo(L)*y;case 125*p:case 59:case 0:if(x>0&&b){L+=hn(b);break}switch(b){case 0:case 125:m=0;case 59+h:y==-1&&(L=ed(L,/\f/g,"")),f>0&&(oo(L)-d||p===0)&&jn(f>32?sp(L+";",i,r,d-1,l):sp(ed(L," ","")+";",i,r,d-2,l),l);break;case 59:L+=";";default:if(jn(_=ap(L,t,r,c,h,o,n,S,T=[],k=[],d,a),a),b===123)if(h===0)gl(L,t,_,_,T,a,d,n,k);else{switch(u){case 99:if(is(L,3)===110)break;case 108:if(is(L,2)===97)break;default:h=0;case 100:case 109:case 115:}h?gl(e,_,_,i&&jn(ap(e,_,_,0,0,o,n,S,o,T=[],d,k),k),o,k,d,n,i?T:k):gl(L,_,_,_,[""],k,0,n,k)}}c=h=f=0,p=y=1,S=L="",d=s;break;case 58:d=1+oo(L),f=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&_L()==125)continue}switch(L+=hn(b),b*p){case 38:y=h>0?1:(L+="\f",-1);break;case 44:if(x>0)break;n[c++]=(oo(L)-1)*y,y=1;break;case 64:Vo()===45&&(L+=hh(ji())),u=Vo(),h=d=oo(S=L+=PL(fl())),b++;break;case 45:g===45&&oo(L)==2&&(p=0)}}return a}function ap(e,t,r,i,o,a,s,n,l,c,h,d){for(var u=o-1,f=o===0?a:[""],g=Mb(f),p=0,m=0,y=0;p<i;++p)for(var x=0,b=ks(e,u+1,u=TL(m=s[p])),S=e;x<g;++x)(S=vb(m>0?f[x]+" "+b:ed(b,/&\f/g,f[x])))&&(l[y++]=S);return Su(e,t,r,o===0?wb:n,l,c,h,d)}function OL(e,t,r,i){return Su(e,t,r,ku,hn(BL()),ks(e,2,-2),0,i)}function sp(e,t,r,i,o){return Su(e,t,r,kb,ks(e,0,i),ks(e,i+1,-1),i,o)}function id(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function DL(e,t,r,i){switch(e.type){case Sb:if(e.children.length)break;case kL:case vL:case kb:return e.return=e.return||e.value;case ku:return"";case td:return e.return=e.value+"{"+id(e.children,i)+"}";case wb:if(!oo(e.value=e.props.join(",")))return""}return oo(r=id(e.children,i))?e.return=e.value+"{"+r+"}":""}function RL(e){var t=Mb(e);return function(r,i,o,a){for(var s="",n=0;n<t;n++)s+=e[n](r,i,o,a)||"";return s}}var Bb="c4",NL=C(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),qL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./1EW4b83o.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:Bb,diagram:e}},"loader"),WL={id:Bb,detector:NL,loader:qL},zL=WL,_b="flowchart-v2",HL=C(e=>/^\s*(graph|flowchart)/.test(e),"detector"),YL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D0g6v2_u.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:_b,diagram:e}},"loader"),XL={id:_b,detector:HL,loader:YL},jL=XL,Lb="agentflow",GL=C(e=>/^\s*agentflow-beta\b/.test(e),"detector"),UL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Vfi0Dmt8.js");return{diagram:t}},__vite__mapDeps([63,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Lb,diagram:e}},"loader"),VL={id:Lb,detector:GL,loader:UL},ZL=VL,Ab="swimlane",KL=C(e=>/^\s*swimlane-beta\b/.test(e),"detector"),QL=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D5kZvSPC.js");return{diagram:t}},__vite__mapDeps([64,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Ab,diagram:e}},"loader"),JL={id:Ab,detector:KL,loader:QL},tA=JL,Fb="er",eA=C(e=>/^\s*erDiagram/.test(e),"detector"),rA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CjorBqRt.js");return{diagram:t}},__vite__mapDeps([65,15,16]),import.meta.url);return{id:Fb,diagram:e}},"loader"),iA={id:Fb,detector:eA,loader:rA},oA=iA,$b="gitGraph",aA=C(e=>/^\s*gitGraph/.test(e),"detector"),sA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CpY-WDD9.js");return{diagram:t}},__vite__mapDeps([66,67,68,69,3,4]),import.meta.url);return{id:$b,diagram:e}},"loader"),nA={id:$b,detector:aA,loader:sA},lA=nA,Eb="gantt",cA=C(e=>/^\s*gantt/.test(e),"detector"),hA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DzmdzUVi.js");return{diagram:t}},__vite__mapDeps([70,6,71]),import.meta.url);return{id:Eb,diagram:e}},"loader"),dA={id:Eb,detector:cA,loader:hA},uA=dA,Pb="info",fA=C(e=>/^\s*info/.test(e),"detector"),gA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Ds8ezw9K.js");return{diagram:t}},__vite__mapDeps([72,69,3,4]),import.meta.url);return{id:Pb,diagram:e}},"loader"),pA={id:Pb,detector:fA,loader:gA},Ib="pie",mA=C(e=>/^\s*pie/.test(e),"detector"),yA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Big1YQpq.js");return{diagram:t}},__vite__mapDeps([73,68,69,3,4,71]),import.meta.url);return{id:Ib,diagram:e}},"loader"),xA={id:Ib,detector:mA,loader:yA},Ob="quadrantChart",bA=C(e=>/^\s*quadrantChart/.test(e),"detector"),CA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./C-Qm3bfA.js");return{diagram:t}},__vite__mapDeps([74,71]),import.meta.url);return{id:Ob,diagram:e}},"loader"),wA={id:Ob,detector:bA,loader:CA},kA=wA,Db="xychart",SA=C(e=>/^\s*xychart(-beta)?/.test(e),"detector"),vA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Db7PzaF_.js");return{diagram:t}},__vite__mapDeps([75,71]),import.meta.url);return{id:Db,diagram:e}},"loader"),MA={id:Db,detector:SA,loader:vA},TA=MA,Rb="requirement",BA=C(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),_A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BGOuxFsr.js");return{diagram:t}},__vite__mapDeps([76,15,16]),import.meta.url);return{id:Rb,diagram:e}},"loader"),LA={id:Rb,detector:BA,loader:_A},AA=LA,Nb="sequence",FA=C(e=>/^\s*sequenceDiagram/.test(e),"detector"),$A=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CrLichOk.js");return{diagram:t}},__vite__mapDeps([77,67,12]),import.meta.url);return{id:Nb,diagram:e}},"loader"),EA={id:Nb,detector:FA,loader:$A},PA=EA,qb="classDiagram",IA=C(e=>/^\s*classDiagram/.test(e),"detector"),OA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CpBPE3-0.js");return{diagram:t}},__vite__mapDeps([78,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:qb,diagram:e}},"loader"),DA={id:qb,detector:IA,loader:OA},RA=DA,Wb="stateDiagram",NA=C(e=>/^\s*stateDiagram/.test(e),"detector"),qA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BD9wTbmm.js");return{diagram:t}},__vite__mapDeps([79,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Wb,diagram:e}},"loader"),WA={id:Wb,detector:NA,loader:qA},zA=WA,zb="journey",HA=C(e=>/^\s*journey/.test(e),"detector"),YA=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BG4tBRsm.js");return{diagram:t}},__vite__mapDeps([80,14,12]),import.meta.url);return{id:zb,diagram:e}},"loader"),XA={id:zb,detector:HA,loader:YA},jA=XA,Gn=4,Hs=75,GA=C(e=>{const t=[];for(const o of e.split(/\s+/)){let a=[...o];for(;a.length>Hs;)t.push(a.slice(0,Hs).join("")),a=a.slice(Hs);a.length>0&&t.push(a.join(""))}const r=[];let i="";for(const o of t){const a=i?`${i} ${o}`:o;[...a].length>Hs?(r.push(i),i=o):i=a}if(i&&r.push(i),r.length>Gn){r.length=Gn;const o=r[Gn-1]??"";r[Gn-1]=`${[...o].slice(0,Hs-3).join("")}...`}return r},"wrapErrorMessage"),UA=C((e,t,r,i)=>{Lt.debug(`rendering svg for syntax error
|
|
302
|
+
`);const o=CL(t),a=o.append("g"),s=GA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;o.attr("viewBox",`0 0 2412 ${n}`),um(o,100,n,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{a.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),Hb={draw:UA},VA=Hb,dh,ZA={clear(){dh=void 0},setErrorMessage(e){dh=e},getErrorMessage(){return dh}},KA={db:ZA,renderer:Hb,parser:{parse:C(()=>{},"parse")}},QA=KA,Yb="flowchart-elk",JA=C((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),t5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./D0g6v2_u.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,6,53,54,55,56,57,58,59,60,61,62]),import.meta.url);return{id:Yb,diagram:e}},"loader"),e5={id:Yb,detector:JA,loader:t5},r5=e5,Xb="timeline",i5=C(e=>/^\s*timeline/.test(e),"detector"),o5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BbIMIfqX.js");return{diagram:t}},[],import.meta.url);return{id:Xb,diagram:e}},"loader"),a5={id:Xb,detector:i5,loader:o5},s5=a5,jb="mindmap",n5=C(e=>/^\s*mindmap/.test(e),"detector"),l5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CkVsI2Jc.js");return{diagram:t}},__vite__mapDeps([81,15,16]),import.meta.url);return{id:jb,diagram:e}},"loader"),c5={id:jb,detector:n5,loader:l5},h5=c5,Gb="kanban",d5=C(e=>/^\s*kanban/.test(e),"detector"),u5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DyIRpoZq.js");return{diagram:t}},__vite__mapDeps([82,14]),import.meta.url);return{id:Gb,diagram:e}},"loader"),f5={id:Gb,detector:d5,loader:u5},g5=f5,Ub="sankey",p5=C(e=>/^\s*sankey(-beta)?/.test(e),"detector"),m5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./buVzC4lf.js");return{diagram:t}},__vite__mapDeps([83,71]),import.meta.url);return{id:Ub,diagram:e}},"loader"),y5={id:Ub,detector:p5,loader:m5},x5=y5,Vb="packet",b5=C(e=>/^\s*packet(-beta)?/.test(e),"detector"),C5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B9tRD7MQ.js");return{diagram:t}},__vite__mapDeps([84,68,69,3,4]),import.meta.url);return{id:Vb,diagram:e}},"loader"),w5={id:Vb,detector:b5,loader:C5},Zb="radar",k5=C(e=>/^\s*radar-beta/.test(e),"detector"),S5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BKw6wLyE.js");return{diagram:t}},__vite__mapDeps([85,68,69,3,4]),import.meta.url);return{id:Zb,diagram:e}},"loader"),v5={id:Zb,detector:k5,loader:S5},Kb="block",M5=C(e=>/^\s*block(-beta)?/.test(e),"detector"),T5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BOSMtVmb.js");return{diagram:t}},__vite__mapDeps([86,14,5]),import.meta.url);return{id:Kb,diagram:e}},"loader"),B5={id:Kb,detector:M5,loader:T5},_5=B5,Qb="treeView",L5=C(e=>/^\s*treeView-beta/.test(e),"detector"),A5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DuTju9rc.js");return{diagram:t}},__vite__mapDeps([87,67,68,69,3,4]),import.meta.url);return{id:Qb,diagram:e}},"loader"),F5={id:Qb,detector:L5,loader:A5},$5=F5,Jb="architecture",E5=C(e=>/^\s*architecture/.test(e),"detector"),P5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./CyQJi5fM.js");return{diagram:t}},__vite__mapDeps([88,68,69,3,4,10,6]),import.meta.url);return{id:Jb,diagram:e}},"loader"),I5={id:Jb,detector:E5,loader:P5},O5=I5,t1="eventmodeling",D5=C(e=>/^\s*eventmodeling/.test(e),"detector"),R5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./OiHDtgNp.js");return{diagram:t}},__vite__mapDeps([89,68,69,3,4]),import.meta.url);return{id:t1,diagram:e}},"loader"),N5={id:t1,detector:D5,loader:R5},q5=N5,e1="ishikawa",W5=C(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),z5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./Bya2sQrR.js");return{diagram:t}},[],import.meta.url);return{id:e1,diagram:e}},"loader"),H5={id:e1,detector:W5,loader:z5},r1="venn",Y5=C(e=>/^\s*venn-beta/.test(e),"detector"),X5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./DsCJG1hb.js");return{diagram:t}},[],import.meta.url);return{id:r1,diagram:e}},"loader"),j5={id:r1,detector:Y5,loader:X5},G5=j5,i1="treemap",U5=C(e=>/^\s*treemap/.test(e),"detector"),V5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BPRz9VyT.js");return{diagram:t}},__vite__mapDeps([90,16,68,69,3,4,71]),import.meta.url);return{id:i1,diagram:e}},"loader"),Z5={id:i1,detector:U5,loader:V5},o1="usecase",K5=C(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),Q5=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./-7du9lfn.js");return{diagram:t}},__vite__mapDeps([91,15,16]),import.meta.url);return{id:o1,diagram:e}},"loader"),J5={id:o1,detector:K5,loader:Q5},a1="wardley",tF=C(e=>/^\s*wardley-beta/i.test(e),"detector"),eF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BSM5O6JV.js");return{diagram:t}},__vite__mapDeps([92,68,69,3,4]),import.meta.url);return{id:a1,diagram:e}},"loader"),rF={id:a1,detector:tF,loader:eF},iF=rF,s1="cynefin",oF=C(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),aF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./B2ns9OTA.js");return{diagram:t}},__vite__mapDeps([93,68,69,3,4]),import.meta.url);return{id:s1,diagram:e}},"loader"),sF={id:s1,detector:oF,loader:aF},n1="railroad",nF=C(e=>/^\s*railroad-beta/i.test(e),"detector"),lF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./QWfAA7k-.js");return{diagram:t}},__vite__mapDeps([94,95,68,69,3,4]),import.meta.url);return{id:n1,diagram:e}},"loader"),cF={id:n1,detector:nF,loader:lF},l1="railroadEbnf",hF=C(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),dF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./BeLtysng.js");return{diagram:t}},__vite__mapDeps([96,95,68,69,3,4]),import.meta.url);return{id:l1,diagram:e}},"loader"),uF={id:l1,detector:hF,loader:dF},c1="railroadAbnf",fF=C(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),gF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./tSlfPnTD.js");return{diagram:t}},__vite__mapDeps([97,95,68,69,3,4]),import.meta.url);return{id:c1,diagram:e}},"loader"),pF={id:c1,detector:fF,loader:gF},h1="railroadPeg",mF=C(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),yF=C(async()=>{const{diagram:e}=await Ve(async()=>{const{diagram:t}=await import("./8HLudOb-.js");return{diagram:t}},__vite__mapDeps([98,95,68,69,3,4]),import.meta.url);return{id:h1,diagram:e}},"loader"),xF={id:h1,detector:mF,loader:yF},np=!1,dc=C(()=>{np||(np=!0,Sl("error",QA,e=>e.toLowerCase().trim()==="error"),Sl("---",{db:{clear:C(()=>{},"clear")},styles:{},renderer:{draw:C(()=>{},"draw")},parser:{parse:C(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:C(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),Bh(r5,h5,O5),Bh(ZL,zL,g5,RA,oA,uA,pA,xA,AA,PA,tA,jL,s5,lA,zA,jA,kA,x5,w5,TA,_5,q5,$5,v5,H5,Z5,cF,uF,pF,xF,G5,iF,sF,J5))},"addDiagrams"),bF=C(async()=>{Lt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Ta).map(async([r,{detector:i,loader:o}])=>{if(o)try{$h(r)}catch{try{const{diagram:a,id:s}=await o();Sl(s,a,i)}catch(a){throw Lt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Ta[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){Lt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Lt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),CF="graphics-document document";function d1(e,t){e.attr("role",CF),t!==""&&e.attr("aria-roledescription",t)}C(d1,"setA11yDiagramInfo");function u1(e,t,r,i){if(e.insert!==void 0){if(r){const o=`chart-desc-${i}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${i}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}C(u1,"addSVGa11yTitleDescription");var Ma,Xl=(Ma=class{constructor(t,r,i,o,a){this.type=t,this.text=r,this.db=i,this.parser=o,this.renderer=a}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,o=Ar(),a=Zl(i.cleaned,o);try{$h(a)}catch{const u=C2(a);if(!u)throw new Jp(`Diagram ${a} not found.`);const{id:f,diagram:g}=await u();Sl(f,g)}const{db:s,parser:n,renderer:l,init:c}=$h(a);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(o),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=o.maxTextSize??Ld.maxTextSize;i.withComments.length>u?Lt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=TM(h)+`
|
|
303
303
|
`;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await n.parse(d),new Ma(a,d,s,n,l)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},C(Ma,"Diagram"),Ma),lp=[],wF=C(()=>{lp.forEach(e=>{e()}),lp=[]},"attachFunctions"),kF=C(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function f1(e){const t=Qp(e);if(!t)return{text:e,metadata:{}};const r=t.indent,i=r?t.body.split(`
|
|
304
304
|
`).map(s=>s.startsWith(r)?s.slice(r.length):s).join(`
|
|
305
305
|
`):t.body;let o=o2(i,{schema:i2})??{};o=typeof o=="object"&&!Array.isArray(o)?o:{};const a={};return o.displayMode&&(a.displayMode=o.displayMode.toString()),o.title&&(a.title=o.title.toString()),o.config&&(a.config=o.config),{text:e.slice(t.length),metadata:a}}C(f1,"extractFrontMatter");var SF=C(e=>e.replace(/\r\n?/g,`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./AeC4KVgG.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as B,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as De,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./CJxGDkBm.js";import{i as z}from"./k2awEenT.js";import{g as $t}from"./CswzK9Go.js";import{s as We}from"./Dp2nUoTL.js";import{c as M}from"./ZcoUa9Jg.js";import{f as Pt,s as Le,b as At}from"./DrHJ7oPv.js";import{cJ as Et,bm as Ot,aL as Ft,F as ne,aY as Tt,aM as Dt,bn as Lt,a7 as Ve,av as Bt}from"./Ci7mS1ie.js";import{W as Nt,T as zt,G as Mt,C as St,X as Rt,J as Ht,V as Wt}from"./U9wdRsYI.js";import{f as ge}from"./DJM6amHV.js";import"./jhNNYE0v.js";import{D as Vt}from"./_x2gPTtU.js";import{M as Gt,R as jt,c as Jt,b as Kt,a as Xt}from"./B8UOKciv.js";import{k as ve}from"./DbaZdUr0.js";import{c as Yt}from"./ChTqQfQN.js";import"./BNODdf6r.js";import{IX as Ge,n4 as qt,FD as Ut}from"./BkzMrEqG.js";import{w as Qt}from"./DWPd-rzt.js";import{i as Y}from"./CbSeeP7P.js";import{b2 as Zt,aM as er,aK as tr}from"./jbEf1eyu.js";import{cn as rr}from"./BEyxbMng.js";import{t as or}from"./H2jLkRRS.js";import{M as je}from"./B-AWjR8f.js";const ar={cursor:St,ghostty:Mt,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Rt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Be="finder",lr={id:Be,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),q=O.filter(({installed:U,id:ye})=>U&&!se.has(ye));return q.some(({id:U})=>U===Be)||se.has(Be)?q:[...q,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ye,"$installedEditors$",ie),q=()=>me(qe,"$hiddenEditorIds$",ie),U=()=>me(Ue,"$isWorkspaceHostLocal$",ie),ye=()=>me(Xe,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=B(),p=_(u);M(p,()=>jt,(te,j)=>{j(te,{get value(){return t(v).id},children:(F,L)=>{var k=B(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var J=B(),h=_(J);{const $=a=>{var i=B(),y=_(i);{var R=l=>{var A=dr();W(()=>Le(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=B(),D=_(H);M(D,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(R):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());M(h,()=>Gt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,R)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=D=>{var K=ur(),re=oe(K,!0);W(()=>ae(re,t(c).shortcut)),r(D,K)};z(A,D=>{t(c).shortcut&&D(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Yt("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),V=b(s,"variant",7,"default"),Q=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Z=b(s,"inline",7,!1),G=b(s,"iconOnly",7,!1),S=b(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Xe=Zt(),Ye=er(Pe),qe=tr(),Ue=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(qt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,q()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Lt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Ze||!U()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Me=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await Y("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await Y("shell:showItemInFolder",{path:d});break;case"vscode":await Y("vscode:open",Ee());break;case"jetbrains":await Y("jetbrains:open",Ee());break;case"xcode":await Y("xcode:open",Ee());break;case"generic":default:{await Y("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Se(e){e.stopPropagation()}function tt(e){Ge.dispatch(Ut(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return G()},set iconOnly(e=!1){G(e),g()},get children(){return S()},set children(e=void 0){S(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Re=B(),ot=_(Re);{var at=e=>{var d=he(),u=_(d);{var p=j=>{var F=he(),L=_(F);M(L,()=>Xt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=_(h);M($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,R)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);M(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,R)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(L,2);M(k,()=>je,(T,C)=>{C(T,{})}),r(j,F)};z(u,j=>{t(fe).length&&j(p)})}var te=N(u,2);le(te,()=>t(Me)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,L)=>{let k=()=>(L?.()).props;var T=B(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,S),_e(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>G()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>G()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),R=o(()=>G()&&V()==="sidebar"&&t(ee)),m=o(()=>!G()),P=o(()=>G()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(R)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=B(),D=_(H);We(D,S),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Se,onkeydown:Se,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var D=_r(),K=_(D);{var re=w=>{var X=br();W(()=>{Le(X,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Le(X,"alt",t(v).label)}),r(w,X)},it=w=>{const X=o(()=>t(v).icon);var He=B(),pt=_(He);M(pt,()=>t(X),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let X=o(()=>Je(t(v).category));ne(w,{get icon(){return t(X)},class:"w-3.5 h-3.5 opacity-60"})}};z(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(K,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=N(i,2);{var R=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Bt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(R)})}_e(a),r(n,a)};z(C,n=>{Z()&&S()?n(c):S()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var L=hr(),k=be(L);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);M(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var J=N(C,2);le(J,()=>t(Me)),_e(L),r(F,L)};let j=o(()=>Z()&&S()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(j)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Z()&&S()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Re);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|
|
1
|
+
import{t as bt,bo as b,bw as _t,bq as gt,b as vt,bm as x,bs as me,br as Te}from"./AeC4KVgG.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as B,ay as _,W as r,bn as It,aA as g,aD as t,bS as N,a5 as be,bH as De,bA as _e,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./CJxGDkBm.js";import{i as z}from"./k2awEenT.js";import{g as $t}from"./CswzK9Go.js";import{s as We}from"./Dp2nUoTL.js";import{c as M}from"./ZcoUa9Jg.js";import{f as Pt,s as Le,b as At}from"./DrHJ7oPv.js";import{cJ as Et,bm as Ot,aL as Ft,F as ne,aY as Tt,aM as Dt,bn as Lt,a7 as Ve,av as Bt}from"./Ci7mS1ie.js";import{W as Nt,T as zt,G as Mt,C as St,X as Rt,J as Ht,V as Wt}from"./U9wdRsYI.js";import{f as ge}from"./DJM6amHV.js";import"./jhNNYE0v.js";import{D as Vt}from"./_x2gPTtU.js";import{M as Gt,R as jt,c as Jt,b as Kt,a as Xt}from"./B8UOKciv.js";import{m as ve}from"./BbV7MtxC.js";import{c as Yt}from"./ChTqQfQN.js";import"./BNODdf6r.js";import{IX as Ge,n4 as qt,FD as Ut}from"./BkzMrEqG.js";import{w as Qt}from"./DWPd-rzt.js";import{i as Y}from"./CbSeeP7P.js";import{b2 as Zt,aM as er,aK as tr}from"./DkNdI_Wp.js";import{cn as rr}from"./BEyxbMng.js";import{t as or}from"./H2jLkRRS.js";import{M as je}from"./B-AWjR8f.js";const ar={cursor:St,ghostty:Mt,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Ht,xcode:Rt};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Be="finder",lr={id:Be,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),q=O.filter(({installed:U,id:ye})=>U&&!se.has(ye));return q.some(({id:U})=>U===Be)||se.has(Be)?q:[...q,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),mr=E("<span><!></span>"),br=E('<img class="w-4 h-4"/>'),_r=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return bt({component:wr,...O});ht(s,!0);const se=()=>me(Ye,"$installedEditors$",ie),q=()=>me(qe,"$hiddenEditorIds$",ie),U=()=>me(Ue,"$isWorkspaceHostLocal$",ie),ye=()=>me(Xe,"$openAction",ie),[ie,Ke]=gt(),le=(e,d=kt)=>{var u=B(),p=_(u);M(p,()=>jt,(te,j)=>{j(te,{get value(){return t(v).id},children:(F,L)=>{var k=B(),T=_(k);$t(T,17,d,C=>C.id,(C,c)=>{var J=B(),h=_(J);{const $=a=>{var i=B(),y=_(i);{var R=l=>{var A=dr();W(()=>Le(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},m=l=>{const A=o(()=>t(c).icon);var H=B(),D=_(H);M(D,()=>t(A),(K,re)=>{re(K,{size:16})}),r(l,H)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};z(y,l=>{t(c).iconBase64?l(R):t(c).icon?l(m,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());M(h,()=>Gt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,R)=>{var m=pr(),P=_(m),l=oe(P,!0),A=N(P,2);{var H=D=>{var K=ur(),re=oe(K,!0);W(()=>ae(re,t(c).shortcut)),r(D,K)};z(A,D=>{t(c).shortcut&&D(H)})}W(()=>ae(l,t(c).label)),r(y,m)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Yt("OpenComboButton");let I=b(s,"filePath",7),ce=b(s,"workspaceId",7,""),de=b(s,"isDirectory",7,!0),we=b(s,"workspaceFolderPath",7),xe=b(s,"class",7,""),ue=b(s,"headerText",7),Ie=b(s,"usePortal",7,!0),ke=b(s,"side",7,"bottom"),V=b(s,"variant",7,"default"),Q=b(s,"branchName",7),Ce=b(s,"compact",7,!1),$e=b(s,"embedded",7,!1),Z=b(s,"inline",7,!1),G=b(s,"iconOnly",7,!1),S=b(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Xe=Zt(),Ye=er(Pe),qe=tr(),Ue=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(qt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,q()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Lt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Ze||!U()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Me=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await Y("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await Y("shell:showItemInFolder",{path:d});break;case"vscode":await Y("vscode:open",Ee());break;case"jetbrains":await Y("jetbrains:open",Ee());break;case"xcode":await Y("xcode:open",Ee());break;case"generic":default:{await Y("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Se(e){e.stopPropagation()}function tt(e){Ge.dispatch(Ut(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return G()},set iconOnly(e=!1){G(e),g()},get children(){return S()},set children(e=void 0){S(e),g()},$set:_t,$on:(e,d)=>vt(s,e,d)},Re=B(),ot=_(Re);{var at=e=>{var d=he(),u=_(d);{var p=j=>{var F=he(),L=_(F);M(L,()=>Xt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=_(h);M($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,R)=>{var m=fr(),P=oe(m,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,m)},$$slots:{default:!0}})});var n=N($,2);M(n,()=>Kt,(a,i)=>{i(a,{class:"w-60",children:(y,R)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=N(L,2);M(k,()=>je,(T,C)=>{C(T,{})}),r(j,F)};z(u,j=>{t(fe).length&&j(p)})}var te=N(u,2);le(te,()=>t(Me)),r(e,d)},nt=e=>{var d=yr(),u=be(d);{const p=(F,L)=>{let k=()=>(L?.()).props;var T=B(),C=_(T);{var c=n=>{var a=mr();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=be(a);We(i,S),_e(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>G()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>G()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),R=o(()=>G()&&V()==="sidebar"&&t(ee)),m=o(()=>!G()),P=o(()=>G()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(R)},get wrapContent(){return t(m)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var H=B(),D=_(H);We(D,S),r(l,H)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=be(a);{let m=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(m)??""} ${t(P)??""}`},onpointerdown:Se,onkeydown:Se,onclick:Fe,get title(){return t(l)},children:(A,H)=>{var D=_r(),K=_(D);{var re=w=>{var X=br();W(()=>{Le(X,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Le(X,"alt",t(v).label)}),r(w,X)},it=w=>{const X=o(()=>t(v).icon);var He=B(),pt=_(He);M(pt,()=>t(X),(ft,mt)=>{mt(ft,{size:14})}),r(w,He)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let X=o(()=>Je(t(v).category));ne(w,{get icon(){return t(X)},class:"w-3.5 h-3.5 opacity-60"})}};z(K,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=N(K,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=N(i,2);{var R=m=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(m,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Bt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};z(y,m=>{t(f).length>1&&m(R)})}_e(a),r(n,a)};z(C,n=>{Z()&&S()?n(c):S()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var L=hr(),k=be(L);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};z(k,h=>{ue()&&h(T)})}var C=N(k,2);{var c=h=>{var $=he(),n=_($);le(n,()=>t(fe));var a=N(n,2);M(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};z(C,h=>{t(fe).length&&h(c)})}var J=N(C,2);le(J,()=>t(Me)),_e(L),r(F,L)};let j=o(()=>Z()&&S()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(j)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}_e(d),W(()=>Pt(d,1,`${Z()&&S()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};z(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,Re);var st=It(rt);return Ke(),st}export{wr as O,sr as a,Je as r,ir as s};
|