@inkeep/open-knowledge 0.3.0 → 0.4.0-beta.8

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 (571) hide show
  1. package/dist/THIRD_PARTY_NOTICES.md +658 -0
  2. package/dist/alias-JE7RI5QX-Bia4gLMF.mjs +1 -0
  3. package/dist/assets/skills/open-knowledge/SKILL.md +145 -52
  4. package/dist/awk2-POPGKRAI-DDrFV-7v.mjs +1 -0
  5. package/dist/{banner-BxI1wnW9.mjs → banner-DdbR6AZr.mjs} +2 -2
  6. package/dist/base64-4YMZCVJ5-DDKKOjMm.mjs +1 -0
  7. package/dist/basename-AA2KJYZQ-BK5zVs3W.mjs +1 -0
  8. package/dist/bash-IJWYRKFO-B9r1a0X9.mjs +1 -0
  9. package/dist/build-B6buVrsB.mjs +2 -0
  10. package/dist/cat-RDUMLXKC-CeNrSElK.mjs +1 -0
  11. package/dist/chmod-SYMGL4JA-DFJ4ylQU.mjs +1 -0
  12. package/dist/{chokidar-CblsKfnx.mjs → chokidar-CxU7f6JW.mjs} +1 -1
  13. package/dist/{chunk-24IMIIXA-Bz7rlZT3.mjs → chunk-24IMIIXA-B6yIPkk2.mjs} +2 -2
  14. package/dist/{chunk-3THT3N7L-klp8GP84.mjs → chunk-3THT3N7L-DztAF386.mjs} +1 -1
  15. package/dist/{chunk-3ZUFRYJ4-C93H8j0V.mjs → chunk-3ZUFRYJ4-qsYuZX7b.mjs} +1 -1
  16. package/dist/{chunk-44UOCSGV-BUBpWxXm.mjs → chunk-44UOCSGV-CaFxJDHm.mjs} +1 -1
  17. package/dist/{chunk-4GTNDTRF-_OVmXcJ-.mjs → chunk-4GTNDTRF-PuLVuVJW.mjs} +2 -2
  18. package/dist/{chunk-4HHKTUW3-Dm69hDaZ.mjs → chunk-4HHKTUW3-CQ53AiA_.mjs} +1 -1
  19. package/dist/{chunk-4Q4SM6WR-DDQRsilN.mjs → chunk-4Q4SM6WR-BlQvqCag.mjs} +2 -2
  20. package/dist/{chunk-55VFSPNA-DVZfQAzN.mjs → chunk-55VFSPNA-DLwfww5b.mjs} +2 -2
  21. package/dist/{chunk-5QMZ5MUS-DWTkM0vM.mjs → chunk-5QMZ5MUS-CAp625aG.mjs} +2 -2
  22. package/dist/{chunk-5QVNJEHU-BvsipSFW.mjs → chunk-5QVNJEHU-dbrKfPGl.mjs} +2 -2
  23. package/dist/{chunk-5V6VZH6T-BCr5_GDF.mjs → chunk-5V6VZH6T-DMPvCPbn.mjs} +2 -2
  24. package/dist/{chunk-62RKD26F-D-luOa0m.mjs → chunk-62RKD26F-B9la0pfD.mjs} +2 -2
  25. package/dist/{chunk-64BAICW3-CTJNEx4Q.mjs → chunk-64BAICW3-D92CLSK-.mjs} +2 -2
  26. package/dist/{chunk-74CEPOFO-D1bzz49u.mjs → chunk-74CEPOFO-BcZUJMO1.mjs} +1 -1
  27. package/dist/{chunk-7L36YK2X-RiPZFKaV.mjs → chunk-7L36YK2X-D7Z_Qw_C.mjs} +1 -1
  28. package/dist/{chunk-7TSDKFEO-a-GUGBTu.mjs → chunk-7TSDKFEO-DUQhJkDy.mjs} +1 -1
  29. package/dist/{chunk-A4HU7SVR-hefV_YmW.mjs → chunk-A4HU7SVR-DKLaJeys.mjs} +1 -1
  30. package/dist/{chunk-A4JSPFCI-U-xWmMMC.mjs → chunk-A4JSPFCI-CEm2r8SB.mjs} +2 -2
  31. package/dist/{chunk-A5O5YHGN-C7BVq0eF.mjs → chunk-A5O5YHGN-DvJz5Cpw.mjs} +2 -2
  32. package/dist/{chunk-A65PWWJC-D7J5l9eq.mjs → chunk-A65PWWJC-DV6RO_es.mjs} +2 -2
  33. package/dist/{chunk-A7A2DBEE-PLfkXLI4.mjs → chunk-A7A2DBEE-dTNL-45u.mjs} +1 -1
  34. package/dist/{chunk-A7ICOL4V-Drb3XsEL.mjs → chunk-A7ICOL4V-BvXPAaHu.mjs} +2 -2
  35. package/dist/{chunk-ALLTKNUZ-BMiTDN50.mjs → chunk-ALLTKNUZ-Cu6JFoC4.mjs} +2 -2
  36. package/dist/{chunk-APT7OOP2-CXHnSuct.mjs → chunk-APT7OOP2-DmUrFuRy.mjs} +2 -2
  37. package/dist/{chunk-BBXLRYSX-DURjrblE.mjs → chunk-BBXLRYSX-K758HlCs.mjs} +2 -2
  38. package/dist/{chunk-BRGMQKJV-CdrkqzRA.mjs → chunk-BRGMQKJV-BXc-9Cgj.mjs} +3 -3
  39. package/dist/{chunk-CR5AFCPT-ROmyDFrB.mjs → chunk-CR5AFCPT-DxNsgM0M.mjs} +2 -2
  40. package/dist/{chunk-CWQS3NFK-DFdwmFxJ.mjs → chunk-CWQS3NFK-Co4ALolT.mjs} +1 -1
  41. package/dist/{chunk-D4J545R4-C8nMOauR.mjs → chunk-D4J545R4-DkHLjHX6.mjs} +2 -2
  42. package/dist/{chunk-D6CWQ5DW-B-J4LN9N.mjs → chunk-D6CWQ5DW-7lvT8dGP.mjs} +2 -2
  43. package/dist/{chunk-D7MEQ3VN-Csvth_Ss.mjs → chunk-D7MEQ3VN-D8jJZr4A.mjs} +2 -2
  44. package/dist/{chunk-DCAAORBQ-BdrR5ttw.mjs → chunk-DCAAORBQ-C3s1D8OY.mjs} +2 -2
  45. package/dist/{chunk-DXB73IDG-C774okS0.mjs → chunk-DXB73IDG-DIKSLkPq.mjs} +1 -1
  46. package/dist/{chunk-EEXR5ZDP-C5AJH114.mjs → chunk-EEXR5ZDP-CETL3_Uw.mjs} +1 -1
  47. package/dist/{chunk-EIZGF4BS-8bsVXqW0.mjs → chunk-EIZGF4BS-DOoQW9jQ.mjs} +2 -2
  48. package/dist/{chunk-F23WWYKW-DST0dB7V.mjs → chunk-F23WWYKW-BK2tpXPf.mjs} +2 -2
  49. package/dist/{chunk-F55TLFGB-DqkrAMO5.mjs → chunk-F55TLFGB-Vy5RU2P3.mjs} +2 -2
  50. package/dist/{chunk-FEIOJCZD-C4x0A4rb.mjs → chunk-FEIOJCZD-C25Und0M.mjs} +2 -2
  51. package/dist/{chunk-GCTKCWKD-Deqi1D_N.mjs → chunk-GCTKCWKD-Di-RB9Qt.mjs} +1 -1
  52. package/dist/{chunk-GFQRA5P5-1fzItQ8F.mjs → chunk-GFQRA5P5-DnjwTqP3.mjs} +1 -1
  53. package/dist/{chunk-GOV5EKKI-PN17n-Z0.mjs → chunk-GOV5EKKI-CKV9jOGv.mjs} +2 -2
  54. package/dist/{chunk-GXVXFKBA-993FoPmq.mjs → chunk-GXVXFKBA-CUKDClxt.mjs} +2 -2
  55. package/dist/{chunk-HDQ56CKY-pGV4pOJA.mjs → chunk-HDQ56CKY-MTQ75a8z.mjs} +2 -2
  56. package/dist/{chunk-HJQJAYMS-Ci3vsKQW.mjs → chunk-HJQJAYMS-D-8Vc6Zb.mjs} +1 -1
  57. package/dist/{chunk-HJWBQKYG-UZig4wUt.mjs → chunk-HJWBQKYG-XrOcsn2f.mjs} +2 -2
  58. package/dist/{chunk-HWBSOZZR-Dikp87Ww.mjs → chunk-HWBSOZZR-BZF8XsyZ.mjs} +2 -2
  59. package/dist/{chunk-HWKDQ44K-CPSjqtR_.mjs → chunk-HWKDQ44K-wgmyck2O.mjs} +2 -2
  60. package/dist/{chunk-I57KEIP3-B1DoH8rp.mjs → chunk-I57KEIP3-DipCOPKf.mjs} +2 -2
  61. package/dist/{chunk-IPJHKYVM-BbWncVr2.mjs → chunk-IPJHKYVM-C3IodQq7.mjs} +1 -1
  62. package/dist/{chunk-J642UCRS-DB77Y2Wt.mjs → chunk-J642UCRS-YiNealfn.mjs} +2 -2
  63. package/dist/{chunk-JVPRLUMK-DnQCNjpq.mjs → chunk-JVPRLUMK-VMFWXimu.mjs} +2 -2
  64. package/dist/{chunk-KMEYNNUA-DfdK88O_.mjs → chunk-KMEYNNUA-pRogdye4.mjs} +2 -2
  65. package/dist/{chunk-LL3S3NLB-DxXgE3kY.mjs → chunk-LL3S3NLB-ByBS5IDP.mjs} +2 -2
  66. package/dist/{chunk-LPQPILI2-BXfU9TgM.mjs → chunk-LPQPILI2-FRQB9gt5.mjs} +2 -2
  67. package/dist/{chunk-LTZRCH7N-GAjTFNwG.mjs → chunk-LTZRCH7N-46S7WKw8.mjs} +2 -2
  68. package/dist/{chunk-LWEGUNWT-BALY4RLC.mjs → chunk-LWEGUNWT-DdGmM3wr.mjs} +2 -2
  69. package/dist/{chunk-MDDMCKUK-D6GWoJsI.mjs → chunk-MDDMCKUK-CuRdI1Uv.mjs} +2 -2
  70. package/dist/{chunk-MDLLFABN-oBQf6bGE.mjs → chunk-MDLLFABN-Wd1iVjXi.mjs} +2 -2
  71. package/dist/{chunk-MHTUABJP-dKmK6Hw7.mjs → chunk-MHTUABJP-BWrqic3t.mjs} +1 -1
  72. package/dist/{chunk-MIZPJHVH-z-geAni9.mjs → chunk-MIZPJHVH-DWdPvcYR.mjs} +2 -2
  73. package/dist/{chunk-MLXIYONF-DB-C8Hx8.mjs → chunk-MLXIYONF-CiCzoeGt.mjs} +2 -2
  74. package/dist/{chunk-MYE6AGBJ-B4pRo9ma.mjs → chunk-MYE6AGBJ-DJo74dVC.mjs} +2 -2
  75. package/dist/{chunk-NAERJDUW-CX0lf-xx.mjs → chunk-NAERJDUW-CIHrNgJB.mjs} +2 -2
  76. package/dist/{chunk-NCNPKYJZ-BFGan4lR.mjs → chunk-NCNPKYJZ-BVljycUZ.mjs} +2 -2
  77. package/dist/{chunk-NUYSJFDK-D2NXm2ND.mjs → chunk-NUYSJFDK-BTseBdxv.mjs} +2 -2
  78. package/dist/{chunk-NYQYO467-Degkom4D.mjs → chunk-NYQYO467-BgXuDHUQ.mjs} +2 -2
  79. package/dist/{chunk-OARHFVLG-CY8D2Qov.mjs → chunk-OARHFVLG-Cr0x3Si_.mjs} +2 -2
  80. package/dist/{chunk-OCLXQMOG-BMsyLQhm.mjs → chunk-OCLXQMOG-BW6rwyzS.mjs} +2 -2
  81. package/dist/{chunk-OCS6LSEM-BHslttnj.mjs → chunk-OCS6LSEM-D7VAOziZ.mjs} +2 -2
  82. package/dist/{chunk-OJDRYQWQ-BV5MVRVg.mjs → chunk-OJDRYQWQ-ikvLWpfV.mjs} +1 -1
  83. package/dist/{chunk-OL3S66CO-Bmgu4tW4.mjs → chunk-OL3S66CO-CQnF8cPH.mjs} +2 -2
  84. package/dist/{chunk-PBXLG62G-lGjqkk78.mjs → chunk-PBXLG62G-CgbPJTiw.mjs} +2 -2
  85. package/dist/{chunk-PP6PSHAB-DMC_XCfO.mjs → chunk-PP6PSHAB-CO4MYU__.mjs} +1 -1
  86. package/dist/{chunk-PYSFUGCK-CY7pclEB.mjs → chunk-PYSFUGCK-DsRn64Ef.mjs} +2 -2
  87. package/dist/{chunk-QCDB2VPH-D1RuXtOm.mjs → chunk-QCDB2VPH-BUMOhlW7.mjs} +2 -2
  88. package/dist/{chunk-QJ7O6ZN3-BH67tCjg.mjs → chunk-QJ7O6ZN3-F0_rcDPM.mjs} +2 -2
  89. package/dist/{chunk-R6QSAL5T-CtbJTvt9.mjs → chunk-R6QSAL5T-CeW6f7-x.mjs} +1 -1
  90. package/dist/{chunk-R6VWJ2ZL-B0CcMPyK.mjs → chunk-R6VWJ2ZL-FwG_Za20.mjs} +1 -1
  91. package/dist/{chunk-RPNGRAAP-BughPjdR.mjs → chunk-RPNGRAAP-BmkapBPD.mjs} +2 -2
  92. package/dist/{chunk-SDNKECQQ-C3GEf3VZ.mjs → chunk-SDNKECQQ-DkebEzkd.mjs} +2 -2
  93. package/dist/{chunk-SYMJJMQ4-CWTh95-4.mjs → chunk-SYMJJMQ4-DOZMaECk.mjs} +2 -2
  94. package/dist/{chunk-T56QNPHK-DlKQeuXU.mjs → chunk-T56QNPHK-DPXaSSfC.mjs} +2 -2
  95. package/dist/{chunk-TLSUDHID-B8UnqY4U.mjs → chunk-TLSUDHID-BovZg0r1.mjs} +2 -2
  96. package/dist/{chunk-TOMNU26N-BcdbBQ2p.mjs → chunk-TOMNU26N-AAglMy4J.mjs} +2 -2
  97. package/dist/{chunk-TXBZCHCQ-l48TczF5.mjs → chunk-TXBZCHCQ-WeVWfqYv.mjs} +2 -2
  98. package/dist/{chunk-UNYNJIFU-DwPQMz0F.mjs → chunk-UNYNJIFU-CqGlXAg7.mjs} +3 -3
  99. package/dist/{chunk-V7TAPXDL-CnKUp2df.mjs → chunk-V7TAPXDL-DQgGPvBY.mjs} +2 -2
  100. package/dist/{chunk-VJFXDYWH-IiUXkKX0.mjs → chunk-VJFXDYWH-DIo0Ia0_.mjs} +2 -2
  101. package/dist/{chunk-VLGZJRPG-D4NVKJYL.mjs → chunk-VLGZJRPG-DymOu90-.mjs} +2 -2
  102. package/dist/{chunk-VOBGTVA6-BT7gUxqf.mjs → chunk-VOBGTVA6-Bfa1NTzt.mjs} +2 -2
  103. package/dist/{chunk-VYOJP4TV-BvibOnKG.mjs → chunk-VYOJP4TV-PBsHe2md.mjs} +2 -2
  104. package/dist/{chunk-WKFATFPP-DCZdrA8x.mjs → chunk-WKFATFPP-KO2zkfs2.mjs} +2 -2
  105. package/dist/{chunk-X2AJGDEF-BaH6i1Rq.mjs → chunk-X2AJGDEF-D5w6wtaX.mjs} +1 -1
  106. package/dist/{chunk-XHM67O4N-Cg35xc6b.mjs → chunk-XHM67O4N-akBjDPaR.mjs} +1 -1
  107. package/dist/{chunk-XKQRETAK-cVWA9gEB.mjs → chunk-XKQRETAK-RHzVmuiF.mjs} +2 -2
  108. package/dist/{chunk-XORM457F-CRToN1RQ.mjs → chunk-XORM457F-wr_DBBnV.mjs} +2 -2
  109. package/dist/{chunk-XVDPCNWR-CtK-Xs2O.mjs → chunk-XVDPCNWR-DxaG1FfA.mjs} +2 -2
  110. package/dist/{chunk-YCFVLTST-Ox9Z0Nk6.mjs → chunk-YCFVLTST-Dzwevuc3.mjs} +2 -2
  111. package/dist/{chunk-YFG2CMIF-Csgr05KV.mjs → chunk-YFG2CMIF-BoZQym0L.mjs} +2 -2
  112. package/dist/{chunk-YNYSPYQ5-BpP11HXS.mjs → chunk-YNYSPYQ5-DesxOVHh.mjs} +1 -1
  113. package/dist/{chunk-YS3AZT3J-BEZxz_aQ.mjs → chunk-YS3AZT3J-CBc9LHIy.mjs} +2 -2
  114. package/dist/{chunk-YTNYSM6T-DuBR2-TM.mjs → chunk-YTNYSM6T-WMIf3AF8.mjs} +2 -2
  115. package/dist/{chunk-Z6LRHWXI-DbRghyzT.mjs → chunk-Z6LRHWXI-DGTVoTuf.mjs} +2 -2
  116. package/dist/{chunk-Z7JVV2SM-BzR-yvwK.mjs → chunk-Z7JVV2SM-Cb4YKOCM.mjs} +2 -2
  117. package/dist/clear-5CZ5X4YR-CadVxKrq.mjs +1 -0
  118. package/dist/cli.mjs +58 -1400
  119. package/dist/colors-BNufdynn.mjs +2 -0
  120. package/dist/colors-T3xmlXQT.mjs +1 -0
  121. package/dist/column-WLPMMSTS-6o4DDsDk.mjs +1 -0
  122. package/dist/comm-5SLSESQG-C2GatHU6.mjs +1 -0
  123. package/dist/config-schema.json +87 -0
  124. package/dist/config.project-local.schema.json +30 -0
  125. package/dist/config.project.schema.json +59 -0
  126. package/dist/config.user.schema.json +58 -0
  127. package/dist/constants-B1fw1n69.mjs +2 -0
  128. package/dist/cp-XOYR4ABJ-DmS6dER-.mjs +1 -0
  129. package/dist/{curl-47BFPSFW-Kn_Na_aU.mjs → curl-47BFPSFW-C2kRcGkX.mjs} +2 -2
  130. package/dist/cut-OPC3VAGB-s4tQWhL5.mjs +1 -0
  131. package/dist/date-DD7FVA2V-Dubgjr6a.mjs +1 -0
  132. package/dist/diff-HJF2MPDN-DjGBLQph.mjs +1 -0
  133. package/dist/dirname-LEMTZZFS-B477CImE.mjs +1 -0
  134. package/dist/dist-BToVkFhc.mjs +1 -0
  135. package/dist/dist-DVM7wH81.mjs +359 -0
  136. package/dist/dist-ou5qina8.mjs +1609 -0
  137. package/dist/du-WO2ENHXQ-C4c5wweW.mjs +1 -0
  138. package/dist/echo-O45JWWI2-TudodhHR.mjs +1 -0
  139. package/dist/env-5EPCWSXR-CTcNEMpy.mjs +1 -0
  140. package/dist/{esm-BFkWzFey.mjs → esm-BbkJd7ro.mjs} +1 -1
  141. package/dist/{esm-wByiX8MO.mjs → esm-CEs3LWY3.mjs} +2 -2
  142. package/dist/{execAsync-0jii24p9.mjs → execAsync-CulVJBMN.mjs} +1 -1
  143. package/dist/{execAsync-Czqc-yAz.mjs → execAsync-CzW9fUYQ.mjs} +1 -1
  144. package/dist/{execAsync-DgmLXmTx.mjs → execAsync-DuQoqWaW.mjs} +1 -1
  145. package/dist/expand-DTNXU4LQ-BT6M2Tdc.mjs +1 -0
  146. package/dist/expansion-ENLSRCXJ-Cy7j--Iy.mjs +1 -0
  147. package/dist/expr-5T3UU5KE-D2Kr5nuJ.mjs +1 -0
  148. package/dist/file-ZIGAJ4YS-BH3jYcuM.mjs +1 -0
  149. package/dist/find-TPUOAIUQ-RFxkUcGN.mjs +1 -0
  150. package/dist/flag-coverage-QT4N2Z44--nNG-HLV.mjs +2 -0
  151. package/dist/fold-LDSORVYE-CfKQmrJ1.mjs +1 -0
  152. package/dist/{getMachineId-bsd-C1M346yz.mjs → getMachineId-bsd-DAmB-Ym0.mjs} +2 -2
  153. package/dist/{getMachineId-bsd-CPESl3L6.mjs → getMachineId-bsd-FYDP9w5Q.mjs} +2 -2
  154. package/dist/{getMachineId-bsd-DEUypOXJ.mjs → getMachineId-bsd-mPrX3ckm.mjs} +2 -2
  155. package/dist/{getMachineId-darwin-0hBTy7c8.mjs → getMachineId-darwin-B0Qw-MTj.mjs} +2 -2
  156. package/dist/{getMachineId-darwin-CJK3eX9q.mjs → getMachineId-darwin-C79HtyON.mjs} +2 -2
  157. package/dist/{getMachineId-darwin-Vupnt-kR.mjs → getMachineId-darwin-Co8Jnu5v.mjs} +2 -2
  158. package/dist/{getMachineId-linux-BGQn48cN.mjs → getMachineId-linux-BBORs2cS.mjs} +2 -2
  159. package/dist/{getMachineId-linux-CIp07XEX.mjs → getMachineId-linux-BizmCjYq.mjs} +2 -2
  160. package/dist/{getMachineId-linux-B2nkqMir.mjs → getMachineId-linux-BvLCCmKQ.mjs} +2 -2
  161. package/dist/{getMachineId-unsupported-CH1Q20xN.mjs → getMachineId-unsupported-Bgp-Es9j.mjs} +2 -2
  162. package/dist/{getMachineId-unsupported-DfSmC7Gy.mjs → getMachineId-unsupported-CbR45h2D.mjs} +2 -2
  163. package/dist/{getMachineId-unsupported-BnsanXR2.mjs → getMachineId-unsupported-DbGFOAw1.mjs} +2 -2
  164. package/dist/{getMachineId-win-BmmB_8yL.mjs → getMachineId-win-CT_Y5i_4.mjs} +2 -2
  165. package/dist/{getMachineId-win-DlPRChXs.mjs → getMachineId-win-Cy0XHq4X.mjs} +2 -2
  166. package/dist/{getMachineId-win-JnMJbIaW.mjs → getMachineId-win-D5gDnBHa.mjs} +2 -2
  167. package/dist/{git-handle-BhGnmvTB-BMB_49Sb.mjs → git-handle-DwfYp_z--CfyPz4Dz.mjs} +2 -2
  168. package/dist/git-handle-DwfYp_z--DreW3fNC.mjs +1 -0
  169. package/dist/grep-3AIAIJVR-DgQJLmW0.mjs +1 -0
  170. package/dist/gzip-AQXSGOVS-yXjpnIVd.mjs +1 -0
  171. package/dist/head-HT2B6D2J-BR4RHRTk.mjs +1 -0
  172. package/dist/help-VVWX7SA5-M6C6klSC.mjs +1 -0
  173. package/dist/history-J4QRNGRO-C1r7-kvT.mjs +1 -0
  174. package/dist/hostname-BK6HG2DE-BBBcRrtV.mjs +1 -0
  175. package/dist/html-to-markdown-TFCECAGV-B9oYuMVf.mjs +1 -0
  176. package/dist/index.d.mts +9 -2278
  177. package/dist/index.mjs +1 -1
  178. package/dist/init-BZSwVuuW.mjs +1 -0
  179. package/dist/init-CUXehDND.mjs +397 -0
  180. package/dist/{is-object-BNVklKxg.mjs → is-object-DF0ZeuvD.mjs} +1 -1
  181. package/dist/join-GG2LDHE5-xeTE0Mi4.mjs +1 -0
  182. package/dist/jq-ODXZBPLY-C5v6qNu_.mjs +1 -0
  183. package/dist/{js-exec-M6UR76J5-DSk5_wnx.mjs → js-exec-M6UR76J5-IyD-lpzv.mjs} +3 -3
  184. package/dist/{lib-Dl2j2VNl.mjs → lib-BOCdCkg7.mjs} +1 -1
  185. package/dist/{libesm-DC4M2SkF.mjs → libesm-YL3Bqolr.mjs} +1 -1
  186. package/dist/ln-4TRFBYAT-4XMTO1OQ.mjs +1 -0
  187. package/dist/loader-CkZHH0EN.mjs +4 -0
  188. package/dist/loader-DlIwgUOY.mjs +1 -0
  189. package/dist/ls-KSXFZCWH-Bw_Cf-VY.mjs +1 -0
  190. package/dist/{lzma-0LJzVZpl.mjs → lzma-vr8hBkhz.mjs} +2 -2
  191. package/dist/md5sum-INMIK4DX-CAIH4ZVI.mjs +1 -0
  192. package/dist/mkdir-TDEMSB6C-D1oUG8Jf.mjs +1 -0
  193. package/dist/mrmime-C2W7cgq2.mjs +2 -0
  194. package/dist/mv-Z6MORUFL-CN471qcL.mjs +1 -0
  195. package/dist/nl-U5YJDM32-CFzXKze3.mjs +1 -0
  196. package/dist/od-VJEF2UR5-C2R4Accu.mjs +1 -0
  197. package/dist/{open-browser-BzMQ6cLf.mjs → open-browser-BZZK_gJj.mjs} +1 -1
  198. package/dist/paste-7N6AFSDS-bUl2Dwz3.mjs +1 -0
  199. package/dist/preview-1aNziE5D.mjs +1 -0
  200. package/dist/preview-BK6QYYA7.mjs +3 -0
  201. package/dist/printf-CX64KX2P-Ce--gWAq.mjs +1 -0
  202. package/dist/public/assets/ActivityModeContent-1ymqlcHI.js +2 -0
  203. package/dist/public/assets/{ActivityPanelDiffView-D-EUyEh6.js → ActivityPanelDiffView-DoHWP1ak.js} +1 -1
  204. package/dist/public/assets/DocumentContext-bvfr7pL2.js +37 -0
  205. package/dist/public/assets/GraphPanel-DdVygxYk.js +46 -0
  206. package/dist/public/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  207. package/dist/public/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  208. package/dist/public/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  209. package/dist/public/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  210. package/dist/public/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  211. package/dist/public/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  212. package/dist/public/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  213. package/dist/public/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  214. package/dist/public/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  215. package/dist/public/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  216. package/dist/public/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  217. package/dist/public/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  218. package/dist/public/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  219. package/dist/public/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  220. package/dist/public/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  221. package/dist/public/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  222. package/dist/public/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  223. package/dist/public/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  224. package/dist/public/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  225. package/dist/public/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  226. package/dist/public/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  227. package/dist/public/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  228. package/dist/public/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  229. package/dist/public/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  230. package/dist/public/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  231. package/dist/public/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  232. package/dist/public/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  233. package/dist/public/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  234. package/dist/public/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  235. package/dist/public/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  236. package/dist/public/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  237. package/dist/public/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  238. package/dist/public/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  239. package/dist/public/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  240. package/dist/public/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  241. package/dist/public/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  242. package/dist/public/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  243. package/dist/public/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  244. package/dist/public/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  245. package/dist/public/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  246. package/dist/public/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  247. package/dist/public/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  248. package/dist/public/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  249. package/dist/public/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  250. package/dist/public/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  251. package/dist/public/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  252. package/dist/public/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  253. package/dist/public/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  254. package/dist/public/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  255. package/dist/public/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  256. package/dist/public/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  257. package/dist/public/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  258. package/dist/public/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  259. package/dist/public/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  260. package/dist/public/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  261. package/dist/public/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  262. package/dist/public/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  263. package/dist/public/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  264. package/dist/public/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  265. package/dist/public/assets/McpConsentDialogBody-CJwPf_uv.js +1 -0
  266. package/dist/public/assets/OutlinePanel-dumodx-h.js +2 -0
  267. package/dist/public/assets/SettingsPane-CtgbQZxP.js +6 -0
  268. package/dist/public/assets/SourceEditor-CR_7DOAH.js +2 -0
  269. package/dist/public/assets/__vite-browser-external-FEGw1XPd.js +1 -0
  270. package/dist/public/assets/_baseFor-CX8dsZbW.js +1 -0
  271. package/dist/public/assets/{agent-presence-BXsx4eTl.js → agent-presence-Ds2n3U5P.js} +1 -1
  272. package/dist/public/assets/arc-BL_OKZmE.js +1 -0
  273. package/dist/public/assets/architecture-YZFGNWBL-DVxNz-zn.js +1 -0
  274. package/dist/public/assets/architectureDiagram-Q4EWVU46-BKKtWWhU.js +36 -0
  275. package/dist/public/assets/array-X0JlPOfd.js +1 -0
  276. package/dist/public/assets/blockDiagram-DXYQGD6D-fzO4vZye.js +132 -0
  277. package/dist/public/assets/{button-BPXuMr5W.js → button-BsFpqlpT.js} +1 -1
  278. package/dist/public/assets/c4Diagram-AHTNJAMY-BkXqEjiP.js +10 -0
  279. package/dist/public/assets/channel-CR-xJel6.js +1 -0
  280. package/dist/public/assets/chunk-2KRD3SAO-DQj0pw3H.js +1 -0
  281. package/dist/public/assets/chunk-336JU56O-CBajDulv.js +2 -0
  282. package/dist/public/assets/chunk-426QAEUC-BoBKbVmN.js +1 -0
  283. package/dist/public/assets/chunk-4BX2VUAB-D8pbSOlJ.js +1 -0
  284. package/dist/public/assets/chunk-4TB4RGXK-mA6CujZO.js +206 -0
  285. package/dist/public/assets/chunk-55IACEB6-CqVyNzhX.js +1 -0
  286. package/dist/public/assets/chunk-5FUZZQ4R-BVDLgFg2.js +62 -0
  287. package/dist/public/assets/chunk-5PVQY5BW-Cxi5d3lT.js +2 -0
  288. package/dist/public/assets/chunk-67CJDMHE-CdrAY8qZ.js +1 -0
  289. package/dist/public/assets/chunk-7N4EOEYR-CJ3HBg3c.js +1 -0
  290. package/dist/public/assets/chunk-AA7GKIK3-D0ckJAXt.js +1 -0
  291. package/dist/public/assets/chunk-BSJP7CBP-D4bNhKd7.js +1 -0
  292. package/dist/public/assets/chunk-CFjPhJqf.js +1 -0
  293. package/dist/public/assets/chunk-CIAEETIT-D1Fpp2md.js +1 -0
  294. package/dist/public/assets/chunk-EDXVE4YY-ChhT3Iyo.js +1 -0
  295. package/dist/public/assets/chunk-ENJZ2VHE-Bby39so4.js +10 -0
  296. package/dist/public/assets/chunk-FMBD7UC4-pRkDIOZn.js +15 -0
  297. package/dist/public/assets/chunk-FOC6F5B3-BsB4oTj4.js +1 -0
  298. package/dist/public/assets/chunk-ICPOFSXX-CrnuSfeJ.js +122 -0
  299. package/dist/public/assets/chunk-K5T4RW27-CtREah_n.js +94 -0
  300. package/dist/public/assets/chunk-KGLVRYIC-DtDxSfKu.js +1 -0
  301. package/dist/public/assets/chunk-LIHQZDEY-D63TRk6j.js +1 -0
  302. package/dist/public/assets/chunk-ORNJ4GCN-Dv2PvYVu.js +1 -0
  303. package/dist/public/assets/chunk-OYMX7WX6-BhfqKepC.js +231 -0
  304. package/dist/public/assets/chunk-QZHKN3VN-DBRWHtgj.js +1 -0
  305. package/dist/public/assets/chunk-U2HBQHQK-6BAKH95D.js +70 -0
  306. package/dist/public/assets/chunk-X2U36JSP-Cqpkx90-.js +1 -0
  307. package/dist/public/assets/chunk-XPW4576I-DSytTnq4.js +32 -0
  308. package/dist/public/assets/chunk-YZCP3GAM-Dt9awjVh.js +1 -0
  309. package/dist/public/assets/chunk-ZZ45TVLE-JGFITgiO.js +1 -0
  310. package/dist/public/assets/classDiagram-6PBFFD2Q-oopM_Z0m.js +1 -0
  311. package/dist/public/assets/classDiagram-v2-HSJHXN6E-ZAL74u9S.js +1 -0
  312. package/dist/public/assets/clone-C5y6xhRJ.js +1 -0
  313. package/dist/public/assets/colors-XIJoz9Bd.js +1 -0
  314. package/dist/public/assets/{compiler-runtime-Y11fyRVL.js → compiler-runtime-CVnuRdak.js} +1 -1
  315. package/dist/public/assets/config-validation-events-BvuBj41U.js +1 -0
  316. package/dist/public/assets/cose-bilkent-S5V4N54A-B9nG-SHi.js +1 -0
  317. package/dist/public/assets/cytoscape.esm-BkjNfcSF.js +321 -0
  318. package/dist/public/assets/dagre-BEdPLXba.js +1 -0
  319. package/dist/public/assets/dagre-KV5264BT-DKn5nGCC.js +4 -0
  320. package/dist/public/assets/defaultLocale-ZxyFnXCb.js +1 -0
  321. package/dist/public/assets/diagram-5BDNPKRD-BQuwYEd0.js +10 -0
  322. package/dist/public/assets/diagram-G4DWMVQ6-BmzIMyV5.js +24 -0
  323. package/dist/public/assets/diagram-MMDJMWI5-CI5eJfgr.js +43 -0
  324. package/dist/public/assets/diagram-TYMM5635-Cc8TJ7v3.js +24 -0
  325. package/dist/public/assets/dialog-Cv1qneWl.js +45 -0
  326. package/dist/public/assets/{dist-DR1MrLJC.js → dist-B4kUko7n.js} +1 -1
  327. package/dist/public/assets/{dist-BqO6NfD-.js → dist-BH1b1nWB.js} +1 -1
  328. package/dist/public/assets/{dist-DlS42TIP.js → dist-BOapDt7N.js} +1 -1
  329. package/dist/public/assets/dist-CIRuNcH5.js +1 -0
  330. package/dist/public/assets/{dist-GlH2KPqY.js → dist-D08h1pJc.js} +1 -1
  331. package/dist/public/assets/{dist-D2wwoXzm.js → dist-S8LJmtzL.js} +1 -1
  332. package/dist/public/assets/{dist-DeDgmJv2.js → dist-VyzSEzD4.js} +1 -1
  333. package/dist/public/assets/{dist-CgLbXgrr.js → dist-nPpvoMNC.js} +1 -1
  334. package/dist/public/assets/doc-hash-Q6dTjwu5.js +421 -0
  335. package/dist/public/assets/erDiagram-SMLLAGMA-BkrhGWMT.js +85 -0
  336. package/dist/public/assets/flatten-UmyAv3V9.js +1 -0
  337. package/dist/public/assets/flowDiagram-DWJPFMVM-qh62fanI.js +162 -0
  338. package/dist/public/assets/ganttDiagram-T4ZO3ILL-DXuCeCk6.js +292 -0
  339. package/dist/public/assets/gitGraph-7Q5UKJZL-CYhZlmk3.js +1 -0
  340. package/dist/public/assets/gitGraphDiagram-UUTBAWPF-BbcuenPj.js +106 -0
  341. package/dist/public/assets/graphlib-CasrTmMJ.js +1 -0
  342. package/dist/public/assets/image-preview-BJSGEOo4.png +0 -0
  343. package/dist/public/assets/index-BBbaN3Kd.js +1858 -0
  344. package/dist/public/assets/index-DOkkqO-8.css +1 -0
  345. package/dist/public/assets/info-OMHHGYJF-BslcKZhH.js +1 -0
  346. package/dist/public/assets/infoDiagram-42DDH7IO-WFAMbO2S.js +2 -0
  347. package/dist/public/assets/init-CBj3ecIW.js +1 -0
  348. package/dist/public/assets/isEmpty-DWJlzxR1.js +1 -0
  349. package/dist/public/assets/isObjectLike-AdQZ65l0.js +1 -0
  350. package/dist/public/assets/isSymbol-BP7IOIqG.js +1 -0
  351. package/dist/public/assets/ishikawaDiagram-UXIWVN3A-BJBiReWg.js +70 -0
  352. package/dist/public/assets/journeyDiagram-VCZTEJTY-Boq77pl6.js +139 -0
  353. package/dist/public/assets/kanban-definition-6JOO6SKY-DYMSr18F.js +89 -0
  354. package/dist/public/assets/katex-qwlL5fSd.js +257 -0
  355. package/dist/public/assets/line-_p5Px7MV.js +1 -0
  356. package/dist/public/assets/linear-DwuDS4qT.js +1 -0
  357. package/dist/public/assets/mcp-consent-store-BBTXqzE6.js +1 -0
  358. package/dist/public/assets/mermaid-parser.core-BcBb_Ows.js +4 -0
  359. package/dist/public/assets/mermaid.core-ZLTnLqVQ.js +11 -0
  360. package/dist/public/assets/min-HKuGSUqa.js +1 -0
  361. package/dist/public/assets/mindmap-definition-QFDTVHPH-BSxM4djR.js +96 -0
  362. package/dist/public/assets/now-BBH4UqDm.js +1 -0
  363. package/dist/public/assets/ordinal-CeOFUmRv.js +1 -0
  364. package/dist/public/assets/packet-4T2RLAQJ-QVnYA304.js +1 -0
  365. package/dist/public/assets/{panel-BCRdtBla.js → panel-BgMqDESF.js} +1 -1
  366. package/dist/public/assets/path-rUlDLHdA.js +1 -0
  367. package/dist/public/assets/pdf-a35ddrIO.js +54 -0
  368. package/dist/public/assets/pdf.worker-B1D2UnXD.mjs +63133 -0
  369. package/dist/public/assets/pdf.worker-CM-zAFN-.js +1 -0
  370. package/dist/public/assets/pie-ZZUOXDRM-C61c5byc.js +1 -0
  371. package/dist/public/assets/pieDiagram-DEJITSTG-CHRE_Jie.js +30 -0
  372. package/dist/public/assets/preload-helper-2ej06EnG.js +1 -0
  373. package/dist/public/assets/propagation-api-qAYD7s-v.js +1 -0
  374. package/dist/public/assets/quadrantDiagram-34T5L4WZ-CQkE5TwH.js +7 -0
  375. package/dist/public/assets/radar-PYXPWWZC-CMxjRtd8.js +1 -0
  376. package/dist/public/assets/reduce-DotyoGA7.js +1 -0
  377. package/dist/public/assets/requirementDiagram-MS252O5E-DHK98tKS.js +84 -0
  378. package/dist/public/assets/rough.esm-BFJ-MgcB.js +1 -0
  379. package/dist/public/assets/sankeyDiagram-XADWPNL6-BIXaStZh.js +10 -0
  380. package/dist/public/assets/sequenceDiagram-FGHM5R23-BCNH3kJo.js +157 -0
  381. package/dist/public/assets/src-C9jsS3p4.js +1 -0
  382. package/dist/public/assets/src-zyMpT2LE.js +1 -0
  383. package/dist/public/assets/stateDiagram-FHFEXIEX-BC5mjB6x.js +1 -0
  384. package/dist/public/assets/stateDiagram-v2-QKLJ7IA2-B8L3BBt1.js +1 -0
  385. package/dist/public/assets/stex-BKMR5xQj.js +1 -0
  386. package/dist/public/assets/target-navigation-intent-BfGOumP6.js +1 -0
  387. package/dist/public/assets/telemetry-impl-CMeDUVKn.js +2 -0
  388. package/dist/public/assets/timeline-definition-GMOUNBTQ-VNxUGgXp.js +120 -0
  389. package/dist/public/assets/tooltip-CBGDOTMI.js +1 -0
  390. package/dist/public/assets/trace-api-DPMyR1_m.js +1 -0
  391. package/dist/public/assets/treeView-SZITEDCU-DfSa_Oiv.js +1 -0
  392. package/dist/public/assets/treemap-W4RFUUIX-Cp0s5wEq.js +1 -0
  393. package/dist/public/assets/vennDiagram-DHZGUBPP-DV2Y2j0r.js +34 -0
  394. package/dist/public/assets/video-preview-vLovc_Vy.png +0 -0
  395. package/dist/public/assets/wardley-RL74JXVD-CXcBKCuj.js +1 -0
  396. package/dist/public/assets/wardleyDiagram-NUSXRM2D-C1mMZ3kx.js +20 -0
  397. package/dist/public/assets/xychartDiagram-5P7HB3ND-CxFcwN2X.js +7 -0
  398. package/dist/public/index.html +43 -18
  399. package/dist/pwd-D4OZ7N27-C18XewhV.mjs +1 -0
  400. package/dist/{python3-AUFTPCU6-MeZyx8_A.mjs → python3-AUFTPCU6-BaJugIdp.mjs} +2 -2
  401. package/dist/readlink-MI4GCHJF-CHvs7DDT.mjs +1 -0
  402. package/dist/rev-XOSYPP45-2mnFFZWW.mjs +1 -0
  403. package/dist/rg-FOQSCCX3-BJahNfSe.mjs +1 -0
  404. package/dist/rm-RTZG23RL-D9-0WGRY.mjs +1 -0
  405. package/dist/rmdir-XTQXT7RK-Br7eH9kL.mjs +1 -0
  406. package/dist/{rolldown-runtime-wcPFST8Q-BB0WpHs3.mjs → rolldown-runtime-twds-ZHy-Dxr-RWJs.mjs} +1 -1
  407. package/dist/schemas/v0/config.project-local.schema.json +30 -0
  408. package/dist/schemas/v0/config.project.schema.json +59 -0
  409. package/dist/schemas/v0/config.user.schema.json +58 -0
  410. package/dist/sed-VFTTATXJ-mYhAmixc.mjs +1 -0
  411. package/dist/seq-RN5ZUASB-CKf5MNNO.mjs +1 -0
  412. package/dist/server-lock-D7DXNVql-B5nINglj.mjs +1 -0
  413. package/dist/server-lock-D7DXNVql-BRVVzA6T.mjs +2 -0
  414. package/dist/sha1sum-VJPNLNU6-DuOHap1X.mjs +1 -0
  415. package/dist/sha256sum-PI32XWXY-D9fEipQ7.mjs +1 -0
  416. package/dist/sleep-VZFPZFWA-B1fSoYuO.mjs +1 -0
  417. package/dist/sort-DCNRDA7U-DDCY4JZu.mjs +1 -0
  418. package/dist/split-SITCSYCZ-b9hfEJw7.mjs +1 -0
  419. package/dist/sqlite3-56UMWEY3-BQEx5i3P.mjs +1 -0
  420. package/dist/src-DyJycG37.mjs +1 -0
  421. package/dist/start-BAIlolZU.mjs +3 -0
  422. package/dist/start-C7apYJ7u.mjs +1 -0
  423. package/dist/stat-BT5A227F-Dzp4sgau.mjs +1 -0
  424. package/dist/strings-7PLOGTPD-DT41jX9d.mjs +1 -0
  425. package/dist/tac-SJGXQ4T2-BpdVoP8b.mjs +1 -0
  426. package/dist/tail-S5ULNTJU-0-sYrYik.mjs +1 -0
  427. package/dist/tar-ANUBEFJY-Wh3na_NU.mjs +1 -0
  428. package/dist/tee-O7VXZDCO-CwnGG0go.mjs +1 -0
  429. package/dist/time-DEUO3QV2-DzkqaQ1k.mjs +1 -0
  430. package/dist/timeout-VRKMCG72-BtPBpIRq.mjs +1 -0
  431. package/dist/touch-DX2IJOQ4-KW0Ui-lB.mjs +1 -0
  432. package/dist/tr-2HXZRDSW-C6Kf0M8T.mjs +1 -0
  433. package/dist/tree-LYXBS7DC-BN1FBqvM.mjs +1 -0
  434. package/dist/true-WHJNXCHG-DxCMVdqj.mjs +1 -0
  435. package/dist/unexpand-RGTMIGZM-DZ4Kf6Xq.mjs +1 -0
  436. package/dist/uniq-SUNANL47-Ceg51JdA.mjs +1 -0
  437. package/dist/wc-TQB3VNOX-BzWNq0MY.mjs +1 -0
  438. package/dist/which-XZHEH76L-DH_U2-Cj.mjs +1 -0
  439. package/dist/whoami-DGKU3D2X-BholYNPM.mjs +1 -0
  440. package/dist/xan-BXDXYEIB-b1eAtgch.mjs +1 -0
  441. package/dist/xan-view-ECQUO7AJ-DWDC57b_.mjs +1 -0
  442. package/dist/xargs-I6EZUCYF-Cov-i7kW.mjs +1 -0
  443. package/dist/yq-MJMAR36V-1r29nH4p.mjs +1 -0
  444. package/package.json +12 -15
  445. package/scripts/build-config-schema.mjs +69 -0
  446. package/scripts/postinstall.mjs +0 -20
  447. package/scripts/probe-exec.ts +7 -10
  448. package/scripts/probe-read-document.ts +1 -13
  449. package/dist/alias-JE7RI5QX-TirEebNy.mjs +0 -1
  450. package/dist/awk2-POPGKRAI-DigGXYmO.mjs +0 -1
  451. package/dist/base64-4YMZCVJ5-B4GnvJtR.mjs +0 -1
  452. package/dist/basename-AA2KJYZQ-DlZHEU5f.mjs +0 -1
  453. package/dist/bash-IJWYRKFO-BA1gxmDh.mjs +0 -1
  454. package/dist/build-D4l8tfO0.mjs +0 -2
  455. package/dist/cat-RDUMLXKC-CAQOzqfy.mjs +0 -1
  456. package/dist/chmod-SYMGL4JA-BC2VVHCa.mjs +0 -1
  457. package/dist/clear-5CZ5X4YR-B5oRhK00.mjs +0 -1
  458. package/dist/colors-BnZ-i-vb.mjs +0 -1
  459. package/dist/colors-DoPZvo1q.mjs +0 -2
  460. package/dist/column-WLPMMSTS-fFssyAvW.mjs +0 -1
  461. package/dist/comm-5SLSESQG-DRcwK9Gt.mjs +0 -1
  462. package/dist/constants-ekUaxW9F.mjs +0 -2
  463. package/dist/cp-XOYR4ABJ-BUZu7KNi.mjs +0 -1
  464. package/dist/cut-OPC3VAGB-BIRZEN2Y.mjs +0 -1
  465. package/dist/date-DD7FVA2V-DRxppxbV.mjs +0 -1
  466. package/dist/diff-HJF2MPDN-Yo3lE_58.mjs +0 -1
  467. package/dist/dirname-LEMTZZFS-2cTXnmQf.mjs +0 -1
  468. package/dist/dist-0qFIeeXA.mjs +0 -142
  469. package/dist/dist-BCyi1oM7.mjs +0 -116
  470. package/dist/dist-CXdg7KnM.mjs +0 -199
  471. package/dist/dist-Ct-gJ7iD.mjs +0 -1
  472. package/dist/du-WO2ENHXQ-B5uda2-L.mjs +0 -1
  473. package/dist/echo-O45JWWI2-B9QCpaZR.mjs +0 -1
  474. package/dist/env-5EPCWSXR--4eujSrM.mjs +0 -1
  475. package/dist/expand-DTNXU4LQ-BWwDphsm.mjs +0 -1
  476. package/dist/expansion-ENLSRCXJ-BBTiIHJS.mjs +0 -1
  477. package/dist/expr-5T3UU5KE-D5OdgUlD.mjs +0 -1
  478. package/dist/file-ZIGAJ4YS-zZfB3nws.mjs +0 -1
  479. package/dist/find-TPUOAIUQ-DaW1-9Vm.mjs +0 -1
  480. package/dist/flag-coverage-QT4N2Z44-B8zntJyb.mjs +0 -2
  481. package/dist/fold-LDSORVYE-CAfX9d8n.mjs +0 -1
  482. package/dist/git-handle-BhGnmvTB-Di8EsrYa.mjs +0 -1
  483. package/dist/grep-3AIAIJVR-C9A_aSMK.mjs +0 -1
  484. package/dist/gzip-AQXSGOVS-CL228lzk.mjs +0 -1
  485. package/dist/head-HT2B6D2J-DyNkF3aY.mjs +0 -1
  486. package/dist/help-VVWX7SA5-D5WzpTIY.mjs +0 -1
  487. package/dist/history-J4QRNGRO-DUTsR2Sf.mjs +0 -1
  488. package/dist/hostname-BK6HG2DE-zmNkhqtV.mjs +0 -1
  489. package/dist/html-to-markdown-TFCECAGV-Ux5cbjMV.mjs +0 -1
  490. package/dist/init-Ccjx3YjD.mjs +0 -1
  491. package/dist/init-DOTyF3_B.mjs +0 -1
  492. package/dist/init-Dc2dCgGt.mjs +0 -255
  493. package/dist/init-DeV-MdCs.mjs +0 -120
  494. package/dist/join-GG2LDHE5-B6C3-ghI.mjs +0 -1
  495. package/dist/jq-ODXZBPLY-Uj_VahOC.mjs +0 -1
  496. package/dist/keepalive-CZzB5k1h.mjs +0 -2
  497. package/dist/ln-4TRFBYAT-DiYK6FgR.mjs +0 -1
  498. package/dist/loader-Bveym9GJ.mjs +0 -1
  499. package/dist/loader-C3jzK-Dy.mjs +0 -3
  500. package/dist/ls-KSXFZCWH-B0la1Q-P.mjs +0 -1
  501. package/dist/md5sum-INMIK4DX-DAG8dmoX.mjs +0 -1
  502. package/dist/mkdir-TDEMSB6C-CRMB4_AE.mjs +0 -1
  503. package/dist/mv-Z6MORUFL-1iTO8NY5.mjs +0 -1
  504. package/dist/nl-U5YJDM32-IRiMqQcZ.mjs +0 -1
  505. package/dist/od-VJEF2UR5-PasvdXXR.mjs +0 -1
  506. package/dist/paste-7N6AFSDS-C3M5_YM6.mjs +0 -1
  507. package/dist/paths-BA1xev5m.mjs +0 -1
  508. package/dist/paths-DtQI2_ER.mjs +0 -2
  509. package/dist/preview-BTFflPaA.mjs +0 -1
  510. package/dist/preview-BuXqi6nl.mjs +0 -3
  511. package/dist/printf-CX64KX2P-uTOF6Zpa.mjs +0 -1
  512. package/dist/public/assets/ActivityModeContent-Ccu_n0bV.js +0 -2
  513. package/dist/public/assets/DocumentContext-C1msvcHp.js +0 -5
  514. package/dist/public/assets/GraphPanel-CJ_U3W3L.js +0 -46
  515. package/dist/public/assets/McpConsentDialogBody-Csjet19t.js +0 -1
  516. package/dist/public/assets/PageListContext-B5SWnlyE.js +0 -278
  517. package/dist/public/assets/SourceEditor-OFesfBB2.js +0 -3
  518. package/dist/public/assets/__vite-browser-external-Dz2JgTKm.js +0 -1
  519. package/dist/public/assets/chunk-DECur_0Z.js +0 -1
  520. package/dist/public/assets/clipboard-DAcKCHl1.js +0 -32
  521. package/dist/public/assets/dialog-CtSN0d2b.js +0 -45
  522. package/dist/public/assets/index-CwFTGDhe.js +0 -1843
  523. package/dist/public/assets/index-DjR45Lon.css +0 -1
  524. package/dist/public/assets/propagation-api-Bugyj7xy.js +0 -1
  525. package/dist/public/assets/telemetry-impl-D8K_lJGH.js +0 -2
  526. package/dist/public/assets/toggle-group-LDOO6zaV.js +0 -1
  527. package/dist/public/assets/tooltip-D0MnQ7ZX.js +0 -1
  528. package/dist/pwd-D4OZ7N27-DNkGMjtD.mjs +0 -1
  529. package/dist/readlink-MI4GCHJF-DRVZBAvY.mjs +0 -1
  530. package/dist/rev-XOSYPP45-q2MQLs41.mjs +0 -1
  531. package/dist/rg-FOQSCCX3-Cssz8GNh.mjs +0 -1
  532. package/dist/rm-RTZG23RL-fjvVauiI.mjs +0 -1
  533. package/dist/rmdir-XTQXT7RK-C13HY1h7.mjs +0 -1
  534. package/dist/sed-VFTTATXJ-DO49xc40.mjs +0 -1
  535. package/dist/seq-RN5ZUASB-D9r6kc_Z.mjs +0 -1
  536. package/dist/server-lock-n3Y5JWNv-3o7br8XE.mjs +0 -2
  537. package/dist/server-lock-n3Y5JWNv-DXpg9_eU.mjs +0 -1
  538. package/dist/sha1sum-VJPNLNU6-4uBt63v6.mjs +0 -1
  539. package/dist/sha256sum-PI32XWXY-_uaXSgBK.mjs +0 -1
  540. package/dist/sleep-VZFPZFWA-CS7jDpXp.mjs +0 -1
  541. package/dist/sort-DCNRDA7U-Dmp_2ZoH.mjs +0 -1
  542. package/dist/split-SITCSYCZ-Cu9ifXuc.mjs +0 -1
  543. package/dist/sqlite3-56UMWEY3-D1Xq8d4g.mjs +0 -1
  544. package/dist/src-CCtbSzLe.mjs +0 -1
  545. package/dist/start-D7mCFrVn.mjs +0 -1
  546. package/dist/start-RnYkhoRl.mjs +0 -2
  547. package/dist/stat-BT5A227F-Dqepjl-k.mjs +0 -1
  548. package/dist/strings-7PLOGTPD-g6FhPS64.mjs +0 -1
  549. package/dist/tac-SJGXQ4T2-DczI7HKk.mjs +0 -1
  550. package/dist/tail-S5ULNTJU-Bk22kVUG.mjs +0 -1
  551. package/dist/tar-ANUBEFJY-1lwT6ndQ.mjs +0 -1
  552. package/dist/tee-O7VXZDCO-Ftqr8Jad.mjs +0 -1
  553. package/dist/time-DEUO3QV2-BtzQ0nVf.mjs +0 -1
  554. package/dist/timeout-VRKMCG72-Cpzi9cz-.mjs +0 -1
  555. package/dist/touch-DX2IJOQ4-ewCHfbB3.mjs +0 -1
  556. package/dist/tr-2HXZRDSW-DrrobhxR.mjs +0 -1
  557. package/dist/tree-LYXBS7DC-DZnTMKSh.mjs +0 -1
  558. package/dist/true-WHJNXCHG-BaLssNp9.mjs +0 -1
  559. package/dist/unexpand-RGTMIGZM-BOmSL08U.mjs +0 -1
  560. package/dist/uniq-SUNANL47-Cn_JDmUJ.mjs +0 -1
  561. package/dist/wc-TQB3VNOX-DkOBrQlr.mjs +0 -1
  562. package/dist/which-XZHEH76L-DxZJ58G5.mjs +0 -1
  563. package/dist/whoami-DGKU3D2X-Bn1LP0m_.mjs +0 -1
  564. package/dist/wrapper-BTT6637Z.mjs +0 -7
  565. package/dist/xan-BXDXYEIB-_Vtao535.mjs +0 -1
  566. package/dist/xan-view-ECQUO7AJ-6vlhfSF-.mjs +0 -1
  567. package/dist/xargs-I6EZUCYF-dHdg4qaj.mjs +0 -1
  568. package/dist/yq-MJMAR36V-pRBq87Ya.mjs +0 -1
  569. /package/dist/public/assets/{go-DatQmDtN.js → go-a33xvodr.js} +0 -0
  570. /package/dist/public/assets/{shell-7yok6dsz.js → shell-40VLet8r.js} +0 -0
  571. /package/dist/public/assets/{w3c-keyname-CSlwavrd.js → w3c-keyname-Dfj2imOv.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{o as e,t}from"./chunk-FK9Q3tQk.mjs";import{n,r,t as i}from"./chunk-74CEPOFO-D1bzz49u.mjs";var a=t(((e,t)=>{t.exports=n,n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3;function n(e,t){if(this.type=``,this.target=null,this.currentTarget=null,this.eventPhase=n.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}n.prototype=Object.create(Object.prototype,{constructor:{value:n},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(e,t,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=e,this.bubbles=t,this.cancelable=n)}}})})),o=t(((e,t)=>{var n=a();t.exports=r;function r(){n.call(this),this.view=null,this.detail=0}r.prototype=Object.create(n.prototype,{constructor:{value:r},initUIEvent:{value:function(e,t,n,r,i){this.initEvent(e,t,n),this.view=r,this.detail=i}}})})),s=t(((e,t)=>{var n=o();t.exports=r;function r(){n.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(n.prototype,{constructor:{value:r},initMouseEvent:{value:function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){switch(this.initEvent(e,t,n,r,i),this.screenX=a,this.screenY=o,this.clientX=s,this.clientY=c,this.ctrlKey=l,this.altKey=u,this.shiftKey=d,this.metaKey=f,this.button=p,p){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=m}},getModifierState:{value:function(e){switch(e){case`Alt`:return this.altKey;case`Control`:return this.ctrlKey;case`Shift`:return this.shiftKey;case`Meta`:return this.metaKey;default:return!1}}}})})),c=t(((e,t)=>{t.exports=T;var n=1,r=3,i=4,a=5,o=7,s=8,c=9,l=11,u=12,d=13,f=14,p=15,m=17,h=18,g=19,_=20,v=21,y=22,b=23,x=24,S=25,ee=[null,`INDEX_SIZE_ERR`,null,`HIERARCHY_REQUEST_ERR`,`WRONG_DOCUMENT_ERR`,`INVALID_CHARACTER_ERR`,null,`NO_MODIFICATION_ALLOWED_ERR`,`NOT_FOUND_ERR`,`NOT_SUPPORTED_ERR`,`INUSE_ATTRIBUTE_ERR`,`INVALID_STATE_ERR`,`SYNTAX_ERR`,`INVALID_MODIFICATION_ERR`,`NAMESPACE_ERR`,`INVALID_ACCESS_ERR`,null,`TYPE_MISMATCH_ERR`,`SECURITY_ERR`,`NETWORK_ERR`,`ABORT_ERR`,`URL_MISMATCH_ERR`,`QUOTA_EXCEEDED_ERR`,`TIMEOUT_ERR`,`INVALID_NODE_TYPE_ERR`,`DATA_CLONE_ERR`],C=[null,`INDEX_SIZE_ERR (1): the index is not in the allowed range`,null,`HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model`,`WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required`,`INVALID_CHARACTER_ERR (5): the string contains invalid characters`,null,`NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified`,`NOT_FOUND_ERR (8): the object can not be found here`,`NOT_SUPPORTED_ERR (9): this operation is not supported`,`INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute`,`INVALID_STATE_ERR (11): the object is in an invalid state`,`SYNTAX_ERR (12): the string did not match the expected pattern`,`INVALID_MODIFICATION_ERR (13): the object can not be modified in this way`,`NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML`,`INVALID_ACCESS_ERR (15): the object does not support the operation or argument`,null,`TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type`,`SECURITY_ERR (18): the operation is insecure`,`NETWORK_ERR (19): a network error occurred`,`ABORT_ERR (20): the user aborted an operation`,`URL_MISMATCH_ERR (21): the given URL does not match another URL`,`QUOTA_EXCEEDED_ERR (22): the quota has been exceeded`,`TIMEOUT_ERR (23): a timeout occurred`,`INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation`,`DATA_CLONE_ERR (25): the object can not be cloned.`],w={INDEX_SIZE_ERR:n,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:i,INVALID_CHARACTER_ERR:a,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:o,NOT_FOUND_ERR:s,NOT_SUPPORTED_ERR:c,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:l,SYNTAX_ERR:u,INVALID_MODIFICATION_ERR:d,NAMESPACE_ERR:f,INVALID_ACCESS_ERR:p,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:m,SECURITY_ERR:h,NETWORK_ERR:g,ABORT_ERR:_,URL_MISMATCH_ERR:v,QUOTA_EXCEEDED_ERR:y,TIMEOUT_ERR:b,INVALID_NODE_TYPE_ERR:x,DATA_CLONE_ERR:S};function T(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=C[e],this.name=ee[e]}for(var E in T.prototype.__proto__=Error.prototype,w){var D={value:w[E]};Object.defineProperty(T,E,D),Object.defineProperty(T.prototype,E,D)}})),l=t((e=>{e.isApiWritable=!globalThis.__domino_frozen__})),u=t((e=>{var t=c(),n=t,r=l().isApiWritable;e.NAMESPACE={HTML:`http://www.w3.org/1999/xhtml`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`,MATHML:`http://www.w3.org/1998/Math/MathML`,SVG:`http://www.w3.org/2000/svg`,XLINK:`http://www.w3.org/1999/xlink`},e.IndexSizeError=function(){throw new t(n.INDEX_SIZE_ERR)},e.HierarchyRequestError=function(){throw new t(n.HIERARCHY_REQUEST_ERR)},e.WrongDocumentError=function(){throw new t(n.WRONG_DOCUMENT_ERR)},e.InvalidCharacterError=function(){throw new t(n.INVALID_CHARACTER_ERR)},e.NoModificationAllowedError=function(){throw new t(n.NO_MODIFICATION_ALLOWED_ERR)},e.NotFoundError=function(){throw new t(n.NOT_FOUND_ERR)},e.NotSupportedError=function(){throw new t(n.NOT_SUPPORTED_ERR)},e.InvalidStateError=function(){throw new t(n.INVALID_STATE_ERR)},e.SyntaxError=function(){throw new t(n.SYNTAX_ERR)},e.InvalidModificationError=function(){throw new t(n.INVALID_MODIFICATION_ERR)},e.NamespaceError=function(){throw new t(n.NAMESPACE_ERR)},e.InvalidAccessError=function(){throw new t(n.INVALID_ACCESS_ERR)},e.TypeMismatchError=function(){throw new t(n.TYPE_MISMATCH_ERR)},e.SecurityError=function(){throw new t(n.SECURITY_ERR)},e.NetworkError=function(){throw new t(n.NETWORK_ERR)},e.AbortError=function(){throw new t(n.ABORT_ERR)},e.UrlMismatchError=function(){throw new t(n.URL_MISMATCH_ERR)},e.QuotaExceededError=function(){throw new t(n.QUOTA_EXCEEDED_ERR)},e.TimeoutError=function(){throw new t(n.TIMEOUT_ERR)},e.InvalidNodeTypeError=function(){throw new t(n.INVALID_NODE_TYPE_ERR)},e.DataCloneError=function(){throw new t(n.DATA_CLONE_ERR)},e.nyi=function(){throw Error(`NotYetImplemented`)},e.shouldOverride=function(){throw Error(`Abstract function; should be overriding in subclass.`)},e.assert=function(e,t){if(!e)throw Error(`Assertion failed: `+(t||``)+`
1
+ import{o as e,t}from"./chunk-FK9Q3tQk.mjs";import{n,r,t as i}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var a=t(((e,t)=>{t.exports=n,n.CAPTURING_PHASE=1,n.AT_TARGET=2,n.BUBBLING_PHASE=3;function n(e,t){if(this.type=``,this.target=null,this.currentTarget=null,this.eventPhase=n.AT_TARGET,this.bubbles=!1,this.cancelable=!1,this.isTrusted=!1,this.defaultPrevented=!1,this.timeStamp=Date.now(),this._propagationStopped=!1,this._immediatePropagationStopped=!1,this._initialized=!0,this._dispatching=!1,e&&(this.type=e),t)for(var r in t)this[r]=t[r]}n.prototype=Object.create(Object.prototype,{constructor:{value:n},stopPropagation:{value:function(){this._propagationStopped=!0}},stopImmediatePropagation:{value:function(){this._propagationStopped=!0,this._immediatePropagationStopped=!0}},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0)}},initEvent:{value:function(e,t,n){this._initialized=!0,!this._dispatching&&(this._propagationStopped=!1,this._immediatePropagationStopped=!1,this.defaultPrevented=!1,this.isTrusted=!1,this.target=null,this.type=e,this.bubbles=t,this.cancelable=n)}}})})),o=t(((e,t)=>{var n=a();t.exports=r;function r(){n.call(this),this.view=null,this.detail=0}r.prototype=Object.create(n.prototype,{constructor:{value:r},initUIEvent:{value:function(e,t,n,r,i){this.initEvent(e,t,n),this.view=r,this.detail=i}}})})),s=t(((e,t)=>{var n=o();t.exports=r;function r(){n.call(this),this.screenX=this.screenY=this.clientX=this.clientY=0,this.ctrlKey=this.altKey=this.shiftKey=this.metaKey=!1,this.button=0,this.buttons=1,this.relatedTarget=null}r.prototype=Object.create(n.prototype,{constructor:{value:r},initMouseEvent:{value:function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){switch(this.initEvent(e,t,n,r,i),this.screenX=a,this.screenY=o,this.clientX=s,this.clientY=c,this.ctrlKey=l,this.altKey=u,this.shiftKey=d,this.metaKey=f,this.button=p,p){case 0:this.buttons=1;break;case 1:this.buttons=4;break;case 2:this.buttons=2;break;default:this.buttons=0;break}this.relatedTarget=m}},getModifierState:{value:function(e){switch(e){case`Alt`:return this.altKey;case`Control`:return this.ctrlKey;case`Shift`:return this.shiftKey;case`Meta`:return this.metaKey;default:return!1}}}})})),c=t(((e,t)=>{t.exports=T;var n=1,r=3,i=4,a=5,o=7,s=8,c=9,l=11,u=12,d=13,f=14,p=15,m=17,h=18,g=19,_=20,v=21,y=22,b=23,x=24,S=25,ee=[null,`INDEX_SIZE_ERR`,null,`HIERARCHY_REQUEST_ERR`,`WRONG_DOCUMENT_ERR`,`INVALID_CHARACTER_ERR`,null,`NO_MODIFICATION_ALLOWED_ERR`,`NOT_FOUND_ERR`,`NOT_SUPPORTED_ERR`,`INUSE_ATTRIBUTE_ERR`,`INVALID_STATE_ERR`,`SYNTAX_ERR`,`INVALID_MODIFICATION_ERR`,`NAMESPACE_ERR`,`INVALID_ACCESS_ERR`,null,`TYPE_MISMATCH_ERR`,`SECURITY_ERR`,`NETWORK_ERR`,`ABORT_ERR`,`URL_MISMATCH_ERR`,`QUOTA_EXCEEDED_ERR`,`TIMEOUT_ERR`,`INVALID_NODE_TYPE_ERR`,`DATA_CLONE_ERR`],C=[null,`INDEX_SIZE_ERR (1): the index is not in the allowed range`,null,`HIERARCHY_REQUEST_ERR (3): the operation would yield an incorrect nodes model`,`WRONG_DOCUMENT_ERR (4): the object is in the wrong Document, a call to importNode is required`,`INVALID_CHARACTER_ERR (5): the string contains invalid characters`,null,`NO_MODIFICATION_ALLOWED_ERR (7): the object can not be modified`,`NOT_FOUND_ERR (8): the object can not be found here`,`NOT_SUPPORTED_ERR (9): this operation is not supported`,`INUSE_ATTRIBUTE_ERR (10): setAttributeNode called on owned Attribute`,`INVALID_STATE_ERR (11): the object is in an invalid state`,`SYNTAX_ERR (12): the string did not match the expected pattern`,`INVALID_MODIFICATION_ERR (13): the object can not be modified in this way`,`NAMESPACE_ERR (14): the operation is not allowed by Namespaces in XML`,`INVALID_ACCESS_ERR (15): the object does not support the operation or argument`,null,`TYPE_MISMATCH_ERR (17): the type of the object does not match the expected type`,`SECURITY_ERR (18): the operation is insecure`,`NETWORK_ERR (19): a network error occurred`,`ABORT_ERR (20): the user aborted an operation`,`URL_MISMATCH_ERR (21): the given URL does not match another URL`,`QUOTA_EXCEEDED_ERR (22): the quota has been exceeded`,`TIMEOUT_ERR (23): a timeout occurred`,`INVALID_NODE_TYPE_ERR (24): the supplied node is invalid or has an invalid ancestor for this operation`,`DATA_CLONE_ERR (25): the object can not be cloned.`],w={INDEX_SIZE_ERR:n,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:r,WRONG_DOCUMENT_ERR:i,INVALID_CHARACTER_ERR:a,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:o,NOT_FOUND_ERR:s,NOT_SUPPORTED_ERR:c,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:l,SYNTAX_ERR:u,INVALID_MODIFICATION_ERR:d,NAMESPACE_ERR:f,INVALID_ACCESS_ERR:p,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:m,SECURITY_ERR:h,NETWORK_ERR:g,ABORT_ERR:_,URL_MISMATCH_ERR:v,QUOTA_EXCEEDED_ERR:y,TIMEOUT_ERR:b,INVALID_NODE_TYPE_ERR:x,DATA_CLONE_ERR:S};function T(e){Error.call(this),Error.captureStackTrace(this,this.constructor),this.code=e,this.message=C[e],this.name=ee[e]}for(var E in T.prototype.__proto__=Error.prototype,w){var D={value:w[E]};Object.defineProperty(T,E,D),Object.defineProperty(T.prototype,E,D)}})),l=t((e=>{e.isApiWritable=!globalThis.__domino_frozen__})),u=t((e=>{var t=c(),n=t,r=l().isApiWritable;e.NAMESPACE={HTML:`http://www.w3.org/1999/xhtml`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`,MATHML:`http://www.w3.org/1998/Math/MathML`,SVG:`http://www.w3.org/2000/svg`,XLINK:`http://www.w3.org/1999/xlink`},e.IndexSizeError=function(){throw new t(n.INDEX_SIZE_ERR)},e.HierarchyRequestError=function(){throw new t(n.HIERARCHY_REQUEST_ERR)},e.WrongDocumentError=function(){throw new t(n.WRONG_DOCUMENT_ERR)},e.InvalidCharacterError=function(){throw new t(n.INVALID_CHARACTER_ERR)},e.NoModificationAllowedError=function(){throw new t(n.NO_MODIFICATION_ALLOWED_ERR)},e.NotFoundError=function(){throw new t(n.NOT_FOUND_ERR)},e.NotSupportedError=function(){throw new t(n.NOT_SUPPORTED_ERR)},e.InvalidStateError=function(){throw new t(n.INVALID_STATE_ERR)},e.SyntaxError=function(){throw new t(n.SYNTAX_ERR)},e.InvalidModificationError=function(){throw new t(n.INVALID_MODIFICATION_ERR)},e.NamespaceError=function(){throw new t(n.NAMESPACE_ERR)},e.InvalidAccessError=function(){throw new t(n.INVALID_ACCESS_ERR)},e.TypeMismatchError=function(){throw new t(n.TYPE_MISMATCH_ERR)},e.SecurityError=function(){throw new t(n.SECURITY_ERR)},e.NetworkError=function(){throw new t(n.NETWORK_ERR)},e.AbortError=function(){throw new t(n.ABORT_ERR)},e.UrlMismatchError=function(){throw new t(n.URL_MISMATCH_ERR)},e.QuotaExceededError=function(){throw new t(n.QUOTA_EXCEEDED_ERR)},e.TimeoutError=function(){throw new t(n.TIMEOUT_ERR)},e.InvalidNodeTypeError=function(){throw new t(n.INVALID_NODE_TYPE_ERR)},e.DataCloneError=function(){throw new t(n.DATA_CLONE_ERR)},e.nyi=function(){throw Error(`NotYetImplemented`)},e.shouldOverride=function(){throw Error(`Abstract function; should be overriding in subclass.`)},e.assert=function(e,t){if(!e)throw Error(`Assertion failed: `+(t||``)+`
2
2
  `+Error().stack)},e.expose=function(e,t){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],writable:r})},e.merge=function(e,t){for(var n in t)e[n]=t[n]},e.documentOrder=function(e,t){return 3-(e.compareDocumentPosition(t)&6)},e.toASCIILowerCase=function(e){return e.replace(/[A-Z]+/g,function(e){return e.toLowerCase()})},e.toASCIIUpperCase=function(e){return e.replace(/[a-z]+/g,function(e){return e.toUpperCase()})}})),d=t(((e,t)=>{var n=a(),r=s(),i=u();t.exports=o;function o(){}o.prototype={addEventListener:function(e,t,n){if(t){n===void 0&&(n=!1),this._listeners||=Object.create(null),this._listeners[e]||(this._listeners[e]=[]);for(var r=this._listeners[e],i=0,a=r.length;i<a;i++){var o=r[i];if(o.listener===t&&o.capture===n)return}var s={listener:t,capture:n};typeof t==`function`&&(s.f=t),r.push(s)}},removeEventListener:function(e,t,n){if(n===void 0&&(n=!1),this._listeners){var r=this._listeners[e];if(r)for(var i=0,a=r.length;i<a;i++){var o=r[i];if(o.listener===t&&o.capture===n){r.length===1?this._listeners[e]=void 0:r.splice(i,1);return}}}},dispatchEvent:function(e){return this._dispatchEvent(e,!1)},_dispatchEvent:function(e,t){typeof t!=`boolean`&&(t=!1);function a(e,t){var r=t.type,i=t.eventPhase;if(t.currentTarget=e,i!==n.CAPTURING_PHASE&&e._handlers&&e._handlers[r]){var a=e._handlers[r],o;if(typeof a==`function`)o=a.call(t.currentTarget,t);else{var s=a.handleEvent;if(typeof s!=`function`)throw TypeError(`handleEvent property of event handler object isnot a function.`);o=s.call(a,t)}switch(t.type){case`mouseover`:o===!0&&t.preventDefault();break;default:o===!1&&t.preventDefault();break}}var c=e._listeners&&e._listeners[r];if(c){c=c.slice();for(var l=0,u=c.length;l<u;l++){if(t._immediatePropagationStopped)return;var d=c[l];if(!(i===n.CAPTURING_PHASE&&!d.capture||i===n.BUBBLING_PHASE&&d.capture))if(d.f)d.f.call(t.currentTarget,t);else{var f=d.listener.handleEvent;if(typeof f!=`function`)throw TypeError(`handleEvent property of event listener object is not a function.`);f.call(d.listener,t)}}}}(!e._initialized||e._dispatching)&&i.InvalidStateError(),e.isTrusted=t,e._dispatching=!0,e.target=this;for(var o=[],s=this.parentNode;s;s=s.parentNode)o.push(s);e.eventPhase=n.CAPTURING_PHASE;for(var c=o.length-1;c>=0&&(a(o[c],e),!e._propagationStopped);c--);if(e._propagationStopped||(e.eventPhase=n.AT_TARGET,a(this,e)),e.bubbles&&!e._propagationStopped){e.eventPhase=n.BUBBLING_PHASE;for(var l=0,u=o.length;l<u&&(a(o[l],e),!e._propagationStopped);l++);}if(e._dispatching=!1,e.eventPhase=n.AT_TARGET,e.currentTarget=null,t&&!e.defaultPrevented&&e instanceof r)switch(e.type){case`mousedown`:this._armed={x:e.clientX,y:e.clientY,t:e.timeStamp};break;case`mouseout`:case`mouseover`:this._armed=null;break;case`mouseup`:this._isClick(e)&&this._doClick(e),this._armed=null;break}return!e.defaultPrevented},_isClick:function(e){return this._armed!==null&&e.type===`mouseup`&&e.isTrusted&&e.button===0&&e.timeStamp-this._armed.t<1e3&&Math.abs(e.clientX-this._armed.x)<10&&Math.abs(e.clientY-this._armed.Y)<10},_doClick:function(e){if(!this._click_in_progress){this._click_in_progress=!0;for(var t=this;t&&!t._post_click_activation_steps;)t=t.parentNode;t&&t._pre_click_activation_steps&&t._pre_click_activation_steps();var n=this.ownerDocument.createEvent(`MouseEvent`);n.initMouseEvent(`click`,!0,!0,this.ownerDocument.defaultView,1,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,null);var r=this._dispatchEvent(n,!0);t&&(r?t._post_click_activation_steps&&t._post_click_activation_steps(n):t._cancelled_activation_steps&&t._cancelled_activation_steps())}},_setEventHandler:function(e,t){this._handlers||=Object.create(null),this._handlers[e]=t},_getEventHandler:function(e){return this._handlers&&this._handlers[e]||null}}})),f=t(((e,t)=>{var n=u(),r=t.exports={valid:function(e){return n.assert(e,`list falsy`),n.assert(e._previousSibling,`previous falsy`),n.assert(e._nextSibling,`next falsy`),!0},insertBefore:function(e,t){n.assert(r.valid(e)&&r.valid(t));var i=e,a=e._previousSibling,o=t,s=t._previousSibling;i._previousSibling=s,a._nextSibling=o,s._nextSibling=i,o._previousSibling=a,n.assert(r.valid(e)&&r.valid(t))},replace:function(e,t){n.assert(r.valid(e)&&(t===null||r.valid(t))),t!==null&&r.insertBefore(t,e),r.remove(e),n.assert(r.valid(e)&&(t===null||r.valid(t)))},remove:function(e){n.assert(r.valid(e));var t=e._previousSibling;if(t!==e){var i=e._nextSibling;t._nextSibling=i,i._previousSibling=t,e._previousSibling=e._nextSibling=e,n.assert(r.valid(e))}}}})),p=t(((e,t)=>{t.exports={serializeOne:_,ɵescapeMatchingClosingTag:p,ɵescapeClosingCommentTag:h,ɵescapeProcessingInstructionContent:g};var n=u(),r=n.NAMESPACE,i={STYLE:!0,SCRIPT:!0,XMP:!0,IFRAME:!0,NOEMBED:!0,NOFRAMES:!0,PLAINTEXT:!0},a={area:!0,base:!0,basefont:!0,bgsound:!0,br:!0,col:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},o={};let s=/[&<>\u00A0]/g,c=/[&"<>\u00A0]/g;function l(e){return s.test(e)?e.replace(s,e=>{switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`\xA0`:return`&nbsp;`}}):e}function d(e){return c.test(e)?e.replace(c,e=>{switch(e){case`<`:return`&lt;`;case`>`:return`&gt;`;case`&`:return`&amp;`;case`"`:return`&quot;`;case`\xA0`:return`&nbsp;`}}):e}function f(e){var t=e.namespaceURI;return t?t===r.XML?`xml:`+e.localName:t===r.XLINK?`xlink:`+e.localName:t===r.XMLNS?e.localName===`xmlns`?`xmlns`:`xmlns:`+e.localName:e.name:e.localName}function p(e,t){let n=`</`+t;if(!e.toLowerCase().includes(n))return e;let r=[...e],i=e.matchAll(new RegExp(n,`ig`));for(let e of i)r[e.index]=`&lt;`;return r.join(``)}let m=/--!?>/;function h(e){return m.test(e)?e.replace(/(--\!?)>/g,`$1&gt;`):e}function g(e){return e.includes(`>`)?e.replaceAll(`>`,`&gt;`):e}function _(e,t){var s=``;switch(e.nodeType){case 1:var c=e.namespaceURI,u=c===r.HTML,m=u||c===r.SVG||c===r.MATHML?e.localName:e.tagName;s+=`<`+m;for(var _=0,v=e._numattrs;_<v;_++){var y=e._attr(_);s+=` `+f(y),y.value!==void 0&&(s+=`="`+d(y.value)+`"`)}if(s+=`>`,!(u&&a[m])){var b=e.serialize();i[m.toUpperCase()]&&(b=p(b,m)),u&&o[m]&&b.charAt(0)===`
3
3
  `&&(s+=`
4
4
  `),s+=b,s+=`</`+m+`>`}break;case 3:case 4:var x=t.nodeType===1&&t.namespaceURI===r.HTML?t.tagName:``;i[x]||x===`NOSCRIPT`&&t.ownerDocument._scripting_enabled?s+=e.data:s+=l(e.data);break;case 8:s+=`<!--`+h(e.data)+`-->`;break;case 7:let S=g(e.data);s+=`<?`+e.target+` `+S+`?>`;break;case 10:s+=`<!DOCTYPE `+e.name,s+=`>`;break;default:n.InvalidStateError()}return s}})),m=t(((e,t)=>{t.exports=o;var n=d(),r=f(),i=p(),a=u();function o(){n.call(this),this.parentNode=null,this._nextSibling=this._previousSibling=this,this._index=void 0}var s=o.ELEMENT_NODE=1,c=o.ATTRIBUTE_NODE=2,l=o.TEXT_NODE=3,m=o.CDATA_SECTION_NODE=4,h=o.ENTITY_REFERENCE_NODE=5,g=o.ENTITY_NODE=6,_=o.PROCESSING_INSTRUCTION_NODE=7,v=o.COMMENT_NODE=8,y=o.DOCUMENT_NODE=9,b=o.DOCUMENT_TYPE_NODE=10,x=o.DOCUMENT_FRAGMENT_NODE=11,S=o.NOTATION_NODE=12,ee=o.DOCUMENT_POSITION_DISCONNECTED=1,C=o.DOCUMENT_POSITION_PRECEDING=2,w=o.DOCUMENT_POSITION_FOLLOWING=4,T=o.DOCUMENT_POSITION_CONTAINS=8,E=o.DOCUMENT_POSITION_CONTAINED_BY=16,D=o.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;o.prototype=Object.create(n.prototype,{baseURI:{get:a.nyi},parentElement:{get:function(){return this.parentNode&&this.parentNode.nodeType===s?this.parentNode:null}},hasChildNodes:{value:a.shouldOverride},firstChild:{get:a.shouldOverride},lastChild:{get:a.shouldOverride},isConnected:{get:function(){let e=this;for(;e!=null;){if(e.nodeType===o.DOCUMENT_NODE)return!0;e=e.parentNode,e!=null&&e.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(e=e.host)}return!1}},previousSibling:{get:function(){var e=this.parentNode;return!e||this===e.firstChild?null:this._previousSibling}},nextSibling:{get:function(){var e=this.parentNode,t=this._nextSibling;return!e||t===e.firstChild?null:t}},textContent:{get:function(){return null},set:function(e){}},innerText:{get:function(){return null},set:function(e){}},_countChildrenOfType:{value:function(e){for(var t=0,n=this.firstChild;n!==null;n=n.nextSibling)n.nodeType===e&&t++;return t}},_ensureInsertValid:{value:function(e,t,n){var r=this,i,o;if(!e.nodeType)throw TypeError(`not a node`);switch(r.nodeType){case y:case x:case s:break;default:a.HierarchyRequestError()}switch(e.isAncestor(r)&&a.HierarchyRequestError(),(t!==null||!n)&&t.parentNode!==r&&a.NotFoundError(),e.nodeType){case x:case b:case s:case l:case _:case v:break;default:a.HierarchyRequestError()}if(r.nodeType===y)switch(e.nodeType){case l:a.HierarchyRequestError();break;case x:switch(e._countChildrenOfType(l)>0&&a.HierarchyRequestError(),e._countChildrenOfType(s)){case 0:break;case 1:if(t!==null)for(n&&t.nodeType===b&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===b&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;default:a.HierarchyRequestError()}break;case s:if(t!==null)for(n&&t.nodeType===b&&a.HierarchyRequestError(),o=t.nextSibling;o!==null;o=o.nextSibling)o.nodeType===b&&a.HierarchyRequestError();i=r._countChildrenOfType(s),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==s)&&a.HierarchyRequestError();break;case b:if(t===null)r._countChildrenOfType(s)&&a.HierarchyRequestError();else for(o=r.firstChild;o!==null&&o!==t;o=o.nextSibling)o.nodeType===s&&a.HierarchyRequestError();i=r._countChildrenOfType(b),n?i>0&&a.HierarchyRequestError():(i>1||i===1&&t.nodeType!==b)&&a.HierarchyRequestError();break}else e.nodeType===b&&a.HierarchyRequestError()}},insertBefore:{value:function(e,t){var n=this;n._ensureInsertValid(e,t,!0);var r=t;return r===e&&(r=e.nextSibling),n.doc.adoptNode(e),e._insertOrReplace(n,r,!1),e}},appendChild:{value:function(e){return this.insertBefore(e,null)}},_appendChild:{value:function(e){e._insertOrReplace(this,null,!1)}},removeChild:{value:function(e){var t=this;if(!e.nodeType)throw TypeError(`not a node`);return e.parentNode!==t&&a.NotFoundError(),e.remove(),e}},replaceChild:{value:function(e,t){var n=this;return n._ensureInsertValid(e,t,!1),e.doc!==n.doc&&n.doc.adoptNode(e),e._insertOrReplace(n,t,!0),t}},contains:{value:function(e){return e===null?!1:this===e?!0:(this.compareDocumentPosition(e)&E)!==0}},compareDocumentPosition:{value:function(e){if(this===e)return 0;if(this.doc!==e.doc||this.rooted!==e.rooted)return ee+D;for(var t=[],n=[],r=this;r!==null;r=r.parentNode)t.push(r);for(r=e;r!==null;r=r.parentNode)n.push(r);if(t.reverse(),n.reverse(),t[0]!==n[0])return ee+D;r=Math.min(t.length,n.length);for(var i=1;i<r;i++)if(t[i]!==n[i])return t[i].index<n[i].index?w:C;return t.length<n.length?w+E:C+T}},isSameNode:{value:function(e){return this===e}},isEqualNode:{value:function(e){if(!e||e.nodeType!==this.nodeType||!this.isEqual(e))return!1;for(var t=this.firstChild,n=e.firstChild;t&&n;t=t.nextSibling,n=n.nextSibling)if(!t.isEqualNode(n))return!1;return t===null&&n===null}},cloneNode:{value:function(e){var t=this.clone();if(e)for(var n=this.firstChild;n!==null;n=n.nextSibling)t._appendChild(n.cloneNode(!0));return t}},lookupPrefix:{value:function(e){var t;if(e===``||e==null)return null;switch(this.nodeType){case s:return this._lookupNamespacePrefix(e,this);case y:return t=this.documentElement,t?t.lookupPrefix(e):null;case g:case S:case x:case b:return null;case c:return t=this.ownerElement,t?t.lookupPrefix(e):null;default:return t=this.parentElement,t?t.lookupPrefix(e):null}}},lookupNamespaceURI:{value:function(e){(e===``||e===void 0)&&(e=null);var t;switch(this.nodeType){case s:return a.shouldOverride();case y:return t=this.documentElement,t?t.lookupNamespaceURI(e):null;case g:case S:case b:case x:return null;case c:return t=this.ownerElement,t?t.lookupNamespaceURI(e):null;default:return t=this.parentElement,t?t.lookupNamespaceURI(e):null}}},isDefaultNamespace:{value:function(e){return(e===``||e===void 0)&&(e=null),this.lookupNamespaceURI(null)===e}},index:{get:function(){var e=this.parentNode;if(this===e.firstChild)return 0;var t=e.childNodes;if(this._index===void 0||t[this._index]!==this){for(var n=0;n<t.length;n++)t[n]._index=n;a.assert(t[this._index]===this)}return this._index}},isAncestor:{value:function(e){if(this.doc!==e.doc||this.rooted!==e.rooted)return!1;for(var t=e;t;t=t.parentNode)if(t===this)return!0;return!1}},ensureSameDoc:{value:function(e){e.ownerDocument===null?e.ownerDocument=this.doc:e.ownerDocument!==this.doc&&a.WrongDocumentError()}},removeChildren:{value:a.shouldOverride},_insertOrReplace:{value:function(e,t,n){var i=this,o,s;i.nodeType===x&&i.rooted&&a.HierarchyRequestError(),e._childNodes&&(o=t===null?e._childNodes.length:t.index,i.parentNode===e&&i.index<o&&o--),n&&(t.rooted&&t.doc.mutateRemove(t),t.parentNode=null);var c=t;c===null&&(c=e.firstChild);var l=i.rooted&&e.rooted;if(i.nodeType===x){for(var u=[0,n?1:0],d,f=i.firstChild;f!==null;f=d)d=f.nextSibling,u.push(f),f.parentNode=e;var p=u.length;if(n?r.replace(c,p>2?u[2]:null):p>2&&c!==null&&r.insertBefore(u[2],c),e._childNodes)for(u[0]=t===null?e._childNodes.length:t._index,e._childNodes.splice.apply(e._childNodes,u),s=2;s<p;s++)u[s]._index=u[0]+(s-2);else e._firstChild===t&&(p>2?e._firstChild=u[2]:n&&(e._firstChild=null));if(i._childNodes?i._childNodes.length=0:i._firstChild=null,e.rooted)for(e.modify(),s=2;s<p;s++)e.doc.mutateInsert(u[s])}else{if(t===i)return;l?i._remove():i.parentNode&&i.remove(),i.parentNode=e,n?(r.replace(c,i),e._childNodes?(i._index=o,e._childNodes[o]=i):e._firstChild===t&&(e._firstChild=i)):(c!==null&&r.insertBefore(i,c),e._childNodes?(i._index=o,e._childNodes.splice(o,0,i)):e._firstChild===t&&(e._firstChild=i)),l?(e.modify(),e.doc.mutateMove(i)):e.rooted&&(e.modify(),e.doc.mutateInsert(i))}}},lastModTime:{get:function(){return this._lastModTime||=this.doc.modclock,this._lastModTime}},modify:{value:function(){if(this.doc.modclock)for(var e=++this.doc.modclock,t=this;t;t=t.parentElement)t._lastModTime&&=e}},doc:{get:function(){return this.ownerDocument||this}},rooted:{get:function(){return!!this._nid}},normalize:{value:function(){for(var e,t=this.firstChild;t!==null;t=e)if(e=t.nextSibling,t.normalize&&t.normalize(),t.nodeType===o.TEXT_NODE){if(t.nodeValue===``){this.removeChild(t);continue}var n=t.previousSibling;n!==null&&n.nodeType===o.TEXT_NODE&&(n.appendData(t.nodeValue),this.removeChild(t))}}},serialize:{value:function(){if(this._innerHTML)return this._innerHTML;for(var e=``,t=this.firstChild;t!==null;t=t.nextSibling)e+=i.serializeOne(t,this);return e}},outerHTML:{get:function(){return i.serializeOne(this,{nodeType:0})},set:a.nyi},ELEMENT_NODE:{value:s},ATTRIBUTE_NODE:{value:c},TEXT_NODE:{value:l},CDATA_SECTION_NODE:{value:m},ENTITY_REFERENCE_NODE:{value:h},ENTITY_NODE:{value:g},PROCESSING_INSTRUCTION_NODE:{value:_},COMMENT_NODE:{value:v},DOCUMENT_NODE:{value:y},DOCUMENT_TYPE_NODE:{value:b},DOCUMENT_FRAGMENT_NODE:{value:x},NOTATION_NODE:{value:S},DOCUMENT_POSITION_DISCONNECTED:{value:ee},DOCUMENT_POSITION_PRECEDING:{value:C},DOCUMENT_POSITION_FOLLOWING:{value:w},DOCUMENT_POSITION_CONTAINS:{value:T},DOCUMENT_POSITION_CONTAINED_BY:{value:E},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:D}})})),h=t(((e,t)=>{t.exports=class extends Array{constructor(e){if(super(e&&e.length||0),e)for(var t in e)this[t]=e[t]}item(e){return this[e]||null}}})),g=t(((e,t)=>{function n(e){return this[e]||null}function r(e){return e||=[],e.item=n,e}t.exports=r})),_=t(((e,t)=>{var n;try{n=h()}catch{n=g()}t.exports=n})),v=t(((e,t)=>{t.exports=i;var n=m(),r=_();function i(){n.call(this),this._firstChild=this._childNodes=null}i.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return this._childNodes?this._childNodes.length>0:this._firstChild!==null}},childNodes:{get:function(){return this._ensureChildNodes(),this._childNodes}},firstChild:{get:function(){return this._childNodes?this._childNodes.length===0?null:this._childNodes[0]:this._firstChild}},lastChild:{get:function(){var e=this._childNodes,t;return e?e.length===0?null:e[e.length-1]:(t=this._firstChild,t===null?null:t._previousSibling)}},_ensureChildNodes:{value:function(){if(!this._childNodes){var e=this._firstChild,t=e,n=this._childNodes=new r;if(e)do n.push(t),t=t._nextSibling;while(t!==e);this._firstChild=null}}},removeChildren:{value:function(){for(var e=this.rooted?this.ownerDocument:null,t=this.firstChild,n;t!==null;)n=t,t=n.nextSibling,e&&e.mutateRemove(n),n.parentNode=null;this._childNodes?this._childNodes.length=0:this._firstChild=null,this.modify()}}})})),y=t((e=>{e.isValidName=h,e.isValidQName=g;var t=/^[_:A-Za-z][-.:\w]+$/,n=/^([_A-Za-z][-.\w]+|[_A-Za-z][-.\w]+:[_A-Za-z][-.\w]+)$/,r=`_A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�`,i=`-._A-Za-z0-9·À-ÖØ-öø-˿̀-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`,c=RegExp(`^[`+o+`][`+s+`]*$`),l=RegExp(`^(`+a+`|`+a+`:`+a+`)$`),u=/[\uD800-\uDB7F\uDC00-\uDFFF]/,d=/[\uD800-\uDB7F\uDC00-\uDFFF]/g,f=/[\uD800-\uDB7F][\uDC00-\uDFFF]/g;r+=`\ud800-󯰀-\udfff`,i+=`\ud800-󯰀-\udfff`,a=`[`+r+`][`+i+`]*`,o=r+`:`,s=i+`:`;var p=RegExp(`^[`+o+`][`+s+`]*$`),m=RegExp(`^(`+a+`|`+a+`:`+a+`)$`);function h(e){if(t.test(e)||c.test(e))return!0;if(!u.test(e)||!p.test(e))return!1;var n=e.match(d),r=e.match(f);return r!==null&&2*r.length===n.length}function g(e){if(n.test(e)||l.test(e))return!0;if(!u.test(e)||!m.test(e))return!1;var t=e.match(d),r=e.match(f);return r!==null&&2*r.length===t.length}})),b=t((e=>{var t=u();e.property=function(e){if(Array.isArray(e.type)){var t=Object.create(null);e.type.forEach(function(e){t[e.value||e]=e.alias||e});var r=e.missing;r===void 0&&(r=null);var i=e.invalid;return i===void 0&&(i=r),{get:function(){var n=this._getattr(e.name);return n===null?r:(n=t[n.toLowerCase()],n===void 0?i===null?n:i:n)},set:function(t){this._setattr(e.name,t)}}}else if(e.type===Boolean)return{get:function(){return this.hasAttribute(e.name)},set:function(t){t?this._setattr(e.name,``):this.removeAttribute(e.name)}};else if(e.type===Number||e.type===`long`||e.type===`unsigned long`||e.type===`limited unsigned long with fallback`)return n(e);else if(!e.type||e.type===String)return{get:function(){return this._getattr(e.name)||``},set:function(t){e.treatNullAsEmptyString&&t===null&&(t=``),this._setattr(e.name,t)}};else if(typeof e.type==`function`)return e.type(e.name,e);throw Error(`Invalid attribute definition`)};function n(e){var n=typeof e.default==`function`?e.default:typeof e.default==`number`?function(){return e.default}:function(){t.assert(!1,typeof e.default)},r=e.type===`unsigned long`,i=e.type===`long`,a=e.type===`limited unsigned long with fallback`,o=e.min,s=e.max,c=e.setmin;return o===void 0&&(r&&(o=0),i&&(o=-2147483648),a&&(o=1)),s===void 0&&(r||i||a)&&(s=2147483647),{get:function(){var t=this._getattr(e.name),c=e.float?parseFloat(t):parseInt(t,10);if(t===null||!isFinite(c)||o!==void 0&&c<o||s!==void 0&&c>s)return n.call(this);if(r||i||a){if(!/^[ \t\n\f\r]*[-+]?[0-9]/.test(t))return n.call(this);c|=0}return c},set:function(o){e.float||(o=Math.floor(o)),c!==void 0&&o<c&&t.IndexSizeError(e.name+` set to `+o),r?o=o<0||o>2147483647?n.call(this):o|0:a?o=o<1||o>2147483647?n.call(this):o|0:i&&(o=o<-2147483648||o>2147483647?n.call(this):o|0),this._setattr(e.name,String(o))}}}e.registerChangeHandler=function(e,t,n){var r=e.prototype;Object.prototype.hasOwnProperty.call(r,`_attributeChangeHandlers`)||(r._attributeChangeHandlers=Object.create(r._attributeChangeHandlers||null)),r._attributeChangeHandlers[t]=n}})),x=t(((e,t)=>{t.exports=r;var n=m();function r(e,t){this.root=e,this.filter=t,this.lastModTime=e.lastModTime,this.done=!1,this.cache=[],this.traverse()}r.prototype=Object.create(Object.prototype,{length:{get:function(){return this.checkcache(),this.done||this.traverse(),this.cache.length}},item:{value:function(e){return this.checkcache(),!this.done&&e>=this.cache.length&&this.traverse(),this.cache[e]}},checkcache:{value:function(){if(this.lastModTime!==this.root.lastModTime){for(var e=this.cache.length-1;e>=0;e--)this[e]=void 0;this.cache.length=0,this.done=!1,this.lastModTime=this.root.lastModTime}}},traverse:{value:function(e){e!==void 0&&e++;for(var t;(t=this.next())!==null;)if(this[this.cache.length]=t,this.cache.push(t),e&&this.cache.length===e)return;this.done=!0}},next:{value:function(){for(var e=this.cache.length===0?this.root:this.cache[this.cache.length-1],t=e.nodeType===n.DOCUMENT_NODE?e.documentElement:e.nextElement(this.root);t;){if(this.filter(t))return t;t=t.nextElement(this.root)}return null}}})})),S=t(((e,t)=>{var n=u();t.exports=r;function r(e,t){this._getString=e,this._setString=t,this._length=0,this._lastStringValue=``,this._update()}Object.defineProperties(r.prototype,{length:{get:function(){return this._length}},item:{value:function(e){var t=s(this);return e<0||e>=t.length?null:t[e]}},contains:{value:function(e){return e=String(e),s(this).indexOf(e)>-1}},add:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]);e.indexOf(r)<0&&e.push(r)}this._update(e)}},remove:{value:function(){for(var e=s(this),t=0,n=arguments.length;t<n;t++){var r=a(arguments[t]),i=e.indexOf(r);i>-1&&e.splice(i,1)}this._update(e)}},toggle:{value:function(e,t){return e=a(e),this.contains(e)?t===void 0||t===!1?(this.remove(e),!1):!0:t===void 0||t===!0?(this.add(e),!0):!1}},replace:{value:function(e,t){String(t)===``&&n.SyntaxError(),e=a(e),t=a(t);var r=s(this),i=r.indexOf(e);if(i<0)return!1;var o=r.indexOf(t);return o<0?r[i]=t:i<o?(r[i]=t,r.splice(o,1)):r.splice(i,1),this._update(r),!0}},toString:{value:function(){return this._getString()}},value:{get:function(){return this._getString()},set:function(e){this._setString(e),this._update()}},_update:{value:function(e){e?(i(this,e),this._setString(e.join(` `).trim())):i(this,s(this)),this._lastStringValue=this._getString()}}});function i(e,t){var n=e._length,r;for(e._length=t.length,r=0;r<t.length;r++)e[r]=t[r];for(;r<n;r++)e[r]=void 0}function a(e){return e=String(e),e===``&&n.SyntaxError(),/[ \t\r\n\f]/.test(e)&&n.InvalidCharacterError(),e}function o(e){for(var t=e._length,n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function s(e){var t=e._getString();if(t===e._lastStringValue)return o(e);var n=t.replace(/(^[ \t\r\n\f]+)|([ \t\r\n\f]+$)/g,``);if(n===``)return[];var r=Object.create(null);return n.split(/[ \t\r\n\f]+/g).filter(function(e){var t=`$`+e;return r[t]?!1:(r[t]=!0,!0)})}})),ee=t(((e,t)=>{var n=Object.create(null,{location:{get:function(){throw Error(`window.location is not supported.`)}}}),r=function(e,t){return e.compareDocumentPosition(t)},i=function(e,t){return r(e,t)&2?1:-1},a=function(e){for(;(e=e.nextSibling)&&e.nodeType!==1;);return e},o=function(e){for(;(e=e.previousSibling)&&e.nodeType!==1;);return e},s=function(e){if(e=e.firstChild)for(;e.nodeType!==1&&(e=e.nextSibling););return e},c=function(e){if(e=e.lastChild)for(;e.nodeType!==1&&(e=e.previousSibling););return e},l=function(e){if(!e.parentNode)return!1;var t=e.parentNode.nodeType;return t===1||t===9},u=function(e){if(!e)return e;var t=e[0];return t===`"`||t===`'`?(e=e[e.length-1]===t?e.slice(1,-1):e.slice(1),e.replace(x.str_escape,function(e){var t=/^\\(?:([0-9A-Fa-f]+)|([\r\n\f]+))/.exec(e);if(!t)return e.slice(1);if(t[2])return``;var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})):x.ident.test(e)?d(e):e},d=function(e){return e.replace(x.escape,function(e){var t=/^\\([0-9A-Fa-f]+)/.exec(e);if(!t)return e[1];var n=parseInt(t[1],16);return String.fromCodePoint?String.fromCodePoint(n):String.fromCharCode(n)})},f=(function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var n=this.length;n--;)if(this[n]===t)return n;return-1}})(),p=function(e,t){var n=x.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(n)},m=function(e,t,n){return e=e.source,e=e.replace(t,n.source||n),new RegExp(e)},h=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,``).replace(/(?:\/+|\/*#.*?)$/,``).split(`/`,t).join(`/`)},g=function(e,t){var n=e.replace(/\s+/g,``),r;return n===`even`?n=`2n+0`:n===`odd`?n=`2n+1`:n.indexOf(`n`)===-1&&(n=`0n`+n),r=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(n),{group:r[1]===`-`?-(r[2]||1):+(r[2]||1),offset:r[4]?r[3]===`-`?-r[4]:+r[4]:0}},_=function(e,t,n){var r=g(e),i=r.group,u=r.offset,d=n?c:s,f=n?o:a;return function(e){if(l(e))for(var n=d(e.parentNode),r=0;n;){if(t(n,e)&&r++,n===e)return r-=u,i&&r?r%i===0&&r<0==i<0:!r;n=f(n)}}},v={"*":(function(){return function(){return!0}})(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,n,r){return t=y[t],function(i){var a;switch(e){case`for`:a=i.htmlFor;break;case`class`:a=i.className,a===``&&i.getAttribute(`class`)==null&&(a=null);break;case`href`:case`src`:a=i.getAttribute(e,2);break;case`title`:a=i.getAttribute(`title`)||null;break;case`id`:case`lang`:case`dir`:case`accessKey`:case`hidden`:case`tabIndex`:case`style`:if(i.getAttribute){a=i.getAttribute(e);break}default:if(i.hasAttribute&&!i.hasAttribute(e))break;a=i[e]==null?i.getAttribute&&i.getAttribute(e):i[e];break}if(a!=null)return a+=``,r&&(a=a.toLowerCase(),n=n.toLowerCase()),t(a,n)}},":first-child":function(e){return!o(e)&&l(e)},":last-child":function(e){return!a(e)&&l(e)},":only-child":function(e){return!o(e)&&!a(e)&&l(e)},":nth-child":function(e,t){return _(e,function(){return!0},t)},":nth-last-child":function(e){return v[`:nth-child`](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=E(e);return function(e){return!t(e)}},":first-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=o(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(l(e)){for(var t=e.nodeName;e=a(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return v[`:first-of-type`](e)&&v[`:last-of-type`](e)},":nth-of-type":function(e,t){return _(e,function(e,t){return e.nodeName===t.nodeName},t)},":nth-last-of-type":function(e){return v[`:nth-of-type`](e,!0)},":checked":function(e){return!!(e.checked||e.selected)},":indeterminate":function(e){return!v[`:checked`](e)},":enabled":function(e){return!e.disabled&&e.type!==`hidden`},":disabled":function(e){return!!e.disabled},":target":function(e){return e.id===n.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":is":function(e){return E(e)},":matches":function(e){return v[`:is`](e)},":nth-match":function(e,t){var n=e.split(/\s*,\s*/);return _(n.shift(),E(n.join(`,`)),t)},":nth-last-match":function(e){return v[`:nth-match`](e,!0)},":links-here":function(e){return e+``==n.location+``},":lang":function(e){return function(t){for(;t;){if(t.lang)return t.lang.indexOf(e)===0;t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var n=t||e.ownerDocument;return n.nodeType===9?e===n.documentElement:e===n},":any-link":function(e){return typeof e.href==`string`},":local-link":function(e){if(e.nodeName)return e.href&&e.host===n.location.host;var t=+e+1;return function(e){if(e.href){var r=n.location+``,i=e+``;return h(r,t)===h(i,t)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!v[`:valid`](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!v[`:in-range`](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute(`contenteditable`),n=e.contentEditable,r=e.nodeName.toLowerCase();return r=r!==`input`&&r!==`textarea`,(r||e.disabled)&&t==null&&n!==`true`},":read-write":function(e){return!v[`:read-only`](e)},":hover":function(){throw Error(`:hover is not supported.`)},":active":function(){throw Error(`:active is not supported.`)},":link":function(){throw Error(`:link is not supported.`)},":visited":function(){throw Error(`:visited is not supported.`)},":column":function(){throw Error(`:column is not supported.`)},":nth-column":function(){throw Error(`:nth-column is not supported.`)},":nth-last-column":function(){throw Error(`:nth-last-column is not supported.`)},":current":function(){throw Error(`:current is not supported.`)},":past":function(){throw Error(`:past is not supported.`)},":future":function(){throw Error(`:future is not supported.`)},":contains":function(e){return function(t){return(t.innerText||t.textContent||t.value||``).indexOf(e)!==-1}},":has":function(e){return function(t){return D(e,t).length>0}}},y={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var n,r,i,a;for(r=0;;r=n+1){if(n=e.indexOf(t,r),n===-1)return!1;if(i=e[n-1],a=e[n+t.length],(!i||i===` `)&&(!a||a===` `))return!0}},"|=":function(e,t){var n=e.indexOf(t),r;if(n===0)return r=e[n+t.length],r===`-`||!r},"^=":function(e,t){return e.indexOf(t)===0},"$=":function(e,t){var n=e.lastIndexOf(t);return n!==-1&&n+t.length===e.length},"!=":function(e,t){return e!==t}},b={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){if(t=t.parentNode)return e(t)&&t}},"+":function(e){return function(t){if(t=o(t))return e(t)&&t}},"~":function(e){return function(t){for(;t=o(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){var n;function r(e){for(var t=e.ownerDocument.getElementsByTagName(`*`),i=t.length;i--;)if(n=t[i],r.test(e))return n=null,!0;n=null}return r.combinator=function(r){if(!(!n||!n.getAttribute)){var i=n.getAttribute(t)||``;if(i[0]===`#`&&(i=i.substring(1)),i===r.id&&e(n))return n}},r}},x={escape:/\\(?:[^0-9A-Fa-f\r\n]|[0-9A-Fa-f]{1,6}[\r\n\t ]?)/g,str_escape:/(escape)|\\(\n|\r\n?|\f)/g,nonascii:/[\u00A0-\uFFFF]/,cssid:/(?:(?!-?[0-9])(?:escape|nonascii|[-_a-zA-Z0-9])+)/,qname:/^ *(cssid|\*)/,simple:/^(?:([.#]cssid)|pseudo|attr)/,ref:/^ *\/(cssid)\/ */,combinator:/^(?: +([^ \w*.#\\]) +|( )+|([^ \w*.#\\]))(?! *$)/,attr:/^\[(cssid)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:cssid)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/,ident:/^(cssid)$/};x.cssid=m(x.cssid,`nonascii`,x.nonascii),x.cssid=m(x.cssid,`escape`,x.escape),x.qname=m(x.qname,`cssid`,x.cssid),x.simple=m(x.simple,`cssid`,x.cssid),x.ref=m(x.ref,`cssid`,x.cssid),x.attr=m(x.attr,`cssid`,x.cssid),x.pseudo=m(x.pseudo,`cssid`,x.cssid),x.inside=m(x.inside,`[^"'>]*`,x.inside),x.attr=m(x.attr,`inside`,p(`\\[`,`\\]`)),x.pseudo=m(x.pseudo,`inside`,p(`\\(`,`\\)`)),x.simple=m(x.simple,`pseudo`,x.pseudo),x.simple=m(x.simple,`attr`,x.attr),x.ident=m(x.ident,`cssid`,x.cssid),x.str_escape=m(x.str_escape,`escape`,x.escape);var S=function(e){for(var t=e.replace(/^\s+|\s+$/g,``),n,r=[],i=[],a,o,s,c,l;t;){if(s=x.qname.exec(t))t=t.substring(s[0].length),o=d(s[1]),i.push(ee(o,!0));else if(s=x.simple.exec(t))t=t.substring(s[0].length),o=`*`,i.push(ee(o,!0)),i.push(ee(s));else throw SyntaxError(`Invalid selector.`);for(;s=x.simple.exec(t);)t=t.substring(s[0].length),i.push(ee(s));if(t[0]===`!`&&(t=t.substring(1),a=T(),a.qname=o,i.push(a.simple)),s=x.ref.exec(t)){t=t.substring(s[0].length),l=b.ref(C(i),d(s[1])),r.push(l.combinator),i=[];continue}if(s=x.combinator.exec(t)){if(t=t.substring(s[0].length),c=s[1]||s[2]||s[3],c===`,`){r.push(b.noop(C(i)));break}}else c=`noop`;if(!b[c])throw SyntaxError(`Bad combinator.`);r.push(b[c](C(i))),i=[]}return n=w(r),n.qname=o,n.sel=t,a&&(a.lname=n.qname,a.test=n,a.qname=a.qname,a.sel=n.sel,n=a),l&&(l.test=n,l.qname=n.qname,l.sel=n.sel,n=l),n},ee=function(e,t){if(t)return e===`*`?v[`*`]:v.type(e);if(e[1])return e[1][0]===`.`?v.attr(`class`,`~=`,d(e[1].substring(1)),!1):v.attr(`id`,`=`,d(e[1].substring(1)),!1);if(e[2])return e[3]?v[d(e[2])](u(e[3])):v[d(e[2])];if(e[4]){var n=e[6],r=/["'\s]\s*I$/i.test(n);return r&&(n=n.replace(/\s*I$/i,``)),v.attr(d(e[4]),e[5]||`-`,u(n),r)}throw SyntaxError(`Unknown Selector.`)},C=function(e){var t=e.length,n;return t<2?e[0]:function(r){if(r){for(n=0;n<t;n++)if(!e[n](r))return;return!0}}},w=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var n=e.length;n--;)if(!(t=e[n](t)))return;return!0}},T=function(){var e;function t(n){for(var r=n.ownerDocument.getElementsByTagName(t.lname),i=r.length;i--;)if(t.test(r[i])&&e===n)return e=null,!0;e=null}return t.simple=function(t){return e=t,!0},t},E=function(e){for(var t=S(e),n=[t];t.sel;)t=S(t.sel),n.push(t);return n.length<2?t:function(e){for(var t=n.length,r=0;r<t;r++)if(n[r](e))return!0}},D=function(e,t){for(var n=[],r=S(e),a=t.getElementsByTagName(r.qname),o=0,s;s=a[o++];)r(s)&&n.push(s);if(r.sel){for(;r.sel;)for(r=S(r.sel),a=t.getElementsByTagName(r.qname),o=0;s=a[o++];)r(s)&&f.call(n,s)===-1&&n.push(s);n.sort(i)}return n};t.exports=e=function(e,t){var n,r;if(t.nodeType!==11&&e.indexOf(` `)===-1){if(e[0]===`#`&&t.rooted&&/^#[A-Z_][-A-Z0-9_]*$/i.test(e)&&t.doc._hasMultipleElementsWithId&&(n=e.substring(1),!t.doc._hasMultipleElementsWithId(n)))return r=t.doc.getElementById(n),r?[r]:[];if(e[0]===`.`&&/^\.\w+$/.test(e))return t.getElementsByClassName(e.substring(1));if(/^\w+$/.test(e))return t.getElementsByTagName(e)}return D(e,t)},e.selectors=v,e.operators=y,e.combinators=b,e.matches=function(e,t){var n={sel:t};do if(n=S(n.sel),n(e))return!0;while(n.sel);return!1}})),C=t(((e,t)=>{var n=m(),r=f(),i=function(e,t){for(var r=e.createDocumentFragment(),i=0;i<t.length;i++){var a=t[i],o=a instanceof n;r.appendChild(o?a:e.createTextNode(String(a)))}return r};t.exports={after:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);t.insertBefore(r,n)}}},before:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.previousSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.previousSibling;var r=i(this.doc,e),a=n?n.nextSibling:t.firstChild;t.insertBefore(r,a)}}},remove:{value:function(){this.parentNode!==null&&(this.doc&&(this.doc._preremoveNodeIterators(this),this.rooted&&this.doc.mutateRemove(this)),this._remove(),this.parentNode=null)}},_remove:{value:function(){var e=this.parentNode;e!==null&&(e._childNodes?e._childNodes.splice(this.index,1):e._firstChild===this&&(this._nextSibling===this?e._firstChild=null:e._firstChild=this._nextSibling),r.remove(this),e.modify())}},replaceWith:{value:function(){var e=Array.prototype.slice.call(arguments),t=this.parentNode,n=this.nextSibling;if(t!==null){for(;n&&e.some(function(e){return e===n});)n=n.nextSibling;var r=i(this.doc,e);this.parentNode===t?t.replaceChild(r,this):t.insertBefore(r,n)}}}}})),w=t(((e,t)=>{var n=m();t.exports={nextElementSibling:{get:function(){if(this.parentNode){for(var e=this.nextSibling;e!==null;e=e.nextSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}},previousElementSibling:{get:function(){if(this.parentNode){for(var e=this.previousSibling;e!==null;e=e.previousSibling)if(e.nodeType===n.ELEMENT_NODE)return e}return null}}}})),T=t(((e,t)=>{t.exports=r;var n=u();function r(e){this.element=e}Object.defineProperties(r.prototype,{length:{get:n.shouldOverride},item:{value:n.shouldOverride},getNamedItem:{value:function(e){return this.element.getAttributeNode(e)}},getNamedItemNS:{value:function(e,t){return this.element.getAttributeNodeNS(e,t)}},setNamedItem:{value:n.nyi},setNamedItemNS:{value:n.nyi},removeNamedItem:{value:function(e){var t=this.element.getAttributeNode(e);if(t)return this.element.removeAttribute(e),t;n.NotFoundError()}},removeNamedItemNS:{value:function(e,t){var r=this.element.getAttributeNodeNS(e,t);if(r)return this.element.removeAttributeNS(e,t),r;n.NotFoundError()}}})})),E=t(((e,t)=>{t.exports=O;var n=y(),r=u(),i=r.NAMESPACE,a=b(),o=m(),s=_(),l=p(),d=x(),f=c(),h=S(),g=ee(),E=v(),D=C(),te=w(),ne=T(),re=Object.create(null);function O(e,t,n,r){E.call(this),this.nodeType=o.ELEMENT_NODE,this.ownerDocument=e,this.localName=t,this.namespaceURI=n,this.prefix=r,this._tagName=void 0,this._attrsByQName=Object.create(null),this._attrsByLName=Object.create(null),this._attrKeys=[]}function ie(e,t){if(e.nodeType===o.TEXT_NODE)t.push(e._data);else for(var n=0,r=e.childNodes.length;n<r;n++)ie(e.childNodes[n],t)}O.prototype=Object.create(E.prototype,{isHTML:{get:function(){return this.namespaceURI===i.HTML&&this.ownerDocument.isHTML}},tagName:{get:function(){if(this._tagName===void 0){var e=this.prefix===null?this.localName:this.prefix+`:`+this.localName;if(this.isHTML){var t=re[e];t||(re[e]=t=r.toASCIIUpperCase(e)),e=t}this._tagName=e}return this._tagName}},nodeName:{get:function(){return this.tagName}},nodeValue:{get:function(){return null},set:function(){}},textContent:{get:function(){var e=[];return ie(this,e),e.join(``)},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerText:{get:function(){var e=[];return ie(this,e),e.join(``).replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.removeChildren(),e!=null&&e!==``&&this._appendChild(this.ownerDocument.createTextNode(e))}},innerHTML:{get:function(){return this.serialize()},set:r.nyi},outerHTML:{get:function(){return l.serializeOne(this,{nodeType:0})},set:function(e){var t=this.ownerDocument,n=this.parentNode;if(n!==null){n.nodeType===o.DOCUMENT_NODE&&r.NoModificationAllowedError(),n.nodeType===o.DOCUMENT_FRAGMENT_NODE&&(n=n.ownerDocument.createElement(`body`));var i=t.implementation.mozHTMLParser(t._address,n);i.parse(e===null?``:String(e),!0),this.replaceWith(i._asDocumentFragment())}}},_insertAdjacent:{value:function(e,t){var n=!1;switch(e){case`beforebegin`:n=!0;case`afterend`:var i=this.parentNode;return i===null?null:i.insertBefore(t,n?this:this.nextSibling);case`afterbegin`:n=!0;case`beforeend`:return this.insertBefore(t,n?this.firstChild:null);default:return r.SyntaxError()}}},insertAdjacentElement:{value:function(e,t){if(t.nodeType!==o.ELEMENT_NODE)throw TypeError(`not an element`);return e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,t)}},insertAdjacentText:{value:function(e,t){var n=this.ownerDocument.createTextNode(t);e=r.toASCIILowerCase(String(e)),this._insertAdjacent(e,n)}},insertAdjacentHTML:{value:function(e,t){e=r.toASCIILowerCase(String(e)),t=String(t);var n;switch(e){case`beforebegin`:case`afterend`:n=this.parentNode,(n===null||n.nodeType===o.DOCUMENT_NODE)&&r.NoModificationAllowedError();break;case`afterbegin`:case`beforeend`:n=this;break;default:r.SyntaxError()}(!(n instanceof O)||n.ownerDocument.isHTML&&n.localName===`html`&&n.namespaceURI===i.HTML)&&(n=n.ownerDocument.createElementNS(i.HTML,`body`));var a=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,n);a.parse(t,!0),this._insertAdjacent(e,a._asDocumentFragment())}},children:{get:function(){return this._children||=new ae(this),this._children}},attributes:{get:function(){return this._attributes||=new A(this),this._attributes}},firstElementChild:{get:function(){for(var e=this.firstChild;e!==null;e=e.nextSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},lastElementChild:{get:function(){for(var e=this.lastChild;e!==null;e=e.previousSibling)if(e.nodeType===o.ELEMENT_NODE)return e;return null}},childElementCount:{get:function(){return this.children.length}},nextElement:{value:function(e){e||=this.ownerDocument.documentElement;var t=this.firstElementChild;if(!t){if(this===e)return null;t=this.nextElementSibling}if(t)return t;for(var n=this.parentElement;n&&n!==e;n=n.parentElement)if(t=n.nextElementSibling,t)return t;return null}},getElementsByTagName:{value:function(e){var t;return e?(t=e===`*`?function(){return!0}:this.isHTML?se(e):oe(e),new d(this,t)):new s}},getElementsByTagNameNS:{value:function(e,t){var n=e===`*`&&t===`*`?function(){return!0}:e===`*`?oe(t):t===`*`?j(e):ce(e,t);return new d(this,n)}},getElementsByClassName:{value:function(e){return e=String(e).trim(),e===``?new s:(e=e.split(/[ \t\r\n\f]+/),new d(this,M(e)))}},getElementsByName:{value:function(e){return new d(this,le(String(e)))}},clone:{value:function(){for(var e=this.namespaceURI!==i.HTML||this.prefix||!this.ownerDocument.isHTML?this.ownerDocument.createElementNS(this.namespaceURI,this.prefix===null?this.localName:this.prefix+`:`+this.localName):this.ownerDocument.createElement(this.localName),t=0,n=this._attrKeys.length;t<n;t++){var r=this._attrKeys[t],a=this._attrsByLName[r].cloneNode();a._setOwnerElement(e),e._attrsByLName[r]=a,e._addQName(a)}return e._attrKeys=this._attrKeys.concat(),e}},isEqual:{value:function(e){if(this.localName!==e.localName||this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this._numattrs!==e._numattrs)return!1;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(!e.hasAttributeNS(r.namespaceURI,r.localName)||e.getAttributeNS(r.namespaceURI,r.localName)!==r.value)return!1}return!0}},_lookupNamespacePrefix:{value:function(e,t){if(this.namespaceURI&&this.namespaceURI===e&&this.prefix!==null&&t.lookupNamespaceURI(this.prefix)===e)return this.prefix;for(var n=0,r=this._numattrs;n<r;n++){var i=this._attr(n);if(i.prefix===`xmlns`&&i.value===e&&t.lookupNamespaceURI(i.localName)===e)return i.localName}var a=this.parentElement;return a?a._lookupNamespacePrefix(e,t):null}},lookupNamespaceURI:{value:function(e){if((e===``||e===void 0)&&(e=null),this.namespaceURI!==null&&this.prefix===e)return this.namespaceURI;for(var t=0,n=this._numattrs;t<n;t++){var r=this._attr(t);if(r.namespaceURI===i.XMLNS&&(r.prefix===`xmlns`&&r.localName===e||e===null&&r.prefix===null&&r.localName===`xmlns`))return r.value||null}var a=this.parentElement;return a?a.lookupNamespaceURI(e):null}},getAttribute:{value:function(e){var t=this.getAttributeNode(e);return t?t.value:null}},getAttributeNS:{value:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null}},getAttributeNode:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];return t?(Array.isArray(t)&&(t=t[0]),t):null}},getAttributeNodeNS:{value:function(e,t){return e=e==null?``:String(e),t=String(t),this._attrsByLName[e+`|`+t]||null}},hasAttribute:{value:function(e){return e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]!==void 0}},hasAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t;return this._attrsByLName[n]!==void 0}},hasAttributes:{value:function(){return this._numattrs>0}},toggleAttribute:{value:function(e,t){return e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._attrsByQName[e]===void 0?t===void 0||t===!0?(this._setAttribute(e,``),!0):!1:t===void 0||t===!1?(this.removeAttribute(e),!1):!0}},_setAttribute:{value:function(e,t){var n=this._attrsByQName[e],r;n?Array.isArray(n)&&(n=n[0]):(n=this._newattr(e),r=!0),n.value=t,this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},setAttribute:{value:function(e,t){e=String(e),n.isValidName(e)||r.InvalidCharacterError(),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e)),this._setAttribute(e,String(t))}},_setAttributeNS:{value:function(e,t,n){var r=t.indexOf(`:`),i,a;r<0?(i=null,a=t):(i=t.substring(0,r),a=t.substring(r+1)),(e===``||e===void 0)&&(e=null);var o=(e===null?``:e)+`|`+a,s=this._attrsByLName[o],c;s||(s=new k(this,a,i,e),c=!0,this._attrsByLName[o]=s,this._attributes&&(this._attributes[this._attrKeys.length]=s),this._attrKeys.push(o),this._addQName(s)),s.value=n,c&&this._newattrhook&&this._newattrhook(t,n)}},setAttributeNS:{value:function(e,t,a){e=e==null||e===``?null:String(e),t=String(t),n.isValidQName(t)||r.InvalidCharacterError();var o=t.indexOf(`:`),s=o<0?null:t.substring(0,o);(s!==null&&e===null||s===`xml`&&e!==i.XML||(t===`xmlns`||s===`xmlns`)&&e!==i.XMLNS||e===i.XMLNS&&!(t===`xmlns`||s===`xmlns`))&&r.NamespaceError(),this._setAttributeNS(e,t,String(a))}},setAttributeNode:{value:function(e){if(e.ownerElement!==null&&e.ownerElement!==this)throw new f(f.INUSE_ATTRIBUTE_ERR);var t=null,n=this._attrsByQName[e.name];if(n){if(Array.isArray(n)||(n=[n]),n.some(function(t){return t===e}))return e;if(e.ownerElement!==null)throw new f(f.INUSE_ATTRIBUTE_ERR);n.forEach(function(e){this.removeAttributeNode(e)},this),t=n[0]}return this.setAttributeNodeNS(e),t}},setAttributeNodeNS:{value:function(e){if(e.ownerElement!==null)throw new f(f.INUSE_ATTRIBUTE_ERR);var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName,r=this._attrsByLName[n];return r&&this.removeAttributeNode(r),e._setOwnerElement(this),this._attrsByLName[n]=e,this._attributes&&(this._attributes[this._attrKeys.length]=e),this._attrKeys.push(n),this._addQName(e),this._newattrhook&&this._newattrhook(e.name,e.value),r||null}},removeAttribute:{value:function(e){e=String(e),/[A-Z]/.test(e)&&this.isHTML&&(e=r.toASCIILowerCase(e));var t=this._attrsByQName[e];if(t){Array.isArray(t)?t.length>2?t=t.shift():(this._attrsByQName[e]=t[1],t=t[0]):this._attrsByQName[e]=void 0;var n=t.namespaceURI,i=(n===null?``:n)+`|`+t.localName;this._attrsByLName[i]=void 0;var a=this._attrKeys.indexOf(i);this._attributes&&(Array.prototype.splice.call(this._attributes,a,1),this._attributes[e]=void 0),this._attrKeys.splice(a,1);var o=t.onchange;t._setOwnerElement(null),o&&o.call(t,this,t.localName,t.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(t)}}},removeAttributeNS:{value:function(e,t){e=e==null?``:String(e),t=String(t);var n=e+`|`+t,r=this._attrsByLName[n];if(r){this._attrsByLName[n]=void 0;var i=this._attrKeys.indexOf(n);this._attributes&&Array.prototype.splice.call(this._attributes,i,1),this._attrKeys.splice(i,1),this._removeQName(r);var a=r.onchange;r._setOwnerElement(null),a&&a.call(r,this,r.localName,r.value,null),this.rooted&&this.ownerDocument.mutateRemoveAttr(r)}}},removeAttributeNode:{value:function(e){var t=e.namespaceURI,n=(t===null?``:t)+`|`+e.localName;return this._attrsByLName[n]!==e&&r.NotFoundError(),this.removeAttributeNS(t,e.localName),e}},getAttributeNames:{value:function(){var e=this;return this._attrKeys.map(function(t){return e._attrsByLName[t].name})}},_getattr:{value:function(e){var t=this._attrsByQName[e];return t?t.value:null}},_setattr:{value:function(e,t){var n=this._attrsByQName[e],r;n||(n=this._newattr(e),r=!0),n.value=String(t),this._attributes&&(this._attributes[e]=n),r&&this._newattrhook&&this._newattrhook(e,t)}},_newattr:{value:function(e){var t=new k(this,e,null,null),n=`|`+e;return this._attrsByQName[e]=t,this._attrsByLName[n]=t,this._attributes&&(this._attributes[this._attrKeys.length]=t),this._attrKeys.push(n),t}},_addQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];n?Array.isArray(n)?n.push(e):this._attrsByQName[t]=[n,e]:this._attrsByQName[t]=e,this._attributes&&(this._attributes[t]=e)}},_removeQName:{value:function(e){var t=e.name,n=this._attrsByQName[t];if(Array.isArray(n)){var i=n.indexOf(e);r.assert(i!==-1),n.length===2?(this._attrsByQName[t]=n[1-i],this._attributes&&(this._attributes[t]=this._attrsByQName[t])):(n.splice(i,1),this._attributes&&this._attributes[t]===e&&(this._attributes[t]=n[0]))}else r.assert(n===e),this._attrsByQName[t]=void 0,this._attributes&&(this._attributes[t]=void 0)}},_numattrs:{get:function(){return this._attrKeys.length}},_attr:{value:function(e){return this._attrsByLName[this._attrKeys[e]]}},id:a.property({name:`id`}),className:a.property({name:`class`}),classList:{get:function(){var e=this;if(this._classList)return this._classList;var t=new h(function(){return e.className||``},function(t){e.className=t});return this._classList=t,t},set:function(e){this.className=e}},matches:{value:function(e){return g.matches(this,e)}},closest:{value:function(e){var t=this;do{if(t.matches&&t.matches(e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===o.ELEMENT_NODE);return null}},querySelector:{value:function(e){return g(e,this)[0]}},querySelectorAll:{value:function(e){var t=g(e,this);return t.item?t:new s(t)}}}),Object.defineProperties(O.prototype,D),Object.defineProperties(O.prototype,te),a.registerChangeHandler(O,`id`,function(e,t,n,r){e.rooted&&(n&&e.ownerDocument.delId(n,e),r&&e.ownerDocument.addId(r,e))}),a.registerChangeHandler(O,`class`,function(e,t,n,r){e._classList&&e._classList._update()});function k(e,t,n,r,i){this.localName=t,this.prefix=n===null||n===``?null:``+n,this.namespaceURI=r===null||r===``?null:``+r,this.data=i,this._setOwnerElement(e)}k.prototype=Object.create(Object.prototype,{ownerElement:{get:function(){return this._ownerElement}},_setOwnerElement:{value:function(e){this._ownerElement=e,this.prefix===null&&this.namespaceURI===null&&e?this.onchange=e._attributeChangeHandlers[this.localName]:this.onchange=null}},name:{get:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName}},specified:{get:function(){return!0}},value:{get:function(){return this.data},set:function(e){var t=this.data;e=e===void 0?``:e+``,e!==t&&(this.data=e,this.ownerElement&&(this.onchange&&this.onchange(this.ownerElement,this.localName,t,e),this.ownerElement.rooted&&this.ownerElement.ownerDocument.mutateAttr(this,t)))}},cloneNode:{value:function(e){return new k(null,this.localName,this.prefix,this.namespaceURI,this.data)}},nodeType:{get:function(){return o.ATTRIBUTE_NODE}},nodeName:{get:function(){return this.name}},nodeValue:{get:function(){return this.value},set:function(e){this.value=e}},textContent:{get:function(){return this.value},set:function(e){e??=``,this.value=e}},innerText:{get:function(){return this.value},set:function(e){e??=``,this.value=e}}}),O._Attr=k;function A(e){for(var t in ne.call(this,e),e._attrsByQName)this[t]=e._attrsByQName[t];for(var n=0;n<e._attrKeys.length;n++)this[n]=e._attrsByLName[e._attrKeys[n]]}A.prototype=Object.create(ne.prototype,{length:{get:function(){return this.element._attrKeys.length},set:function(){}},item:{value:function(e){return e>>>=0,e>=this.length?null:this.element._attrsByLName[this.element._attrKeys[e]]}}}),globalThis.Symbol?.iterator&&(A.prototype[globalThis.Symbol.iterator]=function(){var e=0,t=this.length,n=this;return{next:function(){return e<t?{value:n.item(e++)}:{done:!0}}}});function ae(e){this.element=e,this.updateCache()}ae.prototype=Object.create(Object.prototype,{length:{get:function(){return this.updateCache(),this.childrenByNumber.length}},item:{value:function(e){return this.updateCache(),this.childrenByNumber[e]||null}},namedItem:{value:function(e){return this.updateCache(),this.childrenByName[e]||null}},namedItems:{get:function(){return this.updateCache(),this.childrenByName}},updateCache:{value:function(){var e=/^(a|applet|area|embed|form|frame|frameset|iframe|img|object)$/;if(this.lastModTime!==this.element.lastModTime){this.lastModTime=this.element.lastModTime;for(var t=this.childrenByNumber&&this.childrenByNumber.length||0,n=0;n<t;n++)this[n]=void 0;this.childrenByNumber=[],this.childrenByName=Object.create(null);for(var r=this.element.firstChild;r!==null;r=r.nextSibling)if(r.nodeType===o.ELEMENT_NODE){this[this.childrenByNumber.length]=r,this.childrenByNumber.push(r);var a=r.getAttribute(`id`);a&&!this.childrenByName[a]&&(this.childrenByName[a]=r);var s=r.getAttribute(`name`);s&&this.element.namespaceURI===i.HTML&&e.test(this.element.localName)&&!this.childrenByName[s]&&(this.childrenByName[a]=r)}}}}});function oe(e){return function(t){return t.localName===e}}function se(e){var t=r.toASCIILowerCase(e);return t===e?oe(e):function(n){return n.isHTML?n.localName===t:n.localName===e}}function j(e){return function(t){return t.namespaceURI===e}}function ce(e,t){return function(n){return n.namespaceURI===e&&n.localName===t}}function M(e){return function(t){return e.every(function(e){return t.classList.contains(e)})}}function le(e){return function(t){return t.namespaceURI===i.HTML?t.getAttribute(`name`)===e:!1}}})),D=t(((e,t)=>{t.exports=s;var n=m(),r=_(),i=u(),a=i.HierarchyRequestError,o=i.NotFoundError;function s(){n.call(this)}s.prototype=Object.create(n.prototype,{hasChildNodes:{value:function(){return!1}},firstChild:{value:null},lastChild:{value:null},insertBefore:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},replaceChild:{value:function(e,t){if(!e.nodeType)throw TypeError(`not a node`);a()}},removeChild:{value:function(e){if(!e.nodeType)throw TypeError(`not a node`);o()}},removeChildren:{value:function(){}},childNodes:{get:function(){return this._childNodes||=new r,this._childNodes}}})})),te=t(((e,t)=>{t.exports=o;var n=D(),r=u(),i=C(),a=w();function o(){n.call(this)}o.prototype=Object.create(n.prototype,{substringData:{value:function(e,t){if(arguments.length<2)throw TypeError(`Not enough arguments`);return e>>>=0,t>>>=0,(e>this.data.length||e<0||t<0)&&r.IndexSizeError(),this.data.substring(e,e+t)}},appendData:{value:function(e){if(arguments.length<1)throw TypeError(`Not enough arguments`);this.data+=String(e)}},insertData:{value:function(e,t){return this.replaceData(e,0,t)}},deleteData:{value:function(e,t){return this.replaceData(e,t,``)}},replaceData:{value:function(e,t,n){var i=this.data,a=i.length;e>>>=0,t>>>=0,n=String(n),(e>a||e<0)&&r.IndexSizeError(),e+t>a&&(t=a-e);var o=i.substring(0,e),s=i.substring(e+t);this.data=o+n+s}},isEqual:{value:function(e){return this._data===e._data}},length:{get:function(){return this.data.length}}}),Object.defineProperties(o.prototype,i),Object.defineProperties(o.prototype,a)})),ne=t(((e,t)=>{t.exports=a;var n=u(),r=m(),i=te();function a(e,t){i.call(this),this.nodeType=r.TEXT_NODE,this.ownerDocument=e,this._data=t,this._index=void 0}var o={get:function(){return this._data},set:function(e){e=e==null?``:String(e),e!==this._data&&(this._data=e,this.rooted&&this.ownerDocument.mutateValue(this),this.parentNode&&this.parentNode._textchangehook&&this.parentNode._textchangehook(this))}};a.prototype=Object.create(i.prototype,{nodeName:{value:`#text`},nodeValue:o,textContent:o,innerText:o,data:{get:o.get,set:function(e){o.set.call(this,e===null?``:String(e))}},splitText:{value:function(e){(e>this._data.length||e<0)&&n.IndexSizeError();var t=this._data.substring(e),r=this.ownerDocument.createTextNode(t);this.data=this.data.substring(0,e);var i=this.parentNode;return i!==null&&i.insertBefore(r,this.nextSibling),r}},wholeText:{get:function(){for(var e=this.textContent,t=this.nextSibling;t&&t.nodeType===r.TEXT_NODE;t=t.nextSibling)e+=t.textContent;return e}},replaceWholeText:{value:n.nyi},clone:{value:function(){return new a(this.ownerDocument,this._data)}}})})),re=t(((e,t)=>{t.exports=i;var n=m(),r=te();function i(e,t){r.call(this),this.nodeType=n.COMMENT_NODE,this.ownerDocument=e,this._data=t}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{value:`#comment`},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this._data)}}})})),O=t(((e,t)=>{t.exports=c;var n=m(),r=_(),i=v(),a=E(),o=ee(),s=u();function c(e){i.call(this),this.nodeType=n.DOCUMENT_FRAGMENT_NODE,this.ownerDocument=e}c.prototype=Object.create(i.prototype,{nodeName:{value:`#document-fragment`},nodeValue:{get:function(){return null},set:function(){}},textContent:Object.getOwnPropertyDescriptor(a.prototype,`textContent`),innerText:Object.getOwnPropertyDescriptor(a.prototype,`innerText`),querySelector:{value:function(e){var t=this.querySelectorAll(e);return t.length?t[0]:null}},querySelectorAll:{value:function(e){var t=Object.create(this);t.isHTML=!0,t.getElementsByTagName=a.prototype.getElementsByTagName,t.nextElement=Object.getOwnPropertyDescriptor(a.prototype,`firstElementChild`).get;var n=o(e,t);return n.item?n:new r(n)}},clone:{value:function(){return new c(this.ownerDocument)}},isEqual:{value:function(e){return!0}},innerHTML:{get:function(){return this.serialize()},set:s.nyi},outerHTML:{get:function(){return this.serialize()},set:s.nyi}})})),ie=t(((e,t)=>{t.exports=i;var n=m(),r=te();function i(e,t,i){r.call(this),this.nodeType=n.PROCESSING_INSTRUCTION_NODE,this.ownerDocument=e,this.target=t,this._data=i}var a={get:function(){return this._data},set:function(e){e=e==null?``:String(e),this._data=e,this.rooted&&this.ownerDocument.mutateValue(this)}};i.prototype=Object.create(r.prototype,{nodeName:{get:function(){return this.target}},nodeValue:a,textContent:a,innerText:a,data:{get:a.get,set:function(e){a.set.call(this,e===null?``:String(e))}},clone:{value:function(){return new i(this.ownerDocument,this.target,this._data)}},isEqual:{value:function(e){return this.target===e.target&&this._data===e._data}}})})),k=t(((e,t)=>{var n={FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048};t.exports=n.constructor=n.prototype=n})),A=t(((e,t)=>{t.exports={nextSkippingChildren:n,nextAncestorSibling:r,next:i,previous:o,deepLastChild:a};function n(e,t){return e===t?null:e.nextSibling===null?r(e,t):e.nextSibling}function r(e,t){for(e=e.parentNode;e!==null;e=e.parentNode){if(e===t)return null;if(e.nextSibling!==null)return e.nextSibling}return null}function i(e,t){var n=e.firstChild;return n===null?e===t?null:(n=e.nextSibling,n===null?r(e,t):n):n}function a(e){for(;e.lastChild;)e=e.lastChild;return e}function o(e,t){var n=e.previousSibling;return n===null?(n=e.parentNode,n===t?null:n):a(n)}})),ae=t(((e,t)=>{t.exports=d;var n=m(),r=k(),i=A(),a=u(),o={first:`firstChild`,last:`lastChild`,next:`firstChild`,previous:`lastChild`},s={first:`nextSibling`,last:`previousSibling`,next:`nextSibling`,previous:`previousSibling`};function c(e,t){for(var n,i=e._currentNode[o[t]],a,c,l;i!==null;){if(c=e._internalFilter(i),c===r.FILTER_ACCEPT)return e._currentNode=i,i;if(c===r.FILTER_SKIP&&(n=i[o[t]],n!==null)){i=n;continue}for(;i!==null;){if(l=i[s[t]],l!==null){i=l;break}if(a=i.parentNode,a===null||a===e.root||a===e._currentNode)return null;i=a}}return null}function l(e,t){var n=e._currentNode,i,a;if(n===e.root)return null;for(;;){for(a=n[s[t]];a!==null;){if(n=a,i=e._internalFilter(n),i===r.FILTER_ACCEPT)return e._currentNode=n,n;a=n[o[t]],(i===r.FILTER_REJECT||a===null)&&(a=n[s[t]])}if(n=n.parentNode,n===null||n===e.root||e._internalFilter(n)===r.FILTER_ACCEPT)return null}}function d(e,t,n){(!e||!e.nodeType)&&a.NotSupportedError(),this._root=e,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,this._currentNode=e}Object.defineProperties(d.prototype,{root:{get:function(){return this._root}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},currentNode:{get:function(){return this._currentNode},set:function(e){if(!(e instanceof n))throw TypeError(`Not a Node`);this._currentNode=e}},_internalFilter:{value:function(e){var t,n;if(this._active&&a.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return r.FILTER_SKIP;if(n=this._filter,n===null)t=r.FILTER_ACCEPT;else{this._active=!0;try{t=typeof n==`function`?n(e):n.acceptNode(e)}finally{this._active=!1}}return+t}},parentNode:{value:function(){for(var e=this._currentNode;e!==this.root;){if(e=e.parentNode,e===null)return null;if(this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},firstChild:{value:function(){return c(this,`first`)}},lastChild:{value:function(){return c(this,`last`)}},previousSibling:{value:function(){return l(this,`previous`)}},nextSibling:{value:function(){return l(this,`next`)}},previousNode:{value:function(){for(var e=this._currentNode,t,n,i;e!==this._root;){for(n=e.previousSibling;n;n=e.previousSibling)if(e=n,t=this._internalFilter(e),t!==r.FILTER_REJECT){for(i=e.lastChild;i&&(e=i,t=this._internalFilter(e),t!==r.FILTER_REJECT);i=e.lastChild);if(t===r.FILTER_ACCEPT)return this._currentNode=e,e}if(e===this.root||e.parentNode===null)return null;if(e=e.parentNode,this._internalFilter(e)===r.FILTER_ACCEPT)return this._currentNode=e,e}return null}},nextNode:{value:function(){var e=this._currentNode,t=r.FILTER_ACCEPT,n,a;CHILDREN:for(;;){for(n=e.firstChild;n;n=e.firstChild){if(e=n,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_REJECT)break}for(a=i.nextSkippingChildren(e,this.root);a;a=i.nextSkippingChildren(e,this.root)){if(e=a,t=this._internalFilter(e),t===r.FILTER_ACCEPT)return this._currentNode=e,e;if(t===r.FILTER_SKIP)continue CHILDREN}return null}}},toString:{value:function(){return`[object TreeWalker]`}}})})),oe=t(((e,t)=>{t.exports=c;var n=k(),r=A(),i=u();function a(e,t,n){return n?r.next(e,t):e===t?null:r.previous(e,null)}function o(e,t){for(;t;t=t.parentNode)if(e===t)return!0;return!1}function s(e,t){for(var r=e._referenceNode,i=e._pointerBeforeReferenceNode;;){if(i===t)i=!i;else if(r=a(r,e._root,t),r===null)return null;if(e._internalFilter(r)===n.FILTER_ACCEPT)break}return e._referenceNode=r,e._pointerBeforeReferenceNode=i,r}function c(e,t,n){(!e||!e.nodeType)&&i.NotSupportedError(),this._root=e,this._referenceNode=e,this._pointerBeforeReferenceNode=!0,this._whatToShow=Number(t)||0,this._filter=n||null,this._active=!1,e.doc._attachNodeIterator(this)}Object.defineProperties(c.prototype,{root:{get:function(){return this._root}},referenceNode:{get:function(){return this._referenceNode}},pointerBeforeReferenceNode:{get:function(){return this._pointerBeforeReferenceNode}},whatToShow:{get:function(){return this._whatToShow}},filter:{get:function(){return this._filter}},_internalFilter:{value:function(e){var t,r;if(this._active&&i.InvalidStateError(),!(1<<e.nodeType-1&this._whatToShow))return n.FILTER_SKIP;if(r=this._filter,r===null)t=n.FILTER_ACCEPT;else{this._active=!0;try{t=typeof r==`function`?r(e):r.acceptNode(e)}finally{this._active=!1}}return+t}},_preremove:{value:function(e){if(!o(e,this._root)&&o(e,this._referenceNode)){if(this._pointerBeforeReferenceNode){for(var t=e;t.lastChild;)t=t.lastChild;if(t=r.next(t,this.root),t){this._referenceNode=t;return}this._pointerBeforeReferenceNode=!1}if(e.previousSibling===null)this._referenceNode=e.parentNode;else{this._referenceNode=e.previousSibling;var n;for(n=this._referenceNode.lastChild;n;n=this._referenceNode.lastChild)this._referenceNode=n}}}},nextNode:{value:function(){return s(this,!0)}},previousNode:{value:function(){return s(this,!1)}},detach:{value:function(){}},toString:{value:function(){return`[object NodeIterator]`}}})})),se=t(((e,t)=>{t.exports=n;function n(e){if(!e)return Object.create(n.prototype);this.url=e.replace(/^[ \t\n\r\f]+|[ \t\n\r\f]+$/g,``);var t=n.pattern.exec(this.url);if(t){if(t[2]&&(this.scheme=t[2]),t[4]){var r=t[4].match(n.userinfoPattern);if(r&&(this.username=r[1],this.password=r[3],t[4]=t[4].substring(r[0].length)),t[4].match(n.portPattern)){var i=t[4].lastIndexOf(`:`);this.host=t[4].substring(0,i),this.port=t[4].substring(i+1)}else this.host=t[4]}t[5]&&(this.path=t[5]),t[6]&&(this.query=t[7]),t[8]&&(this.fragment=t[9])}}n.pattern=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,n.userinfoPattern=/^([^@:]*)(:([^@]*))?@/,n.portPattern=/:\d+$/,n.authorityPattern=/^[^:\/?#]+:\/\//,n.hierarchyPattern=/^[^:\/?#]+:\//,n.percentEncode=function(e){var t=e.charCodeAt(0);if(t<256)return`%`+t.toString(16);throw Error(`can't percent-encode codepoints > 255 yet`)},n.prototype={constructor:n,isAbsolute:function(){return!!this.scheme},isAuthorityBased:function(){return n.authorityPattern.test(this.url)},isHierarchical:function(){return n.hierarchyPattern.test(this.url)},toString:function(){var e=``;return this.scheme!==void 0&&(e+=this.scheme+`:`),this.isAbsolute()&&(e+=`//`,(this.username||this.password)&&(e+=this.username||``,this.password&&(e+=`:`+this.password),e+=`@`),this.host&&(e+=this.host)),this.port!==void 0&&(e+=`:`+this.port),this.path!==void 0&&(e+=this.path),this.query!==void 0&&(e+=`?`+this.query),this.fragment!==void 0&&(e+=`#`+this.fragment),e},resolve:function(e){var t=this,r=new n(e),i=new n;return r.scheme===void 0?(i.scheme=t.scheme,r.host===void 0?(i.username=t.username,i.password=t.password,i.host=t.host,i.port=t.port,r.path?(r.path.charAt(0)===`/`?i.path=o(r.path):(i.path=a(t.path,r.path),i.path=o(i.path)),i.query=r.query):(i.path=t.path,r.query===void 0?i.query=t.query:i.query=r.query)):(i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query)):(i.scheme=r.scheme,i.username=r.username,i.password=r.password,i.host=r.host,i.port=r.port,i.path=o(r.path),i.query=r.query),i.fragment=r.fragment,i.toString();function a(e,n){if(t.host!==void 0&&!t.path)return`/`+n;var r=e.lastIndexOf(`/`);return r===-1?n:e.substring(0,r+1)+n}function o(e){if(!e)return e;for(var t=``;e.length>0;){if(e===`.`||e===`..`){e=``;break}var n=e.substring(0,2),r=e.substring(0,3),i=e.substring(0,4);if(r===`../`)e=e.substring(3);else if(n===`./`)e=e.substring(2);else if(r===`/./`)e=`/`+e.substring(3);else if(n===`/.`&&e.length===2)e=`/`;else if(i===`/../`||r===`/..`&&e.length===3)e=`/`+e.substring(4),t=t.replace(/\/?[^\/]*$/,``);else{var a=e.match(/(\/?([^\/]*))/)[0];t+=a,e=e.substring(a.length)}}return t}}}})),j=t(((e,t)=>{t.exports=r;var n=a();function r(e,t){n.call(this,e,t)}r.prototype=Object.create(n.prototype,{constructor:{value:r}})})),ce=t(((e,t)=>{t.exports={Event:a(),UIEvent:o(),MouseEvent:s(),CustomEvent:j()}})),M=t((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.hyphenate=e.parse=void 0;function t(e){let t=[],r=0,i=0,a=0,o=0,s=0,c=null;for(;r<e.length;)switch(e.charCodeAt(r++)){case 40:i++;break;case 41:i--;break;case 39:a===0?a=39:a===39&&e.charCodeAt(r-1)!==92&&(a=0);break;case 34:a===0?a=34:a===34&&e.charCodeAt(r-1)!==92&&(a=0);break;case 58:!c&&i===0&&a===0&&(c=n(e.substring(s,r-1).trim()),o=r);break;case 59:if(c&&o>0&&i===0&&a===0){let n=e.substring(o,r-1).trim();t.push(c,n),s=r,o=0,c=null}break}if(c&&o){let n=e.slice(o).trim();t.push(c,n)}return t}e.parse=t;function n(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+`-`+e.charAt(1)).toLowerCase()}e.hyphenate=n})),le=t(((e,t)=>{let{parse:n}=M();t.exports=function(e){let t=new i(e);return new Proxy(t,{get:function(e,t){return t in e?e[t]:e.getPropertyValue(r(t))},has:function(e,t){return!0},set:function(e,t,n){return t in e?e[t]=n:e.setProperty(r(t),n??void 0),!0}})};function r(e){return e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase()}function i(e){this._element=e}function a(e){let t={property:{},priority:{}};if(!e)return t;let r=n(e);if(r.length<2)return t;for(let e=0;e<r.length;e+=2){let n=r[e],i=r[e+1];i.endsWith(`!important`)&&(t.priority[n]=`important`,i=i.slice(0,-10).trim()),t.property[n]=i}return t}var o={};i.prototype=Object.create(Object.prototype,{_parsed:{get:function(){if(!this._parsedStyles||this.cssText!==this._lastParsedText){var e=this.cssText;this._parsedStyles=a(e),this._lastParsedText=e,delete this._names}return this._parsedStyles}},_serialize:{value:function(){var e=this._parsed,t=``;for(var n in e.property)t&&(t+=` `),t+=n+`: `+e.property[n],e.priority[n]&&(t+=` !`+e.priority[n]),t+=`;`;this.cssText=t,this._lastParsedText=t,delete this._names}},cssText:{get:function(){return this._element.getAttribute(`style`)},set:function(e){this._element.setAttribute(`style`,e)}},length:{get:function(){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names.length}},item:{value:function(e){return this._names||=Object.getOwnPropertyNames(this._parsed.property),this._names[e]}},getPropertyValue:{value:function(e){return e=e.toLowerCase(),this._parsed.property[e]||``}},getPropertyPriority:{value:function(e){return e=e.toLowerCase(),this._parsed.priority[e]||``}},setProperty:{value:function(e,t,n){if(e=e.toLowerCase(),t??=``,n??=``,t!==o&&(t=``+t),t=t.trim(),t===``){this.removeProperty(e);return}if(!(n!==``&&n!==o&&!/^important$/i.test(n))){var r=this._parsed;if(t===o){if(!r.property[e])return;n===``?delete r.priority[e]:r.priority[e]=`important`}else{if(t.indexOf(`;`)!==-1)return;var i=a(e+`:`+t);if(Object.getOwnPropertyNames(i.property).length===0||Object.getOwnPropertyNames(i.priority).length!==0)return;for(var s in i.property)r.property[s]=i.property[s],n!==o&&(n===``?r.priority[s]&&delete r.priority[s]:r.priority[s]=`important`)}this._serialize()}}},setPropertyValue:{value:function(e,t){return this.setProperty(e,t,o)}},setPropertyPriority:{value:function(e,t){return this.setProperty(e,o,t)}},removeProperty:{value:function(e){e=e.toLowerCase();var t=this._parsed;e in t.property&&(delete t.property[e],delete t.priority[e],this._serialize())}}})})),ue=t(((e,t)=>{var n=se();t.exports=r;function r(){}r.prototype=Object.create(Object.prototype,{_url:{get:function(){return new n(this.href)}},protocol:{get:function(){var e=this._url;return e&&e.scheme?e.scheme+`:`:`:`},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/:+$/,``),e=e.replace(/[^-+\.a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.scheme=e,t=r.toString())),this.href=t}},host:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host+(e.port?`:`+e.port:``):``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,delete r.port,t=r.toString())),this.href=t}},hostname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()?e.host:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=e.replace(/^\/+/,``),e=e.replace(/[^-+\._~!$&'()*,;:=a-zA-Z0-9]/g,n.percentEncode),e.length>0&&(r.host=e,t=r.toString())),this.href=t}},port:{get:function(){var e=this._url;return e.isAbsolute()&&e.isAuthorityBased()&&e.port!==void 0?e.port:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isAuthorityBased()&&(e=``+e,e=e.replace(/[^0-9].*$/,``),e=e.replace(/^0+/,``),e.length===0&&(e=`0`),parseInt(e,10)<=65535&&(r.port=e,t=r.toString())),this.href=t}},pathname:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()?e.path:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)!==`/`&&(e=`/`+e),e=e.replace(/[^-+\._~!$&'()*,;:=@\/a-zA-Z0-9]/g,n.percentEncode),r.path=e,t=r.toString()),this.href=t}},search:{get:function(){var e=this._url;return e.isAbsolute()&&e.isHierarchical()&&e.query!==void 0?`?`+e.query:``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&r.isHierarchical()&&(e.charAt(0)===`?`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.query=e,t=r.toString()),this.href=t}},hash:{get:function(){var e=this._url;return e==null||e.fragment==null||e.fragment===``?``:`#`+e.fragment},set:function(e){var t=this.href,r=new n(t);e.charAt(0)===`#`&&(e=e.substring(1)),e=e.replace(/[^-+\._~!$&'()*,;:=@\/?a-zA-Z0-9]/g,n.percentEncode),r.fragment=e,t=r.toString(),this.href=t}},username:{get:function(){return this._url.username||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\:]/g,n.percentEncode),r.username=e,t=r.toString()),this.href=t}},password:{get:function(){return this._url.password||``},set:function(e){var t=this.href,r=new n(t);r.isAbsolute()&&(e===``?r.password=null:(e=e.replace(/[\x00-\x1F\x7F-\uFFFF "#<>?`\/@\\]/g,n.percentEncode),r.password=e),t=r.toString()),this.href=t}},origin:{get:function(){var e=this._url;if(e==null)return``;var t=function(t){var n=[e.scheme,e.host,+e.port||t];return n[0]+`://`+n[1]+(n[2]===t?``:`:`+n[2])};switch(e.scheme){case`ftp`:return t(21);case`gopher`:return t(70);case`http`:case`ws`:return t(80);case`https`:case`wss`:return t(443);default:return e.scheme+`://`}}}}),r._inherit=function(e){Object.getOwnPropertyNames(r.prototype).forEach(function(t){if(!(t===`constructor`||t===`href`)){var n=Object.getOwnPropertyDescriptor(r.prototype,t);Object.defineProperty(e,t,n)}})}})),de=t(((e,t)=>{var n=b(),r=l().isApiWritable;t.exports=function(e,t,i,a){var s=e.ctor;if(s){var c=e.props||{};if(e.attributes)for(var l in e.attributes){var u=e.attributes[l];(typeof u!=`object`||Array.isArray(u))&&(u={type:u}),u.name||=l.toLowerCase(),c[l]=n.property(u)}c.constructor={value:s,writable:r},s.prototype=Object.create((e.superclass||t).prototype,c),e.events&&o(s,e.events),i[e.name]=s}else s=t;return(e.tags||e.tag&&[e.tag]||[]).forEach(function(e){a[e]=s}),s};function i(e,t,n,r){this.body=e,this.document=t,this.form=n,this.element=r}i.prototype.build=function(){return()=>{}};function a(e,t,n,r){e[t]=new i(r,e.ownerDocument||Object.create(null),e.form||Object.create(null),e).build()}function o(e,t){var r=e.prototype;t.forEach(function(t){Object.defineProperty(r,`on`+t,{get:function(){return this._getEventHandler(t)},set:function(e){this._setEventHandler(t,e)}}),n.registerChangeHandler(e,`on`+t,a)})}})),N=t((e=>{var t=m(),n=E(),r=le(),i=u(),a=ue(),o=de(),s=e.elements={},c=Object.create(null);e.createElement=function(e,t,n){return new(c[t]||v)(e,t,n)};function l(e){return o(e,_,s,c)}function d(e){return{get:function(){var t=this._getattr(e);if(t===null)return``;var n=this.doc._resolve(t);return n===null?t:n},set:function(t){this._setattr(e,t)}}}function f(e){return{get:function(){var t=this._getattr(e);return t===null?null:t.toLowerCase()===`use-credentials`?`use-credentials`:`anonymous`},set:function(t){t==null?this.removeAttribute(e):this._setattr(e,t)}}}let p={type:[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],missing:``};var h={A:!0,LINK:!0,BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0,COMMAND:!0},g=function(e,t,n){_.call(this,e,t,n),this._form=null},_=e.HTMLElement=l({superclass:n,name:`HTMLElement`,ctor:function(e,t,r){n.call(this,e,t,i.NAMESPACE.HTML,r)},props:{dangerouslySetInnerHTML:{set:function(e){this._innerHTML=e}},innerHTML:{get:function(){return this.serialize()},set:function(e){var t=this.ownerDocument.implementation.mozHTMLParser(this.ownerDocument._address,this);t.parse(e===null?``:String(e),!0);for(var n=this instanceof c.template?this.content:this;n.hasChildNodes();)n.removeChild(n.firstChild);n.appendChild(t._asDocumentFragment())}},style:{get:function(){return this._style||=new r(this),this._style},set:function(e){e??=``,this._setattr(`style`,String(e))}},blur:{value:function(){}},focus:{value:function(){}},forceSpellCheck:{value:function(){}},click:{value:function(){if(!this._click_in_progress){this._click_in_progress=!0;try{this._pre_click_activation_steps&&this._pre_click_activation_steps();var e=this.ownerDocument.createEvent(`MouseEvent`);e.initMouseEvent(`click`,!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),this.dispatchEvent(e)?this._post_click_activation_steps&&this._post_click_activation_steps(e):this._cancelled_activation_steps&&this._cancelled_activation_steps()}finally{this._click_in_progress=!1}}}},submit:{value:i.nyi}},attributes:{title:String,lang:String,dir:{type:[`ltr`,`rtl`,`auto`],missing:``},draggable:{type:[`true`,`false`],treatNullAsEmptyString:!0},spellcheck:{type:[`true`,`false`],missing:``},enterKeyHint:{type:[`enter`,`done`,`go`,`next`,`previous`,`search`,`send`],missing:``},autoCapitalize:{type:[`off`,`on`,`none`,`sentences`,`words`,`characters`],missing:``},autoFocus:Boolean,accessKey:String,nonce:String,hidden:Boolean,translate:{type:[`no`,`yes`],missing:``},tabIndex:{type:`long`,default:function(){return this.tagName in h||this.contentEditable?0:-1}}},events:`abort.canplay.canplaythrough.change.click.contextmenu.cuechange.dblclick.drag.dragend.dragenter.dragleave.dragover.dragstart.drop.durationchange.emptied.ended.input.invalid.keydown.keypress.keyup.loadeddata.loadedmetadata.loadstart.mousedown.mousemove.mouseout.mouseover.mouseup.mousewheel.pause.play.playing.progress.ratechange.readystatechange.reset.seeked.seeking.select.show.stalled.submit.suspend.timeupdate.volumechange.waiting.blur.error.focus.load.scroll`.split(`.`)}),v=l({name:`HTMLUnknownElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),y={form:{get:function(){return this._form}}};l({tag:`a`,name:`HTMLAnchorElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{_post_click_activation_steps:{value:function(e){this.href&&(this.ownerDocument.defaultView.location=this.href)}}},attributes:{href:d,ping:String,download:String,target:String,rel:String,media:String,hreflang:String,type:String,referrerPolicy:p,coords:String,charset:String,name:String,rev:String,shape:String}}),a._inherit(c.a.prototype),l({tag:`area`,name:`HTMLAreaElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{alt:String,target:String,download:String,rel:String,media:String,href:d,hreflang:String,type:String,shape:String,coords:String,ping:String,referrerPolicy:p,noHref:Boolean}}),a._inherit(c.area.prototype),l({tag:`br`,name:`HTMLBRElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{clear:String}}),l({tag:`base`,name:`HTMLBaseElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{target:String}}),l({tag:`body`,name:`HTMLBodyElement`,ctor:function(e,t,n){_.call(this,e,t,n)},events:[`afterprint`,`beforeprint`,`beforeunload`,`blur`,`error`,`focus`,`hashchange`,`load`,`message`,`offline`,`online`,`pagehide`,`pageshow`,`popstate`,`resize`,`scroll`,`storage`,`unload`],attributes:{text:{type:String,treatNullAsEmptyString:!0},link:{type:String,treatNullAsEmptyString:!0},vLink:{type:String,treatNullAsEmptyString:!0},aLink:{type:String,treatNullAsEmptyString:!0},bgColor:{type:String,treatNullAsEmptyString:!0},background:String}}),l({tag:`button`,name:`HTMLButtonElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{name:String,value:String,disabled:Boolean,autofocus:Boolean,type:{type:[`submit`,`reset`,`button`,`menu`],missing:`submit`},formTarget:String,formAction:d,formNoValidate:Boolean,formMethod:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``}}}),l({tag:`dl`,name:`HTMLDListElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tag:`data`,name:`HTMLDataElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{value:String}}),l({tag:`datalist`,name:`HTMLDataListElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),l({tag:`details`,name:`HTMLDetailsElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{open:Boolean}}),l({tag:`div`,name:`HTMLDivElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String}}),l({tag:`embed`,name:`HTMLEmbedElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{src:d,type:String,width:String,height:String,align:String,name:String}}),l({tag:`fieldset`,name:`HTMLFieldSetElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{disabled:Boolean,name:String}}),l({tag:`form`,name:`HTMLFormElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{action:String,autocomplete:{type:[`on`,`off`],missing:`on`},name:String,acceptCharset:{name:`accept-charset`},target:String,noValidate:Boolean,method:{type:[`get`,`post`,`dialog`],invalid:`get`,missing:`get`},enctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`},encoding:{name:`enctype`,type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:`application/x-www-form-urlencoded`}}}),l({tag:`hr`,name:`HTMLHRElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String,color:String,noShade:Boolean,size:String,width:String}}),l({tag:`head`,name:`HTMLHeadElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),l({tags:[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`],name:`HTMLHeadingElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String}}),l({tag:`html`,name:`HTMLHtmlElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{xmlns:d,version:String}}),l({tag:`iframe`,name:`HTMLIFrameElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{src:d,srcdoc:String,name:String,width:String,height:String,seamless:Boolean,allow:Boolean,allowFullscreen:Boolean,allowUserMedia:Boolean,allowPaymentRequest:Boolean,referrerPolicy:p,loading:{type:[`eager`,`lazy`],treatNullAsEmptyString:!0},align:String,scrolling:String,frameBorder:String,longDesc:d,marginHeight:{type:String,treatNullAsEmptyString:!0},marginWidth:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`img`,name:`HTMLImageElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{alt:String,src:d,srcset:String,crossOrigin:f,useMap:String,isMap:Boolean,sizes:String,height:{type:`unsigned long`,default:0},width:{type:`unsigned long`,default:0},referrerPolicy:p,loading:{type:[`eager`,`lazy`],missing:``},name:String,lowsrc:d,align:String,hspace:{type:`unsigned long`,default:0},vspace:{type:`unsigned long`,default:0},longDesc:d,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`input`,name:`HTMLInputElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:{form:y.form,_post_click_activation_steps:{value:function(e){if(this.type===`checkbox`)this.checked=!this.checked;else if(this.type===`radio`)for(var t=this.form.getElementsByName(this.name),n=t.length-1;n>=0;n--){var r=t[n];r.checked=r===this}}}},attributes:{name:String,disabled:Boolean,autofocus:Boolean,accept:String,alt:String,max:String,min:String,pattern:String,placeholder:String,step:String,dirName:String,defaultValue:{name:`value`},multiple:Boolean,required:Boolean,readOnly:Boolean,checked:Boolean,value:String,src:d,defaultChecked:{name:`checked`,type:Boolean},size:{type:`unsigned long`,default:20,min:1,setmin:1},width:{type:`unsigned long`,min:0,setmin:0,default:0},height:{type:`unsigned long`,min:0,setmin:0,default:0},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},autocomplete:String,type:{type:[`text`,`hidden`,`search`,`tel`,`url`,`email`,`password`,`datetime`,`date`,`month`,`week`,`time`,`datetime-local`,`number`,`range`,`color`,`checkbox`,`radio`,`file`,`submit`,`image`,`reset`,`button`],missing:`text`},formTarget:String,formNoValidate:Boolean,formMethod:{type:[`get`,`post`],invalid:`get`,missing:``},formEnctype:{type:[`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`],invalid:`application/x-www-form-urlencoded`,missing:``},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``},align:String,useMap:String}}),l({tag:`keygen`,name:`HTMLKeygenElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{name:String,disabled:Boolean,autofocus:Boolean,challenge:String,keytype:{type:[`rsa`],missing:``}}}),l({tag:`li`,name:`HTMLLIElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{value:{type:`long`,default:0},type:String}}),l({tag:`label`,name:`HTMLLabelElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{htmlFor:{name:`for`,type:String}}}),l({tag:`legend`,name:`HTMLLegendElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String}}),l({tag:`link`,name:`HTMLLinkElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{href:d,rel:String,media:String,hreflang:String,type:String,crossOrigin:f,nonce:String,integrity:String,referrerPolicy:p,imageSizes:String,imageSrcset:String,charset:String,rev:String,target:String}}),l({tag:`map`,name:`HTMLMapElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{name:String}}),l({tag:`menu`,name:`HTMLMenuElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{type:{type:[`context`,`popup`,`toolbar`],missing:`toolbar`},label:String,compact:Boolean}}),l({tag:`meta`,name:`HTMLMetaElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{name:String,content:String,httpEquiv:{name:`http-equiv`,type:String},scheme:String}}),l({tag:`meter`,name:`HTMLMeterElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y}),l({tags:[`ins`,`del`],name:`HTMLModElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{cite:d,dateTime:String}}),l({tag:`ol`,name:`HTMLOListElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{_numitems:{get:function(){var e=0;return this.childNodes.forEach(function(n){n.nodeType===t.ELEMENT_NODE&&n.tagName===`LI`&&e++}),e}}},attributes:{type:String,reversed:Boolean,start:{type:`long`,default:function(){return this.reversed?this._numitems:1}},compact:Boolean}}),l({tag:`object`,name:`HTMLObjectElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{data:d,type:String,name:String,useMap:String,typeMustMatch:Boolean,width:String,height:String,align:String,archive:String,code:String,declare:Boolean,hspace:{type:`unsigned long`,default:0},standby:String,vspace:{type:`unsigned long`,default:0},codeBase:d,codeType:String,border:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`optgroup`,name:`HTMLOptGroupElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{disabled:Boolean,label:String}}),l({tag:`option`,name:`HTMLOptionElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{form:{get:function(){for(var e=this.parentNode;e&&e.nodeType===t.ELEMENT_NODE;){if(e.localName===`select`)return e.form;e=e.parentNode}}},value:{get:function(){return this._getattr(`value`)||this.text},set:function(e){this._setattr(`value`,e)}},text:{get:function(){return this.textContent.replace(/[ \t\n\f\r]+/g,` `).trim()},set:function(e){this.textContent=e}}},attributes:{disabled:Boolean,defaultSelected:{name:`selected`,type:Boolean},label:String}}),l({tag:`output`,name:`HTMLOutputElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{name:String}}),l({tag:`p`,name:`HTMLParagraphElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String}}),l({tag:`param`,name:`HTMLParamElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{name:String,value:String,type:String,valueType:String}}),l({tags:[`pre`,`listing`,`xmp`],name:`HTMLPreElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{width:{type:`long`,default:0}}}),l({tag:`progress`,name:`HTMLProgressElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:y,attributes:{max:{type:Number,float:!0,default:1,min:0}}}),l({tags:[`q`,`blockquote`],name:`HTMLQuoteElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{cite:d}}),l({tag:`script`,name:`HTMLScriptElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{text:{get:function(){for(var e=``,n=0,r=this.childNodes.length;n<r;n++){var i=this.childNodes[n];i.nodeType===t.TEXT_NODE&&(e+=i._data)}return e},set:function(e){this.removeChildren(),e!==null&&e!==``&&this.appendChild(this.ownerDocument.createTextNode(e))}}},attributes:{src:d,type:String,charset:String,referrerPolicy:p,defer:Boolean,async:Boolean,nomodule:Boolean,crossOrigin:f,nonce:String,integrity:String}}),l({tag:`select`,name:`HTMLSelectElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:{form:y.form,options:{get:function(){return this.getElementsByTagName(`option`)}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,multiple:Boolean,required:Boolean,size:{type:`unsigned long`,default:0}}}),l({tag:`span`,name:`HTMLSpanElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),l({tag:`style`,name:`HTMLStyleElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{media:String,type:String,scoped:Boolean}}),l({tag:`caption`,name:`HTMLTableCaptionElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{align:String}}),l({name:`HTMLTableCellElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{colSpan:{type:`unsigned long`,default:1},rowSpan:{type:`unsigned long`,default:1},scope:{type:[`row`,`col`,`rowgroup`,`colgroup`],missing:``},abbr:String,align:String,axis:String,height:String,width:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},noWrap:Boolean,vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`col`,`colgroup`],name:`HTMLTableColElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{span:{type:`limited unsigned long with fallback`,default:1,min:1},align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,width:String}}),l({tag:`table`,name:`HTMLTableElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,border:String,frame:String,rules:String,summary:String,width:String,bgColor:{type:String,treatNullAsEmptyString:!0},cellPadding:{type:String,treatNullAsEmptyString:!0},cellSpacing:{type:String,treatNullAsEmptyString:!0}}}),l({tag:`template`,name:`HTMLTemplateElement`,ctor:function(e,t,n){_.call(this,e,t,n),this._contentFragment=e._templateDoc.createDocumentFragment()},props:{content:{get:function(){return this._contentFragment}},serialize:{value:function(){return this.content.serialize()}}}}),l({tag:`tr`,name:`HTMLTableRowElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{cells:{get:function(){return this.querySelectorAll(`td,th`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String,bgColor:{type:String,treatNullAsEmptyString:!0}}}),l({tags:[`thead`,`tfoot`,`tbody`],name:`HTMLTableSectionElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{rows:{get:function(){return this.getElementsByTagName(`tr`)}}},attributes:{align:String,ch:{name:`char`,type:String},chOff:{name:`charoff`,type:String},vAlign:String}}),l({tag:`textarea`,name:`HTMLTextAreaElement`,ctor:function(e,t,n){g.call(this,e,t,n)},props:{form:y.form,type:{get:function(){return`textarea`}},defaultValue:{get:function(){return this.textContent},set:function(e){this.textContent=e}},value:{get:function(){return this.defaultValue},set:function(e){this.defaultValue=e}},textLength:{get:function(){return this.value.length}}},attributes:{autocomplete:String,name:String,disabled:Boolean,autofocus:Boolean,placeholder:String,wrap:String,dirName:String,required:Boolean,readOnly:Boolean,rows:{type:`limited unsigned long with fallback`,default:2},cols:{type:`limited unsigned long with fallback`,default:20},maxLength:{type:`unsigned long`,min:0,setmin:0,default:-1},minLength:{type:`unsigned long`,min:0,setmin:0,default:-1},inputMode:{type:[`verbatim`,`latin`,`latin-name`,`latin-prose`,`full-width-latin`,`kana`,`kana-name`,`katakana`,`numeric`,`tel`,`email`,`url`],missing:``}}}),l({tag:`time`,name:`HTMLTimeElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{dateTime:String,pubDate:Boolean}}),l({tag:`title`,name:`HTMLTitleElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{text:{get:function(){return this.textContent}}}}),l({tag:`ul`,name:`HTMLUListElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{type:String,compact:Boolean}}),l({name:`HTMLMediaElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{src:d,crossOrigin:f,preload:{type:[`metadata`,`none`,`auto`,{value:``,alias:`auto`}],missing:`auto`},loop:Boolean,autoplay:Boolean,mediaGroup:String,controls:Boolean,defaultMuted:{name:`muted`,type:Boolean}}}),l({name:`HTMLAudioElement`,tag:`audio`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)}}),l({name:`HTMLVideoElement`,tag:`video`,superclass:s.HTMLMediaElement,ctor:function(e,t,n){s.HTMLMediaElement.call(this,e,t,n)},attributes:{poster:d,width:{type:`unsigned long`,min:0,default:0},height:{type:`unsigned long`,min:0,default:0}}}),l({tag:`td`,name:`HTMLTableDataCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`th`,name:`HTMLTableHeaderCellElement`,superclass:s.HTMLTableCellElement,ctor:function(e,t,n){s.HTMLTableCellElement.call(this,e,t,n)}}),l({tag:`frameset`,name:`HTMLFrameSetElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),l({tag:`frame`,name:`HTMLFrameElement`,ctor:function(e,t,n){_.call(this,e,t,n)}}),l({tag:`canvas`,name:`HTMLCanvasElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{getContext:{value:i.nyi},probablySupportsContext:{value:i.nyi},setContext:{value:i.nyi},transferControlToProxy:{value:i.nyi},toDataURL:{value:i.nyi},toBlob:{value:i.nyi}},attributes:{width:{type:`unsigned long`,default:300},height:{type:`unsigned long`,default:150}}}),l({tag:`dialog`,name:`HTMLDialogElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{show:{value:i.nyi},showModal:{value:i.nyi},close:{value:i.nyi}},attributes:{open:Boolean,returnValue:String}}),l({tag:`menuitem`,name:`HTMLMenuItemElement`,ctor:function(e,t,n){_.call(this,e,t,n)},props:{_label:{get:function(){var e=this._getattr(`label`);return e!==null&&e!==``?e:(e=this.textContent,e.replace(/[ \t\n\f\r]+/g,` `).trim())}},label:{get:function(){var e=this._getattr(`label`);return e===null?this._label:e},set:function(e){this._setattr(`label`,e)}}},attributes:{type:{type:[`command`,`checkbox`,`radio`],missing:`command`},icon:d,disabled:Boolean,checked:Boolean,radiogroup:String,default:Boolean}}),l({tag:`source`,name:`HTMLSourceElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{srcset:String,sizes:String,media:String,src:d,type:String,width:String,height:String}}),l({tag:`track`,name:`HTMLTrackElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{src:d,srclang:String,label:String,default:Boolean,kind:{type:[`subtitles`,`captions`,`descriptions`,`chapters`,`metadata`],missing:`subtitles`,invalid:`metadata`}},props:{NONE:{get:function(){return 0}},LOADING:{get:function(){return 1}},LOADED:{get:function(){return 2}},ERROR:{get:function(){return 3}},readyState:{get:i.nyi},track:{get:i.nyi}}}),l({tag:`font`,name:`HTMLFontElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{color:{type:String,treatNullAsEmptyString:!0},face:{type:String},size:{type:String}}}),l({tag:`dir`,name:`HTMLDirectoryElement`,ctor:function(e,t,n){_.call(this,e,t,n)},attributes:{compact:Boolean}}),l({tags:`abbr.address.article.aside.b.bdi.bdo.cite.content.code.dd.dfn.dt.em.figcaption.figure.footer.header.hgroup.i.kbd.main.mark.nav.noscript.rb.rp.rt.rtc.ruby.s.samp.section.small.strong.sub.summary.sup.u.var.wbr.acronym.basefont.big.center.nobr.noembed.noframes.plaintext.strike.tt`.split(`.`)})})),fe=t((e=>{var t=E(),n=de(),r=u(),i=le(),a=e.elements={},o=Object.create(null);e.createElement=function(e,t,n){return new(o[t]||c)(e,t,n)};function s(e){return n(e,c,a,o)}var c=s({superclass:t,name:`SVGElement`,ctor:function(e,n,i){t.call(this,e,n,r.NAMESPACE.SVG,i)},props:{style:{get:function(){return this._style||=new i(this),this._style}}}});s({name:`SVGSVGElement`,ctor:function(e,t,n){c.call(this,e,t,n)},tag:`svg`,props:{createSVGRect:{value:function(){return e.createElement(this.ownerDocument,`rect`,null)}}}}),s({tags:`a.altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.switch.symbol.text.textPath.title.tref.tspan.use.view.vkern`.split(`.`)})})),pe=t(((e,t)=>{t.exports={VALUE:1,ATTR:2,REMOVE_ATTR:3,REMOVE:4,MOVE:5,INSERT:6}})),me=t(((e,t)=>{t.exports=ue;var n=m(),r=_(),i=v(),o=E(),s=ne(),c=re(),d=a(),f=O(),p=ie(),h=ge(),g=ae(),b=oe(),x=k(),S=se(),C=ee(),w=ce(),T=y(),D=N(),te=fe(),A=u(),j=pe(),M=A.NAMESPACE,le=l().isApiWritable;function ue(e,t){i.call(this),this.nodeType=n.DOCUMENT_NODE,this.isHTML=e,this._address=t||`about:blank`,this.readyState=`loading`,this.implementation=new h(this),this.ownerDocument=null,this._contentType=e?`text/html`:`application/xml`,this.doctype=null,this.documentElement=null,this._templateDocCache=null,this._nodeIterators=null,this._nid=1,this._nextnid=2,this._nodes=[null,this],this.byId=Object.create(null),this.modclock=0}var de={event:`Event`,customevent:`CustomEvent`,uievent:`UIEvent`,mouseevent:`MouseEvent`},me={events:`event`,htmlevents:`event`,mouseevents:`mouseevent`,mutationevents:`mutationevent`,uievents:`uievent`},P=function(e,t,n){return{get:function(){var r=e.call(this);return r?r[t]:n},set:function(n){var r=e.call(this);r&&(r[t]=n)}}};function he(e,t){var n,r,i;return e===``&&(e=null),T.isValidQName(t)||A.InvalidCharacterError(),n=null,r=t,i=t.indexOf(`:`),i>=0&&(n=t.substring(0,i),r=t.substring(i+1)),n!==null&&e===null&&A.NamespaceError(),n===`xml`&&e!==M.XML&&A.NamespaceError(),(n===`xmlns`||t===`xmlns`)&&e!==M.XMLNS&&A.NamespaceError(),e===M.XMLNS&&!(n===`xmlns`||t===`xmlns`)&&A.NamespaceError(),{namespace:e,prefix:n,localName:r}}ue.prototype=Object.create(i.prototype,{_setMutationHandler:{value:function(e){this.mutationHandler=e}},_dispatchRendererEvent:{value:function(e,t,n){var r=this._nodes[e];r&&r._dispatchEvent(new d(t,n),!0)}},nodeName:{value:`#document`},nodeValue:{get:function(){return null},set:function(){}},documentURI:{get:function(){return this._address},set:A.nyi},compatMode:{get:function(){return this._quirks?`BackCompat`:`CSS1Compat`}},createTextNode:{value:function(e){return new s(this,String(e))}},createComment:{value:function(e){return new c(this,e)}},createDocumentFragment:{value:function(){return new f(this)}},createProcessingInstruction:{value:function(e,t){return(!T.isValidName(e)||t.indexOf(`?>`)!==-1)&&A.InvalidCharacterError(),new p(this,e,t)}},createAttribute:{value:function(e){return e=String(e),T.isValidName(e)||A.InvalidCharacterError(),this.isHTML&&(e=A.toASCIILowerCase(e)),new o._Attr(null,e,null,null,``)}},createAttributeNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=he(e,t);return new o._Attr(null,n.localName,n.prefix,n.namespace,``)}},createElement:{value:function(e){return e=String(e),T.isValidName(e)||A.InvalidCharacterError(),this.isHTML?(/[A-Z]/.test(e)&&(e=A.toASCIILowerCase(e)),D.createElement(this,e,null)):this.contentType===`application/xhtml+xml`?D.createElement(this,e,null):new o(this,e,null,null)},writable:le},createElementNS:{value:function(e,t){e=e==null||e===``?null:String(e),t=String(t);var n=he(e,t);return this._createElementNS(n.localName,n.namespace,n.prefix)},writable:le},_createElementNS:{value:function(e,t,n){return t===M.HTML?D.createElement(this,e,n):t===M.SVG?te.createElement(this,e,n):new o(this,e,t,n)}},createEvent:{value:function(e){e=e.toLowerCase();var t=w[de[me[e]||e]];if(t){var n=new t;return n._initialized=!1,n}else A.NotSupportedError()}},createTreeWalker:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?x.SHOW_ALL:+t,r=r===void 0?null:r,new g(e,t,r)}},createNodeIterator:{value:function(e,t,r){if(!e)throw TypeError(`root argument is required`);if(!(e instanceof n))throw TypeError(`root not a node`);return t=t===void 0?x.SHOW_ALL:+t,r=r===void 0?null:r,new b(e,t,r)}},_attachNodeIterator:{value:function(e){this._nodeIterators||=[],this._nodeIterators.push(e)}},_detachNodeIterator:{value:function(e){var t=this._nodeIterators.indexOf(e);this._nodeIterators.splice(t,1)}},_preremoveNodeIterators:{value:function(e){this._nodeIterators&&this._nodeIterators.forEach(function(t){t._preremove(e)})}},_updateDocTypeElement:{value:function(){this.doctype=this.documentElement=null;for(var e=this.firstChild;e!==null;e=e.nextSibling)e.nodeType===n.DOCUMENT_TYPE_NODE?this.doctype=e:e.nodeType===n.ELEMENT_NODE&&(this.documentElement=e)}},insertBefore:{value:function(e,t){return n.prototype.insertBefore.call(this,e,t),this._updateDocTypeElement(),e}},replaceChild:{value:function(e,t){return n.prototype.replaceChild.call(this,e,t),this._updateDocTypeElement(),t}},removeChild:{value:function(e){return n.prototype.removeChild.call(this,e),this._updateDocTypeElement(),e}},getElementById:{value:function(e){var t=this.byId[e];return t?t instanceof Ce?t.getFirst():t:null}},_hasMultipleElementsWithId:{value:function(e){return this.byId[e]instanceof Ce}},getElementsByName:{value:o.prototype.getElementsByName},getElementsByTagName:{value:o.prototype.getElementsByTagName},getElementsByTagNameNS:{value:o.prototype.getElementsByTagNameNS},getElementsByClassName:{value:o.prototype.getElementsByClassName},adoptNode:{value:function(e){return e.nodeType===n.DOCUMENT_NODE&&A.NotSupportedError(),e.nodeType===n.ATTRIBUTE_NODE?e:(e.parentNode&&e.parentNode.removeChild(e),e.ownerDocument!==this&&Se(e,this),e)}},importNode:{value:function(e,t){return this.adoptNode(e.cloneNode(t))},writable:le},origin:{get:function(){return null}},characterSet:{get:function(){return`UTF-8`}},contentType:{get:function(){return this._contentType}},URL:{get:function(){return this._address}},domain:{get:A.nyi,set:A.nyi},referrer:{get:A.nyi},cookie:{get:A.nyi,set:A.nyi},lastModified:{get:A.nyi},location:{get:function(){return this.defaultView?this.defaultView.location:null},set:A.nyi},_titleElement:{get:function(){return this.getElementsByTagName(`title`).item(0)||null}},title:{get:function(){var e=this._titleElement;return(e?e.textContent:``).replace(/[ \t\n\r\f]+/g,` `).replace(/(^ )|( $)/g,``)},set:function(e){var t=this._titleElement,n=this.head;!t&&!n||(t||(t=this.createElement(`title`),n.appendChild(t)),t.textContent=e)}},dir:P(function(){var e=this.documentElement;if(e&&e.tagName===`HTML`)return e},`dir`,``),fgColor:P(function(){return this.body},`text`,``),linkColor:P(function(){return this.body},`link`,``),vlinkColor:P(function(){return this.body},`vLink`,``),alinkColor:P(function(){return this.body},`aLink`,``),bgColor:P(function(){return this.body},`bgColor`,``),charset:{get:function(){return this.characterSet}},inputEncoding:{get:function(){return this.characterSet}},scrollingElement:{get:function(){return this._quirks?this.body:this.documentElement}},body:{get:function(){return _e(this.documentElement,`body`)},set:A.nyi},head:{get:function(){return _e(this.documentElement,`head`)}},images:{get:A.nyi},embeds:{get:A.nyi},plugins:{get:A.nyi},links:{get:A.nyi},forms:{get:A.nyi},scripts:{get:A.nyi},applets:{get:function(){return[]}},activeElement:{get:function(){return null}},innerHTML:{get:function(){return this.serialize()},set:A.nyi},outerHTML:{get:function(){return this.serialize()},set:A.nyi},write:{value:function(e){if(this.isHTML||A.InvalidStateError(),this._parser){this._parser;var t=arguments.join(``);this._parser.parse(t)}}},writeln:{value:function(e){this.write(Array.prototype.join.call(arguments,``)+`
@@ -70,4 +70,4 @@ import{o as e,t}from"./chunk-FK9Q3tQk.mjs";import{n,r,t as i}from"./chunk-74CEPO
70
70
  `,exitCode:1}}if(!u.trim())return{stdout:``,stderr:``,exitCode:0};try{let e=new Ce.default({bulletListMarker:a,codeBlockStyle:`fenced`,fence:o,hr:s,headingStyle:c});return e.remove([`script`,`style`,`footer`]),{stdout:`${e.turndown(u).trim()}
71
71
  `,stderr:``,exitCode:0}}catch(e){return{stdout:``,stderr:`html-to-markdown: conversion error: ${e.message}
72
72
  `,exitCode:1}}}},Ee={name:`html-to-markdown`,flags:[],stdinType:`text`};export{Ee as n,Te as t};
73
- //# sourceMappingURL=chunk-MDLLFABN-oBQf6bGE.mjs.map
73
+ //# sourceMappingURL=chunk-MDLLFABN-Wd1iVjXi.mjs.map
@@ -6,4 +6,4 @@ async function e(e,t){if(e.length>0&&e[0]!==`-`){let n=t.fs.resolvePath(t.cwd,e[
6
6
  `);n[n.length-1]===``&&n.pop();let r=n.reverse();return{stdout:r.length>0?`${r.join(`
7
7
  `)}
8
8
  `:``,stderr:``,exitCode:0}}var t={name:`tac`,execute:e},n={name:`tac`,flags:[],stdinType:`text`,needsFiles:!0};export{t as n,n as t};
9
- //# sourceMappingURL=chunk-MHTUABJP-dKmK6Hw7.mjs.map
9
+ //# sourceMappingURL=chunk-MHTUABJP-BWrqic3t.mjs.map
@@ -1,8 +1,8 @@
1
- import{n as e}from"./chunk-3THT3N7L-klp8GP84.mjs";import{t}from"./chunk-44UOCSGV-BUBpWxXm.mjs";import{t as n}from"./chunk-HWKDQ44K-CPSjqtR_.mjs";var r={recursive:{short:`r`,long:`recursive`,type:`boolean`},recursiveUpper:{short:`R`,type:`boolean`},force:{short:`f`,long:`force`,type:`boolean`},verbose:{short:`v`,long:`verbose`,type:`boolean`}},i={name:`rm`,async execute(i,a){let o=n(`rm`,i,r);if(!o.ok)return o.error;let s=o.result.flags.recursive||o.result.flags.recursiveUpper,c=o.result.flags.force,l=o.result.flags.verbose,u=o.result.positional;if(u.length===0)return c?{stdout:``,stderr:``,exitCode:0}:{stdout:``,stderr:`rm: missing operand
1
+ import{n as e}from"./chunk-3THT3N7L-DztAF386.mjs";import{t}from"./chunk-44UOCSGV-CaFxJDHm.mjs";import{t as n}from"./chunk-HWKDQ44K-wgmyck2O.mjs";var r={recursive:{short:`r`,long:`recursive`,type:`boolean`},recursiveUpper:{short:`R`,type:`boolean`},force:{short:`f`,long:`force`,type:`boolean`},verbose:{short:`v`,long:`verbose`,type:`boolean`}},i={name:`rm`,async execute(i,a){let o=n(`rm`,i,r);if(!o.ok)return o.error;let s=o.result.flags.recursive||o.result.flags.recursiveUpper,c=o.result.flags.force,l=o.result.flags.verbose,u=o.result.positional;if(u.length===0)return c?{stdout:``,stderr:``,exitCode:0}:{stdout:``,stderr:`rm: missing operand
2
2
  `,exitCode:1};let d=``,f=``,p=0;for(let n of u)try{let e=a.fs.resolvePath(a.cwd,n);if((await a.fs.stat(e)).isDirectory&&!s){f+=`rm: cannot remove '${n}': Is a directory
3
3
  `,p=1;continue}await a.fs.rm(e,{recursive:s,force:c}),l&&(d+=`removed '${n}'
4
4
  `)}catch(r){if(!c){let i=t(r);i.includes(`ENOENT`)||i.includes(`no such file`)?f+=`rm: cannot remove '${n}': No such file or directory
5
5
  `:i.includes(`ENOTEMPTY`)||i.includes(`not empty`)?f+=`rm: cannot remove '${n}': Directory not empty
6
6
  `:f+=`rm: cannot remove '${n}': ${e(i)}
7
7
  `,p=1}}return{stdout:d,stderr:f,exitCode:p}}},a={name:`rm`,flags:[{flag:`-r`,type:`boolean`},{flag:`-R`,type:`boolean`},{flag:`-f`,type:`boolean`},{flag:`-v`,type:`boolean`}],needsArgs:!0};export{i as n,a as t};
8
- //# sourceMappingURL=chunk-MIZPJHVH-z-geAni9.mjs.map
8
+ //# sourceMappingURL=chunk-MIZPJHVH-DWdPvcYR.mjs.map
@@ -1,4 +1,4 @@
1
- import{t as e}from"./chunk-IPJHKYVM-BbWncVr2.mjs";var t=new Map([[`File operations`,[`ls`,`cat`,`head`,`tail`,`wc`,`touch`,`mkdir`,`rm`,`cp`,`mv`,`ln`,`chmod`,`stat`,`readlink`]],[`Text processing`,[`grep`,`sed`,`awk`,`sort`,`uniq`,`cut`,`tr`,`tee`,`diff`]],[`Search`,[`find`]],[`Navigation & paths`,[`pwd`,`basename`,`dirname`,`tree`,`du`]],[`Environment & shell`,[`echo`,`printf`,`env`,`printenv`,`export`,`alias`,`unalias`,`history`,`clear`,`true`,`false`,`bash`,`sh`]],[`Data processing`,[`xargs`,`jq`,`base64`,`date`]],[`Network`,[`curl`,`html-to-markdown`]]]);function n(e){let n=[],r=new Set(e);n.push(`Available commands:
1
+ import{t as e}from"./chunk-IPJHKYVM-C3IodQq7.mjs";var t=new Map([[`File operations`,[`ls`,`cat`,`head`,`tail`,`wc`,`touch`,`mkdir`,`rm`,`cp`,`mv`,`ln`,`chmod`,`stat`,`readlink`]],[`Text processing`,[`grep`,`sed`,`awk`,`sort`,`uniq`,`cut`,`tr`,`tee`,`diff`]],[`Search`,[`find`]],[`Navigation & paths`,[`pwd`,`basename`,`dirname`,`tree`,`du`]],[`Environment & shell`,[`echo`,`printf`,`env`,`printenv`,`export`,`alias`,`unalias`,`history`,`clear`,`true`,`false`,`bash`,`sh`]],[`Data processing`,[`xargs`,`jq`,`base64`,`date`]],[`Network`,[`curl`,`html-to-markdown`]]]);function n(e){let n=[],r=new Set(e);n.push(`Available commands:
2
2
  `);let i=[];for(let[e,i]of t){let t=i.filter(e=>r.has(e));if(t.length>0){n.push(` ${e}:`),n.push(` ${t.join(`, `)}
3
3
  `);for(let e of t)r.delete(e)}}for(let e of r)i.push(e);return i.length>0&&(n.push(` Other:`),n.push(` ${i.sort().join(`, `)}
4
4
  `)),n.push(`Use '<command> --help' for details on a specific command.`),`${n.join(`
@@ -13,4 +13,4 @@ Options:
13
13
  If a command name is provided, shows help for that command.
14
14
  Otherwise, lists all available commands.
15
15
  `,stderr:``,exitCode:0};if(t.length>0&&r.exec){let n=t[0];return r.exec(e([n]),{cwd:r.cwd,signal:r.signal,args:[`--help`]})}return{stdout:n(r.getRegisteredCommands?.()??[]),stderr:``,exitCode:0}}},i={name:`help`,flags:[]};export{i as n,r as t};
16
- //# sourceMappingURL=chunk-MLXIYONF-DB-C8Hx8.mjs.map
16
+ //# sourceMappingURL=chunk-MLXIYONF-CiCzoeGt.mjs.map
@@ -1,4 +1,4 @@
1
- import{n as e,r as t,t as n}from"./chunk-74CEPOFO-D1bzz49u.mjs";var r={name:`split`,summary:`split a file into pieces`,usage:`split [OPTION]... [FILE [PREFIX]]`,description:`Output pieces of FILE to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'.`,options:[`-l N Put N lines per output file`,`-b SIZE Put SIZE bytes per output file (K, M, G suffixes)`,`-n CHUNKS Split into CHUNKS equal-sized files`,`-d Use numeric suffixes (00, 01, ...) instead of alphabetic`,`-a LENGTH Use suffixes of length LENGTH (default: 2)`,`--additional-suffix=SUFFIX Append SUFFIX to file names`],examples:[`split -l 100 file.txt # Split into 100-line chunks`,`split -b 1M file.bin # Split into 1MB chunks`,`split -n 5 file.txt # Split into 5 equal parts`,`split -d file.txt part_ # part_00, part_01, ...`,`split -a 3 -d file.txt x # x000, x001, ...`]},i=1e5;function a(e){let t=e.match(/^(\d+)([KMGTPEZY]?)([B]?)$/i);if(!t)return null;let n=Number.parseInt(t[1],10);if(Number.isNaN(n)||n<1)return null;let r=(t[2]||``).toUpperCase(),i=new Map([[``,1],[`K`,1024],[`M`,1024*1024],[`G`,1024*1024*1024],[`T`,1024*1024*1024*1024],[`P`,1024*1024*1024*1024*1024]]).get(r);return i===void 0?null:n*i}function o(e,t,n){if(t)return e.toString().padStart(n,`0`);let r=``,i=e;for(let e=0;e<n;e++)r=`abcdefghijklmnopqrstuvwxyz`[i%26]+r,i=Math.floor(i/26);return r}function s(e,t){let n=e.split(`
1
+ import{n as e,r as t,t as n}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var r={name:`split`,summary:`split a file into pieces`,usage:`split [OPTION]... [FILE [PREFIX]]`,description:`Output pieces of FILE to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'.`,options:[`-l N Put N lines per output file`,`-b SIZE Put SIZE bytes per output file (K, M, G suffixes)`,`-n CHUNKS Split into CHUNKS equal-sized files`,`-d Use numeric suffixes (00, 01, ...) instead of alphabetic`,`-a LENGTH Use suffixes of length LENGTH (default: 2)`,`--additional-suffix=SUFFIX Append SUFFIX to file names`],examples:[`split -l 100 file.txt # Split into 100-line chunks`,`split -b 1M file.bin # Split into 1MB chunks`,`split -n 5 file.txt # Split into 5 equal parts`,`split -d file.txt part_ # part_00, part_01, ...`,`split -a 3 -d file.txt x # x000, x001, ...`]},i=1e5;function a(e){let t=e.match(/^(\d+)([KMGTPEZY]?)([B]?)$/i);if(!t)return null;let n=Number.parseInt(t[1],10);if(Number.isNaN(n)||n<1)return null;let r=(t[2]||``).toUpperCase(),i=new Map([[``,1],[`K`,1024],[`M`,1024*1024],[`G`,1024*1024*1024],[`T`,1024*1024*1024*1024],[`P`,1024*1024*1024*1024*1024]]).get(r);return i===void 0?null:n*i}function o(e,t,n){if(t)return e.toString().padStart(n,`0`);let r=``,i=e;for(let e=0;e<n;e++)r=`abcdefghijklmnopqrstuvwxyz`[i%26]+r,i=Math.floor(i/26);return r}function s(e,t){let n=e.split(`
2
2
  `),r=e.endsWith(`
3
3
  `)&&n[n.length-1]===``;r&&n.pop();let i=[];for(let e=0;e<n.length;e+=t){let a=n.slice(e,e+t),o=e+t>=n.length&&!r?a.join(`
4
4
  `):`${a.join(`
@@ -14,4 +14,4 @@ import{n as e,r as t,t as n}from"./chunk-74CEPOFO-D1bzz49u.mjs";var r={name:`spl
14
14
  `};f.suffixLength=e,m++}else if(t===`-d`||t===`--numeric-suffixes`)f.useNumericSuffix=!0,m++;else if(t.startsWith(`--additional-suffix=`))f.additionalSuffix=t.slice(20),m++;else if(t===`--additional-suffix`&&m+1<u.length)f.additionalSuffix=u[m+1],m+=2;else if(t===`--`){p.push(...u.slice(m+1));break}else{if(t.startsWith(`-`)&&t!==`-`)return e(`split`,t);p.push(t),m++}}let h=`-`,g=`x`;p.length>=1&&(h=p[0]),p.length>=2&&(g=p[1]);let _;if(h===`-`)_=d.stdin??``;else{let e=d.fs.resolvePath(d.cwd,h),t=await d.fs.readFile(e);if(t===null)return{exitCode:1,stdout:``,stderr:`split: ${h}: No such file or directory
15
15
  `};_=t}if(_===``)return{exitCode:0,stdout:``,stderr:``};let v;switch(f.mode){case`lines`:v=s(_,f.lines);break;case`bytes`:v=c(_,f.bytes);break;case`chunks`:v=l(_,f.chunks);break;default:return f.mode}if(v.length>i)return{exitCode:1,stdout:``,stderr:`split: too many output files (${v.length}), limit is ${i}
16
16
  `};for(let e=0;e<v.length;e++){let t=v[e];if(!t.hasContent)continue;let n=o(e,f.useNumericSuffix,f.suffixLength),r=`${g}${n}${f.additionalSuffix}`,i=d.fs.resolvePath(d.cwd,r);await d.fs.writeFile(i,t.content)}return{exitCode:0,stdout:``,stderr:``}}},d={name:`split`,flags:[{flag:`-l`,type:`value`,valueHint:`number`},{flag:`-b`,type:`value`,valueHint:`string`},{flag:`-n`,type:`value`,valueHint:`number`},{flag:`-d`,type:`boolean`},{flag:`-a`,type:`value`,valueHint:`number`}],needsFiles:!0};export{u as n,d as t};
17
- //# sourceMappingURL=chunk-MYE6AGBJ-B4pRo9ma.mjs.map
17
+ //# sourceMappingURL=chunk-MYE6AGBJ-DJo74dVC.mjs.map
@@ -1,4 +1,4 @@
1
- import{r as e}from"./chunk-OJDRYQWQ-BV5MVRVg.mjs";import{n as t,r as n,t as r}from"./chunk-74CEPOFO-D1bzz49u.mjs";var i={name:`env`,summary:`run a program in a modified environment`,usage:`env [OPTION]... [NAME=VALUE]... [COMMAND [ARG]...]`,options:[`-i, --ignore-environment start with an empty environment`,`-u NAME, --unset=NAME remove NAME from the environment`,` --help display this help and exit`]},a={name:`env`,async execute(a,o){if(r(a))return n(i);let s=!1,c=[],l=new Map,u=-1;for(let e=0;e<a.length;e++){let n=a[e];if(n===`-i`||n===`--ignore-environment`)s=!0;else if(n===`-u`&&e+1<a.length)c.push(a[++e]);else if(n.startsWith(`-u`))c.push(n.slice(2));else if(n.startsWith(`--unset=`))c.push(n.slice(8));else{if(n.startsWith(`--`)&&n!==`--`)return t(`env`,n);if(n.startsWith(`-`)&&n!==`-`){for(let e of n.slice(1))if(e!==`i`&&e!==`u`)return t(`env`,`-${e}`);n.includes(`i`)&&(s=!0)}else if(n.includes(`=`)&&u===-1){let e=n.indexOf(`=`),t=n.slice(0,e),r=n.slice(e+1);l.set(t,r)}else{u=e;break}}}let d;if(s)d=new Map(l);else{d=new Map(o.env);for(let e of c)d.delete(e);for(let[e,t]of l)d.set(e,t)}if(u===-1){let e=[];for(let[t,n]of d)e.push(`${t}=${n}`);return{stdout:e.join(`
1
+ import{r as e}from"./chunk-OJDRYQWQ-ikvLWpfV.mjs";import{n as t,r as n,t as r}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var i={name:`env`,summary:`run a program in a modified environment`,usage:`env [OPTION]... [NAME=VALUE]... [COMMAND [ARG]...]`,options:[`-i, --ignore-environment start with an empty environment`,`-u NAME, --unset=NAME remove NAME from the environment`,` --help display this help and exit`]},a={name:`env`,async execute(a,o){if(r(a))return n(i);let s=!1,c=[],l=new Map,u=-1;for(let e=0;e<a.length;e++){let n=a[e];if(n===`-i`||n===`--ignore-environment`)s=!0;else if(n===`-u`&&e+1<a.length)c.push(a[++e]);else if(n.startsWith(`-u`))c.push(n.slice(2));else if(n.startsWith(`--unset=`))c.push(n.slice(8));else{if(n.startsWith(`--`)&&n!==`--`)return t(`env`,n);if(n.startsWith(`-`)&&n!==`-`){for(let e of n.slice(1))if(e!==`i`&&e!==`u`)return t(`env`,`-${e}`);n.includes(`i`)&&(s=!0)}else if(n.includes(`=`)&&u===-1){let e=n.indexOf(`=`),t=n.slice(0,e),r=n.slice(e+1);l.set(t,r)}else{u=e;break}}}let d;if(s)d=new Map(l);else{d=new Map(o.env);for(let e of c)d.delete(e);for(let[e,t]of l)d.set(e,t)}if(u===-1){let e=[];for(let[t,n]of d)e.push(`${t}=${n}`);return{stdout:e.join(`
2
2
  `)+(e.length>0?`
3
3
  `:``),stderr:``,exitCode:0}}if(!o.exec)return{stdout:``,stderr:`env: command execution not supported in this context
4
4
  `,exitCode:1};let f=a.slice(u);return o.exec(`command`,{cwd:o.cwd,env:e(d),replaceEnv:!0,stdin:o.stdin,signal:o.signal,args:f})}},o={name:`printenv`,summary:`print all or part of environment`,usage:`printenv [OPTION]... [VARIABLE]...`,options:[` --help display this help and exit`]},s={name:`printenv`,async execute(e,t){if(r(e))return n(o);let i=e.filter(e=>!e.startsWith(`-`));if(i.length===0){let e=[];for(let[n,r]of t.env)e.push(`${n}=${r}`);return{stdout:e.join(`
@@ -6,4 +6,4 @@ import{r as e}from"./chunk-OJDRYQWQ-BV5MVRVg.mjs";import{n as t,r as n,t as r}fr
6
6
  `:``),stderr:``,exitCode:0}}let a=[],s=0;for(let e of i){let n=t.env.get(e);n===void 0?s=1:a.push(n)}return{stdout:a.join(`
7
7
  `)+(a.length>0?`
8
8
  `:``),stderr:``,exitCode:s}}},c={name:`env`,flags:[{flag:`-i`,type:`boolean`},{flag:`-u`,type:`value`,valueHint:`string`}]},l={name:`printenv`,flags:[]};export{a as i,c as n,l as r,s as t};
9
- //# sourceMappingURL=chunk-NAERJDUW-CX0lf-xx.mjs.map
9
+ //# sourceMappingURL=chunk-NAERJDUW-CIHrNgJB.mjs.map
@@ -1,3 +1,3 @@
1
- import{r as e,t}from"./chunk-74CEPOFO-D1bzz49u.mjs";var n={name:`history`,summary:`display command history`,usage:`history [n]`,options:[`-c clear the history list`,` --help display this help and exit`]},r=`BASH_HISTORY`,i={name:`history`,async execute(i,a){if(t(i))return e(n);let o=a.env.get(r)||`[]`,s;try{s=JSON.parse(o)}catch{s=[]}if(i[0]===`-c`)return a.env.set(r,`[]`),{stdout:``,stderr:``,exitCode:0};let c=s.length;i[0]&&/^\d+$/.test(i[0])&&(c=Math.min(parseInt(i[0],10),s.length));let l=s.length-c,u=``;for(let e=l;e<s.length;e++){let t=(e+1).toString().padStart(5,` `);u+=`${t} ${s[e]}
1
+ import{r as e,t}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var n={name:`history`,summary:`display command history`,usage:`history [n]`,options:[`-c clear the history list`,` --help display this help and exit`]},r=`BASH_HISTORY`,i={name:`history`,async execute(i,a){if(t(i))return e(n);let o=a.env.get(r)||`[]`,s;try{s=JSON.parse(o)}catch{s=[]}if(i[0]===`-c`)return a.env.set(r,`[]`),{stdout:``,stderr:``,exitCode:0};let c=s.length;i[0]&&/^\d+$/.test(i[0])&&(c=Math.min(parseInt(i[0],10),s.length));let l=s.length-c,u=``;for(let e=l;e<s.length;e++){let t=(e+1).toString().padStart(5,` `);u+=`${t} ${s[e]}
2
2
  `}return{stdout:u,stderr:``,exitCode:0}}},a={name:`history`,flags:[{flag:`-c`,type:`boolean`}]};export{a as n,i as t};
3
- //# sourceMappingURL=chunk-NCNPKYJZ-BFGan4lR.mjs.map
3
+ //# sourceMappingURL=chunk-NCNPKYJZ-BVljycUZ.mjs.map
@@ -1,8 +1,8 @@
1
- import{t as e}from"./chunk-44UOCSGV-BUBpWxXm.mjs";import{r as t,t as n}from"./chunk-74CEPOFO-D1bzz49u.mjs";import{t as r}from"./chunk-HWKDQ44K-CPSjqtR_.mjs";var i={name:`cp`,summary:`copy files and directories`,usage:`cp [OPTION]... SOURCE... DEST`,options:[`-r, -R, --recursive copy directories recursively`,`-n, --no-clobber do not overwrite an existing file`,`-p, --preserve preserve file attributes`,`-v, --verbose explain what is being done`,` --help display this help and exit`]},a={recursive:{short:`r`,long:`recursive`,type:`boolean`},recursiveUpper:{short:`R`,type:`boolean`},noClobber:{short:`n`,long:`no-clobber`,type:`boolean`},preserve:{short:`p`,long:`preserve`,type:`boolean`},verbose:{short:`v`,long:`verbose`,type:`boolean`}},o={name:`cp`,async execute(o,s){if(n(o))return t(i);let c=r(`cp`,o,a);if(!c.ok)return c.error;let l=c.result.flags.recursive||c.result.flags.recursiveUpper,u=c.result.flags.noClobber;c.result.flags.preserve;let d=c.result.flags.verbose,f=c.result.positional;if(f.length<2)return{stdout:``,stderr:`cp: missing destination file operand
1
+ import{t as e}from"./chunk-44UOCSGV-CaFxJDHm.mjs";import{r as t,t as n}from"./chunk-74CEPOFO-BcZUJMO1.mjs";import{t as r}from"./chunk-HWKDQ44K-wgmyck2O.mjs";var i={name:`cp`,summary:`copy files and directories`,usage:`cp [OPTION]... SOURCE... DEST`,options:[`-r, -R, --recursive copy directories recursively`,`-n, --no-clobber do not overwrite an existing file`,`-p, --preserve preserve file attributes`,`-v, --verbose explain what is being done`,` --help display this help and exit`]},a={recursive:{short:`r`,long:`recursive`,type:`boolean`},recursiveUpper:{short:`R`,type:`boolean`},noClobber:{short:`n`,long:`no-clobber`,type:`boolean`},preserve:{short:`p`,long:`preserve`,type:`boolean`},verbose:{short:`v`,long:`verbose`,type:`boolean`}},o={name:`cp`,async execute(o,s){if(n(o))return t(i);let c=r(`cp`,o,a);if(!c.ok)return c.error;let l=c.result.flags.recursive||c.result.flags.recursiveUpper,u=c.result.flags.noClobber;c.result.flags.preserve;let d=c.result.flags.verbose,f=c.result.positional;if(f.length<2)return{stdout:``,stderr:`cp: missing destination file operand
2
2
  `,exitCode:1};let p=f.pop()??``,m=f,h=s.fs.resolvePath(s.cwd,p),g=``,_=``,v=0,y=!1;try{y=(await s.fs.stat(h)).isDirectory}catch{}if(m.length>1&&!y)return{stdout:``,stderr:`cp: target '${p}' is not a directory
3
3
  `,exitCode:1};for(let t of m)try{let e=s.fs.resolvePath(s.cwd,t),n=await s.fs.stat(e),r=h;if(y){let e=t.split(`/`).pop()||t;r=h===`/`?`/${e}`:`${h}/${e}`}if(n.isDirectory&&!l){_+=`cp: -r not specified; omitting directory '${t}'
4
4
  `,v=1;continue}if(u)try{await s.fs.stat(r);continue}catch{}await s.fs.cp(e,r,{recursive:l}),d&&(g+=`'${t}' -> '${r}'
5
5
  `)}catch(n){let r=e(n);r.includes(`ENOENT`)||r.includes(`no such file`)?_+=`cp: cannot stat '${t}': No such file or directory
6
6
  `:_+=`cp: cannot copy '${t}': ${r}
7
7
  `,v=1}return{stdout:g,stderr:_,exitCode:v}}},s={name:`cp`,flags:[{flag:`-r`,type:`boolean`},{flag:`-R`,type:`boolean`},{flag:`-n`,type:`boolean`},{flag:`-p`,type:`boolean`},{flag:`-v`,type:`boolean`}],needsArgs:!0,minArgs:2};export{s as n,o as t};
8
- //# sourceMappingURL=chunk-NUYSJFDK-D2NXm2ND.mjs.map
8
+ //# sourceMappingURL=chunk-NUYSJFDK-BTseBdxv.mjs.map
@@ -1,4 +1,4 @@
1
- import{t as e}from"./chunk-YNYSPYQ5-BpP11HXS.mjs";import{t}from"./chunk-IPJHKYVM-BbWncVr2.mjs";import{n,r,t as i}from"./chunk-74CEPOFO-D1bzz49u.mjs";import{s as a}from"./chunk-7TSDKFEO-a-GUGBTu.mjs";import{n as o,r as s,t as c}from"./chunk-VLGZJRPG-D4NVKJYL.mjs";import{gunzipSync as l}from"node:zlib";var u=a({js:{extensions:[`.js`,`.mjs`,`.cjs`,`.jsx`],globs:[]},ts:{extensions:[`.ts`,`.tsx`,`.mts`,`.cts`],globs:[]},html:{extensions:[`.html`,`.htm`,`.xhtml`],globs:[]},css:{extensions:[`.css`,`.scss`,`.sass`,`.less`],globs:[]},json:{extensions:[`.json`,`.jsonc`,`.json5`],globs:[]},xml:{extensions:[`.xml`,`.xsl`,`.xslt`],globs:[]},c:{extensions:[`.c`,`.h`],globs:[]},cpp:{extensions:[`.cpp`,`.cc`,`.cxx`,`.hpp`,`.hh`,`.hxx`,`.h`],globs:[]},rust:{extensions:[`.rs`],globs:[]},go:{extensions:[`.go`],globs:[]},zig:{extensions:[`.zig`],globs:[]},java:{extensions:[`.java`],globs:[]},kotlin:{extensions:[`.kt`,`.kts`],globs:[]},scala:{extensions:[`.scala`,`.sc`],globs:[]},clojure:{extensions:[`.clj`,`.cljc`,`.cljs`,`.edn`],globs:[]},py:{extensions:[`.py`,`.pyi`,`.pyw`],globs:[]},rb:{extensions:[`.rb`,`.rake`,`.gemspec`],globs:[`Rakefile`,`Gemfile`]},php:{extensions:[`.php`,`.phtml`,`.php3`,`.php4`,`.php5`],globs:[]},perl:{extensions:[`.pl`,`.pm`,`.pod`,`.t`],globs:[]},lua:{extensions:[`.lua`],globs:[]},sh:{extensions:[`.sh`,`.bash`,`.zsh`,`.fish`],globs:[`.bashrc`,`.zshrc`,`.profile`]},bat:{extensions:[`.bat`,`.cmd`],globs:[]},ps:{extensions:[`.ps1`,`.psm1`,`.psd1`],globs:[]},yaml:{extensions:[`.yaml`,`.yml`],globs:[]},toml:{extensions:[`.toml`],globs:[`Cargo.toml`,`pyproject.toml`]},ini:{extensions:[`.ini`,`.cfg`,`.conf`],globs:[]},csv:{extensions:[`.csv`,`.tsv`],globs:[]},md:{extensions:[`.md`,`.mdx`,`.markdown`,`.mdown`,`.mkd`],globs:[]},markdown:{extensions:[`.md`,`.mdx`,`.markdown`,`.mdown`,`.mkd`],globs:[]},rst:{extensions:[`.rst`],globs:[]},txt:{extensions:[`.txt`,`.text`],globs:[]},tex:{extensions:[`.tex`,`.ltx`,`.sty`,`.cls`],globs:[]},sql:{extensions:[`.sql`],globs:[]},graphql:{extensions:[`.graphql`,`.gql`],globs:[]},proto:{extensions:[`.proto`],globs:[]},make:{extensions:[`.mk`,`.mak`],globs:[`Makefile`,`GNUmakefile`,`makefile`]},docker:{extensions:[],globs:[`Dockerfile`,`Dockerfile.*`,`*.dockerfile`]},tf:{extensions:[`.tf`,`.tfvars`],globs:[]}}),d=class{types;constructor(){this.types=new Map(Object.entries(u).map(([e,t])=>[e,{extensions:[...t.extensions],globs:[...t.globs]}]))}addType(e){let t=e.indexOf(`:`);if(t===-1)return;let n=e.slice(0,t),r=e.slice(t+1);if(r.startsWith(`include:`)){let e=r.slice(8),t=this.types.get(e);if(t){let e=this.types.get(n)||{extensions:[],globs:[]};e.extensions.push(...t.extensions),e.globs.push(...t.globs),this.types.set(n,e)}}else{let e=this.types.get(n)||{extensions:[],globs:[]};if(r.startsWith(`*.`)&&!r.slice(2).includes(`*`)){let t=r.slice(1);e.extensions.includes(t)||e.extensions.push(t)}else e.globs.includes(r)||e.globs.push(r);this.types.set(n,e)}}clearType(e){let t=this.types.get(e);t&&(t.extensions=[],t.globs=[])}getType(e){return this.types.get(e)}getAllTypes(){return this.types}matchesType(t,n){let r=t.toLowerCase();for(let i of n){if(i===`all`){if(this.matchesAnyType(t))return!0;continue}let n=this.types.get(i);if(n){for(let e of n.extensions)if(r.endsWith(e))return!0;for(let i of n.globs)if(i.includes(`*`)){if(e(`^${i.replace(/\./g,`\\.`).replace(/\*/g,`.*`)}$`,`i`).test(t))return!0}else if(r===i.toLowerCase())return!0}}return!1}matchesAnyType(t){let n=t.toLowerCase();for(let r of this.types.values()){for(let e of r.extensions)if(n.endsWith(e))return!0;for(let i of r.globs)if(i.includes(`*`)){if(e(`^${i.replace(/\./g,`\\.`).replace(/\*/g,`.*`)}$`,`i`).test(t))return!0}else if(n===i.toLowerCase())return!0}return!1}};function f(){let e=[];for(let[t,n]of Object.entries(u).sort()){let r=[];for(let e of n.extensions)r.push(`*${e}`);for(let e of n.globs)r.push(e);e.push(`${t}: ${r.join(`, `)}`)}return`${e.join(`
1
+ import{t as e}from"./chunk-YNYSPYQ5-DesxOVHh.mjs";import{t}from"./chunk-IPJHKYVM-C3IodQq7.mjs";import{n,r,t as i}from"./chunk-74CEPOFO-BcZUJMO1.mjs";import{s as a}from"./chunk-7TSDKFEO-DUQhJkDy.mjs";import{n as o,r as s,t as c}from"./chunk-VLGZJRPG-DymOu90-.mjs";import{gunzipSync as l}from"node:zlib";var u=a({js:{extensions:[`.js`,`.mjs`,`.cjs`,`.jsx`],globs:[]},ts:{extensions:[`.ts`,`.tsx`,`.mts`,`.cts`],globs:[]},html:{extensions:[`.html`,`.htm`,`.xhtml`],globs:[]},css:{extensions:[`.css`,`.scss`,`.sass`,`.less`],globs:[]},json:{extensions:[`.json`,`.jsonc`,`.json5`],globs:[]},xml:{extensions:[`.xml`,`.xsl`,`.xslt`],globs:[]},c:{extensions:[`.c`,`.h`],globs:[]},cpp:{extensions:[`.cpp`,`.cc`,`.cxx`,`.hpp`,`.hh`,`.hxx`,`.h`],globs:[]},rust:{extensions:[`.rs`],globs:[]},go:{extensions:[`.go`],globs:[]},zig:{extensions:[`.zig`],globs:[]},java:{extensions:[`.java`],globs:[]},kotlin:{extensions:[`.kt`,`.kts`],globs:[]},scala:{extensions:[`.scala`,`.sc`],globs:[]},clojure:{extensions:[`.clj`,`.cljc`,`.cljs`,`.edn`],globs:[]},py:{extensions:[`.py`,`.pyi`,`.pyw`],globs:[]},rb:{extensions:[`.rb`,`.rake`,`.gemspec`],globs:[`Rakefile`,`Gemfile`]},php:{extensions:[`.php`,`.phtml`,`.php3`,`.php4`,`.php5`],globs:[]},perl:{extensions:[`.pl`,`.pm`,`.pod`,`.t`],globs:[]},lua:{extensions:[`.lua`],globs:[]},sh:{extensions:[`.sh`,`.bash`,`.zsh`,`.fish`],globs:[`.bashrc`,`.zshrc`,`.profile`]},bat:{extensions:[`.bat`,`.cmd`],globs:[]},ps:{extensions:[`.ps1`,`.psm1`,`.psd1`],globs:[]},yaml:{extensions:[`.yaml`,`.yml`],globs:[]},toml:{extensions:[`.toml`],globs:[`Cargo.toml`,`pyproject.toml`]},ini:{extensions:[`.ini`,`.cfg`,`.conf`],globs:[]},csv:{extensions:[`.csv`,`.tsv`],globs:[]},md:{extensions:[`.md`,`.mdx`,`.markdown`,`.mdown`,`.mkd`],globs:[]},markdown:{extensions:[`.md`,`.mdx`,`.markdown`,`.mdown`,`.mkd`],globs:[]},rst:{extensions:[`.rst`],globs:[]},txt:{extensions:[`.txt`,`.text`],globs:[]},tex:{extensions:[`.tex`,`.ltx`,`.sty`,`.cls`],globs:[]},sql:{extensions:[`.sql`],globs:[]},graphql:{extensions:[`.graphql`,`.gql`],globs:[]},proto:{extensions:[`.proto`],globs:[]},make:{extensions:[`.mk`,`.mak`],globs:[`Makefile`,`GNUmakefile`,`makefile`]},docker:{extensions:[],globs:[`Dockerfile`,`Dockerfile.*`,`*.dockerfile`]},tf:{extensions:[`.tf`,`.tfvars`],globs:[]}}),d=class{types;constructor(){this.types=new Map(Object.entries(u).map(([e,t])=>[e,{extensions:[...t.extensions],globs:[...t.globs]}]))}addType(e){let t=e.indexOf(`:`);if(t===-1)return;let n=e.slice(0,t),r=e.slice(t+1);if(r.startsWith(`include:`)){let e=r.slice(8),t=this.types.get(e);if(t){let e=this.types.get(n)||{extensions:[],globs:[]};e.extensions.push(...t.extensions),e.globs.push(...t.globs),this.types.set(n,e)}}else{let e=this.types.get(n)||{extensions:[],globs:[]};if(r.startsWith(`*.`)&&!r.slice(2).includes(`*`)){let t=r.slice(1);e.extensions.includes(t)||e.extensions.push(t)}else e.globs.includes(r)||e.globs.push(r);this.types.set(n,e)}}clearType(e){let t=this.types.get(e);t&&(t.extensions=[],t.globs=[])}getType(e){return this.types.get(e)}getAllTypes(){return this.types}matchesType(t,n){let r=t.toLowerCase();for(let i of n){if(i===`all`){if(this.matchesAnyType(t))return!0;continue}let n=this.types.get(i);if(n){for(let e of n.extensions)if(r.endsWith(e))return!0;for(let i of n.globs)if(i.includes(`*`)){if(e(`^${i.replace(/\./g,`\\.`).replace(/\*/g,`.*`)}$`,`i`).test(t))return!0}else if(r===i.toLowerCase())return!0}}return!1}matchesAnyType(t){let n=t.toLowerCase();for(let r of this.types.values()){for(let e of r.extensions)if(n.endsWith(e))return!0;for(let i of r.globs)if(i.includes(`*`)){if(e(`^${i.replace(/\./g,`\\.`).replace(/\*/g,`.*`)}$`,`i`).test(t))return!0}else if(n===i.toLowerCase())return!0}return!1}};function f(){let e=[];for(let[t,n]of Object.entries(u).sort()){let r=[];for(let e of n.extensions)r.push(`*${e}`);for(let e of n.globs)r.push(e);e.push(`${t}: ${r.join(`, `)}`)}return`${e.join(`
2
2
  `)}
3
3
  `}function p(){return{ignoreCase:!1,caseSensitive:!1,smartCase:!0,fixedStrings:!1,wordRegexp:!1,lineRegexp:!1,invertMatch:!1,multiline:!1,multilineDotall:!1,patterns:[],patternFiles:[],count:!1,countMatches:!1,files:!1,filesWithMatches:!1,filesWithoutMatch:!1,stats:!1,onlyMatching:!1,maxCount:0,lineNumber:!0,noFilename:!1,withFilename:!1,nullSeparator:!1,byteOffset:!1,column:!1,vimgrep:!1,replace:null,afterContext:0,beforeContext:0,contextSeparator:`--`,quiet:!1,heading:!1,passthru:!1,includeZero:!1,sort:`path`,json:!1,globs:[],iglobs:[],globCaseInsensitive:!1,types:[],typesNot:[],typeAdd:[],typeClear:[],hidden:!1,noIgnore:!1,noIgnoreDot:!1,noIgnoreVcs:!1,ignoreFiles:[],maxDepth:256,maxFilesize:0,followSymlinks:!1,searchZip:!1,searchBinary:!1,preprocessor:null,preprocessorGlobs:[]}}function m(e){let t=e.match(/^(\d+)([KMG])?$/i);if(!t)return 0;let n=parseInt(t[1],10);switch((t[2]||``).toUpperCase()){case`K`:return n*1024;case`M`:return n*1024*1024;case`G`:return n*1024*1024*1024;default:return n}}function h(e){return/^\d+[KMG]?$/i.test(e)?null:{stdout:``,stderr:`rg: invalid --max-filesize value: ${e}
4
4
  `,exitCode:1}}function g(e){return null}var _=[{short:`g`,long:`glob`,target:`globs`,multi:!0},{long:`iglob`,target:`iglobs`,multi:!0},{short:`t`,long:`type`,target:`types`,multi:!0,validate:g},{short:`T`,long:`type-not`,target:`typesNot`,multi:!0,validate:g},{long:`type-add`,target:`typeAdd`,multi:!0},{long:`type-clear`,target:`typeClear`,multi:!0},{short:`m`,long:`max-count`,target:`maxCount`,parse:parseInt},{short:`e`,long:`regexp`,target:`patterns`,multi:!0},{short:`f`,long:`file`,target:`patternFiles`,multi:!0},{short:`r`,long:`replace`,target:`replace`},{short:`d`,long:`max-depth`,target:`maxDepth`,parse:parseInt},{long:`max-filesize`,target:`maxFilesize`,parse:m,validate:h},{long:`context-separator`,target:`contextSeparator`},{short:`j`,long:`threads`,target:`maxDepth`,parse:()=>1/0},{long:`ignore-file`,target:`ignoreFiles`,multi:!0},{long:`pre`,target:`preprocessor`},{long:`pre-glob`,target:`preprocessorGlobs`,multi:!0}],v=new Map([[`i`,e=>{e.ignoreCase=!0,e.caseSensitive=!1,e.smartCase=!1}],[`--ignore-case`,e=>{e.ignoreCase=!0,e.caseSensitive=!1,e.smartCase=!1}],[`s`,e=>{e.caseSensitive=!0,e.ignoreCase=!1,e.smartCase=!1}],[`--case-sensitive`,e=>{e.caseSensitive=!0,e.ignoreCase=!1,e.smartCase=!1}],[`S`,e=>{e.smartCase=!0,e.ignoreCase=!1,e.caseSensitive=!1}],[`--smart-case`,e=>{e.smartCase=!0,e.ignoreCase=!1,e.caseSensitive=!1}],[`F`,e=>{e.fixedStrings=!0}],[`--fixed-strings`,e=>{e.fixedStrings=!0}],[`w`,e=>{e.wordRegexp=!0}],[`--word-regexp`,e=>{e.wordRegexp=!0}],[`x`,e=>{e.lineRegexp=!0}],[`--line-regexp`,e=>{e.lineRegexp=!0}],[`v`,e=>{e.invertMatch=!0}],[`--invert-match`,e=>{e.invertMatch=!0}],[`U`,e=>{e.multiline=!0}],[`--multiline`,e=>{e.multiline=!0}],[`--multiline-dotall`,e=>{e.multilineDotall=!0,e.multiline=!0}],[`c`,e=>{e.count=!0}],[`--count`,e=>{e.count=!0}],[`--count-matches`,e=>{e.countMatches=!0}],[`l`,e=>{e.filesWithMatches=!0}],[`--files`,e=>{e.files=!0}],[`--files-with-matches`,e=>{e.filesWithMatches=!0}],[`--files-without-match`,e=>{e.filesWithoutMatch=!0}],[`--stats`,e=>{e.stats=!0}],[`o`,e=>{e.onlyMatching=!0}],[`--only-matching`,e=>{e.onlyMatching=!0}],[`q`,e=>{e.quiet=!0}],[`--quiet`,e=>{e.quiet=!0}],[`N`,e=>{e.lineNumber=!1}],[`--no-line-number`,e=>{e.lineNumber=!1}],[`H`,e=>{e.withFilename=!0}],[`--with-filename`,e=>{e.withFilename=!0}],[`I`,e=>{e.noFilename=!0}],[`--no-filename`,e=>{e.noFilename=!0}],[`0`,e=>{e.nullSeparator=!0}],[`--null`,e=>{e.nullSeparator=!0}],[`b`,e=>{e.byteOffset=!0}],[`--byte-offset`,e=>{e.byteOffset=!0}],[`--column`,e=>{e.column=!0,e.lineNumber=!0}],[`--no-column`,e=>{e.column=!1}],[`--vimgrep`,e=>{e.vimgrep=!0,e.column=!0,e.lineNumber=!0}],[`--json`,e=>{e.json=!0}],[`--hidden`,e=>{e.hidden=!0}],[`--no-ignore`,e=>{e.noIgnore=!0}],[`--no-ignore-dot`,e=>{e.noIgnoreDot=!0}],[`--no-ignore-vcs`,e=>{e.noIgnoreVcs=!0}],[`L`,e=>{e.followSymlinks=!0}],[`--follow`,e=>{e.followSymlinks=!0}],[`z`,e=>{e.searchZip=!0}],[`--search-zip`,e=>{e.searchZip=!0}],[`a`,e=>{e.searchBinary=!0}],[`--text`,e=>{e.searchBinary=!0}],[`--heading`,e=>{e.heading=!0}],[`--passthru`,e=>{e.passthru=!0}],[`--include-zero`,e=>{e.includeZero=!0}],[`--glob-case-insensitive`,e=>{e.globCaseInsensitive=!0}]]),y=new Set([`n`,`--line-number`]);function b(e){e.hidden?e.searchBinary=!0:e.noIgnore?e.hidden=!0:e.noIgnore=!0}function x(e,t,n){let r=e[t];for(let i of _){if(r.startsWith(`--${i.long}=`)){let e=C(n,i,r.slice(`--${i.long}=`.length));return e?{newIndex:t,error:e}:{newIndex:t}}if(i.short&&r.startsWith(`-${i.short}`)&&r.length>2){let e=C(n,i,r.slice(2));return e?{newIndex:t,error:e}:{newIndex:t}}if(i.short&&r===`-${i.short}`||r===`--${i.long}`){if(t+1>=e.length)return null;let r=e[t+1],a=C(n,i,r);return a?{newIndex:t+1,error:a}:{newIndex:t+1}}}return null}function S(e){return _.find(t=>t.short===e)}function C(e,t,n){if(t.validate){let e=t.validate(n);if(e)return e}let r=t.parse?t.parse(n):n;t.multi?e[t.target].push(r):e[t.target]=r}function w(e,t){let n=e[t];if(n===`--sort`&&t+1<e.length){let n=e[t+1];if(n===`path`||n===`none`)return{value:n,newIndex:t+1}}if(n.startsWith(`--sort=`)){let e=n.slice(7);if(e===`path`||e===`none`)return{value:e,newIndex:t}}return null}function T(e,t){let n=e[t],r=n.match(/^-([ABC])(\d+)$/);return r?{flag:r[1],value:parseInt(r[2],10),newIndex:t}:(n===`-A`||n===`-B`||n===`-C`)&&t+1<e.length?{flag:n[1],value:parseInt(e[t+1],10),newIndex:t+1}:null}function E(e){let t=e.match(/^-m(\d+)$/);return t?parseInt(t[1],10):null}function D(e){let t=p(),r=null,i=[],a=-1,o=-1,s=-1,c=!1;for(let l=0;l<e.length;l++){let u=e[l];if(u.startsWith(`-`)&&u!==`-`){let r=T(e,l);if(r){let{flag:e,value:t,newIndex:n}=r;e===`A`?a=Math.max(a,t):e===`B`?o=Math.max(o,t):s=t,l=n;continue}let i=E(u);if(i!==null){t.maxCount=i;continue}let d=x(e,l,t);if(d){if(d.error)return{success:!1,error:d.error};l=d.newIndex;continue}let f=w(e,l);if(f){t.sort=f.value,l=f.newIndex;continue}let p=u.startsWith(`--`)?[u]:u.slice(1).split(``);for(let r of p){if(y.has(r)){t.lineNumber=!0,c=!0;continue}if(r===`u`||r===`--unrestricted`){b(t);continue}if(r===`P`||r===`--pcre2`)return{success:!1,error:{stdout:``,stderr:`rg: PCRE2 is not supported. Use standard regex syntax instead.
@@ -30,4 +30,4 @@ EXAMPLES:
30
30
  rg -g '*.ts' foo Search files matching glob
31
31
  rg --hidden foo Include hidden files
32
32
  rg -l foo List files with matches only`,options:[`-e, --regexp PATTERN search for PATTERN (can be used multiple times)`,`-f, --file FILE read patterns from FILE, one per line`,`-i, --ignore-case case-insensitive search`,`-s, --case-sensitive case-sensitive search (overrides smart-case)`,`-S, --smart-case smart case (default: case-insensitive unless pattern has uppercase)`,`-F, --fixed-strings treat pattern as literal string`,`-w, --word-regexp match whole words only`,`-x, --line-regexp match whole lines only`,`-v, --invert-match select non-matching lines`,`-r, --replace TEXT replace matches with TEXT`,`-c, --count print count of matching lines per file`,` --count-matches print count of individual matches per file`,`-l, --files-with-matches print only file names with matches`,` --files-without-match print file names without matches`,` --files list files that would be searched`,`-o, --only-matching print only matching parts`,`-m, --max-count NUM stop after NUM matches per file`,`-q, --quiet suppress output, exit 0 on match`,` --stats print search statistics`,`-n, --line-number print line numbers (default: on)`,`-N, --no-line-number do not print line numbers`,`-I, --no-filename suppress the prefixing of file names`,`-0, --null use NUL as filename separator`,`-b, --byte-offset show byte offset of each match`,` --column show column number of first match`,` --vimgrep show results in vimgrep format`,` --json show results in JSON Lines format`,`-A NUM print NUM lines after each match`,`-B NUM print NUM lines before each match`,`-C NUM print NUM lines before and after each match`,` --context-separator SEP separator for context groups (default: --)`,`-U, --multiline match patterns across lines`,`-z, --search-zip search in compressed files (gzip only)`,`-g, --glob GLOB include files matching GLOB`,`-t, --type TYPE only search files of TYPE (e.g., js, py, ts)`,`-T, --type-not TYPE exclude files of TYPE`,`-L, --follow follow symbolic links`,`-u, --unrestricted reduce filtering (-u: no ignore, -uu: +hidden, -uuu: +binary)`,`-a, --text search binary files as text`,` --hidden search hidden files and directories`,` --no-ignore don't respect .gitignore/.ignore files`,`-d, --max-depth NUM maximum search depth`,` --sort TYPE sort files (path, none)`,` --heading show file path above matches`,` --passthru print all lines (non-matches use - separator)`,` --include-zero include files with 0 matches in count output`,` --type-list list all available file types`,` --help display this help and exit`]},G={name:`rg`,async execute(e,t){if(i(e))return r(W);if(e.includes(`--type-list`))return{stdout:f(),stderr:``,exitCode:0};let n=D(e);return n.success?N({ctx:t,options:n.options,paths:n.paths,explicitLineNumbers:n.explicitLineNumbers}):n.error}},K={name:`rg`,flags:[{flag:`-i`,type:`boolean`},{flag:`-s`,type:`boolean`},{flag:`-S`,type:`boolean`},{flag:`-F`,type:`boolean`},{flag:`-w`,type:`boolean`},{flag:`-x`,type:`boolean`},{flag:`-v`,type:`boolean`},{flag:`-c`,type:`boolean`},{flag:`-l`,type:`boolean`},{flag:`-o`,type:`boolean`},{flag:`-n`,type:`boolean`},{flag:`-N`,type:`boolean`},{flag:`--hidden`,type:`boolean`},{flag:`--no-ignore`,type:`boolean`},{flag:`-m`,type:`value`,valueHint:`number`},{flag:`-A`,type:`value`,valueHint:`number`},{flag:`-B`,type:`value`,valueHint:`number`},{flag:`-C`,type:`value`,valueHint:`number`},{flag:`-g`,type:`value`,valueHint:`pattern`},{flag:`-t`,type:`value`,valueHint:`string`},{flag:`-T`,type:`value`,valueHint:`string`}],needsArgs:!0};export{K as n,G as t};
33
- //# sourceMappingURL=chunk-NYQYO467-Degkom4D.mjs.map
33
+ //# sourceMappingURL=chunk-NYQYO467-BgXuDHUQ.mjs.map
@@ -1,4 +1,4 @@
1
- import{n as e,t}from"./chunk-YNYSPYQ5-BpP11HXS.mjs";import{i as n}from"./chunk-GFQRA5P5-1fzItQ8F.mjs";import{n as r}from"./chunk-5QMZ5MUS-DWTkM0vM.mjs";import{r as i}from"./chunk-OJDRYQWQ-BV5MVRVg.mjs";import{r as a,t as o}from"./chunk-24IMIIXA-Bz7rlZT3.mjs";import{n as s,r as c,t as l}from"./chunk-74CEPOFO-D1bzz49u.mjs";var u=1e4,d=100,f=new e(/\s+/);function p(e={}){let{fieldSep:t=f,maxIterations:n=u,maxRecursionDepth:r=d,maxOutputSize:i=0,fs:a,cwd:o,exec:s,coverage:c,requireDefenseContext:l}=e;return{FS:` `,OFS:` `,ORS:`
1
+ import{n as e,t}from"./chunk-YNYSPYQ5-DesxOVHh.mjs";import{i as n}from"./chunk-GFQRA5P5-DnjwTqP3.mjs";import{n as r}from"./chunk-5QMZ5MUS-CAp625aG.mjs";import{r as i}from"./chunk-OJDRYQWQ-ikvLWpfV.mjs";import{r as a,t as o}from"./chunk-24IMIIXA-B6yIPkk2.mjs";import{n as s,r as c,t as l}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var u=1e4,d=100,f=new e(/\s+/);function p(e={}){let{fieldSep:t=f,maxIterations:n=u,maxRecursionDepth:r=d,maxOutputSize:i=0,fs:a,cwd:o,exec:s,coverage:c,requireDefenseContext:l}=e;return{FS:` `,OFS:` `,ORS:`
2
2
  `,OFMT:`%.6g`,NR:0,NF:0,FNR:0,FILENAME:``,RSTART:0,RLENGTH:-1,SUBSEP:``,fields:[],line:``,vars:Object.create(null),arrays:Object.create(null),arrayAliases:new Map,ARGC:0,ARGV:Object.create(null),ENVIRON:Object.create(null),functions:new Map,fieldSep:t,maxIterations:n,maxRecursionDepth:r,maxOutputSize:i,currentRecursionDepth:0,exitCode:0,shouldExit:!1,shouldNext:!1,shouldNextFile:!1,loopBreak:!1,loopContinue:!1,hasReturn:!1,inEndBlock:!1,output:``,openedFiles:new Set,fs:a,cwd:o,exec:s,coverage:c,requireDefenseContext:l}}function m(e,t,n){switch(n){case`+`:return e+t;case`-`:return e-t;case`*`:return e*t;case`/`:return t===0?0:e/t;case`%`:return t===0?0:e%t;case`^`:case`**`:return e**t;default:return 0}}function h(e){if(typeof e==`number`)return e;let t=parseFloat(e);return Number.isNaN(t)?0:t}function g(e){return typeof e==`string`?e:String(e)}async function _(e,t){if(e.type===`regex`)return e.pattern;let n=g(await t.evalExpr(e));return n.startsWith(`/`)&&n.endsWith(`/`)&&(n=n.slice(1,-1)),n}async function v(e,t){return e?e.type===`variable`?e.name:e.type===`field`?`$${Math.floor(h(await t.evalExpr(e.index)))}`:`$0`:`$0`}function y(e,t){if(e===`$0`)return t.line;if(e.startsWith(`$`)){let n=parseInt(e.slice(1),10)-1;return t.fields[n]||``}return g(t.vars[e]??``)}function b(e,t,n){if(e===`$0`)n.line=t,n.fields=n.FS===` `?t.trim().split(/\s+/).filter(Boolean):n.fieldSep.split(t),n.NF=n.fields.length;else if(e.startsWith(`$`)){let r=parseInt(e.slice(1),10)-1;for(;n.fields.length<=r;)n.fields.push(``);n.fields[r]=t,n.NF=n.fields.length,n.line=n.fields.join(n.OFS)}else n.vars[e]=t}async function ee(e,t,n){return e.length===0?t.line.length:g(await n.evalExpr(e[0])).length}async function x(e,t,n){if(e.length<2)return``;let r=g(await n.evalExpr(e[0])),i=Math.floor(h(await n.evalExpr(e[1])))-1;if(e.length>=3){let t=Math.floor(h(await n.evalExpr(e[2])));return r.substr(Math.max(0,i),t)}return r.substr(Math.max(0,i))}async function S(e,t,n){if(e.length<2)return 0;let r=g(await n.evalExpr(e[0])),i=g(await n.evalExpr(e[1])),a=r.indexOf(i);return a===-1?0:a+1}async function C(e,n,r){if(e.length<2)return 0;let i=g(await r.evalExpr(e[0])),a=e[1];if(a.type!==`variable`)return 0;let o=a.name,s=n.FS;if(e.length>=3){let n=e[2];if(n.type===`regex`)s=t(n.pattern);else{let e=g(await r.evalExpr(n));s=e===` `?t(`\\s+`):e}}else n.FS===` `&&(s=t(`\\s+`));let c=typeof s==`string`?i.split(s):s.split(i);n.arrays[o]=Object.create(null);for(let e=0;e<c.length;e++)n.arrays[o][String(e+1)]=c[e];return c.length}async function te(e,n,r){if(e.length<2)return 0;let i=await _(e[0],r),a=g(await r.evalExpr(e[1])),o=await v(e[2],r),s=y(o,n);try{let e=t(i).replace(s,re(a)),r=e===s?0:1;return b(o,e,n),r}catch{return 0}}async function ne(e,n,r){if(e.length<2)return 0;let i=await _(e[0],r),a=g(await r.evalExpr(e[1])),o=await v(e[2],r),s=y(o,n);try{let e=t(i,`g`),r=e.match(s),c=r?r.length:0;return b(o,e.replace(s,re(a)),n),c}catch{return 0}}function re(e){return t=>{let n=``,r=0;for(;r<e.length;)if(e[r]===`\\`&&r+1<e.length){let t=e[r+1];t===`&`?(n+=`&`,r+=2):t===`\\`?(n+=`\\`,r+=2):(n+=e[r+1],r+=2)}else e[r]===`&`?(n+=t,r++):(n+=e[r],r++);return n}}async function ie(e,n,r){if(e.length<2)return n.RSTART=0,n.RLENGTH=-1,0;let i=g(await r.evalExpr(e[0])),a=await _(e[1],r);try{let e=t(a).exec(i);if(e)return n.RSTART=e.index+1,n.RLENGTH=e[0].length,n.RSTART}catch{}return n.RSTART=0,n.RLENGTH=-1,0}async function ae(e,n,r){if(e.length<3)return``;let i=await _(e[0],r),a=g(await r.evalExpr(e[1])),o=g(await r.evalExpr(e[2])),s=e.length>=4?g(await r.evalExpr(e[3])):n.line;try{let e=o.toLowerCase()===`g`,n=e?0:parseInt(o,10)||1;if(e)return t(i,`g`).replace(s,(e,...t)=>oe(a,e,t.slice(0,-2)));{let e=0;return t(i,`g`).replace(s,(t,...r)=>(e++,e===n?oe(a,t,r.slice(0,-2)):t))}}catch{return s}}function oe(e,t,n){let r=``,i=0;for(;i<e.length;)if(e[i]===`\\`&&i+1<e.length){let a=e[i+1];if(a===`&`)r+=`&`,i+=2;else if(a===`0`)r+=t,i+=2;else if(a>=`1`&&a<=`9`){let e=parseInt(a,10)-1;r+=n[e]||``,i+=2}else a===`n`?(r+=`
3
3
  `,i+=2):a===`t`?(r+=` `,i+=2):(r+=a,i+=2)}else e[i]===`&`?(r+=t,i++):(r+=e[i],i++);return r}async function se(e,t,n){return e.length===0?``:g(await n.evalExpr(e[0])).toLowerCase()}async function ce(e,t,n){return e.length===0?``:g(await n.evalExpr(e[0])).toUpperCase()}async function le(e,t,n){if(e.length===0)return``;let r=g(await n.evalExpr(e[0])),i=[];for(let t=1;t<e.length;t++)i.push(await n.evalExpr(e[t]));return E(r,i)}async function ue(e,t,n){return e.length===0?0:Math.floor(h(await n.evalExpr(e[0])))}async function de(e,t,n){return e.length===0?0:Math.sqrt(h(await n.evalExpr(e[0])))}async function fe(e,t,n){return e.length===0?0:Math.sin(h(await n.evalExpr(e[0])))}async function pe(e,t,n){return e.length===0?0:Math.cos(h(await n.evalExpr(e[0])))}async function me(e,t,n){let r=e.length>0?h(await n.evalExpr(e[0])):0,i=e.length>1?h(await n.evalExpr(e[1])):0;return Math.atan2(r,i)}async function he(e,t,n){return e.length===0?0:Math.log(h(await n.evalExpr(e[0])))}async function ge(e,t,n){return e.length===0?1:Math.exp(h(await n.evalExpr(e[0])))}function _e(e,t,n){return t.random?t.random():Math.random()}async function ve(e,t,n){let r=e.length>0?h(await n.evalExpr(e[0])):Date.now();return t.vars._srand_seed=r,r}function ye(e,t){return()=>{throw Error(`${e}() is not supported - ${t}`)}}function w(e){return()=>{throw Error(`function '${e}()' is not implemented`)}}var T=1e4;function E(e,t){let n=0,r=``,i=0;for(;i<e.length;)if(e[i]===`%`&&i+1<e.length){let a=i+1,o=``,s=``,c=``,l,u=a;for(;a<e.length&&/\d/.test(e[a]);)a++;a>u&&e[a]===`$`?(l=parseInt(e.substring(u,a),10)-1,a++):a=u;let d=()=>{if(a<e.length){if(a+1<e.length&&(e[a]===`h`&&e[a+1]===`h`||e[a]===`l`&&e[a+1]===`l`)){a+=2;return}/[lzjh]/.test(e[a])&&a++}};for(;a<e.length&&/[-+ #0]/.test(e[a]);)o+=e[a++];if(e[a]===`*`){let e=t[n++],r=e===void 0?0:Math.floor(Number(e));r<0?(o+=`-`,s=String(Math.min(-r,T))):s=String(Math.min(r,T)),a++}else for(;a<e.length&&/\d/.test(e[a]);)s+=e[a++];if(s&&parseInt(s,10)>T&&(s=String(T)),e[a]===`.`){if(a++,e[a]===`*`){let e=t[n++];c=String(Math.min(e===void 0?0:Math.floor(Number(e)),T)),a++}else for(;a<e.length&&/\d/.test(e[a]);)c+=e[a++];c&&parseInt(c,10)>T&&(c=String(T))}d();let f=e[a],p=t[l===void 0?n:l];switch(f){case`s`:{let e=p===void 0?``:String(p);if(c&&(e=e.substring(0,parseInt(c,10))),s){let t=parseInt(s,10);e=o.includes(`-`)?e.padEnd(t):e.padStart(t)}r+=e,l===void 0&&n++;break}case`d`:case`i`:{let e=p===void 0?0:Math.floor(Number(p));Number.isNaN(e)&&(e=0);let t=e<0,i=Math.abs(e).toString();if(c){let e=parseInt(c,10);i=i.padStart(e,`0`)}let a=``;t?a=`-`:o.includes(`+`)?a=`+`:o.includes(` `)&&(a=` `);let u=a+i;if(s){let e=parseInt(s,10);u=o.includes(`-`)?u.padEnd(e):o.includes(`0`)&&!c?a+i.padStart(e-a.length,`0`):u.padStart(e)}r+=u,l===void 0&&n++;break}case`f`:{let e=p===void 0?0:Number(p);Number.isNaN(e)&&(e=0);let t=c?parseInt(c,10):6,i=e.toFixed(t);if(s){let e=parseInt(s,10);i=o.includes(`-`)?i.padEnd(e):i.padStart(e)}r+=i,l===void 0&&n++;break}case`e`:case`E`:{let e=p===void 0?0:Number(p);Number.isNaN(e)&&(e=0);let t=c?parseInt(c,10):6,i=e.toExponential(t);if(f===`E`&&(i=i.toUpperCase()),s){let e=parseInt(s,10);i=o.includes(`-`)?i.padEnd(e):i.padStart(e)}r+=i,l===void 0&&n++;break}case`g`:case`G`:{let e=p===void 0?0:Number(p);Number.isNaN(e)&&(e=0);let t=c?parseInt(c,10):6,i=e===0?0:Math.floor(Math.log10(Math.abs(e))),a;if(e===0?a=`0`:i<-4||i>=t?(a=e.toExponential(t-1),f===`G`&&(a=a.toUpperCase())):a=e.toPrecision(t),a.includes(`.`)&&(a=a.replace(/\.?0+$/,``).replace(/\.?0+e/,`e`)),a.includes(`e`)&&(a=a.replace(/\.?0+e/,`e`)),s){let e=parseInt(s,10);a=o.includes(`-`)?a.padEnd(e):a.padStart(e)}r+=a,l===void 0&&n++;break}case`x`:case`X`:{let e=p===void 0?0:Math.floor(Number(p));Number.isNaN(e)&&(e=0);let t=Math.abs(e).toString(16);if(f===`X`&&(t=t.toUpperCase()),c){let e=parseInt(c,10);t=t.padStart(e,`0`)}let i=e<0?`-`:``,a=i+t;if(s){let e=parseInt(s,10);a=o.includes(`-`)?a.padEnd(e):o.includes(`0`)&&!c?i+t.padStart(e-i.length,`0`):a.padStart(e)}r+=a,l===void 0&&n++;break}case`o`:{let e=p===void 0?0:Math.floor(Number(p));Number.isNaN(e)&&(e=0);let t=Math.abs(e).toString(8);if(c){let e=parseInt(c,10);t=t.padStart(e,`0`)}let i=e<0?`-`:``,a=i+t;if(s){let e=parseInt(s,10);a=o.includes(`-`)?a.padEnd(e):o.includes(`0`)&&!c?i+t.padStart(e-i.length,`0`):a.padStart(e)}r+=a,l===void 0&&n++;break}case`c`:typeof p==`number`?r+=String.fromCharCode(p):r+=String(p??``).charAt(0)||``,l===void 0&&n++;break;case`%`:r+=`%`;break;default:r+=e.substring(i,a+1)}i=a+1}else if(e[i]===`\\`&&i+1<e.length){let t=e[i+1];switch(t){case`n`:r+=`
4
4
  `;break;case`t`:r+=` `;break;case`r`:r+=`\r`;break;case`\\`:r+=`\\`;break;default:r+=t}i+=2}else r+=e[i++];return r}var be=new Map([[`length`,ee],[`substr`,x],[`index`,S],[`split`,C],[`sub`,te],[`gsub`,ne],[`match`,ie],[`gensub`,ae],[`tolower`,se],[`toupper`,ce],[`sprintf`,le],[`int`,ue],[`sqrt`,de],[`sin`,fe],[`cos`,pe],[`atan2`,me],[`log`,he],[`exp`,ge],[`rand`,_e],[`srand`,ve],[`system`,ye(`system`,`shell execution not allowed in sandboxed environment`)],[`close`,()=>0],[`fflush`,()=>0],[`systime`,w(`systime`)],[`mktime`,w(`mktime`)],[`strftime`,w(`strftime`)]]);function D(e){return typeof e==`number`?e!==0:!(e===``||e===`0`)}function O(e){if(typeof e==`number`)return e;let t=parseFloat(e);return Number.isNaN(t)?0:t}function k(e){return typeof e==`string`?e:String(e)}function xe(e){if(typeof e==`number`)return!0;let t=String(e).trim();return t===``?!1:!Number.isNaN(Number(t))}function A(e,n){try{return t(e).test(n)}catch{return!1}}function j(e,t){return t===``?[]:e.FS===` `?t.trim().split(/\s+/).filter(Boolean):e.fieldSep.split(t)}function M(e,t){return t===0?e.line:t<0||t>e.fields.length?``:e.fields[t-1]??``}function N(e,t,n){if(t===0)e.line=k(n),e.fields=j(e,e.line),e.NF=e.fields.length;else if(t>0){for(;e.fields.length<t;)e.fields.push(``);e.fields[t-1]=k(n),e.NF=e.fields.length,e.line=e.fields.join(e.OFS)}}function P(e,t){e.line=t,e.fields=j(e,t),e.NF=e.fields.length}function Se(n,r){if(n.FS=r,r===` `)n.fieldSep=new e(/\s+/);else try{n.fieldSep=t(r)}catch{n.fieldSep=t(r.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`))}}function F(e,t){switch(t){case`FS`:return e.FS;case`OFS`:return e.OFS;case`ORS`:return e.ORS;case`OFMT`:return e.OFMT;case`NR`:return e.NR;case`NF`:return e.NF;case`FNR`:return e.FNR;case`FILENAME`:return e.FILENAME;case`RSTART`:return e.RSTART;case`RLENGTH`:return e.RLENGTH;case`SUBSEP`:return e.SUBSEP;case`ARGC`:return e.ARGC}return e.vars[t]??``}function I(e,t,n){switch(t){case`FS`:Se(e,k(n));return;case`OFS`:e.OFS=k(n);return;case`ORS`:e.ORS=k(n);return;case`OFMT`:e.OFMT=k(n);return;case`NR`:e.NR=Math.floor(O(n));return;case`NF`:{let t=Math.floor(O(n));if(t<e.NF)e.fields=e.fields.slice(0,t),e.line=e.fields.join(e.OFS);else if(t>e.NF){for(;e.fields.length<t;)e.fields.push(``);e.line=e.fields.join(e.OFS)}e.NF=t;return}case`FNR`:e.FNR=Math.floor(O(n));return;case`FILENAME`:e.FILENAME=k(n);return;case`RSTART`:e.RSTART=Math.floor(O(n));return;case`RLENGTH`:e.RLENGTH=Math.floor(O(n));return;case`SUBSEP`:e.SUBSEP=k(n);return}e.vars[t]=n}function L(e,t){let n=t,r=new Set,i=e.arrayAliases.get(n);for(;i!==void 0&&!r.has(n);)r.add(n),n=i,i=e.arrayAliases.get(n);return n}function R(e,t,n){if(t===`ARGV`)return e.ARGV[n]??``;if(t===`ENVIRON`)return e.ENVIRON[n]??``;let r=L(e,t);return e.arrays[r]?.[n]??``}function Ce(e,t,n,r){let i=L(e,t);e.arrays[i]||(e.arrays[i]=Object.create(null)),e.arrays[i][n]=r}function we(e,t,n){if(t===`ARGV`)return e.ARGV[n]!==void 0;if(t===`ENVIRON`)return e.ENVIRON[n]!==void 0;let r=L(e,t);return e.arrays[r]?.[n]!==void 0}function Te(e,t,n){let r=L(e,t);e.arrays[r]&&delete e.arrays[r][n]}function Ee(e,t){let n=L(e,t);delete e.arrays[n]}var De=null;function Oe(e){De=e}function z(e,t){o(e.requireDefenseContext,`awk`,t)}function B(e,t,n){return a(e.requireDefenseContext,`awk`,t,n)}async function V(e,t){switch(z(e,`expression evaluation`),e.coverage?.hit(`awk:expr:${t.type}`),t.type){case`number`:return t.value;case`string`:return t.value;case`regex`:return A(t.pattern,e.line)?1:0;case`field`:return ke(e,t);case`variable`:return F(e,t.name);case`array_access`:return Ae(e,t);case`binary`:return je(e,t);case`unary`:return Pe(e,t);case`ternary`:return D(await B(e,`ternary condition evaluation`,()=>V(e,t.condition)))?await B(e,`ternary consequent evaluation`,()=>V(e,t.consequent)):await B(e,`ternary alternate evaluation`,()=>V(e,t.alternate));case`call`:return Fe(e,t.name,t.args);case`assignment`:return Le(e,t);case`pre_increment`:return Re(e,t.operand);case`pre_decrement`:return ze(e,t.operand);case`post_increment`:return Be(e,t.operand);case`post_decrement`:return Ve(e,t.operand);case`in`:return He(e,t.key,t.array);case`getline`:return Ue(e,t.variable,t.file,t.command);case`tuple`:return Ke(e,t.elements);default:return``}}async function ke(e,t){return z(e,`field reference evaluation`),M(e,Math.floor(O(await B(e,`field index evaluation`,()=>V(e,t.index)))))}async function Ae(e,t){z(e,`array access evaluation`);let n=k(await B(e,`array key evaluation`,()=>V(e,t.key)));return R(e,t.array,n)}async function je(e,r){z(e,`binary expression evaluation`);let i=r.operator;if(i===`||`)return D(await B(e,`logical-or left evaluation`,()=>V(e,r.left)))||D(await B(e,`logical-or right evaluation`,()=>V(e,r.right)))?1:0;if(i===`&&`)return D(await B(e,`logical-and left evaluation`,()=>V(e,r.left)))&&D(await B(e,`logical-and right evaluation`,()=>V(e,r.right)))?1:0;if(i===`~`){let n=await B(e,`regex left evaluation`,()=>V(e,r.left));r.right.type===`regex`&&e.coverage?.hit(`awk:expr:regex`);let i=r.right.type===`regex`?r.right.pattern:k(await B(e,`regex right evaluation`,()=>V(e,r.right)));try{return t(i).test(k(n))?1:0}catch{return 0}}if(i===`!~`){let n=await B(e,`negated-regex left evaluation`,()=>V(e,r.left));r.right.type===`regex`&&e.coverage?.hit(`awk:expr:regex`);let i=r.right.type===`regex`?r.right.pattern:k(await B(e,`negated-regex right evaluation`,()=>V(e,r.right)));try{return t(i).test(k(n))?0:1}catch{return 1}}let a=await B(e,`binary left evaluation`,()=>V(e,r.left)),o=await B(e,`binary right evaluation`,()=>V(e,r.right));if(i===` `){let t=k(a)+k(o);if(e.maxOutputSize>0&&t.length>e.maxOutputSize)throw new n(`awk: string concatenation size limit exceeded (${e.maxOutputSize} bytes)`,`string_length`,e.output);return t}return Me(i)?Ne(a,o,i):m(O(a),O(o),i)}function Me(e){return[`<`,`<=`,`>`,`>=`,`==`,`!=`].includes(e)}function Ne(e,t,n){let r=xe(e),i=xe(t);if(r&&i){let r=O(e),i=O(t);switch(n){case`<`:return r<i?1:0;case`<=`:return r<=i?1:0;case`>`:return r>i?1:0;case`>=`:return r>=i?1:0;case`==`:return r===i?1:0;case`!=`:return r===i?0:1}}let a=k(e),o=k(t);switch(n){case`<`:return a<o?1:0;case`<=`:return a<=o?1:0;case`>`:return a>o?1:0;case`>=`:return a>=o?1:0;case`==`:return a===o?1:0;case`!=`:return a===o?0:1}return 0}async function Pe(e,t){z(e,`unary expression evaluation`);let n=await B(e,`unary operand evaluation`,()=>V(e,t.operand));switch(t.operator){case`!`:return D(n)?0:1;case`-`:return-O(n);case`+`:return+O(n);default:return n}}async function Fe(e,t,n){z(e,`function call evaluation`);let r=be.get(t);if(r)return r(n,e,{evalExpr:t=>V(e,t)});let i=e.functions.get(t);return i?Ie(e,i,n):``}async function Ie(e,t,r){if(z(e,`user function call`),e.currentRecursionDepth++,e.currentRecursionDepth>e.maxRecursionDepth)throw e.currentRecursionDepth--,new n(`awk: recursion depth exceeded maximum (${e.maxRecursionDepth})`,`recursion`,e.output);let i=Object.create(null);for(let n of t.params)i[n]=e.vars[n];let a=[];for(let n=0;n<t.params.length;n++){let i=t.params[n];if(n<r.length){let t=r[n];t.type===`variable`&&(e.arrayAliases.set(i,t.name),a.push(i));let o=await B(e,`user function argument evaluation`,()=>V(e,t));e.vars[i]=o}else e.vars[i]=``}e.hasReturn=!1,e.returnValue=void 0;let o=De;o&&await B(e,`user function body execution`,()=>o(e,t.body.statements));let s=e.returnValue??``;for(let n of t.params)i[n]===void 0?delete e.vars[n]:e.vars[n]=i[n];for(let t of a)e.arrayAliases.delete(t);return e.hasReturn=!1,e.returnValue=void 0,e.currentRecursionDepth--,s}async function Le(e,t){z(e,`assignment evaluation`);let n=await B(e,`assignment value evaluation`,()=>V(e,t.value)),r=t.target,i=t.operator,a;if(i===`=`)a=n;else{let t;if(r.type===`field`)t=M(e,Math.floor(O(await B(e,`assignment field index`,()=>V(e,r.index)))));else if(r.type===`variable`)t=F(e,r.name);else{let n=k(await B(e,`assignment array key`,()=>V(e,r.key)));t=R(e,r.array,n)}let o=O(t),s=O(n);switch(i){case`+=`:a=o+s;break;case`-=`:a=o-s;break;case`*=`:a=o*s;break;case`/=`:a=s===0?0:o/s;break;case`%=`:a=s===0?0:o%s;break;case`^=`:a=o**s;break;default:a=n}}if(r.type===`field`)N(e,Math.floor(O(await B(e,`assignment target field index`,()=>V(e,r.index)))),a);else if(r.type===`variable`)I(e,r.name,a);else{let t=k(await B(e,`assignment target array key`,()=>V(e,r.key)));Ce(e,r.array,t,a)}return a}async function H(e,t,n,r){z(e,`inc/dec evaluation`);let i;if(t.type===`field`){let r=Math.floor(O(await B(e,`inc/dec field index`,()=>V(e,t.index))));i=O(M(e,r)),N(e,r,i+n)}else if(t.type===`variable`)i=O(F(e,t.name)),I(e,t.name,i+n);else{let r=k(await B(e,`inc/dec array key`,()=>V(e,t.key)));i=O(R(e,t.array,r)),Ce(e,t.array,r,i+n)}return r?i+n:i}async function Re(e,t){return H(e,t,1,!0)}async function ze(e,t){return H(e,t,-1,!0)}async function Be(e,t){return H(e,t,1,!1)}async function Ve(e,t){return H(e,t,-1,!1)}async function He(e,t,n){z(e,`in-expression evaluation`);let r;if(t.type===`tuple`){e.coverage?.hit(`awk:expr:tuple`);let n=[];for(let r of t.elements)n.push(k(await B(e,`tuple key element evaluation`,()=>V(e,r))));r=n.join(e.SUBSEP)}else r=k(await B(e,`in-expression key evaluation`,()=>V(e,t)));return we(e,n,r)?1:0}async function Ue(e,t,n,r){if(z(e,`getline evaluation`),r)return We(e,t,r);if(n)return Ge(e,t,n);if(!e.lines||e.lineIndex===void 0)return-1;let i=e.lineIndex+1;if(i>=e.lines.length)return 0;let a=e.lines[i];return t?I(e,t,a):P(e,a),e.NR++,e.lineIndex=i,1}async function We(e,t,n){let i=e.exec;if(!i)return-1;z(e,`getline command source`);let a=k(await B(e,`getline command expression`,()=>V(e,n))),o=`__cmd_${a}`,s=`__cmdi_${a}`,c,l;if(e.vars[o]===void 0)try{c=(await B(e,`getline command exec`,()=>i(a))).stdout.split(`
@@ -18,4 +18,4 @@ import{n as e,t}from"./chunk-YNYSPYQ5-BpP11HXS.mjs";import{i as n}from"./chunk-G
18
18
  `);t.length>0&&t[t.length-1]===``&&t.pop(),e.push({filename:``,lines:t})}for(let t of e){for(S.FILENAME=t.filename,S.FNR=0,S.lines=t.lines,S.lineIndex=-1,S.shouldNextFile=!1;S.lineIndex<t.lines.length-1;){S.lineIndex++;let e=S.lineIndex;if(await d(`line execution`,()=>C.executeLine(t.lines[e])),S.shouldExit||S.shouldNextFile)break}if(S.shouldExit)break}return await d(`END execution`,()=>C.executeEnd()),{stdout:C.getOutput(),stderr:``,exitCode:C.getExitCode()}}catch(e){if(e instanceof r)throw e;let t=e instanceof Error?e.message:String(e),i=e instanceof n?n.EXIT_CODE:2;return{stdout:C.getOutput(),stderr:`awk: ${t}
19
19
  `,exitCode:i}}}};function $(e){return e.replace(/\\t/g,` `).replace(/\\n/g,`
20
20
  `).replace(/\\r/g,`\r`).replace(/\\b/g,`\b`).replace(/\\f/g,`\f`).replace(/\\a/g,`\x07`).replace(/\\v/g,`\v`).replace(/\\\\/g,`\\`)}function bt(e){if(e===` `)return t(`\\s+`);if(/[[\](){}.*+?^$|\\]/.test(e))try{return t(e)}catch{return t(xt(e))}return t(xt(e))}function xt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}var St={name:`awk`,flags:[{flag:`-F`,type:`value`,valueHint:`delimiter`},{flag:`-v`,type:`value`,valueHint:`string`}],stdinType:`text`,needsArgs:!0};export{yt as n,St as t};
21
- //# sourceMappingURL=chunk-OARHFVLG-CY8D2Qov.mjs.map
21
+ //# sourceMappingURL=chunk-OARHFVLG-Cr0x3Si_.mjs.map
@@ -1,7 +1,7 @@
1
- import{t as e}from"./chunk-44UOCSGV-BUBpWxXm.mjs";import{n as t}from"./chunk-74CEPOFO-D1bzz49u.mjs";function n(e){let t=e.replace(/\//g,`-`),n=new Date(t);if(!Number.isNaN(n.getTime()))return n;let r=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(r){let[,e,t,i]=r;if(n=new Date(Number.parseInt(e,10),Number.parseInt(t,10)-1,Number.parseInt(i,10)),!Number.isNaN(n.getTime()))return n}let i=t.match(/^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/);if(i){let[,e,t,r,a,o,s]=i;if(n=new Date(Number.parseInt(e,10),Number.parseInt(t,10)-1,Number.parseInt(r,10),Number.parseInt(a,10),Number.parseInt(o,10),Number.parseInt(s,10)),!Number.isNaN(n.getTime()))return n}return null}var r={name:`touch`,async execute(r,i){let a=[],o=null,s=!1;for(let e=0;e<r.length;e++){let n=r[e];if(n===`--`){a.push(...r.slice(e+1));break}else if(n===`-d`||n===`--date`){if(e+1>=r.length)return{stdout:``,stderr:`touch: option requires an argument -- 'd'
1
+ import{t as e}from"./chunk-44UOCSGV-CaFxJDHm.mjs";import{n as t}from"./chunk-74CEPOFO-BcZUJMO1.mjs";function n(e){let t=e.replace(/\//g,`-`),n=new Date(t);if(!Number.isNaN(n.getTime()))return n;let r=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(r){let[,e,t,i]=r;if(n=new Date(Number.parseInt(e,10),Number.parseInt(t,10)-1,Number.parseInt(i,10)),!Number.isNaN(n.getTime()))return n}let i=t.match(/^(\d{4})-(\d{2})-(\d{2})\s+(\d{2}):(\d{2}):(\d{2})$/);if(i){let[,e,t,r,a,o,s]=i;if(n=new Date(Number.parseInt(e,10),Number.parseInt(t,10)-1,Number.parseInt(r,10),Number.parseInt(a,10),Number.parseInt(o,10),Number.parseInt(s,10)),!Number.isNaN(n.getTime()))return n}return null}var r={name:`touch`,async execute(r,i){let a=[],o=null,s=!1;for(let e=0;e<r.length;e++){let n=r[e];if(n===`--`){a.push(...r.slice(e+1));break}else if(n===`-d`||n===`--date`){if(e+1>=r.length)return{stdout:``,stderr:`touch: option requires an argument -- 'd'
2
2
  `,exitCode:1};o=r[++e]}else if(n.startsWith(`--date=`))o=n.slice(7);else if(n===`-c`||n===`--no-create`)s=!0;else if(n===`-a`||n===`-m`||n===`-r`||n===`-t`)(n===`-r`||n===`-t`)&&e++;else{if(n.startsWith(`--`))return t(`touch`,n);if(n.startsWith(`-`)&&n.length>1){let i=!1;for(let a of n.slice(1))if(a===`c`)s=!0;else if(!(a===`a`||a===`m`))if(a===`d`){if(e+1>=r.length)return{stdout:``,stderr:`touch: option requires an argument -- 'd'
3
3
  `,exitCode:1};o=r[++e],i=!0;break}else if(a===`r`||a===`t`){e++,i=!0;break}else return t(`touch`,`-${a}`);if(i)continue}else a.push(n)}}if(a.length===0)return{stdout:``,stderr:`touch: missing file operand
4
4
  `,exitCode:1};let c=null;if(o!==null&&(c=n(o),c===null))return{stdout:``,stderr:`touch: invalid date format '${o}'
5
5
  `,exitCode:1};let l=``,u=0;for(let t of a)try{let e=i.fs.resolvePath(i.cwd,t);if(!await i.fs.exists(e)){if(s)continue;await i.fs.writeFile(e,``)}let n=c??new Date;await i.fs.utimes(e,n,n)}catch(n){l+=`touch: cannot touch '${t}': ${e(n)}
6
6
  `,u=1}return{stdout:``,stderr:l,exitCode:u}}},i={name:`touch`,flags:[{flag:`-c`,type:`boolean`},{flag:`-a`,type:`boolean`},{flag:`-m`,type:`boolean`},{flag:`-d`,type:`value`,valueHint:`string`}],needsArgs:!0};export{i as n,r as t};
7
- //# sourceMappingURL=chunk-OCLXQMOG-BMsyLQhm.mjs.map
7
+ //# sourceMappingURL=chunk-OCLXQMOG-BW6rwyzS.mjs.map
@@ -1,4 +1,4 @@
1
- import{t as e}from"./chunk-44UOCSGV-BUBpWxXm.mjs";import{t}from"./chunk-HWKDQ44K-CPSjqtR_.mjs";var n=`Usage: rmdir [-pv] DIRECTORY...
1
+ import{t as e}from"./chunk-44UOCSGV-CaFxJDHm.mjs";import{t}from"./chunk-HWKDQ44K-wgmyck2O.mjs";var n=`Usage: rmdir [-pv] DIRECTORY...
2
2
  Remove empty directories.
3
3
 
4
4
  Options:
@@ -11,4 +11,4 @@ Options:
11
11
  `,exitCode:1};await t.fs.rm(n,{recursive:!1,force:!1});let e=``;return i&&(e=`rmdir: removing directory, '${r}'
12
12
  `),{stdout:e,stderr:``,exitCode:0}}catch(t){return{stdout:``,stderr:`rmdir: failed to remove '${r}': ${e(t)}
13
13
  `,exitCode:1}}}function s(e){let t=e.replace(/\/+$/,``),n=t.lastIndexOf(`/`);return n===-1?`.`:n===0?`/`:t.substring(0,n)}var c={name:`rmdir`,flags:[{flag:`-p`,type:`boolean`},{flag:`-v`,type:`boolean`}],needsArgs:!0};export{i as n,c as t};
14
- //# sourceMappingURL=chunk-OCS6LSEM-BHslttnj.mjs.map
14
+ //# sourceMappingURL=chunk-OCS6LSEM-D7VAOziZ.mjs.map
@@ -1,2 +1,2 @@
1
1
  function e(e){return Object.assign(Object.create(null),Object.fromEntries(e))}function t(e,t){return Object.assign(Object.create(null),Object.fromEntries(e),t)}function n(...e){return Object.assign(Object.create(null),...e)}export{t as n,e as r,n as t};
2
- //# sourceMappingURL=chunk-OJDRYQWQ-BV5MVRVg.mjs.map
2
+ //# sourceMappingURL=chunk-OJDRYQWQ-ikvLWpfV.mjs.map
@@ -1,4 +1,4 @@
1
- import{t as e}from"./chunk-YNYSPYQ5-BpP11HXS.mjs";import{i as t}from"./chunk-GFQRA5P5-1fzItQ8F.mjs";import{n}from"./chunk-5QMZ5MUS-DWTkM0vM.mjs";import{r,t as i}from"./chunk-24IMIIXA-Bz7rlZT3.mjs";import{n as a}from"./chunk-3THT3N7L-klp8GP84.mjs";import{n as o,r as s,t as c}from"./chunk-74CEPOFO-D1bzz49u.mjs";var l=new Map([[`alnum`,`a-zA-Z0-9`],[`alpha`,`a-zA-Z`],[`ascii`,`\\x00-\\x7F`],[`blank`,` \\t`],[`cntrl`,`\\x00-\\x1F\\x7F`],[`digit`,`0-9`],[`graph`,`!-~`],[`lower`,`a-z`],[`print`,` -~`],[`punct`,"!-/:-@\\[-`{-~"],[`space`,` \\t\\n\\r\\f\\v`],[`upper`,`A-Z`],[`word`,`a-zA-Z0-9_`],[`xdigit`,`0-9A-Fa-f`]]);function u(e){let t=``,n=0,r=!1;for(;n<e.length;){if(e[n]===`[`&&!r){if(e[n+1]===`[`&&e[n+2]===`:`){let r=e.indexOf(`:]]`,n+3);if(r!==-1){let i=e.slice(n+3,r),a=l.get(i);if(a){t+=`[${a}]`,n=r+3;continue}}}if(e[n+1]===`^`&&e[n+2]===`[`&&e[n+3]===`:`){let r=e.indexOf(`:]]`,n+4);if(r!==-1){let i=e.slice(n+4,r),a=l.get(i);if(a){t+=`[^${a}]`,n=r+3;continue}}}t+=`[`,n++,r=!0,n<e.length&&e[n]===`^`&&(t+=`^`,n++),n<e.length&&e[n]===`]`&&(t+=`\\]`,n++);continue}if(r){if(e[n]===`]`){t+=`]`,n++,r=!1;continue}if(e[n]===`[`&&e[n+1]===`:`){let r=e.indexOf(`:]`,n+2);if(r!==-1){let i=e.slice(n+2,r),a=l.get(i);if(a){t+=a,n=r+2;continue}}}if(e[n]===`\\`&&n+1<e.length){t+=e[n]+e[n+1],n+=2;continue}t+=e[n],n++;continue}if(e[n]===`\\`&&n+1<e.length){let r=e[n+1];if(r===`+`||r===`?`||r===`|`){t+=r,n+=2;continue}if(r===`(`||r===`)`){t+=r,n+=2;continue}if(r===`{`||r===`}`){t+=r,n+=2;continue}if(r===`t`){t+=` `,n+=2;continue}if(r===`n`){t+=`
1
+ import{t as e}from"./chunk-YNYSPYQ5-DesxOVHh.mjs";import{i as t}from"./chunk-GFQRA5P5-DnjwTqP3.mjs";import{n}from"./chunk-5QMZ5MUS-CAp625aG.mjs";import{r,t as i}from"./chunk-24IMIIXA-B6yIPkk2.mjs";import{n as a}from"./chunk-3THT3N7L-DztAF386.mjs";import{n as o,r as s,t as c}from"./chunk-74CEPOFO-BcZUJMO1.mjs";var l=new Map([[`alnum`,`a-zA-Z0-9`],[`alpha`,`a-zA-Z`],[`ascii`,`\\x00-\\x7F`],[`blank`,` \\t`],[`cntrl`,`\\x00-\\x1F\\x7F`],[`digit`,`0-9`],[`graph`,`!-~`],[`lower`,`a-z`],[`print`,` -~`],[`punct`,"!-/:-@\\[-`{-~"],[`space`,` \\t\\n\\r\\f\\v`],[`upper`,`A-Z`],[`word`,`a-zA-Z0-9_`],[`xdigit`,`0-9A-Fa-f`]]);function u(e){let t=``,n=0,r=!1;for(;n<e.length;){if(e[n]===`[`&&!r){if(e[n+1]===`[`&&e[n+2]===`:`){let r=e.indexOf(`:]]`,n+3);if(r!==-1){let i=e.slice(n+3,r),a=l.get(i);if(a){t+=`[${a}]`,n=r+3;continue}}}if(e[n+1]===`^`&&e[n+2]===`[`&&e[n+3]===`:`){let r=e.indexOf(`:]]`,n+4);if(r!==-1){let i=e.slice(n+4,r),a=l.get(i);if(a){t+=`[^${a}]`,n=r+3;continue}}}t+=`[`,n++,r=!0,n<e.length&&e[n]===`^`&&(t+=`^`,n++),n<e.length&&e[n]===`]`&&(t+=`\\]`,n++);continue}if(r){if(e[n]===`]`){t+=`]`,n++,r=!1;continue}if(e[n]===`[`&&e[n+1]===`:`){let r=e.indexOf(`:]`,n+2);if(r!==-1){let i=e.slice(n+2,r),a=l.get(i);if(a){t+=a,n=r+2;continue}}}if(e[n]===`\\`&&n+1<e.length){t+=e[n]+e[n+1],n+=2;continue}t+=e[n],n++;continue}if(e[n]===`\\`&&n+1<e.length){let r=e[n+1];if(r===`+`||r===`?`||r===`|`){t+=r,n+=2;continue}if(r===`(`||r===`)`){t+=r,n+=2;continue}if(r===`{`||r===`}`){t+=r,n+=2;continue}if(r===`t`){t+=` `,n+=2;continue}if(r===`n`){t+=`
2
2
  `,n+=2;continue}if(r===`r`){t+=`\r`,n+=2;continue}t+=e[n]+r,n+=2;continue}if(e[n]===`+`||e[n]===`?`||e[n]===`|`||e[n]===`(`||e[n]===`)`){t+=`\\${e[n]}`,n++;continue}if(e[n]===`^`&&!(t===``||t.endsWith(`(`))){t+=`\\^`,n++;continue}if(e[n]===`$`){let r=n===e.length-1,i=n+2<e.length&&e[n+1]===`\\`&&e[n+2]===`)`;if(!r&&!i){t+=`\\$`,n++;continue}}t+=e[n],n++}return t}function d(e){let t=``,n=!1;for(let r=0;r<e.length;r++)e[r]===`[`&&!n?(n=!0,t+=`[`,r++,r<e.length&&e[r]===`^`&&(t+=`^`,r++),r<e.length&&e[r]===`]`&&(t+=`]`,r++),r--):e[r]===`]`&&n?(n=!1,t+=`]`):!n&&e[r]===`{`&&e[r+1]===`,`?(t+=`{0,`,r++):t+=e[r];return t}function f(e){let t=``;for(let n=0;n<e.length;n++){let r=e[n],i=r.charCodeAt(0);r===`\\`?t+=`\\\\`:r===` `?t+=`\\t`:r===`
3
3
  `?t+=`$
4
4
  `:r===`\r`?t+=`\\r`:r===`\x07`?t+=`\\a`:r===`\b`?t+=`\\b`:r===`\f`?t+=`\\f`:r===`\v`?t+=`\\v`:i<32||i>=127?t+=`\\${i.toString(8).padStart(3,`0`)}`:t+=r}return`${t}$`}var p=1e4;function m(e,t,n){return{patternSpace:``,holdSpace:``,lineNumber:0,totalLines:e,deleted:!1,printed:!1,quit:!1,quitSilent:!1,exitCode:void 0,errorMessage:void 0,appendBuffer:[],substitutionMade:!1,lineNumberOutput:[],nCommandOutput:[],restartCycle:!1,inDRestartedCycle:!1,currentFilename:t,pendingFileReads:[],pendingFileWrites:[],rangeStates:n||new Map,linesConsumedInCycle:0}}function h(e){return typeof e==`object`&&`first`in e&&`step`in e}function g(e){return typeof e==`object`&&`offset`in e}function _(t,n,r,i,a){if(t===`$`)return n===r;if(typeof t==`number`)return n===t;if(h(t)){let{first:e,step:r}=t;return r===0?n===e:(n-e)%r===0&&n>=e}if(typeof t==`object`&&`pattern`in t)try{let n=t.pattern;return n===``&&a?.lastPattern?n=a.lastPattern:n!==``&&a&&(a.lastPattern=n),e(d(u(n))).test(i)}catch{return!1}return!1}function v(e){let t=e=>e===void 0?`undefined`:e===`$`?`$`:typeof e==`number`?String(e):`pattern`in e?`/${e.pattern}/`:`first`in e?`${e.first}~${e.step}`:`unknown`;return`${t(e.start)},${t(e.end)}`}function y(e,t,n,r,i,a){if(!e||!e.start&&!e.end)return!0;let o=e.start,s=e.end;if(o!==void 0&&s===void 0)return _(o,t,n,r,a);if(o!==void 0&&s!==void 0){let c=typeof o==`object`&&`pattern`in o,l=typeof s==`object`&&`pattern`in s,u=g(s);if(u&&i){let c=v(e),l=i.get(c);return l||(l={active:!1},i.set(c,l)),l.active?(t>=(l.startLine||t)+s.offset&&(l.active=!1,i.set(c,l)),!0):_(o,t,n,r,a)?(l.active=!0,l.startLine=t,i.set(c,l),s.offset===0&&(l.active=!1,i.set(c,l)),!0):!1}if(!c&&!l&&!u){let r=typeof o==`number`?o:o===`$`?n:1,a=typeof s==`number`?s:n;if(r<=a)return t>=r&&t<=a;if(i){let n=v(e),a=i.get(n);return a||(a={active:!1},i.set(n,a)),!a.completed&&t>=r?(a.completed=!0,i.set(n,a),!0):!1}return!1}if(i){let c=v(e),l=i.get(c);if(l||(l={active:!1},i.set(c,l)),l.active)return _(s,t,n,r,a)&&(l.active=!1,typeof o==`number`&&(l.completed=!0),i.set(c,l)),!0;{if(l.completed)return!1;let e=!1;return e=typeof o==`number`?t>=o:_(o,t,n,r,a),e?(l.active=!0,l.startLine=t,i.set(c,l),_(s,t,n,r,a)&&(l.active=!1,typeof o==`number`&&(l.completed=!0),i.set(c,l)),!0):!1}}return _(o,t,n,r,a)}return!0}function b(e,t,n,r,i,a){let o=y(e,t,n,r,i,a);return e?.negated?!o:o}function x(e,t,n,r){let i=``,a=0,o=!1;for(;a<=e.length;){t.lastIndex=a;let n=t.exec(e);if(!n){i+=e.slice(a);break}if(n.index!==a){i+=e.slice(a,n.index),a=n.index,o=!1;continue}let s=n[0],c=n.slice(1);if(o&&s.length===0){if(a<e.length)i+=e[a],a++;else break;o=!1;continue}if(i+=r(s,c),o=!1,s.length===0)if(a<e.length)i+=e[a],a++;else break;else a+=s.length,o=!0}return i}function S(e,t,n){let r=``,i=0;for(;i<e.length;){if(e[i]===`\\`&&i+1<e.length){let a=e[i+1];if(a===`&`){r+=`&`,i+=2;continue}if(a===`n`){r+=`
@@ -97,4 +97,4 @@ Addresses:
97
97
  `),x+=r}try{let e=await u(`final processing`,()=>F(x,_,b,{limits:l.limits,filename:g.length===1?g[0]:void 0,fs:l.fs,cwd:l.cwd,coverage:l.coverage,requireDefenseContext:l.requireDefenseContext}));return{stdout:e.output,stderr:e.errorMessage?`${e.errorMessage}
98
98
  `:``,exitCode:e.exitCode??0}}catch(e){if(e instanceof n)throw e;if(e instanceof t)return{stdout:``,stderr:`sed: ${a(e.message)}
99
99
  `,exitCode:t.EXIT_CODE};throw e}}},L={name:`sed`,flags:[{flag:`-n`,type:`boolean`},{flag:`-i`,type:`boolean`},{flag:`-E`,type:`boolean`},{flag:`-r`,type:`boolean`},{flag:`-e`,type:`value`,valueHint:`string`}],stdinType:`text`,needsArgs:!0};export{L as n,I as t};
100
- //# sourceMappingURL=chunk-OL3S66CO-Bmgu4tW4.mjs.map
100
+ //# sourceMappingURL=chunk-OL3S66CO-CQnF8cPH.mjs.map