@sheetxl/studio-vanilla 0.8.0-beta.3 → 0.8.0-beta.5

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 (365) hide show
  1. package/browser/cjs/{Df3jw0eHS0X-qFvT.cjs → -pHZ0FglrwHVe1pv.cjs} +1 -1
  2. package/browser/cjs/{CTObzk4r7C71x9Ep2.cjs → 6V1LlorEUj_nSWnU.cjs} +1 -1
  3. package/browser/cjs/A1Gu5kAMj0Iicl_T.cjs +32 -0
  4. package/browser/cjs/{kj_kwD7S9uUbhKiz2.cjs → B-Iy-uZsTIHDkogf2.cjs} +1 -1
  5. package/browser/cjs/{uRXkwHKoe-2HtXuR.cjs → B8pxNq6Do9BXuxnW.cjs} +1 -1
  6. package/browser/cjs/BDKlnWp7xCcP65l4.cjs +1 -0
  7. package/browser/cjs/{CQ5x8oFPDaU6OCJf.cjs → BGWllzPl0ZZpYb85.cjs} +1 -1
  8. package/browser/cjs/BRikaOBjd90ZslxS2.cjs +1 -0
  9. package/browser/cjs/BVhuM-U_zQMtB3Rj2.cjs +8 -0
  10. package/browser/cjs/BeEQmpnUNjfq14ww2.cjs +1 -0
  11. package/browser/cjs/BekJlCRmg4z-bY-P2.cjs +1 -0
  12. package/browser/cjs/Bg5fDBNyBYrzvmaE2.cjs +3 -0
  13. package/browser/cjs/{7SCJ4vwRZW4B71kq.cjs → Bj3YkKmVIoQ3YtYm.cjs} +4 -4
  14. package/browser/cjs/{BArvhvpcrQEcbcyY.cjs → BmP-beLcejV6RRzL.cjs} +1 -1
  15. package/browser/cjs/BqAfQbSbXb2LOQbv.cjs +14 -0
  16. package/browser/cjs/Bvn-CsjRyKMgJe5M.cjs +2 -0
  17. package/browser/cjs/Bw82zZDnlCRZW3tT2.cjs +1 -0
  18. package/browser/cjs/C2xqrjnwNc6jmaeh.cjs +41 -0
  19. package/browser/cjs/{DWdUSWl4MXn2-MLU.cjs → C6c8mL5CgmHaGKS8.cjs} +1 -1
  20. package/browser/cjs/C93fNlONyjGB_ZQr.cjs +3 -0
  21. package/browser/cjs/{C2SohnuJK8Urc7Fx2.cjs → CAlbD-ahsKIYPLxV2.cjs} +2 -2
  22. package/browser/cjs/CClH6iclautDoj8x2.cjs +1 -0
  23. package/browser/cjs/{B2fdTYeKGNugWRgn2.cjs → CFBCm2JGyntY_T_G2.cjs} +2 -2
  24. package/browser/cjs/{P0AUOlaMi9tyE0vN.cjs → CMOeL2fuTqmW07BD.cjs} +199 -199
  25. package/browser/cjs/CPpaoS366U54RWte.cjs +1 -0
  26. package/browser/cjs/{9LTjOB1_w-bikScD.cjs → CQfkl_5YTtPzqRSg.cjs} +1 -1
  27. package/browser/cjs/{Z_6RasaVpnIv1MHk.cjs → CS4wNxH88XJVjGU0.cjs} +1 -1
  28. package/browser/cjs/{B7oyN0rn95Kyes8D2.cjs → CSWmGDsxPB7HVJiO2.cjs} +1 -1
  29. package/browser/cjs/{DUXRl3eYfSwbhAfx.cjs → CjqMMBQ8Kk0moB_z.cjs} +1 -1
  30. package/browser/cjs/{C3scwi-q2KqEM39H.cjs → Ck-uFI-6VF3NMr4v.cjs} +3 -3
  31. package/browser/cjs/CpPGKlipSfknSo2L2.cjs +1 -0
  32. package/browser/cjs/{D6YaqporVrSewZpm2.cjs → CvjJnxfMX3aal6Zj2.cjs} +1 -1
  33. package/browser/cjs/D4jFBIwyj80GDSx12.cjs +1 -0
  34. package/browser/cjs/D9H7eKWKcSjA08Zi2.cjs +1 -0
  35. package/browser/cjs/{Doiqeo4Qlie45lbl.cjs → DDFt0sUTKfAcQPPd.cjs} +1 -1
  36. package/browser/cjs/DEG5zPL5j1fLGSt42.cjs +1 -0
  37. package/browser/cjs/DWaaProrT5w4AQi4.cjs +4 -0
  38. package/browser/cjs/{C0xAhPzztP9a24zR.cjs → DWyFHz2jCB9Ej_YQ.cjs} +1 -1
  39. package/browser/cjs/DXs9xla8JSLmvscc2.cjs +1 -0
  40. package/browser/cjs/DaWlsfheBCsinBpg.cjs +1 -0
  41. package/browser/cjs/{D6m2M4H6JZaYZ4El2.cjs → DdaTLh6vF5y310CX2.cjs} +1 -1
  42. package/browser/cjs/{DQOt8XSpXyhsrF9N.cjs → DlFiaQEEJyI6gR6p.cjs} +43 -43
  43. package/browser/cjs/{ge8Wd-0WC6oMuJZR.cjs → DvbNUe-4CGh0IgQt.cjs} +1 -1
  44. package/browser/cjs/GCXpCGPZN9vgoEGL.cjs +1 -0
  45. package/browser/cjs/H7GCoq8sv5AfDWcU2.cjs +1 -0
  46. package/browser/cjs/{BtAs67e7WBCglqc5.cjs → K-menOImhm6Qcwkr.cjs} +1 -1
  47. package/browser/cjs/{BDmBYZigchoACsQx.cjs → PVM_8Czy_QchyPbY.cjs} +1 -1
  48. package/browser/cjs/{BxFSy-hOEbyllj-r2.cjs → Ugq14m_1jIROW2RN2.cjs} +2 -2
  49. package/browser/cjs/Y2E8S2qjo-X637U3.cjs +1 -0
  50. package/browser/cjs/{CUyKbhM67853Rnt22.cjs → aTngYYEK_h4_TqHo2.cjs} +1 -1
  51. package/browser/cjs/{Zz5dLT_2gLI18Jmx.cjs → axigL4G2Pi0ixZPE.cjs} +2 -2
  52. package/browser/cjs/eueRerE2mxFno4122.cjs +1 -0
  53. package/browser/cjs/{CH0vbLpwoyU7oOFk.cjs → gYAA75Xg3ecR5t-Y.cjs} +2 -2
  54. package/browser/cjs/i2rygY6lV8CpJIBa.cjs +54 -0
  55. package/browser/cjs/index.cjs +2 -2
  56. package/browser/cjs/nQZj8ROMT7RSXLoL.cjs +5 -0
  57. package/browser/cjs/{BqQgEaUREvuFHYoW.cjs → pWgqqjBa4jIrxyvw.cjs} +1 -1
  58. package/browser/cjs/{CKtdmbeMjJ2udO8s.cjs → rTqXOtDoRYaWhUWc.cjs} +1 -1
  59. package/browser/cjs/{AVUt0iNPhRf4R5xb.cjs → uwL_7o9DIJyenW1_.cjs} +1 -1
  60. package/browser/cjs/{D9SdUvJVa64UoGj9.cjs → v4gWTjOVv8h2S0zO.cjs} +1 -1
  61. package/browser/esm/{BYPIn5AkddMzMcsa2.mjs → 3GyY2zv58tP35TSP2.mjs} +12 -12
  62. package/{cdn/assets/BJVcTpMN-u5XhMVE.js → browser/esm/4s24g7BIXmb-ZsJu.mjs} +1 -1
  63. package/{cdn/assets/OyyHiDjohIf4lZX6.js → browser/esm/4uPEJOprzEht4SzA.mjs} +1 -1
  64. package/browser/esm/{DnLi57ylUOd3DUek.mjs → 6UKBDybUcMTwrAg4.mjs} +6 -6
  65. package/{cdn/assets/Cjbksosgv7NZFNE02.js → browser/esm/8CSB84e_emQV5R8x.mjs} +1 -1
  66. package/browser/esm/{BHIVjD6BdBS3BAWp.mjs → 8byAl8o3b5ERzC2f.mjs} +6 -6
  67. package/browser/esm/{BgwzL8v2pmR5HJXW.mjs → 9XdPIuWzuP_fNsMc.mjs} +1 -1
  68. package/{cdn/assets/CukMw9Sc4iO21aRQ2.js → browser/esm/AQFoTfI5MYgvP0xF.mjs} +622 -622
  69. package/browser/esm/{DGde1GUi2j-ZUPJW2.mjs → ASzAufEHRJxLynVy2.mjs} +22 -22
  70. package/browser/esm/{lfNgkSweNYs6v7g2.mjs → B0UFSNuNXaITFeUo.mjs} +2 -2
  71. package/{cdn/assets/ButSau4Lf36Oe3GD.js → browser/esm/B0UFSNuNXaITFeUo2.mjs} +2 -2
  72. package/browser/esm/{C6D3gk0GBvvDjawh.mjs → B0bZyS8PEuQdlbWK.mjs} +5 -5
  73. package/browser/esm/{BQIRHi8T3P5MZtan.mjs → B2NuZPYij8J3kTpp.mjs} +1 -1
  74. package/browser/esm/{ByQakLd0YFwc0Lgl.mjs → B4I6uEgyYNann2Ke.mjs} +8 -8
  75. package/browser/esm/{D16eCDM3k1_Fk-MN.mjs → B70US6XCCdca6Gnm.mjs} +13 -13
  76. package/browser/esm/{Bj42pxe5AuY4bF2e.mjs → B7wQkwBdwRb7kacm.mjs} +3 -3
  77. package/{cdn/assets/CU1J-I76aVm-KPP6.js → browser/esm/BAL80tfcY_xLu0G02.mjs} +1 -1
  78. package/browser/esm/{CDxmuF7Iay8T4cnU.mjs → BDC1gzaNCs82vYHQ.mjs} +111 -111
  79. package/{cdn/assets/B63SfOuKJt36aTr_.js → browser/esm/BEiZjvI9ie1V8MyZ2.mjs} +2 -2
  80. package/browser/esm/{Z83G4i9Tvq4z2kCB.mjs → BGM2QvJ-QM02j7Ry.mjs} +3 -3
  81. package/browser/esm/{CcuNkPxT6rqElgbZ2.mjs → BLqwwpQl8XESCuBb2.mjs} +1 -1
  82. package/browser/esm/{CpzLNwtfx0Zd0OZ0.mjs → BOQ_aIsihPsIbZKi2.mjs} +1 -1
  83. package/{cdn/assets/Co06Uf-tv1IuVQhe.js → browser/esm/BQaSJTMvIv7JCgD62.mjs} +1 -1
  84. package/{cdn/assets/BQhVWbI9uag9iRfX.js → browser/esm/BQkmUzRKlWiqor0q2.mjs} +1 -1
  85. package/browser/esm/{DlHJ7zkV6AMCtYPP.mjs → BRClrw1gCHOYle2g.mjs} +5 -5
  86. package/{cdn/assets/BUjTEjAeByh6MKpn.js → browser/esm/BSLpLAM29GayIcHp2.mjs} +1 -1
  87. package/browser/esm/{D-1WiFWkKNPWXppx2.mjs → BVLs5hMoDYB3C1o22.mjs} +1 -1
  88. package/browser/esm/{vDg2R-517z6mPR3B2.mjs → BVwZ0Nw8kL8sB67E2.mjs} +8 -8
  89. package/browser/esm/{vP8Rb-lgzeerBAx4.mjs → BW1dPK38H6_2KNgN.mjs} +1 -1
  90. package/{cdn/assets/BSWXx2rKOMPxLLs82.js → browser/esm/BXyAtmroS_bl4Hb1.mjs} +1 -1
  91. package/browser/esm/{OsRyVy3M_rNtmU472.mjs → BZ6fnTTLyw1RMWk32.mjs} +10 -10
  92. package/browser/esm/{BrzXFBoYDjcG3ct8.mjs → B_pRnJh0RkIyoM8I.mjs} +3 -3
  93. package/browser/esm/{53nnk5W22gJW7Ddx.mjs → BaLJfxCFTS-J7Qn3.mjs} +5 -5
  94. package/browser/esm/{C8qOmdaHh4WQkzEy.mjs → Bb2KUiusJj-R9-bL2.mjs} +1 -1
  95. package/browser/esm/{BoWCDK44X4tp02_4.mjs → BbWwG0VXcXl_hRVo.mjs} +1 -1
  96. package/browser/esm/{C5u9ds7LUh9JJEbW2.mjs → Bc6eSp3eJSBG2upN2.mjs} +2 -2
  97. package/browser/esm/{CjxOVBbWLFeUZza82.mjs → BcG0JULge5x_L8Es2.mjs} +2 -2
  98. package/{cdn/assets/BEb3QhWwGW8rErZy2.js → browser/esm/Bn0Zl7pydiHARthC.mjs} +1 -1
  99. package/{cdn/assets/BiomOxscV1M0Uw2n.js → browser/esm/BpYrVpNYxLiyvpsG2.mjs} +1 -1
  100. package/{cdn/assets/BuoHLVUSwf-mq0hg.js → browser/esm/BrBFY1fUM6isyJR72.mjs} +1 -1
  101. package/browser/esm/{D3Qv3--VfvVHImXW.mjs → BxVi9Yt82U55JbkE.mjs} +1 -1
  102. package/browser/esm/{C213T1hhBphljJTF2.mjs → BxWGBuBUE-ef4qaS2.mjs} +1 -1
  103. package/{cdn/assets/C5Oex2msskTvaCQ9.js → browser/esm/ByJEKW7Yb2GMOYw12.mjs} +1 -1
  104. package/browser/esm/{CnB5AuoIz-49NXD_.mjs → ByhPTRCEKiD7ZwZ9.mjs} +3 -3
  105. package/browser/esm/{Dj_S0P34nk_fjFoh2.mjs → C458ofhQ4Q6OuqGD2.mjs} +17 -17
  106. package/browser/esm/{Bq7qy-C7tVkiIaDE2.mjs → C62f10Gyl_4h66X22.mjs} +4 -4
  107. package/browser/esm/{BYAZ3XZq8XXkOulw.mjs → C9ThHYC9Dk1pmhfV.mjs} +3 -3
  108. package/{cdn/assets/efVOgresgMXMdh7J.js → browser/esm/CAJyOPOsOhkyreOa2.mjs} +1 -1
  109. package/{cdn/assets/DZGMsbIACs9TKYrM.js → browser/esm/CAR-0i_rg3wlCjH7.mjs} +1 -1
  110. package/browser/esm/{Dok4MRpMgkcsNzp4.mjs → CB9PVYNZz7jviPeM.mjs} +29 -29
  111. package/browser/esm/{BCQJVniXgm81YQ0v2.mjs → CDVFmdooKU1S5AYN2.mjs} +91 -91
  112. package/browser/esm/{XuGWliVSRCNi5it12.mjs → CFQz07nMv0V8904P.mjs} +1 -1
  113. package/browser/esm/{BEb3QhWwGW8rErZy.mjs → CG1w46Kqn0AmNJjP.mjs} +1 -1
  114. package/{cdn/assets/OtaDVRqZVyi7IBBa2.js → browser/esm/CGphh091pmrMF0fz.mjs} +1 -1
  115. package/browser/esm/{BnHE1Z6WkOfTWheU2.mjs → CH8HIhB841-G2xQ8.mjs} +2 -2
  116. package/browser/esm/{B0F5gtNQjANAfRw32.mjs → CL00yLGi41YYp5DU2.mjs} +11 -11
  117. package/browser/esm/{BUokT-PbfvYzD63f2.mjs → CPFAhBuBEQ2WQ1xL.mjs} +1 -1
  118. package/browser/esm/{C__tNzwz0i7bQrSu2.mjs → CQWXozGddE-bt3e02.mjs} +11 -11
  119. package/browser/esm/{C3A-yJ12PN-CPPnI2.mjs → CRZ6nMW0sPFhGN8u2.mjs} +1 -1
  120. package/browser/esm/{BtC6lEbd98TeKGsX2.mjs → CSeYl-X-bL3-wwj22.mjs} +19 -19
  121. package/browser/esm/{BsY_DyFxoqjRHTv02.mjs → CTC5YAOtLAZGGiUL.mjs} +1 -1
  122. package/{cdn/assets/B45vVm2Ma1i2b6_F.js → browser/esm/CX79dsSUsejpgy3I.mjs} +1 -1
  123. package/browser/esm/{CVbPAnmNN3TxMkq4.mjs → CYsJALdAfHsvSsfO.mjs} +1 -1
  124. package/{cdn/assets/OTQWLENoZ1cSiDQb2.js → browser/esm/C_nwA5FGYFKge7oa.mjs} +2 -2
  125. package/{cdn/assets/DoAKAH3cmECZGboo2.js → browser/esm/CaQy0UO3TARwf9lv2.mjs} +1 -1
  126. package/browser/esm/{GJUYPKfNptRZyU9r.mjs → CcwkG-z-iFoCFOt1.mjs} +7 -7
  127. package/browser/esm/{Bsfof8nD-exhrNwn.mjs → CdA4fRy3QcuvWfzj.mjs} +1 -1
  128. package/browser/esm/{BH_qL-oGqwG-7JKF.mjs → CdcmFHYIMwynrOPS.mjs} +9374 -9322
  129. package/browser/esm/{DLgM7RXEEfx33zms.mjs → ChuTJoGpKAZ1jbdn.mjs} +4 -4
  130. package/browser/esm/{DRRx9F2h6V-Q957j.mjs → CkSbV_IfAZJi0c6l.mjs} +2 -2
  131. package/browser/esm/{B5z-uoALcLY2ABTo.mjs → CpftofIbZs_pRecS.mjs} +5 -5
  132. package/browser/esm/{B72sK2NRGAke-aCk2.mjs → CqUf50LIOBNC_hcw2.mjs} +1 -1
  133. package/browser/esm/{BcPnGFFKCddWgOch.mjs → CrjTHME_ZD6LcTDU.mjs} +1 -1
  134. package/{cdn/assets/CyS1VLOdAweeZsMV2.js → browser/esm/CtwFmaqTopRJLzS-.mjs} +1 -1
  135. package/{cdn/assets/BCcbek_TFOdgqxXq2.js → browser/esm/CwIRaew_lypEkoUe.mjs} +1 -1
  136. package/browser/esm/{BOMJTicRKnx01hw-.mjs → CzgGRoHeo-ZNAb5d.mjs} +12 -12
  137. package/{cdn/assets/BmC-_QeQ-53oyorq.js → browser/esm/D13cYHehI1MFANBs.mjs} +1 -1
  138. package/{cdn/assets/BwbR2Dao5LgLYQgV2.js → browser/esm/D1ux3f7S9r50KVKs2.mjs} +1 -1
  139. package/browser/esm/{5SHS088DeaZ82qmD2.mjs → D2JDIYFefaXzh0Q72.mjs} +1 -1
  140. package/browser/esm/{CS38A8yr4eKvdDZm.mjs → D6J-1hSJ63oZwM1Y.mjs} +21 -21
  141. package/browser/esm/{D5j8qMZCamJQ82pi.mjs → DARfvNH02jVzsWOM.mjs} +453 -453
  142. package/browser/esm/{B08GCyGdLNiXtb_R.mjs → DGacyXSHaj_qFWtj.mjs} +1 -1
  143. package/browser/esm/{2eBMkUK0-HxaCmDY.mjs → DHYjpa4TQd0OyX_-.mjs} +6 -6
  144. package/browser/esm/{C-97pwItkHA3s5rD2.mjs → DKvEwaJfPWiOP8fE2.mjs} +12 -12
  145. package/browser/esm/{74Ynqpv5NPbb_8vB.mjs → DLWy3-8VQfVD6kwY.mjs} +5046 -5002
  146. package/browser/esm/{DNxL1aQIN6J2PLV7.mjs → DNlaQkWEr2q-g0dd.mjs} +3 -3
  147. package/browser/esm/{CD44l4eg_lxr7kgn2.mjs → DO_srLsUC5FrarXA2.mjs} +7 -7
  148. package/{cdn/assets/CwRAK6IVjIYuwofE2.js → browser/esm/DPFLq_i4WqawDi01.mjs} +1 -1
  149. package/browser/esm/{BJ26E2DhS1Jz4nUY2.mjs → DRZYMJA0Mk0SbohL2.mjs} +17 -17
  150. package/browser/esm/{B-VKr_KwiWjDeAP5.mjs → DTRizK5R37HoZ_f1.mjs} +333 -333
  151. package/{cdn/assets/DfIwClWz03Qw38-O2.js → browser/esm/DVKsvS22o0v0glGu.mjs} +1 -1
  152. package/browser/esm/{CZN6c8yBDjLVTVpH.mjs → DWOXBo1RfTbNiz5y.mjs} +2 -2
  153. package/browser/esm/{Ds5mE3-q83ZhE-2T.mjs → D_qsNLP-D6CrMu_6.mjs} +43 -43
  154. package/browser/esm/{CyomJv3_vWy4trRe2.mjs → DaHGI3svC3_Ne-4m2.mjs} +1 -1
  155. package/{cdn/assets/CXvcyGN4L9iDr1LK.js → browser/esm/DbHaqFzeVSgieXnR2.mjs} +1 -1
  156. package/{cdn/assets/DW3_Jr-4VdZZqNEg.js → browser/esm/DdZPPDc6wlduH_KR.mjs} +1952 -1943
  157. package/{cdn/assets/B8q1hrKv7LAL4xmM.js → browser/esm/Df4TV780zP-UkbB12.mjs} +1 -1
  158. package/browser/esm/{Du5dlbWtpboIrJk-2.mjs → DguciGbiLUEk9ta72.mjs} +78 -78
  159. package/browser/esm/{CSu0Md4a1JIZrirV.mjs → Dh7MPAd98iiUhXf2.mjs} +250 -250
  160. package/browser/esm/{C02og4vKxq9qpIUA.mjs → Dh_DQ87yyGmzCgIB.mjs} +60 -60
  161. package/browser/esm/{kef_IwcJES4VXcNa2.mjs → DmQJ8rkLCqU29r122.mjs} +17 -17
  162. package/browser/esm/{Dg7wE0RZdHeJv537.mjs → DqR9ypY2lo7NdhdA.mjs} +1 -1
  163. package/browser/esm/{cDMkMgN5tB-wni7c2.mjs → DqzA7RtNUvsLdscx2.mjs} +13 -13
  164. package/browser/esm/{BNgf4HZDOKYBkvL3.mjs → DvNptskytLmS92UC.mjs} +1745 -1745
  165. package/browser/esm/{DpORFFFF3LUx_zsT2.mjs → Eiawyv29d1WfCkp72.mjs} +7 -7
  166. package/{cdn/assets/mbUWaIl3SJkdbWx0.js → browser/esm/GJzjEL175hRFbbbB.mjs} +1 -1
  167. package/browser/esm/{DB_I2ygTnDxYiYyc.mjs → I6hoqlf8ReojOl6S.mjs} +215 -206
  168. package/browser/esm/{VaST17rbOSkMsGyn.mjs → MtvgycEqvj_iaI_a.mjs} +7 -7
  169. package/browser/esm/{C0HHZ3XLqp0LgRuW.mjs → NZMc3v4NvbbnA8fu2.mjs} +1 -1
  170. package/browser/esm/{BGRNyE5ar4c3ggrS.mjs → O-XUoWE0ea4B2z_7.mjs} +128 -128
  171. package/browser/esm/{BPZxx-OH0wACHLsN2.mjs → O8EB2u7R_rndPG2C2.mjs} +1 -1
  172. package/{cdn/assets/DAhlDEV6ehTRvrj7.js → browser/esm/OuSJblL799bkmWSG2.mjs} +1 -1
  173. package/browser/esm/{JDCQtP0lkncrmnpC2.mjs → QK8wPJEXtMpUkF5O2.mjs} +1 -1
  174. package/browser/esm/{5shGy9JSRzvoIfDE2.mjs → QWhoO1D-tt9yab9K2.mjs} +6 -6
  175. package/{cdn/assets/gXemYPUoPvaUd055.js → browser/esm/ShRab4BlbkYGaP_M2.mjs} +1 -1
  176. package/{cdn/assets/BAbRLjxqebqVPyto2.js → browser/esm/X1dNP9JuUJDTSSUz2.mjs} +1629 -1629
  177. package/browser/esm/{QEPUcBp4VkPz75h8.mjs → X5MjCuPO8Yr739vZ.mjs} +195 -195
  178. package/{cdn/assets/B0gZ5e38MXWbEDS_.js → browser/esm/YaFGb13NzomqlPhx.mjs} +1 -1
  179. package/{cdn/assets/CcPFyWALYlJWf17T.js → browser/esm/buApadOsUzJffqMK2.mjs} +1 -1
  180. package/browser/esm/{_cZz4ZhEEr54LYNe2.mjs → cIxxV_90h2dPQozO2.mjs} +1 -1
  181. package/browser/esm/index.mjs +6 -6
  182. package/browser/esm/{D718rIGL3d_m1mjm2.mjs → nY56r1ctOp0l-Cj42.mjs} +1 -1
  183. package/browser/esm/{DevyWm6bXV7lW2dr.mjs → uCF09-daiySIvpQn.mjs} +5 -5
  184. package/browser/esm/{WfqSQXib2MuH663g.mjs → uY2BXFDda7fHQFuK.mjs} +2 -2
  185. package/browser/esm/{CksEMRqAqI-_nekb.mjs → uf2cbFmQ5GH4QguP.mjs} +12 -12
  186. package/{cdn/assets/n_NkstgVVwl2iAnp.js → browser/esm/x6BOR0Zsm6T0JGoW.mjs} +2 -2
  187. package/{cdn/assets/C7b3GyO7FCiMLeyn2.js → browser/esm/zMr7JGzVhJy9UkSR.mjs} +1 -1
  188. package/{browser/esm/BJVcTpMN-u5XhMVE2.mjs → cdn/assets/4s24g7BIXmb-ZsJu.js} +1 -1
  189. package/{browser/esm/OyyHiDjohIf4lZX62.mjs → cdn/assets/4uPEJOprzEht4SzA.js} +1 -1
  190. package/cdn/assets/{C_W3L9-im26Qc-Ub.js → 6kb7eUPQPaaWHmrP.js} +2 -2
  191. package/{browser/esm/Cjbksosgv7NZFNE0.mjs → cdn/assets/8CSB84e_emQV5R8x2.js} +1 -1
  192. package/cdn/assets/{BgwzL8v2pmR5HJXW2.js → 9XdPIuWzuP_fNsMc2.js} +1 -1
  193. package/cdn/assets/{D7WMzCfJnKIfTbdg.js → B01InbzHQYdDE8i5.js} +8 -8
  194. package/cdn/assets/{BQIRHi8T3P5MZtan2.js → B2NuZPYij8J3kTpp2.js} +1 -1
  195. package/cdn/assets/{CdDTtABobc5txUF6.js → B3c7lB4rkBwYOv6w2.js} +12 -12
  196. package/cdn/assets/{CLEhV4ZVh2Jf4WLI.js → B3q6CHSdywBA_IuW.js} +3 -3
  197. package/cdn/assets/{ryzcqI-93l1HBuTe2.js → B6Sdb1B6hJzZOmK42.js} +8 -8
  198. package/cdn/assets/{Cb7x4GW2rRvj_q2Z.js → B9gOvGXhUTZKL-HS.js} +3 -3
  199. package/{browser/esm/CU1J-I76aVm-KPP6.mjs → cdn/assets/BAL80tfcY_xLu0G0.js} +1 -1
  200. package/cdn/assets/{w65zHFqjAp_NlbXg2.js → BAxsBsOz3AJuEFOH2.js} +7 -7
  201. package/cdn/assets/{9ra2y9Srlg_Pw7Q32.js → BC5-Aqh8iVN25i1L.js} +76 -76
  202. package/cdn/assets/{CcuNkPxT6rqElgbZ.js → BLqwwpQl8XESCuBb.js} +1 -1
  203. package/cdn/assets/{BsiuCRJjX2LRrDF22.js → BMBrXd8xf13n1fFf2.js} +12 -12
  204. package/cdn/assets/{DA4QV7VUyNUEfx1k2.js → BNXRa9Q6esS40zrP2.js} +23 -23
  205. package/cdn/assets/{CpzLNwtfx0Zd0OZ02.js → BOQ_aIsihPsIbZKi.js} +1 -1
  206. package/cdn/assets/{CEyEKBYpjE5GGcmE.js → BPIFGE6onebofB6E.js} +8 -8
  207. package/cdn/assets/{DKwpjlUd2pFOI9yp2.js → BPYBuLSyiHvC6HiX2.js} +38 -38
  208. package/{browser/esm/Co06Uf-tv1IuVQhe.mjs → cdn/assets/BQaSJTMvIv7JCgD6.js} +1 -1
  209. package/{browser/esm/BQhVWbI9uag9iRfX2.mjs → cdn/assets/BQkmUzRKlWiqor0q.js} +1 -1
  210. package/{browser/esm/R0Xd51SJLUebJwYv.mjs → cdn/assets/BRHP1tO4uz2mscfE2.js} +2 -2
  211. package/{browser/esm/BUjTEjAeByh6MKpn.mjs → cdn/assets/BSLpLAM29GayIcHp.js} +1 -1
  212. package/cdn/assets/{D-1WiFWkKNPWXppx.js → BVLs5hMoDYB3C1o2.js} +1 -1
  213. package/cdn/assets/{vP8Rb-lgzeerBAx42.js → BW1dPK38H6_2KNgN.js} +1 -1
  214. package/{browser/esm/BSWXx2rKOMPxLLs8.mjs → cdn/assets/BXyAtmroS_bl4Hb12.js} +1 -1
  215. package/cdn/assets/{C8qOmdaHh4WQkzEy.js → Bb2KUiusJj-R9-bL.js} +1 -1
  216. package/cdn/assets/{BoWCDK44X4tp02_42.js → BbWwG0VXcXl_hRVo.js} +1 -1
  217. package/cdn/assets/{C5u9ds7LUh9JJEbW.js → Bc6eSp3eJSBG2upN.js} +2 -2
  218. package/cdn/assets/{Cy6Cst4s2vE_WWKK2.js → Bhoz1Sbq-j_YrLg52.js} +12 -12
  219. package/cdn/assets/{FbLFNYdTqRtQ7QiS.js → BkUQ2rZTe8VAO1oB.js} +9 -9
  220. package/cdn/assets/{BHpE1nCbJEbRdzIG2.js → BlQSSKKj6whg6HxL2.js} +16 -16
  221. package/cdn/assets/{BLpNuslYLGia3h9t2.js → BmDHD3gIBb1ZRHAi2.js} +2 -2
  222. package/{browser/esm/S4MMwlNd4kcK3RDU.mjs → cdn/assets/Bn0Zl7pydiHARthC.js} +1 -1
  223. package/cdn/assets/Bn0Zl7pydiHARthC2.js +24 -0
  224. package/{browser/esm/BiomOxscV1M0Uw2n.mjs → cdn/assets/BpYrVpNYxLiyvpsG.js} +1 -1
  225. package/cdn/assets/{mI8tvfP8ed2Zerre.js → Bp_LNXqn6oIX3Fid.js} +442 -442
  226. package/{browser/esm/BuoHLVUSwf-mq0hg2.mjs → cdn/assets/BrBFY1fUM6isyJR7.js} +1 -1
  227. package/cdn/assets/{BUeKY15yUtNX2nYg.js → BtC1CaZjkCNKOB_x.js} +2 -2
  228. package/cdn/assets/{B15uSTYXbbRVKP0X2.js → BxGxLT2jIfZse_a12.js} +7 -7
  229. package/cdn/assets/{D3Qv3--VfvVHImXW.js → BxVi9Yt82U55JbkE.js} +1 -1
  230. package/cdn/assets/{C213T1hhBphljJTF.js → BxWGBuBUE-ef4qaS.js} +1 -1
  231. package/{browser/esm/C5Oex2msskTvaCQ92.mjs → cdn/assets/ByJEKW7Yb2GMOYw1.js} +1 -1
  232. package/cdn/assets/{8rILuc7bVIGEeb97.js → C4gE_UWGPgSx-l4F.js} +101 -101
  233. package/{browser/esm/efVOgresgMXMdh7J2.mjs → cdn/assets/CAJyOPOsOhkyreOa.js} +1 -1
  234. package/{browser/esm/DZGMsbIACs9TKYrM2.mjs → cdn/assets/CAR-0i_rg3wlCjH72.js} +1 -1
  235. package/{browser/esm/GETgdmj9xZWcFrIC2.mjs → cdn/assets/CED7roWwWtDJSGsI2.js} +1595 -1591
  236. package/cdn/assets/{D8sc6gCXnfpn7W79.js → CEfH1gPlh_URyXo_.js} +2 -2
  237. package/cdn/assets/{FHIg3Yb5Rn05W1F22.js → CEyHZpFHiQtmnCve2.js} +92 -92
  238. package/cdn/assets/{XuGWliVSRCNi5it1.js → CFQz07nMv0V8904P2.js} +1 -1
  239. package/cdn/assets/CG1w46Kqn0AmNJjP2.js +24 -0
  240. package/{browser/esm/OtaDVRqZVyi7IBBa.mjs → cdn/assets/CGphh091pmrMF0fz2.js} +1 -1
  241. package/cdn/assets/{C-F-eIvIRbCAMD662.js → CHS-pOLaI-3RNreZ2.js} +65 -65
  242. package/cdn/assets/{D6B6VvRh1cfT2e-M2.js → CI29ulYNfhsjjSbV2.js} +8 -8
  243. package/cdn/assets/{BWbSIhQVBaXJNFgl.js → CJDbSQUUpT8PLGGS.js} +277 -277
  244. package/cdn/assets/{Cx1HsOCOdZoKJDEN2.js → CK4fXD1IwAeSeTwV2.js} +13 -13
  245. package/cdn/assets/{C-KWjRT0CUb-bkvj2.js → CKytyHmKFv4IQWen2.js} +25 -25
  246. package/{browser/esm/lfNgkSweNYs6v7g22.mjs → cdn/assets/CLPEH9osFTX0UFh-.js} +2 -2
  247. package/cdn/assets/{CXgMJ_MuMQRu0isj2.js → COM2FF9Jardk1EZo.js} +27 -27
  248. package/cdn/assets/{BUokT-PbfvYzD63f.js → CPFAhBuBEQ2WQ1xL.js} +1 -1
  249. package/cdn/assets/{BZDRat2zTkUEg9cR.js → CQ6dwRf0tKhftmHo.js} +14 -14
  250. package/cdn/assets/{C3A-yJ12PN-CPPnI.js → CRZ6nMW0sPFhGN8u.js} +1 -1
  251. package/cdn/assets/{BsY_DyFxoqjRHTv0.js → CTC5YAOtLAZGGiUL2.js} +1 -1
  252. package/{browser/esm/B45vVm2Ma1i2b6_F.mjs → cdn/assets/CX79dsSUsejpgy3I2.js} +1 -1
  253. package/cdn/assets/{CVbPAnmNN3TxMkq4.js → CYsJALdAfHsvSsfO.js} +1 -1
  254. package/{browser/esm/DoAKAH3cmECZGboo2.mjs → cdn/assets/CaQy0UO3TARwf9lv2.js} +1 -1
  255. package/cdn/assets/{Bsfof8nD-exhrNwn.js → CdA4fRy3QcuvWfzj.js} +1 -1
  256. package/{browser/esm/DuMveAGZv1j1YAwO.mjs → cdn/assets/Cm_5b6gJsOcFsRgO.js} +2 -2
  257. package/cdn/assets/{B69EK_yDF3V8Rq2r2.js → CqEfk9KdtsnilBpc2.js} +47 -47
  258. package/cdn/assets/{B72sK2NRGAke-aCk.js → CqUf50LIOBNC_hcw.js} +1 -1
  259. package/{browser/esm/CyS1VLOdAweeZsMV.mjs → cdn/assets/CtwFmaqTopRJLzS-2.js} +1 -1
  260. package/cdn/assets/{C4vZWmW5DZLQTTAx.js → CuGd6EIdmLLIjJmy.js} +231 -231
  261. package/cdn/assets/{C8W7e-O1V1Mo2HOp.js → Cw3IdV71ouaTuRGF.js} +3 -3
  262. package/{browser/esm/BCcbek_TFOdgqxXq.mjs → cdn/assets/CwIRaew_lypEkoUe2.js} +1 -1
  263. package/cdn/assets/{CYFmWcVbnUCDPJ8m.js → CxYIPOzcP70mE8ty.js} +2 -2
  264. package/{browser/esm/BmC-_QeQ-53oyorq2.mjs → cdn/assets/D13cYHehI1MFANBs2.js} +1 -1
  265. package/{browser/esm/BwbR2Dao5LgLYQgV.mjs → cdn/assets/D1ux3f7S9r50KVKs.js} +1 -1
  266. package/cdn/assets/{5SHS088DeaZ82qmD.js → D2JDIYFefaXzh0Q7.js} +1 -1
  267. package/cdn/assets/{PLFw1pLjdLQLrlB0.js → D9LRNXQqJCBaGu0Z.js} +6 -6
  268. package/cdn/assets/{CcOMQhQN8PPKQulw2.js → D9PfBHlV1Y9_Y-zn2.js} +72 -72
  269. package/cdn/assets/{B08GCyGdLNiXtb_R2.js → DGacyXSHaj_qFWtj.js} +1 -1
  270. package/cdn/assets/{CcXDdl0SsmyEFtmU.js → DJXeHGaPVXVYlPh4.js} +113 -113
  271. package/cdn/assets/{CmRLwDXiK3woZrVI.js → DMPnZEIYOsBo9meY2.js} +6057 -6013
  272. package/cdn/assets/{0uSu6ChH_CTmXM2q2.js → DOVauj9y5INMkh2p2.js} +73 -73
  273. package/cdn/assets/{BCOGONuWSq4hgADu.js → DOl37EQPys2hSQ8A2.js} +538 -538
  274. package/{browser/esm/CwRAK6IVjIYuwofE.mjs → cdn/assets/DPFLq_i4WqawDi012.js} +1 -1
  275. package/{browser/esm/DfIwClWz03Qw38-O.mjs → cdn/assets/DVKsvS22o0v0glGu2.js} +1 -1
  276. package/cdn/assets/{CyomJv3_vWy4trRe.js → DaHGI3svC3_Ne-4m.js} +1 -1
  277. package/cdn/assets/{B7SJVFUHxy16UJRA.js → Db3jycTcoF5LNwZu.js} +3 -3
  278. package/{browser/esm/CXvcyGN4L9iDr1LK2.mjs → cdn/assets/DbHaqFzeVSgieXnR.js} +1 -1
  279. package/cdn/assets/{hqW1sMr576y2S1qX.js → DbmXbOECZu0Do014.js} +7 -7
  280. package/cdn/assets/{CwGEi_5ErUTrkWRj.js → DeBFiQAoGIJi-RTE.js} +6 -6
  281. package/cdn/assets/{CJoCbCtXkTbj6-nC.js → Deod2y9FvWRW6-1L.js} +2 -2
  282. package/{browser/esm/B8q1hrKv7LAL4xmM2.mjs → cdn/assets/Df4TV780zP-UkbB1.js} +1 -1
  283. package/cdn/assets/{BeFqINcF0gIgBnB1.js → Df4qEjXlCr78Fb20.js} +7 -7
  284. package/cdn/assets/{CiTCEuoCSDCy9khR.js → Dh6uFsw0ts9G0IzC.js} +2 -2
  285. package/cdn/assets/{Cpkl0peJbfEXl6ta2.js → DjgsfBCsDutlNfA32.js} +25 -25
  286. package/cdn/assets/{CXKguOBpJrsoXPTQ.js → Dm5N2qOf6OaXFKgs.js} +152 -152
  287. package/cdn/assets/{Dg7wE0RZdHeJv5372.js → DqR9ypY2lo7NdhdA2.js} +1 -1
  288. package/cdn/assets/{Bub12rk6wWVZVNx62.js → DwiLonfLJkGM8c_i2.js} +135 -135
  289. package/cdn/assets/{DBKHpCvbeQU-Y4eS2.js → Dyq9Ikb6bjr5wlTM2.js} +5 -5
  290. package/cdn/assets/{B1Lxf24mP-fwn03r2.js → FBT-Uj-UHaWcC9hf2.js} +60 -60
  291. package/{browser/esm/mbUWaIl3SJkdbWx02.mjs → cdn/assets/GJzjEL175hRFbbbB2.js} +1 -1
  292. package/cdn/assets/{DB_I2ygTnDxYiYyc2.js → I6hoqlf8ReojOl6S2.js} +215 -206
  293. package/cdn/assets/{BuPGWNRZMMyn4fm8.js → JXU6hMEMJG28IfSo.js} +8 -8
  294. package/cdn/assets/{Beyy1fJJeov2iYL4.js → KHBwkVymIFAD9Dbf.js} +4 -4
  295. package/cdn/assets/{C0HHZ3XLqp0LgRuW2.js → NZMc3v4NvbbnA8fu.js} +1 -1
  296. package/cdn/assets/{CWIp4JC2SCM6lg-s.js → NwbxANY_VGPKT45F.js} +7 -7
  297. package/cdn/assets/{BPZxx-OH0wACHLsN.js → O8EB2u7R_rndPG2C.js} +1 -1
  298. package/{browser/esm/DAhlDEV6ehTRvrj72.mjs → cdn/assets/OuSJblL799bkmWSG.js} +1 -1
  299. package/cdn/assets/{JDCQtP0lkncrmnpC.js → QK8wPJEXtMpUkF5O.js} +1 -1
  300. package/{browser/esm/Dcpd3kkjvidrDQuN.mjs → cdn/assets/QZtjqpJrLQtNbNwq.js} +1955 -1940
  301. package/{browser/esm/gXemYPUoPvaUd055.mjs → cdn/assets/ShRab4BlbkYGaP_M.js} +1 -1
  302. package/{browser/esm/B0gZ5e38MXWbEDS_.mjs → cdn/assets/YaFGb13NzomqlPhx.js} +1 -1
  303. package/cdn/assets/{B-ylRvlizyArIFrd.js → aa5Vge2hHXpeHQv9.js} +2218 -2218
  304. package/cdn/assets/{KS5XJUWdKvEezJfs2.js → b2vK8MBPEiSThFFJ.js} +6 -6
  305. package/{browser/esm/DjyzSKZNfvxPmFqi.mjs → cdn/assets/bY3efNg89jFPogek2.js} +786 -786
  306. package/{browser/esm/CcPFyWALYlJWf17T2.mjs → cdn/assets/buApadOsUzJffqMK.js} +1 -1
  307. package/cdn/assets/{_cZz4ZhEEr54LYNe.js → cIxxV_90h2dPQozO.js} +1 -1
  308. package/cdn/assets/{bQ6G23JQrt4l2Ls92.js → jHFW_YYMzmnHs6rB2.js} +9 -9
  309. package/cdn/assets/{hHkEq7qn0rj2XKD82.js → lA8F04dL44NCFFgB2.js} +22 -22
  310. package/cdn/assets/{FAaqx6EbN4JxNuNL2.js → lHtLCWS9jxiZzvGt2.js} +12722 -12670
  311. package/cdn/assets/{Cdm7E0sw56lpdqRU2.js → lXaq1eaUXGJUybgi2.js} +14 -14
  312. package/cdn/assets/{CdTHBpWoW1Fu4Dg_.js → mTL1l5m3_3yXiJWq.js} +5 -5
  313. package/{browser/esm/DJUnZsVsvwRT_Onq2.mjs → cdn/assets/nDh85tt1QTeI0M52.js} +2 -2
  314. package/cdn/assets/{D718rIGL3d_m1mjm.js → nY56r1ctOp0l-Cj4.js} +1 -1
  315. package/cdn/assets/{KOiR-1SNAX7AiEes.js → qiBKIZwqkjWBAX3K.js} +3 -3
  316. package/cdn/assets/{Cf-bndowUtxZ6tmG.js → u4PJnC_HIHrIUCU8.js} +3 -3
  317. package/{browser/esm/C7b3GyO7FCiMLeyn.mjs → cdn/assets/zMr7JGzVhJy9UkSR2.js} +1 -1
  318. package/cdn/index.js +2 -2
  319. package/package.json +3 -3
  320. package/browser/cjs/00npLPxW7DhY7cIJ.cjs +0 -5
  321. package/browser/cjs/1gbSV4OYBoEWTygY2.cjs +0 -1
  322. package/browser/cjs/BC3OSmoFNyA52TRp2.cjs +0 -1
  323. package/browser/cjs/BFmgMQoM5sQsWIxf2.cjs +0 -1
  324. package/browser/cjs/BIN8L9V0hoUwMh64.cjs +0 -1
  325. package/browser/cjs/BjjAQLiorKWXy3g5.cjs +0 -4
  326. package/browser/cjs/BoRfsJCaLzUHQseD.cjs +0 -1
  327. package/browser/cjs/CBLwtHFYNB1BTpSS.cjs +0 -1
  328. package/browser/cjs/CGtG2pvGgTAnImBg2.cjs +0 -8
  329. package/browser/cjs/CQ-W9AUNHdts8pmY.cjs +0 -1
  330. package/browser/cjs/CVHRh1RGDSgqfAm4.cjs +0 -2
  331. package/browser/cjs/CcqhH_Ign02tLFbU2.cjs +0 -1
  332. package/browser/cjs/CdsreHc3A0wBhEy9.cjs +0 -14
  333. package/browser/cjs/CgyU8XPzm6O1a93m.cjs +0 -41
  334. package/browser/cjs/CzGNIWwu8KL3tcCO2.cjs +0 -1
  335. package/browser/cjs/D-8QQWC-67PplJdV2.cjs +0 -1
  336. package/browser/cjs/D6XEHfNbKx-9qZye.cjs +0 -32
  337. package/browser/cjs/DCVnwgmc5HuYp_iv2.cjs +0 -1
  338. package/browser/cjs/DOEhH2HGT1Zv0irr2.cjs +0 -1
  339. package/browser/cjs/DWyoF5GqKXce_GmT2.cjs +0 -3
  340. package/browser/cjs/Dp2fPEReFhDsI01j.cjs +0 -3
  341. package/browser/cjs/Dx79LP1-YCQg8B872.cjs +0 -1
  342. package/browser/cjs/Qp04O3ALK3M9d3At.cjs +0 -54
  343. package/browser/cjs/qA_ElZ6f49Un56OC.cjs +0 -1
  344. package/browser/cjs/s2c8Pr4obSACz8Lu2.cjs +0 -1
  345. package/browser/cjs/uAWsHfi-JD_ZQIT82.cjs +0 -1
  346. package/browser/cjs/y4KFnuCKf8r5oFal2.cjs +0 -1
  347. package/cdn/assets/S4MMwlNd4kcK3RDU.js +0 -24
  348. package/cdn/assets/S4MMwlNd4kcK3RDU2.js +0 -24
  349. /package/browser/cjs/{1XrWGMP3GmsQOMIX.cjs → 1XrWGMP3GmsQOMIX2.cjs} +0 -0
  350. /package/browser/cjs/{B4ANcw0mAmhe2Aeb2.cjs → B4ANcw0mAmhe2Aeb.cjs} +0 -0
  351. /package/browser/cjs/{B6vy56yEA1I3B74O.cjs → B6vy56yEA1I3B74O2.cjs} +0 -0
  352. /package/browser/cjs/{BAxVLKkxFgI6cXnR2.cjs → BAxVLKkxFgI6cXnR.cjs} +0 -0
  353. /package/browser/cjs/{BK0SCfN_VZYqBxoQ2.cjs → BK0SCfN_VZYqBxoQ.cjs} +0 -0
  354. /package/browser/cjs/{Btc0Nzu40VYOpzLX.cjs → Btc0Nzu40VYOpzLX2.cjs} +0 -0
  355. /package/browser/cjs/{BvG8N7G_8CXIAlT-.cjs → BvG8N7G_8CXIAlT-2.cjs} +0 -0
  356. /package/browser/cjs/{C0g87ndP2zMUbX6f2.cjs → C0g87ndP2zMUbX6f.cjs} +0 -0
  357. /package/browser/cjs/{CRcv32tHTbGSGtkh2.cjs → CRcv32tHTbGSGtkh.cjs} +0 -0
  358. /package/browser/cjs/{CfXcRa4RlFmqU0Op.cjs → CfXcRa4RlFmqU0Op2.cjs} +0 -0
  359. /package/browser/cjs/{DF4l8xrxkcLkgExp.cjs → DF4l8xrxkcLkgExp2.cjs} +0 -0
  360. /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
  361. /package/browser/cjs/{DSXLVieENYN9qXYl.cjs → DSXLVieENYN9qXYl2.cjs} +0 -0
  362. /package/browser/cjs/{PmwvZPFhqmL4DO58.cjs → PmwvZPFhqmL4DO582.cjs} +0 -0
  363. /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
  364. /package/browser/cjs/{bM25C5avKgBAJVfk2.cjs → bM25C5avKgBAJVfk.cjs} +0 -0
  365. /package/browser/cjs/{z_rZE1OHFPpdGBh4.cjs → z_rZE1OHFPpdGBh42.cjs} +0 -0
@@ -1 +1 @@
1
- const e=require("./7SCJ4vwRZW4B71kq.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./DQOt8XSpXyhsrF9N.cjs"),r=require("./Dp2fPEReFhDsI01j.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./CH0vbLpwoyU7oOFk.cjs"),o=require("./qA_ElZ6f49Un56OC.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.z.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.z.getFromPath(t,n)}setToPath(t,n,r){return e.z.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>ee,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.z.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),ee=e=>e?.length??0,x=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},S=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=w(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.p.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.p.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.p.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.p.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.p.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.p.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.S.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.S.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.S.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.S.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=C(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.S.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.S.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},C=e=>e===`circle`?`radial`:e,w=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},T=class extends S{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},E=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},D=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},O=class extends S{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new T().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n._.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},k=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n._.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n._.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n._.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n._.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n._.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.S.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.S.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:A(t.getAttribute(`left`)),top:A(t.getAttribute(`top`)),right:A(t.getAttribute(`right`)),bottom:A(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.S.BuiltInSheetPattern.Solid:n.S.BuiltInSheetPattern.None);if(a===n.S.BuiltInSheetPattern.None)return{none:!0};r.type=n.S.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.S.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.H.Edge.Left),this.processBorderStroke(e,t,o,n.H.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.H.Edge.Vertical),this.processBorderStroke(e,t,o,n.H.Edge.Top),this.processBorderStroke(e,t,o,n.H.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.H.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.H.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},A=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},j={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`sp`,json:s},s}},P=`richTypes`,F=`richData`;function te(e,t){let n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType===1)switch(r.localName){case`b`:t.bold=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`i`:t.italic=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`sz`:{let e=parseFloat(r.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=r.getAttribute(`val`);e&&(t.font=e);break}case`color`:{let e=r.getAttribute(`rgb`);e&&(t.color=`#`+(e.length===8?e.substring(2):e));break}}}}var ne=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},re=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},I=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},L=class{visit(e,t,n){let r={};return n.plotArea=r,r}},R=T,z=class extends E{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},B=E,V=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},H=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){D(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},U=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),D(e,t,a),a}},W=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},G=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},K=O,q=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},J=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},Y=class extends T{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends O{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},ae=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},oe=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},se=class extends S{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ce=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n._.getPanoseFallback(o)]),r}},le=class extends S{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.S.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.S.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},ue=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},de=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.ot.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.st({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.ot.BuiltInOperatorNames.And:n.ot.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.ot.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.ot.AverageType.Above:a===`belowAverage`&&(a=n.ot.AverageType.Below),Object.values(n.ot.AverageType).includes(a)?(i.operator=n.ot.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.ot.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.ot.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.ot.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},fe=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.Rt.CaseSensitiveOptions:n.Rt.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.C.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.C.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends k{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.S.Type.None},i.fills[1]={type:n.S.Type.Pattern,patternType:n.S.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.H.StrokeStyle.None},left:{style:n.H.StrokeStyle.None},right:{style:n.H.StrokeStyle.None},top:{style:n.H.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.et.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.W.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.W.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.W.Overflow.Wrap:i.overflow=n.W.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.W.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.W.ReadingDirection.Auto:a===`1`?i.readingDirection=n.W.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.W.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.et.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},pe=class extends k{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.z)r[e.key]=a.u(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>j[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},me=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},he=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ge=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.it.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.C.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},_e=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},ve=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},ye=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},be=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&(n.content=i),i}},$=N,xe=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}return n.content={type:`picture`,json:{resId:a}},r}},Se=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(r){let t=e.evaluate(`grpSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${n.name}', group shapes are not supported.`);let i={};return n.content={type:`grpSp`,json:i},i}},Ce=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},we=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},Te=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Ee=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},De=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Oe=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);n.nodeType===1&&(n.localName===`t`?e.text+=n.textContent??``:n.localName===`rPr`&&te(n,e))}Object.keys(e).length>1&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},ke=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Ae=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);return e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c),e.copyFromAttribute(t,`dT`,r,`dt`),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`))),n.push({r:i,v:r}),r}},je=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Me=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new ne),this.registerVisitor(`cp:coreProperties`,new re),this.registerVisitor(`Properties`,new ie),this.registerVisitor(`spPr`,new R),this.registerVisitor(`txBody`,new K),this.registerVisitor(`txPr`,new K),this.registerVisitor(`c:chartSpace`,new I),this.registerVisitor(`c:plotArea`,new L),this.registerVisitor(`c:barChart`,new z),this.registerVisitor(`c:doughnutChart`,new B),this.registerVisitor(`c:lineChart`,new B),this.registerVisitor(`c:ofPieType`,new B),this.registerVisitor(`c:pieChart`,new B),this.registerVisitor(`c:scatterChart`,new B),this.registerVisitor(`c:barChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new H),this.registerVisitor(`c:dPt`,new U),this.registerVisitor(`c:marker`,new W),this.registerVisitor(`c:catAx`,new G),this.registerVisitor(`c:valAx`,new G),this.registerVisitor(`c:dateAx`,new G),this.registerVisitor(`c:majorGridlines`,new x(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new x(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new J),this.registerVisitor(`c:legend`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new q),this.registerVisitor(`c:ser`,new Y,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new V(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new V(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new ae),this.registerVisitor(`c:dispUnits`,new x(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new K,`tx/rich`),this.registerVisitor(`a:theme`,new oe),this.registerVisitor(`a:theme`,new se,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ce,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new le,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new de),this.registerVisitor(`sortState`,new fe),this.registerVisitor(`s:workbook`,new pe),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new he),this.registerVisitor(`table`,new me),this.registerVisitor(`externalLink`,new ge),this.registerVisitor(`hlinkClick`,new ue),this.registerVisitor(`wsDr`,new ye),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new be),this.registerVisitor(`sp`,new $),this.registerVisitor(`grpSp`,new Se),this.registerVisitor(`cxnSp`,new Ce),this.registerVisitor(`pic`,new xe),this.registerVisitor(`metadata`,new we),this.registerVisitor(`rvStructures`,new Te),this.registerVisitor(`rvData`,new Ee),this.registerVisitor(`comments`,new De),this.registerVisitor(`comment`,new Oe),this.registerVisitor(`ThreadedComments`,new ke),this.registerVisitor(`threadedComment`,new Ae),this.registerVisitor(`threadedComment`,new K(`content`),`text`),this.registerVisitor(`personList`,new je),this.registerVisitor(`slicerCacheDefinition`,new _e),this.registerVisitor(`slicers`,new ve)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Me(n,t))}parseDxf(t,n=``,r=e.z.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.z.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
1
+ const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./DlFiaQEEJyI6gR6p.cjs"),r=require("./C93fNlONyjGB_ZQr.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./gYAA75Xg3ecR5t-Y.cjs"),o=require("./CPpaoS366U54RWte.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>ee,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),ee=e=>e?.length??0,x=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},S=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=w(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.p.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.p.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.p.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.p.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.p.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.p.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.b.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.b.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.b.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.b.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=C(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.b.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.b.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},C=e=>e===`circle`?`radial`:e,w=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},T=class extends S{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},E=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},D=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},O=class extends S{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new T().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n.p.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},k=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n.p.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.p.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.p.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n.p.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.b.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.b.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:A(t.getAttribute(`left`)),top:A(t.getAttribute(`top`)),right:A(t.getAttribute(`right`)),bottom:A(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.b.BuiltInSheetPattern.Solid:n.b.BuiltInSheetPattern.None);if(a===n.b.BuiltInSheetPattern.None)return{none:!0};r.type=n.b.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.b.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.V.Edge.Left),this.processBorderStroke(e,t,o,n.V.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.V.Edge.Vertical),this.processBorderStroke(e,t,o,n.V.Edge.Top),this.processBorderStroke(e,t,o,n.V.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.V.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.V.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},A=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},j={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`sp`,json:s},s}},P=`richTypes`,F=`richData`;function te(e,t){let n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType===1)switch(r.localName){case`b`:t.bold=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`i`:t.italic=r.getAttribute(`val`)!==`0`&&r.getAttribute(`val`)!==`false`;break;case`sz`:{let e=parseFloat(r.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=r.getAttribute(`val`);e&&(t.font=e);break}case`color`:{let e=r.getAttribute(`rgb`);e&&(t.color=`#`+(e.length===8?e.substring(2):e));break}}}}var ne=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},re=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},I=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},L=class{visit(e,t,n){let r={};return n.plotArea=r,r}},R=T,z=class extends E{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},B=E,V=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},H=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){D(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},U=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),D(e,t,a),a}},W=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},G=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},K=O,q=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},J=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},Y=class extends T{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends O{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},ae=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},oe=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},se=class extends S{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ce=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n.p.getPanoseFallback(o)]),r}},le=class extends S{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.b.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.b.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},ue=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},de=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.st({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.rt.BuiltInOperatorNames.And:n.rt.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.rt.AverageType.Above:a===`belowAverage`&&(a=n.rt.AverageType.Below),Object.values(n.rt.AverageType).includes(a)?(i.operator=n.rt.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.rt.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},fe=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.Ht.CaseSensitiveOptions:n.Ht.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.Qt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.Qt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends k{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.b.Type.None},i.fills[1]={type:n.b.Type.Pattern,patternType:n.b.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.V.StrokeStyle.None},left:{style:n.V.StrokeStyle.None},right:{style:n.V.StrokeStyle.None},top:{style:n.V.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.$.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.G.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.G.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.G.Overflow.Wrap:i.overflow=n.G.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.G.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.G.ReadingDirection.Auto:a===`1`?i.readingDirection=n.G.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.G.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.$.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},pe=class extends k{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.z)r[e.key]=a.u(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>j[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},me=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},he=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ge=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.tt.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.Qt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},_e=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},ve=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},ye=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},be=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&(n.content=i),i}},$=N,xe=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}return n.content={type:`picture`,json:{resId:a}},r}},Se=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(r){let t=e.evaluate(`grpSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${n.name}', group shapes are not supported.`);let i={};return n.content={type:`grpSp`,json:i},i}},Ce=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},we=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},Te=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Ee=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},De=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Oe=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);n.nodeType===1&&(n.localName===`t`?e.text+=n.textContent??``:n.localName===`rPr`&&te(n,e))}Object.keys(e).length>1&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},ke=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Ae=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);return e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c),e.copyFromAttribute(t,`dT`,r,`dt`),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`))),n.push({r:i,v:r}),r}},je=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Me=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new ne),this.registerVisitor(`cp:coreProperties`,new re),this.registerVisitor(`Properties`,new ie),this.registerVisitor(`spPr`,new R),this.registerVisitor(`txBody`,new K),this.registerVisitor(`txPr`,new K),this.registerVisitor(`c:chartSpace`,new I),this.registerVisitor(`c:plotArea`,new L),this.registerVisitor(`c:barChart`,new z),this.registerVisitor(`c:doughnutChart`,new B),this.registerVisitor(`c:lineChart`,new B),this.registerVisitor(`c:ofPieType`,new B),this.registerVisitor(`c:pieChart`,new B),this.registerVisitor(`c:scatterChart`,new B),this.registerVisitor(`c:barChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new V(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new H),this.registerVisitor(`c:dPt`,new U),this.registerVisitor(`c:marker`,new W),this.registerVisitor(`c:catAx`,new G),this.registerVisitor(`c:valAx`,new G),this.registerVisitor(`c:dateAx`,new G),this.registerVisitor(`c:majorGridlines`,new x(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new x(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new J),this.registerVisitor(`c:legend`,new K(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new q),this.registerVisitor(`c:ser`,new Y,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new V(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new V(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new ae),this.registerVisitor(`c:dispUnits`,new x(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new K,`tx/rich`),this.registerVisitor(`a:theme`,new oe),this.registerVisitor(`a:theme`,new se,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ce,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new le,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new de),this.registerVisitor(`sortState`,new fe),this.registerVisitor(`s:workbook`,new pe),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new he),this.registerVisitor(`table`,new me),this.registerVisitor(`externalLink`,new ge),this.registerVisitor(`hlinkClick`,new ue),this.registerVisitor(`wsDr`,new ye),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new be),this.registerVisitor(`sp`,new $),this.registerVisitor(`grpSp`,new Se),this.registerVisitor(`cxnSp`,new Ce),this.registerVisitor(`pic`,new xe),this.registerVisitor(`metadata`,new we),this.registerVisitor(`rvStructures`,new Te),this.registerVisitor(`rvData`,new Ee),this.registerVisitor(`comments`,new De),this.registerVisitor(`comment`,new Oe),this.registerVisitor(`ThreadedComments`,new ke),this.registerVisitor(`threadedComment`,new Ae),this.registerVisitor(`threadedComment`,new K(`content`),`text`),this.registerVisitor(`personList`,new je),this.registerVisitor(`slicerCacheDefinition`,new _e),this.registerVisitor(`slicers`,new ve)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Me(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
@@ -1 +1 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BjjAQLiorKWXy3g5.cjs"),r=require("./C3scwi-q2KqEM39H.cjs"),i=require("./CQ5x8oFPDaU6OCJf.cjs"),a=require("./BtAs67e7WBCglqc5.cjs");var o=e.r(t.i(),1),s=e.r(t.r(),1);function c(e){return n.m(`MuiRadio`,e)}var l=n.p(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]),u=i.S;function d(e){return n.m(`MuiFormGroup`,e)}n.p(`MuiFormGroup`,[`root`,`row`,`error`]);var f=r.ut(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]}),p=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiFormGroup`}),{className:o,row:c=!1,...l}=a,[u]=i.D({props:a,states:[`error`]}),p={...a,row:c,error:u.error},m=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},d,t)})(p);return(0,s.jsx)(f,{className:n.h(m.root,o),ownerState:p,ref:t,...l})}),m=r.Q((0,s.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),h=r.Q((0,s.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`),g=r.ut(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:r.dt})({position:`relative`,display:`flex`}),_=r.ut(m,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),v=r.ut(h,{name:`MuiRadioButtonIcon`})(r.lt(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function y(e){let{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,s.jsxs)(g,{className:n.root,ownerState:i,children:[(0,s.jsx)(_,{fontSize:r,className:n.background,ownerState:i}),(0,s.jsx)(v,{fontSize:r,className:n.dot,ownerState:i})]})}var b=o.createContext(void 0),x=r.ut(a.r,{shouldForwardProp:e=>r.dt(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${r.st(n.size)}`],t[`color${r.st(n.color)}`]]}})(r.lt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${l.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${l.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),S=(0,s.jsx)(y,{checked:!0}),C=(0,s.jsx)(y,{}),w=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiRadio`}),{checked:l,checkedIcon:d=S,color:f=`primary`,icon:p=C,name:m,onChange:h,size:g=`medium`,className:_,disabled:v,disableRipple:y=!1,slots:w={},slotProps:T={},...E}=a,D=i.E(),O=v;D&&O===void 0&&(O=D.disabled),O??=!1;let k={...a,disabled:O,disableRipple:y,color:f,size:g},A=(e=>{let{classes:t,color:n,size:i}=e,a={root:[`root`,`color${r.st(n)}`,i!==`medium`&&`size${r.st(i)}`]};return{...t,...r._t(a,c,t)}})(k),j=o.useContext(b),M=l,N=u(h,j&&j.onChange),P=m;var F,I;j&&(M===void 0&&(F=j.value,M=typeof(I=a.value)==`object`&&I!==null?F===I:String(F)===String(I)),P===void 0&&(P=j.name));let L=T.input,[R,z]=r.H(`root`,{ref:t,elementType:x,className:n.h(A.root,_),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:T,...E},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),N(t,...n)}}),ownerState:k,additionalProps:{type:`radio`,icon:o.cloneElement(p,{fontSize:p.props.fontSize??g}),checkedIcon:o.cloneElement(d,{fontSize:d.props.fontSize??g}),disabled:O,name:P,checked:M,slots:w,slotProps:{input:typeof L==`function`?L(k):L}}});return(0,s.jsx)(R,{...z,classes:A})});function T(e){return n.m(`MuiRadioGroup`,e)}n.p(`MuiRadioGroup`,[`root`,`row`,`error`]);var E=o.forwardRef(function(e,t){let{actions:i,children:a,className:c,defaultValue:l,name:u,onChange:d,value:f,...m}=e,h=o.useRef(null),g=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},T,t)})(e),[_,v]=r.J({controlled:f,default:l,name:`RadioGroup`});o.useImperativeHandle(i,()=>({focus:()=>{let e=h.current.querySelector(`input:not(:disabled):checked`);e||=h.current.querySelector(`input:not(:disabled)`),e&&e.focus()}}),[]);let y=r.ot(t,h),x=r.X(u),S=o.useMemo(()=>({name:x,onChange(e){v(e.target.value),d&&d(e,e.target.value)},value:_}),[x,d,v,_]);return(0,s.jsx)(b.Provider,{value:S,children:(0,s.jsx)(p,{role:`radiogroup`,ref:y,className:n.h(g.root,c),...m,children:a})})});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return E}});
1
+ const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./DWaaProrT5w4AQi4.cjs"),r=require("./Ck-uFI-6VF3NMr4v.cjs"),i=require("./BGWllzPl0ZZpYb85.cjs"),a=require("./K-menOImhm6Qcwkr.cjs");var o=e.r(t.i(),1),s=e.r(t.r(),1);function c(e){return n.m(`MuiRadio`,e)}var l=n.p(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]),u=i.S;function d(e){return n.m(`MuiFormGroup`,e)}n.p(`MuiFormGroup`,[`root`,`row`,`error`]);var f=r.ut(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]}),p=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiFormGroup`}),{className:o,row:c=!1,...l}=a,[u]=i.D({props:a,states:[`error`]}),p={...a,row:c,error:u.error},m=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},d,t)})(p);return(0,s.jsx)(f,{className:n.h(m.root,o),ownerState:p,ref:t,...l})}),m=r.Q((0,s.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),h=r.Q((0,s.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`),g=r.ut(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:r.dt})({position:`relative`,display:`flex`}),_=r.ut(m,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),v=r.ut(h,{name:`MuiRadioButtonIcon`})(r.lt(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function y(e){let{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,s.jsxs)(g,{className:n.root,ownerState:i,children:[(0,s.jsx)(_,{fontSize:r,className:n.background,ownerState:i}),(0,s.jsx)(v,{fontSize:r,className:n.dot,ownerState:i})]})}var b=o.createContext(void 0),x=r.ut(a.r,{shouldForwardProp:e=>r.dt(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${r.st(n.size)}`],t[`color${r.st(n.color)}`]]}})(r.lt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${l.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${l.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),S=(0,s.jsx)(y,{checked:!0}),C=(0,s.jsx)(y,{}),w=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiRadio`}),{checked:l,checkedIcon:d=S,color:f=`primary`,icon:p=C,name:m,onChange:h,size:g=`medium`,className:_,disabled:v,disableRipple:y=!1,slots:w={},slotProps:T={},...E}=a,D=i.E(),O=v;D&&O===void 0&&(O=D.disabled),O??=!1;let k={...a,disabled:O,disableRipple:y,color:f,size:g},A=(e=>{let{classes:t,color:n,size:i}=e,a={root:[`root`,`color${r.st(n)}`,i!==`medium`&&`size${r.st(i)}`]};return{...t,...r._t(a,c,t)}})(k),j=o.useContext(b),M=l,N=u(h,j&&j.onChange),P=m;var F,I;j&&(M===void 0&&(F=j.value,M=typeof(I=a.value)==`object`&&I!==null?F===I:String(F)===String(I)),P===void 0&&(P=j.name));let L=T.input,[R,z]=r.H(`root`,{ref:t,elementType:x,className:n.h(A.root,_),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:T,...E},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),N(t,...n)}}),ownerState:k,additionalProps:{type:`radio`,icon:o.cloneElement(p,{fontSize:p.props.fontSize??g}),checkedIcon:o.cloneElement(d,{fontSize:d.props.fontSize??g}),disabled:O,name:P,checked:M,slots:w,slotProps:{input:typeof L==`function`?L(k):L}}});return(0,s.jsx)(R,{...z,classes:A})});function T(e){return n.m(`MuiRadioGroup`,e)}n.p(`MuiRadioGroup`,[`root`,`row`,`error`]);var E=o.forwardRef(function(e,t){let{actions:i,children:a,className:c,defaultValue:l,name:u,onChange:d,value:f,...m}=e,h=o.useRef(null),g=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},T,t)})(e),[_,v]=r.J({controlled:f,default:l,name:`RadioGroup`});o.useImperativeHandle(i,()=>({focus:()=>{let e=h.current.querySelector(`input:not(:disabled):checked`);e||=h.current.querySelector(`input:not(:disabled)`),e&&e.focus()}}),[]);let y=r.ot(t,h),x=r.X(u),S=o.useMemo(()=>({name:x,onChange(e){v(e.target.value),d&&d(e,e.target.value)},value:_}),[x,d,v,_]);return(0,s.jsx)(b.Provider,{value:S,children:(0,s.jsx)(p,{role:`radiogroup`,ref:y,className:n.h(g.root,c),...m,children:a})})});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return E}});
@@ -1 +1 @@
1
- const e=require("./7SCJ4vwRZW4B71kq.cjs"),t=require("./xQ6-wbTw5UzZUM1Y.cjs");var n,r,i=class e{static{this.SIGNATURE=[208,207,17,224,161,177,26,225]}static{this.FATSECT=4294967293}static{this.DIFSECT=4294967292}static{this.ENDOFCHAIN=4294967294}static{this.FREESECT=4294967295}static{this.NOSTREAM=4294967295}static{this.SECTOR_SIZE=512}static{this.MINI_SECTOR_SIZE=64}static{this.MINI_CUTOFF=4096}static{this.DIR_ENTRY_SIZE=128}static{this.DIFAT_HEADER_COUNT=109}constructor(){this.sectors=[],this.fat=[]}static write(t){return new e()._build(t)}allocate(t){let n=e.SECTOR_SIZE,r=Math.max(1,Math.ceil(t.byteLength/n)),i=this.sectors.length;for(let a=0;a<r;a++){let o=new Uint8Array(n);o.set(t.subarray(a*n,Math.min((a+1)*n,t.byteLength))),this.sectors.push(o),this.fat.push(a===r-1?e.ENDOFCHAIN:i+a+1)}return i}_build(t){let{SECTOR_SIZE:n,MINI_SECTOR_SIZE:r,MINI_CUTOFF:i,ENDOFCHAIN:a,FREESECT:o,FATSECT:s,DIFSECT:c,NOSTREAM:l,DIR_ENTRY_SIZE:u,DIFAT_HEADER_COUNT:d}=e,f=[],p=0,m=t.map(e=>{if(e.data.byteLength>=i)return{entry:e,mini:!1,start:-1};let t=p,n=Math.max(1,Math.ceil(e.data.byteLength/r)),a=new Uint8Array(n*r);return a.set(e.data),f.push(a),p+=n,{entry:e,mini:!0,start:t}});for(let e of m)e.mini||(e.start=e.entry.data.byteLength===0?a:this.allocate(e.entry.data));let h=a,g=p*r;if(p>0){let e=new Uint8Array(g),t=0;for(let n of f)e.set(n,t),t+=n.byteLength;h=this.allocate(e)}let _=a,v=0;if(p>0){let e=n/4;v=Math.ceil(p/e);let t=new Uint8Array(v*n),i=new DataView(t.buffer);t.fill(255);let o=0;for(let e of m){if(!e.mini)continue;let t=Math.max(1,Math.ceil(e.entry.data.byteLength/r));for(let e=0;e<t;e++,o++)i.setUint32(4*o,e===t-1?a:o+1,!0)}_=this.allocate(t),v=Math.ceil(t.byteLength/n)}let y=[];y.push(this._directoryEntry({name:`Root Entry`,type:5,child:t.length>0?1:l,start:h===a?0:h,size:g}));let b=m.map((e,t)=>({place:e,index:t})).sort((e,t)=>{let n=e.place.entry.name,r=t.place.entry.name;return n.length===r.length?n.toUpperCase()<r.toUpperCase()?-1:+(n.toUpperCase()>r.toUpperCase()):n.length-r.length}),x=new Map;b.forEach((e,t)=>x.set(e.index,t+1)),m.forEach((e,t)=>{let n=x.get(t)-1,r=b[n+1];y.push(this._directoryEntry({name:e.entry.name,type:2,right:r?x.get(r.index):l,start:e.mini?e.start:e.start===a?0:e.start,size:e.entry.data.byteLength}))});let S=[y[0]];b.forEach(e=>S.push(y[e.index+1]));let C=n/u,w=Math.ceil(S.length/C),T=new Uint8Array(w*n);for(let e=0;e<w*C;e++){let t=S[e]??this._directoryEntry({name:``,type:0});T.set(t,e*u)}let E=this.allocate(T),D=n/4,O=D-1,k=this.sectors.length,A=1,j=0;for(let e=0;e<16;e++){let e=k+A+j,t=Math.max(1,Math.ceil(e/D)),n=t<=d?0:Math.ceil((t-d)/O);if(t===A&&n===j)break;A=t,j=n}let M=[],N=[];for(let e=0;e<A;e++)M.push(k+e);for(let e=0;e<j;e++)N.push(k+A+e);for(let e of M)this.fat[e]=s;for(let e of N)this.fat[e]=c;let P=new Uint8Array(A*n);P.fill(255);let F=new DataView(P.buffer);for(let e=0;e<this.fat.length;e++)F.setUint32(4*e,this.fat[e],!0);let I=new Uint8Array(n+(k+A+j)*n),L=new DataView(I.buffer);I.set(e.SIGNATURE,0),L.setUint16(24,62,!0),L.setUint16(26,3,!0),L.setUint16(28,65534,!0),L.setUint16(30,9,!0),L.setUint16(32,6,!0),L.setUint32(44,A,!0),L.setUint32(48,E,!0),L.setUint32(56,i,!0),L.setUint32(60,_,!0),L.setUint32(64,v,!0),L.setUint32(68,j>0?N[0]:a,!0),L.setUint32(72,j,!0);for(let e=0;e<d;e++)L.setUint32(76+4*e,e<A?M[e]:o,!0);for(let e=0;e<k;e++)I.set(this.sectors[e],n+e*n);I.set(P,n+M[0]*n);for(let e=0;e<j;e++){let t=n+N[e]*n;for(let n=0;n<O;n++){let r=d+e*O+n;L.setUint32(t+4*n,r<A?M[r]:o,!0)}L.setUint32(t+4*O,e===j-1?a:N[e+1],!0)}return I}_directoryEntry(t){let{NOSTREAM:n}=e,r=new Uint8Array(e.DIR_ENTRY_SIZE),i=new DataView(r.buffer),a=t.name;for(let e=0;e<a.length&&e<31;e++)i.setUint16(2*e,a.charCodeAt(e),!0);return i.setUint16(64,a.length>0?2*(Math.min(a.length,31)+1):0,!0),r[66]=t.type,r[67]=1,i.setUint32(68,t.left??n,!0),i.setUint32(72,t.right??n,!0),i.setUint32(76,t.child??n,!0),i.setUint32(116,t.start??0,!0),i.setUint32(120,t.size??0,!0),i.setUint32(124,0,!0),r}};(function(e){let t=e=>{let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n},n=(e,t,n)=>{let r=((e,t)=>{let n=RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`).exec(e);return n?n[1]:null})(e,t);if(r===null)throw Error(`Malformed encryption descriptor: <${n}> is missing '${t}'.`);return r},r=(e,r)=>({saltValue:t(n(e,`saltValue`,r)),blockSize:parseInt(n(e,`blockSize`,r),10),keyBits:parseInt(n(e,`keyBits`,r),10),hashSize:parseInt(n(e,`hashSize`,r),10),cipherAlgorithm:n(e,`cipherAlgorithm`,r),cipherChaining:n(e,`cipherChaining`,r),hashAlgorithm:n(e,`hashAlgorithm`,r)}),i=(e,t)=>{let n=RegExp(`<(?:\\w+:)?${t}\\b[^>]*>`).exec(e);return n?n[0]:null},a=e=>{let t=``;for(let n=0;n<e.byteLength;n++)t+=String.fromCharCode(e[n]);return btoa(t)};e.build=e=>{let t=`saltSize="${e.saltSize}" blockSize="${e.blockSize}" keyBits="${e.keyBits}" hashSize="${e.hashSize}" cipherAlgorithm="${e.cipherAlgorithm}" cipherChaining="${e.cipherChaining}" hashAlgorithm="${e.hashAlgorithm}"`,n=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password" xmlns:c="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"><keyData ${t} saltValue="${a(e.keyDataSalt)}"/><dataIntegrity encryptedHmacKey="${a(e.encryptedHmacKey)}" encryptedHmacValue="${a(e.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${e.spinCount}" ${t} saltValue="${a(e.encryptorSalt)}" encryptedVerifierHashInput="${a(e.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${a(e.encryptedVerifierHashValue)}" encryptedKeyValue="${a(e.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`,r=new TextEncoder().encode(n),i=new Uint8Array(8+r.byteLength),o=new DataView(i.buffer);return o.setUint16(0,4,!0),o.setUint16(2,4,!0),o.setUint32(4,64,!0),i.set(r,8),i},e.parse=e=>{if(e.byteLength<8)throw Error(`Malformed EncryptionInfo stream (too short).`);let a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=a.getUint16(0,!0),s=a.getUint16(2,!0);if(o===4&&s===4){let a=new TextDecoder().decode(e.subarray(8)),o=i(a,`keyData`);if(!o)throw Error(`Malformed encryption descriptor: no <keyData>.`);let s=i(a,`encryptedKey`);if(!s)throw Error(`This file is encrypted with a scheme SheetXL cannot open (no password key encryptor).`);let c=i(a,`dataIntegrity`);return{scheme:`agile`,keyData:r(o,`keyData`),passwordKeyEncryptor:{...r(s,`encryptedKey`),spinCount:parseInt(n(s,`spinCount`,`encryptedKey`),10),encryptedVerifierHashInput:t(n(s,`encryptedVerifierHashInput`,`encryptedKey`)),encryptedVerifierHashValue:t(n(s,`encryptedVerifierHashValue`,`encryptedKey`)),encryptedKeyValue:t(n(s,`encryptedKeyValue`,`encryptedKey`))},dataIntegrity:c?{encryptedHmacKey:t(n(c,`encryptedHmacKey`,`dataIntegrity`)),encryptedHmacValue:t(n(c,`encryptedHmacValue`,`dataIntegrity`))}:null}}return{scheme:o===2?`rc4-cryptoapi`:s===2?`standard`:`rc4`,versionMajor:o,versionMinor:s}}})(n||={}),function(e){let t={verifierHashInput:new Uint8Array([254,167,210,118,59,75,158,121]),verifierHashValue:new Uint8Array([215,170,15,109,48,97,52,78]),keyValue:new Uint8Array([20,110,11,231,171,172,208,214]),hmacKey:new Uint8Array([95,178,173,1,12,185,225,246]),hmacValue:new Uint8Array([160,103,127,2,178,44,132,51])},n=async()=>globalThis.crypto,r=e=>{switch(e.toUpperCase().replace(/[^A-Z0-9]/g,``)){case`SHA1`:return`SHA-1`;case`SHA256`:return`SHA-256`;case`SHA384`:return`SHA-384`;case`SHA512`:return`SHA-512`;default:throw Error(`Unsupported encryption hash algorithm '${e}'.`)}},i=e=>{let t=new Uint8Array(e.byteLength);return t.set(e),t},a=(...e)=>{let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n},o=(e,t)=>{if(e.byteLength>=t)return i(e.subarray(0,t));let n=new Uint8Array(t).fill(54);return n.set(e),n},s=e=>{let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t},c=async(e,t,...n)=>new Uint8Array(await e.subtle.digest(t,a(...n))),l=()=>typeof MessageChannel==`function`?new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>{t.port1.close(),t.port2.close(),e()},t.port2.postMessage(null)}):new Promise(e=>{setTimeout(e,0)}),u=async(e,t,n,r,i)=>{let a=new Uint8Array(2*t.length),o=new DataView(a.buffer);for(let e=0;e<t.length;e++)o.setUint16(2*e,t.charCodeAt(e),!0);let u=await c(e,r,n,a);for(let t=0;t<i;t++)u=await c(e,r,s(t),u),t%2048==0&&await l();return u},d=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),f=async(e,t,n,r,i)=>o(await c(e,r,t,s(n)),i),p=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),m=async(e,t,n,r)=>{let a=await e.subtle.importKey(`raw`,i(n),{name:`HMAC`,hash:{name:t}},!1,[`sign`]);return new Uint8Array(await e.subtle.sign(`HMAC`,a,i(r)))},h=async(e,t,n,r)=>{let o=i(r);if(o.byteLength===0)return o;if(o.byteLength%16!=0)throw Error(`Malformed encrypted payload (not block aligned).`);let s=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`,`decrypt`]),c=i(o.subarray(o.byteLength-16)),l=new Uint8Array(16).fill(16),u=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:c},s,l)).subarray(0,16),d=await e.subtle.decrypt({name:`AES-CBC`,iv:n},s,a(o,u));return new Uint8Array(d)};e.resolveSecretKey=async(e,a)=>{let s=e.passwordKeyEncryptor;if(!/^AES$/i.test(s.cipherAlgorithm)||!/CBC$/i.test(s.cipherChaining))throw Error(`Unsupported encryption cipher '${s.cipherAlgorithm}/${s.cipherChaining}'.`);let l=await n(),f=r(s.hashAlgorithm),p=s.keyBits/8,m=await u(l,a,s.saltValue,f,s.spinCount),g=o(s.saltValue,s.blockSize),_=await d(l,m,t.verifierHashInput,f,p),v=await h(l,_,g,s.encryptedVerifierHashInput),y=await d(l,m,t.verifierHashValue,f,p),b=await h(l,y,g,s.encryptedVerifierHashValue),x=await c(l,f,v),S=+(x.byteLength>b.byteLength);for(let e=0;e<b.byteLength;e++)S|=(e<x.byteLength?x[e]:0)^b[e];if(S!==0)return null;let C=await d(l,m,t.keyValue,f,p),w=await h(l,C,g,s.encryptedKeyValue);return i(w.subarray(0,e.keyData.keyBits/8))};let g=async(e,t,n,r)=>{let a=i(r);if(a.byteLength===0)return a;if(a.byteLength%16!=0)throw Error(`Malformed plaintext (not block aligned).`);let o=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`]),s=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:n},o,a));return i(s.subarray(0,a.byteLength))},_=(e,t)=>e%t===0?e:e+(t-e%t),v=4096;e.decryptPackage=async(e,t,i)=>{if(i.byteLength<8)throw Error(`Malformed EncryptedPackage stream (too short).`);let a=await n(),{keyData:o}=e,s=r(o.hashAlgorithm),c=new DataView(i.buffer,i.byteOffset,i.byteLength),l=c.getUint32(0,!0)+4294967296*c.getUint32(4,!0),u=i.subarray(8),d=new Uint8Array(Math.min(l,u.byteLength)),p=0;for(let e=0;e*v<u.byteLength;e++){let n=e*v,r=u.subarray(n,Math.min(n+v,u.byteLength)),i=r.byteLength%o.blockSize;if(i){let e=new Uint8Array(r.byteLength+o.blockSize-i);e.set(r),r=e}let c=await f(a,o.saltValue,e,s,o.blockSize),l=await h(a,t,c,r),m=Math.min(l.byteLength,d.byteLength-p);if(m<=0)break;d.set(l.subarray(0,m),p),p+=m}return d.subarray(0,p)},e.verifyIntegrity=async(e,i,a)=>{let o=e.dataIntegrity;if(!o)return!0;let s=await n(),{keyData:c}=e,l=r(c.hashAlgorithm),u=(await h(s,i,await p(s,c.saltValue,t.hmacKey,l,c.blockSize),o.encryptedHmacKey)).subarray(0,c.hashSize),d=(await h(s,i,await p(s,c.saltValue,t.hmacValue,l,c.blockSize),o.encryptedHmacValue)).subarray(0,c.hashSize),f=await m(s,l,u,a);if(f.byteLength<c.hashSize)return!1;let g=0;for(let e=0;e<c.hashSize;e++)g|=d[e]^f[e];return g===0};let y=e.DEFAULTS={hashAlgorithm:`SHA512`,cipherAlgorithm:`AES`,cipherChaining:`ChainingModeCBC`,saltSize:16,blockSize:16,keyBits:256,hashSize:64,spinCount:1e5};e.encrypt=async(e,i)=>{let a=await n(),s=r(y.hashAlgorithm),l=y.keyBits/8,h=e=>{let t=new Uint8Array(e);return a.getRandomValues(t),t},b=h(l),x=h(y.saltSize),S=h(y.saltSize),C=h(y.saltSize),w=await u(a,i,S,s,y.spinCount),T=o(S,y.blockSize),E=await d(a,w,t.verifierHashInput,s,l),D=await g(a,E,T,C),O=await c(a,s,C),k=await d(a,w,t.verifierHashValue,s,l),A=new Uint8Array(_(O.byteLength,y.blockSize));A.set(O);let j=await g(a,k,T,A),M=await d(a,w,t.keyValue,s,l),N=await g(a,M,T,b),P=e.byteLength,F=Math.max(1,Math.ceil(P/v)),I=new Uint8Array(_(P,y.blockSize)||y.blockSize);for(let t=0;t<F;t++){let n=t*v,r=e.subarray(n,Math.min(n+v,P)),i=new Uint8Array(_(r.byteLength,y.blockSize));i.set(r);let o=await f(a,x,t,s,y.blockSize);I.set(await g(a,b,o,i),n)}let L=new Uint8Array(8+I.byteLength),R=new DataView(L.buffer);R.setUint32(0,P>>>0,!0),R.setUint32(4,Math.floor(P/4294967296),!0),L.set(I,8);let z=h(y.hashSize),B=new Uint8Array(_(z.byteLength,y.blockSize));B.set(z);let V=await g(a,b,await p(a,x,t.hmacKey,s,y.blockSize),B),H=await m(a,s,z,L),U=new Uint8Array(_(H.byteLength,y.blockSize));return U.set(H),{keyDataSalt:x,encryptorSalt:S,encryptedVerifierHashInput:D,encryptedVerifierHashValue:j,encryptedKeyValue:N,encryptedHmacKey:V,encryptedHmacValue:await g(a,b,await p(a,x,t.hmacValue,s,y.blockSize),U),encryptedPackage:L}}}(r||={});var a=[208,207,17,224,161,177,26,225],o=`EncryptionInfo`,s=`EncryptedPackage`,c=e=>{if(!(e=>{if(e.byteLength<a.length)return!1;let t=new Uint8Array(e,0,a.length);for(let e=0;e<a.length;e++)if(t[e]!==a[e])return!1;return!0})(e))return null;let n;try{n=t.t.read(new Uint8Array(e))}catch{return null}let r=n.readStream(o),i=n.readStream(s);return r&&i?{info:r,encryptedPackage:i}:null},l={key:`offcrypto`,description:`Office Document Encryption`,detect:e=>c(e)!==null,async decode(t,i){let a=c(t);if(!a)throw Error(`Not an encrypted Office container.`);let o=n.parse(a.info);if(o.scheme!==`agile`)throw Error(`This file uses ${(e=>{switch(e){case`standard`:return`Standard ECMA-376 encryption (Office 2007)`;case`rc4-cryptoapi`:return`RC4 CryptoAPI encryption (Office 2002-2003)`;case`rc4`:return`RC4/XOR obfuscation (Office 97-2000)`;default:return e}})(o.scheme)}, which SheetXL cannot open yet. Re-save it from Excel to upgrade it to the current encryption.`);let s=await r.resolveSecretKey(o,i);if(!s)throw new e.i;if(o.dataIntegrity&&!await r.verifyIntegrity(o,s,a.encryptedPackage))throw Error(`This file failed its integrity check — it has been altered or is damaged since it was encrypted.`);let l=await r.decryptPackage(o,s,a.encryptedPackage);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)},async encode(e,t){if(!t)throw Error(`A password is required to encrypt.`);let a=await r.encrypt(new Uint8Array(e),t),c=n.build({...r.DEFAULTS,keyDataSalt:a.keyDataSalt,encryptorSalt:a.encryptorSalt,encryptedVerifierHashInput:a.encryptedVerifierHashInput,encryptedVerifierHashValue:a.encryptedVerifierHashValue,encryptedKeyValue:a.encryptedKeyValue,encryptedHmacKey:a.encryptedHmacKey,encryptedHmacValue:a.encryptedHmacValue}),l=i.write([{name:o,data:c},{name:s,data:a.encryptedPackage}]);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)}};exports.OffCryptoEncryption=l;
1
+ const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./xQ6-wbTw5UzZUM1Y.cjs");var n,r,i=class e{static{this.SIGNATURE=[208,207,17,224,161,177,26,225]}static{this.FATSECT=4294967293}static{this.DIFSECT=4294967292}static{this.ENDOFCHAIN=4294967294}static{this.FREESECT=4294967295}static{this.NOSTREAM=4294967295}static{this.SECTOR_SIZE=512}static{this.MINI_SECTOR_SIZE=64}static{this.MINI_CUTOFF=4096}static{this.DIR_ENTRY_SIZE=128}static{this.DIFAT_HEADER_COUNT=109}constructor(){this.sectors=[],this.fat=[]}static write(t){return new e()._build(t)}allocate(t){let n=e.SECTOR_SIZE,r=Math.max(1,Math.ceil(t.byteLength/n)),i=this.sectors.length;for(let a=0;a<r;a++){let o=new Uint8Array(n);o.set(t.subarray(a*n,Math.min((a+1)*n,t.byteLength))),this.sectors.push(o),this.fat.push(a===r-1?e.ENDOFCHAIN:i+a+1)}return i}_build(t){let{SECTOR_SIZE:n,MINI_SECTOR_SIZE:r,MINI_CUTOFF:i,ENDOFCHAIN:a,FREESECT:o,FATSECT:s,DIFSECT:c,NOSTREAM:l,DIR_ENTRY_SIZE:u,DIFAT_HEADER_COUNT:d}=e,f=[],p=0,m=t.map(e=>{if(e.data.byteLength>=i)return{entry:e,mini:!1,start:-1};let t=p,n=Math.max(1,Math.ceil(e.data.byteLength/r)),a=new Uint8Array(n*r);return a.set(e.data),f.push(a),p+=n,{entry:e,mini:!0,start:t}});for(let e of m)e.mini||(e.start=e.entry.data.byteLength===0?a:this.allocate(e.entry.data));let h=a,g=p*r;if(p>0){let e=new Uint8Array(g),t=0;for(let n of f)e.set(n,t),t+=n.byteLength;h=this.allocate(e)}let _=a,v=0;if(p>0){let e=n/4;v=Math.ceil(p/e);let t=new Uint8Array(v*n),i=new DataView(t.buffer);t.fill(255);let o=0;for(let e of m){if(!e.mini)continue;let t=Math.max(1,Math.ceil(e.entry.data.byteLength/r));for(let e=0;e<t;e++,o++)i.setUint32(4*o,e===t-1?a:o+1,!0)}_=this.allocate(t),v=Math.ceil(t.byteLength/n)}let y=[];y.push(this._directoryEntry({name:`Root Entry`,type:5,child:t.length>0?1:l,start:h===a?0:h,size:g}));let b=m.map((e,t)=>({place:e,index:t})).sort((e,t)=>{let n=e.place.entry.name,r=t.place.entry.name;return n.length===r.length?n.toUpperCase()<r.toUpperCase()?-1:+(n.toUpperCase()>r.toUpperCase()):n.length-r.length}),x=new Map;b.forEach((e,t)=>x.set(e.index,t+1)),m.forEach((e,t)=>{let n=x.get(t)-1,r=b[n+1];y.push(this._directoryEntry({name:e.entry.name,type:2,right:r?x.get(r.index):l,start:e.mini?e.start:e.start===a?0:e.start,size:e.entry.data.byteLength}))});let S=[y[0]];b.forEach(e=>S.push(y[e.index+1]));let C=n/u,w=Math.ceil(S.length/C),T=new Uint8Array(w*n);for(let e=0;e<w*C;e++){let t=S[e]??this._directoryEntry({name:``,type:0});T.set(t,e*u)}let E=this.allocate(T),D=n/4,O=D-1,k=this.sectors.length,A=1,j=0;for(let e=0;e<16;e++){let e=k+A+j,t=Math.max(1,Math.ceil(e/D)),n=t<=d?0:Math.ceil((t-d)/O);if(t===A&&n===j)break;A=t,j=n}let M=[],N=[];for(let e=0;e<A;e++)M.push(k+e);for(let e=0;e<j;e++)N.push(k+A+e);for(let e of M)this.fat[e]=s;for(let e of N)this.fat[e]=c;let P=new Uint8Array(A*n);P.fill(255);let F=new DataView(P.buffer);for(let e=0;e<this.fat.length;e++)F.setUint32(4*e,this.fat[e],!0);let I=new Uint8Array(n+(k+A+j)*n),L=new DataView(I.buffer);I.set(e.SIGNATURE,0),L.setUint16(24,62,!0),L.setUint16(26,3,!0),L.setUint16(28,65534,!0),L.setUint16(30,9,!0),L.setUint16(32,6,!0),L.setUint32(44,A,!0),L.setUint32(48,E,!0),L.setUint32(56,i,!0),L.setUint32(60,_,!0),L.setUint32(64,v,!0),L.setUint32(68,j>0?N[0]:a,!0),L.setUint32(72,j,!0);for(let e=0;e<d;e++)L.setUint32(76+4*e,e<A?M[e]:o,!0);for(let e=0;e<k;e++)I.set(this.sectors[e],n+e*n);I.set(P,n+M[0]*n);for(let e=0;e<j;e++){let t=n+N[e]*n;for(let n=0;n<O;n++){let r=d+e*O+n;L.setUint32(t+4*n,r<A?M[r]:o,!0)}L.setUint32(t+4*O,e===j-1?a:N[e+1],!0)}return I}_directoryEntry(t){let{NOSTREAM:n}=e,r=new Uint8Array(e.DIR_ENTRY_SIZE),i=new DataView(r.buffer),a=t.name;for(let e=0;e<a.length&&e<31;e++)i.setUint16(2*e,a.charCodeAt(e),!0);return i.setUint16(64,a.length>0?2*(Math.min(a.length,31)+1):0,!0),r[66]=t.type,r[67]=1,i.setUint32(68,t.left??n,!0),i.setUint32(72,t.right??n,!0),i.setUint32(76,t.child??n,!0),i.setUint32(116,t.start??0,!0),i.setUint32(120,t.size??0,!0),i.setUint32(124,0,!0),r}};(function(e){let t=e=>{let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n},n=(e,t,n)=>{let r=((e,t)=>{let n=RegExp(`\\b${t}\\s*=\\s*"([^"]*)"`).exec(e);return n?n[1]:null})(e,t);if(r===null)throw Error(`Malformed encryption descriptor: <${n}> is missing '${t}'.`);return r},r=(e,r)=>({saltValue:t(n(e,`saltValue`,r)),blockSize:parseInt(n(e,`blockSize`,r),10),keyBits:parseInt(n(e,`keyBits`,r),10),hashSize:parseInt(n(e,`hashSize`,r),10),cipherAlgorithm:n(e,`cipherAlgorithm`,r),cipherChaining:n(e,`cipherChaining`,r),hashAlgorithm:n(e,`hashAlgorithm`,r)}),i=(e,t)=>{let n=RegExp(`<(?:\\w+:)?${t}\\b[^>]*>`).exec(e);return n?n[0]:null},a=e=>{let t=``;for(let n=0;n<e.byteLength;n++)t+=String.fromCharCode(e[n]);return btoa(t)};e.build=e=>{let t=`saltSize="${e.saltSize}" blockSize="${e.blockSize}" keyBits="${e.keyBits}" hashSize="${e.hashSize}" cipherAlgorithm="${e.cipherAlgorithm}" cipherChaining="${e.cipherChaining}" hashAlgorithm="${e.hashAlgorithm}"`,n=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password" xmlns:c="http://schemas.microsoft.com/office/2006/keyEncryptor/certificate"><keyData ${t} saltValue="${a(e.keyDataSalt)}"/><dataIntegrity encryptedHmacKey="${a(e.encryptedHmacKey)}" encryptedHmacValue="${a(e.encryptedHmacValue)}"/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="${e.spinCount}" ${t} saltValue="${a(e.encryptorSalt)}" encryptedVerifierHashInput="${a(e.encryptedVerifierHashInput)}" encryptedVerifierHashValue="${a(e.encryptedVerifierHashValue)}" encryptedKeyValue="${a(e.encryptedKeyValue)}"/></keyEncryptor></keyEncryptors></encryption>`,r=new TextEncoder().encode(n),i=new Uint8Array(8+r.byteLength),o=new DataView(i.buffer);return o.setUint16(0,4,!0),o.setUint16(2,4,!0),o.setUint32(4,64,!0),i.set(r,8),i},e.parse=e=>{if(e.byteLength<8)throw Error(`Malformed EncryptionInfo stream (too short).`);let a=new DataView(e.buffer,e.byteOffset,e.byteLength),o=a.getUint16(0,!0),s=a.getUint16(2,!0);if(o===4&&s===4){let a=new TextDecoder().decode(e.subarray(8)),o=i(a,`keyData`);if(!o)throw Error(`Malformed encryption descriptor: no <keyData>.`);let s=i(a,`encryptedKey`);if(!s)throw Error(`This file is encrypted with a scheme SheetXL cannot open (no password key encryptor).`);let c=i(a,`dataIntegrity`);return{scheme:`agile`,keyData:r(o,`keyData`),passwordKeyEncryptor:{...r(s,`encryptedKey`),spinCount:parseInt(n(s,`spinCount`,`encryptedKey`),10),encryptedVerifierHashInput:t(n(s,`encryptedVerifierHashInput`,`encryptedKey`)),encryptedVerifierHashValue:t(n(s,`encryptedVerifierHashValue`,`encryptedKey`)),encryptedKeyValue:t(n(s,`encryptedKeyValue`,`encryptedKey`))},dataIntegrity:c?{encryptedHmacKey:t(n(c,`encryptedHmacKey`,`dataIntegrity`)),encryptedHmacValue:t(n(c,`encryptedHmacValue`,`dataIntegrity`))}:null}}return{scheme:o===2?`rc4-cryptoapi`:s===2?`standard`:`rc4`,versionMajor:o,versionMinor:s}}})(n||={}),function(e){let t={verifierHashInput:new Uint8Array([254,167,210,118,59,75,158,121]),verifierHashValue:new Uint8Array([215,170,15,109,48,97,52,78]),keyValue:new Uint8Array([20,110,11,231,171,172,208,214]),hmacKey:new Uint8Array([95,178,173,1,12,185,225,246]),hmacValue:new Uint8Array([160,103,127,2,178,44,132,51])},n=async()=>globalThis.crypto,r=e=>{switch(e.toUpperCase().replace(/[^A-Z0-9]/g,``)){case`SHA1`:return`SHA-1`;case`SHA256`:return`SHA-256`;case`SHA384`:return`SHA-384`;case`SHA512`:return`SHA-512`;default:throw Error(`Unsupported encryption hash algorithm '${e}'.`)}},i=e=>{let t=new Uint8Array(e.byteLength);return t.set(e),t},a=(...e)=>{let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n},o=(e,t)=>{if(e.byteLength>=t)return i(e.subarray(0,t));let n=new Uint8Array(t).fill(54);return n.set(e),n},s=e=>{let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),t},c=async(e,t,...n)=>new Uint8Array(await e.subtle.digest(t,a(...n))),l=()=>typeof MessageChannel==`function`?new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>{t.port1.close(),t.port2.close(),e()},t.port2.postMessage(null)}):new Promise(e=>{setTimeout(e,0)}),u=async(e,t,n,r,i)=>{let a=new Uint8Array(2*t.length),o=new DataView(a.buffer);for(let e=0;e<t.length;e++)o.setUint16(2*e,t.charCodeAt(e),!0);let u=await c(e,r,n,a);for(let t=0;t<i;t++)u=await c(e,r,s(t),u),t%2048==0&&await l();return u},d=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),f=async(e,t,n,r,i)=>o(await c(e,r,t,s(n)),i),p=async(e,t,n,r,i)=>o(await c(e,r,t,n),i),m=async(e,t,n,r)=>{let a=await e.subtle.importKey(`raw`,i(n),{name:`HMAC`,hash:{name:t}},!1,[`sign`]);return new Uint8Array(await e.subtle.sign(`HMAC`,a,i(r)))},h=async(e,t,n,r)=>{let o=i(r);if(o.byteLength===0)return o;if(o.byteLength%16!=0)throw Error(`Malformed encrypted payload (not block aligned).`);let s=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`,`decrypt`]),c=i(o.subarray(o.byteLength-16)),l=new Uint8Array(16).fill(16),u=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:c},s,l)).subarray(0,16),d=await e.subtle.decrypt({name:`AES-CBC`,iv:n},s,a(o,u));return new Uint8Array(d)};e.resolveSecretKey=async(e,a)=>{let s=e.passwordKeyEncryptor;if(!/^AES$/i.test(s.cipherAlgorithm)||!/CBC$/i.test(s.cipherChaining))throw Error(`Unsupported encryption cipher '${s.cipherAlgorithm}/${s.cipherChaining}'.`);let l=await n(),f=r(s.hashAlgorithm),p=s.keyBits/8,m=await u(l,a,s.saltValue,f,s.spinCount),g=o(s.saltValue,s.blockSize),_=await d(l,m,t.verifierHashInput,f,p),v=await h(l,_,g,s.encryptedVerifierHashInput),y=await d(l,m,t.verifierHashValue,f,p),b=await h(l,y,g,s.encryptedVerifierHashValue),x=await c(l,f,v),S=+(x.byteLength>b.byteLength);for(let e=0;e<b.byteLength;e++)S|=(e<x.byteLength?x[e]:0)^b[e];if(S!==0)return null;let C=await d(l,m,t.keyValue,f,p),w=await h(l,C,g,s.encryptedKeyValue);return i(w.subarray(0,e.keyData.keyBits/8))};let g=async(e,t,n,r)=>{let a=i(r);if(a.byteLength===0)return a;if(a.byteLength%16!=0)throw Error(`Malformed plaintext (not block aligned).`);let o=await e.subtle.importKey(`raw`,t,{name:`AES-CBC`},!1,[`encrypt`]),s=new Uint8Array(await e.subtle.encrypt({name:`AES-CBC`,iv:n},o,a));return i(s.subarray(0,a.byteLength))},_=(e,t)=>e%t===0?e:e+(t-e%t),v=4096;e.decryptPackage=async(e,t,i)=>{if(i.byteLength<8)throw Error(`Malformed EncryptedPackage stream (too short).`);let a=await n(),{keyData:o}=e,s=r(o.hashAlgorithm),c=new DataView(i.buffer,i.byteOffset,i.byteLength),l=c.getUint32(0,!0)+4294967296*c.getUint32(4,!0),u=i.subarray(8),d=new Uint8Array(Math.min(l,u.byteLength)),p=0;for(let e=0;e*v<u.byteLength;e++){let n=e*v,r=u.subarray(n,Math.min(n+v,u.byteLength)),i=r.byteLength%o.blockSize;if(i){let e=new Uint8Array(r.byteLength+o.blockSize-i);e.set(r),r=e}let c=await f(a,o.saltValue,e,s,o.blockSize),l=await h(a,t,c,r),m=Math.min(l.byteLength,d.byteLength-p);if(m<=0)break;d.set(l.subarray(0,m),p),p+=m}return d.subarray(0,p)},e.verifyIntegrity=async(e,i,a)=>{let o=e.dataIntegrity;if(!o)return!0;let s=await n(),{keyData:c}=e,l=r(c.hashAlgorithm),u=(await h(s,i,await p(s,c.saltValue,t.hmacKey,l,c.blockSize),o.encryptedHmacKey)).subarray(0,c.hashSize),d=(await h(s,i,await p(s,c.saltValue,t.hmacValue,l,c.blockSize),o.encryptedHmacValue)).subarray(0,c.hashSize),f=await m(s,l,u,a);if(f.byteLength<c.hashSize)return!1;let g=0;for(let e=0;e<c.hashSize;e++)g|=d[e]^f[e];return g===0};let y=e.DEFAULTS={hashAlgorithm:`SHA512`,cipherAlgorithm:`AES`,cipherChaining:`ChainingModeCBC`,saltSize:16,blockSize:16,keyBits:256,hashSize:64,spinCount:1e5};e.encrypt=async(e,i)=>{let a=await n(),s=r(y.hashAlgorithm),l=y.keyBits/8,h=e=>{let t=new Uint8Array(e);return a.getRandomValues(t),t},b=h(l),x=h(y.saltSize),S=h(y.saltSize),C=h(y.saltSize),w=await u(a,i,S,s,y.spinCount),T=o(S,y.blockSize),E=await d(a,w,t.verifierHashInput,s,l),D=await g(a,E,T,C),O=await c(a,s,C),k=await d(a,w,t.verifierHashValue,s,l),A=new Uint8Array(_(O.byteLength,y.blockSize));A.set(O);let j=await g(a,k,T,A),M=await d(a,w,t.keyValue,s,l),N=await g(a,M,T,b),P=e.byteLength,F=Math.max(1,Math.ceil(P/v)),I=new Uint8Array(_(P,y.blockSize)||y.blockSize);for(let t=0;t<F;t++){let n=t*v,r=e.subarray(n,Math.min(n+v,P)),i=new Uint8Array(_(r.byteLength,y.blockSize));i.set(r);let o=await f(a,x,t,s,y.blockSize);I.set(await g(a,b,o,i),n)}let L=new Uint8Array(8+I.byteLength),R=new DataView(L.buffer);R.setUint32(0,P>>>0,!0),R.setUint32(4,Math.floor(P/4294967296),!0),L.set(I,8);let z=h(y.hashSize),B=new Uint8Array(_(z.byteLength,y.blockSize));B.set(z);let V=await g(a,b,await p(a,x,t.hmacKey,s,y.blockSize),B),H=await m(a,s,z,L),U=new Uint8Array(_(H.byteLength,y.blockSize));return U.set(H),{keyDataSalt:x,encryptorSalt:S,encryptedVerifierHashInput:D,encryptedVerifierHashValue:j,encryptedKeyValue:N,encryptedHmacKey:V,encryptedHmacValue:await g(a,b,await p(a,x,t.hmacValue,s,y.blockSize),U),encryptedPackage:L}}}(r||={});var a=[208,207,17,224,161,177,26,225],o=`EncryptionInfo`,s=`EncryptedPackage`,c=e=>{if(!(e=>{if(e.byteLength<a.length)return!1;let t=new Uint8Array(e,0,a.length);for(let e=0;e<a.length;e++)if(t[e]!==a[e])return!1;return!0})(e))return null;let n;try{n=t.t.read(new Uint8Array(e))}catch{return null}let r=n.readStream(o),i=n.readStream(s);return r&&i?{info:r,encryptedPackage:i}:null},l={key:`offcrypto`,description:`Office Document Encryption`,detect:e=>c(e)!==null,async decode(t,i){let a=c(t);if(!a)throw Error(`Not an encrypted Office container.`);let o=n.parse(a.info);if(o.scheme!==`agile`)throw Error(`This file uses ${(e=>{switch(e){case`standard`:return`Standard ECMA-376 encryption (Office 2007)`;case`rc4-cryptoapi`:return`RC4 CryptoAPI encryption (Office 2002-2003)`;case`rc4`:return`RC4/XOR obfuscation (Office 97-2000)`;default:return e}})(o.scheme)}, which SheetXL cannot open yet. Re-save it from Excel to upgrade it to the current encryption.`);let s=await r.resolveSecretKey(o,i);if(!s)throw new e.s;if(o.dataIntegrity&&!await r.verifyIntegrity(o,s,a.encryptedPackage))throw Error(`This file failed its integrity check — it has been altered or is damaged since it was encrypted.`);let l=await r.decryptPackage(o,s,a.encryptedPackage);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)},async encode(e,t){if(!t)throw Error(`A password is required to encrypt.`);let a=await r.encrypt(new Uint8Array(e),t),c=n.build({...r.DEFAULTS,keyDataSalt:a.keyDataSalt,encryptorSalt:a.encryptorSalt,encryptedVerifierHashInput:a.encryptedVerifierHashInput,encryptedVerifierHashValue:a.encryptedVerifierHashValue,encryptedKeyValue:a.encryptedKeyValue,encryptedHmacKey:a.encryptedHmacKey,encryptedHmacValue:a.encryptedHmacValue}),l=i.write([{name:o,data:c},{name:s,data:a.encryptedPackage}]);return l.buffer.slice(l.byteOffset,l.byteOffset+l.byteLength)}};exports.OffCryptoEncryption=l;
@@ -1,19 +1,19 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./CVbPAnmNN3TxMkq4.mjs";
8
- import { i as t, r as n } from "./DRRx9F2h6V-Q957j.mjs";
9
- import { bt as r, en as i, t as a } from "./Dcpd3kkjvidrDQuN.mjs";
10
- import { x as o } from "./74Ynqpv5NPbb_8vB.mjs";
11
- import { v as s } from "./CDxmuF7Iay8T4cnU.mjs";
12
- import { n as c, t as l } from "./BHIVjD6BdBS3BAWp.mjs";
13
- import { t as u } from "./D16eCDM3k1_Fk-MN.mjs";
14
- import { t as d } from "./BOMJTicRKnx01hw-.mjs";
7
+ import { r as e } from "./CYsJALdAfHsvSsfO.mjs";
8
+ import { i as t, r as n } from "./CkSbV_IfAZJi0c6l.mjs";
9
+ import { Tt as r, X as i, t as a } from "./DdZPPDc6wlduH_KR.mjs";
10
+ import { ct as o } from "./DLWy3-8VQfVD6kwY.mjs";
11
+ import { v as s } from "./BDC1gzaNCs82vYHQ.mjs";
12
+ import { n as c, t as l } from "./8byAl8o3b5ERzC2f.mjs";
13
+ import { t as u } from "./B70US6XCCdca6Gnm.mjs";
14
+ import { t as d } from "./CzgGRoHeo-ZNAb5d.mjs";
15
15
  var f = e(t(), 1), p = e(n(), 1), m = ["Ok", "Cancel"], h = "table.defaultName", g = (0, f.memo)((e) => {
16
- let { onInput: t, onOption: n, onValidateOption: g, onDone: _, options: v = m, defaultOption: y = v?.[0], cancelOption: b = "Cancel", sx: x, initialValue: S, context: C, ...w } = e, T = i(), [E, D] = (0, f.useState)(!1), [O, k] = (0, f.useState)(() => S?.hasHeader ?? !1), [A, j] = (0, f.useState)(() => S?.ranges ?? null), M = C?.()?.getNames, [N, P] = (0, f.useState)(() => {
16
+ let { onInput: t, onOption: n, onValidateOption: g, onDone: _, options: v = m, defaultOption: y = v?.[0], cancelOption: b = "Cancel", sx: x, initialValue: S, context: C, ...w } = e, T = r(), [E, D] = (0, f.useState)(!1), [O, k] = (0, f.useState)(() => S?.hasHeader ?? !1), [A, j] = (0, f.useState)(() => S?.ranges ?? null), M = C?.()?.getNames, [N, P] = (0, f.useState)(() => {
17
17
  if (S?.name) return S.name;
18
18
  let e = T(h, { n: 1 }), t = e === h ? "Table1" : e;
19
19
  try {
@@ -24,7 +24,7 @@ var f = e(t(), 1), p = e(n(), 1), m = ["Ok", "Cancel"], h = "table.defaultName",
24
24
  }), F = (0, f.useMemo)(() => {
25
25
  let e = S?.ranges?.getSheet?.()?.getName();
26
26
  return e ? { scope: e } : void 0;
27
- }, [S]), I = o().getMode()?.mode === "point", L = r((e) => {
27
+ }, [S]), I = o().getMode()?.mode === "point", L = i((e) => {
28
28
  let r = A ? {
29
29
  ...S,
30
30
  name: N,
@@ -44,7 +44,7 @@ var f = e(t(), 1), p = e(n(), 1), m = ["Ok", "Cancel"], h = "table.defaultName",
44
44
  O,
45
45
  A,
46
46
  S
47
- ]), R = r((e) => {
47
+ ]), R = i((e) => {
48
48
  M?.().validateName(e);
49
49
  }, [M]), z = (0, f.useCallback)(async (e, t) => {
50
50
  try {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
3
3
  *
4
4
  * (C) 2026-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
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./CVbPAnmNN3TxMkq4.mjs";
8
- import { i as t, r as n } from "./DRRx9F2h6V-Q957j.mjs";
9
- import { h as r, m as i, p as a } from "./Dcpd3kkjvidrDQuN.mjs";
10
- import { N as o, _t as s, ct as c, lt as l, st as u, ut as d } from "./CDxmuF7Iay8T4cnU.mjs";
11
- import { E as f, O as p } from "./53nnk5W22gJW7Ddx.mjs";
7
+ import { r as e } from "./CYsJALdAfHsvSsfO.mjs";
8
+ import { i as t, r as n } from "./CkSbV_IfAZJi0c6l.mjs";
9
+ import { h as r, m as i, p as a } from "./DdZPPDc6wlduH_KR.mjs";
10
+ import { N as o, _t as s, ct as c, lt as l, st as u, ut as d } from "./BDC1gzaNCs82vYHQ.mjs";
11
+ import { E as f, O as p } from "./BaLJfxCFTS-J7Qn3.mjs";
12
12
  var m = e(t(), 1);
13
13
  function h(e) {
14
14
  return i("MuiInputAdornment", e);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.5
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.