@sheetxl/studio-vanilla 0.7.25 → 0.7.26

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 (190) hide show
  1. package/browser/cjs/0qdXUJU77kZ-8gpS.cjs +6 -0
  2. package/browser/cjs/{ukSz2X_gLCvtdIzP.cjs → 2plwAIjiFRnnI8JO.cjs} +1 -1
  3. package/browser/cjs/{C8us2frOw7LjuyJ1.cjs → 7DkzD2wl38VKptuC.cjs} +2 -2
  4. package/browser/cjs/9UsbwQk-zeKTivMo.cjs +6 -0
  5. package/browser/cjs/{BDEFoiVTePJ_SjGg.cjs → B3hlKr7K0fK-y2NZ.cjs} +115 -110
  6. package/browser/cjs/{BfEhwgqrMGK08dnG.cjs → B9S-B9N3s8W26nIG.cjs} +2 -2
  7. package/browser/cjs/{CNTQI8IhKUV7ejbW.cjs → BE_HldtjUiFtyJ4y.cjs} +1 -1
  8. package/browser/cjs/{DJ-Mo2ncMc59JbqJ.cjs → BEbiQir8LFAXSVFS.cjs} +1 -1
  9. package/browser/cjs/{DrA4A82P9vZ5qdV5.cjs → BGozVLADcxTn8g5Z.cjs} +2 -2
  10. package/browser/cjs/{Cjp_djFMPSdQHHa3.cjs → BXrZcIIrPHDbWe0C.cjs} +1 -1
  11. package/browser/cjs/{DIqRG3TAWBE6iVbR.cjs → Bcj5XhSv6DbSefuy.cjs} +2 -2
  12. package/browser/cjs/{DwbN5n91LrmY190a.cjs → Bdb5-nKu4Rwqx-9w.cjs} +1 -1
  13. package/browser/cjs/{C_fX5sW9Ff9eLqeQ.cjs → BeUrnAaMw2isfJXi.cjs} +2 -2
  14. package/browser/cjs/{BrY1IZKrEgQyMxze.cjs → BmB3BrEFmShK23T4.cjs} +1 -1
  15. package/browser/cjs/{B_GE6g8qWgxeW1mb.cjs → BmmeyDcfZG_CeyNc.cjs} +1 -1
  16. package/browser/cjs/BpgsU0FrVPX7sKyl.cjs +327 -0
  17. package/browser/cjs/{COLzkD3VwUPBLku8.cjs → BudYx5iK1N3BFKtw.cjs} +1 -1
  18. package/browser/cjs/{DxFbWupbLMHcqPPU.cjs → CCOGey6NhnQ39K9y.cjs} +1 -1
  19. package/browser/cjs/{Do67Ka66NTFypJve.cjs → CE-heeHu0-_vTzEp.cjs} +1 -1
  20. package/browser/cjs/{DaxJtVNdY3X65rPt.cjs → CGCzgri1n9ESzoyF.cjs} +1 -1
  21. package/browser/cjs/{FbI5j3FuwFg--2fw.cjs → CINAnY0EzVUXKL-i.cjs} +2 -2
  22. package/browser/cjs/{kNQnN05rW8rvrzkI.cjs → CSDv7WRUJAE5dipl.cjs} +2 -2
  23. package/browser/cjs/{adG8GsoQ0FogoBwu.cjs → CUIZ12l3taaQJ4OF.cjs} +1 -1
  24. package/browser/cjs/{CpYYx7mWK--OaW3s.cjs → CW0yRv6PONH8L_zV.cjs} +1 -1
  25. package/browser/cjs/{aVXQJEKdeRHRd3gb.cjs → C_Uw3FryZpDjVPTu.cjs} +2 -2
  26. package/browser/cjs/{Bpb_mXMVVEzz1hDo.cjs → CsG6Tim11nCgrEK0.cjs} +2 -2
  27. package/browser/cjs/{lWK0_1oLhrBOzyJt.cjs → Cwtidgnh3XHlqSRO.cjs} +1 -1
  28. package/browser/cjs/{BxXhgmfUZAJOt3Ku.cjs → Cx9xlly3I-489b-0.cjs} +1 -1
  29. package/browser/cjs/{5iNz1vZwjEtHmg0S.cjs → Cy04Gp--mBfu7LIm.cjs} +1 -1
  30. package/browser/cjs/{C1RYwCPqA7cdnU_V.cjs → Cz3OAnhMCnDXcrtE.cjs} +1 -1
  31. package/browser/cjs/{DNk7ySpGeEXhHjDJ.cjs → D5nZDyKsvfX9isBq.cjs} +3 -3
  32. package/browser/cjs/{CR3y8C9ku0W0USXg.cjs → DBMLpswv86eMiMDp.cjs} +2 -2
  33. package/browser/cjs/{BaDUKwItEQ1mwYus.cjs → DCfJIgdShc32Y9p1.cjs} +1 -1
  34. package/browser/cjs/{Cc1jRrRoAbuyeQGx.cjs → DJf9RFVEAic7MHVx.cjs} +26 -26
  35. package/browser/cjs/{BoetI8fJ3kaKdhqD.cjs → DJtTAQE_FsQx6Eqx.cjs} +3 -3
  36. package/browser/cjs/{CzckLaqE0PhS9LNn.cjs → DMkzcidjHbX2eSsM.cjs} +1 -1
  37. package/browser/cjs/{tkaW03gjEpYTx1eT.cjs → DVynkWur40De7K0w.cjs} +4 -4
  38. package/browser/cjs/{CyxZNiq3-WiL5hYQ.cjs → Db8dtGz7kZbPGsIB.cjs} +1 -1
  39. package/browser/cjs/{DLiesuu33tYOPOjL.cjs → DisGigjbXKY00k8_.cjs} +1 -1
  40. package/browser/cjs/{Btkl0LKxDtnzwRBq.cjs → DpJIxmk1GnRbC9bp.cjs} +1 -1
  41. package/browser/cjs/{B0ksAtEWhB8IDZT1.cjs → DpWn-LMalhOA8cnv.cjs} +1 -1
  42. package/browser/cjs/{DsfVy7fLXLcwoH4M.cjs → DplJkdRZD_tuxYhT.cjs} +1 -1
  43. package/browser/cjs/{BnqcNEGqBgFvH9ER.cjs → DruXFvvfyBw9slGq.cjs} +6 -6
  44. package/browser/cjs/{gxe4x4GTce7xLdsK.cjs → DtHE8H41ICCwxBDU.cjs} +2 -2
  45. package/browser/cjs/{BFys5Z2ByhH5jvtl.cjs → Dw7RVenxd7EYzqj1.cjs} +1 -1
  46. package/browser/cjs/{D2ZPaqiR6r5GdJDq.cjs → Dy7eDs5MNE45sBpV.cjs} +1 -1
  47. package/browser/cjs/{5LJO3t78zGRpRrqi.cjs → DyQBBX5y1a_if6DV.cjs} +1 -1
  48. package/browser/cjs/{B2lStu5YJyxxmgzo.cjs → EKBZ4XLnBQm1EhWg.cjs} +1 -1
  49. package/browser/cjs/{B8-8duv8eXK6Vahi.cjs → GZOdJaN0RS7n81Hj.cjs} +2 -2
  50. package/browser/cjs/{DmMW-crnc03AMNJ7.cjs → I6K1bV4i4wJom1LG.cjs} +2 -2
  51. package/browser/cjs/{DOprl091GBCf8dEd.cjs → RXAux0SgF_qHQZ1x.cjs} +1 -1
  52. package/browser/cjs/{DJUCLu8AD09s6BBp.cjs → U98frhsOw47zodUp.cjs} +1 -1
  53. package/browser/cjs/{gMlQORKnhKX8AcGN.cjs → VL1CO0WVrVEONBXf.cjs} +2 -2
  54. package/browser/cjs/{Z9O3JeOjwYlghdlM.cjs → Wih2LDCGj4JPaDRz.cjs} +3 -3
  55. package/browser/cjs/{CSNFDGbDLkCCpfve.cjs → bbRa4ThzsGLbYZxW.cjs} +2 -2
  56. package/browser/cjs/{Cx9a3mzfTXoBgzbr.cjs → cAV7FXMtXsL2vnFW.cjs} +1 -1
  57. package/browser/cjs/{CNsEYoTcNJTwZLe0.cjs → ccEr4T5ghopqTcbu.cjs} +1 -1
  58. package/browser/cjs/index.cjs +2 -2
  59. package/browser/cjs/{11N2LEPGiAwoWIS6.cjs → roqAGFLse-Py-SRY.cjs} +2 -2
  60. package/{cdn/assets/CbJIMCNv05YIyNMN.js → browser/esm/7FDlUy3F1pQf-SNg.mjs} +1 -1
  61. package/{cdn/assets/BNCT0VbvQYMYdg23.js → browser/esm/B-u2ZQBmDVcRF2gf.mjs} +1 -1
  62. package/{cdn/assets/CED_xvHezoQXqpYO.js → browser/esm/BDkagW3wAWR17Otl.mjs} +1 -1
  63. package/browser/esm/{CNbTdSYfphAqOmjq.mjs → BKuWCH7q6LXiDI4P.mjs} +1 -1
  64. package/browser/esm/{B9i7-hhPMhmlP99b.mjs → BNWwsiFRsId-CsPb.mjs} +3 -3
  65. package/browser/esm/{BM2F0SSIfKV5I6BN.mjs → BPxHMkkjtNcVBmPg.mjs} +2 -2
  66. package/browser/esm/{6ecVzws7lh7lMFj4.mjs → BQmZCGZiMFpRWFzk.mjs} +12 -12
  67. package/browser/esm/{CDjMpCsTWUN7jwqQ.mjs → BUOlhv4-D_eENmqA.mjs} +1 -1
  68. package/browser/esm/{CR_SXUQyO7b_Kiu2.mjs → BZZIuIcuc8sz51Qs.mjs} +1 -1
  69. package/browser/esm/{DVjlQhv9K5FSV8EE.mjs → BjwXJsEbYheens0S.mjs} +80 -80
  70. package/browser/esm/{CftN7zbEkX6DxdfV.mjs → BvaCJ5VOFiHbugen.mjs} +1 -1
  71. package/browser/esm/{D1XAnlnxlRtJw871.mjs → BxotvV67pPzYNAnw.mjs} +73 -73
  72. package/browser/esm/{2HYwzUzUu6ru_2p2.mjs → C6W0xl1t4Wo2roe4.mjs} +3 -3
  73. package/browser/esm/{CO7TxV57ydUAbpuv.mjs → C6dVsLnRxdZyq6B2.mjs} +1 -1
  74. package/browser/esm/{COapd8-SZiVrGwqy.mjs → C9KiRKUMjNWMFYT1.mjs} +2 -2
  75. package/browser/esm/{Bak-p44IqwSgvqUI.mjs → CAhiMWu014S315hW.mjs} +1 -1
  76. package/browser/esm/{DcrvwniV_BVylQpc.mjs → CCMzGx5UZa46k8eA.mjs} +9 -9
  77. package/{cdn/assets/C3LTouOdNNMELa2K.js → browser/esm/CJ0E3lON6P4yyfaI.mjs} +1 -1
  78. package/{cdn/assets/DWZB-hO3UOuG_mvf.js → browser/esm/CPtsvam_y5Zi5sLC.mjs} +1 -1
  79. package/browser/esm/{DbvLoYh7iQFXiqeC.mjs → CQjNzGH7AOVePDls.mjs} +1 -1
  80. package/{cdn/assets/C0Sj9jMXOdYxYDuv.js → browser/esm/CQuvBkFRA7H_WnDD.mjs} +1 -1
  81. package/browser/esm/{DHQunMrNJYvbU7km.mjs → CXVodzTpzfCDS37q.mjs} +2 -2
  82. package/{cdn/assets/CLWgdeTK2G7dvQt8.js → browser/esm/CXfM9OhCjwAOYZYi.mjs} +1 -1
  83. package/browser/esm/{Cu03_G1jtMXxG_Ig.mjs → CZAFYeAH9iwUr_2V.mjs} +2 -2
  84. package/{cdn/assets/C4QsnU_AF6hmerRr.js → browser/esm/CZuuXDNipcshYCaP.mjs} +2 -2
  85. package/browser/esm/{Bld-4DOsa28ubudV.mjs → C_3PS8EATtahttg9.mjs} +1 -1
  86. package/{cdn/assets/C8aYf8C9UbMEHdbz.js → browser/esm/C_ocpRmbOmte_4s1.mjs} +1 -1
  87. package/browser/esm/{bazuKXRXLmFT4kX5.mjs → CiLwISSsJqRlGJ7k.mjs} +4 -4
  88. package/browser/esm/{bA-uiO93JMct0zXK.mjs → CkI4684wgr1_RPOj.mjs} +6 -6
  89. package/browser/esm/{D2m6SgMZgN6EXwyi.mjs → Cqf6GdBGfjuspXrI.mjs} +1 -1
  90. package/browser/esm/{zlVsp29O3m_BAooW.mjs → CtWfb9uT0_mTAgnv.mjs} +1 -1
  91. package/browser/esm/{CyLsKF-nsUYwujmC.mjs → Cxj_bkLkwrpZnTrs.mjs} +1 -1
  92. package/browser/esm/{Cf3oQ2kOTyWm2tL_.mjs → CymWZEg3XHDvaRcj.mjs} +2 -2
  93. package/browser/esm/{qnqpGNLaDOziQrYq.mjs → D-EOJEd5KqYd5WuZ.mjs} +1 -1
  94. package/browser/esm/{DwWU2ml1CHJ2aYZS.mjs → D0zPFlQ5l1Y2Nzxp.mjs} +1 -1
  95. package/{cdn/assets/7-cFN6XkVw3tg5vP.js → browser/esm/D86yoE4oRzPIswfv.mjs} +1 -1
  96. package/{cdn/assets/CqjFtmrDJf_kUMPu.js → browser/esm/DHSG8I2gHUuajei1.mjs} +1 -1
  97. package/{cdn/assets/DhF5wXbfIidUle1S.js → browser/esm/DdAbsxfLz68w6lMi.mjs} +1 -1
  98. package/browser/esm/{DqveUQzChY7ZuuPS.mjs → DfNDO16TM3NiGHRh.mjs} +2 -2
  99. package/browser/esm/{BgUL6TBaztjrrD9S.mjs → Dfh1pb_nCQYJOcaO.mjs} +4 -4
  100. package/browser/esm/{Dy-hfdwJYWjfn3kF.mjs → DjMkdanJfu8rfHoA.mjs} +1 -1
  101. package/browser/esm/{BnpQQlOfIDgwm5Ko.mjs → DjTeWWRQaSSXtdL4.mjs} +6 -6
  102. package/browser/esm/{DCwAUfizON6Eb_BY.mjs → Dnc-CH8TuXUH3UBn.mjs} +2 -2
  103. package/browser/esm/{ngzNHEOLSACcjxCj.mjs → Do3f854Kj1sGeFX-.mjs} +1 -1
  104. package/browser/esm/{CldDtmjYSvfGDrDz.mjs → DpHsNsa-QuKB_xhw.mjs} +115 -110
  105. package/browser/esm/{CAWqpQzuTiE1tpzl.mjs → DrdSCNqiO48gd28k.mjs} +1 -1
  106. package/browser/esm/{BivCkHfyKel2HobC.mjs → GiS5YwO3eNON-3im.mjs} +2 -2
  107. package/{cdn/assets/BosRt2JQUm-j_htc.js → browser/esm/JcHZvN-dyBE5QUFB.mjs} +1 -1
  108. package/browser/esm/{DDOP5K8Qq7eti6xn.mjs → JljbYtAgUx53DJ7S.mjs} +10 -10
  109. package/browser/esm/{Cs87G9R0lM2K1tnC.mjs → KYNjYnGHlke8RuHW.mjs} +1 -1
  110. package/{cdn/assets/BJlhOQoenKpXwiQ2.js → browser/esm/MYsMrKRbFCVikGGn.mjs} +1 -1
  111. package/{cdn/assets/DNKe4wEevCyGVsqt.js → browser/esm/RXfs0j-2JzRV-z9C.mjs} +10457 -10255
  112. package/browser/esm/{DkffhJNPnXxg0exk.mjs → UOp3eVwn9zsFvVsm.mjs} +2 -2
  113. package/browser/esm/{DOGzjm2uGQINakF7.mjs → W7YWdsnrMAouj_U0.mjs} +3 -3
  114. package/browser/esm/{xMFgr4KkrMil6RTy.mjs → Wk2YJz0cjFnko2EP.mjs} +11 -11
  115. package/browser/esm/{uVo0du4dqP5dc1dX.mjs → cnscP8td6z83mBdq.mjs} +1 -1
  116. package/{cdn/assets/DwdpTVDkRkqIOxQt.js → browser/esm/fHomXRT3vGB6C76I.mjs} +1 -1
  117. package/browser/esm/index.mjs +2 -2
  118. package/browser/esm/{KW7lHHewUtJ6vCDK.mjs → mRZS5iQeQo80qkUp.mjs} +2 -2
  119. package/cdn/assets/{B0Yjjh3mP22BB7zJ.js → 0-wJQgJBGcM_dFXs.js} +2 -2
  120. package/cdn/assets/{CbqV8w96U12Tj85f.js → 1rtJ8HkOXUkTjRDQ.js} +2 -2
  121. package/{browser/esm/CbJIMCNv05YIyNMN.mjs → cdn/assets/7FDlUy3F1pQf-SNg.js} +1 -1
  122. package/cdn/assets/{BQIrKvSZW6coJWCD.js → 7OUOtCuHsJSR6wu0.js} +38 -38
  123. package/cdn/assets/{vUTJScUJHGQ7P6n0.js → B-WpLjPBEL_tp7Uq.js} +2 -2
  124. package/{browser/esm/BNCT0VbvQYMYdg23.mjs → cdn/assets/B-u2ZQBmDVcRF2gf.js} +1 -1
  125. package/cdn/assets/B5jT3C_vaTmJP4l3.js +41 -0
  126. package/cdn/assets/{bEHyywiH2OfhQ7VD.js → B89PiYrtwPLstzrl.js} +115 -110
  127. package/{browser/esm/BlkURmsNfO2Re2aW.mjs → cdn/assets/B8nj7RLI55JelCjB.js} +2 -2
  128. package/cdn/assets/{CSDa7Rd6ZNN4O31l.js → BBnt9JS0Kn5m_LJp.js} +3 -3
  129. package/{browser/esm/CED_xvHezoQXqpYO.mjs → cdn/assets/BDkagW3wAWR17Otl.js} +1 -1
  130. package/cdn/assets/{D43aFyFQ0b4G9I9s.js → BFI2P-g8ztOW8mAY.js} +14 -14
  131. package/cdn/assets/{CNbTdSYfphAqOmjq.js → BKuWCH7q6LXiDI4P.js} +1 -1
  132. package/cdn/assets/{Dvizqm-0GYkh2Gsa.js → BNl0irtCObGxDIir.js} +2 -2
  133. package/cdn/assets/{CRruZtBkq6SGFXLy.js → BOogc5IYqh9QOP0_.js} +1 -1
  134. package/cdn/assets/{Bea5F1fajEt57y6v.js → BTTSexugp27rHcUd.js} +3 -3
  135. package/cdn/assets/{CDjMpCsTWUN7jwqQ.js → BUOlhv4-D_eENmqA.js} +1 -1
  136. package/cdn/assets/{CR_SXUQyO7b_Kiu2.js → BZZIuIcuc8sz51Qs.js} +1 -1
  137. package/cdn/assets/{CMsIWRpIUX2K4Yqx.js → BeXo8Ul8mDWxVVMI.js} +2 -2
  138. package/cdn/assets/{BTPaxCvMoNfaFBV9.js → Blc6UKtlDGhDimOj.js} +88 -88
  139. package/cdn/assets/{CftN7zbEkX6DxdfV.js → BvaCJ5VOFiHbugen.js} +1 -1
  140. package/cdn/assets/{DhAgtiFOreEXUakf.js → C3vl17Fv9HFiAYPj.js} +23 -23
  141. package/cdn/assets/{CO7TxV57ydUAbpuv.js → C6dVsLnRxdZyq6B2.js} +1 -1
  142. package/cdn/assets/{Bak-p44IqwSgvqUI.js → CAhiMWu014S315hW.js} +1 -1
  143. package/{browser/esm/C3LTouOdNNMELa2K.mjs → cdn/assets/CJ0E3lON6P4yyfaI.js} +1 -1
  144. package/cdn/assets/{DHT864ldpQNoQ9F0.js → CMiu1XFsEuyZy3mU.js} +4 -4
  145. package/cdn/assets/{DfVrQ0zuolyWkWdv.js → CP7Bskjtd8r4IXzk.js} +7 -7
  146. package/{browser/esm/DWZB-hO3UOuG_mvf.mjs → cdn/assets/CPtsvam_y5Zi5sLC.js} +1 -1
  147. package/cdn/assets/{DbvLoYh7iQFXiqeC.js → CQjNzGH7AOVePDls.js} +1 -1
  148. package/{browser/esm/C0Sj9jMXOdYxYDuv.mjs → cdn/assets/CQuvBkFRA7H_WnDD.js} +1 -1
  149. package/cdn/assets/{BF5UJOb1WgxFZCTK.js → CUcu6usBuqpJRh1m.js} +4 -4
  150. package/{browser/esm/CLWgdeTK2G7dvQt8.mjs → cdn/assets/CXfM9OhCjwAOYZYi.js} +1 -1
  151. package/cdn/assets/{Bld-4DOsa28ubudV.js → C_3PS8EATtahttg9.js} +1 -1
  152. package/{browser/esm/C8aYf8C9UbMEHdbz.mjs → cdn/assets/C_ocpRmbOmte_4s1.js} +1 -1
  153. package/cdn/assets/{JDXgPf5sZeQBerBH.js → CdCGxGbejmLa9sii.js} +6 -6
  154. package/cdn/assets/{r9hJmDhaLCP_heT7.js → CetAXBOlUI3Vlh4G.js} +2 -2
  155. package/cdn/assets/{DczHF1SlatI9ubyJ.js → CiqLLvjYKt6jujYg.js} +4 -4
  156. package/cdn/assets/{B8cOky5Syn2JmIxV.js → Cmivsvalu1N84KI3.js} +7 -7
  157. package/cdn/assets/{D2m6SgMZgN6EXwyi.js → Cqf6GdBGfjuspXrI.js} +1 -1
  158. package/cdn/assets/{zlVsp29O3m_BAooW.js → CtWfb9uT0_mTAgnv.js} +1 -1
  159. package/cdn/assets/{CyLsKF-nsUYwujmC.js → Cxj_bkLkwrpZnTrs.js} +1 -1
  160. package/cdn/assets/{C1O-zc1c8Hx1Lzf9.js → CzksMufW1xyxOIea.js} +2 -2
  161. package/cdn/assets/{qnqpGNLaDOziQrYq.js → D-EOJEd5KqYd5WuZ.js} +1 -1
  162. package/cdn/assets/{Cd-LKliyhiK0m2oH.js → D-pWqhbrXrC1cX0S.js} +16 -16
  163. package/cdn/assets/{DwWU2ml1CHJ2aYZS.js → D0zPFlQ5l1Y2Nzxp.js} +1 -1
  164. package/{browser/esm/7-cFN6XkVw3tg5vP.mjs → cdn/assets/D86yoE4oRzPIswfv.js} +1 -1
  165. package/cdn/assets/{D_zG2O4EXLRd1gdq.js → DAhA0wPryy8AG-sd.js} +4 -4
  166. package/cdn/assets/{DT_Q6vkOyp3Bh2qI.js → DD-PgOkb5Mlsh0kG.js} +3 -3
  167. package/{browser/esm/CqjFtmrDJf_kUMPu.mjs → cdn/assets/DHSG8I2gHUuajei1.js} +1 -1
  168. package/cdn/assets/{CcyrNUIsdl0JCQWR.js → DW-pDzDHahaE9rP_.js} +3 -3
  169. package/cdn/assets/{CHoGip9225FW3zWz.js → DYTKGC9ATWpK8Tq6.js} +13 -13
  170. package/cdn/assets/{BpnJlS27CKosc8Kv.js → DZkyRGEDmTZDLCCh.js} +11 -11
  171. package/{browser/esm/DhF5wXbfIidUle1S.mjs → cdn/assets/DdAbsxfLz68w6lMi.js} +1 -1
  172. package/{browser/esm/iMwoatVE3Cl83b2t.mjs → cdn/assets/Di_oI-AklnCaRAJy.js} +10600 -10746
  173. package/cdn/assets/{Dy-hfdwJYWjfn3kF.js → DjMkdanJfu8rfHoA.js} +1 -1
  174. package/cdn/assets/{ngzNHEOLSACcjxCj.js → Do3f854Kj1sGeFX-.js} +1 -1
  175. package/cdn/assets/{CAWqpQzuTiE1tpzl.js → DrdSCNqiO48gd28k.js} +1 -1
  176. package/cdn/assets/{DLkU1CyUxRujP2V_.js → DtwlDedWmpvh90V1.js} +1 -1
  177. package/{browser/esm/BosRt2JQUm-j_htc.mjs → cdn/assets/JcHZvN-dyBE5QUFB.js} +1 -1
  178. package/cdn/assets/{Cs87G9R0lM2K1tnC.js → KYNjYnGHlke8RuHW.js} +1 -1
  179. package/{browser/esm/BJlhOQoenKpXwiQ2.mjs → cdn/assets/MYsMrKRbFCVikGGn.js} +1 -1
  180. package/{browser/esm/DwdpTVDkRkqIOxQt.mjs → cdn/assets/fHomXRT3vGB6C76I.js} +1 -1
  181. package/cdn/assets/{DD5ANITLDIjGsuq9.js → fa_CGZrcIHdO05zZ.js} +2 -2
  182. package/cdn/assets/{C0EU9EJ0G28tQTGp.js → lMFcphkBkvBEQQAR.js} +73 -73
  183. package/cdn/assets/{BgLP_4VGth9oLNKz.js → zrakKgy1NJBlIf6I.js} +3 -3
  184. package/cdn/index.js +2 -2
  185. package/cdn/loader.js +1 -1
  186. package/package.json +3 -3
  187. package/browser/cjs/B6jgCeC4FzL0vcso.cjs +0 -6
  188. package/browser/cjs/BWPbMN3Nr3Jg_PAA.cjs +0 -6
  189. package/browser/cjs/Ck2DCUnxSByG3IGp.cjs +0 -327
  190. package/cdn/assets/trvgcvBe0vhE8kAG.js +0 -41
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,13 +1,13 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./Ck2DCUnxSByG3IGp.cjs");let $=null,R=null;const ce={compilerOptions:{target:"esnext"}},de=async()=>`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./BpgsU0FrVPX7sKyl.cjs");let $=null,R=null;const ce={compilerOptions:{target:"esnext"}},de=async()=>`
7
7
  interface FirstTest {
8
8
  isTrue?: boolean;
9
9
  }
10
- `,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),U=(T,S)=>{Array.from(S.keys()).forEach(C=>{const j=S.get(C);S.set(`${T}.${C}`,j)})},ue=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),X="SheetXL";U(X,ee),U(X,te),U(X,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let P=null;async function fe(){if(P)return P;try{return await(await Promise.resolve().then(()=>require("./DsfVy7fLXLcwoH4M.cjs"))).initialize()}catch(T){throw P=null,T}finally{P=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const C=(T.disableBundle||T.declarationsOnly)??!1,j=[de(),fe()],_=await Promise.all(j),ne=_[0],n=_[1];let D="",O=null;const A=[],re={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},I="script",q=`${I}.ts`,H="lib.d.ts",W="global.d.ts",F={[q]:S,[H]:`
10
+ `,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),U=(T,S)=>{Array.from(S.keys()).forEach(C=>{const j=S.get(C);S.set(`${T}.${C}`,j)})},ue=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),X="SheetXL";U(X,ee),U(X,te),U(X,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let P=null;async function fe(){if(P)return P;try{return await(await Promise.resolve().then(()=>require("./DplJkdRZD_tuxYhT.cjs"))).initialize()}catch(T){throw P=null,T}finally{P=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const C=(T.disableBundle||T.declarationsOnly)??!1,j=[de(),fe()],_=await Promise.all(j),ne=_[0],n=_[1];let D="",O=null;const A=[],re={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},I="script",q=`${I}.ts`,H="lib.d.ts",W="global.d.ts",F={[q]:S,[H]:`
11
11
  /**
12
12
  * Represents the completion of an asynchronous operation
13
13
  */
@@ -21,7 +21,7 @@ interface Promise<T> {
21
21
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
22
22
  }
23
23
  `,[W]:ne},ie={getSourceFile:(e,o,g,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>H,getNewLine:()=>`
24
- `},B=n.createProgram([q,W],re,ie),N=B.getTypeChecker(),oe=B.getSourceFile(q),G=B.emit();G.diagnostics.length>0&&console.warn(G.diagnostics),D=F[`${I}.js`];const L=(e,o,g,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,L(i,o,g,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=ee.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ue.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=te.get(i);if(c)return c}else{const c=me.get(i);if(c){const a={...o,...c()};let t=0;if(a.async&&t++,a.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=a,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));L(p[0],o,g,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},E=[],h=(e,o)=>{E.push(o)};if(n.forEachChild(oe,e=>{if(g=e,(n.getCombinedModifierFlags(g)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=N.getSymbolAtLocation(e.name).getDocumentationComment(N);if(m&&m.length>0&&m[0].text){let a=m[0].text;a=a.replace(/[\r\n]+/g,"\\n").trim(),i.summary=a}const x={};L(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,O=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let a=0;a<e.parameters.length;a++){const t=e.parameters[a],s={};s.name=t.name?.getText();const v=L(t.type,s,r,!0);if(v){if(r.parameters.length!==0){const d=e?.parent,l=d?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${l}'.`))}r.context=v;continue}let M;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{M=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(d){console.warn(`Couldn't extract default value for parameter '${s.name}'`,d)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const k={description:""};i.parameters[s.name]=k;const y=N.getSymbolAtLocation(t.name).getDocumentationComment(N);y&&y.length>0&&y[0].text&&(k.description=y[0].text),M!==void 0&&(k.defaultValue=M),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const a=e.jsDoc,t=a.length;for(let s=0;s<t;s++){const v=a[s]?.tags;if(!v)continue;const M=v.length;for(let k=0;k<M;k++){const y=v[k];let d=y?.tagName?.text;if(!d)continue;d=d.toLowerCase();let l=y.comment;const Y=d==="hidden";if((typeof l=="string"||Y)&&(typeof l=="string"&&(l=l.replace(/[\r\n]+/g,"\\n").trim()),Y||!l||(l=l.split(/\\n/)[0],l&&l.length!==0))){if(l&&typeof l=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=l,z=[];for(;(w=u.exec(l))!==null;){const[J,V,le,Z]=w,se=[le.trim()];Z&&se.push(Z.trim())}l=K,z.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...z))}if(d==="name"){const u=l;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=l;u&&(i.summary=u)}else if(d==="param"){const u=y.name?.text,w=c.get(u);if(!w){E.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(y.typeExpression&&y.typeExpression.type)try{const K=y.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const z=[];w.enums=z,K.types.forEach(J=>{if(J.kind===n.SyntaxKind.LiteralType){const V=J.literal.text;V&&z.push(V)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=l;else if(d==="category")i.category=l;else if(d==="hidden"){let u=!0;const w=l?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=l),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,A.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,g}),E.length>0)throw console.warn(E),new Error("There were compilation errors.",{cause:E});if(A.length===0)throw new Error("No exported functions.");const ae=`${b.te.uuidV4()}-script`;try{C||E.length!==0||(D=await(async function(e,o,g="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(R){if(await R,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,a;R=new Promise((t,s)=>{c=t,a=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./ukSz2X_gLCvtdIzP.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),R=null,a(t),t}})(),f="@sheetxl/primitives",m=`
24
+ `},B=n.createProgram([q,W],re,ie),N=B.getTypeChecker(),oe=B.getSourceFile(q),G=B.emit();G.diagnostics.length>0&&console.warn(G.diagnostics),D=F[`${I}.js`];const L=(e,o,g,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,L(i,o,g,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=ee.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ue.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=te.get(i);if(c)return c}else{const c=me.get(i);if(c){const a={...o,...c()};let t=0;if(a.async&&t++,a.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=a,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));L(p[0],o,g,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},E=[],h=(e,o)=>{E.push(o)};if(n.forEachChild(oe,e=>{if(g=e,(n.getCombinedModifierFlags(g)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=N.getSymbolAtLocation(e.name).getDocumentationComment(N);if(m&&m.length>0&&m[0].text){let a=m[0].text;a=a.replace(/[\r\n]+/g,"\\n").trim(),i.summary=a}const x={};L(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,O=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let a=0;a<e.parameters.length;a++){const t=e.parameters[a],s={};s.name=t.name?.getText();const v=L(t.type,s,r,!0);if(v){if(r.parameters.length!==0){const d=e?.parent,l=d?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${l}'.`))}r.context=v;continue}let M;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{M=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(d){console.warn(`Couldn't extract default value for parameter '${s.name}'`,d)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const k={description:""};i.parameters[s.name]=k;const y=N.getSymbolAtLocation(t.name).getDocumentationComment(N);y&&y.length>0&&y[0].text&&(k.description=y[0].text),M!==void 0&&(k.defaultValue=M),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const a=e.jsDoc,t=a.length;for(let s=0;s<t;s++){const v=a[s]?.tags;if(!v)continue;const M=v.length;for(let k=0;k<M;k++){const y=v[k];let d=y?.tagName?.text;if(!d)continue;d=d.toLowerCase();let l=y.comment;const Y=d==="hidden";if((typeof l=="string"||Y)&&(typeof l=="string"&&(l=l.replace(/[\r\n]+/g,"\\n").trim()),Y||!l||(l=l.split(/\\n/)[0],l&&l.length!==0))){if(l&&typeof l=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=l,z=[];for(;(w=u.exec(l))!==null;){const[J,V,le,Z]=w,se=[le.trim()];Z&&se.push(Z.trim())}l=K,z.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...z))}if(d==="name"){const u=l;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=l;u&&(i.summary=u)}else if(d==="param"){const u=y.name?.text,w=c.get(u);if(!w){E.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(y.typeExpression&&y.typeExpression.type)try{const K=y.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const z=[];w.enums=z,K.types.forEach(J=>{if(J.kind===n.SyntaxKind.LiteralType){const V=J.literal.text;V&&z.push(V)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=l;else if(d==="category")i.category=l;else if(d==="hidden"){let u=!0;const w=l?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=l),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,A.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,g}),E.length>0)throw console.warn(E),new Error("There were compilation errors.",{cause:E});if(A.length===0)throw new Error("No exported functions.");const ae=`${b.te.uuidV4()}-script`;try{C||E.length!==0||(D=await(async function(e,o,g="/script.js",r="__SHEETXL"){try{const i=await(async function(){if($)return $;if(R){if(await R,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,a;R=new Promise((t,s)=>{c=t,a=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./2plwAIjiFRnnI8JO.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),R=null,a(t),t}})(),f="@sheetxl/primitives",m=`
25
25
  export const FormulaContext = globalThis.${r}?.FormulaContext;
26
26
  export const ScalarType = globalThis.${r}?.ScalarType;
27
27
  export const Observable = globalThis.${r}?.Observable;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";var c=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var p=(e,r,t,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s(r))!y.call(e,i)&&i!==t&&n(e,i,{get:()=>r[i],enumerable:!(l=a(r,i))||l.enumerable});return e};var g=(e,r,t)=>(t=e!=null?c(u(e)):{},p(r||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e));/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,11 +1,11 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./Ck2DCUnxSByG3IGp.cjs"),as=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",Ds=new RegExp(`^[${as}][-${as}.0-9·̀-ͯ‿-⁀]*$`,"u");function ps(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const ls="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",Ps=new RegExp(`^[${ls}][-${ls}.0-9·̀-ͯ‿-⁀]*$`,"u");function gs(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const G=function(i){return i===32||i===10||i===13||i===9},Es=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},ae=ps,cs=function(i){return ps(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},fs=[32,10,13,9],Vs=Ds,Os=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Is=gs,Ns=function(i){return gs(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},Ls=Ps,Te="http://www.w3.org/XML/1998/namespace",Jt="http://www.w3.org/2000/xmlns/",Rs={__proto__:null,xml:Te,xmlns:Jt},Ms={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},O=-1,ct=-2,W=13,$t=33,nt=10,vt=60,Ut=61,H=62,X=63,Zt=93,me=i=>i===34||i===39,ms=[34,39],$s=[...ms,91,H],Hs=[...ms,vt,Zt],js=[Ut,X,...fs],Fs=[...fs,H,38,vt];function Oe(i,t,s){switch(t){case"xml":s!==Te&&i.fail(`xml prefix must be bound to ${Te}.`);break;case"xmlns":s!==Jt&&i.fail(`xmlns prefix must be bound to ${Jt}.`)}switch(s){case Jt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Jt}.`);break;case Te:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const Xs=i=>Ls.test(i),Bs=i=>Vs.test(i),hs={xmldecl:"xmlDeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class qs{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Is,this.nameCheck=Ns,this.isName=Xs,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Rs};const o=this.opt.additionalNamespaces;o!=null&&((function(n,a){for(const h of Object.keys(a))Oe(n,h,a[h])})(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=ae,this.nameCheck=cs,this.isName=Bs,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?W:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ms),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[hs[t]]=s}off(t){this[hs[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return O;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:return t.charCodeAt(s+1)===nt&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return O;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:{const a=t.charCodeAt(s+1);a!==nt&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===ct?nt:t}unGet(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===ct,h=a?nt:n;if(h===O||t.includes(h))return this.text+=o.slice(s,this.prevI),h;a&&(this.text+=`${o.slice(s,this.prevI)}
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./BpgsU0FrVPX7sKyl.cjs"),as=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",Ds=new RegExp(`^[${as}][-${as}.0-9·̀-ͯ‿-⁀]*$`,"u");function ps(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const ls="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",Ps=new RegExp(`^[${ls}][-${ls}.0-9·̀-ͯ‿-⁀]*$`,"u");function gs(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const G=function(i){return i===32||i===10||i===13||i===9},Es=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},ae=ps,cs=function(i){return ps(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},fs=[32,10,13,9],Os=Ds,Is=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Vs=gs,Ns=function(i){return gs(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},Ls=Ps,Te="http://www.w3.org/XML/1998/namespace",Jt="http://www.w3.org/2000/xmlns/",Rs={__proto__:null,xml:Te,xmlns:Jt},Ms={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},I=-1,ct=-2,q=13,$t=33,nt=10,vt=60,Ut=61,H=62,F=63,Zt=93,me=i=>i===34||i===39,ms=[34,39],$s=[...ms,91,H],Hs=[...ms,vt,Zt],js=[Ut,F,...fs],Xs=[...fs,H,38,vt];function Ie(i,t,s){switch(t){case"xml":s!==Te&&i.fail(`xml prefix must be bound to ${Te}.`);break;case"xmlns":s!==Jt&&i.fail(`xmlns prefix must be bound to ${Jt}.`)}switch(s){case Jt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Jt}.`);break;case Te:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const Fs=i=>Ls.test(i),_s=i=>Os.test(i),hs={xmldecl:"xmlDeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Bs{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Vs,this.nameCheck=Ns,this.isName=Fs,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Rs};const o=this.opt.additionalNamespaces;o!=null&&((function(n,a){for(const h of Object.keys(a))Ie(n,h,a[h])})(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=ae,this.nameCheck=cs,this.isName=_s,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?q:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ms),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[hs[t]]=s}off(t){this[hs[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return I;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:return t.charCodeAt(s+1)===nt&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return I;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:{const a=t.charCodeAt(s+1);a!==nt&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===ct?nt:t}unGet(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===ct,h=a?nt:n;if(h===I||t.includes(h))return this.text+=o.slice(s,this.prevI),h;a&&(this.text+=`${o.slice(s,this.prevI)}
7
7
  `,s=this.i)}}captureToChar(t){let{i:s}=this;const{chunk:o}=this;for(;;){let n=this.getCode();switch(n){case ct:this.text+=`${o.slice(s,this.prevI)}
8
- `,s=this.i,n=nt;break;case O:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===O)return this.name+=t.slice(s),O;if(!cs(o))return this.name+=t.slice(s,this.prevI),o===ct?nt:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===O||!G(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=Es,this.getCode=this.getCode10):(this.isChar=Os,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case vt:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case O:break;default:this.unGet(),this.state=W,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo($s);switch(t){case H:this.doctypeHandler?.(this.text),this.text="",this.state=W,this.doctype=!0;break;case O:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:me(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(Hs);t!==O&&(this.text+=String.fromCodePoint(t),t===Zt?this.state=2:t===vt?this.state=6:me(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case X:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(X)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case ct:this.entity+=`${s.slice(t,this.prevI)}
9
- `,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===W&&this.textHandler===void 0||(this.text+=a);break t}case O:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(ae(t))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case X:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=W,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==H?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=W}sCData(){this.captureToChar(Zt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Zt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case H:this.cdataHandler?.(this.text),this.text="",this.state=W;break;case Zt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===X||G(t)?(this.fail("processing instruction without a target."),this.state=t===X?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===O)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===X;n||G(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?$t:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===X?this.state=26:G(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(X)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===H){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=W}else t===X?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==X?t!==O&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=$t}sXMLDeclName(){const t=this.captureTo(js);if(t===X)return this.state=$t,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(G(t)||t===Ut){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Ut?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===X)return this.state=$t,void this.fail("XML declaration is incomplete.");G(t)||(t!==Ut&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===X)return this.state=$t,void this.fail("XML declaration is incomplete.");G(t)||(me(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,X]);if(t===X)return this.state=$t,this.text="",void this.fail("XML declaration is incomplete.");if(t===O)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==X?(G(t)||(this.fail("whitespace required."),this.unGet()),this.state=27):this.state=$t}sXMLDeclEnding(){this.getCodeNorm()===H?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmlDeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=W):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===O)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case H:this.openTag();break;case 47:this.state=35;break;default:G(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===H?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==O&&(ae(t)?(this.unGet(),this.state=37):t===H?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Ut?this.state=39:G(t)?this.state=38:t===H?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==O&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case O:return;case Ut:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===H?this.openTag():ae(t)?(this.unGet(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();me(t)?(this.q=t,this.state=40):G(t)||(this.fail("unquoted attribute value."),this.state=42,this.unGet())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case nt:case ct:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case vt:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case O:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();G(t)?this.state=36:t===H?this.openTag():t===47?this.state=35:ae(t)?(this.fail("no whitespace between attributes."),this.unGet(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Fs);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case vt:this.fail("disallowed character.");break;case O:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===H?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===H?this.closeTag():G(t)?this.state=44:t!==O&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case H:this.closeTag();break;case O:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case vt:if(this.state=15,n!==void 0){const{text:a}=this,h=o.slice(t,this.prevI);a.length!==0?(n(a+h),this.text=""):h.length!==0&&n(h)}s=0;break t;case 38:this.state=14,this.entityReturnState=W,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Zt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case H:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case ct:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
10
- `),t=this.i,s=0;break;case O:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case vt:if(this.state=15,o!==void 0){const{text:h}=this,m=s.slice(t,this.prevI);h.length!==0?(o(h+m),this.text=""):m.length!==0&&o(m)}break t;case 38:this.state=14,this.entityReturnState=W,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case ct:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
11
- `),t=this.i;break;case O:o!==void 0&&(this.text+=s.slice(t));break t;default:G(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qName(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Oe(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Oe(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==W&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qName(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qName(s.name);s.prefix=a,s.local=h;const m=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),m===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:m,local:A}=a;let b,C;m===""?(b=h==="xmlns"?Jt:"",C=h):(b=this.resolve(m),b===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(m)}.`),b=m),C=`{${b}}${A}`),n.has(C)&&this.fail(`duplicate attribute: ${C}.`),n.add(C),a.uri=b,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=W,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=W,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=W,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail(`unexpected close tag: ${s}.`)}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Ie,mt;(mt=Ie||(Ie={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new qs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const S=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,E=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Ws{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,m=null,A=null,b=null;const C=[],D={key:null,source:t};let y=null,R=!1;const K=(c,d)=>{let T=A.attributes[c];if(d){if(Array.isArray(d)){for(let j=0;j<d.length;j++)if(T==null||(T=d[j](T),T==null))return}else if(T==null||(T=d(T),T==null))return}return T},x={getSource:()=>y.source,setSource:c=>{y.source=c},setKey:c=>{y.key=c},getFrom:()=>A,getAttribute:(c,d)=>K(c,d)??null,hasAttribute:c=>x.getAttribute(c)!==null,getParent:()=>C[C.length-2].source,getPath:()=>{const c=[];for(let d=0;d<a.length;d++)c.push(a[d].local);return c.join("\\")},parseAttribute:K,copyToObject:(c,d,T,j)=>{const U=K(j??d,T);U!==void 0&&(c[d]=U)},copyTo:(c,d,T)=>{const j=K(T??c,d);j!==void 0&&(y.source[c]=j)},warn:c=>{o?o?.(c):console.warn(c)}};return{onOpenTag:c=>{let d=c.name;const T=d.indexOf(":");T!==-1&&(d=d.slice(T+1));const j=n.get(d);if(h={local:d,visitor:j,tag:c,destination:null},R)return a.push(h),m=d,void(A=c);b=h?.visitor??null,j&&(y=a.length===0?D:b?.to!==null?{key:null,source:{}}:null,h.destination=y,y&&C.push(y)),a.push(h),m=d,A=c,R=b?.to===null,b?.openTag?.(x)},onCloseTag:c=>{let d=c.name;const T=d.indexOf(":");if(T!==-1&&(d=d.slice(T+1)),d!==m)throw new Error(`mismatch open/close tag: '${d}'/'${m}'`);R||b?.closeTag?.(x);const j=a.pop()??null;h=a[a.length-1]??null;const U=j?.destination;if(U){C.pop(),y=C[C.length-1]??D;const ut=j.visitor;ut&&ut.to&&U.source!==void 0&&(Array.isArray(ut.to)?y.source.push?y.source.push(U.source):o?.(`Unable to parse array for ${ut.from} at ${x.getPath()}`):U.key?y.source[U.key]=U.source:typeof ut.to=="string"&&(y.source[ut.to]=U.source))}m=h?.local??null,A=h?.tag??null,b=h?.visitor??null,R=!h?.destination},onText:c=>{b?.text?.(c,x)},onEnd:s}}}const us=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let m=h.content;try{s&&(m=s(m))}catch(A){console.warn(A)}return o?.parsedRefs?.set(i,m),m},Ne=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const m=t(a);if(!m)return null;const A=m.content;try{const b=new TextDecoder().decode(A),C=s.parseFromString(b,"text/xml"),D=o.convert(C,i,n);return n?.parsedRefs?.set(i,D),D}catch(b){console.warn(b)}return null},Gt=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const m=h?h.length:0;for(let A=0;A<m;A++){const b=h[A];if(!b)continue;let C=b;C.startsWith("/")&&(C=C.substring(1));const D=Ne(C,y=>t.files[y],s,o,n);a.set(C,D)}return a},_s=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Le=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=_s[h]);let m=i("tint");if(m&&(s+=` ${p.N.AdjustmentType.ETint} ${parseFloat(m)}`),s)return s},Ts=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ys=i=>i==="true"||i==="1";class Ht{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const zs=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},ds={colStart:0,colEnd:0,rowStart:0,rowEnd:0},Gs=Object.freeze(Object.defineProperty({__proto__:null,readBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,m=h?.onProgress;let A=0;const b=Promise.resolve().then(()=>require("./DLiesuu33tYOPOjL.cjs")),C=Promise.resolve().then(()=>require("./BWPbMN3Nr3Jg_PAA.cjs"));let D=null;try{D=new DOMParser}catch{}let y=null;D||(y=Promise.resolve().then(()=>require("./DaxJtVNdY3X65rPt.cjs")).then(c=>c.i));let R=null,K=null,x=null;try{const c=await Promise.all([b,C,y]);R=c[0],K=c[1],x=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=R.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new p.xt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const d=new K.FromOOXMLConverter,T=D??new x.DOMParser,j=o?.resources??new p.qm,U=j.beginPersist(),ut={},Re=new Set,ye=new Map;ye.set("richTypes",[]);const Me=new Map,$e=[],le=w=>c.files[w],be=(w,B)=>{const Z=w.lastIndexOf("/"),st=w.substring(0,Z+1)+"_rels/"+w.substring(Z+1,w.length)+".rels";let dt=B.get(st);return dt||(dt=((L,Se,Ce,ke,jt=null)=>{if(!L)return null;const it=Ne(L,Se,Ce,ke,jt);if(!it)return null;const ot=new Map,yt=Object.keys(it),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Xt=yt[bt],Ct=it[Xt];ot.set(Xt,Ct)}return ot})(st,le,T,d,Tt),B.set(st,dt)),dt},ce=(w,B,Z,st=Me)=>{let dt=be(B,st).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const Se=B.lastIndexOf("/"),Ce=B.substring(0,Se+1);L.startsWith("/")||(L=Ce+L),L=(it=>{const ot=it.split(/\/+/);return ot.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),ot).join("/")})(L);const ke=d?.getVisitorParamsState().get("dxfs");let jt=st.get(L);if(!jt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const it={};jt=it;const ot=async()=>{const yt=((M,F,Qt,_,J,z,Kt,kt)=>{const u=new Ws,Q=new p.jt.TransposedBuilder;let $=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",S)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let g=0;g<l.length;g++){const I=l[g];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",E),e.copyToObject(r,"stopIfTrue",S);const l=e.getAttribute("dxfId",E);if(l!==null){let g=_?.get(l);g||(z?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),g={}),r.style=g}e.copyToObject(r,"aboveAverage",S),e.copyToObject(r,"equalAverage",S),e.copyToObject(r,"stdDev",E),e.copyToObject(r,"bottom",S),e.copyToObject(r,"percent",S),e.copyToObject(r,"rank",E),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",E),e.copyTo("minLength",E),e.copyTo("showValue",S)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",S),e.copyTo("showValue",S)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let g=l.formulas;g||(g=[],l.formulas=g),g.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",S)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Le(g=>e.getAttribute(g));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",E,"colId"),e.copyTo("hiddenButton",S),e.copyTo("showButton",S)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Color,e.copyTo("cellColor",S),e.copyTo("styleId",E,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Icon,e.copyTo("iconId",E),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",S),e.copyTo("top",S),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Items,e.copyTo("blank",S),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",E),e.copyTo("hour",E),e.copyTo("minute",E),e.copyTo("month",E),e.copyTo("second",E),e.copyTo("year",E)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.vu.Type.Custom,e.copyTo("and",S)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const g=e.getAttribute("ref");if(g){const I=p.ho.fastStringToRange(g,ds).colStart,Y=p.ho.fastStringToRange(r.ref,ds),Bt=Y.colStart;l.offset=Y?I-Bt:I}l.reverse=e.getAttribute("descending",S)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const pe=e=>{$=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ys(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",S),e.copyTo("showFormulas",S),e.copyTo("zoomScale",E),e.copyTo("showRowHeaders",S,"showRowColHeaders"),e.copyTo("showColumnHeaders",S,"showRowColHeaders"),e.copyTo("showRowGridlines",S,"showGridLines"),e.copyTo("showColumnGridlines",S,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{pe(e)},closeTag:()=>{$=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{pe(e)},closeTag:()=>{$=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!$)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",E,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if($&&e.getAttribute("state")==="frozen"){const r={};$.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=$.topLeft?p.ho.fastStringToCell($.topLeft):{colIndex:0,rowIndex:0},g={colIndex:0,rowIndex:0};e.copyToObject(g,"colIndex",E,"xSplit"),e.copyToObject(g,"rowIndex",E,"ySplit");const I={colIndex:l.colIndex+g.colIndex,rowIndex:l.rowIndex+g.rowIndex};r.coords=p.ho.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Le(l=>e.getAttribute(l));r&&(M.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let g=r?F(r):"";if(typeof g!="string")return void console.warn("Invalid address ",g);const I=e.getAttribute("location");g.endsWith("\\")&&(g=g.substring(0,g.length-1));const Y=e.getAttribute("location");if(Y&&(I&&I!==Y&&console.warn("display and location are different",I,Y),g+="#"+Y),!g)return void console.warn("No address found for hyperlink. r:id",r);let Bt;const xt=e.getAttribute("tooltip");Bt=xt?{address:g,tooltip:xt}:g,e.setSource({r:l,v:Bt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=F(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=F(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&S(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const g={};e.copyToObject(g,"hash",k,"hashValue"),e.copyToObject(g,"algorithm",k,"algorithmName"),e.copyToObject(g,"salt",k,"saltValue"),e.copyToObject(g,"spinCount",E),Object.keys(g).length>0&&(e.getSource().password=g)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",E),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(M,"defaultColSize",ht,"defaultColWidth"),e.copyToObject(M,"outlineLevelCol",E,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(M,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject(M,"outlineLevelRow",E,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("csz",S,"customWidth"),e.copyTo("h",S,"hidden"),e.copyTo("l",E,"outlineLevel"),e.copyTo("s",E,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const ks={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Qt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,g,I,Y,Bt)=>{let xt=!1,ge=!1,qt=[],Wt=!1,At=null,te=null,fe=null,at=null,We=null,_e=null;const As=Bt?.get("richData")??[],ze=p.ho.normalizeA1ToR1C1,Ge=p.Ht.createConflatingRanges(),Ue=new Map,Ae=[];let ee=null;const Ze=p.Ht.createConflatingRanges();let se,Dt=!1,q=-1,tt=-1,pt=null,ie=null;const De=[];let Pe=null,Je=-2,gt=0,_t="",Pt="",Et="",Vt="",zt="",Ot="",It="",Qe="",Ke="",Ye="",ts="",es="",ss="",is="",ft=!0,Nt=null,os=!1,Ee=!1,oe=null,Ve=0;return{...l,onEnd:()=>{De.length>0&&(r.rows=De);let f=Ge.done(zs);const v=f.length;if(v>0){const V=new Array(v);for(let N=0;N<v;N++){const lt=f[N],Lt=p.ho.rangeToString(lt),Rt=lt.value[1],re=p.ho.resolveRelativeToA1(Rt,lt.rowStart,lt.colStart);V[N]=[Lt,re]}r.formulas=V}const rt=Ze.done(!0),P=rt.length;if(P>0){const V=new Array(P);for(let N=0;N<P;N++){const lt=rt[N],Lt=p.ho.rangeToString(lt);V[N]=Lt}r.volatile=V}if(Ae.length>0&&(r.dynamicArray=[...Ae]),qt.length>0){qt.sort(p.Ht.createRangeComparator(p.w.Orientation.Column));const V=[];let N=null,lt=-1,Lt=-1,Rt=-1,re=-1,wt=null;const rs=qt.length;rs>0&&(N=qt[0],lt=N.colStart,Lt=N.colEnd,Rt=N.rowEnd,re=N.value,V.push(N));for(let Mt=1;Mt<rs;Mt++)wt=qt[Mt],re!==wt.value||lt!==wt.colStart||Lt!==wt.colEnd||Rt+1!==wt.rowEnd?(V.push(wt),N=wt,lt=N.colStart,Lt=N.colEnd,Rt=N.rowEnd,re=N.value):(Rt=wt.rowEnd,N.rowEnd=Rt);let ns=[];for(let Mt=0;Mt<V.length;Mt++){const ne=V[Mt];ns.push({r:{colStart:ne.colStart,colEnd:ne.colEnd,rowStart:ne.rowStart,rowEnd:ne.rowEnd},v:ne.value})}r.directStyles=ns}const et=e.build();if(et){const V=et.tuples;r.data=V}l?.onEnd?.()},onOpenTag:f=>{let v=f.name;const rt=v.indexOf(":");if(rt!==-1&&(v=v.slice(rt+1)),Ve++,Ve%196608==0&&I(Ve),se){const P=f.attributes;switch(v){case"v":ge=!0;break;case"f":switch(P.t??null){case null:case"normal":Wt=!0;break;case"shared":const et=P.si;te=P.ref,At=et;break;case"array":Wt=!0,te=P.ref,ee=[te,!1];break;case"datatable":Wt=!0,te=P.ref,Wt=!0}P.ca!==void 0&&Ze.append(q,tt);break;case"is":return void(Dt=!0)}return void(Dt&&Y?.onOpenTag(f))}if(xt){if(v==="c"){se=f;const P=f.attributes.r;tt=p.ho.fastStringToCol(P);const et=f.attributes.t;et===void 0?ie=null:(ie=et,ie==="str"&&(Dt=!0));let V=f.attributes.s;V===void 0&&(oe!==null||Ee)&&(V="0"),V!==void 0&&(V=parseInt(V),Nt&&Nt.value===V&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:q,colEnd:tt,rowEnd:q,value:V},qt.push(Nt)))}}else{if(v==="row"){xt=!0;const P=f.attributes.r;if(q=parseInt(P)-1,gt=0,Pt=f.attributes.customHeight,Pt!==void 0&&(gt|=Ht.CustomHeight),Pt!==Ke&&(ft=!0,Ke=Pt),_t=f.attributes.ht,_t!==void 0&&(gt|=Ht.Ht),_t!==Qe&&(ft=!0,Qe=_t),Et=f.attributes.hidden,Et!==void 0&&(gt|=Ht.Hidden),Et!==Ye&&(ft=!0,Ye=Et),zt=f.attributes.s,zt!==void 0&&(gt|=Ht.S),zt!==es&&(ft=!0,es=zt),Vt=f.attributes.customFormat,Vt!==void 0&&(gt|=Ht.CustomFormat),Vt!==ts&&(ft=!0,ts=Vt),Ot=f.attributes.outlineLevel,Ot!==void 0&&(gt|=Ht.OutlineLevel),Ot!==ss&&(ft=!0,ss=Ot),It=f.attributes.collapsed,It!==void 0&&(gt|=Ht.Collapsed),It!==is&&(ft=!0,is=It),gt!==0)if(Je+1!==q||ft){const et=Pt!==void 0&&(Pt==="1"||Pt==="true");oe=Vt===void 0||Vt!=="1"&&Vt!=="true"||zt===void 0?null:zt,Pe={min:q,max:q,sz:et&&_t!==void 0?parseFloat(_t):-1,csz:et,h:Et!==void 0&&(Et==="1"||Et==="true"),s:oe===null?void 0:oe==="0"?0:parseInt(oe),l:Ot===void 0||Ot==="0"?0:parseInt(Ot),cl:It!==void 0&&(It==="1"||It==="true")},De.push(Pe)}else Pe.max=q;return Je=q,void(ft=!1)}if(!os&&v==="sheetData"){os=!0;const P=r.cols,et=P?P.length:0;for(let V=0;!Ee&&V<et;V++)P[V].s&&(Ee=!0)}l?.onOpenTag(f)}},onCloseTag:f=>{if(se){let v=f.name;const rt=v.indexOf(":");if(rt!==-1&&(v=v.slice(rt+1)),Dt)if(v==="is"||v==="v"){const P=Y?.onEnd();P!==null&&e.addValue(q,tt,""+P)}else Y?.onCloseTag?.(f);return ge&&(ge=!1),void(v==="c"&&(se=null,Dt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(f)},onText:f=>{if(f=f.trim(),ge){switch(pt=null,ie){case null:case"n":pt=parseFloat(f);break;case"b":pt=f==="1"||f==="true";break;case"s":pt=f;break;case"e":if(f==="#VALUE!"){const rt=se.attributes.vm;if(rt!==void 0){const P=As[parseInt(rt)-1];if(P&&P.isFormulaError){pt={t:p.M.Error,v:P.getCode()};break}}}const v=p.n.getBuiltInByLabel(f);v?pt={t:p.M.Error,v:v.getCode()}:(pt=f,g?.(`Unknown formula error '${f}' in cell ${p.ho.cellToString({colIndex:tt,rowIndex:q})}`));break;case"str":case"inlineStr":Dt=!0}pt!==null&&e.addValue(q,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),Ae.push(ee),ee=null),At)if(We===At)at=_e;else{if(at=Ue.get(At),!at){const v=[];fe=ze(f,q,tt,v),at=[fe,v,f],Ue.set(At,at)}We=At,_e=at}if(Wt){const v=[];fe=ze(f,q,tt,v),at=[fe,v,f]}if(at)return Ge.append(q,tt,at),at=null,Wt=!1,At=null,void(te=null);Dt?Y?.onText(f):xt||l?.onText(f)}}})(Q,M,u.createEventHandler(M,()=>{},z),z,e=>{A+=e,m?.(A)},ks,kt)})(it,(M,F=!1)=>ce(M,L,F)??null,xs,ke,0,(M,F)=>{F=F?`${F} (${L})`:L,a.push([M,F])},0,ye),Ft=us(L,le),bt=await(async(M,F=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:z}=await Promise.resolve().then(()=>require("./CpYYx7mWK--OaW3s.cjs"));globalThis.ReadableStream=z}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Qt=new TextDecoder("utf-8");let _=0;const J=M instanceof Uint8Array?M:new Uint8Array(M);return new ReadableStream({pull(z){if(_>=J.byteLength)return void z.close();const Kt=J.subarray(_,Math.min(_+F,J.byteLength)),kt=Qt.decode(Kt,{stream:_+F<J.byteLength});z.enqueue(kt),_+=Kt.length}}).getReader()})(Ft);try{await Ie.parseStream(bt,yt,{xmlns:!1})}catch(M){throw console.warn(`Error parsing sheet: '${L}'`,M),new Error(`Error parsing sheet: '${L}'`,{cause:M})}const Xt=be(L,st);let Ct,qe=new Map;if(Xt){const M="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let F;Xt.forEach((_,J)=>{_.type===M&&(Ct=ce(J,L,!1,st)?.comments,Ct&&Ct.forEach(z=>{qe.set(z.id,z)}))});const Qt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Xt.forEach((_,J)=>{_.type===Qt&&(F=ce(J,L,!1,st))}),F||Ct){const _=Ct??[],J=F?.comments;if(J){const z=F?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let Q=z&&u.authorId!==void 0?z[u.authorId]:u.authorId;if(Q&&Q.startsWith("tc=")&&(Q=Ts(Q.substring(3)),qe.has(Q)))continue;let $=null;Q&&($=ue.get(Q)),$||($=Fe.get(Q)),$||($={id:p.te.uuidV4(),displayName:Q},Fe.set($.displayName,$),ue.set($.id,$)),Q=$?.id??null;const pe={id:p.te.uuidV4(),personId:Q,ref:u.ref,done:!1,asNote:!0,content:u.content};_.push(pe)}}it.comments=_}}};$e.push(ot())}else jt=Z?us(L,le,it=>{const ot=j.add({buffer:it});return ot.addReference(ut),Re.add(ot),U.toResourceId(ot)},Tt):Ne(L,le,T,d,Tt);return jt},Tt={paramMap:ye,getRefs:be,getRef:ce,parsedRefs:Me,addPerson:w=>null},he=[];let xe=0;c.Strings&&(xe=parseInt(c.Strings.Unique??c.Strings.length??0));const bs=c.Strings??[];for(let w=0;w<xe;w++)he.push(bs[w]?.t??"");const He=new Map;let je=xe;const xs=w=>{const B=He.get(w);if(B!==void 0)return B;const Z=je;return He.set(w,je++),he.push(w),Z},ue=(Gt("richstructure",c,T,d,Tt),Gt("richdata",c,T,d,Tt),new Map),Fe=new Map,Xe=Gt("people",c,T,d);let St=null;if(Xe.size>0&&(St=Xe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Z=St[B];ue.set(Z.id,Z),ue.set(Z.displayName,Z)}}const we=Gt("themes",c,T,d,Tt);let Be=null;if(we&&we.entries){let w=we.entries().next();w?.value?.[1]&&(Be=w.value[1])}const ws=new p.$l(Be);let de=Gt("styles",c,T,d,Tt).entries().next()?.value[1];de&&(de=JSON.parse(p.oe(de)));const vs=Gt("workbooks",c,T,d,Tt);await Promise.all($e);const ve={...vs.entries().next().value[1],styles:de,theme:ws.toJSON()};he.length>0&&(ve.strings=he),St&&St.length>0&&(ve.people=St);const Ss={...o,resources:j,json:ve},Cs=new p.Jy(Ss);if(Re.forEach(w=>{w.deleteReference(ut)}),U.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Z,st]=B;w(Z,st)}}return Cs}catch(c){let d="Unable to parse XLSX.";throw c instanceof p.ae&&(d="Unable to open XLSX. There are too many rows or columns."),new Error(d,{cause:c})}},writeBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./DLiesuu33tYOPOjL.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],m=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,m,h.name);const A=h.sheet,b=i.getSheetAt(a),C=b.getUsedRange();if(C?(m["!ref"]=C.getA1(),C.forEach((D,y)=>{const R={t:"z"},K=y.getCell().getStyle();if(!K.isNormal()){let x=K.getNumberFormat();x!==p.Ve.Type.General&&(x===p.Ve.Type.ShortDate?x="m/d/yyyy":x===p.Ve.Type.MediumDate?x="d-mmm-yy":x===p.Ve.Type.LongDate?x="[$-x-sysdate]dddd, mmmm dd, yyyy":x===p.Ve.Type.ShortTime?x="h:mm":x===p.Ve.Type.MediumTime?x="h:mm AM/PM":x===p.Ve.Type.LongTime&&(x="h:mm:ss AM/PM"),R.z=x)}if(D!==null)switch(y.getType()){case p.M.Number:R.t="n",R.v=D;break;case p.M.String:R.t="s",R.v=D;break;case p.M.Boolean:R.t="b",R.v=D;break;case p.M.Error:R.t="e",R.v=D.toString();case p.M.RichData:}m[y.getA1()]=R})):m["!ref"]="A1:A1",A.merges?.length>0){const D=[];m["!merges"]=D;for(let y=0;y<A.merges.length;y++)D.push(s.utils.decode_range(A.merges[y]))}if(A.cols?.length>0){const D=[];m["!cols"]=D;const y=A.cols,R={width:A.defaultColSize??b.getColumnWidthAsFontUnit(b.getColumnHeaders().getDefaultSize())},K=y.length;for(let x=0;x<K;x++){const c=y[x];for(let T=D.length;T<=c.min-1;T++)D.push(R);const d={};c.sz!==void 0&&(d.width=c.sz),c.h!==void 0&&(d.hidden=c.h),c.l!==void 0&&(d.level=c.l);for(let T=c.min;T<=c.max;T++)D.push(d)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.H=Gs,exports.a=i=>parseFloat(i)/1e3,exports.b=ys,exports.c=i=>i?p.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Le,exports.p=i=>parseFloat(i)/6e4,exports.r=Ts,exports.t=i=>i?p.te.roundAccurately(parseFloat(i)/12700,4):null;
8
+ `,s=this.i,n=nt;break;case I:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===I)return this.name+=t.slice(s),I;if(!cs(o))return this.name+=t.slice(s,this.prevI),o===ct?nt:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===I||!G(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=Es,this.getCode=this.getCode10):(this.isChar=Is,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case vt:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case I:break;default:this.unGet(),this.state=q,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo($s);switch(t){case H:this.doctypeHandler?.(this.text),this.text="",this.state=q,this.doctype=!0;break;case I:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:me(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(Hs);t!==I&&(this.text+=String.fromCodePoint(t),t===Zt?this.state=2:t===vt?this.state=6:me(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case F:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(F)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case ct:this.entity+=`${s.slice(t,this.prevI)}
9
+ `,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===q&&this.textHandler===void 0||(this.text+=a);break t}case I:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(ae(t))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case F:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=q,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==H?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=q}sCData(){this.captureToChar(Zt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Zt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case H:this.cdataHandler?.(this.text),this.text="",this.state=q;break;case Zt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===F||G(t)?(this.fail("processing instruction without a target."),this.state=t===F?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===I)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===F;n||G(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?$t:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===F?this.state=26:G(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(F)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===H){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=q}else t===F?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==F?t!==I&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=$t}sXMLDeclName(){const t=this.captureTo(js);if(t===F)return this.state=$t,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(G(t)||t===Ut){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Ut?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===F)return this.state=$t,void this.fail("XML declaration is incomplete.");G(t)||(t!==Ut&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===F)return this.state=$t,void this.fail("XML declaration is incomplete.");G(t)||(me(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,F]);if(t===F)return this.state=$t,this.text="",void this.fail("XML declaration is incomplete.");if(t===I)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==F?(G(t)||(this.fail("whitespace required."),this.unGet()),this.state=27):this.state=$t}sXMLDeclEnding(){this.getCodeNorm()===H?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmlDeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=q):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===I)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case H:this.openTag();break;case 47:this.state=35;break;default:G(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===H?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==I&&(ae(t)?(this.unGet(),this.state=37):t===H?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Ut?this.state=39:G(t)?this.state=38:t===H?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==I&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case I:return;case Ut:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===H?this.openTag():ae(t)?(this.unGet(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();me(t)?(this.q=t,this.state=40):G(t)||(this.fail("unquoted attribute value."),this.state=42,this.unGet())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case nt:case ct:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case vt:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case I:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();G(t)?this.state=36:t===H?this.openTag():t===47?this.state=35:ae(t)?(this.fail("no whitespace between attributes."),this.unGet(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Xs);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case vt:this.fail("disallowed character.");break;case I:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===H?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===H?this.closeTag():G(t)?this.state=44:t!==I&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case H:this.closeTag();break;case I:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case vt:if(this.state=15,n!==void 0){const{text:a}=this,h=o.slice(t,this.prevI);a.length!==0?(n(a+h),this.text=""):h.length!==0&&n(h)}s=0;break t;case 38:this.state=14,this.entityReturnState=q,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Zt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case H:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case ct:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
10
+ `),t=this.i,s=0;break;case I:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case vt:if(this.state=15,o!==void 0){const{text:h}=this,m=s.slice(t,this.prevI);h.length!==0?(o(h+m),this.text=""):m.length!==0&&o(m)}break t;case 38:this.state=14,this.entityReturnState=q,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case ct:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
11
+ `),t=this.i;break;case I:o!==void 0&&(this.text+=s.slice(t));break t;default:G(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qName(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ie(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ie(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==q&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qName(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qName(s.name);s.prefix=a,s.local=h;const m=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),m===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:m,local:A}=a;let b,C;m===""?(b=h==="xmlns"?Jt:"",C=h):(b=this.resolve(m),b===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(m)}.`),b=m),C=`{${b}}${A}`),n.has(C)&&this.fail(`duplicate attribute: ${C}.`),n.add(C),a.uri=b,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=q,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=q,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=q,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail(`unexpected close tag: ${s}.`)}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Ve,mt;(mt=Ve||(Ve={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Bs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const S=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,E=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class qs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,m=null,A=null,b=null;const C=[],D={key:null,source:t};let y=null,R=!1;const K=(c,d)=>{let T=A.attributes[c];if(d){if(Array.isArray(d)){for(let j=0;j<d.length;j++)if(T==null||(T=d[j](T),T==null))return}else if(T==null||(T=d(T),T==null))return}return T},x={getSource:()=>y.source,setSource:c=>{y.source=c},setKey:c=>{y.key=c},getFrom:()=>A,getAttribute:(c,d)=>K(c,d)??null,hasAttribute:c=>x.getAttribute(c)!==null,getParent:()=>C[C.length-2].source,getPath:()=>{const c=[];for(let d=0;d<a.length;d++)c.push(a[d].local);return c.join("\\")},parseAttribute:K,copyToObject:(c,d,T,j)=>{const U=K(j??d,T);U!==void 0&&(c[d]=U)},copyTo:(c,d,T)=>{const j=K(T??c,d);j!==void 0&&(y.source[c]=j)},warn:c=>{o?o?.(c):console.warn(c)}};return{onOpenTag:c=>{let d=c.name;const T=d.indexOf(":");T!==-1&&(d=d.slice(T+1));const j=n.get(d);if(h={local:d,visitor:j,tag:c,destination:null},R)return a.push(h),m=d,void(A=c);b=h?.visitor??null,j&&(y=a.length===0?D:b?.to!==null?{key:null,source:{}}:null,h.destination=y,y&&C.push(y)),a.push(h),m=d,A=c,R=b?.to===null,b?.openTag?.(x)},onCloseTag:c=>{let d=c.name;const T=d.indexOf(":");if(T!==-1&&(d=d.slice(T+1)),d!==m)throw new Error(`mismatch open/close tag: '${d}'/'${m}'`);R||b?.closeTag?.(x);const j=a.pop()??null;h=a[a.length-1]??null;const U=j?.destination;if(U){C.pop(),y=C[C.length-1]??D;const ut=j.visitor;ut&&ut.to&&U.source!==void 0&&(Array.isArray(ut.to)?y.source.push?y.source.push(U.source):o?.(`Unable to parse array for ${ut.from} at ${x.getPath()}`):U.key?y.source[U.key]=U.source:typeof ut.to=="string"&&(y.source[ut.to]=U.source))}m=h?.local??null,A=h?.tag??null,b=h?.visitor??null,R=!h?.destination},onText:c=>{b?.text?.(c,x)},onEnd:s}}}const us=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let m=h.content;try{s&&(m=s(m))}catch(A){console.warn(A)}return o?.parsedRefs?.set(i,m),m},Ne=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const m=t(a);if(!m)return null;const A=m.content;try{const b=new TextDecoder().decode(A),C=s.parseFromString(b,"text/xml"),D=o.convert(C,i,n);return n?.parsedRefs?.set(i,D),D}catch(b){console.warn(b)}return null},Gt=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const m=h?h.length:0;for(let A=0;A<m;A++){const b=h[A];if(!b)continue;let C=b;C.startsWith("/")&&(C=C.substring(1));const D=Ne(C,y=>t.files[y],s,o,n);a.set(C,D)}return a},Ws=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Le=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=Ws[h]);let m=i("tint");if(m&&(s+=` ${p.N.AdjustmentType.ETint} ${parseFloat(m)}`),s)return s},Ts=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ys=i=>i==="true"||i==="1";class Ht{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const zs=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},ds={colStart:0,colEnd:0,rowStart:0,rowEnd:0},Gs=Object.freeze(Object.defineProperty({__proto__:null,readBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,m=h?.onProgress;let A=0;const b=Promise.resolve().then(()=>require("./DisGigjbXKY00k8_.cjs")),C=Promise.resolve().then(()=>require("./0qdXUJU77kZ-8gpS.cjs"));let D=null;try{D=new DOMParser}catch{}let y=null;D||(y=Promise.resolve().then(()=>require("./CGCzgri1n9ESzoyF.cjs")).then(c=>c.i));let R=null,K=null,x=null;try{const c=await Promise.all([b,C,y]);R=c[0],K=c[1],x=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=R.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new p.xt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const d=new K.FromOOXMLConverter,T=D??new x.DOMParser,j=o?.resources??new p.tf,U=j.beginPersist(),ut={},Re=new Set,ye=new Map;ye.set("richTypes",[]);const Me=new Map,$e=[],le=w=>c.files[w],be=(w,_)=>{const Z=w.lastIndexOf("/"),et=w.substring(0,Z+1)+"_rels/"+w.substring(Z+1,w.length)+".rels";let dt=_.get(et);return dt||(dt=((L,Se,Ce,ke,jt=null)=>{if(!L)return null;const st=Ne(L,Se,Ce,ke,jt);if(!st)return null;const it=new Map,yt=Object.keys(st),Xt=yt.length;for(let bt=0;bt<Xt;bt++){const Ft=yt[bt],Ct=st[Ft];it.set(Ft,Ct)}return it})(et,le,T,d,Tt),_.set(et,dt)),dt},ce=(w,_,Z,et=Me)=>{let dt=be(_,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const Se=_.lastIndexOf("/"),Ce=_.substring(0,Se+1);L.startsWith("/")||(L=Ce+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Xt,bt)=>(Xt==="."?yt.splice(bt,1):Xt===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const ke=d?.getVisitorParamsState().get("dxfs");let jt=et.get(L);if(!jt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};jt=st;const it=async()=>{const yt=((M,X,Qt,W,J,z,Kt,kt)=>{const u=new qs,Q=new p.jt.TransposedBuilder;let $=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",S)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let g=0;g<l.length;g++){const V=l[g];V!=="rule"&&(r[V]=r.rule[V])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",E),e.copyToObject(r,"stopIfTrue",S);const l=e.getAttribute("dxfId",E);if(l!==null){let g=W?.get(l);g||(z?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),g={}),r.style=g}e.copyToObject(r,"aboveAverage",S),e.copyToObject(r,"equalAverage",S),e.copyToObject(r,"stdDev",E),e.copyToObject(r,"bottom",S),e.copyToObject(r,"percent",S),e.copyToObject(r,"rank",E),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",E),e.copyTo("minLength",E),e.copyTo("showValue",S)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",S),e.copyTo("showValue",S)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let g=l.formulas;g||(g=[],l.formulas=g),g.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",S)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Le(g=>e.getAttribute(g));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",E,"colId"),e.copyTo("hiddenButton",S),e.copyTo("showButton",S)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Color,e.copyTo("cellColor",S),e.copyTo("styleId",E,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Icon,e.copyTo("iconId",E),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",S),e.copyTo("top",S),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Items,e.copyTo("blank",S),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",E),e.copyTo("hour",E),e.copyTo("minute",E),e.copyTo("month",E),e.copyTo("second",E),e.copyTo("year",E)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=p.Tu.Type.Custom,e.copyTo("and",S)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const g=e.getAttribute("ref");if(g){const V=p._o.fastStringToRange(g,ds).colStart,Y=p._o.fastStringToRange(r.ref,ds),_t=Y.colStart;l.offset=Y?V-_t:V}l.reverse=e.getAttribute("descending",S)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const pe=e=>{$=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ys(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",S),e.copyTo("showFormulas",S),e.copyTo("zoomScale",E),e.copyTo("showRowHeaders",S,"showRowColHeaders"),e.copyTo("showColumnHeaders",S,"showRowColHeaders"),e.copyTo("showRowGridlines",S,"showGridLines"),e.copyTo("showColumnGridlines",S,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{pe(e)},closeTag:()=>{$=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{pe(e)},closeTag:()=>{$=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!$)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",E,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if($&&e.getAttribute("state")==="frozen"){const r={};$.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=$.topLeft?p._o.fastStringToCell($.topLeft):{colIndex:0,rowIndex:0},g={colIndex:0,rowIndex:0};e.copyToObject(g,"colIndex",E,"xSplit"),e.copyToObject(g,"rowIndex",E,"ySplit");const V={colIndex:l.colIndex+g.colIndex,rowIndex:l.rowIndex+g.rowIndex};r.coords=p._o.cellToString(V)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Le(l=>e.getAttribute(l));r&&(M.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let g=r?X(r):"";if(typeof g!="string")return void console.warn("Invalid address ",g);const V=e.getAttribute("location");g.endsWith("\\")&&(g=g.substring(0,g.length-1));const Y=e.getAttribute("location");if(Y&&(V&&V!==Y&&console.warn("display and location are different",V,Y),g+="#"+Y),!g)return void console.warn("No address found for hyperlink. r:id",r);let _t;const xt=e.getAttribute("tooltip");_t=xt?{address:g,tooltip:xt}:g,e.setSource({r:l,v:_t})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&S(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=V=>V===!0||V==="1"||V==="on"||V==="true"||V===!1||V==="0"||V==="off"||V==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const g={};e.copyToObject(g,"hash",k,"hashValue"),e.copyToObject(g,"algorithm",k,"algorithmName"),e.copyToObject(g,"salt",k,"saltValue"),e.copyToObject(g,"spinCount",E),Object.keys(g).length>0&&(e.getSource().password=g)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",E),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(M,"defaultColSize",ht,"defaultColWidth"),e.copyToObject(M,"outlineLevelCol",E,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(M,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject(M,"outlineLevelRow",E,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("csz",S,"customWidth"),e.copyTo("h",S,"hidden"),e.copyTo("l",E,"outlineLevel"),e.copyTo("s",E,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const ks={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Qt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,g,V,Y,_t)=>{let xt=!1,ge=!1,Bt=[],qt=!1,At=null,te=null,fe=null,at=null,qe=null,We=null;const As=_t?.get("richData")??[],ze=p._o.normalizeA1ToR1C1,Ge=p.Ht.createConflatingRanges(),Ue=new Map,Ae=[];let ee=null;const Ze=p.Ht.createConflatingRanges();let se,Dt=!1,B=-1,tt=-1,pt=null,ie=null;const De=[];let Pe=null,Je=-2,gt=0,Wt="",Pt="",Et="",Ot="",zt="",It="",Vt="",Qe="",Ke="",Ye="",ts="",es="",ss="",is="",ft=!0,Nt=null,os=!1,Ee=!1,oe=null,Oe=0;return{...l,onEnd:()=>{De.length>0&&(r.rows=De);let f=Ge.done(zs);const v=f.length;if(v>0){const O=new Array(v);for(let N=0;N<v;N++){const lt=f[N],Lt=p._o.rangeToString(lt),Rt=lt.value[1],re=p._o.resolveRelativeToA1(Rt,lt.rowStart,lt.colStart);O[N]=[Lt,re]}r.formulas=O}const ot=Ze.done(!0),P=ot.length;if(P>0){const O=new Array(P);for(let N=0;N<P;N++){const lt=ot[N],Lt=p._o.rangeToString(lt);O[N]=Lt}r.volatile=O}if(Ae.length>0&&(r.dynamicArray=[...Ae]),Bt.length>0){Bt.sort(p.Ht.createRangeComparator(p.w.Orientation.Column));const O=[];let N=null,lt=-1,Lt=-1,Rt=-1,re=-1,wt=null;const rs=Bt.length;rs>0&&(N=Bt[0],lt=N.colStart,Lt=N.colEnd,Rt=N.rowEnd,re=N.value,O.push(N));for(let Mt=1;Mt<rs;Mt++)wt=Bt[Mt],re!==wt.value||lt!==wt.colStart||Lt!==wt.colEnd||Rt+1!==wt.rowEnd?(O.push(wt),N=wt,lt=N.colStart,Lt=N.colEnd,Rt=N.rowEnd,re=N.value):(Rt=wt.rowEnd,N.rowEnd=Rt);let ns=[];for(let Mt=0;Mt<O.length;Mt++){const ne=O[Mt];ns.push({r:{colStart:ne.colStart,colEnd:ne.colEnd,rowStart:ne.rowStart,rowEnd:ne.rowEnd},v:ne.value})}r.directStyles=ns}const rt=e.build();if(rt){const O=rt.tuples;r.data=O}l?.onEnd?.()},onOpenTag:f=>{let v=f.name;const ot=v.indexOf(":");if(ot!==-1&&(v=v.slice(ot+1)),Oe++,Oe%196608==0&&V(Oe),se){const P=f.attributes;switch(v){case"v":ge=!0;break;case"f":switch(P.t??null){case null:case"normal":qt=!0;break;case"shared":const rt=P.si;te=P.ref,At=rt;break;case"array":qt=!0,te=P.ref,ee=[te,!1];break;case"datatable":qt=!0,te=P.ref,qt=!0}P.ca!==void 0&&Ze.append(B,tt);break;case"is":return void(Dt=!0)}return void(Dt&&Y?.onOpenTag(f))}if(xt){if(v==="c"){se=f;const P=f.attributes.r;tt=p._o.fastStringToCol(P);const rt=f.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Dt=!0));let O=f.attributes.s;O===void 0&&(oe!==null||Ee)&&(O="0"),O!==void 0&&(O=parseInt(O),Nt&&Nt.value===O&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:B,colEnd:tt,rowEnd:B,value:O},Bt.push(Nt)))}}else{if(v==="row"){xt=!0;const P=f.attributes.r;if(B=parseInt(P)-1,gt=0,Pt=f.attributes.customHeight,Pt!==void 0&&(gt|=Ht.CustomHeight),Pt!==Ke&&(ft=!0,Ke=Pt),Wt=f.attributes.ht,Wt!==void 0&&(gt|=Ht.Ht),Wt!==Qe&&(ft=!0,Qe=Wt),Et=f.attributes.hidden,Et!==void 0&&(gt|=Ht.Hidden),Et!==Ye&&(ft=!0,Ye=Et),zt=f.attributes.s,zt!==void 0&&(gt|=Ht.S),zt!==es&&(ft=!0,es=zt),Ot=f.attributes.customFormat,Ot!==void 0&&(gt|=Ht.CustomFormat),Ot!==ts&&(ft=!0,ts=Ot),It=f.attributes.outlineLevel,It!==void 0&&(gt|=Ht.OutlineLevel),It!==ss&&(ft=!0,ss=It),Vt=f.attributes.collapsed,Vt!==void 0&&(gt|=Ht.Collapsed),Vt!==is&&(ft=!0,is=Vt),gt!==0)if(Je+1!==B||ft){const rt=Pt!==void 0&&(Pt==="1"||Pt==="true");oe=Ot===void 0||Ot!=="1"&&Ot!=="true"||zt===void 0?null:zt,Pe={min:B,max:B,sz:Wt===void 0?-1:parseFloat(Wt),csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:oe===null?void 0:oe==="0"?0:parseInt(oe),l:It===void 0||It==="0"?0:parseInt(It),cl:Vt!==void 0&&(Vt==="1"||Vt==="true")},De.push(Pe)}else Pe.max=B;return Je=B,void(ft=!1)}if(!os&&v==="sheetData"){os=!0;const P=r.cols,rt=P?P.length:0;for(let O=0;!Ee&&O<rt;O++)P[O].s&&(Ee=!0)}l?.onOpenTag(f)}},onCloseTag:f=>{if(se){let v=f.name;const ot=v.indexOf(":");if(ot!==-1&&(v=v.slice(ot+1)),Dt)if(v==="is"||v==="v"){const P=Y?.onEnd();P!==null&&e.addValue(B,tt,""+P)}else Y?.onCloseTag?.(f);return ge&&(ge=!1),void(v==="c"&&(se=null,Dt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(f)},onText:f=>{if(f=f.trim(),ge){switch(pt=null,ie){case null:case"n":pt=parseFloat(f);break;case"b":pt=f==="1"||f==="true";break;case"s":pt=f;break;case"e":if(f==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const P=As[parseInt(ot)-1];if(P&&P.isFormulaError){pt={t:p.M.Error,v:P.getCode()};break}}}const v=p.n.getBuiltInByLabel(f);v?pt={t:p.M.Error,v:v.getCode()}:(pt=f,g?.(`Unknown formula error '${f}' in cell ${p._o.cellToString({colIndex:tt,rowIndex:B})}`));break;case"str":case"inlineStr":Dt=!0}pt!==null&&e.addValue(B,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),Ae.push(ee),ee=null),At)if(qe===At)at=We;else{if(at=Ue.get(At),!at){const v=[];fe=ze(f,B,tt,v),at=[fe,v,f],Ue.set(At,at)}qe=At,We=at}if(qt){const v=[];fe=ze(f,B,tt,v),at=[fe,v,f]}if(at)return Ge.append(B,tt,at),at=null,qt=!1,At=null,void(te=null);Dt?Y?.onText(f):xt||l?.onText(f)}}})(Q,M,u.createEventHandler(M,()=>{},z),z,e=>{A+=e,m?.(A)},ks,kt)})(st,(M,X=!1)=>ce(M,L,X)??null,xs,ke,0,(M,X)=>{X=X?`${X} (${L})`:L,a.push([M,X])},0,ye),Xt=us(L,le),bt=await(async(M,X=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:z}=await Promise.resolve().then(()=>require("./CW0yRv6PONH8L_zV.cjs"));globalThis.ReadableStream=z}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Qt=new TextDecoder("utf-8");let W=0;const J=M instanceof Uint8Array?M:new Uint8Array(M);return new ReadableStream({pull(z){if(W>=J.byteLength)return void z.close();const Kt=J.subarray(W,Math.min(W+X,J.byteLength)),kt=Qt.decode(Kt,{stream:W+X<J.byteLength});z.enqueue(kt),W+=Kt.length}}).getReader()})(Xt);try{await Ve.parseStream(bt,yt,{xmlns:!1})}catch(M){throw console.warn(`Error parsing sheet: '${L}'`,M),new Error(`Error parsing sheet: '${L}'`,{cause:M})}const Ft=be(L,et);let Ct,Be=new Map;if(Ft){const M="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let X;Ft.forEach((W,J)=>{W.type===M&&(Ct=ce(J,L,!1,et)?.comments,Ct&&Ct.forEach(z=>{Be.set(z.id,z)}))});const Qt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Ft.forEach((W,J)=>{W.type===Qt&&(X=ce(J,L,!1,et))}),X||Ct){const W=Ct??[],J=X?.comments;if(J){const z=X?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let Q=z&&u.authorId!==void 0?z[u.authorId]:u.authorId;if(Q&&Q.startsWith("tc=")&&(Q=Ts(Q.substring(3)),Be.has(Q)))continue;let $=null;Q&&($=ue.get(Q)),$||($=Xe.get(Q)),$||($={id:p.te.uuidV4(),displayName:Q},Xe.set($.displayName,$),ue.set($.id,$)),Q=$?.id??null;const pe={id:p.te.uuidV4(),personId:Q,ref:u.ref,done:!1,asNote:!0,content:u.content};W.push(pe)}}st.comments=W}}};$e.push(it())}else jt=Z?us(L,le,st=>{const it=j.add({buffer:st});return it.addReference(ut),Re.add(it),U.toResourceId(it)},Tt):Ne(L,le,T,d,Tt);return jt},Tt={paramMap:ye,getRefs:be,getRef:ce,parsedRefs:Me,addPerson:w=>null},he=[];let xe=0;c.Strings&&(xe=parseInt(c.Strings.Unique??c.Strings.length??0));const bs=c.Strings??[];for(let w=0;w<xe;w++)he.push(bs[w]?.t??"");const He=new Map;let je=xe;const xs=w=>{const _=He.get(w);if(_!==void 0)return _;const Z=je;return He.set(w,je++),he.push(w),Z},ue=(Gt("richstructure",c,T,d,Tt),Gt("richdata",c,T,d,Tt),new Map),Xe=new Map,Fe=Gt("people",c,T,d);let St=null;if(Fe.size>0&&(St=Fe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let _=0;_<w;_++){const Z=St[_];ue.set(Z.id,Z),ue.set(Z.displayName,Z)}}const we=Gt("themes",c,T,d,Tt);let _e=null;if(we&&we.entries){let w=we.entries().next();w?.value?.[1]&&(_e=w.value[1])}const ws=new p.Xl(_e);let de=Gt("styles",c,T,d,Tt).entries().next()?.value[1];de&&(de=JSON.parse(p.oe(de)));const vs=Gt("workbooks",c,T,d,Tt);await Promise.all($e);const ve={...vs.entries().next().value[1],styles:de,theme:ws.toJSON()};he.length>0&&(ve.strings=he),St&&St.length>0&&(ve.people=St);const Ss={...o,resources:j,json:ve},Cs=new p.Jy(Ss);if(Re.forEach(w=>{w.deleteReference(ut)}),U.endPersist(),a.length){const w=h?.onWarning;if(w)for(const _ of a){const[Z,et]=_;w(Z,et)}}return Cs}catch(c){let d="Unable to parse XLSX.";throw c instanceof p.ae&&(d="Unable to open XLSX. There are too many rows or columns."),new Error(d,{cause:c})}},writeBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./DisGigjbXKY00k8_.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],m=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,m,h.name);const A=h.sheet,b=i.getSheetAt(a),C=b.getUsedRange();if(C?(m["!ref"]=C.getA1(),C.forEach((D,y)=>{const R={t:"z"},K=y.getCell().getStyle();if(!K.isNormal()){let x=K.getNumberFormat();x!==p.He.Type.General&&(x===p.He.Type.ShortDate?x="m/d/yyyy":x===p.He.Type.MediumDate?x="d-mmm-yy":x===p.He.Type.LongDate?x="[$-x-sysdate]dddd, mmmm dd, yyyy":x===p.He.Type.ShortTime?x="h:mm":x===p.He.Type.MediumTime?x="h:mm AM/PM":x===p.He.Type.LongTime&&(x="h:mm:ss AM/PM"),R.z=x)}if(D!==null)switch(y.getType()){case p.M.Number:R.t="n",R.v=D;break;case p.M.String:R.t="s",R.v=D;break;case p.M.Boolean:R.t="b",R.v=D;break;case p.M.Error:R.t="e",R.v=D.toString();case p.M.RichData:}m[y.getA1()]=R})):m["!ref"]="A1:A1",A.merges?.length>0){const D=[];m["!merges"]=D;for(let y=0;y<A.merges.length;y++)D.push(s.utils.decode_range(A.merges[y]))}if(A.cols?.length>0){const D=[];m["!cols"]=D;const y=A.cols,R={width:A.defaultColSize??b.getColumnWidthAsFontUnit(b.getColumnHeaders().getDefaultSize())},K=y.length;for(let x=0;x<K;x++){const c=y[x];for(let T=D.length;T<=c.min-1;T++)D.push(R);const d={};c.sz!==void 0&&(d.width=c.sz),c.h!==void 0&&(d.hidden=c.h),c.l!==void 0&&(d.level=c.l);for(let T=c.min;T<=c.max;T++)D.push(d)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.H=Gs,exports.a=i=>parseFloat(i)/1e3,exports.b=ys,exports.c=i=>i?p.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Le,exports.p=i=>parseFloat(i)/6e4,exports.r=Ts,exports.t=i=>i?p.te.roundAccurately(parseFloat(i)/12700,4):null;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Ck2DCUnxSByG3IGp.cjs"),P=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:b,context:x,onOption:m,onValidateOption:l,onInput:d,onDone:p,options:g=P,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:v,...C}=E,[a,y]=e.reactExports.useState(b),[k,T]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,o)=>!0,[]),c=e.k(async t=>{const o=t===i;o||d?.(a,t),m?.(t,o,t===r),p?.()},[a,d,p,m,i,r]),O=e.k(async t=>{t.keyCode===e.Ko.Enter&&await u?.(a,null)!==!1&&c(r)},[a,c]),R=e.k(t=>{y(t.target.value),u?.(t.target.value,null)},[l]),S=e.k(async t=>{let o=await Promise.resolve(l?.(t));try{o!==!1&&(o=await Promise.resolve(u?.(a,t))??!0)}catch{}return o??!0},[l]),[h,f]=e.reactExports.useState(e.Ve.Styles.lookupStyle(a).formatType??e.Ve.Type.Custom);e.reactExports.useEffect(()=>{f(e.Ve.Styles.lookupStyle(a).formatType??e.Ve.Type.Custom)},[a]);const F=e.reactExports.useMemo(()=>{const t=e.Ve.Styles.lookupPrimary(),o=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>o(t[n].formatType));return s.push(o(e.Ve.Type.Custom)),s},[]),V=e.reactExports.useCallback(t=>{const o=t.target.value;f(o);const s=e.Ve.Styles.lookupDefault(o);s&&y(s)},[]),w=e.reactExports.useMemo(()=>{const t=x?.();return t?t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:a}}):null},[h,a,x]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Number Format",options:g,onDone:p,onOption:t=>c(t),onValidateOption:S,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...v},...C,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:V,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:F})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{k||t.target?.select(),T(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:R,onKeyDown:O,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:w?.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./BpgsU0FrVPX7sKyl.cjs"),P=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:b,context:x,onOption:m,onValidateOption:l,onInput:d,onDone:p,options:g=P,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:v,...C}=E,[a,y]=e.reactExports.useState(b),[k,T]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,o)=>!0,[]),c=e.k(async t=>{const o=t===i;o||d?.(a,t),m?.(t,o,t===r),p?.()},[a,d,p,m,i,r]),O=e.k(async t=>{t.keyCode===e.Ko.Enter&&await u?.(a,null)!==!1&&c(r)},[a,c]),R=e.k(t=>{y(t.target.value),u?.(t.target.value,null)},[l]),S=e.k(async t=>{let o=await Promise.resolve(l?.(t));try{o!==!1&&(o=await Promise.resolve(u?.(a,t))??!0)}catch{}return o??!0},[l]),[h,f]=e.reactExports.useState(e.He.Styles.lookupStyle(a).formatType??e.He.Type.Custom);e.reactExports.useEffect(()=>{f(e.He.Styles.lookupStyle(a).formatType??e.He.Type.Custom)},[a]);const F=e.reactExports.useMemo(()=>{const t=e.He.Styles.lookupPrimary(),o=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>o(t[n].formatType));return s.push(o(e.He.Type.Custom)),s},[]),w=e.reactExports.useCallback(t=>{const o=t.target.value;f(o);const s=e.He.Styles.lookupDefault(o);s&&y(s)},[]),H=e.reactExports.useMemo(()=>{const t=x?.();return t?t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:a}}):null},[h,a,x]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Number Format",options:g,onDone:p,onOption:t=>c(t),onValidateOption:S,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...v},...C,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:w,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:F})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{k||t.target?.select(),T(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:a,onChange:R,onKeyDown:O,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:H?.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.25
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.26
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./Ck2DCUnxSByG3IGp.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),g=0;g<u;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),O=0;O<g;O++)p[O]=arguments[O];return function(b){return p.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./BpgsU0FrVPX7sKyl.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),g=0;g<u;g++)a[g]=arguments[g];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(g){return g};return be(a),a(r.current)},function(a){(function(){for(var g=arguments.length,p=new Array(g),O=0;O<g;O++)p[O]=arguments[O];return function(b){return p.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
7
7
  You are using deprecated way of configuration.
8
8
 
9
9
  Instead of using