@thxgg/steward 0.1.5 → 0.1.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/.output/nitro.json +15 -0
- package/.output/public/_nuxt/2EtD6e53.js +1 -0
- package/.output/public/_nuxt/2UxHyX5q.js +1 -0
- package/.output/public/_nuxt/3e1v2bzS.js +1 -0
- package/.output/public/_nuxt/4A_iFExJ.js +1 -0
- package/.output/public/_nuxt/5X7smno1.js +1 -0
- package/.output/public/_nuxt/5i3qLPDT.js +1 -0
- package/.output/public/_nuxt/83L43bj1.js +1 -0
- package/.output/public/_nuxt/85-TOEBH.js +1 -0
- package/.output/public/_nuxt/B0m2ddpp.js +1 -0
- package/.output/public/_nuxt/B1dDrJ26.js +1 -0
- package/.output/public/_nuxt/B1yitclQ.js +1 -0
- package/.output/public/_nuxt/B3hkJjmY.js +1 -0
- package/.output/public/_nuxt/B6aJPvgy.js +1 -0
- package/.output/public/_nuxt/B7c-h3xW.js +1 -0
- package/.output/public/_nuxt/B7mTdjB0.js +1 -0
- package/.output/public/_nuxt/B93PlW-d.js +1 -0
- package/.output/public/_nuxt/BBf5iR-q.js +1 -0
- package/.output/public/_nuxt/BEDo0Tqx.js +1 -0
- package/.output/public/_nuxt/BERRCDM3.js +1 -0
- package/.output/public/_nuxt/BETggiCN.js +1 -0
- package/.output/public/_nuxt/BEwlwnbL.js +1 -0
- package/.output/public/_nuxt/BFfxhgS-.js +1 -0
- package/.output/public/_nuxt/BGHnOYBU.js +1 -0
- package/.output/public/_nuxt/BGJmEYvX.js +1 -0
- package/.output/public/_nuxt/BH7IYjvW.js +1 -0
- package/.output/public/_nuxt/BIGW1oBm.js +1 -0
- package/.output/public/_nuxt/BJDFO7_C.js +1 -0
- package/.output/public/_nuxt/BLmx8bSh.js +1 -0
- package/.output/public/_nuxt/BLtJtn59.js +1 -0
- package/.output/public/_nuxt/BM1_JUlF.js +1 -0
- package/.output/public/_nuxt/BMWR74SV.js +1 -0
- package/.output/public/_nuxt/BNzFoVmP.js +1 -0
- package/.output/public/_nuxt/BPQ3VLAy.js +1 -0
- package/.output/public/_nuxt/BQ8w6xss.js +1 -0
- package/.output/public/_nuxt/BR5kRUq4.js +1 -0
- package/.output/public/_nuxt/BRDbaJqY.js +4 -0
- package/.output/public/_nuxt/BRHolxvo.js +1 -0
- package/.output/public/_nuxt/BRZ36xJF.js +1 -0
- package/.output/public/_nuxt/BTJTHyun.js +1 -0
- package/.output/public/_nuxt/BTifaqeh.js +1 -0
- package/.output/public/_nuxt/BUw7H-hv.js +1 -0
- package/.output/public/_nuxt/BV7otONQ.js +1 -0
- package/.output/public/_nuxt/BVQ-GDCI.js +1 -0
- package/.output/public/_nuxt/BWvSN4gD.js +1 -0
- package/.output/public/_nuxt/BXkSAIEj.js +1 -0
- package/.output/public/_nuxt/BYV0-3_D.js +1 -0
- package/.output/public/_nuxt/BYunw83y.js +1 -0
- package/.output/public/_nuxt/BZvkOJ9d.js +1 -0
- package/.output/public/_nuxt/B_m7g4N7.js +1 -0
- package/.output/public/_nuxt/Ba13S78F.js +1 -0
- package/.output/public/_nuxt/BcOcwvcX.js +1 -0
- package/.output/public/_nuxt/BcVCzyr7.js +1 -0
- package/.output/public/_nuxt/BdImnpbu.js +1 -0
- package/.output/public/_nuxt/BdnUsdx6.js +1 -0
- package/.output/public/_nuxt/BfHTSMKl.js +1 -0
- package/.output/public/_nuxt/BfjtVDDH.js +1 -0
- package/.output/public/_nuxt/BgDCqdQA.js +1 -0
- package/.output/public/_nuxt/BhOHFoWU.js +1 -0
- package/.output/public/_nuxt/BhRPY-oY.js +1 -0
- package/.output/public/_nuxt/Bhrxn6JZ.js +1 -0
- package/.output/public/_nuxt/BkioyH1T.js +1 -0
- package/.output/public/_nuxt/Bkuqu6BP.js +1 -0
- package/.output/public/_nuxt/BmXAJ9_W.js +1 -0
- package/.output/public/_nuxt/Bmn6On1c.js +1 -0
- package/.output/public/_nuxt/Bo1Fdv48.js +76 -0
- package/.output/public/_nuxt/Bp3cYrEr.js +1 -0
- package/.output/public/_nuxt/Bp6g37R7.js +1 -0
- package/.output/public/_nuxt/BqTXFGrv.js +1 -0
- package/.output/public/_nuxt/BqYA7rlc.js +1 -0
- package/.output/public/_nuxt/BqmZq_gb.js +1 -0
- package/.output/public/_nuxt/Br6cN0cg.js +1 -0
- package/.output/public/_nuxt/Bri1ZtcQ.js +1 -0
- package/.output/public/_nuxt/BrzmwbiE.js +1 -0
- package/.output/public/_nuxt/BsS91CYL.js +1 -0
- package/.output/public/_nuxt/BspZqrRM.js +1 -0
- package/.output/public/_nuxt/BtCnVYZw.js +1 -0
- package/.output/public/_nuxt/BtOb2qkB.js +1 -0
- package/.output/public/_nuxt/BthQWCQV.js +1 -0
- package/.output/public/_nuxt/BtqSS_iP.js +1 -0
- package/.output/public/_nuxt/BtvRca6l.js +1 -0
- package/.output/public/_nuxt/Buea-lGh.js +1 -0
- package/.output/public/_nuxt/Bv_4Rxtq.js +1 -0
- package/.output/public/_nuxt/BvzEVeQv.js +1 -0
- package/.output/public/_nuxt/Bw305WKR.js +1 -0
- package/.output/public/_nuxt/BxgE0vQu.js +1 -0
- package/.output/public/_nuxt/BzJJZx-M.js +1 -0
- package/.output/public/_nuxt/BzTr9Aqm.js +1 -0
- package/.output/public/_nuxt/C-HG3fhB.js +1 -0
- package/.output/public/_nuxt/C-SQnVFl.js +1 -0
- package/.output/public/_nuxt/C-sUppwS.js +1 -0
- package/.output/public/_nuxt/C0HS_06l.js +1 -0
- package/.output/public/_nuxt/C0hk2d4L.js +1 -0
- package/.output/public/_nuxt/C151Ov-r.js +1 -0
- package/.output/public/_nuxt/C2t-YnRu.js +1 -0
- package/.output/public/_nuxt/C39BiMTA.js +1 -0
- package/.output/public/_nuxt/C3B-1QV4.js +1 -0
- package/.output/public/_nuxt/C3Wv6jpd.js +1 -0
- package/.output/public/_nuxt/C3mMm8J8.js +1 -0
- package/.output/public/_nuxt/C47S-Tmv.js +1 -0
- package/.output/public/_nuxt/C4EeE6gA.js +1 -0
- package/.output/public/_nuxt/C4IJs8-o.js +1 -0
- package/.output/public/_nuxt/C4gqWexZ.js +1 -0
- package/.output/public/_nuxt/C5YyOfLZ.js +1 -0
- package/.output/public/_nuxt/C7zT0LnQ.js +1 -0
- package/.output/public/_nuxt/C8M2exoo.js +1 -0
- package/.output/public/_nuxt/C8lEn-DE.js +1 -0
- package/.output/public/_nuxt/C98Dy4si.js +1 -0
- package/.output/public/_nuxt/C9XAeP06.js +1 -0
- package/.output/public/_nuxt/C9dUb6Cb.js +1 -0
- package/.output/public/_nuxt/C9oPPf7i.js +1 -0
- package/.output/public/_nuxt/C9tS-k6U.js +1 -0
- package/.output/public/_nuxt/CDVJQ6XC.js +1 -0
- package/.output/public/_nuxt/CDx5xZoG.js +1 -0
- package/.output/public/_nuxt/CEJOILWG.js +1 -0
- package/.output/public/_nuxt/CEL-wOlO.js +1 -0
- package/.output/public/_nuxt/CEu0bR-o.js +1 -0
- package/.output/public/_nuxt/CF10PKvl.js +1 -0
- package/.output/public/_nuxt/CFHQjOhq.js +1 -0
- package/.output/public/_nuxt/CFsNy2aC.js +1 -0
- package/.output/public/_nuxt/CG6Dc4jp.js +1 -0
- package/.output/public/_nuxt/CG8Ifv2g.js +1 -0
- package/.output/public/_nuxt/CGscLIrv.js +1 -0
- package/.output/public/_nuxt/CH1njM8p.js +1 -0
- package/.output/public/_nuxt/CHLpvVh8.js +1 -0
- package/.output/public/_nuxt/CHM0blh-.js +1 -0
- package/.output/public/_nuxt/CJc9bBzg.js +1 -0
- package/.output/public/_nuxt/CKIfxQSi.js +1 -0
- package/.output/public/_nuxt/CLZrNe3w.js +1 -0
- package/.output/public/_nuxt/CLxacb5B.js +1 -0
- package/.output/public/_nuxt/CMTm3GFP.js +1 -0
- package/.output/public/_nuxt/CMjwMIkn.js +1 -0
- package/.output/public/_nuxt/CO1LY3CK.js +1 -0
- package/.output/public/_nuxt/COcwbKMJ.js +1 -0
- package/.output/public/_nuxt/COkxafJQ.js +1 -0
- package/.output/public/_nuxt/COt5Ahok.js +1 -0
- package/.output/public/_nuxt/CQ8jqdy-.js +1 -0
- package/.output/public/_nuxt/CS3Unz2-.js +1 -0
- package/.output/public/_nuxt/CSXwinHm.js +1 -0
- package/.output/public/_nuxt/CTRr51gU.js +1 -0
- package/.output/public/_nuxt/CVO1_9PV.js +1 -0
- package/.output/public/_nuxt/CVdnzihN.js +1 -0
- package/.output/public/_nuxt/CW8IKDeL.js +1 -0
- package/.output/public/_nuxt/CXZktZb0.js +1 -0
- package/.output/public/_nuxt/CXtECtnM.js +1 -0
- package/.output/public/_nuxt/CYsAdtH9.js +1 -0
- package/.output/public/_nuxt/CZhp0h8q.js +1 -0
- package/.output/public/_nuxt/CafNBF8u.js +1 -0
- package/.output/public/_nuxt/CbFg5uaA.js +1 -0
- package/.output/public/_nuxt/CbfX1IO0.js +1 -0
- package/.output/public/_nuxt/CeAyd5Ju.js +1 -0
- package/.output/public/_nuxt/CeZK1NFH.js +1 -0
- package/.output/public/_nuxt/CenWIFCC.js +1 -0
- package/.output/public/_nuxt/CfQXZHmo.js +1 -0
- package/.output/public/_nuxt/Cg-RD9OK.js +1 -0
- package/.output/public/_nuxt/ChMvpjG-.js +1 -0
- package/.output/public/_nuxt/Cj5Yp3dK.js +1 -0
- package/.output/public/_nuxt/CjoLj4QM.js +1 -0
- package/.output/public/_nuxt/CkByrt1z.js +1 -0
- package/.output/public/_nuxt/CkXjmgJE.js +1 -0
- package/.output/public/_nuxt/CklMAg4u.js +1 -0
- package/.output/public/_nuxt/Cl0AqbOI.js +1 -0
- package/.output/public/_nuxt/Cm3UrAx6.js +1 -0
- package/.output/public/_nuxt/CmIQRyeF.js +1 -0
- package/.output/public/_nuxt/Cmh6b_Ma.js +1 -0
- package/.output/public/_nuxt/Cn7AkR1O.js +1 -0
- package/.output/public/_nuxt/CnnebwVN.js +1 -0
- package/.output/public/_nuxt/CnnmHF94.js +1 -0
- package/.output/public/_nuxt/CnsnAmq5.js +1 -0
- package/.output/public/_nuxt/Co6uUVPk.js +1 -0
- package/.output/public/_nuxt/CoDkCxhg.js +1 -0
- package/.output/public/_nuxt/Cp-IABpG.js +1 -0
- package/.output/public/_nuxt/CpOuai2O.js +1 -0
- package/.output/public/_nuxt/Cq5zzVJU.js +1 -0
- package/.output/public/_nuxt/CquLrc37.js +1 -0
- package/.output/public/_nuxt/CsfeWuGM.js +1 -0
- package/.output/public/_nuxt/Csfq5Kiy.js +1 -0
- package/.output/public/_nuxt/CuPHTKiy.js +1 -0
- package/.output/public/_nuxt/CufHLc7y.js +1 -0
- package/.output/public/_nuxt/Cuk6v7N8.js +1 -0
- package/.output/public/_nuxt/Cvjx9yec.js +1 -0
- package/.output/public/_nuxt/CwoSXNpI.js +1 -0
- package/.output/public/_nuxt/CxGSJlkm.js +1 -0
- package/.output/public/_nuxt/CxLEBnE3.js +1 -0
- package/.output/public/_nuxt/CxbxFI8M.js +1 -0
- package/.output/public/_nuxt/CyktbL80.js +1 -0
- package/.output/public/_nuxt/CylS5w8V.js +1 -0
- package/.output/public/_nuxt/CzTSHFRz.js +1 -0
- package/.output/public/_nuxt/D-2ljcwZ.js +1 -0
- package/.output/public/_nuxt/D0YGMca9.js +1 -0
- package/.output/public/_nuxt/D0r3Knsf.js +1 -0
- package/.output/public/_nuxt/D0zW6lUK.js +1 -0
- package/.output/public/_nuxt/D17OF-Vu.js +1 -0
- package/.output/public/_nuxt/D1j8_8rp.js +1 -0
- package/.output/public/_nuxt/D3lLCCz7.js +1 -0
- package/.output/public/_nuxt/D4_iv3hh.js +1 -0
- package/.output/public/_nuxt/D4h5O-jR.js +1 -0
- package/.output/public/_nuxt/D5-asLiD.js +1 -0
- package/.output/public/_nuxt/D53aC0YG.js +1 -0
- package/.output/public/_nuxt/D5KoaKCx.js +1 -0
- package/.output/public/_nuxt/D7o27uSR.js +1 -0
- package/.output/public/_nuxt/D7oLnXFd.js +1 -0
- package/.output/public/_nuxt/D82EKSYY.js +1 -0
- package/.output/public/_nuxt/D87Tk5Gz.js +1 -0
- package/.output/public/_nuxt/D8_7TLub.js +1 -0
- package/.output/public/_nuxt/D93ZcfNL.js +1 -0
- package/.output/public/_nuxt/D97Zzqfu.js +1 -0
- package/.output/public/_nuxt/DAi9KRSo.js +1 -0
- package/.output/public/_nuxt/DEthMvLe.js +1 -0
- package/.output/public/_nuxt/DFQXde-d.js +1 -0
- package/.output/public/_nuxt/DFWUc33u.js +1 -0
- package/.output/public/_nuxt/DFXneXwc.js +1 -0
- package/.output/public/_nuxt/DGP4VlC8.js +1 -0
- package/.output/public/_nuxt/DGztddWO.js +1 -0
- package/.output/public/_nuxt/DH5Ifo-i.js +1 -0
- package/.output/public/_nuxt/DHCkPAjA.js +1 -0
- package/.output/public/_nuxt/DHJKELXO.js +1 -0
- package/.output/public/_nuxt/DHQR4-dF.js +1 -0
- package/.output/public/_nuxt/DJjDtW9f.js +1 -0
- package/.output/public/_nuxt/DM8c43g1.js +1 -0
- package/.output/public/_nuxt/DMwsHuHA.js +1 -0
- package/.output/public/_nuxt/DMzUqQB5.js +1 -0
- package/.output/public/_nuxt/DPfMkruS.js +1 -0
- package/.output/public/_nuxt/DQwYQDb2.js +1 -0
- package/.output/public/_nuxt/DQyhUUbL.js +1 -0
- package/.output/public/_nuxt/DRg8JJMk.js +1 -0
- package/.output/public/_nuxt/DRw_LuNl.js +1 -0
- package/.output/public/_nuxt/DU1UobuO.js +1 -0
- package/.output/public/_nuxt/DUszq2jm.js +1 -0
- package/.output/public/_nuxt/DV7GczEv.js +1 -0
- package/.output/public/_nuxt/DVFEvuxE.js +1 -0
- package/.output/public/_nuxt/DVMEJ2y_.js +1 -0
- package/.output/public/_nuxt/DVxCFoDh.js +1 -0
- package/.output/public/_nuxt/DWedfzmr.js +1 -0
- package/.output/public/_nuxt/DWrx1Km3.js +1 -0
- package/.output/public/_nuxt/DXbdFlpD.js +1 -0
- package/.output/public/_nuxt/DXmwc3jG.js +1 -0
- package/.output/public/_nuxt/DXvB9xmW.js +1 -0
- package/.output/public/_nuxt/DYDTtHLR.js +1 -0
- package/.output/public/_nuxt/DYoxhk2S.js +1 -0
- package/.output/public/_nuxt/DZf3V79B.js +1 -0
- package/.output/public/_nuxt/DZu-aV2c.js +1 -0
- package/.output/public/_nuxt/DZxFcAj9.js +1 -0
- package/.output/public/_nuxt/D_Q5rh1f.js +1 -0
- package/.output/public/_nuxt/Da5cRb03.js +1 -0
- package/.output/public/_nuxt/DcaNXYhu.js +1 -0
- package/.output/public/_nuxt/Dd19v3D-.js +1 -0
- package/.output/public/_nuxt/DdkO51Og.js +1 -0
- package/.output/public/_nuxt/Ddv68eIx.js +1 -0
- package/.output/public/_nuxt/Des-eS-w.js +1 -0
- package/.output/public/_nuxt/Df6bDoY_.js +1 -0
- package/.output/public/_nuxt/Dg5xB15N.js +1 -0
- package/.output/public/_nuxt/DhQtydpF.js +3 -0
- package/.output/public/_nuxt/DhmSosst.js +1 -0
- package/.output/public/_nuxt/DkFqJrB1.js +1 -0
- package/.output/public/_nuxt/DkwncUOv.js +1 -0
- package/.output/public/_nuxt/DlAUqK2U.js +1 -0
- package/.output/public/_nuxt/DnULxvSX.js +1 -0
- package/.output/public/_nuxt/Dpen1YoG.js +1 -0
- package/.output/public/_nuxt/Dph4kLrZ.js +1 -0
- package/.output/public/_nuxt/DqQDbK_p.js +1 -0
- package/.output/public/_nuxt/DqwNpetd.js +1 -0
- package/.output/public/_nuxt/DsOJ9woJ.js +1 -0
- package/.output/public/_nuxt/Dspwwk_N.js +1 -0
- package/.output/public/_nuxt/DsumFeuD.js +1 -0
- package/.output/public/_nuxt/Dv7Oe6Be.js +1 -0
- package/.output/public/_nuxt/Dx-B1_4e.js +1 -0
- package/.output/public/_nuxt/DxNHbxmM.js +1 -0
- package/.output/public/_nuxt/DxSwrfjg.js +1 -0
- package/.output/public/_nuxt/DyxjwDmM.js +1 -0
- package/.output/public/_nuxt/Dzze3sRP.js +1 -0
- package/.output/public/_nuxt/E3gJ1_iC.js +1 -0
- package/.output/public/_nuxt/GsRaNv29.js +1 -0
- package/.output/public/_nuxt/IF9eRakj.js +1 -0
- package/.output/public/_nuxt/IeuSbFQv.js +1 -0
- package/.output/public/_nuxt/L9t79GZl.js +1 -0
- package/.output/public/_nuxt/MzD3tlZU.js +1 -0
- package/.output/public/_nuxt/P80f7IUj.js +1 -0
- package/.output/public/_nuxt/Pmp26Uib.js +1 -0
- package/.output/public/_nuxt/QIJgUcNo.js +1 -0
- package/.output/public/_nuxt/RNghxpo_.js +1 -0
- package/.output/public/_nuxt/TsXTqZ29.js +1 -0
- package/.output/public/_nuxt/VCDPK7BO.js +1 -0
- package/.output/public/_nuxt/VOosw3JB.js +1 -0
- package/.output/public/_nuxt/W9tJ9s81.js +1 -0
- package/.output/public/_nuxt/X6fIXIFO.js +1 -0
- package/.output/public/_nuxt/YqXBG_HV.js +1 -0
- package/.output/public/_nuxt/Yzrsuije.js +1 -0
- package/.output/public/_nuxt/_prd_.DYvuV73Q.css +1 -0
- package/.output/public/_nuxt/_ykCGR6B.js +1 -0
- package/.output/public/_nuxt/bCR0ucgS.js +1 -0
- package/.output/public/_nuxt/bN70gL4F.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/6683a0d9-9c02-4098-b750-bbbc0305261e.json +1 -0
- package/.output/public/_nuxt/dwOrl1Do.js +1 -0
- package/.output/public/_nuxt/entry.Dk19PK4d.css +1 -0
- package/.output/public/_nuxt/error-404.o50T1Yh0.css +1 -0
- package/.output/public/_nuxt/error-500.DdcU-NLM.css +1 -0
- package/.output/public/_nuxt/fKv21gyL.js +1 -0
- package/.output/public/_nuxt/fuZLfV_i.js +1 -0
- package/.output/public/_nuxt/g9-lgVsj.js +1 -0
- package/.output/public/_nuxt/gcz8RCvz.js +1 -0
- package/.output/public/_nuxt/hJgmCMqR.js +1 -0
- package/.output/public/_nuxt/hegEt444.js +1 -0
- package/.output/public/_nuxt/k_qm7-4y.js +1 -0
- package/.output/public/_nuxt/lXgVvXCa.js +1 -0
- package/.output/public/_nuxt/m17aaUwq.js +1 -0
- package/.output/public/_nuxt/mWjccvbQ.js +1 -0
- package/.output/public/_nuxt/mjskCLCv.js +1 -0
- package/.output/public/_nuxt/n2N0HUVH.js +1 -0
- package/.output/public/_nuxt/qdsjHGoJ.js +1 -0
- package/.output/public/_nuxt/rGO070M0.js +1 -0
- package/.output/public/_nuxt/u5AG7uiY.js +1 -0
- package/.output/public/_nuxt/uYugtg8r.js +1 -0
- package/.output/public/_nuxt/vGWfd6FD.js +1 -0
- package/.output/public/_nuxt/wDzz0qaB.js +1 -0
- package/.output/public/_nuxt/yv6CvBhz.js +1 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/git-api.mjs +100 -0
- package/.output/server/chunks/_/git-api.mjs.map +1 -0
- package/.output/server/chunks/_/git.mjs +303 -0
- package/.output/server/chunks/_/git.mjs.map +1 -0
- package/.output/server/chunks/_/watcher.mjs +129 -0
- package/.output/server/chunks/_/watcher.mjs.map +1 -0
- package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs +8 -0
- package/.output/server/chunks/build/Column-styles.fAtZNsCt.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs +4 -0
- package/.output/server/chunks/build/DiffViewer-styles-1.mjs-ZdBUa15f.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs +4 -0
- package/.output/server/chunks/build/DiffViewer-styles-2.mjs-X6QKNjM0.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs +8 -0
- package/.output/server/chunks/build/DiffViewer-styles.0AbHFl6N.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs +8 -0
- package/.output/server/chunks/build/DiffViewer-styles.CoMVrk_N.mjs.map +1 -0
- package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs +10 -0
- package/.output/server/chunks/build/DiffViewer-styles.cLfMOdMh.mjs.map +1 -0
- package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs +8 -0
- package/.output/server/chunks/build/Viewer-styles.CshnetGw.mjs.map +1 -0
- package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs +10 -0
- package/.output/server/chunks/build/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs +4225 -0
- package/.output/server/chunks/build/_prd_-CnwhMRyf.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/default-DGOIWqjD.mjs +2222 -0
- package/.output/server/chunks/build/default-DGOIWqjD.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-Bf6kdO80.mjs +98 -0
- package/.output/server/chunks/build/error-404-Bf6kdO80.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DjEXIT5C.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-D_bcARXN.mjs +76 -0
- package/.output/server/chunks/build/error-500-D_bcARXN.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.DObwArFs.mjs.map +1 -0
- package/.output/server/chunks/build/index-CTpuP9Mj.mjs +76 -0
- package/.output/server/chunks/build/index-CTpuP9Mj.mjs.map +1 -0
- package/.output/server/chunks/build/index-D21S97KB.mjs +256 -0
- package/.output/server/chunks/build/index-D21S97KB.mjs.map +1 -0
- package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs +290 -0
- package/.output/server/chunks/build/nuxt-link-SvT1nf8Z.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +1257 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +17 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs +563 -0
- package/.output/server/chunks/build/usePrd-YhvN6Ary.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +8056 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/browse.get.mjs +55 -0
- package/.output/server/chunks/routes/api/browse.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.get.mjs +17 -0
- package/.output/server/chunks/routes/api/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/index.post.mjs +46 -0
- package/.output/server/chunks/routes/api/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs +111 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/commits.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs +86 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/diff.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs +95 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-content.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs +112 -0
- package/.output/server/chunks/routes/api/repos/_repoId/git/file-diff.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/progress.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs +121 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks/_taskId/commits.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug/tasks.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs +81 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prd/_prdSlug_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs +76 -0
- package/.output/server/chunks/routes/api/repos/_repoId/prds.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs +44 -0
- package/.output/server/chunks/routes/api/repos/_repoId/refresh-git-repos.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs +34 -0
- package/.output/server/chunks/routes/api/repos/_repoId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/watch.get.mjs +67 -0
- package/.output/server/chunks/routes/api/watch.get.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +500 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +11 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1055 -0
- package/.output/server/node_modules/@floating-ui/core/package.json +63 -0
- package/.output/server/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +777 -0
- package/.output/server/node_modules/@floating-ui/dom/package.json +71 -0
- package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +161 -0
- package/.output/server/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +139 -0
- package/.output/server/node_modules/@floating-ui/utils/package.json +70 -0
- package/.output/server/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +190 -0
- package/.output/server/node_modules/@floating-ui/vue/package.json +71 -0
- package/.output/server/node_modules/@internationalized/date/dist/BuddhistCalendar.mjs +48 -0
- package/.output/server/node_modules/@internationalized/date/dist/CalendarDate.mjs +252 -0
- package/.output/server/node_modules/@internationalized/date/dist/DateFormatter.mjs +140 -0
- package/.output/server/node_modules/@internationalized/date/dist/EthiopicCalendar.mjs +167 -0
- package/.output/server/node_modules/@internationalized/date/dist/GregorianCalendar.mjs +140 -0
- package/.output/server/node_modules/@internationalized/date/dist/HebrewCalendar.mjs +150 -0
- package/.output/server/node_modules/@internationalized/date/dist/IndianCalendar.mjs +101 -0
- package/.output/server/node_modules/@internationalized/date/dist/IslamicCalendar.mjs +161 -0
- package/.output/server/node_modules/@internationalized/date/dist/JapaneseCalendar.mjs +174 -0
- package/.output/server/node_modules/@internationalized/date/dist/PersianCalendar.mjs +82 -0
- package/.output/server/node_modules/@internationalized/date/dist/TaiwanCalendar.mjs +75 -0
- package/.output/server/node_modules/@internationalized/date/dist/conversion.mjs +218 -0
- package/.output/server/node_modules/@internationalized/date/dist/createCalendar.mjs +64 -0
- package/.output/server/node_modules/@internationalized/date/dist/import.mjs +45 -0
- package/.output/server/node_modules/@internationalized/date/dist/manipulation.mjs +344 -0
- package/.output/server/node_modules/@internationalized/date/dist/queries.mjs +320 -0
- package/.output/server/node_modules/@internationalized/date/dist/string.mjs +175 -0
- package/.output/server/node_modules/@internationalized/date/dist/utils.mjs +17 -0
- package/.output/server/node_modules/@internationalized/date/dist/weekStartData.mjs +113 -0
- package/.output/server/node_modules/@internationalized/date/package.json +35 -0
- package/.output/server/node_modules/@internationalized/number/dist/NumberFormatter.mjs +152 -0
- package/.output/server/node_modules/@internationalized/number/dist/NumberParser.mjs +273 -0
- package/.output/server/node_modules/@internationalized/number/dist/import.mjs +19 -0
- package/.output/server/node_modules/@internationalized/number/package.json +35 -0
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2446 -0
- package/.output/server/node_modules/@shikijs/core/package.json +56 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
- package/.output/server/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
- package/.output/server/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/c.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cpp-macro.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cpp.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/d.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/go.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/http.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/java.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/less.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/log.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/make.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/move.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nextflow.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
- package/.output/server/node_modules/@shikijs/langs/dist/php.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/po.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/python.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/r.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
- package/.output/server/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
- package/.output/server/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typst.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/v.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/package.json +380 -0
- package/.output/server/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/red.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/package.json +102 -0
- package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
- package/.output/server/node_modules/@shikijs/types/package.json +36 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/.output/server/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
- package/.output/server/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
- package/.output/server/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
- package/.output/server/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
- package/.output/server/node_modules/@swc/helpers/package.json +694 -0
- package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/index.js +887 -0
- package/.output/server/node_modules/@tanstack/virtual-core/dist/esm/utils.js +73 -0
- package/.output/server/node_modules/@tanstack/virtual-core/package.json +56 -0
- package/.output/server/node_modules/@tanstack/vue-virtual/dist/esm/index.js +66 -0
- package/.output/server/node_modules/@tanstack/vue-virtual/package.json +68 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6798 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/@vueuse/core/dist/index.js +8596 -0
- package/.output/server/node_modules/@vueuse/core/package.json +49 -0
- package/.output/server/node_modules/@vueuse/shared/dist/index.js +2066 -0
- package/.output/server/node_modules/@vueuse/shared/package.json +42 -0
- package/.output/server/node_modules/aria-hidden/dist/es5/index.js +174 -0
- package/.output/server/node_modules/aria-hidden/package.json +71 -0
- package/.output/server/node_modules/ccount/index.js +27 -0
- package/.output/server/node_modules/ccount/package.json +71 -0
- package/.output/server/node_modules/character-entities-html4/index.js +259 -0
- package/.output/server/node_modules/character-entities-html4/package.json +79 -0
- package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
- package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
- package/.output/server/node_modules/chokidar/handler.js +632 -0
- package/.output/server/node_modules/chokidar/index.js +822 -0
- package/.output/server/node_modules/chokidar/package.json +63 -0
- package/.output/server/node_modules/class-variance-authority/dist/index.mjs +56 -0
- package/.output/server/node_modules/class-variance-authority/package.json +63 -0
- package/.output/server/node_modules/clsx/dist/clsx.mjs +1 -0
- package/.output/server/node_modules/clsx/package.json +60 -0
- package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
- package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
- package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
- package/.output/server/node_modules/defu/package.json +43 -0
- package/.output/server/node_modules/devalue/index.js +4 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +7 -0
- package/.output/server/node_modules/devalue/src/parse.js +246 -0
- package/.output/server/node_modules/devalue/src/stringify.js +350 -0
- package/.output/server/node_modules/devalue/src/uneval.js +490 -0
- package/.output/server/node_modules/devalue/src/utils.js +148 -0
- package/.output/server/node_modules/dompurify/dist/purify.es.mjs +1386 -0
- package/.output/server/node_modules/dompurify/package.json +171 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
- package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
- package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +266 -0
- package/.output/server/node_modules/hookable/package.json +52 -0
- package/.output/server/node_modules/html-void-elements/index.js +27 -0
- package/.output/server/node_modules/html-void-elements/package.json +79 -0
- package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +24066 -0
- package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
- package/.output/server/node_modules/marked/lib/marked.esm.js +72 -0
- package/.output/server/node_modules/marked/package.json +103 -0
- package/.output/server/node_modules/ohash/dist/crypto/node/index.mjs +5 -0
- package/.output/server/node_modules/ohash/dist/index.mjs +10 -0
- package/.output/server/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs +13 -0
- package/.output/server/node_modules/ohash/package.json +57 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
- package/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
- package/.output/server/node_modules/perfect-debounce/package.json +41 -0
- package/.output/server/node_modules/property-information/index.js +17 -0
- package/.output/server/node_modules/property-information/lib/aria.js +61 -0
- package/.output/server/node_modules/property-information/lib/find.js +97 -0
- package/.output/server/node_modules/property-information/lib/hast-to-react.js +30 -0
- package/.output/server/node_modules/property-information/lib/html.js +322 -0
- package/.output/server/node_modules/property-information/lib/normalize.js +12 -0
- package/.output/server/node_modules/property-information/lib/svg.js +567 -0
- package/.output/server/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
- package/.output/server/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
- package/.output/server/node_modules/property-information/lib/util/create.js +69 -0
- package/.output/server/node_modules/property-information/lib/util/defined-info.js +60 -0
- package/.output/server/node_modules/property-information/lib/util/info.js +32 -0
- package/.output/server/node_modules/property-information/lib/util/merge.js +27 -0
- package/.output/server/node_modules/property-information/lib/util/schema.js +29 -0
- package/.output/server/node_modules/property-information/lib/util/types.js +13 -0
- package/.output/server/node_modules/property-information/lib/xlink.js +17 -0
- package/.output/server/node_modules/property-information/lib/xml.js +9 -0
- package/.output/server/node_modules/property-information/lib/xmlns.js +9 -0
- package/.output/server/node_modules/property-information/package.json +121 -0
- package/.output/server/node_modules/readdirp/index.js +272 -0
- package/.output/server/node_modules/readdirp/package.json +66 -0
- package/.output/server/node_modules/regex/package.json +60 -0
- package/.output/server/node_modules/regex/src/atomic.js +224 -0
- package/.output/server/node_modules/regex/src/internals.js +2 -0
- package/.output/server/node_modules/regex/src/subclass.js +98 -0
- package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
- package/.output/server/node_modules/regex-recursion/package.json +47 -0
- package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
- package/.output/server/node_modules/regex-utilities/package.json +35 -0
- package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionContent.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionHeader.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionItem.js +116 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionRoot.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Accordion/AccordionTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogAction.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogCancel.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogContent.js +73 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogDescription.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogOverlay.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogRoot.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTitle.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AlertDialog/AlertDialogTrigger.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/AspectRatio/AspectRatio.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarFallback.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarImage.js +76 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/AvatarRoot.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Avatar/utils.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCell.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarCellTrigger.js +176 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGrid.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridBody.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridHead.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarGridRow.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeadCell.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeader.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarHeading.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarNext.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarPrev.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/CalendarRoot.js +317 -0
- package/.output/server/node_modules/reka-ui/dist/Calendar/useCalendar.js +267 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxGroupRoot.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxIndicator.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/CheckboxRoot.js +157 -0
- package/.output/server/node_modules/reka-ui/dist/Checkbox/utils.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleContent.js +113 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleRoot.js +86 -0
- package/.output/server/node_modules/reka-ui/dist/Collapsible/CollapsibleTrigger.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Collection/Collection.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxArrow.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxCancel.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContent.js +144 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js +214 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxInput.js +134 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItem.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxLabel.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js +259 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/Combobox/ComboboxVirtualizer.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuContent.js +136 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRadioItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuRoot.js +74 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubContent.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/ContextMenuTrigger.js +124 -0
- package/.output/server/node_modules/reka-ui/dist/ContextMenu/utils.js +8 -0
- package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldInput.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/DateField/DateFieldRoot.js +284 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCalendar.js +60 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCell.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerCellTrigger.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerClose.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerField.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGrid.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridBody.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridHead.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerGridRow.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeadCell.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeader.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerHeading.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerInput.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerNext.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerPrev.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerRoot.js +245 -0
- package/.output/server/node_modules/reka-ui/dist/DatePicker/DatePickerTrigger.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldInput.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangeField/DateRangeFieldRoot.js +342 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCalendar.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCell.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerCellTrigger.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerClose.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerField.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGrid.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridBody.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridHead.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerGridRow.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeadCell.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeader.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerHeading.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerInput.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerNext.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerPrev.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerRoot.js +284 -0
- package/.output/server/node_modules/reka-ui/dist/DateRangePicker/DateRangePickerTrigger.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogClose.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContent.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentImpl.js +111 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentModal.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogContentNonModal.js +87 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogDescription.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlay.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogRoot.js +71 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTitle.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/DialogTrigger.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Dialog/utils.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js +130 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/DismissableLayerBranch.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/DismissableLayer/utils.js +122 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuContent.js +158 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRadioItem.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuRoot.js +82 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubContent.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/DropdownMenu/DropdownMenuTrigger.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableArea.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableCancelTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableEditTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableInput.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditablePreview.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableRoot.js +224 -0
- package/.output/server/node_modules/reka-ui/dist/Editable/EditableSubmitTrigger.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/FocusScope.js +154 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/stack.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/FocusScope/utils.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js +131 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardContentImpl.js +192 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/HoverCard/utils.js +20 -0
- package/.output/server/node_modules/reka-ui/dist/Label/Label.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxContent.js +79 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxFilter.js +104 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroup.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxGroupLabel.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItem.js +108 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxRoot.js +338 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/ListboxVirtualizer.js +218 -0
- package/.output/server/node_modules/reka-ui/dist/Listbox/utils.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuAnchor.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuArrow.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuCheckboxItem.js +65 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuContent.js +143 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuContentImpl.js +324 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuGroup.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItem.js +90 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemImpl.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuItemIndicator.js +54 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuLabel.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioGroup.js +54 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRadioItem.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRoot.js +71 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentModal.js +135 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuRootContentNonModal.js +129 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSeparator.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSub.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubContent.js +167 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/MenuSubTrigger.js +157 -0
- package/.output/server/node_modules/reka-ui/dist/Menu/utils.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarCheckboxItem.js +55 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarContent.js +180 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarGroup.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItem.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarLabel.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarMenu.js +56 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioGroup.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRadioItem.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarRoot.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSeparator.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSub.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubContent.js +147 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarSubTrigger.js +44 -0
- package/.output/server/node_modules/reka-ui/dist/Menubar/MenubarTrigger.js +125 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContent.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuContentImpl.js +166 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuIndicator.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuItem.js +121 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuLink.js +75 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuList.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuRoot.js +183 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuSub.js +114 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuTrigger.js +150 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/NavigationMenuViewport.js +158 -0
- package/.output/server/node_modules/reka-ui/dist/NavigationMenu/utils.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldDecrement.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldIncrement.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldInput.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/NumberFieldRoot.js +224 -0
- package/.output/server/node_modules/reka-ui/dist/NumberField/utils.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationEllipsis.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationFirst.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationLast.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationList.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationListItem.js +59 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationNext.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationPrev.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/PaginationRoot.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Pagination/utils.js +74 -0
- package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputInput.js +210 -0
- package/.output/server/node_modules/reka-ui/dist/PinInput/PinInputRoot.js +149 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverAnchor.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverClose.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContent.js +139 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentImpl.js +171 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentModal.js +146 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverContentNonModal.js +148 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverRoot.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/Popover/PopoverTrigger.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperAnchor.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperArrow.js +96 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperContent.js +273 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/PopperRoot.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/Popper/utils.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Presence/Presence.js +50 -0
- package/.output/server/node_modules/reka-ui/dist/Presence/usePresence.js +122 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/Primitive.js +33 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/Slot.js +30 -0
- package/.output/server/node_modules/reka-ui/dist/Primitive/usePrimitiveElement.js +16 -0
- package/.output/server/node_modules/reka-ui/dist/Progress/ProgressIndicator.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Progress/ProgressRoot.js +124 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/Radio.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupIndicator.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupItem.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/RadioGroupRoot.js +138 -0
- package/.output/server/node_modules/reka-ui/dist/RadioGroup/utils.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCell.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarCellTrigger.js +237 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGrid.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridBody.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridHead.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarGridRow.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeadCell.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeader.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarHeading.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarNext.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarPrev.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/RangeCalendarRoot.js +392 -0
- package/.output/server/node_modules/reka-ui/dist/RangeCalendar/useRangeCalendar.js +145 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusGroup.js +145 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/RovingFocusItem.js +110 -0
- package/.output/server/node_modules/reka-ui/dist/RovingFocus/utils.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCorner.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaCornerImpl.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaRoot.js +128 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbar.js +99 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarAuto.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarGlimpse.js +126 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarHover.js +65 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarImpl.js +123 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarScroll.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarVisible.js +107 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarX.js +45 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaScrollbarY.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaThumb.js +98 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/ScrollAreaViewport.js +76 -0
- package/.output/server/node_modules/reka-ui/dist/ScrollArea/utils.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Select/BubbleSelect.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectArrow.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectContent.js +160 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectContentImpl.js +311 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectGroup.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectIcon.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItem.js +153 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemAlignedPosition.js +162 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemIndicator.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectItemText.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectLabel.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectPopperPosition.js +118 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectProvider.js +29 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectRoot.js +185 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollButtonImpl.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollDownButton.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectScrollUpButton.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectSeparator.js +34 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectTrigger.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectValue.js +72 -0
- package/.output/server/node_modules/reka-ui/dist/Select/SelectViewport.js +97 -0
- package/.output/server/node_modules/reka-ui/dist/Select/utils.js +30 -0
- package/.output/server/node_modules/reka-ui/dist/Separator/Separator.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderHorizontal.js +106 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderImpl.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderRange.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderRoot.js +217 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumb.js +40 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderThumbImpl.js +103 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderTrack.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/SliderVertical.js +101 -0
- package/.output/server/node_modules/reka-ui/dist/Slider/utils.js +129 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterGroup.js +409 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterPanel.js +151 -0
- package/.output/server/node_modules/reka-ui/dist/Splitter/SplitterResizeHandle.js +154 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperDescription.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperItem.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperRoot.js +172 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperSeparator.js +52 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTitle.js +39 -0
- package/.output/server/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +115 -0
- package/.output/server/node_modules/reka-ui/dist/Switch/SwitchRoot.js +133 -0
- package/.output/server/node_modules/reka-ui/dist/Switch/SwitchThumb.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsContent.js +88 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsIndicator.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsList.js +68 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsRoot.js +109 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/TabsTrigger.js +93 -0
- package/.output/server/node_modules/reka-ui/dist/Tabs/utils.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputClear.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputInput.js +151 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItem.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemDelete.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputItemText.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/TagsInput/TagsInputRoot.js +256 -0
- package/.output/server/node_modules/reka-ui/dist/Teleport/Teleport.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldInput.js +92 -0
- package/.output/server/node_modules/reka-ui/dist/TimeField/TimeFieldRoot.js +320 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/FocusProxy.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAction.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounce.js +32 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastAnnounceExclude.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastClose.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastDescription.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastProvider.js +80 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastRoot.js +140 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastRootImpl.js +234 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastTitle.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/ToastViewport.js +178 -0
- package/.output/server/node_modules/reka-ui/dist/Toast/utils.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Toggle/Toggle.js +110 -0
- package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupItem.js +63 -0
- package/.output/server/node_modules/reka-ui/dist/ToggleGroup/ToggleGroupRoot.js +128 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarButton.js +51 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarLink.js +49 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarRoot.js +81 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarSeparator.js +46 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleGroup.js +89 -0
- package/.output/server/node_modules/reka-ui/dist/Toolbar/ToolbarToggleItem.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipArrow.js +47 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContent.js +104 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentHoverable.js +100 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipContentImpl.js +148 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipPortal.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipProvider.js +78 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipRoot.js +132 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/TooltipTrigger.js +114 -0
- package/.output/server/node_modules/reka-ui/dist/Tooltip/utils.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeItem.js +175 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeRoot.js +243 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/TreeVirtualizer.js +168 -0
- package/.output/server/node_modules/reka-ui/dist/Tree/utils.js +12 -0
- package/.output/server/node_modules/reka-ui/dist/Viewport/Viewport.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHidden.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInput.js +86 -0
- package/.output/server/node_modules/reka-ui/dist/VisuallyHidden/VisuallyHiddenInputBubble.js +73 -0
- package/.output/server/node_modules/reka-ui/dist/component/Arrow.js +69 -0
- package/.output/server/node_modules/reka-ui/dist/component/BaseSeparator.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterBehavior.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/composables/useWindowSplitterPanelGroupBehavior.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/date/calendar.js +156 -0
- package/.output/server/node_modules/reka-ui/dist/date/comparators.js +194 -0
- package/.output/server/node_modules/reka-ui/dist/date/index.js +0 -0
- package/.output/server/node_modules/reka-ui/dist/date/parser.js +135 -0
- package/.output/server/node_modules/reka-ui/dist/date/parts.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/date/placeholders.js +493 -0
- package/.output/server/node_modules/reka-ui/dist/date/segment.js +41 -0
- package/.output/server/node_modules/reka-ui/dist/date/useDateField.js +720 -0
- package/.output/server/node_modules/reka-ui/dist/date/utils.js +85 -0
- package/.output/server/node_modules/reka-ui/dist/index.js +466 -0
- package/.output/server/node_modules/reka-ui/dist/index2.js +0 -0
- package/.output/server/node_modules/reka-ui/dist/shared/arrays.js +42 -0
- package/.output/server/node_modules/reka-ui/dist/shared/browser.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/shared/clamp.js +66 -0
- package/.output/server/node_modules/reka-ui/dist/shared/createContext.js +35 -0
- package/.output/server/node_modules/reka-ui/dist/shared/getActiveElement.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/shared/isValueEqualOrExist.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/shared/nullish.js +8 -0
- package/.output/server/node_modules/reka-ui/dist/shared/renderSlotFragments.js +14 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useArrowNavigation.js +64 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useBodyScrollLock.js +95 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useDateFormatter.js +140 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useDirection.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useEmitAsProps.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFilter.js +58 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFocusGuards.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useFormControl.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardExpose.js +57 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardProps.js +37 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js +29 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useGraceArea.js +200 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useHideOthers.js +26 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useId.js +24 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useIsUsingKeyboard.js +27 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useKbd.js +43 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useLocale.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useNonce.js +12 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSelectionBehavior.js +53 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSingleOrMultipleValue.js +63 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useSize.js +48 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useStateMachine.js +32 -0
- package/.output/server/node_modules/reka-ui/dist/shared/useTypeahead.js +70 -0
- package/.output/server/node_modules/reka-ui/dist/shared/withDefault.js +25 -0
- package/.output/server/node_modules/reka-ui/dist/utils/assert.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/utils/calculate.js +113 -0
- package/.output/server/node_modules/reka-ui/dist/utils/callPanelCallbacks.js +25 -0
- package/.output/server/node_modules/reka-ui/dist/utils/compare.js +17 -0
- package/.output/server/node_modules/reka-ui/dist/utils/constants.js +6 -0
- package/.output/server/node_modules/reka-ui/dist/utils/debounce.js +15 -0
- package/.output/server/node_modules/reka-ui/dist/utils/dom.js +38 -0
- package/.output/server/node_modules/reka-ui/dist/utils/events.js +36 -0
- package/.output/server/node_modules/reka-ui/dist/utils/layout.js +137 -0
- package/.output/server/node_modules/reka-ui/dist/utils/pivot.js +11 -0
- package/.output/server/node_modules/reka-ui/dist/utils/rects.js +9 -0
- package/.output/server/node_modules/reka-ui/dist/utils/registry.js +183 -0
- package/.output/server/node_modules/reka-ui/dist/utils/resizePanel.js +22 -0
- package/.output/server/node_modules/reka-ui/dist/utils/stackingOrder.js +94 -0
- package/.output/server/node_modules/reka-ui/dist/utils/storage.js +61 -0
- package/.output/server/node_modules/reka-ui/dist/utils/style.js +62 -0
- package/.output/server/node_modules/reka-ui/dist/utils/validation.js +53 -0
- package/.output/server/node_modules/reka-ui/package.json +121 -0
- package/.output/server/node_modules/shiki/dist/bundle-full.mjs +27 -0
- package/.output/server/node_modules/shiki/dist/bundle-web.mjs +366 -0
- package/.output/server/node_modules/shiki/dist/index.mjs +6 -0
- package/.output/server/node_modules/shiki/dist/langs.mjs +1412 -0
- package/.output/server/node_modules/shiki/dist/themes.mjs +389 -0
- package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
- package/.output/server/node_modules/shiki/package.json +70 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
- package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
- package/.output/server/node_modules/stringify-entities/index.js +6 -0
- package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
- package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/.output/server/node_modules/stringify-entities/package.json +86 -0
- package/.output/server/node_modules/tailwind-merge/dist/bundle-mjs.mjs +3282 -0
- package/.output/server/node_modules/tailwind-merge/package.json +93 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.B578PsDV.mjs +266 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BFfcxOoW.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.eK9_7LaY.mjs +198 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +105 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
- package/.output/server/node_modules/vue-demi/lib/index.mjs +34 -0
- package/.output/server/node_modules/vue-demi/package.json +47 -0
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +153 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/vue-sonner/lib/vue-sonner.js +801 -0
- package/.output/server/node_modules/vue-sonner/package.json +80 -0
- package/.output/server/node_modules/zwitch/index.js +118 -0
- package/.output/server/node_modules/zwitch/package.json +72 -0
- package/.output/server/package.json +78 -0
- package/README.md +1 -2
- package/dist/host/src/index.js +2 -2
- package/dist/host/src/ui.js +62 -22
- package/dist/server/utils/repos.js +2 -2
- package/package.json +17 -15
- package/app/app.vue +0 -14
- package/app/assets/css/main.css +0 -129
- package/app/components/CommandPalette.vue +0 -182
- package/app/components/ShortcutsHelp.vue +0 -85
- package/app/components/git/ChangesMinimap.vue +0 -143
- package/app/components/git/CommitList.vue +0 -224
- package/app/components/git/DiffPanel.vue +0 -402
- package/app/components/git/DiffViewer.vue +0 -803
- package/app/components/layout/RepoSelector.vue +0 -358
- package/app/components/layout/Sidebar.vue +0 -91
- package/app/components/prd/Meta.vue +0 -69
- package/app/components/prd/Viewer.vue +0 -285
- package/app/components/tasks/Board.vue +0 -86
- package/app/components/tasks/Card.vue +0 -108
- package/app/components/tasks/Column.vue +0 -108
- package/app/components/tasks/Detail.vue +0 -291
- package/app/components/ui/badge/Badge.vue +0 -26
- package/app/components/ui/badge/index.ts +0 -26
- package/app/components/ui/button/Button.vue +0 -29
- package/app/components/ui/button/index.ts +0 -38
- package/app/components/ui/card/Card.vue +0 -22
- package/app/components/ui/card/CardAction.vue +0 -17
- package/app/components/ui/card/CardContent.vue +0 -17
- package/app/components/ui/card/CardDescription.vue +0 -17
- package/app/components/ui/card/CardFooter.vue +0 -17
- package/app/components/ui/card/CardHeader.vue +0 -17
- package/app/components/ui/card/CardTitle.vue +0 -17
- package/app/components/ui/card/index.ts +0 -7
- package/app/components/ui/combobox/Combobox.vue +0 -19
- package/app/components/ui/combobox/ComboboxAnchor.vue +0 -23
- package/app/components/ui/combobox/ComboboxEmpty.vue +0 -21
- package/app/components/ui/combobox/ComboboxGroup.vue +0 -27
- package/app/components/ui/combobox/ComboboxInput.vue +0 -42
- package/app/components/ui/combobox/ComboboxItem.vue +0 -24
- package/app/components/ui/combobox/ComboboxItemIndicator.vue +0 -23
- package/app/components/ui/combobox/ComboboxList.vue +0 -33
- package/app/components/ui/combobox/ComboboxSeparator.vue +0 -21
- package/app/components/ui/combobox/ComboboxTrigger.vue +0 -24
- package/app/components/ui/combobox/ComboboxViewport.vue +0 -23
- package/app/components/ui/combobox/index.ts +0 -13
- package/app/components/ui/command/Command.vue +0 -103
- package/app/components/ui/command/CommandDialog.vue +0 -33
- package/app/components/ui/command/CommandEmpty.vue +0 -27
- package/app/components/ui/command/CommandGroup.vue +0 -45
- package/app/components/ui/command/CommandInput.vue +0 -54
- package/app/components/ui/command/CommandItem.vue +0 -76
- package/app/components/ui/command/CommandList.vue +0 -25
- package/app/components/ui/command/CommandSeparator.vue +0 -21
- package/app/components/ui/command/CommandShortcut.vue +0 -17
- package/app/components/ui/command/index.ts +0 -25
- package/app/components/ui/dialog/Dialog.vue +0 -19
- package/app/components/ui/dialog/DialogClose.vue +0 -15
- package/app/components/ui/dialog/DialogContent.vue +0 -53
- package/app/components/ui/dialog/DialogDescription.vue +0 -23
- package/app/components/ui/dialog/DialogFooter.vue +0 -15
- package/app/components/ui/dialog/DialogHeader.vue +0 -17
- package/app/components/ui/dialog/DialogOverlay.vue +0 -21
- package/app/components/ui/dialog/DialogScrollContent.vue +0 -59
- package/app/components/ui/dialog/DialogTitle.vue +0 -23
- package/app/components/ui/dialog/DialogTrigger.vue +0 -15
- package/app/components/ui/dialog/index.ts +0 -10
- package/app/components/ui/input/Input.vue +0 -33
- package/app/components/ui/input/index.ts +0 -1
- package/app/components/ui/scroll-area/ScrollArea.vue +0 -33
- package/app/components/ui/scroll-area/ScrollBar.vue +0 -32
- package/app/components/ui/scroll-area/index.ts +0 -2
- package/app/components/ui/separator/Separator.vue +0 -29
- package/app/components/ui/separator/index.ts +0 -1
- package/app/components/ui/sheet/Sheet.vue +0 -19
- package/app/components/ui/sheet/SheetClose.vue +0 -15
- package/app/components/ui/sheet/SheetContent.vue +0 -62
- package/app/components/ui/sheet/SheetDescription.vue +0 -21
- package/app/components/ui/sheet/SheetFooter.vue +0 -16
- package/app/components/ui/sheet/SheetHeader.vue +0 -15
- package/app/components/ui/sheet/SheetOverlay.vue +0 -21
- package/app/components/ui/sheet/SheetTitle.vue +0 -21
- package/app/components/ui/sheet/SheetTrigger.vue +0 -15
- package/app/components/ui/sheet/index.ts +0 -8
- package/app/components/ui/tabs/Tabs.vue +0 -24
- package/app/components/ui/tabs/TabsContent.vue +0 -21
- package/app/components/ui/tabs/TabsList.vue +0 -24
- package/app/components/ui/tabs/TabsTrigger.vue +0 -26
- package/app/components/ui/tabs/index.ts +0 -4
- package/app/components/ui/tooltip/Tooltip.vue +0 -19
- package/app/components/ui/tooltip/TooltipContent.vue +0 -34
- package/app/components/ui/tooltip/TooltipProvider.vue +0 -14
- package/app/components/ui/tooltip/TooltipTrigger.vue +0 -15
- package/app/components/ui/tooltip/index.ts +0 -4
- package/app/composables/useFileWatch.ts +0 -78
- package/app/composables/useGit.ts +0 -180
- package/app/composables/useKeyboard.ts +0 -180
- package/app/composables/usePrd.ts +0 -86
- package/app/composables/useRepos.ts +0 -108
- package/app/composables/useThemeMode.ts +0 -38
- package/app/composables/useToast.ts +0 -31
- package/app/layouts/default.vue +0 -197
- package/app/lib/utils.ts +0 -7
- package/app/pages/[repo]/[prd].vue +0 -263
- package/app/pages/index.vue +0 -257
- package/app/types/git.ts +0 -81
- package/app/types/index.ts +0 -29
- package/app/types/prd.ts +0 -49
- package/app/types/repo.ts +0 -37
- package/app/types/task.ts +0 -134
- package/components.json +0 -21
- package/nuxt.config.ts +0 -34
- package/server/api/browse.get.ts +0 -52
- package/server/api/repos/[repoId]/git/commits.get.ts +0 -103
- package/server/api/repos/[repoId]/git/diff.get.ts +0 -77
- package/server/api/repos/[repoId]/git/file-content.get.ts +0 -66
- package/server/api/repos/[repoId]/git/file-diff.get.ts +0 -109
- package/server/api/repos/[repoId]/prd/[prdSlug]/progress.get.ts +0 -36
- package/server/api/repos/[repoId]/prd/[prdSlug]/tasks/[taskId]/commits.get.ts +0 -146
- package/server/api/repos/[repoId]/prd/[prdSlug]/tasks.get.ts +0 -36
- package/server/api/repos/[repoId]/prd/[prdSlug].get.ts +0 -97
- package/server/api/repos/[repoId]/prds.get.ts +0 -85
- package/server/api/repos/[repoId]/refresh-git-repos.post.ts +0 -42
- package/server/api/repos/[repoId].delete.ts +0 -27
- package/server/api/repos/index.get.ts +0 -5
- package/server/api/repos/index.post.ts +0 -39
- package/server/api/watch.get.ts +0 -63
- package/server/plugins/migrate-legacy-state.ts +0 -19
- package/server/tsconfig.json +0 -3
- package/server/utils/db.ts +0 -169
- package/server/utils/git.ts +0 -478
- package/server/utils/prd-state.ts +0 -335
- package/server/utils/repos.ts +0 -322
- package/server/utils/watcher.ts +0 -179
- package/tsconfig.json +0 -4
- /package/{public → .output/public}/favicon.ico +0 -0
- /package/{public → .output/public}/robots.txt +0 -0
|
@@ -0,0 +1,1876 @@
|
|
|
1
|
+
// src/utils.js
|
|
2
|
+
var cp = String.fromCodePoint;
|
|
3
|
+
var r = String.raw;
|
|
4
|
+
var envFlags = {
|
|
5
|
+
flagGroups: (() => {
|
|
6
|
+
try {
|
|
7
|
+
new RegExp("(?i:)");
|
|
8
|
+
} catch {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
return true;
|
|
12
|
+
})(),
|
|
13
|
+
unicodeSets: (() => {
|
|
14
|
+
try {
|
|
15
|
+
new RegExp("[[]]", "v");
|
|
16
|
+
} catch {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
return true;
|
|
20
|
+
})()
|
|
21
|
+
};
|
|
22
|
+
envFlags.bugFlagVLiteralHyphenIsRange = envFlags.unicodeSets ? (() => {
|
|
23
|
+
try {
|
|
24
|
+
new RegExp(r`[\d\-a]`, "v");
|
|
25
|
+
} catch {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
})() : false;
|
|
30
|
+
envFlags.bugNestedClassIgnoresNegation = envFlags.unicodeSets && new RegExp("[[^a]]", "v").test("a");
|
|
31
|
+
function getNewCurrentFlags(current, { enable, disable }) {
|
|
32
|
+
return {
|
|
33
|
+
dotAll: !disable?.dotAll && !!(enable?.dotAll || current.dotAll),
|
|
34
|
+
ignoreCase: !disable?.ignoreCase && !!(enable?.ignoreCase || current.ignoreCase)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function getOrInsert(map, key, defaultValue) {
|
|
38
|
+
if (!map.has(key)) {
|
|
39
|
+
map.set(key, defaultValue);
|
|
40
|
+
}
|
|
41
|
+
return map.get(key);
|
|
42
|
+
}
|
|
43
|
+
function isMinTarget(target, min) {
|
|
44
|
+
return EsVersion[target] >= EsVersion[min];
|
|
45
|
+
}
|
|
46
|
+
function throwIfNullish(value, msg) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
throw new Error(msg ?? "Value expected");
|
|
49
|
+
}
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// src/options.js
|
|
54
|
+
var EsVersion = {
|
|
55
|
+
ES2025: 2025,
|
|
56
|
+
ES2024: 2024,
|
|
57
|
+
ES2018: 2018
|
|
58
|
+
};
|
|
59
|
+
var Target = (
|
|
60
|
+
/** @type {const} */
|
|
61
|
+
{
|
|
62
|
+
auto: "auto",
|
|
63
|
+
ES2025: "ES2025",
|
|
64
|
+
ES2024: "ES2024",
|
|
65
|
+
ES2018: "ES2018"
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
function getOptions(options = {}) {
|
|
69
|
+
if ({}.toString.call(options) !== "[object Object]") {
|
|
70
|
+
throw new Error("Unexpected options");
|
|
71
|
+
}
|
|
72
|
+
if (options.target !== void 0 && !Target[options.target]) {
|
|
73
|
+
throw new Error(`Unexpected target "${options.target}"`);
|
|
74
|
+
}
|
|
75
|
+
const opts = {
|
|
76
|
+
// Sets the level of emulation rigor/strictness.
|
|
77
|
+
accuracy: "default",
|
|
78
|
+
// Disables advanced emulation that relies on returning a `RegExp` subclass, resulting in
|
|
79
|
+
// certain patterns not being emulatable.
|
|
80
|
+
avoidSubclass: false,
|
|
81
|
+
// Oniguruma flags; a string with `i`, `m`, `x`, `D`, `S`, `W`, `y{g}` in any order (all
|
|
82
|
+
// optional). Oniguruma's `m` is equivalent to JavaScript's `s` (`dotAll`).
|
|
83
|
+
flags: "",
|
|
84
|
+
// Include JavaScript flag `g` (`global`) in the result.
|
|
85
|
+
global: false,
|
|
86
|
+
// Include JavaScript flag `d` (`hasIndices`) in the result.
|
|
87
|
+
hasIndices: false,
|
|
88
|
+
// Delay regex construction until first use if the transpiled pattern is at least this length.
|
|
89
|
+
lazyCompileLength: Infinity,
|
|
90
|
+
// JavaScript version used for generated regexes. Using `auto` detects the best value based on
|
|
91
|
+
// your environment. Later targets allow faster processing, simpler generated source, and
|
|
92
|
+
// support for additional features.
|
|
93
|
+
target: "auto",
|
|
94
|
+
// Disables minifications that simplify the pattern without changing the meaning.
|
|
95
|
+
verbose: false,
|
|
96
|
+
...options,
|
|
97
|
+
// Advanced options that override standard behavior, error checking, and flags when enabled.
|
|
98
|
+
rules: {
|
|
99
|
+
// Useful with TextMate grammars that merge backreferences across patterns.
|
|
100
|
+
allowOrphanBackrefs: false,
|
|
101
|
+
// Use ASCII `\b` and `\B`, which increases search performance of generated regexes.
|
|
102
|
+
asciiWordBoundaries: false,
|
|
103
|
+
// Allow unnamed captures and numbered calls (backreferences and subroutines) when using
|
|
104
|
+
// named capture. This is Oniguruma option `ONIG_OPTION_CAPTURE_GROUP`; on by default in
|
|
105
|
+
// `vscode-oniguruma`.
|
|
106
|
+
captureGroup: false,
|
|
107
|
+
// Change the recursion depth limit from Oniguruma's `20` to an integer `2`–`20`.
|
|
108
|
+
recursionLimit: 20,
|
|
109
|
+
// `^` as `\A`; `$` as`\Z`. Improves search performance of generated regexes without changing
|
|
110
|
+
// the meaning if searching line by line. This is Oniguruma option `ONIG_OPTION_SINGLELINE`.
|
|
111
|
+
singleline: false,
|
|
112
|
+
...options.rules
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
if (opts.target === "auto") {
|
|
116
|
+
opts.target = envFlags.flagGroups ? "ES2025" : envFlags.unicodeSets ? "ES2024" : "ES2018";
|
|
117
|
+
}
|
|
118
|
+
return opts;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// src/unicode.js
|
|
122
|
+
import { slug } from "oniguruma-parser/parser";
|
|
123
|
+
var asciiSpaceChar = "[ -\r ]";
|
|
124
|
+
var CharsWithoutIgnoreCaseExpansion = /* @__PURE__ */ new Set([
|
|
125
|
+
cp(304),
|
|
126
|
+
// İ
|
|
127
|
+
cp(305)
|
|
128
|
+
// ı
|
|
129
|
+
]);
|
|
130
|
+
var defaultWordChar = r`[\p{L}\p{M}\p{N}\p{Pc}]`;
|
|
131
|
+
function getIgnoreCaseMatchChars(char) {
|
|
132
|
+
if (CharsWithoutIgnoreCaseExpansion.has(char)) {
|
|
133
|
+
return [char];
|
|
134
|
+
}
|
|
135
|
+
const set = /* @__PURE__ */ new Set();
|
|
136
|
+
const lower = char.toLowerCase();
|
|
137
|
+
const upper = lower.toUpperCase();
|
|
138
|
+
const title = LowerToTitleCaseMap.get(lower);
|
|
139
|
+
const altLower = LowerToAlternativeLowerCaseMap.get(lower);
|
|
140
|
+
const altUpper = LowerToAlternativeUpperCaseMap.get(lower);
|
|
141
|
+
if ([...upper].length === 1) {
|
|
142
|
+
set.add(upper);
|
|
143
|
+
}
|
|
144
|
+
altUpper && set.add(altUpper);
|
|
145
|
+
title && set.add(title);
|
|
146
|
+
set.add(lower);
|
|
147
|
+
altLower && set.add(altLower);
|
|
148
|
+
return [...set];
|
|
149
|
+
}
|
|
150
|
+
var JsUnicodePropertyMap = /* @__PURE__ */ new Map(
|
|
151
|
+
`C Other
|
|
152
|
+
Cc Control cntrl
|
|
153
|
+
Cf Format
|
|
154
|
+
Cn Unassigned
|
|
155
|
+
Co Private_Use
|
|
156
|
+
Cs Surrogate
|
|
157
|
+
L Letter
|
|
158
|
+
LC Cased_Letter
|
|
159
|
+
Ll Lowercase_Letter
|
|
160
|
+
Lm Modifier_Letter
|
|
161
|
+
Lo Other_Letter
|
|
162
|
+
Lt Titlecase_Letter
|
|
163
|
+
Lu Uppercase_Letter
|
|
164
|
+
M Mark Combining_Mark
|
|
165
|
+
Mc Spacing_Mark
|
|
166
|
+
Me Enclosing_Mark
|
|
167
|
+
Mn Nonspacing_Mark
|
|
168
|
+
N Number
|
|
169
|
+
Nd Decimal_Number digit
|
|
170
|
+
Nl Letter_Number
|
|
171
|
+
No Other_Number
|
|
172
|
+
P Punctuation punct
|
|
173
|
+
Pc Connector_Punctuation
|
|
174
|
+
Pd Dash_Punctuation
|
|
175
|
+
Pe Close_Punctuation
|
|
176
|
+
Pf Final_Punctuation
|
|
177
|
+
Pi Initial_Punctuation
|
|
178
|
+
Po Other_Punctuation
|
|
179
|
+
Ps Open_Punctuation
|
|
180
|
+
S Symbol
|
|
181
|
+
Sc Currency_Symbol
|
|
182
|
+
Sk Modifier_Symbol
|
|
183
|
+
Sm Math_Symbol
|
|
184
|
+
So Other_Symbol
|
|
185
|
+
Z Separator
|
|
186
|
+
Zl Line_Separator
|
|
187
|
+
Zp Paragraph_Separator
|
|
188
|
+
Zs Space_Separator
|
|
189
|
+
ASCII
|
|
190
|
+
ASCII_Hex_Digit AHex
|
|
191
|
+
Alphabetic Alpha
|
|
192
|
+
Any
|
|
193
|
+
Assigned
|
|
194
|
+
Bidi_Control Bidi_C
|
|
195
|
+
Bidi_Mirrored Bidi_M
|
|
196
|
+
Case_Ignorable CI
|
|
197
|
+
Cased
|
|
198
|
+
Changes_When_Casefolded CWCF
|
|
199
|
+
Changes_When_Casemapped CWCM
|
|
200
|
+
Changes_When_Lowercased CWL
|
|
201
|
+
Changes_When_NFKC_Casefolded CWKCF
|
|
202
|
+
Changes_When_Titlecased CWT
|
|
203
|
+
Changes_When_Uppercased CWU
|
|
204
|
+
Dash
|
|
205
|
+
Default_Ignorable_Code_Point DI
|
|
206
|
+
Deprecated Dep
|
|
207
|
+
Diacritic Dia
|
|
208
|
+
Emoji
|
|
209
|
+
Emoji_Component EComp
|
|
210
|
+
Emoji_Modifier EMod
|
|
211
|
+
Emoji_Modifier_Base EBase
|
|
212
|
+
Emoji_Presentation EPres
|
|
213
|
+
Extended_Pictographic ExtPict
|
|
214
|
+
Extender Ext
|
|
215
|
+
Grapheme_Base Gr_Base
|
|
216
|
+
Grapheme_Extend Gr_Ext
|
|
217
|
+
Hex_Digit Hex
|
|
218
|
+
IDS_Binary_Operator IDSB
|
|
219
|
+
IDS_Trinary_Operator IDST
|
|
220
|
+
ID_Continue IDC
|
|
221
|
+
ID_Start IDS
|
|
222
|
+
Ideographic Ideo
|
|
223
|
+
Join_Control Join_C
|
|
224
|
+
Logical_Order_Exception LOE
|
|
225
|
+
Lowercase Lower
|
|
226
|
+
Math
|
|
227
|
+
Noncharacter_Code_Point NChar
|
|
228
|
+
Pattern_Syntax Pat_Syn
|
|
229
|
+
Pattern_White_Space Pat_WS
|
|
230
|
+
Quotation_Mark QMark
|
|
231
|
+
Radical
|
|
232
|
+
Regional_Indicator RI
|
|
233
|
+
Sentence_Terminal STerm
|
|
234
|
+
Soft_Dotted SD
|
|
235
|
+
Terminal_Punctuation Term
|
|
236
|
+
Unified_Ideograph UIdeo
|
|
237
|
+
Uppercase Upper
|
|
238
|
+
Variation_Selector VS
|
|
239
|
+
White_Space space
|
|
240
|
+
XID_Continue XIDC
|
|
241
|
+
XID_Start XIDS`.split(/\s/).map((p) => [slug(p), p])
|
|
242
|
+
);
|
|
243
|
+
var LowerToAlternativeLowerCaseMap = /* @__PURE__ */ new Map([
|
|
244
|
+
["s", cp(383)],
|
|
245
|
+
// s, ſ
|
|
246
|
+
[cp(383), "s"]
|
|
247
|
+
// ſ, s
|
|
248
|
+
]);
|
|
249
|
+
var LowerToAlternativeUpperCaseMap = /* @__PURE__ */ new Map([
|
|
250
|
+
[cp(223), cp(7838)],
|
|
251
|
+
// ß, ẞ
|
|
252
|
+
[cp(107), cp(8490)],
|
|
253
|
+
// k, K (Kelvin)
|
|
254
|
+
[cp(229), cp(8491)],
|
|
255
|
+
// å, Å (Angstrom)
|
|
256
|
+
[cp(969), cp(8486)]
|
|
257
|
+
// ω, Ω (Ohm)
|
|
258
|
+
]);
|
|
259
|
+
var LowerToTitleCaseMap = new Map([
|
|
260
|
+
titleEntry(453),
|
|
261
|
+
titleEntry(456),
|
|
262
|
+
titleEntry(459),
|
|
263
|
+
titleEntry(498),
|
|
264
|
+
...titleRange(8072, 8079),
|
|
265
|
+
...titleRange(8088, 8095),
|
|
266
|
+
...titleRange(8104, 8111),
|
|
267
|
+
titleEntry(8124),
|
|
268
|
+
titleEntry(8140),
|
|
269
|
+
titleEntry(8188)
|
|
270
|
+
]);
|
|
271
|
+
var PosixClassMap = /* @__PURE__ */ new Map([
|
|
272
|
+
["alnum", r`[\p{Alpha}\p{Nd}]`],
|
|
273
|
+
["alpha", r`\p{Alpha}`],
|
|
274
|
+
["ascii", r`\p{ASCII}`],
|
|
275
|
+
["blank", r`[\p{Zs}\t]`],
|
|
276
|
+
["cntrl", r`\p{Cc}`],
|
|
277
|
+
["digit", r`\p{Nd}`],
|
|
278
|
+
["graph", r`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],
|
|
279
|
+
["lower", r`\p{Lower}`],
|
|
280
|
+
["print", r`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],
|
|
281
|
+
["punct", r`[\p{P}\p{S}]`],
|
|
282
|
+
// Updated value from Onig 6.9.9; changed from Unicode `\p{punct}`
|
|
283
|
+
["space", r`\p{space}`],
|
|
284
|
+
["upper", r`\p{Upper}`],
|
|
285
|
+
["word", r`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],
|
|
286
|
+
["xdigit", r`\p{AHex}`]
|
|
287
|
+
]);
|
|
288
|
+
function range(start, end) {
|
|
289
|
+
const range2 = [];
|
|
290
|
+
for (let i = start; i <= end; i++) {
|
|
291
|
+
range2.push(i);
|
|
292
|
+
}
|
|
293
|
+
return range2;
|
|
294
|
+
}
|
|
295
|
+
function titleEntry(codePoint) {
|
|
296
|
+
const char = cp(codePoint);
|
|
297
|
+
return [char.toLowerCase(), char];
|
|
298
|
+
}
|
|
299
|
+
function titleRange(start, end) {
|
|
300
|
+
return range(start, end).map((codePoint) => titleEntry(codePoint));
|
|
301
|
+
}
|
|
302
|
+
var UnicodePropertiesWithSpecificCase = /* @__PURE__ */ new Set([
|
|
303
|
+
"Lower",
|
|
304
|
+
"Lowercase",
|
|
305
|
+
"Upper",
|
|
306
|
+
"Uppercase",
|
|
307
|
+
"Ll",
|
|
308
|
+
"Lowercase_Letter",
|
|
309
|
+
"Lt",
|
|
310
|
+
"Titlecase_Letter",
|
|
311
|
+
"Lu",
|
|
312
|
+
"Uppercase_Letter"
|
|
313
|
+
// The `Changes_When_*` properties (and their aliases) could be included, but they're very rare.
|
|
314
|
+
// Some other properties include a handful of chars with specific cases only, but these chars are
|
|
315
|
+
// generally extreme edge cases and using such properties case insensitively generally produces
|
|
316
|
+
// undesired behavior anyway
|
|
317
|
+
]);
|
|
318
|
+
|
|
319
|
+
// src/transform.js
|
|
320
|
+
import { createAlternative, createAssertion, createBackreference, createCapturingGroup, createCharacter, createCharacterClass, createCharacterSet, createGroup, createLookaroundAssertion, createQuantifier, createSubroutine, createUnicodeProperty, hasOnlyChild, parse, slug as slug2 } from "oniguruma-parser/parser";
|
|
321
|
+
import { traverse } from "oniguruma-parser/traverser";
|
|
322
|
+
function transform(ast, options) {
|
|
323
|
+
const opts = {
|
|
324
|
+
// A couple edge cases exist where options `accuracy` and `bestEffortTarget` are used:
|
|
325
|
+
// - `CharacterSet` kind `text_segment` (`\X`): An exact representation would require heavy
|
|
326
|
+
// Unicode data; a best-effort approximation requires knowing the target.
|
|
327
|
+
// - `CharacterSet` kind `posix` with values `graph` and `print`: Their complex Unicode
|
|
328
|
+
// representations would be hard to change to ASCII versions after the fact in the generator
|
|
329
|
+
// based on `target`/`accuracy`, so produce the appropriate structure here.
|
|
330
|
+
accuracy: "default",
|
|
331
|
+
asciiWordBoundaries: false,
|
|
332
|
+
avoidSubclass: false,
|
|
333
|
+
bestEffortTarget: "ES2025",
|
|
334
|
+
...options
|
|
335
|
+
};
|
|
336
|
+
addParentProperties(ast);
|
|
337
|
+
const firstPassState = {
|
|
338
|
+
accuracy: opts.accuracy,
|
|
339
|
+
asciiWordBoundaries: opts.asciiWordBoundaries,
|
|
340
|
+
avoidSubclass: opts.avoidSubclass,
|
|
341
|
+
flagDirectivesByAlt: /* @__PURE__ */ new Map(),
|
|
342
|
+
jsGroupNameMap: /* @__PURE__ */ new Map(),
|
|
343
|
+
minTargetEs2024: isMinTarget(opts.bestEffortTarget, "ES2024"),
|
|
344
|
+
passedLookbehind: false,
|
|
345
|
+
strategy: null,
|
|
346
|
+
// Subroutines can appear before the groups they ref, so collect reffed nodes for a second pass
|
|
347
|
+
subroutineRefMap: /* @__PURE__ */ new Map(),
|
|
348
|
+
supportedGNodes: /* @__PURE__ */ new Set(),
|
|
349
|
+
digitIsAscii: ast.flags.digitIsAscii,
|
|
350
|
+
spaceIsAscii: ast.flags.spaceIsAscii,
|
|
351
|
+
wordIsAscii: ast.flags.wordIsAscii
|
|
352
|
+
};
|
|
353
|
+
traverse(ast, FirstPassVisitor, firstPassState);
|
|
354
|
+
const globalFlags = {
|
|
355
|
+
dotAll: ast.flags.dotAll,
|
|
356
|
+
ignoreCase: ast.flags.ignoreCase
|
|
357
|
+
};
|
|
358
|
+
const secondPassState = {
|
|
359
|
+
currentFlags: globalFlags,
|
|
360
|
+
prevFlags: null,
|
|
361
|
+
globalFlags,
|
|
362
|
+
groupOriginByCopy: /* @__PURE__ */ new Map(),
|
|
363
|
+
groupsByName: /* @__PURE__ */ new Map(),
|
|
364
|
+
multiplexCapturesToLeftByRef: /* @__PURE__ */ new Map(),
|
|
365
|
+
openRefs: /* @__PURE__ */ new Map(),
|
|
366
|
+
reffedNodesByReferencer: /* @__PURE__ */ new Map(),
|
|
367
|
+
subroutineRefMap: firstPassState.subroutineRefMap
|
|
368
|
+
};
|
|
369
|
+
traverse(ast, SecondPassVisitor, secondPassState);
|
|
370
|
+
const thirdPassState = {
|
|
371
|
+
groupsByName: secondPassState.groupsByName,
|
|
372
|
+
highestOrphanBackref: 0,
|
|
373
|
+
numCapturesToLeft: 0,
|
|
374
|
+
reffedNodesByReferencer: secondPassState.reffedNodesByReferencer
|
|
375
|
+
};
|
|
376
|
+
traverse(ast, ThirdPassVisitor, thirdPassState);
|
|
377
|
+
ast._originMap = secondPassState.groupOriginByCopy;
|
|
378
|
+
ast._strategy = firstPassState.strategy;
|
|
379
|
+
return ast;
|
|
380
|
+
}
|
|
381
|
+
var FirstPassVisitor = {
|
|
382
|
+
AbsenceFunction({ node, parent, replaceWith }) {
|
|
383
|
+
const { body, kind } = node;
|
|
384
|
+
if (kind === "repeater") {
|
|
385
|
+
const innerGroup = createGroup();
|
|
386
|
+
innerGroup.body[0].body.push(
|
|
387
|
+
// Insert own alts as `body`
|
|
388
|
+
createLookaroundAssertion({ negate: true, body }),
|
|
389
|
+
createUnicodeProperty("Any")
|
|
390
|
+
);
|
|
391
|
+
const outerGroup = createGroup();
|
|
392
|
+
outerGroup.body[0].body.push(
|
|
393
|
+
createQuantifier("greedy", 0, Infinity, innerGroup)
|
|
394
|
+
);
|
|
395
|
+
replaceWith(setParentDeep(outerGroup, parent), { traverse: true });
|
|
396
|
+
} else {
|
|
397
|
+
throw new Error(`Unsupported absence function "(?~|"`);
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
Alternative: {
|
|
401
|
+
enter({ node, parent, key }, { flagDirectivesByAlt }) {
|
|
402
|
+
const flagDirectives = node.body.filter((el) => el.kind === "flags");
|
|
403
|
+
for (let i = key + 1; i < parent.body.length; i++) {
|
|
404
|
+
const forwardSiblingAlt = parent.body[i];
|
|
405
|
+
getOrInsert(flagDirectivesByAlt, forwardSiblingAlt, []).push(...flagDirectives);
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
exit({ node }, { flagDirectivesByAlt }) {
|
|
409
|
+
if (flagDirectivesByAlt.get(node)?.length) {
|
|
410
|
+
const flags = getCombinedFlagModsFromFlagNodes(flagDirectivesByAlt.get(node));
|
|
411
|
+
if (flags) {
|
|
412
|
+
const flagGroup = createGroup({ flags });
|
|
413
|
+
flagGroup.body[0].body = node.body;
|
|
414
|
+
node.body = [setParentDeep(flagGroup, node)];
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
Assertion({ node, parent, key, container, root, remove, replaceWith }, state) {
|
|
420
|
+
const { kind, negate } = node;
|
|
421
|
+
const { asciiWordBoundaries, avoidSubclass, supportedGNodes, wordIsAscii } = state;
|
|
422
|
+
if (kind === "text_segment_boundary") {
|
|
423
|
+
throw new Error(`Unsupported text segment boundary "\\${negate ? "Y" : "y"}"`);
|
|
424
|
+
} else if (kind === "line_end") {
|
|
425
|
+
replaceWith(setParentDeep(createLookaroundAssertion({ body: [
|
|
426
|
+
createAlternative({ body: [createAssertion("string_end")] }),
|
|
427
|
+
createAlternative({ body: [createCharacter(10)] })
|
|
428
|
+
// `\n`
|
|
429
|
+
] }), parent));
|
|
430
|
+
} else if (kind === "line_start") {
|
|
431
|
+
replaceWith(setParentDeep(parseFragment(r`(?<=\A|\n(?!\z))`, { skipLookbehindValidation: true }), parent));
|
|
432
|
+
} else if (kind === "search_start") {
|
|
433
|
+
if (supportedGNodes.has(node)) {
|
|
434
|
+
root.flags.sticky = true;
|
|
435
|
+
remove();
|
|
436
|
+
} else {
|
|
437
|
+
const prev = container[key - 1];
|
|
438
|
+
if (prev && isAlwaysNonZeroLength(prev)) {
|
|
439
|
+
replaceWith(setParentDeep(createLookaroundAssertion({ negate: true }), parent));
|
|
440
|
+
} else if (avoidSubclass) {
|
|
441
|
+
throw new Error(r`Uses "\G" in a way that requires a subclass`);
|
|
442
|
+
} else {
|
|
443
|
+
replaceWith(setParent(createAssertion("string_start"), parent));
|
|
444
|
+
state.strategy = "clip_search";
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
} else if (kind === "string_end" || kind === "string_start") {
|
|
448
|
+
} else if (kind === "string_end_newline") {
|
|
449
|
+
replaceWith(setParentDeep(parseFragment(r`(?=\n?\z)`), parent));
|
|
450
|
+
} else if (kind === "word_boundary") {
|
|
451
|
+
if (!wordIsAscii && !asciiWordBoundaries) {
|
|
452
|
+
const b = `(?:(?<=${defaultWordChar})(?!${defaultWordChar})|(?<!${defaultWordChar})(?=${defaultWordChar}))`;
|
|
453
|
+
const B = `(?:(?<=${defaultWordChar})(?=${defaultWordChar})|(?<!${defaultWordChar})(?!${defaultWordChar}))`;
|
|
454
|
+
replaceWith(setParentDeep(parseFragment(negate ? B : b), parent));
|
|
455
|
+
}
|
|
456
|
+
} else {
|
|
457
|
+
throw new Error(`Unexpected assertion kind "${kind}"`);
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
Backreference({ node }, { jsGroupNameMap }) {
|
|
461
|
+
let { ref } = node;
|
|
462
|
+
if (typeof ref === "string" && !isValidJsGroupName(ref)) {
|
|
463
|
+
ref = getAndStoreJsGroupName(ref, jsGroupNameMap);
|
|
464
|
+
node.ref = ref;
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
CapturingGroup({ node }, { jsGroupNameMap, subroutineRefMap }) {
|
|
468
|
+
let { name } = node;
|
|
469
|
+
if (name && !isValidJsGroupName(name)) {
|
|
470
|
+
name = getAndStoreJsGroupName(name, jsGroupNameMap);
|
|
471
|
+
node.name = name;
|
|
472
|
+
}
|
|
473
|
+
subroutineRefMap.set(node.number, node);
|
|
474
|
+
if (name) {
|
|
475
|
+
subroutineRefMap.set(name, node);
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
CharacterClassRange({ node, parent, replaceWith }) {
|
|
479
|
+
if (parent.kind === "intersection") {
|
|
480
|
+
const cc = createCharacterClass({ body: [node] });
|
|
481
|
+
replaceWith(setParentDeep(cc, parent), { traverse: true });
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
CharacterSet({ node, parent, replaceWith }, { accuracy, minTargetEs2024, digitIsAscii, spaceIsAscii, wordIsAscii }) {
|
|
485
|
+
const { kind, negate, value } = node;
|
|
486
|
+
if (digitIsAscii && (kind === "digit" || value === "digit")) {
|
|
487
|
+
replaceWith(setParent(createCharacterSet("digit", { negate }), parent));
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
if (spaceIsAscii && (kind === "space" || value === "space")) {
|
|
491
|
+
replaceWith(setParentDeep(setNegate(parseFragment(asciiSpaceChar), negate), parent));
|
|
492
|
+
return;
|
|
493
|
+
}
|
|
494
|
+
if (wordIsAscii && (kind === "word" || value === "word")) {
|
|
495
|
+
replaceWith(setParent(createCharacterSet("word", { negate }), parent));
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
if (kind === "any") {
|
|
499
|
+
replaceWith(setParent(createUnicodeProperty("Any"), parent));
|
|
500
|
+
} else if (kind === "digit") {
|
|
501
|
+
replaceWith(setParent(createUnicodeProperty("Nd", { negate }), parent));
|
|
502
|
+
} else if (kind === "dot") {
|
|
503
|
+
} else if (kind === "text_segment") {
|
|
504
|
+
if (accuracy === "strict") {
|
|
505
|
+
throw new Error(r`Use of "\X" requires non-strict accuracy`);
|
|
506
|
+
}
|
|
507
|
+
const eBase = "\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?";
|
|
508
|
+
const emoji = r`\p{RI}{2}|${eBase}(?:\u200D${eBase})*`;
|
|
509
|
+
replaceWith(setParentDeep(parseFragment(
|
|
510
|
+
// Close approximation of an extended grapheme cluster; see <unicode.org/reports/tr29/>
|
|
511
|
+
r`(?>\r\n|${minTargetEs2024 ? r`\p{RGI_Emoji}` : emoji}|\P{M}\p{M}*)`,
|
|
512
|
+
// Allow JS property `RGI_Emoji` through
|
|
513
|
+
{ skipPropertyNameValidation: true }
|
|
514
|
+
), parent));
|
|
515
|
+
} else if (kind === "hex") {
|
|
516
|
+
replaceWith(setParent(createUnicodeProperty("AHex", { negate }), parent));
|
|
517
|
+
} else if (kind === "newline") {
|
|
518
|
+
replaceWith(setParentDeep(parseFragment(negate ? "[^\n]" : "(?>\r\n?|[\n\v\f\x85\u2028\u2029])"), parent));
|
|
519
|
+
} else if (kind === "posix") {
|
|
520
|
+
if (!minTargetEs2024 && (value === "graph" || value === "print")) {
|
|
521
|
+
if (accuracy === "strict") {
|
|
522
|
+
throw new Error(`POSIX class "${value}" requires min target ES2024 or non-strict accuracy`);
|
|
523
|
+
}
|
|
524
|
+
let ascii = {
|
|
525
|
+
graph: "!-~",
|
|
526
|
+
print: " -~"
|
|
527
|
+
}[value];
|
|
528
|
+
if (negate) {
|
|
529
|
+
ascii = `\0-${cp(ascii.codePointAt(0) - 1)}${cp(ascii.codePointAt(2) + 1)}-\u{10FFFF}`;
|
|
530
|
+
}
|
|
531
|
+
replaceWith(setParentDeep(parseFragment(`[${ascii}]`), parent));
|
|
532
|
+
} else {
|
|
533
|
+
replaceWith(setParentDeep(setNegate(parseFragment(PosixClassMap.get(value)), negate), parent));
|
|
534
|
+
}
|
|
535
|
+
} else if (kind === "property") {
|
|
536
|
+
if (!JsUnicodePropertyMap.has(slug2(value))) {
|
|
537
|
+
node.key = "sc";
|
|
538
|
+
}
|
|
539
|
+
} else if (kind === "space") {
|
|
540
|
+
replaceWith(setParent(createUnicodeProperty("space", { negate }), parent));
|
|
541
|
+
} else if (kind === "word") {
|
|
542
|
+
replaceWith(setParentDeep(setNegate(parseFragment(defaultWordChar), negate), parent));
|
|
543
|
+
} else {
|
|
544
|
+
throw new Error(`Unexpected character set kind "${kind}"`);
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
Directive({ node, parent, root, remove, replaceWith, removeAllPrevSiblings, removeAllNextSiblings }) {
|
|
548
|
+
const { kind, flags } = node;
|
|
549
|
+
if (kind === "flags") {
|
|
550
|
+
if (!flags.enable && !flags.disable) {
|
|
551
|
+
remove();
|
|
552
|
+
} else {
|
|
553
|
+
const flagGroup = createGroup({ flags });
|
|
554
|
+
flagGroup.body[0].body = removeAllNextSiblings();
|
|
555
|
+
replaceWith(setParentDeep(flagGroup, parent), { traverse: true });
|
|
556
|
+
}
|
|
557
|
+
} else if (kind === "keep") {
|
|
558
|
+
const firstAlt = root.body[0];
|
|
559
|
+
const hasWrapperGroup = root.body.length === 1 && // Not emulatable if within a `CapturingGroup`
|
|
560
|
+
hasOnlyChild(firstAlt, { type: "Group" }) && firstAlt.body[0].body.length === 1;
|
|
561
|
+
const topLevel = hasWrapperGroup ? firstAlt.body[0] : root;
|
|
562
|
+
if (parent.parent !== topLevel || topLevel.body.length > 1) {
|
|
563
|
+
throw new Error(r`Uses "\K" in a way that's unsupported`);
|
|
564
|
+
}
|
|
565
|
+
const lookbehind = createLookaroundAssertion({ behind: true });
|
|
566
|
+
lookbehind.body[0].body = removeAllPrevSiblings();
|
|
567
|
+
replaceWith(setParentDeep(lookbehind, parent));
|
|
568
|
+
} else {
|
|
569
|
+
throw new Error(`Unexpected directive kind "${kind}"`);
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
Flags({ node, parent }) {
|
|
573
|
+
if (node.posixIsAscii) {
|
|
574
|
+
throw new Error('Unsupported flag "P"');
|
|
575
|
+
}
|
|
576
|
+
if (node.textSegmentMode === "word") {
|
|
577
|
+
throw new Error('Unsupported flag "y{w}"');
|
|
578
|
+
}
|
|
579
|
+
[
|
|
580
|
+
"digitIsAscii",
|
|
581
|
+
// Flag D
|
|
582
|
+
"extended",
|
|
583
|
+
// Flag x
|
|
584
|
+
"posixIsAscii",
|
|
585
|
+
// Flag P
|
|
586
|
+
"spaceIsAscii",
|
|
587
|
+
// Flag S
|
|
588
|
+
"wordIsAscii",
|
|
589
|
+
// Flag W
|
|
590
|
+
"textSegmentMode"
|
|
591
|
+
// Flag y{g} or y{w}
|
|
592
|
+
].forEach((f) => delete node[f]);
|
|
593
|
+
Object.assign(node, {
|
|
594
|
+
// JS flag g; no Onig equiv
|
|
595
|
+
global: false,
|
|
596
|
+
// JS flag d; no Onig equiv
|
|
597
|
+
hasIndices: false,
|
|
598
|
+
// JS flag m; no Onig equiv but its behavior is always on in Onig. Onig's only line break
|
|
599
|
+
// char is line feed, unlike JS, so this flag isn't used since it would produce inaccurate
|
|
600
|
+
// results (also allows `^` and `$` to be used in the generator for string start and end)
|
|
601
|
+
multiline: false,
|
|
602
|
+
// JS flag y; no Onig equiv, but used for `\G` emulation
|
|
603
|
+
sticky: node.sticky ?? false
|
|
604
|
+
// Note: Regex+ doesn't allow explicitly adding flags it handles implicitly, so leave out
|
|
605
|
+
// properties `unicode` (JS flag u) and `unicodeSets` (JS flag v). Keep the existing values
|
|
606
|
+
// for `ignoreCase` (flag i) and `dotAll` (JS flag s, but Onig flag m)
|
|
607
|
+
});
|
|
608
|
+
parent.options = {
|
|
609
|
+
disable: {
|
|
610
|
+
// Onig uses different rules for flag x than Regex+, so disable the implicit flag
|
|
611
|
+
x: true,
|
|
612
|
+
// Onig has no flag to control "named capture only" mode but contextually applies its
|
|
613
|
+
// behavior when named capturing is used, so disable Regex+'s implicit flag for it
|
|
614
|
+
n: true
|
|
615
|
+
},
|
|
616
|
+
force: {
|
|
617
|
+
// Always add flag v because we're generating an AST that relies on it (it enables JS
|
|
618
|
+
// support for Onig features nested classes, intersection, Unicode properties, etc.).
|
|
619
|
+
// However, the generator might disable flag v based on its `target` option
|
|
620
|
+
v: true
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
},
|
|
624
|
+
Group({ node }) {
|
|
625
|
+
if (!node.flags) {
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
const { enable, disable } = node.flags;
|
|
629
|
+
enable?.extended && delete enable.extended;
|
|
630
|
+
disable?.extended && delete disable.extended;
|
|
631
|
+
enable?.dotAll && disable?.dotAll && delete enable.dotAll;
|
|
632
|
+
enable?.ignoreCase && disable?.ignoreCase && delete enable.ignoreCase;
|
|
633
|
+
enable && !Object.keys(enable).length && delete node.flags.enable;
|
|
634
|
+
disable && !Object.keys(disable).length && delete node.flags.disable;
|
|
635
|
+
!node.flags.enable && !node.flags.disable && delete node.flags;
|
|
636
|
+
},
|
|
637
|
+
LookaroundAssertion({ node }, state) {
|
|
638
|
+
const { kind } = node;
|
|
639
|
+
if (kind === "lookbehind") {
|
|
640
|
+
state.passedLookbehind = true;
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
NamedCallout({ node, parent, replaceWith }) {
|
|
644
|
+
const { kind } = node;
|
|
645
|
+
if (kind === "fail") {
|
|
646
|
+
replaceWith(setParentDeep(createLookaroundAssertion({ negate: true }), parent));
|
|
647
|
+
} else {
|
|
648
|
+
throw new Error(`Unsupported named callout "(*${kind.toUpperCase()}"`);
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
Quantifier({ node }) {
|
|
652
|
+
if (node.body.type === "Quantifier") {
|
|
653
|
+
const group = createGroup();
|
|
654
|
+
group.body[0].body.push(node.body);
|
|
655
|
+
node.body = setParentDeep(group, node);
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
Regex: {
|
|
659
|
+
enter({ node }, { supportedGNodes }) {
|
|
660
|
+
const leadingGs = [];
|
|
661
|
+
let hasAltWithLeadG = false;
|
|
662
|
+
let hasAltWithoutLeadG = false;
|
|
663
|
+
for (const alt of node.body) {
|
|
664
|
+
if (alt.body.length === 1 && alt.body[0].kind === "search_start") {
|
|
665
|
+
alt.body.pop();
|
|
666
|
+
} else {
|
|
667
|
+
const leadingG = getLeadingG(alt.body);
|
|
668
|
+
if (leadingG) {
|
|
669
|
+
hasAltWithLeadG = true;
|
|
670
|
+
Array.isArray(leadingG) ? leadingGs.push(...leadingG) : leadingGs.push(leadingG);
|
|
671
|
+
} else {
|
|
672
|
+
hasAltWithoutLeadG = true;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
if (hasAltWithLeadG && !hasAltWithoutLeadG) {
|
|
677
|
+
leadingGs.forEach((g) => supportedGNodes.add(g));
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
exit(_, { accuracy, passedLookbehind, strategy }) {
|
|
681
|
+
if (accuracy === "strict" && passedLookbehind && strategy) {
|
|
682
|
+
throw new Error(r`Uses "\G" in a way that requires non-strict accuracy`);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
Subroutine({ node }, { jsGroupNameMap }) {
|
|
687
|
+
let { ref } = node;
|
|
688
|
+
if (typeof ref === "string" && !isValidJsGroupName(ref)) {
|
|
689
|
+
ref = getAndStoreJsGroupName(ref, jsGroupNameMap);
|
|
690
|
+
node.ref = ref;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
};
|
|
694
|
+
var SecondPassVisitor = {
|
|
695
|
+
Backreference({ node }, { multiplexCapturesToLeftByRef, reffedNodesByReferencer }) {
|
|
696
|
+
const { orphan, ref } = node;
|
|
697
|
+
if (!orphan) {
|
|
698
|
+
reffedNodesByReferencer.set(node, [...multiplexCapturesToLeftByRef.get(ref).map(({ node: node2 }) => node2)]);
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
CapturingGroup: {
|
|
702
|
+
enter({
|
|
703
|
+
node,
|
|
704
|
+
parent,
|
|
705
|
+
replaceWith,
|
|
706
|
+
skip
|
|
707
|
+
}, {
|
|
708
|
+
groupOriginByCopy,
|
|
709
|
+
groupsByName,
|
|
710
|
+
multiplexCapturesToLeftByRef,
|
|
711
|
+
openRefs,
|
|
712
|
+
reffedNodesByReferencer
|
|
713
|
+
}) {
|
|
714
|
+
const origin = groupOriginByCopy.get(node);
|
|
715
|
+
if (origin && openRefs.has(node.number)) {
|
|
716
|
+
const recursion2 = setParent(createRecursion(node.number), parent);
|
|
717
|
+
reffedNodesByReferencer.set(recursion2, openRefs.get(node.number));
|
|
718
|
+
replaceWith(recursion2);
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
openRefs.set(node.number, node);
|
|
722
|
+
multiplexCapturesToLeftByRef.set(node.number, []);
|
|
723
|
+
if (node.name) {
|
|
724
|
+
getOrInsert(multiplexCapturesToLeftByRef, node.name, []);
|
|
725
|
+
}
|
|
726
|
+
const multiplexNodes = multiplexCapturesToLeftByRef.get(node.name ?? node.number);
|
|
727
|
+
for (let i = 0; i < multiplexNodes.length; i++) {
|
|
728
|
+
const multiplex = multiplexNodes[i];
|
|
729
|
+
if (
|
|
730
|
+
// This group is from subroutine expansion, and there's a multiplex value from either the
|
|
731
|
+
// origin node or a prior subroutine expansion group with the same origin
|
|
732
|
+
origin === multiplex.node || origin && origin === multiplex.origin || // This group is not from subroutine expansion, and it comes after a subroutine expansion
|
|
733
|
+
// group that refers to this group
|
|
734
|
+
node === multiplex.origin
|
|
735
|
+
) {
|
|
736
|
+
multiplexNodes.splice(i, 1);
|
|
737
|
+
break;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
multiplexCapturesToLeftByRef.get(node.number).push({ node, origin });
|
|
741
|
+
if (node.name) {
|
|
742
|
+
multiplexCapturesToLeftByRef.get(node.name).push({ node, origin });
|
|
743
|
+
}
|
|
744
|
+
if (node.name) {
|
|
745
|
+
const groupsWithSameName = getOrInsert(groupsByName, node.name, /* @__PURE__ */ new Map());
|
|
746
|
+
let hasDuplicateNameToRemove = false;
|
|
747
|
+
if (origin) {
|
|
748
|
+
hasDuplicateNameToRemove = true;
|
|
749
|
+
} else {
|
|
750
|
+
for (const groupInfo of groupsWithSameName.values()) {
|
|
751
|
+
if (!groupInfo.hasDuplicateNameToRemove) {
|
|
752
|
+
hasDuplicateNameToRemove = true;
|
|
753
|
+
break;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
groupsByName.get(node.name).set(node, { node, hasDuplicateNameToRemove });
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
exit({ node }, { openRefs }) {
|
|
761
|
+
openRefs.delete(node.number);
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
Group: {
|
|
765
|
+
enter({ node }, state) {
|
|
766
|
+
state.prevFlags = state.currentFlags;
|
|
767
|
+
if (node.flags) {
|
|
768
|
+
state.currentFlags = getNewCurrentFlags(state.currentFlags, node.flags);
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
exit(_, state) {
|
|
772
|
+
state.currentFlags = state.prevFlags;
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
Subroutine({ node, parent, replaceWith }, state) {
|
|
776
|
+
const { isRecursive, ref } = node;
|
|
777
|
+
if (isRecursive) {
|
|
778
|
+
let reffed = parent;
|
|
779
|
+
while (reffed = reffed.parent) {
|
|
780
|
+
if (reffed.type === "CapturingGroup" && (reffed.name === ref || reffed.number === ref)) {
|
|
781
|
+
break;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
state.reffedNodesByReferencer.set(node, reffed);
|
|
785
|
+
return;
|
|
786
|
+
}
|
|
787
|
+
const reffedGroupNode = state.subroutineRefMap.get(ref);
|
|
788
|
+
const isGlobalRecursion = ref === 0;
|
|
789
|
+
const expandedSubroutine = isGlobalRecursion ? createRecursion(0) : (
|
|
790
|
+
// The reffed group might itself contain subroutines, which are expanded during sub-traversal
|
|
791
|
+
cloneCapturingGroup(reffedGroupNode, state.groupOriginByCopy, null)
|
|
792
|
+
);
|
|
793
|
+
let replacement = expandedSubroutine;
|
|
794
|
+
if (!isGlobalRecursion) {
|
|
795
|
+
const reffedGroupFlagMods = getCombinedFlagModsFromFlagNodes(getAllParents(
|
|
796
|
+
reffedGroupNode,
|
|
797
|
+
(p) => p.type === "Group" && !!p.flags
|
|
798
|
+
));
|
|
799
|
+
const reffedGroupFlags = reffedGroupFlagMods ? getNewCurrentFlags(state.globalFlags, reffedGroupFlagMods) : state.globalFlags;
|
|
800
|
+
if (!areFlagsEqual(reffedGroupFlags, state.currentFlags)) {
|
|
801
|
+
replacement = createGroup({
|
|
802
|
+
flags: getFlagModsFromFlags(reffedGroupFlags)
|
|
803
|
+
});
|
|
804
|
+
replacement.body[0].body.push(expandedSubroutine);
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
replaceWith(setParentDeep(replacement, parent), { traverse: !isGlobalRecursion });
|
|
808
|
+
}
|
|
809
|
+
};
|
|
810
|
+
var ThirdPassVisitor = {
|
|
811
|
+
Backreference({ node, parent, replaceWith }, state) {
|
|
812
|
+
if (node.orphan) {
|
|
813
|
+
state.highestOrphanBackref = Math.max(state.highestOrphanBackref, node.ref);
|
|
814
|
+
return;
|
|
815
|
+
}
|
|
816
|
+
const reffedNodes = state.reffedNodesByReferencer.get(node);
|
|
817
|
+
const participants = reffedNodes.filter((reffed) => canParticipateWithNode(reffed, node));
|
|
818
|
+
if (!participants.length) {
|
|
819
|
+
replaceWith(setParentDeep(createLookaroundAssertion({ negate: true }), parent));
|
|
820
|
+
} else if (participants.length > 1) {
|
|
821
|
+
const group = createGroup({
|
|
822
|
+
atomic: true,
|
|
823
|
+
body: participants.reverse().map((reffed) => createAlternative({
|
|
824
|
+
body: [createBackreference(reffed.number)]
|
|
825
|
+
}))
|
|
826
|
+
});
|
|
827
|
+
replaceWith(setParentDeep(group, parent));
|
|
828
|
+
} else {
|
|
829
|
+
node.ref = participants[0].number;
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
CapturingGroup({ node }, state) {
|
|
833
|
+
node.number = ++state.numCapturesToLeft;
|
|
834
|
+
if (node.name) {
|
|
835
|
+
if (state.groupsByName.get(node.name).get(node).hasDuplicateNameToRemove) {
|
|
836
|
+
delete node.name;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
Regex: {
|
|
841
|
+
exit({ node }, state) {
|
|
842
|
+
const numCapsNeeded = Math.max(state.highestOrphanBackref - state.numCapturesToLeft, 0);
|
|
843
|
+
for (let i = 0; i < numCapsNeeded; i++) {
|
|
844
|
+
const emptyCapture = createCapturingGroup();
|
|
845
|
+
node.body.at(-1).body.push(emptyCapture);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
Subroutine({ node }, state) {
|
|
850
|
+
if (!node.isRecursive || node.ref === 0) {
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
node.ref = state.reffedNodesByReferencer.get(node).number;
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
function addParentProperties(root) {
|
|
857
|
+
traverse(root, {
|
|
858
|
+
"*"({ node, parent }) {
|
|
859
|
+
node.parent = parent;
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
function areFlagsEqual(a, b) {
|
|
864
|
+
return a.dotAll === b.dotAll && a.ignoreCase === b.ignoreCase;
|
|
865
|
+
}
|
|
866
|
+
function canParticipateWithNode(capture, node) {
|
|
867
|
+
let rightmostPoint = node;
|
|
868
|
+
do {
|
|
869
|
+
if (rightmostPoint.type === "Regex") {
|
|
870
|
+
return false;
|
|
871
|
+
}
|
|
872
|
+
if (rightmostPoint.type === "Alternative") {
|
|
873
|
+
continue;
|
|
874
|
+
}
|
|
875
|
+
if (rightmostPoint === capture) {
|
|
876
|
+
return false;
|
|
877
|
+
}
|
|
878
|
+
const kidsOfParent = getKids(rightmostPoint.parent);
|
|
879
|
+
for (const kid of kidsOfParent) {
|
|
880
|
+
if (kid === rightmostPoint) {
|
|
881
|
+
break;
|
|
882
|
+
}
|
|
883
|
+
if (kid === capture || isAncestorOf(kid, capture)) {
|
|
884
|
+
return true;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
} while (rightmostPoint = rightmostPoint.parent);
|
|
888
|
+
throw new Error("Unexpected path");
|
|
889
|
+
}
|
|
890
|
+
function cloneCapturingGroup(obj, originMap, up, up2) {
|
|
891
|
+
const store = Array.isArray(obj) ? [] : {};
|
|
892
|
+
for (const [key, value] of Object.entries(obj)) {
|
|
893
|
+
if (key === "parent") {
|
|
894
|
+
store.parent = Array.isArray(up) ? up2 : up;
|
|
895
|
+
} else if (value && typeof value === "object") {
|
|
896
|
+
store[key] = cloneCapturingGroup(value, originMap, store, up);
|
|
897
|
+
} else {
|
|
898
|
+
if (key === "type" && value === "CapturingGroup") {
|
|
899
|
+
originMap.set(store, originMap.get(obj) ?? obj);
|
|
900
|
+
}
|
|
901
|
+
store[key] = value;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
return store;
|
|
905
|
+
}
|
|
906
|
+
function createRecursion(ref) {
|
|
907
|
+
const node = createSubroutine(ref);
|
|
908
|
+
node.isRecursive = true;
|
|
909
|
+
return node;
|
|
910
|
+
}
|
|
911
|
+
function getAllParents(node, filterFn) {
|
|
912
|
+
const results = [];
|
|
913
|
+
while (node = node.parent) {
|
|
914
|
+
if (!filterFn || filterFn(node)) {
|
|
915
|
+
results.push(node);
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
return results;
|
|
919
|
+
}
|
|
920
|
+
function getAndStoreJsGroupName(name, map) {
|
|
921
|
+
if (map.has(name)) {
|
|
922
|
+
return map.get(name);
|
|
923
|
+
}
|
|
924
|
+
const jsName = `$${map.size}_${name.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug, "_")}`;
|
|
925
|
+
map.set(name, jsName);
|
|
926
|
+
return jsName;
|
|
927
|
+
}
|
|
928
|
+
function getCombinedFlagModsFromFlagNodes(flagNodes) {
|
|
929
|
+
const flagProps = ["dotAll", "ignoreCase"];
|
|
930
|
+
const combinedFlags = { enable: {}, disable: {} };
|
|
931
|
+
flagNodes.forEach(({ flags }) => {
|
|
932
|
+
flagProps.forEach((prop) => {
|
|
933
|
+
if (flags.enable?.[prop]) {
|
|
934
|
+
delete combinedFlags.disable[prop];
|
|
935
|
+
combinedFlags.enable[prop] = true;
|
|
936
|
+
}
|
|
937
|
+
if (flags.disable?.[prop]) {
|
|
938
|
+
combinedFlags.disable[prop] = true;
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
});
|
|
942
|
+
if (!Object.keys(combinedFlags.enable).length) {
|
|
943
|
+
delete combinedFlags.enable;
|
|
944
|
+
}
|
|
945
|
+
if (!Object.keys(combinedFlags.disable).length) {
|
|
946
|
+
delete combinedFlags.disable;
|
|
947
|
+
}
|
|
948
|
+
if (combinedFlags.enable || combinedFlags.disable) {
|
|
949
|
+
return combinedFlags;
|
|
950
|
+
}
|
|
951
|
+
return null;
|
|
952
|
+
}
|
|
953
|
+
function getFlagModsFromFlags({ dotAll, ignoreCase }) {
|
|
954
|
+
const mods = {};
|
|
955
|
+
if (dotAll || ignoreCase) {
|
|
956
|
+
mods.enable = {};
|
|
957
|
+
dotAll && (mods.enable.dotAll = true);
|
|
958
|
+
ignoreCase && (mods.enable.ignoreCase = true);
|
|
959
|
+
}
|
|
960
|
+
if (!dotAll || !ignoreCase) {
|
|
961
|
+
mods.disable = {};
|
|
962
|
+
!dotAll && (mods.disable.dotAll = true);
|
|
963
|
+
!ignoreCase && (mods.disable.ignoreCase = true);
|
|
964
|
+
}
|
|
965
|
+
return mods;
|
|
966
|
+
}
|
|
967
|
+
function getKids(node) {
|
|
968
|
+
if (!node) {
|
|
969
|
+
throw new Error("Node expected");
|
|
970
|
+
}
|
|
971
|
+
const { body } = node;
|
|
972
|
+
return Array.isArray(body) ? body : body ? [body] : null;
|
|
973
|
+
}
|
|
974
|
+
function getLeadingG(els) {
|
|
975
|
+
const firstToConsider = els.find((el) => el.kind === "search_start" || isLoneGLookaround(el, { negate: false }) || !isAlwaysZeroLength(el));
|
|
976
|
+
if (!firstToConsider) {
|
|
977
|
+
return null;
|
|
978
|
+
}
|
|
979
|
+
if (firstToConsider.kind === "search_start") {
|
|
980
|
+
return firstToConsider;
|
|
981
|
+
}
|
|
982
|
+
if (firstToConsider.type === "LookaroundAssertion") {
|
|
983
|
+
return firstToConsider.body[0].body[0];
|
|
984
|
+
}
|
|
985
|
+
if (firstToConsider.type === "CapturingGroup" || firstToConsider.type === "Group") {
|
|
986
|
+
const gNodesForGroup = [];
|
|
987
|
+
for (const alt of firstToConsider.body) {
|
|
988
|
+
const leadingG = getLeadingG(alt.body);
|
|
989
|
+
if (!leadingG) {
|
|
990
|
+
return null;
|
|
991
|
+
}
|
|
992
|
+
Array.isArray(leadingG) ? gNodesForGroup.push(...leadingG) : gNodesForGroup.push(leadingG);
|
|
993
|
+
}
|
|
994
|
+
return gNodesForGroup;
|
|
995
|
+
}
|
|
996
|
+
return null;
|
|
997
|
+
}
|
|
998
|
+
function isAncestorOf(node, descendant) {
|
|
999
|
+
const kids = getKids(node) ?? [];
|
|
1000
|
+
for (const kid of kids) {
|
|
1001
|
+
if (kid === descendant || isAncestorOf(kid, descendant)) {
|
|
1002
|
+
return true;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
return false;
|
|
1006
|
+
}
|
|
1007
|
+
function isAlwaysZeroLength({ type }) {
|
|
1008
|
+
return type === "Assertion" || type === "Directive" || type === "LookaroundAssertion";
|
|
1009
|
+
}
|
|
1010
|
+
function isAlwaysNonZeroLength(node) {
|
|
1011
|
+
const types = [
|
|
1012
|
+
"Character",
|
|
1013
|
+
"CharacterClass",
|
|
1014
|
+
"CharacterSet"
|
|
1015
|
+
];
|
|
1016
|
+
return types.includes(node.type) || node.type === "Quantifier" && node.min && types.includes(node.body.type);
|
|
1017
|
+
}
|
|
1018
|
+
function isLoneGLookaround(node, options) {
|
|
1019
|
+
const opts = {
|
|
1020
|
+
negate: null,
|
|
1021
|
+
...options
|
|
1022
|
+
};
|
|
1023
|
+
return node.type === "LookaroundAssertion" && (opts.negate === null || node.negate === opts.negate) && node.body.length === 1 && hasOnlyChild(node.body[0], {
|
|
1024
|
+
type: "Assertion",
|
|
1025
|
+
kind: "search_start"
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
function isValidJsGroupName(name) {
|
|
1029
|
+
return /^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(name);
|
|
1030
|
+
}
|
|
1031
|
+
function parseFragment(pattern, options) {
|
|
1032
|
+
const ast = parse(pattern, {
|
|
1033
|
+
...options,
|
|
1034
|
+
// Providing a custom set of Unicode property names avoids converting some JS Unicode
|
|
1035
|
+
// properties (ex: `\p{Alpha}`) to Onig POSIX classes
|
|
1036
|
+
unicodePropertyMap: JsUnicodePropertyMap
|
|
1037
|
+
});
|
|
1038
|
+
const alts = ast.body;
|
|
1039
|
+
if (alts.length > 1 || alts[0].body.length > 1) {
|
|
1040
|
+
return createGroup({ body: alts });
|
|
1041
|
+
}
|
|
1042
|
+
return alts[0].body[0];
|
|
1043
|
+
}
|
|
1044
|
+
function setNegate(node, negate) {
|
|
1045
|
+
node.negate = negate;
|
|
1046
|
+
return node;
|
|
1047
|
+
}
|
|
1048
|
+
function setParent(node, parent) {
|
|
1049
|
+
node.parent = parent;
|
|
1050
|
+
return node;
|
|
1051
|
+
}
|
|
1052
|
+
function setParentDeep(node, parent) {
|
|
1053
|
+
addParentProperties(node);
|
|
1054
|
+
node.parent = parent;
|
|
1055
|
+
return node;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
// src/generate.js
|
|
1059
|
+
import { createAlternative as createAlternative2, createCharacter as createCharacter2, createGroup as createGroup2 } from "oniguruma-parser/parser";
|
|
1060
|
+
import { traverse as traverse2 } from "oniguruma-parser/traverser";
|
|
1061
|
+
function generate(ast, options) {
|
|
1062
|
+
const opts = getOptions(options);
|
|
1063
|
+
const minTargetEs2024 = isMinTarget(opts.target, "ES2024");
|
|
1064
|
+
const minTargetEs2025 = isMinTarget(opts.target, "ES2025");
|
|
1065
|
+
const recursionLimit = opts.rules.recursionLimit;
|
|
1066
|
+
if (!Number.isInteger(recursionLimit) || recursionLimit < 2 || recursionLimit > 20) {
|
|
1067
|
+
throw new Error("Invalid recursionLimit; use 2-20");
|
|
1068
|
+
}
|
|
1069
|
+
let hasCaseInsensitiveNode = null;
|
|
1070
|
+
let hasCaseSensitiveNode = null;
|
|
1071
|
+
if (!minTargetEs2025) {
|
|
1072
|
+
const iStack = [ast.flags.ignoreCase];
|
|
1073
|
+
traverse2(ast, FlagModifierVisitor, {
|
|
1074
|
+
getCurrentModI: () => iStack.at(-1),
|
|
1075
|
+
popModI() {
|
|
1076
|
+
iStack.pop();
|
|
1077
|
+
},
|
|
1078
|
+
pushModI(isIOn) {
|
|
1079
|
+
iStack.push(isIOn);
|
|
1080
|
+
},
|
|
1081
|
+
setHasCasedChar() {
|
|
1082
|
+
if (iStack.at(-1)) {
|
|
1083
|
+
hasCaseInsensitiveNode = true;
|
|
1084
|
+
} else {
|
|
1085
|
+
hasCaseSensitiveNode = true;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
const appliedGlobalFlags = {
|
|
1091
|
+
dotAll: ast.flags.dotAll,
|
|
1092
|
+
// - Turn global flag i on if a case insensitive node was used and no case sensitive nodes were
|
|
1093
|
+
// used (to avoid unnecessary node expansion).
|
|
1094
|
+
// - Turn global flag i off if a case sensitive node was used (since case sensitivity can't be
|
|
1095
|
+
// forced without the use of ES2025 flag groups)
|
|
1096
|
+
ignoreCase: !!((ast.flags.ignoreCase || hasCaseInsensitiveNode) && !hasCaseSensitiveNode)
|
|
1097
|
+
};
|
|
1098
|
+
let lastNode = ast;
|
|
1099
|
+
const state = {
|
|
1100
|
+
accuracy: opts.accuracy,
|
|
1101
|
+
appliedGlobalFlags,
|
|
1102
|
+
captureMap: /* @__PURE__ */ new Map(),
|
|
1103
|
+
currentFlags: {
|
|
1104
|
+
dotAll: ast.flags.dotAll,
|
|
1105
|
+
ignoreCase: ast.flags.ignoreCase
|
|
1106
|
+
},
|
|
1107
|
+
inCharClass: false,
|
|
1108
|
+
lastNode,
|
|
1109
|
+
originMap: ast._originMap,
|
|
1110
|
+
recursionLimit,
|
|
1111
|
+
useAppliedIgnoreCase: !!(!minTargetEs2025 && hasCaseInsensitiveNode && hasCaseSensitiveNode),
|
|
1112
|
+
useFlagMods: minTargetEs2025,
|
|
1113
|
+
useFlagV: minTargetEs2024,
|
|
1114
|
+
verbose: opts.verbose
|
|
1115
|
+
};
|
|
1116
|
+
function gen(node) {
|
|
1117
|
+
state.lastNode = lastNode;
|
|
1118
|
+
lastNode = node;
|
|
1119
|
+
const fn = throwIfNullish(generator[node.type], `Unexpected node type "${node.type}"`);
|
|
1120
|
+
return fn(node, state, gen);
|
|
1121
|
+
}
|
|
1122
|
+
const result = {
|
|
1123
|
+
pattern: ast.body.map(gen).join("|"),
|
|
1124
|
+
// Could reset `lastNode` at this point via `lastNode = ast`, but it isn't needed by flags
|
|
1125
|
+
flags: gen(ast.flags),
|
|
1126
|
+
options: { ...ast.options }
|
|
1127
|
+
};
|
|
1128
|
+
if (!minTargetEs2024) {
|
|
1129
|
+
delete result.options.force.v;
|
|
1130
|
+
result.options.disable.v = true;
|
|
1131
|
+
result.options.unicodeSetsPlugin = null;
|
|
1132
|
+
}
|
|
1133
|
+
result._captureTransfers = /* @__PURE__ */ new Map();
|
|
1134
|
+
result._hiddenCaptures = [];
|
|
1135
|
+
state.captureMap.forEach((value, key) => {
|
|
1136
|
+
if (value.hidden) {
|
|
1137
|
+
result._hiddenCaptures.push(key);
|
|
1138
|
+
}
|
|
1139
|
+
if (value.transferTo) {
|
|
1140
|
+
getOrInsert(result._captureTransfers, value.transferTo, []).push(key);
|
|
1141
|
+
}
|
|
1142
|
+
});
|
|
1143
|
+
return result;
|
|
1144
|
+
}
|
|
1145
|
+
var FlagModifierVisitor = {
|
|
1146
|
+
"*": {
|
|
1147
|
+
enter({ node }, state) {
|
|
1148
|
+
if (isAnyGroup(node)) {
|
|
1149
|
+
const currentModI = state.getCurrentModI();
|
|
1150
|
+
state.pushModI(
|
|
1151
|
+
node.flags ? getNewCurrentFlags({ ignoreCase: currentModI }, node.flags).ignoreCase : currentModI
|
|
1152
|
+
);
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
exit({ node }, state) {
|
|
1156
|
+
if (isAnyGroup(node)) {
|
|
1157
|
+
state.popModI();
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
Backreference(_, state) {
|
|
1162
|
+
state.setHasCasedChar();
|
|
1163
|
+
},
|
|
1164
|
+
Character({ node }, state) {
|
|
1165
|
+
if (charHasCase(cp(node.value))) {
|
|
1166
|
+
state.setHasCasedChar();
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
CharacterClassRange({ node, skip }, state) {
|
|
1170
|
+
skip();
|
|
1171
|
+
if (getCasesOutsideCharClassRange(node, { firstOnly: true }).length) {
|
|
1172
|
+
state.setHasCasedChar();
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
CharacterSet({ node }, state) {
|
|
1176
|
+
if (node.kind === "property" && UnicodePropertiesWithSpecificCase.has(node.value)) {
|
|
1177
|
+
state.setHasCasedChar();
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
};
|
|
1181
|
+
var generator = {
|
|
1182
|
+
/**
|
|
1183
|
+
@param {AlternativeNode} node
|
|
1184
|
+
*/
|
|
1185
|
+
Alternative({ body }, _, gen) {
|
|
1186
|
+
return body.map(gen).join("");
|
|
1187
|
+
},
|
|
1188
|
+
/**
|
|
1189
|
+
@param {AssertionNode} node
|
|
1190
|
+
*/
|
|
1191
|
+
Assertion({ kind, negate }) {
|
|
1192
|
+
if (kind === "string_end") {
|
|
1193
|
+
return "$";
|
|
1194
|
+
}
|
|
1195
|
+
if (kind === "string_start") {
|
|
1196
|
+
return "^";
|
|
1197
|
+
}
|
|
1198
|
+
if (kind === "word_boundary") {
|
|
1199
|
+
return negate ? r`\B` : r`\b`;
|
|
1200
|
+
}
|
|
1201
|
+
throw new Error(`Unexpected assertion kind "${kind}"`);
|
|
1202
|
+
},
|
|
1203
|
+
/**
|
|
1204
|
+
@param {BackreferenceNode} node
|
|
1205
|
+
*/
|
|
1206
|
+
Backreference({ ref }, state) {
|
|
1207
|
+
if (typeof ref !== "number") {
|
|
1208
|
+
throw new Error("Unexpected named backref in transformed AST");
|
|
1209
|
+
}
|
|
1210
|
+
if (!state.useFlagMods && state.accuracy === "strict" && state.currentFlags.ignoreCase && !state.captureMap.get(ref).ignoreCase) {
|
|
1211
|
+
throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");
|
|
1212
|
+
}
|
|
1213
|
+
return "\\" + ref;
|
|
1214
|
+
},
|
|
1215
|
+
/**
|
|
1216
|
+
@param {CapturingGroupNode} node
|
|
1217
|
+
*/
|
|
1218
|
+
CapturingGroup(node, state, gen) {
|
|
1219
|
+
const { body, name, number } = node;
|
|
1220
|
+
const data = { ignoreCase: state.currentFlags.ignoreCase };
|
|
1221
|
+
const origin = state.originMap.get(node);
|
|
1222
|
+
if (origin) {
|
|
1223
|
+
data.hidden = true;
|
|
1224
|
+
if (number > origin.number) {
|
|
1225
|
+
data.transferTo = origin.number;
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
state.captureMap.set(number, data);
|
|
1229
|
+
return `(${name ? `?<${name}>` : ""}${body.map(gen).join("|")})`;
|
|
1230
|
+
},
|
|
1231
|
+
/**
|
|
1232
|
+
@param {CharacterNode} node
|
|
1233
|
+
*/
|
|
1234
|
+
Character({ value }, state) {
|
|
1235
|
+
const char = cp(value);
|
|
1236
|
+
const escaped = getCharEscape(value, {
|
|
1237
|
+
escDigit: state.lastNode.type === "Backreference",
|
|
1238
|
+
inCharClass: state.inCharClass,
|
|
1239
|
+
useFlagV: state.useFlagV
|
|
1240
|
+
});
|
|
1241
|
+
if (escaped !== char) {
|
|
1242
|
+
return escaped;
|
|
1243
|
+
}
|
|
1244
|
+
if (state.useAppliedIgnoreCase && state.currentFlags.ignoreCase && charHasCase(char)) {
|
|
1245
|
+
const cases = getIgnoreCaseMatchChars(char);
|
|
1246
|
+
return state.inCharClass ? cases.join("") : cases.length > 1 ? `[${cases.join("")}]` : cases[0];
|
|
1247
|
+
}
|
|
1248
|
+
return char;
|
|
1249
|
+
},
|
|
1250
|
+
/**
|
|
1251
|
+
@param {CharacterClassNode} node
|
|
1252
|
+
*/
|
|
1253
|
+
CharacterClass(node, state, gen) {
|
|
1254
|
+
const { kind, negate, parent } = node;
|
|
1255
|
+
let { body } = node;
|
|
1256
|
+
if (kind === "intersection" && !state.useFlagV) {
|
|
1257
|
+
throw new Error("Use of character class intersection requires min target ES2024");
|
|
1258
|
+
}
|
|
1259
|
+
if (envFlags.bugFlagVLiteralHyphenIsRange && state.useFlagV && body.some(isLiteralHyphen)) {
|
|
1260
|
+
body = [createCharacter2(45), ...body.filter((kid) => !isLiteralHyphen(kid))];
|
|
1261
|
+
}
|
|
1262
|
+
const genClass = () => `[${negate ? "^" : ""}${body.map(gen).join(kind === "intersection" ? "&&" : "")}]`;
|
|
1263
|
+
if (!state.inCharClass) {
|
|
1264
|
+
if (
|
|
1265
|
+
// Already established `kind !== 'intersection'` if `!state.useFlagV`; don't check again
|
|
1266
|
+
(!state.useFlagV || envFlags.bugNestedClassIgnoresNegation) && !negate
|
|
1267
|
+
) {
|
|
1268
|
+
const negatedChildClasses = body.filter(
|
|
1269
|
+
(kid) => kid.type === "CharacterClass" && kid.kind === "union" && kid.negate
|
|
1270
|
+
);
|
|
1271
|
+
if (negatedChildClasses.length) {
|
|
1272
|
+
const group = createGroup2();
|
|
1273
|
+
const groupFirstAlt = group.body[0];
|
|
1274
|
+
group.parent = parent;
|
|
1275
|
+
groupFirstAlt.parent = group;
|
|
1276
|
+
body = body.filter((kid) => !negatedChildClasses.includes(kid));
|
|
1277
|
+
node.body = body;
|
|
1278
|
+
if (body.length) {
|
|
1279
|
+
node.parent = groupFirstAlt;
|
|
1280
|
+
groupFirstAlt.body.push(node);
|
|
1281
|
+
} else {
|
|
1282
|
+
group.body.pop();
|
|
1283
|
+
}
|
|
1284
|
+
negatedChildClasses.forEach((cc) => {
|
|
1285
|
+
const newAlt = createAlternative2({ body: [cc] });
|
|
1286
|
+
cc.parent = newAlt;
|
|
1287
|
+
newAlt.parent = group;
|
|
1288
|
+
group.body.push(newAlt);
|
|
1289
|
+
});
|
|
1290
|
+
return gen(group);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
state.inCharClass = true;
|
|
1294
|
+
const result = genClass();
|
|
1295
|
+
state.inCharClass = false;
|
|
1296
|
+
return result;
|
|
1297
|
+
}
|
|
1298
|
+
const firstEl = body[0];
|
|
1299
|
+
if (
|
|
1300
|
+
// Already established that the parent is a char class via `inCharClass`; don't check again
|
|
1301
|
+
kind === "union" && !negate && firstEl && // Allows many nested classes to work with `target` ES2018 which doesn't support nesting
|
|
1302
|
+
((!state.useFlagV || !state.verbose) && parent.kind === "union" && !(envFlags.bugFlagVLiteralHyphenIsRange && state.useFlagV) || !state.verbose && parent.kind === "intersection" && // JS doesn't allow intersection with union or ranges
|
|
1303
|
+
body.length === 1 && firstEl.type !== "CharacterClassRange")
|
|
1304
|
+
) {
|
|
1305
|
+
return body.map(gen).join("");
|
|
1306
|
+
}
|
|
1307
|
+
if (!state.useFlagV && parent.type === "CharacterClass") {
|
|
1308
|
+
throw new Error("Uses nested character class in a way that requires min target ES2024");
|
|
1309
|
+
}
|
|
1310
|
+
return genClass();
|
|
1311
|
+
},
|
|
1312
|
+
/**
|
|
1313
|
+
@param {CharacterClassRangeNode} node
|
|
1314
|
+
*/
|
|
1315
|
+
CharacterClassRange(node, state) {
|
|
1316
|
+
const min = node.min.value;
|
|
1317
|
+
const max = node.max.value;
|
|
1318
|
+
const escOpts = {
|
|
1319
|
+
escDigit: false,
|
|
1320
|
+
inCharClass: true,
|
|
1321
|
+
useFlagV: state.useFlagV
|
|
1322
|
+
};
|
|
1323
|
+
const minStr = getCharEscape(min, escOpts);
|
|
1324
|
+
const maxStr = getCharEscape(max, escOpts);
|
|
1325
|
+
const extraChars = /* @__PURE__ */ new Set();
|
|
1326
|
+
if (state.useAppliedIgnoreCase && state.currentFlags.ignoreCase) {
|
|
1327
|
+
const charsOutsideRange = getCasesOutsideCharClassRange(node);
|
|
1328
|
+
const ranges = getCodePointRangesFromChars(charsOutsideRange);
|
|
1329
|
+
ranges.forEach((value) => {
|
|
1330
|
+
extraChars.add(
|
|
1331
|
+
Array.isArray(value) ? `${getCharEscape(value[0], escOpts)}-${getCharEscape(value[1], escOpts)}` : getCharEscape(value, escOpts)
|
|
1332
|
+
);
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1335
|
+
return `${minStr}-${maxStr}${[...extraChars].join("")}`;
|
|
1336
|
+
},
|
|
1337
|
+
/**
|
|
1338
|
+
@param {CharacterSetNode} node
|
|
1339
|
+
*/
|
|
1340
|
+
CharacterSet({ kind, negate, value, key }, state) {
|
|
1341
|
+
if (kind === "dot") {
|
|
1342
|
+
return state.currentFlags.dotAll ? state.appliedGlobalFlags.dotAll || state.useFlagMods ? "." : "[^]" : (
|
|
1343
|
+
// Onig's only line break char is line feed, unlike JS
|
|
1344
|
+
r`[^\n]`
|
|
1345
|
+
);
|
|
1346
|
+
}
|
|
1347
|
+
if (kind === "digit") {
|
|
1348
|
+
return negate ? r`\D` : r`\d`;
|
|
1349
|
+
}
|
|
1350
|
+
if (kind === "property") {
|
|
1351
|
+
if (state.useAppliedIgnoreCase && state.currentFlags.ignoreCase && UnicodePropertiesWithSpecificCase.has(value)) {
|
|
1352
|
+
throw new Error(`Unicode property "${value}" can't be case-insensitive when other chars have specific case`);
|
|
1353
|
+
}
|
|
1354
|
+
return `${negate ? r`\P` : r`\p`}{${key ? `${key}=` : ""}${value}}`;
|
|
1355
|
+
}
|
|
1356
|
+
if (kind === "word") {
|
|
1357
|
+
return negate ? r`\W` : r`\w`;
|
|
1358
|
+
}
|
|
1359
|
+
throw new Error(`Unexpected character set kind "${kind}"`);
|
|
1360
|
+
},
|
|
1361
|
+
/**
|
|
1362
|
+
@param {FlagsNode} node
|
|
1363
|
+
*/
|
|
1364
|
+
Flags(node, state) {
|
|
1365
|
+
return (
|
|
1366
|
+
// The transformer should never turn on the properties for flags d, g, m since Onig doesn't
|
|
1367
|
+
// have equivs. Flag m is never used since Onig uses different line break chars than JS
|
|
1368
|
+
// (node.hasIndices ? 'd' : '') +
|
|
1369
|
+
// (node.global ? 'g' : '') +
|
|
1370
|
+
// (node.multiline ? 'm' : '') +
|
|
1371
|
+
(state.appliedGlobalFlags.ignoreCase ? "i" : "") + (node.dotAll ? "s" : "") + (node.sticky ? "y" : "")
|
|
1372
|
+
);
|
|
1373
|
+
},
|
|
1374
|
+
/**
|
|
1375
|
+
@param {GroupNode} node
|
|
1376
|
+
*/
|
|
1377
|
+
Group({ atomic: atomic2, body, flags, parent }, state, gen) {
|
|
1378
|
+
const currentFlags = state.currentFlags;
|
|
1379
|
+
if (flags) {
|
|
1380
|
+
state.currentFlags = getNewCurrentFlags(currentFlags, flags);
|
|
1381
|
+
}
|
|
1382
|
+
const contents = body.map(gen).join("|");
|
|
1383
|
+
const result = !state.verbose && body.length === 1 && // Single alt
|
|
1384
|
+
parent.type !== "Quantifier" && !atomic2 && (!state.useFlagMods || !flags) ? contents : `(?${getGroupPrefix(atomic2, flags, state.useFlagMods)}${contents})`;
|
|
1385
|
+
state.currentFlags = currentFlags;
|
|
1386
|
+
return result;
|
|
1387
|
+
},
|
|
1388
|
+
/**
|
|
1389
|
+
@param {LookaroundAssertionNode} node
|
|
1390
|
+
*/
|
|
1391
|
+
LookaroundAssertion({ body, kind, negate }, _, gen) {
|
|
1392
|
+
const prefix = `${kind === "lookahead" ? "" : "<"}${negate ? "!" : "="}`;
|
|
1393
|
+
return `(?${prefix}${body.map(gen).join("|")})`;
|
|
1394
|
+
},
|
|
1395
|
+
/**
|
|
1396
|
+
@param {QuantifierNode} node
|
|
1397
|
+
*/
|
|
1398
|
+
Quantifier(node, _, gen) {
|
|
1399
|
+
return gen(node.body) + getQuantifierStr(node);
|
|
1400
|
+
},
|
|
1401
|
+
/**
|
|
1402
|
+
@param {SubroutineNode & {isRecursive: true}} node
|
|
1403
|
+
*/
|
|
1404
|
+
Subroutine({ isRecursive, ref }, state) {
|
|
1405
|
+
if (!isRecursive) {
|
|
1406
|
+
throw new Error("Unexpected non-recursive subroutine in transformed AST");
|
|
1407
|
+
}
|
|
1408
|
+
const limit = state.recursionLimit;
|
|
1409
|
+
return ref === 0 ? `(?R=${limit})` : r`\g<${ref}&R=${limit}>`;
|
|
1410
|
+
}
|
|
1411
|
+
};
|
|
1412
|
+
var BaseEscapeChars = /* @__PURE__ */ new Set([
|
|
1413
|
+
"$",
|
|
1414
|
+
"(",
|
|
1415
|
+
")",
|
|
1416
|
+
"*",
|
|
1417
|
+
"+",
|
|
1418
|
+
".",
|
|
1419
|
+
"?",
|
|
1420
|
+
"[",
|
|
1421
|
+
"\\",
|
|
1422
|
+
"]",
|
|
1423
|
+
"^",
|
|
1424
|
+
"{",
|
|
1425
|
+
"|",
|
|
1426
|
+
"}"
|
|
1427
|
+
]);
|
|
1428
|
+
var CharClassEscapeChars = /* @__PURE__ */ new Set([
|
|
1429
|
+
"-",
|
|
1430
|
+
"\\",
|
|
1431
|
+
"]",
|
|
1432
|
+
"^",
|
|
1433
|
+
// Literal `[` doesn't require escaping with flag u, but this can help work around regex source
|
|
1434
|
+
// linters and regex syntax processors that expect unescaped `[` to create a nested class
|
|
1435
|
+
"["
|
|
1436
|
+
]);
|
|
1437
|
+
var CharClassEscapeCharsFlagV = /* @__PURE__ */ new Set([
|
|
1438
|
+
"(",
|
|
1439
|
+
")",
|
|
1440
|
+
"-",
|
|
1441
|
+
"/",
|
|
1442
|
+
"[",
|
|
1443
|
+
"\\",
|
|
1444
|
+
"]",
|
|
1445
|
+
"^",
|
|
1446
|
+
"{",
|
|
1447
|
+
"|",
|
|
1448
|
+
"}",
|
|
1449
|
+
// Double punctuators; also includes already-listed `-` and `^`
|
|
1450
|
+
"!",
|
|
1451
|
+
"#",
|
|
1452
|
+
"$",
|
|
1453
|
+
"%",
|
|
1454
|
+
"&",
|
|
1455
|
+
"*",
|
|
1456
|
+
"+",
|
|
1457
|
+
",",
|
|
1458
|
+
".",
|
|
1459
|
+
":",
|
|
1460
|
+
";",
|
|
1461
|
+
"<",
|
|
1462
|
+
"=",
|
|
1463
|
+
">",
|
|
1464
|
+
"?",
|
|
1465
|
+
"@",
|
|
1466
|
+
"`",
|
|
1467
|
+
"~"
|
|
1468
|
+
]);
|
|
1469
|
+
var CharCodeEscapeMap = /* @__PURE__ */ new Map([
|
|
1470
|
+
[9, r`\t`],
|
|
1471
|
+
// horizontal tab
|
|
1472
|
+
[10, r`\n`],
|
|
1473
|
+
// line feed
|
|
1474
|
+
[11, r`\v`],
|
|
1475
|
+
// vertical tab
|
|
1476
|
+
[12, r`\f`],
|
|
1477
|
+
// form feed
|
|
1478
|
+
[13, r`\r`],
|
|
1479
|
+
// carriage return
|
|
1480
|
+
[8232, r`\u2028`],
|
|
1481
|
+
// line separator
|
|
1482
|
+
[8233, r`\u2029`],
|
|
1483
|
+
// paragraph separator
|
|
1484
|
+
[65279, r`\uFEFF`]
|
|
1485
|
+
// ZWNBSP/BOM
|
|
1486
|
+
]);
|
|
1487
|
+
var casedRe = /^\p{Cased}$/u;
|
|
1488
|
+
function charHasCase(char) {
|
|
1489
|
+
return casedRe.test(char);
|
|
1490
|
+
}
|
|
1491
|
+
function getCasesOutsideCharClassRange(node, options) {
|
|
1492
|
+
const firstOnly = !!options?.firstOnly;
|
|
1493
|
+
const min = node.min.value;
|
|
1494
|
+
const max = node.max.value;
|
|
1495
|
+
const found = [];
|
|
1496
|
+
if (min < 65 && (max === 65535 || max >= 131071) || min === 65536 && max >= 131071) {
|
|
1497
|
+
return found;
|
|
1498
|
+
}
|
|
1499
|
+
for (let i = min; i <= max; i++) {
|
|
1500
|
+
const char = cp(i);
|
|
1501
|
+
if (!charHasCase(char)) {
|
|
1502
|
+
continue;
|
|
1503
|
+
}
|
|
1504
|
+
const charsOutsideRange = getIgnoreCaseMatchChars(char).filter((caseOfChar) => {
|
|
1505
|
+
const num = caseOfChar.codePointAt(0);
|
|
1506
|
+
return num < min || num > max;
|
|
1507
|
+
});
|
|
1508
|
+
if (charsOutsideRange.length) {
|
|
1509
|
+
found.push(...charsOutsideRange);
|
|
1510
|
+
if (firstOnly) {
|
|
1511
|
+
break;
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
return found;
|
|
1516
|
+
}
|
|
1517
|
+
function getCharEscape(codePoint, { escDigit, inCharClass, useFlagV }) {
|
|
1518
|
+
if (CharCodeEscapeMap.has(codePoint)) {
|
|
1519
|
+
return CharCodeEscapeMap.get(codePoint);
|
|
1520
|
+
}
|
|
1521
|
+
if (
|
|
1522
|
+
// Control chars, etc.; condition modeled on the Chrome developer console's display for strings
|
|
1523
|
+
codePoint < 32 || codePoint > 126 && codePoint < 160 || // Unicode planes 4-16; unassigned, special purpose, and private use area
|
|
1524
|
+
codePoint > 262143 || // Avoid corrupting a preceding backref by immediately following it with a literal digit
|
|
1525
|
+
escDigit && isDigitCharCode(codePoint)
|
|
1526
|
+
) {
|
|
1527
|
+
return codePoint > 255 ? `\\u{${codePoint.toString(16).toUpperCase()}}` : `\\x${codePoint.toString(16).toUpperCase().padStart(2, "0")}`;
|
|
1528
|
+
}
|
|
1529
|
+
const escapeChars = inCharClass ? useFlagV ? CharClassEscapeCharsFlagV : CharClassEscapeChars : BaseEscapeChars;
|
|
1530
|
+
const char = cp(codePoint);
|
|
1531
|
+
return (escapeChars.has(char) ? "\\" : "") + char;
|
|
1532
|
+
}
|
|
1533
|
+
function getCodePointRangesFromChars(chars) {
|
|
1534
|
+
const codePoints = chars.map((char) => char.codePointAt(0)).sort((a, b) => a - b);
|
|
1535
|
+
const values = [];
|
|
1536
|
+
let start = null;
|
|
1537
|
+
for (let i = 0; i < codePoints.length; i++) {
|
|
1538
|
+
if (codePoints[i + 1] === codePoints[i] + 1) {
|
|
1539
|
+
start ??= codePoints[i];
|
|
1540
|
+
} else if (start === null) {
|
|
1541
|
+
values.push(codePoints[i]);
|
|
1542
|
+
} else {
|
|
1543
|
+
values.push([start, codePoints[i]]);
|
|
1544
|
+
start = null;
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
return values;
|
|
1548
|
+
}
|
|
1549
|
+
function getGroupPrefix(atomic2, flagMods, useFlagMods) {
|
|
1550
|
+
if (atomic2) {
|
|
1551
|
+
return ">";
|
|
1552
|
+
}
|
|
1553
|
+
let mods = "";
|
|
1554
|
+
if (flagMods && useFlagMods) {
|
|
1555
|
+
const { enable, disable } = flagMods;
|
|
1556
|
+
mods = (enable?.ignoreCase ? "i" : "") + (enable?.dotAll ? "s" : "") + (disable ? "-" : "") + (disable?.ignoreCase ? "i" : "") + (disable?.dotAll ? "s" : "");
|
|
1557
|
+
}
|
|
1558
|
+
return `${mods}:`;
|
|
1559
|
+
}
|
|
1560
|
+
function getQuantifierStr({ kind, max, min }) {
|
|
1561
|
+
let base;
|
|
1562
|
+
if (!min && max === 1) {
|
|
1563
|
+
base = "?";
|
|
1564
|
+
} else if (!min && max === Infinity) {
|
|
1565
|
+
base = "*";
|
|
1566
|
+
} else if (min === 1 && max === Infinity) {
|
|
1567
|
+
base = "+";
|
|
1568
|
+
} else if (min === max) {
|
|
1569
|
+
base = `{${min}}`;
|
|
1570
|
+
} else {
|
|
1571
|
+
base = `{${min},${max === Infinity ? "" : max}}`;
|
|
1572
|
+
}
|
|
1573
|
+
return base + {
|
|
1574
|
+
greedy: "",
|
|
1575
|
+
lazy: "?",
|
|
1576
|
+
possessive: "+"
|
|
1577
|
+
}[kind];
|
|
1578
|
+
}
|
|
1579
|
+
function isAnyGroup({ type }) {
|
|
1580
|
+
return type === "CapturingGroup" || type === "Group" || type === "LookaroundAssertion";
|
|
1581
|
+
}
|
|
1582
|
+
function isDigitCharCode(value) {
|
|
1583
|
+
return value > 47 && value < 58;
|
|
1584
|
+
}
|
|
1585
|
+
function isLiteralHyphen({ type, value }) {
|
|
1586
|
+
return type === "Character" && value === 45;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
// src/subclass.js
|
|
1590
|
+
var EmulatedRegExp = class _EmulatedRegExp extends RegExp {
|
|
1591
|
+
/**
|
|
1592
|
+
@type {Map<number, {
|
|
1593
|
+
hidden?: true;
|
|
1594
|
+
transferTo?: number;
|
|
1595
|
+
}>}
|
|
1596
|
+
*/
|
|
1597
|
+
#captureMap = /* @__PURE__ */ new Map();
|
|
1598
|
+
/**
|
|
1599
|
+
@type {RegExp | EmulatedRegExp | null}
|
|
1600
|
+
*/
|
|
1601
|
+
#compiled = null;
|
|
1602
|
+
/**
|
|
1603
|
+
@type {string}
|
|
1604
|
+
*/
|
|
1605
|
+
#pattern;
|
|
1606
|
+
/**
|
|
1607
|
+
@type {Map<number, string>?}
|
|
1608
|
+
*/
|
|
1609
|
+
#nameMap = null;
|
|
1610
|
+
/**
|
|
1611
|
+
@type {string?}
|
|
1612
|
+
*/
|
|
1613
|
+
#strategy = null;
|
|
1614
|
+
/**
|
|
1615
|
+
Can be used to serialize the instance.
|
|
1616
|
+
@type {EmulatedRegExpOptions}
|
|
1617
|
+
*/
|
|
1618
|
+
rawOptions = {};
|
|
1619
|
+
// Override the getter with one that works with lazy-compiled regexes
|
|
1620
|
+
get source() {
|
|
1621
|
+
return this.#pattern || "(?:)";
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
@overload
|
|
1625
|
+
@param {string} pattern
|
|
1626
|
+
@param {string} [flags]
|
|
1627
|
+
@param {EmulatedRegExpOptions} [options]
|
|
1628
|
+
*/
|
|
1629
|
+
/**
|
|
1630
|
+
@overload
|
|
1631
|
+
@param {EmulatedRegExp} pattern
|
|
1632
|
+
@param {string} [flags]
|
|
1633
|
+
*/
|
|
1634
|
+
constructor(pattern, flags, options) {
|
|
1635
|
+
const lazyCompile = !!options?.lazyCompile;
|
|
1636
|
+
if (pattern instanceof RegExp) {
|
|
1637
|
+
if (options) {
|
|
1638
|
+
throw new Error("Cannot provide options when copying a regexp");
|
|
1639
|
+
}
|
|
1640
|
+
const re = pattern;
|
|
1641
|
+
super(re, flags);
|
|
1642
|
+
this.#pattern = re.source;
|
|
1643
|
+
if (re instanceof _EmulatedRegExp) {
|
|
1644
|
+
this.#captureMap = re.#captureMap;
|
|
1645
|
+
this.#nameMap = re.#nameMap;
|
|
1646
|
+
this.#strategy = re.#strategy;
|
|
1647
|
+
this.rawOptions = re.rawOptions;
|
|
1648
|
+
}
|
|
1649
|
+
} else {
|
|
1650
|
+
const opts = {
|
|
1651
|
+
hiddenCaptures: [],
|
|
1652
|
+
strategy: null,
|
|
1653
|
+
transfers: [],
|
|
1654
|
+
...options
|
|
1655
|
+
};
|
|
1656
|
+
super(lazyCompile ? "" : pattern, flags);
|
|
1657
|
+
this.#pattern = pattern;
|
|
1658
|
+
this.#captureMap = createCaptureMap(opts.hiddenCaptures, opts.transfers);
|
|
1659
|
+
this.#strategy = opts.strategy;
|
|
1660
|
+
this.rawOptions = options ?? {};
|
|
1661
|
+
}
|
|
1662
|
+
if (!lazyCompile) {
|
|
1663
|
+
this.#compiled = this;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
Called internally by all String/RegExp methods that use regexes.
|
|
1668
|
+
@override
|
|
1669
|
+
@param {string} str
|
|
1670
|
+
@returns {RegExpExecArray?}
|
|
1671
|
+
*/
|
|
1672
|
+
exec(str) {
|
|
1673
|
+
if (!this.#compiled) {
|
|
1674
|
+
const { lazyCompile, ...rest } = this.rawOptions;
|
|
1675
|
+
this.#compiled = new _EmulatedRegExp(this.#pattern, this.flags, rest);
|
|
1676
|
+
}
|
|
1677
|
+
const useLastIndex = this.global || this.sticky;
|
|
1678
|
+
const pos = this.lastIndex;
|
|
1679
|
+
if (this.#strategy === "clip_search" && useLastIndex && pos) {
|
|
1680
|
+
this.lastIndex = 0;
|
|
1681
|
+
const match = this.#execCore(str.slice(pos));
|
|
1682
|
+
if (match) {
|
|
1683
|
+
adjustMatchDetailsForOffset(match, pos, str, this.hasIndices);
|
|
1684
|
+
this.lastIndex += pos;
|
|
1685
|
+
}
|
|
1686
|
+
return match;
|
|
1687
|
+
}
|
|
1688
|
+
return this.#execCore(str);
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
Adds support for hidden and transfer captures.
|
|
1692
|
+
@param {string} str
|
|
1693
|
+
@returns
|
|
1694
|
+
*/
|
|
1695
|
+
#execCore(str) {
|
|
1696
|
+
this.#compiled.lastIndex = this.lastIndex;
|
|
1697
|
+
const match = super.exec.call(this.#compiled, str);
|
|
1698
|
+
this.lastIndex = this.#compiled.lastIndex;
|
|
1699
|
+
if (!match || !this.#captureMap.size) {
|
|
1700
|
+
return match;
|
|
1701
|
+
}
|
|
1702
|
+
const matchCopy = [...match];
|
|
1703
|
+
match.length = 1;
|
|
1704
|
+
let indicesCopy;
|
|
1705
|
+
if (this.hasIndices) {
|
|
1706
|
+
indicesCopy = [...match.indices];
|
|
1707
|
+
match.indices.length = 1;
|
|
1708
|
+
}
|
|
1709
|
+
const mappedNums = [0];
|
|
1710
|
+
for (let i = 1; i < matchCopy.length; i++) {
|
|
1711
|
+
const { hidden, transferTo } = this.#captureMap.get(i) ?? {};
|
|
1712
|
+
if (hidden) {
|
|
1713
|
+
mappedNums.push(null);
|
|
1714
|
+
} else {
|
|
1715
|
+
mappedNums.push(match.length);
|
|
1716
|
+
match.push(matchCopy[i]);
|
|
1717
|
+
if (this.hasIndices) {
|
|
1718
|
+
match.indices.push(indicesCopy[i]);
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
if (transferTo && matchCopy[i] !== void 0) {
|
|
1722
|
+
const to = mappedNums[transferTo];
|
|
1723
|
+
if (!to) {
|
|
1724
|
+
throw new Error(`Invalid capture transfer to "${to}"`);
|
|
1725
|
+
}
|
|
1726
|
+
match[to] = matchCopy[i];
|
|
1727
|
+
if (this.hasIndices) {
|
|
1728
|
+
match.indices[to] = indicesCopy[i];
|
|
1729
|
+
}
|
|
1730
|
+
if (match.groups) {
|
|
1731
|
+
if (!this.#nameMap) {
|
|
1732
|
+
this.#nameMap = createNameMap(this.source);
|
|
1733
|
+
}
|
|
1734
|
+
const name = this.#nameMap.get(transferTo);
|
|
1735
|
+
if (name) {
|
|
1736
|
+
match.groups[name] = matchCopy[i];
|
|
1737
|
+
if (this.hasIndices) {
|
|
1738
|
+
match.indices.groups[name] = indicesCopy[i];
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
return match;
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
function adjustMatchDetailsForOffset(match, offset, input, hasIndices) {
|
|
1748
|
+
match.index += offset;
|
|
1749
|
+
match.input = input;
|
|
1750
|
+
if (hasIndices) {
|
|
1751
|
+
const indices = match.indices;
|
|
1752
|
+
for (let i = 0; i < indices.length; i++) {
|
|
1753
|
+
const arr = indices[i];
|
|
1754
|
+
if (arr) {
|
|
1755
|
+
indices[i] = [arr[0] + offset, arr[1] + offset];
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
const groupIndices = indices.groups;
|
|
1759
|
+
if (groupIndices) {
|
|
1760
|
+
Object.keys(groupIndices).forEach((key) => {
|
|
1761
|
+
const arr = groupIndices[key];
|
|
1762
|
+
if (arr) {
|
|
1763
|
+
groupIndices[key] = [arr[0] + offset, arr[1] + offset];
|
|
1764
|
+
}
|
|
1765
|
+
});
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
function createCaptureMap(hiddenCaptures, transfers) {
|
|
1770
|
+
const captureMap = /* @__PURE__ */ new Map();
|
|
1771
|
+
for (const num of hiddenCaptures) {
|
|
1772
|
+
captureMap.set(num, {
|
|
1773
|
+
hidden: true
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
for (const [to, from] of transfers) {
|
|
1777
|
+
for (const num of from) {
|
|
1778
|
+
getOrInsert(captureMap, num, {}).transferTo = to;
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
return captureMap;
|
|
1782
|
+
}
|
|
1783
|
+
function createNameMap(pattern) {
|
|
1784
|
+
const re = /(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu;
|
|
1785
|
+
const map = /* @__PURE__ */ new Map();
|
|
1786
|
+
let numCharClassesOpen = 0;
|
|
1787
|
+
let numCaptures = 0;
|
|
1788
|
+
let match;
|
|
1789
|
+
while (match = re.exec(pattern)) {
|
|
1790
|
+
const { 0: m, groups: { capture, name } } = match;
|
|
1791
|
+
if (m === "[") {
|
|
1792
|
+
numCharClassesOpen++;
|
|
1793
|
+
} else if (!numCharClassesOpen) {
|
|
1794
|
+
if (capture) {
|
|
1795
|
+
numCaptures++;
|
|
1796
|
+
if (name) {
|
|
1797
|
+
map.set(numCaptures, name);
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
} else if (m === "]") {
|
|
1801
|
+
numCharClassesOpen--;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
return map;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
// src/index.js
|
|
1808
|
+
import { parse as parse2 } from "oniguruma-parser/parser";
|
|
1809
|
+
import { atomic, possessive } from "regex/internals";
|
|
1810
|
+
import { recursion } from "regex-recursion";
|
|
1811
|
+
function toRegExp(pattern, options) {
|
|
1812
|
+
const d = toRegExpDetails(pattern, options);
|
|
1813
|
+
if (d.options) {
|
|
1814
|
+
return new EmulatedRegExp(d.pattern, d.flags, d.options);
|
|
1815
|
+
}
|
|
1816
|
+
return new RegExp(d.pattern, d.flags);
|
|
1817
|
+
}
|
|
1818
|
+
function toRegExpDetails(pattern, options) {
|
|
1819
|
+
const opts = getOptions(options);
|
|
1820
|
+
const onigurumaAst = parse2(pattern, {
|
|
1821
|
+
flags: opts.flags,
|
|
1822
|
+
normalizeUnknownPropertyNames: true,
|
|
1823
|
+
rules: {
|
|
1824
|
+
captureGroup: opts.rules.captureGroup,
|
|
1825
|
+
singleline: opts.rules.singleline
|
|
1826
|
+
},
|
|
1827
|
+
skipBackrefValidation: opts.rules.allowOrphanBackrefs,
|
|
1828
|
+
unicodePropertyMap: JsUnicodePropertyMap
|
|
1829
|
+
});
|
|
1830
|
+
const regexPlusAst = transform(onigurumaAst, {
|
|
1831
|
+
accuracy: opts.accuracy,
|
|
1832
|
+
asciiWordBoundaries: opts.rules.asciiWordBoundaries,
|
|
1833
|
+
avoidSubclass: opts.avoidSubclass,
|
|
1834
|
+
bestEffortTarget: opts.target
|
|
1835
|
+
});
|
|
1836
|
+
const generated = generate(regexPlusAst, opts);
|
|
1837
|
+
const recursionResult = recursion(generated.pattern, {
|
|
1838
|
+
captureTransfers: generated._captureTransfers,
|
|
1839
|
+
hiddenCaptures: generated._hiddenCaptures,
|
|
1840
|
+
mode: "external"
|
|
1841
|
+
});
|
|
1842
|
+
const possessiveResult = possessive(recursionResult.pattern);
|
|
1843
|
+
const atomicResult = atomic(possessiveResult.pattern, {
|
|
1844
|
+
captureTransfers: recursionResult.captureTransfers,
|
|
1845
|
+
hiddenCaptures: recursionResult.hiddenCaptures
|
|
1846
|
+
});
|
|
1847
|
+
const details = {
|
|
1848
|
+
pattern: atomicResult.pattern,
|
|
1849
|
+
flags: `${opts.hasIndices ? "d" : ""}${opts.global ? "g" : ""}${generated.flags}${generated.options.disable.v ? "u" : "v"}`
|
|
1850
|
+
};
|
|
1851
|
+
if (opts.avoidSubclass) {
|
|
1852
|
+
if (opts.lazyCompileLength !== Infinity) {
|
|
1853
|
+
throw new Error("Lazy compilation requires subclass");
|
|
1854
|
+
}
|
|
1855
|
+
} else {
|
|
1856
|
+
const hiddenCaptures = atomicResult.hiddenCaptures.sort((a, b) => a - b);
|
|
1857
|
+
const transfers = Array.from(atomicResult.captureTransfers);
|
|
1858
|
+
const strategy = regexPlusAst._strategy;
|
|
1859
|
+
const lazyCompile = details.pattern.length >= opts.lazyCompileLength;
|
|
1860
|
+
if (hiddenCaptures.length || transfers.length || strategy || lazyCompile) {
|
|
1861
|
+
details.options = {
|
|
1862
|
+
...hiddenCaptures.length && { hiddenCaptures },
|
|
1863
|
+
...transfers.length && { transfers },
|
|
1864
|
+
...strategy && { strategy },
|
|
1865
|
+
...lazyCompile && { lazyCompile }
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
return details;
|
|
1870
|
+
}
|
|
1871
|
+
export {
|
|
1872
|
+
EmulatedRegExp,
|
|
1873
|
+
toRegExp,
|
|
1874
|
+
toRegExpDetails
|
|
1875
|
+
};
|
|
1876
|
+
//# sourceMappingURL=index.js.map
|