@intent-hq/web 2.286.6 → 2.286.7
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/{D9cnJrSW.js → -Dy1J8Uz.js} +1 -1
- package/web/app/immutable/chunks/{CDIF0OfQ.js → -k9dBFge.js} +1 -1
- package/web/app/immutable/chunks/{9ClBlTfm.js → 02c-_h5D.js} +1 -1
- package/web/app/immutable/chunks/{BkAXSVKy.js → 0B3uVNNW.js} +3 -3
- package/web/app/immutable/chunks/{B0Gt7kIL.js → 12tzu5qf.js} +1 -1
- package/web/app/immutable/chunks/{BqyVFgAs.js → 2g-z97cY.js} +2 -2
- package/web/app/immutable/chunks/{BOWg7-2e.js → 2p9neXSj.js} +1 -1
- package/web/app/immutable/chunks/{0r1nZ0pd.js → 3iHuHMbX.js} +1 -1
- package/web/app/immutable/chunks/{Bf_wzw9l.js → 5OGBf-lA.js} +1 -1
- package/web/app/immutable/chunks/{BgEmsjjm.js → 5qlCbG7W.js} +1 -1
- package/web/app/immutable/chunks/5vqEW8Xk.js +1 -0
- package/web/app/immutable/chunks/{DhS9D4LQ.js → AEZrGthR.js} +1 -1
- package/web/app/immutable/chunks/{C-ssPvFA.js → B-u7UaKm.js} +1 -1
- package/web/app/immutable/chunks/{iatFKKcG.js → B1HqsJ1G.js} +1 -1
- package/web/app/immutable/chunks/{CQORNg-m.js → B3n8DMr5.js} +1 -1
- package/web/app/immutable/chunks/{B63QHGwa.js → B4mFVrsF.js} +1 -1
- package/web/app/immutable/chunks/{BDBiopCg.js → B56I2ZJ_.js} +1 -1
- package/web/app/immutable/chunks/{fNyUCzvZ.js → B643fTLK.js} +1 -1
- package/web/app/immutable/chunks/{Cx2xiRhw.js → B70r_bD0.js} +1 -1
- package/web/app/immutable/chunks/{ToNKgdbF.js → B9ynThFz.js} +1 -1
- package/web/app/immutable/chunks/{Djp3xwow.js → BFe-YAfF.js} +1 -1
- package/web/app/immutable/chunks/{BDWsa0R1.js → BGcT2nxg.js} +1 -1
- package/web/app/immutable/chunks/{CNcEmlm6.js → BIG6Pj6U.js} +1 -1
- package/web/app/immutable/chunks/{O8tyTzO7.js → BK4Akfwd.js} +1 -1
- package/web/app/immutable/chunks/{-RQcYil7.js → BKHxP3dh.js} +1 -1
- package/web/app/immutable/chunks/{B_QXRwJt.js → BMAsOD7J.js} +1 -1
- package/web/app/immutable/chunks/{CK9zkrOb.js → BN2G03FP.js} +1 -1
- package/web/app/immutable/chunks/{nSL7q58f.js → BNboIXBF.js} +1 -1
- package/web/app/immutable/chunks/{Ma3kLBUv.js → BQoQ6YRb.js} +1 -1
- package/web/app/immutable/chunks/{Cen83yhL.js → BRyc8ruL.js} +1 -1
- package/web/app/immutable/chunks/{BD0qm6Jz.js → BSjUANzw.js} +1 -1
- package/web/app/immutable/chunks/{zbG5hgeS.js → BULsKVcN.js} +1 -1
- package/web/app/immutable/chunks/{CMwUdxOS.js → BVCutUbP.js} +1 -1
- package/web/app/immutable/chunks/{CJKvnCar.js → BYBYRLX4.js} +1 -1
- package/web/app/immutable/chunks/{Hj5cJ9Kq.js → BYSoxiJG.js} +1 -1
- package/web/app/immutable/chunks/{BU-Qzzbf.js → BZA0d6L5.js} +7 -7
- package/web/app/immutable/chunks/{D4K4NRzX.js → BZO6xoHZ.js} +1 -1
- package/web/app/immutable/chunks/{Bt6n6cEl.js → Ba8xdboa.js} +2 -2
- package/web/app/immutable/chunks/{DLF1u3VG.js → BaJAb_aS.js} +1 -1
- package/web/app/immutable/chunks/{BQNvd14e.js → Banmthwv.js} +1 -1
- package/web/app/immutable/chunks/{CbcwGUfi.js → BdyPjVZK.js} +1 -1
- package/web/app/immutable/chunks/{CBW2aSyU.js → BeDkb_vZ.js} +1 -1
- package/web/app/immutable/chunks/{BcwQng3i.js → BeQnGCk4.js} +1 -1
- package/web/app/immutable/chunks/{c6-JywCq.js → BfSS1MK5.js} +1 -1
- package/web/app/immutable/chunks/{DFxtmloM.js → BgCl1ZYD.js} +1 -1
- package/web/app/immutable/chunks/{BozSuCN-.js → Bh9DwXQ5.js} +1 -1
- package/web/app/immutable/chunks/{BRJm-WBN.js → Bi78eYSt.js} +1 -1
- package/web/app/immutable/chunks/{DuNULkx8.js → BiXOLZjm.js} +1 -1
- package/web/app/immutable/chunks/{DJsNWuz1.js → Bk33Ri54.js} +1 -1
- package/web/app/immutable/chunks/{DCuTumtg.js → Boxg4-Ef.js} +1 -1
- package/web/app/immutable/chunks/{nFRRHcr0.js → BqDXJV4b.js} +3 -3
- package/web/app/immutable/chunks/{BdQglECS.js → Bwr2Pz45.js} +5 -5
- package/web/app/immutable/chunks/{BqOdnG_o.js → Bx2W_o-K.js} +1 -1
- package/web/app/immutable/chunks/{BmUO-ZCq.js → ByuNUKg7.js} +1 -1
- package/web/app/immutable/chunks/{DNfhZLeN.js → BzKpdh0S.js} +1 -1
- package/web/app/immutable/chunks/{BHj4gB0Y.js → C0Ic7MWu.js} +1 -1
- package/web/app/immutable/chunks/{CWlglyI_.js → C1III1VB.js} +1 -1
- package/web/app/immutable/chunks/{DSeXOn44.js → C2fCoIum.js} +3 -3
- package/web/app/immutable/chunks/{DeoBRQb4.js → C4obf3FV.js} +1 -1
- package/web/app/immutable/chunks/{DT7mlQbt.js → C6TLZd79.js} +1 -1
- package/web/app/immutable/chunks/{DyMSTER3.js → C78xsmeY.js} +1 -1
- package/web/app/immutable/chunks/{DUlDadB7.js → C9W_2OCR.js} +1 -1
- package/web/app/immutable/chunks/{Cwf2cl-G.js → CCUNfXiW.js} +1 -1
- package/web/app/immutable/chunks/{BHfO1DIu.js → CDNrBqJE.js} +1 -1
- package/web/app/immutable/chunks/{DsHgoHUF.js → CEKKTkcw.js} +1 -1
- package/web/app/immutable/chunks/{CpoXGd1l.js → CFWaKBsU.js} +1 -1
- package/web/app/immutable/chunks/{nvxwf4ON.js → CH9FyXIs.js} +1 -1
- package/web/app/immutable/chunks/{A4XkqMhx.js → CKKymoqy.js} +2 -2
- package/web/app/immutable/chunks/{D4mPaBv_.js → CNZrw80e.js} +1 -1
- package/web/app/immutable/chunks/{CI2vptqu.js → CNe7_Zim.js} +1 -1
- package/web/app/immutable/chunks/{UeBI2etB.js → CNrfoUaS.js} +1 -1
- package/web/app/immutable/chunks/{BQtqWlTh.js → CO44rX6y.js} +1 -1
- package/web/app/immutable/chunks/{vEO0YrEb.js → CPlNvpU2.js} +1 -1
- package/web/app/immutable/chunks/{D4bEOXCz.js → CQ2o3hEg.js} +1 -1
- package/web/app/immutable/chunks/{CKt2_xHZ.js → CRR1-abH.js} +1 -1
- package/web/app/immutable/chunks/{BILkcOal.js → CRpqpU9i.js} +1 -1
- package/web/app/immutable/chunks/{CRcvhCKH.js → CThN_Nux.js} +1 -1
- package/web/app/immutable/chunks/{JQvt9PlE.js → CUZik8MY.js} +1 -1
- package/web/app/immutable/chunks/{BDoT1t-p.js → CUvkIDMd.js} +1 -1
- package/web/app/immutable/chunks/{BIbYnTWt.js → CV4TfELY.js} +1 -1
- package/web/app/immutable/chunks/{DVo_qBAn.js → CVbWY19o.js} +1 -1
- package/web/app/immutable/chunks/{DqBMLWU7.js → CVsyQSuR.js} +1 -1
- package/web/app/immutable/chunks/{Dx178k_p.js → CZFEnK7L.js} +1 -1
- package/web/app/immutable/chunks/{CVoU6PUX.js → CaXb-0G5.js} +1 -1
- package/web/app/immutable/chunks/{UEagjF1v.js → Cbq2nPyy.js} +1 -1
- package/web/app/immutable/chunks/{DfV-BwK_.js → Cdh5YKSf.js} +1 -1
- package/web/app/immutable/chunks/{DT0VuQYh.js → Cdro-GoI.js} +1 -1
- package/web/app/immutable/chunks/{CK0ufYxF.js → CfKkOn3Z.js} +1 -1
- package/web/app/immutable/chunks/{0f-s2juB.js → ChPWwTDQ.js} +1 -1
- package/web/app/immutable/chunks/{TYA52UmK.js → ChY430zO.js} +1 -1
- package/web/app/immutable/chunks/{7HlTiSuy.js → CkH1GUS-.js} +1 -1
- package/web/app/immutable/chunks/{Dk8G7cWG.js → Ck_IcW3b.js} +1 -1
- package/web/app/immutable/chunks/{BBh1sUFa.js → Cm0fpyvx.js} +1 -1
- package/web/app/immutable/chunks/{1NwaCzDM.js → CmoN_TBo.js} +1 -1
- package/web/app/immutable/chunks/{BfznpdOe.js → CqAhHv8R.js} +1 -1
- package/web/app/immutable/chunks/{Daox7oGL.js → Crqv6_Qw.js} +1 -1
- package/web/app/immutable/chunks/{BhDscTzk.js → CsDWwr46.js} +1 -1
- package/web/app/immutable/chunks/{CZjKZKfa.js → Csf9C1Gi.js} +1 -1
- package/web/app/immutable/chunks/{D0PA_nH7.js → CtUWJPuQ.js} +1 -1
- package/web/app/immutable/chunks/{eo951CKY.js → CtVWxtuL.js} +1 -1
- package/web/app/immutable/chunks/{DP3PzV04.js → CuS63k_X.js} +1 -1
- package/web/app/immutable/chunks/{Bct-Hddg.js → Cw7D1o52.js} +1 -1
- package/web/app/immutable/chunks/{D4eQ7sOE.js → CwnQ-Cai.js} +1 -1
- package/web/app/immutable/chunks/{EsMfrwLq.js → Cydmwi9G.js} +2 -2
- package/web/app/immutable/chunks/{BdI6Ug1p.js → D1G_x58n.js} +1 -1
- package/web/app/immutable/chunks/{BFSad-yQ.js → D1nqIQGn.js} +1 -1
- package/web/app/immutable/chunks/{BH2o-WfJ.js → DCj4RtfU.js} +1 -1
- package/web/app/immutable/chunks/{CWwUPJCZ.js → DDfuADvu.js} +1 -1
- package/web/app/immutable/chunks/{Stf6v5E4.js → DEWWczTo.js} +1 -1
- package/web/app/immutable/chunks/{CAhEBid_.js → DF1PAOvq.js} +1 -1
- package/web/app/immutable/chunks/{BVXSC6-x.js → DFLHL1-R.js} +1 -1
- package/web/app/immutable/chunks/{_9I4ps54.js → DFSszeZt.js} +1 -1
- package/web/app/immutable/chunks/{DW0ajEwO.js → DG2lnbYM.js} +1 -1
- package/web/app/immutable/chunks/{Bhjdd-i5.js → DGdd6uAe.js} +1 -1
- package/web/app/immutable/chunks/{D5XOfqg3.js → DHnu3R8W.js} +1 -1
- package/web/app/immutable/chunks/{OmIIAf5Z.js → DHxfVjMA.js} +1 -1
- package/web/app/immutable/chunks/{BLfu6vv0.js → DIpVdU4q.js} +1 -1
- package/web/app/immutable/chunks/{Blfa2zB3.js → DIx1ja7a.js} +1 -1
- package/web/app/immutable/chunks/{DsLNpgNd.js → DMYii2XW.js} +1 -1
- package/web/app/immutable/chunks/{DjgUwB1-.js → DQcBws1v.js} +1 -1
- package/web/app/immutable/chunks/{BarmoK9n.js → DR5N6gxc.js} +1 -1
- package/web/app/immutable/chunks/{B3l27U-X.js → DTb6DltY.js} +1 -1
- package/web/app/immutable/chunks/{PoQyYVPo.js → DWeK6bEj.js} +1 -1
- package/web/app/immutable/chunks/{Dtc6gYfR.js → DZOobfUN.js} +4 -4
- package/web/app/immutable/chunks/{DzcYojla.js → D_q___oT.js} +1 -1
- package/web/app/immutable/chunks/{B7VDtTYH.js → D_r-L7lJ.js} +1 -1
- package/web/app/immutable/chunks/{CwVfhwcK.js → Db4RIna0.js} +1 -1
- package/web/app/immutable/chunks/{bLmMh6bM.js → DbmW02Ql.js} +1 -1
- package/web/app/immutable/chunks/{BqYhHrt6.js → DeS52M4Z.js} +1 -1
- package/web/app/immutable/chunks/{_xXc1YI4.js → DfZPm6Cc.js} +1 -1
- package/web/app/immutable/chunks/{Lr-JMIRR.js → Dk4lt7dn.js} +1 -1
- package/web/app/immutable/chunks/{dfYnXgxY.js → DkjTJRm4.js} +1 -1
- package/web/app/immutable/chunks/{Eecaa39u.js → Dnvm7hnM.js} +1 -1
- package/web/app/immutable/chunks/{BJl8RzPn.js → DoSHDPDx.js} +1 -1
- package/web/app/immutable/chunks/{B2YBz8zb.js → DpWsILta.js} +1 -1
- package/web/app/immutable/chunks/{BPC4OG-3.js → DtGFNbs1.js} +1 -1
- package/web/app/immutable/chunks/{BzEWj2WD.js → DxLAMi4N.js} +1 -1
- package/web/app/immutable/chunks/{y0vuEHBW.js → DxSLZdpF.js} +1 -1
- package/web/app/immutable/chunks/{CZRzMSeY.js → DxYCvGDj.js} +1 -1
- package/web/app/immutable/chunks/{Ja3bldkE.js → Dy9lh-cY.js} +1 -1
- package/web/app/immutable/chunks/{CDo7dFSH.js → EDmIYO6S.js} +1 -1
- package/web/app/immutable/chunks/{BFiZAKJn.js → FSSmi15Q.js} +1 -1
- package/web/app/immutable/chunks/{By1eSTdA.js → G8TJ9MOE.js} +1 -1
- package/web/app/immutable/chunks/{SqQyW4o7.js → H09Jvm6V.js} +1 -1
- package/web/app/immutable/chunks/{C7jGB600.js → JIx3RnHA.js} +1 -1
- package/web/app/immutable/chunks/{Blk7tjn1.js → Jhq7UOc5.js} +1 -1
- package/web/app/immutable/chunks/{QxpEtr-0.js → LJC2uYsC.js} +1 -1
- package/web/app/immutable/chunks/{CdPAl73_.js → MO7fSgv5.js} +2 -2
- package/web/app/immutable/chunks/{gIpDBOS9.js → OYOqRbsv.js} +1 -1
- package/web/app/immutable/chunks/{LZgSqmId.js → PoUwsq35.js} +1 -1
- package/web/app/immutable/chunks/{f5JdW6NK.js → R2--7i5r.js} +1 -1
- package/web/app/immutable/chunks/{DZLBni6e.js → TTIE1D5C.js} +2 -2
- package/web/app/immutable/chunks/{DWNVbS3a.js → ThJR_x1o.js} +1 -1
- package/web/app/immutable/chunks/{CyFUY7ZG.js → W0ohOtfo.js} +6 -6
- package/web/app/immutable/chunks/{DqYjhr_m.js → Xi73byIt.js} +1 -1
- package/web/app/immutable/chunks/{CAXCWldY.js → XlZsLmeM.js} +1 -1
- package/web/app/immutable/chunks/{B-wj3-Mz.js → Y-eFgNqI.js} +1 -1
- package/web/app/immutable/chunks/{C47vcpT8.js → Y01ro7ES.js} +1 -1
- package/web/app/immutable/chunks/{CnD0melM.js → Y1jmSFSg.js} +1 -1
- package/web/app/immutable/chunks/{DWoDOofe.js → ZPXpXn_b.js} +1 -1
- package/web/app/immutable/chunks/{BhZTnaMG.js → _NsXb4lS.js} +1 -1
- package/web/app/immutable/chunks/{0PTcTNoV.js → _hl98vj7.js} +4 -4
- package/web/app/immutable/chunks/{wuvUPZj1.js → _lJQyckC.js} +1 -1
- package/web/app/immutable/chunks/{BZdmxgfA.js → _vHEK4pi.js} +1 -1
- package/web/app/immutable/chunks/{JQsOAZ2D.js → bCZfKo5Z.js} +1 -1
- package/web/app/immutable/chunks/{EN56DypO.js → blrmT9qk.js} +1 -1
- package/web/app/immutable/chunks/{CHzxYGKx.js → cKydO3Qt.js} +1 -1
- package/web/app/immutable/chunks/{DetRbVYW.js → f5CcdTME.js} +1 -1
- package/web/app/immutable/chunks/{Dsrqhllc.js → g5u8EvTY.js} +1 -1
- package/web/app/immutable/chunks/{CAoF09oh.js → gguJR3ZT.js} +1 -1
- package/web/app/immutable/chunks/{BTPnfq6G.js → gkKZi5M2.js} +4 -4
- package/web/app/immutable/chunks/{qZ45weJD.js → kPHoAXfY.js} +1 -1
- package/web/app/immutable/chunks/{D7UZpnOG.js → lPZVVuHr.js} +2 -2
- package/web/app/immutable/chunks/{BlT5sNXk.js → nP3fRh39.js} +1 -1
- package/web/app/immutable/chunks/{84RVXrc3.js → oXZkHUcr.js} +1 -1
- package/web/app/immutable/chunks/{DQDUYfZ6.js → oXwqURr6.js} +1 -1
- package/web/app/immutable/chunks/{Cc8kWaj8.js → pxqNib4M.js} +1 -1
- package/web/app/immutable/chunks/{D1JUN6U7.js → sd3yFV0R.js} +1 -1
- package/web/app/immutable/chunks/{C5SmzBE8.js → tMLeM1p2.js} +1 -1
- package/web/app/immutable/chunks/{BQmNzaH0.js → vtfPHlCB.js} +6 -6
- package/web/app/immutable/chunks/{CGF8Eu2l.js → x7O2J7jj.js} +1 -1
- package/web/app/immutable/chunks/{cXLTBTLb.js → xTHNWGAw.js} +1 -1
- package/web/app/immutable/entry/{app.BCJgs5XI.js → app.DaY9zxK3.js} +2 -2
- package/web/app/immutable/entry/start.CWppNCPI.js +1 -0
- package/web/app/immutable/nodes/{0.a1vA_dPS.js → 0.C8YnQkTZ.js} +1 -1
- package/web/app/immutable/nodes/{1.BCIzPBLS.js → 1.sAE7iwU1.js} +1 -1
- package/web/app/immutable/nodes/{10.CitPgiJ3.js → 10.DNzXLFkx.js} +1 -1
- package/web/app/immutable/nodes/{14.CdTQyTvv.js → 14.YTlK2SeN.js} +1 -1
- package/web/app/immutable/nodes/{16.AZfVvgqP.js → 16.C62UErj3.js} +2 -2
- package/web/app/immutable/nodes/{2.Dhrl5ptg.js → 2.BIYjc8j-.js} +3 -3
- package/web/app/immutable/nodes/{3.CsMeo6Xv.js → 3.C0pjKeNY.js} +1 -1
- package/web/app/immutable/nodes/{4.CQ8xrx-T.js → 4._EbXXqeH.js} +1 -1
- package/web/app/immutable/nodes/{5.BfoV9rHK.js → 5.qY7J8QM6.js} +1 -1
- package/web/app/immutable/nodes/{6.Df7ucNiy.js → 6.yeh_1zWo.js} +1 -1
- package/web/app/immutable/nodes/{7.DONDdlQd.js → 7.Dmqj3KiQ.js} +1 -1
- package/web/app/immutable/nodes/{8.CgHGNiu0.js → 8.h0hqyIXC.js} +2 -2
- package/web/app/immutable/nodes/{9.DZvK1vth.js → 9.BBHFrPvY.js} +1 -1
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/w47UAFdd.js +0 -1
- package/web/app/immutable/entry/start.D2p6xEVd.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Pe}from"./BHfO1DIu.js";import{bq as Fe,aV as xe,bt as Me,cs as Ke,cr as Ye,cu as We,ct as Ve,cn as Ue,cl as He,cb as Xe,bX as Ge,bN as je,bM as qe,bD as Je,ba as Ze,b9 as Qe,bb as $e,aH as et,aG as tt,au as st,N as rt,at as it,o as nt,s as at,m as ot,f as u,aN as Y,c3 as X,bF as ct,a6 as lt,bC as y,a0 as ut,c0 as gt,aO as Le,G as ht,b5 as dt,b6 as pt,bT as ft,a4 as bt,aT as St,b8 as me,bU as xt}from"./CyFUY7ZG.js";import{c as Lt}from"./w47UAFdd.js";function mt(e){return Array.isArray(e)}function yt(e){if(Fe(e))return e;const n=xe(e);if(!wt(e))return{};if(mt(e)){const r=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(r.index=e.index,r.input=e.input),r}if(Me(e)){const r=e,l=r.constructor;return new l(r.buffer,r.byteOffset,r.length)}if(n==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(n==="[object DataView]"){const r=e,l=r.buffer,d=r.byteOffset,s=r.byteLength,h=new ArrayBuffer(s),x=new Uint8Array(l,d,s);return new Uint8Array(h).set(x),new DataView(h)}if(n==="[object Boolean]"||n==="[object Number]"||n==="[object String]"){const r=e.constructor,l=new r(e.valueOf());return n==="[object String]"?_t(l,e):se(l,e),l}if(n==="[object Date]")return new Date(Number(e));if(n==="[object RegExp]"){const r=e,l=new RegExp(r.source,r.flags);return l.lastIndex=r.lastIndex,l}if(n==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(n==="[object Map]"){const r=e,l=new Map;return r.forEach((d,s)=>{l.set(s,d)}),l}if(n==="[object Set]"){const r=e,l=new Set;return r.forEach(d=>{l.add(d)}),l}if(n==="[object Arguments]"){const r=e,l={};return se(l,r),l.length=r.length,l[Symbol.iterator]=r[Symbol.iterator],l}const o={};return kt(o,e),se(o,e),Et(o,e),o}function wt(e){switch(xe(e)){case ot:case at:case nt:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case je:case Ge:case Xe:case He:case Ue:case Ve:case We:case Ye:case Ke:return!0;default:return!1}}function se(e,n){for(const o in n)Object.hasOwn(n,o)&&(e[o]=n[o])}function Et(e,n){const o=Object.getOwnPropertySymbols(n);for(let r=0;r<o.length;r++){const l=o[r];Object.prototype.propertyIsEnumerable.call(n,l)&&(e[l]=n[l])}}function _t(e,n){const o=n.valueOf().length;for(const r in n)Object.hasOwn(n,r)&&(Number.isNaN(Number(r))||Number(r)>=o)&&(e[r]=n[r])}function kt(e,n){const o=Object.getPrototypeOf(n);o!==null&&typeof n.constructor=="function"&&Object.setPrototypeOf(e,o)}var ie=(function(){var e=u(function(v,g,i,c){for(i=i||{},c=v.length;c--;i[v[c]]=g);return i},"o"),n=[1,15],o=[1,7],r=[1,13],l=[1,14],d=[1,19],s=[1,16],h=[1,17],x=[1,18],m=[8,30],S=[8,10,21,28,29,30,31,39,43,46],f=[1,23],L=[1,24],w=[8,10,15,16,21,28,29,30,31,39,43,46],b=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],_={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(g,i,c,p,E,t,M){var a=t.length-1;switch(E){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",t[a-1]),p.setHierarchy(t[a-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",t[a]),typeof t[a].length=="number"?this.$=t[a]:this.$=[t[a]];break;case 13:p.getLogger().debug("Rule: statement #2: ",t[a-1]),this.$=[t[a-1]].concat(t[a]);break;case 14:p.getLogger().debug("Rule: link: ",t[a],g),this.$={edgeTypeStr:t[a],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",t[a-3],t[a-1],t[a]),this.$={edgeTypeStr:t[a],label:t[a-1]};break;case 18:const P=parseInt(t[a]),W=p.generateId();this.$={id:W,type:"space",label:"",width:P,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",t[a-2],t[a-1],t[a]," typestr: ",t[a-1].edgeTypeStr);const J=p.edgeStrToEdgeData(t[a-1].edgeTypeStr),V=p.edgeStrToEdgeStartData(t[a-1].edgeTypeStr),Z=p.edgeStrToThickness(t[a-1].edgeTypeStr),D=p.edgeStrToPattern(t[a-1].edgeTypeStr);this.$=[{id:t[a-2].id,label:t[a-2].label,type:t[a-2].type,directions:t[a-2].directions},{id:t[a-2].id+"-"+t[a].id,start:t[a-2].id,end:t[a].id,label:t[a-1].label,type:"edge",thickness:Z,pattern:D,directions:t[a].directions,arrowTypeEnd:J,arrowTypeStart:V},{id:t[a].id,label:t[a].label,type:p.typeStr2Type(t[a].typeStr),directions:t[a].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[a-1],t[a]),this.$={id:t[a-1].id,label:t[a-1].label,type:p.typeStr2Type(t[a-1].typeStr),directions:t[a-1].directions,widthInColumns:parseInt(t[a],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",t[a]),this.$={id:t[a].id,label:t[a].label,type:p.typeStr2Type(t[a].typeStr),directions:t[a].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",t[a]),this.$={type:"column-setting",columns:t[a]==="auto"?-1:parseInt(t[a])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",t[a-2],t[a-1]),p.generateId(),this.$={...t[a-2],type:"composite",children:t[a-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",t[a-2],t[a-1],t[a]);const A=p.generateId();this.$={id:A,type:"composite",label:"",children:t[a-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",t[a]),this.$={id:t[a]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[a-1],t[a]),this.$={id:t[a-1],label:t[a].label,typeStr:t[a].typeStr,directions:t[a].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",t[a]),this.$=[t[a]];break;case 32:p.getLogger().debug("Rule: dirList: ",t[a-1],t[a]),this.$=[t[a-1]].concat(t[a]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",t[a-2],t[a-1],t[a]),this.$={typeStr:t[a-2]+t[a],label:t[a-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[a-3],t[a-2]," #3:",t[a-1],t[a]),this.$={typeStr:t[a-3]+t[a],label:t[a-2],directions:t[a-1]};break;case 35:case 36:this.$={type:"classDef",id:t[a-1].trim(),css:t[a].trim()};break;case 37:this.$={type:"applyClass",id:t[a-1].trim(),styleClass:t[a].trim()};break;case 38:this.$={type:"applyStyles",id:t[a-1].trim(),stylesStr:t[a].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{8:[1,20]},e(m,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:o,28:r,29:l,31:d,39:s,43:h,46:x}),e(S,[2,16],{14:22,15:f,16:L}),e(S,[2,17]),e(S,[2,18]),e(S,[2,19]),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(w,[2,25],{27:[1,25]}),e(S,[2,26]),{19:26,26:12,31:d},{10:n,11:27,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(b,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(m,[2,13]),{26:35,31:d},{31:[2,14]},{17:[1,36]},e(w,[2,24]),{10:n,11:37,13:4,14:22,15:f,16:L,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(b,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(S,[2,28]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(S,[2,27]),e(b,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(b,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(g,i){if(i.recoverable)this.trace(g);else{var c=new Error(g);throw c.hash=i,c}},"parseError"),parse:u(function(g){var i=this,c=[0],p=[],E=[null],t=[],M=this.table,a="",P=0,W=0,J=2,V=1,Z=t.slice.call(arguments,1),D=Object.create(this.lexer),A={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(A.yy[Q]=this.yy[Q]);D.setInput(g,A.yy),A.yy.lexer=D,A.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var $=D.yylloc;t.push($);var Be=D.options&&D.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(O){c.length=c.length-2*O,E.length=E.length-O,t.length=t.length-O}u(Re,"popStack");function de(){var O;return O=p.pop()||D.lex()||V,typeof O!="number"&&(O instanceof Array&&(p=O,O=p.pop()),O=i.symbols_[O]||O),O}u(de,"lex");for(var N,R,C,ee,F={},U,B,pe,H;;){if(R=c[c.length-1],this.defaultActions[R]?C=this.defaultActions[R]:((N===null||typeof N>"u")&&(N=de()),C=M[R]&&M[R][N]),typeof C>"u"||!C.length||!C[0]){var te="";H=[];for(U in M[R])this.terminals_[U]&&U>J&&H.push("'"+this.terminals_[U]+"'");D.showPosition?te="Parse error on line "+(P+1)+`:
|
|
1
|
+
import{g as Pe}from"./CDNrBqJE.js";import{bq as Fe,aV as xe,bt as Me,cs as Ke,cr as Ye,cu as We,ct as Ve,cn as Ue,cl as He,cb as Xe,bX as Ge,bN as je,bM as qe,bD as Je,ba as Ze,b9 as Qe,bb as $e,aH as et,aG as tt,au as st,N as rt,at as it,o as nt,s as at,m as ot,f as u,aN as Y,c3 as X,bF as ct,a6 as lt,bC as y,a0 as ut,c0 as gt,aO as Le,G as ht,b5 as dt,b6 as pt,bT as ft,a4 as bt,aT as St,b8 as me,bU as xt}from"./W0ohOtfo.js";import{c as Lt}from"./5vqEW8Xk.js";function mt(e){return Array.isArray(e)}function yt(e){if(Fe(e))return e;const n=xe(e);if(!wt(e))return{};if(mt(e)){const r=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(r.index=e.index,r.input=e.input),r}if(Me(e)){const r=e,l=r.constructor;return new l(r.buffer,r.byteOffset,r.length)}if(n==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(n==="[object DataView]"){const r=e,l=r.buffer,d=r.byteOffset,s=r.byteLength,h=new ArrayBuffer(s),x=new Uint8Array(l,d,s);return new Uint8Array(h).set(x),new DataView(h)}if(n==="[object Boolean]"||n==="[object Number]"||n==="[object String]"){const r=e.constructor,l=new r(e.valueOf());return n==="[object String]"?_t(l,e):se(l,e),l}if(n==="[object Date]")return new Date(Number(e));if(n==="[object RegExp]"){const r=e,l=new RegExp(r.source,r.flags);return l.lastIndex=r.lastIndex,l}if(n==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(n==="[object Map]"){const r=e,l=new Map;return r.forEach((d,s)=>{l.set(s,d)}),l}if(n==="[object Set]"){const r=e,l=new Set;return r.forEach(d=>{l.add(d)}),l}if(n==="[object Arguments]"){const r=e,l={};return se(l,r),l.length=r.length,l[Symbol.iterator]=r[Symbol.iterator],l}const o={};return kt(o,e),se(o,e),Et(o,e),o}function wt(e){switch(xe(e)){case ot:case at:case nt:case it:case rt:case st:case tt:case et:case $e:case Qe:case Ze:case Je:case qe:case je:case Ge:case Xe:case He:case Ue:case Ve:case We:case Ye:case Ke:return!0;default:return!1}}function se(e,n){for(const o in n)Object.hasOwn(n,o)&&(e[o]=n[o])}function Et(e,n){const o=Object.getOwnPropertySymbols(n);for(let r=0;r<o.length;r++){const l=o[r];Object.prototype.propertyIsEnumerable.call(n,l)&&(e[l]=n[l])}}function _t(e,n){const o=n.valueOf().length;for(const r in n)Object.hasOwn(n,r)&&(Number.isNaN(Number(r))||Number(r)>=o)&&(e[r]=n[r])}function kt(e,n){const o=Object.getPrototypeOf(n);o!==null&&typeof n.constructor=="function"&&Object.setPrototypeOf(e,o)}var ie=(function(){var e=u(function(v,g,i,c){for(i=i||{},c=v.length;c--;i[v[c]]=g);return i},"o"),n=[1,15],o=[1,7],r=[1,13],l=[1,14],d=[1,19],s=[1,16],h=[1,17],x=[1,18],m=[8,30],S=[8,10,21,28,29,30,31,39,43,46],f=[1,23],L=[1,24],w=[8,10,15,16,21,28,29,30,31,39,43,46],b=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],_={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(g,i,c,p,E,t,M){var a=t.length-1;switch(E){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",t[a-1]),p.setHierarchy(t[a-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",t[a]),typeof t[a].length=="number"?this.$=t[a]:this.$=[t[a]];break;case 13:p.getLogger().debug("Rule: statement #2: ",t[a-1]),this.$=[t[a-1]].concat(t[a]);break;case 14:p.getLogger().debug("Rule: link: ",t[a],g),this.$={edgeTypeStr:t[a],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",t[a-3],t[a-1],t[a]),this.$={edgeTypeStr:t[a],label:t[a-1]};break;case 18:const P=parseInt(t[a]),W=p.generateId();this.$={id:W,type:"space",label:"",width:P,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",t[a-2],t[a-1],t[a]," typestr: ",t[a-1].edgeTypeStr);const J=p.edgeStrToEdgeData(t[a-1].edgeTypeStr),V=p.edgeStrToEdgeStartData(t[a-1].edgeTypeStr),Z=p.edgeStrToThickness(t[a-1].edgeTypeStr),D=p.edgeStrToPattern(t[a-1].edgeTypeStr);this.$=[{id:t[a-2].id,label:t[a-2].label,type:t[a-2].type,directions:t[a-2].directions},{id:t[a-2].id+"-"+t[a].id,start:t[a-2].id,end:t[a].id,label:t[a-1].label,type:"edge",thickness:Z,pattern:D,directions:t[a].directions,arrowTypeEnd:J,arrowTypeStart:V},{id:t[a].id,label:t[a].label,type:p.typeStr2Type(t[a].typeStr),directions:t[a].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[a-1],t[a]),this.$={id:t[a-1].id,label:t[a-1].label,type:p.typeStr2Type(t[a-1].typeStr),directions:t[a-1].directions,widthInColumns:parseInt(t[a],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",t[a]),this.$={id:t[a].id,label:t[a].label,type:p.typeStr2Type(t[a].typeStr),directions:t[a].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",t[a]),this.$={type:"column-setting",columns:t[a]==="auto"?-1:parseInt(t[a])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",t[a-2],t[a-1]),p.generateId(),this.$={...t[a-2],type:"composite",children:t[a-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",t[a-2],t[a-1],t[a]);const A=p.generateId();this.$={id:A,type:"composite",label:"",children:t[a-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",t[a]),this.$={id:t[a]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[a-1],t[a]),this.$={id:t[a-1],label:t[a].label,typeStr:t[a].typeStr,directions:t[a].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",t[a]),this.$=[t[a]];break;case 32:p.getLogger().debug("Rule: dirList: ",t[a-1],t[a]),this.$=[t[a-1]].concat(t[a]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",t[a-2],t[a-1],t[a]),this.$={typeStr:t[a-2]+t[a],label:t[a-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[a-3],t[a-2]," #3:",t[a-1],t[a]),this.$={typeStr:t[a-3]+t[a],label:t[a-2],directions:t[a-1]};break;case 35:case 36:this.$={type:"classDef",id:t[a-1].trim(),css:t[a].trim()};break;case 37:this.$={type:"applyClass",id:t[a-1].trim(),styleClass:t[a].trim()};break;case 38:this.$={type:"applyStyles",id:t[a-1].trim(),stylesStr:t[a].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{8:[1,20]},e(m,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:o,28:r,29:l,31:d,39:s,43:h,46:x}),e(S,[2,16],{14:22,15:f,16:L}),e(S,[2,17]),e(S,[2,18]),e(S,[2,19]),e(S,[2,20]),e(S,[2,21]),e(S,[2,22]),e(w,[2,25],{27:[1,25]}),e(S,[2,26]),{19:26,26:12,31:d},{10:n,11:27,13:4,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(b,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(m,[2,13]),{26:35,31:d},{31:[2,14]},{17:[1,36]},e(w,[2,24]),{10:n,11:37,13:4,14:22,15:f,16:L,19:5,20:6,21:o,22:8,23:9,24:10,25:11,26:12,28:r,29:l,31:d,39:s,43:h,46:x},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(b,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(S,[2,28]),e(S,[2,35]),e(S,[2,36]),e(S,[2,37]),e(S,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(S,[2,27]),e(b,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(b,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(g,i){if(i.recoverable)this.trace(g);else{var c=new Error(g);throw c.hash=i,c}},"parseError"),parse:u(function(g){var i=this,c=[0],p=[],E=[null],t=[],M=this.table,a="",P=0,W=0,J=2,V=1,Z=t.slice.call(arguments,1),D=Object.create(this.lexer),A={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(A.yy[Q]=this.yy[Q]);D.setInput(g,A.yy),A.yy.lexer=D,A.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var $=D.yylloc;t.push($);var Be=D.options&&D.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(O){c.length=c.length-2*O,E.length=E.length-O,t.length=t.length-O}u(Re,"popStack");function de(){var O;return O=p.pop()||D.lex()||V,typeof O!="number"&&(O instanceof Array&&(p=O,O=p.pop()),O=i.symbols_[O]||O),O}u(de,"lex");for(var N,R,C,ee,F={},U,B,pe,H;;){if(R=c[c.length-1],this.defaultActions[R]?C=this.defaultActions[R]:((N===null||typeof N>"u")&&(N=de()),C=M[R]&&M[R][N]),typeof C>"u"||!C.length||!C[0]){var te="";H=[];for(U in M[R])this.terminals_[U]&&U>J&&H.push("'"+this.terminals_[U]+"'");D.showPosition?te="Parse error on line "+(P+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+H.join(", ")+", got '"+(this.terminals_[N]||N)+"'":te="Parse error on line "+(P+1)+": Unexpected "+(N==V?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(te,{text:D.match,token:this.terminals_[N]||N,line:D.yylineno,loc:$,expected:H})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+N);switch(C[0]){case 1:c.push(N),E.push(D.yytext),t.push(D.yylloc),c.push(C[1]),N=null,W=D.yyleng,a=D.yytext,P=D.yylineno,$=D.yylloc;break;case 2:if(B=this.productions_[C[1]][1],F.$=E[E.length-B],F._$={first_line:t[t.length-(B||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(B||1)].first_column,last_column:t[t.length-1].last_column},Be&&(F._$.range=[t[t.length-(B||1)].range[0],t[t.length-1].range[1]]),ee=this.performAction.apply(F,[a,W,P,A.yy,C[1],E,t].concat(Z)),typeof ee<"u")return ee;B&&(c=c.slice(0,-1*B*2),E=E.slice(0,-1*B),t=t.slice(0,-1*B)),c.push(this.productions_[C[1]][0]),E.push(F.$),t.push(F._$),pe=M[c[c.length-2]][c[c.length-1]],c.push(pe);break;case 3:return!0}}return!0},"parse")},T=(function(){var v={EOF:1,parseError:u(function(i,c){if(this.yy.parser)this.yy.parser.parseError(i,c);else throw new Error(i)},"parseError"),setInput:u(function(g,i){return this.yy=i||this.yy||{},this._input=g,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:u(function(){var g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var i=g.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},"input"),unput:u(function(g){var i=g.length,c=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var p=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),c.length-1&&(this.yylineno-=c.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:c?(c.length===p.length?this.yylloc.first_column:0)+p[p.length-c.length].length-c[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(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:u(function(g){this.unput(this.match.slice(g))},"less"),pastInput:u(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var g=this.pastInput(),i=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aK as ke,c6 as ye,aP as ge,c9 as ve,aL as pe,c7 as xe,f as l,aO as dt,c3 as pt,a6 as Te,av as U,bC as ot,a4 as be,aA as we,a0 as _e,cx as De}from"./CyFUY7ZG.js";import{g as Et}from"./BJzHxIyr.js";import{t as Se,d as Ce,m as Ee,i as Me,a as Ie,f as Gt,l as jt,o as Ye,n as $e,g as Fe,p as Le,r as Ae,q as Oe,k as We,e as Xt,h as Ut,j as Zt,s as Qt,c as Kt,b as Pe}from"./BBh1sUFa.js";import{l as Re}from"./BH2o-WfJ.js";var xt={exports:{}},Ve=xt.exports,Jt;function Ne(){return Jt||(Jt=1,(function(t,r){(function(i,e){t.exports=e()})(Ve,(function(){var i="day";return function(e,a,g){var v=function(L){return L.add(4-L.isoWeekday(),i)},b=a.prototype;b.isoWeekYear=function(){return v(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),i);var w,P,A,V,j=v(this),z=(w=this.isoWeekYear(),P=this.$u,A=(P?g.utc:g)().year(w).startOf("year"),V=4-A.isoWeekday(),A.isoWeekday()>4&&(V+=7),A.add(V,i));return j.diff(z,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var F=b.startOf;b.startOf=function(L,w){var P=this.$utils(),A=!!P.u(w)||w;return P.p(L)==="isoweek"?A?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(L,w)}}}))})(xt)),xt.exports}var ze=Ne();const He=Et(ze);var Tt={exports:{}},Be=Tt.exports,te;function qe(){return te||(te=1,(function(t,r){(function(i,e){t.exports=e()})(Be,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,g=/\d\d/,v=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,F={},L=function(k){return(k=+k)+(k>68?1900:2e3)},w=function(k){return function(M){this[k]=+M}},P=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var O=M.match(/([+-]|\d\d)/g),$=60*O[1]+(+O[2]||0);return $===0?0:O[0]==="+"?-$:$})(k)}],A=function(k){var M=F[k];return M&&(M.indexOf?M:M.s.concat(M.f))},V=function(k,M){var O,$=F.meridiem;if($){for(var X=1;X<=24;X+=1)if(k.indexOf($(X,0,M))>-1){O=X>12;break}}else O=k===(M?"pm":"PM");return O},j={A:[b,function(k){this.afternoon=V(k,!1)}],a:[b,function(k){this.afternoon=V(k,!0)}],Q:[a,function(k){this.month=3*(k-1)+1}],S:[a,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[v,w("seconds")],ss:[v,w("seconds")],m:[v,w("minutes")],mm:[v,w("minutes")],H:[v,w("hours")],h:[v,w("hours")],HH:[v,w("hours")],hh:[v,w("hours")],D:[v,w("day")],DD:[g,w("day")],Do:[b,function(k){var M=F.ordinal,O=k.match(/\d+/);if(this.day=O[0],M)for(var $=1;$<=31;$+=1)M($).replace(/\[|\]/g,"")===k&&(this.day=$)}],w:[v,w("week")],ww:[g,w("week")],M:[v,w("month")],MM:[g,w("month")],MMM:[b,function(k){var M=A("months"),O=(A("monthsShort")||M.map((function($){return $.slice(0,3)}))).indexOf(k)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[b,function(k){var M=A("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,w("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,w("year")],Z:P,ZZ:P};function z(k){var M,O;M=k,O=F&&F.formats;for(var $=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(m,x,p){var y=p&&p.toUpperCase();return x||O[p]||i[p]||O[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,d,f){return d||f.slice(1)}))}))).match(e),X=$.length,B=0;B<X;B+=1){var Y=$[B],T=j[Y],h=T&&T[0],I=T&&T[1];$[B]=I?{regex:h,parser:I}:Y.replace(/^\[|\]$/g,"")}return function(m){for(var x={},p=0,y=0;p<X;p+=1){var n=$[p];if(typeof n=="string")y+=n.length;else{var d=n.regex,f=n.parser,u=m.slice(y),_=d.exec(u)[0];f.call(x,_),m=m.replace(_,"")}}return(function(s){var D=s.afternoon;if(D!==void 0){var o=s.hours;D?o<12&&(s.hours+=12):o===12&&(s.hours=0),delete s.afternoon}})(x),x}}return function(k,M,O){O.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var $=M.prototype,X=$.parse;$.parse=function(B){var Y=B.date,T=B.utc,h=B.args;this.$u=T;var I=h[1];if(typeof I=="string"){var m=h[2]===!0,x=h[3]===!0,p=m||x,y=h[2];x&&(y=h[2]),F=this.$locale(),!m&&y&&(F=O.Ls[y]),this.$d=(function(u,_,s,D){try{if(["x","X"].indexOf(_)>-1)return new Date((_==="X"?1e3:1)*u);var o=z(_)(u),H=o.year,c=o.month,S=o.day,C=o.hours,R=o.minutes,E=o.seconds,N=o.milliseconds,W=o.zone,rt=o.week,nt=new Date,yt=S||(H||c?1:nt.getDate()),lt=H||nt.getFullYear(),q=0;H&&!c||(q=c>0?c-1:nt.getMonth());var K,Z=C||0,at=R||0,J=E||0,it=N||0;return W?new Date(Date.UTC(lt,q,yt,Z,at,J,it+60*W.offset*1e3)):s?new Date(Date.UTC(lt,q,yt,Z,at,J,it)):(K=new Date(lt,q,yt,Z,at,J,it),rt&&(K=D(K).week(rt).toDate()),K)}catch{return new Date("")}})(Y,I,T,O),this.init(),y&&y!==!0&&(this.$L=this.locale(y).$L),p&&Y!=this.format(I)&&(this.$d=new Date("")),F={}}else if(I instanceof Array)for(var n=I.length,d=1;d<=n;d+=1){h[1]=I[d-1];var f=O.apply(this,h);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}d===n&&(this.$d=new Date(""))}else X.call(this,B)}}}))})(Tt)),Tt.exports}var Ge=qe();const je=Et(Ge);var bt={exports:{}},Xe=bt.exports,ee;function Ue(){return ee||(ee=1,(function(t,r){(function(i,e){t.exports=e()})(Xe,(function(){return function(i,e){var a=e.prototype,g=a.format;a.format=function(v){var b=this,F=this.$locale();if(!this.isValid())return g.bind(this)(v);var L=this.$utils(),w=(v||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(P){switch(P){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return F.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return F.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),P==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),P==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return P}}));return g.bind(this)(w)}}}))})(bt)),bt.exports}var Ze=Ue();const Qe=Et(Ze);var wt={exports:{}},Ke=wt.exports,se;function Je(){return se||(se=1,(function(t,r){(function(i,e){t.exports=e()})(Ke,(function(){var i,e,a=1e3,g=6e4,v=36e5,b=864e5,F=31536e6,L=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,A={years:F,months:L,days:b,hours:v,minutes:g,seconds:a,milliseconds:1,weeks:6048e5},V=function(Y){return Y instanceof X},j=function(Y,T,h){return new X(Y,h,T.$l)},z=function(Y){return e.p(Y)+"s"},k=function(Y){return Y<0},M=function(Y){return k(Y)?Math.ceil(Y):Math.floor(Y)},O=function(Y){return Math.abs(Y)},$=function(Y,T){return Y?k(Y)?{negative:!0,format:""+O(Y)+T}:{negative:!1,format:""+Y+T}:{negative:!1,format:""}},X=(function(){function Y(h,I,m){var x=this;if(this.$d={},this.$l=m,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return j(h*A[z(I)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(n){x.$d[z(n)]=h[n]})),this.calMilliseconds(),this;if(typeof h=="string"){var p=h.match(w);if(p){var y=p.slice(2).map((function(n){return n!=null?Number(n):0}));return this.$d.years=y[0],this.$d.months=y[1],this.$d.weeks=y[2],this.$d.days=y[3],this.$d.hours=y[4],this.$d.minutes=y[5],this.$d.seconds=y[6],this.calMilliseconds(),this}}return this}var T=Y.prototype;return T.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(I,m){return I+(h.$d[m]||0)*A[m]}),0)},T.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/F),h%=F,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/v),h%=v,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/a),h%=a,this.$d.milliseconds=h},T.toISOString=function(){var h=$(this.$d.years,"Y"),I=$(this.$d.months,"M"),m=+this.$d.days||0;this.$d.weeks&&(m+=7*this.$d.weeks);var x=$(m,"D"),p=$(this.$d.hours,"H"),y=$(this.$d.minutes,"M"),n=this.$d.seconds||0;this.$d.milliseconds&&(n+=this.$d.milliseconds/1e3,n=Math.round(1e3*n)/1e3);var d=$(n,"S"),f=h.negative||I.negative||x.negative||p.negative||y.negative||d.negative,u=p.format||y.format||d.format?"T":"",_=(f?"-":"")+"P"+h.format+I.format+x.format+u+p.format+y.format+d.format;return _==="P"||_==="-P"?"P0D":_},T.toJSON=function(){return this.toISOString()},T.format=function(h){var I=h||"YYYY-MM-DDTHH:mm:ss",m={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return I.replace(P,(function(x,p){return p||String(m[x])}))},T.as=function(h){return this.$ms/A[z(h)]},T.get=function(h){var I=this.$ms,m=z(h);return m==="milliseconds"?I%=1e3:I=m==="weeks"?M(I/A[m]):this.$d[m],I||0},T.add=function(h,I,m){var x;return x=I?h*A[z(I)]:V(h)?h.$ms:j(h,this).$ms,j(this.$ms+x*(m?-1:1),this)},T.subtract=function(h,I){return this.add(h,I,!0)},T.locale=function(h){var I=this.clone();return I.$l=h,I},T.clone=function(){return j(this.$ms,this)},T.humanize=function(h){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},T.valueOf=function(){return this.asMilliseconds()},T.milliseconds=function(){return this.get("milliseconds")},T.asMilliseconds=function(){return this.as("milliseconds")},T.seconds=function(){return this.get("seconds")},T.asSeconds=function(){return this.as("seconds")},T.minutes=function(){return this.get("minutes")},T.asMinutes=function(){return this.as("minutes")},T.hours=function(){return this.get("hours")},T.asHours=function(){return this.as("hours")},T.days=function(){return this.get("days")},T.asDays=function(){return this.as("days")},T.weeks=function(){return this.get("weeks")},T.asWeeks=function(){return this.as("weeks")},T.months=function(){return this.get("months")},T.asMonths=function(){return this.as("months")},T.years=function(){return this.get("years")},T.asYears=function(){return this.as("years")},Y})(),B=function(Y,T,h){return Y.add(T.years()*h,"y").add(T.months()*h,"M").add(T.days()*h,"d").add(T.hours()*h,"h").add(T.minutes()*h,"m").add(T.seconds()*h,"s").add(T.milliseconds()*h,"ms")};return function(Y,T,h){i=h,e=h().$utils(),h.duration=function(x,p){var y=h.locale();return j(x,{$l:y},p)},h.isDuration=V;var I=T.prototype.add,m=T.prototype.subtract;T.prototype.add=function(x,p){return V(x)?B(this,x,1):I.bind(this)(x,p)},T.prototype.subtract=function(x,p){return V(x)?B(this,x,-1):m.bind(this)(x,p)}}}))})(wt)),wt.exports}var ts=Je();const es=Et(ts);var Yt=(function(){var t=l(function(y,n,d,f){for(d=d||{},f=y.length;f--;d[y[f]]=n);return d},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],e=[1,27],a=[1,28],g=[1,29],v=[1,30],b=[1,31],F=[1,32],L=[1,33],w=[1,34],P=[1,9],A=[1,10],V=[1,11],j=[1,12],z=[1,13],k=[1,14],M=[1,15],O=[1,16],$=[1,19],X=[1,20],B=[1,21],Y=[1,22],T=[1,23],h=[1,25],I=[1,35],m={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(n,d,f,u,_,s,D){var o=s.length-1;switch(_){case 1:return s[o-1];case 2:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:u.TopAxis(),this.$=s[o].substr(8);break;case 20:u.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:u.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:u.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:u.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:u.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:u.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:u.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],u.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],null),u.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-2],s[o-1]),u.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],u.setClickEvent(s[o-2],s[o],null),u.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-1],s[o]),u.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],u.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:e,14:a,15:g,16:v,17:b,18:F,19:18,20:L,21:w,22:P,23:A,24:V,25:j,26:z,27:k,28:M,29:O,30:$,31:X,33:B,35:Y,36:T,37:24,38:h,40:I},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:36,11:17,12:i,13:e,14:a,15:g,16:v,17:b,18:F,19:18,20:L,21:w,22:P,23:A,24:V,25:j,26:z,27:k,28:M,29:O,30:$,31:X,33:B,35:Y,36:T,37:24,38:h,40:I},t(r,[2,5]),t(r,[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),t(r,[2,23]),t(r,[2,24]),t(r,[2,25]),t(r,[2,26]),t(r,[2,27]),{32:[1,37]},{34:[1,38]},t(r,[2,30]),t(r,[2,31]),t(r,[2,32]),{39:[1,39]},t(r,[2,8]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),{41:[1,40],43:[1,41]},t(r,[2,4]),t(r,[2,28]),t(r,[2,29]),t(r,[2,33]),t(r,[2,34],{42:[1,42],43:[1,43]}),t(r,[2,40],{41:[1,44]}),t(r,[2,35],{43:[1,45]}),t(r,[2,36]),t(r,[2,38],{42:[1,46]}),t(r,[2,37]),t(r,[2,39])],defaultActions:{},parseError:l(function(n,d){if(d.recoverable)this.trace(n);else{var f=new Error(n);throw f.hash=d,f}},"parseError"),parse:l(function(n){var d=this,f=[0],u=[],_=[null],s=[],D=this.table,o="",H=0,c=0,S=2,C=1,R=s.slice.call(arguments,1),E=Object.create(this.lexer),N={yy:{}};for(var W in this.yy)Object.prototype.hasOwnProperty.call(this.yy,W)&&(N.yy[W]=this.yy[W]);E.setInput(n,N.yy),N.yy.lexer=E,N.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var rt=E.yylloc;s.push(rt);var nt=E.options&&E.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){f.length=f.length-2*Q,_.length=_.length-Q,s.length=s.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||E.lex()||C,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var q,K,Z,at,J={},it,tt,qt,vt;;){if(K=f[f.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((q===null||typeof q>"u")&&(q=lt()),Z=D[K]&&D[K][q]),typeof Z>"u"||!Z.length||!Z[0]){var Mt="";vt=[];for(it in D[K])this.terminals_[it]&&it>S&&vt.push("'"+this.terminals_[it]+"'");E.showPosition?Mt="Parse error on line "+(H+1)+`:
|
|
1
|
+
import{aK as ke,c6 as ye,aP as ge,c9 as ve,aL as pe,c7 as xe,f as l,aO as dt,c3 as pt,a6 as Te,av as U,bC as ot,a4 as be,aA as we,a0 as _e,cx as De}from"./W0ohOtfo.js";import{g as Et}from"./BJzHxIyr.js";import{t as Se,d as Ce,m as Ee,i as Me,a as Ie,f as Gt,l as jt,o as Ye,n as $e,g as Fe,p as Le,r as Ae,q as Oe,k as We,e as Xt,h as Ut,j as Zt,s as Qt,c as Kt,b as Pe}from"./Cm0fpyvx.js";import{l as Re}from"./DCj4RtfU.js";var xt={exports:{}},Ve=xt.exports,Jt;function Ne(){return Jt||(Jt=1,(function(t,r){(function(i,e){t.exports=e()})(Ve,(function(){var i="day";return function(e,a,g){var v=function(L){return L.add(4-L.isoWeekday(),i)},b=a.prototype;b.isoWeekYear=function(){return v(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),i);var w,P,A,V,j=v(this),z=(w=this.isoWeekYear(),P=this.$u,A=(P?g.utc:g)().year(w).startOf("year"),V=4-A.isoWeekday(),A.isoWeekday()>4&&(V+=7),A.add(V,i));return j.diff(z,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var F=b.startOf;b.startOf=function(L,w){var P=this.$utils(),A=!!P.u(w)||w;return P.p(L)==="isoweek"?A?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(L,w)}}}))})(xt)),xt.exports}var ze=Ne();const He=Et(ze);var Tt={exports:{}},Be=Tt.exports,te;function qe(){return te||(te=1,(function(t,r){(function(i,e){t.exports=e()})(Be,(function(){var i={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,g=/\d\d/,v=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,F={},L=function(k){return(k=+k)+(k>68?1900:2e3)},w=function(k){return function(M){this[k]=+M}},P=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var O=M.match(/([+-]|\d\d)/g),$=60*O[1]+(+O[2]||0);return $===0?0:O[0]==="+"?-$:$})(k)}],A=function(k){var M=F[k];return M&&(M.indexOf?M:M.s.concat(M.f))},V=function(k,M){var O,$=F.meridiem;if($){for(var X=1;X<=24;X+=1)if(k.indexOf($(X,0,M))>-1){O=X>12;break}}else O=k===(M?"pm":"PM");return O},j={A:[b,function(k){this.afternoon=V(k,!1)}],a:[b,function(k){this.afternoon=V(k,!0)}],Q:[a,function(k){this.month=3*(k-1)+1}],S:[a,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[v,w("seconds")],ss:[v,w("seconds")],m:[v,w("minutes")],mm:[v,w("minutes")],H:[v,w("hours")],h:[v,w("hours")],HH:[v,w("hours")],hh:[v,w("hours")],D:[v,w("day")],DD:[g,w("day")],Do:[b,function(k){var M=F.ordinal,O=k.match(/\d+/);if(this.day=O[0],M)for(var $=1;$<=31;$+=1)M($).replace(/\[|\]/g,"")===k&&(this.day=$)}],w:[v,w("week")],ww:[g,w("week")],M:[v,w("month")],MM:[g,w("month")],MMM:[b,function(k){var M=A("months"),O=(A("monthsShort")||M.map((function($){return $.slice(0,3)}))).indexOf(k)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[b,function(k){var M=A("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,w("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,w("year")],Z:P,ZZ:P};function z(k){var M,O;M=k,O=F&&F.formats;for(var $=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(m,x,p){var y=p&&p.toUpperCase();return x||O[p]||i[p]||O[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,d,f){return d||f.slice(1)}))}))).match(e),X=$.length,B=0;B<X;B+=1){var Y=$[B],T=j[Y],h=T&&T[0],I=T&&T[1];$[B]=I?{regex:h,parser:I}:Y.replace(/^\[|\]$/g,"")}return function(m){for(var x={},p=0,y=0;p<X;p+=1){var n=$[p];if(typeof n=="string")y+=n.length;else{var d=n.regex,f=n.parser,u=m.slice(y),_=d.exec(u)[0];f.call(x,_),m=m.replace(_,"")}}return(function(s){var D=s.afternoon;if(D!==void 0){var o=s.hours;D?o<12&&(s.hours+=12):o===12&&(s.hours=0),delete s.afternoon}})(x),x}}return function(k,M,O){O.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var $=M.prototype,X=$.parse;$.parse=function(B){var Y=B.date,T=B.utc,h=B.args;this.$u=T;var I=h[1];if(typeof I=="string"){var m=h[2]===!0,x=h[3]===!0,p=m||x,y=h[2];x&&(y=h[2]),F=this.$locale(),!m&&y&&(F=O.Ls[y]),this.$d=(function(u,_,s,D){try{if(["x","X"].indexOf(_)>-1)return new Date((_==="X"?1e3:1)*u);var o=z(_)(u),H=o.year,c=o.month,S=o.day,C=o.hours,R=o.minutes,E=o.seconds,N=o.milliseconds,W=o.zone,rt=o.week,nt=new Date,yt=S||(H||c?1:nt.getDate()),lt=H||nt.getFullYear(),q=0;H&&!c||(q=c>0?c-1:nt.getMonth());var K,Z=C||0,at=R||0,J=E||0,it=N||0;return W?new Date(Date.UTC(lt,q,yt,Z,at,J,it+60*W.offset*1e3)):s?new Date(Date.UTC(lt,q,yt,Z,at,J,it)):(K=new Date(lt,q,yt,Z,at,J,it),rt&&(K=D(K).week(rt).toDate()),K)}catch{return new Date("")}})(Y,I,T,O),this.init(),y&&y!==!0&&(this.$L=this.locale(y).$L),p&&Y!=this.format(I)&&(this.$d=new Date("")),F={}}else if(I instanceof Array)for(var n=I.length,d=1;d<=n;d+=1){h[1]=I[d-1];var f=O.apply(this,h);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}d===n&&(this.$d=new Date(""))}else X.call(this,B)}}}))})(Tt)),Tt.exports}var Ge=qe();const je=Et(Ge);var bt={exports:{}},Xe=bt.exports,ee;function Ue(){return ee||(ee=1,(function(t,r){(function(i,e){t.exports=e()})(Xe,(function(){return function(i,e){var a=e.prototype,g=a.format;a.format=function(v){var b=this,F=this.$locale();if(!this.isValid())return g.bind(this)(v);var L=this.$utils(),w=(v||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(P){switch(P){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return F.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return F.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),P==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),P==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return P}}));return g.bind(this)(w)}}}))})(bt)),bt.exports}var Ze=Ue();const Qe=Et(Ze);var wt={exports:{}},Ke=wt.exports,se;function Je(){return se||(se=1,(function(t,r){(function(i,e){t.exports=e()})(Ke,(function(){var i,e,a=1e3,g=6e4,v=36e5,b=864e5,F=31536e6,L=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,A={years:F,months:L,days:b,hours:v,minutes:g,seconds:a,milliseconds:1,weeks:6048e5},V=function(Y){return Y instanceof X},j=function(Y,T,h){return new X(Y,h,T.$l)},z=function(Y){return e.p(Y)+"s"},k=function(Y){return Y<0},M=function(Y){return k(Y)?Math.ceil(Y):Math.floor(Y)},O=function(Y){return Math.abs(Y)},$=function(Y,T){return Y?k(Y)?{negative:!0,format:""+O(Y)+T}:{negative:!1,format:""+Y+T}:{negative:!1,format:""}},X=(function(){function Y(h,I,m){var x=this;if(this.$d={},this.$l=m,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return j(h*A[z(I)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(n){x.$d[z(n)]=h[n]})),this.calMilliseconds(),this;if(typeof h=="string"){var p=h.match(w);if(p){var y=p.slice(2).map((function(n){return n!=null?Number(n):0}));return this.$d.years=y[0],this.$d.months=y[1],this.$d.weeks=y[2],this.$d.days=y[3],this.$d.hours=y[4],this.$d.minutes=y[5],this.$d.seconds=y[6],this.calMilliseconds(),this}}return this}var T=Y.prototype;return T.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(I,m){return I+(h.$d[m]||0)*A[m]}),0)},T.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/F),h%=F,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/v),h%=v,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/a),h%=a,this.$d.milliseconds=h},T.toISOString=function(){var h=$(this.$d.years,"Y"),I=$(this.$d.months,"M"),m=+this.$d.days||0;this.$d.weeks&&(m+=7*this.$d.weeks);var x=$(m,"D"),p=$(this.$d.hours,"H"),y=$(this.$d.minutes,"M"),n=this.$d.seconds||0;this.$d.milliseconds&&(n+=this.$d.milliseconds/1e3,n=Math.round(1e3*n)/1e3);var d=$(n,"S"),f=h.negative||I.negative||x.negative||p.negative||y.negative||d.negative,u=p.format||y.format||d.format?"T":"",_=(f?"-":"")+"P"+h.format+I.format+x.format+u+p.format+y.format+d.format;return _==="P"||_==="-P"?"P0D":_},T.toJSON=function(){return this.toISOString()},T.format=function(h){var I=h||"YYYY-MM-DDTHH:mm:ss",m={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return I.replace(P,(function(x,p){return p||String(m[x])}))},T.as=function(h){return this.$ms/A[z(h)]},T.get=function(h){var I=this.$ms,m=z(h);return m==="milliseconds"?I%=1e3:I=m==="weeks"?M(I/A[m]):this.$d[m],I||0},T.add=function(h,I,m){var x;return x=I?h*A[z(I)]:V(h)?h.$ms:j(h,this).$ms,j(this.$ms+x*(m?-1:1),this)},T.subtract=function(h,I){return this.add(h,I,!0)},T.locale=function(h){var I=this.clone();return I.$l=h,I},T.clone=function(){return j(this.$ms,this)},T.humanize=function(h){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},T.valueOf=function(){return this.asMilliseconds()},T.milliseconds=function(){return this.get("milliseconds")},T.asMilliseconds=function(){return this.as("milliseconds")},T.seconds=function(){return this.get("seconds")},T.asSeconds=function(){return this.as("seconds")},T.minutes=function(){return this.get("minutes")},T.asMinutes=function(){return this.as("minutes")},T.hours=function(){return this.get("hours")},T.asHours=function(){return this.as("hours")},T.days=function(){return this.get("days")},T.asDays=function(){return this.as("days")},T.weeks=function(){return this.get("weeks")},T.asWeeks=function(){return this.as("weeks")},T.months=function(){return this.get("months")},T.asMonths=function(){return this.as("months")},T.years=function(){return this.get("years")},T.asYears=function(){return this.as("years")},Y})(),B=function(Y,T,h){return Y.add(T.years()*h,"y").add(T.months()*h,"M").add(T.days()*h,"d").add(T.hours()*h,"h").add(T.minutes()*h,"m").add(T.seconds()*h,"s").add(T.milliseconds()*h,"ms")};return function(Y,T,h){i=h,e=h().$utils(),h.duration=function(x,p){var y=h.locale();return j(x,{$l:y},p)},h.isDuration=V;var I=T.prototype.add,m=T.prototype.subtract;T.prototype.add=function(x,p){return V(x)?B(this,x,1):I.bind(this)(x,p)},T.prototype.subtract=function(x,p){return V(x)?B(this,x,-1):m.bind(this)(x,p)}}}))})(wt)),wt.exports}var ts=Je();const es=Et(ts);var Yt=(function(){var t=l(function(y,n,d,f){for(d=d||{},f=y.length;f--;d[y[f]]=n);return d},"o"),r=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],e=[1,27],a=[1,28],g=[1,29],v=[1,30],b=[1,31],F=[1,32],L=[1,33],w=[1,34],P=[1,9],A=[1,10],V=[1,11],j=[1,12],z=[1,13],k=[1,14],M=[1,15],O=[1,16],$=[1,19],X=[1,20],B=[1,21],Y=[1,22],T=[1,23],h=[1,25],I=[1,35],m={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(n,d,f,u,_,s,D){var o=s.length-1;switch(_){case 1:return s[o-1];case 2:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:u.TopAxis(),this.$=s[o].substr(8);break;case 20:u.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:u.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:u.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:u.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:u.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:u.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:u.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],u.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],null),u.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-2],s[o-1]),u.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],u.setClickEvent(s[o-2],s[o],null),u.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-1],s[o]),u.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],u.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:e,14:a,15:g,16:v,17:b,18:F,19:18,20:L,21:w,22:P,23:A,24:V,25:j,26:z,27:k,28:M,29:O,30:$,31:X,33:B,35:Y,36:T,37:24,38:h,40:I},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:36,11:17,12:i,13:e,14:a,15:g,16:v,17:b,18:F,19:18,20:L,21:w,22:P,23:A,24:V,25:j,26:z,27:k,28:M,29:O,30:$,31:X,33:B,35:Y,36:T,37:24,38:h,40:I},t(r,[2,5]),t(r,[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),t(r,[2,23]),t(r,[2,24]),t(r,[2,25]),t(r,[2,26]),t(r,[2,27]),{32:[1,37]},{34:[1,38]},t(r,[2,30]),t(r,[2,31]),t(r,[2,32]),{39:[1,39]},t(r,[2,8]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),{41:[1,40],43:[1,41]},t(r,[2,4]),t(r,[2,28]),t(r,[2,29]),t(r,[2,33]),t(r,[2,34],{42:[1,42],43:[1,43]}),t(r,[2,40],{41:[1,44]}),t(r,[2,35],{43:[1,45]}),t(r,[2,36]),t(r,[2,38],{42:[1,46]}),t(r,[2,37]),t(r,[2,39])],defaultActions:{},parseError:l(function(n,d){if(d.recoverable)this.trace(n);else{var f=new Error(n);throw f.hash=d,f}},"parseError"),parse:l(function(n){var d=this,f=[0],u=[],_=[null],s=[],D=this.table,o="",H=0,c=0,S=2,C=1,R=s.slice.call(arguments,1),E=Object.create(this.lexer),N={yy:{}};for(var W in this.yy)Object.prototype.hasOwnProperty.call(this.yy,W)&&(N.yy[W]=this.yy[W]);E.setInput(n,N.yy),N.yy.lexer=E,N.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var rt=E.yylloc;s.push(rt);var nt=E.options&&E.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){f.length=f.length-2*Q,_.length=_.length-Q,s.length=s.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||E.lex()||C,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var q,K,Z,at,J={},it,tt,qt,vt;;){if(K=f[f.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((q===null||typeof q>"u")&&(q=lt()),Z=D[K]&&D[K][q]),typeof Z>"u"||!Z.length||!Z[0]){var Mt="";vt=[];for(it in D[K])this.terminals_[it]&&it>S&&vt.push("'"+this.terminals_[it]+"'");E.showPosition?Mt="Parse error on line "+(H+1)+`:
|
|
2
2
|
`+E.showPosition()+`
|
|
3
3
|
Expecting `+vt.join(", ")+", got '"+(this.terminals_[q]||q)+"'":Mt="Parse error on line "+(H+1)+": Unexpected "+(q==C?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(Mt,{text:E.match,token:this.terminals_[q]||q,line:E.yylineno,loc:rt,expected:vt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+q);switch(Z[0]){case 1:f.push(q),_.push(E.yytext),s.push(E.yylloc),f.push(Z[1]),q=null,c=E.yyleng,o=E.yytext,H=E.yylineno,rt=E.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=_[_.length-tt],J._$={first_line:s[s.length-(tt||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(tt||1)].first_column,last_column:s[s.length-1].last_column},nt&&(J._$.range=[s[s.length-(tt||1)].range[0],s[s.length-1].range[1]]),at=this.performAction.apply(J,[o,c,H,N.yy,Z[1],_,s].concat(R)),typeof at<"u")return at;tt&&(f=f.slice(0,-1*tt*2),_=_.slice(0,-1*tt),s=s.slice(0,-1*tt)),f.push(this.productions_[Z[1]][0]),_.push(J.$),s.push(J._$),qt=D[f[f.length-2]][f[f.length-1]],f.push(qt);break;case 3:return!0}}return!0},"parse")},x=(function(){var y={EOF:1,parseError:l(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:l(function(n,d){return this.yy=d||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var d=n.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var d=n.length,f=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),f.length-1&&(this.yylineno-=f.length-1);var _=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:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),d=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aI as $t,O as jt,aF as Rt,K as Ft,aG as Vt,L as Wt,a as g,N as gt,x as Gt,aK as Ht,k as Ut,p as Yt}from"./BU-Qzzbf.js";import{c3 as Q,g as a}from"./CyFUY7ZG.js";import{o as qt}from"./CmKTTxBW.js";import{d as Kt}from"./CvOaoHrI.js";function ot(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s<c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let h of t)(h=i(h,++c,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}a(ot,"max");function pt(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s>c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let h of t)(h=i(h,++c,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}a(pt,"min");function Z(t,i){let s=0;if(i===void 0)for(let c of t)(c=+c)&&(s+=c);else{let c=-1;for(let h of t)(h=+i(h,++c,t))&&(s+=h)}return s}a(Z,"sum");function _t(t){return t.target.depth}a(_t,"targetDepth");function vt(t){return t.depth}a(vt,"left");function bt(t,i){return i-1-t.height}a(bt,"right");function kt(t,i){return t.sourceLinks.length?t.depth:i-1}a(kt,"justify");function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,_t)-1:0}a(St,"center");function K(t){return function(){return t}}a(K,"constant");function at(t,i){return X(t.source,i.source)||t.index-i.index}a(at,"ascendingSourceBreadth");function lt(t,i){return X(t.target,i.target)||t.index-i.index}a(lt,"ascendingTargetBreadth");function X(t,i){return t.y0-i.y0}a(X,"ascendingBreadth");function J(t){return t.value}a(J,"value");function Lt(t){return t.index}a(Lt,"defaultId");function wt(t){return t.nodes}a(wt,"defaultNodes");function Tt(t){return t.links}a(Tt,"defaultLinks");function ct(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}a(ct,"find");function ut({nodes:t}){for(const i of t){let s=i.y0,c=s;for(const h of i.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of i.targetLinks)h.y1=c+h.width/2,c+=h.width}}a(ut,"computeLinkBreadths");function Et(){let t=0,i=0,s=1,c=1,h=24,v=8,d,m=Lt,o=kt,l,f,x=wt,b=Tt,p=6;function _(){const n={nodes:x.apply(null,arguments),links:b.apply(null,arguments)};return N(n),A(n),M(n),z(n),L(n),ut(n),n}a(_,"sankey"),_.update=function(n){return ut(n),n},_.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:K(n),_):m},_.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:K(n),_):o},_.nodeSort=function(n){return arguments.length?(l=n,_):l},_.nodeWidth=function(n){return arguments.length?(h=+n,_):h},_.nodePadding=function(n){return arguments.length?(v=d=+n,_):v},_.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:K(n),_):x},_.links=function(n){return arguments.length?(b=typeof n=="function"?n:K(n),_):b},_.linkSort=function(n){return arguments.length?(f=n,_):f},_.size=function(n){return arguments.length?(t=i=0,s=+n[0],c=+n[1],_):[s-t,c-i]},_.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],c=+n[1][1],_):[[t,i],[s,c]]},_.iterations=function(n){return arguments.length?(p=+n,_):p};function N({nodes:n,links:y}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((e,r)=>[m(e,r,n),e]));for(const[e,r]of y.entries()){r.index=e;let{source:k,target:S}=r;typeof k!="object"&&(k=r.source=ct(u,k)),typeof S!="object"&&(S=r.target=ct(u,S)),k.sourceLinks.push(r),S.targetLinks.push(r)}if(f!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(f),r.sort(f)}a(N,"computeNodeLinks");function A({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(Z(y.sourceLinks,J),Z(y.targetLinks,J)):y.fixedValue}a(A,"computeNodeValues");function M({nodes:n}){const y=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:S}of k.sourceLinks)e.add(S)}if(++r>y)throw new Error("circular link");u=e,e=new Set}}a(M,"computeNodeDepths");function z({nodes:n}){const y=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:S}of k.targetLinks)e.add(S)}if(++r>y)throw new Error("circular link");u=e,e=new Set}}a(z,"computeNodeHeights");function C({nodes:n}){const y=ot(n,r=>r.depth)+1,u=(s-t-h)/(y-1),e=new Array(y);for(const r of n){const k=Math.max(0,Math.min(y-1,Math.floor(o.call(null,r,y))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,e[k]?e[k].push(r):e[k]=[r]}if(l)for(const r of e)r.sort(l);return e}a(C,"computeNodeLayers");function D(n){const y=pt(n,u=>(c-i-(u.length-1)*d)/Z(u,J));for(const u of n){let e=i;for(const r of u){r.y0=e,r.y1=e+r.value*y,e=r.y1+d;for(const k of r.sourceLinks)k.width=k.value*y}e=(c-e+d)/(u.length+1);for(let r=0;r<u.length;++r){const k=u[r];k.y0+=e*(r+1),k.y1+=e*(r+1)}w(u)}}a(D,"initializeNodeBreadths");function L(n){const y=C(n);d=Math.min(v,(c-i)/(ot(y,u=>u.length)-1)),D(y);for(let u=0;u<p;++u){const e=Math.pow(.99,u),r=Math.max(1-e,(u+1)/p);R(y,e,r),P(y,e,r)}}a(L,"computeNodeBreadths");function P(n,y,u){for(let e=1,r=n.length;e<r;++e){const k=n[e];for(const S of k){let E=0,V=0;for(const{source:Y,value:st}of S.targetLinks){let q=st*(S.layer-Y.layer);E+=O(Y,S)*q,V+=q}if(!(V>0))continue;let U=(E/V-S.y0)*y;S.y0+=U,S.y1+=U,j(S)}l===void 0&&k.sort(X),$(k,u)}}a(P,"relaxLeftToRight");function R(n,y,u){for(let e=n.length,r=e-2;r>=0;--r){const k=n[r];for(const S of k){let E=0,V=0;for(const{target:Y,value:st}of S.sourceLinks){let q=st*(Y.layer-S.layer);E+=T(S,Y)*q,V+=q}if(!(V>0))continue;let U=(E/V-S.y0)*y;S.y0+=U,S.y1+=U,j(S)}l===void 0&&k.sort(X),$(k,u)}}a(R,"relaxRightToLeft");function $(n,y){const u=n.length>>1,e=n[u];I(n,e.y0-d,u-1,y),F(n,e.y1+d,u+1,y),I(n,c,n.length-1,y),F(n,i,0,y)}a($,"resolveCollisions");function F(n,y,u,e){for(;u<n.length;++u){const r=n[u],k=(y-r.y0)*e;k>1e-6&&(r.y0+=k,r.y1+=k),y=r.y1+d}}a(F,"resolveCollisionsTopToBottom");function I(n,y,u,e){for(;u>=0;--u){const r=n[u],k=(r.y1-y)*e;k>1e-6&&(r.y0-=k,r.y1-=k),y=r.y0-d}}a(I,"resolveCollisionsBottomToTop");function j({sourceLinks:n,targetLinks:y}){if(f===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(lt);for(const{target:{targetLinks:u}}of n)u.sort(at)}}a(j,"reorderNodeLinks");function w(n){if(f===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(lt),u.sort(at)}a(w,"reorderLinks");function O(n,y){let u=n.y0-(n.sourceLinks.length-1)*d/2;for(const{target:e,width:r}of n.sourceLinks){if(e===y)break;u+=r+d}for(const{source:e,width:r}of y.targetLinks){if(e===n)break;u-=r}return u}a(O,"targetTop");function T(n,y){let u=y.y0-(y.targetLinks.length-1)*d/2;for(const{source:e,width:r}of y.targetLinks){if(e===n)break;u+=r+d}for(const{target:e,width:r}of n.sourceLinks){if(e===y)break;u-=r}return u}return a(T,"sourceTop"),_}a(Et,"Sankey");var ht=Math.PI,ft=2*ht,W=1e-6,Xt=ft-W;function tt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}a(tt,"Path");function mt(){return new tt}a(mt,"path");tt.prototype=mt.prototype={constructor:tt,moveTo:a(function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},"moveTo"),closePath:a(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:a(function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},"lineTo"),quadraticCurveTo:a(function(t,i,s,c){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+c)},"quadraticCurveTo"),bezierCurveTo:a(function(t,i,s,c,h,v){this._+="C"+ +t+","+ +i+","+ +s+","+ +c+","+(this._x1=+h)+","+(this._y1=+v)},"bezierCurveTo"),arcTo:a(function(t,i,s,c,h){t=+t,i=+i,s=+s,c=+c,h=+h;var v=this._x1,d=this._y1,m=s-t,o=c-i,l=v-t,f=d-i,x=l*l+f*f;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(x>W)if(!(Math.abs(f*m-o*l)>W)||!h)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var b=s-v,p=c-d,_=m*m+o*o,N=b*b+p*p,A=Math.sqrt(_),M=Math.sqrt(x),z=h*Math.tan((ht-Math.acos((_+x-N)/(2*A*M)))/2),C=z/M,D=z/A;Math.abs(C-1)>W&&(this._+="L"+(t+C*l)+","+(i+C*f)),this._+="A"+h+","+h+",0,0,"+ +(f*b>l*p)+","+(this._x1=t+D*m)+","+(this._y1=i+D*o)}},"arcTo"),arc:a(function(t,i,s,c,h,v){t=+t,i=+i,s=+s,v=!!v;var d=s*Math.cos(c),m=s*Math.sin(c),o=t+d,l=i+m,f=1^v,x=v?c-h:h-c;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+l:(Math.abs(this._x1-o)>W||Math.abs(this._y1-l)>W)&&(this._+="L"+o+","+l),s&&(x<0&&(x=x%ft+ft),x>Xt?this._+="A"+s+","+s+",0,1,"+f+","+(t-d)+","+(i-m)+"A"+s+","+s+",0,1,"+f+","+(this._x1=o)+","+(this._y1=l):x>W&&(this._+="A"+s+","+s+",0,"+ +(x>=ht)+","+f+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=i+s*Math.sin(h))))},"arc"),rect:a(function(t,i,s,c){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +c+"h"+-s+"Z"},"rect"),toString:a(function(){return this._},"toString")};var Qt=mt;function yt(t){return a(function(){return t},"constant")}a(yt,"default");function At(t){return t[0]}a(At,"x");function Nt(t){return t[1]}a(Nt,"y");var Zt=Array.prototype.slice;function Mt(t){return t.source}a(Mt,"linkSource");function Ct(t){return t.target}a(Ct,"linkTarget");function Pt(t){var i=Mt,s=Ct,c=At,h=Nt,v=null;function d(){var m,o=Zt.call(arguments),l=i.apply(this,o),f=s.apply(this,o);if(v||(v=m=Qt()),t(v,+c.apply(this,(o[0]=l,o)),+h.apply(this,o),+c.apply(this,(o[0]=f,o)),+h.apply(this,o)),m)return v=null,m+""||null}return a(d,"link"),d.source=function(m){return arguments.length?(i=m,d):i},d.target=function(m){return arguments.length?(s=m,d):s},d.x=function(m){return arguments.length?(c=typeof m=="function"?m:yt(+m),d):c},d.y=function(m){return arguments.length?(h=typeof m=="function"?m:yt(+m),d):h},d.context=function(m){return arguments.length?(v=m??null,d):v},d}a(Pt,"link");function It(t,i,s,c,h){t.moveTo(i,s),t.bezierCurveTo(i=(i+c)/2,s,i,h,c,h)}a(It,"curveHorizontal");function Ot(){return Pt(It)}a(Ot,"linkHorizontal");function zt(t){return[t.source.x1,t.y0]}a(zt,"horizontalSource");function Bt(t){return[t.target.x0,t.y1]}a(Bt,"horizontalTarget");function Dt(){return Ot().source(zt).target(Bt)}a(Dt,"default");var dt=(function(){var t=g(function(m,o,l,f){for(l=l||{},f=m.length;f--;l[m[f]]=o);return l},"o"),i=[1,9],s=[1,10],c=[1,5,10,12],h={trace:g(a(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:g(a(function(o,l,f,x,b,p,_){var N=p.length-1;switch(b){case 7:const A=x.findOrCreateNode(p[N-4].trim().replaceAll('""','"')),M=x.findOrCreateNode(p[N-2].trim().replaceAll('""','"')),z=parseFloat(p[N].trim());x.addLink(A,M,z);break;case 8:case 9:case 11:this.$=p[N];break;case 10:this.$=p[N-1];break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(c,[2,8]),t(c,[2,9]),{19:[1,16]},t(c,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(c,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:g(a(function(o,l){if(l.recoverable)this.trace(o);else{var f=new Error(o);throw f.hash=l,f}},"parseError"),"parseError"),parse:g(a(function(o){var l=this,f=[0],x=[],b=[null],p=[],_=this.table,N="",A=0,M=0,z=2,C=1,D=p.slice.call(arguments,1),L=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);L.setInput(o,P.yy),P.yy.lexer=L,P.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var $=L.yylloc;p.push($);var F=L.options&&L.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function I(E){f.length=f.length-2*E,b.length=b.length-E,p.length=p.length-E}a(I,"popStack"),g(I,"popStack");function j(){var E;return E=x.pop()||L.lex()||C,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=l.symbols_[E]||E),E}a(j,"lex"),g(j,"lex");for(var w,O,T,n,y={},u,e,r,k;;){if(O=f[f.length-1],this.defaultActions[O]?T=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=j()),T=_[O]&&_[O][w]),typeof T>"u"||!T.length||!T[0]){var S="";k=[];for(u in _[O])this.terminals_[u]&&u>z&&k.push("'"+this.terminals_[u]+"'");L.showPosition?S="Parse error on line "+(A+1)+`:
|
|
1
|
+
import{aI as $t,O as jt,aF as Rt,K as Ft,aG as Vt,L as Wt,a as g,N as gt,x as Gt,aK as Ht,k as Ut,p as Yt}from"./BZA0d6L5.js";import{c3 as Q,g as a}from"./W0ohOtfo.js";import{o as qt}from"./CmKTTxBW.js";import{d as Kt}from"./CvOaoHrI.js";function ot(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s<c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let h of t)(h=i(h,++c,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}a(ot,"max");function pt(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s>c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let h of t)(h=i(h,++c,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}a(pt,"min");function Z(t,i){let s=0;if(i===void 0)for(let c of t)(c=+c)&&(s+=c);else{let c=-1;for(let h of t)(h=+i(h,++c,t))&&(s+=h)}return s}a(Z,"sum");function _t(t){return t.target.depth}a(_t,"targetDepth");function vt(t){return t.depth}a(vt,"left");function bt(t,i){return i-1-t.height}a(bt,"right");function kt(t,i){return t.sourceLinks.length?t.depth:i-1}a(kt,"justify");function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,_t)-1:0}a(St,"center");function K(t){return function(){return t}}a(K,"constant");function at(t,i){return X(t.source,i.source)||t.index-i.index}a(at,"ascendingSourceBreadth");function lt(t,i){return X(t.target,i.target)||t.index-i.index}a(lt,"ascendingTargetBreadth");function X(t,i){return t.y0-i.y0}a(X,"ascendingBreadth");function J(t){return t.value}a(J,"value");function Lt(t){return t.index}a(Lt,"defaultId");function wt(t){return t.nodes}a(wt,"defaultNodes");function Tt(t){return t.links}a(Tt,"defaultLinks");function ct(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}a(ct,"find");function ut({nodes:t}){for(const i of t){let s=i.y0,c=s;for(const h of i.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of i.targetLinks)h.y1=c+h.width/2,c+=h.width}}a(ut,"computeLinkBreadths");function Et(){let t=0,i=0,s=1,c=1,h=24,v=8,d,m=Lt,o=kt,l,f,x=wt,b=Tt,p=6;function _(){const n={nodes:x.apply(null,arguments),links:b.apply(null,arguments)};return N(n),A(n),M(n),z(n),L(n),ut(n),n}a(_,"sankey"),_.update=function(n){return ut(n),n},_.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:K(n),_):m},_.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:K(n),_):o},_.nodeSort=function(n){return arguments.length?(l=n,_):l},_.nodeWidth=function(n){return arguments.length?(h=+n,_):h},_.nodePadding=function(n){return arguments.length?(v=d=+n,_):v},_.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:K(n),_):x},_.links=function(n){return arguments.length?(b=typeof n=="function"?n:K(n),_):b},_.linkSort=function(n){return arguments.length?(f=n,_):f},_.size=function(n){return arguments.length?(t=i=0,s=+n[0],c=+n[1],_):[s-t,c-i]},_.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],c=+n[1][1],_):[[t,i],[s,c]]},_.iterations=function(n){return arguments.length?(p=+n,_):p};function N({nodes:n,links:y}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((e,r)=>[m(e,r,n),e]));for(const[e,r]of y.entries()){r.index=e;let{source:k,target:S}=r;typeof k!="object"&&(k=r.source=ct(u,k)),typeof S!="object"&&(S=r.target=ct(u,S)),k.sourceLinks.push(r),S.targetLinks.push(r)}if(f!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(f),r.sort(f)}a(N,"computeNodeLinks");function A({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(Z(y.sourceLinks,J),Z(y.targetLinks,J)):y.fixedValue}a(A,"computeNodeValues");function M({nodes:n}){const y=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:S}of k.sourceLinks)e.add(S)}if(++r>y)throw new Error("circular link");u=e,e=new Set}}a(M,"computeNodeDepths");function z({nodes:n}){const y=n.length;let u=new Set(n),e=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:S}of k.targetLinks)e.add(S)}if(++r>y)throw new Error("circular link");u=e,e=new Set}}a(z,"computeNodeHeights");function C({nodes:n}){const y=ot(n,r=>r.depth)+1,u=(s-t-h)/(y-1),e=new Array(y);for(const r of n){const k=Math.max(0,Math.min(y-1,Math.floor(o.call(null,r,y))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,e[k]?e[k].push(r):e[k]=[r]}if(l)for(const r of e)r.sort(l);return e}a(C,"computeNodeLayers");function D(n){const y=pt(n,u=>(c-i-(u.length-1)*d)/Z(u,J));for(const u of n){let e=i;for(const r of u){r.y0=e,r.y1=e+r.value*y,e=r.y1+d;for(const k of r.sourceLinks)k.width=k.value*y}e=(c-e+d)/(u.length+1);for(let r=0;r<u.length;++r){const k=u[r];k.y0+=e*(r+1),k.y1+=e*(r+1)}w(u)}}a(D,"initializeNodeBreadths");function L(n){const y=C(n);d=Math.min(v,(c-i)/(ot(y,u=>u.length)-1)),D(y);for(let u=0;u<p;++u){const e=Math.pow(.99,u),r=Math.max(1-e,(u+1)/p);R(y,e,r),P(y,e,r)}}a(L,"computeNodeBreadths");function P(n,y,u){for(let e=1,r=n.length;e<r;++e){const k=n[e];for(const S of k){let E=0,V=0;for(const{source:Y,value:st}of S.targetLinks){let q=st*(S.layer-Y.layer);E+=O(Y,S)*q,V+=q}if(!(V>0))continue;let U=(E/V-S.y0)*y;S.y0+=U,S.y1+=U,j(S)}l===void 0&&k.sort(X),$(k,u)}}a(P,"relaxLeftToRight");function R(n,y,u){for(let e=n.length,r=e-2;r>=0;--r){const k=n[r];for(const S of k){let E=0,V=0;for(const{target:Y,value:st}of S.sourceLinks){let q=st*(Y.layer-S.layer);E+=T(S,Y)*q,V+=q}if(!(V>0))continue;let U=(E/V-S.y0)*y;S.y0+=U,S.y1+=U,j(S)}l===void 0&&k.sort(X),$(k,u)}}a(R,"relaxRightToLeft");function $(n,y){const u=n.length>>1,e=n[u];I(n,e.y0-d,u-1,y),F(n,e.y1+d,u+1,y),I(n,c,n.length-1,y),F(n,i,0,y)}a($,"resolveCollisions");function F(n,y,u,e){for(;u<n.length;++u){const r=n[u],k=(y-r.y0)*e;k>1e-6&&(r.y0+=k,r.y1+=k),y=r.y1+d}}a(F,"resolveCollisionsTopToBottom");function I(n,y,u,e){for(;u>=0;--u){const r=n[u],k=(r.y1-y)*e;k>1e-6&&(r.y0-=k,r.y1-=k),y=r.y0-d}}a(I,"resolveCollisionsBottomToTop");function j({sourceLinks:n,targetLinks:y}){if(f===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(lt);for(const{target:{targetLinks:u}}of n)u.sort(at)}}a(j,"reorderNodeLinks");function w(n){if(f===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(lt),u.sort(at)}a(w,"reorderLinks");function O(n,y){let u=n.y0-(n.sourceLinks.length-1)*d/2;for(const{target:e,width:r}of n.sourceLinks){if(e===y)break;u+=r+d}for(const{source:e,width:r}of y.targetLinks){if(e===n)break;u-=r}return u}a(O,"targetTop");function T(n,y){let u=y.y0-(y.targetLinks.length-1)*d/2;for(const{source:e,width:r}of y.targetLinks){if(e===n)break;u+=r+d}for(const{target:e,width:r}of n.sourceLinks){if(e===y)break;u-=r}return u}return a(T,"sourceTop"),_}a(Et,"Sankey");var ht=Math.PI,ft=2*ht,W=1e-6,Xt=ft-W;function tt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}a(tt,"Path");function mt(){return new tt}a(mt,"path");tt.prototype=mt.prototype={constructor:tt,moveTo:a(function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},"moveTo"),closePath:a(function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},"closePath"),lineTo:a(function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},"lineTo"),quadraticCurveTo:a(function(t,i,s,c){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+c)},"quadraticCurveTo"),bezierCurveTo:a(function(t,i,s,c,h,v){this._+="C"+ +t+","+ +i+","+ +s+","+ +c+","+(this._x1=+h)+","+(this._y1=+v)},"bezierCurveTo"),arcTo:a(function(t,i,s,c,h){t=+t,i=+i,s=+s,c=+c,h=+h;var v=this._x1,d=this._y1,m=s-t,o=c-i,l=v-t,f=d-i,x=l*l+f*f;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(x>W)if(!(Math.abs(f*m-o*l)>W)||!h)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var b=s-v,p=c-d,_=m*m+o*o,N=b*b+p*p,A=Math.sqrt(_),M=Math.sqrt(x),z=h*Math.tan((ht-Math.acos((_+x-N)/(2*A*M)))/2),C=z/M,D=z/A;Math.abs(C-1)>W&&(this._+="L"+(t+C*l)+","+(i+C*f)),this._+="A"+h+","+h+",0,0,"+ +(f*b>l*p)+","+(this._x1=t+D*m)+","+(this._y1=i+D*o)}},"arcTo"),arc:a(function(t,i,s,c,h,v){t=+t,i=+i,s=+s,v=!!v;var d=s*Math.cos(c),m=s*Math.sin(c),o=t+d,l=i+m,f=1^v,x=v?c-h:h-c;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+l:(Math.abs(this._x1-o)>W||Math.abs(this._y1-l)>W)&&(this._+="L"+o+","+l),s&&(x<0&&(x=x%ft+ft),x>Xt?this._+="A"+s+","+s+",0,1,"+f+","+(t-d)+","+(i-m)+"A"+s+","+s+",0,1,"+f+","+(this._x1=o)+","+(this._y1=l):x>W&&(this._+="A"+s+","+s+",0,"+ +(x>=ht)+","+f+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=i+s*Math.sin(h))))},"arc"),rect:a(function(t,i,s,c){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +c+"h"+-s+"Z"},"rect"),toString:a(function(){return this._},"toString")};var Qt=mt;function yt(t){return a(function(){return t},"constant")}a(yt,"default");function At(t){return t[0]}a(At,"x");function Nt(t){return t[1]}a(Nt,"y");var Zt=Array.prototype.slice;function Mt(t){return t.source}a(Mt,"linkSource");function Ct(t){return t.target}a(Ct,"linkTarget");function Pt(t){var i=Mt,s=Ct,c=At,h=Nt,v=null;function d(){var m,o=Zt.call(arguments),l=i.apply(this,o),f=s.apply(this,o);if(v||(v=m=Qt()),t(v,+c.apply(this,(o[0]=l,o)),+h.apply(this,o),+c.apply(this,(o[0]=f,o)),+h.apply(this,o)),m)return v=null,m+""||null}return a(d,"link"),d.source=function(m){return arguments.length?(i=m,d):i},d.target=function(m){return arguments.length?(s=m,d):s},d.x=function(m){return arguments.length?(c=typeof m=="function"?m:yt(+m),d):c},d.y=function(m){return arguments.length?(h=typeof m=="function"?m:yt(+m),d):h},d.context=function(m){return arguments.length?(v=m??null,d):v},d}a(Pt,"link");function It(t,i,s,c,h){t.moveTo(i,s),t.bezierCurveTo(i=(i+c)/2,s,i,h,c,h)}a(It,"curveHorizontal");function Ot(){return Pt(It)}a(Ot,"linkHorizontal");function zt(t){return[t.source.x1,t.y0]}a(zt,"horizontalSource");function Bt(t){return[t.target.x0,t.y1]}a(Bt,"horizontalTarget");function Dt(){return Ot().source(zt).target(Bt)}a(Dt,"default");var dt=(function(){var t=g(function(m,o,l,f){for(l=l||{},f=m.length;f--;l[m[f]]=o);return l},"o"),i=[1,9],s=[1,10],c=[1,5,10,12],h={trace:g(a(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:g(a(function(o,l,f,x,b,p,_){var N=p.length-1;switch(b){case 7:const A=x.findOrCreateNode(p[N-4].trim().replaceAll('""','"')),M=x.findOrCreateNode(p[N-2].trim().replaceAll('""','"')),z=parseFloat(p[N].trim());x.addLink(A,M,z);break;case 8:case 9:case 11:this.$=p[N];break;case 10:this.$=p[N-1];break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(c,[2,8]),t(c,[2,9]),{19:[1,16]},t(c,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(c,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:g(a(function(o,l){if(l.recoverable)this.trace(o);else{var f=new Error(o);throw f.hash=l,f}},"parseError"),"parseError"),parse:g(a(function(o){var l=this,f=[0],x=[],b=[null],p=[],_=this.table,N="",A=0,M=0,z=2,C=1,D=p.slice.call(arguments,1),L=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);L.setInput(o,P.yy),P.yy.lexer=L,P.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var $=L.yylloc;p.push($);var F=L.options&&L.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function I(E){f.length=f.length-2*E,b.length=b.length-E,p.length=p.length-E}a(I,"popStack"),g(I,"popStack");function j(){var E;return E=x.pop()||L.lex()||C,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=l.symbols_[E]||E),E}a(j,"lex"),g(j,"lex");for(var w,O,T,n,y={},u,e,r,k;;){if(O=f[f.length-1],this.defaultActions[O]?T=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=j()),T=_[O]&&_[O][w]),typeof T>"u"||!T.length||!T[0]){var S="";k=[];for(u in _[O])this.terminals_[u]&&u>z&&k.push("'"+this.terminals_[u]+"'");L.showPosition?S="Parse error on line "+(A+1)+`:
|
|
2
2
|
`+L.showPosition()+`
|
|
3
3
|
Expecting `+k.join(", ")+", got '"+(this.terminals_[w]||w)+"'":S="Parse error on line "+(A+1)+": Unexpected "+(w==C?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(S,{text:L.match,token:this.terminals_[w]||w,line:L.yylineno,loc:$,expected:k})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+w);switch(T[0]){case 1:f.push(w),b.push(L.yytext),p.push(L.yylloc),f.push(T[1]),w=null,M=L.yyleng,N=L.yytext,A=L.yylineno,$=L.yylloc;break;case 2:if(e=this.productions_[T[1]][1],y.$=b[b.length-e],y._$={first_line:p[p.length-(e||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(e||1)].first_column,last_column:p[p.length-1].last_column},F&&(y._$.range=[p[p.length-(e||1)].range[0],p[p.length-1].range[1]]),n=this.performAction.apply(y,[N,M,A,P.yy,T[1],b,p].concat(D)),typeof n<"u")return n;e&&(f=f.slice(0,-1*e*2),b=b.slice(0,-1*e),p=p.slice(0,-1*e)),f.push(this.productions_[T[1]][0]),b.push(y.$),p.push(y._$),r=_[f[f.length-2]][f[f.length-1]],f.push(r);break;case 3:return!0}}return!0},"parse"),"parse")},v=(function(){var m={EOF:1,parseError:g(a(function(l,f){if(this.yy.parser)this.yy.parser.parseError(l,f);else throw new Error(l)},"parseError"),"parseError"),setInput:g(function(o,l){return this.yy=l||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:g(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var l=o.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:g(function(o){var l=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var x=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===x.length?this.yylloc.first_column:0)+x[x.length-f.length].length-f[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(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:g(function(o){this.unput(this.match.slice(o))},"less"),pastInput:g(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var o=this.pastInput(),l=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o,N as ht,an as dt,aE as yt,d as pt,k as ft,p as gt,aI as st,L as kt,aG as mt,K as wt,aF as _t,O as bt,r as xt}from"./
|
|
1
|
+
import{a as o,N as ht,an as dt,aE as yt,d as pt,k as ft,p as gt,aI as st,L as kt,aG as mt,K as wt,aF as _t,O as bt,r as xt}from"./BZA0d6L5.js";import{g as I}from"./W0ohOtfo.js";var et=(function(){var e=o(function(M,t,s,i){for(s=s||{},i=M.length;i--;s[M[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],p=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],O={trace:o(I(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},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,2],[12,1],[12,1],[12,1]],performAction:o(I(function(t,s,i,c,f,n,v){var w=n.length-1;switch(f){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),"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:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:p,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:p,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(I(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),"parseError"),parse:o(I(function(t){var s=this,i=[0],c=[],f=[null],n=[],v=this.table,w="",L=0,$=0,T=2,A=1,V=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(S.yy[B]=this.yy[B]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var F=b.yylloc;n.push(F);var U=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(N){i.length=i.length-2*N,f.length=f.length-N,n.length=n.length-N}I(Z,"popStack"),o(Z,"popStack");function q(){var N;return N=c.pop()||b.lex()||A,typeof N!="number"&&(N instanceof Array&&(c=N,N=c.pop()),N=s.symbols_[N]||N),N}I(q,"lex"),o(q,"lex");for(var P,W,D,Q,j={},K,R,it,X;;){if(W=i[i.length-1],this.defaultActions[W]?D=this.defaultActions[W]:((P===null||typeof P>"u")&&(P=q()),D=v[W]&&v[W][P]),typeof D>"u"||!D.length||!D[0]){var J="";X=[];for(K in v[W])this.terminals_[K]&&K>T&&X.push("'"+this.terminals_[K]+"'");b.showPosition?J="Parse error on line "+(L+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[P]||P)+"'":J="Parse error on line "+(L+1)+": Unexpected "+(P==A?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(J,{text:b.match,token:this.terminals_[P]||P,line:b.yylineno,loc:F,expected:X})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+P);switch(D[0]){case 1:i.push(P),f.push(b.yytext),n.push(b.yylloc),i.push(D[1]),P=null,$=b.yyleng,w=b.yytext,L=b.yylineno,F=b.yylloc;break;case 2:if(R=this.productions_[D[1]][1],j.$=f[f.length-R],j._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},U&&(j._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]]),Q=this.performAction.apply(j,[w,$,L,S.yy,D[1],f,n].concat(V)),typeof Q<"u")return Q;R&&(i=i.slice(0,-1*R*2),f=f.slice(0,-1*R),n=n.slice(0,-1*R)),i.push(this.productions_[D[1]][0]),f.push(j.$),n.push(j._$),it=v[i[i.length-2]][i[i.length-1]],i.push(it);break;case 3:return!0}}return!0},"parse"),"parse")},C=(function(){var M={EOF:1,parseError:o(I(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,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 t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=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),i.length-1&&(this.yylineno-=i.length-1);var f=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:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-s]),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(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Xe}from"./DNfhZLeN.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./BU-Qzzbf.js";import{s as ot}from"./DJsNWuz1.js";import{g as S}from"./CyFUY7ZG.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[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],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[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],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[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],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[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],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"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(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){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"),"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(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,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(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[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(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{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(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{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(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[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(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
1
|
+
import{g as Xe}from"./BzKpdh0S.js";import{a as m,M as He,aG as Je,L as Ze,aF as et,K as tt,aI as st,O as it,N as Ce,ad as Ae,k as rt,_ as nt,R as at,ax as lt,aV as ct}from"./BZA0d6L5.js";import{s as ot}from"./Bk33Ri54.js";import{g as S}from"./W0ohOtfo.js";var Ve=(function(){var e=m(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],n=[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],p=[2,7],y=[1,26],b=[1,27],T=[1,28],C=[1,29],A=[1,33],V=[1,34],v=[1,35],x=[1,36],L=[1,37],O=[1,38],w=[1,24],D=[1,31],M=[1,32],F=[1,30],R=[1,39],g=[1,40],E=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],U=[1,61],Z=[89,90],ve=[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],Re=[27,29],xe=[1,70],Le=[1,71],Oe=[1,72],we=[1,73],De=[1,74],Me=[1,75],Fe=[1,76],te=[1,83],Y=[1,80],se=[1,84],ie=[1,85],re=[1,86],ne=[1,87],ae=[1,88],le=[1,89],ce=[1,90],oe=[1,91],he=[1,92],ge=[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],B=[63,64],$e=[1,101],Pe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],N=[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],Q=[1,110],H=[1,106],K=[1,107],W=[1,108],j=[1,109],G=[1,111],ue=[1,116],fe=[1,117],me=[1,114],de=[1,115],be={trace:m(S(function(){},"trace"),"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(S(function(i,a,o,s,d,t,pe){var l=t.length-1;switch(d){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"),"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(n,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},e(n,[2,4]),e(n,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:43,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:44,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:45,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:46,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:47,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:48,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:49,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,89:R,90:g},{4:17,5:c,7:50,8:p,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:y,22:b,23:T,24:C,25:23,33:25,41:A,42:V,43:v,44:x,45:L,46:O,54:w,72:D,74:M,77:F,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(E,[2,17]),e(E,[2,18]),e(E,[2,19]),e(E,[2,20]),{30:60,33:62,75:U,89:R,90:g},{30:63,33:62,75:U,89:R,90:g},{30:64,33:62,75:U,89:R,90:g},e(Z,[2,29]),e(Z,[2,30]),e(Z,[2,31]),e(Z,[2,32]),e(Z,[2,33]),e(Z,[2,34]),e(ve,[2,81]),e(ve,[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(Re,[2,79]),e(Re,[2,80]),{27:[1,67],29:[1,68]},e(Re,[2,85]),e(Re,[2,86]),{62:69,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{62:77,65:xe,66:Le,67:Oe,68:we,69:De,70:Me,71:Fe},{30:78,33:62,75:U,89:R,90:g},{73:79,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,60]),e(ge,[2,62]),{73:93,75:te,76:Y,78:81,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},{30:94,33:62,75:U,76:Y,89:R,90:g},{5:[1,95]},{30:96,33:62,75:U,89:R,90:g},{5:[1,97]},{30:98,33:62,75:U,89:R,90:g},{63:[1,99]},e(B,[2,50]),e(B,[2,51]),e(B,[2,52]),e(B,[2,53]),e(B,[2,54]),e(B,[2,55]),e(B,[2,56]),{64:[1,100]},e(E,[2,59],{76:Y}),e(E,[2,64],{76:$e}),{33:103,75:[1,102],89:R,90:g},e(Pe,[2,65],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),e(N,[2,67]),e(N,[2,69]),e(N,[2,70]),e(N,[2,71]),e(N,[2,72]),e(N,[2,73]),e(N,[2,74]),e(N,[2,75]),e(N,[2,76]),e(N,[2,77]),e(N,[2,78]),e(E,[2,57],{76:$e}),e(E,[2,58],{76:Y}),{5:Q,28:105,31:H,34:K,36:W,38:j,40:G},{27:[1,112],76:Y},{5:ue,40:fe,56:113,57:me,59:de},{27:[1,118],76:Y},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:te,78:121,79:82,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he},e(ge,[2,61]),e(ge,[2,63]),e(N,[2,68]),e(E,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:Q,28:126,31:H,34:K,36:W,38:j,40:G},e(E,[2,28]),{5:[1,127]},e(E,[2,42]),{32:[1,128]},{32:[1,129]},{5:ue,40:fe,56:130,57:me,59:de},e(E,[2,47]),{5:[1,131]},e(E,[2,48]),e(E,[2,49]),e(Pe,[2,66],{79:104,75:te,80:se,81:ie,82:re,83:ne,84:ae,85:le,86:ce,87:oe,88:he}),{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(E,[2,27]),{5:Q,28:145,31:H,34:K,36:W,38:j,40:G},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(E,[2,46]),{5:ue,40:fe,56:152,57:me,59:de},{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(E,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(E,[2,43]),{5:Q,28:159,31:H,34:K,36:W,38:j,40:G},{5:Q,28:160,31:H,34:K,36:W,38:j,40:G},{5:Q,28:161,31:H,34:K,36:W,38:j,40:G},{5:Q,28:162,31:H,34:K,36:W,38:j,40:G},{5:ue,40:fe,56:163,57:me,59:de},{5:ue,40:fe,56:164,57:me,59:de},e(E,[2,23]),e(E,[2,24]),e(E,[2,25]),e(E,[2,26]),e(E,[2,44]),e(E,[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(S(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),"parseError"),parse:m(S(function(i){var a=this,o=[0],s=[],d=[null],t=[],pe=this.table,l="",ye=0,Ue=0,je=2,Ye=1,Ge=t.slice.call(arguments,1),_=Object.create(this.lexer),z={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(z.yy[Ie]=this.yy[Ie]);_.setInput(i,z.yy),z.yy.lexer=_,z.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var ke=_.yylloc;t.push(ke);var ze=_.options&&_.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(k){o.length=o.length-2*k,d.length=d.length-k,t.length=t.length-k}S(Be,"popStack"),m(Be,"popStack");function Te(){var k;return k=s.pop()||_.lex()||Ye,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=a.symbols_[k]||k),k}S(Te,"lex"),m(Te,"lex");for(var I,X,q,Ne,ee={},_e,$,Qe,Se;;){if(X=o[o.length-1],this.defaultActions[X]?q=this.defaultActions[X]:((I===null||typeof I>"u")&&(I=Te()),q=pe[X]&&pe[X][I]),typeof q>"u"||!q.length||!q[0]){var qe="";Se=[];for(_e in pe[X])this.terminals_[_e]&&_e>je&&Se.push("'"+this.terminals_[_e]+"'");_.showPosition?qe="Parse error on line "+(ye+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+Se.join(", ")+", got '"+(this.terminals_[I]||I)+"'":qe="Parse error on line "+(ye+1)+": Unexpected "+(I==Ye?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(qe,{text:_.match,token:this.terminals_[I]||I,line:_.yylineno,loc:ke,expected:Se})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+I);switch(q[0]){case 1:o.push(I),d.push(_.yytext),t.push(_.yylloc),o.push(q[1]),I=null,Ue=_.yyleng,l=_.yytext,ye=_.yylineno,ke=_.yylloc;break;case 2:if($=this.productions_[q[1]][1],ee.$=d[d.length-$],ee._$={first_line:t[t.length-($||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-($||1)].first_column,last_column:t[t.length-1].last_column},ze&&(ee._$.range=[t[t.length-($||1)].range[0],t[t.length-1].range[1]]),Ne=this.performAction.apply(ee,[l,Ue,ye,z.yy,q[1],d,t].concat(Ge)),typeof Ne<"u")return Ne;$&&(o=o.slice(0,-1*$*2),d=d.slice(0,-1*$),t=t.slice(0,-1*$)),o.push(this.productions_[q[1]][0]),d.push(ee.$),t.push(ee._$),Qe=pe[o[o.length-2]][o[o.length-1]],o.push(Qe);break;case 3:return!0}}return!0},"parse"),"parse")},We=(function(){var P={EOF:1,parseError:m(S(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),"parseError"),setInput:m(function(i,a){return this.yy=a||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 a=i.match(/(?:\r\n?|\n).*/g);return a?(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 a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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 d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),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
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(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as s}from"./
|
|
1
|
+
import{f as s}from"./W0ohOtfo.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c9 as xt,aP as _t,c6 as vt,aK as bt,c7 as St,aL as wt,f as y,aO as lt,aw as Lt,c3 as X,cd as Et,a0 as At,a4 as Tt}from"./CyFUY7ZG.js";import{o as Mt}from"./CmKTTxBW.js";import{d as Nt}from"./CvOaoHrI.js";function ct(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s<l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function pt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let u of t)(u=+i(u,++l,t))&&(s+=u)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function It(t,i){return i-1-t.height}function kt(t,i){return t.sourceLinks.length?t.depth:i-1}function Ot(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function q(t){return function(){return t}}function ut(t,i){return K(t.source,i.source)||t.index-i.index}function ht(t,i){return K(t.target,i.target)||t.index-i.index}function K(t,i){return t.y0-i.y0}function it(t){return t.value}function $t(t){return t.index}function Dt(t){return t.nodes}function jt(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const u of i.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of i.targetLinks)u.y1=l+u.width/2,l+=u.width}}function zt(){let t=0,i=0,s=1,l=1,u=24,x=8,g,k=$t,o=kt,a,h,m=Dt,_=jt,d=6;function v(){const n={nodes:m.apply(null,arguments),links:_.apply(null,arguments)};return T(n),A(n),M(n),I(n),S(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:q(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:q(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(u=+n,v):u},v.nodePadding=function(n){return arguments.length?(x=g=+n,v):x},v.nodes=function(n){return arguments.length?(m=typeof n=="function"?n:q(n),v):m},v.links=function(n){return arguments.length?(_=typeof n=="function"?n:q(n),v):_},v.linkSort=function(n){return arguments.length?(h=n,v):h},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ft(c,p)),typeof b!="object"&&(b=r.target=ft(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(h!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(h),r.sort(h)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.depth=r;for(const{target:b}of p.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function I({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.height=r;for(const{source:b}of p.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function N({nodes:n}){const f=ct(n,r=>r.depth)+1,c=(s-t-u)/(f-1),e=new Array(f);for(const r of n){const p=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+u,e[p]?e[p].push(r):e[p]=[r]}if(a)for(const r of e)r.sort(a);return e}function D(n){const f=pt(n,c=>(l-i-(c.length-1)*g)/nt(c,it));for(const c of n){let e=i;for(const r of c){r.y0=e,r.y1=e+r.value*f,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*f}e=(l-e+g)/(c.length+1);for(let r=0;r<c.length;++r){const p=c[r];p.y0+=e*(r+1),p.y1+=e*(r+1)}w(c)}}function S(n){const f=N(n);g=Math.min(x,(l-i)/(ct(f,c=>c.length)-1)),D(f);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(f,e,r),P(f,e,r)}}function P(n,f,c){for(let e=1,r=n.length;e<r;++e){const p=n[e];for(const b of p){let L=0,B=0;for(const{source:Y,value:et}of b.targetLinks){let H=et*(b.layer-Y.layer);L+=C(Y,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function R(n,f,c){for(let e=n.length,r=e-2;r>=0;--r){const p=n[r];for(const b of p){let L=0,B=0;for(const{target:Y,value:et}of b.sourceLinks){let H=et*(Y.layer-b.layer);L+=E(b,Y)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function j(n,f){const c=n.length>>1,e=n[c];O(n,e.y0-g,c-1,f),V(n,e.y1+g,c+1,f),O(n,l,n.length-1,f),V(n,i,0,f)}function V(n,f,c,e){for(;c<n.length;++c){const r=n[c],p=(f-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),f=r.y1+g}}function O(n,f,c,e){for(;c>=0;--c){const r=n[c],p=(r.y1-f)*e;p>1e-6&&(r.y0-=p,r.y1-=p),f=r.y0-g}}function z({sourceLinks:n,targetLinks:f}){if(h===void 0){for(const{source:{sourceLinks:c}}of f)c.sort(ht);for(const{target:{targetLinks:c}}of n)c.sort(ut)}}function w(n){if(h===void 0)for(const{sourceLinks:f,targetLinks:c}of n)f.sort(ht),c.sort(ut)}function C(n,f){let c=n.y0-(n.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c+=r+g}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c-=r}return c}function E(n,f){let c=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c+=r+g}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c-=r}return c}return v}var rt=Math.PI,st=2*rt,F=1e-6,Bt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mt(){return new ot}ot.prototype=mt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,u,x){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+u)+","+(this._y1=+x)},arcTo:function(t,i,s,l,u){t=+t,i=+i,s=+s,l=+l,u=+u;var x=this._x1,g=this._y1,k=s-t,o=l-i,a=x-t,h=g-i,m=a*a+h*h;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(m>F)if(!(Math.abs(h*k-o*a)>F)||!u)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var _=s-x,d=l-g,v=k*k+o*o,T=_*_+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=u*Math.tan((rt-Math.acos((v+m-T)/(2*A*M)))/2),N=I/M,D=I/A;Math.abs(N-1)>F&&(this._+="L"+(t+N*a)+","+(i+N*h)),this._+="A"+u+","+u+",0,0,"+ +(h*_>a*d)+","+(this._x1=t+D*k)+","+(this._y1=i+D*o)}},arc:function(t,i,s,l,u,x){t=+t,i=+i,s=+s,x=!!x;var g=s*Math.cos(l),k=s*Math.sin(l),o=t+g,a=i+k,h=1^x,m=x?l-u:u-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(m<0&&(m=m%st+st),m>Bt?this._+="A"+s+","+s+",0,1,"+h+","+(t-g)+","+(i-k)+"A"+s+","+s+",0,1,"+h+","+(this._x1=o)+","+(this._y1=a):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=rt)+","+h+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=i+s*Math.sin(u))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Ft(t){return t[0]}function Rt(t){return t[1]}var Vt=Array.prototype.slice;function Wt(t){return t.source}function Gt(t){return t.target}function Ut(t){var i=Wt,s=Gt,l=Ft,u=Rt,x=null;function g(){var k,o=Vt.call(arguments),a=i.apply(this,o),h=s.apply(this,o);if(x||(x=k=mt()),t(x,+l.apply(this,(o[0]=a,o)),+u.apply(this,o),+l.apply(this,(o[0]=h,o)),+u.apply(this,o)),k)return x=null,k+""||null}return g.source=function(k){return arguments.length?(i=k,g):i},g.target=function(k){return arguments.length?(s=k,g):s},g.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),g):l},g.y=function(k){return arguments.length?(u=typeof k=="function"?k:dt(+k),g):u},g.context=function(k){return arguments.length?(x=k??null,g):x},g}function Yt(t,i,s,l,u){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,u,l,u)}function Ht(){return Ut(Yt)}function Xt(t){return[t.source.x1,t.y0]}function qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(qt)}var at=(function(){var t=y(function(k,o,a,h){for(a=a||{},h=k.length;h--;a[k[h]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],u={trace:y(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:y(function(o,a,h,m,_,d,v){var T=d.length-1;switch(_){case 7:const A=m.findOrCreateNode(d[T-4].trim().replaceAll('""','"')),M=m.findOrCreateNode(d[T-2].trim().replaceAll('""','"')),I=parseFloat(d[T].trim());m.addLink(A,M,I);break;case 8:case 9:case 11:this.$=d[T];break;case 10:this.$=d[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:y(function(o,a){if(a.recoverable)this.trace(o);else{var h=new Error(o);throw h.hash=a,h}},"parseError"),parse:y(function(o){var a=this,h=[0],m=[],_=[null],d=[],v=this.table,T="",A=0,M=0,I=2,N=1,D=d.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);S.setInput(o,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){h.length=h.length-2*L,_.length=_.length-L,d.length=d.length-L}y(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||N,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=a.symbols_[L]||L),L}y(z,"lex");for(var w,C,E,n,f={},c,e,r,p;;){if(C=h[h.length-1],this.defaultActions[C]?E=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=z()),E=v[C]&&v[C][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[C])this.terminals_[c]&&c>I&&p.push("'"+this.terminals_[c]+"'");S.showPosition?b="Parse error on line "+(A+1)+`:
|
|
1
|
+
import{c9 as xt,aP as _t,c6 as vt,aK as bt,c7 as St,aL as wt,f as y,aO as lt,aw as Lt,c3 as X,cd as Et,a0 as At,a4 as Tt}from"./W0ohOtfo.js";import{o as Mt}from"./CmKTTxBW.js";import{d as Nt}from"./CvOaoHrI.js";function ct(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s<l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function pt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let u of t)(u=+i(u,++l,t))&&(s+=u)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function It(t,i){return i-1-t.height}function kt(t,i){return t.sourceLinks.length?t.depth:i-1}function Ot(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function q(t){return function(){return t}}function ut(t,i){return K(t.source,i.source)||t.index-i.index}function ht(t,i){return K(t.target,i.target)||t.index-i.index}function K(t,i){return t.y0-i.y0}function it(t){return t.value}function $t(t){return t.index}function Dt(t){return t.nodes}function jt(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const u of i.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of i.targetLinks)u.y1=l+u.width/2,l+=u.width}}function zt(){let t=0,i=0,s=1,l=1,u=24,x=8,g,k=$t,o=kt,a,h,m=Dt,_=jt,d=6;function v(){const n={nodes:m.apply(null,arguments),links:_.apply(null,arguments)};return T(n),A(n),M(n),I(n),S(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:q(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:q(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(u=+n,v):u},v.nodePadding=function(n){return arguments.length?(x=g=+n,v):x},v.nodes=function(n){return arguments.length?(m=typeof n=="function"?n:q(n),v):m},v.links=function(n){return arguments.length?(_=typeof n=="function"?n:q(n),v):_},v.linkSort=function(n){return arguments.length?(h=n,v):h},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ft(c,p)),typeof b!="object"&&(b=r.target=ft(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(h!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(h),r.sort(h)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.depth=r;for(const{target:b}of p.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function I({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.height=r;for(const{source:b}of p.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function N({nodes:n}){const f=ct(n,r=>r.depth)+1,c=(s-t-u)/(f-1),e=new Array(f);for(const r of n){const p=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+u,e[p]?e[p].push(r):e[p]=[r]}if(a)for(const r of e)r.sort(a);return e}function D(n){const f=pt(n,c=>(l-i-(c.length-1)*g)/nt(c,it));for(const c of n){let e=i;for(const r of c){r.y0=e,r.y1=e+r.value*f,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*f}e=(l-e+g)/(c.length+1);for(let r=0;r<c.length;++r){const p=c[r];p.y0+=e*(r+1),p.y1+=e*(r+1)}w(c)}}function S(n){const f=N(n);g=Math.min(x,(l-i)/(ct(f,c=>c.length)-1)),D(f);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(f,e,r),P(f,e,r)}}function P(n,f,c){for(let e=1,r=n.length;e<r;++e){const p=n[e];for(const b of p){let L=0,B=0;for(const{source:Y,value:et}of b.targetLinks){let H=et*(b.layer-Y.layer);L+=C(Y,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function R(n,f,c){for(let e=n.length,r=e-2;r>=0;--r){const p=n[r];for(const b of p){let L=0,B=0;for(const{target:Y,value:et}of b.sourceLinks){let H=et*(Y.layer-b.layer);L+=E(b,Y)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function j(n,f){const c=n.length>>1,e=n[c];O(n,e.y0-g,c-1,f),V(n,e.y1+g,c+1,f),O(n,l,n.length-1,f),V(n,i,0,f)}function V(n,f,c,e){for(;c<n.length;++c){const r=n[c],p=(f-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),f=r.y1+g}}function O(n,f,c,e){for(;c>=0;--c){const r=n[c],p=(r.y1-f)*e;p>1e-6&&(r.y0-=p,r.y1-=p),f=r.y0-g}}function z({sourceLinks:n,targetLinks:f}){if(h===void 0){for(const{source:{sourceLinks:c}}of f)c.sort(ht);for(const{target:{targetLinks:c}}of n)c.sort(ut)}}function w(n){if(h===void 0)for(const{sourceLinks:f,targetLinks:c}of n)f.sort(ht),c.sort(ut)}function C(n,f){let c=n.y0-(n.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c+=r+g}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c-=r}return c}function E(n,f){let c=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c+=r+g}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c-=r}return c}return v}var rt=Math.PI,st=2*rt,F=1e-6,Bt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mt(){return new ot}ot.prototype=mt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,u,x){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+u)+","+(this._y1=+x)},arcTo:function(t,i,s,l,u){t=+t,i=+i,s=+s,l=+l,u=+u;var x=this._x1,g=this._y1,k=s-t,o=l-i,a=x-t,h=g-i,m=a*a+h*h;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(m>F)if(!(Math.abs(h*k-o*a)>F)||!u)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var _=s-x,d=l-g,v=k*k+o*o,T=_*_+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=u*Math.tan((rt-Math.acos((v+m-T)/(2*A*M)))/2),N=I/M,D=I/A;Math.abs(N-1)>F&&(this._+="L"+(t+N*a)+","+(i+N*h)),this._+="A"+u+","+u+",0,0,"+ +(h*_>a*d)+","+(this._x1=t+D*k)+","+(this._y1=i+D*o)}},arc:function(t,i,s,l,u,x){t=+t,i=+i,s=+s,x=!!x;var g=s*Math.cos(l),k=s*Math.sin(l),o=t+g,a=i+k,h=1^x,m=x?l-u:u-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(m<0&&(m=m%st+st),m>Bt?this._+="A"+s+","+s+",0,1,"+h+","+(t-g)+","+(i-k)+"A"+s+","+s+",0,1,"+h+","+(this._x1=o)+","+(this._y1=a):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=rt)+","+h+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=i+s*Math.sin(u))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Ft(t){return t[0]}function Rt(t){return t[1]}var Vt=Array.prototype.slice;function Wt(t){return t.source}function Gt(t){return t.target}function Ut(t){var i=Wt,s=Gt,l=Ft,u=Rt,x=null;function g(){var k,o=Vt.call(arguments),a=i.apply(this,o),h=s.apply(this,o);if(x||(x=k=mt()),t(x,+l.apply(this,(o[0]=a,o)),+u.apply(this,o),+l.apply(this,(o[0]=h,o)),+u.apply(this,o)),k)return x=null,k+""||null}return g.source=function(k){return arguments.length?(i=k,g):i},g.target=function(k){return arguments.length?(s=k,g):s},g.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),g):l},g.y=function(k){return arguments.length?(u=typeof k=="function"?k:dt(+k),g):u},g.context=function(k){return arguments.length?(x=k??null,g):x},g}function Yt(t,i,s,l,u){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,u,l,u)}function Ht(){return Ut(Yt)}function Xt(t){return[t.source.x1,t.y0]}function qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(qt)}var at=(function(){var t=y(function(k,o,a,h){for(a=a||{},h=k.length;h--;a[k[h]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],u={trace:y(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:y(function(o,a,h,m,_,d,v){var T=d.length-1;switch(_){case 7:const A=m.findOrCreateNode(d[T-4].trim().replaceAll('""','"')),M=m.findOrCreateNode(d[T-2].trim().replaceAll('""','"')),I=parseFloat(d[T].trim());m.addLink(A,M,I);break;case 8:case 9:case 11:this.$=d[T];break;case 10:this.$=d[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:y(function(o,a){if(a.recoverable)this.trace(o);else{var h=new Error(o);throw h.hash=a,h}},"parseError"),parse:y(function(o){var a=this,h=[0],m=[],_=[null],d=[],v=this.table,T="",A=0,M=0,I=2,N=1,D=d.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);S.setInput(o,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){h.length=h.length-2*L,_.length=_.length-L,d.length=d.length-L}y(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||N,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=a.symbols_[L]||L),L}y(z,"lex");for(var w,C,E,n,f={},c,e,r,p;;){if(C=h[h.length-1],this.defaultActions[C]?E=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=z()),E=v[C]&&v[C][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[C])this.terminals_[c]&&c>I&&p.push("'"+this.terminals_[c]+"'");S.showPosition?b="Parse error on line "+(A+1)+`:
|
|
2
2
|
`+S.showPosition()+`
|
|
3
3
|
Expecting `+p.join(", ")+", got '"+(this.terminals_[w]||w)+"'":b="Parse error on line "+(A+1)+": Unexpected "+(w==N?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(b,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:j,expected:p})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(E[0]){case 1:h.push(w),_.push(S.yytext),d.push(S.yylloc),h.push(E[1]),w=null,M=S.yyleng,T=S.yytext,A=S.yylineno,j=S.yylloc;break;case 2:if(e=this.productions_[E[1]][1],f.$=_[_.length-e],f._$={first_line:d[d.length-(e||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(e||1)].first_column,last_column:d[d.length-1].last_column},V&&(f._$.range=[d[d.length-(e||1)].range[0],d[d.length-1].range[1]]),n=this.performAction.apply(f,[T,M,A,P.yy,E[1],_,d].concat(D)),typeof n<"u")return n;e&&(h=h.slice(0,-1*e*2),_=_.slice(0,-1*e),d=d.slice(0,-1*e)),h.push(this.productions_[E[1]][0]),_.push(f.$),d.push(f._$),r=v[h[h.length-2]][h[h.length-1]],h.push(r);break;case 3:return!0}}return!0},"parse")},x=(function(){var k={EOF:1,parseError:y(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:y(function(o,a){return this.yy=a||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:y(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var a=o.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:y(function(o){var a=o.length,h=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var m=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),h.length-1&&(this.yylineno-=h.length-1);var _=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:h?(h.length===m.length?this.yylloc.first_column:0)+m[m.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:y(function(){return this._more=!0,this},"more"),reject:y(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:y(function(o){this.unput(this.match.slice(o))},"less"),pastInput:y(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:y(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:y(function(){var o=this.pastInput(),a=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as j,bq as d,a_ as B,by as T,bs as W,b as q,bo as z,bu as D}from"./CiieX7lJ.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./B8o4lNgr.js";import{C as U}from"./
|
|
1
|
+
import{t as j,bq as d,a_ as B,by as T,bs as W,b as q,bo as z,bu as D}from"./CiieX7lJ.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./B8o4lNgr.js";import{C as U}from"./BNboIXBF.js";import{dj as V}from"./D8P_sRVN.js";import{i as X}from"./H2jLkRRS.js";var Y=R('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return j({component:Z,...c});L(o,!0);const l=()=>D(b,"$workspace",u),[u,m]=W();let s=d(o,"tab",7),n=d(o,"workspaceId",7);const g=O(n());E(()=>{g.set(n())});const b=V(g),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),i=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(i).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:T,$on:(e,a)=>q(o,e,a)},p=F(),y=G(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=J(a),$=K(A,!0);M(a),N(S=>Q($,S),[()=>z.layout_chatChanges_noChanges_label()]),f(e,a)};B(y,e=>{t(i).length>0?e(P):e(I,-1)})}f(c,p);var x=H(C);return m(),x}export{Z as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as qe,bq as _,bo as u,a_ as he,by as He,b as je,bt as Rr,bu as ht,bs as Fr}from"./CiieX7lJ.js";import{bs as Ze,ay as K,be as dt,b$ as tt,b_ as M,bO as q,W as C,bS as p,aD as e,a7 as vt,bl as Ce,bn as Xe,c9 as w,aA as h,aB as ee,ca as Pe,c0 as yt,bH as i,a5 as re,bA as oe,bV as A,br as xt,bk as Tr,bj as Sr,bf as _o,c5 as Ct,aw as Xt,bz as ho,cd as Kt}from"./B8o4lNgr.js";import{c as X}from"./BYsuIPWO.js";import{h as wr,i as yo,k as Et,s as Ke,l as xo,I as Co,a as kt}from"./cHkD9nAc.js";import{b as pt}from"./D2g8BuR1.js";import{d as br}from"./0PTcTNoV.js";import{D as ko,B as Io,I as Eo}from"./BkR4V1cF.js";import{c as rr}from"./ChTqQfQN.js";import{b as Po}from"./uNf6IBlq.js";import{f as Te,bb as Lo}from"./MvsKYcnI.js";import{n as at}from"./Bn-T0dS6.js";import{s as Ro}from"./DFiy7ajR.js";import{cf as $r,F as we,a6 as Fo,aU as To,ao as So,cz as $o,aI as Uo,aV as Yt,$ as or,a1 as nr,aY as Bo,at as Ao,c9 as Ur,bL as Br,b5 as No,cH as Oo,cd as Do}from"./Cu4EVTck.js";import"./Ck1S-wvb.js";import{G2 as Ee,fz as Mo,bm as Vo,xb as Wo,wy as zo,HW as mr,dD as Go,bF as Ko,HV as qo,sA as Ho,HT as _r,gf as jo,s0 as Zo,HU as Xo,HA as hr,HS as yr}from"./DScTb8GR.js";import{a as Ar,B as It}from"./CR2KEzOv.js";import{bV as Yo}from"./Djp3xwow.js";import{$ as Jo}from"./0f-s2juB.js";import{w as Qo,J as en}from"./CSwi3ilf.js";import{I as $t}from"./DxuhGP23.js";import{d as tn}from"./D_uejvO_.js";import{a7 as rn}from"./Dtc6gYfR.js";import{i as Jt}from"./CnfhTYg8.js";import{i as on,a as nn}from"./fLx2F21_.js";import{R as an,n as qt,o as lt,m as sn,l as ze,s as Nr,k as Or,K as ln,p as dn,r as un,q as cn,M as Dr}from"./CP_wqUC5.js";import{k as fn,B as gn}from"./D7UZpnOG.js";import"./CBlUgvul.js";import{t as Ae}from"./D9pZvnq5.js";import{M as Mr}from"./Ci_eRBar.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import"./BsIC5g2I.js";import{o as xr,s as it,n as Tt}from"./CpHIRYx9.js";import{g as vn}from"./CoSk1zgY.js";import{f as pn}from"./OmIIAf5Z.js";import{az as wn,a1 as bn,Q as mn}from"./nFRRHcr0.js";import{aM as _n}from"./D8P_sRVN.js";function hn(o,r){return o.loadURL(r)}function yn(o){return{previousUrlProp:o||null}}function Cr(o,r){o.previousUrlProp=r}function xn(o,r,a){const m=a||r;return o.previousUrlProp===m?null:(o.previousUrlProp=m,m)}function Cn(o,r,a){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:a.webviewReady?(o.previousUrlProp=r,a.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const Vr=rr("TabBoundsReporter"),kn=150;function Ht(o,r,a){!(r>0)||!(a>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:a}).catch(m=>{Vr.debug("Failed to report tab bounds",{tabId:o,error:m})})}function kr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{Vr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function In(o,r){let a=r,m;const L=typeof ResizeObserver>"u"?void 0:new ResizeObserver(R=>{if(!a)return;const E=R[R.length-1]?.contentRect;if(!E)return;const v=a;clearTimeout(m),m=setTimeout(()=>{Ht(v,E.width,E.height)},kn)});if(L?.observe(o),a){const R=o.getBoundingClientRect();Ht(a,R.width,R.height)}return{update(R){if(R!==a&&(clearTimeout(m),a&&kr(a),a=R,a)){const E=o.getBoundingClientRect();Ht(a,E.width,E.height)}},destroy(){clearTimeout(m),L?.disconnect(),a&&kr(a)}}}function Wr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function st(o,r=typeof window<"u"?window.location.origin:""){if(o==="about:blank")return!0;if(!o)return!1;try{const a=new URL(o);return Ar.NAVIGATION_ALLOWED.includes(a.protocol)&&a.origin!==r}catch{return!1}}const Ut=[{id:"iphone-se",name:"iPhone SE",category:"phone",width:375,height:667},{id:"iphone-15",name:"iPhone 15",category:"phone",width:393,height:852},{id:"pixel-8",name:"Pixel 8",category:"phone",width:412,height:915},{id:"ipad-mini",name:"iPad Mini",category:"tablet",width:768,height:1024},{id:"ipad-pro-11",name:"iPad Pro 11″",category:"tablet",width:834,height:1194},{id:"desktop-1280x800",name:"1280 × 800",category:"desktop",width:1280,height:800},{id:"desktop-1440x900",name:"1440 × 900",category:"desktop",width:1440,height:900}];function En(o){return{...o,width:o.height,height:o.width}}var Pn=ee('<span class="min-w-0 flex-1 truncate"> </span> <span class="type-caption ml-3 text-muted-foreground"> </span>',1),jt=ee("<!> <!> <!>",1),Ln=ee('<span class="min-w-0 flex-1"> </span> <span class="type-caption text-muted-foreground"> </span>',1),Zt=ee("<!> <!>",1);function ar(o,r){if(new.target)return qe({component:ar,...o});Ze(r,!0);let a=_(r,"viewport",7),m=_(r,"onViewportChange",7),L=_(r,"onCustom",7);const R=["phone","tablet","desktop"],E=w(()=>a().mode==="fit"?"fit":a().mode==="preset"?a().presetId:"custom");function v(I){if(I==="fit")return m()({mode:"fit"});const x=Ut.find(Z=>Z.id===I);x&&m()({mode:"preset",presetId:x.id,width:x.width,height:x.height})}var O={get viewport(){return a()},set viewport(I){a(I),h()},get onViewportChange(){return m()},set onViewportChange(I){m(I),h()},get onCustom(){return L()},set onCustom(I){L(I),h()},$set:He,$on:(I,x)=>je(r,I,x)},f=jt(),F=K(f);X(F,()=>an,(I,x)=>{x(I,{get value(){return e(E)},onValueChange:v,children:(Z,J)=>{var G=jt(),T=K(G);X(T,()=>qt,(D,s)=>{s(D,{value:"fit",children:(U,ne)=>{dt();var Y=tt();M(Q=>q(Y,Q),[()=>u.browser_viewport_fitPanel_label()]),C(U,Y)},$$slots:{default:!0}})});var j=p(T,2);wr(j,17,()=>R,yo,(D,s)=>{var U=jt(),ne=K(U);X(ne,()=>lt,(B,c)=>{c(B,{})});var Y=p(ne,2);X(Y,()=>sn,(B,c)=>{c(B,{children:(l,N)=>{dt();var ae=tt();M(Ie=>q(ae,Ie),[()=>e(s)==="phone"?u.browser_viewport_phoneGroup_label():e(s)==="tablet"?u.browser_viewport_tabletGroup_label():u.browser_viewport_desktopGroup_label()]),C(l,ae)},$$slots:{default:!0}})});var Q=p(Y,2);wr(Q,17,()=>Ut.filter(B=>B.category===e(s)),B=>B.id,(B,c)=>{var l=vt(),N=K(l);X(N,()=>qt,(ae,Ie)=>{Ie(ae,{get value(){return e(c).id},children:(d,b)=>{var y=Pn(),k=K(y),W=Ce(k,!0),H=p(k,2),ie=Ce(H,!0);M(ye=>{q(W,e(c).name),q(ie,ye)},[()=>u.browser_viewport_dimensions_label({width:Ae(e(c).width),height:Ae(e(c).height)})]),C(d,y)},$$slots:{default:!0}})}),C(B,l)}),C(D,U)});var le=p(j,2);{var ge=D=>{var s=Zt(),U=K(s);X(U,()=>lt,(Y,Q)=>{Q(Y,{})});var ne=p(U,2);X(ne,()=>qt,(Y,Q)=>{Q(Y,{value:"custom",get onSelect(){return L()},children:(B,c)=>{var l=Ln(),N=K(l),ae=Ce(N,!0),Ie=p(N,2),d=Ce(Ie,!0);M((b,y)=>{q(ae,b),q(d,y)},[()=>u.browser_viewport_custom_label(),()=>u.browser_viewport_dimensions_label({width:Ae(a().width),height:Ae(a().height)})]),C(B,l)},$$slots:{default:!0}})}),C(D,s)};he(le,D=>{a().mode==="custom"&&D(ge)})}C(Z,G)},$$slots:{default:!0}})});var z=p(F,2);{var P=I=>{var x=Zt(),Z=K(x);X(Z,()=>lt,(G,T)=>{T(G,{})});var J=p(Z,2);X(J,()=>ze,(G,T)=>{T(G,{get onSelect(){return L()},children:(j,le)=>{dt();var ge=tt();M(D=>q(ge,D),[()=>u.browser_viewport_custom_label()]),C(j,ge)},$$slots:{default:!0}})}),C(I,x)};he(z,I=>{a().mode!=="custom"&&I(P)})}var $=p(z,2);{var V=I=>{var x=Zt(),Z=K(x);X(Z,()=>lt,(G,T)=>{T(G,{})});var J=p(Z,2);{let G=w(()=>u.browser_viewport_rotate_label());X(J,()=>Mr,(T,j)=>{j(T,{get icon(){return $r},get label(){return e(G)},onSelect:()=>m()(En(a()))})})}C(I,x)};he($,I=>{a().mode!=="fit"&&I(V)})}return C(o,f),Xe(O)}var Rn=ee('<div class="grid grid-cols-2 gap-3"><label class="space-y-1 type-caption"><span> </span> <!></label> <label class="space-y-1 type-caption"><span> </span> <!></label></div>');function ir(o,r){if(new.target)return qe({component:ir,...o});Ze(r,!0);let a=_(r,"open",15,!1),m=_(r,"viewport",7),L=_(r,"onViewportChange",7),R=_(r,"returnFocus",7);const E=320,v=3840;let O=A(1280),f=A(800),F=A(null);function z(I){return typeof I=="number"&&Number.isInteger(I)&&I>=E&&I<=v}const P=w(()=>z(e(O))&&z(e(f)));Pe(()=>{if(a())return()=>{yt().then(()=>{R()?.isConnected&&R().focus()})}}),Pe(()=>{a()||(i(O,m().mode==="fit"?1280:m().width,!0),i(f,m().mode==="fit"?800:m().height,!0))});function $(){!e(P)||e(O)===null||e(f)===null||(L()({mode:"custom",width:e(O),height:e(f)}),a(!1))}var V={get open(){return a()},set open(I=!1){a(I),h()},get viewport(){return m()},set viewport(I){m(I),h()},get onViewportChange(){return L()},set onViewportChange(I){L(I),h()},get returnFocus(){return R()},set returnFocus(I){R(I),h()},$set:He,$on:(I,x)=>je(r,I,x)};{let I=w(()=>u.browser_viewport_custom_label()),x=w(()=>u.browser_viewport_sizeRange_description({min:Ae(E),max:Ae(v)})),Z=w(()=>u.browser_viewport_apply_label());fn(o,{get title(){return e(I)},get description(){return e(x)},get submitLabel(){return e(Z)},get canSubmit(){return e(P)},onSubmit:$,get initialFocus(){return e(F)},get open(){return a()},set open(J){a(J)},children:(J,G)=>{var T=Rn(),j=re(T),le=re(j),ge=Ce(le,!0),D=p(le,2);{let Q=w(()=>!z(e(O)));$t(D,{type:"number",min:E,max:v,step:"1",get"aria-invalid"(){return e(Q)},get value(){return e(O)},set value(B){i(O,B,!0)},get ref(){return e(F)},set ref(B){i(F,B,!0)}})}oe(j);var s=p(j,2),U=re(s),ne=Ce(U,!0),Y=p(U,2);{let Q=w(()=>!z(e(f)));$t(Y,{type:"number",min:E,max:v,step:"1",get"aria-invalid"(){return e(Q)},get value(){return e(f)},set value(B){i(f,B,!0)}})}oe(s),oe(T),M((Q,B)=>{q(ge,Q),q(ne,B)},[()=>u.browser_viewport_width_label(),()=>u.browser_viewport_height_label()]),C(J,T)},$$slots:{default:!0}})}return Xe(V)}var St=ee("<!> <!>",1),et=ee("<!> ",1),Fn=ee('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),Tn=ee("<!> <!> <!> <!> <!>",1),Sn=ee('<!> <span class="min-w-0 flex-1"> </span> <kbd class="type-caption ml-5 text-muted-foreground" aria-hidden="true">⌘⌥I</kbd>',1),$n=ee("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function zr(o,r){if(new.target)return qe({component:zr,...o});Ze(r,!0);let a=_(r,"errorCount",7,0),m=_(r,"disabled",7,!1),L=_(r,"collapsed",7,!1),R=_(r,"canGoBack",7,!1),E=_(r,"canGoForward",7,!1),v=_(r,"canSelectElement",7,!1),O=_(r,"selectingElement",7,!1),f=_(r,"viewport",23,()=>({mode:"fit"})),F=_(r,"onGoBack",7),z=_(r,"onGoForward",7),P=_(r,"onToggleElementPicker",7),$=_(r,"onViewportChange",7),V=_(r,"onOpenExternal",7),I=_(r,"onCopyUrl",7),x=_(r,"onScreenshot",7),Z=_(r,"onOpenConsole",7),J=_(r,"onOpenSource",7),G=_(r,"onOpenInspector",7),T=_(r,"onReloadWithoutCache",7);const j=w(()=>a()>0?u.browser_overflow_triggerWithErrors_ariaLabel({count:Ae(a())}):u.browser_overflow_trigger_ariaLabel()),le=w(()=>f().mode==="preset"?Ut.find(l=>l.id===f().presetId):void 0),ge=w(()=>f().mode==="fit"?u.browser_viewport_fitPanel_label():e(le)?.name??u.browser_viewport_dimensions_label({width:Ae(f().width),height:Ae(f().height)}));let D=A(!1),s=A(null),U=A(!1);async function ne(){i(U,!1),await yt(),i(D,!0)}var Y={get errorCount(){return a()},set errorCount(l=0){a(l),h()},get disabled(){return m()},set disabled(l=!1){m(l),h()},get collapsed(){return L()},set collapsed(l=!1){L(l),h()},get canGoBack(){return R()},set canGoBack(l=!1){R(l),h()},get canGoForward(){return E()},set canGoForward(l=!1){E(l),h()},get canSelectElement(){return v()},set canSelectElement(l=!1){v(l),h()},get selectingElement(){return O()},set selectingElement(l=!1){O(l),h()},get viewport(){return f()},set viewport(l={mode:"fit"}){f(l),h()},get onGoBack(){return F()},set onGoBack(l){F(l),h()},get onGoForward(){return z()},set onGoForward(l){z(l),h()},get onToggleElementPicker(){return P()},set onToggleElementPicker(l){P(l),h()},get onViewportChange(){return $()},set onViewportChange(l){$(l),h()},get onOpenExternal(){return V()},set onOpenExternal(l){V(l),h()},get onCopyUrl(){return I()},set onCopyUrl(l){I(l),h()},get onScreenshot(){return x()},set onScreenshot(l){x(l),h()},get onOpenConsole(){return Z()},set onOpenConsole(l){Z(l),h()},get onOpenSource(){return J()},set onOpenSource(l){J(l),h()},get onOpenInspector(){return G()},set onOpenInspector(l){G(l),h()},get onReloadWithoutCache(){return T()},set onReloadWithoutCache(l){T(l),h()},$set:He,$on:(l,N)=>je(r,l,N)},Q=St(),B=K(Q);X(B,()=>Dr,(l,N)=>{N(l,{get open(){return e(U)},set open(ae){i(U,ae,!0)},children:(ae,Ie)=>{var d=St(),b=K(d);{const k=(W,H)=>{let ie=()=>(H?.()).props;{let ye=w(()=>u.browser_overflow_trigger_tooltip());Te(W,Rr(ie,{variant:"ghost-light",size:"icon-xs",class:"relative",get disabled(){return m()},get tooltip(){return e(ye)},tooltipSide:"bottom",get"aria-label"(){return e(j)},"data-testid":"browser-overflow-trigger",get ref(){return e(s)},set ref(ve){i(s,ve,!0)},children:(ve,De)=>{var Ve=St(),Le=K(Ve);ln(Le,{class:"size-3.5"});var Re=p(Le,2);{var _e=Se=>{gn(Se,{variant:"destructive",class:"absolute -right-1.5 -top-1.5 h-4 min-w-4 px-1 text-xs leading-none","data-testid":"browser-console-error-badge",children:(ut,rt)=>{dt();var ct=tt();M(Ye=>q(ct,Ye),[()=>a()>9?"9+":Ae(a())]),C(ut,ct)},$$slots:{default:!0}})};he(Re,Se=>{a()>0&&Se(_e)})}C(ve,Ve)},$$slots:{default:!0}}))}};X(b,()=>Nr,(W,H)=>{H(W,{child:k,$$slots:{child:!0}})})}var y=p(b,2);X(y,()=>Or,(k,W)=>{W(k,{align:"end",class:"w-56",onCloseAutoFocus:H=>e(D)&&H.preventDefault(),children:(H,ie)=>{var ye=$n(),ve=K(ye);{var De=ue=>{var pe=Tn(),be=K(pe);{let se=w(()=>!R());X(be,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},get onSelect(){return F()},children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return or},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>u.browser_embedded_goBack_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var Fe=p(be,2);{let se=w(()=>!E());X(Fe,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},get onSelect(){return z()},children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return nr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>u.browser_embedded_goForward_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var ce=p(Fe,2);{let se=w(()=>!v());X(ce,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},onSelect:()=>void P()?.(),children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return Yt},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>O()?u.browser_embedded_cancelElementSelection_ariaLabel():u.browser_embedded_selectElement_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var de=p(ce,2);X(de,()=>dn,(se,me)=>{me(se,{children:(Je,ot)=>{var Ge=St(),$e=K(Ge);{let Ue=w(()=>!$());X($e,()=>un,(Oe,ft)=>{ft(Oe,{get disabled(){return e(Ue)},children:(bt,mt)=>{var _t=Fn(),Pt=K(_t);we(Pt,{get icon(){return Bo},size:"xs",class:"w-4 text-muted-foreground"});var Lt=p(Pt,2),Rt=Ce(Lt,!0);M(Bt=>q(Rt,Bt),[()=>u.browser_viewport_trigger_ariaLabel({mode:e(ge)})]),C(bt,_t)},$$slots:{default:!0}})})}var Ne=p($e,2);X(Ne,()=>cn,(Ue,Oe)=>{Oe(Ue,{class:"w-64",children:(ft,bt)=>{ar(ft,{get viewport(){return f()},onViewportChange:mt=>$()?.(mt),onCustom:ne})},$$slots:{default:!0}})}),C(Je,Ge)},$$slots:{default:!0}})});var xe=p(de,2);X(xe,()=>lt,(se,me)=>{me(se,{})}),C(ue,pe)};he(ve,ue=>{L()&&ue(De)})}var Ve=p(ve,2);X(Ve,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void V()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return Fo},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_openExternal_label()]),C(be,ce)},$$slots:{default:!0}})});var Le=p(Ve,2);X(Le,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void I()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return To},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_copyUrl_label()]),C(be,ce)},$$slots:{default:!0}})});var Re=p(Le,2);X(Re,()=>lt,(ue,pe)=>{pe(ue,{})});var _e=p(Re,2);X(_e,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void x()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return So},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_screenshot_label()]),C(be,ce)},$$slots:{default:!0}})});var Se=p(_e,2);X(Se,()=>lt,(ue,pe)=>{pe(ue,{})});var ut=p(Se,2);X(ut,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void Z()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return $o},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_console_label()]),C(be,ce)},$$slots:{default:!0}})});var rt=p(ut,2);X(rt,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void J()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return Uo},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_source_label()]),C(be,ce)},$$slots:{default:!0}})});var ct=p(rt,2);X(ct,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void G()(),children:(be,Fe)=>{var ce=Sn(),de=K(ce);we(de,{get icon(){return Yt},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de,2),se=Ce(xe,!0);dt(2),M(me=>q(se,me),[()=>u.browser_overflow_inspector_label()]),C(be,ce)},$$slots:{default:!0}})});var Ye=p(ct,2);X(Ye,()=>lt,(ue,pe)=>{pe(ue,{})});var wt=p(Ye,2);X(wt,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void T()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return $r},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_reloadWithoutCache_label()]),C(be,ce)},$$slots:{default:!0}})}),C(H,ye)},$$slots:{default:!0}})}),C(ae,d)},$$slots:{default:!0}})});var c=p(B,2);return ir(c,{get viewport(){return f()},onViewportChange:l=>$()?.(l),get returnFocus(){return e(s)},get open(){return e(D)},set open(l){i(D,l,!0)}}),C(o,Q),Xe(Y)}var Un=ee('<span class="truncate"> </span> <!>',1),Ir=ee("<!> <!>",1);function Gr(o,r){if(new.target)return qe({component:Gr,...o});Ze(r,!0);let a=_(r,"viewport",7),m=_(r,"onViewportChange",7),L=A(!1),R=A(!1),E=A(null);const v=w(()=>a().mode==="preset"?Ut.find(x=>x.id===a().presetId):void 0),O=w(()=>a().mode==="fit"?"":u.browser_viewport_dimensions_label({width:Ae(a().width),height:Ae(a().height)})),f=w(()=>a().mode==="fit"?u.browser_viewport_fit_short_label():a().mode==="preset"&&e(v)?e(v).name:e(O)),F=w(()=>a().mode==="fit"?u.browser_viewport_fitPanel_label():e(f));async function z(){i(L,!1),await yt(),i(R,!0)}var P={get viewport(){return a()},set viewport(x){a(x),h()},get onViewportChange(){return m()},set onViewportChange(x){m(x),h()},$set:He,$on:(x,Z)=>je(r,x,Z)},$=Ir(),V=K($);X(V,()=>Dr,(x,Z)=>{Z(x,{get open(){return e(L)},set open(J){i(L,J,!0)},children:(J,G)=>{var T=Ir(),j=K(T);{const ge=(D,s)=>{let U=()=>(s?.()).props;{let ne=w(()=>u.browser_viewport_trigger_ariaLabel({mode:e(F)}));Te(D,Rr(U,{variant:"ghost-light",size:"xs",class:"h-6 max-w-36 gap-1 rounded-full bg-muted px-2 text-xs hover:bg-muted/80",get"aria-label"(){return e(ne)},"data-testid":"browser-viewport-trigger",get ref(){return e(E)},set ref(Y){i(E,Y,!0)},children:(Y,Q)=>{var B=Un(),c=K(B),l=Ce(c,!0),N=p(c,2);we(N,{get icon(){return Ao},size:"xs",class:"shrink-0"}),M(()=>q(l,e(f))),C(Y,B)},$$slots:{default:!0}}))}};X(j,()=>Nr,(D,s)=>{s(D,{child:ge,$$slots:{child:!0}})})}var le=p(j,2);X(le,()=>Or,(ge,D)=>{D(ge,{align:"end",class:"w-64",onCloseAutoFocus:s=>e(R)&&s.preventDefault(),children:(s,U)=>{ar(s,{get viewport(){return a()},get onViewportChange(){return m()},onCustom:z})},$$slots:{default:!0}})}),C(J,T)},$$slots:{default:!0}})});var I=p(V,2);return ir(I,{get viewport(){return a()},get onViewportChange(){return m()},get returnFocus(){return e(E)},get open(){return e(R)},set open(x){i(R,x,!0)}}),C(o,$),Xe(P)}var Bn=ee('<span class="pointer-events-none absolute bottom-1 left-1/2 z-10 -translate-x-1/2 rounded bg-background/90 px-1.5 py-0.5 text-xs text-muted-foreground shadow-sm backdrop-blur" data-browser-viewport-readout=""> </span> <!>',1),An=ee('<div data-browser-device-frame-container=""><div><!> <!></div></div>');function Kr(o,r){if(new.target)return qe({component:Kr,...o});Ze(r,!0);const a=320,m=3840,L=150;let R=_(r,"viewport",7),E=_(r,"onViewportChange",7),v=_(r,"children",7),O=A(xt(R().mode==="fit"?a:R().width)),f=A(xt(R().mode==="fit"?a:R().height)),F,z=A(0),P=A(0),$=A(!1),V=null,I=0,x=0,Z=0,J=0,G;const T=w(()=>R().mode==="fit"),j=w(()=>u.browser_viewport_dimensions_label({width:Ae(e(O)),height:Ae(e(f))})),le=w(()=>!e(T)&&e(z)>0&&e(P)>0?Math.min(1,e(z)/e(O),e(P)/e(f)):1),ge=w(()=>e(O)*e(le)),D=w(()=>e(f)*e(le));Pe(()=>{e($)||R().mode==="fit"||(i(O,R().width,!0),i(f,R().height,!0))});function s(y){return Math.min(m,Math.max(a,Math.round(y)))}function U(){E()({mode:"custom",width:e(O),height:e(f)})}function ne(){clearTimeout(G),G=setTimeout(U,L)}function Y(y){e(T)||y.button!==0||(y.preventDefault(),i($,!0),V=y.pointerId,I=y.clientX,x=y.clientY,Z=e(O),J=e(f),y.currentTarget instanceof HTMLElement&&y.currentTarget.setPointerCapture?.(y.pointerId))}function Q(y){!e($)||y.pointerId!==V||(i(O,s(Z+y.clientX-I),!0),i(f,s(J+y.clientY-x),!0),ne())}function B(y){if(!e($)||y.pointerId!==V)return;clearTimeout(G),i($,!1),V=null;const k=y.currentTarget;k instanceof HTMLElement&&k.hasPointerCapture?.(y.pointerId)&&k.releasePointerCapture&&k.releasePointerCapture(y.pointerId),U()}Tr(()=>{const y=(W,H)=>{i(z,W,!0),i(P,H,!0)};y(F.clientWidth,F.clientHeight);const k=typeof ResizeObserver>"u"?void 0:new ResizeObserver(([W])=>{y(W?.contentRect.width??F.clientWidth,W?.contentRect.height??F.clientHeight)});return k?.observe(F),()=>k?.disconnect()}),Sr(()=>clearTimeout(G));var c={get viewport(){return R()},set viewport(y){R(y),h()},get onViewportChange(){return E()},set onViewportChange(y){E(y),h()},get children(){return v()},set children(y){v(y),h()},$set:He,$on:(y,k)=>je(r,y,k)},l=An(),N=re(l);let ae;var Ie=re(N);Ro(Ie,()=>v()??_o);var d=p(Ie,2);{var b=y=>{var k=Bn(),W=K(k),H=Ce(W,!0),ie=p(W,2);{let ye=w(()=>u.browser_viewport_resizeHandle_ariaLabel());Te(ie,{type:"button",variant:"ghost",size:"icon-xs",iconOnly:!0,class:"absolute bottom-0 right-0 z-20 size-5 cursor-nwse-resize touch-none border-0 bg-transparent p-0 after:absolute after:bottom-1 after:right-1 after:size-2 after:border-b-2 after:border-r-2 after:border-muted-foreground",get"aria-label"(){return e(ye)},"data-testid":"browser-device-resize-handle",onpointerdown:Y,onpointermove:Q,onpointerup:B,onpointercancel:B})}M(()=>q(H,e(j))),C(y,k)};he(d,y=>{e(T)||y(b)})}return oe(N),oe(l),pt(l,y=>F=y,()=>F),M(()=>{Et(l,1,`flex h-full w-full items-center justify-center overflow-hidden ${e(T)?"bg-background":"bg-muted/40"}`),Et(N,1,`relative overflow-hidden bg-background ${e(T)?"h-full w-full":e($)?"ring-2 ring-primary/30":""}`),Ke(N,"data-browser-device-frame",e(T)?void 0:""),Ke(N,"data-width",e(T)?void 0:e(O)),Ke(N,"data-height",e(T)?void 0:e(f)),ae=xo(N,"",ae,{width:e(T)?void 0:`${e(ge)}px`,height:e(T)?void 0:`${e(D)}px`})}),C(o,l),Xe(c)}function qr(o,r){if(new.target)return qe({component:qr,...o});Ze(r,!0);let a=_(r,"active",7),m=_(r,"disabled",7),L=_(r,"onToggle",7);var R={get active(){return a()},set active(E){a(E),h()},get disabled(){return m()},set disabled(E){m(E),h()},get onToggle(){return L()},set onToggle(E){L(E),h()},$set:He,$on:(E,v)=>je(r,E,v)};{let E=w(()=>a()?"bg-muted text-foreground":""),v=w(()=>a()?u.browser_embedded_cancelElementSelection_tooltip():u.browser_embedded_selectElement_tooltip()),O=w(()=>a()?u.browser_embedded_cancelElementSelection_ariaLabel():u.browser_embedded_selectElement_ariaLabel());Te(o,{variant:"ghost-light",size:"icon-xs",get class(){return e(E)},get onclick(){return L()},get disabled(){return m()},get tooltip(){return e(v)},tooltipSide:"bottom",get"aria-label"(){return e(O)},get"aria-pressed"(){return a()},"data-testid":"browser-select-element",children:(f,F)=>{we(f,{get icon(){return Yt},size:"xs"})},$$slots:{default:!0}})}return Xe(R)}function Nn(o,r,a){const m=a.width>0?r.width/a.width:1,L=a.height>0?r.height/a.height:1,R=Math.max(0,Math.floor(o.x*m)),E=Math.max(0,Math.floor(o.y*L)),v=Math.min(r.width,Math.ceil((o.x+o.width)*m)),O=Math.min(r.height,Math.ceil((o.y+o.height)*L));return{x:R,y:E,width:Math.max(0,v-R),height:Math.max(0,O-E)}}const On=xr({selector:it().min(1),domPath:it().min(1),tagName:it().min(1),id:it(),className:it(),textSnippet:it().max(120),rect:xr({x:Tt().finite(),y:Tt().finite(),width:Tt().finite().nonnegative(),height:Tt().finite().nonnegative()}).strict(),pageUrl:it().min(1),sourceRef:it().min(1).optional()}).strict(),Er="__INTENT_ELEMENT_PICKED__:";function Dn(o){if(o==="__INTENT_ELEMENT_PICK_CANCELLED__")return{type:"cancelled"};if(!o.startsWith(Er))return null;let r;try{r=JSON.parse(o.slice(Er.length))}catch{r=null}const a=On.safeParse(r);return a.success?{type:"picked",element:a.data}:{type:"malformed",issues:a.error.issues}}const Mn=String.raw`
|
|
1
|
+
import{t as qe,bq as _,bo as u,a_ as he,by as He,b as je,bt as Rr,bu as ht,bs as Fr}from"./CiieX7lJ.js";import{bs as Ze,ay as K,be as dt,b$ as tt,b_ as M,bO as q,W as C,bS as p,aD as e,a7 as vt,bl as Ce,bn as Xe,c9 as w,aA as h,aB as ee,ca as Pe,c0 as yt,bH as i,a5 as re,bA as oe,bV as A,br as xt,bk as Tr,bj as Sr,bf as _o,c5 as Ct,aw as Xt,bz as ho,cd as Kt}from"./B8o4lNgr.js";import{c as X}from"./BYsuIPWO.js";import{h as wr,i as yo,k as Et,s as Ke,l as xo,I as Co,a as kt}from"./cHkD9nAc.js";import{b as pt}from"./D2g8BuR1.js";import{d as br}from"./_hl98vj7.js";import{D as ko,B as Io,I as Eo}from"./BkR4V1cF.js";import{c as rr}from"./ChTqQfQN.js";import{b as Po}from"./uNf6IBlq.js";import{f as Te,bb as Lo}from"./MvsKYcnI.js";import{n as at}from"./Bn-T0dS6.js";import{s as Ro}from"./DFiy7ajR.js";import{cf as $r,F as we,a6 as Fo,aU as To,ao as So,cz as $o,aI as Uo,aV as Yt,$ as or,a1 as nr,aY as Bo,at as Ao,c9 as Ur,bL as Br,b5 as No,cH as Oo,cd as Do}from"./Cu4EVTck.js";import"./Ck1S-wvb.js";import{G2 as Ee,fz as Mo,bm as Vo,xb as Wo,wy as zo,HW as mr,dD as Go,bF as Ko,HV as qo,sA as Ho,HT as _r,gf as jo,s0 as Zo,HU as Xo,HA as hr,HS as yr}from"./DScTb8GR.js";import{a as Ar,B as It}from"./CR2KEzOv.js";import{bV as Yo}from"./BFe-YAfF.js";import{$ as Jo}from"./ChPWwTDQ.js";import{w as Qo,J as en}from"./CSwi3ilf.js";import{I as $t}from"./DxuhGP23.js";import{d as tn}from"./D_uejvO_.js";import{a7 as rn}from"./DZOobfUN.js";import{i as Jt}from"./CnfhTYg8.js";import{i as on,a as nn}from"./fLx2F21_.js";import{R as an,n as qt,o as lt,m as sn,l as ze,s as Nr,k as Or,K as ln,p as dn,r as un,q as cn,M as Dr}from"./CP_wqUC5.js";import{k as fn,B as gn}from"./lPZVVuHr.js";import"./CBlUgvul.js";import{t as Ae}from"./D9pZvnq5.js";import{M as Mr}from"./Ci_eRBar.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import"./BsIC5g2I.js";import{o as xr,s as it,n as Tt}from"./CpHIRYx9.js";import{g as vn}from"./CoSk1zgY.js";import{f as pn}from"./DHxfVjMA.js";import{az as wn,a1 as bn,Q as mn}from"./BqDXJV4b.js";import{aM as _n}from"./D8P_sRVN.js";function hn(o,r){return o.loadURL(r)}function yn(o){return{previousUrlProp:o||null}}function Cr(o,r){o.previousUrlProp=r}function xn(o,r,a){const m=a||r;return o.previousUrlProp===m?null:(o.previousUrlProp=m,m)}function Cn(o,r,a){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:a.webviewReady?(o.previousUrlProp=r,a.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const Vr=rr("TabBoundsReporter"),kn=150;function Ht(o,r,a){!(r>0)||!(a>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:a}).catch(m=>{Vr.debug("Failed to report tab bounds",{tabId:o,error:m})})}function kr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{Vr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function In(o,r){let a=r,m;const L=typeof ResizeObserver>"u"?void 0:new ResizeObserver(R=>{if(!a)return;const E=R[R.length-1]?.contentRect;if(!E)return;const v=a;clearTimeout(m),m=setTimeout(()=>{Ht(v,E.width,E.height)},kn)});if(L?.observe(o),a){const R=o.getBoundingClientRect();Ht(a,R.width,R.height)}return{update(R){if(R!==a&&(clearTimeout(m),a&&kr(a),a=R,a)){const E=o.getBoundingClientRect();Ht(a,E.width,E.height)}},destroy(){clearTimeout(m),L?.disconnect(),a&&kr(a)}}}function Wr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function st(o,r=typeof window<"u"?window.location.origin:""){if(o==="about:blank")return!0;if(!o)return!1;try{const a=new URL(o);return Ar.NAVIGATION_ALLOWED.includes(a.protocol)&&a.origin!==r}catch{return!1}}const Ut=[{id:"iphone-se",name:"iPhone SE",category:"phone",width:375,height:667},{id:"iphone-15",name:"iPhone 15",category:"phone",width:393,height:852},{id:"pixel-8",name:"Pixel 8",category:"phone",width:412,height:915},{id:"ipad-mini",name:"iPad Mini",category:"tablet",width:768,height:1024},{id:"ipad-pro-11",name:"iPad Pro 11″",category:"tablet",width:834,height:1194},{id:"desktop-1280x800",name:"1280 × 800",category:"desktop",width:1280,height:800},{id:"desktop-1440x900",name:"1440 × 900",category:"desktop",width:1440,height:900}];function En(o){return{...o,width:o.height,height:o.width}}var Pn=ee('<span class="min-w-0 flex-1 truncate"> </span> <span class="type-caption ml-3 text-muted-foreground"> </span>',1),jt=ee("<!> <!> <!>",1),Ln=ee('<span class="min-w-0 flex-1"> </span> <span class="type-caption text-muted-foreground"> </span>',1),Zt=ee("<!> <!>",1);function ar(o,r){if(new.target)return qe({component:ar,...o});Ze(r,!0);let a=_(r,"viewport",7),m=_(r,"onViewportChange",7),L=_(r,"onCustom",7);const R=["phone","tablet","desktop"],E=w(()=>a().mode==="fit"?"fit":a().mode==="preset"?a().presetId:"custom");function v(I){if(I==="fit")return m()({mode:"fit"});const x=Ut.find(Z=>Z.id===I);x&&m()({mode:"preset",presetId:x.id,width:x.width,height:x.height})}var O={get viewport(){return a()},set viewport(I){a(I),h()},get onViewportChange(){return m()},set onViewportChange(I){m(I),h()},get onCustom(){return L()},set onCustom(I){L(I),h()},$set:He,$on:(I,x)=>je(r,I,x)},f=jt(),F=K(f);X(F,()=>an,(I,x)=>{x(I,{get value(){return e(E)},onValueChange:v,children:(Z,J)=>{var G=jt(),T=K(G);X(T,()=>qt,(D,s)=>{s(D,{value:"fit",children:(U,ne)=>{dt();var Y=tt();M(Q=>q(Y,Q),[()=>u.browser_viewport_fitPanel_label()]),C(U,Y)},$$slots:{default:!0}})});var j=p(T,2);wr(j,17,()=>R,yo,(D,s)=>{var U=jt(),ne=K(U);X(ne,()=>lt,(B,c)=>{c(B,{})});var Y=p(ne,2);X(Y,()=>sn,(B,c)=>{c(B,{children:(l,N)=>{dt();var ae=tt();M(Ie=>q(ae,Ie),[()=>e(s)==="phone"?u.browser_viewport_phoneGroup_label():e(s)==="tablet"?u.browser_viewport_tabletGroup_label():u.browser_viewport_desktopGroup_label()]),C(l,ae)},$$slots:{default:!0}})});var Q=p(Y,2);wr(Q,17,()=>Ut.filter(B=>B.category===e(s)),B=>B.id,(B,c)=>{var l=vt(),N=K(l);X(N,()=>qt,(ae,Ie)=>{Ie(ae,{get value(){return e(c).id},children:(d,b)=>{var y=Pn(),k=K(y),W=Ce(k,!0),H=p(k,2),ie=Ce(H,!0);M(ye=>{q(W,e(c).name),q(ie,ye)},[()=>u.browser_viewport_dimensions_label({width:Ae(e(c).width),height:Ae(e(c).height)})]),C(d,y)},$$slots:{default:!0}})}),C(B,l)}),C(D,U)});var le=p(j,2);{var ge=D=>{var s=Zt(),U=K(s);X(U,()=>lt,(Y,Q)=>{Q(Y,{})});var ne=p(U,2);X(ne,()=>qt,(Y,Q)=>{Q(Y,{value:"custom",get onSelect(){return L()},children:(B,c)=>{var l=Ln(),N=K(l),ae=Ce(N,!0),Ie=p(N,2),d=Ce(Ie,!0);M((b,y)=>{q(ae,b),q(d,y)},[()=>u.browser_viewport_custom_label(),()=>u.browser_viewport_dimensions_label({width:Ae(a().width),height:Ae(a().height)})]),C(B,l)},$$slots:{default:!0}})}),C(D,s)};he(le,D=>{a().mode==="custom"&&D(ge)})}C(Z,G)},$$slots:{default:!0}})});var z=p(F,2);{var P=I=>{var x=Zt(),Z=K(x);X(Z,()=>lt,(G,T)=>{T(G,{})});var J=p(Z,2);X(J,()=>ze,(G,T)=>{T(G,{get onSelect(){return L()},children:(j,le)=>{dt();var ge=tt();M(D=>q(ge,D),[()=>u.browser_viewport_custom_label()]),C(j,ge)},$$slots:{default:!0}})}),C(I,x)};he(z,I=>{a().mode!=="custom"&&I(P)})}var $=p(z,2);{var V=I=>{var x=Zt(),Z=K(x);X(Z,()=>lt,(G,T)=>{T(G,{})});var J=p(Z,2);{let G=w(()=>u.browser_viewport_rotate_label());X(J,()=>Mr,(T,j)=>{j(T,{get icon(){return $r},get label(){return e(G)},onSelect:()=>m()(En(a()))})})}C(I,x)};he($,I=>{a().mode!=="fit"&&I(V)})}return C(o,f),Xe(O)}var Rn=ee('<div class="grid grid-cols-2 gap-3"><label class="space-y-1 type-caption"><span> </span> <!></label> <label class="space-y-1 type-caption"><span> </span> <!></label></div>');function ir(o,r){if(new.target)return qe({component:ir,...o});Ze(r,!0);let a=_(r,"open",15,!1),m=_(r,"viewport",7),L=_(r,"onViewportChange",7),R=_(r,"returnFocus",7);const E=320,v=3840;let O=A(1280),f=A(800),F=A(null);function z(I){return typeof I=="number"&&Number.isInteger(I)&&I>=E&&I<=v}const P=w(()=>z(e(O))&&z(e(f)));Pe(()=>{if(a())return()=>{yt().then(()=>{R()?.isConnected&&R().focus()})}}),Pe(()=>{a()||(i(O,m().mode==="fit"?1280:m().width,!0),i(f,m().mode==="fit"?800:m().height,!0))});function $(){!e(P)||e(O)===null||e(f)===null||(L()({mode:"custom",width:e(O),height:e(f)}),a(!1))}var V={get open(){return a()},set open(I=!1){a(I),h()},get viewport(){return m()},set viewport(I){m(I),h()},get onViewportChange(){return L()},set onViewportChange(I){L(I),h()},get returnFocus(){return R()},set returnFocus(I){R(I),h()},$set:He,$on:(I,x)=>je(r,I,x)};{let I=w(()=>u.browser_viewport_custom_label()),x=w(()=>u.browser_viewport_sizeRange_description({min:Ae(E),max:Ae(v)})),Z=w(()=>u.browser_viewport_apply_label());fn(o,{get title(){return e(I)},get description(){return e(x)},get submitLabel(){return e(Z)},get canSubmit(){return e(P)},onSubmit:$,get initialFocus(){return e(F)},get open(){return a()},set open(J){a(J)},children:(J,G)=>{var T=Rn(),j=re(T),le=re(j),ge=Ce(le,!0),D=p(le,2);{let Q=w(()=>!z(e(O)));$t(D,{type:"number",min:E,max:v,step:"1",get"aria-invalid"(){return e(Q)},get value(){return e(O)},set value(B){i(O,B,!0)},get ref(){return e(F)},set ref(B){i(F,B,!0)}})}oe(j);var s=p(j,2),U=re(s),ne=Ce(U,!0),Y=p(U,2);{let Q=w(()=>!z(e(f)));$t(Y,{type:"number",min:E,max:v,step:"1",get"aria-invalid"(){return e(Q)},get value(){return e(f)},set value(B){i(f,B,!0)}})}oe(s),oe(T),M((Q,B)=>{q(ge,Q),q(ne,B)},[()=>u.browser_viewport_width_label(),()=>u.browser_viewport_height_label()]),C(J,T)},$$slots:{default:!0}})}return Xe(V)}var St=ee("<!> <!>",1),et=ee("<!> ",1),Fn=ee('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),Tn=ee("<!> <!> <!> <!> <!>",1),Sn=ee('<!> <span class="min-w-0 flex-1"> </span> <kbd class="type-caption ml-5 text-muted-foreground" aria-hidden="true">⌘⌥I</kbd>',1),$n=ee("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function zr(o,r){if(new.target)return qe({component:zr,...o});Ze(r,!0);let a=_(r,"errorCount",7,0),m=_(r,"disabled",7,!1),L=_(r,"collapsed",7,!1),R=_(r,"canGoBack",7,!1),E=_(r,"canGoForward",7,!1),v=_(r,"canSelectElement",7,!1),O=_(r,"selectingElement",7,!1),f=_(r,"viewport",23,()=>({mode:"fit"})),F=_(r,"onGoBack",7),z=_(r,"onGoForward",7),P=_(r,"onToggleElementPicker",7),$=_(r,"onViewportChange",7),V=_(r,"onOpenExternal",7),I=_(r,"onCopyUrl",7),x=_(r,"onScreenshot",7),Z=_(r,"onOpenConsole",7),J=_(r,"onOpenSource",7),G=_(r,"onOpenInspector",7),T=_(r,"onReloadWithoutCache",7);const j=w(()=>a()>0?u.browser_overflow_triggerWithErrors_ariaLabel({count:Ae(a())}):u.browser_overflow_trigger_ariaLabel()),le=w(()=>f().mode==="preset"?Ut.find(l=>l.id===f().presetId):void 0),ge=w(()=>f().mode==="fit"?u.browser_viewport_fitPanel_label():e(le)?.name??u.browser_viewport_dimensions_label({width:Ae(f().width),height:Ae(f().height)}));let D=A(!1),s=A(null),U=A(!1);async function ne(){i(U,!1),await yt(),i(D,!0)}var Y={get errorCount(){return a()},set errorCount(l=0){a(l),h()},get disabled(){return m()},set disabled(l=!1){m(l),h()},get collapsed(){return L()},set collapsed(l=!1){L(l),h()},get canGoBack(){return R()},set canGoBack(l=!1){R(l),h()},get canGoForward(){return E()},set canGoForward(l=!1){E(l),h()},get canSelectElement(){return v()},set canSelectElement(l=!1){v(l),h()},get selectingElement(){return O()},set selectingElement(l=!1){O(l),h()},get viewport(){return f()},set viewport(l={mode:"fit"}){f(l),h()},get onGoBack(){return F()},set onGoBack(l){F(l),h()},get onGoForward(){return z()},set onGoForward(l){z(l),h()},get onToggleElementPicker(){return P()},set onToggleElementPicker(l){P(l),h()},get onViewportChange(){return $()},set onViewportChange(l){$(l),h()},get onOpenExternal(){return V()},set onOpenExternal(l){V(l),h()},get onCopyUrl(){return I()},set onCopyUrl(l){I(l),h()},get onScreenshot(){return x()},set onScreenshot(l){x(l),h()},get onOpenConsole(){return Z()},set onOpenConsole(l){Z(l),h()},get onOpenSource(){return J()},set onOpenSource(l){J(l),h()},get onOpenInspector(){return G()},set onOpenInspector(l){G(l),h()},get onReloadWithoutCache(){return T()},set onReloadWithoutCache(l){T(l),h()},$set:He,$on:(l,N)=>je(r,l,N)},Q=St(),B=K(Q);X(B,()=>Dr,(l,N)=>{N(l,{get open(){return e(U)},set open(ae){i(U,ae,!0)},children:(ae,Ie)=>{var d=St(),b=K(d);{const k=(W,H)=>{let ie=()=>(H?.()).props;{let ye=w(()=>u.browser_overflow_trigger_tooltip());Te(W,Rr(ie,{variant:"ghost-light",size:"icon-xs",class:"relative",get disabled(){return m()},get tooltip(){return e(ye)},tooltipSide:"bottom",get"aria-label"(){return e(j)},"data-testid":"browser-overflow-trigger",get ref(){return e(s)},set ref(ve){i(s,ve,!0)},children:(ve,De)=>{var Ve=St(),Le=K(Ve);ln(Le,{class:"size-3.5"});var Re=p(Le,2);{var _e=Se=>{gn(Se,{variant:"destructive",class:"absolute -right-1.5 -top-1.5 h-4 min-w-4 px-1 text-xs leading-none","data-testid":"browser-console-error-badge",children:(ut,rt)=>{dt();var ct=tt();M(Ye=>q(ct,Ye),[()=>a()>9?"9+":Ae(a())]),C(ut,ct)},$$slots:{default:!0}})};he(Re,Se=>{a()>0&&Se(_e)})}C(ve,Ve)},$$slots:{default:!0}}))}};X(b,()=>Nr,(W,H)=>{H(W,{child:k,$$slots:{child:!0}})})}var y=p(b,2);X(y,()=>Or,(k,W)=>{W(k,{align:"end",class:"w-56",onCloseAutoFocus:H=>e(D)&&H.preventDefault(),children:(H,ie)=>{var ye=$n(),ve=K(ye);{var De=ue=>{var pe=Tn(),be=K(pe);{let se=w(()=>!R());X(be,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},get onSelect(){return F()},children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return or},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>u.browser_embedded_goBack_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var Fe=p(be,2);{let se=w(()=>!E());X(Fe,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},get onSelect(){return z()},children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return nr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>u.browser_embedded_goForward_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var ce=p(Fe,2);{let se=w(()=>!v());X(ce,()=>ze,(me,Je)=>{Je(me,{get disabled(){return e(se)},onSelect:()=>void P()?.(),children:(ot,Ge)=>{var $e=et(),Ne=K($e);we(Ne,{get icon(){return Yt},size:"xs",class:"w-4 text-muted-foreground"});var Ue=p(Ne);M(Oe=>q(Ue,` ${Oe??""}`),[()=>O()?u.browser_embedded_cancelElementSelection_ariaLabel():u.browser_embedded_selectElement_ariaLabel()]),C(ot,$e)},$$slots:{default:!0}})})}var de=p(ce,2);X(de,()=>dn,(se,me)=>{me(se,{children:(Je,ot)=>{var Ge=St(),$e=K(Ge);{let Ue=w(()=>!$());X($e,()=>un,(Oe,ft)=>{ft(Oe,{get disabled(){return e(Ue)},children:(bt,mt)=>{var _t=Fn(),Pt=K(_t);we(Pt,{get icon(){return Bo},size:"xs",class:"w-4 text-muted-foreground"});var Lt=p(Pt,2),Rt=Ce(Lt,!0);M(Bt=>q(Rt,Bt),[()=>u.browser_viewport_trigger_ariaLabel({mode:e(ge)})]),C(bt,_t)},$$slots:{default:!0}})})}var Ne=p($e,2);X(Ne,()=>cn,(Ue,Oe)=>{Oe(Ue,{class:"w-64",children:(ft,bt)=>{ar(ft,{get viewport(){return f()},onViewportChange:mt=>$()?.(mt),onCustom:ne})},$$slots:{default:!0}})}),C(Je,Ge)},$$slots:{default:!0}})});var xe=p(de,2);X(xe,()=>lt,(se,me)=>{me(se,{})}),C(ue,pe)};he(ve,ue=>{L()&&ue(De)})}var Ve=p(ve,2);X(Ve,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void V()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return Fo},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_openExternal_label()]),C(be,ce)},$$slots:{default:!0}})});var Le=p(Ve,2);X(Le,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void I()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return To},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_copyUrl_label()]),C(be,ce)},$$slots:{default:!0}})});var Re=p(Le,2);X(Re,()=>lt,(ue,pe)=>{pe(ue,{})});var _e=p(Re,2);X(_e,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void x()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return So},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_screenshot_label()]),C(be,ce)},$$slots:{default:!0}})});var Se=p(_e,2);X(Se,()=>lt,(ue,pe)=>{pe(ue,{})});var ut=p(Se,2);X(ut,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void Z()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return $o},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_console_label()]),C(be,ce)},$$slots:{default:!0}})});var rt=p(ut,2);X(rt,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void J()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return Uo},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_source_label()]),C(be,ce)},$$slots:{default:!0}})});var ct=p(rt,2);X(ct,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void G()(),children:(be,Fe)=>{var ce=Sn(),de=K(ce);we(de,{get icon(){return Yt},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de,2),se=Ce(xe,!0);dt(2),M(me=>q(se,me),[()=>u.browser_overflow_inspector_label()]),C(be,ce)},$$slots:{default:!0}})});var Ye=p(ct,2);X(Ye,()=>lt,(ue,pe)=>{pe(ue,{})});var wt=p(Ye,2);X(wt,()=>ze,(ue,pe)=>{pe(ue,{onSelect:()=>void T()(),children:(be,Fe)=>{var ce=et(),de=K(ce);we(de,{get icon(){return $r},size:"xs",class:"w-4 text-muted-foreground"});var xe=p(de);M(se=>q(xe,` ${se??""}`),[()=>u.browser_overflow_reloadWithoutCache_label()]),C(be,ce)},$$slots:{default:!0}})}),C(H,ye)},$$slots:{default:!0}})}),C(ae,d)},$$slots:{default:!0}})});var c=p(B,2);return ir(c,{get viewport(){return f()},onViewportChange:l=>$()?.(l),get returnFocus(){return e(s)},get open(){return e(D)},set open(l){i(D,l,!0)}}),C(o,Q),Xe(Y)}var Un=ee('<span class="truncate"> </span> <!>',1),Ir=ee("<!> <!>",1);function Gr(o,r){if(new.target)return qe({component:Gr,...o});Ze(r,!0);let a=_(r,"viewport",7),m=_(r,"onViewportChange",7),L=A(!1),R=A(!1),E=A(null);const v=w(()=>a().mode==="preset"?Ut.find(x=>x.id===a().presetId):void 0),O=w(()=>a().mode==="fit"?"":u.browser_viewport_dimensions_label({width:Ae(a().width),height:Ae(a().height)})),f=w(()=>a().mode==="fit"?u.browser_viewport_fit_short_label():a().mode==="preset"&&e(v)?e(v).name:e(O)),F=w(()=>a().mode==="fit"?u.browser_viewport_fitPanel_label():e(f));async function z(){i(L,!1),await yt(),i(R,!0)}var P={get viewport(){return a()},set viewport(x){a(x),h()},get onViewportChange(){return m()},set onViewportChange(x){m(x),h()},$set:He,$on:(x,Z)=>je(r,x,Z)},$=Ir(),V=K($);X(V,()=>Dr,(x,Z)=>{Z(x,{get open(){return e(L)},set open(J){i(L,J,!0)},children:(J,G)=>{var T=Ir(),j=K(T);{const ge=(D,s)=>{let U=()=>(s?.()).props;{let ne=w(()=>u.browser_viewport_trigger_ariaLabel({mode:e(F)}));Te(D,Rr(U,{variant:"ghost-light",size:"xs",class:"h-6 max-w-36 gap-1 rounded-full bg-muted px-2 text-xs hover:bg-muted/80",get"aria-label"(){return e(ne)},"data-testid":"browser-viewport-trigger",get ref(){return e(E)},set ref(Y){i(E,Y,!0)},children:(Y,Q)=>{var B=Un(),c=K(B),l=Ce(c,!0),N=p(c,2);we(N,{get icon(){return Ao},size:"xs",class:"shrink-0"}),M(()=>q(l,e(f))),C(Y,B)},$$slots:{default:!0}}))}};X(j,()=>Nr,(D,s)=>{s(D,{child:ge,$$slots:{child:!0}})})}var le=p(j,2);X(le,()=>Or,(ge,D)=>{D(ge,{align:"end",class:"w-64",onCloseAutoFocus:s=>e(R)&&s.preventDefault(),children:(s,U)=>{ar(s,{get viewport(){return a()},get onViewportChange(){return m()},onCustom:z})},$$slots:{default:!0}})}),C(J,T)},$$slots:{default:!0}})});var I=p(V,2);return ir(I,{get viewport(){return a()},get onViewportChange(){return m()},get returnFocus(){return e(E)},get open(){return e(R)},set open(x){i(R,x,!0)}}),C(o,$),Xe(P)}var Bn=ee('<span class="pointer-events-none absolute bottom-1 left-1/2 z-10 -translate-x-1/2 rounded bg-background/90 px-1.5 py-0.5 text-xs text-muted-foreground shadow-sm backdrop-blur" data-browser-viewport-readout=""> </span> <!>',1),An=ee('<div data-browser-device-frame-container=""><div><!> <!></div></div>');function Kr(o,r){if(new.target)return qe({component:Kr,...o});Ze(r,!0);const a=320,m=3840,L=150;let R=_(r,"viewport",7),E=_(r,"onViewportChange",7),v=_(r,"children",7),O=A(xt(R().mode==="fit"?a:R().width)),f=A(xt(R().mode==="fit"?a:R().height)),F,z=A(0),P=A(0),$=A(!1),V=null,I=0,x=0,Z=0,J=0,G;const T=w(()=>R().mode==="fit"),j=w(()=>u.browser_viewport_dimensions_label({width:Ae(e(O)),height:Ae(e(f))})),le=w(()=>!e(T)&&e(z)>0&&e(P)>0?Math.min(1,e(z)/e(O),e(P)/e(f)):1),ge=w(()=>e(O)*e(le)),D=w(()=>e(f)*e(le));Pe(()=>{e($)||R().mode==="fit"||(i(O,R().width,!0),i(f,R().height,!0))});function s(y){return Math.min(m,Math.max(a,Math.round(y)))}function U(){E()({mode:"custom",width:e(O),height:e(f)})}function ne(){clearTimeout(G),G=setTimeout(U,L)}function Y(y){e(T)||y.button!==0||(y.preventDefault(),i($,!0),V=y.pointerId,I=y.clientX,x=y.clientY,Z=e(O),J=e(f),y.currentTarget instanceof HTMLElement&&y.currentTarget.setPointerCapture?.(y.pointerId))}function Q(y){!e($)||y.pointerId!==V||(i(O,s(Z+y.clientX-I),!0),i(f,s(J+y.clientY-x),!0),ne())}function B(y){if(!e($)||y.pointerId!==V)return;clearTimeout(G),i($,!1),V=null;const k=y.currentTarget;k instanceof HTMLElement&&k.hasPointerCapture?.(y.pointerId)&&k.releasePointerCapture&&k.releasePointerCapture(y.pointerId),U()}Tr(()=>{const y=(W,H)=>{i(z,W,!0),i(P,H,!0)};y(F.clientWidth,F.clientHeight);const k=typeof ResizeObserver>"u"?void 0:new ResizeObserver(([W])=>{y(W?.contentRect.width??F.clientWidth,W?.contentRect.height??F.clientHeight)});return k?.observe(F),()=>k?.disconnect()}),Sr(()=>clearTimeout(G));var c={get viewport(){return R()},set viewport(y){R(y),h()},get onViewportChange(){return E()},set onViewportChange(y){E(y),h()},get children(){return v()},set children(y){v(y),h()},$set:He,$on:(y,k)=>je(r,y,k)},l=An(),N=re(l);let ae;var Ie=re(N);Ro(Ie,()=>v()??_o);var d=p(Ie,2);{var b=y=>{var k=Bn(),W=K(k),H=Ce(W,!0),ie=p(W,2);{let ye=w(()=>u.browser_viewport_resizeHandle_ariaLabel());Te(ie,{type:"button",variant:"ghost",size:"icon-xs",iconOnly:!0,class:"absolute bottom-0 right-0 z-20 size-5 cursor-nwse-resize touch-none border-0 bg-transparent p-0 after:absolute after:bottom-1 after:right-1 after:size-2 after:border-b-2 after:border-r-2 after:border-muted-foreground",get"aria-label"(){return e(ye)},"data-testid":"browser-device-resize-handle",onpointerdown:Y,onpointermove:Q,onpointerup:B,onpointercancel:B})}M(()=>q(H,e(j))),C(y,k)};he(d,y=>{e(T)||y(b)})}return oe(N),oe(l),pt(l,y=>F=y,()=>F),M(()=>{Et(l,1,`flex h-full w-full items-center justify-center overflow-hidden ${e(T)?"bg-background":"bg-muted/40"}`),Et(N,1,`relative overflow-hidden bg-background ${e(T)?"h-full w-full":e($)?"ring-2 ring-primary/30":""}`),Ke(N,"data-browser-device-frame",e(T)?void 0:""),Ke(N,"data-width",e(T)?void 0:e(O)),Ke(N,"data-height",e(T)?void 0:e(f)),ae=xo(N,"",ae,{width:e(T)?void 0:`${e(ge)}px`,height:e(T)?void 0:`${e(D)}px`})}),C(o,l),Xe(c)}function qr(o,r){if(new.target)return qe({component:qr,...o});Ze(r,!0);let a=_(r,"active",7),m=_(r,"disabled",7),L=_(r,"onToggle",7);var R={get active(){return a()},set active(E){a(E),h()},get disabled(){return m()},set disabled(E){m(E),h()},get onToggle(){return L()},set onToggle(E){L(E),h()},$set:He,$on:(E,v)=>je(r,E,v)};{let E=w(()=>a()?"bg-muted text-foreground":""),v=w(()=>a()?u.browser_embedded_cancelElementSelection_tooltip():u.browser_embedded_selectElement_tooltip()),O=w(()=>a()?u.browser_embedded_cancelElementSelection_ariaLabel():u.browser_embedded_selectElement_ariaLabel());Te(o,{variant:"ghost-light",size:"icon-xs",get class(){return e(E)},get onclick(){return L()},get disabled(){return m()},get tooltip(){return e(v)},tooltipSide:"bottom",get"aria-label"(){return e(O)},get"aria-pressed"(){return a()},"data-testid":"browser-select-element",children:(f,F)=>{we(f,{get icon(){return Yt},size:"xs"})},$$slots:{default:!0}})}return Xe(R)}function Nn(o,r,a){const m=a.width>0?r.width/a.width:1,L=a.height>0?r.height/a.height:1,R=Math.max(0,Math.floor(o.x*m)),E=Math.max(0,Math.floor(o.y*L)),v=Math.min(r.width,Math.ceil((o.x+o.width)*m)),O=Math.min(r.height,Math.ceil((o.y+o.height)*L));return{x:R,y:E,width:Math.max(0,v-R),height:Math.max(0,O-E)}}const On=xr({selector:it().min(1),domPath:it().min(1),tagName:it().min(1),id:it(),className:it(),textSnippet:it().max(120),rect:xr({x:Tt().finite(),y:Tt().finite(),width:Tt().finite().nonnegative(),height:Tt().finite().nonnegative()}).strict(),pageUrl:it().min(1),sourceRef:it().min(1).optional()}).strict(),Er="__INTENT_ELEMENT_PICKED__:";function Dn(o){if(o==="__INTENT_ELEMENT_PICK_CANCELLED__")return{type:"cancelled"};if(!o.startsWith(Er))return null;let r;try{r=JSON.parse(o.slice(Er.length))}catch{r=null}const a=On.safeParse(r);return a.success?{type:"picked",element:a.data}:{type:"malformed",issues:a.error.issues}}const Mn=String.raw`
|
|
2
2
|
(function() {
|
|
3
3
|
var PICKED_PREFIX = '__INTENT_ELEMENT_PICKED__:';
|
|
4
4
|
var CANCELLED = '__INTENT_ELEMENT_PICK_CANCELLED__';
|