@intent-hq/web 2.333.0 → 2.334.1
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/{BJ8NXEMJ.js → 2aqEG8x0.js} +1 -1
- package/web/app/immutable/chunks/{DivUGPVj.js → 2cP0f-ZS.js} +1 -1
- package/web/app/immutable/chunks/{D5BJwiCX.js → 35OKERyz.js} +3 -3
- package/web/app/immutable/chunks/{B832GCAy.js → 4doVsrTt.js} +1 -1
- package/web/app/immutable/chunks/{nISUgxKe.js → 4seVPSlv.js} +1 -1
- package/web/app/immutable/chunks/{DOW78mrl.js → 5deW2fcc.js} +1 -1
- package/web/app/immutable/chunks/{C66LITAl.js → 5gwO8o7P.js} +1 -1
- package/web/app/immutable/chunks/{D3zprjIo.js → 5gyILap3.js} +1 -1
- package/web/app/immutable/chunks/{eE1Ik_Y8.js → 5iBTGhZe.js} +1 -1
- package/web/app/immutable/chunks/{CsBfHq3z.js → 71wna1Z8.js} +1 -1
- package/web/app/immutable/chunks/{BTdEOciU.js → 7AKPDTqy.js} +1 -1
- package/web/app/immutable/chunks/{CKywtFzw.js → 9oNS7b_T.js} +1 -1
- package/web/app/immutable/chunks/{DlMw3wRu.js → 9x9_-mfx.js} +1 -1
- package/web/app/immutable/chunks/{HSKzTsh4.js → Az9OQ8Pw.js} +1 -1
- package/web/app/immutable/chunks/{BAzseDFu.js → B-1pTbth.js} +1 -1
- package/web/app/immutable/chunks/{DHj5Vli6.js → B-lr2mEf.js} +1 -1
- package/web/app/immutable/chunks/{CFp19SMm.js → B3IB9jzF.js} +1 -1
- package/web/app/immutable/chunks/{7vJjNlp5.js → B3KrGqdQ.js} +1 -1
- package/web/app/immutable/chunks/{DlLRbNZR.js → B4GGgwli.js} +1 -1
- package/web/app/immutable/chunks/{Cpr9mNUv.js → B4OuSSm9.js} +1 -1
- package/web/app/immutable/chunks/{Dtby9LLe.js → B4egTWvZ.js} +1 -1
- package/web/app/immutable/chunks/{CH58YVSk.js → B8888LoS.js} +1 -1
- package/web/app/immutable/chunks/{C92p6Xk1.js → B8ouaI3V.js} +1 -1
- package/web/app/immutable/chunks/{CwOQgsIB.js → BACRSxRg.js} +1 -1
- package/web/app/immutable/chunks/{aA6XO7Z6.js → BAOVYkFF.js} +1 -1
- package/web/app/immutable/chunks/{BSHExHmB.js → BAmhsi1_.js} +1 -1
- package/web/app/immutable/chunks/{CE_FxgNs.js → BAzeccV1.js} +1 -1
- package/web/app/immutable/chunks/{Dyx0lQpx.js → BBH-BNcw.js} +1 -1
- package/web/app/immutable/chunks/{DD5ISNL6.js → BCGsV37m.js} +1 -1
- package/web/app/immutable/chunks/{d6WJXB_G.js → BE3xHJK-.js} +1 -1
- package/web/app/immutable/chunks/{BfQcXH7l.js → BETOnFVA.js} +1 -1
- package/web/app/immutable/chunks/{BFjtbKU5.js → BEbbGjvZ.js} +1 -1
- package/web/app/immutable/chunks/{B4EyOcMP.js → BEycbtuj.js} +1 -1
- package/web/app/immutable/chunks/{BtxhSwaF.js → BHNjUi-M.js} +1 -1
- package/web/app/immutable/chunks/{9WOIFXVq.js → BHVl-WA3.js} +1 -1
- package/web/app/immutable/chunks/{BrgKUa-G.js → BI01o9a_.js} +1 -1
- package/web/app/immutable/chunks/{BRzkxjZ7.js → BI3OQg3X.js} +1 -1
- package/web/app/immutable/chunks/{BKzrjZp1.js → BJGG6xS6.js} +5 -5
- package/web/app/immutable/chunks/{n9Al_b1R.js → BMXLxN42.js} +1 -1
- package/web/app/immutable/chunks/{m9iBAChf.js → BRvPqeED.js} +1 -1
- package/web/app/immutable/chunks/{BirwNQi3.js → BV0hRaXE.js} +4 -4
- package/web/app/immutable/chunks/{BUxvwYCZ.js → BWLkc8Du.js} +1 -1
- package/web/app/immutable/chunks/{Coh-8FDf.js → BX5Kqzmw.js} +1 -1
- package/web/app/immutable/chunks/{Cf8id2rO.js → B_VQj7hH.js} +1 -1
- package/web/app/immutable/chunks/{BWr9U17b.js → Bbdedrbg.js} +1 -1
- package/web/app/immutable/chunks/{Dzei16j2.js → BcOksEI9.js} +1 -1
- package/web/app/immutable/chunks/{BY6hRbJf.js → BcSES-Dp.js} +1 -1
- package/web/app/immutable/chunks/{CoMudm58.js → Bd-UWJsU.js} +1 -1
- package/web/app/immutable/chunks/{DY2uGuix.js → Bdtl8KA4.js} +1 -1
- package/web/app/immutable/chunks/BeA8kzlg.js +1 -0
- package/web/app/immutable/chunks/{CglC4HOM.js → BfDRfZ1x.js} +1 -1
- package/web/app/immutable/chunks/{CHyKyUzM.js → BfNeIJAh.js} +1 -1
- package/web/app/immutable/chunks/{NoEKF6rx.js → BjWMcF7P.js} +1 -1
- package/web/app/immutable/chunks/{Ce-iGpTr.js → Bjpp5QFb.js} +1 -1
- package/web/app/immutable/chunks/{F7DwQcta.js → BkLJcH_z.js} +1 -1
- package/web/app/immutable/chunks/{LU9o-VsR.js → BnU-5qYi.js} +1 -1
- package/web/app/immutable/chunks/{xbz74Y37.js → Bobasviv.js} +1 -1
- package/web/app/immutable/chunks/{Cd6dNiWt.js → BrgY-0wa.js} +1 -1
- package/web/app/immutable/chunks/{CMQoknXV.js → BsbCFjWI.js} +1 -1
- package/web/app/immutable/chunks/{DhuL_LWc.js → BsmVNOQl.js} +1 -1
- package/web/app/immutable/chunks/{5BjH__qw.js → BuNYZSRv.js} +1 -1
- package/web/app/immutable/chunks/{BYJTJW1o.js → BuxSPewv.js} +1 -1
- package/web/app/immutable/chunks/{wYgYMVXC.js → Bv6lXJbF.js} +1 -1
- package/web/app/immutable/chunks/{C4YSpHI_.js → BxDyhHLD.js} +1 -1
- package/web/app/immutable/chunks/{BMla283I.js → Bxd9OUMD.js} +1 -1
- package/web/app/immutable/chunks/{Bielx7or.js → BzOameBd.js} +1 -1
- package/web/app/immutable/chunks/{B56Mq91W.js → C--Z5JHB.js} +1 -1
- package/web/app/immutable/chunks/{BcgRdy5h.js → C-IDQ1xK.js} +2 -2
- package/web/app/immutable/chunks/{C0l2XLvP.js → C043lRmr.js} +1 -1
- package/web/app/immutable/chunks/{-Iq9nlAE.js → C0A_RMeu.js} +1 -1
- package/web/app/immutable/chunks/{rKfhSL2S.js → C0VK7z_4.js} +1 -1
- package/web/app/immutable/chunks/{CnivRSyI.js → C0WAGZJ9.js} +1 -1
- package/web/app/immutable/chunks/{D76tmIP3.js → C1MSnWt8.js} +1 -1
- package/web/app/immutable/chunks/{CkMfCuzz.js → C1ZTS4Sh.js} +1 -1
- package/web/app/immutable/chunks/{CHjnK8eD.js → C2Hj1FZO.js} +1 -1
- package/web/app/immutable/chunks/{BsWB9YpI.js → C3KFiFcK.js} +1 -1
- package/web/app/immutable/chunks/{NmEpUrvw.js → C3mDeV9d.js} +1 -1
- package/web/app/immutable/chunks/{yjIqqlQ2.js → C3vEbnKP.js} +1 -1
- package/web/app/immutable/chunks/{60bkkSrP.js → C5VwFEJA.js} +1 -1
- package/web/app/immutable/chunks/{C9IQsGTN.js → C5vuxPIj.js} +1 -1
- package/web/app/immutable/chunks/{C8Ewc55B.js → C6vcWSYF.js} +1 -1
- package/web/app/immutable/chunks/{CpMi3Pqw.js → C7Fm8r7x.js} +1 -1
- package/web/app/immutable/chunks/{Z2NV50FD.js → C7Ro1E0r.js} +1 -1
- package/web/app/immutable/chunks/C7wbrsvU.js +1 -0
- package/web/app/immutable/chunks/{HcYBxKPc.js → CArqGgyL.js} +1 -1
- package/web/app/immutable/chunks/{BZ3Ae-4U.js → CAtd-0zD.js} +1 -1
- package/web/app/immutable/chunks/CCPn5VZR.js +1 -0
- package/web/app/immutable/chunks/{D3E9Lwsk.js → CDSwBgYD.js} +1 -1
- package/web/app/immutable/chunks/{Bi2Qf6lk.js → CESOOiWP.js} +1 -1
- package/web/app/immutable/chunks/{CPYy7Bl8.js → CEXEpW2y.js} +1 -1
- package/web/app/immutable/chunks/{EZSy0A04.js → CEboTiDi.js} +3 -3
- package/web/app/immutable/chunks/{DR0muAaQ.js → CEgGFCzF.js} +1 -1
- package/web/app/immutable/chunks/{BaoulGHD.js → CEtwgF3e.js} +1 -1
- package/web/app/immutable/chunks/{B7UFQMCa.js → CFbTpfHS.js} +1 -1
- package/web/app/immutable/chunks/{CM28_vQq.js → CGVLIZz9.js} +1 -1
- package/web/app/immutable/chunks/{C8XfwzHP.js → CI96OvIs.js} +1 -1
- package/web/app/immutable/chunks/CIB-2rN9.js +1 -0
- package/web/app/immutable/chunks/{ChNKlZtm.js → CIqnL4UD.js} +1 -1
- package/web/app/immutable/chunks/{CeOYgNbD.js → CKJpktTE.js} +1 -1
- package/web/app/immutable/chunks/{D0BCTOi7.js → CKR6ReFI.js} +3 -3
- package/web/app/immutable/chunks/{C2q2h8LC.js → CLT3XZ7_.js} +1 -1
- package/web/app/immutable/chunks/{BRWLc5hQ.js → CMOnvdXp.js} +1 -1
- package/web/app/immutable/chunks/{DJvRJQDF.js → CMhVAKzx.js} +1 -1
- package/web/app/immutable/chunks/{CYp2pkXV.js → CO7hmy56.js} +1 -1
- package/web/app/immutable/chunks/{BtQGF6MG.js → CPYxy-X1.js} +1 -1
- package/web/app/immutable/chunks/{DgtU93Ce.js → CP_jYxTi.js} +1 -1
- package/web/app/immutable/chunks/{BZCXNg5s.js → CRdjZtzP.js} +1 -1
- package/web/app/immutable/chunks/{B8OTnzCv.js → CSSojjBG.js} +1 -1
- package/web/app/immutable/chunks/CTcbitCM.js +1 -0
- package/web/app/immutable/chunks/{CNKDyXfa.js → CUWQIUPR.js} +2 -2
- package/web/app/immutable/chunks/{fUxAhSKl.js → CXKfuiUF.js} +1 -1
- package/web/app/immutable/chunks/{DVUO3Tx5.js → CXexmtc2.js} +1 -1
- package/web/app/immutable/chunks/{BpePMNve.js → CXzbClP6.js} +1 -1
- package/web/app/immutable/chunks/{QBrdUuj3.js → CYAPxNuV.js} +1 -1
- package/web/app/immutable/chunks/{DPgkHx8Z.js → CYnSw8gK.js} +1 -1
- package/web/app/immutable/chunks/CZEeLj55.js +1 -0
- package/web/app/immutable/chunks/CZ_kVWbN.js +4 -0
- package/web/app/immutable/chunks/{XBT2FDUw.js → CfwVmHCf.js} +1 -1
- package/web/app/immutable/chunks/{DBZdNxOK.js → CgWmg0h0.js} +1 -1
- package/web/app/immutable/chunks/{Bmwe3v73.js → CiQ6prZ_.js} +1 -1
- package/web/app/immutable/chunks/{C2NjZei7.js → Ci__OGHt.js} +1 -1
- package/web/app/immutable/chunks/{CHz9NPSg.js → CjijEKrk.js} +1 -1
- package/web/app/immutable/chunks/{BRfIKJVK.js → Ckt4hpBJ.js} +1 -1
- package/web/app/immutable/chunks/{NpJ_H_lL.js → Cl-7Au8R.js} +1 -1
- package/web/app/immutable/chunks/{BEdXc2Cn.js → CnMdEUN9.js} +1 -1
- package/web/app/immutable/chunks/{wAlzdqKW.js → Co38dt7I.js} +1 -1
- package/web/app/immutable/chunks/{DUj2SOU7.js → CoVAqVcd.js} +1 -1
- package/web/app/immutable/chunks/{Cr3SSyqj.js → CrnkHSpK.js} +2 -2
- package/web/app/immutable/chunks/{DYod7WBg.js → Cs1tcw-s.js} +1 -1
- package/web/app/immutable/chunks/{ClAv9h9H.js → CsabU_jS.js} +1 -1
- package/web/app/immutable/chunks/{BP23sDOE.js → CsdbM4yO.js} +1 -1
- package/web/app/immutable/chunks/{uTT4_LLP.js → CvkTsTXh.js} +1 -1
- package/web/app/immutable/chunks/{BPe3vmZW.js → Cxbk0QV6.js} +1 -1
- package/web/app/immutable/chunks/{BqgLlXte.js → CyImu6JF.js} +1 -1
- package/web/app/immutable/chunks/{nfg7gMK0.js → Cz-qaXwq.js} +1 -1
- package/web/app/immutable/chunks/{1bpiYpBu.js → D-v3doGL.js} +1 -1
- package/web/app/immutable/chunks/{DsuM61wf.js → D0NsovPG.js} +1 -1
- package/web/app/immutable/chunks/{01VYey36.js → D2laB2lQ.js} +1 -1
- package/web/app/immutable/chunks/{DYXF8P9g.js → D3DGxoeO.js} +1 -1
- package/web/app/immutable/chunks/{BmIdlkCY.js → D8UOq-cZ.js} +1 -1
- package/web/app/immutable/chunks/{So805CPS.js → D8zn-h1a.js} +1 -1
- package/web/app/immutable/chunks/D9wogWMJ.js +1 -0
- package/web/app/immutable/chunks/{D-Mv0NgR.js → DAGiwOmW.js} +1 -1
- package/web/app/immutable/chunks/{Bk0QUQDW.js → DBdE3z4X.js} +1 -1
- package/web/app/immutable/chunks/{Bfc3D5MS.js → DBhO1Z-R.js} +1 -1
- package/web/app/immutable/chunks/DCCFERAn.js +1 -0
- package/web/app/immutable/chunks/{Ct1y2X3-.js → DCD7Mz5K.js} +1 -1
- package/web/app/immutable/chunks/{Dogvt2Uo.js → DE30zKyE.js} +1 -1
- package/web/app/immutable/chunks/{BsXH6ASx.js → DEA_eMvz.js} +1 -1
- package/web/app/immutable/chunks/{D9iOEcKX.js → DFDLegE6.js} +1 -1
- package/web/app/immutable/chunks/{BCR36ulI.js → DGUKdi7i.js} +1 -1
- package/web/app/immutable/chunks/{DgqSfEsd.js → DGcTdGo8.js} +2 -2
- package/web/app/immutable/chunks/{Bcxw4jL3.js → DHwdjtxe.js} +1 -1
- package/web/app/immutable/chunks/{BB28H67K.js → DIyqmlUg.js} +1 -1
- package/web/app/immutable/chunks/{BVlLHHIh.js → DKxrs1sS.js} +2 -2
- package/web/app/immutable/chunks/{1N4-_XNd.js → DMW_Ogh_.js} +1 -1
- package/web/app/immutable/chunks/{CVuCQwR4.js → DPXyAfng.js} +1 -1
- package/web/app/immutable/chunks/{CE3cTmuW.js → DPiebq8X.js} +1 -1
- package/web/app/immutable/chunks/{BIAzHfjL.js → DRe7r98g.js} +1 -1
- package/web/app/immutable/chunks/{BVV0KdYJ.js → DRvCShWO.js} +1 -1
- package/web/app/immutable/chunks/{C-hzwobp.js → DWJnCcL3.js} +2 -2
- package/web/app/immutable/chunks/{DQa6YuyW.js → DXNrmOAj.js} +1 -1
- package/web/app/immutable/chunks/{DLI1aSNH.js → DXO_adPf.js} +1 -1
- package/web/app/immutable/chunks/{C7r-OuIg.js → DXQ8FQgn.js} +1 -1
- package/web/app/immutable/chunks/{DX3DcnUQ.js → DYSyQTlz.js} +1 -1
- package/web/app/immutable/chunks/{COZF9anf.js → DYUpH2Hg.js} +1 -1
- package/web/app/immutable/chunks/{CdxfWnwV.js → DZRICUjW.js} +1 -1
- package/web/app/immutable/chunks/{CQ-f-CXn.js → D_i6tc5B.js} +1 -1
- package/web/app/immutable/chunks/{DeLyGL9g.js → DafANtkC.js} +1 -1
- package/web/app/immutable/chunks/{DQhpCQ8x.js → DbWOkCcI.js} +1 -1
- package/web/app/immutable/chunks/{BlMN_W9c.js → Dbqyis-m.js} +1 -1
- package/web/app/immutable/chunks/{uU0UH-Q4.js → DcZ6Y3e4.js} +1 -1
- package/web/app/immutable/chunks/{ClouAezj.js → De1yQ4of.js} +3 -3
- package/web/app/immutable/chunks/{BQypG4-Z.js → Df-CfLbF.js} +1 -1
- package/web/app/immutable/chunks/{R4bwBwT_.js → DfBE7crq.js} +1 -1
- package/web/app/immutable/chunks/{COKOIhyC.js → DhIC-K93.js} +1 -1
- package/web/app/immutable/chunks/{Ce6vcV0f.js → Di0Cytfq.js} +1 -1
- package/web/app/immutable/chunks/{BkMLj_bt.js → Diees_tN.js} +1 -1
- package/web/app/immutable/chunks/{DenVKqrV.js → Dk1_0x0Q.js} +1 -1
- package/web/app/immutable/chunks/{E1eRJOvk.js → DkO3fP2t.js} +1 -1
- package/web/app/immutable/chunks/{bbeE_6so.js → DkPqbYEN.js} +1 -1
- package/web/app/immutable/chunks/{CkyjResP.js → DkoS0ApO.js} +1 -1
- package/web/app/immutable/chunks/{Dnnm-5K1.js → Do3D3adr.js} +1 -1
- package/web/app/immutable/chunks/{BkUS-e35.js → Do9Il6aW.js} +4 -4
- package/web/app/immutable/chunks/{S8lIecOL.js → DsbITls1.js} +1 -1
- package/web/app/immutable/chunks/Dso1_H3c.js +1 -0
- package/web/app/immutable/chunks/{nhnbx7C0.js → DuD0elPz.js} +1 -1
- package/web/app/immutable/chunks/{31GDMDj9.js → DulGwXPf.js} +2 -2
- package/web/app/immutable/chunks/{LD1u5ntr.js → DuoF8WPm.js} +2 -2
- package/web/app/immutable/chunks/{DBwqw4Qu.js → DxFUSFjo.js} +1 -1
- package/web/app/immutable/chunks/{BnXfq0KH.js → DxGil5MD.js} +1 -1
- package/web/app/immutable/chunks/{CR7cFb79.js → DyrELBv-.js} +1 -1
- package/web/app/immutable/chunks/{C7ZRfZC1.js → DzXiplW2.js} +2 -2
- package/web/app/immutable/chunks/{BOXppFhx.js → Dzg-ll0I.js} +1 -1
- package/web/app/immutable/chunks/{DRFOuvia.js → FEnI6pqw.js} +1 -1
- package/web/app/immutable/chunks/{idgVmMSO.js → G3lcIaVb.js} +1 -1
- package/web/app/immutable/chunks/{DX0DDRCM.js → GY5YfSD1.js} +1 -1
- package/web/app/immutable/chunks/{DKShYaIJ.js → Gz-Odby1.js} +1 -1
- package/web/app/immutable/chunks/{Cq9yywqY.js → H6rH-O5e.js} +1 -1
- package/web/app/immutable/chunks/{DFIsXmE_.js → HB5uhQNm.js} +1 -1
- package/web/app/immutable/chunks/{BFLeHPtB.js → HZf189bi.js} +1 -1
- package/web/app/immutable/chunks/{K9qmyacm.js → ITJu9SqW.js} +1 -1
- package/web/app/immutable/chunks/{DxnpD-Cb.js → JlZEAwzh.js} +1 -1
- package/web/app/immutable/chunks/{WOtBW7MG.js → LULQY_VI.js} +1 -1
- package/web/app/immutable/chunks/{Cyv_QpXG.js → MCnrQrjH.js} +1 -1
- package/web/app/immutable/chunks/{DNnl-ruw.js → MMlRGdRy.js} +1 -1
- package/web/app/immutable/chunks/{BfzrGa3A.js → Oz6u8hl_.js} +1 -1
- package/web/app/immutable/chunks/{B8vvVbvT.js → PA5tKchu.js} +1 -1
- package/web/app/immutable/chunks/{Ck4zrPgL.js → Qk-BsDf0.js} +1 -1
- package/web/app/immutable/chunks/{9Hyeqhzq.js → Qx6kHYb-.js} +1 -1
- package/web/app/immutable/chunks/{IjAEhEd_.js → RlWPb-l5.js} +1 -1
- package/web/app/immutable/chunks/{DM0_7KAa.js → TvrcPonj.js} +2 -2
- package/web/app/immutable/chunks/{C_1dnC1X.js → V1oMiVfu.js} +1 -1
- package/web/app/immutable/chunks/{9REiaz4P.js → Wjuib0ag.js} +1 -1
- package/web/app/immutable/chunks/{3ol3wj0q.js → Z1K5P4U2.js} +1 -1
- package/web/app/immutable/chunks/{DZQgWgP1.js → Z9shPzgu.js} +43 -43
- package/web/app/immutable/chunks/{CF-5Z7Xo.js → ayrFAfGH.js} +1 -1
- package/web/app/immutable/chunks/{DBPvj7yj.js → b8po137L.js} +3 -3
- package/web/app/immutable/chunks/{CJqmLHCx.js → fQAPkS9v.js} +1 -1
- package/web/app/immutable/chunks/{rz6OBXp5.js → jrcipDnr.js} +1 -1
- package/web/app/immutable/chunks/{OtDorjRa.js → k3FE0FJZ.js} +1 -1
- package/web/app/immutable/chunks/{DJhmhU0F.js → kJ4G2_k4.js} +3 -3
- package/web/app/immutable/chunks/{BcU-Zn0b.js → kKBf0CYQ.js} +3 -3
- package/web/app/immutable/chunks/m5UczIQR.js +18 -0
- package/web/app/immutable/chunks/{5BpiFfqe.js → mEDFle3S.js} +2 -2
- package/web/app/immutable/chunks/{Cc3p9mKN.js → mdduA0pr.js} +1 -1
- package/web/app/immutable/chunks/{BKpbFIyR.js → nd4329YU.js} +1 -1
- package/web/app/immutable/chunks/{DHO1UrQa.js → oJD7n1Ce.js} +1 -1
- package/web/app/immutable/chunks/{DXKRxRra.js → psHvDGLZ.js} +1 -1
- package/web/app/immutable/chunks/{CSAk4qZa.js → sT0KaY62.js} +1 -1
- package/web/app/immutable/chunks/{VzU2yQD-.js → tHW2xu85.js} +4 -4
- package/web/app/immutable/chunks/{tE5q5HcJ.js → tO-hey33.js} +1 -1
- package/web/app/immutable/chunks/{nUyY273s.js → td5hg6sa.js} +1 -1
- package/web/app/immutable/chunks/{DvT1AhIX.js → tj2YkYbp.js} +1 -1
- package/web/app/immutable/chunks/{DyC0TlBU.js → vvvz0E4v.js} +1 -1
- package/web/app/immutable/chunks/{LTdieHUf.js → x67B9CPX.js} +4 -4
- package/web/app/immutable/chunks/{DjiG1aj4.js → xTKdEUQT.js} +1 -1
- package/web/app/immutable/entry/{app.BvRxV6R1.js → app.D0MtdmTS.js} +3 -3
- package/web/app/immutable/entry/start.CBgUCIjA.js +1 -0
- package/web/app/immutable/nodes/{0.DlMK7EKt.js → 0.SQd1rw9F.js} +1 -1
- package/web/app/immutable/nodes/{1.Bc43OCNt.js → 1.DEkMxnM3.js} +1 -1
- package/web/app/immutable/nodes/{10.CRW4MxVn.js → 10.BwG-rwIb.js} +1 -1
- package/web/app/immutable/nodes/{11.v3TvfIzF.js → 11.CVezrggv.js} +1 -1
- package/web/app/immutable/nodes/{12.DU8-Nmz-.js → 12.BPw8mLRI.js} +1 -1
- package/web/app/immutable/nodes/{13.pNrv4shY.js → 13.DEB8Wg7Z.js} +3 -3
- package/web/app/immutable/nodes/{14.fcMbdu6Z.js → 14.D7uqFGya.js} +1 -1
- package/web/app/immutable/nodes/{15.DBMm4pyM.js → 15.FeIesTUd.js} +1 -1
- package/web/app/immutable/nodes/{16.ClJoD8WH.js → 16.CxMj36A8.js} +1 -1
- package/web/app/immutable/nodes/{17.B3dCuKkH.js → 17.CLHcSNQ3.js} +2 -2
- package/web/app/immutable/nodes/2.wp3qumBD.js +13 -0
- package/web/app/immutable/nodes/{3.tV7qLGeC.js → 3.beA-w1Z7.js} +1 -1
- package/web/app/immutable/nodes/{4.CLfVtjCR.js → 4.CApSdQYP.js} +1 -1
- package/web/app/immutable/nodes/{5.DcQbRELp.js → 5.CI2v691d.js} +1 -1
- package/web/app/immutable/nodes/{6.CS7SDYA7.js → 6.CMzDhNh4.js} +1 -1
- package/web/app/immutable/nodes/{7.D7iSydzH.js → 7.DLco_Cq5.js} +1 -1
- package/web/app/immutable/nodes/8.CZiVpecT.js +14 -0
- package/web/app/immutable/nodes/{9.Daikd_tE.js → 9.D1WSkrvW.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/chunks/-svebp9s.js +0 -18
- package/web/app/immutable/chunks/B3iZfhYu.js +0 -1
- package/web/app/immutable/chunks/Bap15j_Q.js +0 -4
- package/web/app/immutable/chunks/Brb5mMFP.js +0 -1
- package/web/app/immutable/chunks/C9Vu0azd.js +0 -1
- package/web/app/immutable/chunks/CCbp1hCi.js +0 -1
- package/web/app/immutable/chunks/CXgKrD4b.js +0 -1
- package/web/app/immutable/chunks/Coc7Z84W.js +0 -1
- package/web/app/immutable/chunks/D6H9qMAI.js +0 -1
- package/web/app/immutable/chunks/Nzi7bwxO.js +0 -1
- package/web/app/immutable/chunks/tjb4ezeK.js +0 -1
- package/web/app/immutable/entry/start.BrbYIb0p.js +0 -1
- package/web/app/immutable/nodes/2.XomcwXea.js +0 -13
- package/web/app/immutable/nodes/8.C7yThhga.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Hr=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Ar=(s,t,e)=>t in s?Hr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Ar(s,typeof t!="symbol"?t+"":t,e),Ce=(s,t,e)=>t.has(s)||cr("Cannot "+e);var n=(s,t,e)=>(Ce(s,t,"read from private field"),e?e.call(s):t.get(s)),d=(s,t,e)=>t.has(s)?cr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),F=(s,t,e,r)=>(Ce(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),et=(s,t,e)=>(Ce(s,t,"access private method"),e);import{t as V,bq as v,a_ as B,by as M,b as W,br as k,bt as O}from"./CXgKrD4b.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as H,a7 as L,ay as E,W as z,bn as A,aA as S,bf as J,bi as ut,cb as Or,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./DYhIMPy1.js";import{s as Y}from"./CHyKyUzM.js";import{c as ct}from"./7vJjNlp5.js";import{be as Lr,e as kr,bu as Xr,bM as ur,aJ as D,bG as ze,h as le,bK as Yr,av as Z,D as Ur,aS as $r,aV as Ir,bn as U,b6 as Fr,aT as j}from"./-svebp9s.js";import{i as lt,l as Br,r as jr}from"./BEdXc2Cn.js";function qr(s,t){if(Lr(s)){const r=s();return r===void 0?t:r}return s===void 0?t:s}function we(s,t){let e=T(null);const r=y(()=>qr(t,250));function i(...l){if(o(e))o(e).timeout&&clearTimeout(o(e).timeout);else{let a,c;const u=new Promise((b,h)=>{a=b,c=h});f(e,{timeout:null,runner:null,promise:u,resolve:a,reject:c},!0)}return o(e).runner=async()=>{if(!o(e))return;const a=o(e);f(e,null);try{a.resolve(await s.apply(this,l))}catch(c){a.reject(c)}},o(e).timeout=setTimeout(o(e).runner,o(r)),o(e).promise}return i.cancel=async()=>{(!o(e)||o(e).timeout===null)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||o(e).timeout===null)||(clearTimeout(o(e).timeout),o(e).reject("Cancelled"),f(e,null))},i.runScheduledNow=async()=>{(!o(e)||!o(e).timeout)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||!o(e).timeout)||(clearTimeout(o(e).timeout),o(e).timeout=null,await o(e).runner?.())},Object.defineProperty(i,"pending",{enumerable:!0,get(){return!!o(e)?.timeout}}),i}var rt;class $e{constructor(){d(this,rt,T(!1));X(()=>(ht(()=>f(n(this,rt),!0)),()=>{f(n(this,rt),!1)}))}get current(){return o(n(this,rt))}}rt=new WeakMap;var dt,ft;class at{constructor(t,e){d(this,dt);d(this,ft);F(this,dt,t),F(this,ft,e),this.handler=this.handler.bind(this),X(this.handler)}handler(){let t=0;const e=n(this,dt).call(this);if(!e)return;const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n(this,ft))});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}dt=new WeakMap,ft=new WeakMap;var bt,K,pt,Q,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,bt);d(this,K,T(!1));d(this,pt,!1);d(this,Q,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,K))));this.opts=t,this.present=this.opts.open,f(n(this,K),t.open.current,!0),F(this,bt,new kr({ref:this.opts.ref,afterTick:this.opts.open})),Xr(()=>et(this,gt,De).call(this)),ur(()=>this.present.current,e=>{if(!n(this,pt)){F(this,pt,!0);return}et(this,gt,De).call(this),e&&f(n(this,K),!0),f(n(this,Q),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Q),void 0)})),n(this,bt).run(()=>{e===this.present.current&&(e||f(n(this,K),!1),f(n(this,Q),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Q))}}bt=new WeakMap,K=new WeakMap,pt=new WeakMap,Q=new WeakMap,q=new WeakMap,mt=new WeakMap,gt=new WeakSet,De=function(){n(this,q)!==null&&(window.cancelAnimationFrame(n(this,q)),F(this,q,null))};function ae(s,t){if(new.target)return V({component:ae,...s});H(t,!0);let e=v(t,"open",7),r=v(t,"forceMount",7),i=v(t,"presence",7),l=v(t,"ref",7);const a=new Gr({open:D(()=>e()),ref:l()});var c={get open(){return e()},set open(P){e(P),S()},get forceMount(){return r()},set forceMount(P){r(P),S()},get presence(){return i()},set presence(P){i(P),S()},get ref(){return l()},set ref(P){l(P),S()},$set:M,$on:(P,w)=>W(t,P,w)},u=L(),b=E(u);{var h=P=>{var w=L(),x=E(w);Y(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(b,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),A(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Kr{constructor(t,e){d(this,me);m(this,"state");d(this,vt);this.state=ze(t),F(this,vt,e),this.dispatch=this.dispatch.bind(this)}dispatch(t){this.state.current=et(this,me,dr).call(this,t)}}vt=new WeakMap,me=new WeakSet,dr=function(t){return n(this,vt)[this.state.current][t]??this.state.current};const ce=$r({component:"scroll-area",parts:["root","viewport","corner","thumb","scrollbar"]}),he=new le("ScrollArea.Root"),ue=new le("ScrollArea.Scrollbar"),Pe=new le("ScrollArea.ScrollbarVisible"),Ie=new le("ScrollArea.ScrollbarAxis"),fr=new le("ScrollArea.ScrollbarShared");var St,wt,Pt,yt,xt,_t,Tt,Nt,Ct,zt;const Be=class Be{constructor(t){m(this,"opts");m(this,"attachment");d(this,St,T(null));d(this,wt,T(null));d(this,Pt,T(null));d(this,yt,T(null));d(this,xt,T(null));d(this,_t,T(0));d(this,Tt,T(0));d(this,Nt,T(!1));d(this,Ct,T(!1));m(this,"domContext");d(this,zt,y(()=>({id:this.opts.id.current,dir:this.opts.dir.current,style:{position:"relative","--bits-scroll-area-corner-height":`${this.cornerHeight}px`,"--bits-scroll-area-corner-width":`${this.cornerWidth}px`},[ce.root]:"",...this.attachment})));this.opts=t,this.attachment=Z(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Ur(t.ref)}static create(t){return he.set(new Be(t))}get scrollAreaNode(){return o(n(this,St))}set scrollAreaNode(t){f(n(this,St),t,!0)}get viewportNode(){return o(n(this,wt))}set viewportNode(t){f(n(this,wt),t,!0)}get contentNode(){return o(n(this,Pt))}set contentNode(t){f(n(this,Pt),t,!0)}get scrollbarXNode(){return o(n(this,yt))}set scrollbarXNode(t){f(n(this,yt),t,!0)}get scrollbarYNode(){return o(n(this,xt))}set scrollbarYNode(t){f(n(this,xt),t,!0)}get cornerWidth(){return o(n(this,_t))}set cornerWidth(t){f(n(this,_t),t,!0)}get cornerHeight(){return o(n(this,Tt))}set cornerHeight(t){f(n(this,Tt),t,!0)}get scrollbarXEnabled(){return o(n(this,Nt))}set scrollbarXEnabled(t){f(n(this,Nt),t,!0)}get scrollbarYEnabled(){return o(n(this,Ct))}set scrollbarYEnabled(t){f(n(this,Ct),t,!0)}get props(){return o(n(this,zt))}set props(t){f(n(this,zt),t)}};St=new WeakMap,wt=new WeakMap,Pt=new WeakMap,yt=new WeakMap,xt=new WeakMap,_t=new WeakMap,Tt=new WeakMap,Nt=new WeakMap,Ct=new WeakMap,zt=new WeakMap;let Ee=Be;var ge,ve,Dt,Et;const je=class je{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ge,ze(Yr()));d(this,ve,ze(null));m(this,"contentAttachment",Z(n(this,ve),t=>this.root.contentNode=t));d(this,Dt,y(()=>({id:this.opts.id.current,style:{overflowX:this.root.scrollbarXEnabled?"scroll":"hidden",overflowY:this.root.scrollbarYEnabled?"scroll":"hidden"},[ce.viewport]:"",...this.attachment})));d(this,Et,y(()=>({id:n(this,ge).current,"data-scroll-area-content":"",style:{minWidth:this.root.scrollbarXEnabled?"fit-content":void 0},...this.contentAttachment})));this.opts=t,this.root=e,this.attachment=Z(t.ref,r=>this.root.viewportNode=r)}static create(t){return new je(t,he.get())}get props(){return o(n(this,Dt))}set props(t){f(n(this,Dt),t)}get contentProps(){return o(n(this,Et))}set contentProps(t){f(n(this,Et),t)}};ge=new WeakMap,ve=new WeakMap,Dt=new WeakMap,Et=new WeakMap;let Re=je;var Rt,Vt;const qe=class qe{constructor(t,e){m(this,"opts");m(this,"root");d(this,Rt,y(()=>this.opts.orientation.current==="horizontal"));d(this,Vt,T(!1));this.opts=t,this.root=e,ur(()=>this.isHorizontal,r=>r?(this.root.scrollbarXEnabled=!0,()=>{this.root.scrollbarXEnabled=!1}):(this.root.scrollbarYEnabled=!0,()=>{this.root.scrollbarYEnabled=!1}))}static create(t){return ue.set(new qe(t,he.get()))}get isHorizontal(){return o(n(this,Rt))}set isHorizontal(t){f(n(this,Rt),t)}get hasThumb(){return o(n(this,Vt))}set hasThumb(t){f(n(this,Vt),t,!0)}};Rt=new WeakMap,Vt=new WeakMap;let Ve=qe;var Mt,Wt;const Ge=class Ge{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Mt,T(!1));d(this,Wt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root,X(()=>{const e=this.root.scrollAreaNode,r=this.root.opts.scrollHideDelay.current;let i=0;if(!e)return;const l=()=>{this.root.domContext.clearTimeout(i),ht(()=>this.isVisible=!0)},a=()=>{i&&this.root.domContext.clearTimeout(i),i=this.root.domContext.setTimeout(()=>{ht(()=>{this.scrollbar.hasThumb=!1,this.isVisible=!1})},r)},c=Ir(ut(e,"pointerenter",l),ut(e,"pointerleave",a));return()=>{this.root.domContext.getWindow().clearTimeout(i),c()}})}static create(){return new Ge(ue.get())}get isVisible(){return o(n(this,Mt))}set isVisible(t){f(n(this,Mt),t,!0)}get props(){return o(n(this,Wt))}set props(t){f(n(this,Wt),t)}};Mt=new WeakMap,Wt=new WeakMap;let Me=Ge;var Ht,At;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Kr("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}}));d(this,Ht,y(()=>this.machine.state.current==="hidden"));d(this,At,y(()=>({"data-state":this.machine.state.current==="hidden"?"hidden":"visible",onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave})));this.scrollbar=t,this.root=t.root;const e=we(()=>this.machine.dispatch("SCROLL_END"),100);X(()=>{const r=this.machine.state.current,i=this.root.opts.scrollHideDelay.current;if(r==="idle"){const l=this.root.domContext.setTimeout(()=>this.machine.dispatch("HIDE"),i);return()=>this.root.domContext.clearTimeout(l)}}),X(()=>{const r=this.root.viewportNode;if(!r)return;const i=this.scrollbar.isHorizontal?"scrollLeft":"scrollTop";let l=r[i];return ut(r,"scroll",()=>{const u=r[i];l!==u&&(this.machine.dispatch("SCROLL"),e()),l=u})}),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this)}static create(){return new Je(ue.get())}get isHidden(){return o(n(this,Ht))}set isHidden(t){f(n(this,Ht),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,At))}set props(t){f(n(this,At),t)}};Ht=new WeakMap,At=new WeakMap;let We=Je;var Ot,Lt;const Ke=class Ke{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Ot,T(!1));d(this,Lt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root;const e=we(()=>{const r=this.root.viewportNode;if(!r)return;const i=r.offsetWidth<r.scrollWidth,l=r.offsetHeight<r.scrollHeight;this.isVisible=this.scrollbar.isHorizontal?i:l},10);new at(()=>this.root.viewportNode,e),new at(()=>this.root.contentNode,e)}static create(){return new Ke(ue.get())}get isVisible(){return o(n(this,Ot))}set isVisible(t){f(n(this,Ot),t,!0)}get props(){return o(n(this,Lt))}set props(t){f(n(this,Lt),t)}};Ot=new WeakMap,Lt=new WeakMap;let be=Ke;var kt,Xt,Yt,Ut,$t,It;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Yt,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Ut,y(()=>br(this.sizes.viewport,this.sizes.content)));d(this,$t,y(()=>this.thumbRatio>0&&this.thumbRatio<1));d(this,It,T(""));this.scrollbar=t,this.root=t.root,X(()=>{this.scrollbar.hasThumb=this.hasThumb}),X(()=>{!this.scrollbar.hasThumb&&this.thumbNode&&(this.prevTransformStyle=this.thumbNode.style.transform)})}static create(){return Pe.set(new Qe(ue.get()))}get thumbNode(){return o(n(this,kt))}set thumbNode(t){f(n(this,kt),t,!0)}get pointerOffset(){return o(n(this,Xt))}set pointerOffset(t){f(n(this,Xt),t,!0)}get sizes(){return o(n(this,Yt))}set sizes(t){f(n(this,Yt),t)}get thumbRatio(){return o(n(this,Ut))}set thumbRatio(t){f(n(this,Ut),t)}get hasThumb(){return o(n(this,$t))}set hasThumb(t){f(n(this,$t),t)}get prevTransformStyle(){return o(n(this,It))}set prevTransformStyle(t){f(n(this,It),t,!0)}setSizes(t){this.sizes=t}getScrollPosition(t,e){return Qr({pointerPos:t,pointerOffset:this.pointerOffset,sizes:this.sizes,dir:e})}onThumbPointerUp(){this.pointerOffset=0}onThumbPointerDown(t){this.pointerOffset=t}xOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollLeft,r=`translate3d(${hr({scrollPos:t,sizes:this.sizes,dir:this.root.opts.dir.current})}px, 0, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}xOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=t)}xOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=this.getScrollPosition(t,this.root.opts.dir.current))}yOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollTop,r=`translate3d(0, ${hr({scrollPos:t,sizes:this.sizes})}px, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}yOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=t)}yOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=this.getScrollPosition(t,this.root.opts.dir.current))}};kt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,Ut=new WeakMap,$t=new WeakMap,It=new WeakMap;let He=Qe;var Ft,Bt,jt;const Ze=class Ze{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,Ft,T());m(this,"onThumbPointerDown",t=>{this.scrollbarVis.onThumbPointerDown(t.x)});m(this,"onDragScroll",t=>{this.scrollbarVis.xOnDragScroll(t.x)});m(this,"onThumbPointerUp",()=>{this.scrollbarVis.onThumbPointerUp()});m(this,"onThumbPositionChange",()=>{this.scrollbarVis.xOnThumbPositionChange()});m(this,"onWheelScroll",(t,e)=>{if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollLeft+t.deltaX;this.scrollbarVis.xOnWheelScroll(r),mr(r,e)&&t.preventDefault()});m(this,"onResize",()=>{this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollWidth,viewport:this.root.viewportNode.offsetWidth,scrollbar:{size:this.scrollbar.opts.ref.current.clientWidth,paddingStart:pe(this.computedStyle.paddingLeft),paddingEnd:pe(this.computedStyle.paddingRight)}})});d(this,Bt,y(()=>ye(this.scrollbarVis.sizes)));d(this,jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"horizontal",style:{bottom:0,left:this.root.opts.dir.current==="rtl"?"var(--bits-scroll-area-corner-width)":0,right:this.root.opts.dir.current==="ltr"?"var(--bits-scroll-area-corner-width)":0,"--bits-scroll-area-thumb-width":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=Z(this.scrollbar.opts.ref,r=>this.root.scrollbarXNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()})}static create(t){return Ie.set(new Ze(t,Pe.get()))}get computedStyle(){return o(n(this,Ft))}set computedStyle(t){f(n(this,Ft),t,!0)}get thumbSize(){return o(n(this,Bt))}set thumbSize(t){f(n(this,Bt),t)}get props(){return o(n(this,jt))}set props(t){f(n(this,jt),t)}};Ft=new WeakMap,Bt=new WeakMap,jt=new WeakMap;let Ae=Ze;var qt,Gt,Jt;const tr=class tr{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,qt,T());d(this,Gt,y(()=>ye(this.scrollbarVis.sizes)));d(this,Jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"vertical",style:{top:0,right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:"var(--bits-scroll-area-corner-height)","--bits-scroll-area-thumb-height":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=Z(this.scrollbar.opts.ref,r=>this.root.scrollbarYNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()}),this.onThumbPointerDown=this.onThumbPointerDown.bind(this),this.onDragScroll=this.onDragScroll.bind(this),this.onThumbPointerUp=this.onThumbPointerUp.bind(this),this.onThumbPositionChange=this.onThumbPositionChange.bind(this),this.onWheelScroll=this.onWheelScroll.bind(this),this.onResize=this.onResize.bind(this)}static create(t){return Ie.set(new tr(t,Pe.get()))}get computedStyle(){return o(n(this,qt))}set computedStyle(t){f(n(this,qt),t,!0)}onThumbPointerDown(t){this.scrollbarVis.onThumbPointerDown(t.y)}onDragScroll(t){this.scrollbarVis.yOnDragScroll(t.y)}onThumbPointerUp(){this.scrollbarVis.onThumbPointerUp()}onThumbPositionChange(){this.scrollbarVis.yOnThumbPositionChange()}onWheelScroll(t,e){if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollTop+t.deltaY;this.scrollbarVis.yOnWheelScroll(r),mr(r,e)&&t.preventDefault()}onResize(){this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollHeight,viewport:this.root.viewportNode.offsetHeight,scrollbar:{size:this.scrollbar.opts.ref.current.clientHeight,paddingStart:pe(this.computedStyle.paddingTop),paddingEnd:pe(this.computedStyle.paddingBottom)}})}get thumbSize(){return o(n(this,Gt))}set thumbSize(t){f(n(this,Gt),t)}get props(){return o(n(this,Jt))}set props(t){f(n(this,Jt),t)}};qt=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;let Oe=tr;var Kt,Qt,Zt,te,ke,ee;const er=class er{constructor(t){d(this,te);m(this,"scrollbarState");m(this,"root");m(this,"scrollbarVis");m(this,"scrollbar");d(this,Kt,T(null));d(this,Qt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Zt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>U({...this.scrollbarState.props,style:{position:"absolute",...this.scrollbarState.props.style},[ce.scrollbar]:"",onpointerdown:this.onpointerdown,onpointermove:this.onpointermove,onpointerup:this.onpointerup,onlostpointercapture:this.onlostpointercapture})));this.scrollbarState=t,this.root=t.root,this.scrollbarVis=t.scrollbarVis,this.scrollbar=t.scrollbarVis.scrollbar,this.handleResize=we(()=>this.scrollbarState.onResize(),10),this.handleThumbPositionChange=this.scrollbarState.onThumbPositionChange,this.handleWheelScroll=this.scrollbarState.onWheelScroll,this.handleThumbPointerDown=this.scrollbarState.onThumbPointerDown,this.handleThumbPointerUp=this.scrollbarState.onThumbPointerUp,X(()=>{const e=this.maxScrollPos,r=this.scrollbar.opts.ref.current;this.root.viewportNode;const i=a=>{const c=a.target;r?.contains(c)&&this.handleWheelScroll(a,e)};return ut(this.root.domContext.getDocument(),"wheel",i,{passive:!1})}),Or(()=>{this.scrollbarVis.sizes,ht(()=>this.handleThumbPositionChange())}),new at(()=>this.scrollbar.opts.ref.current,this.handleResize),new at(()=>this.root.contentNode,this.handleResize),this.onpointerdown=this.onpointerdown.bind(this),this.onpointermove=this.onpointermove.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onlostpointercapture=this.onlostpointercapture.bind(this)}static create(){return fr.set(new er(Ie.get()))}get rect(){return o(n(this,Kt))}set rect(t){f(n(this,Kt),t)}get prevWebkitUserSelect(){return o(n(this,Qt))}set prevWebkitUserSelect(t){f(n(this,Qt),t,!0)}get maxScrollPos(){return o(n(this,Zt))}set maxScrollPos(t){f(n(this,Zt),t)}handleDragScroll(t){if(!this.rect)return;const e=t.clientX-this.rect.left,r=t.clientY-this.rect.top;this.scrollbarState.onDragScroll({x:e,y:r})}onpointerdown(t){if(t.button!==0)return;t.target.setPointerCapture(t.pointerId),this.rect=this.scrollbar.opts.ref.current?.getBoundingClientRect()??null,this.prevWebkitUserSelect=this.root.domContext.getDocument().body.style.webkitUserSelect,this.root.domContext.getDocument().body.style.webkitUserSelect="none",this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior="auto"),this.handleDragScroll(t)}onpointermove(t){this.handleDragScroll(t)}onpointerup(t){const e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),et(this,te,ke).call(this)}onlostpointercapture(t){et(this,te,ke).call(this)}get props(){return o(n(this,ee))}set props(t){f(n(this,ee),t)}};Kt=new WeakMap,Qt=new WeakMap,Zt=new WeakMap,te=new WeakSet,ke=function(){this.rect!==null&&(this.root.domContext.getDocument().body.style.webkitUserSelect=this.prevWebkitUserSelect,this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior=""),this.rect=null)},ee=new WeakMap;let Le=er;var re,G,Se,oe;const rr=class rr{constructor(t,e){m(this,"opts");m(this,"scrollbarState");m(this,"attachment");d(this,re);d(this,G,T());d(this,Se,we(()=>{o(n(this,G))&&(o(n(this,G))(),f(n(this,G),void 0))},100));d(this,oe,y(()=>({id:this.opts.id.current,"data-state":this.scrollbarState.scrollbarVis.hasThumb?"visible":"hidden",style:{width:"var(--bits-scroll-area-thumb-width)",height:"var(--bits-scroll-area-thumb-height)",transform:this.scrollbarState.scrollbarVis.prevTransformStyle},onpointerdowncapture:this.onpointerdowncapture,onpointerup:this.onpointerup,[ce.thumb]:"",...this.attachment})));this.opts=t,this.scrollbarState=e,F(this,re,e.root),this.attachment=Z(this.opts.ref,r=>this.scrollbarState.scrollbarVis.thumbNode=r),X(()=>{const r=n(this,re).viewportNode;if(!r)return;const i=()=>{if(n(this,Se).call(this),!o(n(this,G))){const a=Zr(r,this.scrollbarState.handleThumbPositionChange);f(n(this,G),a,!0),this.scrollbarState.handleThumbPositionChange()}};return ht(()=>this.scrollbarState.handleThumbPositionChange()),ut(r,"scroll",i)}),this.onpointerdowncapture=this.onpointerdowncapture.bind(this),this.onpointerup=this.onpointerup.bind(this)}static create(t){return new rr(t,fr.get())}onpointerdowncapture(t){const e=t.target;if(!e)return;const r=e.getBoundingClientRect(),i=t.clientX-r.left,l=t.clientY-r.top;this.scrollbarState.handleThumbPointerDown({x:i,y:l})}onpointerup(t){this.scrollbarState.handleThumbPointerUp()}get props(){return o(n(this,oe))}set props(t){f(n(this,oe),t)}};re=new WeakMap,G=new WeakMap,Se=new WeakMap,oe=new WeakMap;let Xe=rr;var ot,st,se,ne;const or=class or{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ot,T(0));d(this,st,T(0));d(this,se,y(()=>!!(o(n(this,ot))&&o(n(this,st)))));d(this,ne,y(()=>({id:this.opts.id.current,style:{width:o(n(this,ot)),height:o(n(this,st)),position:"absolute",right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:0},[ce.corner]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=Z(this.opts.ref),new at(()=>this.root.scrollbarXNode,()=>{const r=this.root.scrollbarXNode?.offsetHeight||0;this.root.cornerHeight=r,f(n(this,st),r,!0)}),new at(()=>this.root.scrollbarYNode,()=>{const r=this.root.scrollbarYNode?.offsetWidth||0;this.root.cornerWidth=r,f(n(this,ot),r,!0)})}static create(t){return new or(t,he.get())}get hasSize(){return o(n(this,se))}set hasSize(t){f(n(this,se),t)}get props(){return o(n(this,ne))}set props(t){f(n(this,ne),t)}};ot=new WeakMap,st=new WeakMap,se=new WeakMap,ne=new WeakMap;let Ye=or;function pe(s){return s?Number.parseInt(s,10):0}function br(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=br(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Qr({pointerPos:s,pointerOffset:t,sizes:e,dir:r="ltr"}){const i=ye(e),l=i/2,a=t||l,c=i-a,u=e.scrollbar.paddingStart+a,b=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return pr([u,b],P)(s)}function hr({scrollPos:s,sizes:t,dir:e="ltr"}){const r=ye(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-i,a=t.content-t.viewport,c=l-r,u=e==="ltr"?[0,a]:[a*-1,0],b=Jr(s,u[0],u[1]);return pr([0,a],[0,c])(b)}function pr(s,t){return e=>{if(s[0]===s[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(s[1]-s[0]);return t[0]+r*(e-s[0])}}function mr(s,t){return s>0&&s<t}function Zr(s,t){let e={left:s.scrollLeft,top:s.scrollTop},r=0;const i=Fr(s);return(function l(){const a={left:s.scrollLeft,top:s.scrollTop},c=e.left!==a.left,u=e.top!==a.top;(c||u)&&t(),e=a,r=i.requestAnimationFrame(l)})(),()=>i.cancelAnimationFrame(r)}var to=new Set(["$$slots","$$events","$$legacy","ref","id","type","dir","scrollHideDelay","children","child"]),eo=tt("<div><!></div>");function gr(s,t){const e=ie();if(new.target)return V({component:gr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"type",7,"hover"),a=v(t,"dir",7,"ltr"),c=v(t,"scrollHideDelay",7,600),u=v(t,"children",7),b=v(t,"child",7),h=k(t,to);const P=Ee.create({type:D(()=>l()),dir:D(()=>a()),scrollHideDelay:D(()=>c()),id:D(()=>i()),ref:D(()=>r(),_=>r(_))}),w=y(()=>U(h,P.props));var x={get ref(){return r()},set ref(_=null){r(_),S()},get id(){return i()},set id(_=j(e)){i(_),S()},get type(){return l()},set type(_="hover"){l(_),S()},get dir(){return a()},set dir(_="ltr"){a(_),S()},get scrollHideDelay(){return c()},set scrollHideDelay(_=600){c(_),S()},get children(){return u()},set children(_){u(_),S()},get child(){return b()},set child(_){b(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=L(),C=E(g);{var p=_=>{var $=L(),N=E($);Y(N,b,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);Y(N,()=>u()??J),it($),z(_,$)};B(C,_=>{b()?_(p):_(R,-1)})}return z(s,g),A(x)}var ro=new Set(["$$slots","$$events","$$legacy","ref","id","children"]),oo=tt("<div><div><!></div></div>");function vr(s,t){const e=ie();if(new.target)return V({component:vr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"children",7),a=k(t,ro);const c=Re.create({id:D(()=>i()),ref:D(()=>r(),g=>r(g))}),u=y(()=>U(a,c.props)),b=y(()=>U({},c.contentProps));var h={get ref(){return r()},set ref(g=null){r(g),S()},get id(){return i()},set id(g=j(e)){i(g),S()},get children(){return l()},set children(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},P=oo();lt(P,()=>({...o(u)}));var w=nt(P);lt(w,()=>({...o(b)}));var x=nt(w);return Y(x,()=>l()??J),it(w),it(P),z(s,P),A(h)}var so=new Set(["$$slots","$$events","$$legacy","child","children"]),no=tt("<div><!></div>");function Fe(s,t){if(new.target)return V({component:Fe,...s});H(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Le.create(),a=y(()=>U(i,l.props));var c={get child(){return e()},set child(w){e(w),S()},get children(){return r()},set children(w){r(w),S()},$set:M,$on:(w,x)=>W(t,w,x)},u=L(),b=E(u);{var h=w=>{var x=L(),g=E(x);Y(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);Y(g,()=>r()??J),it(x),z(w,x)};B(b,w=>{e()?w(h):w(P,-1)})}return z(s,u),A(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});H(t,!0);let e=k(t,io);const r=new $e,i=Ae.create({mounted:D(()=>r.current)}),l=y(()=>U(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,O(()=>o(l))),A(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});H(t,!0);let e=k(t,lo);const r=new $e,i=Oe.create({mounted:D(()=>r.current)}),l=y(()=>U(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,O(()=>o(l))),A(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});H(t,!0);let e=k(t,ao);const r=He.create();var i={$set:M,$on:(b,h)=>W(t,b,h)},l=L(),a=E(l);{var c=b=>{Sr(b,O(()=>e))},u=b=>{wr(b,O(()=>e))};B(a,b=>{r.scrollbar.opts.orientation.current==="horizontal"?b(c):b(u,-1)})}return z(s,l),A(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=be.create(),l=y(()=>U(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=b=>{de(b,O(()=>o(l)))};let u=y(()=>e()||i.isVisible);ae(s,{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}})}return A(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>U(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=b=>{de(b,O(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,O(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return A(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=be.create(),a=y(()=>U(r,i.props,l.props,{"data-state":i.isVisible?"visible":"hidden"})),c=y(()=>e()||i.isVisible&&l.isVisible);var u={get forceMount(){return e()},set forceMount(b=!1){e(b),S()},$set:M,$on:(b,h)=>W(t,b,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,O(()=>o(a)))},$$slots:{presence:!0}}),A(u)}var fo=new Set(["$$slots","$$events","$$legacy","ref","id","orientation"]);function _r(s,t){const e=ie();if(new.target)return V({component:_r,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"orientation",7),a=k(t,fo);const c=Ve.create({orientation:D(()=>l()),id:D(()=>i()),ref:D(()=>r(),p=>r(p))}),u=y(()=>c.root.opts.type.current);var b={get ref(){return r()},set ref(p=null){r(p),S()},get id(){return i()},set id(p=j(e)){i(p),S()},get orientation(){return l()},set orientation(p){l(p),S()},$set:M,$on:(p,R)=>W(t,p,R)},h=L(),P=E(h);{var w=p=>{xr(p,O(()=>a,{get id(){return i()}}))},x=p=>{yr(p,O(()=>a,{get id(){return i()}}))},g=p=>{Pr(p,O(()=>a,{get id(){return i()}}))},C=p=>{de(p,O(()=>a,{get id(){return i()}}))};B(P,p=>{o(u)==="hover"?p(w):o(u)==="scroll"?p(x,1):o(u)==="auto"?p(g,2):o(u)==="always"&&p(C,3)})}return z(s,h),A(b)}var bo=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),po=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"child",7),l=v(t,"children",7),a=v(t,"present",7),c=k(t,bo);const u=new $e,b=Xe.create({id:D(()=>r()),ref:D(()=>e(),p=>e(p)),mounted:D(()=>u.current)}),h=y(()=>U(c,b.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(p=null){e(p),S()},get id(){return r()},set id(p){r(p),S()},get child(){return i()},set child(p){i(p),S()},get children(){return l()},set children(p){l(p),S()},get present(){return a()},set present(p){a(p),S()},$set:M,$on:(p,R)=>W(t,p,R)},w=L(),x=E(w);{var g=p=>{var R=L(),_=E(R);Y(_,i,()=>({props:o(h)})),z(p,R)},C=p=>{var R=po();lt(R,()=>({...o(h)}));var _=nt(R);Y(_,()=>l()??J),it(R),z(p,R)};B(x,p=>{i()?p(g):p(C,-1)})}return z(s,w),A(P)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount"]);function Nr(s,t){const e=ie();if(new.target)return V({component:Nr,...s});H(t,!0);let r=v(t,"id",23,()=>j(e)),i=v(t,"ref",15,null),l=v(t,"forceMount",7,!1),a=k(t,mo);const c=Pe.get();var u={get id(){return r()},set id(b=j(e)){r(b),S()},get ref(){return i()},set ref(b=null){i(b),S()},get forceMount(){return l()},set forceMount(b=!1){l(b),S()},$set:M,$on:(b,h)=>W(t,b,h)};{const b=(P,w)=>{let x=()=>(w?.()).present;Tr(P,O(()=>a,{get id(){return r()},get present(){return x()},get ref(){return i()},set ref(g){i(g)}}))};let h=y(()=>l()||c.hasThumb);ae(s,{get open(){return o(h)},get ref(){return c.scrollbar.opts.ref},presence:b,$$slots:{presence:!0}})}return A(u)}var go=new Set(["$$slots","$$events","$$legacy","ref","id","children","child"]),vo=tt("<div><!></div>");function Cr(s,t){if(new.target)return V({component:Cr,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"children",7),l=v(t,"child",7),a=k(t,go);const c=Ye.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>U(a,c.props));var b={get ref(){return e()},set ref(g=null){e(g),S()},get id(){return r()},set id(g){r(g),S()},get children(){return i()},set children(g){i(g),S()},get child(){return l()},set child(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},h=L(),P=E(h);{var w=g=>{var C=L(),p=E(C);Y(p,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var p=nt(C);Y(p,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),A(b)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=k(t,So);const a=he.get(),c=y(()=>!!(a.scrollbarXNode&&a.scrollbarYNode)),u=y(()=>a.opts.type.current!=="scroll"&&o(c));var b={get ref(){return r()},set ref(x=null){r(x),S()},get id(){return i()},set id(x=j(e)){i(x),S()},$set:M,$on:(x,g)=>W(t,x,g)},h=L(),P=E(h);{var w=x=>{Cr(x,O(()=>l,{get id(){return i()},get ref(){return r()},set ref(g){r(g)}}))};B(P,x=>{o(u)&&x(w)})}return z(s,h),A(b)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ue(s,t){if(new.target)return V({component:Ue,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"children",7),a=k(t,wo);var c={get ref(){return e()},set ref(h=null){e(h),S()},get class(){return r()},set class(h){r(h),S()},get orientation(){return i()},set orientation(h="vertical"){i(h),S()},get children(){return l()},set children(h){l(h),S()},$set:M,$on:(h,P)=>W(t,h,P)},u=L(),b=E(u);return ct(b,()=>_r,(h,P)=>{P(h,O({"data-slot":"scroll-area-scrollbar",get orientation(){return i()},get class(){return r()},forceMount:!0},()=>a,{get ref(){return e()},set ref(w){e(w)},children:(w,x)=>{var g=Po(),C=E(g);Y(C,()=>l()??J);var p=fe(C,2);ct(p,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),A(c)}var yo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","scrollbarXClasses","scrollbarYClasses","fadeEdges","children"]),xo=tt("<!> <!> <!> <!>",1);function _o(s,t){if(new.target)return V({component:_o,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"scrollbarXClasses",7,""),a=v(t,"scrollbarYClasses",7,""),c=v(t,"fadeEdges",7,!0),u=v(t,"children",7),b=k(t,yo),h=T(null),P=T(!0),w=T(!0),x=T(!0),g=T(!0);function C(){o(h)&&(f(P,o(h).scrollTop<=0),f(w,o(h).scrollTop+o(h).clientHeight>=o(h).scrollHeight-1),f(x,o(h).scrollLeft<=0),f(g,o(h).scrollLeft+o(h).clientWidth>=o(h).scrollWidth-1))}let p=y(()=>{if(!c())return;const N=[];return i()!=="horizontal"&&(!o(P)||!o(w))&&N.push(`linear-gradient(to bottom, ${o(P)?"black 0":"transparent 0, black 12px"}, ${o(w)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),i()!=="vertical"&&(!o(x)||!o(g))&&N.push(`linear-gradient(to right, ${o(x)?"black 0":"transparent 0, black 12px"}, ${o(g)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),N.length?N.join(", "):void 0});X(()=>{if(!o(h))return;C();const N=new ResizeObserver(C);return N.observe(o(h)),o(h).firstElementChild&&N.observe(o(h).firstElementChild),()=>N.disconnect()});var R={get ref(){return e()},set ref(N=null){e(N),S()},get class(){return r()},set class(N){r(N),S()},get orientation(){return i()},set orientation(N="vertical"){i(N),S()},get scrollbarXClasses(){return l()},set scrollbarXClasses(N=""){l(N),S()},get scrollbarYClasses(){return a()},set scrollbarYClasses(N=""){a(N),S()},get fadeEdges(){return c()},set fadeEdges(N=!0){c(N),S()},get children(){return u()},set children(N){u(N),S()},$set:M,$on:(N,xe)=>W(t,N,xe)},_=L(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,O({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>b,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(p)?`mask-image: ${o(p)}; -webkit-mask-image: ${o(p)};`:void 0);ct(nr,()=>vr,(Te,Mr)=>{Mr(Te,{"data-slot":"scroll-area-viewport",tabindex:0,class:"size-full rounded-[inherit] transition-[mask-image] duration-(--motion-fast) focus-visible:outline focus-visible:-outline-offset-1 motion-reduce:transition-none",get style(){return o(I)},onscroll:C,get ref(){return o(h)},set ref(Ne){f(h,Ne,!0)},children:(Ne,Co)=>{var ar=L(),Wr=E(ar);Y(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ue(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ue(I,{orientation:"horizontal",get class(){return l()}})};B(lr,I=>{(i()==="horizontal"||i()==="both")&&I(Rr)})}var Vr=fe(lr,2);ct(Vr,()=>zr,(I,Te)=>{Te(I,{})}),z(_e,sr)},$$slots:{default:!0}}))})}return z(s,_),A(R)}const To=[{id:"scroll-area-orientations",title:"Scroll area orientations and overflow",states:["vertical","horizontal","both","keyboard-focus","long-content","no-overflow","scrollbar-resting","scrollbar-scrolling","scrollbar-hover","native-opt-out","compact","zoom-200","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];jr({id:"scroll-area",source:"src/lib/components/ui/scroll-area/index.ts",publicImport:"$lib/components/ui/scroll-area",legacyImports:[],exports:["Root","ScrollArea","ScrollAreaScrollbar","Scrollbar","scrollAreaMetadata"],usage:`<script lang="ts">
|
|
1
|
+
var Hr=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Ar=(s,t,e)=>t in s?Hr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Ar(s,typeof t!="symbol"?t+"":t,e),Ce=(s,t,e)=>t.has(s)||cr("Cannot "+e);var n=(s,t,e)=>(Ce(s,t,"read from private field"),e?e.call(s):t.get(s)),d=(s,t,e)=>t.has(s)?cr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),F=(s,t,e,r)=>(Ce(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),et=(s,t,e)=>(Ce(s,t,"access private method"),e);import{t as V,bq as v,a_ as B,by as M,b as W,br as k,bt as O}from"./Dso1_H3c.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as H,a7 as L,ay as E,W as z,bn as A,aA as S,bf as J,bi as ut,cb as Or,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./DYhIMPy1.js";import{s as Y}from"./BfNeIJAh.js";import{c as ct}from"./B3KrGqdQ.js";import{be as Lr,e as kr,bu as Xr,bM as ur,aJ as D,bG as ze,h as le,bK as Yr,av as Z,D as Ur,aS as $r,aV as Ir,bn as U,b6 as Fr,aT as j}from"./m5UczIQR.js";import{i as lt,l as Br,r as jr}from"./CnMdEUN9.js";function qr(s,t){if(Lr(s)){const r=s();return r===void 0?t:r}return s===void 0?t:s}function we(s,t){let e=T(null);const r=y(()=>qr(t,250));function i(...l){if(o(e))o(e).timeout&&clearTimeout(o(e).timeout);else{let a,c;const u=new Promise((b,h)=>{a=b,c=h});f(e,{timeout:null,runner:null,promise:u,resolve:a,reject:c},!0)}return o(e).runner=async()=>{if(!o(e))return;const a=o(e);f(e,null);try{a.resolve(await s.apply(this,l))}catch(c){a.reject(c)}},o(e).timeout=setTimeout(o(e).runner,o(r)),o(e).promise}return i.cancel=async()=>{(!o(e)||o(e).timeout===null)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||o(e).timeout===null)||(clearTimeout(o(e).timeout),o(e).reject("Cancelled"),f(e,null))},i.runScheduledNow=async()=>{(!o(e)||!o(e).timeout)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||!o(e).timeout)||(clearTimeout(o(e).timeout),o(e).timeout=null,await o(e).runner?.())},Object.defineProperty(i,"pending",{enumerable:!0,get(){return!!o(e)?.timeout}}),i}var rt;class $e{constructor(){d(this,rt,T(!1));X(()=>(ht(()=>f(n(this,rt),!0)),()=>{f(n(this,rt),!1)}))}get current(){return o(n(this,rt))}}rt=new WeakMap;var dt,ft;class at{constructor(t,e){d(this,dt);d(this,ft);F(this,dt,t),F(this,ft,e),this.handler=this.handler.bind(this),X(this.handler)}handler(){let t=0;const e=n(this,dt).call(this);if(!e)return;const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n(this,ft))});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}dt=new WeakMap,ft=new WeakMap;var bt,K,pt,Q,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,bt);d(this,K,T(!1));d(this,pt,!1);d(this,Q,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,K))));this.opts=t,this.present=this.opts.open,f(n(this,K),t.open.current,!0),F(this,bt,new kr({ref:this.opts.ref,afterTick:this.opts.open})),Xr(()=>et(this,gt,De).call(this)),ur(()=>this.present.current,e=>{if(!n(this,pt)){F(this,pt,!0);return}et(this,gt,De).call(this),e&&f(n(this,K),!0),f(n(this,Q),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Q),void 0)})),n(this,bt).run(()=>{e===this.present.current&&(e||f(n(this,K),!1),f(n(this,Q),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Q))}}bt=new WeakMap,K=new WeakMap,pt=new WeakMap,Q=new WeakMap,q=new WeakMap,mt=new WeakMap,gt=new WeakSet,De=function(){n(this,q)!==null&&(window.cancelAnimationFrame(n(this,q)),F(this,q,null))};function ae(s,t){if(new.target)return V({component:ae,...s});H(t,!0);let e=v(t,"open",7),r=v(t,"forceMount",7),i=v(t,"presence",7),l=v(t,"ref",7);const a=new Gr({open:D(()=>e()),ref:l()});var c={get open(){return e()},set open(P){e(P),S()},get forceMount(){return r()},set forceMount(P){r(P),S()},get presence(){return i()},set presence(P){i(P),S()},get ref(){return l()},set ref(P){l(P),S()},$set:M,$on:(P,w)=>W(t,P,w)},u=L(),b=E(u);{var h=P=>{var w=L(),x=E(w);Y(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(b,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),A(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Kr{constructor(t,e){d(this,me);m(this,"state");d(this,vt);this.state=ze(t),F(this,vt,e),this.dispatch=this.dispatch.bind(this)}dispatch(t){this.state.current=et(this,me,dr).call(this,t)}}vt=new WeakMap,me=new WeakSet,dr=function(t){return n(this,vt)[this.state.current][t]??this.state.current};const ce=$r({component:"scroll-area",parts:["root","viewport","corner","thumb","scrollbar"]}),he=new le("ScrollArea.Root"),ue=new le("ScrollArea.Scrollbar"),Pe=new le("ScrollArea.ScrollbarVisible"),Ie=new le("ScrollArea.ScrollbarAxis"),fr=new le("ScrollArea.ScrollbarShared");var St,wt,Pt,yt,xt,_t,Tt,Nt,Ct,zt;const Be=class Be{constructor(t){m(this,"opts");m(this,"attachment");d(this,St,T(null));d(this,wt,T(null));d(this,Pt,T(null));d(this,yt,T(null));d(this,xt,T(null));d(this,_t,T(0));d(this,Tt,T(0));d(this,Nt,T(!1));d(this,Ct,T(!1));m(this,"domContext");d(this,zt,y(()=>({id:this.opts.id.current,dir:this.opts.dir.current,style:{position:"relative","--bits-scroll-area-corner-height":`${this.cornerHeight}px`,"--bits-scroll-area-corner-width":`${this.cornerWidth}px`},[ce.root]:"",...this.attachment})));this.opts=t,this.attachment=Z(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Ur(t.ref)}static create(t){return he.set(new Be(t))}get scrollAreaNode(){return o(n(this,St))}set scrollAreaNode(t){f(n(this,St),t,!0)}get viewportNode(){return o(n(this,wt))}set viewportNode(t){f(n(this,wt),t,!0)}get contentNode(){return o(n(this,Pt))}set contentNode(t){f(n(this,Pt),t,!0)}get scrollbarXNode(){return o(n(this,yt))}set scrollbarXNode(t){f(n(this,yt),t,!0)}get scrollbarYNode(){return o(n(this,xt))}set scrollbarYNode(t){f(n(this,xt),t,!0)}get cornerWidth(){return o(n(this,_t))}set cornerWidth(t){f(n(this,_t),t,!0)}get cornerHeight(){return o(n(this,Tt))}set cornerHeight(t){f(n(this,Tt),t,!0)}get scrollbarXEnabled(){return o(n(this,Nt))}set scrollbarXEnabled(t){f(n(this,Nt),t,!0)}get scrollbarYEnabled(){return o(n(this,Ct))}set scrollbarYEnabled(t){f(n(this,Ct),t,!0)}get props(){return o(n(this,zt))}set props(t){f(n(this,zt),t)}};St=new WeakMap,wt=new WeakMap,Pt=new WeakMap,yt=new WeakMap,xt=new WeakMap,_t=new WeakMap,Tt=new WeakMap,Nt=new WeakMap,Ct=new WeakMap,zt=new WeakMap;let Ee=Be;var ge,ve,Dt,Et;const je=class je{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ge,ze(Yr()));d(this,ve,ze(null));m(this,"contentAttachment",Z(n(this,ve),t=>this.root.contentNode=t));d(this,Dt,y(()=>({id:this.opts.id.current,style:{overflowX:this.root.scrollbarXEnabled?"scroll":"hidden",overflowY:this.root.scrollbarYEnabled?"scroll":"hidden"},[ce.viewport]:"",...this.attachment})));d(this,Et,y(()=>({id:n(this,ge).current,"data-scroll-area-content":"",style:{minWidth:this.root.scrollbarXEnabled?"fit-content":void 0},...this.contentAttachment})));this.opts=t,this.root=e,this.attachment=Z(t.ref,r=>this.root.viewportNode=r)}static create(t){return new je(t,he.get())}get props(){return o(n(this,Dt))}set props(t){f(n(this,Dt),t)}get contentProps(){return o(n(this,Et))}set contentProps(t){f(n(this,Et),t)}};ge=new WeakMap,ve=new WeakMap,Dt=new WeakMap,Et=new WeakMap;let Re=je;var Rt,Vt;const qe=class qe{constructor(t,e){m(this,"opts");m(this,"root");d(this,Rt,y(()=>this.opts.orientation.current==="horizontal"));d(this,Vt,T(!1));this.opts=t,this.root=e,ur(()=>this.isHorizontal,r=>r?(this.root.scrollbarXEnabled=!0,()=>{this.root.scrollbarXEnabled=!1}):(this.root.scrollbarYEnabled=!0,()=>{this.root.scrollbarYEnabled=!1}))}static create(t){return ue.set(new qe(t,he.get()))}get isHorizontal(){return o(n(this,Rt))}set isHorizontal(t){f(n(this,Rt),t)}get hasThumb(){return o(n(this,Vt))}set hasThumb(t){f(n(this,Vt),t,!0)}};Rt=new WeakMap,Vt=new WeakMap;let Ve=qe;var Mt,Wt;const Ge=class Ge{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Mt,T(!1));d(this,Wt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root,X(()=>{const e=this.root.scrollAreaNode,r=this.root.opts.scrollHideDelay.current;let i=0;if(!e)return;const l=()=>{this.root.domContext.clearTimeout(i),ht(()=>this.isVisible=!0)},a=()=>{i&&this.root.domContext.clearTimeout(i),i=this.root.domContext.setTimeout(()=>{ht(()=>{this.scrollbar.hasThumb=!1,this.isVisible=!1})},r)},c=Ir(ut(e,"pointerenter",l),ut(e,"pointerleave",a));return()=>{this.root.domContext.getWindow().clearTimeout(i),c()}})}static create(){return new Ge(ue.get())}get isVisible(){return o(n(this,Mt))}set isVisible(t){f(n(this,Mt),t,!0)}get props(){return o(n(this,Wt))}set props(t){f(n(this,Wt),t)}};Mt=new WeakMap,Wt=new WeakMap;let Me=Ge;var Ht,At;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Kr("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}}));d(this,Ht,y(()=>this.machine.state.current==="hidden"));d(this,At,y(()=>({"data-state":this.machine.state.current==="hidden"?"hidden":"visible",onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave})));this.scrollbar=t,this.root=t.root;const e=we(()=>this.machine.dispatch("SCROLL_END"),100);X(()=>{const r=this.machine.state.current,i=this.root.opts.scrollHideDelay.current;if(r==="idle"){const l=this.root.domContext.setTimeout(()=>this.machine.dispatch("HIDE"),i);return()=>this.root.domContext.clearTimeout(l)}}),X(()=>{const r=this.root.viewportNode;if(!r)return;const i=this.scrollbar.isHorizontal?"scrollLeft":"scrollTop";let l=r[i];return ut(r,"scroll",()=>{const u=r[i];l!==u&&(this.machine.dispatch("SCROLL"),e()),l=u})}),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this)}static create(){return new Je(ue.get())}get isHidden(){return o(n(this,Ht))}set isHidden(t){f(n(this,Ht),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,At))}set props(t){f(n(this,At),t)}};Ht=new WeakMap,At=new WeakMap;let We=Je;var Ot,Lt;const Ke=class Ke{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Ot,T(!1));d(this,Lt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root;const e=we(()=>{const r=this.root.viewportNode;if(!r)return;const i=r.offsetWidth<r.scrollWidth,l=r.offsetHeight<r.scrollHeight;this.isVisible=this.scrollbar.isHorizontal?i:l},10);new at(()=>this.root.viewportNode,e),new at(()=>this.root.contentNode,e)}static create(){return new Ke(ue.get())}get isVisible(){return o(n(this,Ot))}set isVisible(t){f(n(this,Ot),t,!0)}get props(){return o(n(this,Lt))}set props(t){f(n(this,Lt),t)}};Ot=new WeakMap,Lt=new WeakMap;let be=Ke;var kt,Xt,Yt,Ut,$t,It;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Yt,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Ut,y(()=>br(this.sizes.viewport,this.sizes.content)));d(this,$t,y(()=>this.thumbRatio>0&&this.thumbRatio<1));d(this,It,T(""));this.scrollbar=t,this.root=t.root,X(()=>{this.scrollbar.hasThumb=this.hasThumb}),X(()=>{!this.scrollbar.hasThumb&&this.thumbNode&&(this.prevTransformStyle=this.thumbNode.style.transform)})}static create(){return Pe.set(new Qe(ue.get()))}get thumbNode(){return o(n(this,kt))}set thumbNode(t){f(n(this,kt),t,!0)}get pointerOffset(){return o(n(this,Xt))}set pointerOffset(t){f(n(this,Xt),t,!0)}get sizes(){return o(n(this,Yt))}set sizes(t){f(n(this,Yt),t)}get thumbRatio(){return o(n(this,Ut))}set thumbRatio(t){f(n(this,Ut),t)}get hasThumb(){return o(n(this,$t))}set hasThumb(t){f(n(this,$t),t)}get prevTransformStyle(){return o(n(this,It))}set prevTransformStyle(t){f(n(this,It),t,!0)}setSizes(t){this.sizes=t}getScrollPosition(t,e){return Qr({pointerPos:t,pointerOffset:this.pointerOffset,sizes:this.sizes,dir:e})}onThumbPointerUp(){this.pointerOffset=0}onThumbPointerDown(t){this.pointerOffset=t}xOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollLeft,r=`translate3d(${hr({scrollPos:t,sizes:this.sizes,dir:this.root.opts.dir.current})}px, 0, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}xOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=t)}xOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=this.getScrollPosition(t,this.root.opts.dir.current))}yOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollTop,r=`translate3d(0, ${hr({scrollPos:t,sizes:this.sizes})}px, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}yOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=t)}yOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=this.getScrollPosition(t,this.root.opts.dir.current))}};kt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,Ut=new WeakMap,$t=new WeakMap,It=new WeakMap;let He=Qe;var Ft,Bt,jt;const Ze=class Ze{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,Ft,T());m(this,"onThumbPointerDown",t=>{this.scrollbarVis.onThumbPointerDown(t.x)});m(this,"onDragScroll",t=>{this.scrollbarVis.xOnDragScroll(t.x)});m(this,"onThumbPointerUp",()=>{this.scrollbarVis.onThumbPointerUp()});m(this,"onThumbPositionChange",()=>{this.scrollbarVis.xOnThumbPositionChange()});m(this,"onWheelScroll",(t,e)=>{if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollLeft+t.deltaX;this.scrollbarVis.xOnWheelScroll(r),mr(r,e)&&t.preventDefault()});m(this,"onResize",()=>{this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollWidth,viewport:this.root.viewportNode.offsetWidth,scrollbar:{size:this.scrollbar.opts.ref.current.clientWidth,paddingStart:pe(this.computedStyle.paddingLeft),paddingEnd:pe(this.computedStyle.paddingRight)}})});d(this,Bt,y(()=>ye(this.scrollbarVis.sizes)));d(this,jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"horizontal",style:{bottom:0,left:this.root.opts.dir.current==="rtl"?"var(--bits-scroll-area-corner-width)":0,right:this.root.opts.dir.current==="ltr"?"var(--bits-scroll-area-corner-width)":0,"--bits-scroll-area-thumb-width":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=Z(this.scrollbar.opts.ref,r=>this.root.scrollbarXNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()})}static create(t){return Ie.set(new Ze(t,Pe.get()))}get computedStyle(){return o(n(this,Ft))}set computedStyle(t){f(n(this,Ft),t,!0)}get thumbSize(){return o(n(this,Bt))}set thumbSize(t){f(n(this,Bt),t)}get props(){return o(n(this,jt))}set props(t){f(n(this,jt),t)}};Ft=new WeakMap,Bt=new WeakMap,jt=new WeakMap;let Ae=Ze;var qt,Gt,Jt;const tr=class tr{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,qt,T());d(this,Gt,y(()=>ye(this.scrollbarVis.sizes)));d(this,Jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"vertical",style:{top:0,right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:"var(--bits-scroll-area-corner-height)","--bits-scroll-area-thumb-height":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=Z(this.scrollbar.opts.ref,r=>this.root.scrollbarYNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()}),this.onThumbPointerDown=this.onThumbPointerDown.bind(this),this.onDragScroll=this.onDragScroll.bind(this),this.onThumbPointerUp=this.onThumbPointerUp.bind(this),this.onThumbPositionChange=this.onThumbPositionChange.bind(this),this.onWheelScroll=this.onWheelScroll.bind(this),this.onResize=this.onResize.bind(this)}static create(t){return Ie.set(new tr(t,Pe.get()))}get computedStyle(){return o(n(this,qt))}set computedStyle(t){f(n(this,qt),t,!0)}onThumbPointerDown(t){this.scrollbarVis.onThumbPointerDown(t.y)}onDragScroll(t){this.scrollbarVis.yOnDragScroll(t.y)}onThumbPointerUp(){this.scrollbarVis.onThumbPointerUp()}onThumbPositionChange(){this.scrollbarVis.yOnThumbPositionChange()}onWheelScroll(t,e){if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollTop+t.deltaY;this.scrollbarVis.yOnWheelScroll(r),mr(r,e)&&t.preventDefault()}onResize(){this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollHeight,viewport:this.root.viewportNode.offsetHeight,scrollbar:{size:this.scrollbar.opts.ref.current.clientHeight,paddingStart:pe(this.computedStyle.paddingTop),paddingEnd:pe(this.computedStyle.paddingBottom)}})}get thumbSize(){return o(n(this,Gt))}set thumbSize(t){f(n(this,Gt),t)}get props(){return o(n(this,Jt))}set props(t){f(n(this,Jt),t)}};qt=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;let Oe=tr;var Kt,Qt,Zt,te,ke,ee;const er=class er{constructor(t){d(this,te);m(this,"scrollbarState");m(this,"root");m(this,"scrollbarVis");m(this,"scrollbar");d(this,Kt,T(null));d(this,Qt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Zt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>U({...this.scrollbarState.props,style:{position:"absolute",...this.scrollbarState.props.style},[ce.scrollbar]:"",onpointerdown:this.onpointerdown,onpointermove:this.onpointermove,onpointerup:this.onpointerup,onlostpointercapture:this.onlostpointercapture})));this.scrollbarState=t,this.root=t.root,this.scrollbarVis=t.scrollbarVis,this.scrollbar=t.scrollbarVis.scrollbar,this.handleResize=we(()=>this.scrollbarState.onResize(),10),this.handleThumbPositionChange=this.scrollbarState.onThumbPositionChange,this.handleWheelScroll=this.scrollbarState.onWheelScroll,this.handleThumbPointerDown=this.scrollbarState.onThumbPointerDown,this.handleThumbPointerUp=this.scrollbarState.onThumbPointerUp,X(()=>{const e=this.maxScrollPos,r=this.scrollbar.opts.ref.current;this.root.viewportNode;const i=a=>{const c=a.target;r?.contains(c)&&this.handleWheelScroll(a,e)};return ut(this.root.domContext.getDocument(),"wheel",i,{passive:!1})}),Or(()=>{this.scrollbarVis.sizes,ht(()=>this.handleThumbPositionChange())}),new at(()=>this.scrollbar.opts.ref.current,this.handleResize),new at(()=>this.root.contentNode,this.handleResize),this.onpointerdown=this.onpointerdown.bind(this),this.onpointermove=this.onpointermove.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onlostpointercapture=this.onlostpointercapture.bind(this)}static create(){return fr.set(new er(Ie.get()))}get rect(){return o(n(this,Kt))}set rect(t){f(n(this,Kt),t)}get prevWebkitUserSelect(){return o(n(this,Qt))}set prevWebkitUserSelect(t){f(n(this,Qt),t,!0)}get maxScrollPos(){return o(n(this,Zt))}set maxScrollPos(t){f(n(this,Zt),t)}handleDragScroll(t){if(!this.rect)return;const e=t.clientX-this.rect.left,r=t.clientY-this.rect.top;this.scrollbarState.onDragScroll({x:e,y:r})}onpointerdown(t){if(t.button!==0)return;t.target.setPointerCapture(t.pointerId),this.rect=this.scrollbar.opts.ref.current?.getBoundingClientRect()??null,this.prevWebkitUserSelect=this.root.domContext.getDocument().body.style.webkitUserSelect,this.root.domContext.getDocument().body.style.webkitUserSelect="none",this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior="auto"),this.handleDragScroll(t)}onpointermove(t){this.handleDragScroll(t)}onpointerup(t){const e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),et(this,te,ke).call(this)}onlostpointercapture(t){et(this,te,ke).call(this)}get props(){return o(n(this,ee))}set props(t){f(n(this,ee),t)}};Kt=new WeakMap,Qt=new WeakMap,Zt=new WeakMap,te=new WeakSet,ke=function(){this.rect!==null&&(this.root.domContext.getDocument().body.style.webkitUserSelect=this.prevWebkitUserSelect,this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior=""),this.rect=null)},ee=new WeakMap;let Le=er;var re,G,Se,oe;const rr=class rr{constructor(t,e){m(this,"opts");m(this,"scrollbarState");m(this,"attachment");d(this,re);d(this,G,T());d(this,Se,we(()=>{o(n(this,G))&&(o(n(this,G))(),f(n(this,G),void 0))},100));d(this,oe,y(()=>({id:this.opts.id.current,"data-state":this.scrollbarState.scrollbarVis.hasThumb?"visible":"hidden",style:{width:"var(--bits-scroll-area-thumb-width)",height:"var(--bits-scroll-area-thumb-height)",transform:this.scrollbarState.scrollbarVis.prevTransformStyle},onpointerdowncapture:this.onpointerdowncapture,onpointerup:this.onpointerup,[ce.thumb]:"",...this.attachment})));this.opts=t,this.scrollbarState=e,F(this,re,e.root),this.attachment=Z(this.opts.ref,r=>this.scrollbarState.scrollbarVis.thumbNode=r),X(()=>{const r=n(this,re).viewportNode;if(!r)return;const i=()=>{if(n(this,Se).call(this),!o(n(this,G))){const a=Zr(r,this.scrollbarState.handleThumbPositionChange);f(n(this,G),a,!0),this.scrollbarState.handleThumbPositionChange()}};return ht(()=>this.scrollbarState.handleThumbPositionChange()),ut(r,"scroll",i)}),this.onpointerdowncapture=this.onpointerdowncapture.bind(this),this.onpointerup=this.onpointerup.bind(this)}static create(t){return new rr(t,fr.get())}onpointerdowncapture(t){const e=t.target;if(!e)return;const r=e.getBoundingClientRect(),i=t.clientX-r.left,l=t.clientY-r.top;this.scrollbarState.handleThumbPointerDown({x:i,y:l})}onpointerup(t){this.scrollbarState.handleThumbPointerUp()}get props(){return o(n(this,oe))}set props(t){f(n(this,oe),t)}};re=new WeakMap,G=new WeakMap,Se=new WeakMap,oe=new WeakMap;let Xe=rr;var ot,st,se,ne;const or=class or{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ot,T(0));d(this,st,T(0));d(this,se,y(()=>!!(o(n(this,ot))&&o(n(this,st)))));d(this,ne,y(()=>({id:this.opts.id.current,style:{width:o(n(this,ot)),height:o(n(this,st)),position:"absolute",right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:0},[ce.corner]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=Z(this.opts.ref),new at(()=>this.root.scrollbarXNode,()=>{const r=this.root.scrollbarXNode?.offsetHeight||0;this.root.cornerHeight=r,f(n(this,st),r,!0)}),new at(()=>this.root.scrollbarYNode,()=>{const r=this.root.scrollbarYNode?.offsetWidth||0;this.root.cornerWidth=r,f(n(this,ot),r,!0)})}static create(t){return new or(t,he.get())}get hasSize(){return o(n(this,se))}set hasSize(t){f(n(this,se),t)}get props(){return o(n(this,ne))}set props(t){f(n(this,ne),t)}};ot=new WeakMap,st=new WeakMap,se=new WeakMap,ne=new WeakMap;let Ye=or;function pe(s){return s?Number.parseInt(s,10):0}function br(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=br(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Qr({pointerPos:s,pointerOffset:t,sizes:e,dir:r="ltr"}){const i=ye(e),l=i/2,a=t||l,c=i-a,u=e.scrollbar.paddingStart+a,b=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return pr([u,b],P)(s)}function hr({scrollPos:s,sizes:t,dir:e="ltr"}){const r=ye(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-i,a=t.content-t.viewport,c=l-r,u=e==="ltr"?[0,a]:[a*-1,0],b=Jr(s,u[0],u[1]);return pr([0,a],[0,c])(b)}function pr(s,t){return e=>{if(s[0]===s[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(s[1]-s[0]);return t[0]+r*(e-s[0])}}function mr(s,t){return s>0&&s<t}function Zr(s,t){let e={left:s.scrollLeft,top:s.scrollTop},r=0;const i=Fr(s);return(function l(){const a={left:s.scrollLeft,top:s.scrollTop},c=e.left!==a.left,u=e.top!==a.top;(c||u)&&t(),e=a,r=i.requestAnimationFrame(l)})(),()=>i.cancelAnimationFrame(r)}var to=new Set(["$$slots","$$events","$$legacy","ref","id","type","dir","scrollHideDelay","children","child"]),eo=tt("<div><!></div>");function gr(s,t){const e=ie();if(new.target)return V({component:gr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"type",7,"hover"),a=v(t,"dir",7,"ltr"),c=v(t,"scrollHideDelay",7,600),u=v(t,"children",7),b=v(t,"child",7),h=k(t,to);const P=Ee.create({type:D(()=>l()),dir:D(()=>a()),scrollHideDelay:D(()=>c()),id:D(()=>i()),ref:D(()=>r(),_=>r(_))}),w=y(()=>U(h,P.props));var x={get ref(){return r()},set ref(_=null){r(_),S()},get id(){return i()},set id(_=j(e)){i(_),S()},get type(){return l()},set type(_="hover"){l(_),S()},get dir(){return a()},set dir(_="ltr"){a(_),S()},get scrollHideDelay(){return c()},set scrollHideDelay(_=600){c(_),S()},get children(){return u()},set children(_){u(_),S()},get child(){return b()},set child(_){b(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=L(),C=E(g);{var p=_=>{var $=L(),N=E($);Y(N,b,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);Y(N,()=>u()??J),it($),z(_,$)};B(C,_=>{b()?_(p):_(R,-1)})}return z(s,g),A(x)}var ro=new Set(["$$slots","$$events","$$legacy","ref","id","children"]),oo=tt("<div><div><!></div></div>");function vr(s,t){const e=ie();if(new.target)return V({component:vr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"children",7),a=k(t,ro);const c=Re.create({id:D(()=>i()),ref:D(()=>r(),g=>r(g))}),u=y(()=>U(a,c.props)),b=y(()=>U({},c.contentProps));var h={get ref(){return r()},set ref(g=null){r(g),S()},get id(){return i()},set id(g=j(e)){i(g),S()},get children(){return l()},set children(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},P=oo();lt(P,()=>({...o(u)}));var w=nt(P);lt(w,()=>({...o(b)}));var x=nt(w);return Y(x,()=>l()??J),it(w),it(P),z(s,P),A(h)}var so=new Set(["$$slots","$$events","$$legacy","child","children"]),no=tt("<div><!></div>");function Fe(s,t){if(new.target)return V({component:Fe,...s});H(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Le.create(),a=y(()=>U(i,l.props));var c={get child(){return e()},set child(w){e(w),S()},get children(){return r()},set children(w){r(w),S()},$set:M,$on:(w,x)=>W(t,w,x)},u=L(),b=E(u);{var h=w=>{var x=L(),g=E(x);Y(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);Y(g,()=>r()??J),it(x),z(w,x)};B(b,w=>{e()?w(h):w(P,-1)})}return z(s,u),A(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});H(t,!0);let e=k(t,io);const r=new $e,i=Ae.create({mounted:D(()=>r.current)}),l=y(()=>U(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,O(()=>o(l))),A(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});H(t,!0);let e=k(t,lo);const r=new $e,i=Oe.create({mounted:D(()=>r.current)}),l=y(()=>U(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,O(()=>o(l))),A(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});H(t,!0);let e=k(t,ao);const r=He.create();var i={$set:M,$on:(b,h)=>W(t,b,h)},l=L(),a=E(l);{var c=b=>{Sr(b,O(()=>e))},u=b=>{wr(b,O(()=>e))};B(a,b=>{r.scrollbar.opts.orientation.current==="horizontal"?b(c):b(u,-1)})}return z(s,l),A(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=be.create(),l=y(()=>U(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=b=>{de(b,O(()=>o(l)))};let u=y(()=>e()||i.isVisible);ae(s,{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}})}return A(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>U(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=b=>{de(b,O(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,O(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return A(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});H(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=be.create(),a=y(()=>U(r,i.props,l.props,{"data-state":i.isVisible?"visible":"hidden"})),c=y(()=>e()||i.isVisible&&l.isVisible);var u={get forceMount(){return e()},set forceMount(b=!1){e(b),S()},$set:M,$on:(b,h)=>W(t,b,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,O(()=>o(a)))},$$slots:{presence:!0}}),A(u)}var fo=new Set(["$$slots","$$events","$$legacy","ref","id","orientation"]);function _r(s,t){const e=ie();if(new.target)return V({component:_r,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"orientation",7),a=k(t,fo);const c=Ve.create({orientation:D(()=>l()),id:D(()=>i()),ref:D(()=>r(),p=>r(p))}),u=y(()=>c.root.opts.type.current);var b={get ref(){return r()},set ref(p=null){r(p),S()},get id(){return i()},set id(p=j(e)){i(p),S()},get orientation(){return l()},set orientation(p){l(p),S()},$set:M,$on:(p,R)=>W(t,p,R)},h=L(),P=E(h);{var w=p=>{xr(p,O(()=>a,{get id(){return i()}}))},x=p=>{yr(p,O(()=>a,{get id(){return i()}}))},g=p=>{Pr(p,O(()=>a,{get id(){return i()}}))},C=p=>{de(p,O(()=>a,{get id(){return i()}}))};B(P,p=>{o(u)==="hover"?p(w):o(u)==="scroll"?p(x,1):o(u)==="auto"?p(g,2):o(u)==="always"&&p(C,3)})}return z(s,h),A(b)}var bo=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),po=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"child",7),l=v(t,"children",7),a=v(t,"present",7),c=k(t,bo);const u=new $e,b=Xe.create({id:D(()=>r()),ref:D(()=>e(),p=>e(p)),mounted:D(()=>u.current)}),h=y(()=>U(c,b.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(p=null){e(p),S()},get id(){return r()},set id(p){r(p),S()},get child(){return i()},set child(p){i(p),S()},get children(){return l()},set children(p){l(p),S()},get present(){return a()},set present(p){a(p),S()},$set:M,$on:(p,R)=>W(t,p,R)},w=L(),x=E(w);{var g=p=>{var R=L(),_=E(R);Y(_,i,()=>({props:o(h)})),z(p,R)},C=p=>{var R=po();lt(R,()=>({...o(h)}));var _=nt(R);Y(_,()=>l()??J),it(R),z(p,R)};B(x,p=>{i()?p(g):p(C,-1)})}return z(s,w),A(P)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount"]);function Nr(s,t){const e=ie();if(new.target)return V({component:Nr,...s});H(t,!0);let r=v(t,"id",23,()=>j(e)),i=v(t,"ref",15,null),l=v(t,"forceMount",7,!1),a=k(t,mo);const c=Pe.get();var u={get id(){return r()},set id(b=j(e)){r(b),S()},get ref(){return i()},set ref(b=null){i(b),S()},get forceMount(){return l()},set forceMount(b=!1){l(b),S()},$set:M,$on:(b,h)=>W(t,b,h)};{const b=(P,w)=>{let x=()=>(w?.()).present;Tr(P,O(()=>a,{get id(){return r()},get present(){return x()},get ref(){return i()},set ref(g){i(g)}}))};let h=y(()=>l()||c.hasThumb);ae(s,{get open(){return o(h)},get ref(){return c.scrollbar.opts.ref},presence:b,$$slots:{presence:!0}})}return A(u)}var go=new Set(["$$slots","$$events","$$legacy","ref","id","children","child"]),vo=tt("<div><!></div>");function Cr(s,t){if(new.target)return V({component:Cr,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"children",7),l=v(t,"child",7),a=k(t,go);const c=Ye.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>U(a,c.props));var b={get ref(){return e()},set ref(g=null){e(g),S()},get id(){return r()},set id(g){r(g),S()},get children(){return i()},set children(g){i(g),S()},get child(){return l()},set child(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},h=L(),P=E(h);{var w=g=>{var C=L(),p=E(C);Y(p,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var p=nt(C);Y(p,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),A(b)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});H(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=k(t,So);const a=he.get(),c=y(()=>!!(a.scrollbarXNode&&a.scrollbarYNode)),u=y(()=>a.opts.type.current!=="scroll"&&o(c));var b={get ref(){return r()},set ref(x=null){r(x),S()},get id(){return i()},set id(x=j(e)){i(x),S()},$set:M,$on:(x,g)=>W(t,x,g)},h=L(),P=E(h);{var w=x=>{Cr(x,O(()=>l,{get id(){return i()},get ref(){return r()},set ref(g){r(g)}}))};B(P,x=>{o(u)&&x(w)})}return z(s,h),A(b)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ue(s,t){if(new.target)return V({component:Ue,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"children",7),a=k(t,wo);var c={get ref(){return e()},set ref(h=null){e(h),S()},get class(){return r()},set class(h){r(h),S()},get orientation(){return i()},set orientation(h="vertical"){i(h),S()},get children(){return l()},set children(h){l(h),S()},$set:M,$on:(h,P)=>W(t,h,P)},u=L(),b=E(u);return ct(b,()=>_r,(h,P)=>{P(h,O({"data-slot":"scroll-area-scrollbar",get orientation(){return i()},get class(){return r()},forceMount:!0},()=>a,{get ref(){return e()},set ref(w){e(w)},children:(w,x)=>{var g=Po(),C=E(g);Y(C,()=>l()??J);var p=fe(C,2);ct(p,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),A(c)}var yo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","scrollbarXClasses","scrollbarYClasses","fadeEdges","children"]),xo=tt("<!> <!> <!> <!>",1);function _o(s,t){if(new.target)return V({component:_o,...s});H(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"scrollbarXClasses",7,""),a=v(t,"scrollbarYClasses",7,""),c=v(t,"fadeEdges",7,!0),u=v(t,"children",7),b=k(t,yo),h=T(null),P=T(!0),w=T(!0),x=T(!0),g=T(!0);function C(){o(h)&&(f(P,o(h).scrollTop<=0),f(w,o(h).scrollTop+o(h).clientHeight>=o(h).scrollHeight-1),f(x,o(h).scrollLeft<=0),f(g,o(h).scrollLeft+o(h).clientWidth>=o(h).scrollWidth-1))}let p=y(()=>{if(!c())return;const N=[];return i()!=="horizontal"&&(!o(P)||!o(w))&&N.push(`linear-gradient(to bottom, ${o(P)?"black 0":"transparent 0, black 12px"}, ${o(w)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),i()!=="vertical"&&(!o(x)||!o(g))&&N.push(`linear-gradient(to right, ${o(x)?"black 0":"transparent 0, black 12px"}, ${o(g)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),N.length?N.join(", "):void 0});X(()=>{if(!o(h))return;C();const N=new ResizeObserver(C);return N.observe(o(h)),o(h).firstElementChild&&N.observe(o(h).firstElementChild),()=>N.disconnect()});var R={get ref(){return e()},set ref(N=null){e(N),S()},get class(){return r()},set class(N){r(N),S()},get orientation(){return i()},set orientation(N="vertical"){i(N),S()},get scrollbarXClasses(){return l()},set scrollbarXClasses(N=""){l(N),S()},get scrollbarYClasses(){return a()},set scrollbarYClasses(N=""){a(N),S()},get fadeEdges(){return c()},set fadeEdges(N=!0){c(N),S()},get children(){return u()},set children(N){u(N),S()},$set:M,$on:(N,xe)=>W(t,N,xe)},_=L(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,O({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>b,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(p)?`mask-image: ${o(p)}; -webkit-mask-image: ${o(p)};`:void 0);ct(nr,()=>vr,(Te,Mr)=>{Mr(Te,{"data-slot":"scroll-area-viewport",tabindex:0,class:"size-full rounded-[inherit] transition-[mask-image] duration-(--motion-fast) focus-visible:outline focus-visible:-outline-offset-1 motion-reduce:transition-none",get style(){return o(I)},onscroll:C,get ref(){return o(h)},set ref(Ne){f(h,Ne,!0)},children:(Ne,Co)=>{var ar=L(),Wr=E(ar);Y(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ue(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ue(I,{orientation:"horizontal",get class(){return l()}})};B(lr,I=>{(i()==="horizontal"||i()==="both")&&I(Rr)})}var Vr=fe(lr,2);ct(Vr,()=>zr,(I,Te)=>{Te(I,{})}),z(_e,sr)},$$slots:{default:!0}}))})}return z(s,_),A(R)}const To=[{id:"scroll-area-orientations",title:"Scroll area orientations and overflow",states:["vertical","horizontal","both","keyboard-focus","long-content","no-overflow","scrollbar-resting","scrollbar-scrolling","scrollbar-hover","native-opt-out","compact","zoom-200","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];jr({id:"scroll-area",source:"src/lib/components/ui/scroll-area/index.ts",publicImport:"$lib/components/ui/scroll-area",legacyImports:[],exports:["Root","ScrollArea","ScrollAreaScrollbar","Scrollbar","scrollAreaMetadata"],usage:`<script lang="ts">
|
|
2
2
|
import { ScrollArea } from '$lib/components/ui/scroll-area';
|
|
3
3
|
<\/script>
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as V,bq as d,by as j,b as B,a_ as I,bo as L}from"./
|
|
1
|
+
import{t as V,bq as d,by as j,b as B,a_ as I,bo as L}from"./Dso1_H3c.js";import{bs as F,b_ as z,W as _,bn as H,aA as p,aC as T,a7 as O,ay as P,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./DYhIMPy1.js";import{u as ne,v as ie,j as oe}from"./CnMdEUN9.js";import{G as ae}from"./DCCFERAn.js";import{I as se}from"./C5vuxPIj.js";import"./BuxSPewv.js";import{L as le}from"./Az9OQ8Pw.js";import"./9oNS7b_T.js";import{D as ue,b as W}from"./DuD0elPz.js";import{r as ce,q as y}from"./C1ZTS4Sh.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return V({component:me,...f});F(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var a={get width(){return e()},set width(s=24){e(s),p()},get class(){return n()},set class(s=""){n(s),p()},$set:j,$on:(s,m)=>B(o,s,m)},l=fe();return z(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),H(a)}var de=te('<div class="grid gap-2"><!> <!></div>');function E(f,o){if(new.target)return V({component:E,...f});F(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),a=d(o,"busy",7,!1),l=d(o,"static",7,!1),s=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return a()},set busy(t=!1){a(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return s()},set onAccept(t){s(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:j,$on:(t,g)=>B(o,t,g)},h=O(),i=P(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return a()},onConfirm:()=>s()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);W(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return a()},get initialFocus(){return r(v)},onSubmit:()=>s()(n()),get onCancel(){return m()},children:(J,ge)=>{var D=de(),G=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var N=$();z(()=>ee(N,e().options.field.label)),_(R,N)},$$slots:{default:!0}})};I(G,C=>{e().options.field.label&&C(K)})}var Q=X(G,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);se(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(J,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());W(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return a()},onSubmit:()=>s()(n()),onCancel:()=>s()(n())})}};I(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),H(A)}function pe(f,o){if(new.target)return V({component:pe,...f});F(o,!0);let e=k(null),n=k(""),a=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(a,!1)}));function l(){!r(e)||r(a)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function s(){if(!r(e)||r(a))return;const i=r(e);b(a,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(a,!1),u}}var m={$set:j,$on:(i,u)=>B(o,i,u)},v=O(),A=P(v);{var h=i=>{var u=O(),q=P(u);ae(q,()=>r(e).id,x=>{E(x,{get request(){return r(e)},get busy(){return r(a)},onAccept:s,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};I(A,i=>{r(e)&&i(h)})}return _(f,v),H(m)}export{pe as C,me as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as F,bq as l,a_ as q,bo as u,by as G,b as H,bu as re,bs as se}from"./
|
|
1
|
+
import{t as F,bq as l,a_ as q,bo as u,by as G,b as H,bu as re,bs as se}from"./Dso1_H3c.js";import{bs as J,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as K,aA as p,c9 as ne,aB as B,c5 as T,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as W}from"./CnMdEUN9.js";import{f as A}from"./m5UczIQR.js";import{D as ce}from"./CP_jYxTi.js";import{a5 as de}from"./DzXiplW2.js";import{Ik as ue,iM as le}from"./Dk1_0x0Q.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function L(y,r){if(new.target)return F({component:L,...y});J(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),w=P(f),U=I(w,!0),D=_(w,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};q(h,e=>{a().claimsPrimary&&e(Q)})}var O=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};q(O,e=>{d()&&e(V)})}var S=_(O,2);{var X=e=>{var t=j(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};q(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=j(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};q(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),M=P(E);A(M,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var R=_(M,2);A(R,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(R,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),K(C)}function _e(y,r){if(new.target)return F({component:_e,...y});J(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(T(()=>c()),T(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),w=ie(f);{var U=n=>{L(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};q(w,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=K(x);return b(),D}export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Ie}from"./QBrdUuj3.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./BkUS-e35.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
1
|
+
import{e as Ie}from"./CYAPxNuV.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./Do9Il6aW.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
|
|
2
2
|
`+A.showPosition()+`
|
|
3
3
|
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),E.length-1&&(this.yylineno-=E.length-1);var D=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:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as i}from"./
|
|
1
|
+
import{b as i}from"./Do9Il6aW.js";function t(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}i(t,"populateCommonDb");export{t as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as oe,bq as i,a_ as h,by as ie,bs as ce,b as le,bu as $}from"./
|
|
1
|
+
import{t as oe,bq as i,a_ as h,by as ie,bs as ce,b as le,bu as $}from"./Dso1_H3c.js";import{bs as ue,bk as me,bH as O,ca as ve,aD as s,a5 as R,bl as ee,bS as q,bA as B,b_ as D,bO as K,W as w,bn as de,bV as te,c9 as g,aA as l,aB as U,a7 as fe,ay as pe,b$ as ae}from"./DYhIMPy1.js";import{s as ge,q as xe,v as G,u as se}from"./CnMdEUN9.js";import{F as re,c7 as _e,bU as be}from"./DAGiwOmW.js";import{t as Q,J as ne}from"./Cl-7Au8R.js";var he=U('<span class="animated-number-target svelte-194ris3" aria-atomic="true"> </span>'),we=U('<span><span class="animated-number-value svelte-194ris3"> </span> <!></span>');function Y(F,r){if(new.target)return oe({component:Y,...F});ue(r,!0);const y=()=>$(P,"$displayValue",x),V=()=>$(W,"$displaySecondaryValue",x),[x,Z]=ce();let n=i(r,"value",7),c=i(r,"tier",7,"slow"),o=i(r,"secondaryValue",7),_=i(r,"format",7,e=>Q(e)),z=i(r,"class",7,""),N=i(r,"accessible",7,!0),S=i(r,"pulse",7,!0),k=te(null),m=n(),v=o(),L=te(!1),C=0;const P=ne(n(),c()),W=ne(o()??0,c());me(()=>(O(L,ge(),!0),xe(e=>O(L,e,!0)))),ve(()=>{if(s(L)){C+=1,O(k,null),m=n(),v=o(),P.set(n()),W.set(o()??0);return}if(n()!==m||o()!==v){const e=n()!==m?m:v,u=n()!==m?n():o();O(k,(u??0)>(e??0)?"up":"down",!0),m=n(),v=o();const M=++C;return Promise.all([P.set(n()),W.set(o()??0)]).then(()=>{M===C&&O(k,null)}),()=>{C+=1}}});const t=g(()=>_()(y(),o()===void 0?void 0:V())),b=g(()=>_()(n(),o()));var j={get value(){return n()},set value(e){n(e),l()},get tier(){return c()},set tier(e="slow"){c(e),l()},get secondaryValue(){return o()},set secondaryValue(e){o(e),l()},get format(){return _()},set format(e=u=>Q(u)){_(e),l()},get class(){return z()},set class(e=""){z(e),l()},get accessible(){return N()},set accessible(e=!0){N(e),l()},get pulse(){return S()},set pulse(e=!0){S(e),l()},$set:ie,$on:(e,u)=>le(r,e,u)},A=we();let E;var H=R(A),f=ee(H,!0),d=q(H,2);{var I=e=>{var u=he(),M=ee(u,!0);D(()=>K(M,s(b))),w(e,u)};h(d,e=>{N()&&e(I)})}B(A),D(()=>{E=G(A,1,`animated-number ${z()??""}`,"svelte-194ris3",E,{"animating-up":S()&&s(k)==="up","animating-down":S()&&s(k)==="down"}),se(A,"data-pulse",S()?"true":"false"),se(H,"aria-hidden",N()?"true":void 0),K(f,s(t))}),w(F,A);var J=de(j);return Z(),J}var ye=U("<span><!> <span>+<!></span></span>"),Ve=U("<span><!> <span>-<!></span></span>"),ze=U("<div><!> <!></div>");function Se(F,r){if(new.target)return oe({component:Se,...F});ue(r,!0);let y=i(r,"additions",7,0),V=i(r,"deletions",7,0),x=i(r,"showZero",7,!1),Z=i(r,"size",7,"xs"),n=i(r,"showIcons",7,!1),c=i(r,"animated",7,!1),o=i(r,"class",7,""),_=g(()=>y()>0),z=g(()=>V()>0),N=g(()=>s(_)||s(z)||x());const S={xxs:"text-[0.6rem]",xs:"text-[0.7rem]",sm:"text-sm",md:"text-base"},k={xxs:8,xs:10,sm:12,md:14},m=g(()=>S[Z()]),v=g(()=>k[Z()]);var L={get additions(){return y()},set additions(t=0){y(t),l()},get deletions(){return V()},set deletions(t=0){V(t),l()},get showZero(){return x()},set showZero(t=!1){x(t),l()},get size(){return Z()},set size(t="xs"){Z(t),l()},get showIcons(){return n()},set showIcons(t=!1){n(t),l()},get animated(){return c()},set animated(t=!1){c(t),l()},get class(){return o()},set class(t=""){o(t),l()},$set:ie,$on:(t,b)=>le(r,t,b)},C=fe(),P=pe(C);{var W=t=>{var b=ze(),j=R(b);{var A=f=>{var d=ye(),I=R(d);{var J=a=>{{let p=g(()=>s(v)===10||s(v)===12?"xs":"sm");re(a,{get icon(){return _e},get size(){return s(p)}})}};h(I,a=>{n()&&a(J)})}var e=q(I,2),u=q(R(e));{var M=a=>{Y(a,{get value(){return y()}})},T=a=>{var p=ae();D(X=>K(p,X),[()=>Q(y())]),w(a,p)};h(u,a=>{c()?a(M):a(T,-1)})}B(e),B(d),D(()=>G(d,1,`flex items-center whitespace-nowrap gap-0.5 font-mono ${s(m)??""} ${s(_)?"text-emerald-600 dark:text-emerald-500":"text-emerald-600/30 dark:text-emerald-500/30"}`)),w(f,d)};h(j,f=>{(s(_)||x())&&f(A)})}var E=q(j,2);{var H=f=>{var d=Ve(),I=R(d);{var J=a=>{{let p=g(()=>s(v)===10||s(v)===12?"xs":"sm");re(a,{get icon(){return be},get size(){return s(p)}})}};h(I,a=>{n()&&a(J)})}var e=q(I,2),u=q(R(e));{var M=a=>{Y(a,{get value(){return V()}})},T=a=>{var p=ae();D(X=>K(p,X),[()=>Q(V())]),w(a,p)};h(u,a=>{c()?a(M):a(T,-1)})}B(e),B(d),D(()=>G(d,1,`flex items-center whitespace-nowrap gap-0.5 font-mono ${s(m)??""} ${s(z)?"text-red-600 dark:text-red-500":"text-red-600/30 dark:text-red-500/30"}`)),w(f,d)};h(E,f=>{(s(z)||x())&&f(H)})}B(b),D(()=>G(b,1,`flex items-center gap-1 ${o()??""}`)),w(t,b)};h(P,t=>{s(N)&&t(W)})}return w(F,C),de(L)}export{Y as A,Se as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as O}from"./
|
|
1
|
+
import{d as O}from"./Cl-7Au8R.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ni}from"./
|
|
1
|
+
import{g as Ni}from"./BAmhsi1_.js";import{s as Ci}from"./B8888LoS.js";import{U as Zs,aZ as jt,V as Qs,a_ as Gt,Y as bi,b0 as vi,b as h,aU as je,ay as _i,X as en,a1 as xi,aP as Mi,bh as wi,aV as Ui,r as Pi,O as Di,am as Fi,W as Bi,ab as $i,aG as ji,aA as Gi,aW as Wi}from"./Do9Il6aW.js";function Wt(s){console&&console.error&&console.error(`Error: ${s}`)}function tn(s){console&&console.warn&&console.warn(`Warning: ${s}`)}function sn(s){const e=new Date().getTime(),t=s();return{time:new Date().getTime()-e,value:t}}function nn(s){function e(){}e.prototype=s;const t=new e;function n(){return typeof t.bar}return n(),n(),s}function Ki(s){return Vi(s)?s.LABEL:s.name}function Vi(s){return typeof s.LABEL=="string"&&s.LABEL!==""}class te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),this.definition.forEach(t=>{t.accept(e)})}}class K extends te{constructor(e){super([]),this.idx=1,Object.assign(this,ie(e))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class _e extends te{constructor(e){super(e.definition),this.orgText="",Object.assign(this,ie(e))}}class W extends te{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,Object.assign(this,ie(e))}}class G extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class se extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class ne extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class M extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class q extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class Z extends te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,ie(e))}}class k{constructor(e){this.idx=1,Object.assign(this,ie(e))}accept(e){e.visit(this)}}function zi(s){return s.map(at)}function at(s){function e(t){return t.map(at)}if(s instanceof K){const t={type:"NonTerminal",name:s.nonTerminalName,idx:s.idx};return typeof s.label=="string"&&(t.label=s.label),t}else{if(s instanceof W)return{type:"Alternative",definition:e(s.definition)};if(s instanceof G)return{type:"Option",idx:s.idx,definition:e(s.definition)};if(s instanceof se)return{type:"RepetitionMandatory",idx:s.idx,definition:e(s.definition)};if(s instanceof ne)return{type:"RepetitionMandatoryWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof q)return{type:"RepetitionWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof M)return{type:"Repetition",idx:s.idx,definition:e(s.definition)};if(s instanceof Z)return{type:"Alternation",idx:s.idx,definition:e(s.definition)};if(s instanceof k){const t={type:"Terminal",name:s.terminalType.name,label:Ki(s.terminalType),idx:s.idx};typeof s.label=="string"&&(t.terminalLabel=s.label);const n=s.terminalType.PATTERN;return s.terminalType.PATTERN&&(t.pattern=n instanceof RegExp?n.source:n),t}else{if(s instanceof _e)return{type:"Rule",name:s.name,orgText:s.orgText,definition:e(s.definition)};throw Error("non exhaustive match")}}}function ie(s){return Object.fromEntries(Object.entries(s).filter(([,e])=>e!==void 0))}class xe{visit(e){const t=e;switch(t.constructor){case K:return this.visitNonTerminal(t);case W:return this.visitAlternative(t);case G:return this.visitOption(t);case se:return this.visitRepetitionMandatory(t);case ne:return this.visitRepetitionMandatoryWithSeparator(t);case q:return this.visitRepetitionWithSeparator(t);case M:return this.visitRepetition(t);case Z:return this.visitAlternation(t);case k:return this.visitTerminal(t);case _e:return this.visitRule(t);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function Hi(s){return s instanceof W||s instanceof G||s instanceof M||s instanceof se||s instanceof ne||s instanceof q||s instanceof k||s instanceof _e}function Tt(s,e=[]){return s instanceof G||s instanceof M||s instanceof q?!0:s instanceof Z?s.definition.some(n=>Tt(n,e)):s instanceof K&&e.includes(s)?!1:s instanceof te?(s instanceof K&&e.push(s),s.definition.every(n=>Tt(n,e))):!1}function Xi(s){return s instanceof Z}function ee(s){if(s instanceof K)return"SUBRULE";if(s instanceof G)return"OPTION";if(s instanceof Z)return"OR";if(s instanceof se)return"AT_LEAST_ONE";if(s instanceof ne)return"AT_LEAST_ONE_SEP";if(s instanceof q)return"MANY_SEP";if(s instanceof M)return"MANY";if(s instanceof k)return"CONSUME";throw Error("non exhaustive match")}class kt{walk(e,t=[]){e.definition.forEach((n,i)=>{const a=e.definition.slice(i+1);if(n instanceof K)this.walkProdRef(n,a,t);else if(n instanceof k)this.walkTerminal(n,a,t);else if(n instanceof W)this.walkFlat(n,a,t);else if(n instanceof G)this.walkOption(n,a,t);else if(n instanceof se)this.walkAtLeastOne(n,a,t);else if(n instanceof ne)this.walkAtLeastOneSep(n,a,t);else if(n instanceof q)this.walkManySep(n,a,t);else if(n instanceof M)this.walkMany(n,a,t);else if(n instanceof Z)this.walkOr(n,a,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){const i=t.concat(n);this.walk(e,i)}walkOption(e,t,n){const i=t.concat(n);this.walk(e,i)}walkAtLeastOne(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkAtLeastOneSep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkMany(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkManySep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkOr(e,t,n){const i=t.concat(n);e.definition.forEach(a=>{const r=new W({definition:[a]});this.walk(r,i)})}}function ys(s,e,t){return[new G({definition:[new k({terminalType:s.separator})].concat(s.definition)})].concat(e,t)}function Je(s){if(s instanceof K)return Je(s.referencedRule);if(s instanceof k)return qi(s);if(Hi(s))return Yi(s);if(Xi(s))return Ji(s);throw Error("non exhaustive match")}function Yi(s){let e=[];const t=s.definition;let n=0,i=t.length>n,a,r=!0;for(;i&&r;)a=t[n],r=Tt(a),e=e.concat(Je(a)),n=n+1,i=t.length>n;return[...new Set(e)]}function Ji(s){const e=s.definition.map(t=>Je(t));return[...new Set(e.flat())]}function qi(s){return[s.terminalType]}const an="_~IN~_";class Zi extends kt{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){const i=ea(e.referencedRule,e.idx)+this.topProd.name,a=t.concat(n),r=new W({definition:a}),l=Je(r);this.follows[i]=l}}function Qi(s){const e={};return s.forEach(t=>{const n=new Zi(t).startWalking();Object.assign(e,n)}),e}function ea(s,e){return s.name+e+an}function S(s){return s.charCodeAt(0)}function Pt(s,e){Array.isArray(s)?s.forEach(function(t){e.push(t)}):e.push(s)}function Fe(s,e){if(s[e]===!0)throw"duplicate flag "+e;s[e],s[e]=!0}function Se(s){if(s===void 0)throw Error("Internal Error - Should never get here!");return!0}function ta(){throw Error("Internal Error - Should never get here!")}function Rs(s){return s.type==="Character"}const gt=[];for(let s=S("0");s<=S("9");s++)gt.push(s);const At=[S("_")].concat(gt);for(let s=S("a");s<=S("z");s++)At.push(s);for(let s=S("A");s<=S("Z");s++)At.push(s);const Os=[S(" "),S("\f"),S(`
|
|
2
2
|
`),S("\r"),S(" "),S("\v"),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S("\u2028"),S("\u2029"),S(" "),S(" "),S(" "),S("\uFEFF")],sa=/[0-9a-fA-F]/,tt=/[0-9]/,na=/[1-9]/;class ia{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");const t=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Fe(n,"global");break;case"i":Fe(n,"ignoreCase");break;case"m":Fe(n,"multiLine");break;case"u":Fe(n,"unicode");break;case"y":Fe(n,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:t,loc:this.loc(0)}}disjunction(){const e=[],t=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(t)}}alternative(){const e=[],t=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(t)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let t;switch(this.popChar()){case"=":t="Lookahead";break;case"!":t="NegativeLookahead";break;case"<":{switch(this.popChar()){case"=":t="Lookbehind";break;case"!":t="NegativeLookbehind"}break}}Se(t);const n=this.disjunction();return this.consumeChar(")"),{type:t,value:n,loc:this.loc(e)}}return ta()}quantifier(e=!1){let t;const n=this.idx;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":const i=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:i,atMost:i};break;case",":let a;this.isDigit()?(a=this.integerIncludingZero(),t={atLeast:i,atMost:a}):t={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&t===void 0)return;Se(t);break}if(!(e===!0&&t===void 0)&&Se(t))return this.peekChar(0)==="?"?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t.loc=this.loc(n),t}atom(){let e;const t=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}if(e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),Se(e))return e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[S(`
|
|
3
3
|
`),S("\r"),S("\u2028"),S("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,t=!1;switch(this.popChar()){case"d":e=gt;break;case"D":e=gt,t=!0;break;case"s":e=Os;break;case"S":e=Os,t=!0;break;case"w":e=At;break;case"W":e=At,t=!0;break}if(Se(e))return{type:"Set",value:e,complement:t}}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=S("\f");break;case"n":e=S(`
|
|
4
4
|
`);break;case"r":e=S("\r");break;case"t":e=S(" ");break;case"v":e=S("\v");break}if(Se(e))return{type:"Character",value:e}}controlLetterEscapeAtom(){this.consumeChar("c");const e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:S("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){const e=this.popChar();return{type:"Character",value:S(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as n}from"./
|
|
1
|
+
import{g as l,r as m,d as n}from"./CYnSw8gK.js";import{p}from"./BEycbtuj.js";import{b as t,ay as o}from"./Do9Il6aW.js";import{M as u,a as f}from"./CgWmg0h0.js";var c=f().RailroadEbnf.parser.LangiumParser,s=t(e=>{const r=e.alternatives.map(E);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformChoice"),E=t(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),i=t(e=>{switch(e.$type){case"EbnfTerminal":return{type:"terminal",value:e.value};case"EbnfNonTerminal":return{type:"nonterminal",name:e.name};case"EbnfSpecial":return{type:"special",text:e.text};case"EbnfGroup":return s(e.element);case"EbnfOptional":return{type:"optional",element:s(e.element)};case"EbnfRepetition":return{type:"repetition",element:s(e.element),min:0,max:1/0};default:throw new Error(`Unsupported EBNF primary node: ${e.$type}`)}},"transformPrimary"),b=t((e,r)=>{switch(r.$type){case"EbnfOptionalPostfix":return{type:"optional",element:e};case"EbnfZeroOrMorePostfix":return{type:"repetition",element:e,min:0,max:1/0};case"EbnfOneOrMorePostfix":return{type:"repetition",element:e,min:1,max:1/0};case"EbnfExceptionPostfix":return{type:"sequence",elements:[e,{type:"terminal",value:"-"},i(r.except)]};default:throw new Error(`Unsupported EBNF postfix node: ${r.$type}`)}},"transformPostfix"),y=t(e=>e.postfixes.reduce((r,a)=>b(r,a),i(e.base)),"transformTerm"),d=t(e=>({name:e.name,definition:s(e.definition)}),"transformRule"),v=t(e=>{p(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(d(r)))},"populateDb"),g={parse:t(e=>{n.clear(),o.debug("[EBNF Parser] Starting Langium parse");const r=c.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const a=r.value;o.debug("[EBNF Parser] Parsed rules:",a.rules.length),v(a),o.debug("[EBNF Parser] Parse complete")},"parse"),parser:{yy:n}},N={parser:g,db:n,renderer:m,styles:l};export{N as diagram};
|