@sheetxl/mcp 0.8.0-beta.22 → 0.8.0-beta.24

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 (215) hide show
  1. package/assets/{BHsqPfJZrdKTbPLP.js → 2YT_wstXIH6UIigi.js} +1 -1
  2. package/assets/{DtvJg63vbDd6B7sD.js → 3VycPrqi6qgLOgGY.js} +6 -6
  3. package/assets/{DoScYrfTJOHXe-Ko.js → 6CBUVbF01Bedq0e2.js} +66 -66
  4. package/assets/{D-MsUF59BhikcNZt.js → 76dPHG5RYA7MUV_g.js} +3 -3
  5. package/assets/{DgVCjvTw9Df1DV1x.js → 7IzItpr7MkdnaAwh.js} +167 -167
  6. package/assets/{DevKDvFONeJ9euEq.js → 7vPlH3_rhJxmmBvG.js} +1 -1
  7. package/assets/{BV49J63s68Mj6lgF.js → 9GnbVPKozgrJpeLW.js} +1 -1
  8. package/assets/{VSbzBtGH0cA8VBsM.js → B-5mBXpY9i6-eCrZ.js} +39 -39
  9. package/assets/{4zyHb1mmcFfqwpjO.js → B-t1q2NS61c2B8E4.js} +1 -1
  10. package/assets/{BSdRn3B8QeJFflY6.js → B16G2473LTkZP6Mq.js} +157 -137
  11. package/assets/{DrLUi6vduqDLmQjl.js → B4uS01J0mrSJSftQ.js} +89 -89
  12. package/assets/{BzFIkeB_lheiTR7z.js → B6caaQsfOpFEgYQ4.js} +1 -1
  13. package/assets/{b-xk3WtCPBkC4E-Z.js → B7lATTNffVTrDsKE.js} +2 -2
  14. package/assets/{hhpAcu3tINDLk7Ov.js → B8bEJ65vQRqsfBlS.js} +5 -5
  15. package/assets/{ryaMyh_8KvmXVSJd.js → BAVltO4Xf7lC0Xr6.js} +1 -1
  16. package/assets/{3N6hsbh2WLceyO6T.js → BH7ctzMzOYVTGxzA.js} +1 -1
  17. package/assets/{HVwvDMZh0ZGR-hRT.js → BJqo8c5bFKjnq69G.js} +11 -11
  18. package/assets/{DEOkcuqKBFyRnY18.js → BJwiwzwx4Bl5L4Vq.js} +1 -1
  19. package/assets/{CT99WREgkKGpcDTO.js → BPNLZ07Bu_B8Yhf1.js} +1 -1
  20. package/assets/{CSKjFDYwiwn5XNnH.js → BWLavTnANLUerdS0.js} +2 -2
  21. package/assets/{Dvsld01DkmiNLjfP.js → BXWGS09xFG81nnIT.js} +1 -1
  22. package/assets/{C4-0s3Udk3v4ytSn.js → BaYk1vO2hP2S3_1w.js} +2 -2
  23. package/assets/{CHqnRMWNpLKcAWWn.js → BifwlrCmEVtjh_1U.js} +1 -1
  24. package/assets/{CYCqMEoWsry6_hrc.js → BjyXkr-CzV8mVx0t.js} +1 -1
  25. package/assets/{Ds5pLAwSN4lSbao6.js → BkHeIMSE7-LehRCs.js} +1 -1
  26. package/assets/{CwNKcoA7na7Ess3a.js → BkekCZ17YTtd07_C.js} +2 -2
  27. package/assets/{0jPw8-AyT6VbPuGO.js → BnNB_ejvNaLu6B3o.js} +1 -1
  28. package/assets/{BPZWfwUvFCLQInXN.js → BrJd9jVVv9SQzZol.js} +400 -400
  29. package/assets/{BRVEVVhj-8ZPrNyQ.js → BrYc6PLonux_gI6b.js} +223 -223
  30. package/assets/{Cu4VAHfmjXWfTMPu.js → BxwB3iTNSE1TgHkb.js} +1 -1
  31. package/assets/{DgYcOz0M0pmZf9x_.js → By1QPrSxtnRiJu0R.js} +2 -2
  32. package/assets/{B5VTjL9m0R-Icfaz.js → ByYJTTTUuu67hDF-.js} +4 -4
  33. package/assets/{CXk5vwFfosghrTKo.js → C-nA4SXN5hWHaxV6.js} +535 -535
  34. package/assets/{BnGNMsqG5CzUzmX7.js → C0uu0vLKQh0S508B.js} +23 -23
  35. package/assets/{BDq4iVyBh5lwX8pE.js → C6PNMev7cs5JLgwy.js} +1 -1
  36. package/assets/{C1PTfp7kVu3DqqZh.js → C9iFJ52KwQTePQ81.js} +8944 -8935
  37. package/assets/{xDx1vaNa2aCMs4_e.js → CCF6CwJ6cbeLRl23.js} +1 -1
  38. package/assets/{CAgQJrDxGEfoa7jn.js → CEk658HeLJk2cAjM.js} +3 -3
  39. package/assets/{Bf7Irm8Ua4s1T4xH.js → CFNtPYPfDPH-3BXK.js} +1 -1
  40. package/assets/{CHG9Q0uLAZdLXYVz.js → CFT_tDogP98gTbh7.js} +101 -101
  41. package/assets/{ze6Q8BiEw9RClBzZ.js → CFWwwr74qRKOBrg9.js} +1 -1
  42. package/assets/{Bi65BKwwiZYYZprq.js → CIY_RiLu1_FmRLAA.js} +1 -1
  43. package/assets/{D9ja7F9irHf9Iovx.js → CIw6ZC3K9x-ccacl.js} +1 -1
  44. package/assets/{1dUPpOVZSeeylKHv.js → CJ2hV-9ipqOEkLSG.js} +1 -1
  45. package/assets/{vazKaFOkHRriv7tX.js → CKD460cQOgwF6uSV.js} +1 -1
  46. package/assets/{zJoBN2CJdxEV7vdh.js → CM-q_J5aF6YXmjeu.js} +3 -3
  47. package/assets/{9AosCdy_xtdhLjN1.js → CR1aLf7CWEfPTO9a.js} +1 -1
  48. package/assets/{E9mta1q4VtVUusy5.js → CSXmTA6w6Pnbtqvb.js} +1 -1
  49. package/assets/{BI5L_Ysr8s0TQxdg.js → CT4czEKWIj1GeQN8.js} +1 -1
  50. package/assets/{D8dNiNpu9_L0NjGP.js → CUYQlZz5zWsUdmRy.js} +1 -1
  51. package/assets/{CGB4xgirbgEIN3tg.js → CbJWbjmv4bz4ppIZ.js} +356 -354
  52. package/assets/{Bx592y6pyOwTS2x7.js → Cf0zmfQYfJ7zM0Ya.js} +1 -1
  53. package/assets/{8csqJ8aGOdnKlrLl.js → Ch9w7xFxVMrvGuC_.js} +1 -1
  54. package/assets/{GGcMgq3ScY7Tv0PE.js → CmkgQ5-IG0BSCM3R.js} +3 -3
  55. package/assets/{BkqENH8xJ3_NQnD5.js → CmwNIrRssYuLN2fn.js} +422 -422
  56. package/assets/{sYakw2x8dcnpUlsX.js → CnI4Nli8vtWdFKvf.js} +3 -3
  57. package/assets/{DRd8gdwcr3EqtGkb.js → CnKX5SPVE2iuSK42.js} +1 -1
  58. package/assets/{BvKzhnweVF6GhjXh.js → CpvJUGg9ckuCIpIS.js} +1 -1
  59. package/assets/{DFQLoYLUO4TgDZPK.js → Cxzowsi6ASdZtzeI.js} +1 -1
  60. package/assets/{tIoHMgrZeRHWyxos.js → CzRvg04_TIbwBH5C.js} +3 -3
  61. package/assets/{BygXDW3XTdtR38aA.js → D-vo2bQyAmStQmD9.js} +1 -1
  62. package/assets/{DxNK3HVEzFdUou54.js → D6d1DKL15m52ZCuC.js} +1 -1
  63. package/assets/{Z5tQQ6IW5YBjblWX.js → D8k9de_hen-KqBWe.js} +1 -1
  64. package/assets/{91BKH9obG4IfBzhy.js → DE7G34oYbvrfXbJ7.js} +383 -378
  65. package/assets/{BrfsWImwRtf54LUU.js → DFVQIZ2zZyAphhCF.js} +1 -1
  66. package/assets/{D1tShC5iBlUoT2V2.js → DGI_8HyNF0eAv0P5.js} +1 -1
  67. package/assets/{C1yAmXrOu3iHV2cu.js → DGOgx3-IyO8bjF_t.js} +83 -83
  68. package/assets/{BXean6K6oDUxkzyd.js → DIgPlkEabQdKNUQn.js} +1 -1
  69. package/assets/{DmVQgN-N_HhYvakk.js → DJGYlGr2Zj7SkYqc.js} +1 -1
  70. package/assets/{DzGpZ2CQ1St9BF0y.js → DJfpKncnYnrr28G0.js} +1 -1
  71. package/assets/{CHnaSM8aMnQ2_VWW.js → DL8pez0eKo8arYPj.js} +3 -3
  72. package/assets/{tPa3RpqYRqCCCYf1.js → DM-yGHahbfA_uarn.js} +1 -1
  73. package/assets/{DHHYGjNwlLvja3dS.js → DMDTS0LH9Ke9t-3z.js} +1 -1
  74. package/assets/{D89TE5n8VKre9Gmp.js → DNSWaXblwhTtI3w7.js} +1 -1
  75. package/assets/{UgDy0WNXuV1sEnFW.js → DOSWSyKkK4eSi4PD.js} +2 -2
  76. package/assets/{CHpBOpoM9bCvQyn0.js → DPLTGglaPovTg9e5.js} +1 -1
  77. package/assets/{CpYgsvYMxV5SbRp3.js → DPYFRLJbHGlrcrJq.js} +2 -2
  78. package/assets/{DLbzfP7OOWhafkTq.js → DRq6lQLndj73WT35.js} +1 -1
  79. package/assets/{BUGEQS5WdiLcI_0X.js → DRzZ4bEyLRGVOLzV.js} +1 -1
  80. package/assets/{BUIjRIGTum7VuRFk.js → DUbIxDAzW1dzrtdI.js} +1 -1
  81. package/assets/{OfjHqYH31KqC5gVM.js → DXCTHw-ZutNIuo_2.js} +1 -1
  82. package/assets/{OtMeAlbq6tyW5Hnc.js → D_tdoUtUe7cApQJn.js} +4 -4
  83. package/assets/{DawLBAaNAAmo_P3Y.js → DaF9L7No8h8a-cqb.js} +2 -2
  84. package/assets/{DdDKDqtpIkzd-mXi.js → DaHD9SY75O8wDy3p.js} +2 -2
  85. package/assets/{CXqqaFgNeUVRGvEb.js → Daaro0HbHkKXkBP-.js} +2 -2
  86. package/assets/{BiC09_YKQPmlUklQ.js → DczQhB3mRSUw6GCf.js} +1 -1
  87. package/assets/Dfv_T_PQVL0O3lu5.js +14 -0
  88. package/assets/{B6pXiayrnDoDbQt1.js → Dhy6iU_09lrQnOAV.js} +47 -47
  89. package/assets/{Dbh-XVDw294AVLtl.js → Dk9zYXO3VoBhTdex.js} +1 -1
  90. package/assets/{DQIQR1t3IkC9wshP.js → DkQ4kxEKhKYQgfjK.js} +1 -1
  91. package/assets/{CSGN4rAf7CYnBDEa.js → Dlqk7XqKnAZ8Pcj3.js} +83 -83
  92. package/assets/{BaaVzb7xXROiWUhT.js → DqSBb1HmgeU7eg_i.js} +84 -84
  93. package/assets/{BgwCdHyXKQYFAl1M.js → Ds4TB1hn56-RK6_f.js} +1 -1
  94. package/assets/{VWEaItb0XvCoRiCT.js → DtVSjxL6N_7WyM8Z.js} +1 -1
  95. package/assets/{C9wlvcFyjQA59G-_.js → DuEtCJEnG_GnJzTX.js} +1 -1
  96. package/assets/{DdnALoxd3b8TLNla.js → DwNcvKM47ZHfvQM6.js} +1 -1
  97. package/assets/{CdtVv8YQ8PTmS4dz.js → DyiH3LlinD-38bG7.js} +1 -1
  98. package/assets/{hAVtdK6u2tlLI2cB.js → Jy-_0a72nn5Iv1NK.js} +1 -1
  99. package/assets/{Bzp3UtK_6fqEVlV8.js → KMzONx2Ps841nJHj.js} +8 -8
  100. package/assets/{CV729JV1mNyYCmrq.js → LM2rVDHdB0jVUFcT.js} +1 -1
  101. package/assets/{do_DTptu6c_xHJoZ.js → MosMza0-rXD8uHX_.js} +2 -2
  102. package/assets/{COVhUB0EotytQDHg.js → NAWWzA_hk4wYtsPP.js} +2 -2
  103. package/assets/{CufFcGwo5x95LSb7.js → P6V3JAiRpC3BWceC.js} +1 -1
  104. package/assets/{1U3DwsqHnOBwiGWn.js → TZnuVwhVjkOBax9F.js} +2 -2
  105. package/assets/{nSzQt54CIADky_tF.js → TdDTOcC1TYhk6UuR.js} +1 -1
  106. package/assets/{CGxhgXj5qKj_Ubcp.js → Xccc6oxtlSvJUDsC.js} +1 -1
  107. package/assets/{DAqaOCEQLmZRjcdR.js → a2e_g9YI3J-lUD7-.js} +1 -1
  108. package/assets/{D-N87jCOShDKTFDh.js → b8yACuWy67eIj_j2.js} +1 -1
  109. package/assets/{BlxrCp7d-SeM-2DW.js → bv3fZLUPzd14I58C.js} +631 -621
  110. package/assets/{CKhbbbjQ-_auMp3n.js → doqBmhonQlHp-1Ud.js} +1 -1
  111. package/assets/{BZxJKqVEO7B23XwE.js → fEfisM0E2fUYKIyU.js} +5 -5
  112. package/assets/{v5XZSqLd9ZV3kqcA.js → flby0g5gyZ9P2Wu2.js} +1 -1
  113. package/assets/{coTH4ab6CTEzw87b.js → g2Nu44uuSJFMzxEV.js} +2 -2
  114. package/assets/{Cahhn5OLNqRYy-n8.js → mZt9BTEejCJZ4YK4.js} +1 -1
  115. package/assets/{BnK6HEqT4rf1RoOG.js → qc7rA-Z3a4rkVQPx.js} +217 -217
  116. package/assets/{DsBXjYAgTUXAAWZZ.js → sJVPCrgeh0U6LbAK.js} +1 -1
  117. package/assets/{wWgI0JPoe_Wv0ceW.js → suLYEZBtGUhSYeB7.js} +1 -1
  118. package/assets/{WSiEiaP-NUEr9UaB.js → tWO-mE87mAuj1qih.js} +2 -2
  119. package/assets/{DdXp_iPwTOHAOvlL.js → xD41vsQY6h60lCqz.js} +1168 -1170
  120. package/assets/{C7zManFR1LEJXiwb.js → yz2PTfYm_8EGJPM5.js} +1 -1
  121. package/index.js +117 -117
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +12 -12
  124. package/package.json +4 -4
  125. package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
  126. package/screenshot-page/assets/{DfT1DMR1b5kiyYiV.js → B-0-chiwq4MIUQy9.js} +1 -1
  127. package/screenshot-page/assets/B7pXfEVkcbaMBMhc.js +1 -0
  128. package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +2 -0
  129. package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +3 -0
  130. package/screenshot-page/assets/{BnZX0sxceYpvtg3I.js → BIuMiduMHSsTGacU.js} +2 -2
  131. package/screenshot-page/assets/BKwDvElKinpn1IK0.js +1 -0
  132. package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
  133. package/screenshot-page/assets/{adhmz3N2Kgq5eW66.js → BTJ1NNUzHotNDiDe.js} +2 -2
  134. package/screenshot-page/assets/BbT5KRhoeAKLzy54.js +2 -0
  135. package/screenshot-page/assets/{Dwv5Z_c2XS-hm-5y.js → BcZPWw18bdj_ZvA9.js} +1 -1
  136. package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
  137. package/screenshot-page/assets/{CcOIj8c4N9KaWnD7.js → Bfq6-treWd_rRiWl.js} +1 -1
  138. package/screenshot-page/assets/{BGh5K-hHzy8mSVDr.js → Bg9UyX4yrB2mSdJt.js} +12 -12
  139. package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +2 -0
  140. package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
  141. package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
  142. package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → CNB6WmYfGVZjlCKV.js} +1 -1
  143. package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
  144. package/screenshot-page/assets/CSFFMEKyxEFaykqL.js +1 -0
  145. package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +1 -0
  146. package/screenshot-page/assets/{Cmv8bpHaTWZ7Lmbt.js → C_YKEkTsGB_5gFNg.js} +2 -2
  147. package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +1 -0
  148. package/screenshot-page/assets/CtiTwHzd_ZSzd3W2.js +1 -0
  149. package/screenshot-page/assets/CwCu_r0BW41uLt3P.js +2 -0
  150. package/screenshot-page/assets/{DdusmeEPaU7CWT6e.js → Cx9eq2x1gIXGki3Q.js} +1 -1
  151. package/screenshot-page/assets/D43IayseD2Cy8OZo.js +4 -0
  152. package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → D6Ciix7JAZtdKqmj.js} +1 -1
  153. package/screenshot-page/assets/D6EXAYU-ZH8hjx_7.js +2 -0
  154. package/screenshot-page/assets/D7Yt7xmUlA6-Lq0Q.js +48 -0
  155. package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +39 -0
  156. package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
  157. package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +586 -0
  158. package/screenshot-page/assets/DGkaCFHx4PsOJkFu.js +1 -0
  159. package/screenshot-page/assets/DM6hr-bvWV50-Oex.js +2 -0
  160. package/screenshot-page/assets/DOVt9zHz7FQ2KUQM.js +1 -0
  161. package/screenshot-page/assets/DR-og7vslxlOZd8j.js +1 -0
  162. package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +1 -0
  163. package/screenshot-page/assets/Dh14XQinAphjZOKC.js +1 -0
  164. package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
  165. package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → DmDFKv_3APEWI-IY.js} +2 -2
  166. package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +1 -0
  167. package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +1 -0
  168. package/screenshot-page/assets/{Bm9-R9keVK5Sx-8o.js → DynKB5GH-vfFMJEy.js} +1 -1
  169. package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
  170. package/screenshot-page/assets/{B668_VaGrdcWRbkC.js → FqdZRM336KMEcsbU.js} +1 -1
  171. package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +1 -0
  172. package/screenshot-page/assets/Pt9ne0xkE2icD3Ih.js +1 -0
  173. package/screenshot-page/assets/QZg76Jflu3Q808W3.js +1 -0
  174. package/screenshot-page/assets/{BRemww1df2HKLd_k.js → WTrYzPnMQhYDILMR.js} +1 -1
  175. package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
  176. package/screenshot-page/assets/{CQ9C0-FcDZxrgC3T.js → a3fvt1Klg1uGE7p6.js} +7 -7
  177. package/screenshot-page/assets/{D8-mayyvvVE1a4JB.js → clrFU8i-0wNkmbs7.js} +1 -1
  178. package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
  179. package/screenshot-page/assets/r2HZG9_SMzF3__ID.js +13 -0
  180. package/screenshot-page/index.html +16 -16
  181. package/types/scripting-api.json +5747 -5744
  182. package/types/scripting.d.ts +27 -3
  183. package/assets/r-pk3RNq_HjMQFqr.js +0 -14
  184. package/screenshot-page/assets/0buGanYjZDNd9qAK.js +0 -39
  185. package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
  186. package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +0 -48
  187. package/screenshot-page/assets/BIQ7KK-buzeddVA9.js +0 -1
  188. package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +0 -1
  189. package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +0 -13
  190. package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +0 -1
  191. package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +0 -1
  192. package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +0 -1
  193. package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +0 -1
  194. package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +0 -1
  195. package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +0 -1
  196. package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +0 -3
  197. package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +0 -2
  198. package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +0 -4
  199. package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +0 -2
  200. package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +0 -1
  201. package/screenshot-page/assets/D717DArr-KKL0U6R.js +0 -1
  202. package/screenshot-page/assets/DM27mE98BNk1T18I.js +0 -1
  203. package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +0 -1
  204. package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +0 -2
  205. package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +0 -2
  206. package/screenshot-page/assets/DigI6jhjHePzLgg1.js +0 -1
  207. package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +0 -1
  208. package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
  209. package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +0 -1
  210. package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +0 -1
  211. package/screenshot-page/assets/U_8_wApwfA7KmIG3.js +0 -586
  212. package/screenshot-page/assets/WZprjN2sb7HlraOb.js +0 -2
  213. package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +0 -2
  214. package/screenshot-page/assets/zALFdtoGJBN6m2Bn.js +0 -1
  215. package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +0 -5
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.22
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { ht as e } from "./DHHYGjNwlLvja3dS.js";
8
- import { C as t, Dt as r, F as n, G as o, Tt as a, U as s, Vt as i, k as l, lt as c, p as u } from "./BSdRn3B8QeJFflY6.js";
9
- import { u as p } from "./BUGEQS5WdiLcI_0X.js";
10
- import { $t as d, F as f, Gn as m, Gt as h, Ln as g, Wi as E, Yt as w, an as y, ft as S, ln as T, lo as A, oa as b, pn as v, to as x, xn as I } from "./C1PTfp7kVu3DqqZh.js";
11
- import { C as O, i as R, t as C, x as L } from "./CGB4xgirbgEIN3tg.js";
12
- import { $ as N, $n as D, $t as F, An as k, At as P, B as M, Bn as U, Ct as z, Dn as W, Dt as V, En as H, Et as G, Fn as j, Ft as X, G as Y, Gn as q, Gt as K, H as Z, Hn as Q, Ht as J, In as $, J as ee, Jn as te, Jt as re, K as ne, Kn as oe, L as ae, Ln as se, Lt as ie, Mn as le, Mt as ce, Nn as ue, On as de, Ot as fe, Pn as me, Pt as he, Q as ge, Qn as Ee, Qt as we, Rn as Se, Sn as Te, St as Ae, Tn as be, Tt as ve, U as xe, Un as Ie, Ut as Oe, V as Re, Vn as Ce, W as Le, Wn as Ne, Wt as De, X as Fe, Xn as ke, Xt as Pe, Y as Me, Yn as Ue, Yt as Be, Z as ze, Zn as We, Zt as Ve, _n as He, _r as Ge, an as je, ar as Xe, at as Ye, bn as qe, bt as Ke, cr as Qe, ct as Je, dn as $e, dr as _e, dt as et, en as tt, er as rt, et as nt, fn as ot, fr as at, ft as st, gn as it, hn as ct, hr as ut, ht as pt, in as dt, ir as ft, it as mt, jn as ht, jt as gt, kt as wt, ln as yt, lr as St, lt as Tt, mn as At, mt as vt, nn as xt, nr as It, nt as Ot, on as Rt, ot as Lt, pn as Nt, pr as Dt, q as Ft, qn as kt, rn as Pt, rr as Mt, rt as Ut, sn as Bt, sr as zt, st as Wt, tn as Vt, tr as Ht, tt as Gt, un as jt, ur as Xt, ut as Yt, vn as qt, vr as Kt, wn as Zt, wt as Qt, xn as Jt, xt as $t, yr as er, z as tr, zn as rr } from "./ryaMyh_8KvmXVSJd.js";
7
+ import { ht as e } from "./DMDTS0LH9Ke9t-3z.js";
8
+ import { Et as t, G as r, N as n, O as o, U as a, ct as s, wt as i, x as l, y as c, zt as u } from "./B16G2473LTkZP6Mq.js";
9
+ import { u as p } from "./DRzZ4bEyLRGVOLzV.js";
10
+ import { B as d, Dt as f, Ga as m, Lt as h, Qr as g, Qt as E, Tr as w, _i as y, do as S, et as T, ir as A, pa as b, so as v, v as x, xt as I } from "./C9iFJ52KwQTePQ81.js";
11
+ import { C as O, r as R, t as C, x as L } from "./CbJWbjmv4bz4ppIZ.js";
12
+ import { $ as N, $n as D, $t as F, An as k, At as P, B as M, Bn as U, Ct as z, Dn as W, Dt as V, En as H, Et as G, Fn as j, Ft as X, G as Y, Gn as q, Gt as K, H as Z, Hn as Q, Ht as J, In as $, J as ee, Jn as te, Jt as re, K as ne, Kn as oe, L as ae, Ln as se, Lt as ie, Mn as le, Mt as ce, Nn as ue, On as de, Ot as fe, Pn as me, Pt as he, Q as ge, Qn as Ee, Qt as we, Rn as Se, Sn as Te, St as Ae, Tn as be, Tt as ve, U as xe, Un as Ie, Ut as Oe, V as Re, Vn as Ce, W as Le, Wn as Ne, Wt as De, X as Fe, Xn as ke, Xt as Pe, Y as Me, Yn as Ue, Yt as Be, Z as ze, Zn as We, Zt as Ve, _n as He, _r as Ge, an as je, ar as Xe, at as Ye, bn as qe, bt as Ke, cr as Qe, ct as Je, dn as $e, dr as _e, dt as et, en as tt, er as rt, et as nt, fn as ot, fr as at, ft as st, gn as it, hn as ct, hr as ut, ht as pt, in as dt, ir as ft, it as mt, jn as ht, jt as gt, kt as wt, ln as yt, lr as St, lt as Tt, mn as At, mt as vt, nn as xt, nr as It, nt as Ot, on as Rt, ot as Lt, pn as Nt, pr as Dt, q as Ft, qn as kt, rn as Pt, rr as Mt, rt as Ut, sn as Bt, sr as zt, st as Wt, tn as Vt, tr as Ht, tt as Gt, un as jt, ur as Xt, ut as Yt, vn as qt, vr as Kt, wn as Zt, wt as Qt, xn as Jt, xt as $t, yr as er, z as tr, zn as rr } from "./BAVltO4Xf7lC0Xr6.js";
13
13
  var nr, or, ar = Object.defineProperty, sr = (e, t) => {
14
14
  let r = {};
15
15
  for (var n in e) ar(r, n, {
@@ -202,8 +202,8 @@ var $r = (e, t, r) => {
202
202
  a && (r = a.toLowerCase(), 8 !== a.length || a.startsWith("FF") || (r = "FF" + a.substring(2, a.length)));
203
203
  const s = e("theme");
204
204
  s && (r = on[Number(s)]);
205
- let l = e("tint");
206
- if (l && (r += ` ${i.AdjustmentType.ETint} ${parseFloat(l)}`), r) return r;
205
+ let i = e("tint");
206
+ if (i && (r += ` ${u.AdjustmentType.ETint} ${parseFloat(i)}`), r) return r;
207
207
  }, sn = (e) => e ? e.replace(/^\{([\s\S]+)\}$/, "$1") : e, ln = Object.freeze({
208
208
  structure: "_error",
209
209
  kinds: [],
@@ -419,7 +419,7 @@ var bn = /* @__PURE__ */ new Set([
419
419
  const r = {};
420
420
  return (t || "0" === e?.get("ShowInCardView")) && (r.cardView = !0), (t || "0" === e?.get("ShowInDotNotation")) && (r.dotNotation = !0), (t || "0" === e?.get("ShowInAutoComplete")) && (r.autoComplete = !0), "1" === e?.get("ExcludeFromCalcComparison") && (r.calcCompare = !0), Object.keys(r).length > 0 ? r : void 0;
421
421
  }, Nn = (e, t, r) => {
422
- const { structures: n, values: o, arrays: a, bagStructures: s, bagArrays: i, bags: l, richStyles: c } = e, u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set(), f = (e) => {
422
+ const { structures: n, values: o, arrays: a, bagStructures: s, bagArrays: i, bags: l, richStyles: c } = e, u = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Set(), m = (e) => {
423
423
  const t = o[e], r = t ? n[t.s] : void 0;
424
424
  return t && r ? {
425
425
  t: r.t,
@@ -427,7 +427,7 @@ var bn = /* @__PURE__ */ new Set([
427
427
  values: t.values,
428
428
  fb: t.fb
429
429
  } : null;
430
- }, m = (e, t) => {
430
+ }, h = (e, t) => {
431
431
  const r = {};
432
432
  for (let n = 0; n < e.length && n < t.length; n++) {
433
433
  const [o, a] = e[n];
@@ -435,10 +435,10 @@ var bn = /* @__PURE__ */ new Set([
435
435
  }
436
436
  return r;
437
437
  };
438
- let h = null;
439
- const g = (e) => {
438
+ let g = null;
439
+ const E = (e) => {
440
440
  switch (e.t) {
441
- case "r": return v(parseInt(e.text, 10)).json;
441
+ case "r": return x(parseInt(e.text, 10)).json;
442
442
  case "s":
443
443
  case "d": return e.text;
444
444
  case "b": return "1" === e.text || "true" === e.text;
@@ -447,19 +447,19 @@ var bn = /* @__PURE__ */ new Set([
447
447
  var t;
448
448
  const r = Number(e.text);
449
449
  return Number.isFinite(r) ? r : e.text;
450
- }, E = (e) => {
450
+ }, w = (e) => {
451
451
  const t = a[e];
452
452
  if (!t) return null;
453
453
  const r = [];
454
- for (let e = 0; e < t.rows; e++) r.push(t.items.slice(e * t.columns, (e + 1) * t.columns).map(g));
454
+ for (let e = 0; e < t.rows; e++) r.push(t.items.slice(e * t.columns, (e + 1) * t.columns).map(E));
455
455
  return {
456
- type: w.Type,
456
+ type: T.Type,
457
457
  data: { elements: r }
458
458
  };
459
- }, y = (e) => {
459
+ }, S = (e) => {
460
460
  const t = l[e], r = t ? s[t.s] : void 0;
461
461
  if (!t || !r) return null;
462
- const n = A.defineKind("#spb", { properties: r.map(([e, t]) => ({
462
+ const n = y.defineKind("#spb", { properties: r.map(([e, t]) => ({
463
463
  name: e,
464
464
  valueType: Cn(t)
465
465
  })) }), o = {};
@@ -467,17 +467,17 @@ var bn = /* @__PURE__ */ new Set([
467
467
  const [n, a] = r[e], s = t.values[e];
468
468
  switch (a) {
469
469
  case "spb":
470
- o[n] = y(parseInt(s, 10));
470
+ o[n] = S(parseInt(s, 10));
471
471
  break;
472
472
  case "spba": {
473
473
  const e = i[parseInt(s, 10)] ?? [];
474
474
  o[n] = {
475
- type: w.Type,
476
- data: { elements: e.map((e) => [g(e)]) }
475
+ type: T.Type,
476
+ data: { elements: e.map((e) => [E(e)]) }
477
477
  };
478
478
  break;
479
479
  }
480
- default: o[n] = g({
480
+ default: o[n] = E({
481
481
  t: a,
482
482
  text: s
483
483
  });
@@ -487,63 +487,63 @@ var bn = /* @__PURE__ */ new Set([
487
487
  type: n.getName(),
488
488
  data: o
489
489
  };
490
- }, S = (e) => {
490
+ }, A = (e) => {
491
491
  if (void 0 === e) return null;
492
492
  const t = l[parseInt(e, 10)], r = t ? s[t.s] : void 0;
493
493
  if (!t || !r) return null;
494
494
  const n = /* @__PURE__ */ new Map();
495
495
  for (let e = 0; e < r.length && e < t.values.length; e++) n.set(In(r[e][0]), t.values[e]);
496
496
  return n;
497
- }, T = (e) => {
497
+ }, b = (e) => {
498
498
  const t = parseInt(e ?? "", 10);
499
499
  return t >= 1 ? c[t - 1] ?? null : null;
500
- }, b = (t) => {
501
- const r = f(t);
500
+ }, v = (t) => {
501
+ const r = m(t);
502
502
  if (!r) return null;
503
503
  const { t: n, keys: o } = r, a = r.values, s = e.typeKeyFlags.get(n), l = /* @__PURE__ */ new Map();
504
504
  for (let e = 0; e < o.length && e < a.length; e++) l.set(o[e][0], a[e]);
505
- const c = {}, u = {}, p = S(l.get("_Display"));
505
+ const c = {}, u = {}, p = A(l.get("_Display"));
506
506
  if (p) {
507
507
  const e = p.get("^Order");
508
508
  void 0 !== e && (u.order = (i[parseInt(e, 10)] ?? []).map((e) => e.text)), p.get("TitleProperty") && (u.title = p.get("TitleProperty")), p.get("SubTitleProperty") && (u.subTitle = p.get("SubTitleProperty"));
509
509
  }
510
- const d = {}, m = (e) => d[e] ??= {};
511
- for (const [e, t] of S(l.get("_Format")) ?? []) {
512
- const r = T(t);
513
- r && (r.numberFormat && (m(e).numberFormat = r.numberFormat), r.isTitle && (u.title ??= e), r.isHero && (u.mainImage ??= e));
510
+ const d = {}, f = (e) => d[e] ??= {};
511
+ for (const [e, t] of A(l.get("_Format")) ?? []) {
512
+ const r = b(t);
513
+ r && (r.numberFormat && (f(e).numberFormat = r.numberFormat), r.isTitle && (u.title ??= e), r.isHero && (u.mainImage ??= e));
514
514
  }
515
- for (const [e, t] of S(l.get("_SubLabel")) ?? []) m(e).sublabel = t;
516
- for (const [e, t] of S(l.get("_Flags")) ?? []) {
517
- const r = Ln(S(t) ?? void 0, !1);
518
- r && (m(e).excludeFrom = r);
515
+ for (const [e, t] of A(l.get("_SubLabel")) ?? []) f(e).sublabel = t;
516
+ for (const [e, t] of A(l.get("_Flags")) ?? []) {
517
+ const r = Ln(A(t) ?? void 0, !1);
518
+ r && (f(e).excludeFrom = r);
519
519
  }
520
520
  Object.keys(u).length > 0 && (c.card = u);
521
521
  const h = l.get("_Icon");
522
522
  h && (c.icon = h);
523
- const w = {};
523
+ const g = {};
524
524
  for (const [e, t] of o) {
525
525
  if (bn.has(e)) continue;
526
526
  const r = l.get(e);
527
527
  if (void 0 !== r) switch (t) {
528
528
  case "r": {
529
- const t = v(parseInt(r, 10));
530
- w[e] = t.json, t.numberFormat && (m(e).numberFormat ??= t.numberFormat);
529
+ const t = x(parseInt(r, 10));
530
+ g[e] = t.json, t.numberFormat && (f(e).numberFormat ??= t.numberFormat);
531
531
  break;
532
532
  }
533
533
  case "a":
534
- w[e] = E(parseInt(r, 10));
534
+ g[e] = w(parseInt(r, 10));
535
535
  break;
536
536
  case "spb":
537
- w[e] = y(parseInt(r, 10));
537
+ g[e] = S(parseInt(r, 10));
538
538
  break;
539
- default: w[e] = g({
539
+ default: g[e] = E({
540
540
  t,
541
541
  text: r
542
542
  });
543
543
  }
544
544
  }
545
- const b = {
546
- type: A.defineKind(n, {
545
+ const T = {
546
+ type: y.defineKind(n, {
547
547
  properties: o.map(([t, r]) => {
548
548
  const n = t.startsWith("_") || t.startsWith("%"), o = Ln(s?.get(t) ?? e.globalKeyFlags.get(t), n);
549
549
  return o ? {
@@ -558,54 +558,54 @@ var bn = /* @__PURE__ */ new Set([
558
558
  displayProperty: o.some(([e]) => "_DisplayString" === e) ? "_DisplayString" : null,
559
559
  ...Object.keys(c).length > 0 ? { meta: c } : {}
560
560
  }).getName(),
561
- data: w
561
+ data: g
562
562
  };
563
563
  for (const e of Object.keys(d)) 0 === Object.keys(d[e]).length && delete d[e];
564
- return Object.keys(d).length > 0 && (b.meta = d), b;
565
- }, v = (e) => {
564
+ return Object.keys(d).length > 0 && (T.meta = d), T;
565
+ }, x = (e) => {
566
566
  const t = u.get(e);
567
567
  if (t) return t;
568
- if (d.has(e)) return r(`Rich value ${e} refers to itself.`), { json: null };
569
- d.add(e);
568
+ if (f.has(e)) return r(`Rich value ${e} refers to itself.`), { json: null };
569
+ f.add(e);
570
570
  try {
571
571
  const t = I(e);
572
572
  return u.set(e, t), t;
573
573
  } finally {
574
- d.delete(e);
574
+ f.delete(e);
575
575
  }
576
576
  }, I = (e) => {
577
- const r = f(e);
577
+ const r = m(e);
578
578
  if (!r) return { json: null };
579
- const { t: n, keys: a } = r, s = m(a, r.values);
579
+ const { t: n, keys: a } = r, s = h(a, r.values);
580
580
  switch (n) {
581
581
  case "_formattednumber": {
582
- const e = Number(r.fb), t = S(s._Format)?.get("_Self"), n = T(t)?.numberFormat ?? void 0;
582
+ const e = Number(r.fb), t = A(s._Format)?.get("_Self"), n = b(t)?.numberFormat ?? void 0;
583
583
  return {
584
584
  json: Number.isFinite(e) ? e : null,
585
585
  ...n ? { numberFormat: n } : {}
586
586
  };
587
587
  }
588
588
  case "_hyperlink": return { json: {
589
- type: x.Type,
589
+ type: d.Type,
590
590
  data: {
591
591
  address: s.Address ?? null,
592
592
  friendly: s.Text ?? null
593
593
  }
594
594
  } };
595
- case "_array": return { json: E(parseInt("" + s.array, 10)) };
596
- case vn: return v(parseInt("" + s["%cvi"], 10));
595
+ case "_array": return { json: w(parseInt("" + s.array, 10)) };
596
+ case vn: return x(parseInt("" + s["%cvi"], 10));
597
597
  case xn: {
598
598
  const e = ((e) => {
599
- if (!h) {
600
- h = /* @__PURE__ */ new Map();
599
+ if (!g) {
600
+ g = /* @__PURE__ */ new Map();
601
601
  for (let e = 0; e < o.length; e++) {
602
- const t = f(e);
603
- "_linkedentity2core" === t?.t && h.set(Rn(m(t.keys, t.values)), e);
602
+ const t = m(e);
603
+ "_linkedentity2core" === t?.t && g.set(Rn(h(t.keys, t.values)), e);
604
604
  }
605
605
  }
606
- return h.get(Rn(e)) ?? null;
606
+ return g.get(Rn(e)) ?? null;
607
607
  })(s);
608
- if (null !== e) return v(e);
608
+ if (null !== e) return x(e);
609
609
  break;
610
610
  }
611
611
  }
@@ -615,14 +615,14 @@ var bn = /* @__PURE__ */ new Set([
615
615
  if (p.isError(e)) return { json: { e: e.getCode() } };
616
616
  if (void 0 !== e) return { json: e };
617
617
  }
618
- return { json: b(e) };
618
+ return { json: v(e) };
619
619
  };
620
620
  return { cellValue: (e) => {
621
- const r = f(e);
621
+ const r = m(e);
622
622
  if (!r) return;
623
623
  const n = t.get(r.t);
624
- if (n && r.t !== xn && r.t !== vn) return n.read(m(r.keys, r.values));
625
- const { json: o } = v(e);
624
+ if (n && r.t !== xn && r.t !== vn) return n.read(h(r.keys, r.values));
625
+ const { json: o } = x(e);
626
626
  return null != o ? "object" != typeof o || "number" != typeof o.e || "type" in o ? "object" == typeof o ? o : void 0 : p.getBuiltInByCode(o.e) ?? p.BuiltIn.Value : void 0;
627
627
  } };
628
628
  }, Dn = /&(amp|lt|gt|quot|apos|#x[0-9a-fA-F]+|#[0-9]+);/g;
@@ -2050,7 +2050,7 @@ function ko(e, t, r) {
2050
2050
  if ("string" != typeof l) return null;
2051
2051
  const c = `${String(i.scope ?? "").toUpperCase()}!${e.toUpperCase()}`, u = s.get(c);
2052
2052
  if (void 0 !== u) return u;
2053
- const p = S.parse(l), d = p ? S.transform(p, a) : null;
2053
+ const p = g.parse(l), d = p ? g.transform(p, a) : null;
2054
2054
  return s.set(c, d), d;
2055
2055
  }
2056
2056
  }, l = function(e) {
@@ -2199,13 +2199,13 @@ function ko(e, t, r) {
2199
2199
  return 0 === l.size ? a === n ? void 0 : a : zo(a, l);
2200
2200
  };
2201
2201
  }(d, i)), h = (e, t, r) => {
2202
- const n = S.parse(e, { anchor: t });
2202
+ const n = g.parse(e, { anchor: t });
2203
2203
  if (!n) return e;
2204
- const o = S.transform(n, r);
2205
- return o === n ? e : S.image(o, { at: t });
2204
+ const o = g.transform(n, r);
2205
+ return o === n ? e : g.image(o, { at: t });
2206
2206
  };
2207
2207
  return {
2208
- parse: (e, t) => S.parse(e, {
2208
+ parse: (e, t) => g.parse(e, {
2209
2209
  anchor: t,
2210
2210
  normalize: !0
2211
2211
  }),
@@ -2218,7 +2218,7 @@ function ko(e, t, r) {
2218
2218
  return t && (n.cm = !0), r && (n.ca = !0), n;
2219
2219
  },
2220
2220
  spell: (e, t, r) => {
2221
- const o = r || n.size > 0 ? S.transform(e, ((e) => (t) => {
2221
+ const o = r || n.size > 0 ? g.transform(e, ((e) => (t) => {
2222
2222
  const r = t.type;
2223
2223
  if ("tableReference" === r) return !t.value && e ? {
2224
2224
  ...t,
@@ -2234,7 +2234,7 @@ function ko(e, t, r) {
2234
2234
  };
2235
2235
  }
2236
2236
  })(r)) : e;
2237
- return S.transform(o, t ? f : m);
2237
+ return g.transform(o, t ? f : m);
2238
2238
  },
2239
2239
  writeName: (e) => h(e, void 0, f)
2240
2240
  };
@@ -2245,7 +2245,7 @@ function Po(e, t) {
2245
2245
  if (r) for (let e = 0; e < r.length; e++) {
2246
2246
  const n = r[e], o = Array.isArray(n) ? n[0] : n?.r, a = Array.isArray(n) ? n[1] : n?.v, s = a?.columns;
2247
2247
  if (!s || "string" != typeof o) continue;
2248
- const i = v.fastStringToRange(o), l = i.rowStart + (a.headerRowCount ?? 1);
2248
+ const i = S.fastStringToRange(o), l = i.rowStart + (a.headerRowCount ?? 1);
2249
2249
  for (let e = 0; e < s.length; e++) {
2250
2250
  const r = s[e];
2251
2251
  if (!r || "object" != typeof r) continue;
@@ -2263,13 +2263,13 @@ function Po(e, t) {
2263
2263
  if (!r || 0 === r.length) return;
2264
2264
  const n = /* @__PURE__ */ new Set(), o = e.formulaArray;
2265
2265
  if (o) for (let e = 0; e < o.length; e++) {
2266
- const t = v.fastStringToRange(String(o[e][0]));
2266
+ const t = S.fastStringToRange(String(o[e][0]));
2267
2267
  n.add(`${t.rowStart},${t.colStart}`);
2268
2268
  }
2269
2269
  for (let e = 0; e < r.length; e++) {
2270
2270
  const o = r[e], a = o[1];
2271
2271
  if ("string" != typeof a) continue;
2272
- const s = v.fastStringToRange(String(o[0])), i = {
2272
+ const s = S.fastStringToRange(String(o[0])), i = {
2273
2273
  rowIndex: s.rowStart,
2274
2274
  colIndex: s.colStart
2275
2275
  }, l = t.readText(a, i, n.has(`${s.rowStart},${s.colStart}`));
@@ -3778,15 +3778,15 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
3778
3778
  const n = e.get("n");
3779
3779
  return void 0 !== n && (t.name = n), sa(e.get("f")) && (t.calculated = !0), sa(e.get("m")) && (t.missing = !0), t;
3780
3780
  }, fi = [
3781
- E.ErrorCheck.EvaluatesToError,
3782
- E.ErrorCheck.TextDate,
3783
- E.ErrorCheck.NumberAsText,
3784
- E.ErrorCheck.InconsistentFormula,
3785
- E.ErrorCheck.OmittedCells,
3786
- E.ErrorCheck.UnlockedFormula,
3787
- E.ErrorCheck.EmptyCellReference,
3788
- E.ErrorCheck.ListDataValidation,
3789
- E.ErrorCheck.InconsistentListFormula
3781
+ w.ErrorCheck.EvaluatesToError,
3782
+ w.ErrorCheck.TextDate,
3783
+ w.ErrorCheck.NumberAsText,
3784
+ w.ErrorCheck.InconsistentFormula,
3785
+ w.ErrorCheck.OmittedCells,
3786
+ w.ErrorCheck.UnlockedFormula,
3787
+ w.ErrorCheck.EmptyCellReference,
3788
+ w.ErrorCheck.ListDataValidation,
3789
+ w.ErrorCheck.InconsistentListFormula
3790
3790
  ], mi = "{05A4C25C-085E-4340-85A3-A5531E510DB2}", hi = sr({
3791
3791
  EMU_PER_PIXEL: () => Ei,
3792
3792
  EMU_PER_POINT: () => gi,
@@ -4321,7 +4321,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
4321
4321
  const r = /* @__PURE__ */ new Set();
4322
4322
  if (0 === t.size) return r;
4323
4323
  const n = e.getCalculation();
4324
- if (n.getStatus() !== f.Status.Running) return r;
4324
+ if (n.getStatus() !== m.Status.Running) return r;
4325
4325
  const o = n.getFunctions();
4326
4326
  for (const e of t) {
4327
4327
  const t = o.getByName(e);
@@ -4367,7 +4367,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
4367
4367
  }, zi = (e) => {
4368
4368
  const t = void 0 !== e.rowInput || !0 === e.rowInputDeleted, r = void 0 !== e.columnInput || !0 === e.columnInputDeleted, n = t && r, o = {
4369
4369
  t: "dataTable",
4370
- ref: v.rangeToString(e.ref),
4370
+ ref: S.rangeToString(e.ref),
4371
4371
  dt2D: n ? "1" : "0",
4372
4372
  dtr: t ? "1" : "0"
4373
4373
  };
@@ -4394,43 +4394,43 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
4394
4394
  "cursive",
4395
4395
  "fantasy"
4396
4396
  ]), ji = /* @__PURE__ */ new Set([
4397
- o.UnderlineStyle.Single,
4398
- o.UnderlineStyle.Double,
4399
- o.UnderlineStyle.SingleAccounting,
4400
- o.UnderlineStyle.DoubleAccounting
4397
+ r.UnderlineStyle.Single,
4398
+ r.UnderlineStyle.Double,
4399
+ r.UnderlineStyle.SingleAccounting,
4400
+ r.UnderlineStyle.DoubleAccounting
4401
4401
  ]);
4402
4402
  function Xi(e) {
4403
- return e === t.ThemeFamily.Body || e === t.ThemeFamily.Heading;
4404
- }
4405
- function Yi(e, r) {
4406
- const n = "major" === r ? t.ThemeFamily.Heading : "minor" === r ? t.ThemeFamily.Body : void 0;
4407
- if (!n) return;
4408
- const o = e.family;
4409
- e.family = n, o && !Gi.has(o) && (e.fallbacks = [o, ...(e.fallbacks ?? []).filter((e) => e !== o)]);
4410
- }
4411
- function qi(e, r, n, o) {
4412
- const a = e ?? (o ? t.ThemeFamily.Body : void 0);
4413
- if (!Xi(a)) return { name: a };
4414
- const s = void 0 === r?.[0] || Gi.has(r[0]) ? void 0 : r[0], i = n?.getFontScheme();
4415
- return a === t.ThemeFamily.Heading ? {
4416
- name: s ?? i?.getMajorFont(),
4403
+ return e === l.ThemeFamily.Body || e === l.ThemeFamily.Heading;
4404
+ }
4405
+ function Yi(e, t) {
4406
+ const r = "major" === t ? l.ThemeFamily.Heading : "minor" === t ? l.ThemeFamily.Body : void 0;
4407
+ if (!r) return;
4408
+ const n = e.family;
4409
+ e.family = r, n && !Gi.has(n) && (e.fallbacks = [n, ...(e.fallbacks ?? []).filter((e) => e !== n)]);
4410
+ }
4411
+ function qi(e, t, r, n) {
4412
+ const o = e ?? (n ? l.ThemeFamily.Body : void 0);
4413
+ if (!Xi(o)) return { name: o };
4414
+ const a = void 0 === t?.[0] || Gi.has(t[0]) ? void 0 : t[0], s = r?.getFontScheme();
4415
+ return o === l.ThemeFamily.Heading ? {
4416
+ name: a ?? s?.getMajorFont(),
4417
4417
  scheme: "major"
4418
4418
  } : {
4419
- name: s ?? i?.getMinorFont(),
4419
+ name: a ?? s?.getMinorFont(),
4420
4420
  scheme: "minor"
4421
4421
  };
4422
4422
  }
4423
4423
  function Ki(e) {
4424
- return "superscript" === e ? t.Baseline.Superscript : "subscript" === e ? t.Baseline.Subscript : "baseline" === e ? 0 : void 0;
4424
+ return "superscript" === e ? l.Baseline.Superscript : "subscript" === e ? l.Baseline.Subscript : "baseline" === e ? 0 : void 0;
4425
4425
  }
4426
4426
  function Zi(e, t) {
4427
4427
  if (null != e) return e > 0 ? "superscript" : e < 0 ? "subscript" : t ? "baseline" : void 0;
4428
4428
  }
4429
4429
  function Qi(e) {
4430
- return e ? o.StrikeStyle.Single : o.StrikeStyle.None;
4430
+ return e ? r.StrikeStyle.Single : r.StrikeStyle.None;
4431
4431
  }
4432
4432
  function Ji(e) {
4433
- if (null != e) return e !== o.StrikeStyle.None;
4433
+ if (null != e) return e !== r.StrikeStyle.None;
4434
4434
  }
4435
4435
  function $i(e, t) {
4436
4436
  if (t) return "condense" === e ? -1 : 1;
@@ -4439,10 +4439,10 @@ function _i(e) {
4439
4439
  if (e) return e < 0 ? "condense" : "extend";
4440
4440
  }
4441
4441
  function el(e) {
4442
- return e && (e === o.UnderlineStyle.None || ji.has(e)) ? e : o.UnderlineStyle.Single;
4442
+ return e && (e === r.UnderlineStyle.None || ji.has(e)) ? e : r.UnderlineStyle.Single;
4443
4443
  }
4444
4444
  function tl(e) {
4445
- if (e && e !== o.UnderlineStyle.None) return ji.has(e) ? e : o.UnderlineStyle.Single;
4445
+ if (e && e !== r.UnderlineStyle.None) return ji.has(e) ? e : r.UnderlineStyle.Single;
4446
4446
  }
4447
4447
  var rl = [
4448
4448
  {
@@ -4567,13 +4567,13 @@ var rl = [
4567
4567
  const r = !(t ?? e.modelDefault);
4568
4568
  return r === e.ooxmlDefault ? null : r ? "1" : "0";
4569
4569
  }, sl = [
4570
- [y.ViewMode.Normal, "zoomScaleNormal"],
4571
- [y.ViewMode.PageBreakPreview, "zoomScaleSheetLayoutView"],
4572
- [y.ViewMode.PageLayout, "zoomScalePageLayoutView"]
4573
- ], il = [["atEnd", T.PrintComments.EndSheet], ["asDisplayed", T.PrintComments.InPlace]], ll = [
4574
- ["blank", T.PrintErrorType.Blank],
4575
- ["dash", T.PrintErrorType.Dash],
4576
- ["NA", T.PrintErrorType.NotAvailable]
4570
+ [f.ViewMode.Normal, "zoomScaleNormal"],
4571
+ [f.ViewMode.PageBreakPreview, "zoomScaleSheetLayoutView"],
4572
+ [f.ViewMode.PageLayout, "zoomScalePageLayoutView"]
4573
+ ], il = [["atEnd", v.PrintComments.EndSheet], ["asDisplayed", v.PrintComments.InPlace]], ll = [
4574
+ ["blank", v.PrintErrorType.Blank],
4575
+ ["dash", v.PrintErrorType.Dash],
4576
+ ["NA", v.PrintErrorType.NotAvailable]
4577
4577
  ], cl = [
4578
4578
  "oddHeader",
4579
4579
  "oddFooter",
@@ -4941,7 +4941,7 @@ function oc(e, t) {
4941
4941
  operator: Kl.InSet,
4942
4942
  param: {}
4943
4943
  };
4944
- const r = String(t), n = g.parseListLiteral(r);
4944
+ const r = String(t), n = I.parseListLiteral(r);
4945
4945
  return {
4946
4946
  operator: Kl.InSet,
4947
4947
  param: n ? { additions: n } : { source: r }
@@ -5079,7 +5079,7 @@ var ic = [
5079
5079
  ]), uc = (e) => "1" === e || "true" === e;
5080
5080
  function pc(e) {
5081
5081
  const t = {}, r = e.type;
5082
- "column" === r ? t.type = I.Type.Column : "stacked" === r && (t.type = I.Type.WinLoss);
5082
+ "column" === r ? t.type = x.Type.Column : "stacked" === r && (t.type = x.Type.WinLoss);
5083
5083
  const n = void 0 !== e.lineWeight ? parseFloat(e.lineWeight) : NaN;
5084
5084
  Number.isFinite(n) && .75 !== n && (t.lineWeight = n);
5085
5085
  const o = e.displayEmptyCellsAs;
@@ -5099,7 +5099,7 @@ function pc(e) {
5099
5099
  }
5100
5100
  function dc(e) {
5101
5101
  const t = {};
5102
- void 0 !== e.manualMax && (t.manualMax = e.manualMax), void 0 !== e.manualMin && (t.manualMin = e.manualMin), void 0 !== e.lineWeight && .75 !== e.lineWeight && (t.lineWeight = e.lineWeight), e.type === I.Type.Column ? t.type = "column" : e.type === I.Type.WinLoss && (t.type = "stacked"), e.dateAxis && (t.dateAxis = 1), e.displayEmptyCellsAs && e.displayEmptyCellsAs !== I.EmptyCellsAs.Zero && (t.displayEmptyCellsAs = e.displayEmptyCellsAs);
5102
+ void 0 !== e.manualMax && (t.manualMax = e.manualMax), void 0 !== e.manualMin && (t.manualMin = e.manualMin), void 0 !== e.lineWeight && .75 !== e.lineWeight && (t.lineWeight = e.lineWeight), e.type === x.Type.Column ? t.type = "column" : e.type === x.Type.WinLoss && (t.type = "stacked"), e.dateAxis && (t.dateAxis = 1), e.displayEmptyCellsAs && e.displayEmptyCellsAs !== x.EmptyCellsAs.Zero && (t.displayEmptyCellsAs = e.displayEmptyCellsAs);
5103
5103
  for (const r of [
5104
5104
  "markers",
5105
5105
  "high",
@@ -5112,7 +5112,7 @@ function dc(e) {
5112
5112
  ]) e[r] && (t[r] = 1);
5113
5113
  for (const r of ["minAxisType", "maxAxisType"]) {
5114
5114
  const n = e[r];
5115
- n && n !== I.AxisType.Individual && (t[r] = n);
5115
+ n && n !== x.AxisType.Individual && (t[r] = n);
5116
5116
  }
5117
5117
  e.rightToLeft && (t.rightToLeft = 1);
5118
5118
  const r = e.rest;
@@ -5122,7 +5122,7 @@ function dc(e) {
5122
5122
  function fc(e, t) {
5123
5123
  if (0 === t.length) return null;
5124
5124
  const r = new Array(t.length), n = new Array(t.length);
5125
- for (let e = 0; e < t.length; e++) r[e] = v.cellToString(t[e].location), n[e] = t[e].data;
5125
+ for (let e = 0; e < t.length; e++) r[e] = S.cellToString(t[e].location), n[e] = t[e].data;
5126
5126
  return {
5127
5127
  r: r.join(","),
5128
5128
  v: {
@@ -5134,17 +5134,17 @@ function fc(e, t) {
5134
5134
  var mc = /^\$?[A-Za-z]{1,3}\$?\d+(?::\$?[A-Za-z]{1,3}\$?\d+)?$/, hc = /^(?:.+!)?\$?[A-Za-z]{1,3}\$?\d+(?::\$?[A-Za-z]{1,3}\$?\d+)?$/;
5135
5135
  function gc(e, t) {
5136
5136
  const r = e.startsWith("=") ? e.substring(1) : e;
5137
- return mc.test(r) || "#REF!" === r ? `${v.sheetNameToString(t)}!${r}` : r;
5137
+ return mc.test(r) || "#REF!" === r ? `${S.sheetNameToString(t)}!${r}` : r;
5138
5138
  }
5139
5139
  function Ec(e, t) {
5140
- const r = e.getRanges().getCoords(), n = v.splitAddressList(e.toJSON().data), o = e.getSparklines(), a = new Array(o.length);
5140
+ const r = e.getRanges().getCoords(), n = S.splitAddressList(e.toJSON().data), o = e.getSparklines(), a = new Array(o.length);
5141
5141
  let s = 0;
5142
5142
  for (let e = 0; e < r.length; e++) {
5143
5143
  const i = r[e], l = (i.rowEnd - i.rowStart + 1) * (i.colEnd - i.colStart + 1);
5144
5144
  for (let r = 0; r < l; r++, s++) {
5145
5145
  const r = o[s], i = r.getRange().getCoords(), c = 1 === l ? null : r.getDataRange();
5146
5146
  a[s] = {
5147
- sqref: v.cellToString({
5147
+ sqref: S.cellToString({
5148
5148
  rowIndex: i.rowStart,
5149
5149
  colIndex: i.colStart
5150
5150
  }),
@@ -5162,68 +5162,68 @@ var wc = (e) => {
5162
5162
  write: (e) => void 0 === e ? void 0 : t[e] ?? e
5163
5163
  };
5164
5164
  }, yc = Object.freeze({
5165
- sp: r.Type.Shape,
5166
- cxnSp: r.Type.Connector
5165
+ sp: t.Type.Shape,
5166
+ cxnSp: t.Type.Connector
5167
5167
  }), Sc = wc({
5168
- l: d.ParagraphAlignment.Left,
5169
- ctr: d.ParagraphAlignment.Center,
5170
- r: d.ParagraphAlignment.Right,
5171
- just: d.ParagraphAlignment.Justify,
5172
- justLow: d.ParagraphAlignment.JustifyLow,
5173
- dist: d.ParagraphAlignment.Distributed,
5174
- thaiDist: d.ParagraphAlignment.ThaiDistributed
5168
+ l: E.ParagraphAlignment.Left,
5169
+ ctr: E.ParagraphAlignment.Center,
5170
+ r: E.ParagraphAlignment.Right,
5171
+ just: E.ParagraphAlignment.Justify,
5172
+ justLow: E.ParagraphAlignment.JustifyLow,
5173
+ dist: E.ParagraphAlignment.Distributed,
5174
+ thaiDist: E.ParagraphAlignment.ThaiDistributed
5175
5175
  }), Tc = wc({
5176
- auto: d.FontAlignment.Auto,
5177
- t: d.FontAlignment.Top,
5178
- ctr: d.FontAlignment.Center,
5179
- base: d.FontAlignment.Baseline,
5180
- b: d.FontAlignment.Bottom
5176
+ auto: E.FontAlignment.Auto,
5177
+ t: E.FontAlignment.Top,
5178
+ ctr: E.FontAlignment.Center,
5179
+ base: E.FontAlignment.Baseline,
5180
+ b: E.FontAlignment.Bottom
5181
5181
  }), Ac = wc({
5182
- t: c.VerticalAlignment.Top,
5183
- ctr: c.VerticalAlignment.Center,
5184
- b: c.VerticalAlignment.Bottom,
5185
- just: c.VerticalAlignment.Justify,
5186
- dist: c.VerticalAlignment.Distributed
5182
+ t: s.VerticalAlignment.Top,
5183
+ ctr: s.VerticalAlignment.Center,
5184
+ b: s.VerticalAlignment.Bottom,
5185
+ just: s.VerticalAlignment.Justify,
5186
+ dist: s.VerticalAlignment.Distributed
5187
5187
  }), bc = wc({
5188
- none: o.UnderlineStyle.None,
5189
- words: o.UnderlineStyle.Words,
5190
- sng: o.UnderlineStyle.Single,
5191
- dbl: o.UnderlineStyle.Double,
5192
- heavy: o.UnderlineStyle.Heavy,
5193
- dotted: o.UnderlineStyle.Dotted,
5194
- dottedHeavy: o.UnderlineStyle.DottedHeavy,
5195
- dash: o.UnderlineStyle.Dash,
5196
- dashHeavy: o.UnderlineStyle.DashHeavy,
5197
- dashLong: o.UnderlineStyle.DashLong,
5198
- dashLongHeavy: o.UnderlineStyle.DashLongHeavy,
5199
- dotDash: o.UnderlineStyle.DotDash,
5200
- dotDashHeavy: o.UnderlineStyle.DotDashHeavy,
5201
- dotDotDash: o.UnderlineStyle.DotDotDash,
5202
- dotDotDashHeavy: o.UnderlineStyle.DotDotDashHeavy,
5203
- wavy: o.UnderlineStyle.Wavy,
5204
- wavyHeavy: o.UnderlineStyle.WavyHeavy,
5205
- wavyDbl: o.UnderlineStyle.WavyDouble
5188
+ none: r.UnderlineStyle.None,
5189
+ words: r.UnderlineStyle.Words,
5190
+ sng: r.UnderlineStyle.Single,
5191
+ dbl: r.UnderlineStyle.Double,
5192
+ heavy: r.UnderlineStyle.Heavy,
5193
+ dotted: r.UnderlineStyle.Dotted,
5194
+ dottedHeavy: r.UnderlineStyle.DottedHeavy,
5195
+ dash: r.UnderlineStyle.Dash,
5196
+ dashHeavy: r.UnderlineStyle.DashHeavy,
5197
+ dashLong: r.UnderlineStyle.DashLong,
5198
+ dashLongHeavy: r.UnderlineStyle.DashLongHeavy,
5199
+ dotDash: r.UnderlineStyle.DotDash,
5200
+ dotDashHeavy: r.UnderlineStyle.DotDashHeavy,
5201
+ dotDotDash: r.UnderlineStyle.DotDotDash,
5202
+ dotDotDashHeavy: r.UnderlineStyle.DotDotDashHeavy,
5203
+ wavy: r.UnderlineStyle.Wavy,
5204
+ wavyHeavy: r.UnderlineStyle.WavyHeavy,
5205
+ wavyDbl: r.UnderlineStyle.WavyDouble
5206
5206
  }), vc = wc({
5207
- noStrike: o.StrikeStyle.None,
5208
- sngStrike: o.StrikeStyle.Single,
5209
- dblStrike: o.StrikeStyle.Double
5207
+ noStrike: r.StrikeStyle.None,
5208
+ sngStrike: r.StrikeStyle.Single,
5209
+ dblStrike: r.StrikeStyle.Double
5210
5210
  }), xc = wc({
5211
- horz: c.WritingMode.Horizontal,
5212
- vert: c.WritingMode.Vertical,
5213
- vert270: c.WritingMode.Vertical270,
5214
- wordArtVert: c.WritingMode.WordArtVertical,
5215
- eaVert: c.WritingMode.EastAsianVertical,
5216
- mongolianVert: c.WritingMode.MongolianVertical,
5217
- wordArtVertRtl: c.WritingMode.WordArtVerticalRtl
5211
+ horz: s.WritingMode.Horizontal,
5212
+ vert: s.WritingMode.Vertical,
5213
+ vert270: s.WritingMode.Vertical270,
5214
+ wordArtVert: s.WritingMode.WordArtVertical,
5215
+ eaVert: s.WritingMode.EastAsianVertical,
5216
+ mongolianVert: s.WritingMode.MongolianVertical,
5217
+ wordArtVertRtl: s.WritingMode.WordArtVerticalRtl
5218
5218
  }), Ic = wc({
5219
- overflow: c.Overflow.Visible,
5220
- ellipsis: c.Overflow.Ellipsis,
5221
- clip: c.Overflow.Clip
5219
+ overflow: s.Overflow.Visible,
5220
+ ellipsis: s.Overflow.Ellipsis,
5221
+ clip: s.Overflow.Clip
5222
5222
  }), Oc = wc({
5223
- l: c.TabStopAlignment.Left,
5224
- ctr: c.TabStopAlignment.Center,
5225
- r: c.TabStopAlignment.Right,
5226
- dec: c.TabStopAlignment.Decimal
5223
+ l: s.TabStopAlignment.Left,
5224
+ ctr: s.TabStopAlignment.Center,
5225
+ r: s.TabStopAlignment.Right,
5226
+ dec: s.TabStopAlignment.Decimal
5227
5227
  }), Rc = (e) => void 0 === e ? void 0 : String(e > 127 ? e - 256 : e), Cc = sr({
5228
5228
  isBlank: () => Pc,
5229
5229
  isNotBlank: () => Mc,
@@ -5337,7 +5337,7 @@ var wc = (e) => {
5337
5337
  switch (r) {
5338
5338
  case "outerShdw": {
5339
5339
  const r = {
5340
- type: a.Type.OuterShadow,
5340
+ type: i.Type.OuterShadow,
5341
5341
  color: this.processAdjColor(e, t)
5342
5342
  };
5343
5343
  t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle = Ai(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (r.blur = wi(t.getAttribute("blurRad")));
@@ -5346,14 +5346,14 @@ var wc = (e) => {
5346
5346
  }
5347
5347
  case "innerShdw": {
5348
5348
  const r = {
5349
- type: a.Type.InnerShadow,
5349
+ type: i.Type.InnerShadow,
5350
5350
  color: this.processAdjColor(e, t)
5351
5351
  };
5352
5352
  return t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle = Ai(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (r.blur = wi(t.getAttribute("blurRad"))), r;
5353
5353
  }
5354
5354
  case "prstShdw": {
5355
5355
  const r = {
5356
- type: a.Type.PresetShadow,
5356
+ type: i.Type.PresetShadow,
5357
5357
  color: this.processAdjColor(e, t),
5358
5358
  preset: t.getAttribute("prst") ?? void 0
5359
5359
  };
@@ -5361,17 +5361,17 @@ var wc = (e) => {
5361
5361
  }
5362
5362
  case "glow": {
5363
5363
  const r = {
5364
- type: a.Type.Glow,
5364
+ type: i.Type.Glow,
5365
5365
  color: this.processAdjColor(e, t)
5366
5366
  };
5367
5367
  return t.hasAttribute("rad") && (r.radius = wi(t.getAttribute("rad"))), r;
5368
5368
  }
5369
5369
  case "softEdge": {
5370
- const e = { type: a.Type.SoftEdge };
5370
+ const e = { type: i.Type.SoftEdge };
5371
5371
  return t.hasAttribute("rad") && (e.radius = wi(t.getAttribute("rad"))), e;
5372
5372
  }
5373
5373
  case "reflection": {
5374
- const e = { type: a.Type.Reflection };
5374
+ const e = { type: i.Type.Reflection };
5375
5375
  t.hasAttribute("blurRad") && (e.blur = wi(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = Ai(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = Ai(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = Ti(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = Ti(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = Ti(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = Ti(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = Ti(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = Ti(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = Ai(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = Ai(t.getAttribute("ky")));
5376
5376
  const r = Jc(t.getAttribute("algn"));
5377
5377
  return r && (e.alignment = r), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = bi(t.getAttribute("rotWithShape"))), e;
@@ -5644,10 +5644,10 @@ var wc = (e) => {
5644
5644
  ["cs", "complexScriptFont"],
5645
5645
  ["sym", "symbolFont"]
5646
5646
  ], ou = (e) => {
5647
- const t = {}, r = e.getAttribute("typeface");
5648
- r && (r.startsWith("+mj") ? t.scheme = o.Scheme.Major : r.startsWith("+mn") ? t.scheme = o.Scheme.Minor : t.family = r);
5649
- const n = e.getAttribute("panose");
5650
- n && (t.panose = n, t.fallbacks = [o.getPanoseFallback(n)]), e.hasAttribute("pitchFamily") && (t.pitch = e.getAttribute("pitchFamily"));
5647
+ const t = {}, n = e.getAttribute("typeface");
5648
+ n && (n.startsWith("+mj") ? t.scheme = r.Scheme.Major : n.startsWith("+mn") ? t.scheme = r.Scheme.Minor : t.family = n);
5649
+ const o = e.getAttribute("panose");
5650
+ o && (t.panose = o, t.fallbacks = [r.getPanoseFallback(o)]), e.hasAttribute("pitchFamily") && (t.pitch = e.getAttribute("pitchFamily"));
5651
5651
  const a = e.hasAttribute("charset") ? ((e) => {
5652
5652
  const t = parseInt(e, 10);
5653
5653
  return Number.isNaN(t) ? void 0 : (t % 256 + 256) % 256;
@@ -5690,30 +5690,30 @@ var wc = (e) => {
5690
5690
  const c = e.evaluate("bodyPr", t);
5691
5691
  c && Lc(c, r);
5692
5692
  }
5693
- parseTextProperties(e, t, r) {
5693
+ parseTextProperties(e, t, n) {
5694
5694
  if (!t) return;
5695
- t.hasAttribute("sz") && (r.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (r.weight = "1" === t.getAttribute("b") ? 700 : 400), t.hasAttribute("i") && (r.style = "1" === t.getAttribute("i") ? o.Style.Italic : o.Style.Normal), t.hasAttribute("u") && (r.underline = bc.read(t.getAttribute("u"))), t.hasAttribute("strike") && (r.strike = vc.read(t.getAttribute("strike"))), t.hasAttribute("lang") && (r.language = t.getAttribute("lang")), t.hasAttribute("altLang") && (r.alternateLanguage = t.getAttribute("altLang")), t.hasAttribute("kern") && (r.kerning = parseFloat(t.getAttribute("kern")) / 100), t.hasAttribute("spc") && (r.letterSpacing = parseFloat(t.getAttribute("spc")) / 100), t.hasAttribute("baseline") && (r.baseline = Ti(t.getAttribute("baseline"))), t.hasAttribute("cap") && (r.capitals = t.getAttribute("cap")), t.hasAttribute("normalizeH") && (r.normalizeHeight = bi(t.getAttribute("normalizeH")));
5696
- const n = this.getFill(e, t);
5697
- n && Object.keys(n).length > 0 && (r.color = n);
5695
+ t.hasAttribute("sz") && (n.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (n.weight = "1" === t.getAttribute("b") ? 700 : 400), t.hasAttribute("i") && (n.style = "1" === t.getAttribute("i") ? r.Style.Italic : r.Style.Normal), t.hasAttribute("u") && (n.underline = bc.read(t.getAttribute("u"))), t.hasAttribute("strike") && (n.strike = vc.read(t.getAttribute("strike"))), t.hasAttribute("lang") && (n.language = t.getAttribute("lang")), t.hasAttribute("altLang") && (n.alternateLanguage = t.getAttribute("altLang")), t.hasAttribute("kern") && (n.kerning = parseFloat(t.getAttribute("kern")) / 100), t.hasAttribute("spc") && (n.letterSpacing = parseFloat(t.getAttribute("spc")) / 100), t.hasAttribute("baseline") && (n.baseline = Ti(t.getAttribute("baseline"))), t.hasAttribute("cap") && (n.capitals = t.getAttribute("cap")), t.hasAttribute("normalizeH") && (n.normalizeHeight = bi(t.getAttribute("normalizeH")));
5696
+ const o = this.getFill(e, t);
5697
+ o && Object.keys(o).length > 0 && (n.color = o);
5698
5698
  const a = e.evaluate("ln", t);
5699
5699
  if (a) {
5700
5700
  const t = this.parseLn(e, a);
5701
- t && Object.keys(t).length > 0 && (r.outline = t);
5701
+ t && Object.keys(t).length > 0 && (n.outline = t);
5702
5702
  }
5703
5703
  const s = this.getEffects(e, t);
5704
- s && s.length > 0 && (r.effects = s);
5704
+ s && s.length > 0 && (n.effects = s);
5705
5705
  const i = e.evaluate("highlight", t);
5706
5706
  if (i) {
5707
5707
  const t = this.processAdjColor(e, i);
5708
- t && (r.highlight = t);
5708
+ t && (n.highlight = t);
5709
5709
  }
5710
5710
  const l = e.evaluate("hlinkClick", t);
5711
- l && (r.hyperlink = this.readHyperlink(e, l));
5712
- for (const [n, o] of nu) {
5713
- const a = e.evaluate(n, t);
5711
+ l && (n.hyperlink = this.readHyperlink(e, l));
5712
+ for (const [r, o] of nu) {
5713
+ const a = e.evaluate(r, t);
5714
5714
  if (!a) continue;
5715
5715
  const s = ou(a);
5716
- s && (r[o] = s);
5716
+ s && (n[o] = s);
5717
5717
  }
5718
5718
  }
5719
5719
  readHyperlink(e, t) {
@@ -5739,10 +5739,10 @@ var wc = (e) => {
5739
5739
  for (; n > r && "" === t[n - 1].trim();) n--;
5740
5740
  return t.slice(r, n).join("\n");
5741
5741
  }, du = {
5742
- anchor: c.VerticalAlignment.Top,
5742
+ anchor: s.VerticalAlignment.Top,
5743
5743
  anchorCenter: !1,
5744
5744
  wrap: "square",
5745
- vertical: c.WritingMode.Horizontal,
5745
+ vertical: s.WritingMode.Horizontal,
5746
5746
  upright: !1,
5747
5747
  rightToLeftColumns: !1,
5748
5748
  columns: 1,
@@ -5751,10 +5751,10 @@ var wc = (e) => {
5751
5751
  forceAntiAlias: !1,
5752
5752
  compatibleLineSpacing: !1,
5753
5753
  spaceFirstLastParagraph: !1,
5754
- autoFit: c.Autofit.None
5754
+ autoFit: s.Autofit.None
5755
5755
  }, fu = Object.freeze({
5756
- verticalOverflow: c.Overflow.Visible,
5757
- horizontalOverflow: c.Overflow.Visible,
5756
+ verticalOverflow: s.Overflow.Visible,
5757
+ horizontalOverflow: s.Overflow.Visible,
5758
5758
  size: 18
5759
5759
  }), mu = {
5760
5760
  left: yi("91440") ?? 0,
@@ -5762,7 +5762,7 @@ var wc = (e) => {
5762
5762
  right: yi("91440") ?? 0,
5763
5763
  bottom: yi("45720") ?? 0
5764
5764
  }, hu = {
5765
- align: d.ParagraphAlignment.Left,
5765
+ align: E.ParagraphAlignment.Left,
5766
5766
  level: 0,
5767
5767
  marginLeft: 0,
5768
5768
  marginRight: 0,
@@ -5773,20 +5773,20 @@ var wc = (e) => {
5773
5773
  hangingPunctuation: !0
5774
5774
  }, gu = {
5775
5775
  weight: 400,
5776
- style: o.Style.Normal,
5777
- underline: o.UnderlineStyle.None,
5778
- strike: o.StrikeStyle.None,
5776
+ style: r.Style.Normal,
5777
+ underline: r.UnderlineStyle.None,
5778
+ strike: r.StrikeStyle.None,
5779
5779
  kerning: 0,
5780
5780
  letterSpacing: 0,
5781
5781
  baseline: 0,
5782
- capitals: d.SmallCaps.None,
5782
+ capitals: E.SmallCaps.None,
5783
5783
  normalizeHeight: !1
5784
5784
  }, Eu = (e, t) => {
5785
5785
  for (const r of Object.keys(t)) e[r] === t[r] && delete e[r];
5786
5786
  }, wu = (e, t, r) => {
5787
- if (void 0 !== l.inheritedTextSize(e, t)) return;
5787
+ if (void 0 !== o.inheritedTextSize(e, t)) return;
5788
5788
  const n = r.size ?? fu.size;
5789
- n === l.TEXT_DEFAULTS.size ? delete r.size : r.size = n;
5789
+ n === o.TEXT_DEFAULTS.size ? delete r.size : r.size = n;
5790
5790
  }, yu = class extends su {
5791
5791
  visit(e, t, r) {
5792
5792
  return t ? (r.text = this.readTextBody(e, t), r) : r;
@@ -5794,22 +5794,22 @@ var wc = (e) => {
5794
5794
  readTextBody(e, t) {
5795
5795
  const r = [];
5796
5796
  for (const n of lu(t)) "p" === n.localName && r.push(this.readParagraph(e, n));
5797
- const n = { paragraphs: r }, o = cu(t, "bodyPr");
5798
- if (o) {
5799
- Lc(o, n);
5800
- const t = Au(o), r = e ? cu(o, "extLst") : null, a = r ? e.serializeElement(r) : null;
5801
- a && (t.extLst = a), Object.keys(t).length > 0 && (n.body = t);
5797
+ const n = { paragraphs: r }, a = cu(t, "bodyPr");
5798
+ if (a) {
5799
+ Lc(a, n);
5800
+ const t = Au(a), r = e ? cu(a, "extLst") : null, o = r ? e.serializeElement(r) : null;
5801
+ o && (t.extLst = o), Object.keys(t).length > 0 && (n.body = t);
5802
5802
  }
5803
- const a = cu(t, "lstStyle");
5804
- if (a && e) {
5805
- const t = this.readListStyle(e, a);
5803
+ const s = cu(t, "lstStyle");
5804
+ if (s && e) {
5805
+ const t = this.readListStyle(e, s);
5806
5806
  t && (n.listStyle = t);
5807
5807
  }
5808
5808
  return ((e) => {
5809
5809
  0 === e.rotation && delete e.rotation;
5810
5810
  for (const t of ["verticalOverflow", "horizontalOverflow"]) {
5811
5811
  const r = e.body?.[t] ?? fu[t];
5812
- r === l.TEXT_DEFAULTS[t] ? e.body && delete e.body[t] : Object.assign(e.body ??= {}, { [t]: r });
5812
+ r === o.TEXT_DEFAULTS[t] ? e.body && delete e.body[t] : Object.assign(e.body ??= {}, { [t]: r });
5813
5813
  }
5814
5814
  for (const t of e.paragraphs) {
5815
5815
  for (const r of t.runs) "\n" !== r.text && wu(e, t, r);
@@ -5988,13 +5988,13 @@ var wc = (e) => {
5988
5988
  Object.keys(o).length > 0 && (t.insets = o), null !== r("vert") && (t.vertical = xc.read(r("vert"))), null !== r("vertOverflow") && (t.verticalOverflow = Ic.read(r("vertOverflow"))), null !== r("horzOverflow") && (t.horizontalOverflow = Ic.read(r("horzOverflow"))), n("upright", "upright"), n("rtlCol", "rightToLeftColumns"), null !== r("numCol") && (t.columns = parseInt(r("numCol"), 10)), null !== r("spcCol") && (t.columnSpacing = yi(r("spcCol")) ?? 0), n("fromWordArt", "fromWordArt"), n("forceAA", "forceAntiAlias"), n("compatLnSpc", "compatibleLineSpacing"), n("spcFirstLastPara", "spaceFirstLastParagraph");
5989
5989
  for (const r of lu(e)) switch (r.localName) {
5990
5990
  case "noAutofit":
5991
- t.autoFit = c.Autofit.None;
5991
+ t.autoFit = s.Autofit.None;
5992
5992
  break;
5993
5993
  case "spAutoFit":
5994
- t.autoFit = c.Autofit.Shape;
5994
+ t.autoFit = s.Autofit.Shape;
5995
5995
  break;
5996
5996
  case "normAutofit":
5997
- t.autoFit = c.Autofit.Normal, r.hasAttribute("fontScale") && (t.fontScale = Ti(r.getAttribute("fontScale"))), r.hasAttribute("lnSpcReduction") && (t.lineSpacingReduction = Ti(r.getAttribute("lnSpcReduction")));
5997
+ t.autoFit = s.Autofit.Normal, r.hasAttribute("fontScale") && (t.fontScale = Ti(r.getAttribute("fontScale"))), r.hasAttribute("lnSpcReduction") && (t.lineSpacingReduction = Ti(r.getAttribute("lnSpcReduction")));
5998
5998
  break;
5999
5999
  case "prstTxWarp": {
6000
6000
  const e = { preset: r.getAttribute("prst") ?? "textNoShape" }, n = Tu(r);
@@ -6004,47 +6004,47 @@ var wc = (e) => {
6004
6004
  }
6005
6005
  return t;
6006
6006
  }, bu = "infoBackground [80]", vu = "none [81]", xu = /^(\s*<v:shape\b)((?:[^>"']|"[^"]*"|'[^']*')*)>/, Iu = /<v:fill\b((?:[^>"'/]|"[^"]*"|'[^']*')*)(\/?)>/, Ou = /<v:stroke\b((?:[^>"'/]|"[^"]*"|'[^']*')*)(\/?)>/, Ru = /([\w:.-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g, Cu = /^(.*?)\s*\[(\d+)\]\s*$/, Lu = {
6007
- solid: u.DashStyle.Solid,
6008
- shortdash: u.DashStyle.SysDash,
6009
- shortdot: u.DashStyle.SysDot,
6010
- shortdashdot: u.DashStyle.SysDashDot,
6011
- shortdashdotdot: u.DashStyle.SysDashDotDot,
6012
- dot: u.DashStyle.Dot,
6013
- dash: u.DashStyle.Dash,
6014
- longdash: u.DashStyle.LongDash,
6015
- dashdot: u.DashStyle.DashDot,
6016
- longdashdot: u.DashStyle.LongDashDot,
6017
- longdashdotdot: u.DashStyle.LongDashDotDot
6007
+ solid: c.DashStyle.Solid,
6008
+ shortdash: c.DashStyle.SysDash,
6009
+ shortdot: c.DashStyle.SysDot,
6010
+ shortdashdot: c.DashStyle.SysDashDot,
6011
+ shortdashdotdot: c.DashStyle.SysDashDotDot,
6012
+ dot: c.DashStyle.Dot,
6013
+ dash: c.DashStyle.Dash,
6014
+ longdash: c.DashStyle.LongDash,
6015
+ dashdot: c.DashStyle.DashDot,
6016
+ longdashdot: c.DashStyle.LongDashDot,
6017
+ longdashdotdot: c.DashStyle.LongDashDotDot
6018
6018
  }, Nu = {
6019
- [u.DashStyle.Solid]: null,
6020
- [u.DashStyle.SysDash]: "shortdash",
6021
- [u.DashStyle.SysDot]: "1 1",
6022
- [u.DashStyle.SysDashDot]: "shortdashdot",
6023
- [u.DashStyle.SysDashDotDot]: "shortdashdotdot",
6024
- [u.DashStyle.Dot]: "dot",
6025
- [u.DashStyle.Dash]: "dash",
6026
- [u.DashStyle.LongDash]: "longDash",
6027
- [u.DashStyle.DashDot]: "dashDot",
6028
- [u.DashStyle.LongDashDot]: "longDashDot",
6029
- [u.DashStyle.LongDashDotDot]: "longDashDotDot"
6019
+ [c.DashStyle.Solid]: null,
6020
+ [c.DashStyle.SysDash]: "shortdash",
6021
+ [c.DashStyle.SysDot]: "1 1",
6022
+ [c.DashStyle.SysDashDot]: "shortdashdot",
6023
+ [c.DashStyle.SysDashDotDot]: "shortdashdotdot",
6024
+ [c.DashStyle.Dot]: "dot",
6025
+ [c.DashStyle.Dash]: "dash",
6026
+ [c.DashStyle.LongDash]: "longDash",
6027
+ [c.DashStyle.DashDot]: "dashDot",
6028
+ [c.DashStyle.LongDashDot]: "longDashDot",
6029
+ [c.DashStyle.LongDashDotDot]: "longDashDotDot"
6030
6030
  }, Du = {
6031
- single: u.Compound.Single,
6032
- thinthin: u.Compound.Double,
6033
- thinthick: u.Compound.ThinThick,
6034
- thickthin: u.Compound.ThickThin,
6035
- thickbetweenthin: u.Compound.Triple
6031
+ single: c.Compound.Single,
6032
+ thinthin: c.Compound.Double,
6033
+ thinthick: c.Compound.ThinThick,
6034
+ thickthin: c.Compound.ThickThin,
6035
+ thickbetweenthin: c.Compound.Triple
6036
6036
  }, Fu = {
6037
- [u.Compound.Single]: null,
6038
- [u.Compound.Double]: "thinThin",
6039
- [u.Compound.ThinThick]: "thinThick",
6040
- [u.Compound.ThickThin]: "thickThin",
6041
- [u.Compound.Triple]: "thickBetweenThin"
6037
+ [c.Compound.Single]: null,
6038
+ [c.Compound.Double]: "thinThin",
6039
+ [c.Compound.ThinThick]: "thinThick",
6040
+ [c.Compound.ThickThin]: "thickThin",
6041
+ [c.Compound.Triple]: "thickBetweenThin"
6042
6042
  }, ku = {
6043
6043
  80: "infoBackground",
6044
6044
  81: "infoText"
6045
6045
  }, Pu = {
6046
- [i.Named.InfoBk]: 80,
6047
- [i.Named.InfoText]: 81
6046
+ [u.Named.InfoBk]: 80,
6047
+ [u.Named.InfoText]: 81
6048
6048
  }, Mu = (e) => e.replace(/&quot;/g, "\"").replace(/&apos;/g, "'").replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&"), Uu = class {
6049
6049
  constructor(e) {
6050
6050
  let t;
@@ -6117,7 +6117,7 @@ var wc = (e) => {
6117
6117
  const n = Cu.exec(r);
6118
6118
  n ? r = `index${n[2]}` : /^#[0-9a-f]{3}$/i.test(r) && (r = `#${r[1]}${r[1]}${r[2]}${r[2]}${r[3]}${r[3]}`), r = r.toLowerCase();
6119
6119
  try {
6120
- new s(r);
6120
+ new a(r);
6121
6121
  } catch {
6122
6122
  return null;
6123
6123
  }
@@ -6313,10 +6313,10 @@ function gp(e) {
6313
6313
  return void 0 === n ? null : Math.round(r * n * 100) / 100;
6314
6314
  })(o.get("strokeweight"));
6315
6315
  null !== l && (i.width = l, o.set("strokeweight", null));
6316
- const c = s.get("dashstyle")?.trim().toLowerCase();
6317
- if (c) {
6318
- const e = Lu[c], t = e ? null : c.split(/[\s,]+/).map(Number);
6319
- e ? i.dash = e : t && t.length > 0 && t.every((e) => !isNaN(e) && e >= 0) && (i.dash = 2 === t.length && 1 === t[0] && 1 === t[1] ? u.DashStyle.SysDot : t.map((e) => 100 * e)), void 0 !== i.dash && s.set("dashstyle", null);
6316
+ const u = s.get("dashstyle")?.trim().toLowerCase();
6317
+ if (u) {
6318
+ const e = Lu[u], t = e ? null : u.split(/[\s,]+/).map(Number);
6319
+ e ? i.dash = e : t && t.length > 0 && t.every((e) => !isNaN(e) && e >= 0) && (i.dash = 2 === t.length && 1 === t[0] && 1 === t[1] ? c.DashStyle.SysDot : t.map((e) => 100 * e)), void 0 !== i.dash && s.set("dashstyle", null);
6320
6320
  }
6321
6321
  const p = Du[s.get("linestyle")?.trim().toLowerCase() ?? ""];
6322
6322
  return p && (i.compound = p, s.set("linestyle", null)), Object.keys(i).length > 0 && (r.stroke = i), {
@@ -6511,16 +6511,16 @@ function Wp(e) {
6511
6511
  function Vp(e) {
6512
6512
  const t = {};
6513
6513
  if (!e) return t;
6514
- const r = pu(e);
6515
- "" !== r && (t.caption = r);
6516
- const n = e.paragraphs;
6517
- for (let r = 0; r < n.length; r++) {
6518
- const a = n[r], s = a.runs.find((e) => "" !== e.text && "\n" !== e.text);
6519
- if (!s) continue;
6520
- const i = {}, c = s.font?.family;
6521
- c && (i.name = c), i.size = s.size ?? l.inheritedTextSize(e, a) ?? l.TEXT_DEFAULTS.size, void 0 !== s.weight && s.weight >= 700 && (i.bold = !0), s.style === o.Style.Italic && (i.italic = !0);
6522
- const u = Hp(s.color);
6523
- u && (i.color = u), t.font = i;
6514
+ const n = pu(e);
6515
+ "" !== n && (t.caption = n);
6516
+ const a = e.paragraphs;
6517
+ for (let n = 0; n < a.length; n++) {
6518
+ const s = a[n], i = s.runs.find((e) => "" !== e.text && "\n" !== e.text);
6519
+ if (!i) continue;
6520
+ const l = {}, c = i.font?.family;
6521
+ c && (l.name = c), l.size = i.size ?? o.inheritedTextSize(e, s) ?? o.TEXT_DEFAULTS.size, void 0 !== i.weight && i.weight >= 700 && (l.bold = !0), i.style === r.Style.Italic && (l.italic = !0);
6522
+ const u = Hp(i.color);
6523
+ u && (l.color = u), t.font = l;
6524
6524
  break;
6525
6525
  }
6526
6526
  return t;
@@ -6899,7 +6899,7 @@ var gd = (e) => {
6899
6899
  };
6900
6900
  }, Ed = (e) => {
6901
6901
  if (!e.location) return null;
6902
- const t = v.fastStringToRange(e.location);
6902
+ const t = S.fastStringToRange(e.location);
6903
6903
  let r = e.fields ? gd(e) : null;
6904
6904
  if (!e.fields && e.part?.xml) {
6905
6905
  const t = qo(e.part.xml, "location"), n = t ? Ko(t.attributes) : null, o = Number(n?.get("rowPageCount") ?? 0), a = Number(n?.get("colPageCount") ?? 0);
@@ -6930,7 +6930,7 @@ function Sd(e, t) {
6930
6930
  return "loaded" === r.status && "generic" !== r.kind;
6931
6931
  }
6932
6932
  async function Td(e) {
6933
- const t = m.getShared();
6933
+ const t = A.getShared();
6934
6934
  for (const r of e) Sd(t, r);
6935
6935
  return await t.whenReady(), e.every((e) => Sd(t, e));
6936
6936
  }
@@ -7212,7 +7212,7 @@ P(function(e, t) {
7212
7212
  }
7213
7213
  return e.interface;
7214
7214
  });
7215
- var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File entry comment exceeds 64KB", Wd = "Invalid file entry comment (must be a string)", Vd = "File entry name exceeds 64KB", Hd = "Version exceeds 65535", Gd = "The strength must equal 1, 2, or 3", jd = "Encryption is not supported in USDZ files", Xd = "Encryption is not supported when the 'passThrough' option is set to true (use 'compressed' instead)", Yd = "Extra field data exceeds 64KB", qd = -2147483648, Kd = 2147483647, Zd = BigInt(0), Qd = BigInt("0x7fffffffffffffff"), Jd = "Zip64 is not supported (set the 'zip64' option to 'true')", $d = "Undefined uncompressed size", _d = "Undefined compression method", ef = "Undefined CRC32", tf = "Undefined reader", rf = "Invalid reader (must be a Reader instance, a ReadableStream instance, or an object with a 'readable' property)", nf = "Zip file not empty", of = "Invalid uid (must be integer 0..2^32-1)", af = "Invalid gid (must be integer 0..2^32-1)", sf = "Invalid UNIX mode (must be integer 0..65535)", lf = "Invalid unixExtraFieldType (must be 'infozip' or 'unix')", cf = "uid/gid must be 0..65535 for unixExtraFieldType 'unix' (use 'infozip' for larger ids)", uf = "Invalid msdosAttributesRaw (must be integer 0..255)", pf = "Invalid msdosAttributes (must be an object with boolean flags)", df = "Invalid level (must be integer 0..9)", ff = "Invalid entry option (must be an entry returned by ZipReader#getEntries())", mf = "The last modification date of an entry encrypted with ZipCrypto cannot be changed when passThrough is set", hf = "compression unavailable", gf = "clamped last modification date", Ef = new Uint8Array([
7215
+ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File entry comment exceeds 64KB", Wd = "Invalid file entry comment (must be a string)", Vd = "File entry name exceeds 64KB", Hd = "Version exceeds 65535", Gd = "The strength must equal 1, 2, or 3", jd = "Encryption is not supported in USDZ files", Xd = "Encryption is not supported when the 'passThrough' option is set to true (use 'compressed' instead)", Yd = "Extra field data exceeds 64KB", qd = -2147483648, Kd = 2147483647, Zd = BigInt(0), Qd = BigInt("0x7fffffffffffffff"), Jd = "Zip64 is not supported (set the 'zip64' option to 'true')", $d = "Undefined uncompressed size", _d = "Undefined compression method", ef = "Undefined CRC32", tf = "Undefined reader", rf = "Invalid reader (must be a Reader instance, a ReadableStream instance, or an object with a 'readable' property)", nf = "Zip file not empty", of = "Invalid uid (must be integer 0..2^32-1)", af = "Invalid gid (must be integer 0..2^32-1)", sf = "Invalid UNIX mode (must be integer 0..65535)", lf = "Invalid unixExtraFieldType (must be 'infozip' or 'unix')", cf = "uid/gid must be 0..65535 for unixExtraFieldType 'unix' (use 'infozip' for larger ids)", uf = "Invalid msdosAttributesRaw (must be integer 0..255)", pf = "Invalid msdosAttributes (must be an object with boolean flags)", df = "Invalid level (must be integer 0..9)", ff = "Invalid uncompressedSize option (must be a non-negative integer)", mf = "Invalid entry option (must be an entry returned by ZipReader#getEntries())", hf = "The last modification date of an entry encrypted with ZipCrypto cannot be changed when passThrough is set", gf = "compression unavailable", Ef = "clamped last modification date", wf = new Uint8Array([
7216
7216
  7,
7217
7217
  0,
7218
7218
  2,
@@ -7222,12 +7222,12 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7222
7222
  3,
7223
7223
  0,
7224
7224
  0
7225
- ]), wf = "infozip", yf = "unix", Sf = [
7225
+ ]), yf = "infozip", Sf = "unix", Tf = [
7226
7226
  8,
7227
7227
  9,
7228
7228
  5,
7229
7229
  3
7230
- ], Tf = 0, Af = [], bf = class {
7230
+ ], Af = 0, bf = [], vf = class {
7231
7231
  constructor(e, t = {}) {
7232
7232
  e = new pt(e);
7233
7233
  const { availableSize: r = Qe, maxSize: n = Qe } = e, o = r > 0 && r !== 1 / 0 && n > 0 && n !== 1 / 0;
@@ -7250,13 +7250,13 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7250
7250
  });
7251
7251
  }
7252
7252
  prependZip(e) {
7253
- return If(this, async function(e, t) {
7253
+ return Of(this, async function(e, t) {
7254
7254
  if (e.filenames.size) throw new Error(nf);
7255
- await Of(e, t);
7255
+ await Rf(e, t);
7256
7256
  }(this, e));
7257
7257
  }
7258
7258
  appendZip(e, t = {}) {
7259
- return If(this, Of(this, e, t));
7259
+ return Of(this, Rf(this, e, t));
7260
7260
  }
7261
7261
  add(e = "", t, r = {}) {
7262
7262
  const n = this, { pendingAddFileCalls: o } = n, a = async function(e, t, r, n) {
@@ -7264,7 +7264,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7264
7264
  const o = n[jt];
7265
7265
  if (void 0 !== o) {
7266
7266
  const { entryOptions: t, passThroughOptions: r } = function(e, t, r) {
7267
- if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error(ff);
7267
+ if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error(mf);
7268
7268
  const { externalFileAttributes: n, versionMadeBy: o, comment: a, lastModDate: s, rawLastModDate: i, creationDate: l, lastAccessDate: c, uncompressedSize: u, encrypted: p, zipCrypto: d, crc32: f, compressionMethod: m, extraFieldAES: h, extraFieldUnix: g, internalFileAttributes: E, extraField: w, bitFlag: y, directory: S, uid: T, gid: A } = e, b = {
7269
7269
  externalFileAttributes: n,
7270
7270
  versionMadeBy: o,
@@ -7281,7 +7281,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7281
7281
  void 0 === T && void 0 === A || Object.assign(b, {
7282
7282
  uid: T,
7283
7283
  gid: A,
7284
- unixExtraFieldType: g ? yf : wf
7284
+ unixExtraFieldType: g ? Sf : yf
7285
7285
  });
7286
7286
  const x = {};
7287
7287
  if (t && !S) {
@@ -7293,42 +7293,42 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7293
7293
  encrypted: p,
7294
7294
  zipCrypto: d,
7295
7295
  encryptionStrength: h ? h.strength : void 0
7296
- }), y && (x.dataDescriptor = y.dataDescriptor, x[Nt] = Sf[y.level]), void 0 === r) x.rawLastModDate = i;
7296
+ }), y && (x.dataDescriptor = y.dataDescriptor, x[Nt] = Tf[y.level]), void 0 === r) x.rawLastModDate = i;
7297
7297
  else if ("compressed" !== t && d && (!y || y.dataDescriptor) && r instanceof Date && function(e) {
7298
7298
  let t = /* @__PURE__ */ new Date(2e3 * Math.ceil(Math.floor(e.getTime() / 1e3) / 2));
7299
7299
  t < Dt ? t = Dt : t > at && (t = at);
7300
7300
  return 255 & (t.getHours() << 3 | t.getMinutes() >> 3);
7301
- }(r) != (i >>> 8 & 255)) throw new Error(mf);
7301
+ }(r) != (i >>> 8 & 255)) throw new Error(hf);
7302
7302
  }
7303
7303
  return {
7304
7304
  entryOptions: b,
7305
7305
  passThroughOptions: x
7306
7306
  };
7307
- }(o, j(Zf(e, n, qt)), Zf(e, n, ee));
7307
+ }(o, j(Qf(e, n, qt)), Qf(e, n, ee));
7308
7308
  delete n[jt], n = Object.assign(t, r, n);
7309
7309
  }
7310
- Zf(e, n, "directory") && !t.endsWith("/") && (t += "/");
7310
+ Qf(e, n, "directory") && !t.endsWith("/") && (t += "/");
7311
7311
  if (e.filenames.has(t)) throw new Error(Ud);
7312
- e.filenames.add(t), Tf < Vt().maxWorkers ? Tf++ : await new Promise((e) => Af.push(e));
7312
+ e.filenames.add(t), Af < Vt().maxWorkers ? Af++ : await new Promise((e) => bf.push(e));
7313
7313
  try {
7314
7314
  return await async function(e, t, r, n) {
7315
7315
  const o = function(e, t, r) {
7316
- let n = Zf(e, r, ze), o = Zf(e, r, Lt, n ? 20 : 768);
7317
- const a = Zf(e, r, xe), s = $f(e, r, "uid"), i = $f(e, r, "gid");
7318
- let l = $f(e, r, mt), c = Zf(e, r, Zt), u = Zf(e, r, nt), p = Zf(e, r, N), d = Zf(e, r, Ot);
7319
- if (me(s, _e, of), me(i, _e, af), me(l, Xt, sf), void 0 !== c && c !== wf && c !== yf) throw new Error(lf);
7320
- if (c === yf && (void 0 !== s && s > 65535 || void 0 !== i && i > 65535)) throw new Error(cf);
7321
- void 0 !== c || void 0 === s && void 0 === i || (c = wf);
7322
- let f = $f(e, r, Fe), m = Zf(e, r, Me);
7316
+ let n = Qf(e, r, ze), o = Qf(e, r, Lt, n ? 20 : 768);
7317
+ const a = Qf(e, r, xe), s = _f(e, r, "uid"), i = _f(e, r, "gid");
7318
+ let l = _f(e, r, mt), c = Qf(e, r, Zt), u = Qf(e, r, nt), p = Qf(e, r, N), d = Qf(e, r, Ot);
7319
+ if (me(s, _e, of), me(i, _e, af), me(l, Xt, sf), void 0 !== c && c !== yf && c !== Sf) throw new Error(lf);
7320
+ if (c === Sf && (void 0 !== s && s > 65535 || void 0 !== i && i > 65535)) throw new Error(cf);
7321
+ void 0 !== c || void 0 === s && void 0 === i || (c = yf);
7322
+ let f = _f(e, r, Fe), m = Qf(e, r, Me);
7323
7323
  const h = void 0 !== f || void 0 !== m;
7324
7324
  void 0 !== s || void 0 !== i || void 0 !== l || c || a ? (n = !1, o = 255 & o | 768) : h && (n = !0, o &= 255);
7325
7325
  if (me(f, 255, uf), m && ("object" != typeof m || Array.isArray(m))) throw new Error(pf);
7326
7326
  if (o > 65535) throw new Error(Hd);
7327
- let g = Zf(e, r, Le);
7327
+ let g = Qf(e, r, Le);
7328
7328
  const E = void 0 !== g;
7329
7329
  E || (g = 0);
7330
7330
  !r.directory && t.endsWith("/") && (r[Re] = !0);
7331
- const w = Zf(e, r, Re);
7331
+ const w = Qf(e, r, Re);
7332
7332
  w ? (t.endsWith("/") || (t += "/"), E || (g = 16, n || (g |= (493 | Mt) << 16))) : n || E || (g = a ? 493 << 16 : 420 << 16);
7333
7333
  if (!n) {
7334
7334
  const e = void 0 !== l || Boolean(u || p || d);
@@ -7376,37 +7376,37 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7376
7376
  }(e, t, n);
7377
7377
  ({name: t} = o);
7378
7378
  const a = function(e, t, r) {
7379
- const n = Jf(e, r, "encodeText") || we;
7379
+ const n = $f(e, r, "encodeText") || we;
7380
7380
  let o = n(t, ht);
7381
7381
  void 0 === o && (o = we(t));
7382
- if (im(o) > 65535) throw new Error(Vd);
7382
+ if (lm(o) > 65535) throw new Error(Vd);
7383
7383
  const a = r.comment || "";
7384
7384
  if ("string" != typeof a) throw new Error(Wd);
7385
7385
  let s = n(a, k);
7386
7386
  void 0 === s && (s = we(a));
7387
- if (im(s) > 65535) throw new Error(zd);
7388
- const i = Zf(e, r, Ye);
7387
+ if (lm(s) > 65535) throw new Error(zd);
7388
+ const i = Qf(e, r, Ye);
7389
7389
  if (void 0 !== i && i > 65535) throw new Error(Hd);
7390
- const l = Qf(e, r, ee, /* @__PURE__ */ new Date()), c = Zf(e, r, ge), u = Qf(e, r, Ft), p = Qf(e, r, M), d = Zf(e, r, ne, 0), f = j(Zf(e, r, qt)), m = Boolean(f), h = !0 === f;
7391
- let g = Zf(e, r, He), E = Zf(e, r, qe);
7390
+ const l = Jf(e, r, ee, /* @__PURE__ */ new Date()), c = Qf(e, r, ge), u = Jf(e, r, Ft), p = Jf(e, r, M), d = Qf(e, r, ne, 0), f = j(Qf(e, r, qt)), m = Boolean(f), h = !0 === f;
7391
+ let g = Qf(e, r, He), E = Qf(e, r, qe);
7392
7392
  $(g, E), g = g && g.length ? g : void 0, E = E && E.length ? E : void 0;
7393
- const w = $f(e, r, yt, 3), y = Zf(e, r, Je), S = Zf(e, r, $e, !0), T = Zf(e, r, ct), A = Zf(e, r, ot, !0), b = Zf(e, r, de), v = Zf(e, r, Pt), x = Jf(e, r, je), I = Zf(e, r, Bt, !0), O = Se(Zf(e, r, Jt));
7393
+ const w = _f(e, r, yt, 3), y = Qf(e, r, Je), S = Qf(e, r, $e, !0), T = Qf(e, r, ct), A = Qf(e, r, ot, !0), b = Qf(e, r, de), v = Qf(e, r, Pt), x = $f(e, r, je), I = Qf(e, r, Bt, !0), O = Se(Qf(e, r, Jt));
7394
7394
  rr(O);
7395
- const R = Zf(e, r, W, !cm(o) || !cm(s)), C = Zf(e, r, tr), L = m || void 0 === C ? void 0 : tt(C);
7395
+ const R = Qf(e, r, W, !um(o) || !um(s)), C = Qf(e, r, tr), L = m || void 0 === C ? void 0 : tt(C);
7396
7396
  if (!m && void 0 !== C && 0 !== C && 8 !== C && !L) throw new Error(F);
7397
- let N = $f(e, r, Nt);
7397
+ let N = _f(e, r, Nt);
7398
7398
  if (me(N, 9, df), e.options.usdz) {
7399
7399
  if (void 0 !== g || void 0 !== E) throw new Error(jd);
7400
7400
  void 0 === N && void 0 === C && (N = 0);
7401
7401
  }
7402
7402
  m && (N = U(r[Nt]));
7403
- let D = Zf(e, r, H), P = Zf(e, r, Rt);
7403
+ let D = Qf(e, r, H), P = Qf(e, r, Rt);
7404
7404
  v && void 0 === P && (P = !1);
7405
7405
  (void 0 === P || y && !h) && (P = !0);
7406
7406
  void 0 !== N && 6 != N && (D = !1);
7407
- const B = Zf(e, r, Wt);
7407
+ const B = Qf(e, r, Wt);
7408
7408
  if (!(y || void 0 === g && void 0 === E || Number.isInteger(w) && w >= 1 && w <= 3)) throw new Error(Gd);
7409
- const z = Cf(r[Y]), V = Cf(r[At]), G = Cf(r[dt]);
7409
+ const z = Lf(r[Y]), V = Lf(r[At]), G = Lf(r[dt]);
7410
7410
  return {
7411
7411
  comment: a,
7412
7412
  resolvedOptions: {
@@ -7454,9 +7454,9 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7454
7454
  e.lastFileEntry = c;
7455
7455
  try {
7456
7456
  const { resolvedOptions: s } = a;
7457
- 0 == s.level || void 0 !== s.compressionMethod || s.passThroughCompression || await gt(Vt()) || (s.level = 0, et(e.warnings, hf, t));
7457
+ 0 == s.level || void 0 !== s.compressionMethod || s.passThroughCompression || await gt(Vt()) || (s.level = 0, et(e.warnings, gf, t));
7458
7458
  const i = await async function(e, t, { resolvedOptions: r }, n) {
7459
- if (r.passThroughCompression && !t && !Zf(e, n, "directory")) throw new Error(tf);
7459
+ if (r.passThroughCompression && !t && !Qf(e, n, "directory")) throw new Error(tf);
7460
7460
  let o;
7461
7461
  if (t) {
7462
7462
  if (t = new vt(t), await $t(t), !t.readUint8Array && !t.readable) throw new Error(rf);
@@ -7465,20 +7465,25 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7465
7465
  return Object.assign({ reader: t }, function(e, t, r, n, o) {
7466
7466
  const { passThroughCompression: a, passThroughEncryption: s, zipCrypto: i, password: l, rawPassword: c, encryptionStrength: u } = n;
7467
7467
  let { dataDescriptor: p, zip64: d, level: f, compressionMethod: m } = n, h = 0, g = 0, E = !1;
7468
- if (a && t) {
7469
- if (g = o[Ut], void 0 === g) throw new Error($d);
7468
+ const w = U(o[Ut]);
7469
+ if (me(w, Number.MAX_SAFE_INTEGER, ff), a && t) {
7470
+ if (g = w, void 0 === g) throw new Error($d);
7470
7471
  if (void 0 === m) throw new Error(_d);
7471
7472
  }
7472
- const w = !0 === d, y = Zf(e, o, Z);
7473
- if (t && s && !y && im(l, c)) throw new Error(Xd);
7474
- const S = t && (Boolean(l && im(l) || c && im(c)) || s && y);
7473
+ const y = !0 === d, S = Qf(e, o, Z);
7474
+ if (t && s && !S && lm(l, c)) throw new Error(Xd);
7475
+ const T = t && (Boolean(l && lm(l) || c && lm(c)) || s && S);
7475
7476
  t || (f = 0, m = 0);
7476
- const T = Tt(S, i, u);
7477
- t && (a ? (o.uncompressedSize = g, h = void 0 === r ? _f(g) + T : r + (s ? 0 : T)) : void 0 === r ? (p = !0, (d || void 0 === d) && (d = E = !0, h = _e + 1)) : (o.uncompressedSize = g = r, h = (em(m, f) ? _f(g) : g) + T));
7478
- const A = !(S || t && (0 !== r || a) || em(m, f));
7479
- A && void 0 === Zf(e, o, "dataDescriptor") && (p = !1);
7480
- const b = w || E || g >= 4294967295, v = w || h >= 4294967295;
7481
- if (b || v) {
7477
+ const A = Tt(T, i, u);
7478
+ if (t) if (a) o.uncompressedSize = g, h = void 0 === r ? em(g) + A : r + (s ? 0 : A);
7479
+ else {
7480
+ const e = void 0 === r ? w : r;
7481
+ void 0 === e ? (d || void 0 === d) && (d = E = !0, h = _e + 1) : (o.uncompressedSize = g = e, h = (tm(m, f) ? em(g) : g) + A);
7482
+ }
7483
+ const b = !(T || t && (0 !== r || a) || tm(m, f)), v = void 0 !== o.crc32 || void 0 !== o.signature, x = a && t && void 0 !== r && !(T && i) && (v || T && !i);
7484
+ (b || x) && void 0 === Qf(e, o, "dataDescriptor") && (p = !1);
7485
+ const I = y || E || g >= 4294967295, O = y || h >= 4294967295;
7486
+ if (I || O) {
7482
7487
  if (!1 === d) throw new Error(Jd);
7483
7488
  d = !0;
7484
7489
  }
@@ -7486,118 +7491,123 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7486
7491
  maximumCompressedSize: h,
7487
7492
  resolvedOptions: {
7488
7493
  dataDescriptor: p,
7489
- emptyEntry: A,
7494
+ emptyEntry: b,
7495
+ completeHeader: x,
7496
+ knownCompressedSize: x ? h : void 0,
7490
7497
  zip64: d,
7491
- zip64Enabled: w,
7498
+ zip64Enabled: y,
7492
7499
  unknownSize: E,
7493
- zip64UncompressedSize: b,
7494
- zip64CompressedSize: v,
7500
+ zip64UncompressedSize: I,
7501
+ zip64CompressedSize: O,
7495
7502
  uncompressedSize: g,
7496
7503
  level: f,
7497
7504
  compressionMethod: m,
7498
- encrypted: S
7505
+ encrypted: T
7499
7506
  }
7500
7507
  };
7501
7508
  }(e, Boolean(t), o, r, n));
7502
7509
  }(e, r, a, n);
7503
7510
  ({reader: r} = i);
7504
- const d = Pf(e.writer), f = kf(e.writer);
7511
+ const d = Mf(e.writer), f = Pf(e.writer);
7505
7512
  let m = void 0 === n.crc32 ? n[Gt] : n.crc32;
7506
7513
  const h = i.resolvedOptions.encrypted && !s.zipCrypto;
7507
7514
  if (s.passThroughCompression && !s.passThroughEncryption && h && (m = void 0), s.passThroughCompression && r && !h && void 0 === m) throw new Error(ef);
7508
7515
  const g = function(e) {
7509
- const { rawFilename: t, lastModDate: r, rawLastModDate: n, lastAccessDate: o, creationDate: a, level: s, zip64: i, zipCrypto: l, useUnicodeFileNames: c, dataDescriptor: u, directory: p, rawExtraField: d, rawLocalExtraField: f, encryptionStrength: m, extendedTimestamp: h, ntfsTimestamp: g, passThroughCompression: E, encrypted: w, zip64UncompressedSize: y, zip64CompressedSize: S, uncompressedSize: T, unknownSize: A, crc32: b } = e;
7510
- let { version: v, compressionMethod: x } = e;
7511
- const I = !p && em(x, s);
7512
- let O;
7513
- const R = E || !I, C = i && (e.bufferedWrite || !u || !y && !S || R && !A), L = C || i && u && (y || S);
7516
+ const { rawFilename: t, lastModDate: r, rawLastModDate: n, lastAccessDate: o, creationDate: a, level: s, zip64: i, zipCrypto: l, useUnicodeFileNames: c, dataDescriptor: u, directory: p, rawExtraField: d, rawLocalExtraField: f, encryptionStrength: m, extendedTimestamp: h, ntfsTimestamp: g, passThroughCompression: E, encrypted: w, zip64UncompressedSize: y, zip64CompressedSize: S, uncompressedSize: T, knownCompressedSize: A, unknownSize: b, crc32: v } = e;
7517
+ let { version: x, compressionMethod: I } = e;
7518
+ const O = u ? void 0 : A, R = !p && tm(I, s);
7519
+ let C;
7520
+ const L = E || !R, N = i && (e.bufferedWrite || !u || !y && !S || L && !b), F = N || i && u && (y || S);
7514
7521
  if (i && (y || S)) {
7515
- const e = Ff(20);
7516
- if (e.writeUint16(1), e.writeUint16(16), O = e.array, C && (e.writeUint64(T), R)) {
7522
+ const e = kf(20);
7523
+ if (e.writeUint16(1), e.writeUint16(16), C = e.array, N && (e.writeUint64(T), L)) {
7517
7524
  const t = Tt(w, l, m);
7518
- e.writeUint64(E ? 0 : T + t);
7525
+ e.writeUint64(E ? void 0 === O ? 0 : O : T + t);
7519
7526
  }
7520
- } else O = q;
7521
- let N, F, k, P, M, U, B;
7527
+ } else C = q;
7528
+ let k, P, M, U, B, z, W;
7522
7529
  if (w && !l) {
7523
- const e = Ff(im(Ef) + 2);
7524
- e.writeUint16(ke), e.writeBytes(Ef), N = e.array, N[8] = m;
7525
- } else N = q;
7530
+ const e = kf(lm(wf) + 2);
7531
+ e.writeUint16(ke), e.writeBytes(wf), k = e.array, k[8] = m;
7532
+ } else k = q;
7526
7533
  if (h) {
7527
- const e = qf(r), t = (z = e) >= qd && z <= Kd;
7534
+ const e = Kf(r), t = (V = e) >= qd && V <= Kd;
7528
7535
  if (t) {
7529
- const t = 9 + (o ? 4 : 0) + (a ? 4 : 0), r = Ff(t);
7530
- P = 1 + (o ? 2 : 0) + (a ? 4 : 0), M = e, r.writeUint16(We), r.writeUint16(t - 4), r.writeUint8(P), r.writeUint32(e), o && r.writeUint32(Kf(qf(o))), a && r.writeUint32(Kf(qf(a))), k = r.array;
7531
- } else k = q;
7536
+ const t = 9 + (o ? 4 : 0) + (a ? 4 : 0), r = kf(t);
7537
+ U = 1 + (o ? 2 : 0) + (a ? 4 : 0), B = e, r.writeUint16(We), r.writeUint16(t - 4), r.writeUint8(U), r.writeUint32(e), o && r.writeUint32(Zf(Kf(o))), a && r.writeUint32(Zf(Kf(a))), M = r.array;
7538
+ } else M = q;
7532
7539
  if (void 0 === g ? !t || Boolean(o || a) : g) try {
7533
- const e = Yf(r), t = Ff(36);
7534
- t.writeUint16(10), t.writeUint16(32), t.skip(4), t.writeUint16(1), t.writeUint16(24), t.writeUint64(e), t.writeUint64(o ? Yf(o) : e), t.writeUint64(a ? Yf(a) : e), F = t.array;
7540
+ const e = qf(r), t = kf(36);
7541
+ t.writeUint16(10), t.writeUint16(32), t.skip(4), t.writeUint16(1), t.writeUint16(24), t.writeUint64(e), t.writeUint64(o ? qf(o) : e), t.writeUint64(a ? qf(a) : e), P = t.array;
7535
7542
  } catch {
7536
- F = q;
7543
+ P = q;
7537
7544
  }
7538
- else F = q;
7539
- } else F = k = q;
7540
- var z;
7545
+ else P = q;
7546
+ } else P = M = q;
7547
+ var V;
7541
7548
  try {
7542
7549
  const { uid: t, gid: r, unixExtraFieldType: n } = e;
7543
- if (n != wf || void 0 === t && void 0 === r) if (n != yf || void 0 === t && void 0 === r) U = B = q;
7550
+ if (n != yf || void 0 === t && void 0 === r) if (n != Sf || void 0 === t && void 0 === r) z = W = q;
7544
7551
  else {
7545
- const e = Ff(8);
7546
- e.writeUint16(D), e.writeUint16(4), e.writeUint16((void 0 === t ? 0 : t) & Xt), e.writeUint16((void 0 === r ? 0 : r) & Xt), U = e.array;
7547
- const n = Ff(4);
7548
- n.writeUint16(D), n.writeUint16(0), B = n.array;
7552
+ const e = kf(8);
7553
+ e.writeUint16(D), e.writeUint16(4), e.writeUint16((void 0 === t ? 0 : t) & Xt), e.writeUint16((void 0 === r ? 0 : r) & Xt), z = e.array;
7554
+ const n = kf(4);
7555
+ n.writeUint16(D), n.writeUint16(0), W = n.array;
7549
7556
  }
7550
7557
  else {
7551
- const e = Nf(void 0 === t ? 0 : t), n = Nf(void 0 === r ? 0 : r), o = 3 + e.length + n.length, a = Ff(4 + o);
7552
- a.writeUint16(Ee), a.writeUint16(o), a.writeUint8(1), a.writeUint8(e.length), a.writeBytes(e), a.writeUint8(n.length), a.writeBytes(n), U = B = a.array;
7558
+ const e = Df(void 0 === t ? 0 : t), n = Df(void 0 === r ? 0 : r), o = 3 + e.length + n.length, a = kf(4 + o);
7559
+ a.writeUint16(Ee), a.writeUint16(o), a.writeUint8(1), a.writeUint8(e.length), a.writeBytes(e), a.writeUint8(n.length), a.writeBytes(n), z = W = a.array;
7553
7560
  }
7554
7561
  } catch {
7555
- U = B = q;
7562
+ z = W = q;
7556
7563
  }
7557
- void 0 === x && (x = I ? 8 : 0);
7558
- void 0 === v && (v = 0 != x || p || w ? 20 : 10);
7559
- const { codecVersionNeeded: W } = e;
7560
- I && void 0 !== W && (v = v > W ? v : W);
7561
- i && (v = v > 45 ? v : 45);
7562
- w && !l && (v = v > 51 ? v : 51, E && void 0 !== b && (N[4] = 1), nm(Pe(N), 9, x), x = 99);
7563
- const V = L ? im(O) : 0, H = V + im(N, k, F, U, d, f);
7564
- if (H + (e.usdz ? 67 : 0) > 65535) throw new Error(Yd);
7565
- const G = /* @__PURE__ */ new Date(2e3 * Math.ceil(Math.floor(r.getTime() / 1e3) / 2)), j = G < Dt ? Dt : G > at ? at : G, X = im(k) ? /* @__PURE__ */ new Date(1e3 * qf(r)) : im(F) ? r : j, { headerArray: Y, headerView: K, rawLastModDate: Z } = lm({
7566
- version: v,
7567
- bitFlag: um(s, c, u, w, x),
7568
- compressionMethod: x,
7564
+ void 0 === I && (I = R ? 8 : 0);
7565
+ void 0 === x && (x = 0 != I || p || w ? 20 : 10);
7566
+ const { codecVersionNeeded: H } = e;
7567
+ R && void 0 !== H && (x = x > H ? x : H);
7568
+ i && (x = x > 45 ? x : 45);
7569
+ w && !l && (x = x > 51 ? x : 51, E && void 0 !== v && (k[4] = 1), om(Pe(k), 9, I), I = 99);
7570
+ const G = F ? lm(C) : 0, j = G + lm(k, M, P, z, d, f);
7571
+ if (j + (e.usdz ? 67 : 0) > 65535) throw new Error(Yd);
7572
+ const X = /* @__PURE__ */ new Date(2e3 * Math.ceil(Math.floor(r.getTime() / 1e3) / 2)), Y = X < Dt ? Dt : X > at ? at : X, K = lm(M) ? /* @__PURE__ */ new Date(1e3 * Kf(r)) : lm(P) ? r : Y, { headerArray: Z, headerView: Q, rawLastModDate: J } = cm({
7573
+ version: x,
7574
+ bitFlag: pm(s, c, u, w, I),
7575
+ compressionMethod: I,
7569
7576
  uncompressedSize: T,
7570
- lastModDate: j,
7577
+ compressedSize: O,
7578
+ lastModDate: Y,
7571
7579
  rawLastModDate: n,
7572
7580
  rawFilename: t,
7573
7581
  zip64CompressedSize: S,
7574
7582
  zip64UncompressedSize: y,
7575
- extraFieldLength: H
7576
- }), Q = Ff(30 + im(t) + H), J = Q.array, $ = Pe(J);
7577
- Q.writeUint32(St), Q.writeBytes(Y), Q.writeBytes(t), L && Q.writeBytes(O);
7578
- Q.writeBytes(N), Q.writeBytes(k), Q.writeBytes(F), Q.writeBytes(U), Q.writeBytes(d), Q.writeBytes(f), u && (S || om($, 18, 0), y || om($, 22, 0));
7583
+ extraFieldLength: j
7584
+ });
7585
+ void 0 !== O && E && void 0 !== v && am(Q, 10, v);
7586
+ const $ = kf(30 + lm(t) + j), _ = $.array, ee = Pe(_);
7587
+ $.writeUint32(St), $.writeBytes(Z), $.writeBytes(t), F && $.writeBytes(C);
7588
+ $.writeBytes(k), $.writeBytes(M), $.writeBytes(P), $.writeBytes(z), $.writeBytes(d), $.writeBytes(f), u && (S || am(ee, 18, 0), y || am(ee, 22, 0));
7579
7589
  return {
7580
- localHeaderArray: J,
7581
- localHeaderView: $,
7582
- headerArray: Y,
7583
- headerView: K,
7584
- lastModDate: X,
7585
- lastModDateClamped: X === j && G.getTime() != j.getTime(),
7586
- rawLastModDate: Z,
7590
+ localHeaderArray: _,
7591
+ localHeaderView: ee,
7592
+ headerArray: Z,
7593
+ headerView: Q,
7594
+ lastModDate: K,
7595
+ lastModDateClamped: K === Y && X.getTime() != Y.getTime(),
7596
+ rawLastModDate: J,
7587
7597
  encrypted: w,
7588
- compressed: I,
7589
- version: v,
7590
- compressionMethod: x,
7591
- extraFieldExtendedTimestampFlag: P,
7592
- extraFieldExtendedTimestampTime: M,
7598
+ compressed: R,
7599
+ version: x,
7600
+ compressionMethod: I,
7601
+ extraFieldExtendedTimestampFlag: U,
7602
+ extraFieldExtendedTimestampTime: B,
7593
7603
  rawExtraFieldZip64: q,
7594
- localExtraFieldZip64Length: V,
7595
- rawExtraFieldExtendedTimestamp: k,
7596
- rawExtraFieldNTFS: F,
7597
- rawExtraFieldUnix: U,
7598
- rawCentralExtraFieldUnix: B,
7599
- rawExtraFieldAES: N,
7600
- extraFieldLength: H
7604
+ localExtraFieldZip64Length: G,
7605
+ rawExtraFieldExtendedTimestamp: M,
7606
+ rawExtraFieldNTFS: P,
7607
+ rawExtraFieldUnix: z,
7608
+ rawCentralExtraFieldUnix: W,
7609
+ rawExtraFieldAES: k,
7610
+ extraFieldLength: j
7601
7611
  };
7602
7612
  }(n = Object.assign({}, n, o.resolvedOptions, a.resolvedOptions, i.resolvedOptions, {
7603
7613
  signature: n[Gt],
@@ -7606,30 +7616,30 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7606
7616
  diskNumberStart: f,
7607
7617
  [be]: e.options[be]
7608
7618
  }));
7609
- g.lastModDateClamped && et(e.warnings, gf, t);
7619
+ g.lastModDateClamped && et(e.warnings, Ef, t);
7610
7620
  const E = function({ zip64: e, dataDescriptor: t, dataDescriptorSignature: r }) {
7611
7621
  let n, o = q, a = 0, s = e ? 20 : 12;
7612
7622
  r && (s += 4);
7613
- t && (o = new Uint8Array(s), n = Pe(o), r && (a = 4, om(n, 0, Ie)));
7623
+ t && (o = new Uint8Array(s), n = Pe(o), r && (a = 4, am(n, 0, Ie)));
7614
7624
  return {
7615
7625
  dataDescriptorArray: o,
7616
7626
  dataDescriptorView: n,
7617
7627
  dataDescriptorOffset: a
7618
7628
  };
7619
- }(n), w = im(g.localHeaderArray, E.dataDescriptorArray);
7629
+ }(n), w = lm(g.localHeaderArray, E.dataDescriptorArray);
7620
7630
  p = await async function(e, t, r, n, o) {
7621
- const { fileEntries: a, writer: s } = e, { keepOrder: i, dataDescriptor: l, emptyEntry: c, signal: u } = o, { headerInfo: p, fileEntry: d, previousFileEntry: f, releaseLockFileEntry: m } = n, h = e.options[be];
7622
- let g, E, w, y, S, T, A, b = d, v = 0;
7623
- const x = i && f ? f.lockFileEntry : void 0;
7624
- a.set(t, b);
7631
+ const { fileEntries: a, writer: s } = e, { keepOrder: i, dataDescriptor: l, emptyEntry: c, completeHeader: u, signal: p } = o, { headerInfo: d, fileEntry: f, previousFileEntry: m, releaseLockFileEntry: h } = n, g = e.options[be];
7632
+ let E, w, y, S, T, A, b, v = f, x = 0;
7633
+ const I = i && m ? m.lockFileEntry : void 0;
7634
+ a.set(t, v);
7625
7635
  try {
7626
- o.bufferedWrite || !i || e.writerLocked || e.bufferedWrites || e.directWrites || !l && !c ? (g = !0, e.bufferedWrites++, A = o.createTempStream ? await o.createTempStream() : new TransformStream(void 0, void 0, { highWaterMark: Qe }), A.size = 0, await $t(s)) : (E = !0, e.directWrites++, A = s, await x, await I()), await $t(A);
7627
- const d = Pf(s);
7628
- e.addSplitZipSignature && !g && await Gf(e, s), h && !g && Lf(n, e.offset - d);
7629
- const { localHeaderArray: f } = p;
7630
- g || await O();
7631
- const m = kf(s), w = Uf(e, s);
7632
- if (b.diskNumberStart = m, g || (S = !0, T = s.size, await jf(A, f)), b = await async function(e, t, { diskNumberStart: r, lockFileEntry: n }, o, a, s) {
7636
+ o.bufferedWrite || !i || e.writerLocked || e.bufferedWrites || e.directWrites || !l && !c && !u ? (E = !0, e.bufferedWrites++, b = o.createTempStream ? await o.createTempStream() : new TransformStream(void 0, void 0, { highWaterMark: Qe }), b.size = 0, await $t(s)) : (w = !0, e.directWrites++, b = s, await I, await O()), await $t(b);
7637
+ const f = Mf(s);
7638
+ e.addSplitZipSignature && !E && await jf(e, s), g && !E && Nf(n, e.offset - f);
7639
+ const { localHeaderArray: m } = d;
7640
+ E || await R();
7641
+ const h = Pf(s), y = Bf(e, s);
7642
+ if (v.diskNumberStart = h, E || (T = !0, A = s.size, await Xf(b, m)), v = await async function(e, t, { diskNumberStart: r, lockFileEntry: n }, o, a, s) {
7633
7643
  const { headerInfo: i, dataDescriptorInfo: l, metadataSize: c } = o, { headerArray: u, headerView: p, lastModDate: d, rawLastModDate: f, encrypted: m, compressed: h, version: g, compressionMethod: E, rawExtraFieldZip64: w, localExtraFieldZip64Length: y, rawExtraFieldExtendedTimestamp: S, extraFieldExtendedTimestampFlag: T, extraFieldExtendedTimestampTime: A, rawExtraFieldNTFS: b, rawExtraFieldUnix: v, rawCentralExtraFieldUnix: x, rawExtraFieldAES: I } = i, { dataDescriptorArray: O } = l, { rawFilename: R, lastAccessDate: C, creationDate: L, password: N, rawPassword: D, level: F, useUnicodeFileNames: k, zip64: P, zip64Enabled: M, zip64UncompressedSize: U, zip64CompressedSize: B, zipCrypto: z, dataDescriptor: W, directory: V, executable: H, versionMadeBy: G, rawComment: j, rawExtraField: X, rawCentralExtraField: Y, useWebWorkers: q, onstart: K, onprogress: Z, onend: Q, signal: $, encryptionStrength: _, extendedTimestamp: ee, msDosCompatible: te, internalFileAttributes: re, externalFileAttributes: ne, uid: oe, gid: ae, unixMode: se, symlink: ie, setuid: le, setgid: ue, sticky: pe, unixExternalUpper: de, msdosAttributesRaw: fe, msdosAttributes: me, useCompressionStream: he, passThroughCompression: ge, passThroughEncryption: Ee, format: we, codecURI: ye } = s, Se = {
7634
7644
  lockFileEntry: n,
7635
7645
  versionMadeBy: G,
@@ -7711,15 +7721,15 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7711
7721
  }
7712
7722
  (function({ crc32: e, compressedSize: t, uncompressedSize: r, headerInfo: n, dataDescriptorInfo: o }, { zip64: a, zipCrypto: s, passThroughCompression: i, dataDescriptor: l }) {
7713
7723
  const { headerView: c, encrypted: u } = n, { dataDescriptorView: p, dataDescriptorOffset: d } = o;
7714
- u && !s && !i || void 0 === e || (om(c, 10, e), l && om(p, d, e));
7715
- a ? l && (am(p, d + 4, BigInt(t)), am(p, d + 12, BigInt(r))) : (om(c, 14, t), om(c, 18, r), l && (om(p, d + 4, t), om(p, d + 8, r)));
7724
+ u && !s && !i || void 0 === e || (am(c, 10, e), l && am(p, d, e));
7725
+ a ? l && (sm(p, d + 4, BigInt(t)), sm(p, d + 12, BigInt(r))) : (am(c, 14, t), am(c, 18, r), l && (am(p, d + 4, t), am(p, d + 8, r)));
7716
7726
  })({
7717
7727
  crc32: Te,
7718
7728
  compressedSize: be,
7719
7729
  uncompressedSize: Ae,
7720
7730
  headerInfo: i,
7721
7731
  dataDescriptorInfo: l
7722
- }, s), W && await jf(t, O);
7732
+ }, s), W && await Xf(t, O);
7723
7733
  return Object.assign(Se, {
7724
7734
  uncompressedSize: Ae,
7725
7735
  compressedSize: be,
@@ -7741,42 +7751,42 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7741
7751
  zip64UncompressedSize: U,
7742
7752
  zip64CompressedSize: B
7743
7753
  }), Se;
7744
- }(r, A, b, n, Vt(), o), g || (S = !1), a.set(t, b), b.filename = t, g) {
7745
- if (await Promise.all([A.writable.getWriter().close(), x]), await I(), e.addSplitZipSignature && await Gf(e, s), y = !0, T = s.size, await O(), b.diskNumberStart = kf(s), b.offset = Uf(e, s), h) {
7754
+ }(r, b, v, n, Vt(), o), E || (T = !1), a.set(t, v), v.filename = t, E) {
7755
+ if (await Promise.all([b.writable.getWriter().close(), I]), await O(), e.addSplitZipSignature && await jf(e, s), S = !0, A = s.size, await R(), v.diskNumberStart = Pf(s), v.offset = Bf(e, s), g) {
7746
7756
  const t = n.metadataSize;
7747
- Lf(n, e.offset - Pf(s)), b.size += n.metadataSize - t;
7757
+ Nf(n, e.offset - Mf(s)), v.size += n.metadataSize - t;
7748
7758
  }
7749
7759
  (function({ rawFilename: e, encrypted: t, zip64: r, localExtraFieldZip64Length: n, crc32: o, compressedSize: a, uncompressedSize: s, zip64UncompressedSize: i, zip64CompressedSize: l }, c, { dataDescriptor: u, passThroughCompression: p }) {
7750
- u || ((!t || p && void 0 !== o) && om(c, 14, o), l || om(c, 18, a), i || om(c, 22, s));
7760
+ u || ((!t || p && void 0 !== o) && am(c, 14, o), l || am(c, 18, a), i || am(c, 22, s));
7751
7761
  if (r && n) {
7752
- const t = 30 + im(e) + 4;
7753
- am(c, t, BigInt(s)), am(c, t + 8, BigInt(a));
7762
+ const t = 30 + lm(e) + 4;
7763
+ sm(c, t, BigInt(s)), sm(c, t + 8, BigInt(a));
7754
7764
  }
7755
- })(b, p.localHeaderView, o), await jf(s, p.localHeaderArray), await Xf(A.readable, s, u, (e) => v += e), s.size += A.size, y = !1;
7756
- } else b.diskNumberStart = m, b.offset = w;
7757
- return e.offset += b.size, b;
7765
+ })(v, d.localHeaderView, o), await Xf(s, d.localHeaderArray), await Yf(b.readable, s, p, (e) => x += e), s.size += b.size, S = !1;
7766
+ } else v.diskNumberStart = h, v.offset = y;
7767
+ return e.offset += v.size, v;
7758
7768
  } catch (r) {
7759
- if (y || S) {
7769
+ if (S || T) {
7760
7770
  if (e.hasCorruptedEntries = !0, r) try {
7761
7771
  r.corruptedEntry = !0;
7762
7772
  } catch {}
7763
- e.offset += s.size - T, g && (e.offset += v);
7773
+ e.offset += s.size - A, E && (e.offset += x);
7764
7774
  }
7765
7775
  throw a.delete(t), r;
7766
7776
  } finally {
7767
- if (g && e.bufferedWrites--, E && e.directWrites--, m && m(x), w && w(), g && A && A.dispose) try {
7768
- await A.dispose();
7777
+ if (E && e.bufferedWrites--, w && e.directWrites--, h && h(I), y && y(), E && b && b.dispose) try {
7778
+ await b.dispose();
7769
7779
  } catch {}
7770
7780
  }
7771
- async function I() {
7781
+ async function O() {
7772
7782
  e.writerLocked = !0;
7773
7783
  const { lockWriter: t } = e;
7774
- e.lockWriter = new Promise((t) => w = () => {
7784
+ e.lockWriter = new Promise((t) => y = () => {
7775
7785
  e.writerLocked = !1, t();
7776
7786
  }), await t;
7777
7787
  }
7778
- async function O() {
7779
- Mf(s, im(p.localHeaderArray)) && await s.closeDisk();
7788
+ async function R() {
7789
+ Uf(s, lm(d.localHeaderArray)) && await s.closeDisk();
7780
7790
  }
7781
7791
  }(e, t, r, {
7782
7792
  headerInfo: g,
@@ -7800,13 +7810,13 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7800
7810
  } catch (r) {
7801
7811
  throw e.filenames.delete(t), r;
7802
7812
  } finally {
7803
- const e = Af.shift();
7804
- e ? e() : Tf--;
7813
+ const e = bf.shift();
7814
+ e ? e() : Af--;
7805
7815
  }
7806
7816
  }(n, e, t, r);
7807
7817
  o.add(a);
7808
7818
  const s = () => o.delete(a);
7809
- return Promise.prototype.then.call(a, s, s), If(n, a);
7819
+ return Promise.prototype.then.call(a, s, s), Of(n, a);
7810
7820
  }
7811
7821
  remove(e) {
7812
7822
  const { filenames: t, fileEntries: r } = this;
@@ -7818,9 +7828,9 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7818
7828
  }
7819
7829
  async close(e = q, t = {}) {
7820
7830
  const r = this, { pendingAddFileCalls: n, writer: o } = this, { writable: a } = o;
7821
- if (r.archiveClosed) return xf(o);
7831
+ if (r.archiveClosed) return If(o);
7822
7832
  if (!(e instanceof Uint8Array)) throw new Error("Invalid zip file comment (must be a Uint8Array)");
7823
- if (im(e) > 65535) throw new Error(Bd);
7833
+ if (lm(e) > 65535) throw new Error(Bd);
7824
7834
  for (; n.size;) await Promise.allSettled(Array.from(n));
7825
7835
  await Promise.allSettled(r.pendingErrors.map((e) => e.recorded));
7826
7836
  const s = r.pendingErrors.filter((e) => e.failed && !e.observed);
@@ -7843,18 +7853,18 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7843
7853
  const E = n.offset >= _e, w = n.diskNumberStart >= Xt;
7844
7854
  let y, S;
7845
7855
  if (E || w || h || g) {
7846
- const e = 4 + (h ? 8 : 0) + (g ? 8 : 0) + (E ? 8 : 0) + (w ? 4 : 0), t = Ff(e);
7856
+ const e = 4 + (h ? 8 : 0) + (g ? 8 : 0) + (E ? 8 : 0) + (w ? 4 : 0), t = kf(e);
7847
7857
  t.writeUint16(1), t.writeUint16(e - 4), h && t.writeUint64(f), g && t.writeUint64(m), E && t.writeUint64(n.offset), w && t.writeUint32(n.diskNumberStart), y = t.array;
7848
7858
  } else y = q;
7849
7859
  if (n.rawExtraFieldZip64 = y, n.zip64Offset = E, n.zip64DiskNumberStart = w, void 0 === p) S = q;
7850
7860
  else {
7851
- const e = Ff(9);
7861
+ const e = kf(9);
7852
7862
  e.writeUint16(We), e.writeUint16(5), e.writeUint8(u), e.writeUint32(p), S = e.array;
7853
7863
  }
7854
7864
  n.rawExtraFieldExtendedTimestamp = S;
7855
- const T = im(y, o, s, i, S, l, c);
7865
+ const T = lm(y, o, s, i, S, l, c);
7856
7866
  if (T > 65535) throw new Error(Yd);
7857
- t += 46 + im(e, a) + T;
7867
+ t += 46 + lm(e, a) + T;
7858
7868
  }
7859
7869
  return {
7860
7870
  directoryDataLength: t,
@@ -7863,22 +7873,22 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7863
7873
  }(e.fileEntries), { directoryStart: a, directoryEnd: s, directoryArray: i } = await async function(e, t, r) {
7864
7874
  const { fileEntries: n, writer: o } = e, a = new Uint8Array(t);
7865
7875
  await $t(o);
7866
- let s = 0, i = 0, l = kf(o), c = Pf(o), u = 0;
7876
+ let s = 0, i = 0, l = Pf(o), c = Mf(o), u = 0;
7867
7877
  for (const [e, t] of Array.from(n.values()).entries()) {
7868
- const { offset: p, rawFilename: d, rawExtraFieldZip64: f, rawExtraFieldAES: m, rawExtraFieldExtendedTimestamp: h, rawExtraFieldNTFS: g, rawCentralExtraFieldUnix: E, rawExtraField: w, rawCentralExtraField: y, rawComment: S, versionMadeBy: T, headerArray: A, headerView: b, zip64UncompressedSize: v, zip64CompressedSize: x, zip64DiskNumberStart: I, zip64Offset: O, internalFileAttributes: R, externalFileAttributes: C, diskNumberStart: L, uncompressedSize: N, compressedSize: D } = t, F = im(f, m, h, g, E, w, y), k = 46 + im(d, S) + F;
7869
- Mf(o, s + k - i) && (await jf(o, a.slice(i, s)), i = s, u = 0, await o.closeDisk()), 0 == e && (l = kf(o), c = Pf(o)), v || om(b, 18, N), x || om(b, 14, D), (O || I) && t.version < 45 && nm(b, 0, 45);
7870
- const P = Ff(k);
7871
- if (P.writeUint32(Q), P.writeUint16(T), P.writeBytes(A.subarray(0, 24)), P.writeUint16(F), P.writeUint16(im(S)), P.writeUint16(I ? Xt : L), P.writeUint16(R), P.writeUint32(C), P.writeUint32(O ? _e : p), P.writeBytes(d), P.writeBytes(f), P.writeBytes(m), P.writeBytes(h), P.writeBytes(g), P.writeBytes(E), P.writeBytes(w), P.writeBytes(y), P.writeBytes(S), sm(a, P.array, s), s += k, u++, r.onprogress) try {
7878
+ const { offset: p, rawFilename: d, rawExtraFieldZip64: f, rawExtraFieldAES: m, rawExtraFieldExtendedTimestamp: h, rawExtraFieldNTFS: g, rawCentralExtraFieldUnix: E, rawExtraField: w, rawCentralExtraField: y, rawComment: S, versionMadeBy: T, headerArray: A, headerView: b, zip64UncompressedSize: v, zip64CompressedSize: x, zip64DiskNumberStart: I, zip64Offset: O, internalFileAttributes: R, externalFileAttributes: C, diskNumberStart: L, uncompressedSize: N, compressedSize: D } = t, F = lm(f, m, h, g, E, w, y), k = 46 + lm(d, S) + F;
7879
+ Uf(o, s + k - i) && (await Xf(o, a.slice(i, s)), i = s, u = 0, await o.closeDisk()), 0 == e && (l = Pf(o), c = Mf(o)), v || am(b, 18, N), x || am(b, 14, D), (O || I) && t.version < 45 && om(b, 0, 45);
7880
+ const P = kf(k);
7881
+ if (P.writeUint32(Q), P.writeUint16(T), P.writeBytes(A.subarray(0, 24)), P.writeUint16(F), P.writeUint16(lm(S)), P.writeUint16(I ? Xt : L), P.writeUint16(R), P.writeUint32(C), P.writeUint32(O ? _e : p), P.writeBytes(d), P.writeBytes(f), P.writeBytes(m), P.writeBytes(h), P.writeBytes(g), P.writeBytes(E), P.writeBytes(w), P.writeBytes(y), P.writeBytes(S), im(a, P.array, s), s += k, u++, r.onprogress) try {
7872
7882
  await r.onprogress(e + 1, n.size, new ae(t));
7873
7883
  } catch {}
7874
7884
  }
7875
- return await jf(o, i ? a.slice(i) : a), {
7885
+ return await Xf(o, i ? a.slice(i) : a), {
7876
7886
  directoryStart: {
7877
7887
  diskNumber: l,
7878
7888
  diskOffset: c
7879
7889
  },
7880
7890
  directoryEnd: {
7881
- diskNumber: kf(o),
7891
+ diskNumber: Pf(o),
7882
7892
  entriesLength: u
7883
7893
  },
7884
7894
  directoryArray: a
@@ -7886,50 +7896,50 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
7886
7896
  }(e, n, r);
7887
7897
  await async function(e, t, r, n) {
7888
7898
  const { writer: o } = e, { directoryStart: a, directoryEnd: s, signatureLength: i, zip64Entries: l } = n;
7889
- let { directoryDataLength: c } = n, u = e.fileEntries.size, p = a.diskNumber, d = Uf(e, a);
7890
- const f = im(t);
7899
+ let { directoryDataLength: c } = n, u = e.fileEntries.size, p = a.diskNumber, d = Bf(e, a);
7900
+ const f = lm(t);
7891
7901
  if (f > 65535) throw new Error(Bd);
7892
- let m = Zf(e, r, Wt), h = kf(o);
7893
- Mf(o, (m ? 98 : 22) + f) && h++;
7902
+ let m = Qf(e, r, Wt), h = Pf(o);
7903
+ Uf(o, (m ? 98 : 22) + f) && h++;
7894
7904
  if (d >= 4294967295 || c >= 4294967295 || u >= 65535 || h >= 65535) {
7895
7905
  if (!1 === m) throw new Error(Jd);
7896
7906
  m = !0;
7897
7907
  } else void 0 === m && l && (m = !0);
7898
- const g = Ff(m ? 98 : 22);
7899
- Mf(o, im(g.array) + f) && await o.closeDisk();
7900
- h = kf(o);
7908
+ const g = kf(m ? 98 : 22);
7909
+ Uf(o, lm(g.array) + f) && await o.closeDisk();
7910
+ h = Pf(o);
7901
7911
  let E = h == s.diskNumber ? s.entriesLength : 0;
7902
- m && (g.writeUint32(er), g.writeUint64(44), g.writeUint16(45), g.writeUint16(45), g.writeUint32(h), g.writeUint32(p), g.writeUint64(E), g.writeUint64(u), g.writeUint64(c), g.writeUint64(d), g.writeUint32(Kt), g.writeUint32(h), g.writeUint64(BigInt(Uf(e, o)) + BigInt(c) + BigInt(i)), g.writeUint32(h + 1), Zf(e, r, "supportZip64SplitFile", !0) && (h = Xt, p = Xt), E = Xt, u = Xt, d = _e, c = _e);
7903
- g.writeUint32(oe), g.writeUint16(h), g.writeUint16(p), g.writeUint16(E), g.writeUint16(u), g.writeUint32(c), g.writeUint32(d), g.writeUint16(f), await jf(o, g.array), f && await jf(o, t);
7912
+ m && (g.writeUint32(er), g.writeUint64(44), g.writeUint16(45), g.writeUint16(45), g.writeUint32(h), g.writeUint32(p), g.writeUint64(E), g.writeUint64(u), g.writeUint64(c), g.writeUint64(d), g.writeUint32(Kt), g.writeUint32(h), g.writeUint64(BigInt(Bf(e, o)) + BigInt(c) + BigInt(i)), g.writeUint32(h + 1), Qf(e, r, "supportZip64SplitFile", !0) && (h = Xt, p = Xt), E = Xt, u = Xt, d = _e, c = _e);
7913
+ g.writeUint32(oe), g.writeUint16(h), g.writeUint16(p), g.writeUint16(E), g.writeUint16(u), g.writeUint32(c), g.writeUint32(d), g.writeUint16(f), await Xf(o, g.array), f && await Xf(o, t);
7904
7914
  }(e, t, r, {
7905
7915
  directoryStart: a,
7906
7916
  directoryEnd: s,
7907
7917
  directoryDataLength: n,
7908
- signatureLength: await Df(e, i, r),
7918
+ signatureLength: await Ff(e, i, r),
7909
7919
  zip64Entries: o
7910
7920
  });
7911
- }(r, e, t), r.archiveClosed = !0, !Ae(o) && Zf(r, t, "preventClose") || await a.getWriter().close(), xf(o);
7921
+ }(r, e, t), r.archiveClosed = !0, !Ae(o) && Qf(r, t, "preventClose") || await a.getWriter().close(), If(o);
7912
7922
  }
7913
7923
  [Ge]() {
7914
7924
  return this.close();
7915
7925
  }
7916
- }, vf = class extends Promise {
7926
+ }, xf = class extends Promise {
7917
7927
  then(e, t) {
7918
7928
  const { watcher: r } = this;
7919
7929
  return r && (r.observed = !0), super.then(e, t);
7920
7930
  }
7921
7931
  };
7922
- function xf(e) {
7932
+ function If(e) {
7923
7933
  return e.getData ? e.getData() : e.writable;
7924
7934
  }
7925
- function If(e, t) {
7926
- const r = new vf((e, r) => Promise.prototype.then.call(t, e, r)), n = {};
7935
+ function Of(e, t) {
7936
+ const r = new xf((e, r) => Promise.prototype.then.call(t, e, r)), n = {};
7927
7937
  return r.watcher = n, n.recorded = Promise.prototype.then.call(r, void 0, (e) => Object.assign(n, {
7928
7938
  failed: !0,
7929
7939
  error: e
7930
7940
  })), e.pendingErrors.push(n), r;
7931
7941
  }
7932
- async function Of(e, t, r = {}) {
7942
+ async function Rf(e, t, r = {}) {
7933
7943
  const { pendingAddFileCalls: n, filenames: o, fileEntries: a } = e, s = le(r.filter), i = se(r.readerOptions);
7934
7944
  for (; n.size;) await Promise.allSettled(Array.from(n));
7935
7945
  let l;
@@ -7939,11 +7949,11 @@ async function Of(e, t, r = {}) {
7939
7949
  let p;
7940
7950
  try {
7941
7951
  t = new vt(t), await $t(t), void 0 !== t.size && t.readUint8Array || (t = new st(await Oe(t.readable)), await $t(t));
7942
- const { ZipReader: r, getEntryDataDescriptorLength: n } = await import("./CpYgsvYMxV5SbRp3.js"), l = new r(t, i), c = [];
7952
+ const { ZipReader: r, getEntryDataDescriptorLength: n } = await import("./DPYFRLJbHGlrcrJq.js"), l = new r(t, i), c = [];
7943
7953
  let d;
7944
7954
  try {
7945
7955
  d = await l.getEntries();
7946
- for (const e of d) s && !await s(e, Rf(a, e.filename)) || c.push(e);
7956
+ for (const e of d) s && !await s(e, Cf(a, e.filename)) || c.push(e);
7947
7957
  } finally {
7948
7958
  await l.close();
7949
7959
  }
@@ -7960,24 +7970,24 @@ async function Of(e, t, r = {}) {
7960
7970
  e.writerLocked = !1, t();
7961
7971
  }), await h, e.addSplitZipSignature && (delete e.addSplitZipSignature, !s && await async function(e) {
7962
7972
  const t = await z(e, 0, 4);
7963
- return rm(Pe(t), 0) == ut;
7964
- }(t) || (await jf(e.writer, Hf()), e.offset += 4));
7973
+ return nm(Pe(t), 0) == ut;
7974
+ }(t) || (await Xf(e.writer, Gf()), e.offset += 4));
7965
7975
  const g = await async function(e, t, r, n, o, a, s) {
7966
7976
  const { writer: i } = e, l = /* @__PURE__ */ new Map();
7967
7977
  if (i.closeDisk || a) {
7968
- const c = Array.from(r).sort((e, r) => Vf(t, e) - Vf(t, r)), u = function(e, t, r) {
7978
+ const c = Array.from(r).sort((e, r) => Hf(t, e) - Hf(t, r)), u = function(e, t, r) {
7969
7979
  const n = new Array(t.length);
7970
7980
  let o = r;
7971
7981
  for (let a = t.length - 1; a >= 0; a--) {
7972
- const s = Vf(e, t[a]), i = t[a + 1];
7973
- i && Vf(e, i) > s && (o = Math.min(Vf(e, i), r)), n[a] = o;
7982
+ const s = Hf(e, t[a]), i = t[a + 1];
7983
+ i && Hf(e, i) > s && (o = Math.min(Hf(e, i), r)), n[a] = o;
7974
7984
  }
7975
7985
  return n;
7976
7986
  }(t, c, o), p = new Set(n), d = /* @__PURE__ */ new Map();
7977
7987
  for (let e = 0; e < c.length; e++) {
7978
7988
  const r = c[e];
7979
7989
  if (p.has(r)) {
7980
- const n = Vf(t, r), o = await Wf(t, n);
7990
+ const n = Hf(t, r), o = await Vf(t, n);
7981
7991
  if (void 0 === o) throw new Error(te);
7982
7992
  let a = n + o + r.compressedSize;
7983
7993
  if (r.bitFlag.dataDescriptor) {
@@ -7992,18 +8002,18 @@ async function Of(e, t, r = {}) {
7992
8002
  for (let r = 0; r < c.length; r++) {
7993
8003
  const n = c[r];
7994
8004
  if (p.has(n)) {
7995
- const o = Vf(t, n);
7996
- o < m ? l.set(n, f) : (a || await zf(e, t, m, o - m), i.closeDisk && Mf(i, d.get(n)) && await i.closeDisk(), f = {
7997
- offset: Uf(e, i),
7998
- diskNumberStart: kf(i)
7999
- }, l.set(n, f), await zf(e, t, o, u[r] - o), m = u[r]);
8005
+ const o = Hf(t, n);
8006
+ o < m ? l.set(n, f) : (a || await Wf(e, t, m, o - m), i.closeDisk && Uf(i, d.get(n)) && await i.closeDisk(), f = {
8007
+ offset: Bf(e, i),
8008
+ diskNumberStart: Pf(i)
8009
+ }, l.set(n, f), await Wf(e, t, o, u[r] - o), m = u[r]);
8000
8010
  }
8001
8011
  }
8002
- a || await zf(e, t, m, o - m);
8012
+ a || await Wf(e, t, m, o - m);
8003
8013
  } else {
8004
8014
  const n = e.offset;
8005
- await zf(e, t, 0, o), r.forEach((e) => l.set(e, {
8006
- offset: n + Vf(t, e),
8015
+ await Wf(e, t, 0, o), r.forEach((e) => l.set(e, {
8016
+ offset: n + Hf(t, e),
8007
8017
  diskNumberStart: 0
8008
8018
  }));
8009
8019
  }
@@ -8012,8 +8022,8 @@ async function Of(e, t, r = {}) {
8012
8022
  c.forEach((e) => {
8013
8023
  const { version: t, rawLastModDate: r, rawFilename: n, rawBitFlag: o, uncompressedSize: s, compressedSize: i, extraFieldZip64: l } = e;
8014
8024
  let { compressionMethod: c, rawExtraField: u } = e;
8015
- u = Bf(u || q), e.extraFieldAES && (c = 99);
8016
- const p = im(u), d = Boolean(l) && void 0 !== l.uncompressedSize, f = Boolean(l) && void 0 !== l.compressedSize, { headerArray: m, headerView: h } = lm({
8025
+ u = zf(u || q), e.extraFieldAES && (c = 99);
8026
+ const p = lm(u), d = Boolean(l) && void 0 !== l.uncompressedSize, f = Boolean(l) && void 0 !== l.compressedSize, { headerArray: m, headerView: h } = cm({
8017
8027
  version: t,
8018
8028
  bitFlag: o,
8019
8029
  compressionMethod: c,
@@ -8025,7 +8035,7 @@ async function Of(e, t, r = {}) {
8025
8035
  zip64UncompressedSize: d,
8026
8036
  extraFieldLength: p
8027
8037
  }), { crc32: E } = e;
8028
- void 0 !== E && om(h, 10, E);
8038
+ void 0 !== E && am(h, 10, E);
8029
8039
  const { offset: w, diskNumberStart: y } = g.get(e);
8030
8040
  a.set(e.filename, Object.assign({}, e, {
8031
8041
  zip64Enabled: !0,
@@ -8052,55 +8062,55 @@ async function Of(e, t, r = {}) {
8052
8062
  l(), n.delete(c), p && p();
8053
8063
  }
8054
8064
  }
8055
- function Rf(e, t) {
8065
+ function Cf(e, t) {
8056
8066
  const r = e.get(t);
8057
8067
  return r ? new ae(r) : void 0;
8058
8068
  }
8059
- function Cf(e) {
8069
+ function Lf(e) {
8060
8070
  if (!e) return q;
8061
8071
  if (!(e instanceof Map)) throw new Error("Invalid extra field (must be a Map)");
8062
8072
  let t = 0, r = 0;
8063
8073
  e.forEach((e, r) => {
8064
8074
  if (ue(r, Xt, "Invalid extra field type (must be integer 0..65535)"), !(e instanceof Uint8Array)) throw new Error("Invalid extra field data (must be a Uint8Array)");
8065
- if (im(e) > 65535) throw new Error(Yd);
8066
- t += 4 + im(e);
8075
+ if (lm(e) > 65535) throw new Error(Yd);
8076
+ t += 4 + lm(e);
8067
8077
  });
8068
8078
  const n = new Uint8Array(t), o = Pe(n);
8069
8079
  return e.forEach((e, t) => {
8070
- nm(o, r, t), nm(o, r + 2, im(e)), sm(n, e, r + 4), r += 4 + im(e);
8080
+ om(o, r, t), om(o, r + 2, lm(e)), im(n, e, r + 4), r += 4 + lm(e);
8071
8081
  }), n;
8072
8082
  }
8073
- function Lf(e, t) {
8083
+ function Nf(e, t) {
8074
8084
  const { headerInfo: r } = e;
8075
- let { localHeaderArray: n, extraFieldLength: o } = r, a = 64 - (t + im(n)) % 64;
8085
+ let { localHeaderArray: n, extraFieldLength: o } = r, a = 64 - (t + lm(n)) % 64;
8076
8086
  a < 4 && (a += 64);
8077
8087
  const s = new Uint8Array(a), i = Pe(s);
8078
- nm(i, 0, rt), nm(i, 2, a - 4);
8088
+ om(i, 0, rt), om(i, 2, a - 4);
8079
8089
  const l = n;
8080
- r.localHeaderArray = n = new Uint8Array(im(l) + a), sm(n, l), sm(n, s, im(l));
8090
+ r.localHeaderArray = n = new Uint8Array(lm(l) + a), im(n, l), im(n, s, lm(l));
8081
8091
  const c = Pe(n);
8082
- nm(c, 28, o + a), r.localHeaderView = c, e.metadataSize += a;
8092
+ om(c, 28, o + a), r.localHeaderView = c, e.metadataSize += a;
8083
8093
  }
8084
- function Nf(e) {
8094
+ function Df(e) {
8085
8095
  const t = /* @__PURE__ */ new Uint8Array(4);
8086
8096
  Pe(t).setUint32(0, e, !0);
8087
8097
  let r = 4;
8088
8098
  for (; r > 1 && 0 === t[r - 1];) r--;
8089
8099
  return t.subarray(0, r);
8090
8100
  }
8091
- async function Df(e, t, r) {
8092
- const n = Jf(e, r, Te);
8101
+ async function Ff(e, t, r) {
8102
+ const n = $f(e, r, Te);
8093
8103
  if (n) {
8094
- const r = await n(t), o = im(r);
8104
+ const r = await n(t), o = lm(r);
8095
8105
  if (o > 65535) throw new Error("Signature data exceeds 64KB");
8096
- const a = Ff(6 + o);
8106
+ const a = kf(6 + o);
8097
8107
  a.writeUint32(Ne), a.writeUint16(o), a.writeBytes(r);
8098
8108
  const { writer: s } = e;
8099
- return Mf(s, im(a.array)) && await s.closeDisk(), await jf(s, a.array), 6 + o;
8109
+ return Uf(s, lm(a.array)) && await s.closeDisk(), await Xf(s, a.array), 6 + o;
8100
8110
  }
8101
8111
  return 0;
8102
8112
  }
8103
- function Ff(e) {
8113
+ function kf(e) {
8104
8114
  const t = new Uint8Array(e), r = Pe(t);
8105
8115
  let n = 0;
8106
8116
  return {
@@ -8111,51 +8121,51 @@ function Ff(e) {
8111
8121
  })(r, n, e), n += 1;
8112
8122
  },
8113
8123
  writeUint16: (e) => {
8114
- nm(r, n, e), n += 2;
8124
+ om(r, n, e), n += 2;
8115
8125
  },
8116
8126
  writeUint32: (e) => {
8117
- om(r, n, e), n += 4;
8127
+ am(r, n, e), n += 4;
8118
8128
  },
8119
8129
  writeUint64: (e) => {
8120
- am(r, n, BigInt(e)), n += 8;
8130
+ sm(r, n, BigInt(e)), n += 8;
8121
8131
  },
8122
8132
  writeBytes: (e) => {
8123
- sm(t, e, n), n += im(e);
8133
+ im(t, e, n), n += lm(e);
8124
8134
  },
8125
8135
  skip: (e) => n += e
8126
8136
  };
8127
8137
  }
8128
- function kf(e) {
8138
+ function Pf(e) {
8129
8139
  const { diskNumber: t = 0 } = e;
8130
8140
  return t;
8131
8141
  }
8132
- function Pf(e) {
8142
+ function Mf(e) {
8133
8143
  const { diskOffset: t = 0 } = e;
8134
8144
  return t;
8135
8145
  }
8136
- function Mf(e, t) {
8146
+ function Uf(e, t) {
8137
8147
  const { availableSize: r = Qe } = e;
8138
8148
  return t > r;
8139
8149
  }
8140
- function Uf(e, { diskNumber: t = 0, diskOffset: r = 0 }) {
8150
+ function Bf(e, { diskNumber: t = 0, diskOffset: r = 0 }) {
8141
8151
  return e.offset - r - (t ? e.initialOffset : 0);
8142
8152
  }
8143
- function Bf(e) {
8153
+ function zf(e) {
8144
8154
  const t = Pe(e);
8145
8155
  let r = 0;
8146
- for (; r + 4 <= im(e);) {
8147
- const n = 4 + tm(t, r + 2);
8148
- if (1 == tm(t, r)) return Bf(Be(e.subarray(0, r), e.subarray(Math.min(r + n, im(e)))));
8156
+ for (; r + 4 <= lm(e);) {
8157
+ const n = 4 + rm(t, r + 2);
8158
+ if (1 == rm(t, r)) return zf(Be(e.subarray(0, r), e.subarray(Math.min(r + n, lm(e)))));
8149
8159
  r += n;
8150
8160
  }
8151
8161
  return e;
8152
8162
  }
8153
- async function zf(e, t, r, n) {
8163
+ async function Wf(e, t, r, n) {
8154
8164
  if (n > 0) {
8155
8165
  const { writer: o } = e;
8156
8166
  let a = 0;
8157
8167
  try {
8158
- await Xf(Ke(t, {
8168
+ await Yf(Ke(t, {
8159
8169
  offset: r,
8160
8170
  size: n
8161
8171
  }), o, void 0, (e) => a += e);
@@ -8172,35 +8182,35 @@ async function zf(e, t, r, n) {
8172
8182
  }
8173
8183
  }
8174
8184
  }
8175
- async function Wf(e, t) {
8185
+ async function Vf(e, t) {
8176
8186
  const r = t >= 0 && t + 30 <= e.size ? await z(e, t, 30) : q;
8177
- if (im(r) < 30) return;
8187
+ if (lm(r) < 30) return;
8178
8188
  const n = Pe(r);
8179
- return 67324752 == rm(n, 0) ? 30 + tm(n, 26) + tm(n, 28) : void 0;
8189
+ return 67324752 == nm(n, 0) ? 30 + rm(n, 26) + rm(n, 28) : void 0;
8180
8190
  }
8181
- function Vf(e, { offset: t, diskNumberStart: r }) {
8191
+ function Hf(e, { offset: t, diskNumberStart: r }) {
8182
8192
  return t + (e.getDiskOffset ? e.getDiskOffset(r) : 0);
8183
8193
  }
8184
- function Hf() {
8194
+ function Gf() {
8185
8195
  const e = /* @__PURE__ */ new Uint8Array(4);
8186
- return om(Pe(e), 0, ut), e;
8187
- }
8188
- async function Gf(e, t) {
8189
- delete e.addSplitZipSignature, await jf(t, Hf()), e.offset += 4;
8196
+ return am(Pe(e), 0, ut), e;
8190
8197
  }
8191
8198
  async function jf(e, t) {
8199
+ delete e.addSplitZipSignature, await Xf(t, Gf()), e.offset += 4;
8200
+ }
8201
+ async function Xf(e, t) {
8192
8202
  const { writable: r } = e, n = r.getWriter();
8193
8203
  try {
8194
- await n.ready, e.size += im(t), await n.write(t);
8204
+ await n.ready, e.size += lm(t), await n.write(t);
8195
8205
  } finally {
8196
8206
  n.releaseLock();
8197
8207
  }
8198
8208
  }
8199
- async function Xf(e, t, r, n) {
8209
+ async function Yf(e, t, r, n) {
8200
8210
  const o = t.writable.getWriter();
8201
8211
  try {
8202
8212
  await e.pipeTo(new WritableStream({ async write(e) {
8203
- await o.ready, await o.write(e), n(im(e));
8213
+ await o.ready, await o.write(e), n(lm(e));
8204
8214
  } }), {
8205
8215
  preventClose: !0,
8206
8216
  preventAbort: !0,
@@ -8210,85 +8220,85 @@ async function Xf(e, t, r, n) {
8210
8220
  o.releaseLock();
8211
8221
  }
8212
8222
  }
8213
- function Yf(e) {
8223
+ function qf(e) {
8214
8224
  if (e) {
8215
8225
  const t = (BigInt(e.getTime()) + BigInt(0xa9730b66800)) * BigInt(1e4);
8216
8226
  return t < Zd ? Zd : t > Qd ? Qd : t;
8217
8227
  }
8218
8228
  }
8219
- function qf(e) {
8229
+ function Kf(e) {
8220
8230
  return Math.floor(e.getTime() / 1e3);
8221
8231
  }
8222
- function Kf(e) {
8232
+ function Zf(e) {
8223
8233
  return Math.min(Kd, Math.max(qd, e));
8224
8234
  }
8225
- function Zf(e, t, r, n) {
8235
+ function Qf(e, t, r, n) {
8226
8236
  const o = void 0 === t[r] ? e.options[r] : t[r];
8227
8237
  return void 0 === o ? n : o;
8228
8238
  }
8229
- function Qf(e, t, r, n) {
8230
- const o = Zf(e, t, r, n);
8239
+ function Jf(e, t, r, n) {
8240
+ const o = Qf(e, t, r, n);
8231
8241
  if (null === o) return n;
8232
8242
  if (void 0 !== o && ("function" != typeof o.getTime || Number.isNaN(o.getTime()))) throw new Error("Invalid date (must be a valid Date instance)");
8233
8243
  return o;
8234
8244
  }
8235
- function Jf(e, t, r) {
8236
- return le(Zf(e, t, r));
8245
+ function $f(e, t, r) {
8246
+ return le(Qf(e, t, r));
8237
8247
  }
8238
- function $f(e, t, r, n) {
8239
- return U(Zf(e, t, r, n));
8248
+ function _f(e, t, r, n) {
8249
+ return U(Qf(e, t, r, n));
8240
8250
  }
8241
- function _f(e) {
8251
+ function em(e) {
8242
8252
  return e + 5 * (Math.floor(e / 16383) + 1);
8243
8253
  }
8244
- function em(e, t) {
8254
+ function tm(e, t) {
8245
8255
  return void 0 === e ? void 0 === t || t > 0 : 0 !== e;
8246
8256
  }
8247
- function tm(e, t) {
8257
+ function rm(e, t) {
8248
8258
  return e.getUint16(t, !0);
8249
8259
  }
8250
- function rm(e, t) {
8260
+ function nm(e, t) {
8251
8261
  return e.getUint32(t, !0);
8252
8262
  }
8253
- function nm(e, t, r) {
8263
+ function om(e, t, r) {
8254
8264
  e.setUint16(t, r, !0);
8255
8265
  }
8256
- function om(e, t, r) {
8266
+ function am(e, t, r) {
8257
8267
  e.setUint32(t, r, !0);
8258
8268
  }
8259
- function am(e, t, r) {
8269
+ function sm(e, t, r) {
8260
8270
  e.setBigUint64(t, r, !0);
8261
8271
  }
8262
- function sm(e, t, r) {
8272
+ function im(e, t, r) {
8263
8273
  e.set(t, r);
8264
8274
  }
8265
- function im(...e) {
8275
+ function lm(...e) {
8266
8276
  let t = 0;
8267
8277
  return e.forEach((e) => e && (t += e.length)), t;
8268
8278
  }
8269
- function lm({ version: e, bitFlag: t, compressionMethod: r, uncompressedSize: n, compressedSize: o, lastModDate: a, rawLastModDate: s, rawFilename: i, zip64CompressedSize: l, zip64UncompressedSize: c, extraFieldLength: u }) {
8270
- const p = Ff(26), d = p.array, f = Pe(d);
8279
+ function cm({ version: e, bitFlag: t, compressionMethod: r, uncompressedSize: n, compressedSize: o, lastModDate: a, rawLastModDate: s, rawFilename: i, zip64CompressedSize: l, zip64UncompressedSize: c, extraFieldLength: u }) {
8280
+ const p = kf(26), d = p.array, f = Pe(d);
8271
8281
  if (p.writeUint16(e), p.writeUint16(t), p.writeUint16(r), void 0 === s) {
8272
8282
  const e = /* @__PURE__ */ new Uint32Array(1), t = Pe(e);
8273
- nm(t, 0, (a.getHours() << 6 | a.getMinutes()) << 5 | a.getSeconds() / 2), nm(t, 2, (a.getFullYear() - 1980 << 4 | a.getMonth() + 1) << 5 | a.getDate()), s = e[0];
8283
+ om(t, 0, (a.getHours() << 6 | a.getMinutes()) << 5 | a.getSeconds() / 2), om(t, 2, (a.getFullYear() - 1980 << 4 | a.getMonth() + 1) << 5 | a.getDate()), s = e[0];
8274
8284
  }
8275
- return p.writeUint32(s), p.skip(4), l || void 0 !== o ? p.writeUint32(l ? _e : o) : p.skip(4), c || void 0 !== n ? p.writeUint32(c ? _e : n) : p.skip(4), p.writeUint16(im(i)), p.writeUint16(u), {
8285
+ return p.writeUint32(s), p.skip(4), l || void 0 !== o ? p.writeUint32(l ? _e : o) : p.skip(4), c || void 0 !== n ? p.writeUint32(c ? _e : n) : p.skip(4), p.writeUint16(lm(i)), p.writeUint16(u), {
8276
8286
  headerArray: d,
8277
8287
  headerView: f,
8278
8288
  rawLastModDate: s
8279
8289
  };
8280
8290
  }
8281
- function cm(e) {
8291
+ function um(e) {
8282
8292
  return e.every((e) => e >= 32 && e <= 126);
8283
8293
  }
8284
- function um(e, t, r, n, o) {
8294
+ function pm(e, t, r, n, o) {
8285
8295
  let a = 0;
8286
8296
  return t && (a |= Ce), r && (a |= 8), 8 != o && 9 != o || (e >= 0 && e <= 3 && (a |= 6), e > 3 && e <= 5 && (a |= 4), 9 == e && (a |= 2)), n && (a |= 1), a;
8287
8297
  }
8288
8298
  try {
8289
8299
  xt({ baseURI: import.meta.url });
8290
8300
  } catch {}
8291
- var pm = [
8301
+ var dm = [
8292
8302
  3,
8293
8303
  4,
8294
8304
  5,
@@ -8318,7 +8328,7 @@ var pm = [
8318
8328
  195,
8319
8329
  227,
8320
8330
  258
8321
- ], dm = [
8331
+ ], fm = [
8322
8332
  0,
8323
8333
  0,
8324
8334
  0,
@@ -8348,7 +8358,7 @@ var pm = [
8348
8358
  5,
8349
8359
  5,
8350
8360
  0
8351
- ], fm = [
8361
+ ], mm = [
8352
8362
  1,
8353
8363
  2,
8354
8364
  3,
@@ -8379,7 +8389,7 @@ var pm = [
8379
8389
  12289,
8380
8390
  16385,
8381
8391
  24577
8382
- ], mm = [
8392
+ ], hm = [
8383
8393
  0,
8384
8394
  0,
8385
8395
  0,
@@ -8410,7 +8420,7 @@ var pm = [
8410
8420
  12,
8411
8421
  13,
8412
8422
  13
8413
- ], hm = [
8423
+ ], gm = [
8414
8424
  16,
8415
8425
  17,
8416
8426
  18,
@@ -8430,10 +8440,10 @@ var pm = [
8430
8440
  14,
8431
8441
  1,
8432
8442
  15
8433
- ], gm = /* @__PURE__ */ new Uint8Array(288);
8434
- gm.fill(8, 0, 144), gm.fill(9, 144, 256), gm.fill(7, 256, 280), gm.fill(8, 280, 288);
8435
- var Em = (/* @__PURE__ */ new Uint8Array(30)).fill(5);
8436
- function wm(e) {
8443
+ ], Em = /* @__PURE__ */ new Uint8Array(288);
8444
+ Em.fill(8, 0, 144), Em.fill(9, 144, 256), Em.fill(7, 256, 280), Em.fill(8, 280, 288);
8445
+ var wm = (/* @__PURE__ */ new Uint8Array(30)).fill(5);
8446
+ function ym(e) {
8437
8447
  const t = /* @__PURE__ */ new Uint16Array(16);
8438
8448
  for (const r of e) t[r]++;
8439
8449
  t[0] = 0;
@@ -8446,25 +8456,25 @@ function wm(e) {
8446
8456
  symbols: n
8447
8457
  };
8448
8458
  }
8449
- var ym = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
8450
- var Sm, Tm, Am, bm, vm, xm = "deflate", Im = "deflate-raw", Om = "deflate64-raw", Rm = "gzip", Cm = [
8451
- xm,
8459
+ var Sm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
8460
+ var Tm, Am, bm, vm, xm, Im = "deflate", Om = "deflate-raw", Rm = "deflate64-raw", Cm = "gzip", Lm = [
8452
8461
  Im,
8453
- Rm
8454
- ], Lm = [
8455
- xm,
8462
+ Om,
8463
+ Cm
8464
+ ], Nm = [
8456
8465
  Im,
8457
- Rm,
8458
- Om
8466
+ Om,
8467
+ Cm,
8468
+ Rm
8459
8469
  ];
8460
- function Nm(e, t) {
8470
+ function Dm(e, t) {
8461
8471
  return -4 === t && (e.code = "Z_MEM_ERROR"), e;
8462
8472
  }
8463
- function Dm(e, t, r = {}) {
8464
- if (!(e ? Cm : Lm).includes(t)) throw new TypeError("Unsupported format: " + t);
8465
- if (!Sm) {
8473
+ function Fm(e, t, r = {}) {
8474
+ if (!(e ? Lm : Nm).includes(t)) throw new TypeError("Unsupported format: " + t);
8475
+ if (!Tm) {
8466
8476
  const e = /* @__PURE__ */ new Error("WASM module not loaded");
8467
- throw e.cause = vm, e;
8477
+ throw e.cause = xm, e;
8468
8478
  }
8469
8479
  const n = "number" == typeof r.level ? r.level : -1, o = "number" == typeof r.outBuffer ? r.outBuffer : 65536, a = "number" == typeof r.inBufferSize ? r.inBufferSize : 65536, s = {
8470
8480
  out: 0,
@@ -8477,8 +8487,8 @@ function Dm(e, t, r = {}) {
8477
8487
  return function() {
8478
8488
  try {
8479
8489
  let r;
8480
- if (s.out = Tm(o), s.in = Tm(a), s.inBufferSize = a, !s.out || !s.in) throw Nm(/* @__PURE__ */ new Error("allocation failed"), -4);
8481
- if (e ? (s._process = Sm.deflate_process, s._last_consumed = Sm.deflate_last_consumed, s._end = Sm.deflate_end, s.streamHandle = Sm.deflate_new(), r = t === Rm ? Sm.deflate_init_gzip(s.streamHandle, n) : t === Im ? Sm.deflate_init_raw(s.streamHandle, n) : Sm.deflate_init(s.streamHandle, n)) : t === Om ? (s._process = Sm.inflate9_process, s._last_consumed = Sm.inflate9_last_consumed, s._end = Sm.inflate9_end, s.streamHandle = Sm.inflate9_new(), r = Sm.inflate9_init_raw(s.streamHandle)) : (s._process = Sm.inflate_process, s._last_consumed = Sm.inflate_last_consumed, s._end = Sm.inflate_end, s.streamHandle = Sm.inflate_new(), r = t === Im ? Sm.inflate_init_raw(s.streamHandle) : t === Rm ? Sm.inflate_init_gzip(s.streamHandle) : Sm.inflate_init(s.streamHandle)), 0 !== r) throw Nm(/* @__PURE__ */ new Error("init failed:" + r), r);
8490
+ if (s.out = Am(o), s.in = Am(a), s.inBufferSize = a, !s.out || !s.in) throw Dm(/* @__PURE__ */ new Error("allocation failed"), -4);
8491
+ if (e ? (s._process = Tm.deflate_process, s._last_consumed = Tm.deflate_last_consumed, s._end = Tm.deflate_end, s.streamHandle = Tm.deflate_new(), r = t === Cm ? Tm.deflate_init_gzip(s.streamHandle, n) : t === Om ? Tm.deflate_init_raw(s.streamHandle, n) : Tm.deflate_init(s.streamHandle, n)) : t === Rm ? (s._process = Tm.inflate9_process, s._last_consumed = Tm.inflate9_last_consumed, s._end = Tm.inflate9_end, s.streamHandle = Tm.inflate9_new(), r = Tm.inflate9_init_raw(s.streamHandle)) : (s._process = Tm.inflate_process, s._last_consumed = Tm.inflate_last_consumed, s._end = Tm.inflate_end, s.streamHandle = Tm.inflate_new(), r = t === Om ? Tm.inflate_init_raw(s.streamHandle) : t === Cm ? Tm.inflate_init_gzip(s.streamHandle) : Tm.inflate_init(s.streamHandle)), 0 !== r) throw Dm(/* @__PURE__ */ new Error("init failed:" + r), r);
8482
8492
  } catch (e) {
8483
8493
  throw h(s), e;
8484
8494
  }
@@ -8502,15 +8512,15 @@ function Dm(e, t, r = {}) {
8502
8512
  if (p && await new Promise((e) => c = e), d) throw u;
8503
8513
  try {
8504
8514
  (function(e) {
8505
- const t = new Uint8Array(bm.buffer), r = s._process, n = s._last_consumed, a = s.out;
8515
+ const t = new Uint8Array(vm.buffer), r = s._process, n = s._last_consumed, a = s.out;
8506
8516
  let i = 0;
8507
8517
  for (; i < e.length;) {
8508
8518
  if (s.streamEnded) throw new Error("trailing data after the end of the stream");
8509
8519
  const l = Math.min(e.length - i, 32768);
8510
- if ((!s.in || s.inBufferSize < l) && (s.in && Am && (Am(s.in), s.in = 0), s.in = Tm(l), s.inBufferSize = l, !s.in)) throw Nm(/* @__PURE__ */ new Error("allocation failed"), -4);
8520
+ if ((!s.in || s.inBufferSize < l) && (s.in && bm && (bm(s.in), s.in = 0), s.in = Am(l), s.inBufferSize = l, !s.in)) throw Dm(/* @__PURE__ */ new Error("allocation failed"), -4);
8511
8521
  t.set(e.subarray(i, i + l), s.in);
8512
8522
  const c = r(s.streamHandle, s.in, l, a, o, 0), u = c >> 24 & 255, p = 128 & u ? u - 256 : u;
8513
- if (p < 0) throw Nm(/* @__PURE__ */ new Error("process error:" + p), p);
8523
+ if (p < 0) throw Dm(/* @__PURE__ */ new Error("process error:" + p), p);
8514
8524
  const d = 16777215 & c;
8515
8525
  d && f(t.slice(a, a + d));
8516
8526
  const m = n(s.streamHandle);
@@ -8527,10 +8537,10 @@ function Dm(e, t, r = {}) {
8527
8537
  if (d) return;
8528
8538
  try {
8529
8539
  (function() {
8530
- const e = new Uint8Array(bm.buffer), t = s._process, r = s.out;
8540
+ const e = new Uint8Array(vm.buffer), t = s._process, r = s.out;
8531
8541
  for (;;) {
8532
8542
  const n = t(s.streamHandle, 0, 0, r, o, 4), a = n >> 24 & 255, i = 128 & a ? a - 256 : a;
8533
- if (i < 0) throw Nm(/* @__PURE__ */ new Error("process error:" + i), i);
8543
+ if (i < 0) throw Dm(/* @__PURE__ */ new Error("process error:" + i), i);
8534
8544
  const l = 16777215 & n;
8535
8545
  if (l && f(e.slice(r, r + l)), 1 === a || 0 === l) break;
8536
8546
  }
@@ -8540,7 +8550,7 @@ function Dm(e, t, r = {}) {
8540
8550
  }
8541
8551
  const e = h(s);
8542
8552
  if (0 !== e) {
8543
- const t = Nm(/* @__PURE__ */ new Error("end error:" + e), e);
8553
+ const t = Dm(/* @__PURE__ */ new Error("end error:" + e), e);
8544
8554
  throw i.error(t), t;
8545
8555
  }
8546
8556
  i.close();
@@ -8561,26 +8571,26 @@ function Dm(e, t, r = {}) {
8561
8571
  }
8562
8572
  function h(e) {
8563
8573
  let t = 0;
8564
- return e.streamHandle && e._end && (t = e._end(e.streamHandle)), e.streamHandle = 0, e.in && Am && Am(e.in), e.in = 0, e.out && Am && Am(e.out), e.out = 0, t;
8574
+ return e.streamHandle && e._end && (t = e._end(e.streamHandle)), e.streamHandle = 0, e.in && bm && bm(e.in), e.in = 0, e.out && bm && bm(e.out), e.out = 0, t;
8565
8575
  }
8566
8576
  }
8567
- var Fm = class {
8568
- constructor(e = xm, t) {
8569
- return Dm(!0, e, t);
8577
+ var km = class {
8578
+ constructor(e = Im, t) {
8579
+ return Fm(!0, e, t);
8570
8580
  }
8571
- }, km = class {
8572
- constructor(e = xm, t) {
8573
- return Dm(!1, e, t);
8581
+ }, Pm = class {
8582
+ constructor(e = Im, t) {
8583
+ return Fm(!1, e, t);
8574
8584
  }
8575
8585
  };
8576
- Fm.requiresModule = !0, km.requiresModule = !0, Fm.supportedFormats = Cm, km.supportedFormats = Lm;
8577
- var Pm, Mm, Um = 65536;
8578
- function Bm(e) {
8586
+ km.requiresModule = !0, Pm.requiresModule = !0, km.supportedFormats = Lm, Pm.supportedFormats = Nm;
8587
+ var Mm, Um, Bm = 65536;
8588
+ function zm(e) {
8579
8589
  return new Uint8Array(e.memory.buffer);
8580
8590
  }
8581
- var zm, Wm = !1;
8582
- async function Vm(e, { baseURI: t }) {
8583
- if (!Wm) try {
8591
+ var Wm, Vm = !1;
8592
+ async function Hm(e, { baseURI: t }) {
8593
+ if (!Vm) try {
8584
8594
  await async function(e, t) {
8585
8595
  let r, n;
8586
8596
  try {
@@ -8598,52 +8608,52 @@ async function Vm(e, { baseURI: t }) {
8598
8608
  }
8599
8609
  const o = await WebAssembly.instantiate(r);
8600
8610
  (function(e) {
8601
- if (Sm = e, {malloc: Tm, free: Am, memory: bm} = Sm, "function" != typeof Tm || "function" != typeof Am || !bm) throw Sm = Tm = Am = bm = null, /* @__PURE__ */ new Error("Invalid WASM module");
8602
- })(o.instance.exports), a = o.instance.exports, "function" == typeof a.aes_hmac_new && (Pm = a, Mm = 0);
8611
+ if (Tm = e, {malloc: Am, free: bm, memory: vm} = Tm, "function" != typeof Am || "function" != typeof bm || !vm) throw Tm = Am = bm = vm = null, /* @__PURE__ */ new Error("Invalid WASM module");
8612
+ })(o.instance.exports), a = o.instance.exports, "function" == typeof a.aes_hmac_new && (Mm = a, Um = 0);
8603
8613
  var a;
8604
- }(e, t), Wm = !0;
8614
+ }(e, t), Vm = !0;
8605
8615
  } catch (e) {
8606
8616
  throw function(e) {
8607
- vm = e;
8617
+ xm = e;
8608
8618
  }(e), e;
8609
8619
  }
8610
8620
  }
8611
8621
  K(function(e, t) {
8612
- const r = Pm;
8622
+ const r = Mm;
8613
8623
  let n = r ? function(e, t, r) {
8614
- Mm || (Mm = e.malloc(Um));
8615
- const n = Mm ? e.aes_hmac_new() : 0;
8624
+ Um || (Um = e.malloc(Bm));
8625
+ const n = Um ? e.aes_hmac_new() : 0;
8616
8626
  if (n) {
8617
- const o = Bm(e);
8618
- if (o.set(t, Mm), o.set(r, Mm + t.length), e.aes_hmac_init(n, Mm, t.length, Mm + t.length, r.length)) return e.aes_hmac_end(n, 0), 0;
8627
+ const o = zm(e);
8628
+ if (o.set(t, Um), o.set(r, Um + t.length), e.aes_hmac_init(n, Um, t.length, Um + t.length, r.length)) return e.aes_hmac_end(n, 0), 0;
8619
8629
  }
8620
8630
  return n;
8621
8631
  }(r, e, t) : 0;
8622
8632
  if (!n) return re(e, t);
8623
- const o = Mm;
8633
+ const o = Um;
8624
8634
  return {
8625
8635
  process(e, t) {
8626
- for (let a = 0; a < e.length; a += Um) {
8627
- const s = e.subarray(a, a + Um), i = Bm(r);
8636
+ for (let a = 0; a < e.length; a += Bm) {
8637
+ const s = e.subarray(a, a + Bm), i = zm(r);
8628
8638
  i.set(s, o), r.aes_hmac_process(n, o, s.length, t ? 1 : 0), s.set(i.subarray(o, o + s.length));
8629
8639
  }
8630
8640
  },
8631
- digest: () => (r.aes_hmac_end(n, o), n = 0, Bm(r).slice(o, o + 20)),
8641
+ digest: () => (r.aes_hmac_end(n, o), n = 0, zm(r).slice(o, o + 20)),
8632
8642
  dispose() {
8633
8643
  n && (r.aes_hmac_end(n, 0), n = 0);
8634
8644
  }
8635
8645
  };
8636
8646
  }), G({ initModule: (e) => {
8637
- if (!zm) {
8647
+ if (!Wm) {
8638
8648
  let { wasmURI: t } = e;
8639
- "function" == typeof t && (t = t()), zm = Vm(t, e).catch((e) => {
8640
- throw zm = null, e;
8649
+ "function" == typeof t && (t = t()), Wm = Hm(t, e).catch((e) => {
8650
+ throw Wm = null, e;
8641
8651
  });
8642
8652
  }
8643
- return zm;
8653
+ return Wm;
8644
8654
  } }), xt({
8645
- CompressionStreamFallback: Fm,
8646
- DecompressionStreamFallback: km
8655
+ CompressionStreamFallback: km,
8656
+ DecompressionStreamFallback: Pm
8647
8657
  }), function(e) {
8648
8658
  let t;
8649
8659
  e({ wasmURI: () => (t || (t = "data:application/wasm;base64," + function(e) {
@@ -8652,15 +8662,15 @@ K(function(e, t) {
8652
8662
  let n = 0;
8653
8663
  for (; n + 2 < r; n += 3) {
8654
8664
  const r = e[n] << 16 | e[n + 1] << 8 | e[n + 2];
8655
- t += ym[r >> 18 & 63] + ym[r >> 12 & 63] + ym[r >> 6 & 63] + ym[63 & r];
8665
+ t += Sm[r >> 18 & 63] + Sm[r >> 12 & 63] + Sm[r >> 6 & 63] + Sm[63 & r];
8656
8666
  }
8657
8667
  const o = r - n;
8658
8668
  if (1 === o) {
8659
8669
  const r = e[n] << 16;
8660
- t += ym[r >> 18 & 63] + ym[r >> 12 & 63] + "==";
8670
+ t += Sm[r >> 18 & 63] + Sm[r >> 12 & 63] + "==";
8661
8671
  } else if (2 === o) {
8662
8672
  const r = e[n] << 16 | e[n + 1] << 8;
8663
- t += ym[r >> 18 & 63] + ym[r >> 12 & 63] + ym[r >> 6 & 63] + "=";
8673
+ t += Sm[r >> 18 & 63] + Sm[r >> 12 & 63] + Sm[r >> 6 & 63] + "=";
8664
8674
  }
8665
8675
  return t;
8666
8676
  }(function(e) {
@@ -8669,7 +8679,7 @@ K(function(e, t) {
8669
8679
  s = l(1);
8670
8680
  const e = l(2);
8671
8681
  if (0 == e) c();
8672
- else if (1 == e) u(wm(gm), wm(Em));
8682
+ else if (1 == e) u(ym(Em), ym(wm));
8673
8683
  else {
8674
8684
  if (2 != e) throw new Error("invalid deflate block type");
8675
8685
  u(...p());
@@ -8696,7 +8706,7 @@ K(function(e, t) {
8696
8706
  for (; 256 != r;) {
8697
8707
  if (r < 256) f(a + 1), o[a++] = r;
8698
8708
  else {
8699
- const e = r - 257, n = pm[e] + l(dm[e]), s = d(t), i = fm[s] + l(mm[s]);
8709
+ const e = r - 257, n = dm[e] + l(fm[e]), s = d(t), i = mm[s] + l(hm[s]);
8700
8710
  f(a + n);
8701
8711
  const c = a - i;
8702
8712
  for (let e = 0; e < n; e++) o[a++] = o[c + e];
@@ -8706,8 +8716,8 @@ K(function(e, t) {
8706
8716
  }
8707
8717
  function p() {
8708
8718
  const e = l(5) + 257, t = l(5) + 1, r = l(4) + 4, n = /* @__PURE__ */ new Uint8Array(19);
8709
- for (let e = 0; e < r; e++) n[hm[e]] = l(3);
8710
- const o = wm(n), a = new Uint8Array(e + t);
8719
+ for (let e = 0; e < r; e++) n[gm[e]] = l(3);
8720
+ const o = ym(n), a = new Uint8Array(e + t);
8711
8721
  let s = 0;
8712
8722
  for (; s < a.length;) {
8713
8723
  const e = d(o);
@@ -8718,7 +8728,7 @@ K(function(e, t) {
8718
8728
  for (; t--;) a[s++] = e;
8719
8729
  } else s += 17 == e ? l(3) + 3 : l(7) + 11;
8720
8730
  }
8721
- return [wm(a.subarray(0, e)), wm(a.subarray(e))];
8731
+ return [ym(a.subarray(0, e)), ym(a.subarray(e))];
8722
8732
  }
8723
8733
  function d(e) {
8724
8734
  const { lengthCounts: t, symbols: r } = e;
@@ -8742,7 +8752,7 @@ K(function(e, t) {
8742
8752
  }(function(e) {
8743
8753
  const t = (e = String(e).replace(/[^A-Za-z0-9+/=]/g, "")).length, r = [];
8744
8754
  for (let n = 0; n < t; n += 4) {
8745
- const t = ym.indexOf(e[n]) << 18 | ym.indexOf(e[n + 1]) << 12 | (63 & ym.indexOf(e[n + 2])) << 6 | 63 & ym.indexOf(e[n + 3]);
8755
+ const t = Sm.indexOf(e[n]) << 18 | Sm.indexOf(e[n + 1]) << 12 | (63 & Sm.indexOf(e[n + 2])) << 6 | 63 & Sm.indexOf(e[n + 3]);
8746
8756
  r.push(t >> 16 & 255), "=" !== e[n + 2] && r.push(t >> 8 & 255), "=" !== e[n + 3] && r.push(255 & t);
8747
8757
  }
8748
8758
  return new Uint8Array(r);
@@ -8775,4 +8785,4 @@ K(function(e, t) {
8775
8785
  }(r);
8776
8786
  } });
8777
8787
  })(xt);
8778
- export { Qn as $, Cr as $n, Un as $t, nc as A, La as An, Kr as Ar, pp as At, Gp as B, yc as Bn, Zr as Bt, $i as C, su as Cn, Js as Cr, fi as Ct, hr as D, Tp as Dn, qo as Dr, fs as Dt, ra as E, Zp as En, Gs as Er, dl as Et, nr as F, Cc as Fn, hi as Fr, wp as Ft, na as G, Ic as Gn, vc as Gt, ir as H, hd as Hn, Xo as Ht, Ko as I, Ma as In, pc as Ir, Dr as It, $o as J, yr as Jn, Ni as Jt, Ki as K, ko as Kn, Do as Kt, Ir as L, gp as Ln, Sc as Lt, ll as M, yd as Mn, jo as Mr, cl as Mt, oc as N, Fi as Nn, pu as Nr, au as Nt, il as O, Pr as On, Wl as Or, xr as Ot, Bp as P, Vr as Pn, gs as Pr, ac as Pt, Zo as Q, ic as Qn, Po as Qt, mi as R, bi as Rn, gd as Rt, sr as S, wr as Sn, Yu as Sr, fl as St, $s as T, tl as Tn, Jr as Tr, Sr as Tt, _i as U, Li as Un, Ap as Ut, tn as V, yu as Vn, Vs as Vt, an as W, Br as Wn, Mr as Wt, zp as X, ap as Xn, Oc as Xt, Xi as Y, pl as Yn, zr as Yt, Xs as Z, ha as Zn, ka as Zt, jr as _, Ii as _n, Hs as _r, ol as _t, Yr as a, Ds as an, Tc as ar, dc as at, Ms as b, Ac as bn, nn as br, al as bt, Bs as c, Hr as cn, Ed as cr, Qo as ct, qi as d, ks as dn, Ci as dr, zs as dt, yi as en, Ec as er, lr as et, _r as f, zn as fn, Ur as fr, Go as ft, rn as g, Ps as gn, Qr as gr, Vo as gt, jp as h, Ba as hn, Hi as hr, Wa as ht, Bi as i, Pa as in, Fr as ir, cd as it, gr as j, Rs as jn, Ws as jr, fc as jt, ed as k, bc as kn, Wi as kr, bn as kt, ur as l, Lc as ln, Rr as lr, zi as lt, Qi as m, Nc as mn, Td as mr, Fc as mt, pr as n, Wr as nn, xi as nr, Kp as nt, kc as o, Bn as on, Is as or, Yi as ot, Jo as p, Gr as pn, xc as pr, Xr as pt, en as q, Ad as qn, kn as qt, nl as r, Rc as rn, yp as rr, sn as rt, Va as s, Rp as sn, Nn as sr, Wp as st, bf as t, Or as tn, On as tr, el as tt, rl as u, Ua as un, gc as ur, qr as ut, Dc as v, Sp as vn, zl as vr, sl as vt, Yp as w, ma as wn, Up as wr, Ea as wt, Wo as x, wd as xn, qc as xr, tc as xt, za as y, kr as yn, Ji as yr, ru as yt, Zi as z, Nr as zn, Vi as zt };
8788
+ export { Qn as $, Cr as $n, Un as $t, nc as A, La as An, Kr as Ar, pp as At, Gp as B, yc as Bn, Zr as Bt, $i as C, su as Cn, Js as Cr, fi as Ct, hr as D, Tp as Dn, qo as Dr, fs as Dt, ra as E, Zp as En, Gs as Er, dl as Et, nr as F, Cc as Fn, hi as Fr, wp as Ft, na as G, Ic as Gn, vc as Gt, ir as H, hd as Hn, Xo as Ht, Ko as I, Ma as In, pc as Ir, Dr as It, $o as J, yr as Jn, Ni as Jt, Ki as K, ko as Kn, Do as Kt, Ir as L, gp as Ln, Sc as Lt, ll as M, yd as Mn, jo as Mr, cl as Mt, oc as N, Fi as Nn, pu as Nr, au as Nt, il as O, Pr as On, Wl as Or, xr as Ot, Bp as P, Vr as Pn, gs as Pr, ac as Pt, Zo as Q, ic as Qn, Po as Qt, mi as R, bi as Rn, gd as Rt, sr as S, wr as Sn, Yu as Sr, fl as St, $s as T, tl as Tn, Jr as Tr, Sr as Tt, _i as U, Li as Un, Ap as Ut, tn as V, yu as Vn, Vs as Vt, an as W, Br as Wn, Mr as Wt, zp as X, ap as Xn, Oc as Xt, Xi as Y, pl as Yn, zr as Yt, Xs as Z, ha as Zn, ka as Zt, jr as _, Ii as _n, Hs as _r, ol as _t, Yr as a, Ds as an, Tc as ar, dc as at, Ms as b, Ac as bn, nn as br, al as bt, Bs as c, Hr as cn, Ed as cr, Qo as ct, qi as d, ks as dn, Ci as dr, zs as dt, yi as en, Ec as er, lr as et, _r as f, zn as fn, Ur as fr, Go as ft, rn as g, Ps as gn, Qr as gr, Vo as gt, jp as h, Ba as hn, Hi as hr, Wa as ht, Bi as i, Pa as in, Fr as ir, cd as it, gr as j, Rs as jn, Ws as jr, fc as jt, ed as k, bc as kn, Wi as kr, bn as kt, ur as l, Lc as ln, Rr as lr, zi as lt, Qi as m, Nc as mn, Td as mr, Fc as mt, pr as n, Wr as nn, xi as nr, Kp as nt, kc as o, Bn as on, Is as or, Yi as ot, Jo as p, Gr as pn, xc as pr, Xr as pt, en as q, Ad as qn, kn as qt, nl as r, Rc as rn, yp as rr, sn as rt, Va as s, Rp as sn, Nn as sr, Wp as st, vf as t, Or as tn, On as tr, el as tt, rl as u, Ua as un, gc as ur, qr as ut, Dc as v, Sp as vn, zl as vr, sl as vt, Yp as w, ma as wn, Up as wr, Ea as wt, Wo as x, wd as xn, qc as xr, tc as xt, za as y, kr as yn, Ji as yr, ru as yt, Zi as z, Nr as zn, Vi as zt };