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

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 (478) hide show
  1. package/browser/cjs/00npLPxW7DhY7cIJ.cjs +5 -0
  2. package/browser/cjs/1gbSV4OYBoEWTygY2.cjs +1 -0
  3. package/browser/cjs/7SCJ4vwRZW4B71kq.cjs +8 -0
  4. package/browser/cjs/9LTjOB1_w-bikScD.cjs +1 -0
  5. package/browser/cjs/AVUt0iNPhRf4R5xb.cjs +1 -0
  6. package/browser/cjs/{aYuNpndpwcZG5eik2.cjs → B2fdTYeKGNugWRgn2.cjs} +2 -2
  7. package/browser/cjs/B4ANcw0mAmhe2Aeb2.cjs +1 -0
  8. package/browser/cjs/B6IXpae7f0J8Ocq62.cjs +1 -0
  9. package/browser/cjs/B6vy56yEA1I3B74O.cjs +1 -0
  10. package/browser/cjs/B7QDcu7uACQA1y3h.cjs +1 -0
  11. package/browser/cjs/B7oyN0rn95Kyes8D2.cjs +1 -0
  12. package/browser/cjs/BArvhvpcrQEcbcyY.cjs +1 -0
  13. package/browser/cjs/{Ci8Uu7_b4lwwRLAD2.cjs → BC3OSmoFNyA52TRp2.cjs} +1 -1
  14. package/browser/cjs/{_H5j4dU7HOBYTawU.cjs → BDmBYZigchoACsQx.cjs} +1 -1
  15. package/browser/cjs/BFmgMQoM5sQsWIxf2.cjs +1 -0
  16. package/browser/cjs/BIN8L9V0hoUwMh64.cjs +1 -0
  17. package/browser/cjs/BPWKnUtyoTrtW567.cjs +1 -0
  18. package/browser/cjs/BcROQ4pvVajDQ1em.cjs +1 -0
  19. package/browser/cjs/BjjAQLiorKWXy3g5.cjs +4 -0
  20. package/browser/cjs/Bncc0oXhFMdj_HuR2.cjs +1 -0
  21. package/browser/cjs/BoRfsJCaLzUHQseD.cjs +1 -0
  22. package/browser/cjs/BqQgEaUREvuFHYoW.cjs +1 -0
  23. package/browser/cjs/{Cm21F18ga8TluA9h.cjs → BtAs67e7WBCglqc5.cjs} +1 -1
  24. package/browser/cjs/BxFSy-hOEbyllj-r2.cjs +22 -0
  25. package/browser/cjs/{CRx1WvmgBjT8WVyB2.cjs → C0g87ndP2zMUbX6f2.cjs} +1 -1
  26. package/browser/cjs/C0xAhPzztP9a24zR.cjs +5 -0
  27. package/browser/cjs/C2SohnuJK8Urc7Fx2.cjs +2 -0
  28. package/browser/cjs/C3scwi-q2KqEM39H.cjs +126 -0
  29. package/browser/cjs/C4cZxb9nRtzTCA402.cjs +1 -0
  30. package/browser/cjs/C9q3zr8iCIoYDrdA2.cjs +1 -0
  31. package/browser/cjs/CBLwtHFYNB1BTpSS.cjs +1 -0
  32. package/browser/cjs/{lEQC21-Sk4lwHy2r2.cjs → CFxueP0tbpmvY1Ip2.cjs} +1 -1
  33. package/browser/cjs/CGtG2pvGgTAnImBg2.cjs +8 -0
  34. package/browser/cjs/CH0vbLpwoyU7oOFk.cjs +11 -0
  35. package/browser/cjs/CKtdmbeMjJ2udO8s.cjs +1 -0
  36. package/browser/cjs/CQ-W9AUNHdts8pmY.cjs +1 -0
  37. package/browser/cjs/CQ5x8oFPDaU6OCJf.cjs +3 -0
  38. package/browser/cjs/CRcv32tHTbGSGtkh2.cjs +1 -0
  39. package/browser/cjs/{DsIHLUKUrSrYhFHl.cjs → CTObzk4r7C71x9Ep2.cjs} +1 -1
  40. package/browser/cjs/CUyKbhM67853Rnt22.cjs +1 -0
  41. package/browser/cjs/CVHRh1RGDSgqfAm4.cjs +2 -0
  42. package/browser/cjs/CVHc_cJddJk7J3Zt.cjs +1 -0
  43. package/browser/cjs/CaJGoNwTL6pAJ6a42.cjs +1 -0
  44. package/browser/cjs/{bGMaev70Zd_NXqLM2.cjs → CcqhH_Ign02tLFbU2.cjs} +1 -1
  45. package/browser/cjs/CdsreHc3A0wBhEy9.cjs +14 -0
  46. package/browser/cjs/CfXcRa4RlFmqU0Op.cjs +1 -0
  47. package/browser/cjs/CgyU8XPzm6O1a93m.cjs +41 -0
  48. package/browser/cjs/CzGNIWwu8KL3tcCO2.cjs +1 -0
  49. package/browser/cjs/D-8QQWC-67PplJdV2.cjs +1 -0
  50. package/browser/cjs/D6XEHfNbKx-9qZye.cjs +32 -0
  51. package/browser/cjs/{a0Z-SXs_N71CtqYb2.cjs → D6YaqporVrSewZpm2.cjs} +1 -1
  52. package/browser/cjs/D6m2M4H6JZaYZ4El2.cjs +1 -0
  53. package/browser/cjs/{DIbdDzNf_3S2RYZN.cjs → D9SdUvJVa64UoGj9.cjs} +1 -1
  54. package/browser/cjs/DCVnwgmc5HuYp_iv2.cjs +1 -0
  55. package/browser/cjs/{EeOVMRq7TuptFKTc2.cjs → DF4l8xrxkcLkgExp.cjs} +1 -1
  56. package/browser/cjs/DNnMGL1ff8hutxSd.cjs +1 -0
  57. package/browser/cjs/{D19RglhKiroWfpQn2.cjs → DOEhH2HGT1Zv0irr2.cjs} +1 -1
  58. package/browser/cjs/DQOt8XSpXyhsrF9N.cjs +93 -0
  59. package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → DRmo6uoGoqtiVff82.cjs} +1 -1
  60. package/browser/cjs/DSXLVieENYN9qXYl.cjs +1 -0
  61. package/browser/cjs/{BEJFcqVMDMKOvs11.cjs → DUXRl3eYfSwbhAfx.cjs} +1 -1
  62. package/browser/cjs/{B9EI7wviSkHS9ZkH.cjs → DWdUSWl4MXn2-MLU.cjs} +1 -1
  63. package/browser/cjs/DWyoF5GqKXce_GmT2.cjs +3 -0
  64. package/browser/cjs/Df3jw0eHS0X-qFvT.cjs +1 -0
  65. package/browser/cjs/{DiZDRPIgbO3sQ8Vb.cjs → Doiqeo4Qlie45lbl.cjs} +1 -1
  66. package/browser/cjs/Dp2fPEReFhDsI01j.cjs +3 -0
  67. package/browser/cjs/DpFg69dDCPoOK2BY2.cjs +1 -0
  68. package/browser/cjs/{Du4jBiFxRIF1OjD4.cjs → Dtxj9JR14A-uliu52.cjs} +1 -1
  69. package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → Dx7GQ4ALtNG3kshu.cjs} +1 -1
  70. package/browser/cjs/{DG-AY_xO8RKHtEBE.cjs → Dy50BSaRMmRISD2Y.cjs} +1 -2
  71. package/browser/cjs/LD1P-jAXleebK12X.cjs +7 -0
  72. package/browser/cjs/P0AUOlaMi9tyE0vN.cjs +3747 -0
  73. package/browser/cjs/PmwvZPFhqmL4DO58.cjs +1 -0
  74. package/browser/cjs/Qp04O3ALK3M9d3At.cjs +54 -0
  75. package/browser/cjs/SATfdSwNygvlOSKC2.cjs +1 -0
  76. package/browser/cjs/XRCcogT-Iqd3Wv6R2.cjs +1 -0
  77. package/browser/cjs/{BziOCn_XEGT4ynN5.cjs → Z_6RasaVpnIv1MHk.cjs} +1 -1
  78. package/browser/cjs/Zz5dLT_2gLI18Jmx.cjs +7 -0
  79. package/browser/cjs/a4xpA8d_d22-GKos.cjs +1 -0
  80. package/browser/cjs/cexWxRluo6g-NG_u.cjs +1 -0
  81. package/browser/cjs/{C5rQELB0TUeXY6VM.cjs → ge8Wd-0WC6oMuJZR.cjs} +1 -1
  82. package/browser/cjs/iYn00uzmSLl2T0oN2.cjs +1 -0
  83. package/browser/cjs/index.cjs +2 -2
  84. package/browser/cjs/kj_kwD7S9uUbhKiz2.cjs +1 -0
  85. package/browser/cjs/qA_ElZ6f49Un56OC.cjs +1 -0
  86. package/browser/cjs/s2c8Pr4obSACz8Lu2.cjs +1 -0
  87. package/browser/cjs/{hzUo76TXMOBqsI3U2.cjs → uAWsHfi-JD_ZQIT82.cjs} +1 -1
  88. package/browser/cjs/uRXkwHKoe-2HtXuR.cjs +1 -0
  89. package/browser/cjs/{DxQkFYAFNZubVdn22.cjs → y4KFnuCKf8r5oFal2.cjs} +1 -1
  90. package/browser/esm/{CZWIS7FuqNjbheSw.mjs → 2eBMkUK0-HxaCmDY.mjs} +40 -40
  91. package/browser/esm/{DzDwSOBdJh_lx_NM.mjs → 53nnk5W22gJW7Ddx.mjs} +241 -241
  92. package/{cdn/assets/BCZjYGV8AqIZghBH.js → browser/esm/5SHS088DeaZ82qmD2.mjs} +69 -4
  93. package/browser/esm/{B4vYIE3kSPTxCgpf2.mjs → 5shGy9JSRzvoIfDE2.mjs} +6 -6
  94. package/browser/esm/{-vgNEEXiEad4bltZ.mjs → 74Ynqpv5NPbb_8vB.mjs} +15762 -16413
  95. package/browser/esm/B-VKr_KwiWjDeAP5.mjs +3343 -0
  96. package/{cdn/assets/BDkVAo0CDCTE04ZJ.js → browser/esm/B08GCyGdLNiXtb_R.mjs} +1 -1
  97. package/browser/esm/{3y_bCend8tkaewDG2.mjs → B0F5gtNQjANAfRw32.mjs} +19 -27
  98. package/browser/esm/B0gZ5e38MXWbEDS_.mjs +25 -0
  99. package/browser/esm/{D3G3tI3DVCUF3Gdk.mjs → B45vVm2Ma1i2b6_F.mjs} +1 -1
  100. package/browser/esm/B5z-uoALcLY2ABTo.mjs +27 -0
  101. package/{cdn/assets/Bv_96nwOEMHN9Sa0.js → browser/esm/B72sK2NRGAke-aCk2.mjs} +27 -29
  102. package/{cdn/assets/DQ4o4dG7gWbL1X8F.js → browser/esm/B8q1hrKv7LAL4xmM2.mjs} +2 -2
  103. package/{cdn/assets/DIQf1pX-j-dWQu_e.js → browser/esm/BCQJVniXgm81YQ0v2.mjs} +141 -140
  104. package/browser/esm/{CR3jgkduTLczbMjH2.mjs → BCcbek_TFOdgqxXq.mjs} +1 -1
  105. package/browser/esm/{1guzFZp1LHz_FwfL.mjs → BEb3QhWwGW8rErZy.mjs} +1 -1
  106. package/browser/esm/{CU1d8OvDv5TU6fSd.mjs → BGRNyE5ar4c3ggrS.mjs} +465 -366
  107. package/browser/esm/{fJ1McMt7xzRA_lUX.mjs → BHIVjD6BdBS3BAWp.mjs} +15 -15
  108. package/browser/esm/BH_qL-oGqwG-7JKF.mjs +87746 -0
  109. package/browser/esm/BJ26E2DhS1Jz4nUY2.mjs +514 -0
  110. package/browser/esm/BJVcTpMN-u5XhMVE2.mjs +47 -0
  111. package/browser/esm/BNgf4HZDOKYBkvL3.mjs +15495 -0
  112. package/browser/esm/BOMJTicRKnx01hw-.mjs +155 -0
  113. package/browser/esm/{8V-VceXEjpADM8qK2.mjs → BPZxx-OH0wACHLsN2.mjs} +1 -1
  114. package/browser/esm/BQIRHi8T3P5MZtan.mjs +15 -0
  115. package/browser/esm/{Dc0BDcQUGy_WIVFa.mjs → BQhVWbI9uag9iRfX2.mjs} +1 -1
  116. package/{cdn/assets/D_t53-8k73CNpV-p2.js → browser/esm/BSWXx2rKOMPxLLs8.mjs} +88 -72
  117. package/browser/esm/{CJPemkFUzhcAD_qR.mjs → BUjTEjAeByh6MKpn.mjs} +1 -1
  118. package/{cdn/assets/B5ZqqASTcBEV5L9K.js → browser/esm/BUokT-PbfvYzD63f2.mjs} +1 -1
  119. package/browser/esm/BYAZ3XZq8XXkOulw.mjs +758 -0
  120. package/browser/esm/BYPIn5AkddMzMcsa2.mjs +117 -0
  121. package/browser/esm/{CH0of3GZTzHviuQV.mjs → BcPnGFFKCddWgOch.mjs} +1 -1
  122. package/browser/esm/{BCkXtOM3yKocv7L-2.mjs → BgwzL8v2pmR5HJXW.mjs} +1 -1
  123. package/browser/esm/BiomOxscV1M0Uw2n.mjs +37 -0
  124. package/browser/esm/{DTaVECXVrgvC48BE.mjs → Bj42pxe5AuY4bF2e.mjs} +3 -3
  125. package/browser/esm/{DBL3Qp5jyPrFg7KI2.mjs → BmC-_QeQ-53oyorq2.mjs} +1 -1
  126. package/browser/esm/{DW72HwfnJtQxzoGa.mjs → BnHE1Z6WkOfTWheU2.mjs} +2 -2
  127. package/{cdn/assets/BHBJtVTiQByD_y9j2.js → browser/esm/BoWCDK44X4tp02_4.mjs} +2 -2
  128. package/browser/esm/{DVZ_UnchuMRveDG32.mjs → Bq7qy-C7tVkiIaDE2.mjs} +42 -4
  129. package/browser/esm/{Cc5IufffX4N-8QpE.mjs → BrzXFBoYDjcG3ct8.mjs} +3 -3
  130. package/browser/esm/{BOl4FzJRD7MplCU72.mjs → BsY_DyFxoqjRHTv02.mjs} +1 -1
  131. package/{cdn/assets/COA_SZY2x8q6t4BD.js → browser/esm/Bsfof8nD-exhrNwn.mjs} +7 -6
  132. package/browser/esm/BtC6lEbd98TeKGsX2.mjs +298 -0
  133. package/browser/esm/BuoHLVUSwf-mq0hg2.mjs +32 -0
  134. package/browser/esm/{R5bs6kCQSZmsCXz-.mjs → BwbR2Dao5LgLYQgV.mjs} +1 -1
  135. package/browser/esm/ByQakLd0YFwc0Lgl.mjs +91 -0
  136. package/browser/esm/{DuPdSe-EXFTx9dsc2.mjs → C-97pwItkHA3s5rD2.mjs} +16 -16
  137. package/browser/esm/{DMLwXmjo28k_iNEU.mjs → C02og4vKxq9qpIUA.mjs} +1866 -1401
  138. package/{cdn/assets/BykiUmcpDgSRNQI1.js → browser/esm/C0HHZ3XLqp0LgRuW.mjs} +1 -1
  139. package/browser/esm/C213T1hhBphljJTF2.mjs +19 -0
  140. package/browser/esm/{Dnx3_xXfRlD6ECfZ2.mjs → C3A-yJ12PN-CPPnI2.mjs} +5 -5
  141. package/browser/esm/{DQ-0yyFAwoWtxmhV2.mjs → C5Oex2msskTvaCQ92.mjs} +1 -1
  142. package/{cdn/assets/8f9hCbpXTTYEgG31.js → browser/esm/C5u9ds7LUh9JJEbW2.mjs} +2 -2
  143. package/browser/esm/{BVRzmIk5PujkT_Ap.mjs → C6D3gk0GBvvDjawh.mjs} +563 -534
  144. package/browser/esm/{BHmYoIIbNW3GdcqV2.mjs → C7b3GyO7FCiMLeyn.mjs} +1 -1
  145. package/browser/esm/{BqTFwWLbXXJ0Fu-X2.mjs → C8qOmdaHh4WQkzEy.mjs} +2 -2
  146. package/browser/esm/CD44l4eg_lxr7kgn2.mjs +115 -0
  147. package/{cdn/assets/iXWgTu3qpYZHcx1J.js → browser/esm/CDxmuF7Iay8T4cnU.mjs} +963 -946
  148. package/browser/esm/CS38A8yr4eKvdDZm.mjs +159 -0
  149. package/browser/esm/CSu0Md4a1JIZrirV.mjs +3324 -0
  150. package/{cdn/assets/BMRav2VAqEzDSp3r.js → browser/esm/CU1J-I76aVm-KPP6.mjs} +37 -3
  151. package/{cdn/assets/D9-wpGVbTS9rRpxx.js → browser/esm/CVbPAnmNN3TxMkq4.mjs} +1 -1
  152. package/browser/esm/{qG5zdZZAe6mQIJo32.mjs → CXvcyGN4L9iDr1LK2.mjs} +5 -5
  153. package/{cdn/assets/CopfZ7Y1Zn_PDNXK.js → browser/esm/CZN6c8yBDjLVTVpH.mjs} +16 -11
  154. package/{cdn/assets/DOsbSsKsexrBoeXa2.js → browser/esm/C__tNzwz0i7bQrSu2.mjs} +17 -18
  155. package/browser/esm/CcPFyWALYlJWf17T2.mjs +58 -0
  156. package/browser/esm/{47Yv4X226-93If7L.mjs → CcuNkPxT6rqElgbZ2.mjs} +1 -1
  157. package/{cdn/assets/C1ZePT2B182vSnxW.js → browser/esm/Cjbksosgv7NZFNE0.mjs} +1 -1
  158. package/browser/esm/{BD7RxHQgrqy_4tb5.mjs → CjxOVBbWLFeUZza82.mjs} +2 -2
  159. package/browser/esm/CksEMRqAqI-_nekb.mjs +149 -0
  160. package/{cdn/assets/DZDynaLqNeVaDoiH2.js → browser/esm/CnB5AuoIz-49NXD_.mjs} +3 -3
  161. package/{cdn/assets/DRc_Wi5c7WdKHTVN.js → browser/esm/Co06Uf-tv1IuVQhe.mjs} +6 -6
  162. package/browser/esm/{D6SKy2BtcWkhfiA02.mjs → CpzLNwtfx0Zd0OZ0.mjs} +2 -5
  163. package/{cdn/assets/Cbw0JeJURvQyxIoa.js → browser/esm/CwRAK6IVjIYuwofE.mjs} +1 -1
  164. package/{cdn/assets/CtXoSHbCUKMY-tSJ2.js → browser/esm/CyS1VLOdAweeZsMV.mjs} +48 -2
  165. package/browser/esm/CyomJv3_vWy4trRe2.mjs +33 -0
  166. package/browser/esm/{Be4QC65cR8N84rTn.mjs → D-1WiFWkKNPWXppx2.mjs} +1 -1
  167. package/browser/esm/D16eCDM3k1_Fk-MN.mjs +225 -0
  168. package/browser/esm/{DZbR5R1fNikjgqYb.mjs → D3Qv3--VfvVHImXW.mjs} +1 -1
  169. package/{cdn/assets/BJEpPEyFWtLzMIq-2.js → browser/esm/D5j8qMZCamJQ82pi.mjs} +1809 -1038
  170. package/{cdn/assets/CdMv3f8Gyxh8q2RR.js → browser/esm/D718rIGL3d_m1mjm2.mjs} +1 -1
  171. package/browser/esm/{BPv6Pw1hW-sV5Fya.mjs → DAhlDEV6ehTRvrj72.mjs} +1 -1
  172. package/browser/esm/{CEN8dYSpN2oew8HH.mjs → DB_I2ygTnDxYiYyc.mjs} +526 -350
  173. package/browser/esm/{D4VqLbEWag8lTWzC2.mjs → DGde1GUi2j-ZUPJW2.mjs} +121 -94
  174. package/browser/esm/DJUnZsVsvwRT_Onq2.mjs +8 -0
  175. package/browser/esm/{DXWmgQSeh0_HDxZj.mjs → DLgM7RXEEfx33zms.mjs} +4 -4
  176. package/browser/esm/DNxL1aQIN6J2PLV7.mjs +35 -0
  177. package/browser/esm/{BjTf3XA9Swj0ngpH.mjs → DRRx9F2h6V-Q957j.mjs} +2 -2
  178. package/{cdn/assets/hFSDx-LnUOObv-6h.js → browser/esm/DZGMsbIACs9TKYrM2.mjs} +2 -2
  179. package/browser/esm/{DFdU1DsC1lXOrejZ.mjs → Dcpd3kkjvidrDQuN.mjs} +1814 -1737
  180. package/browser/esm/{7rixDGGrR72lXkMV.mjs → DevyWm6bXV7lW2dr.mjs} +97 -54
  181. package/browser/esm/{Gy0CHZTvn4hY-rkx2.mjs → DfIwClWz03Qw38-O.mjs} +1 -1
  182. package/{cdn/assets/CAPgMrAKg07EREFD2.js → browser/esm/Dg7wE0RZdHeJv537.mjs} +1 -1
  183. package/browser/esm/Dj_S0P34nk_fjFoh2.mjs +427 -0
  184. package/browser/esm/DjyzSKZNfvxPmFqi.mjs +3342 -0
  185. package/browser/esm/{9_bymSfTn_rR_v6W.mjs → DlHJ7zkV6AMCtYPP.mjs} +6 -6
  186. package/browser/esm/{B1NoGosH2YQh01g7.mjs → DnLi57ylUOd3DUek.mjs} +6 -6
  187. package/{cdn/assets/BVjXdv_wkL1x_8ZJ2.js → browser/esm/DoAKAH3cmECZGboo2.mjs} +1 -1
  188. package/browser/esm/Dok4MRpMgkcsNzp4.mjs +589 -0
  189. package/browser/esm/{Blc1T4zLkp8bRC_n2.mjs → DpORFFFF3LUx_zsT2.mjs} +22 -22
  190. package/{cdn/assets/DvlpP6sUZ9Qzl9s22.js → browser/esm/Ds5mE3-q83ZhE-2T.mjs} +193 -172
  191. package/browser/esm/Du5dlbWtpboIrJk-2.mjs +394 -0
  192. package/{cdn/assets/Chq4BwbjH0sbIkJN2.js → browser/esm/DuMveAGZv1j1YAwO.mjs} +28 -13
  193. package/browser/esm/{C6CK_4GD9IpxKglV2.mjs → GETgdmj9xZWcFrIC2.mjs} +2391 -2900
  194. package/browser/esm/GJUYPKfNptRZyU9r.mjs +267 -0
  195. package/browser/esm/{vcRSnmAqjwKglEkY.mjs → JDCQtP0lkncrmnpC2.mjs} +2 -2
  196. package/browser/esm/{BceIETi6JJRW6Ss62.mjs → OsRyVy3M_rNtmU472.mjs} +13 -13
  197. package/{cdn/assets/DrUEYcXg6N2D2s1Z.js → browser/esm/OtaDVRqZVyi7IBBa.mjs} +51 -11
  198. package/browser/esm/OyyHiDjohIf4lZX62.mjs +119 -0
  199. package/browser/esm/QEPUcBp4VkPz75h8.mjs +637 -0
  200. package/{cdn/assets/CpnA5TZRkPDt4HnM2.js → browser/esm/R0Xd51SJLUebJwYv.mjs} +2 -2
  201. package/browser/esm/{DMX-ZlC_ljcf7oUN.mjs → S4MMwlNd4kcK3RDU.mjs} +1 -1
  202. package/browser/esm/{CsufM5aF6VTLKDWM.mjs → VaST17rbOSkMsGyn.mjs} +12 -12
  203. package/browser/esm/{DtXC6uPF2LLktqFE.mjs → WfqSQXib2MuH663g.mjs} +2 -2
  204. package/browser/esm/{CG5v2hAwGR5Ptufn.mjs → XuGWliVSRCNi5it12.mjs} +1 -1
  205. package/browser/esm/Z83G4i9Tvq4z2kCB.mjs +87 -0
  206. package/browser/esm/_cZz4ZhEEr54LYNe2.mjs +32 -0
  207. package/browser/esm/{NekeSGoazNCraGNC2.mjs → cDMkMgN5tB-wni7c2.mjs} +15 -15
  208. package/{cdn/assets/Clfp7SznkOrJoQvL.js → browser/esm/efVOgresgMXMdh7J2.mjs} +3 -3
  209. package/{cdn/assets/CGqvy5LwQ4z9J2oD.js → browser/esm/gXemYPUoPvaUd055.mjs} +1 -1
  210. package/browser/esm/index.mjs +6 -6
  211. package/browser/esm/kef_IwcJES4VXcNa2.mjs +238 -0
  212. package/browser/esm/{oYdWyqsKo9ejAdVm.mjs → lfNgkSweNYs6v7g2.mjs} +2 -2
  213. package/browser/esm/{BLcn1kGRsjURZSzk.mjs → lfNgkSweNYs6v7g22.mjs} +2 -2
  214. package/{cdn/assets/EwzqnZl1lTr56hH-.js → browser/esm/mbUWaIl3SJkdbWx02.mjs} +1 -1
  215. package/browser/esm/vDg2R-517z6mPR3B2.mjs +280 -0
  216. package/browser/esm/{CfvrjQGuf7vXiQCB.mjs → vP8Rb-lgzeerBAx4.mjs} +1 -1
  217. package/cdn/assets/0uSu6ChH_CTmXM2q2.js +226 -0
  218. package/{browser/esm/BCZjYGV8AqIZghBH.mjs → cdn/assets/5SHS088DeaZ82qmD.js} +69 -4
  219. package/cdn/assets/8rILuc7bVIGEeb97.js +394 -0
  220. package/cdn/assets/9ra2y9Srlg_Pw7Q32.js +590 -0
  221. package/cdn/assets/B-ylRvlizyArIFrd.js +15496 -0
  222. package/{browser/esm/BDkVAo0CDCTE04ZJ2.mjs → cdn/assets/B08GCyGdLNiXtb_R2.js} +1 -1
  223. package/cdn/assets/B0gZ5e38MXWbEDS_.js +25 -0
  224. package/cdn/assets/{C8mUyjJ26jsHGl_D.js → B15uSTYXbbRVKP0X2.js} +7 -7
  225. package/cdn/assets/{BixsQGDDf3Iv_PtW2.js → B1Lxf24mP-fwn03r2.js} +1866 -1401
  226. package/cdn/assets/{D3G3tI3DVCUF3Gdk2.js → B45vVm2Ma1i2b6_F.js} +1 -1
  227. package/cdn/assets/B63SfOuKJt36aTr_.js +8 -0
  228. package/cdn/assets/B69EK_yDF3V8Rq2r2.js +299 -0
  229. package/{browser/esm/Bv_96nwOEMHN9Sa02.mjs → cdn/assets/B72sK2NRGAke-aCk.js} +27 -29
  230. package/cdn/assets/{DW7JlG-SQEdLYNar2.js → B7SJVFUHxy16UJRA.js} +41 -3
  231. package/{browser/esm/DQ4o4dG7gWbL1X8F2.mjs → cdn/assets/B8q1hrKv7LAL4xmM.js} +2 -2
  232. package/cdn/assets/{DVS_5oDniuAFH3vT2.js → BAbRLjxqebqVPyto2.js} +2451 -2960
  233. package/cdn/assets/BCOGONuWSq4hgADu.js +4426 -0
  234. package/cdn/assets/{CR3jgkduTLczbMjH.js → BCcbek_TFOdgqxXq2.js} +1 -1
  235. package/cdn/assets/{1guzFZp1LHz_FwfL2.js → BEb3QhWwGW8rErZy2.js} +1 -1
  236. package/cdn/assets/BHpE1nCbJEbRdzIG2.js +118 -0
  237. package/cdn/assets/BJVcTpMN-u5XhMVE.js +47 -0
  238. package/cdn/assets/{B55nrhIK6gAAu4ZA.js → BLpNuslYLGia3h9t2.js} +2 -2
  239. package/cdn/assets/{8V-VceXEjpADM8qK.js → BPZxx-OH0wACHLsN.js} +1 -1
  240. package/cdn/assets/BQIRHi8T3P5MZtan2.js +15 -0
  241. package/cdn/assets/{Dc0BDcQUGy_WIVFa.js → BQhVWbI9uag9iRfX.js} +1 -1
  242. package/{browser/esm/D_t53-8k73CNpV-p.mjs → cdn/assets/BSWXx2rKOMPxLLs82.js} +88 -72
  243. package/cdn/assets/{CBuvbUg67ah_3BOZ.js → BUeKY15yUtNX2nYg.js} +2 -2
  244. package/cdn/assets/{CJPemkFUzhcAD_qR.js → BUjTEjAeByh6MKpn.js} +1 -1
  245. package/{browser/esm/B5ZqqASTcBEV5L9K2.mjs → cdn/assets/BUokT-PbfvYzD63f.js} +1 -1
  246. package/cdn/assets/BWbSIhQVBaXJNFgl.js +3324 -0
  247. package/cdn/assets/{tVOVNvOs6ro8FXqa2.js → BZDRat2zTkUEg9cR.js} +16 -16
  248. package/cdn/assets/{c6VvwMHfXubjjtyj.js → BeFqINcF0gIgBnB1.js} +16 -16
  249. package/cdn/assets/{DJwQ9abZkyFO9Doy.js → Beyy1fJJeov2iYL4.js} +4 -4
  250. package/cdn/assets/{BCkXtOM3yKocv7L-.js → BgwzL8v2pmR5HJXW2.js} +1 -1
  251. package/cdn/assets/BiomOxscV1M0Uw2n.js +37 -0
  252. package/cdn/assets/{DBL3Qp5jyPrFg7KI.js → BmC-_QeQ-53oyorq.js} +1 -1
  253. package/{browser/esm/BHBJtVTiQByD_y9j.mjs → cdn/assets/BoWCDK44X4tp02_42.js} +2 -2
  254. package/cdn/assets/{BOl4FzJRD7MplCU7.js → BsY_DyFxoqjRHTv0.js} +1 -1
  255. package/{browser/esm/COA_SZY2x8q6t4BD.mjs → cdn/assets/Bsfof8nD-exhrNwn.js} +7 -6
  256. package/cdn/assets/{BzUU8y1IFjREzgog2.js → BsiuCRJjX2LRrDF22.js} +20 -28
  257. package/cdn/assets/BuPGWNRZMMyn4fm8.js +268 -0
  258. package/cdn/assets/Bub12rk6wWVZVNx62.js +496 -0
  259. package/cdn/assets/BuoHLVUSwf-mq0hg.js +32 -0
  260. package/cdn/assets/{DbEGszSW_J_k96KJ.js → ButSau4Lf36Oe3GD.js} +2 -2
  261. package/cdn/assets/{R5bs6kCQSZmsCXz-2.js → BwbR2Dao5LgLYQgV2.js} +1 -1
  262. package/{browser/esm/B0HA_dHcr0kKfudQ.mjs → cdn/assets/C-F-eIvIRbCAMD662.js} +194 -171
  263. package/cdn/assets/{BhDLR-jtbOOG-tl12.js → C-KWjRT0CUb-bkvj2.js} +8 -8
  264. package/{browser/esm/BykiUmcpDgSRNQI12.mjs → cdn/assets/C0HHZ3XLqp0LgRuW2.js} +1 -1
  265. package/cdn/assets/C213T1hhBphljJTF.js +19 -0
  266. package/cdn/assets/{Dnx3_xXfRlD6ECfZ.js → C3A-yJ12PN-CPPnI.js} +5 -5
  267. package/cdn/assets/C4vZWmW5DZLQTTAx.js +758 -0
  268. package/cdn/assets/{DQ-0yyFAwoWtxmhV2.js → C5Oex2msskTvaCQ9.js} +1 -1
  269. package/{browser/esm/8f9hCbpXTTYEgG312.mjs → cdn/assets/C5u9ds7LUh9JJEbW.js} +2 -2
  270. package/cdn/assets/{BHmYoIIbNW3GdcqV.js → C7b3GyO7FCiMLeyn2.js} +1 -1
  271. package/cdn/assets/C8W7e-O1V1Mo2HOp.js +35 -0
  272. package/cdn/assets/{BqTFwWLbXXJ0Fu-X.js → C8qOmdaHh4WQkzEy.js} +2 -2
  273. package/cdn/assets/{Ce5A_D4YBgi_s2KF.js → CEyEKBYpjE5GGcmE.js} +13 -13
  274. package/{browser/esm/Dg5wjQp0fArKXlM3.mjs → cdn/assets/CJoCbCtXkTbj6-nC.js} +16 -11
  275. package/cdn/assets/{j8nXVEYbO2kPuEYQ.js → CLEhV4ZVh2Jf4WLI.js} +3 -3
  276. package/{browser/esm/BMRav2VAqEzDSp3r2.mjs → cdn/assets/CU1J-I76aVm-KPP6.js} +37 -3
  277. package/{browser/esm/D9-wpGVbTS9rRpxx.mjs → cdn/assets/CVbPAnmNN3TxMkq4.js} +1 -1
  278. package/cdn/assets/{2CuCH0wi9XPgVzE42.js → CWIp4JC2SCM6lg-s.js} +11 -9
  279. package/cdn/assets/{BKEzd89UphJ8q1pp2.js → CXKguOBpJrsoXPTQ.js} +485 -386
  280. package/cdn/assets/CXgMJ_MuMQRu0isj2.js +159 -0
  281. package/cdn/assets/{qG5zdZZAe6mQIJo3.js → CXvcyGN4L9iDr1LK.js} +5 -5
  282. package/cdn/assets/{DnzDlqizzNkbhJP7.js → CYFmWcVbnUCDPJ8m.js} +2 -2
  283. package/cdn/assets/{CF8m5SqeMaRkGIYM.js → C_W3L9-im26Qc-Ub.js} +2 -2
  284. package/cdn/assets/Cb7x4GW2rRvj_q2Z.js +87 -0
  285. package/cdn/assets/CcOMQhQN8PPKQulw2.js +428 -0
  286. package/cdn/assets/CcPFyWALYlJWf17T.js +58 -0
  287. package/{browser/esm/Bl6bX86tSq8hfyb2.mjs → cdn/assets/CcXDdl0SsmyEFtmU.js} +965 -944
  288. package/cdn/assets/{47Yv4X226-93If7L2.js → CcuNkPxT6rqElgbZ.js} +1 -1
  289. package/cdn/assets/CdDTtABobc5txUF6.js +149 -0
  290. package/cdn/assets/CdTHBpWoW1Fu4Dg_.js +27 -0
  291. package/cdn/assets/{CT3G9YRPVfKtHWwf2.js → Cdm7E0sw56lpdqRU2.js} +17 -17
  292. package/cdn/assets/{mtrwY1hjJeYlmzC-.js → Cf-bndowUtxZ6tmG.js} +3 -3
  293. package/cdn/assets/{DaBczM5xU9ev5_or.js → CiTCEuoCSDCy9khR.js} +2 -2
  294. package/{browser/esm/C1ZePT2B182vSnxW2.mjs → cdn/assets/Cjbksosgv7NZFNE02.js} +1 -1
  295. package/cdn/assets/{DvItgGbf8IOWPyxd.js → CmRLwDXiK3woZrVI.js} +15461 -16112
  296. package/{browser/esm/DRc_Wi5c7WdKHTVN2.mjs → cdn/assets/Co06Uf-tv1IuVQhe.js} +6 -6
  297. package/cdn/assets/Cpkl0peJbfEXl6ta2.js +239 -0
  298. package/cdn/assets/{D6SKy2BtcWkhfiA0.js → CpzLNwtfx0Zd0OZ02.js} +2 -5
  299. package/cdn/assets/{CpYlf4dXa_V2v-iS2.js → CukMw9Sc4iO21aRQ2.js} +1109 -955
  300. package/cdn/assets/{EjOJX5m8OEL-IjPB.js → CwGEi_5ErUTrkWRj.js} +7 -7
  301. package/{browser/esm/Cbw0JeJURvQyxIoa.mjs → cdn/assets/CwRAK6IVjIYuwofE2.js} +1 -1
  302. package/cdn/assets/{-2S675KWulPRlVNb2.js → Cx1HsOCOdZoKJDEN2.js} +14 -14
  303. package/{browser/esm/BqwvP0318zI2izeL2.mjs → cdn/assets/Cy6Cst4s2vE_WWKK2.js} +27 -26
  304. package/{browser/esm/CtXoSHbCUKMY-tSJ.mjs → cdn/assets/CyS1VLOdAweeZsMV2.js} +48 -2
  305. package/cdn/assets/CyomJv3_vWy4trRe.js +33 -0
  306. package/cdn/assets/{Be4QC65cR8N84rTn2.js → D-1WiFWkKNPWXppx.js} +1 -1
  307. package/cdn/assets/{DZbR5R1fNikjgqYb.js → D3Qv3--VfvVHImXW.js} +1 -1
  308. package/cdn/assets/D6B6VvRh1cfT2e-M2.js +116 -0
  309. package/{browser/esm/CdMv3f8Gyxh8q2RR2.mjs → cdn/assets/D718rIGL3d_m1mjm.js} +1 -1
  310. package/cdn/assets/D7WMzCfJnKIfTbdg.js +280 -0
  311. package/cdn/assets/{C_Io1QC4CeLGRBrz.js → D8sc6gCXnfpn7W79.js} +2 -2
  312. package/cdn/assets/DA4QV7VUyNUEfx1k2.js +156 -0
  313. package/cdn/assets/{BPv6Pw1hW-sV5Fya.js → DAhlDEV6ehTRvrj7.js} +1 -1
  314. package/cdn/assets/{gspQcUnmlRIwG609.js → DBKHpCvbeQU-Y4eS2.js} +5 -5
  315. package/cdn/assets/{CEN8dYSpN2oew8HH2.js → DB_I2ygTnDxYiYyc2.js} +526 -350
  316. package/cdn/assets/{DLEdaT0MmrOxMa2h2.js → DKwpjlUd2pFOI9yp2.js} +64 -64
  317. package/cdn/assets/{BNybEGR813e3aNIv.js → DW3_Jr-4VdZZqNEg.js} +1817 -1740
  318. package/{browser/esm/hFSDx-LnUOObv-6h2.mjs → cdn/assets/DZGMsbIACs9TKYrM.js} +2 -2
  319. package/cdn/assets/{Gy0CHZTvn4hY-rkx.js → DfIwClWz03Qw38-O2.js} +1 -1
  320. package/{browser/esm/CAPgMrAKg07EREFD.mjs → cdn/assets/Dg7wE0RZdHeJv5372.js} +1 -1
  321. package/{browser/esm/BVjXdv_wkL1x_8ZJ2.mjs → cdn/assets/DoAKAH3cmECZGboo2.js} +1 -1
  322. package/cdn/assets/FAaqx6EbN4JxNuNL2.js +87746 -0
  323. package/{browser/esm/CPUlpDM6aAzZzCat2.mjs → cdn/assets/FHIg3Yb5Rn05W1F22.js} +142 -139
  324. package/{browser/esm/CQM87ZBN7Yzn4Yxr.mjs → cdn/assets/FbLFNYdTqRtQ7QiS.js} +9 -9
  325. package/cdn/assets/{vcRSnmAqjwKglEkY2.js → JDCQtP0lkncrmnpC.js} +2 -2
  326. package/cdn/assets/{D-fJXasEYyfRUcj2.js → KOiR-1SNAX7AiEes.js} +3 -3
  327. package/cdn/assets/KS5XJUWdKvEezJfs2.js +264 -0
  328. package/{browser/esm/B4iT_CduJeJunwBc.mjs → cdn/assets/OTQWLENoZ1cSiDQb2.js} +28 -13
  329. package/{browser/esm/DrUEYcXg6N2D2s1Z2.mjs → cdn/assets/OtaDVRqZVyi7IBBa2.js} +51 -11
  330. package/cdn/assets/OyyHiDjohIf4lZX6.js +119 -0
  331. package/cdn/assets/{DKeLjEJPO9nT3bpr.js → PLFw1pLjdLQLrlB0.js} +242 -242
  332. package/cdn/assets/S4MMwlNd4kcK3RDU.js +24 -0
  333. package/cdn/assets/S4MMwlNd4kcK3RDU2.js +24 -0
  334. package/cdn/assets/{CG5v2hAwGR5Ptufn2.js → XuGWliVSRCNi5it1.js} +1 -1
  335. package/cdn/assets/_cZz4ZhEEr54LYNe.js +32 -0
  336. package/cdn/assets/{DCnA2-zB7W_QB-tD2.js → bQ6G23JQrt4l2Ls92.js} +566 -537
  337. package/{browser/esm/Clfp7SznkOrJoQvL.mjs → cdn/assets/efVOgresgMXMdh7J.js} +3 -3
  338. package/{browser/esm/CGqvy5LwQ4z9J2oD2.mjs → cdn/assets/gXemYPUoPvaUd055.js} +1 -1
  339. package/cdn/assets/{UYgwKnPX3US3Cj2k2.js → hHkEq7qn0rj2XKD82.js} +75 -48
  340. package/cdn/assets/{D1MA2ed2cLMt7hV9.js → hqW1sMr576y2S1qX.js} +41 -41
  341. package/cdn/assets/mI8tvfP8ed2Zerre.js +3344 -0
  342. package/{browser/esm/EwzqnZl1lTr56hH-2.mjs → cdn/assets/mbUWaIl3SJkdbWx0.js} +1 -1
  343. package/{browser/esm/RW23HF8taEtW8q9D.mjs → cdn/assets/n_NkstgVVwl2iAnp.js} +2 -2
  344. package/cdn/assets/ryzcqI-93l1HBuTe2.js +91 -0
  345. package/cdn/assets/{CfvrjQGuf7vXiQCB2.js → vP8Rb-lgzeerBAx42.js} +1 -1
  346. package/cdn/assets/{CHttngK66Ido5dWW.js → w65zHFqjAp_NlbXg2.js} +7 -7
  347. package/cdn/index.js +2 -2
  348. package/package.json +3 -3
  349. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +0 -7
  350. package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
  351. package/browser/cjs/B19QM3SGmPKKwD_o.cjs +0 -1
  352. package/browser/cjs/B4JJfKSI4ppwU8552.cjs +0 -1
  353. package/browser/cjs/B5YBx0GqLor3i0O1.cjs +0 -1
  354. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +0 -1
  355. package/browser/cjs/BEVqcFGFU6Ri9y8T.cjs +0 -5
  356. package/browser/cjs/BEzaum_kgG4yAOx0.cjs +0 -1
  357. package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +0 -1
  358. package/browser/cjs/BIQZDBQfv3Qm5iC8.cjs +0 -4
  359. package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +0 -2
  360. package/browser/cjs/BZr-IqNS1skh1hr6.cjs +0 -21
  361. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +0 -3
  362. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +0 -1
  363. package/browser/cjs/BnccBYHCCq9TGFx4.cjs +0 -8
  364. package/browser/cjs/BwLx9ix5Sq7suAYP2.cjs +0 -1
  365. package/browser/cjs/C-HOJozu5NgCil1q.cjs +0 -1
  366. package/browser/cjs/C2oTW2DjZypuqq7x.cjs +0 -1
  367. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +0 -33
  368. package/browser/cjs/C9C-pr-T_ThweQX92.cjs +0 -1
  369. package/browser/cjs/CPgCih_KEqnUZ9Rv.cjs +0 -3
  370. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +0 -5
  371. package/browser/cjs/C_7w8EJZpHw8ueuq.cjs +0 -1
  372. package/browser/cjs/C_IEgjM-hSJCv6Gm.cjs +0 -1
  373. package/browser/cjs/CcneNtiqtKppCa-p.cjs +0 -57
  374. package/browser/cjs/CeF0DZ-k4DB8M47I.cjs +0 -1
  375. package/browser/cjs/Clu7XiAsCB48GDXN2.cjs +0 -1
  376. package/browser/cjs/CojEXZgX08waZOoq.cjs +0 -1
  377. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +0 -88
  378. package/browser/cjs/Cty5pi0fwToP1GWe.cjs +0 -7
  379. package/browser/cjs/CvV18ZJgssoHMkdf2.cjs +0 -2
  380. package/browser/cjs/Cy-4IMt-AbR-ifP3.cjs +0 -126
  381. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +0 -7
  382. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +0 -1
  383. package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
  384. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +0 -1
  385. package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +0 -1
  386. package/browser/cjs/DNCC-QNp2I7saV-I.cjs +0 -1
  387. package/browser/cjs/DNy-UU3NKNqQQngF.cjs +0 -1
  388. package/browser/cjs/DPjEO7dwhCFd8DHR2.cjs +0 -2
  389. package/browser/cjs/DfMJOaJ0GcUiSn4Q.cjs +0 -1
  390. package/browser/cjs/DsFZgtSQpC75d1M02.cjs +0 -1
  391. package/browser/cjs/DvSvfeo9V0Abfd3q2.cjs +0 -1
  392. package/browser/cjs/E-IqDztfMb_xdszH.cjs +0 -1
  393. package/browser/cjs/ElcoSB--cCpS6i7R2.cjs +0 -1
  394. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +0 -1
  395. package/browser/cjs/Kr8f1inOTt-MICaP2.cjs +0 -1
  396. package/browser/cjs/Kvn916ebqGc4t6hv2.cjs +0 -1
  397. package/browser/cjs/PM3PrEWG3WHKxaDx.cjs +0 -1
  398. package/browser/cjs/YG320hBA20Dl3HoU2.cjs +0 -1
  399. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +0 -1
  400. package/browser/cjs/fqTQ_p3ehzUvc1tF2.cjs +0 -1
  401. package/browser/cjs/h3dw1jAp2J5Pu4p32.cjs +0 -1
  402. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +0 -12
  403. package/browser/cjs/jev6VGWTdgEgm4Yk2.cjs +0 -1
  404. package/browser/cjs/ppSJKdLn646BZOzg.cjs +0 -1
  405. package/browser/cjs/xBcvszV6x7ys-m532.cjs +0 -1
  406. package/browser/esm/At60x9FEPePwPP_J.mjs +0 -51151
  407. package/browser/esm/B4h6iO7hQ9lCR7kj.mjs +0 -11273
  408. package/browser/esm/BBtOlJMVlsWorNJH.mjs +0 -824
  409. package/browser/esm/BQDXkeSabbxB5DUB2.mjs +0 -47
  410. package/browser/esm/BUCKq_2lHPd1ndvw.mjs +0 -149
  411. package/browser/esm/BX4f6i2WMBMKFVCq.mjs +0 -99
  412. package/browser/esm/BZsx0QHg1RZlM9ZN.mjs +0 -15
  413. package/browser/esm/BhxX7CZWSOlV2Dsz.mjs +0 -224
  414. package/browser/esm/BhzLZRz2N8RxjQ_U.mjs +0 -34
  415. package/browser/esm/BkSb_vyWe-AhyEDa.mjs +0 -4423
  416. package/browser/esm/Bp9qFBIcpIGXvMgo.mjs +0 -134
  417. package/browser/esm/C0rS1uBqfsj-gPR8.mjs +0 -152
  418. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +0 -87
  419. package/browser/esm/CGyydD3tRb0ik50l2.mjs +0 -20
  420. package/browser/esm/CY1zykikO58_ADk8.mjs +0 -3188
  421. package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +0 -238
  422. package/browser/esm/Cd8HXAJlflkkTXxc.mjs +0 -53
  423. package/browser/esm/CfuhUkrvOq11d9FR.mjs +0 -44
  424. package/browser/esm/Ckl3FLCOeqw7yhkP2.mjs +0 -82
  425. package/browser/esm/CpjX81WsWJbXMUoT.mjs +0 -3655
  426. package/browser/esm/DDOO4tcrO4OfMUDe.mjs +0 -25
  427. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +0 -538
  428. package/browser/esm/DVJd6McdAG5udItH.mjs +0 -27
  429. package/browser/esm/DVQNQmjI2PKkwiOw2.mjs +0 -514
  430. package/browser/esm/D_zNx76HGunFi7xJ.mjs +0 -509
  431. package/browser/esm/DfRGH6mEtIVDWEYN2.mjs +0 -304
  432. package/browser/esm/DnuaqN0xfgqzl8qG.mjs +0 -2687
  433. package/browser/esm/nguMxPB9LKexKBRX.mjs +0 -219
  434. package/browser/esm/qzhFT2j-mpQEQnKs.mjs +0 -16386
  435. package/cdn/assets/2UHIeioUPXrwtZy-2.js +0 -83
  436. package/cdn/assets/BAhvL7M7ZcgZ8eDc2.js +0 -48
  437. package/cdn/assets/BM7OqAUEUk-up7_82.js +0 -134
  438. package/cdn/assets/BNuoKAzs4zkxSocG2.js +0 -44
  439. package/cdn/assets/BU6uQhQhpaLElTT82.js +0 -225
  440. package/cdn/assets/BVgTMDEoPgsWFmku.js +0 -510
  441. package/cdn/assets/BWlMK76Aj2d4ygsH.js +0 -538
  442. package/cdn/assets/BZsx0QHg1RZlM9ZN2.js +0 -15
  443. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +0 -239
  444. package/cdn/assets/CGyydD3tRb0ik50l.js +0 -20
  445. package/cdn/assets/CH0of3GZTzHviuQV.js +0 -24
  446. package/cdn/assets/CH0of3GZTzHviuQV2.js +0 -24
  447. package/cdn/assets/Crkvq5j5KIa6eTLI2.js +0 -51151
  448. package/cdn/assets/Cv-KXN9kl0UeMezQ.js +0 -824
  449. package/cdn/assets/CvtkpvGzCHhNuwTm.js +0 -16386
  450. package/cdn/assets/D9gETGi23d14kT7u2.js +0 -99
  451. package/cdn/assets/D9joTG0Z2zdWHAEa2.js +0 -4423
  452. package/cdn/assets/DC9obE_EVmxtvXCf.js +0 -11275
  453. package/cdn/assets/DDNivpFWzQ3AIJia.js +0 -2687
  454. package/cdn/assets/DDOO4tcrO4OfMUDe.js +0 -25
  455. package/cdn/assets/DEUY_zuVwmptMX4l.js +0 -150
  456. package/cdn/assets/DTCtbG90ip7Z7LaG.js +0 -220
  457. package/cdn/assets/D_HeH7AJqWoxehn52.js +0 -53
  458. package/cdn/assets/DfRGH6mEtIVDWEYN.js +0 -304
  459. package/cdn/assets/WLUhtyUNK5QJ7Pff.js +0 -34
  460. package/cdn/assets/c7aIqKLOO4pvUsV12.js +0 -220
  461. package/cdn/assets/mtI43hWjdp4E3Z_-.js +0 -152
  462. package/cdn/assets/nmR_PgTW7GrlbHHZ.js +0 -27
  463. package/cdn/assets/vTCuFafvRlSaT9wy.js +0 -87
  464. /package/browser/cjs/{1XrWGMP3GmsQOMIX2.cjs → 1XrWGMP3GmsQOMIX.cjs} +0 -0
  465. /package/browser/cjs/{4nReftSsKWmnRdtf2.cjs → 4nReftSsKWmnRdtf.cjs} +0 -0
  466. /package/browser/cjs/{507hQYooKKjnRzsZ2.cjs → 507hQYooKKjnRzsZ.cjs} +0 -0
  467. /package/browser/cjs/{BAxVLKkxFgI6cXnR.cjs → BAxVLKkxFgI6cXnR2.cjs} +0 -0
  468. /package/browser/cjs/{C2uDl8VIJqh58YF_.cjs → C2uDl8VIJqh58YF_2.cjs} +0 -0
  469. /package/browser/cjs/{CV4KQsHluMqo1I2Q.cjs → CV4KQsHluMqo1I2Q2.cjs} +0 -0
  470. /package/browser/cjs/{CXlzsh_WHCOsErJ12.cjs → CXlzsh_WHCOsErJ1.cjs} +0 -0
  471. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  472. /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
  473. /package/browser/cjs/{DM7-R_ltoLbA9jde2.cjs → DM7-R_ltoLbA9jde.cjs} +0 -0
  474. /package/browser/cjs/{DNKyaSruDogoBd2H2.cjs → DNKyaSruDogoBd2H.cjs} +0 -0
  475. /package/browser/cjs/{Dx79LP1-YCQg8B87.cjs → Dx79LP1-YCQg8B872.cjs} +0 -0
  476. /package/browser/cjs/{JfM6P_qoQQTWakZf.cjs → JfM6P_qoQQTWakZf2.cjs} +0 -0
  477. /package/browser/cjs/{CbLXP9WY38wTcGn5.cjs → NcNz8RfT5V889CMT2.cjs} +0 -0
  478. /package/browser/cjs/{z_rZE1OHFPpdGBh42.cjs → z_rZE1OHFPpdGBh4.cjs} +0 -0
@@ -1 +0,0 @@
1
- const e=require("./BnccBYHCCq9TGFx4.cjs"),t=require("./bIaGoYEDSBCrAaB6.cjs"),n=require("./C6yxQPAEgcGWAhYR.cjs"),r=require("./BfzzZ9IR27ZPzj-8.cjs"),i=require("./BSCgCfORdZz1Ii5S.cjs"),a=require("./CHMgm0vAbEBS1mVW.cjs"),o=require("./CojEXZgX08waZOoq.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.A.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):(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)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??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){this._onWarning?this._onWarning(e):this._parent?this._parent?.warn?.(e):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.A.getFromPath(t,n)}setToPath(t,n,r){return e.A.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=a.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>x,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.A.roundAccurately(o.f(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),x=e=>e?.length??0,S=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},C=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=T(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.s(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.t(r.getAttribute(`d`)??``)),e.push(o.t(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.o.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.s(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.f(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.s(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.p(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.t(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.t(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.f(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.f(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.o.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.s(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.f(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.s(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.o.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.s(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.f(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.o.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.s(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.o.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.s(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.o.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.s(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.s(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.f(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.f(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.t(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.t(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.t(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.t(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.t(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.t(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.f(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.f(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.p(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.dt.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.dt.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.dt.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.dt.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.f(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.p(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=w(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.t(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.t(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.t(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.t(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.t(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.dt.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.p(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.dt.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.t(t.getAttribute(`r`)??``)+`,`+o.t(t.getAttribute(`g`)??``)+`,`+o.t(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.f(t.getAttribute(`hue`)??``)+`,`+o.t(t.getAttribute(`sat`)??``)+`,`+o.t(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}`}},w=e=>e===`circle`?`radial`:e,T=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},E=class extends C{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.i(i.getAttribute(`x`))??0,t.y=o.i(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.i(a.getAttribute(`cx`))??0,t.height=o.i(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)&&console.warn(`customGeom not supported yet`);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(e){console.warn(e)}}},D=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||(console.warn(`Uninitialized types array in ChartTypeVisitor`),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`))}},O=(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}},k=class extends C{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);i&&(this.parseTextProperties(e,i,n),new E().visit(e,i,n));let a=n.runs??[],o=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),s=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&&a.push(n)};if(o?.length!==void 0)for(let e=0;o&&e<o.length;e++)s(o.item(e));else s(o||t);a.length>0&&(n.runs=a);let c=e.evaluate(`bodyPr`,t);c&&m(c,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.Q.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)}}},A=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.o(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.Q.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.Q.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.Q.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.Q.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`),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.dt.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.dt.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:j(t.getAttribute(`left`)),top:j(t.getAttribute(`top`)),right:j(t.getAttribute(`right`)),bottom:j(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.dt.BuiltInSheetPattern.Solid:n.dt.BuiltInSheetPattern.None);if(a===n.dt.BuiltInSheetPattern.None)return{none:!0};r.type=n.dt.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.dt.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.it.Edge.Left),this.processBorderStroke(e,t,o,n.it.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.it.Edge.Vertical),this.processBorderStroke(e,t,o,n.it.Edge.Top),this.processBorderStroke(e,t,o,n.it.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.it.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.it.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}},j=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},M={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},N=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}},P=class extends N{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content)return 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)}}e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);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}},F=`richTypes`,I=`richData`,ee=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}},te=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||``}}},ne=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||``}}},re=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=E,z=class extends D{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},B=D,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){O(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`),O(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`)||(console.warn(`Uninitialized axes map in AxisVisitor`),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=k,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 E{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 k{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)}}},ie=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}},ae=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},oe=class extends C{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}},se=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.Q.getPanoseFallback(o)]),r}},ce=class extends C{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.dt.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.dt.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}},le=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}},ue=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.B.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 i.o({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.B.BuiltInOperatorNames.And:n.B.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.B.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.B.AverageType.Above:a===`belowAverage`&&(a=n.B.AverageType.Below),Object.values(n.B.AverageType).includes(a)?(i.operator=n.B.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.B.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.B.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.B.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.p(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.p(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}},de=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.p(r.getAttribute(`caseSensitive`))?n.x.CaseSensitiveOptions:n.x.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.p(r.getAttribute(`columnSort`))&&(l.axis=t.d.Axis.Column);let u=n.s.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 console.warn(`no ref for sort conditional`,e.getPath());if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.s.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.p(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 A{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.dt.Type.None},i.fills[1]={type:n.dt.Type.Pattern,patternType:n.dt.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.it.StrokeStyle.None},left:{style:n.it.StrokeStyle.None},right:{style:n.it.StrokeStyle.None},top:{style:n.it.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=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),c),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,c),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.ct.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.p(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.p(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.border=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 console.warn(`no visitor params 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.p(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.fn.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.fn.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.p(t?.getAttribute(`wrapText`)??``)?i.overflow=n.fn.Overflow.Wrap:i.overflow=n.fn.Overflow.Visible,o.p(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.fn.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.p(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.fn.ReadingDirection.Auto:a===`1`?i.readingDirection=n.fn.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.fn.ReadingDirection.RightToLeft:console.warn(`invalid readingOrder: ${a}`)),Object.keys(i).length>0&&(r.alignment=i),r}processProtection(e,t,n){if(!t)return;let r={},i=t.getAttribute(`locked`);i&&!o.p(i)&&(r.edit=!0);let a=t.getAttribute(`hidden`);return a&&o.p(a)&&(r.formulaHidden=!0),Object.keys(r).length>0&&(n.protection=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.border=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.p(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.p(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let e=0;e<l;e++){let t=c.item(e);if(t.nodeType===1&&t.localName===`tableStyleElement`){let e=t.getAttribute(`type`),n=t.getAttribute(`dxfId`),i=n==null?void 0:r?.[n];i||=(console.warn(`invalid dfx id`,n),{}),s[e]=i;let a=null;t.hasAttribute(`size`)&&(a=parseInt(t.getAttribute(`size`))),a&&!isNaN(a)&&(i.size=a)}}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.ct.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.p(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},fe=class extends A{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.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={};return this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`),e.copyFromAttribute(t,`lockStructure`,r,`structure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`lockWindows`,r,`windows`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`lockRevision`,r,`revision`,e.BOOLEAN_COPY),n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>M[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,`maxIterations`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY),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`);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)}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 e=t.getAttribute(`localSheetId`);if(!r[e]?.name)return void console.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${e}' which does not exist.`);i.scope=r[e].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)}afterVisit(e,t,n){}},pe=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),e.copyFromAttribute(t,`totalsRowShown`,r,`totalsRowShown`,e.BOOLEAN_COPY),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),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)}},me=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}},he=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}}return a?(t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),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.nn.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.s.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.o.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}},ge=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):(console.warn(`SlicerCacheDefinitionVisitor: missing tableSlicerCache element`),n)}},_e=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)}},ve=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.i(t.getAttribute(i)),s.y=o.i(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.i(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.i(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},ye=class extends N{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,s=a.length;for(let n=0;n<s;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,s=n?.getAttribute?.(`id`),c=s?parseInt(s,10):void 0,l=e.getRelationships().get(a);if(l?.target){let t=e.getFileLocation(),n=t.slice(0,t.lastIndexOf(`/`)+1);r=o.u(l.target.startsWith(`/`)?l.target:n+l.target)}i.json={xml:e.serializeElement(t)??void 0,sourceId:c===void 0||isNaN(c)?void 0:c,chartRelId:a,chartTargetPath:r}}else a&&(i.json=e.getRef(a))}catch(e){console.warn(`Unable to parse graphicFrame`,e)}}return i&&(n.content=i),i}},be=P,$=class extends N{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 console.warn(`no rId found for blip`,o);a=e.getRef(t,!0)}return n.content={type:`picture`,json:{resId:a}},r}},xe=class extends P{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}},Se=class extends P{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)}}e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);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}},Ce=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}},we=class{visit(e,t,n){let r=e.getVisitorParamsState().get(F);r||(r=[],e.getVisitorParamsState().set(F,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])}}}},Te=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(I);i||(i=[],e.getVisitorParamsState().set(I,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.o.getBuiltInByCode(e+1)??t.o.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}}}},Ee=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)}}}},De=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`ref`);e.copyFromAttribute(t,`authorId`,r,`personId`,e.INT_COPY),r.asNote=!0;let a={r:i,v:r};return n.push(a),r}},Oe=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},ke=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.d);let i=t.getAttribute(`ref`);e.copyFromAttribute(t,`personId`,r,`personId`,o.d),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.d),e.copyFromAttribute(t,`dT`,r),t.hasAttribute(`done`)&&(r.done=o.p(t.getAttribute(`done`)));let a={r:i,v:r};return n.push(a),r}},Ae=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.d),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.d),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},je=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 ee),this.registerVisitor(`cp:coreProperties`,new te),this.registerVisitor(`Properties`,new ne),this.registerVisitor(`spPr`,new R),this.registerVisitor(`txBody`,new K),this.registerVisitor(`txPr`,new K),this.registerVisitor(`c:chartSpace`,new re),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 S(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new S(`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 ie),this.registerVisitor(`c:dispUnits`,new S(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new K,`tx/rich`),this.registerVisitor(`a:theme`,new ae),this.registerVisitor(`a:theme`,new oe,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new se,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new ce,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new ue),this.registerVisitor(`sortState`,new de),this.registerVisitor(`s:workbook`,new fe),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new me),this.registerVisitor(`table`,new pe),this.registerVisitor(`externalLink`,new he),this.registerVisitor(`hlinkClick`,new le),this.registerVisitor(`wsDr`,new ve),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new ye),this.registerVisitor(`sp`,new be),this.registerVisitor(`grpSp`,new xe),this.registerVisitor(`cxnSp`,new Se),this.registerVisitor(`pic`,new $),this.registerVisitor(`metadata`,new Ce),this.registerVisitor(`rvStructures`,new we),this.registerVisitor(`rvData`,new Te),this.registerVisitor(`comments`,new Ee),this.registerVisitor(`comment`,new De),this.registerVisitor(`comment`,new K(`content`),`text`),this.registerVisitor(`ThreadedComments`,new Oe),this.registerVisitor(`threadedComment`,new ke),this.registerVisitor(`threadedComment`,new K(`content`),`text`),this.registerVisitor(`personList`,new Ae),this.registerVisitor(`slicerCacheDefinition`,new ge),this.registerVisitor(`slicers`,new _e)}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 je(n,t))}parseDxf(e,t=``){this.visitorParamsState||=new Map;let n=this.visitorParamsState,r=n.get(`processingDXFs`);n.set(`processingDXFs`,!0);try{let n=new f(null,this,`/dxf`,e,{},t),r={};return new Z().processDXF(n,e,r),r}finally{r===void 0?n.delete(`processingDXFs`):n.set(`processingDXFs`,r)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.A.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){console.warn(`Error in afterVisit: ${t.context.getPath()}`,e)}}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{console.warn(`"Invalid path '${c.path}' for '${e}'.`)}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.r,exports.VisitorUtils=p;
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs");var n=e.r(t.i(),1),r=function(){};function i(e){var t=[...arguments].slice(1);e&&e.addEventListener&&e.addEventListener.apply(e,t)}function a(e){var t=[...arguments].slice(1);e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var o=typeof window<`u`,s=o?n.useLayoutEffect:n.useEffect,c={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},l=o&&window.ResizeObserver!==void 0?function(){var e=(0,n.useState)(null),t=e[0],r=e[1],i=(0,n.useState)(c),a=i[0],o=i[1],l=(0,n.useMemo)(function(){return new window.ResizeObserver(function(e){if(e[0]){var t=e[0].contentRect,n=t.x,r=t.y,i=t.width,a=t.height,s=t.top,c=t.left,l=t.bottom,u=t.right;o({x:n,y:r,width:i,height:a,top:s,left:c,bottom:l,right:u})}})},[]);return s(function(){if(t)return l.observe(t),function(){l.disconnect()}},[t]),[r,a]}:function(){return[r,c]};Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
@@ -1 +0,0 @@
1
- const e=require("./BnccBYHCCq9TGFx4.cjs"),t=require("./bIaGoYEDSBCrAaB6.cjs"),n=require("./C6yxQPAEgcGWAhYR.cjs"),r=require("./BfzzZ9IR27ZPzj-8.cjs"),i=require("./BSCgCfORdZz1Ii5S.cjs"),a=require("./CHMgm0vAbEBS1mVW.cjs"),o=require("./CojEXZgX08waZOoq.cjs");var s=new Uint8Array,c=class e{constructor(e,t,n){this.buffers=new Map,this.zip=e,this.entries=t,this.rawBuffer=n}static normalize(e){return e.startsWith(`/`)?e.slice(1):e}static async create(t){let n=t instanceof Blob?s:t instanceof Uint8Array?t:new Uint8Array(t),r=new i.k(t instanceof Blob?new i.B(t):new i.U(n)),a=new Map;for(let e of await r.getEntries())e.directory||a.set(e.filename,e);return new e(r,a,n)}getNames(){return[...this.entries.keys()]}has(t){return this.entries.has(e.normalize(t))}uncompressedSize(t){return this.entries.get(e.normalize(t))?.uncompressedSize??0}async getBuffer(t){let n=e.normalize(t),r=this.buffers.get(n);if(r)return r;let a=this.entries.get(n);if(!a)return null;let o=await a.getData(new i.b);return this.buffers.set(n,o),o}async prefetch(e){let t=[];for(let[n,r]of this.entries)!this.buffers.has(n)&&e(n,r)&&t.push(r.getData(new i.b).then(e=>{this.buffers.set(n,e)}));await Promise.all(t)}getEntry(t){return this.buffers.get(e.normalize(t))??null}async getTextStream(t,n){let r=this.entries.get(e.normalize(t));if(!r)return null;let i=new TransformStream;r.getData(i.writable).catch(()=>{});let a=i.readable.getReader(),o=new TextDecoder(`utf-8`);return new ReadableStream({async pull(e){let{value:t,done:r}=await a.read();if(r){let t=o.decode();t&&e.enqueue(t),e.close();return}n?.(t.byteLength);let i=o.decode(t,{stream:!0});i&&e.enqueue(i)}}).getReader()}getRawEntry(t){let n=this.entries.get(e.normalize(t));if(!n||n.encrypted)return null;let r=n.offset;if(r+30>this.rawBuffer.byteLength)return null;let i=new DataView(this.rawBuffer.buffer,this.rawBuffer.byteOffset+r,30);if(i.getUint32(0,!0)!==67324752)return null;let a=r+30+i.getUint16(26,!0)+i.getUint16(28,!0),o=a+n.compressedSize;return o>this.rawBuffer.byteLength?null:{data:this.rawBuffer.subarray(a,o),compressionMethod:n.compressionMethod,signature:n.signature}}async close(){await this.zip.close()}},l=class{constructor(e){this._sink=e,this._samples=[],this._t0=u(),this._tPrev=this._t0,this._heapPrev=d()}mark(e){let t=u(),n=d(),r={label:e,tMs:t-this._t0,dtMs:t-this._tPrev,heapBytes:n,dHeapBytes:n!==void 0&&this._heapPrev!==void 0?n-this._heapPrev:void 0,rssBytes:f()};this._tPrev=t,this._heapPrev=n,this._samples.push(r),this._sink?.(r)}samples(){return this._samples}toTable(){return this._samples.map(e=>({phase:e.label,tMs:Math.round(e.tMs),dtMs:Math.round(e.dtMs),heapMB:e.heapBytes===void 0?`—`:p(e.heapBytes/1048576),dHeapMB:e.dHeapBytes===void 0?`—`:p(e.dHeapBytes/1048576),rssMB:e.rssBytes===void 0?`—`:p(e.rssBytes/1048576)}))}},u=typeof performance==`object`&&typeof performance.now==`function`?()=>performance.now():()=>Date.now();function d(){let e=typeof performance==`object`?performance.memory:void 0;if(e&&typeof e.usedJSHeapSize==`number`)return e.usedJSHeapSize;let t=globalThis.process;return typeof t==`object`&&typeof t.memoryUsage==`function`?t.memoryUsage().heapUsed:void 0}function f(){let e=globalThis.process;if(typeof e==`object`&&typeof e.memoryUsage==`function`)return e.memoryUsage().rss}function p(e){return Math.round(10*e)/10}var m=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,h=`-${m}.0-9·̀-ͯ‿-⁀`,g=(RegExp(`^[${m}]$`,`u`),RegExp(`^[${h}]$`,`u`),RegExp(`^[${m}][${h}]*$`,`u`)),_=(RegExp(`^[${h}]+$`,`u`),[32,10,13,9]);function v(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var y=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,b=`-${y}.0-9·̀-ͯ‿-⁀`;RegExp(`^[${y}]$`,`u`),RegExp(`^[${b}]$`,`u`),RegExp(`^[${y}][${b}]*$`,`u`),RegExp(`^[${b}]+$`,`u`);var x=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,S=`-${x}.0-9·̀-ͯ‿-⁀`,ee=(RegExp(`^[${x}]$`,`u`),RegExp(`^[${S}]$`,`u`),RegExp(`^[${x}][${S}]*$`,`u`));function C(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var w,T,E=function(e){return e===32||e===10||e===13||e===9},D=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},O=v,k=function(e){return v(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256},A=_,j=g,M=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},N=C,P=function(e){return C(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256},F=ee,I=`http://www.w3.org/XML/1998/namespace`,L=`http://www.w3.org/2000/xmlns/`,te={__proto__:null,xml:I,xmlns:L},R={__proto__:null,amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},z=-1,B=-2,V=13,H=33,U=10,W=60,G=61,K=62,q=63,ne=93,re=e=>e===34||e===39,ie=[34,39],ae=[...ie,91,K],oe=[...ie,W,ne],J=[G,q,...A],Y=[...A,K,38,W];function se(e,t,n){switch(t){case`xml`:n!==I&&e.fail(`xml prefix must be bound to ${I}.`);break;case`xmlns`:n!==L&&e.fail(`xmlns prefix must be bound to ${L}.`)}switch(n){case L:e.fail(t===``?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${L}.`);break;case I:switch(t){case`xml`:break;case``:e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail(`may not assign the xml namespace to another prefix.`)}}}var ce=e=>F.test(e),le=e=>j.test(e),ue={xmldecl:`xmlDeclHandler`,text:`textHandler`,processinginstruction:`piHandler`,doctype:`doctypeHandler`,comment:`commentHandler`,opentagstart:`openTagStartHandler`,attribute:`attributeHandler`,opentag:`openTagHandler`,closetag:`closeTagHandler`,cdata:`cdataHandler`,error:`errorHandler`,end:`endHandler`,ready:`readyHandler`},de=class{get closed(){return this._closed}constructor(e){this.i=0,this.prevI=0,this.opt=e??{},this.fragmentOpt=!!this.opt.fragment;let t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=N,this.nameCheck=P,this.isName=ce,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...te};let e=this.opt.additionalNamespaces;e!=null&&(function(e,t){for(let n of Object.keys(t))se(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=O,this.nameCheck=k,this.isName=le,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){this.openWakaBang=``,this.text=``,this.name=``,this.piTarget=``,this.entity=``,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=``,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:e}=this;this.state=e?V:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=[`version`],this.entityReturnState=void 0;let{defaultXMLVersion:t}=this.opt;if(t===void 0){if(!0===this.opt.forceXMLVersion)throw Error(`forceXMLVersion set but defaultXMLVersion is not set`);t=`1.0`}this.setXMLVersion(t),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(R),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[ue[e]]=t}off(e){this[ue[e]]=void 0}makeError(e){let t=this.fileName??``;return this.trackPosition&&(t.length>0&&(t+=`:`),t+=`${this.line}:${this.column}`),t.length>0&&(t+=`: `),Error(t+e)}fail(e){let t=this.makeError(e),n=this.errorHandler;if(n===void 0)throw t;return n(t),this}write(e){if(this.closed)return this.fail(`cannot write after close.`);let t=!1;e===null?(t=!0,e=``):typeof e==`object`&&(e=e.toString()),this.carriedFromPrevious!==void 0&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length,r=e.charCodeAt(n-1);!t&&(r===13||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));let{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){let e=this.chunk,t=this.i;if(this.prevI=t,this.i++,t>=e.length)return z;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||n===9)return n;switch(n){case U:return this.line++,this.column=0,this.positionAtNewLine=this.position,U;case 13:return e.charCodeAt(t+1)===U&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,B;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCode11(){let{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return z;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&n!==8232||n===9)return n;switch(n){case U:return this.line++,this.column=0,this.positionAtNewLine=this.position,U;case 13:{let n=e.charCodeAt(t+1);n!==U&&n!==133||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,B;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCodeNorm(){let e=this.getCode();return e===B?U:e}unGet(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode(),i=r===B,a=i?U:r;if(a===z||e.includes(a))return this.text+=n.slice(t,this.prevI),a;i&&(this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case B:this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i,r=U;break;case z:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===z)return this.name+=e.slice(t),z;if(!k(n))return this.name+=e.slice(t,this.prevI),n===B?U:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===z||!E(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=D,this.getCode=this.getCode10):(this.isChar=M,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case W:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case z:break;default:this.unGet(),this.state=V,this.xmlDeclPossible=!1}}sDoctype(){let e=this.captureTo(ae);switch(e){case K:this.doctypeHandler?.(this.text),this.text=``,this.state=V,this.doctype=!0;break;case z:break;default:this.text+=String.fromCodePoint(e),e===91?this.state=4:re(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(oe);e!==z&&(this.text+=String.fromCodePoint(e),e===ne?this.state=2:e===W?this.state=6:re(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case q:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===K?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(q)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===K&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;t:for(;;)switch(this.getCode()){case B:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{let n,{entityReturnState:r}=this,i=this.entity+t.slice(e,this.prevI);this.state=r,i===``?(this.fail(`empty entity name.`),n=`&;`):(n=this.parseEntity(i),this.entity=``),r===V&&this.textHandler===void 0||(this.text+=n);break t}case z:this.entity+=t.slice(e);break t}}sOpenWaka(){let e=this.getCode();if(O(e))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case q:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=V,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){let e=this.getCodeNorm();e===45?(this.state=19,this.commentHandler?.(this.text),this.text=``):(this.text+=`-${String.fromCodePoint(e)}`,this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===K?this.state=V:(this.fail(`malformed comment.`),this.text+=`--${String.fromCodePoint(e)}`,this.state=17)}sCData(){this.captureToChar(ne)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===ne?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){let e=this.getCodeNorm();switch(e){case K:this.cdataHandler?.(this.text),this.text=``,this.state=V;break;case ne:this.text+=`]`;break;default:this.text+=`]]${String.fromCodePoint(e)}`,this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===q||E(e)?(this.fail(`processing instruction without a target.`),this.state=e===q?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===z)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===q;r||E(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?H:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===q?this.state=26:E(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(q)&&(this.state=26)}sPIEnding(){let e=this.getCodeNorm();if(e===K){let{piTarget:e}=this;e.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),this.piHandler?.({target:e,body:this.text}),this.piTarget=this.text=``,this.state=V}else e===q?this.text+=`?`:(this.text+=`?${String.fromCodePoint(e)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===q?this.state=H:e!==z&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(J);if(e===q)return this.state=H,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(E(e)||e===G){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(`, `)}`)}this.state=e===G?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===q)return this.state=H,void this.fail(`XML declaration is incomplete.`);E(e)||(e!==G&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===q)return this.state=H,void this.fail(`XML declaration is incomplete.`);E(e)||(re(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,q]);if(e===q)return this.state=H,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===z)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.`),this.xmlDeclExpects=[`standalone`],this.xmlDecl.encoding=t;break;case`standalone`:t!==`yes`&&t!==`no`&&this.fail(`standalone value must match "yes" or "no".`),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name=``,this.state=32}sXMLDeclSeparator(){let e=this.getCodeNorm();e===q?this.state=H:(E(e)||(this.fail(`whitespace required.`),this.unGet()),this.state=27)}sXMLDeclEnding(){this.getCodeNorm()===K?(this.piTarget===`xml`?this.name!==`version`&&this.xmlDeclExpects.includes(`version`)&&this.fail(`XML declaration must contain a version.`):this.fail(`processing instructions are not allowed before root.`),this.xmlDeclHandler?.(this.xmlDecl),this.name=``,this.piTarget=this.text=``,this.state=V):this.fail(`The character ? is disallowed anywhere in XML declarations.`),this.xmlDeclPossible=!1}sOpenTag(){let e=this.captureNameChars();if(e===z)return;let t=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=``,this.xmlnsOpt&&(this.topNS=t.ns=Object.create(null)),this.openTagStartHandler?.(t),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail(`documents may contain only one root.`),e){case K:this.openTag();break;case 47:this.state=35;break;default:E(e)||this.fail(`disallowed character in tag name.`),this.state=36}}sOpenTagSlash(){this.getCode()===K?this.openSelfClosingTag():(this.fail(`forward-slash in opening tag not followed by >.`),this.state=36)}sAttrib(){let e=this.skipSpaces();e!==z&&(O(e)?(this.unGet(),this.state=37):e===K?this.openTag():e===47?this.state=35:this.fail(`disallowed character in attribute name.`))}sAttribName(){let e=this.captureNameChars();e===G?this.state=39:E(e)?this.state=38:e===K?(this.fail(`attribute without value.`),this.pushAttrib(this.name,this.name),this.name=this.text=``,this.openTag()):e!==z&&this.fail(`disallowed character in attribute name.`)}sAttribNameSawWhite(){let e=this.skipSpaces();switch(e){case z:return;case G:this.state=39;break;default:this.fail(`attribute without value.`),this.text=``,this.name=``,e===K?this.openTag():O(e)?(this.unGet(),this.state=37):(this.fail(`disallowed character in attribute name.`),this.state=36)}}sAttribValue(){let e=this.getCodeNorm();re(e)?(this.q=e,this.state=40):E(e)||(this.fail(`unquoted attribute value.`),this.state=42,this.unGet())}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this;for(;;)switch(this.getCode()){case e:this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text=``,this.q=null,this.state=41;return;case 38:this.text+=t.slice(n,this.prevI),this.state=14,this.entityReturnState=40;return;case U:case B:case 9:this.text+=`${t.slice(n,this.prevI)} `,n=this.i;break;case W:this.text+=t.slice(n,this.prevI),this.fail(`disallowed character.`);return;case z:this.text+=t.slice(n);return}}sAttribValueClosed(){let e=this.getCodeNorm();E(e)?this.state=36:e===K?this.openTag():e===47?this.state=35:O(e)?(this.fail(`no whitespace between attributes.`),this.unGet(),this.state=37):this.fail(`disallowed character in attribute name.`)}sAttribValueUnquoted(){let e=this.captureTo(Y);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case W:this.fail(`disallowed character.`);break;case z:break;default:this.text.includes(`]]>`)&&this.fail(`the string "]]>" is disallowed in char data.`),this.pushAttrib(this.name,this.text),this.name=this.text=``,e===K?this.openTag():this.state=36}}sCloseTag(){let e=this.captureNameChars();e===K?this.closeTag():E(e)?this.state=44:e!==z&&this.fail(`disallowed character in closing tag.`)}sCloseTagSawWhite(){switch(this.skipSpaces()){case K:this.closeTag();break;case z:break;default:this.fail(`disallowed character in closing tag.`)}}handleTextInRoot(){let{i:e,forbiddenState:t}=this,{chunk:n,textHandler:r}=this;t:for(;;)switch(this.getCode()){case W:if(this.state=15,r!==void 0){let{text:t}=this,i=n.slice(e,this.prevI);t.length===0?i.length!==0&&r(i):(r(t+i),this.text=``)}t=0;break t;case 38:this.state=14,this.entityReturnState=V,r!==void 0&&(this.text+=n.slice(e,this.prevI)),t=0;break t;case ne:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw Error(`impossible state`)}break;case K:t===2&&this.fail(`the string "]]>" is disallowed in char data.`),t=0;break;case B:r!==void 0&&(this.text+=`${n.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case z:r!==void 0&&(this.text+=n.slice(e));break t;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;t:for(;;){let i=this.getCode();switch(i){case W:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break t;case 38:this.state=14,this.entityReturnState=V,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break t;case B:n!==void 0&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case z:n!==void 0&&(this.text+=t.slice(e));break t;default:E(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){let{prefix:n,local:r}=this.qName(e),i={name:e,prefix:n,local:r,value:t};if(this.attribList.push(i),this.attributeHandler?.(i),n===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[r]=e,se(this,r,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,se(this,``,e)}}pushAttribPlain(e,t){let n={name:e,value:t};this.attribList.push(n),this.attributeHandler?.(n)}end(){this.sawRoot||this.fail(`document must contain a root element.`);let{tags:e}=this;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}this.state!==0&&this.state!==V&&this.fail(`unexpected end.`);let{text:t}=this;return t.length!==0&&(this.textHandler?.(t),this.text=``),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(e){let t=this.topNS[e];if(t!==void 0)return t;let{tags:n}=this;for(let r=n.length-1;r>=0;r--)if(t=n[r].ns[e],t!==void 0)return t;return t=this.ns[e],t===void 0?this.opt.resolvePrefix?.(e):t}qName(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qName(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let e,i,{name:a,prefix:o,local:s}=t;o===``?(e=a===`xmlns`?L:``,i=a):(e=this.resolve(o),e===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`),e=o),i=`{${e}}${s}`),r.has(i)&&this.fail(`duplicate attribute: ${i}.`),r.add(i),t.uri=e,n[a]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!1,this.openTagHandler?.(t),e.push(t),this.state=V,this.name=``}openSelfClosingTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!0,this.openTagHandler?.(t),this.closeTagHandler?.(t),(this.tag=e[e.length-1]??null)===null&&(this.closedRoot=!0),this.state=V,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=V,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-->0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag: ${t}.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}};(T=w||={}).Events={XmlDecl:`xmldecl`,Text:`text`,ProcessingInstruction:`processinginstruction`,Doctype:`doctype`,Comment:`comment`,OpenTagStart:`opentagstart`,Attribute:`attribute`,OpenTag:`opentag`,CloseTag:`closetag`,CDdata:`cdata`,Error:`error`,End:`end`,Ready:`ready`},T.parseStream=async(e,t,n)=>{let r,i=new de({position:!1,...n});t.onOpenTagStart&&i.on(w.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&i.on(w.Events.OpenTag,t.onOpenTag),t.onCloseTag&&i.on(w.Events.CloseTag,t.onCloseTag),t.onAttribute&&i.on(w.Events.Attribute,t.onAttribute),t.onText&&i.on(w.Events.Text,t.onText),t.onError&&i.on(w.Events.Error,t.onError);let a=t.onEnd;for(a&&i.on(w.Events.End,()=>{r=a()});;){let{value:t,done:n}=await e.read();if(n)break;i.write(t)}return i.close(),r};var X=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,Z=e=>{let t=parseInt(e);return isNaN(t)?null:t},Q=e=>{let t=parseFloat(e);return isNaN(t)?null:t},$=null,fe=e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),pe=e=>fe(e).replace(/"/g,`&quot;`),me=class{constructor(){this._registeredVisitors=new Map}registerVisitor(e){this._registeredVisitors.set(e.from,e)}createEventHandler(e,t,n){let r=this._registeredVisitors,i=[],a=[],o=null,s=null,c=null,l=null,u=[],d={key:null,source:e,parent:null},f=null,p=!1,m=null,h=null,g=null,_=(e,t)=>{let n=c.attributes[e];if(t){if(Array.isArray(t)){let e=t.length;for(let r=0;r<e;r++)if(n==null||(n=t[r](n),n==null))return}else if(n==null||(n=t(n),n==null))return}return n},v={getSource:()=>f?.source??null,setSource:e=>{f.source=e},setKey:e=>{f.key=e},getFrom:()=>c,getAttribute:(e,t)=>_(e,t)??null,hasAttribute:e=>v.getAttribute(e)!==null,getParent:()=>{let e=u[u.length-2];return e.parent??e.source},getPath:()=>{let e=[],t=a.length;for(let n=0;n<t;n++)e.push(a[n].local);return e.join(`\\`)},parseAttribute:_,getRawXml:()=>g,copyToObject:(e,t,n,r)=>{let i=_(r??t,n);i!==void 0&&(e[t]=i)},copyTo:(e,t,n)=>{let r=_(n??e,t);r!==void 0&&(f.source[e]=r)},warn:e=>{n?n?.(e):console.warn(e)}};return{onOpenTag:e=>{let t=e.name,n=t.indexOf(`:`);if(n!==-1&&(t=t.slice(n+1)),m)return m.push((e=>{let t=e.attributes??{},n=`<${e.name}`;for(let e in t){let r=t[e];n+=` ${e}="${pe(typeof r==`string`?r:r?.value??``)}"`}return n+`>`})(e)),o={local:t,tag:e,destination:null},a.push(o),s=t,void(c=e);let g=(i.length>0?i[i.length-1]:r).get(t);if(o={local:t,visitor:g,tag:e,destination:null},p)return a.push(o),s=t,void(c=e);l=o?.visitor??null,s=t,c=e;let _=!!g&&g.to===null;if(g&&!_&&g.scope){let e=g.scope(v);e===null?_=!0:e&&(i.push(e),o.pushedScope=!0)}g&&(a.length===0?(f=d,o.destination=f,o.pushedDestination=!0,u.push(f)):_?(f=null,o.destination=null):g.transparent?o.destination=f:(f={key:null,source:{},parent:null},o.destination=f,o.pushedDestination=!0,u.push(f))),a.push(o),p=_;let y=l?.openTag?.(v);y!==void 0&&(f.parent=y),g?.raw&&!_&&(m=[],h=o)},onCloseTag:e=>{let t=e.name,r=t.indexOf(`:`);if(r!==-1&&(t=t.slice(r+1)),t!==s)throw Error(`mismatch open/close tag: '${t}'/'${s}'`);let _=!1;if(m){if(a[a.length-1]!==h)return m.push(`</${e.name}>`),a.pop(),o=a[a.length-1]??null,s=o?.local??null,void(c=o?.tag??null);g=m.join(``),m=null,h=null,_=!0}p||l?.closeTag?.(v),_&&(g=null);let y=a.pop()??null;o=a[a.length-1]??null,y?.pushedScope&&i.pop();let b=y?.destination;if(b&&y.pushedDestination){u.pop(),f=u[u.length-1]??d;let e=y.visitor;e&&e.to&&b.source!==void 0&&(Array.isArray(e.to)?f.source.push?f.source.push(b.source):n?.(`Unable to parse array for ${e.from} at ${v.getPath()}`):b.key?f.source[b.key]=b.source:typeof e.to==`string`&&(f.source[e.to]=b.source))}s=o?.local??null,c=o?.tag??null,l=o?.visitor??null,p=!o?.destination},onText:e=>{m?m.push(fe(e)):l?.text?.(e,v)},onEnd:t}}},he=`IFERROR(${i.m}(`,ge=he.toUpperCase(),_e=i.g.toUpperCase(),ve={kind:`none`},ye={kind:`spilled`},be=(e,t)=>{if(e.charCodeAt(t)!==34)return null;let n=``,r=t+1;for(;r<e.length;)if(e.charCodeAt(r)===34){if(e.charCodeAt(r+1)!==34)return{value:n,end:r+1};n+=`"`,r+=2}else n+=e[r],r++;return null},xe=e=>{let t=[],n=0;for(;n<e.length;){let r=e.charCodeAt(n);if(r===34){let t=be(e,n);if(t===null)break;n=t.end;continue}if(!(r>=65&&r<=90||r>=97&&r<=122||r===95)){n++;continue}let i=n+1;for(;i<e.length;){let t=e.charCodeAt(i);if(!(t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===95||t===46))break;i++}e.charCodeAt(i)===40&&t.push(e.slice(n,i).toUpperCase().replace(/^_XLFN\./,``).replace(/^_XLWS\./,``)),n=i}return t},Se=e=>{let t=0,n=0;for(let r=0;r<e.length;r++){let i=e[r];if(i!==`"`&&i!==`'`){if(i===`[`)n++;else if(i===`]`)n>0&&n--;else if(n===0){if(i===`(`)t++;else if(i===`)`&&(t--,t<0))return!1}}else{for(r++;r<e.length;){if(e[r]===i){if(e[r+1]===i){r+=2;continue}break}r++}if(r>=e.length)return!1}}return t===0&&n===0},Ce=class{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}},we=(e,t,n)=>{if(e[0].value[0]===e[1].value[0])return t},Te={colStart:0,colEnd:0,rowStart:0,rowEnd:0},Ee=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},De={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`},Oe=e=>e.startsWith(`/`)?e.slice(1):e,ke=/^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i;exports.readXLSX=async(s,u)=>{let{password:d,onVBA:f,profile:p,createWorkbookOptions:m={},...h}=u??{},g=m.origin&&typeof m.origin!=`string`?m.origin:null,_=p?new l(typeof p==`function`?p:void 0):null,v=[],y=u?.progress,b=y?.onProgress?y.onProgress.bind(y):void 0,x=s.byteLength,S=0,ee=0,C=b?e=>{if(S<=0)return;ee+=e;let t=Math.min(x,Math.round(ee/S*x));b(t,x)}:void 0,T=Promise.resolve().then(()=>require("./DH3WXPfGHwWJW0nH.cjs")),E=null;try{E=new DOMParser}catch{}let D=null;try{D=new XMLSerializer}catch{}let O,k,A,j=null;E||(j=Promise.resolve().then(()=>require("./DLYEQZzAGuSAmJsp.cjs")).then(e=>a.t(e.default,1)));try{let[e,t]=await Promise.all([j,T]);O=new t.DOMTransformer,k=E??new e.DOMParser,A=D??new e.XMLSerializer}catch(e){throw Error(`Unable to load XLSX parser.`,{cause:e})}let M,N=e=>A.serializeToString(e);try{M=await c.create(s)}catch(t){throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`,{cause:t})}_?.mark(`zip-open`);try{if(!M.has(`[Content_Types].xml`))throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let a=e=>{let t=M.getEntry(e);return t?{content:t}:void 0},s={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],metadata:[],people:[],sst:``,style:``,defaults:{}};{let e=(e=>({onOpenTag:t=>{let n=(e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)})(t.name),r=t.attributes;if(n===`Override`){let t=r.ContentType,n=r.PartName;if(!t||!n)return;let i=De[t],a=i?e[i]:void 0;Array.isArray(a)&&a.push(n)}else if(n===`Default`){let t=r.Extension,n=r.ContentType;t&&(e.defaults[t.toLowerCase()]=n)}},onEnd:()=>{e.sst=e.strs.length>0?e.strs[0]:``,e.style=e.styles.length>0?e.styles[0]:``},onError:e=>{(e=>{v.push([e,`[Content_Types].xml`])})(`Error parsing content types: ${e?.message??e}`)}}))(s),t=await M.getTextStream(`[Content_Types].xml`);if(!t)throw Error(`Error parsing content types: '[Content_Types].xml'`);try{await w.parseStream(t,e,{xmlns:!1})}catch(e){throw Error(`Error parsing content types: '[Content_Types].xml'`,{cause:e})}g&&await M.getBuffer(`[Content_Types].xml`)}_?.mark(`content-types`);let c=s.sst,l=new Set;for(let e of s.sheets)l.add(Oe(e));c&&l.add(Oe(c));for(let e of l)S+=M.uncompressedSize(e);if(await M.prefetch(e=>!l.has(e)&&!ke.test(e)),_?.mark(`prefetch-side-parts`),s.workbooks.length===0){let e=o.n(`_rels/.rels`,a,k,O);if(e){for(let t of e.values())if(t.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`&&t.target){s.workbooks.push(t.target);break}}}if(s.workbooks.length===0)throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);s.richstructure=[`/xl/richData/rdrichvaluestructure.xml`],s.richdata=[`/xl/richData/rdrichvalue.xml`];let u=m?.resources??new n.A,d=u.beginPersist(),h={},ee=new Set,T=new Map;T.set(`richTypes`,[]),T.set(`parseInlineDxf`,e=>{if(!e)return;let t=k.parseFromString(`<dxf xmlns:x14="${i.z}" xmlns:xm="${i.D}">${e}</dxf>`,`text/xml`)?.documentElement;if(!t)return;let n=O.parseDxf(t);return Object.keys(n).length>0?n:void 0});let E=[];T.set(`dummyWrapped`,E);let D=o.c(`metadata`,s,a,k,O).entries().next()?.value?.[1]?.metadata;D&&T.set(`metadata`,D);let A=new Map,j=[],P=(e,t=A)=>{let n=e.lastIndexOf(`/`),r=e.substring(0,n+1)+`_rels/`+e.substring(n+1,e.length)+`.rels`,i=t.get(r);return i||(i=o.n(r,a,k,O,B),t.set(r,i)),i},F=(r,s,c,l=A)=>{let f=P(s,l).get(r),p=f?.target;if(!p)return null;if(f.targetMode===`External`){if(!c)return f.target;let e=u.add({source:{external:f.target}});return e.addReference(h),ee.add(e),d.toResourceId(e)}let m=s.lastIndexOf(`/`),g=s.substring(0,m+1);p.startsWith(`/`)||(p=g+p),p=o.u(p);let _=O?.getVisitorParamsState().get(`dxfs`),y=l.get(p);if(!y)if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`){let r={};y=r,j.push((async()=>{let a=((r,a,s,c,l,u,d,f)=>{let p=new me,m=f?.get(`parseInlineDxf`),h=new n.nn.TransposedBuilder,g=null;p.registerVisitor({from:`autoFilter`,to:`autoTable`,openTag:e=>{let t=e.getAttribute(`ref`),r=n.s.fastStringToRange(t);e.getSource().r=r,e.getSource().v={}},closeTag:e=>{let t=e.getSource(),n=t.v,r=n.hiddenButtons;if(Array.isArray(r)){let e=r.length,i=t.r,a=i.colEnd-i.colStart+1;e===0?n.hiddenButtons=!1:e===a&&(n.hiddenButtons=!0)}}}),p.registerVisitor({from:`conditionalFormatting`,to:{},openTag:e=>{let t=e.getParent();t.conditionals||=[];let n=e.getAttribute(`sqref`);n&&=n.trim().split(/\s+/).join(`,`);let r={r:n,conditionals:t.conditionals},i=e.getAttribute(`pivot`,X);i!==null&&(r.pivot=i),e.setSource(r)}}),p.registerVisitor({from:`cfRule`,to:{},openTag:e=>{let t=e.getParent();if(!t?.r)return;let n=e.getSource()??{};t.pivot!==void 0&&(n.pivot=t.pivot),t.conditionals.push({r:t.r,v:null,rule:n}),e.copyToObject(n,`type`,$),e.copyToObject(n,`priority`,Z),e.copyToObject(n,`stopIfTrue`,X);let r=e.getAttribute(`dxfId`,Z);if(r!==null){let t=c?.get(r);t||=(u?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${e.getPath()}'.`),{}),n.style=t}e.copyToObject(n,`aboveAverage`,X),e.copyToObject(n,`equalAverage`,X),e.copyToObject(n,`stdDev`,Z),e.copyToObject(n,`bottom`,X),e.copyToObject(n,`percent`,X),e.copyToObject(n,`rank`,Z),e.copyToObject(n,`operator`,$),e.copyToObject(n,`text`,$),e.copyToObject(n,`timePeriod`,$)},closeTag:e=>{let t=e.getParent();if(!t?.r)return;let n=t.conditionals[t.conditionals.length-1],r=n?.rule;if(!r)return;let a={},o=i.i(r,u);o&&(a.condition=o),r.style&&(a.style=r.style),r.scale&&(a.scale=r.scale),r.stopIfTrue&&(a.stopIfTrue=!0),r.pivot&&(a.pivot=!0),n.v=a,n.priority=r.priority,r.x14Id&&(n.x14Id=r.x14Id),delete n.rule}});let _=e=>{let t=e.conditions??[],n=[];for(let e=0;e<t.length;e++){let r=t[e],i={};r.type&&(i.type=r.type),r.value!==void 0&&(i.value=r.value),r.exclusive&&(i.exclusive=!0),n.push(i)}return n};p.registerVisitor({from:`colorScale`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t.colors??[],i=_(t);for(let e=0;e<i.length;e++)i[e].color=r[e];e.getParent().scale={type:n.G.ScaleType.ColorScale,stops:i}}}),p.registerVisitor({from:`dataBar`,to:{},openTag:e=>{e.copyTo(`maxLength`,Z),e.copyTo(`minLength`,Z),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.G.ScaleType.DataBar,stops:_(t)},i=t.colors?.[0];i&&(r.color=i),t.minLength!==void 0&&(r.minLength=t.minLength),t.maxLength!==void 0&&(r.maxLength=t.maxLength),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.G.ScaleType.IconSet,stops:_(t)};t.iconSet!==void 0&&(r.iconSet=t.iconSet),t.reverse!==void 0&&(r.reverse=t.reverse),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`formula`,to:{},text:(e,t)=>{let n=t.getParent(),r=n.formulas;r||(r=[],n.formulas=r),r.push(e)}}),p.registerVisitor({from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let r=e.getSource();t.conditions.push(r),e.copyTo(`type`,$),r.type===n.G.ColorStopType.Formula?e.copyTo(`value`,$,`val`):e.copyTo(`value`,Q,`val`),!1===e.getAttribute(`gte`,X)&&(r.exclusive=!0)}}),p.registerVisitor({from:`color`,to:{},openTag:e=>{let t=e.getParent();t.colors||=[];let n=o.o(t=>e.getAttribute(t));t.colors.push(n)}}),p.registerVisitor({from:`filterColumn`,to:{},openTag:e=>{let t=e.getParent().v,n=parseInt(e.getAttribute(`colId`)),r=e.getSource();r.index=n;let i=t.filter;i||(i={conditions:[]},t.filter=i);let a=i.conditions;if(a||(a=[],i.conditions=a),a.push(r),e.getAttribute(`hiddenButton`,X)&&t){let e=t.hiddenButtons;e||(e=[],t.hiddenButtons=e),e.push(n)}if(e.getAttribute(`showButton`,X)&&t){let e=t.showButtons;e||(e=[],t.showButtons=e),e.push(n)}return r}}),p.registerVisitor({from:`colorFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.B.BuiltInOperatorNames.Color,t.param=r,e.copyToObject(r,`cellColor`),e.copyToObject(r,`styleId`,Z,`dxfId`)}}),p.registerVisitor({from:`iconFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.B.BuiltInOperatorNames.Icon,t.param=r,e.copyToObject(r,`iconId`,Z),e.copyToObject(r,`iconSet`,$)}}),p.registerVisitor({from:`top10`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.B.BuiltInOperatorNames.TopN,t.param=r,e.copyToObject(r,`filterVal`,Q),e.copyToObject(r,`percent`,X),e.copyToObject(r,`top`,X),e.copyToObject(r,`limit`,Q,`val`)}}),p.registerVisitor({from:`dynamicFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.B.BuiltInOperatorNames.TimePeriod,t.param=r;let i=e.getAttribute(`type`);Object.values(n.B.AverageType).includes(i)?(t.operator=n.B.BuiltInOperatorNames.Average,e.copyToObject(r,`stdDevs`,Z,`val`)):e.copyToObject(r,`anchorDate`,Z,`val`),e.copyToObject(r,`operator`,$,`type`),e.copyToObject(r,`maxVal`,Q,`maxVal`)}}),p.registerVisitor({from:`filters`,to:{},openTag:e=>{let t=e.getParent(),r={};return t.operator=n.B.BuiltInOperatorNames.InSet,t.param=r,e.copyToObject(r,`blank`,X),e.copyToObject(r,`calendarType`,$),r}}),p.registerVisitor({from:`filter`,openTag:e=>{let t=e.getParent(),n=t.items;n||(n=[],t.items=n),n.push(e.getAttribute(`val`,$))}}),p.registerVisitor({from:`dateGroupItem`,to:{},openTag:e=>{let t=e.getParent(),n=t.dateGroups;n||(n=[],t.dateGroups=n),n.push(e.getSource()),e.copyTo(`group`,$,`dateTimeGrouping`),e.copyTo(`day`,Z),e.copyTo(`hour`,Z),e.copyTo(`minute`,Z),e.copyTo(`month`,Z),e.copyTo(`second`,Z),e.copyTo(`year`,Z)}}),p.registerVisitor({from:`customFilters`,openTag:e=>{let t=e.getParent(),r=e.getAttribute(`and`),i=r===`and`||r===`1`,a=[];return t.operator=i?n.B.BuiltInOperatorNames.And:n.B.BuiltInOperatorNames.Or,t.param=a,e.setSource(t),a},closeTag:e=>{let t=e.getSource(),n=t?.param;if(n?.length!==1)return;let r=n[0];t.operator=r.operator,t.param=r.param}}),p.registerVisitor({from:`customFilter`,openTag:e=>{let t,n=e.getParent();Array.isArray(n)?(t={},n.push(t)):t=n;let r=i.o({operator:e.getAttribute(`operator`),val:e.getAttribute(`val`)});r&&(t.operator=r.operator,t.param=r.param)}}),p.registerVisitor({from:`sortState`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;n&&(n.sort={},e.setSource(t))}}),p.registerVisitor({from:`sortCondition`,to:{},openTag:e=>{let t=e.getParent(),r=t.v;if(!r)return;let i=r.sort;if(!i)return;let a=i.sorts;a||(a=[],i.sorts=a);let o=e.getAttribute(`ref`),s=0;if(o){let e=n.s.fastStringToRange(o,Te).colStart,r=t.r,i=r.colStart;s=r?e-i:e}let c={};e.copyToObject(c,`sortOn`,$,`sortBy`),e.copyToObject(c,`dxfId`,$,`sortBy`),e.copyToObject(c,`iconSet`,$),e.copyToObject(c,`customList`,$),c.reverse=e.getAttribute(`descending`,X)??!1;let l={index:s,criteria:c};a.push(l)}}),p.registerVisitor({from:`AlternateContent`,to:null});let v=e=>{g=e.getSource(),e.copyTo(`topLeft`,$,`topLeftCell`);let t=o.p(e.getAttribute(`defaultGridColor`)),n=e.getAttribute(`colorId`);n===null||t||(e.getSource().gridLineColor=`index`+parseFloat(n)),e.copyTo(`showZeros`,X),e.copyTo(`showFormulas`,X),e.copyTo(`zoomScale`,Z),e.copyTo(`showRowHeaders`,X,`showRowColHeaders`),e.copyTo(`showColumnHeaders`,X,`showRowColHeaders`),e.copyTo(`showRowGridlines`,X,`showGridLines`),e.copyTo(`showColumnGridlines`,X,`showGridLines`),e.copyTo(`rightToLeft`,X)};p.registerVisitor({from:`sheetView`,to:`view`,openTag:e=>{v(e)},closeTag:()=>{g=null}}),p.registerVisitor({from:`customSheetViews`,to:`customSheetViews`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`customSheetView`,to:[],openTag:e=>{v(e)},closeTag:()=>{g=null}}),p.registerVisitor({from:`selection`,to:`selection`,openTag:e=>{if(!g)return;e.copyTo(`cell`,$,`activeCell`),e.copyTo(`rangeIndex`,Z,`activeCellId`);let t=e.getAttribute(`activeCell`),n=e.getAttribute(`sqref`);n&&n!==t&&(e.getSource().ranges=n.trim().split(/\s+/))}}),p.registerVisitor({from:`pane`,to:null,openTag:e=>{if(g&&e.getAttribute(`state`)===`frozen`){let t={};g.freezePanes=t,e.copyToObject(t,`topLeft`,$,`topLeftCell`);let r=(g.topLeft?n.s.fastStringToCell(g.topLeft):void 0)??{colIndex:0,rowIndex:0},i={colIndex:0,rowIndex:0};e.copyToObject(i,`colIndex`,Z,`xSplit`),e.copyToObject(i,`rowIndex`,Z,`ySplit`);let a={colIndex:r.colIndex+i.colIndex,rowIndex:r.rowIndex+i.rowIndex};t.coords=n.s.cellToString(a)}}}),p.registerVisitor({from:`tabColor`,to:null,openTag:e=>{let t=o.o(t=>e.getAttribute(t));t&&(r.tabColor=t)}}),p.registerVisitor({from:`pageSetUpPr`,to:`pageSetUpPr`,openTag:e=>{}}),p.registerVisitor({from:`outlinePr`,to:`outlinePr`,openTag:e=>{}}),p.registerVisitor({from:`pageMargins`,to:`pageMargins`,openTag:e=>{e.copyTo(`bottom`,Q),e.copyTo(`footer`,Q),e.copyTo(`header`,Q),e.copyTo(`left`,Q),e.copyTo(`right`,Q),e.copyTo(`top`,Q),e.copyTo(`bottom`,Q)}}),p.registerVisitor({from:`pageSetup`,to:`pageSetup`,openTag:e=>{e.copyTo(`blackAndWhite`,X),e.copyTo(`cellComments`),e.copyTo(`copies`,Z),e.copyTo(`draft`,X),e.copyTo(`errors`),e.copyTo(`firstPageNumber`,Z),e.copyTo(`fitToHeight`,Z),e.copyTo(`fitToWidth`,Z),e.copyTo(`horizontalDpi`,Z),e.copyTo(`orientation`),e.copyTo(`pageOrder`),e.copyTo(`paperSize`,Z),e.copyTo(`scale`,Z),e.copyTo(`useFirstPageNumber`,X),e.copyTo(`usePrinterDefaults`,X),e.copyTo(`verticalDpi`,Z)}}),p.registerVisitor({from:`printOptions`,to:`printOptions`,openTag:e=>{e.copyTo(`gridLines`,X),e.copyTo(`gridLinesSet`,X),e.copyTo(`headings`,X),e.copyTo(`horizontalCentered`,X),e.copyTo(`verticalCentered`,X)}}),p.registerVisitor({from:`headerFoot`,to:`headerFoot`,openTag:e=>{}}),p.registerVisitor({from:`mergeCells`,to:`merges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`dataValidations`,to:`validations`,openTag:e=>{e.setSource([])}});let y={from:`dataValidation`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n,rule:{type:e.getAttribute(`type`)??void 0,operator:e.getAttribute(`operator`)??void 0}};!0===e.getAttribute(`showDropDown`,X)&&(n.hideDropdown=!0),e.copyToObject(n,`alert`,$,`error`),e.copyToObject(n,`alertTitle`,$,`errorTitle`),e.copyToObject(n,`showAlertMessage`,X,`showErrorMessage`),n.alertStyle=e.getAttribute(`errorStyle`)??`stop`,e.copyToObject(n,`imeMode`),e.copyToObject(n,`prompt`),e.copyToObject(n,`promptTitle`),e.copyToObject(n,`showPromptMessage`,X,`showInputMessage`),e.setSource(r)},closeTag:e=>{let t=e.getSource();if(!t?.rule)return;let n=i.S(t.rule,u);n&&(e.getAttribute(`allowBlank`,X)&&(n.includeBlanks=!0),t.v.condition=n),delete t.rule}};p.registerVisitor(y),p.registerVisitor({from:`formula1`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula1=i.j(e,n.type))}}),p.registerVisitor({from:`formula2`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula2=i.j(e,n.type))}}),p.registerVisitor({from:`picture`,to:`picture`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=a(t,!0);e.getSource().resId=n}});let b={from:`slicer`,to:{},openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=a(t)?.slicers,r=e.getParent();r.slicers||={};let i=Object.keys(n);for(let e of i)r.slicers[e]=n[e]}};p.registerVisitor(b);let x=(e,t)=>({from:e,to:{},openTag:e=>{e.setSource(``)},text:(e,t)=>{t.setSource((t.getSource()??``)+e)},closeTag:e=>{t(String(e.getSource()??``),e)}}),S=new Map;S.set(`dataValidations`,{from:`dataValidations`,to:`validations`,openTag:e=>{let t=e.getParent();e.setSource(t.validations??[])},closeTag:e=>{(e.getSource()?.length??0)===0&&e.setSource(void 0)}}),S.set(`dataValidation`,{...y,closeTag:e=>{y.closeTag(e);let t=e.getSource();t&&!t.r&&(e.warn(`x14 dataValidation with no xm:sqref was dropped.`),e.setSource(void 0))}});let ee=e=>({from:e,to:{},openTag:t=>{t.setSource({rule:t.getParent()?.rule,key:e})}});S.set(`formula1`,ee(`formula1`)),S.set(`formula2`,ee(`formula2`)),S.set(`f`,x(`f`,(e,t)=>{let n=t.getParent(),r=n?.rule;r&&(r[n.key]=i.j(e,r.type))})),S.set(`sqref`,x(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.r=r.split(/\s+/).join(`,`))}));let C=new Map,w=[],T=new Map;T.set(`conditionalFormattings`,{from:`conditionalFormattings`,transparent:!0}),T.set(`conditionalFormatting`,{from:`conditionalFormatting`,to:{},openTag:e=>{e.setSource({rules:[]})},closeTag:e=>{let t=e.getSource(),n=t?.rules??[];for(let e=0;e<n.length;e++){let r=n[e];r.sqref=t.sqref,r.id?C.set(r.id,r):w.push(r)}}}),T.set(`cfRule`,{from:`cfRule`,to:{},openTag:e=>{e.copyTo(`id`,$),e.copyTo(`type`,$),e.copyTo(`priority`,Z),e.copyTo(`stopIfTrue`,X),e.copyTo(`operator`,$),e.copyTo(`text`,$),e.copyTo(`timePeriod`,$),e.copyTo(`aboveAverage`,X),e.copyTo(`equalAverage`,X),e.copyTo(`stdDev`,Z),e.copyTo(`bottom`,X),e.copyTo(`percent`,X),e.copyTo(`rank`,Z)},closeTag:e=>{let t=e.getSource();t&&e.getParent()?.rules?.push(t)}}),T.set(`sqref`,x(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.sqref=r)})),T.set(`dataBar`,{from:`dataBar`,to:{},openTag:e=>{e.copyTo(`minLength`,Z),e.copyTo(`maxLength`,Z),e.copyTo(`gradient`,X),e.copyTo(`border`,X),e.copyTo(`direction`,$),e.copyTo(`axisPosition`,$),e.copyTo(`negativeBarColorSameAsPositive`,X),e.copyTo(`negativeBarBorderColorSameAsPositive`,X)},closeTag:e=>{e.getParent().dataBar=e.getSource()}}),T.set(`iconSet`,{from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`custom`,X),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{e.getParent().iconSet=e.getSource()}});let E=new Map;E.set(`f`,x(`f`,(e,t)=>{let n=t.getParent();if(!n)return;let r=e.trim(),i=Number(r);n.value=r.length>0&&Number.isFinite(i)?i:e})),T.set(`cfvo`,{from:`cfvo`,to:{},scope:()=>E,openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),!1===e.getAttribute(`gte`,X)&&(n.exclusive=!0)}}),T.set(`f`,x(`f`,(e,t)=>{let n=t.getParent();n&&(n.formulas??=[]).push(e)})),T.set(`dxf`,{from:`dxf`,to:{},raw:!0,closeTag:e=>{if(!m)return;let t=e.getParent();if(!t)return;let n=m(e.getRawXml()??``);n&&(t.style=n)}});let D=e=>({from:e,to:{},openTag:t=>{let n=o.o(e=>t.getAttribute(e));n&&(t.getParent()[e]=n)}});T.set(`borderColor`,D(`borderColor`)),T.set(`negativeFillColor`,D(`negativeFillColor`)),T.set(`negativeBorderColor`,D(`negativeBorderColor`)),T.set(`axisColor`,D(`axisColor`)),T.set(`cfIcon`,{from:`cfIcon`,to:{},openTag:e=>{let t=e.getAttribute(`iconSet`),n=e.getAttribute(`iconId`,Z);if(t===null||n===null)return;let r=e.getParent();r.icons||=[],r.icons.push({set:t,id:n})}});let O=new Map;O.set(`id`,x(`id`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.x14Id=r)}));let k=new Map;k.set(`slicerList`,{from:`slicerList`,transparent:!0}),k.set(`slicer`,b);let A=new Map([[i.L(i._),S],[i.L(i.P),T],[i.L(i.H),T],[i.L(i.y),O],[i.L(i.A),k],[i.L(i.K),k]]),j=new Set;p.registerVisitor({from:`extLst`,transparent:!0}),p.registerVisitor({from:`ext`,transparent:!0,scope:e=>{let t=e.getAttribute(`uri`),n=i.L(t),r=A.get(n);if(r)return r;if(!i.w.has(n)&&!j.has(n)){j.add(n);let r=i.x[n];e.warn(r?`Extension content '${r}' (${t}) is not read; it will be lost on resave.`:`Unknown extension content (uri ${t}) is not read; it will be lost on resave.`)}return null}}),p.registerVisitor({from:`mergeCell`,to:[],openTag:e=>{let t=e.getAttribute(`ref`);e.setSource(t)}}),p.registerVisitor({from:`hyperlinks`,to:`hyperlinks`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`hyperlink`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`),n=e.getAttribute(`ref`);if(!n)return void console.warn(`No ref found for hyperlink`);e.setKey(n);let r=t?a(t):``;if(typeof r!=`string`)return void console.warn(`Invalid address `,r);r.endsWith(`\\`)&&(r=r.substring(0,r.length-1));let i=e.getAttribute(`location`);if(i&&(r+=`#`+i),!r)return void console.warn(`No address found for hyperlink. r:id`,t);let o,s=e.getAttribute(`tooltip`);o=s?{address:r,screenTip:s}:r,e.setSource({r:n,v:o})}}),p.registerVisitor({from:`drawing`,to:`movables`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=a(t);n?e.setSource(n.movables):console.warn(`no drawing found for rId`,t)}}),p.registerVisitor({from:`tableParts`,to:`tables`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`tablePart`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=a(t);n?e.setSource(n):console.warn(`no table found for rId`,t)}});let M=(e,t)=>{t.conditions?.length&&(e.stops=_(t)),t.minLength!==void 0&&(e.minLength=t.minLength),t.maxLength!==void 0&&(e.maxLength=t.maxLength),(t.gradient??1)&&(e.gradient=!0),t.border&&t.borderColor&&(e.borderColor=t.borderColor),!t.negativeBarColorSameAsPositive&&t.negativeFillColor&&(e.negativeFillColor=t.negativeFillColor),!(t.negativeBarBorderColorSameAsPositive??1)&&t.negativeBorderColor&&(e.negativeBorderColor=t.negativeBorderColor),t.axisColor&&(e.axisColor=t.axisColor),t.axisPosition!==`middle`&&t.axisPosition!==`none`||(e.axisPosition=t.axisPosition),t.direction!==`leftToRight`&&t.direction!==`rightToLeft`||(e.direction=t.direction)},N=(e,t)=>{t.conditions?.length&&(e.stops=_(t)),t.iconSet&&t.iconSet!==e.iconSet&&(e.iconSet=t.iconSet),t.icons?.length&&(e.icon=t.icons),t.reverse!==void 0&&(e.reverse=t.reverse),t.showValue!==void 0&&(e.showValue=t.showValue)},P=e=>{if(!e.sqref)return null;let t=e.sqref.split(/\s+/).join(`,`);if(e.type===`iconSet`){if(!e.iconSet)return null;let r={type:n.G.ScaleType.IconSet,stops:[]};return N(r,e.iconSet),{r:t,v:{scale:r},priority:e.priority}}let r=i.i(e,u);if(!r)return null;let a={condition:r};return e.style&&(a.style=e.style),e.stopIfTrue&&(a.stopIfTrue=!0),{r:t,v:a,priority:e.priority}};p.registerVisitor({from:`worksheet`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t?.conditionals;if(r)for(let e=0;e<r.length;e++){let t=r[e],i=t.x14Id;if(!i)continue;delete t.x14Id;let a=C.get(i);if(!a)continue;C.delete(i);let o=t.v?.scale;a.dataBar&&o?.type===n.G.ScaleType.DataBar?M(o,a.dataBar):a.iconSet&&o?.type===n.G.ScaleType.IconSet&&N(o,a.iconSet)}let i=[...C.values(),...w],a=new Set,o=0;for(let e=0;e<i.length;e++){let n=P(i[e]);n?(r||(r=[],t.conditionals=r),r.push(n)):(a.add(i[e].type??`unknown`),o++)}if(o>0){let e=[...a].map(e=>`'${e}'`).join(`, `);u?.(o===1?`An x14-only conditional formatting rule (type ${e}) is not read and will be lost on resave.`:`${o} x14-only conditional formatting rules (types ${e}) are not read and will be lost on resave.`)}if(r){r.length>1&&r.sort((e,t)=>(e.priority??1/0)-(t.priority??1/0));for(let e=0;e<r.length;e++)delete r[e].priority}}}),p.registerVisitor({from:`customProperties`,to:`customProperties`,openTag:e=>{e.setSource([])},closeTag:e=>{let t=e.getSource();t.length>0&&(e.getParent().customProperties=t)}}),p.registerVisitor({from:`customPr`,to:{},openTag:e=>{let t=e.getParent();e.copyTo(`name`);let n=e.getAttribute(`r:id`);if(!n)return void console.warn(`no rId found for customProperties`,e.getPath());let r=a(n,!0),i=e.getSource();i.resId=r,t.push(i)}}),p.registerVisitor({from:`sheetProtection`,to:`protection`,openTag:e=>{let t=!1;if(e.hasAttribute(`sheet`)&&X(e.getAttribute(`sheet`))&&(t=!0),!t)return void e.setSource(void 0);let n=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null;e.copyTo(`autoTable`,n),e.copyTo(`deleteColumns`,n),e.copyTo(`formatCells`,n),e.copyTo(`formatColumns`,n),e.copyTo(`formatRows`,n),e.copyTo(`insertColumns`,n),e.copyTo(`insertHyperlinks`,n),e.copyTo(`insertRows`,n),e.copyTo(`objects`,n),e.copyTo(`pivotTables`,n),e.copyTo(`scenarios`,n),e.copyTo(`selectLockedCells`,n),e.copyTo(`selectUnlockedCells`,n),e.copyTo(`sort`,n);let r={};e.copyToObject(r,`hash`,$,`hashValue`),e.copyToObject(r,`algorithm`,$,`algorithmName`),e.copyToObject(r,`salt`,$,`saltValue`),e.copyToObject(r,`spinCount`,Z),Object.keys(r).length>0&&(e.getSource().password=r)}}),p.registerVisitor({from:`protectedRanges`,to:`protectedRanges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`protectedRange`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n};e.copyToObject(n,`name`),e.copyToObject(n,`securityDescriptor`);let i={};e.copyToObject(i,`hash`,$,`hashValue`),e.copyToObject(i,`algorithm`,$,`algorithmName`),e.copyToObject(i,`salt`,$,`saltValue`),e.copyToObject(i,`spinCount`,Z),Object.keys(i).length>0&&(n.password=i),e.setSource(r)},closeTag:e=>{let t=e.getSource();t?.r&&t.v.name||e.setSource(void 0)}}),p.registerVisitor({from:`sheetFormatPr`,to:`sheetFormatPr`,openTag:e=>{e.copyToObject(r,`defaultColSize`,Q,`defaultColWidth`),e.copyToObject(r,`outlineLevelCol`,Z,`outlineLevelCol`);let t=e.getAttribute(`customHeight`);t!==`1`&&t!==`true`||e.copyToObject(r,`defaultRowSize`,Q,`defaultRowHeight`),e.copyToObject(r,`outlineLevelRow`,Z,`outlineLevelRow`)}}),p.registerVisitor({from:`cols`,to:`cols`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`col`,to:[],openTag:e=>{let t=e.getSource(),r=e.getAttribute(`min`),i=e.getAttribute(`max`),a=r===void 0?0:parseInt(r)-1,o=i===void 0?a:parseInt(i)-1;t.r=n.s.runToString(a,o,!0);let s={};t.v=s,e.copyToObject(s,`sz`,Q,`width`),e.copyToObject(s,`csz`,X,`customWidth`),e.copyToObject(s,`h`,X,`hidden`),e.copyToObject(s,`l`,Z,`outlineLevel`),e.copyToObject(s,`s`,Z,`style`)}}),p.registerVisitor({from:`oleObjects`,to:null,openTag:e=>{e.warn(`'OLE Objects' are not supported.`)}});let F=!1,I=!1,L=0,te=``,R=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)};return((r,i,a,o,s,c,l)=>{let u=!1,d=!1,f=[],p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=l?.get(`richData`)??e.A.EmptyArray,x=l?.get(`dummyWrapped`)??null,S=n.s.normalizeA1ToR1C1,ee=e.l.createConflatingRanges(),C=new Map,w=[],T=!1,E=!1,D=null,O=!1,k=e.l.createConflatingRanges(),A=!1,j=-1,M=-1,N=null,P=null,F=null,I=[],L=null,te=-2,R=0,z=``,B=``,V=``,H=``,U=``,W=``,G=``,K=``,q=``,ne=``,re=``,ie=``,ae=``,oe=``,J=!0,Y=null,se=!1,ce=!1,le=null,ue=0;return{...a,onEnd:()=>{I.length>0&&(i.rows=n.s.runsToRefs(I,!1));let o=ee.done(we),s=o.length;if(s>0){let e=new Set;for(let t=0;t<w.length;t++)e.add(w[t][0].split(`:`)[0]);let t=Array(s);for(let r=0;r<s;r++){let i=o[r],a=n.s.rangeToString(i),s=i.value[1],c=n.s.resolveRelativeToA1(s,i.rowStart,i.colStart);c&&!e.has(a.split(`:`)[0])&&Se(c)&&(c=`__sxl.INTERSECT(${c})`),t[r]=[a,c]}i.formulas=t}let c=k.done(!0),l=c.length;if(l>0){let e=Array(l);for(let t=0;t<l;t++){let r=c[t];e[t]=n.s.rangeToString(r)}i.volatile=e}w.length>0&&(i.formulaArray=[...w]);let u=f.length;if(u>0){f.sort(e.l.createRangeComparator(t.d.Axis.Column));let r=f[0],a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value,l=[];l.push(r);let d=null;for(let e=1;e<u;e++)d=f[e],c!==d.value||a!==d.colStart||o!==d.colEnd||s+1!==d.rowEnd?(l.push(d),r=d,a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value):(s=d.rowEnd,r.rowEnd=s);let p=l.length,m=Array(p);for(let e=0;e<p;e++){let t=l[e];m[e]=[n.s.rangeToString(t),t.value]}i.directStyles=m}let d=r.build();d&&(i.data=d.tuples),a?.onEnd?.()},onOpenTag:e=>{let r=e.name,o=r.indexOf(`:`);if(o!==-1&&(r=r.slice(o+1)),ue++,ue%196608==0&&s?.(ue),P){let t=e.attributes;switch(r){case`v`:d=!0;break;case`f`:switch(p=!0,t.t??null){case null:case`normal`:break;case`shared`:let e=t.si;h=t.ref,m=e;break;case`array`:h=t.ref,D=h;break;case`datatable`:h=t.ref,p=!0}let e=t.ca;e!==void 0&&(O=e===`1`);break;case`is`:A=!0;return}A&&!p&&c?.onOpenTag?.(e);return}if(u){if(r===`c`){P=e;let r=e.attributes,i=r.r;M=n.s.fastStringToCol(i);let a=r.t;a===void 0?F=null:(F=a,F===`str`&&(A=!0));let o=r.s;o===void 0&&(le!==null||ce)&&(o=`0`),o!==void 0&&(o=parseInt(o),Y&&Y.value===o&&Y.colEnd+1===M?Y.colEnd=M:(Y={colStart:M,rowStart:j,colEnd:M,rowEnd:j,value:o},f.push(Y))),D=null,E=!1;let s=r.cm;T=s!==void 0&&(e=>{let t=l?.get(`metadata`)?.cells;if(!t)return!1;let n=parseInt(e,10);return!(!Number.isFinite(n)||n<1)&&!0===t[n-1]?.get(`XLDAPR`)?.fDynamic})(s);let c=r.vm;if(c!==void 0){let e=b[parseInt(c)-1];if(t.o.isError(e)){let n=e.getCode();N={t:`e`,v:n},T&&n===t.o.Code.Spill&&(E=!0)}}}}else{if(r===`row`){u=!0;let t=e.attributes.r;if(j=parseInt(t)-1,R=0,B=e.attributes.customHeight,B!==void 0&&(R|=Ce.CustomHeight),B!==q&&(J=!0,q=B),z=e.attributes.ht,z!==void 0&&(R|=Ce.Ht),z!==K&&(J=!0,K=z),V=e.attributes.hidden,V!==void 0&&(R|=Ce.Hidden),V!==ne&&(J=!0,ne=V),U=e.attributes.s,U!==void 0&&(R|=Ce.S),U!==ie&&(J=!0,ie=U),H=e.attributes.customFormat,H!==void 0&&(R|=Ce.CustomFormat),H!==re&&(J=!0,re=H),W=e.attributes.outlineLevel,W!==void 0&&(R|=Ce.OutlineLevel),W!==ae&&(J=!0,ae=W),G=e.attributes.collapsed,G!==void 0&&(R|=Ce.Collapsed),G!==oe&&(J=!0,oe=G),R!==0)if(te+1!==j||J){let e=B!==void 0&&(B===`1`||B===`true`),t=H!==void 0&&(H===`1`||H===`true`);le=t&&U!==void 0?U:null,t&&le===null&&(le=`0`),L={min:j,max:j,value:{sz:z===void 0?-1:parseFloat(z),csz:e,h:V!==void 0&&(V===`1`||V===`true`),s:le===null?void 0:le===`0`?0:parseInt(le),l:W===void 0||W===`0`?0:parseInt(W),cl:G!==void 0&&(G===`1`||G===`true`)}},I.push(L)}else L.max=j;te=j,J=!1;return}if(!se&&r===`sheetData`){se=!0;let e=i.cols,t=e?e.length:0;for(let n=0;!ce&&n<t;n++)e[n].v.s&&(ce=!0)}a?.onOpenTag?.(e)}},onCloseTag:e=>{let t=e.name;if(!p||t!==`c`&&t!==`f`||(m&&(_=C.get(m)??null),_&&(ee.append(j,M,_),O&&k.append(j,M)),D!==null&&w.push([D,T?E?`dynamicSpillError`:`dynamic`:`static`]),p=!1,_=null,m=null,h=null,d=!1,O=!1,D=null,T=!1,E=!1),P){let n=t.indexOf(`:`);if(n!==-1&&(t=t.slice(n+1)),A)if(t===`is`||t===`v`){let e=c?.onEnd?.();e!=null&&r.pushAt(j,M,``+e)}else t!==`f`&&c?.onCloseTag?.(e);d&&=!1,t===`c`&&(P=null,A=!1);return}if(u)return u=!1,void(Y=null);a?.onCloseTag?.(e)},onText:e=>{let s=e.trim();if(d){switch(N=null,F){case null:case`n`:N=parseFloat(s);break;case`b`:N=s===`1`||s===`true`;break;case`s`:N=s;break;case`e`:if(s===`#VALUE!`){let e=P.attributes.vm;if(e!==void 0){let n=b[parseInt(e)-1];if(t.o.isError(n)){N={t:`e`,v:n.getCode()};break}}}let e=t.o.getBuiltInByLabel(s);e?N={t:`e`,v:e.getCode()}:(N=s,o?.(`Unknown formula error '${s}' in cell ${n.s.cellToString({colIndex:M,rowIndex:j})}`));break;case`str`:case`inlineStr`:A=!0}N!==null&&r.pushAt(j,M,N)}if(m){if(v===m)_=y;else{if(_=C.get(m)??null,!_){let e=[];g=S(s,j,M,e),_=[g,e,s],C.set(m,_)}v=m,y=_}m=null}if(p){if(x!==null){let e=(e=>{if(e.length<he.length||e.slice(0,he.length).toUpperCase()!==ge)return ve;let t=be(e,he.length);if(t===null||e.charCodeAt(t.end)!==41||e.charCodeAt(t.end+1)!==44||e.charCodeAt(e.length-1)!==41)return ve;let n=t.value;return n.toUpperCase()===_e?ye:n.length===0?ve:{kind:`formula`,formula:n}})(s);e.kind!==`none`&&x.push({sheet:i,rowIndex:j,colIndex:M,formula:e.kind===`formula`?e.formula:null})}let e=[];g=S(s,j,M,e),_=[g,e,s]}A?c?.onText?.(e):u||a?.onText?.(s)}}})(h,r,p.createEventHandler(r,()=>{},u),u,void 0,{onOpenTag:e=>{F=!0;let t=R(e.name);t===`t`||t===`v`?L===0&&(I=!0):t!==`rPh`&&t!==`phoneticPr`||L++},onText:e=>{I&&(te+=e)},onCloseTag:e=>{let t=R(e.name);t===`t`||t===`v`?I=!1:t!==`rPh`&&t!==`phoneticPr`||L>0&&L--},onEnd:()=>{if(!F)return;let e=s(i.V(te));return F=!1,I=!1,L=0,te=``,e},onError:e=>{}},f)})(r,(e,t=!1)=>F(e,p,t)??null,G,_,0,(e,t)=>{let n=t?`${t} (${p})`:p;v.push([e,n])},0,T),s=await M.getTextStream(p,C);if(s)try{await w.parseStream(s,a,{xmlns:!1})}catch(e){throw console.warn(`Error parsing sheet: '${p}'`,e),Error(`Error parsing sheet: '${p}'`,{cause:e})}let c,u=P(p,l),d=new Map;if(u){let t;if(u.forEach((e,t)=>{e.type===`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`&&(c=F(t,p,!1,l)?.comments,c&&c.forEach(e=>{let t=e.v;d.set(t.id,e)}))}),u.forEach((e,n)=>{e.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`&&(t=F(n,p,!1,l))}),t||c){let n=c??[],i=t?.authors,a=t?.comments,s=a?a.length:0;if(a)for(let t=0;t<s;t++){let r=a[t];if(!r)continue;let s=r.v,c=i&&s.personId!==void 0?i[s.personId]:s.personId;if(c&&c.startsWith(`tc=`)&&(c=o.d(c.substring(3)),d.has(c)))continue;let l=z({displayName:c}),u={id:e.A.uuidV4(),personId:l.id,done:!1,asNote:!0,content:s.content};n.push({r:r.r,v:u})}r.comments=n}}})())}else if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`){let e=o.a(p,a,k,O,B);if(e&&Object.keys(e).length!==0){let t=e,n=[];P(p,l)?.forEach(e=>{e.targetMode===`External`&&e.type&&e.target&&n.push({type:e.type,target:e.target})}),t.identity=n,y=t}else y=null}else y=c?o.l(p,a,(e,t)=>{let n=u.add({source:{buffer:e}});return n.addReference(h),ee.add(n),d.toResourceId(n)},B):o.a(p,a,k,O,B);return y};o.c(`coreprops`,s,a,k,O),o.c(`extprops`,s,a,k,O);let I=new Map,L=new Map,te=o.c(`people`,s,a,k,O),R=null;if(te.size>0&&(R=te.entries().next()?.value?.[1]?.persons,R)){let e=R.length;for(let t=0;t<e;t++){let e=R[t];I.set(e.id,e),e.displayName!==void 0&&L.set(e.displayName,e)}}let z=t=>{if(!t)return;if(t.id&&I.has(t.id))return I.get(t.id);let n=t.displayName;if(!t.id){if(n){let e=L.get(n);if(e)return e}t.id=e.A.uuidV4()}let r=I.get(t.id);if(r)return r;let i=t;return I.set(t.id,i),n&&L.set(n,i),R||=[],R.push(i),i},B={paramMap:T,getRefs:P,getRef:F,parsedRefs:A,addPerson:z,serializeElement:N},V=[];if(c){let e=await M.getTextStream(c,C);if(e){let t=(()=>{let e=!1,t=!1,n=0,r=``;return{onOpenTag:i=>{let a=Ee(i.name);a===`t`?e&&n===0&&(t=!0):a===`si`?(e=!0,r=``,n=0):a!==`rPh`&&a!==`phoneticPr`||n++},onText:e=>{t&&(r+=e)},onCloseTag:a=>{let o=Ee(a.name);o===`t`?t=!1:o===`si`?((e=>{V.push(e)})(i.V(r)),e=!1,r=``):o!==`rPh`&&o!==`phoneticPr`||n>0&&n--},onError:e=>{(e=>{v.push([e,c])})(`Error parsing shared strings: ${e?.message??e}`)}}})();try{await w.parseStream(e,t,{xmlns:!1})}catch(e){throw console.warn(`Error parsing shared strings: '${c}'`,e),Error(`Error parsing shared strings: '${c}'`,{cause:e})}}}_?.mark(`shared-strings`);let H=V.length,U=new Map,W=H,G=e=>{let t=U.get(e);if(t!==void 0)return t;let n=W;return U.set(e,W++),V.push(e),n},K=[];s.slicersCache=K;let q=M.getNames(),ne=q.length;for(let e=0;e<ne;e++){let t=q[e];t&&t.startsWith(`xl/slicerCache`)&&K.push(`/${t}`)}let re=o.c(`slicersCache`,s,a,k,O,B),ie=new Map;re.forEach(e=>{let t=e.name;delete e.name,ie.set(t,e)}),T.set(`slicerCaches`,ie),o.c(`richstructure`,s,a,k,O,B),o.c(`richdata`,s,a,k,O,B);let ae=o.c(`themes`,s,a,k,O,B),oe=null;if(ae&&ae.entries){let e=ae.entries().next();e?.value?.[1]&&(oe=e.value[1])}let J=new n.$(oe),Y=o.c(`styles`,s,a,k,O,B).entries().next()?.value?.[1];Y&&=JSON.parse(e.F.JSONStableStringify(Y));let se=o.c(`workbooks`,s,a,k,O,B);_?.mark(`side-parts-json`),await Promise.all(j),b&&S>0&&(b(x,x),await new Promise(e=>setTimeout(e,0))),_?.mark(`sheets`);let ce={...se.entries().next().value?.[1],styles:Y,theme:J.toJSON()};if(V.length>0&&(ce.strings=V),R&&R.length>0&&(ce.people=R),f){let e=M.getEntry(`xl/vbaProject.bin`);if(e)try{let{VBAProject:t}=await Promise.resolve().then(()=>require("./DG-AY_xO8RKHtEBE.cjs")),n=t.extract(e);n?(f?.(n),ce.vba=n):v.push([`Unable to parse VBA project.`,`xl/vbaProject.bin`])}catch(e){v.push([`Error extracting VBA: ${e?.message??e}`,`xl/vbaProject.bin`])}}let le=null,ue={...m,resources:u,json:ce,formulaTransform:i.r(()=>le?.getCalculation())};ue.disableLoadAutoFit===void 0&&(ue.disableLoadAutoFit=!1),_?.mark(`json-assembled`);let de=new r.m(ue);if(le=de,_?.mark(`workbook-constructed`),E.length>0){await de.whenCalculationReady();let e=new Map,t=ce.sheets??[],n=de.getSheets().getItems();for(let r=0;r<t.length;r++){let i=t[r]?.sheet,a=n[r];i&&a&&e.set(i,a)}((e,t,n)=>{if(t.length===0)return;let r=e.getCalculation().getFunctions(),i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.getByName(e)!==null,i.set(e,t)),t},o=new Map;for(let e of t){let t=o.get(e.sheet);t||(t=[],o.set(e.sheet,t)),t.push(e)}for(let[e,t]of o){let r=n.get(e);if(!r)continue;let i=(e,t)=>`${e},${t}`,o=new Set;for(let e of t)e.formula===null&&o.add(i(e.rowIndex,e.colIndex));for(let e of t){if(e.formula===null)continue;let t=xe(e.formula),n=!0;for(let e of t)if(!a(e)){n=!1;break}if(!n)continue;let s=[],c=[[e.rowIndex,e.colIndex]],l=new Set([i(e.rowIndex,e.colIndex)]);for(;c.length>0;){let[e,t]=c.pop(),n=[[e+1,t],[e-1,t],[e,t+1],[e,t-1]];for(let[e,t]of n){let n=i(e,t);!l.has(n)&&o.has(n)&&(l.add(n),s.push([e,t]),c.push([e,t]))}}for(let[e,t]of s)o.delete(i(e,t)),r.getRange({rowStart:e,colStart:t,rowEnd:e,colEnd:t}).clear();r.getRange({rowStart:e.rowIndex,colStart:e.colIndex,rowEnd:e.rowIndex,colEnd:e.colIndex}).setValue(`=`+e.formula)}}})(de,E,e)}if(ee.forEach(e=>{e.deleteReference(h)}),d.endPersist(),g){i.a(g);let e=new Map,t=0;for(let n of M.getNames()){let r=M.getEntry(n);if(!r)continue;let i=M.getRawEntry(n),a=i?{data:r,uncompressedSize:M.uncompressedSize(n),raw:{compressedData:i.data,compressionMethod:i.compressionMethod,signature:i.signature}}:{data:r,uncompressedSize:M.uncompressedSize(n)};e.set(n,a),t+=r.byteLength}if(t>67108864)v.push([`Source package too large to retain (${t} bytes, limit ${i.d}); unmodeled parts will be dropped on save.`,`SourcePackage`]);else if(e.size>0){let t=new i.p(e);i.R(g,t);let n=de.getSheets().getItems(),r=de.getTransactions().addListener({onCommitEnd:e=>{let n=e.getOperation()?.name;n!==`insertCells`&&n!==`deleteCells`||t.markStructuralChange()}}),a=de.addListeners({onSheetsChange:()=>{let e=de.getSheets().getItems();(e.length!==n.length||e.some((e,t)=>e!==n[t]))&&t.markStructuralChange(),n=e}});de.addListeners({onClose:()=>{r(),a(),i.a(g)}})}}if(v.length&&y?.onWarning)for(let e of v){let[t,n]=e;y.onWarning(t,n)}return _&&!0===p&&console.table(_.toTable()),de}catch(t){let n=`Unable to parse XLSX.`;throw t instanceof e.C&&(n=`Unable to open XLSX. There are too many rows or columns.`),Error(n,{cause:t})}finally{await M.close().catch(()=>{})}};
@@ -1,2 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BnccBYHCCq9TGFx4.cjs"),r=require("./BEJFcqVMDMKOvs11.cjs"),i=require("./BIQZDBQfv3Qm5iC8.cjs"),a=require("./Cy-4IMt-AbR-ifP3.cjs"),o=require("./Cm21F18ga8TluA9h.cjs"),s=require("./BEzaum_kgG4yAOx0.cjs"),c=require("./BziOCn_XEGT4ynN5.cjs");var l=e.r(t.i(),1),u=e.r(t.r(),1),d=e=>e.replace(/\n\n+/g,`
2
- `).trim(),f=new Set([`Control`,`Shift`,`Alt`,`Meta`]),p=e=>{let t=e,n=new Set;for(let e of[`mod`,`alt`,`shift`])t.startsWith(`${e}+`)&&(n.add(e),t=t.slice(e.length+1));return{key:t,mods:n}},m=n.A.getPlatform()===n.A.OSType.MacOS||n.A.getPlatform()===n.A.OSType.IOS,h=[i.Kt.Ctrl,i.Kt.Alt,i.Kt.Shift,i.Kt.Meta],g=e=>{switch(e){case i.Kt.Ctrl:return m?`Cmd`:`Ctrl`;case i.Kt.Alt:return`Alt`;case i.Kt.Shift:return`Shift`;case i.Kt.Meta:return`Meta`;default:return e}},_=e=>{let t=new Set(e);return h.filter(e=>t.has(e))},v=e=>{let t=[];return e.ctrlKey&&t.push(i.Kt.Ctrl),e.altKey&&t.push(i.Kt.Alt),e.shiftKey&&t.push(i.Kt.Shift),e.metaKey&&t.push(i.Kt.Meta),t},y=({children:e})=>(0,u.jsx)(i.t,{component:`kbd`,sx:{display:`inline-flex`,alignItems:`center`,justifyContent:`center`,minWidth:`20px`,height:`20px`,paddingX:`5px`,boxSizing:`border-box`,fontFamily:`inherit`,fontSize:`0.7rem`,fontWeight:600,lineHeight:1,whiteSpace:`nowrap`,borderRadius:`5px`,color:e=>e.palette.text.secondary,backgroundColor:e=>i.u(e.palette.background.paper,.07),border:e=>`solid 1px ${e.palette.divider}`,borderBottomWidth:`2px`},children:e}),b=()=>(0,u.jsx)(i.t,{component:`span`,sx:{fontSize:`0.7rem`,color:e=>e.palette.text.disabled},children:`+`}),x=({labels:e,dangling:t=!1})=>(0,u.jsxs)(i.t,{sx:{display:`flex`,alignItems:`center`,gap:`1px`},children:[e.map((e,t)=>(0,u.jsxs)(l.Fragment,{children:[t>0&&(0,u.jsx)(b,{}),(0,u.jsx)(y,{children:e})]},t)),t&&(0,u.jsx)(b,{})]}),S=({stroke:e})=>{if(!e?.key)return null;let t=_(e.modifiers??[]).map(g);return t.push(i.Ct.toPrettyKeyCode(e.key)),(0,u.jsx)(x,{labels:t})};function C(e){let{commands:t,sx:h,...y}=e,[b,C]=(0,l.useState)(!1),[w,T]=(0,l.useState)(``),[E,D]=(0,l.useState)(null),[O,k]=(0,l.useState)(!1),[A,j]=(0,l.useState)(null),[M,N]=(0,l.useState)(null),[P,F]=(0,l.useState)(null),I=(0,l.useRef)(null),L=(0,l.useMemo)(()=>{let e=t.getAllCommands();b&&(e=e.filter(e=>e.command.getShortcut())),e=[...e].sort((e,t)=>{let n=e.command.getScope?.()??e.groupKey,r=t.command.getScope?.()??t.groupKey,i=n.localeCompare(r);return i===0?e.command.getLabel().localeCompare(t.command.getLabel()):i});let n=[],r=new Set;for(let t of e){let e=t.command,a=e.getScope?.()??t.groupKey,o={label:e.getLabel(),icon:e.getIcon(),scope:a,scopeLabel:e.getScopeLabel?.()??a,description:d(e.getDescription())},s=e.getShortcut(),c=Array.isArray(s)?s.length?s:[null]:[s??null];for(let e of c){let t=e?i.en(e):null,s=`${a}\0${o.label}\0${t??``}`;r.has(s)||(r.add(s),n.push({...o,id:s,shortcut:e,canonical:t}))}}return n},[b,t]),R=(0,l.useMemo)(()=>E?L.filter(e=>e.scope===E):L,[L,E]),[z,B]=(0,l.useState)(null);(0,l.useEffect)(()=>{let e=!1;return Promise.resolve().then(()=>require("./DEOu_cHJ1FfTA9R_2.cjs")).then(t=>{e||B(new t.default(R,{threshold:.3,ignoreLocation:!0,keys:[`label`,`description`,`scope`,`scopeLabel`]}))}),()=>{e=!0}},[R]);let[V,H]=(0,l.useState)(L);(0,l.useEffect)(()=>{if(O)return M?void H(R.filter(e=>{if(!e.canonical)return!1;let t=p(e.canonical);if(!M.keys.has(t.key))return!1;for(let e of M.mods)if(!t.mods.has(e))return!1;return!0})):void H(R);z?n.u.debounce(()=>{let e=w.trim();e.length===0?H(R):H(z.search(e).map(e=>e.item))},90)():H(R)},[O,M,z,w,R]);let U=(0,l.useMemo)(()=>{let e=new Map;for(let t of V){let n=e.get(t.scope);n||(n=[],e.set(t.scope,n)),n.push(t)}return Array.from(e,([e,t])=>({scope:e,scopeLabel:t[0].scopeLabel,rows:t}))},[V]),W=(0,l.useMemo)(()=>L.find(e=>e.scope===E)?.scopeLabel??E,[L,E]),G=O?!!A:w.length>0,K=G&&V.length===0;(0,l.useEffect)(()=>{I.current?.focus()},[O]);let q=(0,l.useCallback)(e=>{k(e),T(``),j(null),N(null),F(null)},[]),J=(0,l.useCallback)(e=>{if(e.key===`Tab`)return;if(e.which===i.Et.Escape)return A||P?(j(null),N(null),F(null)):q(!1),e.stopPropagation(),void e.preventDefault();if(e.preventDefault(),e.stopPropagation(),e.key===`Backspace`)return j(null),N(null),void F(null);let t=e.nativeEvent;if(f.has(e.key))return j(null),N(null),void F(v(t));F(null),j((e=>{let t=[];e.ctrlKey&&t.push(`ctrl`),e.altKey&&t.push(`alt`),e.shiftKey&&t.push(`shift`),e.metaKey&&t.push(`meta`);let n=e.code,r=e.key;return n&&(r=n.startsWith(`Key`)&&n.length>3?n.slice(3):n.startsWith(`Digit`)&&n.length>5?n.slice(5):n),{key:r,modifiers:t}})(t)),N((e=>{let t=[...i.pt(e)].map(p);return{keys:new Set(t.map(e=>e.key)),mods:t[0]?.mods??new Set}})(t))},[A,P,q]),Y=(0,l.useCallback)(e=>{if(A)return;let t=v(e.nativeEvent);F(t.length?t:null)},[A]),X=(0,l.useCallback)(e=>{D(t=>t===e?null:e)},[]),Z=(0,l.useCallback)(()=>{O?(j(null),N(null),F(null)):T(``),I.current?.focus()},[O]),Q=O?!!(A||P&&P.length>0):w.length>0,$=(0,u.jsx)(a.x,{title:O?`Search by name (ESC)`:`Search by shortcut (${m?`Cmd`:`Ctrl`}+K)`,children:(0,u.jsx)(a.F,{"aria-label":`toggle shortcut capture`,color:O?`primary`:`default`,onClick:()=>q(!O),sx:{flexShrink:0,border:e=>`solid 1px ${O?e.palette.primary.main:e.palette.divider}`,borderRadius:e=>`${e.shape.borderRadius}px`},children:(0,u.jsx)(r.r,{iconKey:`Keyboard`})})});return(0,u.jsxs)(i.t,{style:{height:460,width:`100%`,display:`flex`,flexDirection:`column`},sx:[{fontFamily:e=>e.typography.fontFamily},...Array.isArray(h)?h:[h]],...y,children:[(0,u.jsxs)(i.t,{sx:{display:`flex`,alignItems:`center`,gap:1,marginBottom:e=>e.spacing(1.5)},children:[(0,u.jsx)(s.t,{inputRef:I,slotProps:{input:{sx:{backgroundColor:e=>e.palette.action.hover},startAdornment:O&&(A||P&&P.length>0)?(0,u.jsx)(c.t,{position:`start`,sx:{marginRight:`6px`},children:A?(0,u.jsx)(S,{stroke:A}):(0,u.jsx)(x,{labels:_(P).map(g),dangling:!0})}):void 0,endAdornment:Q?(0,u.jsx)(c.t,{position:`end`,children:(0,u.jsx)(a.F,{"aria-label":O?`clear shortcut`:`clear search`,onClick:Z,edge:`end`,size:`small`,children:(0,u.jsx)(r.r,{iconKey:`Close`})})}):void 0},htmlInput:{className:`input`,autoFocus:!0,spellCheck:!1,placeholder:O?A||P&&P.length>0?``:`Press a shortcut… (Esc to exit)`:`Type to search commands, scopes, or descriptions`,autoComplete:`off`,"aria-label":O?`Press a shortcut to find its command`:`Search commands`,sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(1),caretColor:e=>O?e.palette.primary.main:void 0}}},sx:{flex:`1 1 auto`,"& .MuiOutlinedInput-notchedOutline":{borderColor:e=>K?`${e.palette.error.main} !important`:O?`${e.palette.primary.main} !important`:void 0}},value:O?``:w,onChange:e=>{O||T(e.target.value)},onKeyDown:O?J:e=>{if((e.ctrlKey||e.metaKey)&&(e.key===`k`||e.key===`K`))return q(!0),e.stopPropagation(),void e.preventDefault();e.which===i.Et.Escape&&w.length>0&&(T(``),e.stopPropagation(),e.preventDefault())},onKeyUp:O?Y:void 0,onContextMenu:e=>e.stopPropagation()}),$,(0,u.jsx)(o.t,{sx:{flexShrink:0,marginRight:0},control:(0,u.jsx)(o.n,{checked:b,onChange:()=>C(!b)}),label:`With key bindings`,labelPlacement:`start`})]}),E&&(0,u.jsx)(i.t,{sx:{display:`flex`,marginBottom:1},children:(0,u.jsx)(a.k,{size:`small`,label:`Scope: ${W}`,onDelete:()=>D(null)})}),(0,u.jsx)(i.t,{sx:{flex:`1 1 100%`,minHeight:0,borderRadius:e=>`${e.shape.borderRadius}px`,border:e=>`solid ${e.palette.divider} 1px`,overflow:`visible`},children:(0,u.jsx)(i.t,{sx:{height:`100%`,overflow:`auto`},children:U.length===0?(0,u.jsx)(i.t,{sx:{padding:3,textAlign:`center`,color:e=>K?e.palette.error.main:e.palette.text.secondary},children:G?`No matching shortcuts`:`No shortcuts`}):U.map(e=>(0,u.jsxs)(i.t,{children:[(0,u.jsxs)(i.t,{onClick:()=>X(e.scope),sx:{position:`sticky`,top:`-1px`,zIndex:2,display:`flex`,alignItems:`center`,justifyContent:`space-between`,gap:1,paddingX:1.5,paddingTop:`5px`,paddingBottom:`4px`,cursor:`pointer`,userSelect:`none`,fontSize:`0.7rem`,fontWeight:600,letterSpacing:`0.04em`,textTransform:`uppercase`,backgroundColor:e=>i.u(e.palette.background.paper,.04),boxShadow:e=>`0 -2px 0 0 ${i.u(e.palette.background.paper,.04)}`,borderBottom:e=>`solid 1px ${e.palette.divider}`,color:t=>E===e.scope?t.palette.primary.main:t.palette.text.secondary,"&:hover":{color:e=>e.palette.text.primary,backgroundColor:e=>i.u(e.palette.background.paper,.09)}},children:[(0,u.jsx)(`span`,{children:e.scopeLabel}),(0,u.jsx)(a.N,{component:`span`,sx:{fontSize:`inherit`,opacity:.7},children:e.rows.length})]}),e.rows.map(e=>{return(0,u.jsxs)(i.t,{sx:{paddingX:1.5,paddingY:.75,borderBottom:e=>`solid 1px ${e.palette.divider}`,"&:hover":{backgroundColor:e=>e.palette.action.hover}},children:[(0,u.jsxs)(i.t,{sx:{display:`flex`,alignItems:`center`,gap:1},children:[(0,u.jsx)(i.t,{sx:{flexShrink:0,display:`flex`,alignItems:`center`,width:`var(--icon-size, 20px)`,height:`var(--icon-size, 20px)`,color:e=>e.palette.text.icon??e.palette.action.active},children:(t=e.icon,t&&typeof t!=`string`?t:(0,u.jsx)(r.r,{iconKey:t}))}),(0,u.jsx)(a.N,{sx:{flex:`1 1 auto`,fontWeight:500},children:e.label}),e.shortcut&&(0,u.jsx)(i.t,{sx:{flexShrink:0},children:(0,u.jsx)(S,{stroke:e.shortcut})})]}),e.description&&(0,u.jsx)(a.N,{component:`div`,sx:{marginTop:`2px`,marginLeft:`calc(var(--icon-size, 20px) + 8px)`,fontSize:`0.75rem`,whiteSpace:`pre-line`,color:e=>e.palette.text.secondary},children:e.description})]},e.id);var t})]},e.scope))})}),(0,u.jsx)(i.t,{sx:{display:`flex`,flexShrink:0,paddingLeft:e=>e.spacing(1),paddingTop:e=>e.spacing(1),paddingRight:e=>e.spacing(1),userSelect:`none`,justifyContent:`flex-end`},children:(0,u.jsx)(a.N,{noWrap:!0,component:`div`,sx:{color:e=>K?e.palette.error.main:e.palette.text.secondary},children:`${V.length===0?`No`:V.length} shortcut${V.length===1?``:`s`}${G?` found`:``}`})})]})}exports.default=e=>{let{title:t=`Shortcut Keys`,commands:n,sx:r,...o}=e;return(0,u.jsx)(a.m,{isModal:!0,onKeyDown:e=>{e.keyCode===i.Et.F1&&e.preventDefault()},sx:{width:`780px`,...r},title:t,autoFocusSel:`.input`,...o,children:(0,u.jsx)(a.w,{dividers:!0,children:(0,u.jsx)(C,{commands:n,sx:{marginBottom:`8px`}})})})};
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BIQZDBQfv3Qm5iC8.cjs"),r=require("./Cy-4IMt-AbR-ifP3.cjs"),i=require("./Cm21F18ga8TluA9h.cjs"),a=require("./BEzaum_kgG4yAOx0.cjs");var o=e.n({n:()=>p,r:()=>f,t:()=>m}),s=e.r(t.i(),1),c=e.r(t.r(),1),l=Object.defineProperty,u=`•`.repeat(8),d=e=>{let{password:t,onChange:r,disabled:i,required:o,labelPassword:l,labelConfirm:d,onValidityChange:f}=e,p=n.Xt(),[m,h]=(0,s.useState)(``),g=t!==null,_=g&&m!==t,v=(e,t)=>{let n=e!==null;f(!(n&&t!==e||o&&n&&e===``))};return(0,c.jsxs)(n.t,{sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(1.5),paddingLeft:4},children:[(0,c.jsx)(a.t,{type:`password`,size:`small`,label:l,disabled:i,value:t??u,error:o&&g&&t===``,onFocus:e=>{t===null&&e.target.select()},onChange:e=>{let t=e.target.value===u?null:e.target.value;r(t),v(t,m)},slotProps:{inputLabel:{shrink:!0},htmlInput:{autoComplete:`new-password`,spellCheck:!1}}}),(0,c.jsx)(a.t,{type:`password`,size:`small`,label:d,disabled:i||!g,value:g?m:u,error:_,helperText:_?p(`protection.passwordMismatch`):` `,onChange:e=>{h(e.target.value),v(t,e.target.value)},slotProps:{inputLabel:{shrink:!0},htmlInput:{autoComplete:`new-password`,spellCheck:!1}}})]})},f=(0,s.memo)((0,s.forwardRef)((e,t)=>{let{value:a,onChange:o,onValidityChange:l,sx:u}=e,f=n.Xt(),[p,m]=(0,s.useState)(!0),[h,g]=(0,s.useState)(!0),_=(e,t)=>{l?.((!a.encrypt||e)&&(!a.structure||t))},v=e=>{o({...a,...e})};return(0,c.jsxs)(n.t,{ref:t,sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(2.5),...u},children:[(0,c.jsxs)(n.t,{sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(1)},children:[(0,c.jsx)(i.t,{control:(0,c.jsx)(i.n,{checked:a.encrypt,onChange:e=>{let t=e.target.checked;v({encrypt:t,encryptPassword:t?a.encryptPassword??``:a.encryptPassword}),l?.((!t||p)&&(!a.structure||h))}}),label:f(`protection.encrypt.label`)}),(0,c.jsx)(d,{password:a.encryptPassword,onChange:e=>v({encryptPassword:e}),disabled:!a.encrypt,required:!0,labelPassword:f(`protection.password`),labelConfirm:f(`protection.passwordConfirm`),onValidityChange:e=>{m(e),_(e,h)}}),(0,c.jsx)(r.N,{variant:`caption`,sx:{paddingLeft:4,color:`warning.main`},children:f(`protection.encrypt.warning`)})]}),(0,c.jsxs)(n.t,{sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(1)},children:[(0,c.jsx)(i.t,{control:(0,c.jsx)(i.n,{checked:a.structure,onChange:e=>{let t=e.target.checked;v({structure:t}),l?.((!a.encrypt||p)&&(!t||h))}}),label:f(`protection.structure.label`)}),(0,c.jsx)(d,{password:a.structurePassword,onChange:e=>v({structurePassword:e}),disabled:!a.structure,required:!1,labelPassword:f(`protection.passwordOptional`),labelConfirm:f(`protection.passwordConfirm`),onValidityChange:e=>{g(e),_(p,e)}}),(0,c.jsxs)(n.t,{sx:{display:`flex`,gap:e=>e.spacing(2),paddingLeft:4},children:[(0,c.jsx)(i.t,{control:(0,c.jsx)(i.n,{size:`small`,disabled:!a.structure,checked:a.lockStructure,onChange:e=>v({lockStructure:e.target.checked})}),label:f(`protection.structure.lockStructure`)}),(0,c.jsx)(i.t,{control:(0,c.jsx)(i.n,{size:`small`,disabled:!a.structure,checked:a.lockWindows,onChange:e=>v({lockWindows:e.target.checked})}),label:f(`protection.structure.lockWindows`)})]}),(0,c.jsx)(r.N,{variant:`caption`,sx:{paddingLeft:4,color:`text.secondary`},children:f(`protection.structure.note`)})]})]})})),p=((e,t)=>{let n={};for(var r in e)l(n,r,{get:e[r],enumerable:!0});return t||l(n,Symbol.toStringTag,{value:`Module`}),n})({WorkbookProtectionDialog:()=>m,default:()=>m}),m=e=>{let t=n.Xt(),{initialValue:i,onApply:a,title:o=t(`protection.title`),sx:l,...u}=e,[d,p]=(0,s.useState)(i),[m,h]=(0,s.useState)(!0);return(0,c.jsx)(r.i,{title:o,options:[`Ok`,`Cancel`],defaultOption:`Ok`,cancelOption:`Cancel`,sx:{width:`440px`,...l},onValidateOption:e=>m,onOption:(e,t)=>{if(!t&&e===`Ok`)return a(d)},...u,children:(0,c.jsx)(f,{value:d,onChange:p,onValidityChange:h,sx:{paddingTop:1}})})};Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
@@ -1 +0,0 @@
1
- exports.default={ODDFPRICE:{s:`Returns the price per $100 face value of a security with an odd first period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},firstCoupon:{d:`is the security's first coupon date, expressed as a serial date number.`},rate:{},yld:{d:`is the security's annual yield.`},redemption:{d:`is the security's redemption value per $100 face value.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDFYIELD:{s:`Returns the yield of a security with an odd first period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},issue:{d:`is the security's issue date, expressed as a serial date number.`},firstCoupon:{d:`is the security's first coupon date, expressed as a serial date number.`},rate:{d:`is the security's interest rate.`},pr:{d:`is the security's price.`},redemption:{d:`is the security's redemption value per $100 face value.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDLPRICE:{s:`Returns the price per $100 face value of a security with an odd last period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},lastInterest:{d:`is the security's last coupon date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},yld:{d:`is the security's annual yield.`},redemption:{d:`is the amount to be received at maturity.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}},ODDLYIELD:{s:`Returns the yield of a security with an odd last period.`,p:{settlement:{d:`is the security's settlement date, expressed as a serial date number.`},maturity:{d:`is the security's maturity date, expressed as a serial date number.`},lastInterest:{d:`is the security's last coupon date, expressed as a serial date number.`},rate:{d:`is the interest rate.`},pr:{d:`is the security's price.`},redemption:{d:`is the amount to be received at maturity.`},frequency:{d:`is the number of coupon payments per year.`},basis:{d:`is the type of day count basis to use.`}}}};
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BIQZDBQfv3Qm5iC8.cjs"),r=require("./Cy-4IMt-AbR-ifP3.cjs"),i=require("./Cm21F18ga8TluA9h.cjs"),a=require("./CrDTTLE9EvaGDSD4.cjs"),o=require("./CzgwTfy2072Dmt5u.cjs");var s=e.r(t.i(),1),c=e.r(t.r(),1),l=[`Ok`,`Cancel`],u=(0,s.memo)(e=>{let{onInput:t,onOption:u,onValidateOption:d,onDone:f,options:p=l,defaultOption:m=p?.[0],cancelOption:h=`Cancel`,sx:g,initialValue:_,context:v,...y}=e,b=n.Xt(),[x,S]=(0,s.useState)(!1),[C,w]=(0,s.useState)(()=>_?.hasHeader??!1),[T,E]=(0,s.useState)(()=>_?.ranges??null),D=(0,s.useMemo)(()=>{let e=_?.ranges?.getSheet?.()?.getName();return e?{scope:e}:void 0},[_]),O=a.o().getMode()?.mode===`point`,k=n.tt(e=>{let n=T?{..._,hasHeader:C,ranges:T}:null,r=e===h||!e;t?.(!r&&n?n:void 0),u?.(e??h,r,e===m),f?.({option:e,tableOptions:n})},[f,u,m,h,C,T,_]),A=(0,s.useCallback)(async(e,t)=>!0,[]);return(0,c.jsx)(r.i,{title:b(`tableNew.title`),options:p,onDone:k,onValidateOption:A,defaultOption:m,cancelOption:h,autoFocusSel:`.autoFocus`,suspendModal:O,sx:{width:`360px`,...g},...y,children:(0,c.jsxs)(n.t,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:`flex`,flexDirection:`column`},children:[(0,c.jsx)(o.r,{grammar:`reference`,classNameInput:`autoFocus`,formName:`range`,value:T,allowMulti:!1,allowCrossSheet:!1,home:D,onChangeInput:e=>E(e?.getReferences()??null),onFocus:e=>{x||e.target?.select(),S(!0)}}),(0,c.jsx)(i.t,{control:(0,c.jsx)(i.n,{checked:C,onChange:()=>w(!C)}),label:b(`tableNew.hasHeaders`),labelPlacement:`end`})]})})});exports.TableNewDialog=u,exports.default=u;
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BIQZDBQfv3Qm5iC8.cjs"),r=require("./Cy-4IMt-AbR-ifP3.cjs"),i=require("./CPgCih_KEqnUZ9Rv.cjs");var a=e.r(t.i(),1);function o(e){return n.m(`MuiListItemButton`,e)}var s=n.p(`MuiListItemButton`,[`root`,`focusVisible`,`dense`,`alignItemsFlexStart`,`disabled`,`divider`,`gutters`,`selected`]),c=e.r(t.r(),1),l=r.ut(r.L,{shouldForwardProp:e=>r.dt(e)||e===`classes`,name:`MuiListItemButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems===`flex-start`&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(r.lt(({theme:e})=>({display:`flex`,flexGrow:1,justifyContent:`flex-start`,alignItems:`center`,position:`relative`,textDecoration:`none`,minWidth:0,boxSizing:`border-box`,textAlign:`left`,paddingTop:8,paddingBottom:8,...r.nt(e,`background-color`,{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:`none`,backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${s.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${s.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${s.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${s.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${s.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:`padding-box`}},{props:{alignItems:`flex-start`},style:{alignItems:`flex-start`}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),u=a.forwardRef(function(e,t){let s=r.ct({props:e,name:`MuiListItemButton`}),{alignItems:u=`center`,autoFocus:d=!1,component:f=`div`,children:p,dense:m=!1,disableGutters:h=!1,divider:g=!1,focusVisibleClassName:_,selected:v=!1,className:y,...b}=s,x=a.useContext(i.f),S=a.useMemo(()=>({dense:m||x.dense||!1,alignItems:u,disableGutters:h}),[u,x.dense,m,h]),C=a.useRef(null);i.x(()=>{d&&C.current&&C.current.focus()},[d]);let w={...s,alignItems:u,dense:S.dense,disableGutters:h,divider:g,selected:v},T=(e=>{let{alignItems:t,classes:n,dense:i,disabled:a,disableGutters:s,divider:c,selected:l}=e,u=r._t({root:[`root`,i&&`dense`,!s&&`gutters`,c&&`divider`,a&&`disabled`,t===`flex-start`&&`alignItemsFlexStart`,l&&`selected`]},o,n);return{...n,...u}})(w),{root:E,...D}=T,O=r.ot(C,t);return(0,c.jsx)(i.f.Provider,{value:S,children:(0,c.jsx)(l,{ref:O,href:b.href||b.to,component:(b.href||b.to)&&f===`div`?`button`:f,internalNativeButton:!1,focusVisibleClassName:n.h(T.focusVisible,_),ownerState:w,className:n.h(T.root,y),...b,classes:D,children:p})})});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BIQZDBQfv3Qm5iC8.cjs"),r=require("./Cy-4IMt-AbR-ifP3.cjs"),i=require("./B5YBx0GqLor3i0O1.cjs");var a=e.r(t.i(),1),o=e.r(t.r(),1),s=[`Ok`,`Cancel`],c=(0,a.memo)(e=>{let{initialValue:t,context:c,onOption:l,onValidateOption:u,onInput:d,onDone:f,options:p=s,defaultOption:m=p?.[0],cancelOption:h=`Cancel`,sx:g,..._}=e,v=n.Xt(),[y,b]=(0,a.useState)(t),x=n.tt(async e=>{let t=e===h;t||d?.(y,e),l?.(e,t,e===m),f?.()},[y,d,f,l,h,m]),S=(0,a.useCallback)(async e=>await Promise.resolve(u?.(e))??!0,[u]);return(0,o.jsx)(r.i,{title:v(`numberFormat.dialogTitle`),options:p,onDone:f,onOption:e=>x(e),onValidateOption:S,defaultOption:m,cancelOption:h,autoFocusSel:`.sxl-nf-cat-active`,sx:{width:`512px`,...g},..._,children:(0,o.jsx)(i.t,{value:y,onChange:b,onCommit:()=>x(m),context:c,style:{paddingTop:`4px`}})})});exports.NumberFormatDialog=c,exports.default=c;
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BEJFcqVMDMKOvs11.cjs"),r=require("./BIQZDBQfv3Qm5iC8.cjs"),i=require("./Cy-4IMt-AbR-ifP3.cjs"),a=require("./BEzaum_kgG4yAOx0.cjs"),o=require("./C5rQELB0TUeXY6VM.cjs"),s=require("./CrDTTLE9EvaGDSD4.cjs"),c=require("./BziOCn_XEGT4ynN5.cjs"),l=require("./CzgwTfy2072Dmt5u.cjs");var u=e.r(t.i(),1),d=e.r(t.r(),1),f=(0,u.memo)(e=>{let{context:t,selected:l,onChangeSelected:f,onActivate:p,autoFocus:m=!1,className:h}=e,g=r.Xt(),_=s.Z(),[v,y]=(0,u.useState)([]),[b,x]=(0,u.useState)(`*`),[S,C]=(0,u.useState)(``),[w,T]=(0,u.useState)(``),[E,D]=(0,u.useState)([]),[O,k]=(0,u.useState)(null),A=(j=b)===`*`?void 0:j;var j;let M=(0,u.useRef)(null),N=(0,u.useRef)(null),P=(0,u.useId)(),F=e=>`${P}${e}`;(0,u.useEffect)(()=>{let e=setTimeout(()=>T(S.trim()),150);return()=>clearTimeout(e)},[S]),(0,u.useEffect)(()=>{m&&N.current?.focus()},[m]),(0,u.useEffect)(()=>{let e=!1;return(async()=>{let n=await t?.()?.getCategories()??[];e||y(n)})(),()=>{e=!0}},[t]);let I=r.tt(f,[f]);(0,u.useEffect)(()=>{let e=!1;return(async()=>{let n=t?.();if(!n)return;let r=w?await n.searchByText(w,{category:A,limit:100}):await n.searchByCategory(A);e||(D(r),I(r[0]??null))})(),()=>{e=!0}},[t,A,w,I]),(0,u.useEffect)(()=>{if(!l)return void k(null);let e=!1,t=l.getName();return l.getDescriptor().then(n=>{e||k(s.ut(t,n))}).catch(()=>{e||k(null)}),()=>{e=!0}},[l]);let L=(0,u.useMemo)(()=>l?s.j(l,{locale:_?.getLocale()}):null,[l,_]),R=r.tt(e=>{E.length!==0&&I(E[Math.min(E.length-1,Math.max(0,e))])},[E,I]),z=r.tt(e=>{let t=l?E.indexOf(l):-1;R(t+e)},[E,l,R]),B=r.tt(e=>{if(e.isDefaultPrevented())return;let t=M.current?.contains(e.target)??!1;switch(e.keyCode){case r.Et.Down:z(1);break;case r.Et.Up:z(-1);break;case r.Et.PageDown:z(10);break;case r.Et.PageUp:z(-10);break;case r.Et.Home:if(!t)return;R(0);break;case r.Et.End:if(!t)return;R(E.length-1);break;default:return}e.preventDefault()},[z,R,E]);(0,u.useEffect)(()=>{l&&(M.current?.querySelector(`[data-selected="true"]`))?.scrollIntoView?.({block:`nearest`})},[l]);let V=(0,u.useMemo)(()=>E.map(e=>{let t=e.getName(),n=e===l;return(0,d.jsx)(r.t,{id:F(t),component:`div`,role:`option`,"aria-selected":n,"data-selected":n,onMouseDown:e=>{e.button===0&&e.preventDefault()},onClick:()=>I(e),onDoubleClick:()=>{p?.()},sx:{padding:`3px 8px`,cursor:`default`,whiteSpace:`nowrap`,fontFamily:`var(--sxl-font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,backgroundColor:n?`action.selected`:void 0,"&:hover":{backgroundColor:n?`action.selected`:`action.hover`}},children:t},t)}),[E,l,I,p]);return(0,d.jsxs)(r.t,{className:h,onKeyDown:B,sx:{height:`415px`,flex:`1 1 auto`,minHeight:0,boxSizing:`border-box`,paddingTop:e=>e.spacing(1.5),display:`flex`,flexDirection:`column`,rowGap:e=>e.spacing(2)},children:[(0,d.jsx)(a.t,{size:`small`,fullWidth:!0,label:g(`insertFunction.searchLabel`),value:S,inputRef:N,onChange:e=>C(e.target.value),sx:{flexShrink:0},slotProps:{input:{startAdornment:(0,d.jsx)(c.t,{position:`start`,children:(0,d.jsx)(n.r,{iconKey:`Find`})}),endAdornment:S?(0,d.jsx)(c.t,{position:`end`,children:(0,d.jsx)(s.Gt,{"aria-label":g(`insertFunction.clearSearch`),propsTooltip:{label:g(`insertFunction.clearSearch`)},onMouseDown:e=>{e.button===0&&e.preventDefault()},onClick:()=>C(``),icon:(0,d.jsx)(n.r,{iconKey:`Close`}),size:`small`})}):void 0},htmlInput:{className:`autoFocus`,spellCheck:!1,autoComplete:`off`}}}),(0,d.jsxs)(a.t,{select:!0,size:`small`,fullWidth:!0,label:g(`insertFunction.categoryLabel`),value:b,onChange:e=>x(e.target.value),slotProps:{inputLabel:{shrink:!0}},sx:{flexShrink:0},children:[(0,d.jsx)(o.t,{value:`*`,children:g(`insertFunction.categoryAll`)}),v.map(e=>(0,d.jsx)(o.t,{value:e.name,children:e.name},e.name))]}),(0,d.jsx)(r.t,{ref:M,role:`listbox`,className:`function-list`,"aria-label":g(`insertFunction.listLabel`),tabIndex:0,"aria-activedescendant":l?F(l.getName()):void 0,onFocus:()=>{l||R(0)},sx:{flex:`1 1 0`,minHeight:`80px`,overflowY:`auto`,border:`1px solid`,borderColor:`divider`,borderRadius:`4px`,"&:focus-visible":{outline:`2px solid`,outlineColor:`primary.main`,outlineOffset:`-1px`},'&:focus-within [data-selected="true"], &:focus [data-selected="true"]':{backgroundColor:`action.selected`,boxShadow:e=>`inset 2px 0 0 ${e.palette.primary.main}`}},children:V.length>0?V:(0,d.jsx)(i.N,{sx:{padding:`8px`,color:`text.secondary`,fontSize:`0.85rem`},children:g(`insertFunction.noResults`)})}),(0,d.jsx)(r.t,{sx:{height:`5.5rem`,flexShrink:0,overflowY:`auto`,fontFamily:e=>e.typography.fontFamily,fontSize:`0.8rem`,lineHeight:`16px`},children:L?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.t,{sx:{padding:`0 10px`},children:(0,d.jsx)(s.y,{hint:L,wrap:!0})}),(0,d.jsx)(s.C,{hint:L,descriptor:O,showParameters:!1})]}):null})]})});f.displayName=`FunctionSearchPanel`;var p=(0,u.memo)(e=>{let{func:t,workbook:n,home:a,autoFocus:o=!1,onChangeCall:c,className:f}=e,p=r.Xt(),m=s.Z(),h=n===void 0?m:n,[g,_]=(0,u.useState)([]),[v,y]=(0,u.useState)([]),[b,x]=(0,u.useState)([]),[S,C]=(0,u.useState)(null),[w,T]=(0,u.useState)(0),[E,D]=(0,u.useState)(null),O=(0,u.useRef)(null),k=(0,u.useRef)(new Map),A=(0,u.useMemo)(()=>t.getDeclaration().getParameters(),[t]),j=(0,u.useMemo)(()=>s.i(A,g),[A,g]),M=(0,u.useMemo)(()=>s.j(t,{locale:h?.getLocale()}),[t,h]),N=(0,u.useMemo)(()=>s.m(M.nameLocal??M.name,j,g,{separator:M.argSeparator}),[M,j,g]);(0,u.useEffect)(()=>{c?.(N)},[N,c]),(0,u.useEffect)(()=>{let e=!1,n=t.getName();return t.getDescriptor().then(t=>{e||D(s.ut(n,t))}).catch(()=>{e||D(null)}),()=>{e=!0}},[t]),(0,u.useEffect)(()=>{o&&(O.current?.querySelector(`input`))?.focus()},[o]);let P=r.tt(e=>{let t=(k.current.get(e)??0)+1;return k.current.set(e,t),t},[]),F=r.tt((e,t)=>{_(n=>{let r=n.slice();for(;r.length<=e;)r.push(``);return r[e]=t,r}),P(e),y(t=>{if(t[e]===void 0||t[e]===null)return t;let n=t.slice();return n[e]=null,n})},[P]),I=r.tt((e,t)=>{x(n=>{if((n[e]??null)===t)return n;let r=n.slice();for(;r.length<=e;)r.push(null);return r[e]=t,r})},[]),L=r.tt(async(e,t)=>{let n=P(e),r=null;try{r=t?s.q(await t.evaluate()):null}catch{r=null}k.current.get(e)===n&&y(t=>{let n=t.slice();for(;n.length<=e;)n.push(null);return n[e]=r,n})},[P]);(0,u.useEffect)(()=>{let e=h?h.getSelectedSheet()?.getCalculation()??h.getCalculation():null,t=j.some((e,t)=>!e.optional&&!g[t]?.trim());if(!e||t||j.length>0&&!g.some(e=>e?.trim()))return P(-1),void C(null);let n=P(-1);(async()=>{let t=null;try{t=s.q(await e.evaluate(N,a))}catch{t=null}k.current.get(-1)===n&&C(t)})()},[N,h,a,g,j,P]);let R=(0,u.useMemo)(()=>{let e=b[w]?w:b.findIndex((e,t)=>!!e&&!!j[t]),t=e>=0?b[e]:null;return t?`${j[e]?.label}: ${p(t)}`:null},[b,w,j,p]),z=(0,u.useMemo)(()=>{let e=j[w];if(e&&E?.name===t.getName())return E?.params?.[e.descKey]?.description},[j,w,E,t]),B=(0,u.useMemo)(()=>j.map((e,t)=>(0,d.jsxs)(r.t,{sx:{display:`flex`,alignItems:`stretch`,columnGap:e=>e.spacing(1)},children:[(0,d.jsx)(l.r,{labelPlacement:`above`,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.t,{component:`span`,sx:{overflow:`hidden`,textOverflow:`ellipsis`,fontFamily:`var(--sxl-font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,fontWeight:e.optional?400:700},children:e.label}),(0,d.jsx)(s.s,{param:e.param,repeat:e.repeat,optional:e.optional,showType:!1,size:14})]}),placeholder:p(s.b(e.param)),showError:!1,helperText:null,onChangeError:e=>I(t,e),workbook:h,home:a,value:null,onChangeText:e=>F(t,e),onChangeInput:e=>{L(t,e)},onFocus:()=>T(t),sx:{minWidth:0,flex:`1 1 55%`}}),(0,d.jsxs)(i.N,{component:`span`,sx:{flex:`1 1 45%`,minWidth:0,display:`flex`,boxSizing:`border-box`,paddingTop:l.n,alignItems:`center`,columnGap:`4px`,overflow:`hidden`,whiteSpace:`nowrap`,color:`text.secondary`,fontFamily:`var(--sxl-font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,fontSize:`0.8rem`},title:v[t]??``,children:[(0,d.jsx)(r.t,{component:`span`,"aria-hidden":!0,children:`=`}),(0,d.jsx)(r.t,{component:`span`,className:`function-arg-value`,sx:{minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},children:v[t]??``})]})]},e.key)),[j,v,h,a,F,I,L,p]);return(0,d.jsxs)(r.t,{ref:O,className:f,sx:{height:`450px`,flex:`1 1 auto`,minHeight:0,boxSizing:`border-box`,paddingTop:e=>e.spacing(1),display:`flex`,flexDirection:`column`,rowGap:e=>e.spacing(1),fontFamily:e=>e.typography.fontFamily,fontSize:`0.8rem`,lineHeight:`16px`},children:[(0,d.jsxs)(r.t,{sx:{height:`70px`,flexShrink:0,overflow:`hidden`},children:[(0,d.jsx)(r.t,{sx:{fontFamily:`var(--sxl-font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`,color:`primary.main`,fontWeight:600,fontSize:`0.95rem`,lineHeight:`20px`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:M.nameLocal??M.name}),E?.name===t.getName()?(0,d.jsx)(r.t,{sx:{paddingTop:`2px`,color:`text.secondary`},children:E.summary}):null]}),(0,d.jsx)(r.t,{sx:{display:`flex`,flexDirection:`column`,flex:`1 1 0`,minHeight:`80px`,rowGap:`4px`,overflowY:`auto`,border:`1px solid`,borderColor:`divider`,borderRadius:`4px`,padding:e=>e.spacing(.5,1)},children:B}),(0,d.jsx)(r.t,{sx:{height:`48px`,flexShrink:0,overflowY:`auto`,color:`text.secondary`},children:z?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(r.t,{component:`span`,sx:{fontWeight:600},children:[j[w]?.label,`: `]}),z]}):null}),(0,d.jsx)(r.t,{sx:{display:`flex`,flexShrink:0,columnGap:e=>e.spacing(1),borderTop:`1px solid`,borderColor:`divider`,paddingTop:e=>e.spacing(1)},children:R?(0,d.jsx)(r.t,{className:`function-error`,sx:{color:`error.main`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`},children:R}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r.t,{sx:{color:`text.secondary`},children:p(`functionArguments.result`)}),(0,d.jsx)(r.t,{className:`function-result`,sx:{flex:`1 1 auto`,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,fontFamily:`var(--sxl-font-family-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace)`},title:S??``,children:S??``})]})})]})});p.displayName=`FunctionArgumentsPanel`;var m=`insert-function-page`,h=Object.freeze({Next:`Next`,Back:`Back`,Insert:`Insert`}),g=(e,t)=>{let n={id:h.Insert,label:()=>t(`insertFunction.insert`)};return e===`arguments`?[n,{id:h.Back,label:()=>t(`insertFunction.back`)},`Cancel`]:[{id:h.Next,label:()=>t(`insertFunction.next`)},n,`Cancel`]},_=(0,u.memo)(e=>{let{context:t,page:n,selected:i,onChangeSelected:a,onActivate:o,onChangeCall:s,workbook:c,home:l,className:h}=e,[g,_]=(0,u.useState)(null);n===`arguments`&&i&&i!==g&&_(i);let v=n===`arguments`&&!!g;return(0,d.jsxs)(r.t,{sx:{display:`flex`,flexDirection:`column`,height:`450px`,flex:`1 1 auto`,minHeight:0},children:[(0,d.jsx)(r.t,{className:m,"data-page":`search`,hidden:v,sx:{display:v?`none`:`contents`},children:(0,d.jsx)(f,{className:h,context:t,selected:i,onChangeSelected:a,onActivate:o,autoFocus:!v})}),g?(0,d.jsx)(r.t,{className:m,"data-page":`arguments`,hidden:!v,sx:{display:v?`contents`:`none`},children:(0,d.jsx)(p,{className:h,func:g,workbook:c,home:l,autoFocus:v,onChangeCall:s},g.getName())}):null]})});_.displayName=`InsertFunctionWizard`,Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return p}});
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BEJFcqVMDMKOvs11.cjs"),r=require("./BIQZDBQfv3Qm5iC8.cjs"),i=require("./Cy-4IMt-AbR-ifP3.cjs"),a=require("./CPgCih_KEqnUZ9Rv.cjs"),o=require("./Cm21F18ga8TluA9h.cjs"),s=require("./C5rQELB0TUeXY6VM.cjs"),c=require("./bIaGoYEDSBCrAaB6.cjs"),l=require("./C6yxQPAEgcGWAhYR.cjs"),u=require("./BfzzZ9IR27ZPzj-8.cjs"),d=require("./BEVqcFGFU6Ri9y8T.cjs");var f=e.r(t.i(),1),p=e.r(t.r(),1),m={width:`64px`,flex:`0 0 auto`},h={flex:`1 1 0`,minWidth:`120px`},g={flex:`1 1 0`,minWidth:`140px`},_={width:`34px`,flex:`0 0 auto`,display:`flex`,justifyContent:`center`},v={minWidth:`112px`,flex:`0 0 auto`,display:`flex`,alignItems:`center`,justifyContent:`flex-end`},y={color:e=>e.palette.text.secondary,fontWeight:500,paddingLeft:`14px`},b={display:`flex`,alignItems:`center`,gap:e=>e.spacing(1),padding:e=>e.spacing(.75,1),border:e=>`1px solid ${e.palette.divider}`,borderRadius:e=>e.spacing(1.25)},x=e=>{let t=e,n=``;for(;t>=0;)n=String.fromCharCode(65+t%26)+n,t=Math.floor(t/26)-1;return n},S=0,C=()=>`level-`+S++,w=e=>e?.sensitivity===l.x.CaseSensitiveOptions.sensitivity,T=(0,f.memo)(e=>{let{initialValue:t,context:u,onInput:S,onDone:T,...D}=e,O=r.Xt(),k=(0,f.useRef)(u?.()),A=k.current?.range,j=k.current?.cell,[M,N]=(0,f.useState)(()=>({...l.x.DefaultRangeOptions,...t})),[P,F]=(0,f.useState)(()=>{let e=t?.sorts??[],n=[];for(let t=0;t<e.length;t++)n.push({key:C(),index:e[t].index??t,criteria:{...e[t].criteria}});return n.length===0&&n.push({key:C(),index:0,criteria:{}}),n}),I=M.axis??c.d.Axis.Row,L=I===c.d.Axis.Row,R=(0,f.useRef)(null),z=(0,f.useRef)(!1);d.r(R,!0,z);let B=(0,f.useMemo)(()=>{let e=[],t=[],n=A?.getDefaultSortCriteria(I,j);if(!n)return{labels:e,offsets:t};let r=n.coords,i=L?r.colEnd-r.colStart+1:r.rowEnd-r.rowStart+1,a=Math.min(i,500);for(let i=0;i<a;i++){let a=M.hasHeader?n.headers?.get(i):void 0;t.push(i),e.push(a||(L?O(`sort.columnLabel`,{name:x(r.colStart+i)}):O(`sort.rowLabel`,{name:`${r.rowStart+i+1}`})))}return{labels:e,offsets:t}},[A,j,I,L,M.hasHeader,O]),V=r.tt(e=>{let t=B.offsets.indexOf(e);return t===-1?L?O(`sort.columnLabel`,{name:x(e)}):O(`sort.rowLabel`,{name:`${e+1}`}):B.labels[t]},[B,L,O]),H=(0,f.useMemo)(()=>{let e=B.offsets.length;if(e>0&&P.length>e)return O(`sort.tooManyLevels`,{count:`${e}`});let t=new Set;for(let e=0;e<P.length;e++){if(t.has(P[e].index))return O(`sort.duplicateField`,{name:V(P[e].index)});t.add(P[e].index)}return null},[P,B,V,O]),U=r.tt((e,t)=>{F(n=>n.map(n=>n.key===e?{...n,...t}:n))},[]),W=r.tt((e,t,n)=>{n&&(z.current=!0),F(n=>{if(t<0||t>=n.length)return n;let r=[...n];return r.splice(t,0,...r.splice(e,1)),r})},[]),G=r.tt(e=>{let n;if(e===`Sort`){let e=P.map(e=>{let t={...e.criteria};return delete t.collatorOptions,{index:e.index,criteria:t}});n={...t,...M,reverse:P[0]?.criteria.reverse??M.reverse,sorts:e}}S?.(n),T?.(n)},[P,M,T,S,t]),K=(0,f.useMemo)(()=>P.map(e=>e.key),[P]);return(0,p.jsx)(i.i,{title:O(`sort.title`),options:[{id:`Sort`,label:()=>O(`sort.action`),disabled:()=>H!==null},`Cancel`],onDone:G,...D,children:(0,p.jsxs)(r.t,{sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(1.5),minWidth:`560px`},children:[(0,p.jsxs)(r.t,{sx:{display:`flex`,flexDirection:`column`},children:[(0,p.jsx)(r.t,{sx:{padding:e=>e.spacing(0,.5)},children:(0,p.jsxs)(r.t,{sx:{...b,borderColor:`transparent`,paddingTop:0,paddingBottom:0},children:[(0,p.jsx)(r.t,{sx:m}),(0,p.jsx)(i.N,{variant:`body2`,sx:{...h,...y},children:O(L?`sort.column`:`sort.row`)}),(0,p.jsx)(i.N,{variant:`body2`,sx:{...g,...y},children:O(`sort.sortOn`)}),(0,p.jsx)(i.N,{variant:`body2`,sx:{..._,...y,paddingLeft:0},children:O(`sort.order`)}),(0,p.jsx)(r.t,{sx:v})]})}),(0,p.jsxs)(r.t,{ref:R,sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(.75),padding:e=>e.spacing(.5),maxHeight:`320px`,overflowY:`auto`},children:[(0,p.jsx)(d.n,{ids:K,scrollRef:R,onMove:(e,t)=>W(e,t,!0),children:P.map((e,t)=>(0,p.jsx)(d.t,{id:e.key,children:(0,p.jsx)(E,{level:e,position:t,count:P.length,fields:B,labelForField:V,isRowSort:L,onChange:U,onMoveBy:e=>W(t,t+e,!1),onDuplicate:()=>{F(n=>{let r=[...n];return r.splice(t+1,0,{...e,key:C(),criteria:{...e.criteria}}),r})},onDelete:()=>F(t=>t.filter(t=>t.key!==e.key))})},e.key))}),(0,p.jsxs)(r.t,{sx:{...b,borderColor:`transparent`,flex:`0 0 auto`,paddingTop:0,paddingBottom:0},children:[(0,p.jsx)(i.N,{variant:`body2`,sx:{...m,color:e=>e.palette.text.secondary},children:O(`sort.thenBy`)}),(0,p.jsx)(i.s,{disableInteractive:!0,title:O(`sort.addLevel`),children:(0,p.jsx)(i.F,{size:`small`,className:`sxl-sort-addLevel`,"aria-label":O(`sort.addLevel`),onClick:()=>{F(e=>{let t=new Set(e.map(e=>e.index)),n=B.offsets.find(e=>!t.has(e));return[...e,{key:C(),index:n??0,criteria:{}}]})},children:(0,p.jsx)(n.r,{iconKey:`Insert`})})})]})]})]}),H===null?null:(0,p.jsx)(i.N,{variant:`body2`,className:`sxl-sort-refusal`,sx:{color:e=>e.palette.error.main},children:H}),(0,p.jsxs)(r.t,{sx:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,columnGap:e=>e.spacing(2),rowGap:e=>e.spacing(1.5),borderTop:e=>`1px solid ${e.palette.divider}`,paddingTop:e=>e.spacing(1)},children:[(0,p.jsx)(o.t,{control:(0,p.jsx)(o.n,{size:`small`,checked:!!M.hasHeader,onChange:()=>N(e=>({...e,hasHeader:!e.hasHeader}))}),label:O(`sort.hasHeader`)}),(0,p.jsx)(o.t,{control:(0,p.jsx)(o.n,{size:`small`,checked:w(M.collatorOptions),onChange:()=>N(e=>({...e,collatorOptions:w(e.collatorOptions)?l.x.CaseInsensitiveOptions:l.x.CaseSensitiveOptions}))}),label:O(`sort.caseSensitive`)}),(0,p.jsx)(o.t,{control:(0,p.jsx)(o.n,{size:`small`,checked:!!M.includeHidden,onChange:()=>N(e=>({...e,includeHidden:!e.includeHidden}))}),label:O(`sort.includeHidden`)}),(0,p.jsxs)(a.h,{size:`small`,sx:{minWidth:`180px`},children:[(0,p.jsx)(a.p,{id:`sxl-sort-orientation-label`,children:O(`sort.orientation`)}),(0,p.jsxs)(a.t,{size:`small`,className:`sxl-sort-orientation`,labelId:`sxl-sort-orientation-label`,label:O(`sort.orientation`),value:I,onChange:e=>{let t=e.target.value;N(e=>({...e,axis:t}))},children:[(0,p.jsx)(s.t,{value:c.d.Axis.Row,children:O(`sort.orientationTopToBottom`)}),(0,p.jsx)(s.t,{value:c.d.Axis.Column,children:O(`sort.orientationLeftToRight`)})]})]})]})]})})}),E=(0,f.memo)(e=>{let{level:t,position:o,count:c,fields:l,labelForField:d,isRowSort:y,onChange:x,onMoveBy:S,onDuplicate:C,onDelete:w}=e,T=r.Xt(),E=t.criteria.sortOn??u.n.SortOn.Value,D=!!t.criteria.reverse,O=(0,f.useMemo)(()=>{let e=l.offsets.map((e,t)=>({offset:e,label:l.labels[t]}));return l.offsets.includes(t.index)||e.push({offset:t.index,label:d(t.index)}),e},[l,t.index,d]),k=(e,t,r,a,o)=>(0,p.jsx)(i.s,{disableInteractive:!0,title:e,children:(0,p.jsx)(`div`,{children:(0,p.jsx)(i.F,{size:`small`,className:`sxl-sort-${t}`,"aria-label":e,disabled:a,sx:{padding:`2px`},onClick:o,children:(0,p.jsx)(n.r,{style:{transform:`scale(0.85)`},iconKey:r})})})});return(0,p.jsxs)(r.t,{sx:{...b,"&:hover, &:focus-within":{boxShadow:1,"& .sxl-sort-level-actions":{opacity:1,pointerEvents:`auto`}}},children:[(0,p.jsx)(i.N,{variant:`body2`,sx:m,children:T(o===0?`sort.sortBy`:`sort.thenBy`)}),(0,p.jsx)(a.t,{size:`small`,className:`sxl-sort-field`,value:t.index,sx:h,"aria-label":T(y?`sort.column`:`sort.row`),onChange:e=>x(t.key,{index:Number(e.target.value)}),children:O.map(e=>(0,p.jsx)(s.t,{value:e.offset,children:e.label},e.offset))}),(0,p.jsxs)(a.t,{size:`small`,className:`sxl-sort-on`,value:E,sx:g,"aria-label":T(`sort.sortOn`),onChange:e=>{x(t.key,{criteria:{...t.criteria,sortOn:e.target.value}})},children:[(0,p.jsx)(s.t,{value:u.n.SortOn.Value,children:T(`sort.sortOnValue`)}),(0,p.jsxs)(s.t,{value:u.n.SortOn.FillColor,disabled:!0,children:[T(`sort.sortOnFillColor`),(0,p.jsx)(i.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]}),(0,p.jsxs)(s.t,{value:u.n.SortOn.FontColor,disabled:!0,children:[T(`sort.sortOnFontColor`),(0,p.jsx)(i.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]}),(0,p.jsxs)(s.t,{value:u.n.SortOn.Icon,disabled:!0,children:[T(`sort.sortOnIcon`),(0,p.jsx)(i.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]})]}),(0,p.jsx)(r.t,{sx:_,children:(0,p.jsx)(i.s,{disableInteractive:!0,title:T(D?`sort.descending`:`sort.ascending`),children:(0,p.jsx)(i.F,{size:`small`,className:`sxl-sort-order`,"aria-label":T(D?`sort.descending`:`sort.ascending`),onClick:()=>x(t.key,{criteria:{...t.criteria,reverse:!D}}),children:(0,p.jsx)(n.r,{iconKey:D?`SortDecrease`:`SortIncrease`})})})}),(0,p.jsxs)(r.t,{className:`sxl-sort-level-actions`,sx:{...v,opacity:0,pointerEvents:`none`,transition:`opacity 0.2s ease`},children:[k(T(`sort.moveUp`),`moveUp`,`CardMoveUp`,o===0,()=>S(-1)),k(T(`sort.moveDown`),`moveDown`,`CardMoveDown`,o===c-1,()=>S(1)),k(T(`sort.copyLevel`),`copyLevel`,`CardDuplicate`,!1,C),k(T(`sort.deleteLevel`),`deleteLevel`,`Delete`,c<=1,w)]})]})});E.displayName=`SortLevelCard`,exports.SortDialog=T,exports.default=T;
@@ -1 +0,0 @@
1
- exports.default={ADDRESS:{s:`Creates a cell reference as text, given specified row and column numbers.`,p:{rowNum:{d:`is the row number to use in the cell reference: Row_number = 1 for row 1.`},columnNum:{d:`is the column number to use in the cell reference. For example, Column_number = 4 for column D.`},absNum:{d:`specifies the reference type: absolute = 1; absolute row/relative column = 2; relative row/absolute column = 3; relative = 4.`},a1:{d:`is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE.`},sheetText:{d:`is text specifying the name of the worksheet to be used as the external reference.`}}},AREAS:{s:`Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell.`,p:{references:{d:`is a reference to a cell or range of cells and can refer to multiple areas.`}}},ARRAY_CONSTRAIN:{s:`Constrains an array result to a specified size.`,c:`Sheets`,p:{inputRange:{d:`The range to constrain.`},numRows:{d:`The number of rows the result should contain.`},numCols:{d:`The number of columns the result should contain.`}}},ARRAYFORMULA:{s:`Enables the display of values returned from an array formula into multiple rows and/or columns.`,c:`Sheets`,p:{arrayFormula:{d:`A range, a mathematical expression over ranges of the same size, or a function that returns a result of more than one cell.`}}},CHOOSE:{s:`Chooses a value or action to perform from a list of values, based on an index number.`,p:{indexNum:{d:`specifies which value argument is selected. Index_num must be between 1 and 254, or a formula or a reference to a number between 1 and 254.`},value:{d:`are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects.`}}},CHOOSECOLS:{s:`Returns columns from an array or reference.`,p:{array:{d:`The array or reference from which to choose columns.`},colNum:{d:`The number of the column to be returned.`}}},CHOOSEROWS:{s:`Returns rows from an array or reference.`,p:{array:{d:`The array or reference from which to choose rows.`},rowNum:{d:`The number of the row to be returned.`}}},COLUMN:{s:`Returns the column number of a reference.`,p:{reference:{d:`is the cell or range of contiguous cells for which you want the column number. If omitted, the cell containing the COLUMN function is used.`}}},COLUMNS:{s:`Returns the number of columns in an array or reference.`,p:{array:{d:`is an array or array formula, or a reference to a range of cells for which you want the number of columns.`}}},DROP:{s:`Drops rows or columns from array start or end.`,p:{array:{d:`The array from which to drop rows or columns.`},row:{d:`The number of rows to drop. A negative value drops from the end of the array.`},columns:{d:`The number of columns to drop. A negative value drops from the end of the array.`}}},EXPAND:{s:`Expands an array to the specified dimensions.`,p:{array:{d:`The array to expand.`},row:{d:`The number of rows in the expanded array. If missing, rows will not be expanded.`},columns:{d:`The number of columns in the expanded array. If missing, columns will not be expanded.`},padWidth:{d:`The value with which to pad. The default is #N/A.`}}},FIELDVALUE:{s:`Extracts a value from a field of a given record.`,p:{value:{d:`The record from which you want to extract the field.`},fieldName:{d:`The names of the field or fields that you want to extract.`}},h:`Unimplemented RichData`},FILTER:{s:`Filter a range or array.`,p:{array:{d:`the range or array to filter.`},include:{d:`an array of booleans where TRUE represents a row or column to retain.`},ifEmpty:{d:`return if no items are retained.`}}},FORMULATEXT:{s:`Returns a formula as a string.`,p:{reference:{d:`is a reference to a formula.`}}},GETPIVOTDATA:{s:`Extracts data stored in a PivotTable.`,p:{dataField:{d:`is the name of the data field to extract data from.`},pivotTable:{d:`is a reference to a cell or range of cells in the PivotTable that contains the data you want to retrieve.`},fieldItem:{d:`the field/item pairs to refer to.`},"fieldItem.field":{d:`field to refer to.`},"fieldItem.item":{d:`field item to refer to.`}},h:`Unimplemented Pivot`},HLOOKUP:{s:`Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.`,p:{lookupValue:{d:`is the value to be found in the first row of the table and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values in which data is looked up. tableArray can be a reference to a range or a range name.`},rowIndexNum:{d:`is the row number in tableArray from which the matching value should be returned. The first row of values in the table is row 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},HSTACK:{s:`Horizontally stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},HYPERLINK:{s:`Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.`,p:{linkLocation:{d:`is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path.`},friendlyName:{d:`is text or a number that is displayed in the cell. If omitted, the cell displays the linkLocation text.`}},h:`Unimplemented RichData`},IMAGE:{s:`Returns an image from a given source.`,p:{source:{d:`The path of the source that points to the image.`},alternateText:{d:`The alternative text that describes the image for accessibility.`},sizing:{d:`The setting that determines the dimensions in which the image will be rendered in the cell.`},height:{d:`The custom height of the image in pixels.`},width:{d:`The custom width of the image in pixels.`}},h:`Unimplemented RichData`},INDEX:{s:`Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.`,p:{array:{d:`is a range of cells or an array constant.`},rowNum:{d:`selects the row in Array or Reference from which to return a value. If omitted, colNum is required.`},colNum:{d:`selects the column in Array or Reference from which to return a value. If omitted, rowNum is required.`},areaNum:{d:`selects the area in Array or Reference from which to return a value. If omitted, the first area is used.`}}},INDIRECT:{s:`Returns the reference specified by a text string.`,p:{refText:{d:`is a reference to a cell that contains an A1- or R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string.`},a1:{d:`is a logical value that specifies the type of reference in refText: R1C1-style = FALSE; A1-style = TRUE.`}}},LOOKUP:{s:`Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility.`,p:{lookupValue:{d:`is a value that LOOKUP searches for in lookupVector and can be a number, text, a logical value, or a name or reference to a value.`},lookupVector:{d:`is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order.`},resultVector:{d:`is a range that contains only one row or column, the same size as lookupVector.`}}},MATCH:{s:`Returns the relative position of an item in an array that matches a specified value in a specified order.`,p:{lookupValue:{d:`is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these.`},lookupArray:{d:`is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array.`},matchType:{d:`is a number 1, 0, or -1 indicating which value to return.`}}},OFFSET:{s:`Returns a reference to a range that is a given number of rows and columns from a given reference.`,p:{reference:{d:`is the reference from which you want to base the offset, a reference to a cell or range of adjacent cells.`},rows:{d:`is the number of rows, up or down, that you want the upper-left cell of the result to refer to.`},cols:{d:`is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to.`},height:{d:`is the height, in number of rows, that you want the result to be, the same height as Reference if omitted.`},width:{d:`is the width, in number of columns, that you want the result to be, the same width as Reference if omitted.`}}},ROW:{s:`Returns the row number of a reference.`,p:{reference:{d:`is the cell or a single range of cells for which you want the row number; if omitted, returns the cell containing the ROW function.`}}},ROWS:{s:`Returns the number of rows in a reference or array.`,p:{array:{d:`is an array, an array formula, or a reference to a range of cells for which you want the number of rows.`}}},RTD:{s:`Retrieves the real-time data (RTD) from a program that supports COM automation.`,p:{progId:{d:`is the programmatic identifier (ProgID) of a registered COM automation add-in. Enclose the id in quotation marks.`},server:{d:`is the name of the server that provides the real-time data. If running locally us an empty string.`},topic:{d:`are 1 to 38 parameters that specify a piece of data.`}},h:`Unimplemented Connectivity`},SORT:{s:`Sorts a range or array.`,p:{array:{d:`the range or array to sort.`},sortIndex:{d:`a number indicating the row or column to sort by.`},sortOrder:{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`},byCol:{d:`a logical value indicating the desired sort direction: FALSE to sort by row (default), TRUE to sort by column.`}}},SORTBY:{s:`Sorts a range or array based on the values in a corresponding range or array.`,p:{array:{d:`the range or array to sort.`},by:{d:`the ranges to sort on and the direction for each.`},"by.byArray":{d:`the range or array to sort on.`},"by.sortOrder":{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`}}},TAKE:{s:`Returns rows or columns from array start or end.`,p:{array:{d:`The array from which to take rows or columns.`},rows:{d:`The number of rows to take. A negative value takes from the end of the array.`},columns:{d:`The number of columns to take. A negative value takes from the end of the array.`}}},TOCOL:{s:`Returns the array as one column.`,p:{array:{d:`The array or reference to return as a column.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TOROW:{s:`Returns the array as one row.`,p:{array:{d:`The array or reference to return as a row.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TRANSPOSE:{s:`Converts a vertical range of cells to a horizontal range, or vice versa.`,p:{array:{d:`is a range of cells on a worksheet or an array of values that you want to transpose.`}}},TRIMRANGE:{s:`Trims a range to the last used cell in any direction.`,p:{range:{d:`The range to be trimmed.`},rowTrimMode:{d:`Row trim direction. 0 - none, 1 - leading, 2 - trailing, 3 - both.`},colTrimMode:{d:`Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both.`}}},UNIQUE:{s:`Returns the unique values from a range or array.`,p:{array:{d:`the range or array from which to return unique rows or columns.`},byCol:{d:`is a logical value: compare rows against each other and return the unique rows = FALSE; compare columns against each other and return the unique columns = TRUE.`},exactlyOnce:{d:`is a logical value: return rows or columns that occur exactly once from the array = TRUE; return all distinct rows or columns from the array = FALSE.`}}},VLOOKUP:{s:`Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. By default, the table must be sorted in an ascending order.`,p:{lookupValue:{d:`is the value to be found in the first column of the table, and can be a value, a reference, or a text string.`},tableArray:{d:`is a table of text, numbers, or logical values, in which data is retrieved. tableArray can be a reference to a range or a range name.`},colIndexNum:{d:`is the column number in tableArray from which the matching value should be returned. The first column of values in the table is column 1.`},rangeLookup:{d:`is a logical value: to find the closest match in the first column (sorted in ascending order) = TRUE; find an exact match = FALSE.`}}},VSTACK:{s:`Vertically stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},WRAPCOLS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per column.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},WRAPROWS:{s:`Wraps a row or column vector after a specified number of values.`,p:{vector:{d:`The vector or reference to wrap.`},wrapCount:{d:`The maximum number of values per row.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},XLOOKUP:{s:`Searches a range or an array for a match and returns the corresponding item from a second range or array. By default, an exact match is used.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},returnArray:{d:`is the array or range to return.`},ifNotFound:{d:`returned if no match is found.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}},XMATCH:{s:`Returns the relative position of an item in an array. By default, an exact match is required.`,p:{lookupValue:{d:`is the value to search for.`},lookupArray:{d:`is the array or range to search.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}}};
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./BnccBYHCCq9TGFx4.cjs");var n=e.n({ScriptCompiler:()=>l,loadCompiledModule:()=>r});async function r(e,t){let{loadCompiledModule:n}=await Promise.resolve().then(()=>require("./Dx79LP1-YCQg8B87.cjs"));return n(e,t)}var i=null,a=null,o=null,s=null;async function c(){return s||=(async()=>(await Promise.resolve().then(()=>require("./C_IEgjM-hSJCv6Gm.cjs"))).initialize())(),s}var l=Object.freeze({compile:async function(e){if(!e?.source)return{module:null,diagnostics:[]};if(a&&t.A.deepEqual(a,e))return i;let n=await(await async function(){if(o)return o;let{TypeScriptCompiler:e}=await Promise.resolve().then(()=>require("./DsIHLUKUrSrYhFHl.cjs"));return o=new e}()).compileModule(e);return i=n,a=e,n},lint:async function(e,t){if(!e)return[];let[n,{lintScript:r}]=await Promise.all([c(),Promise.resolve().then(()=>require("./2zXD3NPfuQT2KSZq.cjs"))]);return r(n,e,t)},cleanup:function(){o&&(o.terminate(),o=null,i=null)}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BnccBYHCCq9TGFx4.cjs"),r=require("./BIQZDBQfv3Qm5iC8.cjs"),i=require("./Cy-4IMt-AbR-ifP3.cjs"),a=require("./bIaGoYEDSBCrAaB6.cjs");var o=e.r(t.i(),1),s=e.r(t.r(),1),c=[`Ok`],l=[a.t.Number,a.t.String,a.t.Boolean,a.t.Error],u=(0,o.memo)(e=>{let{context:t,onDone:u,options:d=c,defaultOption:f=d?.[0],sx:p,...m}=e,h=r.Xt(),g=(0,o.useMemo)(()=>{let e=t?.().getWorkbook();if(!e)return null;let r=e=>{let t=e.getTypedCounts(l);return[{labelKey:n.v(`workbookStatistics.cellsWithData`),value:e.getCount().toLocaleString()},{labelKey:n.v(`workbookStatistics.numbers`),value:(t[a.t.Number]??0).toLocaleString()},{labelKey:n.v(`workbookStatistics.text`),value:(t[a.t.String]??0).toLocaleString()},{labelKey:n.v(`workbookStatistics.booleans`),value:(t[a.t.Boolean]??0).toLocaleString()},{labelKey:n.v(`workbookStatistics.errors`),value:(t[a.t.Error]??0).toLocaleString()}]},i=e.getSelectedSheet(),o=i.getUsedRange()?.getCoords(),s=o?i.getRange({rowStart:o.rowEnd,colStart:o.colEnd,rowEnd:o.rowEnd,colEnd:o.colEnd}).getAddress():`–`;return[{titleKey:n.v(`workbookStatistics.currentSheet`),subTitle:i.getName(),rows:[{labelKey:n.v(`workbookStatistics.endOfSheet`),value:s},...r(i.getStats({onError:`ignore`}))]},{titleKey:n.v(`workbookStatistics.workbook`),subTitle:null,rows:[{labelKey:n.v(`workbookStatistics.sheets`),value:e.getSheets().getCount().toLocaleString()},...r(e.getStats({onError:`ignore`}))]}]},[t]);return(0,s.jsx)(i.i,{title:h(`workbookStatistics.title`),options:d,defaultOption:f,onDone:u,sx:{width:`340px`,...p},...m,children:(0,s.jsx)(r.t,{sx:{display:`flex`,flexDirection:`column`,rowGap:e=>e.spacing(2),paddingBottom:e=>e.spacing(1)},children:g?.map(e=>(0,s.jsxs)(r.t,{children:[(0,s.jsxs)(i.N,{variant:`subtitle2`,component:`div`,sx:{display:`flex`,alignItems:`baseline`,gap:e=>e.spacing(.75),borderBottom:e=>`1px solid ${e.palette.divider}`,paddingBottom:e=>e.spacing(.5),marginBottom:e=>e.spacing(.5)},children:[h(e.titleKey),e.subTitle?(0,s.jsx)(i.N,{variant:`caption`,component:`span`,color:`text.secondary`,children:e.subTitle}):null]}),(0,s.jsx)(r.t,{sx:{display:`grid`,gridTemplateColumns:`1fr auto`,columnGap:e=>e.spacing(2),rowGap:e=>e.spacing(.25)},children:e.rows.map(e=>(0,s.jsxs)(o.Fragment,{children:[(0,s.jsx)(i.N,{variant:`body2`,component:`div`,color:`text.secondary`,children:h(e.labelKey)}),(0,s.jsx)(i.N,{variant:`body2`,component:`div`,sx:{textAlign:`right`,fontVariantNumeric:`tabular-nums`},children:e.value})]},e.labelKey))})]},e.titleKey))})})});u.displayName=`WorkbookStatisticsDialog`,exports.WorkbookStatisticsDialog=u,exports.default=u;
@@ -1 +0,0 @@
1
- var e,t,n,r,i;(function(e){e.MAX_TEXT_LENGTH=32767;let t=e.MAX_SIGNIFICANT_DIGITS=15;e.truncateNumberText=function(e){let n=e.length;if(n<=t)return e;let r=0,i=null;for(let a=0;a<n;a++){let n=e.charCodeAt(a);if(n>=48&&n<=57){if(r===0&&n===48)continue;r++,r>t&&((i??=e.split(``))[a]=`0`)}else if((n===69||n===101)&&r>0)break}return i===null?e:i.join(``)}})(e||={});var a={Number:`number`,String:`string`,Boolean:`boolean`,Error:`error`,RichData:`richData`,Null:`null`},o={...a,Date:`date`},s=/[.*+?^${}()|[\]\\]/,c=e=>s.test(e)?`\\`+e:e,l={isWildCard:e=>typeof e==`string`&&/[*?]/.test(e),toRegex:(e,t,n=!1)=>{let r=``,i=e.length;for(let t=0;t<i;t++){let n=e[t];if(n===`~`){let n=e[t+1];n===`*`||n===`?`||n===`~`?(r+=c(n),t++):r+=`~`;continue}r+=n===`*`?`.*`:n===`?`?`.`:c(n)}return RegExp(n?`^${r}$`:r,t)}},u={noReferenceLift:`A multi-cell reference at a non-repeating scalar parameter is #VALUE! rather than a broadcast.`,noMemberFilter:`Members of a repeating scalar parameter are coerced rather than filtered; one that cannot be is #VALUE!.`},d={atp:[`noReferenceLift`,`noMemberFilter`]};function f(e){let t=function(e){if(!e)return null;let t=e.trim().toLowerCase();for(let e of Object.keys(u))if(e.toLowerCase()===t)return e;return null}(e);if(t)return[t];let n=(e??``).trim().toLowerCase();for(let e of Object.keys(d))if(e.toLowerCase()===n)return d[e];return null}(n=t||={}).Axis={Column:`column`,Row:`row`},n.AxisSelection={...t.Axis,Both:`both`},n.Direction={Up:`up`,Down:`down`,Left:`left`,Right:`right`},(r||={}).Aggregate={Count:`count`,NumericalCount:`numericalCount`,Sum:`sum`,Average:`average`,StdDev:`stdDev`,PopulationStdDev:`stdDevP`,Variance:`var`,PopulationVariance:`varP`,Min:`min`,Max:`max`},function(e){let t=e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},n=e.Label={Parse:`#PARSE!`,Null:`#NULL!`,Div0:`#DIV/0!`,Value:`#VALUE!`,Ref:`#REF!`,Name:`#NAME?`,Num:`#NUM!`,NA:`#N/A`,GettingData:`#GETTING_DATA`,Spill:`#SPILL!`,Connect:`#CONNECT!`,Blocked:`#BLOCKED!`,Unknown:`#UNKNOWN!`,Field:`#FIELD!`,Calc:`#CALC!`,Busy:`#BUSY!`,Python:`#PYTHON!`,Timeout:`#TIMEOUT!`};class r extends Error{constructor(e,t,n,r){super(n,r),this._label=t,this._code=e,this.details=r}static{this.code=i.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(e){return!!e&&(this._code===e._code||this._code===e.code)}get[Symbol.toStringTag](){return`[FormulaError]`}toString(){return this._label}}e.Known=r;class a extends r{constructor(e,r){super(t.Parse,n.Parse,e,r)}static{this.code=i.Code.Parse}getDetails(){let e=this.details;return{line:e?.line??1,column:e?.column??1,offset:e?.offset??0,length:e?.length??0}}}e.Parse=a;class o extends r{constructor(e,r){super(t.Null,n.Null,e,r)}static{this.code=i.Code.Null}}e.Null=o;class s extends r{constructor(e,r){super(t.Div0,n.Div0,e,r)}static{this.code=i.Code.Div0}}e.Div0=s;class c extends r{constructor(e,r){super(t.Value,n.Value,e,r)}static{this.code=i.Code.Value}}e.Value=c;class l extends r{constructor(e,r){super(t.Ref,n.Ref,e,r)}static{this.code=i.Code.Ref}}e.Ref=l;class u extends r{constructor(e,r){super(t.Name,n.Name,e,r)}static{this.code=i.Code.Name}}e.Name=u;class d extends r{constructor(e,r){super(t.Num,n.Num,e,r)}static{this.code=i.Code.Num}}e.Num=d;class f extends r{constructor(e,r){super(t.NA,n.NA,e,r)}static{this.code=i.Code.NA}}e.NA=f;class p extends r{constructor(e,r){super(t.GettingData,n.GettingData,e,r)}static{this.code=i.Code.GettingData}}e.GettingData=p;class m extends r{constructor(e,r){super(t.Spill,n.Spill,e,r)}static{this.code=i.Code.Spill}}e.Spill=m;class h extends r{constructor(e,r){super(t.Connect,n.Connect,e,r)}static{this.code=i.Code.Connect}}e.Connect=h;class g extends r{constructor(e,r){super(t.Blocked,n.Blocked,e,r)}static{this.code=i.Code.Blocked}}e.Blocked=g;class _ extends r{constructor(e,r){super(t.Unknown,n.Unknown,e,r)}static{this.code=i.Code.Unknown}}e.Unknown=_;class v extends r{constructor(e,r){super(t.Field,n.Field,e,r)}static{this.code=i.Code.Field}}e.Field=v;class y extends r{constructor(e,r){super(t.Calc,n.Calc,e,r)}static{this.code=i.Code.Calc}}e.Calc=y;class b extends r{constructor(e,r){super(t.Busy,n.Busy,e,r)}static{this.code=i.Code.Busy}}e.Busy=b;class x extends r{constructor(e,r){super(t.Python,n.Python,e,r)}static{this.code=i.Code.Python}}e.Python=x;class S extends r{constructor(e,r){super(t.Timeout,n.Timeout,e,r)}static{this.code=i.Code.Timeout}}e.Timeout=S}(i||={});var p={};p[i.Code.Parse]=i.Parse,p[i.Code.Null]=i.Null,p[i.Code.Div0]=i.Div0,p[i.Code.Value]=i.Value,p[i.Code.Ref]=i.Ref,p[i.Code.Name]=i.Name,p[i.Code.Num]=i.Num,p[i.Code.NA]=i.NA,p[i.Code.GettingData]=i.GettingData,p[i.Code.Spill]=i.Spill,p[i.Code.Connect]=i.Connect,p[i.Code.Blocked]=i.Blocked,p[i.Code.Unknown]=i.Unknown,p[i.Code.Field]=i.Field,p[i.Code.Calc]=i.Calc,p[i.Code.Busy]=i.Busy,p[i.Code.Python]=i.Python,p[i.Code.Timeout]=i.Timeout;var m=new Map,h=new Map,g=new Map,_=new Map,v=Object.keys(p);for(let e=0;e<v.length;e++){let t=p[v[e]],n=new t;g.set(n.getLabel(),t),_.set(n.getCode(),t),m.set(n.getLabel(),n),h.set(n.getCode(),n)}(function(e){let t=e.getBuiltInByCode=e=>h.get(e);e.BuiltIn={Parse:t(i.Code.Parse),Null:t(i.Code.Null),Div0:t(i.Code.Div0),Value:t(i.Code.Value),Ref:t(i.Code.Ref),Name:t(i.Code.Name),Num:t(i.Code.Num),NA:t(i.Code.NA),GettingData:t(i.Code.GettingData),Spill:t(i.Code.Spill),Connect:t(i.Code.Connect),Blocked:t(i.Code.Blocked),Unknown:t(i.Code.Unknown),Field:t(i.Code.Field),Calc:t(i.Code.Calc),Busy:t(i.Code.Busy),Python:t(i.Code.Python),Timeout:t(i.Code.Timeout)},e.newTypedError=(e,t,n)=>{let r;return r=typeof e==`string`?g.get(e):_.get(e),r||=i.Unknown,new r(t,n)},e.getBuiltInByLabel=e=>m.get(e),e.isError=function(e,t){return!!e&&!0===e.isFormulaError&&(t===void 0||e.getCode()===t)}})(i||={});var y=class{constructor(e){this._subscribeFn=e}subscribe(e,t,n){let r=typeof e==`object`?{next:e.next||(()=>{}),error:e.error||(()=>{}),complete:e.complete||(()=>{}),unsubscribe:()=>{}}:{next:e||(()=>{}),error:t||(()=>{}),complete:n||(()=>{}),unsubscribe:()=>{}},i=this._subscribeFn(r);return r.unsubscribe=()=>{typeof i==`function`&&i()},r}},b=e=>{if(e==null)return 0;switch(typeof e){case`number`:return 1;case`string`:return 2;case`boolean`:return 3;default:return 4}},x=`FormulaContext.getArgs() is only valid while a function body is running`,S=class extends Error{constructor(e=`Not implemented in StubbedFormulaContext`){super(e),this.name=`NotImplementedError`}},C=Object.freeze({colStart:0,rowStart:0,colEnd:16383,rowEnd:1048575}),w={isDate1904:()=>!1,getLocale:()=>O.tag,getLocaleProfile:()=>O,isR1C1:()=>!1,getNow:()=>0,getLocation:()=>`unknown`,getVersion:()=>`1.0.0`,getOS:()=>`unknown`,getUser:()=>`unidentified`,getDescription:()=>`Stubbed Formula Context`},T=2958465,E=new class{createRange(e,t,n){throw new S}getReference(e,t){throw new S}getResizedReference(e,t,n){throw new S}getNumberFormat(e,t){throw new S}fromSerialDate(e,t){throw new S}toSerialDate(e,t){throw new S}getDateParts(e,t){throw new S}getSerialDate(e,t,n,r,i,a,o){throw new S}getNow(){throw new S}getValueAt(e,t,n,r){return null}getEntireCoords(){return C}isValidDate(e,t){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`?!isNaN(e.getTime()):!t&&typeof e==`number`&&!(e<0||e>T)}getRow(){return 0}getColumn(){return 0}getFormulaAt(e,t,n){return null}getSpillAt(e,t,n){return null}getSheetIndex(e){return-1}getSheetCount(){return 1}markVolatile(){}formatResults(e){}filterHidden(e,t){return e}filterTotals(e){return e}getFunction(e){return null}getAddress(e,t){throw new S}parseAsSerialDate(e,t){throw new S}parseAsDate(e,t){throw new S}parseAsNumber(e,t){throw new S}createCriteria(e){throw new S}parseAsLiteral(e){let t=e.toUpperCase();return t===`TRUE`||t!==`FALSE`&&i.getBuiltInByLabel(t)}toText(e){return typeof e==`string`?e:e==null?``:typeof e==`boolean`?e?`TRUE`:`FALSE`:e?.isFormulaError?e.getLabel():String(e)}compare(e,t,n){if(e===t)return 0;let r=b(e),i=b(t);return r===i?e<t?-1:+(e>t):r<i?-1:1}getRuntime(){return w}getArgs(){throw new S(x)}},D=class{constructor(){this._scope=E,this._argsFn=null}_setScope(e){this._scope=e??E}_getScope(){return this._scope}_setArgsProvider(e){this._argsFn=e}getNumberFormat(e,t){return this._getScope().getNumberFormat(e,t)}getEntireCoords(){return this._getScope().getEntireCoords()??C}parseAsSerialDate(e,t){return this._getScope().parseAsSerialDate(e,t)}parseAsDate(e,t){return this._getScope().parseAsDate(e,t)}parseAsNumber(e,t){return this._getScope().parseAsNumber(e,t)}createCriteria(e){return this._getScope().createCriteria(e)}parseAsLiteral(e){let t=this._getScope();return t.parseAsLiteral?t.parseAsLiteral(e):E.parseAsLiteral(e)}toText(e){return this._getScope().toText(e)}isValidDate(e,t=!1){return this._getScope().isValidDate(e,t)}fromSerialDate(e,t=!1){return this._getScope().fromSerialDate(e,t)}toSerialDate(e,t=!1){return this._getScope().toSerialDate(e,t)}getDateParts(e,t){return this._getScope().getDateParts(e,t)}getSerialDate(e,t,n,r=0,i=0,a=0,o=0){return this._getScope().getSerialDate(e,t,n,r,i,a,o)}getNow(){return this._getScope().getNow()}createRange(e,t,n){return this._getScope().createRange(e,t,n)}getRow(){return this._getScope().getRow?.()??0}getColumn(){return this._getScope().getColumn?.()??0}getReference(e,t){return this._getScope().getReference(e,t)}getResizedReference(e,t,n){return this._getScope().getResizedReference(e,t,n)}getValueAt(e,t,n){return this._getScope().getValueAt(e,t,n)}getFormulaAt(e,t,n){return this._getScope().getFormulaAt?.(e,t,n)??null}getSpillAt(e,t,n){return this._getScope().getSpillAt?.(e,t,n)??null}getSheetIndex(e){return this._getScope().getSheetIndex?.(e)??-1}getSheetCount(){return this._getScope().getSheetCount?.()??1}markVolatile(){this._getScope().markVolatile?.()}formatResults(e){this._getScope().formatResults?.(e)}filterHidden(e,t){return this._getScope().filterHidden?.(e,t)??e}filterTotals(e){return this._getScope().filterTotals?.(e)??e}getFunction(e){return this._getScope().getFunction?.(e)??null}getAddress(e,t){return this._getScope().getAddress(e,t)}compare(e,t,n){return this._getScope().compare?.(e,t,n)??E.compare(e,t,n)}getRuntime(){return this._getScope().getRuntime()}getArgs(){let e=this._argsFn,t=e?e():null;if(!t)throw new S(x);return t}get[Symbol.toStringTag](){return`[FormulaContext]`}toString(){return this._getScope()?.toString?.()??`{STUB SCOPE}`}},O=Object.freeze({tag:`en-US`,numberingSystem:`latn`,decimal:`.`,group:`,`,grouping:[3],minusSign:`-`,percentSign:`%`,permilleSign:`‰`,currencyCode:`USD`,currencySymbol:`$`,currencyDisplay:`symbol`,currencyPosition:`before`,currencySpacing:`tight`,date:Object.freeze({calendar:`gregory`,short:`M/d/yy`,medium:`MMM d, y`,long:`MMMM d, y`,timeShort:`h:mm a`,timeLong:`h:mm:ss a`,am:`AM`,pm:`PM`,firstDay:0,weekend:[6,0],monthsWide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsAbbr:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdaysWide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysAbbr:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],hour12:!0}),listSeparator:`,`,csvDelimiter:`,`,rtl:!1,collator:Object.freeze({sensitivity:`base`,numeric:!0})}),k=new D;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return e}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return r}});
@@ -1 +0,0 @@
1
- exports.default={REGEXEXTRACT:{s:`Extracts substrings of 'text' based on the provided REGEX 'pattern'.`,p:{text:{d:`is the text string from which you want to extract characters.`},pattern:{d:`The regular expression to be applied.`},returnMode:{d:`Specify which matches to return.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXMATCH:{s:`Tests whether a text string matches a regular expression.`,c:`Sheets`,p:{text:{d:`is the text string to be tested against the regular expression.`},regularExpression:{d:`The regular expression to test the text against.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXREPLACE:{s:`Returns 'text', with 'replacement' in place of matches with 'pattern'.`,p:{text:{d:`is the text string from which you want to extract characters.`},pattern:{d:`The regular expression to be applied.`},replacement:{d:`The replacement string.`},occurrence:{d:`The occurrence of the match to replace.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}},REGEXTEST:{s:`Checks whether the input matches the pattern, and returns TRUE or FALSE.`,p:{text:{d:`is the text string to be checked.`},pattern:{d:`is the regular expression to be applied.`},caseInsensitive:{d:`Whether the match is case insensitive.`}}}};