@intent-hq/web 2.310.1 → 2.310.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/{DiagramPresentation.fimBl1wP.css → DiagramPresentation.Bfi3xHm0.css} +1 -1
- package/web/app/immutable/chunks/-xK_vQQs.js +1 -0
- package/web/app/immutable/chunks/{CQe4IdgR.js → 189zCzpy.js} +1 -1
- package/web/app/immutable/chunks/6XLvYn_R.js +4 -0
- package/web/app/immutable/chunks/{BIxkRFIj.js → 7LPFBi2V.js} +2 -2
- package/web/app/immutable/chunks/{D81gRUjY.js → 9Al7uANH.js} +1 -1
- package/web/app/immutable/chunks/{xMirTl3q.js → 9Ax53qRD.js} +2 -2
- package/web/app/immutable/chunks/{DQEBW0YT.js → 9U2m-KE4.js} +1 -1
- package/web/app/immutable/chunks/{t9id1Dgw.js → B08PB3d6.js} +1 -1
- package/web/app/immutable/chunks/B1wLVJWc.js +7 -0
- package/web/app/immutable/chunks/B1zCpBoo.js +217 -0
- package/web/app/immutable/chunks/{CsYRAdgB.js → B2-LFLJm.js} +1 -1
- package/web/app/immutable/chunks/{B4dTn6xv.js → B3NZDdp-.js} +1 -1
- package/web/app/immutable/chunks/{r1_PrlQL.js → B3u9yhMd.js} +1 -1
- package/web/app/immutable/chunks/{DzvQOT8_.js → B6ACa1PM.js} +1 -1
- package/web/app/immutable/chunks/{DXOCO_oS.js → B7VxeONz.js} +1 -1
- package/web/app/immutable/chunks/{CEdLQlJ6.js → BGOzArFr.js} +6 -6
- package/web/app/immutable/chunks/{Bfkn2BGM.js → BGSgFd0R.js} +1 -1
- package/web/app/immutable/chunks/{C7oH1dbI.js → BHMk19Fd.js} +1 -1
- package/web/app/immutable/chunks/{DUkegami.js → BRp0P9cF.js} +1 -1
- package/web/app/immutable/chunks/{BtHVXttl.js → BS3KKa6i.js} +5 -5
- package/web/app/immutable/chunks/{Bhcwd2SW.js → BSN7-Qxa.js} +4 -4
- package/web/app/immutable/chunks/{CnmCWFKQ.js → BU1SD4F5.js} +2 -2
- package/web/app/immutable/chunks/BUvLOETw.js +8 -0
- package/web/app/immutable/chunks/{CwH3s3Sg.js → B_CxKeY9.js} +1 -1
- package/web/app/immutable/chunks/{CsASRGy9.js → B_F8B07u.js} +5 -5
- package/web/app/immutable/chunks/{D-9LH0ah.js → B_u6ph9g.js} +1 -1
- package/web/app/immutable/chunks/{CHH2PtZ7.js → BbajLcMi.js} +1 -1
- package/web/app/immutable/chunks/{TQIai6Ne.js → BcGA_XKM.js} +79 -79
- package/web/app/immutable/chunks/Bdj20t_M.js +200 -0
- package/web/app/immutable/chunks/{Si43_nYW.js → BfVF2I5Q.js} +3 -3
- package/web/app/immutable/chunks/{B20hJMKp.js → BgjzIHmr.js} +2 -2
- package/web/app/immutable/chunks/BhFdeIZl.js +1 -0
- package/web/app/immutable/chunks/{CeEeQIAV.js → BjS3bCVA.js} +1 -1
- package/web/app/immutable/chunks/Bl1SUWQK.js +1 -0
- package/web/app/immutable/chunks/BtFywNMt.js +40 -0
- package/web/app/immutable/chunks/{B_D0NLtg.js → BwThkZnv.js} +1 -1
- package/web/app/immutable/chunks/ByGoYv9M.js +1 -0
- package/web/app/immutable/chunks/Bz2AaX7v.js +38 -0
- package/web/app/immutable/chunks/{j0ThtFJc.js → BzqKIdEP.js} +1 -1
- package/web/app/immutable/chunks/{BV9p4X5I.js → C-27EQSK.js} +6 -6
- package/web/app/immutable/chunks/C2FKcF8a.js +99 -0
- package/web/app/immutable/chunks/{D04E4MVv.js → C2ypXh8V.js} +4 -4
- package/web/app/immutable/chunks/{DaEQgqyy.js → C5bjHjx4.js} +1 -1
- package/web/app/immutable/chunks/{C-Mmob1s.js → C64YVcCh.js} +1 -1
- package/web/app/immutable/chunks/{BV7dztYI.js → C7-VQsLR.js} +1 -1
- package/web/app/immutable/chunks/C7ldC6zu.js +41 -0
- package/web/app/immutable/chunks/{CgAIOmc3.js → C7xfOFNZ.js} +4 -4
- package/web/app/immutable/chunks/{phowbgF-.js → CAt8c0ls.js} +1 -1
- package/web/app/immutable/chunks/CC-vc0Sh.js +2 -0
- package/web/app/immutable/chunks/{DjEB6QMF.js → CDmxeAFz.js} +1 -1
- package/web/app/immutable/chunks/{DevHtnbn.js → CLUug_7o.js} +1 -1
- package/web/app/immutable/chunks/{CPvhRhlk.js → CLyqqizl.js} +11 -11
- package/web/app/immutable/chunks/{DQulsXJ7.js → CO5Qz17e.js} +1 -1
- package/web/app/immutable/chunks/{B9r0JXjW.js → COBtdbv4.js} +1 -1
- package/web/app/immutable/chunks/COZ8XMYr.js +2 -0
- package/web/app/immutable/chunks/{qMHHnffV.js → CQK97B3l.js} +1 -1
- package/web/app/immutable/chunks/{CQf-fH5v.js → CYTBw0CY.js} +1 -1
- package/web/app/immutable/chunks/{CUvX4uDB.js → CZLMJ41d.js} +3 -3
- package/web/app/immutable/chunks/{Cuozo7M1.js → CZqaUHhn.js} +1 -1
- package/web/app/immutable/chunks/CeVWos-t.js +1 -0
- package/web/app/immutable/chunks/CepoDpYW.js +1 -0
- package/web/app/immutable/chunks/{DdAxykhC.js → CiBABzvX.js} +1 -1
- package/web/app/immutable/chunks/{D8SVxzqF.js → CjcP6chv.js} +1 -1
- package/web/app/immutable/chunks/{EZw3rvya.js → CkactGV1.js} +30 -30
- package/web/app/immutable/chunks/ClebXGIM.js +141 -0
- package/web/app/immutable/chunks/{BCm8Gasf.js → CnfDI0G9.js} +1 -1
- package/web/app/immutable/chunks/{BEhoKnQT.js → CoiqgZqV.js} +1 -1
- package/web/app/immutable/chunks/{DRMT9vvq.js → CpQksukT.js} +1 -1
- package/web/app/immutable/chunks/CrX2GQl1.js +1 -0
- package/web/app/immutable/chunks/{DCeW9_0X.js → CtDXgUYh.js} +2 -2
- package/web/app/immutable/chunks/CvEzUeZj.js +39 -0
- package/web/app/immutable/chunks/{CCIGQjYf.js → CxP8jrn2.js} +1 -1
- package/web/app/immutable/chunks/{D411lQkp.js → D2XAsGw-.js} +1 -1
- package/web/app/immutable/chunks/D3in5AGo.js +34 -0
- package/web/app/immutable/chunks/D3ma4MWK.js +84 -0
- package/web/app/immutable/chunks/{_F3xl3RI.js → D3p4HGPq.js} +1 -1
- package/web/app/immutable/chunks/D57k4GEE.js +344 -0
- package/web/app/immutable/chunks/{BUSwtV99.js → D5mZ2XGM.js} +1 -1
- package/web/app/immutable/chunks/{D_9AVJm5.js → DE1vhlzN.js} +1 -1
- package/web/app/immutable/chunks/{CWyh7Yhz.js → DI-WSiIl.js} +1 -1
- package/web/app/immutable/chunks/DMfS3QUv.js +213 -0
- package/web/app/immutable/chunks/DMmGJ3th.js +140 -0
- package/web/app/immutable/chunks/DPADHNob.js +3 -0
- package/web/app/immutable/chunks/DPcySxOl.js +24 -0
- package/web/app/immutable/chunks/{ejL3HmTG.js → DQNwUygY.js} +3 -3
- package/web/app/immutable/chunks/{BGLkcG6I.js → DR3ukAe9.js} +2 -2
- package/web/app/immutable/chunks/{BmDskjjc.js → DRKyy5zo.js} +1 -1
- package/web/app/immutable/chunks/DTpCNXVX.js +62 -0
- package/web/app/immutable/chunks/DW02E8JU.js +291 -0
- package/web/app/immutable/chunks/{BKY64haD.js → DbnaPZDp.js} +6 -6
- package/web/app/immutable/chunks/Dhhgf7-r.js +36 -0
- package/web/app/immutable/chunks/{C8CCN24q.js → DjaKy3j_.js} +1 -1
- package/web/app/immutable/chunks/{C0DDaBnV.js → Dk4znOdW.js} +1 -1
- package/web/app/immutable/chunks/{R7gFhaG_.js → Dl1xcl6N.js} +1 -1
- package/web/app/immutable/chunks/Dmv_LV6R.js +106 -0
- package/web/app/immutable/chunks/{BNg3GOxL.js → Dr28se2A.js} +2 -2
- package/web/app/immutable/chunks/Dr_BXnmT.js +169 -0
- package/web/app/immutable/chunks/{ByGsJxdn.js → Dvt2xumc.js} +1 -1
- package/web/app/immutable/chunks/DxHqMweQ.js +27 -0
- package/web/app/immutable/chunks/Dyv7eW7r.js +1 -0
- package/web/app/immutable/chunks/{CBHPIqXg.js → DzDnAGVP.js} +1 -1
- package/web/app/immutable/chunks/{C0Yks_oS.js → IIWxUL8F.js} +1 -1
- package/web/app/immutable/chunks/IjQ_akx8.js +24 -0
- package/web/app/immutable/chunks/{DeopB2f-.js → JFNcUgqI.js} +3 -3
- package/web/app/immutable/chunks/{dtB9lR1B.js → JvGvDA7z.js} +1 -1
- package/web/app/immutable/chunks/{BsP5G0Fo.js → LXPDKlyI.js} +1 -1
- package/web/app/immutable/chunks/{zXW6V5sa.js → M5rEGvXZ.js} +1 -1
- package/web/app/immutable/chunks/{DOVnLHFz.js → O55LMojB.js} +1 -1
- package/web/app/immutable/chunks/{t3bi-ExW.js → O86272iX.js} +2 -2
- package/web/app/immutable/chunks/{D-o9b0Cd.js → PW60rHG1.js} +2 -2
- package/web/app/immutable/chunks/{fULl8IO9.js → UzQ5fjmd.js} +7 -7
- package/web/app/immutable/chunks/VmPClZ6P.js +98 -0
- package/web/app/immutable/chunks/WKN7DEK1.js +292 -0
- package/web/app/immutable/chunks/{7KTbkf4W.js → YuniekLU.js} +2 -2
- package/web/app/immutable/chunks/{DxlwMmI8.js → _Q4NEhG2.js} +1 -1
- package/web/app/immutable/chunks/{DMGAuSgb.js → _sFm91KN.js} +4 -4
- package/web/app/immutable/chunks/{Drg52kVf.js → cF0DaKkd.js} +1 -1
- package/web/app/immutable/chunks/{DOHtPCK9.js → d9OF_ecy.js} +1 -1
- package/web/app/immutable/chunks/eHLf0w_s.js +1 -0
- package/web/app/immutable/chunks/ey5Fwige.js +1 -0
- package/web/app/immutable/chunks/gq2RHuUM.js +120 -0
- package/web/app/immutable/chunks/{BKGPkCRs.js → hJG5qV93.js} +1 -1
- package/web/app/immutable/chunks/jfltPaLX.js +370 -0
- package/web/app/immutable/chunks/{BBTS8ZOM.js → l0v05b1J.js} +3 -3
- package/web/app/immutable/chunks/{CnszEr0a.js → le8iLKoG.js} +1 -1
- package/web/app/immutable/chunks/{CoeuT-m3.js → mCGfnSaU.js} +1 -1
- package/web/app/immutable/chunks/{B0X6Qy4e.js → mNrkfPcL.js} +1 -1
- package/web/app/immutable/chunks/{DLm51UIm.js → tzNFwvLY.js} +1 -1
- package/web/app/immutable/chunks/{Coy9jSf1.js → xL2Hl8pt.js} +1 -1
- package/web/app/immutable/chunks/{qOCErwrn.js → yEkT96At.js} +1 -1
- package/web/app/immutable/chunks/{DhdMM_zt.js → yGxUPrAb.js} +14 -14
- package/web/app/immutable/entry/{app.DlF41taB.js → app.CWgSMPHo.js} +2 -2
- package/web/app/immutable/entry/start.DRM4Ek1S.js +1 -0
- package/web/app/immutable/nodes/{0.BLjNhnkb.js → 0.DsHcmAxw.js} +1 -1
- package/web/app/immutable/nodes/{1.DaghOy3j.js → 1.CkY-7ake.js} +1 -1
- package/web/app/immutable/nodes/{10.CbV_flkh.js → 10.CdTsXOpX.js} +1 -1
- package/web/app/immutable/nodes/{14.N_oC1pv5.js → 14.juvATfIp.js} +1 -1
- package/web/app/immutable/nodes/{16.Cn0uYbJe.js → 16.DuXLhJX1.js} +2 -2
- package/web/app/immutable/nodes/{2.CMERPJYK.js → 2.DL0H4Ehj.js} +8 -8
- package/web/app/immutable/nodes/{3.Dk5w9XeG.js → 3.CsarMzm8.js} +1 -1
- package/web/app/immutable/nodes/{4.CvLiKH0B.js → 4.DOKXGcKD.js} +1 -1
- package/web/app/immutable/nodes/{5.BL5oLCOi.js → 5.5nmYhZgy.js} +1 -1
- package/web/app/immutable/nodes/{6.DiKzgiKt.js → 6.BMO8vjvw.js} +1 -1
- package/web/app/immutable/nodes/{7.CM-hNW3A.js → 7.Rmoc-ypk.js} +1 -1
- package/web/app/immutable/nodes/{8.BThIGSQR.js → 8.Dy5AT1iw.js} +2 -2
- package/web/app/immutable/nodes/{9.D70tN3NX.js → 9.Dtv2dSUT.js} +18 -18
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/-SL67XKV.js +0 -1
- package/web/app/immutable/chunks/351KaJp_.js +0 -24
- package/web/app/immutable/chunks/7Iuyw4Ow.js +0 -106
- package/web/app/immutable/chunks/9ySBq1wF.js +0 -36
- package/web/app/immutable/chunks/B2safKX4.js +0 -1
- package/web/app/immutable/chunks/B8QrskMI.js +0 -139
- package/web/app/immutable/chunks/BCO4VeSA.js +0 -1
- package/web/app/immutable/chunks/BCaDoF8Y.js +0 -1
- package/web/app/immutable/chunks/BEdJCn-8.js +0 -1
- package/web/app/immutable/chunks/BGBb6fI-.js +0 -120
- package/web/app/immutable/chunks/BGQ3htf5.js +0 -1
- package/web/app/immutable/chunks/BKLEAopb.js +0 -7
- package/web/app/immutable/chunks/BKSgn5w-.js +0 -1
- package/web/app/immutable/chunks/BOXqfDS_.js +0 -40
- package/web/app/immutable/chunks/BP_ooGOd.js +0 -24
- package/web/app/immutable/chunks/BQApP15C.js +0 -99
- package/web/app/immutable/chunks/BS6cE8e9.js +0 -231
- package/web/app/immutable/chunks/BTXk2yGf.js +0 -96
- package/web/app/immutable/chunks/BVrOGXf1.js +0 -78
- package/web/app/immutable/chunks/BZoKWA-r.js +0 -96
- package/web/app/immutable/chunks/BbiXTFqz.js +0 -1
- package/web/app/immutable/chunks/BgmKjqUX.js +0 -1
- package/web/app/immutable/chunks/Bk7xBWHf.js +0 -34
- package/web/app/immutable/chunks/BoiNnj2h.js +0 -1
- package/web/app/immutable/chunks/BrVvVCxw.js +0 -1
- package/web/app/immutable/chunks/ByM2DIOs.js +0 -1
- package/web/app/immutable/chunks/ByzYvvQp.js +0 -70
- package/web/app/immutable/chunks/Bz0SnIMO.js +0 -1
- package/web/app/immutable/chunks/C1IwSyrV.js +0 -99
- package/web/app/immutable/chunks/C9gL5x04.js +0 -39
- package/web/app/immutable/chunks/C9nyJoiB.js +0 -41
- package/web/app/immutable/chunks/CBV2Z_QZ.js +0 -89
- package/web/app/immutable/chunks/CDHds8o_.js +0 -3
- package/web/app/immutable/chunks/CHIHAnR-.js +0 -1
- package/web/app/immutable/chunks/CHj2oCmD.js +0 -39
- package/web/app/immutable/chunks/CIXNMjfT.js +0 -206
- package/web/app/immutable/chunks/CKFDW9cI.js +0 -24
- package/web/app/immutable/chunks/CKQlE_M1.js +0 -88
- package/web/app/immutable/chunks/CSBhPNbN.js +0 -206
- package/web/app/immutable/chunks/CSLTsum9.js +0 -38
- package/web/app/immutable/chunks/CSbiiZpm.js +0 -354
- package/web/app/immutable/chunks/CToDhNW4.js +0 -1
- package/web/app/immutable/chunks/CYFK9YEX.js +0 -168
- package/web/app/immutable/chunks/CcGF51wP.js +0 -1
- package/web/app/immutable/chunks/Cd5vVJw4.js +0 -292
- package/web/app/immutable/chunks/CgjSMAIJ.js +0 -120
- package/web/app/immutable/chunks/Ck7B90Kr.js +0 -38
- package/web/app/immutable/chunks/CkAILno9.js +0 -62
- package/web/app/immutable/chunks/CkawHIFZ.js +0 -1
- package/web/app/immutable/chunks/ClXr1b-t.js +0 -8
- package/web/app/immutable/chunks/CmWBRPmR.js +0 -24
- package/web/app/immutable/chunks/Cmo-9vFV.js +0 -1
- package/web/app/immutable/chunks/CoFCa7Mb.js +0 -231
- package/web/app/immutable/chunks/CrcLvVto.js +0 -84
- package/web/app/immutable/chunks/Cs_Q6mos.js +0 -1
- package/web/app/immutable/chunks/CsnLwu9F.js +0 -2
- package/web/app/immutable/chunks/CuYeKLE8.js +0 -8
- package/web/app/immutable/chunks/CvOaoHrI.js +0 -1
- package/web/app/immutable/chunks/CvYzv8kf.js +0 -1
- package/web/app/immutable/chunks/CxRm1vYn.js +0 -342
- package/web/app/immutable/chunks/CyfBUrNA.js +0 -1
- package/web/app/immutable/chunks/D1QKDDLH.js +0 -1
- package/web/app/immutable/chunks/D61DwhDw.js +0 -3
- package/web/app/immutable/chunks/DBAJPVI_.js +0 -1
- package/web/app/immutable/chunks/DBt8jmEX.js +0 -40
- package/web/app/immutable/chunks/DD-T_Om0.js +0 -178
- package/web/app/immutable/chunks/DEOiJZFa.js +0 -168
- package/web/app/immutable/chunks/DHW4IXFj.js +0 -36
- package/web/app/immutable/chunks/DJ0w8Oax.js +0 -129
- package/web/app/immutable/chunks/DJ52BT20.js +0 -1
- package/web/app/immutable/chunks/DK1048Bw.js +0 -129
- package/web/app/immutable/chunks/DZ0nrC9W.js +0 -162
- package/web/app/immutable/chunks/DeRneTJF.js +0 -106
- package/web/app/immutable/chunks/Df6EnPla.js +0 -4
- package/web/app/immutable/chunks/DfMKUxMU.js +0 -30
- package/web/app/immutable/chunks/DkH3yb1j.js +0 -34
- package/web/app/immutable/chunks/Doxgswr3.js +0 -4
- package/web/app/immutable/chunks/Dt53cexP.js +0 -1
- package/web/app/immutable/chunks/Dx6eBL0x.js +0 -1
- package/web/app/immutable/chunks/HP7Asd0t.js +0 -2
- package/web/app/immutable/chunks/HP8lGamR.js +0 -257
- package/web/app/immutable/chunks/HzpfURmp.js +0 -84
- package/web/app/immutable/chunks/PJfe_iA1.js +0 -1
- package/web/app/immutable/chunks/PXMyYXQv.js +0 -1
- package/web/app/immutable/chunks/Qi3HrsAm.js +0 -1
- package/web/app/immutable/chunks/S1FanOB0.js +0 -162
- package/web/app/immutable/chunks/SuMU9B9i.js +0 -1
- package/web/app/immutable/chunks/UaGv-ChR.js +0 -257
- package/web/app/immutable/chunks/YqyEOqRv.js +0 -178
- package/web/app/immutable/chunks/_MGNV7ZN.js +0 -338
- package/web/app/immutable/chunks/_lZu5Dth.js +0 -292
- package/web/app/immutable/chunks/gzjZWAx8.js +0 -62
- package/web/app/immutable/chunks/hqSEunOk.js +0 -15
- package/web/app/immutable/chunks/nGCCQCpO.js +0 -1
- package/web/app/immutable/chunks/o-kBqlaj.js +0 -7
- package/web/app/immutable/chunks/opO2fBQB.js +0 -1
- package/web/app/immutable/chunks/pdFamTTi.js +0 -7
- package/web/app/immutable/chunks/rEI8JpP3.js +0 -1
- package/web/app/immutable/chunks/s5P9UVzf.js +0 -1
- package/web/app/immutable/chunks/sIHUXgeh.js +0 -41
- package/web/app/immutable/entry/start.CCtO40vu.js +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import{g as ze}from"./BzqKIdEP.js";import{s as Xe}from"./Dyv7eW7r.js";import{c as m,a7 as Be,bg as Je,a6 as Ze,bf as et,a5 as tt,bi as st,a9 as it,a8 as Ne,aN as qe,w as rt,aB as nt,ba as at,an as lt,aY as ct,_ as ot,ac as ht,b5 as ut,bC as ft}from"./D57k4GEE.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
|
|
2
|
+
`+y.showPosition()+`
|
|
3
|
+
Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(I==Pe?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:Ie,expected:_e})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(N[0]){case 1:o.push(I),E.push(y.yytext),t.push(y.yylloc),o.push(N[1]),I=null,$e=y.yyleng,l=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},je&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[l,$e,ge,G.yy,N[1],E,t].concat(We)),typeof ke<"u")return ke;F&&(o=o.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[N[1]][0]),E.push(J.$),t.push(J._$),Ye=de[o[o.length-2]][o[o.length-1]],o.push(Ye);break;case 3:return!0}}return!0},"parse")},He=(function(){var $={EOF:1,parseError:m(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:m(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.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),i},"input"),unput:m(function(i){var n=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=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),o.length-1&&(this.yylineno-=o.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(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
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
5
|
+
`+n+"^"},"showPosition"),test_match:m(function(i,n){var o,s,E;if(this.options.backtrack_lexer&&(E={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(E.yylloc.range=this.yylloc.range.slice(0))),s=i[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+i[0].length},this.yytext+=i[0],this.match+=i[0],this.matches=i,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(i[0].length),this.matched+=i[0],o=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var t in E)this[t]=E[t];return!1}return!1},"test_match"),next:m(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,n,o,s;this._more||(this.yytext="",this.match="");for(var E=this._currentRules(),t=0;t<E.length;t++)if(o=this._input.match(this.rules[E[t]]),o&&(!n||o[0].length>n[0].length)){if(n=o,s=t,this.options.backtrack_lexer){if(i=this.test_match(o,E[t]),i!==!1)return i;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(i=this.test_match(n,E[s]),i!==!1?i:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:m(function(){var n=this.next();return n||this.lex()},"lex"),begin:m(function(n){this.conditionStack.push(n)},"begin"),popState:m(function(){var n=this.conditionStack.length-1;return n>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:m(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:m(function(n){return n=this.conditionStack.length-1-Math.abs(n||0),n>=0?this.conditionStack[n]:"INITIAL"},"topState"),pushState:m(function(n){this.begin(n)},"pushState"),stateStackSize:m(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:m(function(n,o,s,E){switch(s){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;case 60:return this.begin("style"),74;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return o.yytext=o.yytext.trim(),89;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return $})();Se.lexer=He;function Re(){this.yy={}}return m(Re,"Parser"),Re.prototype=Se,Se.Parser=Re,new Re})();Ce.parser=Ce;var mt=Ce,Z,dt=(Z=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=Je,this.getAccTitle=Ze,this.setAccDescription=et,this.getAccDescription=tt,this.setDiagramTitle=st,this.getDiagramTitle=it,this.getConfig=m(()=>Ne().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}getDirection(){return this.direction}setDirection(r){this.direction=r}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(r,u){return this.requirements.has(r)||this.requirements.set(r,{name:r,type:u,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(r)}getRequirements(){return this.requirements}setNewReqId(r){this.latestRequirement!==void 0&&(this.latestRequirement.requirementId=r)}setNewReqText(r){this.latestRequirement!==void 0&&(this.latestRequirement.text=r)}setNewReqRisk(r){this.latestRequirement!==void 0&&(this.latestRequirement.risk=r)}setNewReqVerifyMethod(r){this.latestRequirement!==void 0&&(this.latestRequirement.verifyMethod=r)}addElement(r){return this.elements.has(r)||(this.elements.set(r,{name:r,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),qe.info("Added new element: ",r)),this.resetLatestElement(),this.elements.get(r)}getElements(){return this.elements}setNewElementType(r){this.latestElement!==void 0&&(this.latestElement.type=r)}setNewElementDocRef(r){this.latestElement!==void 0&&(this.latestElement.docRef=r)}addRelationship(r,u,h){this.relations.push({type:r,src:u,dst:h})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,rt()}setCssStyle(r,u){for(const h of r){const f=this.requirements.get(h)??this.elements.get(h);if(!u||!f)return;for(const a of u)a.includes(",")?f.cssStyles.push(...a.split(",")):f.cssStyles.push(a)}}setClass(r,u){for(const h of r){const f=this.requirements.get(h)??this.elements.get(h);if(f)for(const a of u){f.classes.push(a);const c=this.classes.get(a)?.styles;c&&f.cssStyles.push(...c)}}}defineClass(r,u){for(const h of r){let f=this.classes.get(h);f===void 0&&(f={id:h,styles:[],textStyles:[]},this.classes.set(h,f)),u&&u.forEach(function(a){if(/color/.exec(a)){const c=a.replace("fill","bgFill");f.textStyles.push(c)}f.styles.push(a)}),this.requirements.forEach(a=>{a.classes.includes(h)&&a.cssStyles.push(...u.flatMap(c=>c.split(",")))}),this.elements.forEach(a=>{a.classes.includes(h)&&a.cssStyles.push(...u.flatMap(c=>c.split(",")))})}}getClasses(){return this.classes}getData(){const r=Ne(),u=[],h=[];for(const a of this.requirements.values()){const c=a;c.id=a.name,c.cssStyles=a.cssStyles,c.cssClasses=a.classes.join(" "),c.shape="requirementBox",c.look=r.look,c.colorIndex=u.length,u.push(c)}for(const a of this.elements.values()){const c=a;c.shape="requirementBox",c.look=r.look,c.id=a.name,c.cssStyles=a.cssStyles,c.cssClasses=a.classes.join(" "),c.colorIndex=u.length,u.push(c)}let f=0;for(const a of this.relations){const c=a.type===this.Relationships.CONTAINS,S={id:`${a.src}-${a.dst}-${f++}`,start:this.requirements.get(a.src)?.name??this.elements.get(a.src)?.name,end:this.requirements.get(a.dst)?.name??this.elements.get(a.dst)?.name,label:`<<${a.type}>>`,classes:"relationshipLine",style:["fill:none",c?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:c?"normal":"dashed",arrowTypeStart:c?"requirement_contains":"",arrowTypeEnd:c?"":"requirement_arrow",look:r.look,labelType:"markdown"};h.push(S)}return{nodes:u,edges:h,other:{},config:r,direction:this.getDirection()}}},m(Z,"RequirementDB"),Z),Et=m(()=>{const e=Be(),{theme:r,themeVariables:u}=e,{bkgColorArray:h,borderColorArray:f}=u;if(!nt(r,f))return"";const a=at(e.look);let c="";const S=lt(h);for(let d=0;d<ct(f);d++){const _=f[d],b=S?`fill: ${h[d%h.length]};`:"";c+=`
|
|
7
|
+
|
|
8
|
+
[data-look="${a}"][data-color-id="color-${d}"].node path {
|
|
9
|
+
stroke: ${_};
|
|
10
|
+
${b}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[data-look="${a}"][data-color-id="color-${d}"].node rect {
|
|
14
|
+
stroke: ${_};
|
|
15
|
+
${b}
|
|
16
|
+
}
|
|
17
|
+
`}return c},"genColor"),pt=m(e=>{const r=Be(),{look:u,themeVariables:h}=r,{requirementEdgeLabelBackground:f}=h;return`
|
|
18
|
+
${Et()}
|
|
19
|
+
marker {
|
|
20
|
+
fill: ${e.relationColor};
|
|
21
|
+
stroke: ${e.relationColor};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
marker.cross {
|
|
25
|
+
stroke: ${e.lineColor};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
font-family: ${e.fontFamily};
|
|
30
|
+
font-size: ${e.fontSize};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.reqBox {
|
|
34
|
+
fill: ${e.requirementBackground};
|
|
35
|
+
fill-opacity: 1.0;
|
|
36
|
+
stroke: ${e.requirementBorderColor};
|
|
37
|
+
stroke-width: ${e.requirementBorderSize};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.reqTitle, .reqLabel{
|
|
41
|
+
fill: ${e.requirementTextColor};
|
|
42
|
+
}
|
|
43
|
+
.reqLabelBox {
|
|
44
|
+
fill: ${e.relationLabelBackground};
|
|
45
|
+
fill-opacity: 1.0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.req-title-line {
|
|
49
|
+
stroke: ${e.requirementBorderColor};
|
|
50
|
+
stroke-width: ${e.requirementBorderSize};
|
|
51
|
+
}
|
|
52
|
+
.relationshipLine {
|
|
53
|
+
stroke: ${e.relationColor};
|
|
54
|
+
stroke-width: ${u==="neo"?e.strokeWidth:"1px"};
|
|
55
|
+
}
|
|
56
|
+
.relationshipLabel {
|
|
57
|
+
fill: ${e.relationLabelColor};
|
|
58
|
+
}
|
|
59
|
+
.edgeLabel {
|
|
60
|
+
background-color: ${e.edgeLabelBackground};
|
|
61
|
+
}
|
|
62
|
+
.edgeLabel .label rect {
|
|
63
|
+
fill: ${e.edgeLabelBackground};
|
|
64
|
+
}
|
|
65
|
+
.edgeLabel .label text {
|
|
66
|
+
fill: ${e.relationLabelColor};
|
|
67
|
+
}
|
|
68
|
+
.divider {
|
|
69
|
+
stroke: ${e.nodeBorder};
|
|
70
|
+
stroke-width: 1;
|
|
71
|
+
}
|
|
72
|
+
.label {
|
|
73
|
+
font-family: ${e.fontFamily};
|
|
74
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
75
|
+
}
|
|
76
|
+
.label text,span {
|
|
77
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
78
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
79
|
+
}
|
|
80
|
+
.labelBkg {
|
|
81
|
+
background-color: ${f??e.edgeLabelBackground};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
`},"getStyles"),Rt=pt,Qe={};ot(Qe,{draw:()=>gt});var gt=m(async function(e,r,u,h){qe.info("REF0:"),qe.info("Drawing requirement diagram (unified)",r);const{securityLevel:f,state:a,layout:c,look:S}=Ne(),d=h.db.getData(),_=ze(r,f);d.type=h.type,d.layoutAlgorithm=ht(c),d.nodeSpacing=a?.nodeSpacing??50,d.rankSpacing=a?.rankSpacing??50,d.markers=S==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],d.diagramId=r,await ut(d,_);const b=8;ft.insertTitle(_,"requirementDiagramTitleText",a?.titleTopMargin??25,h.db.getDiagramTitle()),Xe(_,b,"requirementDiagram",a?.useMaxWidth??!0)},"draw"),bt={parser:mt,get db(){return new dt},renderer:Qe,styles:Rt};export{bt as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./B8o4lNgr.js";import{j as Be}from"./DmsDslNo.js";import{C as be,D as pe,c as Me,E as Ee}from"./DzMmhJrp.js";import{s as Re}from"./TQIai6Ne.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|
|
1
|
+
import"./B8o4lNgr.js";import{j as Be}from"./DmsDslNo.js";import{C as be,D as pe,c as Me,E as Ee}from"./DzMmhJrp.js";import{s as Re}from"./BcGA_XKM.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
|