@intent-hq/web 2.370.0 → 2.370.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/{CyWgrZMk.js → 1BRHaRmm.js} +5 -5
- package/web/app/immutable/chunks/{CbRNm5he.js → 2CvTs4Gl.js} +1 -1
- package/web/app/immutable/chunks/{CCrwZkau.js → 2IbSEmAW.js} +1 -1
- package/web/app/immutable/chunks/{BwtGEQS3.js → 2kcdsiKR.js} +1 -1
- package/web/app/immutable/chunks/{DrOwYgbZ.js → 3bNhkT-J.js} +1 -1
- package/web/app/immutable/chunks/{BEV9WkWU.js → 5kePy1TE.js} +1 -1
- package/web/app/immutable/chunks/{1pIqWRUk.js → 711s5WU0.js} +1 -1
- package/web/app/immutable/chunks/{CRY4aELR.js → 7aKXh--T.js} +4 -4
- package/web/app/immutable/chunks/{BSsEOl8-.js → 7i9XTDuo.js} +1 -1
- package/web/app/immutable/chunks/{DcUCHDGY.js → AsFm-iq9.js} +1 -1
- package/web/app/immutable/chunks/{ZIOU9Sxd.js → B1tKRs9e.js} +1 -1
- package/web/app/immutable/chunks/{C_E26DWe.js → B2_coen2.js} +1 -1
- package/web/app/immutable/chunks/{BulBKnVz.js → B3hSlB6y.js} +1 -1
- package/web/app/immutable/chunks/{CaHds95Q.js → B3s08q4i.js} +1 -1
- package/web/app/immutable/chunks/{vLtMR-kj.js → B4rTQlY3.js} +1 -1
- package/web/app/immutable/chunks/{B8_Ff8zl.js → B5LyNSS1.js} +7 -7
- package/web/app/immutable/chunks/{B3Gso1ut.js → B7CIdOn0.js} +1 -1
- package/web/app/immutable/chunks/{CwWm64yZ.js → BBvc0xcX.js} +1 -1
- package/web/app/immutable/chunks/{Cq4X6ptS.js → BE3ifD-D.js} +1 -1
- package/web/app/immutable/chunks/{BSfkjlLx.js → BHCTYYXY.js} +1 -1
- package/web/app/immutable/chunks/{CQ_NwL45.js → BHe6JG_C.js} +2 -2
- package/web/app/immutable/chunks/{DSacn4II.js → BIDxyGuw.js} +1 -1
- package/web/app/immutable/chunks/{DJFAYXyc.js → BIH1E0JD.js} +1 -1
- package/web/app/immutable/chunks/{CYKOPxuJ.js → BIY9btQv.js} +1 -1
- package/web/app/immutable/chunks/{gySpGbnA.js → BJDeJSt-.js} +1 -1
- package/web/app/immutable/chunks/{jG-4Z8qH.js → BKq-hmnE.js} +1 -1
- package/web/app/immutable/chunks/{CCsCF1Mh.js → BKzqt9uo.js} +1 -1
- package/web/app/immutable/chunks/{5lieSvED.js → BL5h9RCy.js} +1 -1
- package/web/app/immutable/chunks/{D6dNunKo.js → BLb6jd9K.js} +1 -1
- package/web/app/immutable/chunks/{BVLa_5Le.js → BNv5miK-.js} +1 -1
- package/web/app/immutable/chunks/{gHT8Z5q-.js → BOHkf2gI.js} +1 -1
- package/web/app/immutable/chunks/{bb5Wjkri.js → BOROIf_S.js} +1 -1
- package/web/app/immutable/chunks/{C2Vj5Vs6.js → BR75pcGU.js} +1 -1
- package/web/app/immutable/chunks/{THdp5Vpk.js → BROVvkEL.js} +1 -1
- package/web/app/immutable/chunks/{BDA31WCY.js → BR_GHabc.js} +1 -1
- package/web/app/immutable/chunks/{DeE0yn_3.js → BSwUOmEO.js} +1 -1
- package/web/app/immutable/chunks/{uCQEgTob.js → BTBYrxZV.js} +1 -1
- package/web/app/immutable/chunks/{Bi0vr71w.js → BU9a7SkD.js} +1 -1
- package/web/app/immutable/chunks/{CQHtdg39.js → BVDDJIsV.js} +1 -1
- package/web/app/immutable/chunks/{CSBGusi9.js → BWn2FCdq.js} +1 -1
- package/web/app/immutable/chunks/{CmW3Zqh6.js → BZWU4mlm.js} +2 -2
- package/web/app/immutable/chunks/Ba5gf06c.js +1 -0
- package/web/app/immutable/chunks/{DZIz7Wk9.js → BaGw_bDr.js} +1 -1
- package/web/app/immutable/chunks/{1GrJvO3a.js → Baepgj8b.js} +1 -1
- package/web/app/immutable/chunks/{CqVZxU_G.js → BalxhI2Q.js} +1 -1
- package/web/app/immutable/chunks/{wgljT0D3.js → Bb3w2fM6.js} +1 -1
- package/web/app/immutable/chunks/{DgMr61cU.js → BeVAskuR.js} +1 -1
- package/web/app/immutable/chunks/{BSD34ZVo.js → Beg3arHH.js} +1 -1
- package/web/app/immutable/chunks/{DtfuSWPd.js → BgnxwWhQ.js} +1 -1
- package/web/app/immutable/chunks/{DIukqb9l.js → BhA_kLCx.js} +1 -1
- package/web/app/immutable/chunks/{DB9n2KBT.js → Bj-9TYLg.js} +1 -1
- package/web/app/immutable/chunks/{BzFy3u2D.js → BlQvrYPa.js} +1 -1
- package/web/app/immutable/chunks/{FtGWFokI.js → BldeOF88.js} +1 -1
- package/web/app/immutable/chunks/{CdOh_Fmv.js → BnA9v3pc.js} +1 -1
- package/web/app/immutable/chunks/{Bg7YNbVH.js → Bo89tkt2.js} +1 -1
- package/web/app/immutable/chunks/{CnztNSaN.js → BoQ8Q7zJ.js} +1 -1
- package/web/app/immutable/chunks/{CiZzqOpk.js → BpyEBWKW.js} +1 -1
- package/web/app/immutable/chunks/{CgS_FiQI.js → BqOLTDDX.js} +1 -1
- package/web/app/immutable/chunks/{Caqml6gj.js → BtrJwCgg.js} +1 -1
- package/web/app/immutable/chunks/{Chnr0_jK.js → Bvf6gH6c.js} +1 -1
- package/web/app/immutable/chunks/{Dekzflbl.js → BxQi83db.js} +1 -1
- package/web/app/immutable/chunks/{CKnpbRTh.js → C-5vE6yh.js} +9 -9
- package/web/app/immutable/chunks/{DUGztmZo.js → C0jW3ncX.js} +1 -1
- package/web/app/immutable/chunks/{Bc7pHsTy.js → C1YR8Gnj.js} +1 -1
- package/web/app/immutable/chunks/{Blu9C_Vv.js → C289w7fG.js} +1 -1
- package/web/app/immutable/chunks/{TE7UDCh6.js → C29Jqwzt.js} +1 -1
- package/web/app/immutable/chunks/{C0wua3Vt.js → C2UYU20O.js} +1 -1
- package/web/app/immutable/chunks/{CgwFGLCK.js → C2wWLl1x.js} +1 -1
- package/web/app/immutable/chunks/{CH7fgKro.js → C6P_twJN.js} +1 -1
- package/web/app/immutable/chunks/{UQXXh4U7.js → C6ROKFdp.js} +1 -1
- package/web/app/immutable/chunks/{YcqSYZ1W.js → C96BAoIR.js} +1 -1
- package/web/app/immutable/chunks/{BnNJN3Ls.js → C9AWL-_E.js} +1 -1
- package/web/app/immutable/chunks/{CzW29tkb.js → CAV1CzzW.js} +1 -1
- package/web/app/immutable/chunks/{CblB0zCN.js → CC-xReBN.js} +1 -1
- package/web/app/immutable/chunks/{DRy2oEmj.js → CC4-q0Fm.js} +1 -1
- package/web/app/immutable/chunks/{CfUtc4-L.js → CDsbSWM0.js} +1 -1
- package/web/app/immutable/chunks/{DZRLhNnQ.js → CENbvXsw.js} +1 -1
- package/web/app/immutable/chunks/{BX9hgO_H.js → CFcZXBVA.js} +6 -6
- package/web/app/immutable/chunks/{eCVtubQ8.js → CFq9q-gu.js} +1 -1
- package/web/app/immutable/chunks/{d1EmVp98.js → CGLbiObk.js} +1 -1
- package/web/app/immutable/chunks/{CbRsc9i4.js → CI4_aI7e.js} +5 -5
- package/web/app/immutable/chunks/{BvZfa6RH.js → CIvyT4T_.js} +1 -1
- package/web/app/immutable/chunks/{C_-WdiR8.js → CKf0K7iH.js} +1 -1
- package/web/app/immutable/chunks/{CBRZjI7P.js → CKfVT02n.js} +2 -2
- package/web/app/immutable/chunks/{BG2RPA7A.js → CNkmihEX.js} +2 -2
- package/web/app/immutable/chunks/{f686-QUd.js → CO9mOa2z.js} +1 -1
- package/web/app/immutable/chunks/CQIdhUGs.js +1 -0
- package/web/app/immutable/chunks/{B-_ROixI.js → CQWMr-uu.js} +2 -2
- package/web/app/immutable/chunks/{MifrdpDQ.js → CT012uiB.js} +1 -1
- package/web/app/immutable/chunks/{B2AfKG58.js → CTKKTfh5.js} +2 -2
- package/web/app/immutable/chunks/{WlqVlpOk.js → CVXKL6ab.js} +1 -1
- package/web/app/immutable/chunks/{Dv0Jc2Nv.js → CVpnQG0j.js} +1 -1
- package/web/app/immutable/chunks/{BinPWBvt.js → C_V6o9Il.js} +1 -1
- package/web/app/immutable/chunks/{DELYEsRi.js → Ca6eVlSm.js} +2 -2
- package/web/app/immutable/chunks/{BhZDGIfe.js → CdYt8dgZ.js} +1 -1
- package/web/app/immutable/chunks/{CmVXj6KK.js → Ce83awb2.js} +2 -2
- package/web/app/immutable/chunks/{ir8Qz45r.js → CkoG9STP.js} +1 -1
- package/web/app/immutable/chunks/{BDcauMkX.js → CllirvEK.js} +1 -1
- package/web/app/immutable/chunks/{BmjF1SON.js → Cmj0JylI.js} +2 -2
- package/web/app/immutable/chunks/{Bvo32SXP.js → CnS7dtdu.js} +1 -1
- package/web/app/immutable/chunks/{9sCF_0su.js → Cnfa9ycD.js} +1 -1
- package/web/app/immutable/chunks/{Db8-C0Zq.js → CoDlIYWp.js} +1 -1
- package/web/app/immutable/chunks/{DwXKCf3Q.js → CplGG62F.js} +1 -1
- package/web/app/immutable/chunks/{1DKpnRTj.js → Cum1dYpM.js} +1 -1
- package/web/app/immutable/chunks/{BHaE4286.js → CvqKGiPA.js} +1 -1
- package/web/app/immutable/chunks/{BCQ1W7zT.js → CxJ0MhK_.js} +3 -3
- package/web/app/immutable/chunks/{BAymCgEX.js → Cz-HgbT1.js} +1 -1
- package/web/app/immutable/chunks/{Cv2YUgTX.js → CzMPk75T.js} +1 -1
- package/web/app/immutable/chunks/{B0SoVMRS.js → Czc9XxQH.js} +1 -1
- package/web/app/immutable/chunks/{BnhOIUmr.js → Czz4CkiM.js} +1 -1
- package/web/app/immutable/chunks/{D9MwZkzV.js → D1_IbOsX.js} +1 -1
- package/web/app/immutable/chunks/{YV53nLSc.js → D2CiBsJQ.js} +1 -1
- package/web/app/immutable/chunks/{DxyI4IUi.js → D2jpdqLS.js} +1 -1
- package/web/app/immutable/chunks/{CQAAihrI.js → D3VYu5tL.js} +1 -1
- package/web/app/immutable/chunks/{CR2m4w2U.js → D4hsFsw4.js} +1 -1
- package/web/app/immutable/chunks/{BqxcrzZH.js → D5CXAAzn.js} +1 -1
- package/web/app/immutable/chunks/{DCW2c0FY.js → D5xUDbUx.js} +1 -1
- package/web/app/immutable/chunks/{BUA7BUyu.js → D6vwIrtC.js} +1 -1
- package/web/app/immutable/chunks/{CUdMuhJF.js → D8Nxo4aC.js} +1 -1
- package/web/app/immutable/chunks/{CRNfAyhd.js → DAfOI1BG.js} +1 -1
- package/web/app/immutable/chunks/{CCSbqNiH.js → DExi1WR7.js} +1 -1
- package/web/app/immutable/chunks/{NqK_XT0y.js → DFrynV0u.js} +1 -1
- package/web/app/immutable/chunks/{EzpfJOSe.js → DG-AKB01.js} +1 -1
- package/web/app/immutable/chunks/{Dawt227W.js → DGQoqGp4.js} +1 -1
- package/web/app/immutable/chunks/{Ev5lig9W.js → DIhsiUIT.js} +1 -1
- package/web/app/immutable/chunks/{DC_1j_gh.js → DM71GnMx.js} +3 -3
- package/web/app/immutable/chunks/{D1V2Et17.js → DMH0w6el.js} +1 -1
- package/web/app/immutable/chunks/{CzS5ny-g.js → DMzReQ-5.js} +1 -1
- package/web/app/immutable/chunks/{B9BjyTgZ.js → DOIzLCtE.js} +1 -1
- package/web/app/immutable/chunks/{Dp9fBXaC.js → DOwDDYVN.js} +1 -1
- package/web/app/immutable/chunks/{C2YH0P-B.js → DPvT-ATr.js} +1 -1
- package/web/app/immutable/chunks/{BRRvOx4M.js → DQLMO9xD.js} +2 -2
- package/web/app/immutable/chunks/{sS3MW5B6.js → DQZlstPH.js} +1 -1
- package/web/app/immutable/chunks/DRRKH4VP.js +1 -0
- package/web/app/immutable/chunks/{qHChsLZZ.js → DRWqzfiQ.js} +1 -1
- package/web/app/immutable/chunks/{CUMRLgxB.js → DSCqJfZ-.js} +1 -1
- package/web/app/immutable/chunks/{zye35u-t.js → DSjbk-ao.js} +1 -1
- package/web/app/immutable/chunks/{B9mj0qwd.js → DUO0KBjx.js} +1 -1
- package/web/app/immutable/chunks/{D6VfSAVQ.js → DUfE7lx2.js} +1 -1
- package/web/app/immutable/chunks/{DkJkWZTE.js → DUl-h1p3.js} +1 -1
- package/web/app/immutable/chunks/{CbyU6cEf.js → DVu7tZ67.js} +1 -1
- package/web/app/immutable/chunks/{CBafvv8h.js → DWC3_76J.js} +1 -1
- package/web/app/immutable/chunks/{BpEHjU4g.js → DXtdMDwl.js} +1 -1
- package/web/app/immutable/chunks/{Bus1Z5ou.js → DYzJKeX7.js} +1 -1
- package/web/app/immutable/chunks/{D-NrCL67.js → D_pS9hme.js} +1 -1
- package/web/app/immutable/chunks/{Cj_UUgNI.js → DaqXt9wp.js} +1 -1
- package/web/app/immutable/chunks/{_EqQOSVK.js → Dax7ITFa.js} +2 -2
- package/web/app/immutable/chunks/{fr0BmHL-.js → DbIuIgjV.js} +1 -1
- package/web/app/immutable/chunks/{R1s5ARST.js → DbN2kVX-.js} +1 -1
- package/web/app/immutable/chunks/{R2N5eDxY.js → Dbrv6RE-.js} +2 -2
- package/web/app/immutable/chunks/{A4nvdmL6.js → DcsxLfDg.js} +1 -1
- package/web/app/immutable/chunks/{CylWx-GB.js → DfJwQVW8.js} +1 -1
- package/web/app/immutable/chunks/{CADQyVDS.js → DfT1buZq.js} +2 -2
- package/web/app/immutable/chunks/{BGT9uvaQ.js → Dg9ZuAkk.js} +5 -5
- package/web/app/immutable/chunks/{BR2t5nsF.js → DhWcN4bx.js} +2 -2
- package/web/app/immutable/chunks/{rB5UfCey.js → DiD2Cn17.js} +1 -1
- package/web/app/immutable/chunks/{B-kUJzil.js → Dk-rIzdO.js} +1 -1
- package/web/app/immutable/chunks/{B1hj1DGj.js → DkL69EQl.js} +1 -1
- package/web/app/immutable/chunks/{BmBa9vQp.js → DkkmguuG.js} +1 -1
- package/web/app/immutable/chunks/{DtHX0_aW.js → DmC2lRsL.js} +2 -2
- package/web/app/immutable/chunks/{D1bivTve.js → DnsVLkb8.js} +2 -2
- package/web/app/immutable/chunks/{CA2ANaNj.js → Dnz4szur.js} +1 -1
- package/web/app/immutable/chunks/{Df-HaYIr.js → Do5lDWBq.js} +1 -1
- package/web/app/immutable/chunks/{D_hG-oZK.js → Dp08eKy3.js} +1 -1
- package/web/app/immutable/chunks/{Bqm2Rf6d.js → Dq9sK6wY.js} +1 -1
- package/web/app/immutable/chunks/{CMLBE7U6.js → DqMtaSxK.js} +1 -1
- package/web/app/immutable/chunks/{D2dAlclh.js → DqZnld6x.js} +3 -3
- package/web/app/immutable/chunks/{DFr6bn5t.js → DqaHaAl1.js} +4 -4
- package/web/app/immutable/chunks/{9-nUCsGi.js → Dr6C4F1X.js} +1 -1
- package/web/app/immutable/chunks/{D0DIS-cT.js → DrMbcJpA.js} +1 -1
- package/web/app/immutable/chunks/{CPlH-52U.js → Ds4DhRwW.js} +7 -7
- package/web/app/immutable/chunks/{qvt-0QTi.js → DsGwNgOu.js} +3 -3
- package/web/app/immutable/chunks/{B_IEMfS6.js → DteD0Nal.js} +3 -3
- package/web/app/immutable/chunks/DwEChUMY.js +1 -0
- package/web/app/immutable/chunks/{Iq8JI4_0.js → ENlRNbf0.js} +1 -1
- package/web/app/immutable/chunks/{UN8KT7fR.js → FhXVX7Hi.js} +1 -1
- package/web/app/immutable/chunks/{Bp098-aN.js → JMqHRN1q.js} +1 -1
- package/web/app/immutable/chunks/{CGzD6XfW.js → JZ27Qh_j.js} +1 -1
- package/web/app/immutable/chunks/{DL1CE4TH.js → JvjGgKob.js} +1 -1
- package/web/app/immutable/chunks/{B-1iBpaq.js → Jx0QEit0.js} +1 -1
- package/web/app/immutable/chunks/{DWEA_zul.js → K2mnFSgK.js} +1 -1
- package/web/app/immutable/chunks/{BgPtjifd.js → KEjNxHSN.js} +1 -1
- package/web/app/immutable/chunks/{CjTGc2Y5.js → KSJAkSbC.js} +2 -2
- package/web/app/immutable/chunks/KvL2D8eF.js +1 -0
- package/web/app/immutable/chunks/L-jTlD15.js +4 -0
- package/web/app/immutable/chunks/{D_r5h8IL.js → NgjMs0r6.js} +1 -1
- package/web/app/immutable/chunks/{DFBd8tOh.js → OK80LzXp.js} +1 -1
- package/web/app/immutable/chunks/{DISyGoja.js → OltbXq5G.js} +1 -1
- package/web/app/immutable/chunks/{cFozej4U.js → PtFvwTVZ.js} +3 -3
- package/web/app/immutable/chunks/{VdR0DXlW.js → Q1s61YDh.js} +47 -47
- package/web/app/immutable/chunks/{tDUnXf7O.js → QFEvVzf2.js} +1 -1
- package/web/app/immutable/chunks/{D_-ztW_Y.js → SLPWQR3F.js} +1 -1
- package/web/app/immutable/chunks/{C1AEP5wW.js → SxNO1NUM.js} +1 -1
- package/web/app/immutable/chunks/{qjcf4Gb9.js → Tygff_sj.js} +1 -1
- package/web/app/immutable/chunks/{CFNJHO2G.js → UO171Id4.js} +1 -1
- package/web/app/immutable/chunks/{CY-vjmpy.js → VcOG8L0Z.js} +1 -1
- package/web/app/immutable/chunks/{BYMXwcID.js → W2c1MO7q.js} +1 -1
- package/web/app/immutable/chunks/{t7yAUuZn.js → XagMlRFc.js} +2 -2
- package/web/app/immutable/chunks/{DbCFTbwM.js → Z-hUD4Ap.js} +1 -1
- package/web/app/immutable/chunks/{CUNx-_2d.js → aitTA173.js} +4 -4
- package/web/app/immutable/chunks/{qi41b1Ac.js → bLKIt_n4.js} +1 -1
- package/web/app/immutable/chunks/{Hd1u2Z-S.js → eNRNxfO0.js} +3 -3
- package/web/app/immutable/chunks/{VJkCr9xp.js → eRIG79tn.js} +1 -1
- package/web/app/immutable/chunks/{1GGKXNxU.js → e_K38tqB.js} +1 -1
- package/web/app/immutable/chunks/{Dsn82AW0.js → gTjyNX6h.js} +1 -1
- package/web/app/immutable/chunks/{D69ZLPjW.js → hSiYrZoo.js} +1 -1
- package/web/app/immutable/chunks/{DvATy2o1.js → hqZSbKVs.js} +1 -1
- package/web/app/immutable/chunks/{DksUdusM.js → nrAGmqbi.js} +2 -2
- package/web/app/immutable/chunks/{BimRiD6s.js → nxYQz1Bp.js} +1 -1
- package/web/app/immutable/chunks/{D5_auhOU.js → pehcYFWW.js} +2 -2
- package/web/app/immutable/chunks/{Cgn_eC9-.js → rIUowGAi.js} +2 -2
- package/web/app/immutable/chunks/{DvrEye74.js → rei1qYSi.js} +1 -1
- package/web/app/immutable/chunks/{BkFHmpuY.js → wK4T9_HO.js} +1 -1
- package/web/app/immutable/chunks/weHhj1in.js +1 -0
- package/web/app/immutable/chunks/{BvKqDQXM.js → xCaPmms8.js} +1 -1
- package/web/app/immutable/chunks/{CqwiFk32.js → yGw_3prC.js} +1 -1
- package/web/app/immutable/chunks/{NQru5r2h.js → yScsjjST.js} +1 -1
- package/web/app/immutable/entry/{app.jT7Rd2u4.js → app.De5C2NS7.js} +2 -2
- package/web/app/immutable/entry/start.BbOZiO5_.js +1 -0
- package/web/app/immutable/nodes/{0.9lwWQtfB.js → 0.D8lcICdy.js} +1 -1
- package/web/app/immutable/nodes/{1.Ck4yEk2l.js → 1.Bcr9Ac6T.js} +1 -1
- package/web/app/immutable/nodes/{10.C4FEQjC7.js → 10.CdYxZNRv.js} +17 -17
- package/web/app/immutable/nodes/{11.C-vXNNmX.js → 11.DTALKQkg.js} +4 -4
- package/web/app/immutable/nodes/{13.DhKVmEQi.js → 13.DTamgdFN.js} +1 -1
- package/web/app/immutable/nodes/{14.INZu_e5k.js → 14.CzznX4mY.js} +1 -1
- package/web/app/immutable/nodes/{15.DdKSdQ-h.js → 15.BuZ5Ykpn.js} +1 -1
- package/web/app/immutable/nodes/{16.Ad-t6nft.js → 16.D1WCmH9D.js} +1 -1
- package/web/app/immutable/nodes/{17.pLS5JsPi.js → 17.DXnAkOJb.js} +1 -1
- package/web/app/immutable/nodes/{18.DIVxEUeB.js → 18.BBYG39nr.js} +1 -1
- package/web/app/immutable/nodes/{19.BB9LuT5j.js → 19.Bwna1DuW.js} +2 -2
- package/web/app/immutable/nodes/{2.Bp80wZmn.js → 2.BCkphmFm.js} +11 -11
- package/web/app/immutable/nodes/{20.BGTcjiLa.js → 20.DyC7cckU.js} +1 -1
- package/web/app/immutable/nodes/{3.DRJnaOSe.js → 3.CJlWKIE-.js} +1 -1
- package/web/app/immutable/nodes/{4.p67SnElB.js → 4.CDSfo4Q5.js} +1 -1
- package/web/app/immutable/nodes/{5.DRmIJA2c.js → 5.B6hsM1cw.js} +1 -1
- package/web/app/immutable/nodes/{6.Bjeibumi.js → 6.DCm27sfe.js} +2 -2
- package/web/app/immutable/nodes/{7.CjIaxqZ1.js → 7.Dd2x1_y1.js} +1 -1
- package/web/app/immutable/nodes/{8.DAlxovqG.js → 8.C0jzmTGW.js} +1 -1
- package/web/app/immutable/nodes/{9.BKQZzsCi.js → 9.Bj88iDsv.js} +11 -11
- package/web/app/version.json +1 -1
- package/web/index.html +12 -12
- package/web/app/immutable/chunks/-7AqlW5j.js +0 -1
- package/web/app/immutable/chunks/B1lYPzEU.js +0 -1
- package/web/app/immutable/chunks/C14Hgf8a.js +0 -1
- package/web/app/immutable/chunks/CK4eAyad.js +0 -1
- package/web/app/immutable/chunks/DBdkAKrm.js +0 -4
- package/web/app/immutable/chunks/UGr2VEtG.js +0 -1
- package/web/app/immutable/chunks/i8PKWJT0.js +0 -1
- package/web/app/immutable/entry/start.CSuXA93h.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ar=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Hr=(s,t,e)=>t in s?Ar(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Hr(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,bo as v,bw as M,b as W,bp as k,br as L}from"./51_h0jm2.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as A,a7 as O,ay as E,W as z,bn as H,aA as S,bf as J,bi as ut,cb as Lr,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./CJxGDkBm.js";import{i as B}from"./PXCFrn2V.js";import{s as U}from"./DxvSggY5.js";import{c as ct}from"./DGmOjLYi.js";import{aL as Or,e as kr,aU as Xr,a$ as ur,av as D,aX as ze,h as le,aZ as Ur,an as K,D as Yr,ay as $r,aA as Ir,aQ as Y,aJ as Fr,az as j}from"./CdOh_Fmv.js";import{b as lt,e as Br,p as jr}from"./CpPNoOk-.js";function qr(s,t){if(Or(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((p,h)=>{a=p,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 pt,Q,bt,Z,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,pt);d(this,Q,T(!1));d(this,bt,!1);d(this,Z,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,Q))));this.opts=t,this.present=this.opts.open,f(n(this,Q),t.open.current,!0),F(this,pt,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,bt)){F(this,bt,!0);return}et(this,gt,De).call(this),e&&f(n(this,Q),!0),f(n(this,Z),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Z),void 0)})),n(this,pt).run(()=>{e===this.present.current&&(e||f(n(this,Q),!1),f(n(this,Z),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Z))}}pt=new WeakMap,Q=new WeakMap,bt=new WeakMap,Z=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});A(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=O(),p=E(u);{var h=P=>{var w=O(),x=E(w);U(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(p,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),H(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Qr{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=K(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Yr(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(Ur()));d(this,ve,ze(null));m(this,"contentAttachment",K(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=K(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 At,Ht;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Qr("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,At,y(()=>this.machine.state.current==="hidden"));d(this,Ht,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,At))}set isHidden(t){f(n(this,At),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,Ht))}set props(t){f(n(this,Ht),t)}};At=new WeakMap,Ht=new WeakMap;let We=Je;var Lt,Ot;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Lt,T(!1));d(this,Ot,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 Qe(ue.get())}get isVisible(){return o(n(this,Lt))}set isVisible(t){f(n(this,Lt),t,!0)}get props(){return o(n(this,Ot))}set props(t){f(n(this,Ot),t)}};Lt=new WeakMap,Ot=new WeakMap;let pe=Qe;var kt,Xt,Ut,Yt,$t,It;const Ze=class Ze{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Ut,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Yt,y(()=>pr(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 Ze(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,Ut))}set sizes(t){f(n(this,Ut),t)}get thumbRatio(){return o(n(this,Yt))}set thumbRatio(t){f(n(this,Yt),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 Zr({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,Ut=new WeakMap,Yt=new WeakMap,$t=new WeakMap,It=new WeakMap;let Ae=Ze;var Ft,Bt,jt;const Ke=class Ke{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:be(this.computedStyle.paddingLeft),paddingEnd:be(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=K(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 Ke(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 He=Ke;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=K(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:be(this.computedStyle.paddingTop),paddingEnd:be(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 Le=tr;var Qt,Zt,Kt,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,Qt,T(null));d(this,Zt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Kt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>Y({...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})}),Lr(()=>{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,Qt))}set rect(t){f(n(this,Qt),t)}get prevWebkitUserSelect(){return o(n(this,Zt))}set prevWebkitUserSelect(t){f(n(this,Zt),t,!0)}get maxScrollPos(){return o(n(this,Kt))}set maxScrollPos(t){f(n(this,Kt),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)}};Qt=new WeakMap,Zt=new WeakMap,Kt=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 Oe=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=K(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=Kr(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=K(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 Ue=or;function be(s){return s?Number.parseInt(s,10):0}function pr(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=pr(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Zr({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,p=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return br([u,p],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],p=Jr(s,u[0],u[1]);return br([0,a],[0,c])(p)}function br(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 Kr(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});A(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),p=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(()=>Y(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 p()},set child(_){p(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=O(),C=E(g);{var b=_=>{var $=O(),N=E($);U(N,p,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);U(N,()=>u()??J),it($),z(_,$)};B(C,_=>{p()?_(b):_(R,-1)})}return z(s,g),H(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});A(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(()=>Y(a,c.props)),p=y(()=>Y({},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(p)}));var x=nt(w);return U(x,()=>l()??J),it(w),it(P),z(s,P),H(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});A(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Oe.create(),a=y(()=>Y(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=O(),p=E(u);{var h=w=>{var x=O(),g=E(x);U(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);U(g,()=>r()??J),it(x),z(w,x)};B(p,w=>{e()?w(h):w(P,-1)})}return z(s,u),H(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});A(t,!0);let e=k(t,io);const r=new $e,i=He.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});A(t,!0);let e=k(t,lo);const r=new $e,i=Le.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});A(t,!0);let e=k(t,ao);const r=Ae.create();var i={$set:M,$on:(p,h)=>W(t,p,h)},l=O(),a=E(l);{var c=p=>{Sr(p,L(()=>e))},u=p=>{wr(p,L(()=>e))};B(a,p=>{r.scrollbar.opts.orientation.current==="horizontal"?p(c):p(u,-1)})}return z(s,l),H(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=pe.create(),l=y(()=>Y(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=p=>{de(p,L(()=>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 H(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>Y(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=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,L(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return H(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=pe.create(),a=y(()=>Y(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(p=!1){e(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,L(()=>o(a)))},$$slots:{presence:!0}}),H(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});A(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(),b=>r(b))}),u=y(()=>c.root.opts.type.current);var p={get ref(){return r()},set ref(b=null){r(b),S()},get id(){return i()},set id(b=j(e)){i(b),S()},get orientation(){return l()},set orientation(b){l(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},h=O(),P=E(h);{var w=b=>{xr(b,L(()=>a,{get id(){return i()}}))},x=b=>{yr(b,L(()=>a,{get id(){return i()}}))},g=b=>{Pr(b,L(()=>a,{get id(){return i()}}))},C=b=>{de(b,L(()=>a,{get id(){return i()}}))};B(P,b=>{o(u)==="hover"?b(w):o(u)==="scroll"?b(x,1):o(u)==="auto"?b(g,2):o(u)==="always"&&b(C,3)})}return z(s,h),H(p)}var po=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),bo=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});A(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,po);const u=new $e,p=Xe.create({id:D(()=>r()),ref:D(()=>e(),b=>e(b)),mounted:D(()=>u.current)}),h=y(()=>Y(c,p.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(b=null){e(b),S()},get id(){return r()},set id(b){r(b),S()},get child(){return i()},set child(b){i(b),S()},get children(){return l()},set children(b){l(b),S()},get present(){return a()},set present(b){a(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},w=O(),x=E(w);{var g=b=>{var R=O(),_=E(R);U(_,i,()=>({props:o(h)})),z(b,R)},C=b=>{var R=bo();lt(R,()=>({...o(h)}));var _=nt(R);U(_,()=>l()??J),it(R),z(b,R)};B(x,b=>{i()?b(g):b(C,-1)})}return z(s,w),H(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});A(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(p=j(e)){r(p),S()},get ref(){return i()},set ref(p=null){i(p),S()},get forceMount(){return l()},set forceMount(p=!1){l(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};{const p=(P,w)=>{let x=()=>(w?.()).present;Tr(P,L(()=>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:p,$$slots:{presence:!0}})}return H(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});A(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=Ue.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>Y(a,c.props));var p={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=O(),P=E(h);{var w=g=>{var C=O(),b=E(C);U(b,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var b=nt(C);U(b,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),H(p)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});A(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 p={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=O(),P=E(h);{var w=x=>{Cr(x,L(()=>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),H(p)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ye(s,t){if(new.target)return V({component:Ye,...s});A(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=O(),p=E(u);return ct(p,()=>_r,(h,P)=>{P(h,L({"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);U(C,()=>l()??J);var b=fe(C,2);ct(b,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),H(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});A(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),p=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 b=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)},_=O(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,L({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>p,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(b)?`mask-image: ${o(b)}; -webkit-mask-image: ${o(b)};`: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=O(),Wr=E(ar);U(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ye(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ye(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,_),H(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 Ar=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Hr=(s,t,e)=>t in s?Ar(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Hr(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,bo as v,bw as M,b as W,bp as k,br as L}from"./51_h0jm2.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as A,a7 as O,ay as E,W as z,bn as H,aA as S,bf as J,bi as ut,cb as Lr,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./CJxGDkBm.js";import{i as B}from"./PXCFrn2V.js";import{s as U}from"./DxvSggY5.js";import{c as ct}from"./DGmOjLYi.js";import{aL as Or,e as kr,aU as Xr,a$ as ur,av as D,aX as ze,h as le,aZ as Ur,an as K,D as Yr,ay as $r,aA as Ir,aQ as Y,aJ as Fr,az as j}from"./BnA9v3pc.js";import{b as lt,e as Br,p as jr}from"./CpPNoOk-.js";function qr(s,t){if(Or(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((p,h)=>{a=p,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 pt,Q,bt,Z,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,pt);d(this,Q,T(!1));d(this,bt,!1);d(this,Z,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,Q))));this.opts=t,this.present=this.opts.open,f(n(this,Q),t.open.current,!0),F(this,pt,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,bt)){F(this,bt,!0);return}et(this,gt,De).call(this),e&&f(n(this,Q),!0),f(n(this,Z),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Z),void 0)})),n(this,pt).run(()=>{e===this.present.current&&(e||f(n(this,Q),!1),f(n(this,Z),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Z))}}pt=new WeakMap,Q=new WeakMap,bt=new WeakMap,Z=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});A(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=O(),p=E(u);{var h=P=>{var w=O(),x=E(w);U(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(p,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),H(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Qr{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=K(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Yr(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(Ur()));d(this,ve,ze(null));m(this,"contentAttachment",K(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=K(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 At,Ht;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Qr("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,At,y(()=>this.machine.state.current==="hidden"));d(this,Ht,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,At))}set isHidden(t){f(n(this,At),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,Ht))}set props(t){f(n(this,Ht),t)}};At=new WeakMap,Ht=new WeakMap;let We=Je;var Lt,Ot;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Lt,T(!1));d(this,Ot,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 Qe(ue.get())}get isVisible(){return o(n(this,Lt))}set isVisible(t){f(n(this,Lt),t,!0)}get props(){return o(n(this,Ot))}set props(t){f(n(this,Ot),t)}};Lt=new WeakMap,Ot=new WeakMap;let pe=Qe;var kt,Xt,Ut,Yt,$t,It;const Ze=class Ze{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Ut,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Yt,y(()=>pr(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 Ze(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,Ut))}set sizes(t){f(n(this,Ut),t)}get thumbRatio(){return o(n(this,Yt))}set thumbRatio(t){f(n(this,Yt),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 Zr({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,Ut=new WeakMap,Yt=new WeakMap,$t=new WeakMap,It=new WeakMap;let Ae=Ze;var Ft,Bt,jt;const Ke=class Ke{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:be(this.computedStyle.paddingLeft),paddingEnd:be(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=K(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 Ke(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 He=Ke;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=K(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:be(this.computedStyle.paddingTop),paddingEnd:be(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 Le=tr;var Qt,Zt,Kt,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,Qt,T(null));d(this,Zt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Kt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>Y({...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})}),Lr(()=>{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,Qt))}set rect(t){f(n(this,Qt),t)}get prevWebkitUserSelect(){return o(n(this,Zt))}set prevWebkitUserSelect(t){f(n(this,Zt),t,!0)}get maxScrollPos(){return o(n(this,Kt))}set maxScrollPos(t){f(n(this,Kt),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)}};Qt=new WeakMap,Zt=new WeakMap,Kt=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 Oe=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=K(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=Kr(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=K(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 Ue=or;function be(s){return s?Number.parseInt(s,10):0}function pr(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=pr(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Zr({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,p=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return br([u,p],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],p=Jr(s,u[0],u[1]);return br([0,a],[0,c])(p)}function br(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 Kr(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});A(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),p=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(()=>Y(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 p()},set child(_){p(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=O(),C=E(g);{var b=_=>{var $=O(),N=E($);U(N,p,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);U(N,()=>u()??J),it($),z(_,$)};B(C,_=>{p()?_(b):_(R,-1)})}return z(s,g),H(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});A(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(()=>Y(a,c.props)),p=y(()=>Y({},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(p)}));var x=nt(w);return U(x,()=>l()??J),it(w),it(P),z(s,P),H(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});A(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Oe.create(),a=y(()=>Y(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=O(),p=E(u);{var h=w=>{var x=O(),g=E(x);U(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);U(g,()=>r()??J),it(x),z(w,x)};B(p,w=>{e()?w(h):w(P,-1)})}return z(s,u),H(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});A(t,!0);let e=k(t,io);const r=new $e,i=He.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});A(t,!0);let e=k(t,lo);const r=new $e,i=Le.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});A(t,!0);let e=k(t,ao);const r=Ae.create();var i={$set:M,$on:(p,h)=>W(t,p,h)},l=O(),a=E(l);{var c=p=>{Sr(p,L(()=>e))},u=p=>{wr(p,L(()=>e))};B(a,p=>{r.scrollbar.opts.orientation.current==="horizontal"?p(c):p(u,-1)})}return z(s,l),H(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=pe.create(),l=y(()=>Y(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=p=>{de(p,L(()=>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 H(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>Y(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=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,L(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return H(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=pe.create(),a=y(()=>Y(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(p=!1){e(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,L(()=>o(a)))},$$slots:{presence:!0}}),H(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});A(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(),b=>r(b))}),u=y(()=>c.root.opts.type.current);var p={get ref(){return r()},set ref(b=null){r(b),S()},get id(){return i()},set id(b=j(e)){i(b),S()},get orientation(){return l()},set orientation(b){l(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},h=O(),P=E(h);{var w=b=>{xr(b,L(()=>a,{get id(){return i()}}))},x=b=>{yr(b,L(()=>a,{get id(){return i()}}))},g=b=>{Pr(b,L(()=>a,{get id(){return i()}}))},C=b=>{de(b,L(()=>a,{get id(){return i()}}))};B(P,b=>{o(u)==="hover"?b(w):o(u)==="scroll"?b(x,1):o(u)==="auto"?b(g,2):o(u)==="always"&&b(C,3)})}return z(s,h),H(p)}var po=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),bo=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});A(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,po);const u=new $e,p=Xe.create({id:D(()=>r()),ref:D(()=>e(),b=>e(b)),mounted:D(()=>u.current)}),h=y(()=>Y(c,p.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(b=null){e(b),S()},get id(){return r()},set id(b){r(b),S()},get child(){return i()},set child(b){i(b),S()},get children(){return l()},set children(b){l(b),S()},get present(){return a()},set present(b){a(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},w=O(),x=E(w);{var g=b=>{var R=O(),_=E(R);U(_,i,()=>({props:o(h)})),z(b,R)},C=b=>{var R=bo();lt(R,()=>({...o(h)}));var _=nt(R);U(_,()=>l()??J),it(R),z(b,R)};B(x,b=>{i()?b(g):b(C,-1)})}return z(s,w),H(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});A(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(p=j(e)){r(p),S()},get ref(){return i()},set ref(p=null){i(p),S()},get forceMount(){return l()},set forceMount(p=!1){l(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};{const p=(P,w)=>{let x=()=>(w?.()).present;Tr(P,L(()=>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:p,$$slots:{presence:!0}})}return H(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});A(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=Ue.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>Y(a,c.props));var p={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=O(),P=E(h);{var w=g=>{var C=O(),b=E(C);U(b,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var b=nt(C);U(b,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),H(p)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});A(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 p={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=O(),P=E(h);{var w=x=>{Cr(x,L(()=>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),H(p)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ye(s,t){if(new.target)return V({component:Ye,...s});A(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=O(),p=E(u);return ct(p,()=>_r,(h,P)=>{P(h,L({"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);U(C,()=>l()??J);var b=fe(C,2);ct(b,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),H(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});A(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),p=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 b=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)},_=O(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,L({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>p,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(b)?`mask-image: ${o(b)}; -webkit-mask-image: ${o(b)};`: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=O(),Wr=E(ar);U(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ye(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ye(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,_),H(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 O,bo as m,bw as R,b as T,bm as y}from"./51_h0jm2.js";import{bs as U,a7 as Y,ay as q,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as P,bA as S,bS as Q,aD as V,aB as L,c9 as X,aG as Z,bI as tt}from"./CJxGDkBm.js";import{i as C}from"./PXCFrn2V.js";import{E as z}from"./
|
|
1
|
+
import{t as O,bo as m,bw as R,b as T,bm as y}from"./51_h0jm2.js";import{bs as U,a7 as Y,ay as q,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as P,bA as S,bS as Q,aD as V,aB as L,c9 as X,aG as Z,bI as tt}from"./CJxGDkBm.js";import{i as C}from"./PXCFrn2V.js";import{E as z}from"./OK80LzXp.js";import"./CpPNoOk-.js";import"./BCBNqT5t.js";import"./rIUowGAi.js";import{f as A}from"./BnA9v3pc.js";import{F as et,a3 as at,bP as ot}from"./DSQT151l.js";import"./DxvSggY5.js";import{I as st}from"./Bjy4ygfJ.js";import{i as nt,b as rt}from"./BxQi83db.js";var it=L('<span aria-hidden="true"><!></span>'),lt=L('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return O({component:ct,...g});U(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var I={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:R,$on:(t,k)=>T(n,t,k)},H=Y(),$=q(H);{var B=t=>{z(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=P(r);st(e,{size:16}),S(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>y.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{z(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?at:ot);et(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=P(a);{var D=i=>{A(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,N)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};C(l,i=>{o().canWait&&i(D)})}var G=Q(l,2);{var K=i=>{A(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,N)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};C(G,i=>{b()&&i(K)})}S(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};C($,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(I)}const E=Symbol("workspace-home-panel");function kt(g){tt(E,g)}function Mt(){return Z(E)}export{ct as W,Mt as g,kt as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as fe}from"./
|
|
1
|
+
import{g as fe}from"./Z-hUD4Ap.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./aitTA173.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,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:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as q,bo as s,bw as G,bp as J,b as K}from"./51_h0jm2.js";import{bo as L,bs as Q,ca as U,aD as i,ay as V,bx as X,bS as Z,W as B,bn as $,c9 as n,aA as r,be as ee,b$ as te,b_ as ae,bO as se,aB as re}from"./CJxGDkBm.js";import{i as ie}from"./PXCFrn2V.js";import{b as ne,e as oe}from"./CpPNoOk-.js";import{l as de,o as le,k as ue,t as ce,e as fe,a as ge}from"./
|
|
1
|
+
import{t as q,bo as s,bw as G,bp as J,b as K}from"./51_h0jm2.js";import{bo as L,bs as Q,ca as U,aD as i,ay as V,bx as X,bS as Z,W as B,bn as $,c9 as n,aA as r,be as ee,b$ as te,b_ as ae,bO as se,aB as re}from"./CJxGDkBm.js";import{i as ie}from"./PXCFrn2V.js";import{b as ne,e as oe}from"./CpPNoOk-.js";import{l as de,o as le,k as ue,t as ce,e as fe,a as ge}from"./BaGw_bDr.js";import{b as me}from"./NtFyWdpR.js";import"./DKn1sQ32.js";import{a_ as xe}from"./BnA9v3pc.js";var he=new Set(["$$slots","$$events","$$legacy","ref","id","class","value","doesExpandToFit","autoResize","minHeight","maxHeight","noFocusStyle","variant","size","message","error","messageId","aria-describedby","aria-invalid"]),be=re("<textarea></textarea> <!>",1);function ve(E,t){const C=L();if(new.target)return q({component:ve,...E});Q(t,!0);const k=xe();let a=s(t,"ref",15),x=s(t,"id",7),h=s(t,"class",7),c=s(t,"value",15),b=s(t,"doesExpandToFit",7,!1),v=s(t,"autoResize",7,!1),f=s(t,"minHeight",7,80),o=s(t,"maxHeight",7,400),y=s(t,"noFocusStyle",7,!1),g=s(t,"variant",7,"default"),_=s(t,"size",7),z=s(t,"message",7),d=s(t,"error",7),m=s(t,"messageId",23,()=>`${C}-message`),p=s(t,"aria-describedby",7),H=s(t,"aria-invalid",7),M=J(t,he);const I=n(()=>_()??k),l=n(()=>v()||b()),F=n(()=>d()??z()),j=n(()=>[p(),i(F)?m():void 0].filter(Boolean).join(" ")||void 0),A=n(()=>d()?!0:H());function D(){a()?.focus()}function P(){a()?.blur()}function w(){if(!i(l)||!a())return;a(a().style.height="auto",!0);const e=Math.min(Math.max(a().scrollHeight,f()),o());a(a().style.height=`${e}px`,!0),a(a().style.overflowY=a().scrollHeight>o()?"auto":"hidden",!0)}U(()=>{i(l)&&a()&&c()!==void 0&&w()});var N={focus:D,blur:P,get ref(){return a()},set ref(e){a(e),r()},get id(){return x()},set id(e){x(e),r()},get class(){return h()},set class(e){h(e),r()},get value(){return c()},set value(e){c(e),r()},get doesExpandToFit(){return b()},set doesExpandToFit(e=!1){b(e),r()},get autoResize(){return v()},set autoResize(e=!1){v(e),r()},get minHeight(){return f()},set minHeight(e=80){f(e),r()},get maxHeight(){return o()},set maxHeight(e=400){o(e),r()},get noFocusStyle(){return y()},set noFocusStyle(e=!1){y(e),r()},get variant(){return g()},set variant(e="default"){g(e),r()},get size(){return _()},set size(e){_(e),r()},get message(){return z()},set message(e){z(e),r()},get error(){return d()},set error(e){d(e),r()},get messageId(){return m()},set messageId(e=`${C}-message`){m(e),r()},get"aria-describedby"(){return p()},set"aria-describedby"(e){p(e),r()},get"aria-invalid"(){return H()},set"aria-invalid"(e){H(e),r()},$set:G,$on:(e,S)=>K(t,e,S)},R=be(),u=V(R);X(u),ne(u,e=>({id:x(),"data-slot":"textarea","data-size":i(I),"data-variant":g()==="inline"?"inline":void 0,oninput:i(l)?w:void 0,"aria-describedby":i(j),"aria-invalid":i(A),class:e,style:i(l)?`min-height: ${f()}px; max-height: ${o()}px`:void 0,autocorrect:"off",autocapitalize:"off",spellcheck:"false",...M}),[()=>oe(g()==="inline"?le:["type-caption text-foreground placeholder:text-muted-foreground flex w-full rounded-(--radius-medium) border px-3",ue,ce,i(I)==="compact"?"py-1.5":"py-2",i(l)?"resize-none overflow-hidden":"min-h-20"],y()&&de,h())]),me(u,e=>a(e),()=>a());var O=Z(u,2);{var W=e=>{{let S=n(()=>d()?"error":"helper");ge(e,{get id(){return m()},get tone(){return i(S)},children:(Y,ye)=>{ee();var T=te();ae(()=>se(T,i(F))),B(Y,T)},$$slots:{default:!0}})}};ie(O,e=>{i(F)&&e(W)})}return fe(u,c),B(E,R),$(N)}export{ve as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./BX9VoS92.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./ByfLGh4b.js";import{d as y}from"./B0Z-1lwJ.js";import{
|
|
1
|
+
var g=Object.defineProperty;var v=(h,e,s)=>e in h?g(h,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):h[e]=s;var a=(h,e,s)=>v(h,typeof e!="symbol"?e+"":e,s);import{p as c}from"./BX9VoS92.js";import{applyCustomMonacoTheme as f,revertMonacoTheme as I}from"./ByfLGh4b.js";import{d as y}from"./B0Z-1lwJ.js";import{C8 as r}from"./CI4_aI7e.js";const u="custom-vscode-theme",l="theme-preset-id",d="theme-preset-set",o=typeof window<"u",n=class n{constructor(){a(this,"currentTheme","system");a(this,"fixedDarkAppearance",o&&["dock","dock-annotation","dock-capture-editor"].includes(document.documentElement.dataset.auxiliaryWindow??""));a(this,"mediaQuery",null);a(this,"customTheme",null);a(this,"presetDarkTheme",null);a(this,"presetLightTheme",null);a(this,"appliedCSSVariableKeys",[]);a(this,"activePresetId",null);a(this,"handleSystemThemeChange",()=>{this.currentTheme==="system"&&this.applyTheme()});o&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.loadTheme(),this.setupListeners())}static getInstance(){return n.instance||(n.instance=new n),n.instance}static resetInstance(){n.instance?.dispose(),n.instance=null}loadTheme(){const e=r.getItem("theme");e&&(this.currentTheme=e),this.activePresetId=r.getItem(l);const s=r.getItem(d);if(s)try{const{dark:t,light:i}=JSON.parse(s);this.presetDarkTheme=c(t),this.presetLightTheme=c(i)}catch{r.removeItem(d),this.activePresetId=null,r.removeItem(l)}if(!this.presetDarkTheme){const t=r.getItem(u);if(t)try{const i=JSON.parse(t);this.customTheme=c(i)}catch{r.removeItem(u),this.activePresetId=null,r.removeItem(l)}}this.applyTheme()}setupListeners(){this.mediaQuery&&this.mediaQuery.addEventListener("change",this.handleSystemThemeChange)}dispose(){this.mediaQuery?.removeEventListener("change",this.handleSystemThemeChange),this.mediaQuery=null}setTheme(e,s={}){if(!o)return;const{persist:t=!0}=s;this.currentTheme=e,t&&r.setItem("theme",e),this.applyTheme()}getTheme(){return this.currentTheme}setCustomTheme(e){if(!o)return;const s=c(e);this.customTheme=s,this.activePresetId=null,this.presetDarkTheme=null,this.presetLightTheme=null,r.removeItem(l),r.removeItem(d),r.setJSON(u,e),this.applyTheme()}setPresetTheme(e,s,t){o&&(this.presetDarkTheme=c(s),this.presetLightTheme=c(t),this.activePresetId=e,this.customTheme=null,r.removeItem(u),r.setItem(l,e),r.setJSON(d,{dark:s,light:t}),this.applyTheme())}clearCustomTheme(){o&&(this.customTheme=null,this.presetDarkTheme=null,this.presetLightTheme=null,this.activePresetId=null,r.removeItem(u),r.removeItem(l),r.removeItem(d),this.removeCSSVariableOverrides(),this.applyTheme())}hasCustomTheme(){return this.getActiveTheme()!==null}getCustomThemeName(){return this.getActiveTheme()?.name??null}getActivePresetId(){return this.activePresetId}resolveIsDark(){if(this.fixedDarkAppearance)return!0;const e=this.mediaQuery?.matches??!1;return this.currentTheme==="system"?e:this.currentTheme==="dark"}getActiveTheme(){return this.presetDarkTheme&&this.presetLightTheme?this.resolveIsDark()?this.presetDarkTheme:this.presetLightTheme:this.fixedDarkAppearance&&this.customTheme?.type==="light"?null:this.customTheme}applyTheme(){if(!o)return;const e=document.documentElement,s=this.mediaQuery?.matches??!1,t=this.getActiveTheme(),i=this.isDark();e.classList.remove("dark","light"),e.classList.add(i?"dark":"light"),e.style.setProperty("color-scheme",i?"dark":"light"),t?this.applyCSSVariableOverrides(t.cssVariables):this.removeCSSVariableOverrides(),i&&!s&&!t?e.setAttribute("data-theme-override","true"):e.removeAttribute("data-theme-override");const p=document.querySelector('meta[name="theme-color"]');p&&p.setAttribute("content",i?"#0a0a0a":"#ffffff"),t?f(t.monacoTheme):I(i),y("theme-changed",{theme:this.currentTheme,isDark:i,customThemeName:t?.name??null,activePresetId:this.activePresetId,terminalColors:t?.terminalColors??null})}applyCSSVariableOverrides(e){const s=document.documentElement;this.removeCSSVariableOverrides();const t=[];for(const[i,T]of Object.entries(e))s.style.setProperty(i,T),t.push(i);this.appliedCSSVariableKeys=t}removeCSSVariableOverrides(){const e=document.documentElement;for(const s of this.appliedCSSVariableKeys)e.style.removeProperty(s);this.appliedCSSVariableKeys=[]}toggleTheme(){if(!o)return;const e=["light","dark","system"],t=(e.indexOf(this.currentTheme)+1)%e.length;this.setTheme(e[t])}isDark(){return this.fixedDarkAppearance?!0:this.customTheme?this.customTheme.type==="dark":this.resolveIsDark()}};a(n,"instance",null);let m=n;const E={setTheme:(...h)=>m.getInstance().setTheme(...h),getTheme:()=>m.getInstance().getTheme(),setCustomTheme:(...h)=>m.getInstance().setCustomTheme(...h),setPresetTheme:(...h)=>m.getInstance().setPresetTheme(...h),clearCustomTheme:()=>m.getInstance().clearCustomTheme(),hasCustomTheme:()=>m.getInstance().hasCustomTheme(),getCustomThemeName:()=>m.getInstance().getCustomThemeName(),getActivePresetId:()=>m.getInstance().getActivePresetId(),toggleTheme:()=>m.getInstance().toggleTheme(),isDark:()=>m.getInstance().isDark()};export{m as T,E as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as W,bo as l,bw as j,b as z,bm as k,bs as re,bq as ne}from"./51_h0jm2.js";import{bs as H,ca as O,aD as r,bH as a,a7 as ae,ay as se,W as J,bn as L,bV as d,aA as u,c9 as A,bk as ie,bj as oe,a5 as le,bS as ue,bA as ce,b_ as de,aB as fe}from"./CJxGDkBm.js";import{i as G}from"./PXCFrn2V.js";import{f as ge}from"./CpPNoOk-.js";import{b as me}from"./NtFyWdpR.js";import{l as T}from"./ChTqQfQN.js";import{a as B}from"./
|
|
1
|
+
import{t as W,bo as l,bw as j,b as z,bm as k,bs as re,bq as ne}from"./51_h0jm2.js";import{bs as H,ca as O,aD as r,bH as a,a7 as ae,ay as se,W as J,bn as L,bV as d,aA as u,c9 as A,bk as ie,bj as oe,a5 as le,bS as ue,bA as ce,b_ as de,aB as fe}from"./CJxGDkBm.js";import{i as G}from"./PXCFrn2V.js";import{f as ge}from"./CpPNoOk-.js";import{b as me}from"./NtFyWdpR.js";import{l as T}from"./ChTqQfQN.js";import{a as B}from"./DsGwNgOu.js";import{g as V}from"./BoQ8Q7zJ.js";import{J5 as he}from"./CI4_aI7e.js";import{P as be}from"./JvjGgKob.js";function K(M,s){if(new.target)return W({component:K,...M});H(s,!0);let y=l(s,"isOpen",7),I=l(s,"hasMatches",7,!0),S=l(s,"currentMatchIndex",23,()=>-1),n=l(s,"totalMatches",7,0),g=l(s,"focusTrigger",7,0),f=l(s,"initialQuery",7,""),h=l(s,"onFindNext",7),p=l(s,"onFindPrevious",7),N=l(s,"onClose",7),o=d(""),i=d(null);const c=A(()=>r(o)?I()===!1?k.terminal_searchBar_noResults_label():n()>0?k.ui_panelFindBar_matchOf_label({current:S()+1,total:n()}):null:null);let b=d(void 0);O(()=>{if(!y()||r(b)===g())return;a(b,g());const t=f().trim();t&&(a(o,t,!0),h()(t))});var F={get isOpen(){return y()},set isOpen(t){y(t),u()},get hasMatches(){return I()},set hasMatches(t=!0){I(t),u()},get currentMatchIndex(){return S()},set currentMatchIndex(t=-1){S(t),u()},get totalMatches(){return n()},set totalMatches(t=0){n(t),u()},get focusTrigger(){return g()},set focusTrigger(t=0){g(t),u()},get initialQuery(){return f()},set initialQuery(t=""){f(t),u()},get onFindNext(){return h()},set onFindNext(t){h(t),u()},get onFindPrevious(){return p()},set onFindPrevious(t){p(t),u()},get onClose(){return N()},set onClose(t){N(t),u()},$set:j,$on:(t,C)=>z(s,t,C)},v=ae(),x=se(v);{var w=t=>{{let C=A(()=>k.terminal_searchBar_find_placeholder()),P=A(()=>k.terminal_searchBar_noResults_label());be(t,{get placeholder(){return r(C)},autofocus:!0,get focusTrigger(){return g()},get currentMatchIndex(){return S()},get totalMatches(){return n()},get resultText(){return r(c)},get emptyResultText(){return r(P)},resultFormat:"of",disableNavigationWhenNoMatches:!1,class:"top-0 right-0 z-10 rounded-none border-0 border-l border-b border-border bg-background/90 px-2 py-1",inputWrapperClass:"rounded-none",inputClass:"w-[140px] text-[0.8125rem]",onPrevious:()=>p()(r(o)),onNext:()=>h()(r(o)),get onClose(){return N()},get query(){return r(o)},set query(_){a(o,_,!0)},get inputRef(){return r(i)},set inputRef(_){a(i,_,!0)}})}};G(x,t=>{y()&&t(w)})}return J(M,v),L(F)}var ve=fe('<div><!> <div class="terminal-content native-scrollbars svelte-1fgrhx"></div></div>');function pe(M,s){if(new.target)return W({component:pe,...M});H(s,!0);const y=()=>re(N,"$codeFontFamilyCSS",I),[I,S]=ne();let n=l(s,"terminalId",7),g=l(s,"workspaceId",7),f=l(s,"visible",7,!0),h=l(s,"class",7,""),p=l(s,"onStatusChange",7);const N=V();let o,i=null,c=null,b=d(!1),F=d(!1),v=d(!1),x=d(!0),w=d(0),t=d(""),C=d(-1),P=d(0),_={isConnected:!1,isExecuting:!1};O(()=>{(_.isConnected!==r(b)||_.isExecuting!==r(F))&&(_={isConnected:r(b),isExecuting:r(F)},p()?.({isConnected:r(b),isExecuting:r(F)}))}),O(()=>{const e=f();if(i){if(e&&c&&!B.isAttachedTo(c,o)){Q(c);return}i.setVisible(e),e&&requestAnimationFrame(()=>i?.focus())}}),O(()=>{const e=y();i&&i.updateFontFamily(e)});function U(){r(v)?D():(a(t,i?.getSelection().replace(/\u00a0/g," ").replace(/[\t\r\n]+/g," ").trim()??"",!0),a(v,!0),a(w,r(w)+1))}async function Q(e){try{if(a(b,!1),!o){T.error("Terminal container not ready");return}if(!e){T.error("Invalid terminal ID: empty or null");return}e.startsWith("agent-")&&T.warn("Terminal ID appears to be an agent ID",{terminalId:e}),i=await B.getOrCreateTerminal(e,g(),o,{onReady:()=>{a(b,!0),f()&&requestAnimationFrame(()=>i?.focus())},onCommandStart:()=>{a(F,!0)},onCommandFinished:()=>{a(F,!1)},onSearchResultsChange:(m,q)=>{a(C,m,!0),a(P,q,!0),a(x,q>0)},onToggleSearch:U},!1),i.updateFontFamily(V.select(he.state)),i.setVisible(f())}catch(m){T.error("Failed to load terminal:",m)}}function X(e){if(i&&e){const m=i.findNext(e);a(x,m,!0)}}function Y(e){if(i&&e){const m=i.findPrevious(e);a(x,m,!0)}}function D(){a(v,!1),a(x,!0),a(C,-1),a(P,0),i?.clearSearch(),f()&&i?.focus()}ie(()=>{T.info("[Terminal] onMount",{terminalId:n(),hasContainer:!!o}),o&&n()&&c!==n()&&(c=n(),Q(n()))}),oe(()=>{T.info("[Terminal] onDestroy",{terminalId:n()}),n()&&B.detachTerminal(n(),o),c=null}),O(()=>{o&&n()&&c!==n()&&(c&&B.detachTerminal(c,o),c=n(),Q(n()))});var Z={get terminalId(){return n()},set terminalId(e){n(e),u()},get workspaceId(){return g()},set workspaceId(e){g(e),u()},get visible(){return f()},set visible(e=!0){f(e),u()},get class(){return h()},set class(e=""){h(e),u()},get onStatusChange(){return p()},set onStatusChange(e){p(e),u()},$set:j,$on:(e,m)=>z(s,e,m)},R=ve(),E=le(R);{var $=e=>{K(e,{get isOpen(){return r(v)},get hasMatches(){return r(x)},get currentMatchIndex(){return r(C)},get totalMatches(){return r(P)},get focusTrigger(){return r(w)},get initialQuery(){return r(t)},onFindNext:X,onFindPrevious:Y,onClose:D})};G(E,e=>{r(v)&&e($)})}var ee=ue(E,2);me(ee,e=>o=e,()=>o),ce(R),de(()=>ge(R,1,`terminal-container ${h()??""}`,"svelte-1fgrhx")),J(M,R);var te=L(Z);return S(),te}export{pe as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as $,bo as v,bw as w,b as A,br as P,bs as B,bq as W,bp as R}from"./51_h0jm2.js";import{bs as h,b_ as F,aD as p,W as f,bA as M,bn as y,c9 as x,aA as m,aB as g,bV as k,br as q,ca as E,bH as C,a5 as H,bl as L,bS as N,bO as U,ay as V}from"./CJxGDkBm.js";import{f as Y}from"./
|
|
1
|
+
import{t as $,bo as v,bw as w,b as A,br as P,bs as B,bq as W,bp as R}from"./51_h0jm2.js";import{bs as h,b_ as F,aD as p,W as f,bA as M,bn as y,c9 as x,aA as m,aB as g,bV as k,br as q,ca as E,bH as C,a5 as H,bl as L,bS as N,bO as U,ay as V}from"./CJxGDkBm.js";import{f as Y}from"./BnA9v3pc.js";import{Y as j}from"./rIUowGAi.js";import{F as G,cF as J}from"./DSQT151l.js";import{ay as K,aB as Q}from"./CAV1CzzW.js";import{f as X}from"./BqkCNgyL.js";import{g as Z,i as ee}from"./Bjy4ygfJ.js";import{s as te,g as se}from"./CpPNoOk-.js";import{a as z}from"./7i9XTDuo.js";var ae=g('<span class="svelte-dywwvd"></span>'),re=g('<span class="waveform svelte-dywwvd" aria-hidden="true" data-dictation-waveform=""></span>');function T(c,e){if(new.target)return $({component:T,...c});h(e,!0);let n=v(e,"levels",7);const r=x(()=>{const t=n().slice(-z).map(a=>Number.isFinite(a)?Math.min(1,Math.max(0,a)):0);return[...new Array(z-t.length).fill(0),...t]});var l={get levels(){return n()},set levels(t){n(t),m()},$set:w,$on:(t,a)=>A(e,t,a)},o=re();return Z(o,21,()=>p(r),ee,(t,a)=>{var i=ae();let d;F(()=>{te(i,"data-level",p(a)),d=se(i,"",d,{height:`${2+p(a)*12}px`})}),f(t,i)}),M(o),f(c,o),y(l)}var ne=g('<span class="dictation-meter svelte-1oz1rct"><span class="elapsed svelte-1oz1rct" data-dictation-elapsed=""> </span> <!></span>');function I(c,e){if(new.target)return $({component:I,...c});h(e,!0);let n=v(e,"levels",7),r=v(e,"startedAt",7,null),l=v(e,"elapsed",7),o=k(q(Date.now()));E(()=>{if(!(l()!==void 0||r()===null))return C(o,Date.now(),!0),j.subscribe(new Date(r()),()=>C(o,Date.now(),!0),"second")});const t=x(()=>l()??X(r()===null?0:p(o)-r()));var a={get levels(){return n()},set levels(s){n(s),m()},get startedAt(){return r()},set startedAt(s=null){r(s),m()},get elapsed(){return l()},set elapsed(s){l(s),m()},$set:w,$on:(s,u)=>A(e,s,u)},i=ne(),d=H(i),_=L(d,!0),b=N(d,2);return T(b,{get levels(){return n()}}),M(i),F(()=>U(_,p(t))),f(c,i),y(a)}var le=new Set(["$$slots","$$events","$$legacy","class"]),oe=g("<!> <!>",1);function ie(c,e){if(new.target)return $({component:ie,...c});h(e,!0);const n=()=>B(i,"$levels$",l),r=()=>B(d,"$startedAt$",l),[l,o]=W();let t=v(e,"class",7,""),a=R(e,le);const i=K(),d=Q();var _={get class(){return t()},set class(s=""){t(s),m()},$set:w,$on:(s,u)=>A(e,s,u)};{let s=x(()=>`dictation-stop-pill ${t()}`.trim());Y(c,P({variant:"ghost",size:"sm",get class(){return p(s)},"aria-pressed":"true"},()=>a,{children:(u,ce)=>{var D=oe(),S=V(D);G(S,{get icon(){return J},size:14});var O=N(S,2);I(O,{get levels(){return n()},get startedAt(){return r()}}),f(u,D)},$$slots:{default:!0}}))}var b=y(_);return o(),b}export{I as D,ie as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var p=Object.defineProperty;var h=(o,e,t)=>e in o?p(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var a=(o,e,t)=>h(o,typeof e!="symbol"?e+"":e,t);import{bm as c}from"./51_h0jm2.js";import{
|
|
1
|
+
var p=Object.defineProperty;var h=(o,e,t)=>e in o?p(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var a=(o,e,t)=>h(o,typeof e!="symbol"?e+"":e,t);import{bm as c}from"./51_h0jm2.js";import{nU as g,nS as m,nT as d}from"./CI4_aI7e.js";class l{constructor(){a(this,"types",new Map);a(this,"componentLoads",new Map)}register(e){this.types.has(e.type)&&console.warn(`Tab type "${e.type}" is already registered. Overwriting.`),this.types.set(e.type,e),this.componentLoads.delete(e.type)}loadComponent(e){const t=this.types.get(e);if(!t)return Promise.reject(new Error(`Unknown tab type: ${e}`));const s=this.componentLoads.get(e);if(s?.registration===t)return s.promise;const n={registration:t},i="component"in t&&t.component?Promise.resolve(t.component):Promise.resolve().then(()=>t.loadComponent()).then(r=>r.default);return n.promise=i.then(r=>(this.componentLoads.get(e)===n&&(n.component=r),r)).catch(r=>{throw this.componentLoads.get(e)===n&&this.componentLoads.delete(e),r}),this.componentLoads.set(e,n),n.promise}getLoadedComponent(e){const t=this.types.get(e);if(!t)return;if("component"in t)return t.component;const s=this.componentLoads.get(e);return s?.registration===t?s.component:void 0}resetComponentLoad(e){this.componentLoads.delete(e)}get(e){return this.types.get(e)}getAll(){return Array.from(this.types.values())}has(e){return this.types.has(e)}getIcon(e){return this.types.get(e)?.icon}getCategoryLabel(e){return this.types.get(e)?.categoryLabel??c.layout_tabTypes_panel_category()}getSidebarTabId(e){return this.types.get(e)?.sidebarTabId??null}isRenameable(e){return this.types.get(e)?.renameable??!1}getDefaultWidthTier(e){return this.types.get(e)?.defaultWidthTier??g(e)}getDefaultWidth(e,t=0){const s=this.types.get(e);return s?m(s.defaultWidthTier,t):d(e,t)}}const b=new l;export{b as t};
|