@intent-hq/web 2.393.0 → 2.393.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/{0Pskylmi.js → 0Lodvm7U.js} +1 -1
- package/web/app/immutable/chunks/{D_YdQJM4.js → 1hUesUcr.js} +1 -1
- package/web/app/immutable/chunks/{FzsqLvWW.js → 1p87nGiH.js} +1 -1
- package/web/app/immutable/chunks/{DCzxlgBs.js → 2XTpu-pp.js} +1 -1
- package/web/app/immutable/chunks/{OrDYwyck.js → 3EQPKXoI.js} +2 -2
- package/web/app/immutable/chunks/54ZDusyh.js +6 -0
- package/web/app/immutable/chunks/{DM_PIf-5.js → 5NKE7nx3.js} +1 -1
- package/web/app/immutable/chunks/{w6C2OuF7.js → 5Nvv2Lts.js} +1 -1
- package/web/app/immutable/chunks/{u2ZzqP0a.js → 5SDFNZiZ.js} +1 -1
- package/web/app/immutable/chunks/{B8m3-qrW.js → 5uPsOw59.js} +1 -1
- package/web/app/immutable/chunks/{BK7FmI7K.js → 9N5egcma.js} +1 -1
- package/web/app/immutable/chunks/{DRpk7IAR.js → 9hLDyNKW.js} +1 -1
- package/web/app/immutable/chunks/{aQkb4saz.js → AX1GDLPb.js} +1 -1
- package/web/app/immutable/chunks/{BI6MUuoX.js → B1P2_A-D.js} +1 -1
- package/web/app/immutable/chunks/{BABLhp9e.js → B25DCKCp.js} +1 -1
- package/web/app/immutable/chunks/{CDCAMh6o.js → B3G_nhPo.js} +1 -1
- package/web/app/immutable/chunks/{3Z-66JFK.js → B3_pG997.js} +1 -1
- package/web/app/immutable/chunks/{COmspkQo.js → B5rWFERE.js} +1 -1
- package/web/app/immutable/chunks/{DFh2QzKR.js → B7nYGmHN.js} +1 -1
- package/web/app/immutable/chunks/{6_Ki4zfU.js → B8hXRSlI.js} +1 -1
- package/web/app/immutable/chunks/{dEp87wve.js → B8sPKQVl.js} +1 -1
- package/web/app/immutable/chunks/{Bttih9ri.js → B92LVVZl.js} +1 -1
- package/web/app/immutable/chunks/{DDa6EINl.js → B941PH3R.js} +1 -1
- package/web/app/immutable/chunks/{BeZe2Rt-.js → BBuvJMq5.js} +1 -1
- package/web/app/immutable/chunks/{yKdlMKAe.js → BET9_6zk.js} +2 -2
- package/web/app/immutable/chunks/{CTkkv_Ih.js → BHkRlfpj.js} +1 -1
- package/web/app/immutable/chunks/{Cxm3e0CO.js → BI4cZZX-.js} +1 -1
- package/web/app/immutable/chunks/{CEfljVcs.js → BIDLT3JB.js} +1 -1
- package/web/app/immutable/chunks/{Ch9YoFhc.js → BLoR6-fV.js} +1 -1
- package/web/app/immutable/chunks/{PWNFccPv.js → BOE0lXBq.js} +1 -1
- package/web/app/immutable/chunks/{0biFhMxb.js → BOOf6vKl.js} +1 -1
- package/web/app/immutable/chunks/{DP31pjuo.js → BOcncMTK.js} +3 -3
- package/web/app/immutable/chunks/{XAL8NtHj.js → BPoTi_yl.js} +1 -1
- package/web/app/immutable/chunks/{DfApjOPM.js → BPphEAV1.js} +1 -1
- package/web/app/immutable/chunks/{Bt1-7rTQ.js → BQ9Nf0IV.js} +1 -1
- package/web/app/immutable/chunks/{CBKDJPOp.js → BSMKf5nA.js} +1 -1
- package/web/app/immutable/chunks/{X66bh60j.js → BSVwkJI3.js} +1 -1
- package/web/app/immutable/chunks/{BDYqZy5l.js → BTQZ2eSY.js} +1 -1
- package/web/app/immutable/chunks/{DU4Vhr-0.js → BV9rfWFj.js} +1 -1
- package/web/app/immutable/chunks/{BGIAis8Q.js → BWH6q8SG.js} +3 -3
- package/web/app/immutable/chunks/{GCJgqmLv.js → BXnNAEju.js} +1 -1
- package/web/app/immutable/chunks/{BI9u_QTd.js → BZpl1Y6O.js} +1 -1
- package/web/app/immutable/chunks/{CtX9AjBD.js → BcKhVYNw.js} +1 -1
- package/web/app/immutable/chunks/{D1nkWdsN.js → Bf8oyM9s.js} +1 -1
- package/web/app/immutable/chunks/{DM5kqQ1V.js → BhsjECB4.js} +1 -1
- package/web/app/immutable/chunks/{RGi81mvu.js → BiBCqvj8.js} +1 -1
- package/web/app/immutable/chunks/{BpFxCD0b.js → BjfJvx5N.js} +1 -1
- package/web/app/immutable/chunks/{D5ocbEo-.js → BkD1B-t7.js} +1 -1
- package/web/app/immutable/chunks/{HcCqNlKh.js → BmkQwoP6.js} +1 -1
- package/web/app/immutable/chunks/{jphlY6bT.js → Bmw5RheL.js} +1 -1
- package/web/app/immutable/chunks/{B2NCDWQj.js → Bo0ZNhTd.js} +1 -1
- package/web/app/immutable/chunks/{CCAtqaSn.js → Bo8Bzt_n.js} +1 -1
- package/web/app/immutable/chunks/{CRm25OCR.js → Bv-YmUA0.js} +1 -1
- package/web/app/immutable/chunks/{Bxf_-54V.js → BvpvfHPp.js} +1 -1
- package/web/app/immutable/chunks/{BS5e_kKu.js → BxScfaS2.js} +1 -1
- package/web/app/immutable/chunks/{XSkFT3M0.js → ByXyOGzc.js} +1 -1
- package/web/app/immutable/chunks/{DCgY039R.js → C-vJzBpf.js} +54 -54
- package/web/app/immutable/chunks/{v7NJYdhp.js → C0ZUrdOo.js} +1 -1
- package/web/app/immutable/chunks/{DVhkgoDW.js → C3A6Etjq.js} +1 -1
- package/web/app/immutable/chunks/{CbBvi-vT.js → C3ldfPpK.js} +2 -2
- package/web/app/immutable/chunks/{BDY2Kajf.js → C45mDBrU.js} +1 -1
- package/web/app/immutable/chunks/{D_EFP2qU.js → C4qoqU0x.js} +1 -1
- package/web/app/immutable/chunks/{D7KhILhs.js → CBbhUF1U.js} +1 -1
- package/web/app/immutable/chunks/{uzIA17NN.js → CBdW99Fh.js} +3 -3
- package/web/app/immutable/chunks/{IGNO0qoE.js → CCi081IH.js} +1 -1
- package/web/app/immutable/chunks/{FXLHv4s7.js → CEH2NAZ8.js} +1 -1
- package/web/app/immutable/chunks/{D179JMBI.js → CFDesZJP.js} +1 -1
- package/web/app/immutable/chunks/{fr4AMTgg.js → CFa8sUgf.js} +1 -1
- package/web/app/immutable/chunks/{BdWMbiFk.js → CFflosJs.js} +1 -1
- package/web/app/immutable/chunks/{BHFbn3A9.js → CFyhHTwc.js} +1 -1
- package/web/app/immutable/chunks/{r0vRtx-T.js → CG6G-VtV.js} +1 -1
- package/web/app/immutable/chunks/{nnHDE1dd.js → CGYM6R_d.js} +1 -1
- package/web/app/immutable/chunks/{Cev7VHoN.js → CH1Bpd5B.js} +1 -1
- package/web/app/immutable/chunks/{C8OXQeb2.js → CHovwbAO.js} +1 -1
- package/web/app/immutable/chunks/{BnnKw3Va.js → CITlaKmU.js} +1 -1
- package/web/app/immutable/chunks/{nrSh0aC8.js → CJUKJKPV.js} +1 -1
- package/web/app/immutable/chunks/{W0kxgN1W.js → CJtBv95U.js} +1 -1
- package/web/app/immutable/chunks/CK3fpDUl.js +1 -0
- package/web/app/immutable/chunks/{DOK_g7vV.js → CL5OTeL_.js} +1 -1
- package/web/app/immutable/chunks/{BKGQPtRi.js → CLW1n4w7.js} +1 -1
- package/web/app/immutable/chunks/{CippTVu3.js → CM3rEc3H.js} +1 -1
- package/web/app/immutable/chunks/{B2-ooCTr.js → CMUWVW8A.js} +1 -1
- package/web/app/immutable/chunks/{DcrCEeFN.js → CNfD8BpN.js} +1 -1
- package/web/app/immutable/chunks/{CJL-iSZe.js → CNm0He-Z.js} +2 -2
- package/web/app/immutable/chunks/{u_H5ILVa.js → CP-NTf2-.js} +1 -1
- package/web/app/immutable/chunks/{CPsAdpQg.js → CPCJiIPK.js} +1 -1
- package/web/app/immutable/chunks/{D6eyCbi1.js → CPTHRAYg.js} +1 -1
- package/web/app/immutable/chunks/{Ds7d6UPo.js → CPy0rCmw.js} +4 -4
- package/web/app/immutable/chunks/{DXBE2Tld.js → CR6bxzBv.js} +1 -1
- package/web/app/immutable/chunks/{BAlN6xXV.js → CVgSN9ZH.js} +2 -2
- package/web/app/immutable/chunks/{CKOT06_N.js → CVhLsbHu.js} +1 -1
- package/web/app/immutable/chunks/{WWDClKTE.js → CXuN4JFH.js} +1 -1
- package/web/app/immutable/chunks/{BEeu6Jyo.js → C_rsaO5o.js} +1 -1
- package/web/app/immutable/chunks/{BOpa3JL5.js → CbGGQnE9.js} +1 -1
- package/web/app/immutable/chunks/Ccf5U4O_.js +1 -0
- package/web/app/immutable/chunks/{CkbdUYUB.js → CdXM6BQL.js} +1 -1
- package/web/app/immutable/chunks/{DabFMHr_.js → Cdwy3-nO.js} +4 -4
- package/web/app/immutable/chunks/{B_dB55pf.js → Ce5Cs6SN.js} +3 -3
- package/web/app/immutable/chunks/{BxpgiWm2.js → Cj36CQXD.js} +1 -1
- package/web/app/immutable/chunks/{C-86kNuI.js → Cj92J6fP.js} +3 -3
- package/web/app/immutable/chunks/{Cim9mWY1.js → Ckq6aQDS.js} +1 -1
- package/web/app/immutable/chunks/{DepS1LOg.js → CksNKSJb.js} +1 -1
- package/web/app/immutable/chunks/{B6Qz5J1y.js → Cmct_Ic1.js} +1 -1
- package/web/app/immutable/chunks/{DjD2npnM.js → CnnBx7yl.js} +1 -1
- package/web/app/immutable/chunks/{Cad-FQZw.js → Cnvb2S0V.js} +1 -1
- package/web/app/immutable/chunks/{7Ovc5F1W.js → Cohy0Z-x.js} +1 -1
- package/web/app/immutable/chunks/{Cz3WzTlQ.js → CpIcQB5T.js} +1 -1
- package/web/app/immutable/chunks/{GFF7xfJq.js → CpwZYDHS.js} +1 -1
- package/web/app/immutable/chunks/{cD292w1o.js → Cq6hdiVw.js} +1 -1
- package/web/app/immutable/chunks/{DWjpzYNk.js → CqVeTPQI.js} +1 -1
- package/web/app/immutable/chunks/{QEpqKBee.js → CqnoveI8.js} +1 -1
- package/web/app/immutable/chunks/{BezqW82L.js → CtemMU54.js} +2 -2
- package/web/app/immutable/chunks/{BZ5plXZy.js → CuvONknh.js} +3 -3
- package/web/app/immutable/chunks/{BT6sDnDt.js → CvYS01IZ.js} +1 -1
- package/web/app/immutable/chunks/{CXygwMkb.js → Cxf7GnmV.js} +1 -1
- package/web/app/immutable/chunks/{CDtaIFAl.js → CyZe9Esu.js} +1 -1
- package/web/app/immutable/chunks/{DO2zAKv0.js → Cym4zMqt.js} +3 -3
- package/web/app/immutable/chunks/{Beq_QLuz.js → D-lOH49i.js} +1 -1
- package/web/app/immutable/chunks/{YWPnOD4T.js → D1CYQTLS.js} +1 -1
- package/web/app/immutable/chunks/{BWtzEUuh.js → D4VyuyJv.js} +1 -1
- package/web/app/immutable/chunks/{9gZxSRYR.js → D7rcwg4U.js} +2 -2
- package/web/app/immutable/chunks/{B3M7htfw.js → D7tp4A5_.js} +1 -1
- package/web/app/immutable/chunks/{BKFA3yUf.js → D8dc4uEZ.js} +1 -1
- package/web/app/immutable/chunks/{3eHuEsL0.js → D9_9Xrbm.js} +1 -1
- package/web/app/immutable/chunks/{OqslD7bF.js → DBy_x3yG.js} +1 -1
- package/web/app/immutable/chunks/{CWtyXmQ4.js → DGrUr-ze.js} +1 -1
- package/web/app/immutable/chunks/{BJIUXUAo.js → DJx-btvr.js} +1 -1
- package/web/app/immutable/chunks/{U5o8u-di.js → DKxUsLaS.js} +1 -1
- package/web/app/immutable/chunks/{C35-tQAa.js → DLTvtu0r.js} +1 -1
- package/web/app/immutable/chunks/{Bb6_ZpFm.js → DOjRTGtD.js} +1 -1
- package/web/app/immutable/chunks/{C1SGWBXH.js → DOvLLu-_.js} +1 -1
- package/web/app/immutable/chunks/{Pc52abky.js → DQMGgT_X.js} +1 -1
- package/web/app/immutable/chunks/{YnYoZ2NK.js → DR2A4Ob1.js} +1 -1
- package/web/app/immutable/chunks/{BgKsHej9.js → DRNQWF5u.js} +2 -2
- package/web/app/immutable/chunks/{C3KgmGxd.js → DReNFETs.js} +1 -1
- package/web/app/immutable/chunks/{vA_m-Yoy.js → DRgsIn-1.js} +1 -1
- package/web/app/immutable/chunks/{DvEcqVUt.js → DSNCn1aQ.js} +1 -1
- package/web/app/immutable/chunks/{CjrqEuvI.js → DTPQbia0.js} +1 -1
- package/web/app/immutable/chunks/{iViWtmHm.js → DTSonUt7.js} +1 -1
- package/web/app/immutable/chunks/{DoFGyuPK.js → DVA-DTbs.js} +1 -1
- package/web/app/immutable/chunks/{BVRxvAzz.js → DW3UcPIr.js} +1 -1
- package/web/app/immutable/chunks/{D2Q6mppm.js → DY9oFeIm.js} +1 -1
- package/web/app/immutable/chunks/{0IudVN8T.js → DYA10vhI.js} +2 -2
- package/web/app/immutable/chunks/{CJvysCNo.js → DYo8C3ZI.js} +4 -4
- package/web/app/immutable/chunks/{BieWjGd7.js → Da3dWtR7.js} +1 -1
- package/web/app/immutable/chunks/{BMHxxfP4.js → Db6ExzGF.js} +1 -1
- package/web/app/immutable/chunks/{AJU0I4QP.js → DcU97JoW.js} +1 -1
- package/web/app/immutable/chunks/{7bKjKvMj.js → Dd4ehheI.js} +1 -1
- package/web/app/immutable/chunks/{bX4FGmNr.js → DeeBlDPG.js} +1 -1
- package/web/app/immutable/chunks/{DGGucQxs.js → DfrPaMm3.js} +2 -2
- package/web/app/immutable/chunks/{DzeUh63h.js → DgClg_4p.js} +2 -2
- package/web/app/immutable/chunks/{DfINI0LK.js → DgkHABKY.js} +1 -1
- package/web/app/immutable/chunks/{Bu0K6ujo.js → DiaqLwTf.js} +1 -1
- package/web/app/immutable/chunks/{BYanH6N9.js → DkAmJv1y.js} +1 -1
- package/web/app/immutable/chunks/{8ysnd5N8.js → Dm529rkq.js} +4 -4
- package/web/app/immutable/chunks/{DcJ9XwiY.js → DmmU2UYb.js} +1 -1
- package/web/app/immutable/chunks/{CQzFriMx.js → Dnfzkj4w.js} +1 -1
- package/web/app/immutable/chunks/{ng4mcU_-.js → DqVocOV1.js} +1 -1
- package/web/app/immutable/chunks/{DcGK_0d9.js → DsMWDyON.js} +1 -1
- package/web/app/immutable/chunks/{CF6Vxctv.js → DtyYBAfX.js} +1 -1
- package/web/app/immutable/chunks/{DhBBsVaP.js → DuEeb8Mn.js} +1 -1
- package/web/app/immutable/chunks/{B1jwNspC.js → Dv4Vym3G.js} +1 -1
- package/web/app/immutable/chunks/{CXnXrUsE.js → Dv9iFv_x.js} +1 -1
- package/web/app/immutable/chunks/{CUllgFqe.js → G0vgahzI.js} +1 -1
- package/web/app/immutable/chunks/{UWtWVoQE.js → GLk8gkMl.js} +1 -1
- package/web/app/immutable/chunks/{zdzlwKoA.js → LEN-2k09.js} +1 -1
- package/web/app/immutable/chunks/{RsYrgUiV.js → M7sb2vsG.js} +1 -1
- package/web/app/immutable/chunks/{DLGucGdD.js → MdOlpTpG.js} +3 -3
- package/web/app/immutable/chunks/{BAWHRd64.js → MnHzHyX4.js} +1 -1
- package/web/app/immutable/chunks/{DU59Vdu3.js → OSt17igW.js} +1 -1
- package/web/app/immutable/chunks/{l_KiA0-X.js → OYbzRQNh.js} +1 -1
- package/web/app/immutable/chunks/{DF6LaFyj.js → PbtuJhxQ.js} +2 -2
- package/web/app/immutable/chunks/{Bh3yfjRP.js → Q3ibTFFO.js} +1 -1
- package/web/app/immutable/chunks/{oHufBZXQ.js → Qkw5r8H6.js} +1 -1
- package/web/app/immutable/chunks/{DT_y9FGD.js → RRXFJL92.js} +1 -1
- package/web/app/immutable/chunks/{DuiDeolO.js → TzUDDwaI.js} +1 -1
- package/web/app/immutable/chunks/{B9R2bql6.js → U7IKFepx.js} +1 -1
- package/web/app/immutable/chunks/{DzR2lw_C.js → UroPxNaS.js} +1 -1
- package/web/app/immutable/chunks/{CzoSrhdL.js → WrCMkepk.js} +2 -2
- package/web/app/immutable/chunks/{Dbqo6rfT.js → XMoRU8a7.js} +1 -1
- package/web/app/immutable/chunks/{DSXyr_Fr.js → XXp2dlP1.js} +1 -1
- package/web/app/immutable/chunks/{C2RnxEnO.js → XdXjguTz.js} +1 -1
- package/web/app/immutable/chunks/{BQ5x_RaT.js → YAuWnPYv.js} +1 -1
- package/web/app/immutable/chunks/{DHwN0lRn.js → _bESm04T.js} +1 -1
- package/web/app/immutable/chunks/{DZlDxCgn.js → bNKugVDK.js} +1 -1
- package/web/app/immutable/chunks/{T6UBEOFc.js → c5wypyPV.js} +1 -1
- package/web/app/immutable/chunks/{BVab-LI7.js → ch6_GOZD.js} +1 -1
- package/web/app/immutable/chunks/{b45PQ8TG.js → czWUw-OT.js} +1 -1
- package/web/app/immutable/chunks/{Ct8a2yek.js → dYI-d1qe.js} +1 -1
- package/web/app/immutable/chunks/{f5b-J-bi.js → ehKOKrdg.js} +1 -1
- package/web/app/immutable/chunks/{BroDUcjq.js → grZaDfdl.js} +1 -1
- package/web/app/immutable/chunks/{gNR_yDDX.js → l8tGTVLl.js} +1 -1
- package/web/app/immutable/chunks/{BV3fep4W.js → m2E3nD0f.js} +1 -1
- package/web/app/immutable/chunks/{koUs6Gjt.js → mmpnpFjh.js} +1 -1
- package/web/app/immutable/chunks/pYdPYEfN.js +11 -0
- package/web/app/immutable/chunks/{DkQdSPDN.js → qB07BmZl.js} +1 -1
- package/web/app/immutable/chunks/{DEOVFEjx.js → rO66Jyk4.js} +1 -1
- package/web/app/immutable/chunks/{52kdRKiP.js → sB9jFfB2.js} +1 -1
- package/web/app/immutable/chunks/{DujlAAuA.js → vXXIq-lQ.js} +1 -1
- package/web/app/immutable/chunks/{DEQnE_KB.js → wKT6CuL7.js} +1 -1
- package/web/app/immutable/entry/{app.CiyeQuxv.js → app.O58wkIN2.js} +3 -3
- package/web/app/immutable/entry/start.Qg9AYZsG.js +1 -0
- package/web/app/immutable/nodes/{0.CRbxkcM2.js → 0.TrE3RPnJ.js} +1 -1
- package/web/app/immutable/nodes/{1.DqX6QaPm.js → 1.BIksphyt.js} +1 -1
- package/web/app/immutable/nodes/{10.BCKuK60u.js → 10.D2OvSkOf.js} +4 -4
- package/web/app/immutable/nodes/{11.DfT5UkBP.js → 11.fZEErUb-.js} +4 -4
- package/web/app/immutable/nodes/{13.J8EpPA9A.js → 13.JtKFcm-e.js} +1 -1
- package/web/app/immutable/nodes/{14.C5TLXVit.js → 14.DYuGWO_d.js} +1 -1
- package/web/app/immutable/nodes/{15.D7dZwhi4.js → 15.m6bg6xQe.js} +1 -1
- package/web/app/immutable/nodes/{16.T0PyvW1V.js → 16.PoO6JTXS.js} +1 -1
- package/web/app/immutable/nodes/{17.pi-yfOoM.js → 17.bczfYiNy.js} +1 -1
- package/web/app/immutable/nodes/{18.CTVha2lA.js → 18.D70W-aYB.js} +1 -1
- package/web/app/immutable/nodes/{19.Bp3Vf5X-.js → 19.CjtjBk01.js} +2 -2
- package/web/app/immutable/nodes/{2.COUI43GN.js → 2.DxHlcx2L.js} +4 -4
- package/web/app/immutable/nodes/{20.gu-VpWFh.js → 20.7n3s-oUO.js} +1 -1
- package/web/app/immutable/nodes/{3.Ch8C_wLR.js → 3.BDHxIm-0.js} +1 -1
- package/web/app/immutable/nodes/{4.DNtyFj6E.js → 4.BNQKhByt.js} +1 -1
- package/web/app/immutable/nodes/{5.DibkYULx.js → 5.gaULhB1l.js} +1 -1
- package/web/app/immutable/nodes/{6.Cpj-A029.js → 6.ZtFGqTn7.js} +1 -1
- package/web/app/immutable/nodes/{7.CecRnFtb.js → 7.CTMwqxha.js} +1 -1
- package/web/app/immutable/nodes/{8.BbuGaD-H.js → 8.DgeODsFV.js} +1 -1
- package/web/app/immutable/nodes/{9.BMl85hfy.js → 9.BPdyHPQC.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/B0SSzYpD.js +0 -6
- package/web/app/immutable/chunks/BAtAwQ72.js +0 -11
- package/web/app/immutable/chunks/BGSmaq6H.js +0 -1
- package/web/app/immutable/chunks/TdGvVwuC.js +0 -1
- package/web/app/immutable/entry/start.D87x7VCJ.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bm as b,_ as x}from"./Fcr7AvC-.js";import{m as f,JH as a,dp as P,I2 as S,zr as N,Gd as R,vV as q,r9 as W,vt as H,LM as U}from"./D0qhIm1r.js";import{f as I}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CP-NTf2-.js","/app/immutable/chunks/qB07BmZl.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D-lOH49i.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/pYdPYEfN.js","/app/immutable/chunks/Ccf5U4O_.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/CCi081IH.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/54ZDusyh.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/Cq6hdiVw.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/C3ldfPpK.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/Cohy0Z-x.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as b,_ as x}from"./Fcr7AvC-.js";import{m as f,JH as a,dp as P,I2 as S,zr as N,Gd as R,vV as q,r9 as W,vt as H,LM as U}from"./D0qhIm1r.js";import{f as I}from"./54ZDusyh.js";import{E as V}from"./pYdPYEfN.js";import{parseIntentLink as j}from"./WrCMkepk.js";import{m as y}from"./qB07BmZl.js";import"./3SdAC2_C.js";import"./BRCr02in.js";import"./CWfjuhY2.js";import"./ChTqQfQN.js";import"./DRMe5Ypb.js";import{x as B,k as C,w as L}from"./CH7HNVC2.js";import{dI as D}from"./Cq6hdiVw.js";import{q as M,p as z,j as $}from"./Bo8Bzt_n.js";const p="assistant-content",G=a.createSelector(t=>{const r=M.select(t),s=z.select(t),e=$.select(t).find(i=>i.agentId===s)??r.find(i=>i.isActive)??r.find(i=>i.messageCount>0)??r[0];return P(e?.agentId??null)}),O=new Map;function J(t,r=!1){const s=O.get(t)??{explicit:0,background:0},e={explicit:s.explicit+(r?0:1),background:s.background+(r?1:0)};return O.set(t,e),r?e:{explicit:e.explicit}}function k(t,r){const s=O.get(t);return s!==void 0&&r.explicit===s.explicit&&(r.background===void 0||r.background===s.background)}async function K(t){a.dispatch(q(t)),L.select(a.state,t).restoreStatus==="pending"&&await new Promise(r=>{const s=L.withStore(a)(t).subscribe(e=>{e.restoreStatus!=="pending"&&(r(),queueMicrotask(()=>s()))})})}function _(t,r,s){const e=L.select(a.state,s);if(!e.panels[p]||Object.keys(e.panels).some(i=>i!==p)){const i=e.panels[p],d=Object.values(e.panels).flatMap(n=>n.tabs.filter(o=>o.type!=="agent"||o.workspaceId!==f)),c=d.some(n=>n.id===i?.activeTabId)?i?.activeTabId??null:d.at(-1)?.id??null;a.dispatch(W(s,{root:{type:"panel",panelId:p},panels:{[p]:{id:p,tabs:d,activeTabId:c}},focusedPanelId:e.focusedPanelId===p?p:null,hiddenTabs:C.select(a.state,s)}))}a.dispatch(H(s,t,p,void 0,!0,void 0,!1,r.background||r.preserveFocus,void 0,r.background))}async function de(t,r={}){try{return await Q(t,r)}catch(s){return y.error(b.ui_linkHandler_notFound_title(),{description:s instanceof Error?s.message:String(s)}),!0}}async function Q(t,r){const s=/^intent:\/\/local\/([^/?#]+)\/agent\/([^/?#]+)$/.exec(t),e=t.startsWith("intent://")?j(t):null,i=e?.valid&&e.type==="workspace"?[t,e.resourceId]:/^\/workspace\/([^/?#]+)\/?$/.exec(t),d=/^https?:\/\//.test(t)&&!V(t);if(!i&&!s&&!d&&!(e?.valid&&["file","message","note","task"].includes(e.type))||i&&[f,"new"].includes(i[1]))return!1;const c=M.select(a.state),n=r.agentId?P(r.agentId):r.background?c.length===1?P(c[0].agentId):null:r.layoutId??G.select(a.state);if(!n)return!0;const o=J(n,r.background);if(await K(n),!k(n,o))return!0;if(i){const u=i[1],g=await I.workspaces.get(u);return k(n,o)?g?(a.dispatch(S(g)),_({type:"workspace",title:g.title,workspaceId:u,closable:!0},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(s)return T(s[1],s[2],r,n,o);if(d){const{resolveBrowserLinkForOpen:u}=await x(async()=>{const{resolveBrowserLinkForOpen:v}=await import("./CP-NTf2-.js").then(w=>w.b);return{resolveBrowserLinkForOpen:v}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]),import.meta.url),g=await u(t);return k(n,o)&&_({type:"browser",title:new URL(t).hostname,browserUrl:g.url,browserRequestedUrl:g.requestedUrl,workspaceId:f,closable:!0},r,n),!0}if(!e?.valid)return!1;const h=e.workspaceId??f;if(e.type==="file"){const u=await I.workspaces.get(h);return k(n,o)?u?(a.dispatch(S(u)),_({type:"file",title:e.resourceId.split("/").at(-1)??e.resourceId,filePath:e.resourceId,workspaceId:h,closable:!0,data:{line:e.line,filePathIsLiteral:!0}},r,n),!0):(y.error(b.workspace_loader_notFound_title()),!0):!0}if(e.type==="message"&&e.agentId)return T(h,e.agentId,r,n,o,e.resourceId);if(e.type!=="note"&&e.type!=="task")return!1;const l=e.workspaceId??f,[m,A]=await Promise.all([a.dispatch(N(l,e.resourceId)),Promise.resolve(D.select(a.state,l)??I.workspaces.get(l)).catch(()=>null)]);if(!k(n,o))return!0;if(!m||String(m.workspaceId)!==l)return y.error(b.ui_linkHandler_notFound_title(),{description:b.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:l})}),!0;A&&String(A.id)===l&&a.dispatch(S(A));const E=Object.entries(B.select(a.state)).some(([u,g])=>{const v=w=>w.type==="note"&&w.noteId===String(m.id)&&(w.workspaceId??u)===l;return Object.values(g.panels).some(w=>w.tabs.some(v))||C.select(a.state,u).some(v)}),F=a.state.transientUi.byWorkspaceId[l]?.noteViewModeByNoteId[String(m.id)];return!E&&(!r.background||F===void 0)&&a.dispatch(R(l,String(m.id),"editor")),_({type:"note",title:m.title,noteId:String(m.id),workspaceId:l,closable:!0},r,n),!0}async function T(t,r,s,e,i,d){const c=await I.agents.get(r,t===f?void 0:t);t===f&&c&&(t=String(c.workspaceId));const n=t===f?null:await I.workspaces.get(t);if(!k(e,i))return!0;if(!n&&t!==f||!c||String(c.workspaceId)!==t)return y.error(b.ui_linkHandler_notFound_title()),!0;if(n&&a.dispatch(S(n)),a.dispatch(U(c)),_({type:"agent",title:c.name??r,agentId:r,workspaceId:t,closable:!0},s,e),d&&!s.background){const{openMessage:o}=await x(async()=>{const{openMessage:h}=await import("./CCi081IH.js");return{openMessage:h}},__vite__mapDeps([32,33,34,35,4,5,21,22,23,24,3,8,25,15,2,13,14,7,9,16,36,37,38,39,27,17,6,12,40,19,41,42,43,44]),import.meta.url);o({workspaceId:t,agentId:r,messageId:d,contentAlreadyOpen:!0})}return!0}export{p as ASSISTANT_CONTENT_PANEL_ID,G as selectAssistantPanelLayoutId,de as showAssistantContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ir,bo as n,bw as ur,b as cr,bp as xa,bm as J}from"./Fcr7AvC-.js";import{bs as dr,ay as f,a7 as A,bf as Ca,W as l,bS as S,aD as t,bn as vr,aA as a,c9 as u,aB as _,bo as wa,bV as me,br as Vr,bj as Oa,ca as Bt,bH as O,c5 as Tr,a5 as I,bl as We,bA as T,b_ as X,bO as ue,be as Lr,b$ as Ft}from"./3SdAC2_C.js";import{i as C}from"./BhYXv0ZM.js";import{g as sr,e as Ir}from"./CA6H1-bp.js";import{t as $}from"./CWfjuhY2.js";import{c as W}from"./2z64ELW5.js";import{b as Me,c as Aa,e as Ue,f as Pa,s as $e}from"./BRCr02in.js";import{b as Er}from"./Dn334wJv.js";import{i as Sa,f as Da,q as ka,n as Va,k as Ta}from"./C3KgmGxd.js";import{aS as et,a$ as La,av as q,H as Ia,aZ as Rr,aQ as Ea,a_ as Ra,a1 as Ma,f as qa}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{F as za,O as Ba,a as Fa,M as Ga}from"./C2RnxEnO.js";import{u as Ha,b as Mr,a as ja}from"./Cz3WzTlQ.js";import{c as Ka,u as Wa,s as Ua}from"./D9tVylVS.js";import"./O5ZlQHf9.js";import{c as Na,g as qr,b as Qa,f as Ya,e as Za,i as Ja,h as Xa}from"./BJIUXUAo.js";import{S as $a,a as zr}from"./COmspkQo.js";import{S as en}from"./DWjpzYNk.js";var tn=_("<!> <!>",1);function lr(we,r){if(new.target)return ir({component:lr,...we});dr(r,!0);let P=n(r,"value",15),ee=n(r,"onValueChange",7,et),ce=n(r,"name",7,""),te=n(r,"disabled",7,!1),d=n(r,"type",7),de=n(r,"open",15,!1),z=n(r,"onOpenChange",7,et),B=n(r,"onOpenChangeComplete",7,et),g=n(r,"loop",7,!1),F=n(r,"scrollAlignment",7,"nearest"),ve=n(r,"required",7,!1),b=n(r,"items",23,()=>[]),E=n(r,"allowDeselect",7,!0),G=n(r,"inputValue",7,""),Oe=n(r,"children",7);if(P()===void 0){const s=d()==="single"?"":[];P(s)}La.pre(()=>P(),()=>{P()===void 0&&P(d()==="single"?"":[])});const U=Na.create({type:d(),value:q(()=>P(),s=>{P(s),ee()(s)}),disabled:q(()=>te()),required:q(()=>ve()),open:q(()=>de(),s=>{de(s),z()(s)}),loop:q(()=>g()),scrollAlignment:q(()=>F()),name:q(()=>ce()),isCombobox:!0,items:q(()=>b()),allowDeselect:q(()=>E()),inputValue:q(()=>G(),s=>G(s)),onOpenChangeComplete:q(()=>B())});var qe={get value(){return P()},set value(s){P(s),a()},get onValueChange(){return ee()},set onValueChange(s=et){ee(s),a()},get name(){return ce()},set name(s=""){ce(s),a()},get disabled(){return te()},set disabled(s=!1){te(s),a()},get type(){return d()},set type(s){d(s),a()},get open(){return de()},set open(s=!1){de(s),a()},get onOpenChange(){return z()},set onOpenChange(s=et){z(s),a()},get onOpenChangeComplete(){return B()},set onOpenChangeComplete(s=et){B(s),a()},get loop(){return g()},set loop(s=!1){g(s),a()},get scrollAlignment(){return F()},set scrollAlignment(s="nearest"){F(s),a()},get required(){return ve()},set required(s=!1){ve(s),a()},get items(){return b()},set items(s=[]){b(s),a()},get allowDeselect(){return E()},set allowDeselect(s=!0){E(s),a()},get inputValue(){return G()},set inputValue(s=""){G(s),a()},get children(){return Oe()},set children(s){Oe(s),a()},$set:ur,$on:(s,ae)=>cr(r,s,ae)},Ae=tn(),Pe=f(Ae);Ia(Pe,{children:(s,ae)=>{var _e=A(),be=f(_e);$(be,()=>Oe()??Ca),l(s,_e)},$$slots:{default:!0}});var N=S(Pe,2);{var re=s=>{var ae=A(),_e=f(ae);{var be=Se=>{var Q=A(),Ne=f(Q);sr(Ne,16,()=>U.opts.value.current,De=>De,(De,rt)=>{qr(De,{get value(){return rt}})}),l(Se,Q)};C(_e,Se=>{U.opts.value.current.length&&Se(be)})}l(s,ae)},ze=u(()=>Array.isArray(U.opts.value.current)),tt=s=>{qr(s,{get value(){return U.opts.value.current},set value(ae){U.opts.value.current=ae}})};C(N,s=>{t(ze)?s(re):s(tt,-1)})}return l(we,Ae),vr(qe)}var rn=new Set(["$$slots","$$events","$$legacy","id","ref","child","defaultValue","clearOnDeselect"]),an=_("<input/>");function Gr(we,r){if(new.target)return ir({component:Gr,...we});dr(r,!0);let P=n(r,"id",23,Rr),ee=n(r,"ref",15,null),ce=n(r,"child",7),te=n(r,"defaultValue",7),d=n(r,"clearOnDeselect",7,!1),de=xa(r,rn);const z=Qa.create({id:q(()=>P()),ref:q(()=>ee(),b=>ee(b)),clearOnDeselect:q(()=>d())});te()&&(z.root.opts.inputValue.current=te());const B=u(()=>Ea(de,z.props,{value:z.root.opts.inputValue.current}));var g={get id(){return P()},set id(b=Rr()){P(b),a()},get ref(){return ee()},set ref(b=null){ee(b),a()},get child(){return ce()},set child(b){ce(b),a()},get defaultValue(){return te()},set defaultValue(b){te(b),a()},get clearOnDeselect(){return d()},set clearOnDeselect(b=!1){d(b),a()},$set:ur,$on:(b,E)=>cr(r,b,E)},F=A(),ve=f(F);return W(ve,()=>za,(b,E)=>{E(b,{get id(){return P()},get ref(){return z.opts.ref},children:(G,Oe)=>{var U=A(),qe=f(U);{var Ae=N=>{var re=A(),ze=f(re);$(ze,ce,()=>({props:t(B)})),l(N,re)},Pe=N=>{var re=an();Me(re,()=>({...t(B)}),void 0,void 0,void 0,void 0,!0),l(N,re)};C(qe,N=>{ce()?N(Ae):N(Pe,-1)})}l(G,U)},$$slots:{default:!0}})}),l(we,F),vr(g)}var nn=_("<input/>"),on=_('<span class="type-caption min-w-0 truncate font-medium text-muted-foreground"> </span>'),sn=_('<div class="ml-auto"><!></div>'),ln=_('<div class="flex min-w-0 shrink-0 items-center gap-2 border-b border-border px-3 py-2"><!> <!></div>'),Br=_('<div class="type-caption px-3 py-2 text-muted-foreground" role="status"> </div>'),un=_('<div class="flex items-center gap-2 px-3 py-2"><span class="type-caption text-muted-foreground" role="status"> </span> <!></div>'),cn=_('<div role="listbox" class="sr-only"></div>'),Fr=_("<!> <!>",1),dn=_("<span> </span> <!>",1),vn=_('<div class="type-caption px-2.5 py-1.5 font-medium text-muted-foreground"><!> <!></div>'),fn=_('<span class="first-line-icon shrink-0"><!></span>'),gn=_('<span class="type-caption max-w-1/2 shrink-0 truncate text-muted-foreground"> </span>'),pn=_('<div><!> <span class="min-w-0 flex-1 truncate"><!></span> <!> <!> <!></div>'),mn=_("<!> <div></div>",1),_n=_("<div><!> <!> <!></div>"),bn=_('<div class="shrink-0 border-t border-border bg-muted/20 px-3 py-2"><!></div>'),hn=_("<!> <!> <!> <!>",1),yn=_("<div><!></div>"),xn=_("<div><div><!></div></div>"),Cn=_('<div class="flex min-w-0 shrink-0 items-center gap-1"><div class="min-w-0 flex-1"><!></div> <div class="shrink-0"><!></div></div>'),wn=_("<!> <!>",1),On=_('<div><span class="sr-only"> </span> <!></div>');function An(we,r){const P=wa();if(new.target)return ir({component:An,...we});dr(r,!0);const ee=e=>{const o=w=>{var y=A(),V=f(y);{const H=(Ze,Le)=>{let p=()=>(Le?.()).props;var m=nn(),k=j=>Zr(j,p().onkeydown);Me(m,()=>({...p(),value:t(Yt),onkeydown:k}),void 0,void 0,void 0,void 0,!0),l(Ze,m)};let D=u(()=>g()?Wt:void 0),L=u(()=>ve()||void 0),Y=u(()=>g()?re():N()),Ge=u(()=>be()==="search"?"search":void 0),Te=u(()=>be()==="search"?Ue(ka,_e()):Ue("type-caption text-foreground placeholder:text-muted-foreground w-full min-w-0 rounded-(--radius-medium) border px-3",Ta,"focus-visible:outline-solid focus-visible:-outline-offset-2",Va(t(fr)),ve()&&"border-danger ring-1 ring-danger/25",_e()));W(V,()=>Gr,(Ze,Le)=>{Le(Ze,{get id(){return Kr},get"aria-labelledby"(){return t(Ut)},get"aria-describedby"(){return Pe()},get"aria-busy"(){return t(R)},get"aria-controls"(){return t(D)},get"aria-invalid"(){return t(L)},get placeholder(){return t(Y)},onfocus:_r,onclick:_r,oninput:Nr,onkeydown:Qr,get"data-size"(){return t(fr)},get"data-variant"(){return t(Ge)},get class(){return t(Te)},get ref(){return Q()},set ref(p){Q(p)},child:H,$$slots:{child:!0}})})}l(w,y)},i=w=>{var y=hn(),V=f(y);{var H=p=>{var m=ln(),k=I(m);{var j=se=>{var Z=on(),vt=We(Z,!0);X(()=>ue(vt,at())),l(se,Z)};C(k,se=>{at()&&se(j)})}var He=S(k,2);{var K=se=>{var Z=sn(),vt=I(Z);$(vt,nt),T(Z),l(se,Z)};C(He,se=>{nt()&&se(K)})}T(m),l(p,m)};C(V,p=>{(at()||nt())&&p(H)})}var D=S(V,2);{var L=p=>{var m=Br(),k=We(m,!0);X(j=>ue(k,j),[()=>J.ui_combobox_loadingOptions_message()]),l(p,m)},Y=p=>{var m=un(),k=I(m),j=We(k,!0),He=S(k,2);qa(He,{variant:"ghost",size:"sm",onclick:yr,onkeydown:Yr,get ref(){return t(Dt)},set ref(K){O(Dt,K,!0)},children:(K,se)=>{Lr();var Z=Ft();X(()=>ue(Z,s())),l(K,Z)},$$slots:{default:!0}}),T(m),X(()=>ue(j,tt())),l(p,m)},Ge=p=>{var m=Br(),k=We(m,!0);X(()=>ue(k,ze())),l(p,m)};C(D,p=>{t(R)?p(L):t(Fe)?p(Y,1):t(mr)||p(Ge,2)})}var Te=S(D,2);{const p=(k,j)=>{let He=()=>(j?.()).props;var K=_n();Me(K,()=>({...He(),id:ke()||fe()?void 0:Wt,role:ke()||fe()?"region":"listbox","aria-multiselectable":!ke()&&!fe()&&B()?!0:void 0,"aria-labelledby":t(Ut),"aria-busy":t(R),tabindex:"0"}));var se=I(K);Fa(se,{});var Z=S(se,2);{var vt=he=>{var ye=cn();X(()=>{$e(ye,"id",Wt),$e(ye,"aria-labelledby",t(Ut)),$e(ye,"aria-multiselectable",B()||void 0),$e(ye,"aria-busy",t(R)),$e(ye,"aria-owns",t(Wr))}),l(he,ye)};C(Z,he=>{(ke()||fe())&&he(vt)})}var fa=S(Z,2);{var ga=he=>{var ye=A(),pa=f(ye);sr(pa,19,()=>t(Lt),Jt=>Jt.key,(Jt,xe,Or)=>{var Ar=Fr(),Pr=f(Ar);{var ma=ft=>{var Rt=A(),gt=f(Rt);W(gt,()=>en,(pt,Xt)=>{Xt(pt,{decorative:!0,class:"my-1 border-t border-border"})}),l(ft,Rt)};C(Pr,ft=>{t(xe).separatorBefore&&t(Or)>0&&ft(ma)})}var _a=S(Pr,2);{const ft=(gt,pt)=>{let Xt=()=>(pt?.()).props;var Sr=mn(),Dr=f(Sr);{var ba=je=>{var x=A(),er=f(x);{var Mt=ge=>{var le=Fr(),pe=f(le);W(pe,()=>zr,(Ee,Ce)=>{Ce(Ee,{class:"sr-only",children:(Re,Ke)=>{Lr();var mt=Ft();X(()=>ue(mt,t(xe).label)),l(Re,mt)},$$slots:{default:!0}})});var Ie=S(pe,2);$(Ie,fe,()=>t(xe)),l(ge,le)},tr=ge=>{var le=vn(),pe=I(le);W(pe,()=>zr,(Ce,Re)=>{Re(Ce,{class:"inline",children:(Ke,mt)=>{var Je=dn(),qt=f(Je),rr=We(qt,!0),ar=S(qt,2);{var nr=Xe=>{var zt=A(),or=f(zt);$(or,Ct,()=>t(xe)),l(Xe,zt)};C(ar,Xe=>{Ct()&&Xe(nr)})}X(()=>ue(rr,t(xe).label)),l(Ke,Je)},$$slots:{default:!0}})});var Ie=S(pe,2);{var Ee=Ce=>{var Re=A(),Ke=f(Re);$(Ke,ke,()=>t(xe)),l(Ce,Re)};C(Ie,Ce=>{ke()&&Ce(Ee)})}T(le),l(ge,le)};C(er,ge=>{fe()?ge(Mt):ge(tr,-1)})}l(je,x)};C(Dr,je=>{t(xe).label&&je(ba)})}var $t=S(Dr,2);Me($t,()=>({...Xt()})),sr($t,21,()=>t(xe).collapsed&&(!t(ne).trim()||fe())?[]:t(xe).options,je=>je.value,(je,x)=>{const er=(ge,le)=>{let pe=()=>(le?.()).props,Ie=()=>(le?.()).selected;var Ee=pn(),Ce=v=>Jr(v,t(x),pe().onpointerup),Re=()=>Xr(t(x));Me(Ee,()=>({...pe(),onpointerup:Ce,onclick:Re,"aria-disabled":t(R)||t(x).disabled||void 0,"data-slot":"combobox-option-motion"}));var Ke=I(Ee);{var mt=v=>{var h=fn(),ie=I(h);$(ie,yt,()=>t(x)),T(h),l(v,h)};C(Ke,v=>{yt()&&v(mt)})}var Je=S(Ke,2),qt=I(Je);{var rr=v=>{var h=Ft();X(ie=>ue(h,ie),[()=>J.ui_combobox_useCustom_label({value:t(x).label})]),l(v,h)},ar=v=>{var h=A(),ie=f(h);$(ie,bt,()=>t(x)),l(v,h)},nr=v=>{var h=Ft();X(()=>ue(h,t(x).label)),l(v,h)};C(qt,v=>{t(x)===t(Qt)?v(rr):bt()?v(ar,1):v(nr,-1)})}T(Je);var Xe=S(Je,2);{var zt=v=>{var h=A(),ie=f(h);$(ie,ht,()=>t(x)),l(v,h)},or=v=>{var h=gn(),ie=We(h,!0);X(()=>ue(ie,t(x).description)),l(v,h)};C(Xe,v=>{ht()?v(zt):t(x).description&&v(or,1)})}var kr=S(Xe,2);{let v=u(()=>Ie()?"checked":"empty"),h=u(()=>Ie()?"opacity-100":"opacity-0");Ga(kr,{get state(){return t(v)},"data-slot":"combobox-item-check",get class(){return t(h)}})}var ha=S(kr,2);{var ya=v=>{var h=A(),ie=f(h);$(ie,xt,()=>t(x)),l(v,h)};C(ha,v=>{xt()&&v(ya)})}T(Ee),l(ge,Ee)};var Mt=A(),tr=f(Mt);{let ge=u(()=>t(R)||t(x).disabled||!br(t(x))),le=u(()=>Ue(ja(),Gt(),t(x).class));W(tr,()=>Xa,(pe,Ie)=>{Ie(pe,{get value(){return t(x).value},get label(){return t(x).label},get disabled(){return t(ge)},"data-menu-item":!0,get class(){return t(le)},get child(){return er},onHighlight:()=>Vt=t(x),onUnhighlight:()=>{Vt===t(x)&&(Vt=null)}})})}l(je,Mt)}),T($t),l(gt,Sr)};let Rt=u(()=>`${P}-group-${t(Or)}`);W(_a,()=>$a,(gt,pt)=>{pt(gt,{get id(){return t(Rt)},child:ft,$$slots:{child:!0}})})}l(Jt,Ar)}),l(he,ye)};C(fa,he=>{E()||he(ga)})}T(K),Er(K,he=>O(ot,he),()=>t(ot)),l(k,K)};let m=u(()=>Ue("max-h-72 overflow-y-auto overscroll-contain p-1.5",(E()||t(Lt).length===0)&&"p-0",Ht()));W(Te,()=>Ja,(k,j)=>{j(k,{get class(){return t(m)},child:p,$$slots:{child:!0}})})}var Ze=S(Te,2);{var Le=p=>{var m=bn(),k=I(m);$(k,_t),T(m),l(p,m)};C(Ze,p=>{_t()&&p(Le)})}l(w,y)},c=(w,y)=>{let V=()=>(y?.()).props;const H=u(()=>wr(V()));var D=yn();Me(D,()=>({...t(H)}));var L=I(D);i(L),T(D),Ir(D,Y=>te?.(Y)),l(w,D)},oe=(w,y)=>{let V=()=>(y?.()).props,H=()=>(y?.()).wrapperProps;const D=u(()=>wr(V()));var L=xn();Me(L,()=>({...H()}));var Y=I(L);Me(Y,()=>({...t(D)}));var Ge=I(Y);i(Ge),T(Y),Ir(Y,Te=>te?.(Te)),T(L),l(w,L)};var M=wn(),Et=f(M);{var ia=w=>{var y=Cn(),V=I(y),H=I(V);o(H),T(V);var D=S(V,2),L=I(D);$(L,Se),T(D),T(y),l(w,y)},ua=w=>{o(w)};C(Et,w=>{Se()?w(ia):w(ua,-1)})}var ca=S(Et,2);{var da=w=>{var y=A(),V=f(y);{let H=u(()=>Ue(Mr(),"w-full max-h-72",Ne()));W(V,()=>Ya,(D,L)=>{L(D,{preventScroll:!1,onInteractOutside:ra,"data-static-position":!0,get"data-surface-level"(){return Kt},get class(){return t(H)},style:"max-width: calc(100vw - var(--space-4));",get child(){return c}})})}l(w,y)},va=w=>{const y=u(()=>G()===void 0||G()==="dialog"?Hr():void 0);var V=A(),H=f(V);{let D=u(()=>G()===!1||G()==="dialog"&&!t(y)),L=u(()=>t(y)??ce?.target());W(H,()=>Ma,(Y,Ge)=>{Ge(Y,{get disabled(){return t(D)},get to(){return t(L)},children:(Te,Ze)=>{var Le=A(),p=f(Le);{let m=u(()=>t(y)?"absolute":"fixed"),k=u(()=>t(y)!==void 0),j=u(()=>Ue(Mr(),"w-(--bits-combobox-anchor-width) max-h-72",Ne()));W(p,()=>Za,(He,K)=>{K(He,{get side(){return U()},get strategy(){return t(m)},get hideWhenDetached(){return t(k)},get onInteractOutside(){return St()},sideOffset:4,get collisionPadding(){return Ba},get"data-surface-level"(){return Kt},get class(){return t(j)},style:"max-width: calc(100vw - var(--space-4));",get child(){return oe}})})}l(Te,Le)},$$slots:{default:!0}})})}l(w,V)};C(ca,w=>{Oe()?w(da):w(va,-1)})}l(e,M)},ce=Sa(),te=Da(()=>{g(!1),It(!1)});let d=n(r,"value",15),de=n(r,"options",23,()=>[]),z=n(r,"groups",23,()=>[]),B=n(r,"multiple",7,!1),g=n(r,"open",15,!1),F=n(r,"disabled",7,!1),ve=n(r,"invalid",7,!1),b=n(r,"size",7),E=n(r,"loading",7,!1),G=n(r,"portal",7),Oe=n(r,"staticPosition",7,!1),U=n(r,"side",7,"bottom"),qe=n(r,"ariaLabel",7),Ae=n(r,"ariaLabelledby",7),Pe=n(r,"ariaDescribedby",7),N=n(r,"placeholder",23,()=>J.ui_combobox_selectOption_placeholder()),re=n(r,"searchPlaceholder",23,()=>J.ui_combobox_searchOptions_placeholder()),ze=n(r,"emptyText",23,()=>J.ui_combobox_noOptions_message()),tt=n(r,"errorText",23,()=>J.ui_combobox_searchFailed_error()),s=n(r,"retryText",23,()=>J.ui_combobox_retry_label()),ae=n(r,"class",7,""),_e=n(r,"inputClass",7,""),be=n(r,"inputVariant",7,"default"),Se=n(r,"inputAction",7),Q=n(r,"inputRef",15,null),Ne=n(r,"contentClass",7,""),De=n(r,"displayValue",7),rt=n(r,"allowCustom",7,!1),at=n(r,"header",7,""),nt=n(r,"headerAction",7),_t=n(r,"footer",7),bt=n(r,"optionLabel",7),ht=n(r,"optionDescription",7),yt=n(r,"optionIcon",7),Gt=n(r,"rowClass",7,""),xt=n(r,"optionActions",7),Ct=n(r,"groupDescription",7),ke=n(r,"groupAction",7),fe=n(r,"groupHeader",7),Ht=n(r,"viewportClass",7),wt=n(r,"onsearch",7),Ot=n(r,"onquerychange",7),jt=n(r,"onsearcherror",7),At=n(r,"onchange",7),Be=n(r,"oncommit",7),Pt=n(r,"onopenchange",7),St=n(r,"oninteractoutside",7);const Hr=Ha(),Kt=Ka(Wa()+2);Ua(Kt);const jr=Ra(),fr=u(()=>b()??jr),Kr=`${P}-input`,gr=`${P}-label`,Wt=`${P}-listbox`,Ut=u(()=>Ae()||gr);let Dt=me(null),Nt=me(null),ot=me(null),ne=me(""),kt=me(""),st=me(Vr([])),Qe=me(null),lt=me(!1),Fe=me(!1);const R=u(()=>E()||t(lt));let it=me(Vr({})),Vt=null,Ve=null,Ye=0;Oa(()=>{Ye+=1});const Tt=u(()=>z().length>0?z():[{key:"options",label:"",options:de()}]),Qt=u(()=>{const e=t(ne).trim();return!rt()||!e||[...t(Tt),...t(Qe)??[]].flatMap(i=>i.options).some(i=>i.value.toLowerCase()===e.toLowerCase()||i.label.toLowerCase()===e.toLowerCase())?null:{value:e,label:e}}),ut=u(()=>{const e=t(Qe)??t(Tt);return!t(Qt)||t(R)?e:[...e,{key:"custom",label:"",options:[t(Qt)]}]}),pr=u(()=>t(ut).flatMap(e=>e.options).map(({value:e,label:o,disabled:i})=>({value:e,label:o,disabled:i}))),Lt=u(()=>t(ut).map(e=>({...e,options:e.options.filter(o=>br(o))})).filter(e=>e.keepEmpty||e.options.length>0)),mr=u(()=>t(Lt).some(e=>e.options.length>0)),Wr=u(()=>E()?void 0:t(Lt).map((e,o)=>e.collapsed&&(!t(ne).trim()||fe())?"":`${P}-group-${o}`).filter(Boolean).join(" ")||void 0),Ur=u(()=>De()!==void 0?De():(Array.isArray(d())?d():typeof d()=="string"?[d()]:[]).map(o=>t(Tt).flatMap(i=>i.options).find(i=>i.value===o)?.label??t(it)[o]??o).filter(Boolean).join(", ")),Yt=u(()=>g()?t(ne):t(Ur));Bt(()=>{const e=typeof d()=="string"?d():"";e!==t(kt)&&O(kt,e,!0)}),Bt(()=>{const e=Array.isArray(d())?d():[];(e.length!==t(st).length||e.some((o,i)=>o!==t(st)[i]))&&O(st,[...e],!0)}),Bt(()=>{const e=Array.isArray(d())?d():typeof d()=="string"?[d()]:[],o=[...t(Tt),...t(Qe)??[]].flatMap(c=>c.options),i=Tr(()=>t(it));O(it,Object.fromEntries(e.map(c=>[c,o.find(oe=>oe.value===c)?.label??i[c]??c])),!0)}),Bt(()=>{g()||Tr(ct)});function ct(){Ye+=1;const e=t(ne)!=="";O(ne,""),O(Qe,null),O(lt,!1),O(Fe,!1),e&&Ot()?.("")}function _r(){Ve=null,!F()&&(g()||(ct(),g(!0),Pt()?.(!0)))}function br(e){const o=t(ne).trim().toLowerCase();return!o||`${e.label} ${e.description??""}`.toLowerCase().includes(o)}function Nr(e){Ve=null,O(ne,e.currentTarget.value,!0),g(!0),Ot()?.(t(ne)),hr(t(ne)),a(),t(ot)&&(t(ot).scrollTop=0)}async function hr(e){const o=++Ye;if(Ve=null,O(Fe,!1),O(Qe,null),!wt()||!e.trim()){O(lt,!1);return}O(lt,!0);try{const i=await wt()(e);if(o!==Ye)return;O(Qe,i.length>0&&"options"in i[0]?i:[{key:"search-results",label:"",options:i}],!0)}catch(i){if(o!==Ye)return;O(Fe,!0),jt()?.(i,e)}finally{o===Ye&&O(lt,!1)}}function yr(){Q()?.focus(),hr(t(ne))}function Qr(e){if(!(!g()||e.isComposing)){if(t(Fe)&&e.key==="Tab"&&!e.shiftKey&&t(Dt))e.preventDefault(),t(Dt).focus();else if(e.key==="Enter"&&t(Fe))e.preventDefault(),yr();else if(e.key==="Enter"){const o=Q()?.getAttribute("aria-activedescendant"),i=o?Q()?.ownerDocument.getElementById(o):null;(t(R)||!t(mr)||!i||!t(ot)?.contains(i)||i.getAttribute("aria-disabled")==="true")&&e.preventDefault()}}}function Yr(e){e.key==="Escape"&&Q()?.focus(),e.key==="Tab"&&(Q()?.focus(),e.shiftKey?e.preventDefault():(g(!1),It(!1)))}function xr(e){return t(R)?null:g()&&!B()&&!F()&&e&&!e.disabled&&d()===e.value?e:null}function Zr(e,o){Ve=null;const i=e.key==="Enter"&&!e.isComposing&&!t(R)&&!t(Fe)?xr(Vt):null;typeof o=="function"&&o(e),i&&!g()&&Be()?.(i.value,i)}function Jr(e,o,i){if(Ve=null,t(R)){e.preventDefault();return}const c=e.defaultPrevented?null:xr(o);typeof i=="function"&&i(e),c&&(g()?e.pointerType==="touch"&&(Ve=c):Be()?.(c.value,c))}function Xr(e){const o=Ve;Ve=null,!t(R)&&o&&o.value===e.value&&!g()&&Be()?.(o.value,o)}function Cr(e){const o=Array.isArray(e)?e:[e],i=t(ut).flatMap(c=>c.options);O(it,Object.fromEntries(o.map(c=>[c,i.find(oe=>oe.value===c)?.label??t(it)[c]??c])),!0)}function $r(e){if(t(R))return;const o=t(ut).flatMap(i=>i.options).find(i=>i.value===e);Cr(e),d(e),ct(),At()?.(e,o),o&&Be()?.(e,o)}function ea(e){if(t(R))return;const o=Array.isArray(d())?d():[],i=t(ut).flatMap(c=>c.options).find(c=>o.includes(c.value)!==e.includes(c.value));Cr(e),d(e),ct(),At()?.(e),i&&Be()?.(e,i)}function It(e){e||ct(),Pt()?.(e)}const ta="[data-popover-content], [data-dialog-content], [data-alert-dialog-content]";function ra(e){const o=t(Nt)?.closest(ta);if(o&&e.target instanceof Node&&o.contains(e.target)){e.preventDefault();return}St()?.(e)}function wr(e){const{role:o,tabindex:i,"aria-multiselectable":c,...oe}=e;return oe}var aa={get value(){return d()},set value(e){d(e),a()},get options(){return de()},set options(e=[]){de(e),a()},get groups(){return z()},set groups(e=[]){z(e),a()},get multiple(){return B()},set multiple(e=!1){B(e),a()},get open(){return g()},set open(e=!1){g(e),a()},get disabled(){return F()},set disabled(e=!1){F(e),a()},get invalid(){return ve()},set invalid(e=!1){ve(e),a()},get size(){return b()},set size(e){b(e),a()},get loading(){return E()},set loading(e=!1){E(e),a()},get portal(){return G()},set portal(e){G(e),a()},get staticPosition(){return Oe()},set staticPosition(e=!1){Oe(e),a()},get side(){return U()},set side(e="bottom"){U(e),a()},get ariaLabel(){return qe()},set ariaLabel(e){qe(e),a()},get ariaLabelledby(){return Ae()},set ariaLabelledby(e){Ae(e),a()},get ariaDescribedby(){return Pe()},set ariaDescribedby(e){Pe(e),a()},get placeholder(){return N()},set placeholder(e=J.ui_combobox_selectOption_placeholder()){N(e),a()},get searchPlaceholder(){return re()},set searchPlaceholder(e=J.ui_combobox_searchOptions_placeholder()){re(e),a()},get emptyText(){return ze()},set emptyText(e=J.ui_combobox_noOptions_message()){ze(e),a()},get errorText(){return tt()},set errorText(e=J.ui_combobox_searchFailed_error()){tt(e),a()},get retryText(){return s()},set retryText(e=J.ui_combobox_retry_label()){s(e),a()},get class(){return ae()},set class(e=""){ae(e),a()},get inputClass(){return _e()},set inputClass(e=""){_e(e),a()},get inputVariant(){return be()},set inputVariant(e="default"){be(e),a()},get inputAction(){return Se()},set inputAction(e){Se(e),a()},get inputRef(){return Q()},set inputRef(e=null){Q(e),a()},get contentClass(){return Ne()},set contentClass(e=""){Ne(e),a()},get displayValue(){return De()},set displayValue(e){De(e),a()},get allowCustom(){return rt()},set allowCustom(e=!1){rt(e),a()},get header(){return at()},set header(e=""){at(e),a()},get headerAction(){return nt()},set headerAction(e){nt(e),a()},get footer(){return _t()},set footer(e){_t(e),a()},get optionLabel(){return bt()},set optionLabel(e){bt(e),a()},get optionDescription(){return ht()},set optionDescription(e){ht(e),a()},get optionIcon(){return yt()},set optionIcon(e){yt(e),a()},get rowClass(){return Gt()},set rowClass(e=""){Gt(e),a()},get optionActions(){return xt()},set optionActions(e){xt(e),a()},get groupDescription(){return Ct()},set groupDescription(e){Ct(e),a()},get groupAction(){return ke()},set groupAction(e){ke(e),a()},get groupHeader(){return fe()},set groupHeader(e){fe(e),a()},get viewportClass(){return Ht()},set viewportClass(e){Ht(e),a()},get onsearch(){return wt()},set onsearch(e){wt(e),a()},get onquerychange(){return Ot()},set onquerychange(e){Ot(e),a()},get onsearcherror(){return jt()},set onsearcherror(e){jt(e),a()},get onchange(){return At()},set onchange(e){At(e),a()},get oncommit(){return Be()},set oncommit(e){Be(e),a()},get onopenchange(){return Pt()},set onopenchange(e){Pt(e),a()},get oninteractoutside(){return St()},set oninteractoutside(e){St(e),a()},$set:ur,$on:(e,o)=>cr(r,e,o)},dt=On(),Zt=I(dt),na=We(Zt,!0),oa=S(Zt,2);{var sa=e=>{var o=A(),i=f(o);W(i,()=>lr,(c,oe)=>{oe(c,{type:"multiple",get items(){return t(pr)},get disabled(){return F()},get inputValue(){return t(Yt)},onValueChange:ea,onOpenChange:It,get value(){return t(st)},set value(M){O(st,M,!0)},get open(){return g()},set open(M){g(M)},children:(M,Et)=>{ee(M)},$$slots:{default:!0}})}),l(e,o)},la=e=>{var o=A(),i=f(o);W(i,()=>lr,(c,oe)=>{oe(c,{type:"single",allowDeselect:!1,get items(){return t(pr)},get disabled(){return F()},get inputValue(){return t(Yt)},onValueChange:$r,onOpenChange:It,get value(){return t(kt)},set value(M){O(kt,M,!0)},get open(){return g()},set open(M){g(M)},children:(M,Et)=>{ee(M)},$$slots:{default:!0}})}),l(e,o)};C(oa,e=>{B()?e(sa):e(la,-1)})}return T(dt),Er(dt,e=>O(Nt,e),()=>t(Nt)),X(e=>{Pa(dt,1,e),$e(Zt,"id",gr),ue(na,qe())},[()=>Aa(Ue("relative w-full",be()==="search"&&"flex flex-col gap-1",ae()))]),l(we,dt),vr(aa)}export{An as C};
|
|
1
|
+
import{t as ir,bo as n,bw as ur,b as cr,bp as xa,bm as J}from"./Fcr7AvC-.js";import{bs as dr,ay as f,a7 as A,bf as Ca,W as l,bS as S,aD as t,bn as vr,aA as a,c9 as u,aB as _,bo as wa,bV as me,br as Vr,bj as Oa,ca as Bt,bH as O,c5 as Tr,a5 as I,bl as We,bA as T,b_ as X,bO as ue,be as Lr,b$ as Ft}from"./3SdAC2_C.js";import{i as C}from"./BhYXv0ZM.js";import{g as sr,e as Ir}from"./CA6H1-bp.js";import{t as $}from"./CWfjuhY2.js";import{c as W}from"./2z64ELW5.js";import{b as Me,c as Aa,e as Ue,f as Pa,s as $e}from"./BRCr02in.js";import{b as Er}from"./Dn334wJv.js";import{i as Sa,f as Da,q as ka,n as Va,k as Ta}from"./DReNFETs.js";import{aS as et,a$ as La,av as q,H as Ia,aZ as Rr,aQ as Ea,a_ as Ra,a1 as Ma,f as qa}from"./D-lOH49i.js";import"./pYdPYEfN.js";import{F as za,O as Ba,a as Fa,M as Ga}from"./XdXjguTz.js";import{u as Ha,b as Mr,a as ja}from"./CpIcQB5T.js";import{c as Ka,u as Wa,s as Ua}from"./D9tVylVS.js";import"./O5ZlQHf9.js";import{c as Na,g as qr,b as Qa,f as Ya,e as Za,i as Ja,h as Xa}from"./DJx-btvr.js";import{S as $a,a as zr}from"./B5rWFERE.js";import{S as en}from"./CqVeTPQI.js";var tn=_("<!> <!>",1);function lr(we,r){if(new.target)return ir({component:lr,...we});dr(r,!0);let P=n(r,"value",15),ee=n(r,"onValueChange",7,et),ce=n(r,"name",7,""),te=n(r,"disabled",7,!1),d=n(r,"type",7),de=n(r,"open",15,!1),z=n(r,"onOpenChange",7,et),B=n(r,"onOpenChangeComplete",7,et),g=n(r,"loop",7,!1),F=n(r,"scrollAlignment",7,"nearest"),ve=n(r,"required",7,!1),b=n(r,"items",23,()=>[]),E=n(r,"allowDeselect",7,!0),G=n(r,"inputValue",7,""),Oe=n(r,"children",7);if(P()===void 0){const s=d()==="single"?"":[];P(s)}La.pre(()=>P(),()=>{P()===void 0&&P(d()==="single"?"":[])});const U=Na.create({type:d(),value:q(()=>P(),s=>{P(s),ee()(s)}),disabled:q(()=>te()),required:q(()=>ve()),open:q(()=>de(),s=>{de(s),z()(s)}),loop:q(()=>g()),scrollAlignment:q(()=>F()),name:q(()=>ce()),isCombobox:!0,items:q(()=>b()),allowDeselect:q(()=>E()),inputValue:q(()=>G(),s=>G(s)),onOpenChangeComplete:q(()=>B())});var qe={get value(){return P()},set value(s){P(s),a()},get onValueChange(){return ee()},set onValueChange(s=et){ee(s),a()},get name(){return ce()},set name(s=""){ce(s),a()},get disabled(){return te()},set disabled(s=!1){te(s),a()},get type(){return d()},set type(s){d(s),a()},get open(){return de()},set open(s=!1){de(s),a()},get onOpenChange(){return z()},set onOpenChange(s=et){z(s),a()},get onOpenChangeComplete(){return B()},set onOpenChangeComplete(s=et){B(s),a()},get loop(){return g()},set loop(s=!1){g(s),a()},get scrollAlignment(){return F()},set scrollAlignment(s="nearest"){F(s),a()},get required(){return ve()},set required(s=!1){ve(s),a()},get items(){return b()},set items(s=[]){b(s),a()},get allowDeselect(){return E()},set allowDeselect(s=!0){E(s),a()},get inputValue(){return G()},set inputValue(s=""){G(s),a()},get children(){return Oe()},set children(s){Oe(s),a()},$set:ur,$on:(s,ae)=>cr(r,s,ae)},Ae=tn(),Pe=f(Ae);Ia(Pe,{children:(s,ae)=>{var _e=A(),be=f(_e);$(be,()=>Oe()??Ca),l(s,_e)},$$slots:{default:!0}});var N=S(Pe,2);{var re=s=>{var ae=A(),_e=f(ae);{var be=Se=>{var Q=A(),Ne=f(Q);sr(Ne,16,()=>U.opts.value.current,De=>De,(De,rt)=>{qr(De,{get value(){return rt}})}),l(Se,Q)};C(_e,Se=>{U.opts.value.current.length&&Se(be)})}l(s,ae)},ze=u(()=>Array.isArray(U.opts.value.current)),tt=s=>{qr(s,{get value(){return U.opts.value.current},set value(ae){U.opts.value.current=ae}})};C(N,s=>{t(ze)?s(re):s(tt,-1)})}return l(we,Ae),vr(qe)}var rn=new Set(["$$slots","$$events","$$legacy","id","ref","child","defaultValue","clearOnDeselect"]),an=_("<input/>");function Gr(we,r){if(new.target)return ir({component:Gr,...we});dr(r,!0);let P=n(r,"id",23,Rr),ee=n(r,"ref",15,null),ce=n(r,"child",7),te=n(r,"defaultValue",7),d=n(r,"clearOnDeselect",7,!1),de=xa(r,rn);const z=Qa.create({id:q(()=>P()),ref:q(()=>ee(),b=>ee(b)),clearOnDeselect:q(()=>d())});te()&&(z.root.opts.inputValue.current=te());const B=u(()=>Ea(de,z.props,{value:z.root.opts.inputValue.current}));var g={get id(){return P()},set id(b=Rr()){P(b),a()},get ref(){return ee()},set ref(b=null){ee(b),a()},get child(){return ce()},set child(b){ce(b),a()},get defaultValue(){return te()},set defaultValue(b){te(b),a()},get clearOnDeselect(){return d()},set clearOnDeselect(b=!1){d(b),a()},$set:ur,$on:(b,E)=>cr(r,b,E)},F=A(),ve=f(F);return W(ve,()=>za,(b,E)=>{E(b,{get id(){return P()},get ref(){return z.opts.ref},children:(G,Oe)=>{var U=A(),qe=f(U);{var Ae=N=>{var re=A(),ze=f(re);$(ze,ce,()=>({props:t(B)})),l(N,re)},Pe=N=>{var re=an();Me(re,()=>({...t(B)}),void 0,void 0,void 0,void 0,!0),l(N,re)};C(qe,N=>{ce()?N(Ae):N(Pe,-1)})}l(G,U)},$$slots:{default:!0}})}),l(we,F),vr(g)}var nn=_("<input/>"),on=_('<span class="type-caption min-w-0 truncate font-medium text-muted-foreground"> </span>'),sn=_('<div class="ml-auto"><!></div>'),ln=_('<div class="flex min-w-0 shrink-0 items-center gap-2 border-b border-border px-3 py-2"><!> <!></div>'),Br=_('<div class="type-caption px-3 py-2 text-muted-foreground" role="status"> </div>'),un=_('<div class="flex items-center gap-2 px-3 py-2"><span class="type-caption text-muted-foreground" role="status"> </span> <!></div>'),cn=_('<div role="listbox" class="sr-only"></div>'),Fr=_("<!> <!>",1),dn=_("<span> </span> <!>",1),vn=_('<div class="type-caption px-2.5 py-1.5 font-medium text-muted-foreground"><!> <!></div>'),fn=_('<span class="first-line-icon shrink-0"><!></span>'),gn=_('<span class="type-caption max-w-1/2 shrink-0 truncate text-muted-foreground"> </span>'),pn=_('<div><!> <span class="min-w-0 flex-1 truncate"><!></span> <!> <!> <!></div>'),mn=_("<!> <div></div>",1),_n=_("<div><!> <!> <!></div>"),bn=_('<div class="shrink-0 border-t border-border bg-muted/20 px-3 py-2"><!></div>'),hn=_("<!> <!> <!> <!>",1),yn=_("<div><!></div>"),xn=_("<div><div><!></div></div>"),Cn=_('<div class="flex min-w-0 shrink-0 items-center gap-1"><div class="min-w-0 flex-1"><!></div> <div class="shrink-0"><!></div></div>'),wn=_("<!> <!>",1),On=_('<div><span class="sr-only"> </span> <!></div>');function An(we,r){const P=wa();if(new.target)return ir({component:An,...we});dr(r,!0);const ee=e=>{const o=w=>{var y=A(),V=f(y);{const H=(Ze,Le)=>{let p=()=>(Le?.()).props;var m=nn(),k=j=>Zr(j,p().onkeydown);Me(m,()=>({...p(),value:t(Yt),onkeydown:k}),void 0,void 0,void 0,void 0,!0),l(Ze,m)};let D=u(()=>g()?Wt:void 0),L=u(()=>ve()||void 0),Y=u(()=>g()?re():N()),Ge=u(()=>be()==="search"?"search":void 0),Te=u(()=>be()==="search"?Ue(ka,_e()):Ue("type-caption text-foreground placeholder:text-muted-foreground w-full min-w-0 rounded-(--radius-medium) border px-3",Ta,"focus-visible:outline-solid focus-visible:-outline-offset-2",Va(t(fr)),ve()&&"border-danger ring-1 ring-danger/25",_e()));W(V,()=>Gr,(Ze,Le)=>{Le(Ze,{get id(){return Kr},get"aria-labelledby"(){return t(Ut)},get"aria-describedby"(){return Pe()},get"aria-busy"(){return t(R)},get"aria-controls"(){return t(D)},get"aria-invalid"(){return t(L)},get placeholder(){return t(Y)},onfocus:_r,onclick:_r,oninput:Nr,onkeydown:Qr,get"data-size"(){return t(fr)},get"data-variant"(){return t(Ge)},get class(){return t(Te)},get ref(){return Q()},set ref(p){Q(p)},child:H,$$slots:{child:!0}})})}l(w,y)},i=w=>{var y=hn(),V=f(y);{var H=p=>{var m=ln(),k=I(m);{var j=se=>{var Z=on(),vt=We(Z,!0);X(()=>ue(vt,at())),l(se,Z)};C(k,se=>{at()&&se(j)})}var He=S(k,2);{var K=se=>{var Z=sn(),vt=I(Z);$(vt,nt),T(Z),l(se,Z)};C(He,se=>{nt()&&se(K)})}T(m),l(p,m)};C(V,p=>{(at()||nt())&&p(H)})}var D=S(V,2);{var L=p=>{var m=Br(),k=We(m,!0);X(j=>ue(k,j),[()=>J.ui_combobox_loadingOptions_message()]),l(p,m)},Y=p=>{var m=un(),k=I(m),j=We(k,!0),He=S(k,2);qa(He,{variant:"ghost",size:"sm",onclick:yr,onkeydown:Yr,get ref(){return t(Dt)},set ref(K){O(Dt,K,!0)},children:(K,se)=>{Lr();var Z=Ft();X(()=>ue(Z,s())),l(K,Z)},$$slots:{default:!0}}),T(m),X(()=>ue(j,tt())),l(p,m)},Ge=p=>{var m=Br(),k=We(m,!0);X(()=>ue(k,ze())),l(p,m)};C(D,p=>{t(R)?p(L):t(Fe)?p(Y,1):t(mr)||p(Ge,2)})}var Te=S(D,2);{const p=(k,j)=>{let He=()=>(j?.()).props;var K=_n();Me(K,()=>({...He(),id:ke()||fe()?void 0:Wt,role:ke()||fe()?"region":"listbox","aria-multiselectable":!ke()&&!fe()&&B()?!0:void 0,"aria-labelledby":t(Ut),"aria-busy":t(R),tabindex:"0"}));var se=I(K);Fa(se,{});var Z=S(se,2);{var vt=he=>{var ye=cn();X(()=>{$e(ye,"id",Wt),$e(ye,"aria-labelledby",t(Ut)),$e(ye,"aria-multiselectable",B()||void 0),$e(ye,"aria-busy",t(R)),$e(ye,"aria-owns",t(Wr))}),l(he,ye)};C(Z,he=>{(ke()||fe())&&he(vt)})}var fa=S(Z,2);{var ga=he=>{var ye=A(),pa=f(ye);sr(pa,19,()=>t(Lt),Jt=>Jt.key,(Jt,xe,Or)=>{var Ar=Fr(),Pr=f(Ar);{var ma=ft=>{var Rt=A(),gt=f(Rt);W(gt,()=>en,(pt,Xt)=>{Xt(pt,{decorative:!0,class:"my-1 border-t border-border"})}),l(ft,Rt)};C(Pr,ft=>{t(xe).separatorBefore&&t(Or)>0&&ft(ma)})}var _a=S(Pr,2);{const ft=(gt,pt)=>{let Xt=()=>(pt?.()).props;var Sr=mn(),Dr=f(Sr);{var ba=je=>{var x=A(),er=f(x);{var Mt=ge=>{var le=Fr(),pe=f(le);W(pe,()=>zr,(Ee,Ce)=>{Ce(Ee,{class:"sr-only",children:(Re,Ke)=>{Lr();var mt=Ft();X(()=>ue(mt,t(xe).label)),l(Re,mt)},$$slots:{default:!0}})});var Ie=S(pe,2);$(Ie,fe,()=>t(xe)),l(ge,le)},tr=ge=>{var le=vn(),pe=I(le);W(pe,()=>zr,(Ce,Re)=>{Re(Ce,{class:"inline",children:(Ke,mt)=>{var Je=dn(),qt=f(Je),rr=We(qt,!0),ar=S(qt,2);{var nr=Xe=>{var zt=A(),or=f(zt);$(or,Ct,()=>t(xe)),l(Xe,zt)};C(ar,Xe=>{Ct()&&Xe(nr)})}X(()=>ue(rr,t(xe).label)),l(Ke,Je)},$$slots:{default:!0}})});var Ie=S(pe,2);{var Ee=Ce=>{var Re=A(),Ke=f(Re);$(Ke,ke,()=>t(xe)),l(Ce,Re)};C(Ie,Ce=>{ke()&&Ce(Ee)})}T(le),l(ge,le)};C(er,ge=>{fe()?ge(Mt):ge(tr,-1)})}l(je,x)};C(Dr,je=>{t(xe).label&&je(ba)})}var $t=S(Dr,2);Me($t,()=>({...Xt()})),sr($t,21,()=>t(xe).collapsed&&(!t(ne).trim()||fe())?[]:t(xe).options,je=>je.value,(je,x)=>{const er=(ge,le)=>{let pe=()=>(le?.()).props,Ie=()=>(le?.()).selected;var Ee=pn(),Ce=v=>Jr(v,t(x),pe().onpointerup),Re=()=>Xr(t(x));Me(Ee,()=>({...pe(),onpointerup:Ce,onclick:Re,"aria-disabled":t(R)||t(x).disabled||void 0,"data-slot":"combobox-option-motion"}));var Ke=I(Ee);{var mt=v=>{var h=fn(),ie=I(h);$(ie,yt,()=>t(x)),T(h),l(v,h)};C(Ke,v=>{yt()&&v(mt)})}var Je=S(Ke,2),qt=I(Je);{var rr=v=>{var h=Ft();X(ie=>ue(h,ie),[()=>J.ui_combobox_useCustom_label({value:t(x).label})]),l(v,h)},ar=v=>{var h=A(),ie=f(h);$(ie,bt,()=>t(x)),l(v,h)},nr=v=>{var h=Ft();X(()=>ue(h,t(x).label)),l(v,h)};C(qt,v=>{t(x)===t(Qt)?v(rr):bt()?v(ar,1):v(nr,-1)})}T(Je);var Xe=S(Je,2);{var zt=v=>{var h=A(),ie=f(h);$(ie,ht,()=>t(x)),l(v,h)},or=v=>{var h=gn(),ie=We(h,!0);X(()=>ue(ie,t(x).description)),l(v,h)};C(Xe,v=>{ht()?v(zt):t(x).description&&v(or,1)})}var kr=S(Xe,2);{let v=u(()=>Ie()?"checked":"empty"),h=u(()=>Ie()?"opacity-100":"opacity-0");Ga(kr,{get state(){return t(v)},"data-slot":"combobox-item-check",get class(){return t(h)}})}var ha=S(kr,2);{var ya=v=>{var h=A(),ie=f(h);$(ie,xt,()=>t(x)),l(v,h)};C(ha,v=>{xt()&&v(ya)})}T(Ee),l(ge,Ee)};var Mt=A(),tr=f(Mt);{let ge=u(()=>t(R)||t(x).disabled||!br(t(x))),le=u(()=>Ue(ja(),Gt(),t(x).class));W(tr,()=>Xa,(pe,Ie)=>{Ie(pe,{get value(){return t(x).value},get label(){return t(x).label},get disabled(){return t(ge)},"data-menu-item":!0,get class(){return t(le)},get child(){return er},onHighlight:()=>Vt=t(x),onUnhighlight:()=>{Vt===t(x)&&(Vt=null)}})})}l(je,Mt)}),T($t),l(gt,Sr)};let Rt=u(()=>`${P}-group-${t(Or)}`);W(_a,()=>$a,(gt,pt)=>{pt(gt,{get id(){return t(Rt)},child:ft,$$slots:{child:!0}})})}l(Jt,Ar)}),l(he,ye)};C(fa,he=>{E()||he(ga)})}T(K),Er(K,he=>O(ot,he),()=>t(ot)),l(k,K)};let m=u(()=>Ue("max-h-72 overflow-y-auto overscroll-contain p-1.5",(E()||t(Lt).length===0)&&"p-0",Ht()));W(Te,()=>Ja,(k,j)=>{j(k,{get class(){return t(m)},child:p,$$slots:{child:!0}})})}var Ze=S(Te,2);{var Le=p=>{var m=bn(),k=I(m);$(k,_t),T(m),l(p,m)};C(Ze,p=>{_t()&&p(Le)})}l(w,y)},c=(w,y)=>{let V=()=>(y?.()).props;const H=u(()=>wr(V()));var D=yn();Me(D,()=>({...t(H)}));var L=I(D);i(L),T(D),Ir(D,Y=>te?.(Y)),l(w,D)},oe=(w,y)=>{let V=()=>(y?.()).props,H=()=>(y?.()).wrapperProps;const D=u(()=>wr(V()));var L=xn();Me(L,()=>({...H()}));var Y=I(L);Me(Y,()=>({...t(D)}));var Ge=I(Y);i(Ge),T(Y),Ir(Y,Te=>te?.(Te)),T(L),l(w,L)};var M=wn(),Et=f(M);{var ia=w=>{var y=Cn(),V=I(y),H=I(V);o(H),T(V);var D=S(V,2),L=I(D);$(L,Se),T(D),T(y),l(w,y)},ua=w=>{o(w)};C(Et,w=>{Se()?w(ia):w(ua,-1)})}var ca=S(Et,2);{var da=w=>{var y=A(),V=f(y);{let H=u(()=>Ue(Mr(),"w-full max-h-72",Ne()));W(V,()=>Ya,(D,L)=>{L(D,{preventScroll:!1,onInteractOutside:ra,"data-static-position":!0,get"data-surface-level"(){return Kt},get class(){return t(H)},style:"max-width: calc(100vw - var(--space-4));",get child(){return c}})})}l(w,y)},va=w=>{const y=u(()=>G()===void 0||G()==="dialog"?Hr():void 0);var V=A(),H=f(V);{let D=u(()=>G()===!1||G()==="dialog"&&!t(y)),L=u(()=>t(y)??ce?.target());W(H,()=>Ma,(Y,Ge)=>{Ge(Y,{get disabled(){return t(D)},get to(){return t(L)},children:(Te,Ze)=>{var Le=A(),p=f(Le);{let m=u(()=>t(y)?"absolute":"fixed"),k=u(()=>t(y)!==void 0),j=u(()=>Ue(Mr(),"w-(--bits-combobox-anchor-width) max-h-72",Ne()));W(p,()=>Za,(He,K)=>{K(He,{get side(){return U()},get strategy(){return t(m)},get hideWhenDetached(){return t(k)},get onInteractOutside(){return St()},sideOffset:4,get collisionPadding(){return Ba},get"data-surface-level"(){return Kt},get class(){return t(j)},style:"max-width: calc(100vw - var(--space-4));",get child(){return oe}})})}l(Te,Le)},$$slots:{default:!0}})})}l(w,V)};C(ca,w=>{Oe()?w(da):w(va,-1)})}l(e,M)},ce=Sa(),te=Da(()=>{g(!1),It(!1)});let d=n(r,"value",15),de=n(r,"options",23,()=>[]),z=n(r,"groups",23,()=>[]),B=n(r,"multiple",7,!1),g=n(r,"open",15,!1),F=n(r,"disabled",7,!1),ve=n(r,"invalid",7,!1),b=n(r,"size",7),E=n(r,"loading",7,!1),G=n(r,"portal",7),Oe=n(r,"staticPosition",7,!1),U=n(r,"side",7,"bottom"),qe=n(r,"ariaLabel",7),Ae=n(r,"ariaLabelledby",7),Pe=n(r,"ariaDescribedby",7),N=n(r,"placeholder",23,()=>J.ui_combobox_selectOption_placeholder()),re=n(r,"searchPlaceholder",23,()=>J.ui_combobox_searchOptions_placeholder()),ze=n(r,"emptyText",23,()=>J.ui_combobox_noOptions_message()),tt=n(r,"errorText",23,()=>J.ui_combobox_searchFailed_error()),s=n(r,"retryText",23,()=>J.ui_combobox_retry_label()),ae=n(r,"class",7,""),_e=n(r,"inputClass",7,""),be=n(r,"inputVariant",7,"default"),Se=n(r,"inputAction",7),Q=n(r,"inputRef",15,null),Ne=n(r,"contentClass",7,""),De=n(r,"displayValue",7),rt=n(r,"allowCustom",7,!1),at=n(r,"header",7,""),nt=n(r,"headerAction",7),_t=n(r,"footer",7),bt=n(r,"optionLabel",7),ht=n(r,"optionDescription",7),yt=n(r,"optionIcon",7),Gt=n(r,"rowClass",7,""),xt=n(r,"optionActions",7),Ct=n(r,"groupDescription",7),ke=n(r,"groupAction",7),fe=n(r,"groupHeader",7),Ht=n(r,"viewportClass",7),wt=n(r,"onsearch",7),Ot=n(r,"onquerychange",7),jt=n(r,"onsearcherror",7),At=n(r,"onchange",7),Be=n(r,"oncommit",7),Pt=n(r,"onopenchange",7),St=n(r,"oninteractoutside",7);const Hr=Ha(),Kt=Ka(Wa()+2);Ua(Kt);const jr=Ra(),fr=u(()=>b()??jr),Kr=`${P}-input`,gr=`${P}-label`,Wt=`${P}-listbox`,Ut=u(()=>Ae()||gr);let Dt=me(null),Nt=me(null),ot=me(null),ne=me(""),kt=me(""),st=me(Vr([])),Qe=me(null),lt=me(!1),Fe=me(!1);const R=u(()=>E()||t(lt));let it=me(Vr({})),Vt=null,Ve=null,Ye=0;Oa(()=>{Ye+=1});const Tt=u(()=>z().length>0?z():[{key:"options",label:"",options:de()}]),Qt=u(()=>{const e=t(ne).trim();return!rt()||!e||[...t(Tt),...t(Qe)??[]].flatMap(i=>i.options).some(i=>i.value.toLowerCase()===e.toLowerCase()||i.label.toLowerCase()===e.toLowerCase())?null:{value:e,label:e}}),ut=u(()=>{const e=t(Qe)??t(Tt);return!t(Qt)||t(R)?e:[...e,{key:"custom",label:"",options:[t(Qt)]}]}),pr=u(()=>t(ut).flatMap(e=>e.options).map(({value:e,label:o,disabled:i})=>({value:e,label:o,disabled:i}))),Lt=u(()=>t(ut).map(e=>({...e,options:e.options.filter(o=>br(o))})).filter(e=>e.keepEmpty||e.options.length>0)),mr=u(()=>t(Lt).some(e=>e.options.length>0)),Wr=u(()=>E()?void 0:t(Lt).map((e,o)=>e.collapsed&&(!t(ne).trim()||fe())?"":`${P}-group-${o}`).filter(Boolean).join(" ")||void 0),Ur=u(()=>De()!==void 0?De():(Array.isArray(d())?d():typeof d()=="string"?[d()]:[]).map(o=>t(Tt).flatMap(i=>i.options).find(i=>i.value===o)?.label??t(it)[o]??o).filter(Boolean).join(", ")),Yt=u(()=>g()?t(ne):t(Ur));Bt(()=>{const e=typeof d()=="string"?d():"";e!==t(kt)&&O(kt,e,!0)}),Bt(()=>{const e=Array.isArray(d())?d():[];(e.length!==t(st).length||e.some((o,i)=>o!==t(st)[i]))&&O(st,[...e],!0)}),Bt(()=>{const e=Array.isArray(d())?d():typeof d()=="string"?[d()]:[],o=[...t(Tt),...t(Qe)??[]].flatMap(c=>c.options),i=Tr(()=>t(it));O(it,Object.fromEntries(e.map(c=>[c,o.find(oe=>oe.value===c)?.label??i[c]??c])),!0)}),Bt(()=>{g()||Tr(ct)});function ct(){Ye+=1;const e=t(ne)!=="";O(ne,""),O(Qe,null),O(lt,!1),O(Fe,!1),e&&Ot()?.("")}function _r(){Ve=null,!F()&&(g()||(ct(),g(!0),Pt()?.(!0)))}function br(e){const o=t(ne).trim().toLowerCase();return!o||`${e.label} ${e.description??""}`.toLowerCase().includes(o)}function Nr(e){Ve=null,O(ne,e.currentTarget.value,!0),g(!0),Ot()?.(t(ne)),hr(t(ne)),a(),t(ot)&&(t(ot).scrollTop=0)}async function hr(e){const o=++Ye;if(Ve=null,O(Fe,!1),O(Qe,null),!wt()||!e.trim()){O(lt,!1);return}O(lt,!0);try{const i=await wt()(e);if(o!==Ye)return;O(Qe,i.length>0&&"options"in i[0]?i:[{key:"search-results",label:"",options:i}],!0)}catch(i){if(o!==Ye)return;O(Fe,!0),jt()?.(i,e)}finally{o===Ye&&O(lt,!1)}}function yr(){Q()?.focus(),hr(t(ne))}function Qr(e){if(!(!g()||e.isComposing)){if(t(Fe)&&e.key==="Tab"&&!e.shiftKey&&t(Dt))e.preventDefault(),t(Dt).focus();else if(e.key==="Enter"&&t(Fe))e.preventDefault(),yr();else if(e.key==="Enter"){const o=Q()?.getAttribute("aria-activedescendant"),i=o?Q()?.ownerDocument.getElementById(o):null;(t(R)||!t(mr)||!i||!t(ot)?.contains(i)||i.getAttribute("aria-disabled")==="true")&&e.preventDefault()}}}function Yr(e){e.key==="Escape"&&Q()?.focus(),e.key==="Tab"&&(Q()?.focus(),e.shiftKey?e.preventDefault():(g(!1),It(!1)))}function xr(e){return t(R)?null:g()&&!B()&&!F()&&e&&!e.disabled&&d()===e.value?e:null}function Zr(e,o){Ve=null;const i=e.key==="Enter"&&!e.isComposing&&!t(R)&&!t(Fe)?xr(Vt):null;typeof o=="function"&&o(e),i&&!g()&&Be()?.(i.value,i)}function Jr(e,o,i){if(Ve=null,t(R)){e.preventDefault();return}const c=e.defaultPrevented?null:xr(o);typeof i=="function"&&i(e),c&&(g()?e.pointerType==="touch"&&(Ve=c):Be()?.(c.value,c))}function Xr(e){const o=Ve;Ve=null,!t(R)&&o&&o.value===e.value&&!g()&&Be()?.(o.value,o)}function Cr(e){const o=Array.isArray(e)?e:[e],i=t(ut).flatMap(c=>c.options);O(it,Object.fromEntries(o.map(c=>[c,i.find(oe=>oe.value===c)?.label??t(it)[c]??c])),!0)}function $r(e){if(t(R))return;const o=t(ut).flatMap(i=>i.options).find(i=>i.value===e);Cr(e),d(e),ct(),At()?.(e,o),o&&Be()?.(e,o)}function ea(e){if(t(R))return;const o=Array.isArray(d())?d():[],i=t(ut).flatMap(c=>c.options).find(c=>o.includes(c.value)!==e.includes(c.value));Cr(e),d(e),ct(),At()?.(e),i&&Be()?.(e,i)}function It(e){e||ct(),Pt()?.(e)}const ta="[data-popover-content], [data-dialog-content], [data-alert-dialog-content]";function ra(e){const o=t(Nt)?.closest(ta);if(o&&e.target instanceof Node&&o.contains(e.target)){e.preventDefault();return}St()?.(e)}function wr(e){const{role:o,tabindex:i,"aria-multiselectable":c,...oe}=e;return oe}var aa={get value(){return d()},set value(e){d(e),a()},get options(){return de()},set options(e=[]){de(e),a()},get groups(){return z()},set groups(e=[]){z(e),a()},get multiple(){return B()},set multiple(e=!1){B(e),a()},get open(){return g()},set open(e=!1){g(e),a()},get disabled(){return F()},set disabled(e=!1){F(e),a()},get invalid(){return ve()},set invalid(e=!1){ve(e),a()},get size(){return b()},set size(e){b(e),a()},get loading(){return E()},set loading(e=!1){E(e),a()},get portal(){return G()},set portal(e){G(e),a()},get staticPosition(){return Oe()},set staticPosition(e=!1){Oe(e),a()},get side(){return U()},set side(e="bottom"){U(e),a()},get ariaLabel(){return qe()},set ariaLabel(e){qe(e),a()},get ariaLabelledby(){return Ae()},set ariaLabelledby(e){Ae(e),a()},get ariaDescribedby(){return Pe()},set ariaDescribedby(e){Pe(e),a()},get placeholder(){return N()},set placeholder(e=J.ui_combobox_selectOption_placeholder()){N(e),a()},get searchPlaceholder(){return re()},set searchPlaceholder(e=J.ui_combobox_searchOptions_placeholder()){re(e),a()},get emptyText(){return ze()},set emptyText(e=J.ui_combobox_noOptions_message()){ze(e),a()},get errorText(){return tt()},set errorText(e=J.ui_combobox_searchFailed_error()){tt(e),a()},get retryText(){return s()},set retryText(e=J.ui_combobox_retry_label()){s(e),a()},get class(){return ae()},set class(e=""){ae(e),a()},get inputClass(){return _e()},set inputClass(e=""){_e(e),a()},get inputVariant(){return be()},set inputVariant(e="default"){be(e),a()},get inputAction(){return Se()},set inputAction(e){Se(e),a()},get inputRef(){return Q()},set inputRef(e=null){Q(e),a()},get contentClass(){return Ne()},set contentClass(e=""){Ne(e),a()},get displayValue(){return De()},set displayValue(e){De(e),a()},get allowCustom(){return rt()},set allowCustom(e=!1){rt(e),a()},get header(){return at()},set header(e=""){at(e),a()},get headerAction(){return nt()},set headerAction(e){nt(e),a()},get footer(){return _t()},set footer(e){_t(e),a()},get optionLabel(){return bt()},set optionLabel(e){bt(e),a()},get optionDescription(){return ht()},set optionDescription(e){ht(e),a()},get optionIcon(){return yt()},set optionIcon(e){yt(e),a()},get rowClass(){return Gt()},set rowClass(e=""){Gt(e),a()},get optionActions(){return xt()},set optionActions(e){xt(e),a()},get groupDescription(){return Ct()},set groupDescription(e){Ct(e),a()},get groupAction(){return ke()},set groupAction(e){ke(e),a()},get groupHeader(){return fe()},set groupHeader(e){fe(e),a()},get viewportClass(){return Ht()},set viewportClass(e){Ht(e),a()},get onsearch(){return wt()},set onsearch(e){wt(e),a()},get onquerychange(){return Ot()},set onquerychange(e){Ot(e),a()},get onsearcherror(){return jt()},set onsearcherror(e){jt(e),a()},get onchange(){return At()},set onchange(e){At(e),a()},get oncommit(){return Be()},set oncommit(e){Be(e),a()},get onopenchange(){return Pt()},set onopenchange(e){Pt(e),a()},get oninteractoutside(){return St()},set oninteractoutside(e){St(e),a()},$set:ur,$on:(e,o)=>cr(r,e,o)},dt=On(),Zt=I(dt),na=We(Zt,!0),oa=S(Zt,2);{var sa=e=>{var o=A(),i=f(o);W(i,()=>lr,(c,oe)=>{oe(c,{type:"multiple",get items(){return t(pr)},get disabled(){return F()},get inputValue(){return t(Yt)},onValueChange:ea,onOpenChange:It,get value(){return t(st)},set value(M){O(st,M,!0)},get open(){return g()},set open(M){g(M)},children:(M,Et)=>{ee(M)},$$slots:{default:!0}})}),l(e,o)},la=e=>{var o=A(),i=f(o);W(i,()=>lr,(c,oe)=>{oe(c,{type:"single",allowDeselect:!1,get items(){return t(pr)},get disabled(){return F()},get inputValue(){return t(Yt)},onValueChange:$r,onOpenChange:It,get value(){return t(kt)},set value(M){O(kt,M,!0)},get open(){return g()},set open(M){g(M)},children:(M,Et)=>{ee(M)},$$slots:{default:!0}})}),l(e,o)};C(oa,e=>{B()?e(sa):e(la,-1)})}return T(dt),Er(dt,e=>O(Nt,e),()=>t(Nt)),X(e=>{Pa(dt,1,e),$e(Zt,"id",gr),ue(na,qe())},[()=>Aa(Ue("relative w-full",be()==="search"&&"flex flex-col gap-1",ae()))]),l(we,dt),vr(aa)}export{An as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as oe,bo as st,bm as Q,bw as ie,bs as $t,bq as Me,b as ce}from"./Fcr7AvC-.js";import{bs as le,a5 as L,bS as C,ay as Yt,aD as t,bA as $,bl as H,b_ as k,bO as B,W as _,bn as de,c9 as y,aA as rt,aB as F,bV as Mt,br as _a,aw as Be,aj as Ne,bH as V,ai as ya,be as Ia,b$ as xa,bf as wa,aC as he,a7 as De}from"./3SdAC2_C.js";import{i as at}from"./BhYXv0ZM.js";import{I as ea,g as jt,i as Se}from"./CA6H1-bp.js";import{f as Xt,g as ne,s as gt,c as se}from"./BRCr02in.js";import{b as ba}from"./Dn334wJv.js";import{f as Ut}from"./
|
|
1
|
+
import{t as oe,bo as st,bm as Q,bw as ie,bs as $t,bq as Me,b as ce}from"./Fcr7AvC-.js";import{bs as le,a5 as L,bS as C,ay as Yt,aD as t,bA as $,bl as H,b_ as k,bO as B,W as _,bn as de,c9 as y,aA as rt,aB as F,bV as Mt,br as _a,aw as Be,aj as Ne,bH as V,ai as ya,be as Ia,b$ as xa,bf as wa,aC as he,a7 as De}from"./3SdAC2_C.js";import{i as at}from"./BhYXv0ZM.js";import{I as ea,g as jt,i as Se}from"./CA6H1-bp.js";import{f as Xt,g as ne,s as gt,c as se}from"./BRCr02in.js";import{b as ba}from"./Dn334wJv.js";import{f as Ut}from"./D-lOH49i.js";import"./pYdPYEfN.js";import{A as aa,b as na,a as sa}from"./B8hXRSlI.js";import"./CWfjuhY2.js";import{ax as ra,aO as oa,az as Aa,aA as ka,aB as We,ar as ia,b as $a,w as Ta,dN as Ca,a_ as Na,aC as Sa}from"./Cq6hdiVw.js";import{R as Oa}from"./qB07BmZl.js";import{F as pe,bB as Fa,bg as Ra,aC as Ma,aW as Wa,cE as Ba}from"./ChHRVjww.js";import{H as Da}from"./DhXSKt_a.js";import{A as La}from"./DON9zoQ1.js";import{N as Ea}from"./DYo8C3ZI.js";import{f as Pa}from"./CJtBv95U.js";import{i as St,JH as Fe,n_ as Ga,fV as za,c7 as ja,sG as Ha,v1 as Ka}from"./D0qhIm1r.js";import"./BS1zON0P.js";function qa(e){return e.type==="agent"}const Xa=180,Ya=180;var Le=F('<div class="activity-pill shrink-0 text-xs px-3 py-1.5 bg-muted/60 border border-border rounded-lg text-subtle max-w-32 truncate"><!> </div>'),Ua=F('<div class="text-ui text-subtle line-clamp-2 leading-tight px-1"> </div>'),Va=F('<div><div class="flex items-center justify-center gap-1"><!> <span class="truncate"> </span></div> <!> <!></div>'),Qa=F('<div class="text-sm text-primary-ink flex items-center justify-center gap-1"><!> <span class="truncate"> </span></div>'),Oe=F('<span class="text-xs text-subtle"> </span>'),Za=F('<span class="status-pill text-xs px-1.5 py-0.5 bg-muted/80 rounded-md text-subtle truncate max-w-[130px]"> </span>'),Ja=F('<div class="text-ui text-subtle truncate w-full px-1 leading-tight"> </div>'),tn=F('<div class="flex flex-col items-center gap-1"><div class="flex items-center justify-center gap-1.5"><!> <!></div> <!></div>'),en=F('<div class="text-sm text-subtle line-clamp-3 leading-tight"> </div>'),an=F('<div class="avatar-wrapper h-9 w-12 flex items-center justify-center bg-background rounded-full"><!></div> <span class="font-semibold text-center leading-tight line-clamp-2"> </span> <div class="status-footer mt-auto pt-2 w-full text-center"><!></div>',1),nn=F('<div class="agent-card-wrapper flex items-center gap-3 shadow"><!> <!> <!></div>');function ca(e,a){if(new.target)return oe({component:ca,...e});le(a,!0);const s=()=>$t(_t,"$attentionRequest$",o),g=()=>$t(it,"$agentSession$",o),u=()=>$t(x,"$agentIsResponding$",o),c=()=>$t(ct,"$agentIsWaitingForOtherAgents$",o),d=()=>$t(P,"$agentIsWaiting$",o),i=()=>$t(I,"$agentIsThinking$",o),[o,l]=Me();let n=st(a,"agent",7),p=st(a,"activeFile",7),R=st(a,"activeNote",7),h=st(a,"agentNames",7),v=st(a,"onclick",7),b=st(a,"onmouseenter",7),N=st(a,"onmouseleave",7);const x=ra(n().agentId),it=oa(n().agentId),E=y(()=>!n().waitingForAgentIds||n().waitingForAgentIds.length===0?[]:n().waitingForAgentIds.map(A=>h()?.get(A)||Q.agentOverview_hierarchyCard_agent_fallback()).slice(0,2)),I=Aa(n().agentId),P=ka(n().agentId),ct=We(n().agentId),_t=ia(n().agentId),Ot=y(()=>{const A={attentionKind:s()?.kind??null};return g()?na(g(),A):sa({status:n().status,isResponding:u(),isWaitingForOtherAgents:c()},{...A,isCompleted:n().status==="completed",isFailed:n().status==="failed"})});var Bt={get agent(){return n()},set agent(A){n(A),rt()},get activeFile(){return p()},set activeFile(A){p(A),rt()},get activeNote(){return R()},set activeNote(A){R(A),rt()},get agentNames(){return h()},set agentNames(A){h(A),rt()},get onclick(){return v()},set onclick(A){v(A),rt()},get onmouseenter(){return b()},set onmouseenter(A){b(A),rt()},get onmouseleave(){return N()},set onmouseleave(A){N(A),rt()},$set:ie,$on:(A,D)=>ce(a,A,D)},ht=nn(),bt=L(ht);{var Ht=A=>{var D=Le(),Tt=L(D);pe(Tt,{get icon(){return Ra},size:"xs",class:"inline"});var Rt=C(Tt);$(D),k(()=>B(Rt,` ${p()??""}`)),_(A,D)};at(bt,A=>{p()&&u()&&A(Ht)})}var Ft=C(bt,2);{let A=y(()=>d()?"border-primary-ink border-2":"");Ut(Ft,{variant:"ghost",type:"button",get class(){return`agent-card flex flex-col items-center px-2.5 py-4 bg-card border border-border
|
|
2
2
|
hover:shadow transition-all cursor-pointer ${t(A)??""}`},get style(){return`width: 180px; height: 180px; anchor-name: --agent-hierarchy-${n().agentId??""};`},get onclick(){return v()},get onmouseenter(){return b()},get onmouseleave(){return N()},children:(D,Tt)=>{var Rt=an(),Lt=Yt(Rt),me=L(Lt);aa(me,{get agentId(){return n().agentId},variant:"emphasized",get state(){return t(Ot)},get specialist(){return n().specialist}}),$(Lt);var Zt=C(Lt,2),_e=H(Zt,!0),Jt=C(Zt,2),te=L(Jt);{var ye=ft=>{var r=Va(),f=L(r),M=L(f);{let z=y(()=>s().kind==="blocker"?Ma:Wa);pe(M,{get icon(){return t(z)},size:"xs"})}var W=C(M,2),m=H(W,!0);$(f);var K=C(f,2);{var nt=z=>{var It=Ua(),ot=H(It,!0);k(()=>B(ot,s().reason)),_(z,It)};at(K,z=>{s().reason&&z(nt)})}var S=C(K,2);{var G=z=>{Oa(z,{get date(){return s().timestamp},class:"text-ui text-ghost"})};at(S,z=>{s().timestamp&&z(G)})}$(r),k(z=>{Xt(r,1,`text-sm flex flex-col items-center gap-0.5 ${s().kind==="blocker"?"text-red-500":"text-warning-ink"}`),B(m,z)},[()=>s().kind==="blocker"?Q.chat_agentCard_attentionBlocker_label():Q.chat_agentCard_attentionDiscussion_label()]),_(ft,r)},yt=ft=>{var r=Qa(),f=L(r);pe(f,{get icon(){return Fa},size:"xs",class:"animate-pulse"});var M=C(f,2),W=H(M,!0);$(r),k(m=>B(W,m),[()=>Q.agentOverview_hierarchyCard_waitingFor_label({names:t(E).join(", ")})]),_(ft,r)},Ie=ft=>{const r=y(()=>n().activeToolName?$a(n().activeToolName,n().activeToolInput||{}):null),f=y(()=>t(r)&&!t(r).hidden?t(r):null);var M=tn(),W=L(M),m=L(W);ea(m,{size:14});var K=C(m,2);{var nt=Y=>{var Z=Oe(),pt=H(Z,!0);k(Et=>B(pt,Et),[()=>Q.agentOverview_hierarchyCard_thinking_label()]),_(Y,Z)},S=Y=>{var Z=Za(),pt=H(Z);k(()=>B(pt,`${t(f).verb??""}
|
|
3
3
|
${t(f).subject??""}`)),_(Y,Z)},G=Y=>{var Z=Oe(),pt=H(Z);k(()=>B(pt,`${t(f).verb??""}...`)),_(Y,Z)},z=Y=>{var Z=Oe(),pt=H(Z,!0);k(Et=>B(pt,Et),[()=>Q.agentOverview_hierarchyCard_responding_label()]),_(Y,Z)};at(K,Y=>{i()?Y(nt):t(f)&&t(f).subject?Y(S,1):t(f)?Y(G,2):Y(z,-1)})}$(W);var It=C(W,2);{var ot=Y=>{var Z=Ja(),pt=H(Z,!0);k(()=>B(pt,n().lastResponse)),_(Y,Z)};at(It,Y=>{!t(f)&&n().lastResponse&&Y(ot)})}$(M),_(ft,M)},xe=ft=>{var r=en(),f=H(r,!0);k(()=>B(f,n().lastResponse)),_(ft,r)};at(te,ft=>{s()?ft(ye):c()?ft(yt,1):u()||i()?ft(Ie,2):n().lastResponse&&ft(xe,3)})}$(Jt),k(()=>B(_e,n().name)),_(D,Rt)},$$slots:{default:!0}})}var ge=C(Ft,2);{var Dt=A=>{var D=Le(),Tt=L(D);pe(Tt,{get icon(){return Ba},size:"xs",class:"inline"});var Rt=C(Tt);$(D),k(Lt=>B(Rt,` ${Lt??""}`),[()=>Q.agentOverview_hierarchyCard_note_label()]),_(A,D)};at(ge,A=>{R()&&u()&&A(Dt)})}$(ht),_(e,ht);var Qt=de(Bt);return l(),Qt}const sn=50;var rn=F('<span class="sr-only"> </span> <!>',1);function Re(e,a){if(new.target)return oe({component:Re,...e});le(a,!0);const s=()=>$t(R,"$attentionRequest$",c),g=()=>$t(h,"$agentSession$",c),u=()=>$t(p,"$agentIsWaitingForOtherAgents$",c),[c,d]=Me();let i=st(a,"agent",7),o=st(a,"onclick",7),l=st(a,"onmouseenter",7),n=st(a,"onmouseleave",7);const p=We(i().agentId),R=ia(i().agentId),h=oa(i().agentId),v=y(()=>{const x={attentionKind:s()?.kind??null};return g()?na(g(),x):sa({status:i().status,isResponding:i().status==="responding",isWaitingForOtherAgents:u()},{...x,isCompleted:i().status==="completed",isFailed:i().status==="failed"})});var b={get agent(){return i()},set agent(x){i(x),rt()},get onclick(){return o()},set onclick(x){o(x),rt()},get onmouseenter(){return l()},set onmouseenter(x){l(x),rt()},get onmouseleave(){return n()},set onmouseleave(x){n(x),rt()},$set:ie,$on:(x,it)=>ce(a,x,it)};Ut(e,{variant:"ghost",type:"button",class:"background-agent-card relative flex flex-col items-center justify-center gap-1 rounded-full bg-sidebar hover:bg-muted/70 transition-colors cursor-pointer p-2",get style(){return`width: 50px; min-height: 50px; anchor-name: --agent-hierarchy-${i().agentId??""};`},get onclick(){return o()},get onmouseenter(){return l()},get onmouseleave(){return n()},children:(x,it)=>{var E=rn(),I=Yt(E),P=H(I,!0),ct=C(I,2);aa(ct,{get agentId(){return i().agentId},size:32,get state(){return t(v)},get specialist(){return i().specialist}}),k(()=>B(P,i().name)),_(x,E)},$$slots:{default:!0}});var N=de(b);return d(),N}var re=he('<path fill="none"></path>'),on=F('<div class="batch-group-box relative z-10 bg-background border border-border rounded-xl"></div>'),cn=F('<svg class="connector-svg" style="overflow: visible; display: block;"><!><!></svg> <div class="children-items-row flex items-start justify-center"></div>',1),ln=F('<div class="children-wrapper flex flex-col items-center"></div>'),dn=F('<div class="agent-tree-node flex flex-col items-center"><div class="agent-card-wrapper relative z-10"><!></div> <!></div>'),gn=F('<div class="absolute inset-0 flex items-center justify-center"><div class="text-center text-subtle"><p class="text-lg font-medium"> </p> <p class="text-sm mt-1"> </p></div></div>'),un=F('<div class="utility-corral border border-dashed border-border rounded-lg p-3 min-w-20"><div class="corral-label text-xs text-subtle font-medium mb-2 text-center"> </div> <div class="corral-agents flex flex-col items-center gap-2"></div></div>'),fn=F('<div class="utility-corrals flex flex-col gap-4"></div>'),pn=F('<div class="text-xs text-subtle capitalize"> </div>'),vn=F('<span class="px-1.5 py-0.5 text-ui font-medium bg-muted text-subtle rounded"> </span>'),hn=F('<span class="text-warning-ink"> </span>'),mn=F('<span class="text-primary-ink"> </span>'),_n=F('<span class="text-green-500"> </span>'),yn=F('<span class="text-red-500"> </span>'),In=F("<span> </span>"),xn=F('<div class="text-xs text-subtle line-clamp-3 border-t border-border pt-2 mt-2"> </div>'),wn=F('<div class="text-xs text-subtle flex items-center gap-1"><!> <span> </span></div>'),bn=F('<div class="p-3 space-y-2"><div class="flex items-center gap-2"><!> <div class="flex-1 min-w-0"><div class="font-medium text-sm truncate"> </div> <!></div> <!></div> <div class="text-xs text-subtle"><!></div> <div class="text-xs text-subtle"> </div> <!> <!></div>'),An=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="5" y1="12" x2="19" y2="12"></line></svg>'),kn=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>'),$n=he('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7"></path></svg>'),Tn=F('<div class="canvas-content absolute inset-0 flex items-center justify-center p-8 svelte-13q5gm4"><div class="hierarchy-wrapper flex items-start gap-8"><!> <div class="main-hierarchy flex flex-col items-center gap-4"><div class="hierarchy-container flex flex-col items-center gap-4"><div class="roots-row flex justify-center"></div></div></div></div> <!></div> <div class="zoom-controls absolute bottom-4 right-4 flex items-center gap-1 bg-card border border-border rounded-lg shadow-sm p-1"><!> <!> <!> <div class="w-px h-6 bg-border mx-1"></div> <!></div> <div class="absolute bottom-4 left-4 text-xs text-subtle"> </div>',1),Cn=F('<div class="agent-hierarchy-graph relative w-full h-full overflow-hidden bg-background svelte-13q5gm4"><!></div>');function la(e,a){if(new.target)return oe({component:la,...e});le(a,!0);const s=(r,f=wa,M)=>{const W=y(()=>f().agent.isBackground),m=y(()=>f().children.length>0),K=y(()=>t(m)&&f().children[0]?.agent.isBackground?sn:Xa),nt=y(()=>16),S=y(()=>60),G=y(()=>t(m)?Rt(f().children,t(K),i):[]),z=y(()=>(()=>{const O=[];for(let q=0;q<t(G).length;q+=Tt)O.push(t(G).slice(q,q+Tt));return O})()),It=y(()=>t(z).map(O=>O.reduce((q,J)=>q+J.width,0)+Math.max(0,O.length-1)*i)),ot=y(()=>Math.max(...t(It),0));var Y=dn(),Z=L(Y),pt=L(Z);{var Et=O=>{Re(O,{get agent(){return f().agent},onclick:q=>te(f().agent,q),onmouseenter:()=>x(f().agent.agentId),onmouseleave:it})},we=O=>{ca(O,{get agent(){return f().agent},get activeFile(){return f().activeFile},get activeNote(){return f().activeNote},get agentNames(){return t(Lt)},onclick:q=>te(f().agent,q),onmouseenter:()=>x(f().agent.agentId),onmouseleave:it})};at(pt,O=>{t(W)?O(Et):O(we,-1)})}$(Z);var be=C(Z,2);{var U=O=>{const q=y(()=>f().agent.status==="waiting"?f().agent.waitingForAgentIds||[]:[]),J=y(()=>t(q).length>0),et=y(()=>t(S)/2);var xt=ln();jt(xt,21,()=>t(z),Se,(Kt,At,Ct)=>{const Pt=y(()=>t(It)[Ct]),ee=y(()=>(t(ot)-t(Pt))/2),Ae=y(()=>(()=>{let ut=0;return t(At).map(j=>{const Nt=ut+j.width/2;return ut+=j.width+i,Nt})})());var ue=cn(),Gt=Yt(ue);gt(Gt,"height",t(S));var qt=L(Gt);{var ke=ut=>{var j=re();k(()=>{gt(j,"d",`M ${t(ot)/2} -${Ya} L ${t(ot)/2} ${t(S)/3}`),gt(j,"stroke",t(J)?"var(--primary-ink)":"currentColor"),Xt(j,0,se(t(J)?"":"text-border")),gt(j,"stroke-width",t(J)?2:1)}),_(ut,j)},$e=ut=>{var j=re();k(()=>{gt(j,"d",`M ${t(ot)/2} 0 L ${t(ot)/2} ${t(S)/3}`),gt(j,"stroke",t(J)?"var(--primary-ink)":"currentColor"),Xt(j,0,se(t(J)?"":"text-border")),gt(j,"stroke-width",t(J)?2:1)}),_(ut,j)};at(qt,ut=>{Ct>0?ut(ke):ut($e,-1)})}var Te=C(qt);jt(Te,17,()=>t(At),Se,(ut,j,Nt)=>{const vt=y(()=>t(ee)+t(Ae)[Nt]),lt=y(()=>t(ot)/2),zt=y(()=>t(j).type==="batch"?t(j).children.some(wt=>t(q).includes(wt.agent.agentId)):t(q).includes(t(j).child.agent.agentId)),mt=y(()=>t(zt)?"var(--color-primary)":"currentColor"),kt=y(()=>t(zt)?"":"text-border"),w=y(()=>t(zt)?2:1),T=y(()=>t(j).type==="batch"?t(S)-A:t(S)),tt=y(()=>Math.abs(t(vt)-t(lt))),X=y(()=>Math.min(t(nt),t(tt)/2));var fe=De(),Ce=Yt(fe);{var va=wt=>{var dt=re();k(()=>{gt(dt,"d",`M ${t(lt)??""} ${t(S)/3} L ${t(lt)??""} ${t(T)??""}`),gt(dt,"stroke",t(mt)),Xt(dt,0,se(t(kt)),"svelte-13q5gm4"),gt(dt,"stroke-width",t(w))}),_(wt,dt)},ha=wt=>{var dt=re();k(()=>{gt(dt,"d",`M ${t(lt)??""} ${t(S)/3}
|
|
4
4
|
L ${t(lt)??""} ${t(et)-t(X)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ie}from"./
|
|
1
|
+
import{g as ie}from"./D9_9Xrbm.js";import{s as re}from"./0Lodvm7U.js";import{b as p,ay as b,X as $,a1 as ae,aP as ne,bh as oe,V as le,a_ as ce,U as he,aZ as de,b0 as ue,Y as fe,T as pe,z as j,r as Se,aW as vt,am as ge,aU as ye,ab as me,aG as Te}from"./Cdwy3-nO.js";import{c as Ee}from"./BOE0lXBq.js";import{aR as _e}from"./Db6ExzGF.js";var At=(function(){var t=p(function(V,o,f,n){for(f=f||{},n=V.length;n--;f[V[n]]=o);return f},"o"),e=[1,2],s=[1,3],a=[1,4],r=[2,4],c=[1,9],h=[1,11],u=[1,16],l=[1,17],m=[1,18],y=[1,19],_=[1,33],L=[1,20],N=[1,21],D=[1,22],S=[1,23],w=[1,24],C=[1,26],F=[1,27],I=[1,28],P=[1,29],v=[1,30],z=[1,31],at=[1,32],nt=[1,35],ot=[1,36],lt=[1,37],ct=[1,38],K=[1,34],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],ht=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],It=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],mt={trace:p(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(function(o,f,n,T,E,i,B){var d=i.length-1;switch(E){case 3:return T.setRootDoc(i[d]),i[d];case 4:this.$=[];break;case 5:i[d]!="nl"&&(i[d-1].push(i[d]),this.$=i[d-1]);break;case 6:case 7:this.$=i[d];break;case 8:this.$="nl";break;case 12:this.$=i[d];break;case 13:const Q=i[d-1];Q.description=T.trimColon(i[d]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[d-2],state2:i[d]};break;case 15:const Tt=T.trimColon(i[d]);this.$={stmt:"relation",state1:i[d-3],state2:i[d-1],description:Tt};break;case 19:this.$={stmt:"state",id:i[d-3],type:"default",description:"",doc:i[d-1]};break;case 20:var G=i[d],X=i[d-2].trim();if(i[d].match(":")){var ut=i[d].split(":");G=ut[0],X=[X,ut[1]]}this.$={stmt:"state",id:G,type:"default",description:X};break;case 21:this.$={stmt:"state",id:i[d-3],type:"default",description:i[d-5],doc:i[d-1]};break;case 22:this.$={stmt:"state",id:i[d],type:"fork"};break;case 23:this.$={stmt:"state",id:i[d],type:"join"};break;case 24:this.$={stmt:"state",id:i[d],type:"choice"};break;case 25:this.$={stmt:"state",id:T.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[d-1].trim(),note:{position:i[d-2].trim(),text:i[d].trim()}};break;case 29:this.$=i[d].trim(),T.setAccTitle(this.$);break;case 30:case 31:this.$=i[d].trim(),T.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[d-3],url:i[d-2],tooltip:i[d-1]};break;case 33:this.$={stmt:"click",id:i[d-3],url:i[d-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[d-1].trim(),classes:i[d].trim()};break;case 36:this.$={stmt:"style",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 37:this.$={stmt:"applyClass",id:i[d-1].trim(),styleClass:i[d].trim()};break;case 38:T.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:T.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:T.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:T.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[d].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[d-2].trim(),classes:[i[d].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:s,6:a},{1:[3]},{3:5,4:e,5:s,6:a},{3:6,4:e,5:s,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:u,17:l,19:m,22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,40],15:[1,41]}),t(g,[2,16]),{18:[1,42]},t(g,[2,18],{20:[1,43]}),{23:[1,44]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(g,[2,28]),{34:[1,49]},{36:[1,50]},t(g,[2,31]),{13:51,24:_,57:K},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(ht,[2,44],{58:[1,56]}),t(ht,[2,45],{58:[1,57]}),t(g,[2,38]),t(g,[2,39]),t(g,[2,40]),t(g,[2,41]),t(g,[2,6]),t(g,[2,13]),{13:58,24:_,57:K},t(g,[2,17]),t(It,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(g,[2,29]),t(g,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(g,[2,14],{14:[1,71]}),{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,72],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(g,[2,34]),t(g,[2,35]),t(g,[2,36]),t(g,[2,37]),t(ht,[2,46]),t(ht,[2,47]),t(g,[2,15]),t(g,[2,19]),t(It,r,{7:78}),t(g,[2,26]),t(g,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:h,8:8,9:10,10:12,11:13,12:14,13:15,16:u,17:l,19:m,21:[1,81],22:y,24:_,25:L,26:N,27:D,28:S,29:w,32:25,33:C,35:F,37:I,38:P,41:v,45:z,48:at,51:nt,52:ot,53:lt,54:ct,57:K},t(g,[2,32]),t(g,[2,33]),t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(function(o,f){if(f.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=f,n}},"parseError"),parse:p(function(o){var f=this,n=[0],T=[],E=[null],i=[],B=this.table,d="",G=0,X=0,ut=2,Q=1,Tt=i.slice.call(arguments,1),k=Object.create(this.lexer),W={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(W.yy[Et]=this.yy[Et]);k.setInput(o,W.yy),W.yy.lexer=k,W.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var _t=k.yylloc;i.push(_t);var ee=k.options&&k.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function se(R){n.length=n.length-2*R,E.length=E.length-R,i.length=i.length-R}p(se,"popStack");function Rt(){var R;return R=T.pop()||k.lex()||Q,typeof R!="number"&&(R instanceof Array&&(T=R,R=T.pop()),R=f.symbols_[R]||R),R}p(Rt,"lex");for(var x,U,O,bt,J={},ft,Y,Nt,pt;;){if(U=n[n.length-1],this.defaultActions[U]?O=this.defaultActions[U]:((x===null||typeof x>"u")&&(x=Rt()),O=B[U]&&B[U][x]),typeof O>"u"||!O.length||!O[0]){var kt="";pt=[];for(ft in B[U])this.terminals_[ft]&&ft>ut&&pt.push("'"+this.terminals_[ft]+"'");k.showPosition?kt="Parse error on line "+(G+1)+`:
|
|
2
2
|
`+k.showPosition()+`
|
|
3
3
|
Expecting `+pt.join(", ")+", got '"+(this.terminals_[x]||x)+"'":kt="Parse error on line "+(G+1)+": Unexpected "+(x==Q?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(kt,{text:k.match,token:this.terminals_[x]||x,line:k.yylineno,loc:_t,expected:pt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+x);switch(O[0]){case 1:n.push(x),E.push(k.yytext),i.push(k.yylloc),n.push(O[1]),x=null,X=k.yyleng,d=k.yytext,G=k.yylineno,_t=k.yylloc;break;case 2:if(Y=this.productions_[O[1]][1],J.$=E[E.length-Y],J._$={first_line:i[i.length-(Y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Y||1)].first_column,last_column:i[i.length-1].last_column},ee&&(J._$.range=[i[i.length-(Y||1)].range[0],i[i.length-1].range[1]]),bt=this.performAction.apply(J,[d,X,G,W.yy,O[1],E,i].concat(Tt)),typeof bt<"u")return bt;Y&&(n=n.slice(0,-1*Y*2),E=E.slice(0,-1*Y),i=i.slice(0,-1*Y)),n.push(this.productions_[O[1]][0]),E.push(J.$),i.push(J._$),Nt=B[n[n.length-2]][n[n.length-1]],n.push(Nt);break;case 3:return!0}}return!0},"parse")},te=(function(){var V={EOF:1,parseError:p(function(f,n){if(this.yy.parser)this.yy.parser.parseError(f,n);else throw new Error(f)},"parseError"),setInput:p(function(o,f){return this.yy=f||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var f=o.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var f=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var T=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===T.length?this.yylloc.first_column:0)+T[T.length-n.length].length-n[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),f=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./Fcr7AvC-.js";import{bs as xe,aD as a,a5 as H,bA as N,b_ as M,W as w,bn as Be,c9 as z,bH as m,aA as s,aB as ke,bV as A,bf as Oe,bS as ge,be as ye,b$ as ve,bO as _e,ca as Ze,a7 as V,ay as T}from"./3SdAC2_C.js";import{i as he}from"./BhYXv0ZM.js";import{t as R}from"./CWfjuhY2.js";import{c as Ae}from"./2z64ELW5.js";import{a_ as $e,aa as et,f as De}from"./
|
|
1
|
+
import{t as Ce,bo as r,bw as we,bp as Ye,b as Se,bm as O}from"./Fcr7AvC-.js";import{bs as xe,aD as a,a5 as H,bA as N,b_ as M,W as w,bn as Be,c9 as z,bH as m,aA as s,aB as ke,bV as A,bf as Oe,bS as ge,be as ye,b$ as ve,bO as _e,ca as Ze,a7 as V,ay as T}from"./3SdAC2_C.js";import{i as he}from"./BhYXv0ZM.js";import{t as R}from"./CWfjuhY2.js";import{c as Ae}from"./2z64ELW5.js";import{a_ as $e,aa as et,f as De}from"./D-lOH49i.js";import"./pYdPYEfN.js";import{O as tt}from"./DgkHABKY.js";import{a as rt,D as st}from"./DGrUr-ze.js";import{b as nt,e as Ke,s as Pe,c as at,f as ot}from"./BRCr02in.js";import"./O5ZlQHf9.js";import{e as it}from"./CpIcQB5T.js";import{b as ut}from"./Dn334wJv.js";import{i as lt}from"./CC7to1B5.js";import"./x4bPxhVW.js";import"./BzXQ5SMs.js";var ct=new Set(["$$slots","$$events","$$legacy","children","onSubmit","busy","enterKey","modEnter","class"]),ft=ke('<form><fieldset class="contents"><!></fieldset></form>');function ze(K,t){if(new.target)return Ce({component:ze,...K});xe(t,!0);let l=r(t,"children",7),d=r(t,"onSubmit",7),b=r(t,"busy",7,!1),f=r(t,"enterKey",7,"submit"),g=r(t,"modEnter",7,"submit"),h=r(t,"class",7),L=Ye(t,ct),i,y=A(!1);const v=z(()=>b()||a(y));async function E(n){if(n.preventDefault(),!a(v)){m(y,!0);try{await d()(n)}finally{m(y,!1)}}}function S(n){if(n.key!=="Enter"||n.isComposing||n.defaultPrevented||a(v))return;const _=n.target,x=lt(_),D=_.closest('button, a[href], select, summary, [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="switch"], [role="tab"], [role="menuitem"], [role="option"], [role="combobox"], [role="slider"]');if(D&&i.contains(D)||_ instanceof HTMLInputElement&&!["text","search","email","url","tel","password","number"].includes(_.type))return;const k=n.metaKey||n.ctrlKey;(k?g()==="submit":!x&&f()==="submit")?(n.preventDefault(),i.requestSubmit()):(!x||k)&&n.preventDefault()}var p={get children(){return l()},set children(n){l(n),s()},get onSubmit(){return d()},set onSubmit(n){d(n),s()},get busy(){return b()},set busy(n=!1){b(n),s()},get enterKey(){return f()},set enterKey(n="submit"){f(n),s()},get modEnter(){return g()},set modEnter(n="submit"){g(n),s()},get class(){return h()},set class(n){h(n),s()},$set:we,$on:(n,_)=>Se(t,n,_)},u=ft();nt(u,n=>({"data-slot":"form","aria-busy":a(v)||void 0,class:n,onsubmit:E,onkeydown:S,...L}),[()=>Ke("grid gap-4",h())]);var C=H(u),o=H(C);return R(o,l),N(C),N(u),ut(u,n=>i=n,()=>i),M(()=>{C.disabled=a(v),Pe(C,"aria-busy",a(v)||void 0)}),w(K,u),Be(p)}var mt=ke('<div data-slot="form-actions"><div data-slot="form-actions-destructive" class="flex items-center"><!></div> <div data-slot="form-actions-end" class="ml-auto flex items-center gap-2"><!> <!> <!></div></div>');function Ve(K,t){if(new.target)return Ce({component:Ve,...K});xe(t,!0);let l=r(t,"destructive",7),d=r(t,"secondary",7),b=r(t,"primary",7),f=r(t,"hint",7),g=r(t,"class",7);const h=$e();var L={get destructive(){return l()},set destructive(o){l(o),s()},get secondary(){return d()},set secondary(o){d(o),s()},get primary(){return b()},set primary(o){b(o),s()},get hint(){return f()},set hint(o){f(o),s()},get class(){return g()},set class(o){g(o),s()},$set:we,$on:(o,n)=>Se(t,o,n)},i=mt(),y=H(i),v=H(y);R(v,()=>l()??Oe),N(y);var E=ge(y,2),S=H(E);{var p=o=>{et(o,{children:(n,_)=>{ye();var x=ve();M(()=>_e(x,f())),w(n,x)},$$slots:{default:!0}})};he(S,o=>{f()&&o(p)})}var u=ge(S,2);R(u,()=>d()??Oe);var C=ge(u,2);return R(C,b),N(E),N(i),M(o=>{Pe(i,"data-size",h),ot(i,1,o)},[()=>at(Ke("flex items-center justify-between",h==="compact"?"gap-2":"gap-3",g()))]),w(K,i),Be(L)}function dt(K,t){if(new.target)return Ce({component:dt,...K});xe(t,!0);let l=r(t,"open",15,!1),d=r(t,"static",7,!1),b=r(t,"title",7),f=r(t,"description",7),g=r(t,"titleId",7),h=r(t,"descriptionId",7),L=r(t,"children",7),i=r(t,"footer",7),y=r(t,"submitLabel",23,()=>O.modals_bulkActionConfirm_confirm_label()),v=r(t,"cancelLabel",23,()=>O.modals_bulkActionConfirm_cancel_label()),E=r(t,"submitVariant",7,"primary"),S=r(t,"canSubmit",7,!0),p=r(t,"busy",7,!1),u=r(t,"submitBusy",7,!1),C=r(t,"role",7,"dialog"),o=r(t,"dismissOnInteractOutside",7,!0),n=r(t,"showCancel",7,!0),_=r(t,"showCloseButton",7,!0),x=r(t,"closeLabel",23,()=>O.ui_dialog_close_ariaLabel()),D=r(t,"class",7),k=r(t,"size",7,"default"),j=r(t,"initialFocus",7),X=r(t,"focusContent",7,!1),q=r(t,"focusSubmit",7,!1),Y=r(t,"focusCancel",7,!1),W=r(t,"escapeKeydownBehavior",7,"close"),Z=r(t,"enterKey",7,"submit"),$=r(t,"modEnter",7,"submit"),ee=r(t,"onfocusin",7),te=r(t,"onCloseAutoFocus",7),re=r(t,"onSubmit",7),se=r(t,"onCancel",7),ne=A(!1),G=A(""),ae=A(!1),J=A(null),oe=A(null),ie=A(null);const B=z(()=>p()||a(ne));Ze(()=>{l()&&(m(ae,!1),m(G,""))});function ue(){a(B)||a(ae)||(m(ae,!0),l(!1),se()?.())}async function Te(){if(!(a(B)||u()||!S())){m(ne,!0),m(G,"");try{await re()()}catch{m(G,O.ui_dialog_submitFailed_error(),!0)}finally{m(ne,!1)}}}function He(e){const F=j()??(Y()?a(oe):q()?a(ie):X()?a(J):null);F&&(F.focus(),F.ownerDocument.activeElement===F&&e.preventDefault())}var Ne={get open(){return l()},set open(e=!1){l(e),s()},get static(){return d()},set static(e=!1){d(e),s()},get title(){return b()},set title(e){b(e),s()},get description(){return f()},set description(e){f(e),s()},get titleId(){return g()},set titleId(e){g(e),s()},get descriptionId(){return h()},set descriptionId(e){h(e),s()},get children(){return L()},set children(e){L(e),s()},get footer(){return i()},set footer(e){i(e),s()},get submitLabel(){return y()},set submitLabel(e=O.modals_bulkActionConfirm_confirm_label()){y(e),s()},get cancelLabel(){return v()},set cancelLabel(e=O.modals_bulkActionConfirm_cancel_label()){v(e),s()},get submitVariant(){return E()},set submitVariant(e="primary"){E(e),s()},get canSubmit(){return S()},set canSubmit(e=!0){S(e),s()},get busy(){return p()},set busy(e=!1){p(e),s()},get submitBusy(){return u()},set submitBusy(e=!1){u(e),s()},get role(){return C()},set role(e="dialog"){C(e),s()},get dismissOnInteractOutside(){return o()},set dismissOnInteractOutside(e=!0){o(e),s()},get showCancel(){return n()},set showCancel(e=!0){n(e),s()},get showCloseButton(){return _()},set showCloseButton(e=!0){_(e),s()},get closeLabel(){return x()},set closeLabel(e=O.ui_dialog_close_ariaLabel()){x(e),s()},get class(){return D()},set class(e){D(e),s()},get size(){return k()},set size(e="default"){k(e),s()},get initialFocus(){return j()},set initialFocus(e){j(e),s()},get focusContent(){return X()},set focusContent(e=!1){X(e),s()},get focusSubmit(){return q()},set focusSubmit(e=!1){q(e),s()},get focusCancel(){return Y()},set focusCancel(e=!1){Y(e),s()},get escapeKeydownBehavior(){return W()},set escapeKeydownBehavior(e="close"){W(e),s()},get enterKey(){return Z()},set enterKey(e="submit"){Z(e),s()},get modEnter(){return $()},set modEnter(e="submit"){$(e),s()},get onfocusin(){return ee()},set onfocusin(e){ee(e),s()},get onCloseAutoFocus(){return te()},set onCloseAutoFocus(e){te(e),s()},get onSubmit(){return re()},set onSubmit(e){re(e),s()},get onCancel(){return se()},set onCancel(e){se(e),s()},$set:we,$on:(e,F)=>Se(t,e,F)},Ee=V(),Re=T(Ee);return Ae(Re,()=>tt,(e,F)=>{F(e,{get open(){return l()},get staticPosition(){return d()},onOpenChange:le=>!le&&ue(),children:(le,bt)=>{var Fe=V(),Me=T(Fe);{let je=z(()=>Ke("flex min-h-0 flex-col overflow-hidden p-0",D()));Ae(Me,()=>rt,(qe,We)=>{We(qe,{get role(){return C()},get size(){return k()},get class(){return a(je)},get closeDisabled(){return a(B)},get showCloseButton(){return _()},get closeLabel(){return x()},get escapeKeydownBehavior(){return W()},onOpenAutoFocus:He,get onCloseAutoFocus(){return te()},get onfocusin(){return ee()},onkeydown:c=>{c.key==="Escape"&&it(a(J),c)||c.key==="Escape"&&W()==="close"&&(c.preventDefault(),c.stopPropagation(),ue())},onInteractOutside:c=>(a(B)||!o())&&c.preventDefault(),onEscapeKeydown:c=>a(B)&&c.preventDefault(),get ref(){return a(J)},set ref(c){m(J,c,!0)},children:(c,gt)=>{ze(c,{onSubmit:Te,get busy(){return a(B)},get enterKey(){return Z()},get modEnter(){return $()},class:"flex min-h-0 min-w-0 flex-1 flex-col",children:(Ge,yt)=>{st(Ge,{get title(){return b()},get description(){return f()},get titleId(){return g()},get descriptionId(){return h()},get children(){return L()},get error(){return a(G)},footer:Je=>{var Le=V(),Qe=T(Le);{var Ue=P=>{var ce=V(),pe=T(ce);R(pe,i),w(P,ce)},Xe=P=>{Ve(P,{secondary:fe=>{var Q=V(),me=T(Q);{var de=I=>{De(I,{variant:"ghost-light",get disabled(){return a(B)},onclick:ue,get ref(){return a(oe)},set ref(U){m(oe,U,!0)},children:(U,be)=>{ye();var Ie=ve();M(()=>_e(Ie,v())),w(U,Ie)},$$slots:{default:!0}})};he(me,I=>{n()&&I(de)})}w(fe,Q)},primary:fe=>{{let Q=z(()=>q()?"focus-visible:outline focus-visible:-outline-offset-1":void 0),me=z(()=>a(B)||u()),de=z(()=>!S()||a(B)||u());De(fe,{type:"submit",get variant(){return E()},get class(){return a(Q)},get loading(){return a(me)},get disabled(){return a(de)},get ref(){return a(ie)},set ref(I){m(ie,I,!0)},children:(I,U)=>{ye();var be=ve();M(()=>_e(be,y())),w(I,be)},$$slots:{default:!0}})}},$$slots:{secondary:!0,primary:!0}})};he(Qe,P=>{i()?P(Ue):P(Xe,-1)})}w(Je,Le)},$$slots:{footer:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})})}w(le,Fe)},$$slots:{default:!0}})}),w(K,Ee),Be(Ne)}export{ze as F,Ve as a,dt as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i,aW as l,aw as d,P as o}from"./
|
|
1
|
+
import{b as i,aW as l,aw as d,P as o}from"./Cdwy3-nO.js";var x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),p=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),y=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),m=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",n)},"drawImage"),g=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=o.sanitizeUrl(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),h=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),f=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),w=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{g as a,m as b,w as c,p as d,x as e,y as f,h as g,f as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./
|
|
1
|
+
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./Cdwy3-nO.js";var A="",M="",O="",D=[],b=new Map,v=p(e=>j(e,K()),"sanitizeText"),y=p(e=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),J=p(()=>{A="",M="",O="",D.length=0,b.clear(),q(),C.debug("[Railroad] Database cleared")},"clear"),Y=p(e=>{A=v(e),C.debug("[Railroad] Title set:",e)},"setTitle"),P=p(()=>A,"getTitle"),Q=p(e=>{const i={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};C.debug("[Railroad] Adding rule:",i.name),b.has(i.name)&&C.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),D.push(i),b.set(i.name,i)},"addRule"),Z=p(()=>D,"getRules"),V=p(e=>b.get(e),"getRule"),ee=p(e=>{M=v(e).replace(/^\s+/g,""),C.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),te=p(()=>M,"getAccTitle"),re=p(e=>{O=v(e).replace(/\n\s+/g,`
|
|
2
2
|
`),C.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ie=p(()=>O,"getAccDescription"),ae=Y,ne=P,oe={clear:J,setTitle:Y,getTitle:P,addRule:Q,getRules:Z,getRule:V,setAccTitle:ee,getAccTitle:te,setAccDescription:re,getAccDescription:ie,setDiagramTitle:ae,getDiagramTitle:ne},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},le=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,se=/^[\w "',.-]+$/,de=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=p(e=>e?Object.keys(e).every(i=>i==="railroad"||de.has(i)):!1,"isRailroadStyleOptions"),ce=p(e=>e?"railroad"in e&&e.railroad?e.railroad:L(e)?e:{}:{},"extractRailroadOverrides"),me=p(e=>{if(!e||L(e))return{};const{railroad:i,svgId:n,theme:a,look:t,...r}=e;return r},"extractThemeOverrides"),m=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return le.test(n)?n:i},"sanitizeColorValue"),X=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return se.test(n)?n:i},"sanitizeFontFamilyValue"),F=p((e,i)=>{const n=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>=0?n:i},"sanitizeNumberValue"),he=p(e=>{const i=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(i)&&i>0?i:void 0},"parseThemeFontSize"),pe=p(e=>{const i=X(e.fontFamily,f.fontFamily),n=he(e.fontSize)??f.fontSize;return{...f,fontFamily:i,fontSize:n,terminalFill:m(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:m(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:m(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:m(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:m(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:m(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:m(e.lineColor,f.lineColor),markerFill:m(e.lineColor,f.markerFill),commentFill:m(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:m(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:m(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:m(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:m(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:m(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),E=p(e=>{const i=_(),n={...G(),...i.themeVariables??{},...me(e)},a=pe(n),t={...i.railroad??{},...ce(e)};return{compactMode:t.compactMode??a.compactMode,padding:F(t.padding,a.padding),verticalSeparation:F(t.verticalSeparation,a.verticalSeparation),horizontalSeparation:F(t.horizontalSeparation,a.horizontalSeparation),arcRadius:F(t.arcRadius,a.arcRadius),fontSize:F(t.fontSize,a.fontSize),fontFamily:X(t.fontFamily,a.fontFamily),terminalFill:m(t.terminalFill,a.terminalFill),terminalStroke:m(t.terminalStroke,a.terminalStroke),terminalTextColor:m(t.terminalTextColor,a.terminalTextColor),nonTerminalFill:m(t.nonTerminalFill,a.nonTerminalFill),nonTerminalStroke:m(t.nonTerminalStroke,a.nonTerminalStroke),nonTerminalTextColor:m(t.nonTerminalTextColor,a.nonTerminalTextColor),lineColor:m(t.lineColor,a.lineColor),strokeWidth:F(t.strokeWidth,a.strokeWidth),markerFill:m(t.markerFill,a.markerFill),commentFill:m(t.commentFill,a.commentFill),commentStroke:m(t.commentStroke,a.commentStroke),commentTextColor:m(t.commentTextColor,a.commentTextColor),specialFill:m(t.specialFill,a.specialFill),specialStroke:m(t.specialStroke,a.specialStroke),ruleNameColor:m(t.ruleNameColor,a.ruleNameColor),showMarkers:t.showMarkers??a.showMarkers,markerRadius:F(t.markerRadius,a.markerRadius)}},"buildRailroadStyleOptions"),Te=p(e=>{const{fontFamily:i,fontSize:n,terminalFill:a,terminalStroke:t,terminalTextColor:r,nonTerminalFill:o,nonTerminalStroke:g,nonTerminalTextColor:l,lineColor:s,strokeWidth:h,markerFill:u,commentFill:c,commentStroke:w,commentTextColor:d,specialFill:T,specialStroke:z,ruleNameColor:S}=E(e);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${i};
|