@inkeep/open-knowledge 0.49.0 → 0.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (539) hide show
  1. package/dist/{abnfDiagram-VRR7QNED-DQjgDcgA.mjs → abnfDiagram-VRR7QNED-DWDzSKGM.mjs} +2 -2
  2. package/dist/{acp-harness-probe-DOXp9Wx4.mjs → acp-harness-probe-C8FhVWZi.mjs} +3 -3
  3. package/dist/alias-JE7RI5QX-BLuOrjl2.mjs +7 -0
  4. package/dist/alias-JE7RI5QX-VxEqWoTW.mjs +1 -0
  5. package/dist/{arc-CO8jsQkL.mjs → arc-DXUbbcxK.mjs} +2 -2
  6. package/dist/architecture-TIHT7OUA-Bl3hpxt3.mjs +1 -0
  7. package/dist/{architectureDiagram-ZJ3FMSHR-CkUIG8wd.mjs → architectureDiagram-ZJ3FMSHR-HYEpY7T3.mjs} +2 -2
  8. package/dist/{array-Cerc_8W3.mjs → array-BbgQa93P.mjs} +1 -1
  9. package/dist/awk2-BBAGSFUB-ClUuupKf.mjs +21 -0
  10. package/dist/{awk2-BBAGSFUB-BH8WxyhW.mjs → awk2-BBAGSFUB-Dq-YdAGA.mjs} +1 -1
  11. package/dist/{banner-CIK2GwPx.mjs → banner-Be20aAVc.mjs} +1 -1
  12. package/dist/base64-4YMZCVJ5-CtkujsXK.mjs +6 -0
  13. package/dist/{base64-4YMZCVJ5-CDuRvFBG.mjs → base64-4YMZCVJ5-dXz6vbV-.mjs} +1 -1
  14. package/dist/{basename-AA2KJYZQ-sv8gJZXS.mjs → basename-AA2KJYZQ-BhoOTAHi.mjs} +1 -1
  15. package/dist/basename-AA2KJYZQ-CEdH80GO.mjs +6 -0
  16. package/dist/bash-IJWYRKFO-BDtU-lTC.mjs +6 -0
  17. package/dist/bash-IJWYRKFO-jaJEvAZe.mjs +1 -0
  18. package/dist/{blockDiagram-677ZJIJ3-sLhYyPCr.mjs → blockDiagram-677ZJIJ3-yJugV29e.mjs} +2 -2
  19. package/dist/{c4Diagram-LMCZKHZV-Cg6dfUXU.mjs → c4Diagram-LMCZKHZV-BFQQLctA.mjs} +2 -2
  20. package/dist/cat-RDUMLXKC-D1H4LA3Z.mjs +6 -0
  21. package/dist/{cat-RDUMLXKC-BtNo16C3.mjs → cat-RDUMLXKC-DFuXWxVq.mjs} +1 -1
  22. package/dist/channel-Cjp51EO_.mjs +2 -0
  23. package/dist/{chmod-SYMGL4JA-B15Xlp42.mjs → chmod-SYMGL4JA-ByMUk130.mjs} +1 -1
  24. package/dist/chmod-SYMGL4JA-lEGJICyB.mjs +8 -0
  25. package/dist/{chokidar-CVNrjmRM.mjs → chokidar-dh8zokRd.mjs} +1 -1
  26. package/dist/chunk-24IMIIXA-RjlBWJtr.mjs +2 -0
  27. package/dist/{chunk-2Q5K7J3B-2Es1K_NO.mjs → chunk-2Q5K7J3B-Ck8oGqYt.mjs} +2 -2
  28. package/dist/{chunk-2TRDZQLB-G1LvPXqq.mjs → chunk-2TRDZQLB-AH-I_6yN.mjs} +1 -1
  29. package/dist/chunk-2TRDZQLB-ZoW1EBbl.mjs +18 -0
  30. package/dist/{chunk-32BRIVSS-ok2xg0Je.mjs → chunk-32BRIVSS-Dwq69mnI.mjs} +2 -2
  31. package/dist/{chunk-3BS5SKQH-CFcrGLDG.mjs → chunk-3BS5SKQH-DpdUzS0R.mjs} +3 -3
  32. package/dist/{chunk-3H6UQG3A-Dx5ykWR0.mjs → chunk-3H6UQG3A-BWCaN15a.mjs} +2 -2
  33. package/dist/chunk-3THT3N7L-DYkTD3HD.mjs +2 -0
  34. package/dist/{chunk-3ZUFRYJ4-DzbWfyzV.mjs → chunk-3ZUFRYJ4-H1A1hWy1.mjs} +1 -1
  35. package/dist/chunk-3ZUFRYJ4-ekaYB_vG.mjs +2 -0
  36. package/dist/chunk-44UOCSGV-D1FZHMOP.mjs +2 -0
  37. package/dist/{chunk-4GTNDTRF-COTPYeV6.mjs → chunk-4GTNDTRF-Cx89i2Y1.mjs} +2 -2
  38. package/dist/{chunk-4HHKTUW3-BkuKGebe.mjs → chunk-4HHKTUW3-Dk2l1S8J.mjs} +1 -1
  39. package/dist/{chunk-4Q4SM6WR-i8tiQRv3.mjs → chunk-4Q4SM6WR-CGuvvBWe.mjs} +2 -2
  40. package/dist/{chunk-52WLFC77-BaT5_S-q.mjs → chunk-52WLFC77-Cn-qt8h-.mjs} +2 -2
  41. package/dist/{chunk-55VFSPNA-Ct9maI6O.mjs → chunk-55VFSPNA-D2U7n2ka.mjs} +2 -2
  42. package/dist/{chunk-5FCAYU7R-of7BBDNL.mjs → chunk-5FCAYU7R-DszODYLe.mjs} +2 -2
  43. package/dist/{chunk-5HE753X5-9kILZ5Nr.mjs → chunk-5HE753X5-DDnyF29o.mjs} +2 -2
  44. package/dist/{chunk-5JV3BV7I-BKVVlFxh.mjs → chunk-5JV3BV7I-BkeVAZnj.mjs} +2 -2
  45. package/dist/chunk-5QMZ5MUS-C5NTf5Rj.mjs +5 -0
  46. package/dist/{chunk-5QVNJEHU-CvZ-NmqQ.mjs → chunk-5QVNJEHU-DS9zA_YV.mjs} +2 -2
  47. package/dist/{chunk-5TONJI2A-CGHpmUrS.mjs → chunk-5TONJI2A-CzUNHQPX.mjs} +2 -2
  48. package/dist/{chunk-5V6VZH6T-DdeqP2TW.mjs → chunk-5V6VZH6T-DBFenjXz.mjs} +2 -2
  49. package/dist/{chunk-5VM5RSS4-COK1ErrI.mjs → chunk-5VM5RSS4-C8vNNqW0.mjs} +2 -2
  50. package/dist/{chunk-62RKD26F-RtrcFE7S.mjs → chunk-62RKD26F-C4qK_fA-.mjs} +2 -2
  51. package/dist/{chunk-64BAICW3-0h-yIc1e.mjs → chunk-64BAICW3-BupSxcu5.mjs} +2 -2
  52. package/dist/{chunk-6Z5SFZXK-C5owNg1o.mjs → chunk-6Z5SFZXK-Cz0C4bhB.mjs} +2 -2
  53. package/dist/{chunk-74CEPOFO--xsxhUFC.mjs → chunk-74CEPOFO-BUVWiXkJ.mjs} +1 -1
  54. package/dist/chunk-74CEPOFO-BYrCYxKO.mjs +23 -0
  55. package/dist/{chunk-7BUUIJ7U-_1oXd84C.mjs → chunk-7BUUIJ7U-D7hE25H9.mjs} +2 -2
  56. package/dist/{chunk-7L36YK2X-VlH7dlrD.mjs → chunk-7L36YK2X-CGwYuotX.mjs} +1 -1
  57. package/dist/chunk-7L36YK2X-DAp-upAs.mjs +3 -0
  58. package/dist/{chunk-7TSDKFEO-BjOrsK6M.mjs → chunk-7TSDKFEO-CE_P23TY.mjs} +1 -1
  59. package/dist/chunk-7TSDKFEO-DBB10vPw.mjs +2 -0
  60. package/dist/{chunk-A4HU7SVR-oMNSpej4.mjs → chunk-A4HU7SVR-BZJ8xDMo.mjs} +1 -1
  61. package/dist/{chunk-A4JSPFCI-DtnWqT5O.mjs → chunk-A4JSPFCI-Dej71yGP.mjs} +2 -2
  62. package/dist/chunk-A5O5YHGN-CczwCZ4d.mjs +2 -0
  63. package/dist/{chunk-A65PWWJC-LctFeUxK.mjs → chunk-A65PWWJC-C-0S-s_f.mjs} +2 -2
  64. package/dist/{chunk-A7A2DBEE-DuuhuGG1.mjs → chunk-A7A2DBEE-DCXJ1xmx.mjs} +1 -1
  65. package/dist/{chunk-A7ICOL4V-CzYDHdxM.mjs → chunk-A7ICOL4V-BQZ9JZ1A.mjs} +2 -2
  66. package/dist/{chunk-ALLTKNUZ-BnLIZXEI.mjs → chunk-ALLTKNUZ-D2ZOfcEz.mjs} +2 -2
  67. package/dist/{chunk-APT7OOP2-DESh647P.mjs → chunk-APT7OOP2-D-DaFB7K.mjs} +2 -2
  68. package/dist/chunk-B74TABJS-BJwhrR8a.mjs +34 -0
  69. package/dist/{chunk-BIQX33UG-BVtPexox.mjs → chunk-BIQX33UG-Bmho6v3L.mjs} +2 -2
  70. package/dist/{chunk-C7G6YPKG-DpNJWc2e.mjs → chunk-C7G6YPKG-BAX_SClW.mjs} +2 -2
  71. package/dist/{chunk-CQNSW5MT-B6mAd0WS.mjs → chunk-CQNSW5MT-FekKjn0i.mjs} +2 -2
  72. package/dist/chunk-CWQS3NFK-CcBWgb8o.mjs +2 -0
  73. package/dist/{chunk-CYSBUYHQ-CTWbbsmm.mjs → chunk-CYSBUYHQ-BftsYwRW.mjs} +2 -2
  74. package/dist/{chunk-D4J545R4-Dy3lcp_X.mjs → chunk-D4J545R4-Br_5qOnE.mjs} +2 -2
  75. package/dist/{chunk-D6CWQ5DW-Dl4tJcwX.mjs → chunk-D6CWQ5DW-3AWPydfx.mjs} +2 -2
  76. package/dist/{chunk-D7MEQ3VN-B-Qyxyo5.mjs → chunk-D7MEQ3VN-Df6An2jd.mjs} +2 -2
  77. package/dist/chunk-DBKNVD4L-B3hX287s.mjs +10 -0
  78. package/dist/{chunk-DBKNVD4L-Y2Mnp5lC.mjs → chunk-DBKNVD4L-DNQP2COw.mjs} +2 -2
  79. package/dist/{chunk-DCAAORBQ-BxtVrSMT.mjs → chunk-DCAAORBQ-BDLVpBG2.mjs} +2 -2
  80. package/dist/chunk-DHbaKqs-.mjs +1 -0
  81. package/dist/chunk-DXB73IDG-BBwE27jK.mjs +2 -0
  82. package/dist/{chunk-EEXR5ZDP-BcjEP2wd.mjs → chunk-EEXR5ZDP-CE452hsE.mjs} +1 -1
  83. package/dist/chunk-EEXR5ZDP-Df-EPnbj.mjs +3 -0
  84. package/dist/{chunk-EIZGF4BS-DYiqM1Ss.mjs → chunk-EIZGF4BS-86nrMkyt.mjs} +2 -2
  85. package/dist/chunk-EIZGF4BS-CSFp0aUh.mjs +9 -0
  86. package/dist/{chunk-EMLP6XTP-AFimKO17.mjs → chunk-EMLP6XTP-C2yfLzVC.mjs} +2 -2
  87. package/dist/{chunk-EX3LRPZG-BYcqQlY8.mjs → chunk-EX3LRPZG-Chp9b-Lc.mjs} +2 -2
  88. package/dist/{chunk-F23WWYKW-BuCITNd6.mjs → chunk-F23WWYKW-qKke1WqP.mjs} +2 -2
  89. package/dist/{chunk-FWX5IMBZ-BFNo8SGu.mjs → chunk-FWX5IMBZ-Cn1xNcn5.mjs} +2 -2
  90. package/dist/{chunk-GCTKCWKD-jz3yOk3f.mjs → chunk-GCTKCWKD-D0obXRun.mjs} +1 -1
  91. package/dist/chunk-GFQRA5P5-XqPO4cim.mjs +3 -0
  92. package/dist/{chunk-GOV5EKKI-IRzA9ik3.mjs → chunk-GOV5EKKI-CDovwI7Z.mjs} +2 -2
  93. package/dist/{chunk-GXVXFKBA-CGc4vqMu.mjs → chunk-GXVXFKBA-D-BGCybM.mjs} +2 -2
  94. package/dist/{chunk-HDQ56CKY-Svz-iz8m.mjs → chunk-HDQ56CKY-CI8IkhlS.mjs} +2 -2
  95. package/dist/chunk-HDQ56CKY-Pa-7c4rC.mjs +16 -0
  96. package/dist/{chunk-HJQJAYMS-SgZmT_QE.mjs → chunk-HJQJAYMS-BHzb4Ncl.mjs} +1 -1
  97. package/dist/{chunk-HJWBQKYG-BqFDM0xp.mjs → chunk-HJWBQKYG-B-KESSoV.mjs} +2 -2
  98. package/dist/{chunk-HKLCLINH-DKx243zB.mjs → chunk-HKLCLINH-Bgw53oZd.mjs} +3 -3
  99. package/dist/{chunk-HL6NGDO2-B9GCn41X.mjs → chunk-HL6NGDO2-CftrHAlX.mjs} +2 -2
  100. package/dist/{chunk-HOUHSVGY-Cg_2_CUd.mjs → chunk-HOUHSVGY-C3h3PdhC.mjs} +2 -2
  101. package/dist/{chunk-HWKDQ44K-CVxg-h0V.mjs → chunk-HWKDQ44K-CGcvROg-.mjs} +2 -2
  102. package/dist/chunk-HWKDQ44K-D3ZbaPl8.mjs +4 -0
  103. package/dist/chunk-I57KEIP3-_HYA-njf.mjs +11 -0
  104. package/dist/{chunk-I57KEIP3-FVl4IVXz.mjs → chunk-I57KEIP3-iiTO2OC-.mjs} +1 -1
  105. package/dist/{chunk-ICXQ74PX-CewdqzeE.mjs → chunk-ICXQ74PX-DbJy3VdO.mjs} +2 -2
  106. package/dist/chunk-IPJHKYVM-3ANqAo3C.mjs +2 -0
  107. package/dist/{chunk-JG7HCLWE-BgiWVzAI.mjs → chunk-JG7HCLWE-lUInQ_44.mjs} +2 -2
  108. package/dist/{chunk-JVPRLUMK-CH7w4zyh.mjs → chunk-JVPRLUMK-FzUEFQw9.mjs} +2 -2
  109. package/dist/{chunk-JWPE2WC7-cMhWwV9I.mjs → chunk-JWPE2WC7-iDbhfJR-.mjs} +2 -2
  110. package/dist/{chunk-K6LIBGJA-DI9ZkJey.mjs → chunk-K6LIBGJA-BXxOXTjI.mjs} +2 -2
  111. package/dist/{chunk-KEIR6QF5-BhaMJNB5.mjs → chunk-KEIR6QF5-BLwvtFl6.mjs} +1 -1
  112. package/dist/{chunk-KMEYNNUA-CabTsa7P.mjs → chunk-KMEYNNUA-1KiUKBQV.mjs} +2 -2
  113. package/dist/chunk-KRBPSX3W-DeaaVEij.mjs +6 -0
  114. package/dist/{chunk-KRBPSX3W-ciCGjpAL.mjs → chunk-KRBPSX3W-YDdgrCmf.mjs} +2 -2
  115. package/dist/{chunk-LL3S3NLB-r8mDpVuz.mjs → chunk-LL3S3NLB-D0lLKwVi.mjs} +2 -2
  116. package/dist/{chunk-LTZRCH7N-Cj1hz7m7.mjs → chunk-LTZRCH7N-DpPs5vSq.mjs} +2 -2
  117. package/dist/{chunk-LWEGUNWT-C3ON4AHi.mjs → chunk-LWEGUNWT-DOK-XWMd.mjs} +2 -2
  118. package/dist/{chunk-MDDMCKUK-D3MZs3FF.mjs → chunk-MDDMCKUK-CTA6qEdN.mjs} +2 -2
  119. package/dist/{chunk-MDLLFABN-DgTeOfIY.mjs → chunk-MDLLFABN-B2tA3LLA.mjs} +2 -2
  120. package/dist/{chunk-MHTUABJP-BbSobv_U.mjs → chunk-MHTUABJP-CrR3MfDw.mjs} +1 -1
  121. package/dist/{chunk-MIZPJHVH-CzqfuBdK.mjs → chunk-MIZPJHVH-d3bhRfh4.mjs} +2 -2
  122. package/dist/{chunk-MLXIYONF-BcM04nM_.mjs → chunk-MLXIYONF-C0S_CKb1.mjs} +1 -1
  123. package/dist/{chunk-MOJQB5TN-CidbQQ7m.mjs → chunk-MOJQB5TN-CUt4IiNv.mjs} +2 -2
  124. package/dist/{chunk-MOZMSUNE-DTiZcqZ1.mjs → chunk-MOZMSUNE-DCxwDKn7.mjs} +2 -2
  125. package/dist/{chunk-MYE6AGBJ-B3ukegXT.mjs → chunk-MYE6AGBJ-CMoRJzYM.mjs} +2 -2
  126. package/dist/{chunk-NAERJDUW-CoAYVGR3.mjs → chunk-NAERJDUW-Ck-SZ2Ps.mjs} +2 -2
  127. package/dist/{chunk-NCNPKYJZ-C1KcgrGe.mjs → chunk-NCNPKYJZ-BxqfYu6d.mjs} +2 -2
  128. package/dist/{chunk-NUYSJFDK-sPbPxu4W.mjs → chunk-NUYSJFDK-DfaBzW-k.mjs} +2 -2
  129. package/dist/{chunk-OCLXQMOG-BdLZfp3D.mjs → chunk-OCLXQMOG-DC3689MV.mjs} +2 -2
  130. package/dist/{chunk-OCS6LSEM-7beNWT9m.mjs → chunk-OCS6LSEM-BY3_3dNt.mjs} +2 -2
  131. package/dist/{chunk-OGEWGWER-B-Vr80Fa.mjs → chunk-OGEWGWER-DgPAesMA.mjs} +2 -2
  132. package/dist/chunk-OJDRYQWQ-B9KRyRFZ.mjs +2 -0
  133. package/dist/{chunk-OSBZ3O6U-DwDyo3Ly.mjs → chunk-OSBZ3O6U-BVpvamr7.mjs} +2 -2
  134. package/dist/{chunk-PBXLG62G-ww-bn-Tp.mjs → chunk-PBXLG62G-C12xrBbG.mjs} +2 -2
  135. package/dist/{chunk-PP6PSHAB-xKRHmmOd.mjs → chunk-PP6PSHAB-tlM6YKyg.mjs} +1 -1
  136. package/dist/{chunk-PUDLZKDR-CI0pacGF.mjs → chunk-PUDLZKDR-CIWYIjrF.mjs} +2 -2
  137. package/dist/{chunk-PXTK5WE2-Dfi2FrE5.mjs → chunk-PXTK5WE2-DNbfUrIy.mjs} +1 -1
  138. package/dist/chunk-PXTK5WE2-e9kxtsgu.mjs +22 -0
  139. package/dist/{chunk-PYSFUGCK-BHwvxY2Q.mjs → chunk-PYSFUGCK-DqdcBhD4.mjs} +2 -2
  140. package/dist/{chunk-Q4XR5HBZ-4H-m7p0G.mjs → chunk-Q4XR5HBZ-jWirJQsj.mjs} +2 -2
  141. package/dist/{chunk-QBLGF6JB-B_tvtCRO.mjs → chunk-QBLGF6JB-hMrl9lGc.mjs} +2 -2
  142. package/dist/{chunk-QCDB2VPH-DHsQu4h6.mjs → chunk-QCDB2VPH-Cv7mIZWG.mjs} +2 -2
  143. package/dist/{chunk-QJ7O6ZN3-CTKdWbns.mjs → chunk-QJ7O6ZN3-BRN048sn.mjs} +2 -2
  144. package/dist/{chunk-R6QSAL5T-DA60heK6.mjs → chunk-R6QSAL5T-CxzbKF59.mjs} +1 -1
  145. package/dist/chunk-R6VWJ2ZL-DmUcUF0z.mjs +2 -0
  146. package/dist/{chunk-R7FJI6CG-BVR1ae7y.mjs → chunk-R7FJI6CG-bmCS8vOS.mjs} +2 -2
  147. package/dist/{chunk-RPNGRAAP-df7FdhI4.mjs → chunk-RPNGRAAP-BTpXCNpb.mjs} +2 -2
  148. package/dist/{chunk-RYQCIY6F-C8F82Uai.mjs → chunk-RYQCIY6F-Dt7I2-Oy.mjs} +2 -2
  149. package/dist/{chunk-SDNKECQQ-BuTL-ot2.mjs → chunk-SDNKECQQ-BNRfy-15.mjs} +2 -2
  150. package/dist/chunk-SNN4IESC-CZPQ88bY.mjs +2 -0
  151. package/dist/{chunk-SNN4IESC-DVqEOGsL.mjs → chunk-SNN4IESC-oXVGT9qo.mjs} +1 -1
  152. package/dist/{chunk-T56QNPHK-COZC2A_r.mjs → chunk-T56QNPHK-lY6QjpkL.mjs} +2 -2
  153. package/dist/{chunk-TLSUDHID-DAREQN9J.mjs → chunk-TLSUDHID-BP7dARSe.mjs} +2 -2
  154. package/dist/{chunk-TOMNU26N-C3JZDC96.mjs → chunk-TOMNU26N-BFsBBT9j.mjs} +2 -2
  155. package/dist/{chunk-TP4BZANS-C2Z-CHHA.mjs → chunk-TP4BZANS-C6KGxaUf.mjs} +2 -2
  156. package/dist/{chunk-TXBZCHCQ-DOaoE5TV.mjs → chunk-TXBZCHCQ-DxPX5PCF.mjs} +2 -2
  157. package/dist/{chunk-U6XO7XAA-BpjdcG5R.mjs → chunk-U6XO7XAA-BHty90wb.mjs} +2 -2
  158. package/dist/{chunk-V5MWI2OL-D8SKWVO_.mjs → chunk-V5MWI2OL-DApVl_z4.mjs} +1 -1
  159. package/dist/{chunk-V7JOEXUC-CdEIYYNc.mjs → chunk-V7JOEXUC-DNM56rwe.mjs} +2 -2
  160. package/dist/{chunk-V7TAPXDL-CQbB1mLa.mjs → chunk-V7TAPXDL-CrGsULIH.mjs} +2 -2
  161. package/dist/chunk-VAUOI2AC-BdotBBDE.mjs +2 -0
  162. package/dist/{chunk-VJFXDYWH-C7Lg-Yts.mjs → chunk-VJFXDYWH-DXnppZsu.mjs} +2 -2
  163. package/dist/{chunk-VOBGTVA6-CKl2LR-K.mjs → chunk-VOBGTVA6-_4QbVbSJ.mjs} +2 -2
  164. package/dist/{chunk-VR4S4FIN-mH-q10Uq.mjs → chunk-VR4S4FIN-RUJ5PgRH.mjs} +2 -2
  165. package/dist/{chunk-VYOJP4TV-DFxaC5Uc.mjs → chunk-VYOJP4TV-DG_cm0JM.mjs} +2 -2
  166. package/dist/{chunk-WKFATFPP-R7B51gCW.mjs → chunk-WKFATFPP-DygaP6No.mjs} +2 -2
  167. package/dist/{chunk-WYO6CB5R-Cg1RXhAT.mjs → chunk-WYO6CB5R-DN1R0VLx.mjs} +2 -2
  168. package/dist/{chunk-X2AJGDEF-D97qevlv.mjs → chunk-X2AJGDEF-BXjUENXL.mjs} +1 -1
  169. package/dist/chunk-X2AJGDEF-ivzQBp_p.mjs +2 -0
  170. package/dist/{chunk-XKQRETAK-BTmmMuta.mjs → chunk-XKQRETAK-CYJSOFLN.mjs} +2 -2
  171. package/dist/{chunk-XKWWSDBF-BGzAOrO3.mjs → chunk-XKWWSDBF-BTj39eCO.mjs} +2 -2
  172. package/dist/{chunk-XVDPCNWR-3ajbQWzU.mjs → chunk-XVDPCNWR-BSVT7Ttz.mjs} +2 -2
  173. package/dist/chunk-XXDRQBXY-D1gFTzjI.mjs +2 -0
  174. package/dist/{chunk-Y2CYZVJY-C7FmC3Cl.mjs → chunk-Y2CYZVJY-acXC9Sbb.mjs} +1 -1
  175. package/dist/{chunk-YMMW5UAP-DbBgrudQ.mjs → chunk-YMMW5UAP-CE-EQ2Is.mjs} +2 -2
  176. package/dist/{chunk-YOTPTUD7-BSOqhRr-.mjs → chunk-YOTPTUD7-63S9b4Z2.mjs} +2 -2
  177. package/dist/{chunk-YTNYSM6T-CoxqCaLl.mjs → chunk-YTNYSM6T-DFPh_641.mjs} +2 -2
  178. package/dist/{chunk-YULBWSET-CuKhTv4j.mjs → chunk-YULBWSET-B6FKJjk9.mjs} +2 -2
  179. package/dist/{chunk-Z6LRHWXI-CujGXDs8.mjs → chunk-Z6LRHWXI-BCgawaNX.mjs} +1 -1
  180. package/dist/{chunk-Z7JVV2SM-CiJwkxuY.mjs → chunk-Z7JVV2SM-CTUpikzI.mjs} +2 -2
  181. package/dist/{chunk-ZGVPDNZ5-BE_qYP6z.mjs → chunk-ZGVPDNZ5-CyyHBEs2.mjs} +2 -2
  182. package/dist/{chunk-ZIRB5QZD-mhYZnDzb.mjs → chunk-ZIRB5QZD-K23GvNu-.mjs} +2 -2
  183. package/dist/{chunk-ZZO3UDB3-DCkJjNN2.mjs → chunk-ZZO3UDB3-MiEiJy8J.mjs} +2 -2
  184. package/dist/classDiagram-OUVF2IWQ-0ApI9cDS.mjs +2 -0
  185. package/dist/classDiagram-v2-EOCWNBFH-DfQYJWNe.mjs +2 -0
  186. package/dist/clear-5CZ5X4YR-9EZyt4MH.mjs +2 -0
  187. package/dist/{clear-5CZ5X4YR-BNXs_KRD.mjs → clear-5CZ5X4YR-BICGLF_r.mjs} +1 -1
  188. package/dist/cli.mjs +22 -22
  189. package/dist/{column-WLPMMSTS-BrY1gQI1.mjs → column-WLPMMSTS-D0I9TpQ2.mjs} +1 -1
  190. package/dist/column-WLPMMSTS-Do8HgL6q.mjs +8 -0
  191. package/dist/comm-5SLSESQG-0igXzBnl.mjs +12 -0
  192. package/dist/{comm-5SLSESQG-aGB098lH.mjs → comm-5SLSESQG-D2Rs9Jmo.mjs} +1 -1
  193. package/dist/constants-BkYBCRUx.mjs +2 -0
  194. package/dist/{cose-bilkent-JH36ORCC-CMfIp4st.mjs → cose-bilkent-JH36ORCC-B1gjUwU3.mjs} +2 -2
  195. package/dist/cp-XOYR4ABJ-CpnwcT2f.mjs +8 -0
  196. package/dist/{du-WO2ENHXQ-Cg71FvLi.mjs → cp-XOYR4ABJ-OfwEEWhR.mjs} +1 -1
  197. package/dist/{curl-47BFPSFW-d1TMPUJw.mjs → curl-47BFPSFW-Ko1BcK_R.mjs} +2 -2
  198. package/dist/{cut-OPC3VAGB-FXZX1WQM.mjs → cut-OPC3VAGB-BAhJz0Qh.mjs} +1 -1
  199. package/dist/cut-OPC3VAGB-nJAw1cEp.mjs +6 -0
  200. package/dist/cynefin-VYW2F7L2-C-aICrN-.mjs +1 -0
  201. package/dist/{cynefinDiagram-TSTJHNR4-CFbt5v4d.mjs → cynefinDiagram-TSTJHNR4-CoESbhp4.mjs} +2 -2
  202. package/dist/{cytoscape.esm-Dq6ZD9GH.mjs → cytoscape.esm-D6l9Lhue.mjs} +1 -1
  203. package/dist/{dagre-CbI1Ylqw.mjs → dagre-BkPA5x_w.mjs} +2 -2
  204. package/dist/{dagre-VKFMJZFB-BWP36rMX.mjs → dagre-VKFMJZFB-BhCtWAkc.mjs} +2 -2
  205. package/dist/{head-HT2B6D2J-DSBJixLD.mjs → date-DD7FVA2V-BGJ9-l0O.mjs} +1 -1
  206. package/dist/date-DD7FVA2V-W_sbdO4n.mjs +5 -0
  207. package/dist/{defaultLocale-9SlCuWEL.mjs → defaultLocale-DN4qDyCE.mjs} +1 -1
  208. package/dist/{diagram-FQU43EPY-D2pf7IBH.mjs → diagram-FQU43EPY-BdshpOzp.mjs} +2 -2
  209. package/dist/{diagram-G47NLZAW-BlOXaBe6.mjs → diagram-G47NLZAW-Lw1fB9_w.mjs} +2 -2
  210. package/dist/{diagram-NH7WQ7WH-DOwRNWDI.mjs → diagram-NH7WQ7WH-DnzwFaQq.mjs} +2 -2
  211. package/dist/{diagram-OA4YK3LP-uyGYHUoX.mjs → diagram-OA4YK3LP-BXU-URV1.mjs} +2 -2
  212. package/dist/{diagram-WEI45ONY-CmW1X9Kx.mjs → diagram-WEI45ONY-CD_Zpcvk.mjs} +2 -2
  213. package/dist/diff-HJF2MPDN-CQAaA8lM.mjs +1 -0
  214. package/dist/diff-HJF2MPDN-EjmLU95d.mjs +7 -0
  215. package/dist/{dirname-LEMTZZFS-RRQ5Ar_Z.mjs → dirname-LEMTZZFS-BG01-R4_.mjs} +1 -1
  216. package/dist/dirname-LEMTZZFS-Dg3ijqjM.mjs +5 -0
  217. package/dist/{dist-BmYngy7b.mjs → dist-CMZz8-Ge.mjs} +1 -1
  218. package/dist/du-WO2ENHXQ-jqWYqk_n.mjs +8 -0
  219. package/dist/{cp-XOYR4ABJ-D0LUaMQT.mjs → du-WO2ENHXQ-oQRVbsEF.mjs} +1 -1
  220. package/dist/{ebnfDiagram-CCIWWBDH-BpBYlrRH.mjs → ebnfDiagram-CCIWWBDH-D-647A1u.mjs} +2 -2
  221. package/dist/echo-O45JWWI2-BPosfKdD.mjs +1 -0
  222. package/dist/echo-O45JWWI2-gk6mEMAU.mjs +4 -0
  223. package/dist/env-5EPCWSXR-BU5zTNDV.mjs +9 -0
  224. package/dist/env-5EPCWSXR-DygzVPiG.mjs +1 -0
  225. package/dist/{erDiagram-Q63AITRT-ChoKKmxG.mjs → erDiagram-Q63AITRT-DviwoNdm.mjs} +2 -2
  226. package/dist/eventmodeling-45OFAUF4-CJqJ2hnR.mjs +1 -0
  227. package/dist/{execAsync-BKp2jujj.mjs → execAsync-BLKHjfg7.mjs} +1 -1
  228. package/dist/{execAsync-BuUKdKlz.mjs → execAsync-C5ympCkf.mjs} +1 -1
  229. package/dist/expand-DTNXU4LQ-D2bEx87V.mjs +11 -0
  230. package/dist/{expand-DTNXU4LQ-BD32VJaK.mjs → expand-DTNXU4LQ-XU44HrWp.mjs} +1 -1
  231. package/dist/expr-YYCVMXE3-DI2glLwn.mjs +1 -0
  232. package/dist/expr-YYCVMXE3-wI0boF3e.mjs +5 -0
  233. package/dist/file-IGDTDPLG-DkYMcmTl.mjs +24 -0
  234. package/dist/{date-DD7FVA2V-7hk1aW9g.mjs → file-IGDTDPLG-sPfWVy9T.mjs} +1 -1
  235. package/dist/find-DH2ALKQS-B6bMjuwo.mjs +12 -0
  236. package/dist/find-DH2ALKQS-CEKaRkgJ.mjs +1 -0
  237. package/dist/flag-coverage-6JEX67RU-QmoBigPs.mjs +2 -0
  238. package/dist/flowDiagram-23GEKE2U-Dhi3SNHm.mjs +1 -0
  239. package/dist/fold-LDSORVYE-Dhx0k6vg.mjs +12 -0
  240. package/dist/{fold-LDSORVYE-CDU-6eOS.mjs → fold-LDSORVYE-DumfsCQO.mjs} +1 -1
  241. package/dist/{fs-traced-By5aY-RE.mjs → fs-traced-DVpoNaQJ.mjs} +3 -3
  242. package/dist/fs-traced-_QGcVmcb.mjs +1 -0
  243. package/dist/{ganttDiagram-NO4QXBWP-Cv7sGb-R.mjs → ganttDiagram-NO4QXBWP-DnN5cTGV.mjs} +2 -2
  244. package/dist/{getMachineId-bsd-DtFrm1Uy.mjs → getMachineId-bsd-B_NuwbXS.mjs} +2 -2
  245. package/dist/{getMachineId-bsd-GFl1-Bje.mjs → getMachineId-bsd-neTWr-l3.mjs} +2 -2
  246. package/dist/{getMachineId-darwin--IR8MP8d.mjs → getMachineId-darwin-BP4aVKkL.mjs} +2 -2
  247. package/dist/{getMachineId-darwin-28jQHa_N.mjs → getMachineId-darwin-DKDl-xYO.mjs} +2 -2
  248. package/dist/{getMachineId-linux-BZgyplQ5.mjs → getMachineId-linux-Bexb2iRT.mjs} +1 -1
  249. package/dist/{getMachineId-linux-Bzx3S652.mjs → getMachineId-linux-YTb5epZX.mjs} +1 -1
  250. package/dist/{getMachineId-unsupported-CyTjujlI.mjs → getMachineId-unsupported-Ddv20ynQ.mjs} +1 -1
  251. package/dist/{getMachineId-unsupported-DuB0leRF.mjs → getMachineId-unsupported-DdwXS_Q3.mjs} +1 -1
  252. package/dist/{getMachineId-win-BmvAZEMa.mjs → getMachineId-win-BNx0EbPq.mjs} +2 -2
  253. package/dist/{getMachineId-win-CuOFQQ73.mjs → getMachineId-win-D8cNuBNk.mjs} +2 -2
  254. package/dist/git-handle-DBSzQutT.mjs +1 -0
  255. package/dist/{git-handle-BHe1p04S.mjs → git-handle-r3d7s3VF.mjs} +2 -2
  256. package/dist/gitGraph-TEB2WS4Q-_V7TMkJv.mjs +1 -0
  257. package/dist/{gitGraphDiagram-IHSO6WYX-DxsFHicP.mjs → gitGraphDiagram-IHSO6WYX-Bs2N855t.mjs} +2 -2
  258. package/dist/{graphlib-DKEQBDTz.mjs → graphlib-DXQPHTiH.mjs} +1 -1
  259. package/dist/grep-2HUTXO5U-9G7xEEms.mjs +9 -0
  260. package/dist/grep-2HUTXO5U-DG5Ulinc.mjs +1 -0
  261. package/dist/gzip-AQXSGOVS-BcGYw5wM.mjs +32 -0
  262. package/dist/gzip-AQXSGOVS-D6UYmM0C.mjs +1 -0
  263. package/dist/head-HT2B6D2J-B5ybc-my.mjs +2 -0
  264. package/dist/{file-IGDTDPLG-BAlm5q29.mjs → head-HT2B6D2J-CHIR76LI.mjs} +1 -1
  265. package/dist/help-VVWX7SA5-Bb8T3djf.mjs +16 -0
  266. package/dist/help-VVWX7SA5-BbK0QLPX.mjs +1 -0
  267. package/dist/history-J4QRNGRO-5XgHJL_Q.mjs +1 -0
  268. package/dist/history-J4QRNGRO-DesXbqi2.mjs +3 -0
  269. package/dist/{hostname-BK6HG2DE-CaZb-T_R.mjs → hostname-BK6HG2DE-Clwz043m.mjs} +1 -1
  270. package/dist/hostname-BK6HG2DE-DTiGP5th.mjs +3 -0
  271. package/dist/html-to-markdown-TFCECAGV-BsVwcc4T.mjs +1 -0
  272. package/dist/html-to-markdown-TFCECAGV-DLUGt6pW.mjs +73 -0
  273. package/dist/index.d.mts +6867 -242
  274. package/dist/index.mjs +1521 -1
  275. package/dist/info-DKCQHKI2-DIsEz1l_.mjs +1 -0
  276. package/dist/{infoDiagram-FWYZ7A6U-CbPpTq2x.mjs → infoDiagram-FWYZ7A6U-CD5T72Pd.mjs} +2 -2
  277. package/dist/init-BlCMJ0yB.mjs +1 -0
  278. package/dist/{init-Buw5jj4Q.mjs → init-D8OKme52.mjs} +1 -1
  279. package/dist/{init-ZOWQ1Th4.mjs → init-VslWN3Iz.mjs} +54 -59
  280. package/dist/{ishikawaDiagram-FXEZZL3T-Dd5BEpOv.mjs → ishikawaDiagram-FXEZZL3T-CzHEtbdq.mjs} +2 -2
  281. package/dist/join-GG2LDHE5-7k4Syl20.mjs +14 -0
  282. package/dist/{join-GG2LDHE5-kABASDPB.mjs → join-GG2LDHE5-BIH_-8vD.mjs} +1 -1
  283. package/dist/{journeyDiagram-5HDEW3XC-W6Nbr96_.mjs → journeyDiagram-5HDEW3XC-BywkQV2b.mjs} +2 -2
  284. package/dist/jq-LYZFFBZB-BZ4XP29I.mjs +14 -0
  285. package/dist/jq-LYZFFBZB-Dlyx6Y7w.mjs +1 -0
  286. package/dist/{js-exec-VXN6TZ7U-1yyCDQqM.mjs → js-exec-VXN6TZ7U-BrugyKqi.mjs} +2 -2
  287. package/dist/js-exec-VXN6TZ7U-Ds5SsewK.mjs +97 -0
  288. package/dist/{kanban-definition-HUTT4EX6-xcwe5vNg.mjs → kanban-definition-HUTT4EX6-DIgH0tMg.mjs} +2 -2
  289. package/dist/{launch-json-removal-CcFuFFS1.mjs → launch-json-removal-9-8M5r9e.mjs} +2 -2
  290. package/dist/lib-B2tLN_O_.mjs +2 -0
  291. package/dist/{lib-TLTWf9qr.mjs → lib-DuDqLKFD.mjs} +1 -1
  292. package/dist/{lib-BCIeHFfP.mjs → lib-ozx_WsjS.mjs} +1 -1
  293. package/dist/libesm-qUf-Au5c.mjs +14 -0
  294. package/dist/{line-Cq-NoiNn.mjs → line-eTDW_zUy.mjs} +2 -2
  295. package/dist/{linear-DPbvcrPk.mjs → linear-Cn1royVQ.mjs} +2 -2
  296. package/dist/{ln-4TRFBYAT-Dhr3hBr6.mjs → ln-4TRFBYAT-B0hi-FAf.mjs} +1 -1
  297. package/dist/ln-4TRFBYAT-DGrhTL40.mjs +9 -0
  298. package/dist/loader-Birwg2h1.mjs +1 -0
  299. package/dist/{loader-ji3pPcXi.mjs → loader-f3tIWlWk.mjs} +2 -2
  300. package/dist/{logger-BZPV1wv8.mjs → logger-DFxEUjvj.mjs} +2 -2
  301. package/dist/ls-KSXFZCWH-C_kbnNdU.mjs +1 -0
  302. package/dist/ls-KSXFZCWH-GOWXktO9.mjs +28 -0
  303. package/dist/{lzma-Dh_aFpqW.mjs → lzma-CD6C2vYw.mjs} +1 -1
  304. package/dist/lzma-CG6o9sq-.mjs +2 -0
  305. package/dist/{map-CFzSl60r.mjs → map-bDB3k8vA.mjs} +2 -2
  306. package/dist/md-manager-BbSzMHHE.mjs +2 -0
  307. package/dist/md5sum-INMIK4DX-BlgGpdCD.mjs +2 -0
  308. package/dist/md5sum-INMIK4DX-DGvi_A-E.mjs +1 -0
  309. package/dist/{mermaid-parser.core-DejmtVwC.mjs → mermaid-parser.core-uwQfwzUX.mjs} +2 -2
  310. package/dist/{mermaid.core-CB8v9A8r.mjs → mermaid.core-BgpKViY0.mjs} +3 -3
  311. package/dist/{mindmap-definition-LN4V7U3C-BiYp6fzL.mjs → mindmap-definition-LN4V7U3C-H3p7uT-G.mjs} +2 -2
  312. package/dist/mkdir-TDEMSB6C-BVcgITXm.mjs +7 -0
  313. package/dist/mkdir-TDEMSB6C-CMOt1jIT.mjs +1 -0
  314. package/dist/mv-Z6MORUFL-CqyCV_Ze.mjs +1 -0
  315. package/dist/mv-Z6MORUFL-El0zMsEA.mjs +7 -0
  316. package/dist/{nl-U5YJDM32-CrNZhLtI.mjs → nl-U5YJDM32-BO1kUpkn.mjs} +1 -1
  317. package/dist/nl-U5YJDM32-Y_hGSMac.mjs +17 -0
  318. package/dist/od-VJEF2UR5-CueTpZ68.mjs +5 -0
  319. package/dist/{od-VJEF2UR5-5RFpmlxK.mjs → od-VJEF2UR5-DxUGtlve.mjs} +1 -1
  320. package/dist/{open-browser-CxnOIVsL.mjs → open-browser-BgReR_t5.mjs} +2 -2
  321. package/dist/{ordinal-D5S_JXYv.mjs → ordinal-BFK2XMXf.mjs} +2 -2
  322. package/dist/packet-7NZHBO7P-B64OS2eJ.mjs +1 -0
  323. package/dist/parse-worker.d.mts +6626 -1
  324. package/dist/parse-worker.mjs +1 -1
  325. package/dist/paste-7N6AFSDS-BJHZcYXH.mjs +1 -0
  326. package/dist/paste-7N6AFSDS-BnqApCW_.mjs +8 -0
  327. package/dist/{path-D4ahAhVD.mjs → path-CIoCsClp.mjs} +1 -1
  328. package/dist/{pegDiagram-2B236MQR-DMP1ng8V.mjs → pegDiagram-2B236MQR-PBU61CXk.mjs} +2 -2
  329. package/dist/pie-RZYD4A2V-B313HDTA.mjs +1 -0
  330. package/dist/{pieDiagram-ENE6RG2P-CSKXRjGQ.mjs → pieDiagram-ENE6RG2P-ClZWrO6e.mjs} +2 -2
  331. package/dist/{preview-2rQXoRuM.mjs → preview-CdESX2Ja.mjs} +2 -2
  332. package/dist/preview-gKyXf1a0.mjs +1 -0
  333. package/dist/printf-CX64KX2P-841sNxew.mjs +1 -0
  334. package/dist/printf-CX64KX2P-B_vWcqAL.mjs +15 -0
  335. package/dist/public/assets/FeedbackForm-C_A-lpjC.js +1 -0
  336. package/dist/public/assets/{SessionsHost-BobZkNwc.js → SessionsHost-BRUQMi7f.js} +2 -2
  337. package/dist/public/assets/{TerminalWindowApp-CgWp2eC-.js → TerminalWindowApp-CFxcrkfe.js} +1 -1
  338. package/dist/public/assets/ThreadView-CAGruMiN.js +10 -0
  339. package/dist/public/assets/{follow-file-CWSsUd-S.js → follow-file-BymUhAtT.js} +1 -1
  340. package/dist/public/assets/{index-Dmlpu4P1.js → index-B-snLDY1.js} +7 -7
  341. package/dist/public/index.html +2 -2
  342. package/dist/pwd-D4OZ7N27-C41v1g3B.mjs +1 -0
  343. package/dist/pwd-D4OZ7N27-NYST_A3S.mjs +3 -0
  344. package/dist/python3-DNGS4G3E-DaBJervu.mjs +12 -0
  345. package/dist/{python3-DNGS4G3E-BZ5fPY5e.mjs → python3-DNGS4G3E-OzxoFG34.mjs} +2 -2
  346. package/dist/{quadrantDiagram-ABIIQ3AL-Do93EPf_.mjs → quadrantDiagram-ABIIQ3AL-Z4PbVL1N.mjs} +2 -2
  347. package/dist/radar-I7S5WNFK-BdiwGd2_.mjs +1 -0
  348. package/dist/railroad-3IZDKUUU-O4nBw7jb.mjs +1 -0
  349. package/dist/railroad-abnf-AHOZXSZD-CDaO5Dcu.mjs +1 -0
  350. package/dist/railroad-ebnf-EBAXGLYW-CS4l_gpR.mjs +1 -0
  351. package/dist/railroad-peg-LSFZ7HO6-bbLhALeS.mjs +1 -0
  352. package/dist/{railroadDiagram-RFXS5EU6-BBHONGQu.mjs → railroadDiagram-RFXS5EU6-ZSRYpY_p.mjs} +2 -2
  353. package/dist/readlink-MI4GCHJF-CQlQ03aa.mjs +1 -0
  354. package/dist/readlink-MI4GCHJF-Dl1Uxmrf.mjs +6 -0
  355. package/dist/{repair-launch-json-Cq9ghST3.mjs → repair-launch-json-DwJ_yLw4.mjs} +2 -2
  356. package/dist/{repair-mcp-configs-DY0FS2-y.mjs → repair-mcp-configs-Q1hO02co.mjs} +2 -2
  357. package/dist/{repair-skills-CkZZbtNk.mjs → repair-skills-DADI6iaT.mjs} +2 -2
  358. package/dist/repair-skills-DKwDAoHc.mjs +1 -0
  359. package/dist/{requirementDiagram-TGXJPOKE-CAGy_wFo.mjs → requirementDiagram-TGXJPOKE-H6OWjjJE.mjs} +2 -2
  360. package/dist/{rev-XOSYPP45-G2PvMYC2.mjs → rev-XOSYPP45-BYe7prl1.mjs} +1 -1
  361. package/dist/rev-XOSYPP45-D6eJxPKd.mjs +7 -0
  362. package/dist/rg-XNF3R3II-CmxxmmUf.mjs +1 -0
  363. package/dist/rg-XNF3R3II-vKB7djPZ.mjs +33 -0
  364. package/dist/rm-RTZG23RL-Bl5s9ltJ.mjs +1 -0
  365. package/dist/rm-RTZG23RL-sCMTtbxP.mjs +8 -0
  366. package/dist/rmdir-XTQXT7RK-C1ccje2_.mjs +1 -0
  367. package/dist/rmdir-XTQXT7RK-DZfv6Zfz.mjs +14 -0
  368. package/dist/{rough.cjs-LxmwwhvT.mjs → rough.cjs-BGkc0Naf.mjs} +1 -1
  369. package/dist/{sankeyDiagram-HTMAVEWB-B59ayZ_U.mjs → sankeyDiagram-HTMAVEWB-CtBVJJox.mjs} +2 -2
  370. package/dist/sed-JAPPVBEU-C7wh6RxT.mjs +100 -0
  371. package/dist/{sed-JAPPVBEU-BUaK4riL.mjs → sed-JAPPVBEU-D9bYEx2I.mjs} +1 -1
  372. package/dist/seq-RN5ZUASB-CFySG-xk.mjs +1 -0
  373. package/dist/seq-RN5ZUASB-R5HjEVux.mjs +7 -0
  374. package/dist/{sequenceDiagram-DBY2YBRQ-BqY5gm2k.mjs → sequenceDiagram-DBY2YBRQ-DDLm4Ak_.mjs} +2 -2
  375. package/dist/server-lock-U8YDpJpq.mjs +1 -0
  376. package/dist/{server-lock-BleUv9m0.mjs → server-lock-aXnDVUI8.mjs} +2 -2
  377. package/dist/sha1sum-VJPNLNU6-DfzpfxJ-.mjs +2 -0
  378. package/dist/sha1sum-VJPNLNU6-DgLJCjAg.mjs +1 -0
  379. package/dist/sha256sum-PI32XWXY-DZ42pgY3.mjs +1 -0
  380. package/dist/sha256sum-PI32XWXY-DrKtnAPK.mjs +2 -0
  381. package/dist/{sizeCapture-X5ZJPWSS-D7Nqbe-W.mjs → sizeCapture-X5ZJPWSS-Izaz24Pi.mjs} +2 -2
  382. package/dist/{skill-teardown-CZnemDLF.mjs → skill-teardown-onVYT1VF.mjs} +2 -2
  383. package/dist/{sleep-VZFPZFWA-DcISab6N.mjs → sleep-VZFPZFWA-5fZFI3Vy.mjs} +1 -1
  384. package/dist/sleep-VZFPZFWA-CBARUnrz.mjs +10 -0
  385. package/dist/sort-DCNRDA7U-RFl0HYBr.mjs +1 -0
  386. package/dist/sort-DCNRDA7U-vT57Mw8o.mjs +16 -0
  387. package/dist/{split-SITCSYCZ-D4U2N_sH.mjs → split-SITCSYCZ-BdATfTxU.mjs} +1 -1
  388. package/dist/split-SITCSYCZ-Ci_IfVPT.mjs +17 -0
  389. package/dist/{sqlite3-TE5AIOTF-DcjYN7WW.mjs → sqlite3-TE5AIOTF-BIRMe0xz.mjs} +1 -1
  390. package/dist/sqlite3-TE5AIOTF-BhXSdz7U.mjs +37 -0
  391. package/dist/{src-BuBt_xnY.mjs → src-BPVU4Y0o.mjs} +2 -2
  392. package/dist/src-BgeIHNkQ.mjs +1 -0
  393. package/dist/src-DNPRz0-U.mjs +20 -0
  394. package/dist/{src-9I3GiOoK.mjs → src-Dt5dAyFQ.mjs} +378 -378
  395. package/dist/{src-9BFQh559.mjs → src-TKCctdpc.mjs} +123 -123
  396. package/dist/{src-h5dDPK2z.mjs → src-cRpQSbXB.mjs} +1 -1
  397. package/dist/start-CWIlNpAT.mjs +1 -0
  398. package/dist/{start-C4KuZHu5.mjs → start-DRG6a2sz.mjs} +3 -3
  399. package/dist/stat-BT5A227F-CEZPXJ9_.mjs +9 -0
  400. package/dist/stat-BT5A227F-Dd-OyLQQ.mjs +1 -0
  401. package/dist/{stateDiagram-2N3HPSRC-BD1FBZi9.mjs → stateDiagram-2N3HPSRC-pAn2bDnn.mjs} +2 -2
  402. package/dist/stateDiagram-v2-6OUMAXLB-DCmVVpGm.mjs +2 -0
  403. package/dist/strings-7PLOGTPD-CiVw0Uh4.mjs +14 -0
  404. package/dist/strings-7PLOGTPD-v3qEuUEm.mjs +1 -0
  405. package/dist/{swimlanes-5IMT3BWC-D2eO0gTx.mjs → swimlanes-5IMT3BWC-nSsjdSnj.mjs} +2 -2
  406. package/dist/swimlanesDiagram-G3AALYLV-CdQlHesp.mjs +9 -0
  407. package/dist/tac-SJGXQ4T2-BL4Xd7y6.mjs +9 -0
  408. package/dist/{tac-SJGXQ4T2-D-bfDFKg.mjs → tac-SJGXQ4T2-DphHfCAY.mjs} +1 -1
  409. package/dist/tail-S5ULNTJU-Cfa1pDQZ.mjs +2 -0
  410. package/dist/tail-S5ULNTJU-D6qRQZwV.mjs +1 -0
  411. package/dist/tar-MZQD7NO4-HJsWmzu9.mjs +63 -0
  412. package/dist/{tar-MZQD7NO4-Cx5bpVMY.mjs → tar-MZQD7NO4-oAQoyk28.mjs} +1 -1
  413. package/dist/tee-O7VXZDCO-D95l5L5Z.mjs +3 -0
  414. package/dist/tee-O7VXZDCO-odVO6Wjw.mjs +1 -0
  415. package/dist/time-DEUO3QV2-CviQF55F.mjs +1 -0
  416. package/dist/time-DEUO3QV2-DwnT4FOS.mjs +14 -0
  417. package/dist/{timeline-definition-FHXFAJF6-DZHpuaV_.mjs → timeline-definition-FHXFAJF6-CnTXJoEq.mjs} +2 -2
  418. package/dist/timeout-VRKMCG72-DFU5EkCe.mjs +12 -0
  419. package/dist/{timeout-VRKMCG72-DaJVXXR3.mjs → timeout-VRKMCG72-jeMAkAMc.mjs} +1 -1
  420. package/dist/touch-DX2IJOQ4-CRX6GYeb.mjs +7 -0
  421. package/dist/touch-DX2IJOQ4-CyiMRd7b.mjs +1 -0
  422. package/dist/tr-2HXZRDSW-ByYmbFae.mjs +21 -0
  423. package/dist/tr-2HXZRDSW-CCce6lU_.mjs +1 -0
  424. package/dist/tree-LYXBS7DC-Dq6aWetx.mjs +12 -0
  425. package/dist/tree-LYXBS7DC-pAC77Hbt.mjs +1 -0
  426. package/dist/treeView-QDETBFTQ-BCAjffnq.mjs +1 -0
  427. package/dist/treemap-6X3UGDF4-Dv-54pyt.mjs +1 -0
  428. package/dist/true-WHJNXCHG-Dzdq7R5f.mjs +1 -0
  429. package/dist/true-WHJNXCHG-XC4ZnbBw.mjs +2 -0
  430. package/dist/unexpand-RGTMIGZM-B06mOUPB.mjs +1 -0
  431. package/dist/unexpand-RGTMIGZM-BL5sZ5_Z.mjs +11 -0
  432. package/dist/uniq-SUNANL47-BIgIOFSf.mjs +1 -0
  433. package/dist/uniq-SUNANL47-DBRSkw7j.mjs +5 -0
  434. package/dist/{vennDiagram-L72KCM5P-CGoW4QcS.mjs → vennDiagram-L72KCM5P-CqTzYRfa.mjs} +2 -2
  435. package/dist/wardley-OPB4EBWU-DSvo57UC.mjs +1 -0
  436. package/dist/{wardleyDiagram-EHGQE667-DHS8jBWZ.mjs → wardleyDiagram-EHGQE667-WhxG-nRT.mjs} +2 -2
  437. package/dist/wc-TQB3VNOX-9RyJlZXB.mjs +1 -0
  438. package/dist/wc-TQB3VNOX-DqHFY4jy.mjs +6 -0
  439. package/dist/which-XZHEH76L-CbmRVw8E.mjs +3 -0
  440. package/dist/which-XZHEH76L-SMFjHhz2.mjs +1 -0
  441. package/dist/whoami-DGKU3D2X-BDJh39KM.mjs +3 -0
  442. package/dist/whoami-DGKU3D2X-BIUooLXE.mjs +1 -0
  443. package/dist/{write-project-skill-WXZSbQlg.mjs → write-project-skill-DOogyZge.mjs} +4 -4
  444. package/dist/xan-UD7JYIL2-DAuAMQ0H.mjs +1 -0
  445. package/dist/xan-UD7JYIL2-DQo9f-1a.mjs +140 -0
  446. package/dist/xan-view-OW2TB7Z3-BhVOL6hm.mjs +1 -0
  447. package/dist/xan-view-OW2TB7Z3-CwG0zS53.mjs +1 -0
  448. package/dist/xargs-I6EZUCYF-C_ZtmUCd.mjs +5 -0
  449. package/dist/xargs-I6EZUCYF-INAdKqnR.mjs +1 -0
  450. package/dist/{xychartDiagram-FW5EYKEG-CG0DSvm_.mjs → xychartDiagram-FW5EYKEG-DDE7TRrw.mjs} +2 -2
  451. package/dist/yazl-BlMyAOcT.mjs +2 -0
  452. package/dist/yq-OAKYHSXH-C1fFFHD4.mjs +1 -0
  453. package/dist/yq-OAKYHSXH-COzSqY4J.mjs +288 -0
  454. package/package.json +7 -6
  455. package/dist/alias-JE7RI5QX-BfILuEvo.mjs +0 -1
  456. package/dist/architecture-TIHT7OUA-CScIhnar.mjs +0 -1
  457. package/dist/bash-IJWYRKFO-DKUaUgF9.mjs +0 -1
  458. package/dist/channel-DRk0OEK0.mjs +0 -2
  459. package/dist/chunk-VAUOI2AC-Ds6ZNp2p.mjs +0 -2
  460. package/dist/chunk-XXDRQBXY-BvbdToKZ.mjs +0 -2
  461. package/dist/classDiagram-OUVF2IWQ-rKP7gcsT.mjs +0 -2
  462. package/dist/classDiagram-v2-EOCWNBFH-BoWf4tYI.mjs +0 -2
  463. package/dist/constants-J4-mibQ1.mjs +0 -2
  464. package/dist/cynefin-VYW2F7L2-DtazLHUs.mjs +0 -1
  465. package/dist/diff-HJF2MPDN-bcOaHvDo.mjs +0 -1
  466. package/dist/echo-O45JWWI2-BacOdfFs.mjs +0 -1
  467. package/dist/env-5EPCWSXR-T8XCKOX_.mjs +0 -1
  468. package/dist/eventmodeling-45OFAUF4-BIXp-P6z.mjs +0 -1
  469. package/dist/expr-YYCVMXE3-CgQib9F9.mjs +0 -1
  470. package/dist/find-DH2ALKQS-z-G7VPmU.mjs +0 -1
  471. package/dist/flag-coverage-6JEX67RU-Cj_NycUm.mjs +0 -2
  472. package/dist/flowDiagram-23GEKE2U-B4VrCGdr.mjs +0 -1
  473. package/dist/fs-traced-CkLhqsEn.mjs +0 -1
  474. package/dist/git-handle-BDmbIWwd.mjs +0 -1
  475. package/dist/gitGraph-TEB2WS4Q-BaTdqV7-.mjs +0 -1
  476. package/dist/grep-2HUTXO5U-CsEE08ya.mjs +0 -1
  477. package/dist/gzip-AQXSGOVS-CmMf6H0r.mjs +0 -1
  478. package/dist/help-VVWX7SA5-BncYWg0B.mjs +0 -1
  479. package/dist/history-J4QRNGRO-CULSDkzp.mjs +0 -1
  480. package/dist/html-to-markdown-TFCECAGV-CF0t8_d3.mjs +0 -1
  481. package/dist/index-1MIt1xrM.d.mts +0 -6628
  482. package/dist/info-DKCQHKI2-BxlpeeVn.mjs +0 -1
  483. package/dist/init-DDwncQha.mjs +0 -1
  484. package/dist/jq-LYZFFBZB-CIwp4u6h.mjs +0 -1
  485. package/dist/loader-BcwbnY_K.mjs +0 -1
  486. package/dist/ls-KSXFZCWH-BEv3e7-2.mjs +0 -1
  487. package/dist/md-manager-B4-M0hXs.mjs +0 -2
  488. package/dist/md5sum-INMIK4DX-CJ1G9gTe.mjs +0 -1
  489. package/dist/mkdir-TDEMSB6C-BY7IIkok.mjs +0 -1
  490. package/dist/mv-Z6MORUFL-C4m2WG8E.mjs +0 -1
  491. package/dist/packet-7NZHBO7P-DJoR1MQJ.mjs +0 -1
  492. package/dist/paste-7N6AFSDS-DQNANxpk.mjs +0 -1
  493. package/dist/pie-RZYD4A2V-Ba8iL0H-.mjs +0 -1
  494. package/dist/preview-MV-qHfzy.mjs +0 -1
  495. package/dist/printf-CX64KX2P-CKuJk-Cs.mjs +0 -1
  496. package/dist/public/assets/FeedbackForm-CmdTz11F.js +0 -1
  497. package/dist/public/assets/ThreadView-VqdgemBS.js +0 -10
  498. package/dist/pwd-D4OZ7N27-CSTLotxZ.mjs +0 -1
  499. package/dist/radar-I7S5WNFK-HP72Fmhl.mjs +0 -1
  500. package/dist/railroad-3IZDKUUU-DC3PWo_6.mjs +0 -1
  501. package/dist/railroad-abnf-AHOZXSZD-Vgpa9_KI.mjs +0 -1
  502. package/dist/railroad-ebnf-EBAXGLYW-B4SmMMsT.mjs +0 -1
  503. package/dist/railroad-peg-LSFZ7HO6-DLlDiUuB.mjs +0 -1
  504. package/dist/readlink-MI4GCHJF-V9fwXBrg.mjs +0 -1
  505. package/dist/repair-skills-l9Id0gzv.mjs +0 -1
  506. package/dist/rg-XNF3R3II-CuFYIwNn.mjs +0 -1
  507. package/dist/rm-RTZG23RL-BOvMrhon.mjs +0 -1
  508. package/dist/rmdir-XTQXT7RK-Dk19R-p8.mjs +0 -1
  509. package/dist/seq-RN5ZUASB-D5aLn_so.mjs +0 -1
  510. package/dist/server-lock-uucDARDL.mjs +0 -1
  511. package/dist/sha1sum-VJPNLNU6-DnTKth9v.mjs +0 -1
  512. package/dist/sha256sum-PI32XWXY-Z-xtGDHc.mjs +0 -1
  513. package/dist/sort-DCNRDA7U-C1gRzOOY.mjs +0 -1
  514. package/dist/src-Dl8P6sfz.mjs +0 -20
  515. package/dist/start-BYY0acPS.mjs +0 -1
  516. package/dist/stat-BT5A227F-B4qwqNn_.mjs +0 -1
  517. package/dist/stateDiagram-v2-6OUMAXLB-CqmBRdZY.mjs +0 -2
  518. package/dist/strings-7PLOGTPD-BJ6vWsQi.mjs +0 -1
  519. package/dist/swimlanesDiagram-G3AALYLV-BiRCZWbo.mjs +0 -9
  520. package/dist/tail-S5ULNTJU-CWnyTuXg.mjs +0 -1
  521. package/dist/tee-O7VXZDCO-B_duU1hV.mjs +0 -1
  522. package/dist/time-DEUO3QV2-CekCKA2I.mjs +0 -1
  523. package/dist/touch-DX2IJOQ4-CZteiICw.mjs +0 -1
  524. package/dist/tr-2HXZRDSW-D4XuTGWg.mjs +0 -1
  525. package/dist/tree-LYXBS7DC-CUIzQKTG.mjs +0 -1
  526. package/dist/treeView-QDETBFTQ-C9yOsbGY.mjs +0 -1
  527. package/dist/treemap-6X3UGDF4-iowse2nY.mjs +0 -1
  528. package/dist/true-WHJNXCHG-BzxCUQFd.mjs +0 -1
  529. package/dist/unexpand-RGTMIGZM-x3XCmR3I.mjs +0 -1
  530. package/dist/uniq-SUNANL47-DpupkNiO.mjs +0 -1
  531. package/dist/wardley-OPB4EBWU-BL1Dan_S.mjs +0 -1
  532. package/dist/wc-TQB3VNOX-D8llmcL9.mjs +0 -1
  533. package/dist/which-XZHEH76L-imZgNd5x.mjs +0 -1
  534. package/dist/whoami-DGKU3D2X-CzLNG51j.mjs +0 -1
  535. package/dist/xan-UD7JYIL2-_38Iv1cI.mjs +0 -1
  536. package/dist/xan-view-OW2TB7Z3-RT-IKMgr.mjs +0 -1
  537. package/dist/xargs-I6EZUCYF-Bu8VhXV_.mjs +0 -1
  538. package/dist/yq-OAKYHSXH-BcCBaLJN.mjs +0 -1
  539. /package/dist/{expansion-VBDYWVZR-CeY6vkty.mjs → expansion-VBDYWVZR-CpX0YZMb.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import{o as e}from"./chunk-DTipWd-i.mjs";import{n as t}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import"./src-BuBt_xnY.mjs";import{H as n,K as r,U as i,a,c as o,s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-Cg1RXhAT.mjs";import{p as f}from"./chunk-ICXQ74PX-CewdqzeE.mjs";import{t as p}from"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import{t as m}from"./rough.cjs-LxmwwhvT.mjs";var h=e(m(),1),g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},e(o,[2,3]),{1:[2,2]},e(o,[2,4]),e(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},e(d,[2,14],{7:f,11:p}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(u,[2,15]),e(d,[2,13],{7:f,11:p}),e(m,[2,11]),e(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{o as e}from"./chunk-DTipWd-i.mjs";import{n as t}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import"./src-BPVU4Y0o.mjs";import{H as n,K as r,U as i,a,c as o,s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-DN1R0VLx.mjs";import{p as f}from"./chunk-ICXQ74PX-DbJy3VdO.mjs";import{t as p}from"./chunk-VAUOI2AC-BdotBBDE.mjs";import{t as m}from"./rough.cjs-BGkc0Naf.mjs";var h=e(m(),1),g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,14],i=[1,12],a=[1,13],o=[6,7,8],s=[1,20],c=[1,18],l=[1,19],u=[6,7,11],d=[1,6,13,14],f=[1,23],p=[1,24],m=[1,6,7,11,13,14],h={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`ISHIKAWA`,11:`EOF`,13:`SPACELIST`,14:`TEXT`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 15:r.addNode(a[s-1].length,a[s].trim());break;case 16:r.addNode(0,a[s].trim());break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:a},e(o,[2,3]),{1:[2,2]},e(o,[2,4]),e(o,[2,5]),{1:[2,6],6:r,12:15,13:i,14:a},{6:r,9:16,12:11,13:i,14:a},{6:s,7:c,10:17,11:l},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:s,7:c,10:22,11:l},{1:[2,7],6:r,12:15,13:i,14:a},e(d,[2,14],{7:f,11:p}),e(m,[2,8]),e(m,[2,9]),e(m,[2,10]),e(u,[2,15]),e(d,[2,13],{7:f,11:p}),e(m,[2,11]),e(m,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};h.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:t(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:t(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:t(function(){return this._more=!0,this},`more`),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:t(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -68,4 +68,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
68
68
  dominant-baseline: hanging;
69
69
  }
70
70
  `,`getStyles`)};export{B as diagram};
71
- //# sourceMappingURL=ishikawaDiagram-FXEZZL3T-Dd5BEpOv.mjs.map
71
+ //# sourceMappingURL=ishikawaDiagram-FXEZZL3T-CzHEtbdq.mjs.map
@@ -0,0 +1,14 @@
1
+ import"./chunk-DXB73IDG-BBwE27jK.mjs";import{n as e,r as t,t as n}from"./chunk-74CEPOFO-BYrCYxKO.mjs";var r={name:`join`,summary:`join lines of two files on a common field`,usage:`join [OPTION]... FILE1 FILE2`,description:`For each pair of input lines with identical join fields, write a line to standard output. The default join field is the first, delimited by blanks.`,options:[`-1 FIELD Join on this FIELD of file 1 (default: 1)`,`-2 FIELD Join on this FIELD of file 2 (default: 1)`,`-t CHAR Use CHAR as input and output field separator`,`-a FILENUM Also print unpairable lines from file FILENUM (1 or 2)`,`-v FILENUM Like -a but only output unpairable lines`,`-e STRING Replace missing fields with STRING`,`-o FORMAT Output format (comma-separated list of FILENUM.FIELD)`,`-i Ignore case when comparing fields`],examples:[`join file1 file2 # Join on first field`,`join -1 2 -2 1 file1 file2 # Join file1 col 2 with file2 col 1`,`join -t ',' file1.csv file2.csv # Join CSV files`,`join -a 1 file1 file2 # Left outer join`]};function i(e,t){return t?e.split(t):e.split(/[ \t]+/).filter(e=>e.length>0)}function a(e,t,n,r){let a=i(e,t),o=a[n-1]??``;return r&&(o=o.toLowerCase()),{fields:a,joinKey:o,original:e}}function o(e,t,n){let r=n.separator??` `;if(n.outputFormat){let i=[];for(let{file:r,field:a}of n.outputFormat){let o=r===1?e:t;o&&a===0?i.push(o.joinKey):o&&o.fields[a-1]!==void 0?i.push(o.fields[a-1]):i.push(n.emptyString)}return i.join(r)}let i=[],a=e?.joinKey??t?.joinKey??``;if(i.push(a),e)for(let t=0;t<e.fields.length;t++)t!==n.field1-1&&i.push(e.fields[t]);if(t)for(let e=0;e<t.fields.length;e++)e!==n.field2-1&&i.push(t.fields[e]);return i.join(r)}function s(e){let t=e.split(`,`),n=[];for(let e of t){let t=e.trim().match(/^(\d+)\.(\d+)$/);if(!t)return null;let r=Number.parseInt(t[1],10),i=Number.parseInt(t[2],10);if(r!==1&&r!==2)return null;n.push({file:r,field:i})}return n}var c={name:`join`,execute:async(i,c)=>{if(n(i))return t(r);let l={field1:1,field2:1,separator:null,printUnpairable:new Set,onlyUnpairable:new Set,emptyString:``,outputFormat:null,ignoreCase:!1},u=[],d=0;for(;d<i.length;){let t=i[d];if(t===`-1`&&d+1<i.length){let e=Number.parseInt(i[d+1],10);if(Number.isNaN(e)||e<1)return{exitCode:1,stdout:``,stderr:`join: invalid field number: '${i[d+1]}'
2
+ `};l.field1=e,d+=2}else if(t===`-2`&&d+1<i.length){let e=Number.parseInt(i[d+1],10);if(Number.isNaN(e)||e<1)return{exitCode:1,stdout:``,stderr:`join: invalid field number: '${i[d+1]}'
3
+ `};l.field2=e,d+=2}else if((t===`-t`||t===`--field-separator`)&&d+1<i.length)l.separator=i[d+1],d+=2;else if(t.startsWith(`-t`)&&t.length>2)l.separator=t.slice(2),d++;else if(t===`-a`&&d+1<i.length){let e=Number.parseInt(i[d+1],10);if(e!==1&&e!==2)return{exitCode:1,stdout:``,stderr:`join: invalid file number: '${i[d+1]}'
4
+ `};l.printUnpairable.add(e),d+=2}else if(t.match(/^-a[12]$/))l.printUnpairable.add(Number.parseInt(t[2],10)),d++;else if(t===`-v`&&d+1<i.length){let e=Number.parseInt(i[d+1],10);if(e!==1&&e!==2)return{exitCode:1,stdout:``,stderr:`join: invalid file number: '${i[d+1]}'
5
+ `};l.onlyUnpairable.add(e),d+=2}else if(t.match(/^-v[12]$/))l.onlyUnpairable.add(Number.parseInt(t[2],10)),d++;else if(t===`-e`&&d+1<i.length)l.emptyString=i[d+1],d+=2;else if(t===`-o`&&d+1<i.length){let e=s(i[d+1]);if(!e)return{exitCode:1,stdout:``,stderr:`join: invalid field spec: '${i[d+1]}'
6
+ `};l.outputFormat=e,d+=2}else if(t===`-i`||t===`--ignore-case`)l.ignoreCase=!0,d++;else if(t===`--`){u.push(...i.slice(d+1));break}else{if(t.startsWith(`-`)&&t!==`-`)return e(`join`,t);u.push(t),d++}}if(u.length!==2)return{exitCode:1,stdout:``,stderr:u.length<2?`join: missing file operand
7
+ `:`join: extra operand
8
+ `};let f=[];for(let e of u)if(e===`-`)f.push(c.stdin??``);else{let t=c.fs.resolvePath(c.cwd,e),n=await c.fs.readFile(t);if(n===null)return{exitCode:1,stdout:``,stderr:`join: ${e}: No such file or directory
9
+ `};f.push(n)}let p=(e,t)=>{let n=e.split(`
10
+ `);return e.endsWith(`
11
+ `)&&n[n.length-1]===``&&n.pop(),n.filter(e=>e.length>0).map(e=>a(e,l.separator,t,l.ignoreCase))},m=p(f[0],l.field1),h=p(f[1],l.field2),g=new Map;for(let e of h){let t=g.get(e.joinKey);t?t.push(e):g.set(e.joinKey,[e])}let _=[],v=new Set;for(let e of m){let t=g.get(e.joinKey);if(t&&t.length>0){if(v.add(e.joinKey),l.onlyUnpairable.size===0)for(let n of t)_.push(o(e,n,l))}else (l.printUnpairable.has(1)||l.onlyUnpairable.has(1))&&_.push(o(e,null,l))}if(l.printUnpairable.has(2)||l.onlyUnpairable.has(2))for(let e of h)v.has(e.joinKey)||_.push(o(null,e,l));return{exitCode:0,stdout:_.length>0?`${_.join(`
12
+ `)}
13
+ `:``,stderr:``}}};export{c as join};
14
+ //# sourceMappingURL=join-GG2LDHE5-7k4Syl20.mjs.map
@@ -1 +1 @@
1
- import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-A7ICOL4V-CzYDHdxM.mjs";export{e as join};
1
+ import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-A7ICOL4V-BQZ9JZ1A.mjs";export{e as join};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{p as t}from"./src-BuBt_xnY.mjs";import{H as n,K as r,U as i,a,c as o,v as s,w as c,x as l,y as u}from"./chunk-WYO6CB5R-Cg1RXhAT.mjs";import{t as d}from"./arc-CO8jsQkL.mjs";import{t as f}from"./chunk-5VM5RSS4-COK1ErrI.mjs";import{a as p,n as m,o as h,s as g}from"./chunk-32BRIVSS-ok2xg0Je.mjs";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import{p as t}from"./src-BPVU4Y0o.mjs";import{H as n,K as r,U as i,a,c as o,v as s,w as c,x as l,y as u}from"./chunk-WYO6CB5R-DN1R0VLx.mjs";import{t as d}from"./arc-DXUbbcxK.mjs";import{t as f}from"./chunk-5VM5RSS4-C8vNNqW0.mjs";import{a as p,n as m,o as h,s as g}from"./chunk-32BRIVSS-Dwq69mnI.mjs";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,11,12,14,16,17,18],r=[1,9],i=[1,10],a=[1,11],o=[1,12],s=[1,13],c=[1,14],l={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:`error`,4:`journey`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,11:`title`,12:`acc_title`,13:`acc_title_value`,14:`acc_descr`,15:`acc_descr_value`,16:`acc_descr_multiline_value`,17:`section`,18:`taskName`,19:`taskData`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:r.addTask(a[s-1],a[s]),this.$=`task`;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:15,11:r,12:i,14:a,16:o,17:s,18:c},t(n,[2,5]),t(n,[2,6]),t(n,[2,8]),{13:[1,16]},{15:[1,17]},t(n,[2,11]),t(n,[2,12]),{19:[1,18]},t(n,[2,4]),t(n,[2,9]),t(n,[2,10]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};l.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -137,4 +137,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
137
137
  }
138
138
  ${f()}
139
139
  `,`getStyles`),N=e(function(e,t){return p(e,t)},`drawRect`),P=e(function(t,n){let r=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),i=t.append(`g`);i.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),i.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function a(e){let t=d().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}e(a,`smile`);function o(e){let t=d().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}e(o,`sad`);function s(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return e(s,`ambivalent`),n.score>3?a(i):n.score<3?o(i):s(i),r},`drawFace`),F=e(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),I=e(function(e,t){return h(e,t)},`drawText`),L=e(function(t,n){function r(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}e(r,`genPoints`);let i=t.append(`polygon`);i.attr(`points`,r(n.x,n.y,50,20,7)),i.attr(`class`,`labelBox`),n.y+=n.labelMargin,n.x+=.5*n.labelMargin,I(t,n)},`drawLabel`),R=e(function(e,t,n){let r=e.append(`g`),i=g();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width*t.taskCount+n.diagramMarginX*(t.taskCount-1),i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,N(r,i),H(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),z=-1,B=e(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);z++,a.append(`line`).attr(`id`,r+`-task`+z).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),P(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=g();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,N(a,o);let s=t.x+14;t.people.forEach(e=>{let n=t.actors[e].color;F(a,{cx:s,cy:t.y,r:7,fill:n,stroke:`#000`,title:e,pos:t.actors[e].position}),s+=10}),H(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),V=e(function(e,t){m(e,t)},`drawBackgroundRect`),H=(function(){function t(e,t,n,r,a,o,s,c){i(t.append(`text`).attr(`x`,n+a/2).attr(`y`,r+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}e(t,`byText`);function n(e,t,n,r,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,r).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,r+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),i(p,s)}}e(n,`byTspan`);function r(e,t,r,a,o,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,a,o,s,c,l),i(d,c)}e(r,`byFo`);function i(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return e(i,`_setTextAttrs`),function(e){return e.textPlacement===`fo`?r:e.textPlacement===`old`?t:n}})(),U={drawRect:N,drawCircle:F,drawSection:R,drawText:I,drawLabel:L,drawTask:B,drawBackgroundRect:V,initGraphics:e(function(e,t){z=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`)},W=e(function(e){Object.keys(e).forEach(function(t){J[t]=e[t]})},`setConf`),G={},K=0;function q(e){let t=l().journey,n=t.maxLabelWidth;K=0;let r=60;Object.keys(G).forEach(i=>{let a=G[i].color,o={cx:20,cy:r,r:7,fill:a,stroke:`#000`,pos:G[i].position};U.drawCircle(e,o);let s=e.append(`text`).attr(`visibility`,`hidden`).text(i),c=s.node().getBoundingClientRect().width;s.remove();let l=[];if(c<=n)l=[i];else{let t=i.split(` `),r=``;s=e.append(`text`).attr(`visibility`,`hidden`),t.forEach(e=>{let t=r?`${r} ${e}`:e;if(s.text(t),s.node().getBoundingClientRect().width>n){if(r&&l.push(r),r=e,s.text(e),s.node().getBoundingClientRect().width>n){let t=``;for(let r of e)t+=r,s.text(t+`-`),s.node().getBoundingClientRect().width>n&&(l.push(t.slice(0,-1)+`-`),t=r);r=t}}else r=t}),r&&l.push(r),s.remove()}l.forEach((n,i)=>{let a={x:40,y:r+7+i*20,fill:`#666`,text:n,textMargin:t.boxTextMargin??5},o=U.drawText(e,a).node().getBoundingClientRect().width;o>K&&o>t.leftMargin-o&&(K=o)}),r+=Math.max(20,l.length*20)})}e(q,`drawActorLegend`);var J=l().journey,Y=0,ee=e(function(e,n,r,i){let a=l(),s=a.journey.titleColor,c=a.journey.titleFontSize,u=a.journey.titleFontFamily,d=a.securityLevel,f;d===`sandbox`&&(f=t(`#i`+n));let p=t(d===`sandbox`?f.nodes()[0].contentDocument.body:`body`);X.init();let m=p.select(`#`+n);U.initGraphics(m,n);let h=i.db.getTasks(),g=i.db.getDiagramTitle(),_=i.db.getActors();for(let e in G)delete G[e];let v=0;_.forEach(e=>{G[e]={color:J.actorColours[v%J.actorColours.length],position:v},v++}),q(m),Y=J.leftMargin+K,X.insert(0,0,Y,Object.keys(G).length*50),te(m,h,0,n);let y=X.getBounds();g&&m.append(`text`).text(g).attr(`x`,Y).attr(`font-size`,c).attr(`font-weight`,`bold`).attr(`y`,25).attr(`fill`,s).attr(`font-family`,u);let b=y.stopy-y.starty+2*J.diagramMarginY,x=Y+y.stopx+2*J.diagramMarginX;o(m,b,x,J.useMaxWidth),m.append(`line`).attr(`x1`,Y).attr(`y1`,J.height*4).attr(`x2`,x-Y-4).attr(`y2`,J.height*4).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#`+n+`-arrowhead)`);let S=g?70:0;m.attr(`viewBox`,`${y.startx} -25 ${x} ${b+S}`),m.attr(`preserveAspectRatio`,`xMinYMin meet`),m.attr(`height`,b+S+25)},`draw`),X={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:e(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},`init`),updateVal:e(function(e,t,n,r){e[t]===void 0?e[t]=n:e[t]=r(n,e[t])},`updateVal`),updateBounds:e(function(t,n,r,i){let a=l().journey,o=this,s=0;function c(c){return e(function(e){s++;let l=o.sequenceItems.length-s+1;o.updateVal(e,`starty`,n-l*a.boxMargin,Math.min),o.updateVal(e,`stopy`,i+l*a.boxMargin,Math.max),o.updateVal(X.data,`startx`,t-l*a.boxMargin,Math.min),o.updateVal(X.data,`stopx`,r+l*a.boxMargin,Math.max),c!==`activation`&&(o.updateVal(e,`startx`,t-l*a.boxMargin,Math.min),o.updateVal(e,`stopx`,r+l*a.boxMargin,Math.max),o.updateVal(X.data,`starty`,n-l*a.boxMargin,Math.min),o.updateVal(X.data,`stopy`,i+l*a.boxMargin,Math.max))},`updateItemBounds`)}e(c,`updateFn`),this.sequenceItems.forEach(c())},`updateBounds`),insert:e(function(e,t,n,r){let i=Math.min(e,n),a=Math.max(e,n),o=Math.min(t,r),s=Math.max(t,r);this.updateVal(X.data,`startx`,i,Math.min),this.updateVal(X.data,`starty`,o,Math.min),this.updateVal(X.data,`stopx`,a,Math.max),this.updateVal(X.data,`stopy`,s,Math.max),this.updateBounds(i,o,a,s)},`insert`),bumpVerticalPos:e(function(e){this.verticalPos+=e,this.data.stopy=this.verticalPos},`bumpVerticalPos`),getVerticalPos:e(function(){return this.verticalPos},`getVerticalPos`),getBounds:e(function(){return this.data},`getBounds`)},Z=J.sectionFills,Q=J.sectionColours,te=e(function(e,t,n,r){let i=l().journey,a=``,o=n+(i.height*2+i.diagramMarginY),s=0,c=`#CCC`,u=`black`,d=0;for(let[n,l]of t.entries()){if(a!==l.section){c=Z[s%Z.length],d=s%Z.length,u=Q[s%Q.length];let r=0,o=l.section;for(let e=n;e<t.length&&t[e].section==o;e++)r+=1;let f={x:n*i.taskMargin+n*i.width+Y,y:50,text:l.section,fill:c,num:d,colour:u,taskCount:r};U.drawSection(e,f,i),a=l.section,s++}let f=l.people.reduce((e,t)=>(G[t]&&(e[t]=G[t]),e),{});l.x=n*i.taskMargin+n*i.width+Y,l.y=o,l.width=i.diagramMarginX,l.height=i.diagramMarginY,l.colour=u,l.fill=c,l.num=d,l.actors=f,U.drawTask(e,l,i,r),X.insert(l.x,l.y,l.x+l.width+i.taskMargin,450)}},`drawTasks`),$={setConf:W,draw:ee},ne={parser:v,db:j,renderer:$,styles:M,init:e(e=>{$.setConf(e.journey),j.clear()},`init`)};export{ne as diagram};
140
- //# sourceMappingURL=journeyDiagram-5HDEW3XC-W6Nbr96_.mjs.map
140
+ //# sourceMappingURL=journeyDiagram-5HDEW3XC-BywkQV2b.mjs.map
@@ -0,0 +1,14 @@
1
+ import"./chunk-B74TABJS-BJwhrR8a.mjs";import{t as e}from"./chunk-GFQRA5P5-XqPO4cim.mjs";import"./chunk-DXB73IDG-BBwE27jK.mjs";import{n as t}from"./chunk-5QMZ5MUS-C5NTf5Rj.mjs";import{r as n,t as r}from"./chunk-24IMIIXA-RjlBWJtr.mjs";import{n as i}from"./chunk-3THT3N7L-DYkTD3HD.mjs";import{n as a,r as o,t as s}from"./chunk-74CEPOFO-BYrCYxKO.mjs";import{n as c}from"./chunk-7L36YK2X-DAp-upAs.mjs";import{t as l}from"./chunk-7TSDKFEO-CE_P23TY.mjs";import{n as u,t as d}from"./chunk-KRBPSX3W-DeaaVEij.mjs";function f(e){switch(e){case`\b`:return`\\b`;case`\f`:return`\\f`;case`
2
+ `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;default:return`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`}}function p(e){let t=``,n=!1,r=!1;for(let i=0;i<e.length;i++){let a=e[i];if(r){t+=a,r=!1;continue}if(a===`\\`){t+=a,r=!0;continue}if(a===`"`){t+=a,n=!n;continue}if(n&&a.charCodeAt(0)<=31){t+=f(a);continue}t+=a}return t}function m(e,t,n){return JSON.parse(p(e.slice(t,n)))}function h(e){let t=[],n=0,r=e.length;for(;n<r;){for(;n<r&&/\s/.test(e[n]);)n++;if(n>=r)break;let i=n,a=e[n];if(a===`{`||a===`[`){let o=a,s=a===`{`?`}`:`]`,c=1,u=!1,d=!1;for(n++;n<r&&c>0;){let t=e[n];d?d=!1:t===`\\`?d=!0:t===`"`?u=!u:u||(t===o?c++:t===s&&c--),n++}if(c!==0)throw Error(`Unexpected end of JSON input at position ${n} (unclosed ${o})`);t.push(l(m(e,i,n)))}else if(a===`"`){let a=!1;for(n++;n<r;){let t=e[n];if(a)a=!1;else if(t===`\\`)a=!0;else if(t===`"`){n++;break}n++}t.push(l(m(e,i,n)))}else if(a===`-`||a>=`0`&&a<=`9`){for(;n<r&&/[\d.eE+-]/.test(e[n]);)n++;t.push(l(m(e,i,n)))}else if(e.slice(n,n+4)===`true`)t.push(!0),n+=4;else if(e.slice(n,n+5)===`false`)t.push(!1),n+=5;else if(e.slice(n,n+4)===`null`)t.push(null),n+=4;else{let t=e.slice(n,n+10);throw Error(`Invalid JSON at position ${i}: unexpected '${t.split(/\s/)[0]}'`)}}return t}var g={name:`jq`,summary:`command-line JSON processor`,usage:`jq [OPTIONS] FILTER [FILE]`,options:[`-r, --raw-output output strings without quotes`,`-c, --compact compact output (no pretty printing)`,`-e, --exit-status set exit status based on output`,`-s, --slurp read entire input into array`,`-n, --null-input don't read any input`,`-j, --join-output don't print newlines after each output`,`-a, --ascii force ASCII output`,`-S, --sort-keys sort object keys`,`-C, --color colorize output (ignored)`,`-M, --monochrome monochrome output (ignored)`,` --tab use tabs for indentation`,` --help display this help and exit`]};function _(e,t,n,r,i,a=0){if(e==null)return`null`;if(typeof e==`boolean`)return String(e);if(typeof e==`number`)return Number.isFinite(e)?String(e):`null`;if(typeof e==`string`)return n?e:JSON.stringify(e);let o=i?` `:` `;if(Array.isArray(e))return e.length===0?`[]`:t?`[${e.map(e=>_(e,!0,!1,r,i)).join(`,`)}]`:`[
3
+ ${e.map(e=>o.repeat(a+1)+_(e,!1,!1,r,i,a+1)).join(`,
4
+ `)}
5
+ ${o.repeat(a)}]`;if(typeof e==`object`){let n=Object.keys(e);return r&&(n=n.sort()),n.length===0?`{}`:t?`{${n.map(t=>`${JSON.stringify(t)}:${_(e[t],!0,!1,r,i)}`).join(`,`)}}`:`{
6
+ ${n.map(t=>{let n=_(e[t],!1,!1,r,i,a+1);return`${o.repeat(a+1)}${JSON.stringify(t)}: ${n}`}).join(`,
7
+ `)}
8
+ ${o.repeat(a)}}`}return String(e)}var v={name:`jq`,async execute(l,f){r(f.requireDefenseContext,`jq`,`execution entry`);let p=(e,t)=>n(f.requireDefenseContext,`jq`,e,t);if(s(l))return o(g);let m=!1,v=!1,y=!1,b=!1,x=!1,S=!1,C=!1,w=!1,T=`.`,E=!1,D=[];for(let e=0;e<l.length;e++){let t=l[e];if(t===`-r`||t===`--raw-output`)m=!0;else if(t===`-c`||t===`--compact-output`)v=!0;else if(t===`-e`||t===`--exit-status`)y=!0;else if(t===`-s`||t===`--slurp`)b=!0;else if(t===`-n`||t===`--null-input`)x=!0;else if(t===`-j`||t===`--join-output`)S=!0;else if(!(t===`-a`||t===`--ascii`)){if(t===`-S`||t===`--sort-keys`)C=!0;else if(!(t===`-C`||t===`--color`)&&!(t===`-M`||t===`--monochrome`))if(t===`--tab`)w=!0;else if(t===`-`)D.push(`-`);else{if(t.startsWith(`--`))return a(`jq`,t);if(t.startsWith(`-`)){for(let e of t.slice(1))if(e===`r`)m=!0;else if(e===`c`)v=!0;else if(e===`e`)y=!0;else if(e===`s`)b=!0;else if(e===`n`)x=!0;else if(e===`j`)S=!0;else if(e!==`a`){if(e===`S`)C=!0;else if(e!==`C`&&e!==`M`)return a(`jq`,`-${e}`)}}else E?D.push(t):(T=t,E=!0)}}}let O=[];if(!x)if(D.length===0||D.length===1&&D[0]===`-`)O.push({source:`stdin`,content:f.stdin});else{let e=await p(`file read`,()=>c(f,D,{cmdName:`jq`,stopOnError:!0}));if(e.exitCode!==0)return{stdout:``,stderr:e.stderr,exitCode:2};O=e.files.map(e=>({source:e.filename||`stdin`,content:e.content}))}try{let t=d(T),n=[],r={limits:f.limits?{maxIterations:f.limits.maxJqIterations}:void 0,env:f.env,coverage:f.coverage,requireDefenseContext:f.requireDefenseContext};if(x)n=u(null,t,r);else if(b){let e=[];for(let{content:t}of O){let n=t.trim();n&&e.push(...h(n))}n=u(e,t,r)}else for(let{content:e}of O){let i=e.trim();if(!i)continue;let a=h(i);for(let e of a)n.push(...u(e,t,r))}let i=n.map(e=>_(e,v,m,C,w)),a=S?``:`
9
+ `,o=i.join(a),s=f.limits?.maxStringLength;if(s!==void 0&&s>0&&o.length>s)throw new e(`jq: output size limit exceeded (${s} bytes)`,`string_length`);let c=y&&(n.length===0||n.every(e=>e==null||e===!1))?1:0;return{stdout:o?S?o:`${o}
10
+ `:``,stderr:``,exitCode:c}}catch(n){if(n instanceof t)throw n;if(n instanceof e)return{stdout:``,stderr:`jq: ${i(n.message)}
11
+ `,exitCode:e.EXIT_CODE};let r=i(n.message);return r.includes(`Unknown function`)?{stdout:``,stderr:`jq: error: ${r}
12
+ `,exitCode:3}:{stdout:``,stderr:`jq: parse error: ${r}
13
+ `,exitCode:5}}}};export{v as jqCommand};
14
+ //# sourceMappingURL=jq-LYZFFBZB-BZ4XP29I.mjs.map
@@ -0,0 +1 @@
1
+ import"./chunk-B74TABJS-BSazPoW8.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import"./chunk-24IMIIXA-BQtWA2ag.mjs";import"./chunk-7TSDKFEO-DBB10vPw.mjs";import"./chunk-KRBPSX3W-YDdgrCmf.mjs";import{n as e}from"./chunk-YULBWSET-B6FKJjk9.mjs";export{e as jqCommand};
@@ -1,4 +1,4 @@
1
- import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-C27iG4wY.mjs";import{r}from"./chunk-OJDRYQWQ-CmHyfN6x.mjs";import{n as i,t as a}from"./chunk-3THT3N7L-DcPtGCSm.mjs";import{t as o}from"./chunk-44UOCSGV-Dadyg26w.mjs";import{t as s}from"./chunk-74CEPOFO--xsxhUFC.mjs";import{n as c,t as l}from"./chunk-I57KEIP3-FVl4IVXz.mjs";import{fileURLToPath as u}from"node:url";import{randomBytes as d}from"node:crypto";import{Worker as f}from"node:worker_threads";import{AsyncLocalStorage as p}from"node:async_hooks";var m=1e4,h=6e4,g=new p,_=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
1
+ import"./chunk-R6VWJ2ZL-CQWpbRHp.mjs";import"./chunk-CWQS3NFK-HnFncXpd.mjs";import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{t as e}from"./chunk-5QMZ5MUS-D8tv8KWc.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-C27iG4wY.mjs";import{r}from"./chunk-OJDRYQWQ-CmHyfN6x.mjs";import{n as i,t as a}from"./chunk-3THT3N7L-DcPtGCSm.mjs";import{t as o}from"./chunk-44UOCSGV-Dadyg26w.mjs";import{t as s}from"./chunk-74CEPOFO-BUVWiXkJ.mjs";import{n as c,t as l}from"./chunk-I57KEIP3-iiTO2OC-.mjs";import{fileURLToPath as u}from"node:url";import{randomBytes as d}from"node:crypto";import{Worker as f}from"node:worker_threads";import{AsyncLocalStorage as p}from"node:async_hooks";var m=1e4,h=6e4,g=new p,_=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
2
2
 
3
3
  Usage: js-exec [OPTIONS] [-c CODE | FILE] [ARGS...]
4
4
 
@@ -94,4 +94,4 @@ Limits:
94
94
  `,exitCode:2};let o=n.isModule,c=n.stripTypes;a&&a!==`-c`&&a!==`<stdin>`&&((a.endsWith(`.mjs`)||a.endsWith(`.mts`)||a.endsWith(`.ts`))&&(o=!0),(a.endsWith(`.ts`)||a.endsWith(`.mts`))&&(c=!0)),!o&&/\bawait\s+[\w([`]/.test(r)&&(o=!0);let l=t.jsBootstrapCode;return O(r,t,a,n.scriptArgs,l,o,c)}},j={name:`node`,async execute(){return{stdout:``,stderr:`node: this sandbox uses js-exec instead of node
95
95
 
96
96
  ${_}`,exitCode:1}}};export{A as jsExecCommand,j as nodeStubCommand};
97
- //# sourceMappingURL=js-exec-VXN6TZ7U-1yyCDQqM.mjs.map
97
+ //# sourceMappingURL=js-exec-VXN6TZ7U-BrugyKqi.mjs.map
@@ -0,0 +1,97 @@
1
+ import"./chunk-R6VWJ2ZL-DmUcUF0z.mjs";import"./chunk-CWQS3NFK-CcBWgb8o.mjs";import"./chunk-DXB73IDG-BBwE27jK.mjs";import{t as e}from"./chunk-5QMZ5MUS-C5NTf5Rj.mjs";import{n as t,t as n}from"./chunk-A5O5YHGN-CczwCZ4d.mjs";import{n as r}from"./chunk-OJDRYQWQ-B9KRyRFZ.mjs";import{n as i,t as a}from"./chunk-3THT3N7L-DYkTD3HD.mjs";import{t as o}from"./chunk-44UOCSGV-D1FZHMOP.mjs";import{t as s}from"./chunk-74CEPOFO-BYrCYxKO.mjs";import{n as c,t as l}from"./chunk-I57KEIP3-_HYA-njf.mjs";import{fileURLToPath as u}from"node:url";import{randomBytes as d}from"node:crypto";import{Worker as f}from"node:worker_threads";import{AsyncLocalStorage as p}from"node:async_hooks";var m=1e4,h=6e4,g=new p,_=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
2
+
3
+ Usage: js-exec [OPTIONS] [-c CODE | FILE] [ARGS...]
4
+
5
+ Options:
6
+ -c CODE Execute inline code
7
+ -m, --module Enable ES module mode (import/export)
8
+ --strip-types Strip TypeScript type annotations
9
+ --version, -V Show version
10
+ --help Show this help
11
+
12
+ Examples:
13
+ js-exec -c "console.log(1 + 2)"
14
+ js-exec script.js
15
+ js-exec app.ts
16
+ echo 'console.log("hello")' | js-exec
17
+
18
+ File Extension Auto-Detection:
19
+ .js script mode (module mode if top-level await detected)
20
+ .mjs ES module mode
21
+ .ts, .mts ES module mode + TypeScript stripping
22
+
23
+ Node.js Compatibility:
24
+ Code written for Node.js largely works here. Both require and import
25
+ are supported, the node: prefix works, and standard globals like process,
26
+ console, and fetch are available. All I/O is synchronous.
27
+
28
+ Available modules:
29
+ fs, path, child_process, process, console,
30
+ os, url, assert, util, events, buffer, stream,
31
+ string_decoder, querystring
32
+
33
+ fs (global, require('fs'), or import from 'node:fs'):
34
+ readFileSync, writeFileSync, appendFileSync, copyFileSync, renameSync
35
+ readdirSync, mkdirSync, rmSync, unlinkSync, rmdirSync
36
+ statSync, lstatSync, existsSync, realpathSync, chmodSync
37
+ symlinkSync, readlinkSync, readFileBuffer
38
+ fs.promises.readFile, fs.promises.writeFile, fs.promises.access, ...
39
+
40
+ path: join, resolve, dirname, basename, extname, normalize,
41
+ relative, isAbsolute, parse, format, sep, delimiter
42
+
43
+ child_process:
44
+ execSync(cmd) throws on non-zero exit, returns stdout
45
+ spawnSync(cmd, args) returns { stdout, stderr, status }
46
+
47
+ process (also global): argv, cwd(), exit(), env, platform, arch,
48
+ version, versions
49
+
50
+ os: platform(), arch(), homedir(), tmpdir(), type(), hostname(),
51
+ EOL, cpus(), endianness()
52
+
53
+ url: URL, URLSearchParams, parse(), format()
54
+
55
+ assert: ok(), equal(), strictEqual(), deepEqual(), throws(),
56
+ doesNotThrow(), fail()
57
+
58
+ util: format(), inspect(), promisify(), types, inherits()
59
+
60
+ events: EventEmitter (on, once, emit, off, removeListener, ...)
61
+
62
+ buffer: Buffer.from(), Buffer.alloc(), Buffer.concat(),
63
+ Buffer.isBuffer(), toString(), slice(), equals()
64
+
65
+ stream: Readable, Writable, Duplex, Transform, PassThrough, pipeline
66
+
67
+ string_decoder: StringDecoder (write, end)
68
+
69
+ querystring: parse(), stringify(), escape(), unescape()
70
+
71
+ Other Globals:
72
+ console log (stdout), error/warn (stderr)
73
+ fetch(url, opts) HTTP; returns Promise<Response> (Web Fetch API)
74
+ URL, URLSearchParams, Headers, Request, Response
75
+ Buffer Buffer.from(), Buffer.alloc(), etc.
76
+
77
+ Not Available:
78
+ http, https, net, tls, crypto, zlib, dns, cluster, worker_threads,
79
+ vm, v8, readline, and other Node.js built-in modules that require
80
+ native bindings. Use fetch() for HTTP requests.
81
+
82
+ Limits:
83
+ Memory: 64 MB per execution
84
+ Timeout: 10 s (60 s with network; configurable via maxJsTimeoutMs)
85
+ Engine: QuickJS (compiled to WebAssembly)
86
+ `;function v(e){let t={code:null,scriptFile:null,showVersion:!1,scriptArgs:[],isModule:!1,stripTypes:!1};if(e.length===0)return t;for(let n=0;n<e.length;n++){let r=e[n];if(r===`-m`||r===`--module`){t.isModule=!0;continue}if(r===`--strip-types`){t.stripTypes=!0;continue}if(r===`-c`)return n+1>=e.length?{stdout:``,stderr:`js-exec: option requires an argument -- 'c'
87
+ `,exitCode:2}:(t.code=e[n+1],t.scriptArgs=e.slice(n+2),t);if(r===`--version`||r===`-V`)return t.showVersion=!0,t;if(r.startsWith(`-`)&&r!==`-`&&r!==`--`)return{stdout:``,stderr:`js-exec: unrecognized option '${r}'
88
+ `,exitCode:2};if(r===`--`)return n+1<e.length&&(t.scriptFile=e[n+1],t.scriptArgs=e.slice(n+2)),t;if(!r.startsWith(`-`))return t.scriptFile=r,t.scriptArgs=e.slice(n+1),t}return t}var y=null,b=null,x=[],S=null,C=u(new URL(`./js-exec-worker.js`,import.meta.url));function w(){for(;x.length>0&&x[0].canceled;)x.shift();if(S||x.length===0)return;let e=x.shift();e&&(S=e,E().postMessage(S.input))}function T(e,t){if(!e||typeof e!=`object`)return{success:!1,error:`Malformed worker response`};let n=e;return typeof n.protocolToken!=`string`||n.protocolToken!==t?{success:!1,error:`Malformed worker response: invalid protocol token`}:typeof n.success==`boolean`?n.success?{success:!0}:{success:!1,error:typeof n.error==`string`&&n.error.length>0?n.error:`Worker execution failed`}:{success:!1,error:`Malformed worker response: missing success flag`}}function E(){if(b&&=(t(b),null),y)return y;let n=e.runTrusted(()=>new f(C));return y=n,n.on(`message`,e=>{if(y===n){if(S){let t=T(e,S.input.protocolToken);S.resolve(t),S=null}x.length>0?w():D()}}),n.on(`error`,e=>{if(y===n){if(S){let t=a(o(e));S.resolve({success:!1,error:t}),S=null}for(let e of x)e.resolve({success:!1,error:`Worker crashed`});x.length=0,y=null}}),n.on(`exit`,()=>{y===n&&(y=null,S&&=(S.resolve({success:!1,error:`Worker exited unexpectedly`}),null),x.length>0&&w())}),n}function D(){b=n(()=>{y&&!S&&x.length===0&&(y.terminate(),y=null)},5e3)}async function O(e,t,n,r=[],i,a,o){return g.getStore()?{stdout:``,stderr:`js-exec: recursive invocation is not supported
89
+ `,exitCode:1}:k(e,t,n,r,i,a,o)}async function k(e,i,s,u=[],f,p,_){let v=c(),b=i.exec,C=b?(e,t)=>g.run(!0,()=>b(e,t)):void 0,T=new l(v,i.fs,i.cwd,`js-exec`,i.fetch,i.limits?.maxOutputSize??0,C),E=i.limits?.maxJsTimeoutMs??m,D=i.fetch?Math.max(E,h):E,O={protocolToken:d(16).toString(`hex`),sharedBuffer:v,jsCode:e,cwd:i.cwd,env:r(i.env),args:u,scriptPath:s,bootstrapCode:f,isModule:p,stripTypes:_,timeoutMs:D},k,A=new Promise(e=>{k=e}),j={input:O,resolve:()=>{}},M=n(()=>{if(S===j){let e=y;e&&(y=null,e.terminate()),S=null,w()}else j.canceled=!0,S||w();j.resolve({success:!1,error:`Execution timeout: exceeded ${D}ms limit`})},D);j.resolve=e=>{t(M),k(e)},x.push(j),w();let[N,P]=await Promise.all([T.run(D),A.catch(e=>({success:!1,error:a(o(e))}))]);return!P.success&&P.error?{stdout:N.stdout,stderr:`${N.stderr}js-exec: ${a(P.error)}
90
+ `,exitCode:N.exitCode||1}:N}var A={name:`js-exec`,async execute(e,t){if(s(e))return{stdout:_,stderr:``,exitCode:0};let n=v(e);if(`exitCode`in n)return n;if(n.showVersion)return{stdout:`QuickJS (quickjs-emscripten)
91
+ `,stderr:``,exitCode:0};let r,a;if(n.code!==null)r=n.code,a=`-c`;else if(n.scriptFile!==null){let e=t.fs.resolvePath(t.cwd,n.scriptFile);if(!await t.fs.exists(e))return{stdout:``,stderr:`js-exec: can't open file '${n.scriptFile}': No such file or directory
92
+ `,exitCode:2};try{r=await t.fs.readFile(e),a=e}catch(e){return{stdout:``,stderr:`js-exec: can't open file '${n.scriptFile}': ${i(e.message)}
93
+ `,exitCode:2}}}else if(t.stdin.trim())r=t.stdin,a=`<stdin>`;else return{stdout:``,stderr:`js-exec: no input provided (use -c CODE or provide a script file)
94
+ `,exitCode:2};let o=n.isModule,c=n.stripTypes;a&&a!==`-c`&&a!==`<stdin>`&&((a.endsWith(`.mjs`)||a.endsWith(`.mts`)||a.endsWith(`.ts`))&&(o=!0),(a.endsWith(`.ts`)||a.endsWith(`.mts`))&&(c=!0)),!o&&/\bawait\s+[\w([`]/.test(r)&&(o=!0);let l=t.jsBootstrapCode;return O(r,t,a,n.scriptArgs,l,o,c)}},j={name:`node`,async execute(){return{stdout:``,stderr:`node: this sandbox uses js-exec instead of node
95
+
96
+ ${_}`,exitCode:1}}};export{A as jsExecCommand,j as nodeStubCommand};
97
+ //# sourceMappingURL=js-exec-VXN6TZ7U-Ds5SsewK.mjs.map
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-C7FmC3Cl.mjs";import{m as t}from"./src-BuBt_xnY.mjs";import{J as n,et as r,f as i,rt as a,tt as o,x as s,z as c}from"./chunk-WYO6CB5R-Cg1RXhAT.mjs";import"./chunk-ICXQ74PX-CewdqzeE.mjs";import{t as l}from"./chunk-VAUOI2AC-Ds6ZNp2p.mjs";import"./chunk-HOUHSVGY-Cg_2_CUd.mjs";import"./chunk-Q4XR5HBZ-4H-m7p0G.mjs";import{t as u}from"./chunk-5VM5RSS4-COK1ErrI.mjs";import"./chunk-OGEWGWER-B-Vr80Fa.mjs";import"./chunk-C7G6YPKG-DpNJWc2e.mjs";import{a as d,c as f,i as p}from"./chunk-ZGVPDNZ5-BE_qYP6z.mjs";import{n as m,t as h}from"./chunk-ZIRB5QZD-mhYZnDzb.mjs";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import{m as t}from"./src-BPVU4Y0o.mjs";import{J as n,et as r,f as i,rt as a,tt as o,x as s,z as c}from"./chunk-WYO6CB5R-DN1R0VLx.mjs";import"./chunk-ICXQ74PX-DbJy3VdO.mjs";import{t as l}from"./chunk-VAUOI2AC-BdotBBDE.mjs";import"./chunk-HOUHSVGY-C3h3PdhC.mjs";import"./chunk-Q4XR5HBZ-jWirJQsj.mjs";import{t as u}from"./chunk-5VM5RSS4-C8vNNqW0.mjs";import"./chunk-OGEWGWER-DgPAesMA.mjs";import"./chunk-C7G6YPKG-BAX_SClW.mjs";import{a as d,c as f,i as p}from"./chunk-ZGVPDNZ5-CyyHBEs2.mjs";import{n as m,t as h}from"./chunk-ZIRB5QZD-K23GvNu-.mjs";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};x.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -87,4 +87,4 @@ Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on l
87
87
  }
88
88
  ${u()}
89
89
  `,`getStyles`)};export{j as diagram};
90
- //# sourceMappingURL=kanban-definition-HUTT4EX6-xcwe5vNg.mjs.map
90
+ //# sourceMappingURL=kanban-definition-HUTT4EX6-DIgH0tMg.mjs.map
@@ -1,2 +1,2 @@
1
- import{Lr as e,Pr as t}from"./src-9I3GiOoK.mjs";import{P as n}from"./fs-traced-By5aY-RE.mjs";import{D as r,T as i}from"./init-ZOWQ1Th4.mjs";import{t as a}from"./is-object-ByG7RnjH.mjs";import{join as o}from"node:path";import{existsSync as s,readFileSync as c,rmSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(f){let p=o(f,`.claude`,`launch.json`);if(!s(p))return{kind:`not-present`};let m;try{m=c(p,`utf-8`)}catch{return{kind:`declined`}}let h=[],g=e(m,h,u)??void 0;if(h.some(e=>!d(e,m))||!g||g.type!==`object`)return{kind:`declined`};let _=t(g).configurations;if(!Array.isArray(_))return{kind:`not-present`};let v=_.findIndex(e=>a(e)&&e.name===`open-knowledge-ui`);if(v===-1)return{kind:`not-present`};if(_.length===1)return l(p,{force:!0}),{kind:`removed-file`};let{text:y,changed:b}=r(m,[`configurations`,v]);return b?(n(p,y,{mode:i(p)}),{kind:`removed`}):{kind:`not-present`}}export{f as t};
2
- //# sourceMappingURL=launch-json-removal-CcFuFFS1.mjs.map
1
+ import{Lr as e,Pr as t}from"./src-Dt5dAyFQ.mjs";import{P as n}from"./fs-traced-DVpoNaQJ.mjs";import{E as r,w as i}from"./init-VslWN3Iz.mjs";import{t as a}from"./is-object-ByG7RnjH.mjs";import{join as o}from"node:path";import{existsSync as s,readFileSync as c,rmSync as l}from"node:fs";const u={allowTrailingComma:!0,disallowComments:!1};function d(e,t){return e.error===1&&e.offset===0&&t.charCodeAt(0)===65279}function f(f){let p=o(f,`.claude`,`launch.json`);if(!s(p))return{kind:`not-present`};let m;try{m=c(p,`utf-8`)}catch{return{kind:`declined`}}let h=[],g=e(m,h,u)??void 0;if(h.some(e=>!d(e,m))||!g||g.type!==`object`)return{kind:`declined`};let _=t(g).configurations;if(!Array.isArray(_))return{kind:`not-present`};let v=_.findIndex(e=>a(e)&&e.name===`open-knowledge-ui`);if(v===-1)return{kind:`not-present`};if(_.length===1)return l(p,{force:!0}),{kind:`removed-file`};let{text:y,changed:b}=r(m,[`configurations`,v]);return b?(n(p,y,{mode:i(p)}),{kind:`removed`}):{kind:`not-present`}}export{f as t};
2
+ //# sourceMappingURL=launch-json-removal-9-8M5r9e.mjs.map
@@ -0,0 +1,2 @@
1
+ import{i as e,t}from"./chunk-DHbaKqs-.mjs";var n=t((t=>{let{promisify:n}=e(`util`),{isUint8Array:r}=e(`util/types`);function i(){try{return e(`../build/Release/zstd.node`)}catch{try{return e(`../build/Debug/zstd.node`)}catch(e){throw e}}}let a=i(),o=n(a.compress),s=n(a.decompress);t.compress=async function(e,t){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);if(t!=null&&typeof t!=`number`)throw TypeError(`parameter 'compressionLevel' must be a number.`);try{return await o(e,t??3)}catch(e){throw Error(`zstd: ${e.message}`)}},t.decompress=async function(e){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);try{return await s(e)}catch(e){throw Error(`zstd: ${e.message}`)}},t.getDefinedNapiVersion=a.getDefinedNapiVersion}));export default n();export{};
2
+ //# sourceMappingURL=lib-B2tLN_O_.mjs.map
@@ -192,4 +192,4 @@ It is recommended to disable code generation and freeze all builtins at process
192
192
  For more information, see https://github.com/capricorn86/happy-dom/wiki/JavaScript-Evaluation-Warning
193
193
 
194
194
  `)}[Me](){if(this.closed)return;super[Me](),this.closed=!0;let e=this[vt];for(let t of e)t[Me]&&t[Me]();this[vt]=[];for(let e of this[rs])e[Me]();this[rs]=[],this.document[Me]();let t=this.document.createElement(`html`),n=this.document.createElement(`head`),r=this.document.createElement(`body`);t.appendChild(n),t.appendChild(r),this.document[Pn](t),this.location[Me]&&this.location[Me](),this.customElements[Me]&&this.customElements[Me](),this.history[Me]&&this.history[Me](),this[ss].clear(),this[ko].json.clear(),this[ko].css.clear(),this[ko].esm.clear(),this.document[Ao].clear(),this.document[de]=null,this.document[Je]=null,this.document[Oe]=null,this.document[st]=null,this[dr]=null,this[fr]=null,Y.removeWindowBrowserFrameRelation(this)}[wo](){for(let t of[e,nl]){let e=Object.getOwnPropertyDescriptors(t.prototype),n=Object.keys(e);for(let t of n){let n=e[t];n.get||n.set?Object.defineProperty(this,t,{...n,get:n.get?.bind(this),set:n.set?.bind(this)}):t!==`constructor`&&typeof n.value==`function`&&!n.value.toString().startsWith(`class `)&&Object.defineProperty(this,t,{...n,value:n.value.bind(this)})}}}},Ey=class{static evaluate(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return t=typeof t==`string`?new le(t):t,t.runInContext(e.window)}static async evaluateModule(e,t){if(!e.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);let n=e.window;if(t?.code){let e=t.url?new URL(t.url,n.location.href):n.location,r=t.code;switch(t?.type||`esm`){case`esm`:return await new bm({window:n,url:e,source:r,factory:new xm(n,e)}).evaluate();case`json`:return await new rm({window:n,url:e,source:r}).evaluate();case`css`:return await new nm({window:n,url:e,source:r}).evaluate()}}return t?.url?await(await new xm(n,n.location).getModule(t.url,{with:{type:t.type||`esm`}})).evaluate():{}}},Dy=class{currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null};items=[this.currentItem];push(e){let t=this.items.indexOf(this.currentItem);t!==this.items.length-1&&(this.items.length=t+1),this.items.push(e),this.currentItem=e}replace(e){let t=this.items.indexOf(this.currentItem);if(t!==this.items.length-1&&(this.items.length=t+1),t===-1)throw Error(`Current history item not found`);this.currentItem=e,this.items[t]=e}clear(){this.items.length=0,this.currentItem={title:``,href:`about:blank`,state:null,popState:!1,scrollRestoration:Yu.auto,method:`GET`,formData:null},this.items.push(this.currentItem)}},Oy=class{#e;#t={};#n={};#r=0;#i=[];constructor(e){this.#e=e}assert(e,t,...n){e||this.#e.print({type:Os.assert,level:Cs.error,message:[`Assertion failed:`,...t?[t,...n]:n],group:this.#i[this.#i.length-1]||null})}clear(){this.#e.clear()}count(e=`default`){this.#t[e]||(this.#t[e]=0),this.#t[e]++,this.#e.print({type:Os.count,level:Cs.info,message:[`${e}: ${this.#t[e]}`],group:this.#i[this.#i.length-1]||null})}countReset(e=`default`){delete this.#t[e],this.#e.print({type:Os.countReset,level:Cs.warn,message:[`${e}: 0`],group:this.#i[this.#i.length-1]||null})}debug(e,...t){this.#e.print({type:Os.debug,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}dir(e){this.#e.print({type:Os.dir,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}dirxml(e){this.#e.print({type:Os.dirxml,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}error(e,...t){this.#e.print({type:Os.error,level:Cs.error,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}exception(...e){this.error(...e)}group(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!1,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.group,level:Cs.log,message:[e||`default`],group:t})}groupCollapsed(e){this.#r++;let t={id:this.#r,label:e||`default`,collapsed:!0,parent:this.#i[this.#i.length-1]||null};this.#i.push(t),this.#e.print({type:Os.groupCollapsed,level:Cs.log,message:[e||`default`],group:t})}groupEnd(){this.#i.length!==0&&this.#i.pop()}info(e,...t){this.#e.print({type:Os.info,level:Cs.info,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}log(e,...t){this.#e.print({type:Os.log,level:Cs.log,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}profile(){throw Error(`Method not implemented.`)}profileEnd(){throw Error(`Method not implemented.`)}table(e){this.#e.print({type:Os.table,level:Cs.log,message:[e],group:this.#i[this.#i.length-1]||null})}time(e=`default`){this.#n[e]=performance.now()}timeEnd(e=`default`){let t=this.#n[e];if(t){let n=performance.now()-t;this.#e.print({type:Os.timeEnd,level:Cs.info,message:[`${e}: ${n}ms - timer ended`],group:this.#i[this.#i.length-1]||null})}}timeLog(e=`default`,...t){let n=this.#n[e];if(n){let r=performance.now()-n;this.#e.print({type:Os.timeLog,level:Cs.info,message:[`${e}: ${r}ms`,...t],group:this.#i[this.#i.length-1]||null})}}timeStamp(){throw Error(`Method not implemented.`)}trace(e,...t){this.#e.print({type:Os.trace,level:Cs.log,message:[...e?[e,...t]:t,Error(`stack`).stack.replace(`Error: stack`,``)],group:this.#i[this.#i.length-1]||null})}warn(e,...t){this.#e.print({type:Os.warn,level:Cs.warn,message:e?[e,...t]:t,group:this.#i[this.#i.length-1]||null})}},ky=class{static getFrames(e){return this.findFrames(e.mainFrame)}static closePage(e){if(e.closed)return Promise.resolve();e.closed=!0;let t=e.context.pages.indexOf(e);return t!==-1&&e.context.pages.splice(t,1),e.virtualConsolePrinter.close(),lp.destroyFrame(e.mainFrame)}static findFrames(e){let t=[e];for(let n of e.childFrames)t=t.concat(this.findFrames(n));return t}},Ay=class{#e=new Map;get(e){let t=this.#e.get(e.url);return t?t.expires<Date.now()?(this.#e.delete(e.url),null):t:null}add(e,t){if(this.#e.delete(e.url),e.headers.get(`Cache-Control`)?.includes(`no-cache`)||t.status<200||t.status>=300)return null;let n=t.headers.get(`Access-Control-Max-Age`),r=t.headers.get(`Access-Control-Allow-Origin`);if(!n||!r)return null;let i=[];if(t.headers.has(`Access-Control-Allow-Methods`)&&t.headers.get(`Access-Control-Allow-Methods`)!==`*`)for(let e of t.headers.get(`Access-Control-Allow-Methods`).split(`,`))i.push(e.trim().toUpperCase());let a={allowOrigin:r,allowMethods:i,expires:Date.now()+parseInt(n)*1e3};return isNaN(a.expires)||a.expires<Date.now()?null:(this.#e.set(e.url,a),a)}clear(){this.#e.clear()}},jy={disableJavaScriptEvaluation:!1,enableJavaScriptEvaluation:!1,disableJavaScriptFileLoading:!1,disableCSSFileLoading:!1,enableImageFileLoading:!1,disableIframePageLoading:!1,disableComputedStyleRendering:!1,handleDisabledFileLoadingAsSuccess:!1,disableErrorCapturing:!1,errorCapture:Ls.tryAndCatch,enableFileSystemHttpRequests:!1,suppressCodeGenerationFromStringsWarning:!1,suppressInsecureJavaScriptEnvironmentWarning:!1,timer:{maxTimeout:-1,maxIntervalTime:-1,maxIntervalIterations:-1,preventTimerLoops:!1},fetch:{disableSameOriginPolicy:!1,disableStrictSSL:!1,interceptor:null,requestHeaders:null,virtualServers:null},module:{resolveNodeModules:null,urlResolver:null,disableCache:!1},navigation:{disableMainFrameNavigation:!1,disableChildFrameNavigation:!1,disableChildPageNavigation:!1,disableFallbackToSetURL:!1,crossOriginPolicy:dp.anyOrigin,beforeContentCallback:null},navigator:{userAgent:`Mozilla/5.0 (X11; ${process.platform.charAt(0).toUpperCase()+process.platform.slice(1)+` `+process.arch}) AppleWebKit/537.36 (KHTML, like Gecko) HappyDOM/${{version:`20.10.6`}.version}`,maxTouchPoints:0},device:{prefersColorScheme:`light`,prefersReducedMotion:`no-preference`,mediaType:`screen`,forcedColors:`none`},debug:{traceWaitUntilComplete:-1},viewport:{width:1024,height:768,devicePixelRatio:1},canvasAdapter:null},My=class{static createSettings(e){return e&&this.validate(jy,e),{...jy,...e,navigation:{...jy.navigation,...e?.navigation},navigator:{...jy.navigator,...e?.navigator},timer:{...jy.timer,...e?.timer},fetch:{...jy.fetch,...e?.fetch},module:{...jy.module,...e?.module},device:{...jy.device,...e?.device},debug:{...jy.debug,...e?.debug},viewport:{...jy.viewport,...e?.viewport},canvasAdapter:e?.canvasAdapter??jy.canvasAdapter}}static validate(e,t,n){for(let r of Object.keys(t)){if(e[r]===void 0){let e=n?n+`.`+r:r;throw Error(`Unknown browser setting "${e}"`)}if(typeof e[r]==`object`&&!Array.isArray(e[r])&&e[r]!==null){let i=n?n+`.`+r:r;if(typeof t[r]!=`object`||Array.isArray(t[r])||t[r]===null)throw Error(`Browser setting "${i}" cannot be null`);this.validate(e[r],t[r],i)}else if((typeof e[r]==`boolean`||typeof e[r]==`number`||typeof e[r]==`string`)&&typeof t[r]!=typeof e[r]&&!(r===`preventTimerLoops`&&typeof t[r]==`object`&&t[r]!==null)){let t=n?n+`.`+r:r;throw Error(`Browser setting "${t}" must be of type "${typeof e[r]}"`)}}}},Ny=class{static listenerCount=0;observedWindows=[];uncaughtExceptionListener=null;uncaughtRejectionListener=null;observe(e){if(this.observedWindows.includes(e))throw Error(`Browser window is already being observed.`);this.observedWindows.push(e),!this.uncaughtExceptionListener&&(this.uncaughtExceptionListener=(e,t)=>{if(t===`unhandledRejection`)return;let n=null;for(let t of this.observedWindows)if(e instanceof t.Error||e instanceof t.DOMException){n=t;break}n?(n.console.error(e),n.dispatchEvent(new n.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`uncaughtException`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.uncaughtRejectionListener=e=>{let t=null;for(let n of this.observedWindows)if(e instanceof n.Error||e instanceof n.DOMException){t=n;break}t?(t.console.error(e),t.dispatchEvent(new t.ErrorEvent(`error`,{error:e,message:e.message}))):process.listenerCount(`unhandledRejection`)===this.constructor.listenerCount&&(console.error(e),process.exit(1))},this.constructor.listenerCount++,process.on(`uncaughtException`,this.uncaughtExceptionListener),process.on(`unhandledRejection`,this.uncaughtRejectionListener))}disconnect(e){let t=this.observedWindows.indexOf(e);t!==-1&&(this.observedWindows.splice(t,1),this.observedWindows.length===0&&this.uncaughtExceptionListener&&(this.constructor.listenerCount--,process.off(`uncaughtException`,this.uncaughtExceptionListener),this.uncaughtRejectionListener&&process.off(`unhandledRejection`,this.uncaughtRejectionListener),this.uncaughtExceptionListener=null,this.uncaughtRejectionListener=null))}},Py=class{childFrames=[];parentFrame=null;page;closed=!1;[fe]=new Ns(this);[Ke]={navigation:[]};[yt]=null;[bt]=null;[St]=!1;[Dn]=new Dy;constructor(e){this.page=e,e.context.browser.contexts[0]?.pages[0]?.mainFrame&&(this.window=new this.page.context.browser.windowClass(this),e.context.browser[Ie]&&e.context.browser[Ie].observe(this.window))}get content(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.document.documentElement.outerHTML}set content(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window.document[Ve]=!0,this.window.document[He]=!1,this.window.document.open(),this.window.document.write(e)}get url(){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);return this.window.location.href}set url(e){if(!this.window)throw Error(`The frame has been destroyed, the "window" property is not set.`);this.window[En][Cn](this,Xu.getRelativeURL(this,e).href)}get document(){return this.window?.document??null}async waitUntilComplete(){await Promise.all([this[fe].waitUntilComplete(),...this.childFrames.map(e=>e.waitUntilComplete())])}waitForNavigation(){return new Promise(e=>this[Ke].navigation.push(e))}abort(){return this.childFrames.length?new Promise((e,t)=>{Promise.all(this.childFrames.map(e=>e.abort()).concat([this[fe].abort()])).then(()=>e()).catch(t)}):this[fe].abort()}evaluate(e){return Ey.evaluate(this,e)}evaluateModule(e){return Ey.evaluateModule(this,e)}goto(e,t){return pp.navigate({windowClass:this.page.context.browser.windowClass,frame:this,url:e,goToOptions:t})}goBack(e){return pp.navigateBack({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goForward(e){return pp.navigateForward({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}goSteps(e,t){return pp.navigateSteps({windowClass:this.page.context.browser.windowClass,frame:this,steps:e,goToOptions:t})}reload(e){return pp.reload({windowClass:this.page.context.browser.windowClass,frame:this,goToOptions:e})}},Fy=class{virtualConsolePrinter=new As;mainFrame;context;console;viewport;closed=!1;constructor(e){this.context=e,this.console=e.browser.console??new Oy(this.virtualConsolePrinter),this.mainFrame=new Py(this),this.viewport={width:e.browser.settings.viewport.width,height:e.browser.settings.viewport.height,devicePixelRatio:e.browser.settings.viewport.devicePixelRatio}}get frames(){return ky.getFrames(this)}get content(){return this.mainFrame.content}set content(e){this.mainFrame.content=e}get url(){return this.mainFrame.url}set url(e){this.mainFrame.url=e}close(){return new Promise((e,t)=>{let n=this.context;ky.closePage(this).then(()=>{n.pages[0]===this?n.browser.close().then(e).catch(t):e()}).catch(t)})}waitUntilComplete(){return this.mainFrame.waitUntilComplete()}waitForNavigation(){return this.mainFrame.waitForNavigation()}abort(){return this.mainFrame.abort()}evaluate(e){return this.mainFrame.evaluate(e)}evaluateModule(e){return this.mainFrame.evaluateModule(e)}setViewport(e){let t=Object.assign({},this.viewport);Object.assign(this.viewport,e),(t.width!==this.viewport.width||t.height!==this.viewport.height||t.devicePixelRatio!==this.viewport.devicePixelRatio)&&this.mainFrame.window.dispatchEvent(new W(`resize`))}goto(e,t){return this.mainFrame.goto(e,t)}goBack(e){return this.mainFrame.goBack(e)}goForward(e){return this.mainFrame.goForward(e)}goSteps(e,t){return this.mainFrame.goSteps(e,t)}reload(e){return this.mainFrame.reload(e)}},Iy=class{pages;browser;cookieContainer=new ps;responseCache=new xs;preflightResponseCache=new Ay;closed=!1;[as]=new Map;constructor(e){this.browser=e,this.pages=[],this.pages.push(new Fy(this))}async close(){if(this.closed)return;if(this.browser.contexts[0]===this)throw Error("Cannot close the default context. Use `browser.close()` to close the browser instead.");this.closed=!0,await Promise.all(this.pages.slice().map(e=>e.close()));let e=this.browser,t=e.contexts.indexOf(this);t!==-1&&e.contexts.splice(t,1),this.pages=[],this.cookieContainer.clearCookies(),this.responseCache.clear(),this.preflightResponseCache.clear()}async waitUntilComplete(){await Promise.all(this.pages.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.pages.length){e();return}Promise.all(this.pages.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newPage(){let e=new Fy(this);return this.pages.push(e),e}},Ly=class{contexts;settings;console;windowClass;[Ie]=null;constructor(e,t){this.windowClass=e,this.console=t?.console||null,this.settings=My.createSettings(t?.settings),this.settings.errorCapture===Ls.processLevel&&(this[Ie]=new Ny),this.contexts=[],this.contexts.push(new Iy(this))}get closed(){return this.contexts.length===0}get defaultContext(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0]}async close(){if(this.contexts.length===0)return;let e=this.contexts;this.contexts=[],await Promise.all(e.map(e=>e.close()))}async waitUntilComplete(){await Promise.all(this.contexts.map(e=>e.waitUntilComplete()))}abort(){return new Promise((e,t)=>{if(!this.contexts.length){e();return}Promise.all(this.contexts.slice().map(e=>e.abort())).then(()=>e()).catch(e=>t(e))})}newIncognitoContext(){throw Error(`Not possible to create a new context on a detached browser.`)}newPage(){if(this.contexts.length===0)throw Error(`No default context. The browser has been closed.`);return this.contexts[0].newPage()}},Ry=class{#e;constructor(e){this.#e=e}get settings(){return this.#e.page.context.browser.settings}get virtualConsolePrinter(){return this.#e.page.virtualConsolePrinter}waitUntilComplete(){return this.#e.waitUntilComplete()}whenAsyncComplete(){return this.waitUntilComplete()}abort(){return this.#e.abort()}cancelAsync(){return this.abort()}close(){return this.#e.page.close()}setURL(e){this.#e.url=e}setViewport(e){this.#e.page.setViewport(e)}setWindowSize(e){this.setViewport({width:e?.width,height:e?.height})}setInnerWidth(e){this.setViewport({width:e})}setInnerHeight(e){this.setViewport({height:e})}},zy=class extends Ty{happyDOM;constructor(e){let t=new Ly(Ty,{console:e?.console,settings:e?.settings}).defaultContext.pages[0],n=t.mainFrame;e&&(e.width||e.height||e.innerWidth||e.innerHeight)&&Object.assign(t.viewport,{width:e.width||e.innerWidth||t.viewport.width,height:e.height||e.innerHeight||t.viewport.height}),super(n,{url:e?.url}),n.window=this,n.page.context.browser[Ie]&&n.page.context.browser[Ie].observe(this),this.happyDOM=new Ry(n)}};export{zy as Window};
195
- //# sourceMappingURL=lib-TLTWf9qr.mjs.map
195
+ //# sourceMappingURL=lib-DuDqLKFD.mjs.map
@@ -1,2 +1,2 @@
1
1
  import{i as e,t}from"./chunk-DTipWd-i.mjs";var n=t((t=>{let{promisify:n}=e(`util`),{isUint8Array:r}=e(`util/types`);function i(){try{return e(`../build/Release/zstd.node`)}catch{try{return e(`../build/Debug/zstd.node`)}catch(e){throw e}}}let a=i(),o=n(a.compress),s=n(a.decompress);t.compress=async function(e,t){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);if(t!=null&&typeof t!=`number`)throw TypeError(`parameter 'compressionLevel' must be a number.`);try{return await o(e,t??3)}catch(e){throw Error(`zstd: ${e.message}`)}},t.decompress=async function(e){if(!r(e))throw TypeError(`parameter 'data' must be a Uint8Array.`);try{return await s(e)}catch(e){throw Error(`zstd: ${e.message}`)}},t.getDefinedNapiVersion=a.getDefinedNapiVersion}));export default n();export{};
2
- //# sourceMappingURL=lib-BCIeHFfP.mjs.map
2
+ //# sourceMappingURL=lib-ozx_WsjS.mjs.map
@@ -0,0 +1,14 @@
1
+ var e=class{diff(e,t,n={}){let r;typeof n==`function`?(r=n,n={}):`callback`in n&&(r=n.callback);let i=this.castInput(e,n),a=this.castInput(t,n),o=this.removeEmpty(this.tokenize(i,n)),s=this.removeEmpty(this.tokenize(a,n));return this.diffWithOptionsObj(o,s,n,r)}diffWithOptionsObj(e,t,n,r){let i=e=>{if(e=this.postProcess(e,n),r){setTimeout(function(){r(e)},0);return}else return e},a=t.length,o=e.length,s=1,c=a+o;n.maxEditLength!=null&&(c=Math.min(c,n.maxEditLength));let l=n.timeout??1/0,u=Date.now()+l,d=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(d[0],t,e,0,n);if(d[0].oldPos+1>=o&&f+1>=a)return i(this.buildValues(d[0].lastComponent,t,e));let p=-1/0,m=1/0,h=()=>{for(let r=Math.max(p,-s);r<=Math.min(m,s);r+=2){let s,c=d[r-1],l=d[r+1];c&&(d[r-1]=void 0);let u=!1;if(l){let e=l.oldPos-r;u=l&&0<=e&&e<a}let h=c&&c.oldPos+1<o;if(!u&&!h){d[r]=void 0;continue}if(s=!h||u&&c.oldPos<l.oldPos?this.addToPath(l,!0,!1,0,n):this.addToPath(c,!1,!0,1,n),f=this.extractCommon(s,t,e,r,n),s.oldPos+1>=o&&f+1>=a)return i(this.buildValues(s.lastComponent,t,e))||!0;d[r]=s,s.oldPos+1>=o&&(m=Math.min(m,r-1)),f+1>=a&&(p=Math.max(p,r+1))}s++};if(r)(function e(){setTimeout(function(){if(s>c||Date.now()>u)return r(void 0);h()||e()},0)})();else for(;s<=c&&Date.now()<=u;){let e=h();if(e)return e}}addToPath(e,t,n,r,i){let a=e.lastComponent;return a&&!i.oneChangePerToken&&a.added===t&&a.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:a.count+1,added:t,removed:n,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:a}}}extractCommon(e,t,n,r,i){let a=t.length,o=n.length,s=e.oldPos,c=s-r,l=0;for(;c+1<a&&s+1<o&&this.equals(n[s+1],t[c+1],i);)c++,s++,l++,i.oneChangePerToken&&(e.lastComponent={count:1,previousComponent:e.lastComponent,added:!1,removed:!1});return l&&!i.oneChangePerToken&&(e.lastComponent={count:l,previousComponent:e.lastComponent,added:!1,removed:!1}),e.oldPos=s,c}equals(e,t,n){return n.comparator?n.comparator(e,t):e===t||!!n.ignoreCase&&e.toLowerCase()===t.toLowerCase()}removeEmpty(e){let t=[];for(let n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}castInput(e,t){return e}tokenize(e,t){return Array.from(e)}join(e){return e.join(``)}postProcess(e,t){return e}get useLongestToken(){return!1}buildValues(e,t,n){let r=[],i;for(;e;)r.push(e),i=e.previousComponent,delete e.previousComponent,e=i;r.reverse();let a=r.length,o=0,s=0,c=0;for(;o<a;o++){let e=r[o];if(e.removed)e.value=this.join(n.slice(c,c+e.count)),c+=e.count;else{if(!e.added&&this.useLongestToken){let r=t.slice(s,s+e.count);r=r.map(function(e,t){let r=n[c+t];return r.length>e.length?r:e}),e.value=this.join(r)}else e.value=this.join(t.slice(s,s+e.count));s+=e.count,e.added||(c+=e.count)}}return r}};new class extends e{};function t(e,t){let n;for(n=0;n<e.length&&n<t.length;n++)if(e[n]!=t[n])return e.slice(0,n);return e.slice(0,n)}function n(e,t){let n;if(!e||!t||e[e.length-1]!=t[t.length-1])return``;for(n=0;n<e.length&&n<t.length;n++)if(e[e.length-(n+1)]!=t[t.length-(n+1)])return e.slice(-n);return e.slice(-n)}function r(e,t,n){if(e.slice(0,t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(t)}; this is a bug`);return n+e.slice(t.length)}function i(e,t,n){if(!t)return e+n;if(e.slice(-t.length)!=t)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(t)}; this is a bug`);return e.slice(0,-t.length)+n}function a(e,t){return r(e,t,``)}function o(e,t){return i(e,t,``)}function s(e,t){return t.slice(0,c(e,t))}function c(e,t){let n=0;e.length>t.length&&(n=e.length-t.length);let r=t.length;e.length<t.length&&(r=e.length);let i=Array(r),a=0;i[0]=0;for(let e=1;e<r;e++){for(t[e]==t[a]?i[e]=i[a]:i[e]=a;a>0&&t[e]!=t[a];)a=i[a];t[e]==t[a]&&a++}a=0;for(let r=n;r<e.length;r++){for(;a>0&&e[r]!=t[a];)a=i[a];e[r]==t[a]&&a++}return a}function l(e,t){let n=[];for(let r of Array.from(t.segment(e))){let e=r.segment;n.length&&/\s/.test(n[n.length-1])&&/\s/.test(e)?n[n.length-1]+=e:n.push(e)}return n}function u(e,t){if(t)return f(e,t)[1];let n;for(n=e.length-1;n>=0&&e[n].match(/\s/);n--);return e.substring(n+1)}function d(e,t){if(t)return f(e,t)[0];let n=e.match(/^\s*/);return n?n[0]:``}function f(e,t){if(!t)return[d(e),u(e)];if(t.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);let n=l(e,t),r=n[0],i=n[n.length-1];return[/\s/.test(r)?r:``,/\s/.test(i)?i:``]}const p=`a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}`,m=RegExp(`[${p}]+|\\s+|[^${p}]`,`ug`);new class extends e{equals(e,t,n){return n.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e.trim()===t.trim()}tokenize(e,t={}){let n;if(t.intlSegmenter){let r=t.intlSegmenter;if(r.resolvedOptions().granularity!=`word`)throw Error(`The segmenter passed must have a granularity of "word"`);n=l(e,r)}else n=e.match(m)||[];let r=[],i=null;return n.forEach(e=>{/\s/.test(e)?i==null?r.push(e):r.push(r.pop()+e):i!=null&&/\s/.test(i)?r[r.length-1]==i?r.push(r.pop()+e):r.push(i+e):r.push(e),i=e}),r}join(e){return e.map((e,t)=>t==0?e:e.replace(/^\s+/,``)).join(``)}postProcess(e,t){if(!e||t.oneChangePerToken)return e;let n=null,r=null,i=null;return e.forEach(e=>{e.added?r=e:e.removed?i=e:((r||i)&&h(n,i,r,e,t.intlSegmenter),n=e,r=null,i=null)}),(r||i)&&h(n,i,r,null,t.intlSegmenter),e}};function h(e,c,l,p,m){if(c&&l){let[s,u]=f(c.value,m),[d,h]=f(l.value,m);if(e){let n=t(s,d);e.value=i(e.value,d,n),c.value=a(c.value,n),l.value=a(l.value,n)}if(p){let e=n(u,h);p.value=r(p.value,h,e),c.value=o(c.value,e),l.value=o(l.value,e)}}else if(l){if(e){let e=d(l.value,m);l.value=l.value.substring(e.length)}if(p){let e=d(p.value,m);p.value=p.value.substring(e.length)}}else if(e&&p){let s=d(p.value,m),[l,u]=f(c.value,m),h=t(s,l);c.value=a(c.value,h);let g=n(a(s,h),u);c.value=o(c.value,g),p.value=r(p.value,s,g),e.value=i(e.value,s,s.slice(0,s.length-g.length))}else if(p){let e=d(p.value,m),t=s(u(c.value,m),e);c.value=o(c.value,t)}else if(e){let t=s(u(e.value,m),d(c.value,m));c.value=a(c.value,t)}}new class extends e{tokenize(e){let t=RegExp(`(\\r?\\n)|[${p}]+|[^\\S\\n\\r]+|[^${p}]`,`ug`);return e.match(t)||[]}};const g=new class extends e{constructor(){super(...arguments),this.tokenize=v}equals(e,t,n){return n.ignoreWhitespace?((!n.newlineIsToken||!e.includes(`
2
+ `))&&(e=e.trim()),(!n.newlineIsToken||!t.includes(`
3
+ `))&&(t=t.trim())):n.ignoreNewlineAtEof&&!n.newlineIsToken&&(e.endsWith(`
4
+ `)&&(e=e.slice(0,-1)),t.endsWith(`
5
+ `)&&(t=t.slice(0,-1))),super.equals(e,t,n)}};function _(e,t,n){return g.diff(e,t,n)}function v(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
6
+ `));let n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let e=0;e<r.length;e++){let i=r[e];e%2&&!t.newlineIsToken?n[n.length-1]+=i:n.push(i)}return n}function y(e){return e==`.`||e==`!`||e==`?`}new class extends e{tokenize(e){let t=[],n=0;for(let r=0;r<e.length;r++){if(r==e.length-1){t.push(e.slice(n));break}if(y(e[r])&&e[r+1].match(/\s/)){for(t.push(e.slice(n,r+1)),r=n=r+1;e[r+1]?.match(/\s/);)r++;t.push(e.slice(n,r+1)),n=r+1}}return t}},new class extends e{tokenize(e){return e.split(/([{}:;,]|\s+)/)}},new class extends e{constructor(){super(...arguments),this.tokenize=v}get useLongestToken(){return!0}castInput(e,t){let{undefinedReplacement:n,stringifyReplacer:r=(e,t)=>t===void 0?n:t}=t;return typeof e==`string`?e:JSON.stringify(b(e,null,null,r),null,` `)}equals(e,t,n){return super.equals(e.replace(/,([\r\n])/g,`$1`),t.replace(/,([\r\n])/g,`$1`),n)}};function b(e,t,n,r,i){t||=[],n||=[],r&&(e=r(i===void 0?``:i,e));let a;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];let o;if(Object.prototype.toString.call(e)===`[object Array]`){for(t.push(e),o=Array(e.length),n.push(o),a=0;a<e.length;a+=1)o[a]=b(e[a],t,n,r,String(a));return t.pop(),n.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),typeof e==`object`&&e){t.push(e),o={},n.push(o);let i=[],s;for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.push(s);for(i.sort(),a=0;a<i.length;a+=1)s=i[a],o[s]=b(e[s],t,n,r,s);t.pop(),n.pop()}else o=e;return o}new class extends e{tokenize(e){return e.slice()}join(e){return e}removeEmpty(e){return e}};const x={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0};function S(e,t,n,r,i,a,o){let s;s=o?typeof o==`function`?{callback:o}:o:{},s.context===void 0&&(s.context=4);let c=s.context;if(s.newlineIsToken)throw Error(`newlineIsToken may not be used with patch-generation functions, only with diffing functions`);if(s.callback){let{callback:e}=s;_(n,r,Object.assign(Object.assign({},s),{callback:t=>{e(l(t))}}))}else return l(_(n,r,s));function l(n){if(!n)return;n.push({value:``,lines:[]});function r(e){return e.map(function(e){return` `+e})}let o=[],s=0,l=0,u=[],d=1,f=1;for(let e=0;e<n.length;e++){let t=n[e],i=t.lines||T(t.value);if(t.lines=i,t.added||t.removed){if(!s){let t=n[e-1];s=d,l=f,t&&(u=c>0?r(t.lines.slice(-c)):[],s-=u.length,l-=u.length)}for(let e of i)u.push((t.added?`+`:`-`)+e);t.added?f+=i.length:d+=i.length}else{if(s)if(i.length<=c*2&&e<n.length-2)for(let e of r(i))u.push(e);else{let e=Math.min(i.length,c);for(let t of r(i.slice(0,e)))u.push(t);let t={oldStart:s,oldLines:d-s+e,newStart:l,newLines:f-l+e,lines:u};o.push(t),s=0,l=0,u=[]}d+=i.length,f+=i.length}}for(let e of o)for(let t=0;t<e.lines.length;t++)e.lines[t].endsWith(`
7
+ `)?e.lines[t]=e.lines[t].slice(0,-1):(e.lines.splice(t+1,0,`\`),t++);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:a,hunks:o}}}function C(e,t){if(t||=x,Array.isArray(e)){if(e.length>1&&!t.includeFileHeaders)throw Error(`Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)`);return e.map(e=>C(e,t)).join(`
8
+ `)}let n=[];t.includeIndex&&e.oldFileName==e.newFileName&&n.push(`Index: `+e.oldFileName),t.includeUnderline&&n.push(`===================================================================`),t.includeFileHeaders&&(n.push(`--- `+e.oldFileName+(e.oldHeader===void 0?``:` `+e.oldHeader)),n.push(`+++ `+e.newFileName+(e.newHeader===void 0?``:` `+e.newHeader)));for(let t=0;t<e.hunks.length;t++){let r=e.hunks[t];r.oldLines===0&&--r.oldStart,r.newLines===0&&--r.newStart,n.push(`@@ -`+r.oldStart+`,`+r.oldLines+` +`+r.newStart+`,`+r.newLines+` @@`);for(let e of r.lines)n.push(e)}return n.join(`
9
+ `)+`
10
+ `}function w(e,t,n,r,i,a,o){if(typeof o==`function`&&(o={callback:o}),o?.callback){let{callback:s}=o;S(e,t,n,r,i,a,Object.assign(Object.assign({},o),{callback:e=>{s(e?C(e,o.headerOptions):void 0)}}))}else{let s=S(e,t,n,r,i,a,o);return s?C(s,o?.headerOptions):void 0}}function T(e){let t=e.endsWith(`
11
+ `),n=e.split(`
12
+ `).map(e=>e+`
13
+ `);return t?n.pop():n.push(n.pop().slice(0,-1)),n}export{w as t};
14
+ //# sourceMappingURL=libesm-qUf-Au5c.mjs.map
@@ -1,2 +1,2 @@
1
- import{n as e,t}from"./path-D4ahAhVD.mjs";import{t as n}from"./array-Cerc_8W3.mjs";import{rt as r}from"./chunk-ICXQ74PX-CewdqzeE.mjs";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
2
- //# sourceMappingURL=line-Cq-NoiNn.mjs.map
1
+ import{n as e,t}from"./path-CIoCsClp.mjs";import{t as n}from"./array-BbgQa93P.mjs";import{rt as r}from"./chunk-ICXQ74PX-DbJy3VdO.mjs";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
2
+ //# sourceMappingURL=line-eTDW_zUy.mjs.map
@@ -1,2 +1,2 @@
1
- import{l as e,n as t,o as n,r,t as i}from"./src-BuBt_xnY.mjs";import{i as a,n as o,r as s,t as c}from"./defaultLocale-9SlCuWEL.mjs";import{t as l}from"./init-Buw5jj4Q.mjs";function u(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function d(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function f(e){let t,n,r;e.length===2?(t=e===u||e===d?e:p,n=e,r=e):(t=u,n=(t,n)=>u(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function p(){return 0}function m(e){return e===null?NaN:+e}const h=f(u),g=h.right;h.left,f(m).center;const _=Math.sqrt(50),v=Math.sqrt(10),y=Math.sqrt(2);function b(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=_?10:a>=v?5:a>=y?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?b(e,t,n*2):[s,c,l]}function x(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?b(t,e,n):b(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function S(e,t,n){return t=+t,e=+e,n=+n,b(e,t,n)[2]}function C(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?S(t,e,n):S(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function w(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function T(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function E(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=k(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function D(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function O(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=k(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function k(a,o){var s=typeof o,c;return o==null||s===`boolean`?n(o):(s===`number`?t:s===`string`?(c=e(o))?(o=c,r):i:o instanceof e?r:o instanceof Date?D:T(o)?w:Array.isArray(o)?E:typeof o.valueOf!=`function`&&typeof o.toString!=`function`||isNaN(o)?O:t)(a,o)}function A(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function j(e){return Math.max(0,-a(Math.abs(e)))}function M(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3-a(Math.abs(e)))}function N(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,a(t)-a(e))+1}function P(e){return function(){return e}}function F(e){return+e}var I=[0,1];function L(e){return e}function R(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:P(isNaN(t)?NaN:.5)}function z(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function B(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=R(i,r),a=n(o,a)):(r=R(r,i),a=n(a,o)),function(e){return a(r(e))}}function V(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=R(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=g(e,t,1,r)-1;return a[n](i[n](t))}}function H(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function U(){var e=I,n=I,r=k,i,a,o,s=L,c,l,u;function d(){var t=Math.min(e.length,n.length);return s!==L&&(s=z(e[0],e[t-1])),c=t>2?V:B,l=u=null,f}function f(t){return t==null||isNaN(t=+t)?o:(l||=c(e.map(i),n,r))(i(s(t)))}return f.invert=function(r){return s(a((u||=c(n,e.map(i),t))(r)))},f.domain=function(t){return arguments.length?(e=Array.from(t,F),d()):e.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=A,d()},f.clamp=function(e){return arguments.length?(s=e?!0:L,d()):s!==L},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function W(){return U()(L,L)}function G(e,t,n,r){var i=C(e,t,n),a;switch(r=s(r??`,f`),r.type){case`s`:var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=M(i,l))&&(r.precision=a),o(r,l);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=N(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=j(i))&&(r.precision=a-(r.type===`%`)*2);break}return c(r)}function K(e){var t=e.domain;return e.ticks=function(e){var n=t();return x(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return G(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=S(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function q(){var e=W();return e.copy=function(){return H(e,q())},l.apply(e,arguments),K(e)}export{f as a,C as i,W as n,H as r,q as t};
2
- //# sourceMappingURL=linear-DPbvcrPk.mjs.map
1
+ import{l as e,n as t,o as n,r,t as i}from"./src-BPVU4Y0o.mjs";import{i as a,n as o,r as s,t as c}from"./defaultLocale-DN4qDyCE.mjs";import{t as l}from"./init-D8OKme52.mjs";function u(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function d(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function f(e){let t,n,r;e.length===2?(t=e===u||e===d?e:p,n=e,r=e):(t=u,n=(t,n)=>u(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function p(){return 0}function m(e){return e===null?NaN:+e}const h=f(u),g=h.right;h.left,f(m).center;const _=Math.sqrt(50),v=Math.sqrt(10),y=Math.sqrt(2);function b(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=_?10:a>=v?5:a>=y?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?b(e,t,n*2):[s,c,l]}function x(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?b(t,e,n):b(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function S(e,t,n){return t=+t,e=+e,n=+n,b(e,t,n)[2]}function C(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?S(t,e,n):S(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function w(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function T(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function E(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=k(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function D(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function O(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=k(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}function k(a,o){var s=typeof o,c;return o==null||s===`boolean`?n(o):(s===`number`?t:s===`string`?(c=e(o))?(o=c,r):i:o instanceof e?r:o instanceof Date?D:T(o)?w:Array.isArray(o)?E:typeof o.valueOf!=`function`&&typeof o.toString!=`function`||isNaN(o)?O:t)(a,o)}function A(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function j(e){return Math.max(0,-a(Math.abs(e)))}function M(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3-a(Math.abs(e)))}function N(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,a(t)-a(e))+1}function P(e){return function(){return e}}function F(e){return+e}var I=[0,1];function L(e){return e}function R(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:P(isNaN(t)?NaN:.5)}function z(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function B(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=R(i,r),a=n(o,a)):(r=R(r,i),a=n(a,o)),function(e){return a(r(e))}}function V(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=R(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=g(e,t,1,r)-1;return a[n](i[n](t))}}function H(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function U(){var e=I,n=I,r=k,i,a,o,s=L,c,l,u;function d(){var t=Math.min(e.length,n.length);return s!==L&&(s=z(e[0],e[t-1])),c=t>2?V:B,l=u=null,f}function f(t){return t==null||isNaN(t=+t)?o:(l||=c(e.map(i),n,r))(i(s(t)))}return f.invert=function(r){return s(a((u||=c(n,e.map(i),t))(r)))},f.domain=function(t){return arguments.length?(e=Array.from(t,F),d()):e.slice()},f.range=function(e){return arguments.length?(n=Array.from(e),d()):n.slice()},f.rangeRound=function(e){return n=Array.from(e),r=A,d()},f.clamp=function(e){return arguments.length?(s=e?!0:L,d()):s!==L},f.interpolate=function(e){return arguments.length?(r=e,d()):r},f.unknown=function(e){return arguments.length?(o=e,f):o},function(e,t){return i=e,a=t,d()}}function W(){return U()(L,L)}function G(e,t,n,r){var i=C(e,t,n),a;switch(r=s(r??`,f`),r.type){case`s`:var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=M(i,l))&&(r.precision=a),o(r,l);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=N(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=j(i))&&(r.precision=a-(r.type===`%`)*2);break}return c(r)}function K(e){var t=e.domain;return e.ticks=function(e){var n=t();return x(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return G(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=S(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function q(){var e=W();return e.copy=function(){return H(e,q())},l.apply(e,arguments),K(e)}export{f as a,C as i,W as n,H as r,q as t};
2
+ //# sourceMappingURL=linear-Cn1royVQ.mjs.map
@@ -1 +1 @@
1
- import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-PBXLG62G-ww-bn-Tp.mjs";export{e as lnCommand};
1
+ import"./chunk-DXB73IDG-q-dGnwlc.mjs";import{n as e}from"./chunk-PBXLG62G-C12xrBbG.mjs";export{e as lnCommand};
@@ -0,0 +1,9 @@
1
+ import"./chunk-DXB73IDG-BBwE27jK.mjs";import{n as e}from"./chunk-3THT3N7L-DYkTD3HD.mjs";import{n as t,r as n,t as r}from"./chunk-74CEPOFO-BYrCYxKO.mjs";var i={name:`ln`,summary:`make links between files`,usage:`ln [OPTIONS] TARGET LINK_NAME`,options:[`-s create a symbolic link instead of a hard link`,`-f remove existing destination files`,`-n treat LINK_NAME as a normal file if it is a symbolic link to a directory`,`-v print name of each linked file`,` --help display this help and exit`]},a={name:`ln`,async execute(a,o){if(r(a))return n(i);let s=!1,c=!1,l=!1,u=0;for(;u<a.length&&a[u].startsWith(`-`);){let e=a[u];if(e===`-s`||e===`--symbolic`)s=!0,u++;else if(e===`-f`||e===`--force`)c=!0,u++;else if(e===`-v`||e===`--verbose`)l=!0,u++;else if(e===`-n`||e===`--no-dereference`)u++;else if(/^-[sfvn]+$/.test(e))e.includes(`s`)&&(s=!0),e.includes(`f`)&&(c=!0),e.includes(`v`)&&(l=!0),u++;else if(e===`--`){u++;break}else return t(`ln`,e)}let d=a.slice(u);if(d.length<2)return{stdout:``,stderr:`ln: missing file operand
2
+ `,exitCode:1};let f=d[0],p=d[1],m=o.fs.resolvePath(o.cwd,p);if(await o.fs.exists(m))if(c)try{await o.fs.rm(m,{force:!0})}catch{return{stdout:``,stderr:`ln: cannot remove '${p}': Permission denied
3
+ `,exitCode:1}}else return{stdout:``,stderr:`ln: failed to create ${s?`symbolic `:``}link '${p}': File exists
4
+ `,exitCode:1};try{if(s)await o.fs.symlink(f,m);else{let e=o.fs.resolvePath(o.cwd,f);if(!await o.fs.exists(e))return{stdout:``,stderr:`ln: failed to access '${f}': No such file or directory
5
+ `,exitCode:1};await o.fs.link(e,m)}}catch(t){let n=t;return n.message.includes(`EPERM`)?{stdout:``,stderr:`ln: '${f}': hard link not allowed for directory
6
+ `,exitCode:1}:{stdout:``,stderr:`ln: ${e(n.message)}
7
+ `,exitCode:1}}let h=``;return l&&(h=`'${p}' -> '${f}'
8
+ `),{stdout:h,stderr:``,exitCode:0}}};export{a as lnCommand};
9
+ //# sourceMappingURL=ln-4TRFBYAT-DGrhTL40.mjs.map
@@ -0,0 +1 @@
1
+ import{n as e}from"./loader-f3tIWlWk.mjs";export{e as loadConfig};
@@ -1,2 +1,2 @@
1
- import{Y as e,c as t,d as n,o as r,s as i}from"./sleep-DVOInM4H.mjs";import"./src-9BFQh559.mjs";import{_ as a}from"./src-9I3GiOoK.mjs";import{F as o,O as s}from"./fs-traced-By5aY-RE.mjs";import{t as c}from"./constants-J4-mibQ1.mjs";import{t as l}from"./is-object-ByG7RnjH.mjs";import{resolve as u}from"node:path";import{existsSync as d,readFileSync as f}from"node:fs";import{realpath as p}from"node:fs/promises";var m=e();async function h(e){let t=u(e);try{return await p(t)}catch(e){if(e.code!==`ENOENT`){let n=e instanceof Error?e.message:String(e);console.warn(`[normalize-cwd] realpath failed for ${t}: ${n}`)}return t}}function g(e,t){let n={...e};for(let r of Object.keys(t)){let i=e[r],a=t[r];l(a)&&l(i)?n[r]=g(i,a):a!==void 0&&(n[r]=a)}return n}function _(e){if(!d(e))return{value:null,path:e,source:null,doc:null};let t;try{t=f(e,`utf-8`)}catch(t){let n=t instanceof Error?t.message:String(t);return console.warn(`[config] Failed to read ${e}: ${n}`),{value:null,path:e,source:null,doc:null,diagnostic:{code:`UNREADABLE`,detail:`${e}: ${n}`}}}let n=(0,m.parseDocument)(t);if(n.errors.length>0){let r=n.errors.map(e=>e.message).join(`; `);return console.warn(`[config] Failed to parse ${e}: ${r}`),{value:null,path:e,source:t,doc:null,diagnostic:{code:`YAML_PARSE`,detail:`${e}: ${r}`}}}let r=n.toJSON();return l(r)?{value:r,path:e,source:t,doc:n}:{value:null,path:e,source:t,doc:n}}function v(e,n){return e.map(e=>{let r=e.path.map(e=>typeof e==`symbol`?String(e):e),i={path:r,message:e.message,issueCode:e.code};if(n.doc!==null&&n.source!==null){let e=t({file:n.path,source:n.source,doc:n.doc,path:r});if(e!==void 0)return{...i,source:e}}return i})}function y(e){let t=e??process.cwd(),l=[],d=[],f=[],p=s(`user`,t),m=o({absPath:p});d.push(...m.diagnostics),!m.valid&&m.sidelinedTo!==void 0&&f.push({from:p,to:m.sidelinedTo});let h={};m.valid&&m.source!==void 0?(h=g(h,m.value),l.push(p)):m.valid;let y=u(t,`.ok`,c),b=_(y);if(b.diagnostic!==void 0&&d.push(b.diagnostic),b.value!==null){let e=r({value:b.value,file:b.path,source:b.source,doc:b.doc});d.push(...e);let t=e.length>0?i(b.value):b.value;h=g(h,t),l.push(y)}let x=a.safeParse(h);if(!x.success){let e={code:`SCHEMA_INVALID`,issues:v(x.error.issues,b)};throw Error(n(e))}return{config:x.data,sources:l,diagnostics:d,sidelined:f}}function b(e){let t=e.cacheMs??1e3,n=e.loadConfigFn??y,r=new Map,i=new Map,a=h(e.startupCwd);return async o=>{let s=await h(o??e.startupCwd),c=Date.now(),l=r.get(s);if(l&&l.expiresAt>c)return l.config;let u=i.get(s);if(u)return await u;let d=(async()=>{if(s===await a)return r.set(s,{config:e.startupConfig,expiresAt:Date.now()+t}),e.startupConfig;let i=n(s).config;return r.set(s,{config:i,expiresAt:Date.now()+t}),i})();i.set(s,d);try{return await d}finally{i.delete(s)}}}export{y as n,b as t};
2
- //# sourceMappingURL=loader-ji3pPcXi.mjs.map
1
+ import{Y as e,c as t,d as n,o as r,s as i}from"./sleep-DVOInM4H.mjs";import"./src-TKCctdpc.mjs";import{_ as a}from"./src-Dt5dAyFQ.mjs";import{F as o,O as s}from"./fs-traced-DVpoNaQJ.mjs";import{t as c}from"./constants-BkYBCRUx.mjs";import{t as l}from"./is-object-ByG7RnjH.mjs";import{resolve as u}from"node:path";import{existsSync as d,readFileSync as f}from"node:fs";import{realpath as p}from"node:fs/promises";var m=e();async function h(e){let t=u(e);try{return await p(t)}catch(e){if(e.code!==`ENOENT`){let n=e instanceof Error?e.message:String(e);console.warn(`[normalize-cwd] realpath failed for ${t}: ${n}`)}return t}}function g(e,t){let n={...e};for(let r of Object.keys(t)){let i=e[r],a=t[r];l(a)&&l(i)?n[r]=g(i,a):a!==void 0&&(n[r]=a)}return n}function _(e){if(!d(e))return{value:null,path:e,source:null,doc:null};let t;try{t=f(e,`utf-8`)}catch(t){let n=t instanceof Error?t.message:String(t);return console.warn(`[config] Failed to read ${e}: ${n}`),{value:null,path:e,source:null,doc:null,diagnostic:{code:`UNREADABLE`,detail:`${e}: ${n}`}}}let n=(0,m.parseDocument)(t);if(n.errors.length>0){let r=n.errors.map(e=>e.message).join(`; `);return console.warn(`[config] Failed to parse ${e}: ${r}`),{value:null,path:e,source:t,doc:null,diagnostic:{code:`YAML_PARSE`,detail:`${e}: ${r}`}}}let r=n.toJSON();return l(r)?{value:r,path:e,source:t,doc:n}:{value:null,path:e,source:t,doc:n}}function v(e,n){return e.map(e=>{let r=e.path.map(e=>typeof e==`symbol`?String(e):e),i={path:r,message:e.message,issueCode:e.code};if(n.doc!==null&&n.source!==null){let e=t({file:n.path,source:n.source,doc:n.doc,path:r});if(e!==void 0)return{...i,source:e}}return i})}function y(e){let t=e??process.cwd(),l=[],d=[],f=[],p=s(`user`,t),m=o({absPath:p});d.push(...m.diagnostics),!m.valid&&m.sidelinedTo!==void 0&&f.push({from:p,to:m.sidelinedTo});let h={};m.valid&&m.source!==void 0?(h=g(h,m.value),l.push(p)):m.valid;let y=u(t,`.ok`,c),b=_(y);if(b.diagnostic!==void 0&&d.push(b.diagnostic),b.value!==null){let e=r({value:b.value,file:b.path,source:b.source,doc:b.doc});d.push(...e);let t=e.length>0?i(b.value):b.value;h=g(h,t),l.push(y)}let x=a.safeParse(h);if(!x.success){let e={code:`SCHEMA_INVALID`,issues:v(x.error.issues,b)};throw Error(n(e))}return{config:x.data,sources:l,diagnostics:d,sidelined:f}}function b(e){let t=e.cacheMs??1e3,n=e.loadConfigFn??y,r=new Map,i=new Map,a=h(e.startupCwd);return async o=>{let s=await h(o??e.startupCwd),c=Date.now(),l=r.get(s);if(l&&l.expiresAt>c)return l.config;let u=i.get(s);if(u)return await u;let d=(async()=>{if(s===await a)return r.set(s,{config:e.startupConfig,expiresAt:Date.now()+t}),e.startupConfig;let i=n(s).config;return r.set(s,{config:i,expiresAt:Date.now()+t}),i})();i.set(s,d);try{return await d}finally{i.delete(s)}}}export{y as n,b as t};
2
+ //# sourceMappingURL=loader-f3tIWlWk.mjs.map