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

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 (474) hide show
  1. package/browser/cjs/{C5rQELB0TUeXY6VM.cjs → 3a3qEmdJWFXfGW0q.cjs} +1 -1
  2. package/browser/cjs/9rXsWW4SnEpudhfh.cjs +1 -0
  3. package/browser/cjs/{DiZDRPIgbO3sQ8Vb.cjs → 9vk-L6rRvx20jeQj.cjs} +1 -1
  4. package/browser/cjs/{DxQkFYAFNZubVdn22.cjs → B0FCH1gFfg2bQiPi2.cjs} +1 -1
  5. package/browser/cjs/B3WkiDqFBfA_xxJL2.cjs +1 -0
  6. package/browser/cjs/B4ANcw0mAmhe2Aeb2.cjs +1 -0
  7. package/browser/cjs/B6IXpae7f0J8Ocq62.cjs +1 -0
  8. package/browser/cjs/B6vy56yEA1I3B74O2.cjs +1 -0
  9. package/browser/cjs/B7QDcu7uACQA1y3h.cjs +1 -0
  10. package/browser/cjs/BF8ZxFWyAAnbe4mz.cjs +5 -0
  11. package/browser/cjs/BLAG3kDSthU0SH-E.cjs +2 -0
  12. package/browser/cjs/BPWKnUtyoTrtW567.cjs +1 -0
  13. package/browser/cjs/BQWmn92gYmxC8eWt.cjs +1 -0
  14. package/browser/cjs/BcROQ4pvVajDQ1em.cjs +1 -0
  15. package/browser/cjs/BdJvn1vLXMZvE-8h.cjs +4 -0
  16. package/browser/cjs/BhcbKFKbSWEavYJm.cjs +7 -0
  17. package/browser/cjs/Bncc0oXhFMdj_HuR2.cjs +1 -0
  18. package/browser/cjs/Bo7EQ8niKmwtAwo_2.cjs +1 -0
  19. package/browser/cjs/Bqup1MCJFqTZbLDd2.cjs +1 -0
  20. package/browser/cjs/BsJHSGeWLskirGXg.cjs +14 -0
  21. package/browser/cjs/Bsl_clm06l5cwpML.cjs +32 -0
  22. package/browser/cjs/BvVzIzXLyLxpBcia2.cjs +3 -0
  23. package/browser/cjs/BylqpwnwQYDHIWjX.cjs +5 -0
  24. package/browser/cjs/C-xC6h1TOBr5ZDSe2.cjs +1 -0
  25. package/browser/cjs/{CRx1WvmgBjT8WVyB2.cjs → C0g87ndP2zMUbX6f.cjs} +1 -1
  26. package/browser/cjs/{BziOCn_XEGT4ynN5.cjs → C19UoK2TTtKU_faS.cjs} +1 -1
  27. package/browser/cjs/C1tOH7BEpO_ANMsa.cjs +1 -0
  28. package/browser/cjs/C4cZxb9nRtzTCA40.cjs +1 -0
  29. package/browser/cjs/C9q3zr8iCIoYDrdA.cjs +1 -0
  30. package/browser/cjs/CA_ZsYjkTHSpGK0j.cjs +41 -0
  31. package/browser/cjs/{lEQC21-Sk4lwHy2r2.cjs → CFxueP0tbpmvY1Ip2.cjs} +1 -1
  32. package/browser/cjs/CH7BUjrXIKDIE7XE.cjs +93 -0
  33. package/browser/cjs/CKEselBM-qmMpQBW2.cjs +2 -0
  34. package/browser/cjs/CRcv32tHTbGSGtkh2.cjs +1 -0
  35. package/browser/cjs/{_H5j4dU7HOBYTawU.cjs → CTDN-AYeejrfopDC.cjs} +1 -1
  36. package/browser/cjs/CVHc_cJddJk7J3Zt2.cjs +1 -0
  37. package/browser/cjs/CX7VUEYca9dtWS0N.cjs +1 -0
  38. package/browser/cjs/{BEJFcqVMDMKOvs11.cjs → C_T-ehCAzjaVRmTk.cjs} +1 -1
  39. package/browser/cjs/CaJGoNwTL6pAJ6a42.cjs +1 -0
  40. package/browser/cjs/CfXcRa4RlFmqU0Op2.cjs +1 -0
  41. package/browser/cjs/ClVLjLIRgWqX3Q-F.cjs +1 -0
  42. package/browser/cjs/Co31kjvOPAAYbeF-.cjs +1 -0
  43. package/browser/cjs/CoCKYtBIVeDXxSIq2.cjs +1 -0
  44. package/browser/cjs/CqPb6CbrHTRnbSKa2.cjs +8 -0
  45. package/browser/cjs/CtsduUtTrkcWM02v.cjs +3747 -0
  46. package/browser/cjs/D-N5oLosHPjoj-oG.cjs +1 -0
  47. package/browser/cjs/D2ZPx3v4EVejvhR2.cjs +54 -0
  48. package/browser/cjs/D5Gp16-G3pjMtypl2.cjs +1 -0
  49. package/browser/cjs/D8tkBbkGH5cZzIJP2.cjs +1 -0
  50. package/browser/cjs/DA0nGLC0bEkOhh7G2.cjs +1 -0
  51. package/browser/cjs/DCRe7NqRclU-Jr7p.cjs +1 -0
  52. package/browser/cjs/{EeOVMRq7TuptFKTc2.cjs → DF4l8xrxkcLkgExp2.cjs} +1 -1
  53. package/browser/cjs/{aYuNpndpwcZG5eik2.cjs → DHL7SVvz96-5zSWE2.cjs} +2 -2
  54. package/browser/cjs/DHMQnssVXWjGBSs-.cjs +3 -0
  55. package/browser/cjs/{DsIHLUKUrSrYhFHl.cjs → DIdPQwECld6gubdK2.cjs} +1 -1
  56. package/browser/cjs/DLtFM988NCD-jeBV.cjs +8 -0
  57. package/browser/cjs/DNnMGL1ff8hutxSd.cjs +1 -0
  58. package/browser/cjs/DP1pufP3NJFoDa-g.cjs +3 -0
  59. package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → DRmo6uoGoqtiVff82.cjs} +1 -1
  60. package/browser/cjs/DSXLVieENYN9qXYl2.cjs +1 -0
  61. package/browser/cjs/{bGMaev70Zd_NXqLM2.cjs → DTZiRVEB3kVK7eK-2.cjs} +1 -1
  62. package/browser/cjs/DU2HMmI1EeHBTvuG.cjs +1 -0
  63. package/browser/cjs/DWzkpizTIJkaqf4J2.cjs +1 -0
  64. package/browser/cjs/DZBKNR9xUMTHWS_D.cjs +1 -0
  65. package/browser/cjs/{B9EI7wviSkHS9ZkH.cjs → D_IilnLuy_hDaBmI.cjs} +1 -1
  66. package/browser/cjs/{a0Z-SXs_N71CtqYb2.cjs → Dg3GaW0QWwnlqetX2.cjs} +1 -1
  67. package/browser/cjs/Dg5fR9uTvYHyxOX62.cjs +22 -0
  68. package/browser/cjs/{Ci8Uu7_b4lwwRLAD2.cjs → Dk1WS0vM-LQJx_EO2.cjs} +1 -1
  69. package/browser/cjs/DpFg69dDCPoOK2BY2.cjs +1 -0
  70. package/browser/cjs/{Cm21F18ga8TluA9h.cjs → DsqHxG-lGZxL1XgQ.cjs} +1 -1
  71. package/browser/cjs/DtlC63s51_88j6AY2.cjs +1 -0
  72. package/browser/cjs/{Du4jBiFxRIF1OjD4.cjs → Dtxj9JR14A-uliu5.cjs} +1 -1
  73. package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → Dx7GQ4ALtNG3kshu.cjs} +1 -1
  74. package/browser/cjs/{DG-AY_xO8RKHtEBE.cjs → Dy50BSaRMmRISD2Y.cjs} +1 -2
  75. package/browser/cjs/GPlG4lbMP89VDHYJ.cjs +126 -0
  76. package/browser/cjs/LD1P-jAXleebK12X.cjs +7 -0
  77. package/browser/cjs/PmwvZPFhqmL4DO582.cjs +1 -0
  78. package/browser/cjs/SATfdSwNygvlOSKC2.cjs +1 -0
  79. package/browser/cjs/TZQc-szdIVnHDH6F.cjs +11 -0
  80. package/browser/cjs/{hzUo76TXMOBqsI3U2.cjs → VgwyOcXDHhEp_NvH2.cjs} +1 -1
  81. package/browser/cjs/XRCcogT-Iqd3Wv6R2.cjs +1 -0
  82. package/browser/cjs/a4xpA8d_d22-GKos.cjs +1 -0
  83. package/browser/cjs/aBulzIf4cHnL7sbw.cjs +1 -0
  84. package/browser/cjs/cexWxRluo6g-NG_u.cjs +1 -0
  85. package/browser/cjs/iYn00uzmSLl2T0oN2.cjs +1 -0
  86. package/browser/cjs/ibvsavYh4kU-xxL8.cjs +1 -0
  87. package/browser/cjs/index.cjs +2 -2
  88. package/browser/cjs/{DIbdDzNf_3S2RYZN.cjs → p3PYFz7cN2z4XQoU.cjs} +1 -1
  89. package/browser/cjs/{D19RglhKiroWfpQn2.cjs → xTT7lHV4HUjeNdMs2.cjs} +1 -1
  90. package/browser/esm/{Cc5IufffX4N-8QpE.mjs → 04mVsW7CTmUlxnOa.mjs} +3 -3
  91. package/browser/esm/0YKBRd7eLIUmcKns.mjs +35 -0
  92. package/browser/esm/13CH9sjvoEqt6nbt2.mjs +37 -0
  93. package/browser/esm/7lIMFL11BRZrMXdc2.mjs +19 -0
  94. package/browser/esm/9CP_UyAqmAHE7-mv.mjs +267 -0
  95. package/{cdn/assets/Bv_96nwOEMHN9Sa0.js → browser/esm/AAHsV9V95k39t9SD.mjs} +27 -29
  96. package/browser/esm/{CsufM5aF6VTLKDWM.mjs → B-Zf8W3s_WXgYxhN.mjs} +12 -12
  97. package/browser/esm/{D3G3tI3DVCUF3Gdk.mjs → B0FNPu0uhX_WW-aJ.mjs} +1 -1
  98. package/{cdn/assets/Chq4BwbjH0sbIkJN2.js → browser/esm/B0aCnXuYD0ZopZdA.mjs} +28 -13
  99. package/browser/esm/B2nEJHcip8raAhdc.mjs +3342 -0
  100. package/browser/esm/B2vjec5TDs2ZJ1eI2.mjs +33 -0
  101. package/browser/esm/{D_t53-8k73CNpV-p.mjs → B50P0gSziuG68Umu.mjs} +88 -72
  102. package/browser/esm/BA6JMESdvw_1-mFg2.mjs +238 -0
  103. package/{cdn/assets/DQ4o4dG7gWbL1X8F.js → browser/esm/BBaNqp1ZjuO25FQg2.mjs} +2 -2
  104. package/browser/esm/BBzzLAeBBFbVvgph2.mjs +8 -0
  105. package/browser/esm/{7rixDGGrR72lXkMV.mjs → BCQgeu38866r56Dh.mjs} +97 -54
  106. package/{cdn/assets/DQ-0yyFAwoWtxmhV2.js → browser/esm/BDZAVKSYpcOp9Dve2.mjs} +1 -1
  107. package/browser/esm/BEWsOD2JQ8dwQCEm2.mjs +427 -0
  108. package/browser/esm/{CG5v2hAwGR5Ptufn.mjs → BEYY8z4FusH7S5K-.mjs} +1 -1
  109. package/browser/esm/{R5bs6kCQSZmsCXz-.mjs → BF842ZtkvebA1LgR.mjs} +1 -1
  110. package/browser/esm/{oYdWyqsKo9ejAdVm.mjs → BG_hG8jUkf0aMzGK.mjs} +2 -2
  111. package/browser/esm/{BLcn1kGRsjURZSzk.mjs → BG_hG8jUkf0aMzGK2.mjs} +2 -2
  112. package/{cdn/assets/8f9hCbpXTTYEgG31.js → browser/esm/BIab7njjwaSXjSEP2.mjs} +2 -2
  113. package/browser/esm/BJJBFdJaP2dMlug92.mjs +280 -0
  114. package/{cdn/assets/EwzqnZl1lTr56hH-.js → browser/esm/BM343UBJqjbDokO62.mjs} +1 -1
  115. package/browser/esm/{vcRSnmAqjwKglEkY.mjs → BOhfbmK18Xj1P7-i.mjs} +2 -2
  116. package/browser/esm/{Blc1T4zLkp8bRC_n2.mjs → BPt7dDNLBsKrZgzO2.mjs} +22 -22
  117. package/browser/esm/{CQM87ZBN7Yzn4Yxr.mjs → BTNqElWtYkKW47Vg.mjs} +3 -3
  118. package/{cdn/assets/CpnA5TZRkPDt4HnM2.js → browser/esm/BVOTzF7NFvB20R7D.mjs} +2 -2
  119. package/browser/esm/BVtQCzVeMOJZq64r2.mjs +394 -0
  120. package/browser/esm/BZZ2IOkVKppFWNLE.mjs +27 -0
  121. package/browser/esm/{BqTFwWLbXXJ0Fu-X2.mjs → B_49GiUSgx96vBvq2.mjs} +2 -2
  122. package/browser/esm/{CpjX81WsWJbXMUoT.mjs → BauR0SATr44ggHRU.mjs} +1712 -941
  123. package/browser/esm/Bc8-re9biUn57kdl.mjs +87777 -0
  124. package/browser/esm/{DFdU1DsC1lXOrejZ.mjs → BcHN_VMA7bLNKKMO.mjs} +1817 -1740
  125. package/browser/esm/{CJPemkFUzhcAD_qR.mjs → Bcjus_Q6f72kE1MK.mjs} +1 -1
  126. package/browser/esm/{Dc0BDcQUGy_WIVFa.mjs → Be2-C5U5LlfLTmyo2.mjs} +1 -1
  127. package/browser/esm/Be7--zCnU6JvLkK1.mjs +637 -0
  128. package/{cdn/assets/CAPgMrAKg07EREFD2.js → browser/esm/Bfq8Gdqf3I7y_Hju.mjs} +1 -1
  129. package/browser/esm/BhGgNWNVYntkJYgU.mjs +155 -0
  130. package/browser/esm/{DXWmgQSeh0_HDxZj.mjs → BiArrlzwKsOlSm00.mjs} +4 -4
  131. package/browser/esm/{Dnx3_xXfRlD6ECfZ2.mjs → Bl5xLu1ou-9zMIBZ2.mjs} +5 -5
  132. package/browser/esm/{DuPdSe-EXFTx9dsc2.mjs → BnFriW2cIcOJkXU42.mjs} +16 -16
  133. package/browser/esm/{8V-VceXEjpADM8qK2.mjs → Bokc-Wu4XBPWKmdt.mjs} +1 -1
  134. package/browser/esm/BuSBBEiK_3KnBr632.mjs +514 -0
  135. package/browser/esm/{DW72HwfnJtQxzoGa.mjs → Bvy9LWN5UHwJXV9i2.mjs} +2 -2
  136. package/{cdn/assets/BMRav2VAqEzDSp3r.js → browser/esm/C04uI3XsvTc6Cc7w2.mjs} +37 -3
  137. package/{cdn/assets/iXWgTu3qpYZHcx1J.js → browser/esm/C1EvC_qPiGiVMrkF.mjs} +963 -946
  138. package/{cdn/assets/Clfp7SznkOrJoQvL.js → browser/esm/C1doaJjkCzQlB_3u2.mjs} +3 -3
  139. package/browser/esm/{BjTf3XA9Swj0ngpH.mjs → C3M_lKSZ_Fq1SQOn.mjs} +2 -2
  140. package/browser/esm/C3qSUuVA-FII3rMU2.mjs +298 -0
  141. package/browser/esm/{1guzFZp1LHz_FwfL.mjs → C6X4CmElTpPxrad6.mjs} +1 -1
  142. package/{cdn/assets/DOsbSsKsexrBoeXa2.js → browser/esm/CA4eJpge9meoO0rj2.mjs} +17 -18
  143. package/browser/esm/CAVONPXgoytyiNK-.mjs +25 -0
  144. package/browser/esm/{CR3jgkduTLczbMjH2.mjs → CPgOplnn6NuHwsZ_.mjs} +1 -1
  145. package/{cdn/assets/B5ZqqASTcBEV5L9K.js → browser/esm/CQBSLdAdR53c7BVh2.mjs} +1 -1
  146. package/{cdn/assets/C1ZePT2B182vSnxW.js → browser/esm/CThP3jXwDzLlUOeI.mjs} +1 -1
  147. package/browser/esm/CTzKk6VuZTohsOIF2.mjs +58 -0
  148. package/{cdn/assets/DRc_Wi5c7WdKHTVN.js → browser/esm/CU1_-PzBC9cDsm5t2.mjs} +6 -6
  149. package/browser/esm/{DZbR5R1fNikjgqYb.mjs → CULlzRLL3s2Dikjg.mjs} +1 -1
  150. package/browser/esm/CUMu_1tXFa0LPKGV.mjs +3324 -0
  151. package/browser/esm/{CH0of3GZTzHviuQV.mjs → CUYBRp4sHMdGwkLT.mjs} +1 -1
  152. package/browser/esm/CYU_-DiQXjh1SEU1.mjs +3343 -0
  153. package/{cdn/assets/BKEzd89UphJ8q1pp2.js → browser/esm/CaTmLXIsIxaOrLcZ.mjs} +504 -405
  154. package/browser/esm/CcK4ACF7d5ogFpAS.mjs +91 -0
  155. package/{cdn/assets/CtXoSHbCUKMY-tSJ2.js → browser/esm/CjFOk9mcZqAngWD2.mjs} +48 -2
  156. package/browser/esm/{CdMv3f8Gyxh8q2RR2.mjs → CmSATmXaMlqwTjAe2.mjs} +1 -1
  157. package/{cdn/assets/COA_SZY2x8q6t4BD.js → browser/esm/CnvlkxK0pS02Z3gZ.mjs} +7 -6
  158. package/browser/esm/{9_bymSfTn_rR_v6W.mjs → Cvw3poNlUmn3qAh0.mjs} +6 -6
  159. package/browser/esm/{47Yv4X226-93If7L.mjs → CwDjNuGkKnVtfJo-.mjs} +1 -1
  160. package/{cdn/assets/BHBJtVTiQByD_y9j2.js → browser/esm/D-egzesxukW7Z_e3.mjs} +2 -2
  161. package/{cdn/assets/hFSDx-LnUOObv-6h.js → browser/esm/D13sLQRMMKrDHepu.mjs} +2 -2
  162. package/{cdn/assets/CGqvy5LwQ4z9J2oD.js → browser/esm/D1bACCJy4F8kANLy.mjs} +1 -1
  163. package/browser/esm/{CfvrjQGuf7vXiQCB.mjs → D5Pa9lfPfAcCGj_N.mjs} +1 -1
  164. package/browser/esm/{DzDwSOBdJh_lx_NM.mjs → DBTB0moKfwOu0F47.mjs} +241 -241
  165. package/browser/esm/{3y_bCend8tkaewDG2.mjs → DHzdEqMCGL_JPh9w2.mjs} +19 -27
  166. package/browser/esm/{fJ1McMt7xzRA_lUX.mjs → DMMtONCySdMHoaMU.mjs} +15 -15
  167. package/browser/esm/{BHmYoIIbNW3GdcqV2.mjs → DTfDzhFtORWkuoRv.mjs} +1 -1
  168. package/browser/esm/{BD7RxHQgrqy_4tb5.mjs → DYyxB53T5uaoyInL2.mjs} +2 -2
  169. package/browser/esm/DZLyXICwEHYRnCuO.mjs +758 -0
  170. package/browser/esm/{D6SKy2BtcWkhfiA02.mjs → DbVSG7Uf7YDQbmc32.mjs} +2 -5
  171. package/browser/esm/Dd80tsdITZsotoCX2.mjs +47 -0
  172. package/browser/esm/{CZWIS7FuqNjbheSw.mjs → DeSDYBzD8e5XXnvq.mjs} +40 -40
  173. package/browser/esm/DeeFxCkhXDF0p1nl.mjs +87 -0
  174. package/{cdn/assets/Cbw0JeJURvQyxIoa.js → browser/esm/DgH-AoqKDdIWg0J8.mjs} +1 -1
  175. package/browser/esm/{qG5zdZZAe6mQIJo32.mjs → DjNR_ZGCbg-xia152.mjs} +5 -5
  176. package/browser/esm/DkuK8fY8vrl7aZpf2.mjs +115 -0
  177. package/browser/esm/{DMX-ZlC_ljcf7oUN.mjs → DmPq6SwNcX1qXKct.mjs} +1 -1
  178. package/{cdn/assets/BDkVAo0CDCTE04ZJ.js → browser/esm/Dn8Z0WK2Hwi8MRnQ.mjs} +1 -1
  179. package/{cdn/assets/BCZjYGV8AqIZghBH.js → browser/esm/DoCYcvHzw3S0MDCW.mjs} +69 -4
  180. package/browser/esm/{BCkXtOM3yKocv7L-2.mjs → DtQu3vHaJfA5KM2H2.mjs} +1 -1
  181. package/browser/esm/{DtXC6uPF2LLktqFE.mjs → DtqMTXq5u5DmS5S1.mjs} +2 -2
  182. package/browser/esm/{CEN8dYSpN2oew8HH.mjs → DuijhgjRhgWB9sCY.mjs} +504 -331
  183. package/browser/esm/{B1NoGosH2YQh01g7.mjs → DyPe20tPiPVm1PLe.mjs} +6 -6
  184. package/{cdn/assets/CopfZ7Y1Zn_PDNXK.js → browser/esm/Dz713G5R9JayR5v1.mjs} +16 -11
  185. package/browser/esm/{NekeSGoazNCraGNC2.mjs → GDYIOITizuJ9xSUf2.mjs} +15 -15
  186. package/{cdn/assets/BykiUmcpDgSRNQI1.js → browser/esm/LfHB39-nf7mi9XC72.mjs} +1 -1
  187. package/browser/esm/{C6CK_4GD9IpxKglV2.mjs → LgoljOEffsYkpZZJ2.mjs} +2452 -2961
  188. package/browser/esm/QNvOHujamKYSXWWA2.mjs +32 -0
  189. package/browser/esm/{D4VqLbEWag8lTWzC2.mjs → R2c8rUTz1GjCQEp-2.mjs} +121 -94
  190. package/browser/esm/S2_pz0y2RTJFpXkS.mjs +15 -0
  191. package/browser/esm/{Gy0CHZTvn4hY-rkx2.mjs → V-oO_EfTyth0iptZ2.mjs} +1 -1
  192. package/browser/esm/XB269tVMhdRHj10G.mjs +674 -0
  193. package/browser/esm/{DVZ_UnchuMRveDG32.mjs → YC83lJ3yRZP57lBl2.mjs} +42 -4
  194. package/browser/esm/{DTaVECXVrgvC48BE.mjs → ZJ32DJlBpN_9fAph.mjs} +3 -3
  195. package/browser/esm/{DMLwXmjo28k_iNEU.mjs → apjOZ6N9KbmyErGz.mjs} +1867 -1402
  196. package/browser/esm/b49cTAZ6BWPQgfYu.mjs +159 -0
  197. package/{cdn/assets/DIQf1pX-j-dWQu_e.js → browser/esm/bvuPDJZmI2O5oihy2.mjs} +139 -138
  198. package/browser/esm/{DBL3Qp5jyPrFg7KI2.mjs → eTXmezPFvAwM_L-D2.mjs} +1 -1
  199. package/{cdn/assets/BVjXdv_wkL1x_8ZJ2.js → browser/esm/ep-IjWXOPg2b-REP2.mjs} +1 -1
  200. package/browser/esm/{Be4QC65cR8N84rTn.mjs → f9r0yTaD2YChFtEg2.mjs} +1 -1
  201. package/browser/esm/fJ0eqh3Ja3O0z1QL.mjs +149 -0
  202. package/browser/esm/{BceIETi6JJRW6Ss62.mjs → gAriGKwELet15RCY2.mjs} +13 -13
  203. package/browser/esm/gCeoOjDjiVaX8dtF2.mjs +119 -0
  204. package/browser/esm/iYNN3Px9AekrMEfu2.mjs +117 -0
  205. package/browser/esm/index.mjs +6 -6
  206. package/browser/esm/{-vgNEEXiEad4bltZ.mjs → j-9DpYsIlTN1mwql.mjs} +16021 -16672
  207. package/browser/esm/{BOl4FzJRD7MplCU72.mjs → jQ5c7MGwQOZq4s5w.mjs} +1 -1
  208. package/browser/esm/kcfC6hY47HklE6Om.mjs +225 -0
  209. package/{cdn/assets/DrUEYcXg6N2D2s1Z.js → browser/esm/lHpMVBxqkkCYD6d12.mjs} +51 -11
  210. package/{cdn/assets/D9-wpGVbTS9rRpxx.js → browser/esm/nBZATD4yR1W5D4Fi.mjs} +1 -1
  211. package/browser/esm/{B4vYIE3kSPTxCgpf2.mjs → rxlYDHBsenoxRx-K2.mjs} +6 -6
  212. package/browser/esm/sfOREE_huDAOcfYs.mjs +15495 -0
  213. package/browser/esm/{BPv6Pw1hW-sV5Fya.mjs → txVgXcuMeWVNWHnZ.mjs} +1 -1
  214. package/{cdn/assets/DvlpP6sUZ9Qzl9s22.js → browser/esm/xzoxSwyGoZdH-ysh.mjs} +193 -172
  215. package/browser/esm/{BVRzmIk5PujkT_Ap.mjs → yFldtlfN_ASKyMll.mjs} +563 -534
  216. package/browser/esm/yVLsr0rcaOFel2nS2.mjs +32 -0
  217. package/cdn/assets/13CH9sjvoEqt6nbt.js +37 -0
  218. package/cdn/assets/{CHttngK66Ido5dWW.js → 2QsTDWiE6SMelbNU2.js} +7 -7
  219. package/cdn/assets/588lLflWQypQVzce.js +27 -0
  220. package/cdn/assets/7lIMFL11BRZrMXdc.js +19 -0
  221. package/{browser/esm/Bv_96nwOEMHN9Sa02.mjs → cdn/assets/AAHsV9V95k39t9SD.js} +27 -29
  222. package/cdn/assets/{D3G3tI3DVCUF3Gdk2.js → B0FNPu0uhX_WW-aJ2.js} +1 -1
  223. package/cdn/assets/B2vjec5TDs2ZJ1eI.js +33 -0
  224. package/cdn/assets/{D_t53-8k73CNpV-p2.js → B50P0gSziuG68Umu2.js} +88 -72
  225. package/cdn/assets/{BhDLR-jtbOOG-tl12.js → B66--qmqjDI4V95v2.js} +25 -25
  226. package/cdn/assets/{C8mUyjJ26jsHGl_D.js → B9hBziUoXFzKPWF02.js} +7 -7
  227. package/cdn/assets/{BixsQGDDf3Iv_PtW2.js → B9oLwnLz9m-TWSPJ2.js} +1867 -1402
  228. package/cdn/assets/{DW7JlG-SQEdLYNar2.js → BB6k7f_6TCVysy8a.js} +41 -3
  229. package/{browser/esm/DQ4o4dG7gWbL1X8F2.mjs → cdn/assets/BBaNqp1ZjuO25FQg.js} +2 -2
  230. package/{browser/esm/DQ-0yyFAwoWtxmhV2.mjs → cdn/assets/BDZAVKSYpcOp9Dve.js} +1 -1
  231. package/cdn/assets/{CG5v2hAwGR5Ptufn2.js → BEYY8z4FusH7S5K-2.js} +1 -1
  232. package/cdn/assets/{R5bs6kCQSZmsCXz-2.js → BF842ZtkvebA1LgR2.js} +1 -1
  233. package/{browser/esm/8f9hCbpXTTYEgG312.mjs → cdn/assets/BIab7njjwaSXjSEP.js} +2 -2
  234. package/cdn/assets/BKouftCLbhExXXXU.js +264 -0
  235. package/{browser/esm/EwzqnZl1lTr56hH-2.mjs → cdn/assets/BM343UBJqjbDokO6.js} +1 -1
  236. package/cdn/assets/{DLEdaT0MmrOxMa2h2.js → BNm-ZCOBoBRceGXA2.js} +59 -59
  237. package/cdn/assets/{vcRSnmAqjwKglEkY2.js → BOhfbmK18Xj1P7-i2.js} +2 -2
  238. package/{browser/esm/BqwvP0318zI2izeL2.mjs → cdn/assets/BPOi08RtEmQdlbtS2.js} +27 -26
  239. package/cdn/assets/{gspQcUnmlRIwG609.js → BSixIKI7PxSqiUGB2.js} +5 -5
  240. package/{browser/esm/RW23HF8taEtW8q9D.mjs → cdn/assets/BT3KOuPzJsNUvy4B.js} +2 -2
  241. package/cdn/assets/BTB79KyzSZf-h-lm2.js +226 -0
  242. package/{browser/esm/CPUlpDM6aAzZzCat2.mjs → cdn/assets/BWtyERLPrUmI8Qbi2.js} +140 -137
  243. package/cdn/assets/{BqTFwWLbXXJ0Fu-X.js → B_49GiUSgx96vBvq.js} +2 -2
  244. package/cdn/assets/B_UEqzmXZIhHAEyS.js +280 -0
  245. package/cdn/assets/B_sKE05xgjFFafjm.js +15496 -0
  246. package/{browser/esm/B0HA_dHcr0kKfudQ.mjs → cdn/assets/BaEH7HZAJkFGHtNj2.js} +203 -180
  247. package/cdn/assets/{CJPemkFUzhcAD_qR.js → Bcjus_Q6f72kE1MK.js} +1 -1
  248. package/cdn/assets/{DbEGszSW_J_k96KJ.js → BdCn57ENgiC2kOsF.js} +2 -2
  249. package/cdn/assets/{Dc0BDcQUGy_WIVFa.js → Be2-C5U5LlfLTmyo.js} +1 -1
  250. package/cdn/assets/Be_TDLQucHiVwNvT.js +268 -0
  251. package/{browser/esm/CAPgMrAKg07EREFD.mjs → cdn/assets/Bfq8Gdqf3I7y_Hju2.js} +1 -1
  252. package/cdn/assets/Bi9IWSBo7DDXROTC.js +8 -0
  253. package/cdn/assets/{Dnx3_xXfRlD6ECfZ.js → Bl5xLu1ou-9zMIBZ.js} +5 -5
  254. package/cdn/assets/{8V-VceXEjpADM8qK.js → Bokc-Wu4XBPWKmdt.js} +1 -1
  255. package/cdn/assets/{DJwQ9abZkyFO9Doy.js → Bqe5WbSIlCRYLcqT.js} +4 -4
  256. package/cdn/assets/{j8nXVEYbO2kPuEYQ.js → BsGz_0JrhSfOZ24Q.js} +3 -3
  257. package/cdn/assets/BsHFBjNwTzc_CKLq2.js +87777 -0
  258. package/cdn/assets/{BJEpPEyFWtLzMIq-2.js → BuyRy9BcgPYo8l8W.js} +1801 -1030
  259. package/cdn/assets/{DVS_5oDniuAFH3vT2.js → ByHzW_x0qXsBJMwv2.js} +2429 -2938
  260. package/{browser/esm/BMRav2VAqEzDSp3r2.mjs → cdn/assets/C04uI3XsvTc6Cc7w.js} +37 -3
  261. package/{browser/esm/Clfp7SznkOrJoQvL.mjs → cdn/assets/C1doaJjkCzQlB_3u.js} +3 -3
  262. package/cdn/assets/C2JMpa_lWCs9k2ZI.js +3324 -0
  263. package/cdn/assets/{Ce5A_D4YBgi_s2KF.js → C2X9NooB33IkSomz.js} +13 -13
  264. package/cdn/assets/{CBuvbUg67ah_3BOZ.js → C3KIo0iwLXhIIMG8.js} +2 -2
  265. package/cdn/assets/{1guzFZp1LHz_FwfL2.js → C6X4CmElTpPxrad6.js} +1 -1
  266. package/cdn/assets/C6X4CmElTpPxrad62.js +24 -0
  267. package/{browser/esm/CU1d8OvDv5TU6fSd.mjs → cdn/assets/C7ZHXwoL2A_nxZjl.js} +484 -385
  268. package/cdn/assets/CA9oxppuFcYDyylE.js +149 -0
  269. package/cdn/assets/{B55nrhIK6gAAu4ZA.js → CAOPlenSF-pjVfqt2.js} +2 -2
  270. package/cdn/assets/CAVONPXgoytyiNK-.js +25 -0
  271. package/{browser/esm/B4iT_CduJeJunwBc.mjs → cdn/assets/CBQrIDBtf5Ibwi96.js} +28 -13
  272. package/cdn/assets/{DvItgGbf8IOWPyxd.js → CCTYceFrydwG3Vyt2.js} +10681 -11332
  273. package/cdn/assets/CDijenaMI_dBIGU-.js +3344 -0
  274. package/cdn/assets/{DCnA2-zB7W_QB-tD2.js → COk-0FZl3cv__3yY2.js} +565 -536
  275. package/cdn/assets/{c6VvwMHfXubjjtyj.js → CP0M0z_IaCwCMGNS.js} +16 -16
  276. package/cdn/assets/{CR3jgkduTLczbMjH.js → CPgOplnn6NuHwsZ_2.js} +1 -1
  277. package/cdn/assets/{-2S675KWulPRlVNb2.js → CPjsJ0CY-AurDJgm2.js} +14 -14
  278. package/{browser/esm/B5ZqqASTcBEV5L9K2.mjs → cdn/assets/CQBSLdAdR53c7BVh.js} +1 -1
  279. package/{browser/esm/C1ZePT2B182vSnxW2.mjs → cdn/assets/CThP3jXwDzLlUOeI2.js} +1 -1
  280. package/cdn/assets/CTzKk6VuZTohsOIF.js +58 -0
  281. package/{browser/esm/DRc_Wi5c7WdKHTVN2.mjs → cdn/assets/CU1_-PzBC9cDsm5t.js} +6 -6
  282. package/cdn/assets/{DZbR5R1fNikjgqYb.js → CULlzRLL3s2Dikjg.js} +1 -1
  283. package/cdn/assets/{CT3G9YRPVfKtHWwf2.js → CUTnOs5iWyc3J2cN2.js} +16 -16
  284. package/cdn/assets/CUYBRp4sHMdGwkLT2.js +24 -0
  285. package/cdn/assets/CUrzB9ponX7LAYXR.js +35 -0
  286. package/{browser/esm/Bl6bX86tSq8hfyb2.mjs → cdn/assets/CWOPhBfYI6R0kz-p.js} +965 -944
  287. package/cdn/assets/CZ3JFujrzd0iX0zL2.js +428 -0
  288. package/cdn/assets/{2CuCH0wi9XPgVzE42.js → CheDxDxt7x0CPz9P.js} +11 -9
  289. package/{browser/esm/CtXoSHbCUKMY-tSJ.mjs → cdn/assets/CjFOk9mcZqAngWD22.js} +48 -2
  290. package/cdn/assets/{CdMv3f8Gyxh8q2RR.js → CmSATmXaMlqwTjAe.js} +1 -1
  291. package/{browser/esm/COA_SZY2x8q6t4BD.mjs → cdn/assets/CnvlkxK0pS02Z3gZ.js} +7 -6
  292. package/cdn/assets/{DKeLjEJPO9nT3bpr.js → CqI09iUEId8rHfJ9.js} +242 -242
  293. package/cdn/assets/{47Yv4X226-93If7L2.js → CwDjNuGkKnVtfJo-2.js} +1 -1
  294. package/cdn/assets/CzEHYpK2SYTRpxDm2.js +239 -0
  295. package/{browser/esm/BHBJtVTiQByD_y9j.mjs → cdn/assets/D-egzesxukW7Z_e32.js} +2 -2
  296. package/{browser/esm/hFSDx-LnUOObv-6h2.mjs → cdn/assets/D13sLQRMMKrDHepu2.js} +2 -2
  297. package/{browser/esm/CGqvy5LwQ4z9J2oD2.mjs → cdn/assets/D1bACCJy4F8kANLy2.js} +1 -1
  298. package/cdn/assets/{CfvrjQGuf7vXiQCB2.js → D5Pa9lfPfAcCGj_N2.js} +1 -1
  299. package/{browser/esm/Dg5wjQp0fArKXlM3.mjs → cdn/assets/D6Uwvg4vo1g0pWZa.js} +16 -11
  300. package/cdn/assets/{D1MA2ed2cLMt7hV9.js → DI4QTfUQPCjSn0kl.js} +41 -41
  301. package/cdn/assets/DIlrvTRlRll76TiE2.js +496 -0
  302. package/cdn/assets/DJBTmv-rddT91Z-N2.js +156 -0
  303. package/cdn/assets/{D-fJXasEYyfRUcj2.js → DPN0a43QHMUmHgo5.js} +3 -3
  304. package/cdn/assets/{BHmYoIIbNW3GdcqV.js → DTfDzhFtORWkuoRv2.js} +1 -1
  305. package/cdn/assets/DYCh_5thAx4qo1ns2.js +3342 -0
  306. package/cdn/assets/{D6SKy2BtcWkhfiA0.js → DbVSG7Uf7YDQbmc3.js} +2 -5
  307. package/cdn/assets/Dd80tsdITZsotoCX.js +47 -0
  308. package/cdn/assets/Dg26zVdGlO10MX0h2.js +159 -0
  309. package/{browser/esm/Cbw0JeJURvQyxIoa.mjs → cdn/assets/DgH-AoqKDdIWg0J8.js} +1 -1
  310. package/cdn/assets/{qG5zdZZAe6mQIJo3.js → DjNR_ZGCbg-xia15.js} +5 -5
  311. package/cdn/assets/{tVOVNvOs6ro8FXqa2.js → Dlq2nAMNpWkqjt9Y.js} +16 -16
  312. package/cdn/assets/DmQ4uKOlhrcJfgk82.js +118 -0
  313. package/cdn/assets/{DaBczM5xU9ev5_or.js → DmRqcUu6qCPcOxgW.js} +2 -2
  314. package/{browser/esm/BDkVAo0CDCTE04ZJ2.mjs → cdn/assets/Dn8Z0WK2Hwi8MRnQ2.js} +1 -1
  315. package/cdn/assets/{DnzDlqizzNkbhJP7.js → DoBxkE57H5PfH7Or.js} +2 -2
  316. package/{browser/esm/BCZjYGV8AqIZghBH.mjs → cdn/assets/DoCYcvHzw3S0MDCW.js} +69 -4
  317. package/cdn/assets/{BCkXtOM3yKocv7L-.js → DtQu3vHaJfA5KM2H.js} +1 -1
  318. package/cdn/assets/{CEN8dYSpN2oew8HH2.js → DuijhgjRhgWB9sCY2.js} +504 -331
  319. package/cdn/assets/DvfekR32WVFv_WrS.js +394 -0
  320. package/cdn/assets/Dz0_oXqVesISvhbJ.js +87 -0
  321. package/cdn/assets/{EjOJX5m8OEL-IjPB.js → I2Cn0c2NkX845WIx.js} +7 -7
  322. package/cdn/assets/Ifw8W-tqHjQnCWZO2.js +299 -0
  323. package/{browser/esm/BykiUmcpDgSRNQI12.mjs → cdn/assets/LfHB39-nf7mi9XC7.js} +1 -1
  324. package/cdn/assets/{CF8m5SqeMaRkGIYM.js → N5PCgig3g9yqotn9.js} +2 -2
  325. package/cdn/assets/QNvOHujamKYSXWWA.js +32 -0
  326. package/cdn/assets/{BzUU8y1IFjREzgog2.js → QT-5i27zeGPhkyui2.js} +20 -28
  327. package/cdn/assets/S2_pz0y2RTJFpXkS2.js +15 -0
  328. package/cdn/assets/{BNybEGR813e3aNIv.js → UNtnFd2ssTtnrqRp.js} +1820 -1743
  329. package/cdn/assets/{Gy0CHZTvn4hY-rkx.js → V-oO_EfTyth0iptZ.js} +1 -1
  330. package/cdn/assets/VEJV_bhNDNNyZAIA2.js +116 -0
  331. package/cdn/assets/WFkg-W8MQ-V6F1Fu.js +758 -0
  332. package/cdn/assets/{DZDynaLqNeVaDoiH2.js → XFQGB8ADW__0ZBoF2.js} +9 -9
  333. package/cdn/assets/{C_Io1QC4CeLGRBrz.js → _gPnIgVx33slqynA.js} +2 -2
  334. package/cdn/assets/b-o8RUlQpF1RaDgI.js +675 -0
  335. package/cdn/assets/{DBL3Qp5jyPrFg7KI.js → eTXmezPFvAwM_L-D.js} +1 -1
  336. package/{browser/esm/BVjXdv_wkL1x_8ZJ2.mjs → cdn/assets/ep-IjWXOPg2b-REP2.js} +1 -1
  337. package/cdn/assets/{mtrwY1hjJeYlmzC-.js → erwt6xEgCY7lDQWp.js} +3 -3
  338. package/cdn/assets/f1iQWnLWVpKZ34XR2.js +91 -0
  339. package/cdn/assets/{Be4QC65cR8N84rTn2.js → f9r0yTaD2YChFtEg.js} +1 -1
  340. package/cdn/assets/gCeoOjDjiVaX8dtF.js +119 -0
  341. package/cdn/assets/{UYgwKnPX3US3Cj2k2.js → gJT4n5za0DqWXFK12.js} +75 -48
  342. package/cdn/assets/{BOl4FzJRD7MplCU7.js → jQ5c7MGwQOZq4s5w2.js} +1 -1
  343. package/{browser/esm/DrUEYcXg6N2D2s1Z2.mjs → cdn/assets/lHpMVBxqkkCYD6d1.js} +51 -11
  344. package/{browser/esm/D9-wpGVbTS9rRpxx.mjs → cdn/assets/nBZATD4yR1W5D4Fi.js} +1 -1
  345. package/cdn/assets/{BPv6Pw1hW-sV5Fya.js → txVgXcuMeWVNWHnZ.js} +1 -1
  346. package/cdn/assets/yVLsr0rcaOFel2nS.js +32 -0
  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/DDOO4tcrO4OfMUDe.mjs +0 -25
  426. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +0 -538
  427. package/browser/esm/DVJd6McdAG5udItH.mjs +0 -27
  428. package/browser/esm/DVQNQmjI2PKkwiOw2.mjs +0 -514
  429. package/browser/esm/D_zNx76HGunFi7xJ.mjs +0 -509
  430. package/browser/esm/DfRGH6mEtIVDWEYN2.mjs +0 -304
  431. package/browser/esm/DnuaqN0xfgqzl8qG.mjs +0 -2687
  432. package/browser/esm/nguMxPB9LKexKBRX.mjs +0 -219
  433. package/browser/esm/qzhFT2j-mpQEQnKs.mjs +0 -16386
  434. package/cdn/assets/2UHIeioUPXrwtZy-2.js +0 -83
  435. package/cdn/assets/BAhvL7M7ZcgZ8eDc2.js +0 -48
  436. package/cdn/assets/BM7OqAUEUk-up7_82.js +0 -134
  437. package/cdn/assets/BNuoKAzs4zkxSocG2.js +0 -44
  438. package/cdn/assets/BU6uQhQhpaLElTT82.js +0 -225
  439. package/cdn/assets/BVgTMDEoPgsWFmku.js +0 -510
  440. package/cdn/assets/BWlMK76Aj2d4ygsH.js +0 -538
  441. package/cdn/assets/BZsx0QHg1RZlM9ZN2.js +0 -15
  442. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +0 -239
  443. package/cdn/assets/CGyydD3tRb0ik50l.js +0 -20
  444. package/cdn/assets/CH0of3GZTzHviuQV.js +0 -24
  445. package/cdn/assets/CH0of3GZTzHviuQV2.js +0 -24
  446. package/cdn/assets/CpYlf4dXa_V2v-iS2.js +0 -3188
  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/{507hQYooKKjnRzsZ2.cjs → 507hQYooKKjnRzsZ.cjs} +0 -0
  465. /package/browser/cjs/{BWDfauDHqB6U_2ka2.cjs → BWDfauDHqB6U_2ka.cjs} +0 -0
  466. /package/browser/cjs/{CV4KQsHluMqo1I2Q.cjs → CV4KQsHluMqo1I2Q2.cjs} +0 -0
  467. /package/browser/cjs/{CXlzsh_WHCOsErJ12.cjs → CXlzsh_WHCOsErJ1.cjs} +0 -0
  468. /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
  469. /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
  470. /package/browser/cjs/{DM7-R_ltoLbA9jde2.cjs → DM7-R_ltoLbA9jde.cjs} +0 -0
  471. /package/browser/cjs/{Dx79LP1-YCQg8B87.cjs → Dx79LP1-YCQg8B872.cjs} +0 -0
  472. /package/browser/cjs/{JfM6P_qoQQTWakZf.cjs → JfM6P_qoQQTWakZf2.cjs} +0 -0
  473. /package/browser/cjs/{CbLXP9WY38wTcGn5.cjs → NcNz8RfT5V889CMT2.cjs} +0 -0
  474. /package/browser/cjs/{z_rZE1OHFPpdGBh42.cjs → z_rZE1OHFPpdGBh4.cjs} +0 -0
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { A as e } from "./CEN8dYSpN2oew8HH.mjs";
8
- import { d as t, o as n } from "./D_t53-8k73CNpV-p.mjs";
9
- import { B as r, Q as i, ct as a, dt as o, fn as s, it as c, nn as l, s as u, x as d } from "./At60x9FEPePwPP_J.mjs";
10
- import { o as f } from "./CY1zykikO58_ADk8.mjs";
11
- import { o as p } from "./DMLwXmjo28k_iNEU.mjs";
12
- import { r as m } from "./DMX-ZlC_ljcf7oUN.mjs";
13
- import { d as h, f as g, i as _, o as ee, p as v, r as te, s as y, t as b, u as ne } from "./BX4f6i2WMBMKFVCq.mjs";
14
- var re = class {
7
+ import { R as e } from "./DuijhgjRhgWB9sCY2.js";
8
+ import { r as t } from "./C6X4CmElTpPxrad62.js";
9
+ import { i as n, l as r } from "./B50P0gSziuG68Umu2.js";
10
+ import { E as i, Ut as a, W as o, b as s, it as c, nt as l, ot as u, q as d, tt as f } from "./BsHFBjNwTzc_CKLq2.js";
11
+ import { p } from "./DYCh_5thAx4qo1ns2.js";
12
+ import { st as m, u as h, z as g } from "./B9oLwnLz9m-TWSPJ2.js";
13
+ import { c as _, f as v, h as y, l as b, m as x, o as ee, r as S, t as C } from "./Dg26zVdGlO10MX0h2.js";
14
+ var te = class {
15
15
  constructor(e) {
16
16
  this.list = e;
17
17
  }
@@ -37,21 +37,24 @@ var re = class {
37
37
  [Symbol.iterator]() {
38
38
  return this.list.values();
39
39
  }
40
- }, ie = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, ae = (e) => {
40
+ }, ne = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, re = (e) => {
41
41
  let t = parseInt(e);
42
42
  return isNaN(t) ? null : t;
43
- }, x = (e) => {
43
+ }, ie = (e) => {
44
44
  let t = parseFloat(e);
45
45
  return isNaN(t) ? null : t;
46
- }, S = /* @__PURE__ */ new Map(), C = class {
46
+ }, ae = /* @__PURE__ */ new Map(), w = class {
47
47
  constructor(t, n, r, i, a, o = null, s = e.EmptyObject) {
48
- 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);
48
+ this._fileLocation = "", this._parent = t, this.sharedShared = n, this.currentPath = r, this.elemRoot = i, this.jsonRoot = a, t ? (this._fileLocation = t._fileLocation, this._getRef = t._getRef, this._getRefs = t._getRefs, this._serializeElement = t._serializeElement, this._readEmbeddedPart = t._readEmbeddedPart) : (o && (this._fileLocation = o), s?.getRef && (this._getRef = (e, t, n) => s?.getRef?.(e, t, n, s?.parsedRefs)), s?.getRefs && (this._getRefs = (e) => s?.getRefs?.(e, s?.parsedRefs)), this._onWarning = s?.onWarning, this._addPerson = s?.addPerson, this._serializeElement = s?.serializeElement, this._readEmbeddedPart = s?.readEmbeddedPart);
49
49
  }
50
50
  getRef(e, t = !1) {
51
51
  return this._getRef?.(e, this._fileLocation, t) ?? null;
52
52
  }
53
+ readEmbeddedPart(e) {
54
+ return this._readEmbeddedPart?.(e, this._fileLocation) ?? null;
55
+ }
53
56
  getRelationships() {
54
- return this._getRefs?.(this._fileLocation) ?? S;
57
+ return this._getRefs?.(this._fileLocation) ?? ae;
55
58
  }
56
59
  getPath() {
57
60
  return this.currentPath;
@@ -65,8 +68,11 @@ var re = class {
65
68
  getJsonRoot() {
66
69
  return this.jsonRoot;
67
70
  }
68
- warn(e) {
69
- this._onWarning ? this._onWarning(e) : this._parent ? this._parent?.warn?.(e) : console.warn(e);
71
+ warn(e, t) {
72
+ this._raiseWarning(e, this.getFileLocation(), t?.onceKey);
73
+ }
74
+ _raiseWarning(e, t, n) {
75
+ this._onWarning ? this._onWarning(e, t, n) : this._parent ? this._parent._raiseWarning(e, t, n) : console.warn(e);
70
76
  }
71
77
  serializeElement(e) {
72
78
  return this._serializeElement?.(e) ?? null;
@@ -106,7 +112,7 @@ var re = class {
106
112
  }
107
113
  if (n = a, n.length === 0) return null;
108
114
  }
109
- return n.length === 1 ? n[0] : n.length === 0 ? null : new re(n);
115
+ return n.length === 1 ? n[0] : n.length === 0 ? null : new te(n);
110
116
  }
111
117
  _matchesElementName(e, t) {
112
118
  return t.includes(":") ? (e.tagName || e.nodeName) === t : e.localName === t;
@@ -146,13 +152,13 @@ var re = class {
146
152
  return n && n.hasAttribute("val") ? parseFloat(n.getAttribute("val")) ?? null : null;
147
153
  }
148
154
  get BOOLEAN_COPY() {
149
- return ie;
155
+ return ne;
150
156
  }
151
157
  get INT_COPY() {
152
- return ae;
158
+ return re;
153
159
  }
154
160
  get FLOAT_COPY() {
155
- return x;
161
+ return ie;
156
162
  }
157
163
  copyFromAttribute(e, t, n, r = t, i = null) {
158
164
  if (!e || !n || !e.hasAttribute(t)) return;
@@ -165,32 +171,32 @@ var re = class {
165
171
  }
166
172
  this.setToPath(n, r, a);
167
173
  }
168
- }, oe = m({
169
- isBlank: () => k,
170
- isNotBlank: () => A,
171
- length: () => j,
172
- parseRotation: () => w,
173
- parseValAttrAsBoolean: () => E,
174
- parseValAttrAsFloat: () => O,
175
- parseValAttrAsInteger: () => D,
176
- parseValAttrAsString: () => T
177
- }), w = (t, n) => {
174
+ }, T = t({
175
+ isBlank: () => j,
176
+ isNotBlank: () => M,
177
+ length: () => N,
178
+ parseRotation: () => E,
179
+ parseValAttrAsBoolean: () => O,
180
+ parseValAttrAsFloat: () => A,
181
+ parseValAttrAsInteger: () => k,
182
+ parseValAttrAsString: () => D
183
+ }), E = (t, n) => {
178
184
  if (!t || !t.hasAttribute("rot")) return;
179
- let r = t.getAttribute("rot"), i = e.roundAccurately(g(r), 2);
185
+ let r = t.getAttribute("rot"), i = e.roundAccurately(S(r), 2);
180
186
  i !== -1e3 && (n.rotation = i);
181
- }, T = (e, t, n, r, i) => {
187
+ }, D = (e, t, n, r, i) => {
182
188
  let a = e.getValAttrAsString(r, t);
183
189
  a !== null && (n[i] = a);
184
- }, E = (e, t, n, r, i = r, a = null) => {
190
+ }, O = (e, t, n, r, i = r, a = null) => {
185
191
  let o = e.getValAttrAsBoolean(r, t, a);
186
192
  o !== null && (n[i] = o);
187
- }, D = (e, t, n, r, i) => {
193
+ }, k = (e, t, n, r, i) => {
188
194
  let a = e.getValAttrAsInteger(r, t);
189
195
  a !== null && (n[i] = a);
190
- }, O = (e, t, n, r, i, a = 1) => {
196
+ }, A = (e, t, n, r, i, a = 1) => {
191
197
  let o = e.getValAttrAsFloat(r, t);
192
198
  o !== null && (n[i] = o * a);
193
- }, k = (e) => !e || e.trim().length === 0, A = (e) => !k(e), j = (e) => e?.length ?? 0, M = class {
199
+ }, j = (e) => !e || e.trim().length === 0, M = (e) => !j(e), N = (e) => e?.length ?? 0, P = class {
194
200
  constructor(e) {
195
201
  this.jsonKey = e;
196
202
  }
@@ -198,7 +204,7 @@ var re = class {
198
204
  let r = {};
199
205
  return n[this.jsonKey] = r, r;
200
206
  }
201
- }, N = class {
207
+ }, F = class {
202
208
  visit(e, t, n) {}
203
209
  getStroke(e, t) {
204
210
  let n = e.evaluate("ln", t);
@@ -206,7 +212,7 @@ var re = class {
206
212
  }
207
213
  parseLn(e, t) {
208
214
  let n = {};
209
- t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = ce(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = y(t.getAttribute("w")));
215
+ t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = se(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = v(t.getAttribute("w")));
210
216
  let r = e.evaluate("miter", t);
211
217
  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");
212
218
  let i = e.evaluate("custDash", t);
@@ -216,7 +222,7 @@ var re = class {
216
222
  let e = [];
217
223
  for (let n = 0; n < t.length; n++) {
218
224
  let r = t.item(n);
219
- e.push(b(r.getAttribute("d") ?? "")), e.push(b(r.getAttribute("sp") ?? ""));
225
+ e.push(x(r.getAttribute("d") ?? "")), e.push(x(r.getAttribute("sp") ?? ""));
220
226
  }
221
227
  n.dash = e;
222
228
  }
@@ -250,72 +256,72 @@ var re = class {
250
256
  switch (n) {
251
257
  case "outerShdw": {
252
258
  let n = {
253
- type: f.Type.OuterShadow,
259
+ type: p.Type.OuterShadow,
254
260
  color: this.processAdjColor(e, t)
255
261
  };
256
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = g(t.getAttribute("ky"))), n;
262
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = x(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = x(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = S(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = S(t.getAttribute("ky"))), n;
257
263
  }
258
264
  case "innerShdw": {
259
265
  let n = {
260
- type: f.Type.InnerShadow,
266
+ type: p.Type.InnerShadow,
261
267
  color: this.processAdjColor(e, t)
262
268
  };
263
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), n;
269
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), n;
264
270
  }
265
271
  case "prstShdw": {
266
272
  let n = {
267
- type: f.Type.PresetShadow,
273
+ type: p.Type.PresetShadow,
268
274
  color: this.processAdjColor(e, t),
269
275
  preset: t.getAttribute("prst") ?? void 0
270
276
  };
271
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), n;
277
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), n;
272
278
  }
273
279
  case "glow": {
274
280
  let n = {
275
- type: f.Type.Glow,
281
+ type: p.Type.Glow,
276
282
  color: this.processAdjColor(e, t)
277
283
  };
278
- return t.hasAttribute("rad") && (n.radius = y(t.getAttribute("rad"))), n;
284
+ return t.hasAttribute("rad") && (n.radius = v(t.getAttribute("rad"))), n;
279
285
  }
280
286
  case "softEdge": {
281
- let e = { type: f.Type.SoftEdge };
282
- return t.hasAttribute("rad") && (e.radius = y(t.getAttribute("rad"))), e;
287
+ let e = { type: p.Type.SoftEdge };
288
+ return t.hasAttribute("rad") && (e.radius = v(t.getAttribute("rad"))), e;
283
289
  }
284
290
  case "reflection": {
285
- let e = { type: f.Type.Reflection };
286
- return t.hasAttribute("blurRad") && (e.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = g(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = g(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = b(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = b(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = b(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = b(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = g(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), e;
291
+ let e = { type: p.Type.Reflection };
292
+ return t.hasAttribute("blurRad") && (e.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = S(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = S(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = x(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = x(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = x(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = x(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = x(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = x(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = S(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = S(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), e;
287
293
  }
288
294
  default: return;
289
295
  }
290
296
  }
291
297
  getFill(e, t) {
292
- if (e.evaluate("noFill", t)) return { type: o.Type.None };
298
+ if (e.evaluate("noFill", t)) return { type: i.Type.None };
293
299
  let n = e.evaluate("solidFill", t);
294
300
  if (n) {
295
301
  let t = this.processAdjColor(e, n);
296
302
  if (t) return {
297
- type: o.Type.Solid,
303
+ type: i.Type.Solid,
298
304
  color: t
299
305
  };
300
306
  }
301
307
  let r = e.evaluate("gradFill", t);
302
308
  if (r) return this.processGradFill(e, r);
303
- let i = e.evaluate("pattFill", t);
304
- if (i) return this.processPatternFill(e, i);
305
- let a = e.evaluate("blipFill", t);
306
- return a ? this.processImageFill(e, a) : null;
309
+ let a = e.evaluate("pattFill", t);
310
+ if (a) return this.processPatternFill(e, a);
311
+ let o = e.evaluate("blipFill", t);
312
+ return o ? this.processImageFill(e, o) : null;
307
313
  }
308
314
  processGradFill(e, t) {
309
- let n = { type: o.Type.Gradient };
315
+ let n = { type: i.Type.Gradient };
310
316
  t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = t.getAttribute("rotWithShape") === "1");
311
317
  let r = e.evaluate("lin", t);
312
- r && (n.gradientType = o.GradientType.Linear, r.hasAttribute("ang") && (n.angle = g(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = v(r.getAttribute("scaled"))));
313
- let i = {};
314
- t.hasAttribute("flip") && (i.mirror = t.getAttribute("flip")), Object.keys(i).length > 0 && (n.tile = i);
315
- let a = e.evaluate("path", t);
316
- if (a) {
317
- a.hasAttribute("path") && (n.gradientType = se(a.getAttribute("path")));
318
- let t = e.evaluate("fillToRect", a);
318
+ r && (n.gradientType = i.GradientType.Linear, r.hasAttribute("ang") && (n.angle = S(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = C(r.getAttribute("scaled"))));
319
+ let a = {};
320
+ t.hasAttribute("flip") && (a.mirror = t.getAttribute("flip")), Object.keys(a).length > 0 && (n.tile = a);
321
+ let o = e.evaluate("path", t);
322
+ if (o) {
323
+ o.hasAttribute("path") && (n.gradientType = oe(o.getAttribute("path")));
324
+ let t = e.evaluate("fillToRect", o);
319
325
  t && (n.focus = this.getRect(t));
320
326
  }
321
327
  let s = e.evaluate("tileRect", t);
@@ -323,7 +329,7 @@ var re = class {
323
329
  let c = [], l = e.evaluate("gsLst/gs", t), u = l ? l.length : 0;
324
330
  for (let t = 0; t < u; t++) {
325
331
  let n = l.item(t), r = {
326
- offset: b(n.getAttribute("pos") ?? ""),
332
+ offset: x(n.getAttribute("pos") ?? ""),
327
333
  color: this.processAdjColor(e, n)
328
334
  };
329
335
  c.push(r);
@@ -332,23 +338,23 @@ var re = class {
332
338
  }
333
339
  getRect(e) {
334
340
  let t = {};
335
- return e.hasAttribute("t") && (t.t = b(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = b(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = b(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = b(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
341
+ return e.hasAttribute("t") && (t.t = x(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = x(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = x(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = x(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
336
342
  }
337
343
  processImageFill(e, t) {
338
- let n = { type: o.Type.Image };
339
- return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
344
+ let n = { type: i.Type.Image };
345
+ return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
340
346
  }
341
347
  processPatternFill(e, t) {
342
- let n = { type: o.Type.Pattern };
348
+ let n = { type: i.Type.Pattern };
343
349
  n.patternType = t.getAttribute("prst");
344
350
  let r = e.evaluate("bgClr", t);
345
351
  if (r) {
346
352
  let t = this.processAdjColor(e, r);
347
353
  t && (n.background = t);
348
354
  }
349
- let i = e.evaluate("fgClr", t);
350
- if (i) {
351
- let t = this.processAdjColor(e, i);
355
+ let a = e.evaluate("fgClr", t);
356
+ if (a) {
357
+ let t = this.processAdjColor(e, a);
352
358
  t && (n.foreground = t);
353
359
  }
354
360
  return n;
@@ -371,7 +377,7 @@ var re = class {
371
377
  return s ? this.processSrgbClrElement(e, s) : null;
372
378
  }
373
379
  processScrgbClrElement(e, t) {
374
- let n = "lrgba(" + b(t.getAttribute("r") ?? "") + "," + b(t.getAttribute("g") ?? "") + "," + b(t.getAttribute("b") ?? "") + ")";
380
+ let n = "lrgba(" + x(t.getAttribute("r") ?? "") + "," + x(t.getAttribute("g") ?? "") + "," + x(t.getAttribute("b") ?? "") + ")";
375
381
  return n += this.processAdjustments(e, t), n;
376
382
  }
377
383
  processSrgbClrElement(e, t) {
@@ -379,7 +385,7 @@ var re = class {
379
385
  return n += this.processAdjustments(e, t), n;
380
386
  }
381
387
  processHslClr(e, t) {
382
- let n = "hsl(" + g(t.getAttribute("hue") ?? "") + "," + b(t.getAttribute("sat") ?? "") + "," + b(t.getAttribute("lum") ?? "") + ")";
388
+ let n = "hsl(" + S(t.getAttribute("hue") ?? "") + "," + x(t.getAttribute("sat") ?? "") + "," + x(t.getAttribute("lum") ?? "") + ")";
383
389
  return n += this.processAdjustments(e, t), n;
384
390
  }
385
391
  processClrWithValAttribute(e, t) {
@@ -403,43 +409,43 @@ var re = class {
403
409
  let i = t.getAttribute("val");
404
410
  return i ? ` ${n} ${!i || parseFloat(i) / r}` : ` ${n}`;
405
411
  }
406
- }, se = (e) => e === "circle" ? "radial" : e, ce = (e) => {
412
+ }, oe = (e) => e === "circle" ? "radial" : e, se = (e) => {
407
413
  if (e === "rnd") return "round";
408
414
  if (e === "flat") return "butt";
409
415
  if (e === "sq") return "square";
410
416
  throw Error("Invalid lineCap type: " + e);
411
- }, P = class extends N {
417
+ }, I = class extends F {
412
418
  visit(e, t, n) {
413
419
  try {
414
420
  let r = e.evaluate("xfrm", t);
415
421
  if (r) {
416
- w(r, n);
422
+ E(r, n);
417
423
  let t = {
418
424
  x: 0,
419
425
  y: 0,
420
426
  width: 0,
421
427
  height: 0
422
428
  }, i = e.evaluate("off", r);
423
- i && (t.x = _(i.getAttribute("x")) ?? 0, t.y = _(i.getAttribute("y")) ?? 0);
429
+ i && (t.x = y(i.getAttribute("x")) ?? 0, t.y = y(i.getAttribute("y")) ?? 0);
424
430
  let a = e.evaluate("ext", r);
425
- i && (t.width = _(a.getAttribute("cx")) ?? 0, t.height = _(a.getAttribute("cy")) ?? 0), n.bounds = t;
431
+ i && (t.width = y(a.getAttribute("cx")) ?? 0, t.height = y(a.getAttribute("cy")) ?? 0), n.bounds = t;
426
432
  }
427
433
  let i = e.evaluate("prstGeom", t);
428
- i?.hasAttribute("prst") ? n.geometry = i?.getAttribute("prst") : e.evaluate("customGeom", t) && console.warn("customGeom not supported yet");
434
+ i?.hasAttribute("prst") ? n.geometry = i?.getAttribute("prst") : e.evaluate("customGeom", t) && e.warn("Custom shape geometry is not supported; the shape keeps its bounds only.", { onceKey: "xlsx.shape.customGeometry" });
429
435
  let a = this.getFill(e, t);
430
436
  a && Object.keys(a).length > 0 && (n.fill = a);
431
437
  let o = this.getStroke(e, t);
432
438
  return o && Object.keys(o).length > 0 && (n.stroke = o), n;
433
- } catch (e) {
434
- console.warn(e);
439
+ } catch (t) {
440
+ e.warn(`Unable to read shape properties: ${t?.message ?? t}`, { onceKey: "xlsx.shape.unreadable" });
435
441
  }
436
442
  }
437
- }, F = class {
443
+ }, L = class {
438
444
  visit(e, t, n) {
439
445
  let r = {};
440
- if (T(e, t, r, "grouping", "grouping"), E(e, t, r, "varyColors", "varyColors"), O(e, t, r, "gapWidth", "gapWidth", .01), O(e, t, r, "overlap", "overlap", .01), this.parseType(e, t, r), D(e, t, r, "bubbleScale", "bubbleScale"), E(e, t, r, "showNegBubbles", "showNegativeBubbleValues"), E(e, t, r, "sizeRepresents", "bubbleSizeRepresentsWidth"), D(e, t, r, "firstSliceAng", "startAngle"), D(e, t, r, "holeSize", "holeSize"), T(e, t, r, "scatterStyle", "scatterStyle"), this.parseAxisIds(e, t, r), Object.keys(r).length > 0) {
446
+ if (D(e, t, r, "grouping", "grouping"), O(e, t, r, "varyColors", "varyColors"), A(e, t, r, "gapWidth", "gapWidth", .01), A(e, t, r, "overlap", "overlap", .01), this.parseType(e, t, r), k(e, t, r, "bubbleScale", "bubbleScale"), O(e, t, r, "showNegBubbles", "showNegativeBubbleValues"), O(e, t, r, "sizeRepresents", "bubbleSizeRepresentsWidth"), k(e, t, r, "firstSliceAng", "startAngle"), k(e, t, r, "holeSize", "holeSize"), D(e, t, r, "scatterStyle", "scatterStyle"), this.parseAxisIds(e, t, r), Object.keys(r).length > 0) {
441
447
  let t = e.getVisitorParamsState().get("types");
442
- t || (console.warn("Uninitialized types array in ChartTypeVisitor"), t = [], e.getVisitorParamsState().set("types", t)), t.push(r);
448
+ t || (e.warn("A chart type was read outside a chart; its types were started fresh.", { onceKey: "xlsx.chart.typesState" }), t = [], e.getVisitorParamsState().set("types", t)), t.push(r);
443
449
  }
444
450
  return r;
445
451
  }
@@ -466,7 +472,7 @@ var re = class {
466
472
  let r = e.evaluate("axId", t);
467
473
  r && r.length !== 0 && (n.xAxisId = r.item(0).getAttribute("val"), n.yAxisId = r.item(1).getAttribute("val"));
468
474
  }
469
- }, I = (e, t, n) => {
475
+ }, R = (e, t, n) => {
470
476
  if (!0 === e.getValAttrAsBoolean("invertIfNegative", t)) if (e.evaluate("extLst/ext/invertSolidFillFmt", t)) {
471
477
  if (n.fill && n.fillNegative) {
472
478
  let t = e.getFromPath(n, "fill.solid.adjs");
@@ -480,7 +486,7 @@ var re = class {
480
486
  let a = {};
481
487
  a.fill = i, n.strokeNegative = a;
482
488
  }
483
- }, L = class extends N {
489
+ }, z = class extends F {
484
490
  constructor(e = "text") {
485
491
  super(), this._jsonKey = e;
486
492
  }
@@ -492,38 +498,38 @@ var re = class {
492
498
  return r ||= {}, this.parseTextElement(e, t, r, !1), Object.keys(r).length > 0 && e.setToPath(n, this.getTextPath(), r), n;
493
499
  }
494
500
  parseTextElement(e, t, n, r) {
495
- let i = e.evaluate("p/pPr/defRPr", t) ?? e.evaluate("defRPr", t);
496
- i && (this.parseTextProperties(e, i, n), new P().visit(e, i, n));
497
- let a = n.runs ?? [], o = e.evaluate("p/r", t) ?? e.evaluate("r", t), s = (t) => {
501
+ let i = e.evaluate("p/pPr/defRPr", t) ?? e.evaluate("defRPr", t), a = i?.length === void 0 ? i : i.item(0);
502
+ a && (this.parseTextProperties(e, a, n), new I().visit(e, a, n));
503
+ let o = n.runs ?? [], s = e.evaluate("p/r", t) ?? e.evaluate("r", t), c = (t) => {
498
504
  let n = {}, r = e.evaluate("t", t), i = e.evaluate("rPr", t);
499
- 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);
505
+ i && this.parseTextProperties(e, i, n), r && r.firstChild ? n.text = r.firstChild.textContent ?? "" : t.textContent && (n.text = t.textContent ?? ""), Object.keys(n).length > 0 && o.push(n);
500
506
  };
501
- if (o?.length !== void 0) for (let e = 0; o && e < o.length; e++) s(o.item(e));
502
- else s(o || t);
503
- a.length > 0 && (n.runs = a);
504
- let c = e.evaluate("bodyPr", t);
505
- c && w(c, n);
507
+ if (s?.length !== void 0) for (let e = 0; s && e < s.length; e++) c(s.item(e));
508
+ else c(s || t);
509
+ o.length > 0 && (n.runs = o);
510
+ let l = e.evaluate("bodyPr", t);
511
+ l && E(l, n);
506
512
  }
507
513
  parseTextProperties(e, t, n) {
508
514
  if (!t) return;
509
515
  t.hasAttribute("sz") && (n.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (n.weight = t.getAttribute("b") === "1" ? 700 : 400), t.hasAttribute("i") && (n.italic = t.getAttribute("i") === "1"), t.hasAttribute("u") && (n.underline = t.getAttribute("u")), t.hasAttribute("strike") && (n.strike = t.getAttribute("strike"));
510
516
  let r = this.getFill(e, t);
511
517
  r && Object.keys(r).length > 0 && (n.color = r);
512
- let a = e.evaluate("latin", t);
513
- if (a && !a.getAttribute("typeface").startsWith("+")) {
518
+ let i = e.evaluate("latin", t);
519
+ if (i && !i.getAttribute("typeface").startsWith("+")) {
514
520
  let e = n.font ?? {};
515
- if (a.hasAttribute("typeface") && (e.family = a.getAttribute("typeface")), a.hasAttribute("panose")) {
516
- let t = a.getAttribute("panose");
517
- t && (e.fallbacks = [i.getPanoseFallback(t)]);
521
+ if (i.hasAttribute("typeface") && (e.family = i.getAttribute("typeface")), i.hasAttribute("panose")) {
522
+ let t = i.getAttribute("panose");
523
+ t && (e.fallbacks = [s.getPanoseFallback(t)]);
518
524
  }
519
- a.hasAttribute("pitchFamily") && (e.pitch = a.getAttribute("pitchFamily")), a.hasAttribute("charset") && (e.charset = a.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
525
+ i.hasAttribute("pitchFamily") && (e.pitch = i.getAttribute("pitchFamily")), i.hasAttribute("charset") && (e.charset = i.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
520
526
  }
521
527
  }
522
- }, R = class {
528
+ }, B = class {
523
529
  visit(e, t, n) {}
524
530
  processDataBarColor(e, t, n, r, i = "auto") {
525
531
  if (!t) return;
526
- let a = ee((e) => t.getAttribute(e), i);
532
+ let a = b((e) => t.getAttribute(e), i);
527
533
  return a && (n[r] = a), n;
528
534
  }
529
535
  processFonts(e, t, n) {
@@ -539,14 +545,14 @@ var re = class {
539
545
  return n;
540
546
  }
541
547
  processFont(e, t, n) {
542
- e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = i.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
548
+ e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = s.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
543
549
  let r = e.evaluate("u", t);
544
- r && (n.underline = r.getAttribute("val") || i.UnderlineStyle.Single), T(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = i.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = i.VerticalAlignment.Sub), O(e, t, n, "sz", "size");
545
- let a = e.evaluate("color", t);
546
- this.processDataBarColor(e, a, n, "color"), n.color ||= "auto", T(e, t, n, "name", "family"), T(e, t, n, "rFont", "family");
547
- let o = e.evaluate("family", t);
548
- if (o) {
549
- let e = o.getAttribute("val");
550
+ r && (n.underline = r.getAttribute("val") || s.UnderlineStyle.Single), D(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = s.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = s.VerticalAlignment.Sub), A(e, t, n, "sz", "size");
551
+ let i = e.evaluate("color", t);
552
+ this.processDataBarColor(e, i, n, "color"), n.color ||= "auto", D(e, t, n, "name", "family"), D(e, t, n, "rFont", "family");
553
+ let a = e.evaluate("family", t);
554
+ if (a) {
555
+ let e = a.getAttribute("val");
550
556
  if (e) switch (e) {
551
557
  case "1":
552
558
  n.fallbacks = ["serif"];
@@ -563,7 +569,7 @@ var re = class {
563
569
  case "5": n.fallbacks = ["fantasy"];
564
570
  }
565
571
  }
566
- return T(e, t, n, "scheme", "scheme"), E(e, t, n, "shadow", "shadow", !0), E(e, t, n, "outline", "outline", !0), e.getValAttrAsBoolean("condense", t, !0) && (n.letterSpacing = -1), e.getValAttrAsBoolean("extend", t, !0) && (n.letterSpacing = 1), D(e, t, n, "charset", "charset"), n;
572
+ return D(e, t, n, "scheme", "scheme"), n.family !== void 0 && n.scheme === void 0 && (n.scheme = s.Scheme.None), O(e, t, n, "shadow", "shadow", !0), O(e, t, n, "outline", "outline", !0), e.getValAttrAsBoolean("condense", t, !0) && (n.letterSpacing = -1), e.getValAttrAsBoolean("extend", t, !0) && (n.letterSpacing = 1), k(e, t, n, "charset", "charset"), n;
567
573
  }
568
574
  processFills(e, t, n) {
569
575
  if (!t) return;
@@ -575,26 +581,26 @@ var re = class {
575
581
  return n;
576
582
  }
577
583
  processFill(e, t, n, r) {
578
- let i = { type: o.Type.None }, a = t.childNodes, s = !1, c = a.length;
584
+ let a = { type: i.Type.None }, o = t.childNodes, s = !1, c = o.length;
579
585
  for (let t = 0; !s && t < c; t++) {
580
- let n = a.item(t);
581
- n.nodeType === 1 && (n.localName === "gradientFill" ? (this.processGradientFill(e, n, i), s = !0) : n.localName === "patternFill" && (this.processPatternFill(e, n, i), s = !0));
586
+ let n = o.item(t);
587
+ n.nodeType === 1 && (n.localName === "gradientFill" ? (this.processGradientFill(e, n, a), s = !0) : n.localName === "patternFill" && (this.processPatternFill(e, n, a), s = !0));
582
588
  }
583
- return n[r] = i, n;
589
+ return n[r] = a, n;
584
590
  }
585
591
  processGradientFill(e, t, n) {
586
592
  if (!t) return;
587
- n.type = o.Type.Gradient;
593
+ n.type = i.Type.Gradient;
588
594
  let r = [];
589
595
  n.stops = r;
590
- let i = t.getAttribute("type");
591
- i && (n.gradientType = i);
592
- let a = t.hasAttribute("degree") ? parseFloat(t.getAttribute("degree")) : 0;
593
- (a + 90) % 360 != 0 && (n.angle = (a + 90) % 360), (t.hasAttribute("left") || t.hasAttribute("top") || t.hasAttribute("right") || t.hasAttribute("bottom")) && (n.focus = {
594
- left: z(t.getAttribute("left")),
595
- top: z(t.getAttribute("top")),
596
- right: z(t.getAttribute("right")),
597
- bottom: z(t.getAttribute("bottom"))
596
+ let a = t.getAttribute("type");
597
+ a && (n.gradientType = a);
598
+ let o = t.hasAttribute("degree") ? parseFloat(t.getAttribute("degree")) : 0;
599
+ (o + 90) % 360 != 0 && (n.angle = (o + 90) % 360), (t.hasAttribute("left") || t.hasAttribute("top") || t.hasAttribute("right") || t.hasAttribute("bottom")) && (n.focus = {
600
+ left: V(t.getAttribute("left")),
601
+ top: V(t.getAttribute("top")),
602
+ right: V(t.getAttribute("right")),
603
+ bottom: V(t.getAttribute("bottom"))
598
604
  });
599
605
  let s = t.childNodes, c = s.length;
600
606
  for (let t = 0; t < c; t++) {
@@ -610,16 +616,16 @@ var re = class {
610
616
  }
611
617
  processPatternFill(e, t, n) {
612
618
  if (!t) return;
613
- let r = e.getVisitorParamsState().get("processingDXFs"), i = t.getAttribute("patternType") || (r ? o.BuiltInSheetPattern.Solid : o.BuiltInSheetPattern.None);
614
- if (i === o.BuiltInSheetPattern.None) return { none: !0 };
615
- n.type = o.Type.Pattern, i && (n.patternType = i);
616
- let a = "foreground", s = "background", c = n.patternType === o.BuiltInSheetPattern.Solid && r, l = c ? "dk1" : "lt1", u = c ? "lt1" : "dk1";
619
+ let r = e.getVisitorParamsState().get("processingDXFs"), a = t.getAttribute("patternType") || (r ? i.BuiltInSheetPattern.Solid : i.BuiltInSheetPattern.None);
620
+ if (a === i.BuiltInSheetPattern.None) return { none: !0 };
621
+ n.type = i.Type.Pattern, a && (n.patternType = a);
622
+ let o = "foreground", s = "background", c = n.patternType === i.BuiltInSheetPattern.Solid && r, l = c ? "dk1" : "lt1", u = c ? "lt1" : "dk1";
617
623
  if (c) {
618
- let e = a;
619
- a = s, s = e;
624
+ let e = o;
625
+ o = s, s = e;
620
626
  }
621
627
  let d = e.evaluate("fgColor", t);
622
- this.processDataBarColor(e, d, n, a, l);
628
+ this.processDataBarColor(e, d, n, o, l);
623
629
  let f = e.evaluate("bgColor", t);
624
630
  return this.processDataBarColor(e, f, n, s, u), c && (n.foreground ||= "lt1", n.background ||= "dk1"), n;
625
631
  }
@@ -635,35 +641,38 @@ var re = class {
635
641
  processBorder(e, t, n, r, i) {
636
642
  if (!t) return;
637
643
  let a = {};
638
- return this.processBorderStroke(e, t, a, c.Edge.Left), this.processBorderStroke(e, t, a, c.Edge.Right), i ? (a.right || a.left) && (a.right ? a.vertical = { ...a.right } : a.vertical = { ...a.left }) : this.processBorderStroke(e, t, a, c.Edge.Vertical), this.processBorderStroke(e, t, a, c.Edge.Top), this.processBorderStroke(e, t, a, c.Edge.Bottom), i ? (a.bottom || a.top) && (a.bottom ? a.horizontal = { ...a.bottom } : a.horizontal = { ...a.top }) : this.processBorderStroke(e, t, a, c.Edge.Horizontal), n[r] = a, n;
644
+ return this.processBorderStroke(e, t, a, o.Edge.Left), this.processBorderStroke(e, t, a, o.Edge.Right), i ? (a.right || a.left) && (a.right ? a.vertical = { ...a.right } : a.vertical = { ...a.left }) : this.processBorderStroke(e, t, a, o.Edge.Vertical), this.processBorderStroke(e, t, a, o.Edge.Top), this.processBorderStroke(e, t, a, o.Edge.Bottom), i ? (a.bottom || a.top) && (a.bottom ? a.horizontal = { ...a.bottom } : a.horizontal = { ...a.top }) : this.processBorderStroke(e, t, a, o.Edge.Horizontal), n[r] = a, n;
639
645
  }
640
646
  processBorderStroke(e, t, n, r) {
641
647
  if (!t) return;
642
648
  let i = e.evaluate(r, t);
643
649
  if (!i) return;
644
650
  let a = {};
645
- i.hasAttribute("style") ? a.style = i.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (a.style = c.StrokeStyle.None);
646
- let o = e.evaluate("color", i);
647
- return o && this.processDataBarColor(e, o, a, "color"), Object.keys(a).length > 0 ? n[r] = a : null;
651
+ i.hasAttribute("style") ? a.style = i.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (a.style = o.StrokeStyle.None);
652
+ let s = e.evaluate("color", i);
653
+ return s && this.processDataBarColor(e, s, a, "color"), Object.keys(a).length > 0 ? n[r] = a : null;
648
654
  }
649
- }, z = (e) => {
655
+ }, V = (e) => {
650
656
  if (!e) return 0;
651
657
  let t = parseFloat(e);
652
658
  return isNaN(t) ? 0 : t;
653
- }, B = {
659
+ }, ce = {
654
660
  auto: "auto",
655
661
  autoNoTable: "automaticExceptTables",
656
662
  manual: "manual"
657
- }, V = class {
663
+ }, H = class {
658
664
  visit(e, t, n) {
659
665
  if (!t) return;
660
666
  let r = e.evaluate("*/cNvPr", t);
661
667
  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;
662
668
  }
663
- }, H = class extends V {
669
+ }, U = class extends H {
664
670
  visit(e, t, n) {
665
671
  if (!t) return;
666
- if (e.getPath().includes("Fallback") && n.content) return n;
672
+ if (e.getPath().includes("Fallback") && n.content) {
673
+ let r = n.content.json;
674
+ return n.content.type === "sp" && r?.xml && r.fallbackXml === void 0 && (r.fallbackXml = e.serializeElement(t) ?? void 0), n;
675
+ }
667
676
  n = super.visit(e, t, n);
668
677
  let r = e.evaluate("nvSpPr/cNvSpPr", t);
669
678
  if (r) {
@@ -674,7 +683,6 @@ var re = class {
674
683
  Object.keys(e).length > 0 && (n.locks = e);
675
684
  }
676
685
  }
677
- e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);
678
686
  let i = e.evaluate("*/cNvPr", t);
679
687
  i?.item && (i = i.item(0));
680
688
  let a = i?.getAttribute?.("id"), o = a ? parseInt(a, 10) : void 0, s = {
@@ -687,7 +695,37 @@ var re = class {
687
695
  json: s
688
696
  }, s;
689
697
  }
690
- }, U = "richTypes", W = "richData", G = class {
698
+ }, W = "richTypes", G = "richData";
699
+ function le(e, t) {
700
+ let n = e.childNodes;
701
+ for (let e = 0; e < n.length; e++) {
702
+ let r = n.item(e);
703
+ if (r.nodeType === 1) switch (r.localName) {
704
+ case "b":
705
+ t.bold = r.getAttribute("val") !== "0" && r.getAttribute("val") !== "false";
706
+ break;
707
+ case "i":
708
+ t.italic = r.getAttribute("val") !== "0" && r.getAttribute("val") !== "false";
709
+ break;
710
+ case "sz": {
711
+ let e = parseFloat(r.getAttribute("val") ?? "");
712
+ isNaN(e) || (t.size = e);
713
+ break;
714
+ }
715
+ case "rFont": {
716
+ let e = r.getAttribute("val");
717
+ e && (t.font = e);
718
+ break;
719
+ }
720
+ case "color": {
721
+ let e = r.getAttribute("rgb");
722
+ e && (t.color = "#" + (e.length === 8 ? e.substring(2) : e));
723
+ break;
724
+ }
725
+ }
726
+ }
727
+ }
728
+ var ue = class {
691
729
  visit(e, t, n) {
692
730
  if (!t) return;
693
731
  let r = t.childNodes, i = r.length;
@@ -701,7 +739,7 @@ var re = class {
701
739
  let r = {};
702
740
  e.copyFromAttribute(t, "Target", r, "target"), e.copyFromAttribute(t, "Type", r, "type"), e.copyFromAttribute(t, "TargetMode", r, "targetMode"), n[t.getAttribute("Id")] = r;
703
741
  }
704
- }, le = class {
742
+ }, de = class {
705
743
  visit(e, t, n) {
706
744
  let r = [], i = t.childNodes, a = i.length;
707
745
  for (let t = 0; t < a; t++) {
@@ -718,7 +756,7 @@ var re = class {
718
756
  value: t.textContent || ""
719
757
  };
720
758
  }
721
- }, ue = class {
759
+ }, fe = class {
722
760
  visit(e, t, n) {
723
761
  let r = [], i = t.childNodes, a = i.length;
724
762
  for (let t = 0; t < a; t++) {
@@ -735,9 +773,9 @@ var re = class {
735
773
  value: t.textContent || ""
736
774
  };
737
775
  }
738
- }, de = class {
776
+ }, pe = class {
739
777
  visit(e, t, n) {
740
- return E(e, t, n, "roundedCorners", "roundedCorners"), D(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
778
+ return O(e, t, n, "roundedCorners", "roundedCorners"), k(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
741
779
  }
742
780
  afterVisit(e, t, n) {
743
781
  let r = {};
@@ -764,17 +802,17 @@ var re = class {
764
802
  for (let e = 0; e < p; e++) f[e + ""] = d[e];
765
803
  f.length = p, e.getVisitorParamsState().delete("types"), e.getVisitorParamsState().delete("axes"), e.getVisitorParamsState().delete("series");
766
804
  }
767
- }, fe = class {
805
+ }, me = class {
768
806
  visit(e, t, n) {
769
807
  let r = {};
770
808
  return n.plotArea = r, r;
771
809
  }
772
- }, pe = P, me = class extends F {
810
+ }, he = I, ge = class extends L {
773
811
  parseType(e, t, n) {
774
812
  let r = e.getValAttrAsString("barDir", t);
775
813
  r && (n.type = r === "col" ? "column" : "bar");
776
814
  }
777
- }, K = F, q = class {
815
+ }, K = L, q = class {
778
816
  constructor(e) {
779
817
  this.jsonKey = e;
780
818
  }
@@ -782,18 +820,18 @@ var re = class {
782
820
  let r = {}, i = r, a = e.getValAttrAsString("idx", t);
783
821
  a !== null && (i = {}, i[a] = r);
784
822
  let o = e.getValAttrAsBoolean("delete", t);
785
- 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) : (E(e, t, r, "showBubbleSize", "showBubbleSize"), E(e, t, r, "showCatName", "showCatName"), E(e, t, r, "showLeaderLines", "showLeaderLines"), E(e, t, r, "showPercent", "showPercentage"), E(e, t, r, "showSerName", "showSerName"), E(e, t, r, "showVal", "showVal"), E(e, t, r, "showLegendKey", "showLegendKey"));
823
+ 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) : (O(e, t, r, "showBubbleSize", "showBubbleSize"), O(e, t, r, "showCatName", "showCatName"), O(e, t, r, "showLeaderLines", "showLeaderLines"), O(e, t, r, "showPercent", "showPercentage"), O(e, t, r, "showSerName", "showSerName"), O(e, t, r, "showVal", "showVal"), O(e, t, r, "showLegendKey", "showLegendKey"));
786
824
  let s = e.evaluate("separator", t);
787
- return s !== null && (r.separator = s.textContent), T(e, t, r, "dLblPos", "position"), n[this.jsonKey] = i, r;
825
+ return s !== null && (r.separator = s.textContent), D(e, t, r, "dLblPos", "position"), n[this.jsonKey] = i, r;
788
826
  }
789
827
  parseNumFormat(e, t, n) {
790
828
  let r = e.evaluate("numFmt", t);
791
829
  r && (n.formatCode = r.getAttribute("formatCode"), r.hasAttribute("sourceLinked") && (n.sourceLinked = r.getAttribute("sourceLinked") === "1"));
792
830
  }
793
- }, he = class {
831
+ }, _e = class {
794
832
  visit(e, t, n) {
795
833
  let r = {};
796
- D(e, t, r, "explosion", "explosion");
834
+ k(e, t, r, "explosion", "explosion");
797
835
  let i = e.evaluate("cat/*/f", t);
798
836
  i ||= e.evaluate("xVal/*/f", t);
799
837
  let a = null;
@@ -801,7 +839,7 @@ var re = class {
801
839
  let o = e.evaluate("val/*/f", t);
802
840
  o ||= e.evaluate("yVal/*/f", t);
803
841
  let s = null;
804
- 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), D(e, t, r, "idx", "idx"), E(e, t, r, "smooth", "smooth"), r.offsetChart = e.getVisitorParamsState().get("types").length - 1;
842
+ 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), k(e, t, r, "idx", "idx"), O(e, t, r, "smooth", "smooth"), r.offsetChart = e.getVisitorParamsState().get("types").length - 1;
805
843
  let c = e.getVisitorParamsState().get("series");
806
844
  return c || (c = [], e.getVisitorParamsState().set("series", c)), c.push(r), r;
807
845
  }
@@ -825,7 +863,7 @@ var re = class {
825
863
  return n += "}", n;
826
864
  }
827
865
  afterVisit(e, t, n) {
828
- I(e, t, n);
866
+ R(e, t, n);
829
867
  let r = e.getFromPath(n, "points");
830
868
  if (r) {
831
869
  let t = Object.keys(r);
@@ -837,15 +875,15 @@ var re = class {
837
875
  }
838
876
  }
839
877
  }
840
- }, ge = class {
878
+ }, ve = class {
841
879
  DataPointVisitor() {}
842
880
  visit(e, t, n) {
843
881
  let r = e.getFromPath(n, "points"), i = null;
844
882
  r ? i = r : (i = {}, e.setToPath(n, "points", i));
845
883
  let a = {}, o = e.getValAttrAsString("idx", t);
846
- return o !== null && (i[o] = a), E(e, t, a, "bubble3D", "bubble3D"), D(e, t, a, "explosion", "explosion"), I(e, t, a), a;
884
+ return o !== null && (i[o] = a), O(e, t, a, "bubble3D", "bubble3D"), k(e, t, a, "explosion", "explosion"), R(e, t, a), a;
847
885
  }
848
- }, _e = class {
886
+ }, ye = class {
849
887
  visit(e, t, n) {
850
888
  let r = t.parentNode.localName;
851
889
  if (r === "ser" || r === "dPt") {
@@ -859,9 +897,9 @@ var re = class {
859
897
  }, J = class {
860
898
  visit(e, t, n) {
861
899
  let r = {};
862
- this.parseScaling(e, t, r), O(e, t, r, "majorUnit", "majorUnits"), O(e, t, r, "minorUnit", "minorUnits"), E(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), T(e, t, r, "majorTickMark", "majorTickMarks"), T(e, t, r, "minorTickMark", "minorTickMarks"), T(e, t, r, "crosses", "crosses"), O(e, t, r, "crossesAt", "crosses"), T(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), D(e, t, r, "lblOffset", "labelOffset"), T(e, t, r, "tickLblPos", "labelPosition");
900
+ this.parseScaling(e, t, r), A(e, t, r, "majorUnit", "majorUnits"), A(e, t, r, "minorUnit", "minorUnits"), O(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), D(e, t, r, "majorTickMark", "majorTickMarks"), D(e, t, r, "minorTickMark", "minorTickMarks"), D(e, t, r, "crosses", "crosses"), A(e, t, r, "crossesAt", "crosses"), D(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), k(e, t, r, "lblOffset", "labelOffset"), D(e, t, r, "tickLblPos", "labelPosition");
863
901
  let i = e.getValAttrAsInteger("noMultiLvlLbl", t);
864
- r.labelMultiLevel = i !== null && i === 0, D(e, t, r, "tickMarkSkip", "tickMarkSkip"), D(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"), T(e, t, r, "baseTimeUnit", "baseUnitDates"), e.getVisitorParamsState().get("axes") || (console.warn("Uninitialized axes map in AxisVisitor"), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()));
902
+ r.labelMultiLevel = i !== null && i === 0, k(e, t, r, "tickMarkSkip", "tickMarkSkip"), k(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"), D(e, t, r, "baseTimeUnit", "baseUnitDates"), e.getVisitorParamsState().get("axes") || (e.warn("An axis was read outside a chart; its axes were started fresh.", { onceKey: "xlsx.chart.axesState" }), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()));
865
903
  let a = e.getValAttrAsString("axId", t);
866
904
  return e.getVisitorParamsState().get("axes").set(a, r), r;
867
905
  }
@@ -889,7 +927,7 @@ var re = class {
889
927
  let r = e.getValAttrAsString("scaling/orientation", t);
890
928
  r !== null && (n.inverted = r !== "minMax");
891
929
  let i = e.getValAttrAsFloat("scaling/logBase", t);
892
- i !== null && (n.logBase = i, n.scaleType = "log"), O(e, t, n, "scaling/max", "max"), O(e, t, n, "scaling/min", "min");
930
+ i !== null && (n.logBase = i, n.scaleType = "log"), A(e, t, n, "scaling/max", "max"), A(e, t, n, "scaling/min", "min");
893
931
  }
894
932
  afterVisit(e, t, n) {
895
933
  n.fill && n.labels && (n.labels.fill = n.fill, delete n.fill);
@@ -904,7 +942,7 @@ var re = class {
904
942
  let s = e.evaluate("majorGridlines", t);
905
943
  e.setToPath(n, "gridLinesMajor.shown", s !== null);
906
944
  }
907
- }, Y = L, ve = class {
945
+ }, Y = z, be = class {
908
946
  visit(e, t, n) {
909
947
  let r = e.getVisitorParamsState().get("series"), i = e.getValAttrAsInteger("idx", t), a = i === null ? void 0 : r[i];
910
948
  if (a) {
@@ -915,19 +953,19 @@ var re = class {
915
953
  }
916
954
  return n;
917
955
  }
918
- }, ye = class {
956
+ }, xe = class {
919
957
  visit(e, t, n) {
920
958
  let r = {};
921
- return E(e, t, r, "overlay", "overlay"), T(e, t, r, "legendPos", "position"), n.legend = r, r;
959
+ return O(e, t, r, "overlay", "overlay"), D(e, t, r, "legendPos", "position"), n.legend = r, r;
922
960
  }
923
- }, be = class extends P {
961
+ }, Se = class extends I {
924
962
  visit(e, t, n) {
925
963
  let r = this.getFill(e, t);
926
964
  Object.keys(r).length > 0 && (n.fillNegative = r);
927
965
  let i = this.getStroke(e, t);
928
966
  return Object.keys(i).length > 0 && (n.strokeNegative = i), n;
929
967
  }
930
- }, X = class extends L {
968
+ }, X = class extends z {
931
969
  constructor(e = "title") {
932
970
  super(e);
933
971
  }
@@ -940,7 +978,7 @@ var re = class {
940
978
  }
941
979
  visit(e, t, n) {
942
980
  let r = {};
943
- E(e, t, r, "overlay", "overlay"), n[this._jsonKey] = r;
981
+ O(e, t, r, "overlay", "overlay"), n[this._jsonKey] = r;
944
982
  let i = e.getFromPath(r, this.getTextPath());
945
983
  i ||= {}, this.parseTitleRangeOrValue(e, t, r);
946
984
  let a = e.evaluate("txPr", t);
@@ -954,20 +992,20 @@ var re = class {
954
992
  e !== null && (n.rotation = parseInt(e), delete n.title.rotation);
955
993
  }
956
994
  }
957
- }, xe = class {
995
+ }, Ce = class {
958
996
  visit(e, t, n) {
959
997
  let r = e.evaluate("manualLayout", t);
960
998
  if (r) {
961
999
  let t = {};
962
- O(e, r, t, "x", "x"), O(e, r, t, "y", "y"), O(e, r, t, "w", "w"), O(e, r, t, "h", "h"), T(e, r, t, "xMode", "xMode"), T(e, r, t, "yMode", "yMode"), T(e, r, t, "wMode", "wMode"), T(e, r, t, "hMode", "hMode"), Object.keys(t).length > 0 && (n.manualLayout = t);
1000
+ A(e, r, t, "x", "x"), A(e, r, t, "y", "y"), A(e, r, t, "w", "w"), A(e, r, t, "h", "h"), D(e, r, t, "xMode", "xMode"), D(e, r, t, "yMode", "yMode"), D(e, r, t, "wMode", "wMode"), D(e, r, t, "hMode", "hMode"), Object.keys(t).length > 0 && (n.manualLayout = t);
963
1001
  }
964
1002
  return n;
965
1003
  }
966
- }, Se = class {
1004
+ }, we = class {
967
1005
  visit(e, t, n) {
968
1006
  return n.name = t.getAttribute("name"), n;
969
1007
  }
970
- }, Ce = class extends N {
1008
+ }, Te = class extends F {
971
1009
  visit(e, t, n) {
972
1010
  let r = {};
973
1011
  r.name = t.getAttribute("name");
@@ -981,7 +1019,7 @@ var re = class {
981
1019
  }
982
1020
  return Object.keys(r).length > 0 && (n.colors = r), r;
983
1021
  }
984
- }, we = class {
1022
+ }, Ee = class {
985
1023
  visit(e, t, n) {
986
1024
  let r = {};
987
1025
  r.name = t.getAttribute("name");
@@ -994,12 +1032,12 @@ var re = class {
994
1032
  if (!t) return;
995
1033
  let r = e.evaluate("latin", t);
996
1034
  if (!r) return;
997
- let a = r.getAttribute("typeface");
998
- a && (n.family = a);
999
- let o = r.getAttribute("panose");
1000
- return o && (n.fallbacks = [i.getPanoseFallback(o)]), n;
1035
+ let i = r.getAttribute("typeface");
1036
+ i && (n.family = i);
1037
+ let a = r.getAttribute("panose");
1038
+ return a && (n.fallbacks = [s.getPanoseFallback(a)]), n;
1001
1039
  }
1002
- }, Te = class extends N {
1040
+ }, De = class extends F {
1003
1041
  visit(e, t, n) {
1004
1042
  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");
1005
1043
  if (r && i && a && o) return n.fillStyleLst = r, n.lnStyleLst = i, n.effectStyleLst = a, void (n.bgFillStyleLst = o);
@@ -1021,11 +1059,11 @@ var re = class {
1021
1059
  }
1022
1060
  parseFillListItem(e, t) {
1023
1061
  switch (t.localName) {
1024
- case "noFill": return { type: o.Type.None };
1062
+ case "noFill": return { type: i.Type.None };
1025
1063
  case "solidFill": {
1026
1064
  let n = this.processAdjColor(e, t);
1027
1065
  return n ? {
1028
- type: o.Type.Solid,
1066
+ type: i.Type.Solid,
1029
1067
  color: n
1030
1068
  } : void 0;
1031
1069
  }
@@ -1061,7 +1099,7 @@ var re = class {
1061
1099
  }
1062
1100
  return i;
1063
1101
  }
1064
- }, Ee = class {
1102
+ }, Oe = class {
1065
1103
  visit(e, t, n) {
1066
1104
  if (!t) return;
1067
1105
  let r = {}, i = t.getAttribute("r:id");
@@ -1071,46 +1109,46 @@ var re = class {
1071
1109
  }
1072
1110
  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;
1073
1111
  }
1074
- }, De = class {
1112
+ }, ke = class {
1075
1113
  visit(e, t, n) {
1076
1114
  if (!t) return;
1077
1115
  let r = {}, i = [];
1078
1116
  return this.processFilterColumns(e, t, i, n), i.length > 0 && (r.conditions = i), Object.keys(r).length > 0 && (n.filter = r), r;
1079
1117
  }
1080
1118
  processColorFilter(e, t) {
1081
- let n = {}, i = {
1082
- operator: r.BuiltInOperatorNames.Color,
1119
+ let n = {}, r = {
1120
+ operator: u.BuiltInOperatorNames.Color,
1083
1121
  param: n
1084
1122
  };
1085
- return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), i;
1123
+ return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), r;
1086
1124
  }
1087
1125
  processCustomFilter(e, t) {
1088
- return p({
1126
+ return m({
1089
1127
  operator: t.getAttribute("operator"),
1090
1128
  val: t.getAttribute("val")
1091
1129
  });
1092
1130
  }
1093
1131
  processCustomFilters(e, t) {
1094
- let n = t.getAttribute("and"), i = n === "and" || n === "1";
1132
+ let n = t.getAttribute("and"), r = n === "and" || n === "1";
1095
1133
  t.getAttribute("val");
1096
- let a = [], o = {
1097
- operator: i ? r.BuiltInOperatorNames.And : r.BuiltInOperatorNames.Or,
1098
- param: a
1099
- }, s = t.childNodes, c = s.length;
1100
- for (let t = 0; t < c; t++) {
1101
- let n = s.item(t);
1134
+ let i = [], a = {
1135
+ operator: r ? u.BuiltInOperatorNames.And : u.BuiltInOperatorNames.Or,
1136
+ param: i
1137
+ }, o = t.childNodes, s = o.length;
1138
+ for (let t = 0; t < s; t++) {
1139
+ let n = o.item(t);
1102
1140
  if (n.nodeType !== 1) continue;
1103
1141
  let r = null;
1104
- n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && a.push(r);
1142
+ n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && i.push(r);
1105
1143
  }
1106
- return a.length === 1 ? a[0] : o;
1144
+ return i.length === 1 ? i[0] : a;
1107
1145
  }
1108
1146
  processDynamicFilter(e, t) {
1109
- let n = {}, i = {
1110
- operator: r.BuiltInOperatorNames.TimePeriod,
1147
+ let n = {}, r = {
1148
+ operator: u.BuiltInOperatorNames.TimePeriod,
1111
1149
  param: n
1112
- }, a = t.getAttribute("type");
1113
- return a === "aboveAverage" ? a = r.AverageType.Above : a === "belowAverage" && (a = r.AverageType.Below), Object.values(r.AverageType).includes(a) ? (i.operator = r.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), i;
1150
+ }, i = t.getAttribute("type");
1151
+ return i === "aboveAverage" ? i = u.AverageType.Above : i === "belowAverage" && (i = u.AverageType.Below), Object.values(u.AverageType).includes(i) ? (r.operator = u.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), r;
1114
1152
  }
1115
1153
  processDateGroupItem(e, t) {
1116
1154
  let n = {};
@@ -1120,39 +1158,39 @@ var re = class {
1120
1158
  if (t.hasAttribute("val")) return t.getAttribute("val");
1121
1159
  }
1122
1160
  processFilters(e, t) {
1123
- let n = {}, i = {
1124
- operator: r.BuiltInOperatorNames.InSet,
1161
+ let n = {}, r = {
1162
+ operator: u.BuiltInOperatorNames.InSet,
1125
1163
  param: n
1126
1164
  };
1127
- e.copyFromAttribute(t, "blank", i, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", i, "calendarType");
1128
- let a = [], o = [], s = t.childNodes, c = s.length;
1129
- for (let t = 0; t < c; t++) {
1130
- let n = s.item(t);
1165
+ e.copyFromAttribute(t, "blank", r, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", r, "calendarType");
1166
+ let i = [], a = [], o = t.childNodes, s = o.length;
1167
+ for (let t = 0; t < s; t++) {
1168
+ let n = o.item(t);
1131
1169
  if (n.nodeType === 1) {
1132
1170
  if (n.localName === "dateGroupItem") {
1133
1171
  let t = this.processDateGroupItem(e, n);
1134
- t && a.push(t);
1172
+ t && i.push(t);
1135
1173
  } else if (n.localName === "filter") {
1136
1174
  let t = this.processFilterItem(e, n);
1137
- t !== void 0 && o.push(t);
1175
+ t !== void 0 && a.push(t);
1138
1176
  }
1139
1177
  }
1140
1178
  }
1141
- return a.length > 0 && (n.dateGroups = a), o.length > 0 && (n.items = o), i;
1179
+ return i.length > 0 && (n.dateGroups = i), a.length > 0 && (n.items = a), r;
1142
1180
  }
1143
1181
  processIcon(e, t) {
1144
- let n = {}, i = {
1145
- operator: r.BuiltInOperatorNames.Icon,
1182
+ let n = {}, r = {
1183
+ operator: u.BuiltInOperatorNames.Icon,
1146
1184
  param: n
1147
1185
  };
1148
- return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), i;
1186
+ return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), r;
1149
1187
  }
1150
1188
  processTop10(e, t) {
1151
- let n = {}, i = {
1152
- operator: r.BuiltInOperatorNames.TopN,
1189
+ let n = {}, r = {
1190
+ operator: u.BuiltInOperatorNames.TopN,
1153
1191
  param: n
1154
1192
  };
1155
- return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), i;
1193
+ return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), r;
1156
1194
  }
1157
1195
  processFilterCriteria(e, t) {
1158
1196
  if (!t) return;
@@ -1167,12 +1205,12 @@ var re = class {
1167
1205
  if (!t) return null;
1168
1206
  if (!t.hasAttribute("colId")) return;
1169
1207
  let r = parseInt(t.getAttribute("colId")), i = !1;
1170
- if (t.hasAttribute("hiddenButton") && (i = v(t.getAttribute("hiddenButton"))), i && n) {
1208
+ if (t.hasAttribute("hiddenButton") && (i = C(t.getAttribute("hiddenButton"))), i && n) {
1171
1209
  let e = n.hiddenButtons;
1172
1210
  e || (e = [], n.hiddenButtons = e), e.push(r);
1173
1211
  }
1174
1212
  let a = !1;
1175
- if (t.hasAttribute("showButton") && (a = v(t.getAttribute("showButton"))), a && n) {
1213
+ if (t.hasAttribute("showButton") && (a = C(t.getAttribute("showButton"))), a && n) {
1176
1214
  let e = n.showButtons;
1177
1215
  !0 !== e && (e || (e = [], n.showButtons = e), e[r] = !0);
1178
1216
  }
@@ -1191,34 +1229,34 @@ var re = class {
1191
1229
  }
1192
1230
  return n;
1193
1231
  }
1194
- }, Oe = class {
1195
- visit(e, n, r) {
1196
- if (!n) return;
1197
- let i = n.getAttribute("ref"), a = {};
1198
- n.hasAttribute("caseSensitive") && (a.collatorOptions = v(n.getAttribute("caseSensitive")) ? d.CaseSensitiveOptions : d.CaseInsensitiveOptions);
1199
- let o = n.getAttribute("sortMethod");
1200
- o != null && o !== "none" && (o === "stroke" ? a.collatorOptions = {
1201
- ...a.collatorOptions,
1232
+ }, Ae = class {
1233
+ visit(e, t, n) {
1234
+ if (!t) return;
1235
+ let i = t.getAttribute("ref"), o = {};
1236
+ t.hasAttribute("caseSensitive") && (o.collatorOptions = C(t.getAttribute("caseSensitive")) ? a.CaseSensitiveOptions : a.CaseInsensitiveOptions);
1237
+ let s = t.getAttribute("sortMethod");
1238
+ s != null && s !== "none" && (s === "stroke" ? o.collatorOptions = {
1239
+ ...o.collatorOptions,
1202
1240
  collation: "stroke"
1203
- } : o === "pinYin" && (a.collatorOptions = {
1204
- ...a.collatorOptions,
1241
+ } : s === "pinYin" && (o.collatorOptions = {
1242
+ ...o.collatorOptions,
1205
1243
  collation: "pinyin"
1206
1244
  }));
1207
- let s = {};
1208
- n.hasAttribute("columnSort") && v(n.getAttribute("columnSort")) && (s.axis = t.Axis.Column);
1209
- let c = u.fastStringToRange(i), l = [];
1210
- return this.processSortConditions(e, n, l, c, a), l.length > 0 && (s.sorts = l), Object.keys(l).length > 0 && (r.sort = s), s;
1245
+ let c = {};
1246
+ t.hasAttribute("columnSort") && C(t.getAttribute("columnSort")) && (c.axis = r.Axis.Column);
1247
+ let u = l.fastStringToRange(i), d = [];
1248
+ return this.processSortConditions(e, t, d, u, o), d.length > 0 && (c.sorts = d), Object.keys(d).length > 0 && (n.sort = c), c;
1211
1249
  }
1212
1250
  processSortCondition(e, t, n, r) {
1213
1251
  if (!t) return null;
1214
1252
  let i = {};
1215
- if (!t.hasAttribute("ref")) return void console.warn("no ref for sort conditional", e.getPath());
1253
+ if (!t.hasAttribute("ref")) return void e.warn("A sort condition has no ref; it was dropped.", { onceKey: "xlsx.sheet.sort.noRef" });
1216
1254
  if (t.hasAttribute("ref")) {
1217
- let e = t.getAttribute("ref"), r = u.fastStringToRange(e);
1255
+ let e = t.getAttribute("ref"), r = l.fastStringToRange(e);
1218
1256
  i.index = n ? r.colStart - n.colStart : r.colStart;
1219
1257
  }
1220
1258
  let a = { ...r };
1221
- return i.criteria = a, a.reverse = !1, t.hasAttribute("descending") && (a.reverse = v(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", a, "sortOn"), e.copyFromAttribute(t, "dxfId", a), e.copyFromAttribute(t, "iconSet", a), e.copyFromAttribute(t, "customList", a), i;
1259
+ return i.criteria = a, a.reverse = !1, t.hasAttribute("descending") && (a.reverse = C(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", a, "sortOn"), e.copyFromAttribute(t, "dxfId", a), e.copyFromAttribute(t, "iconSet", a), e.copyFromAttribute(t, "customList", a), i;
1222
1260
  }
1223
1261
  processSortConditions(e, t, n, r, i) {
1224
1262
  if (!t) return;
@@ -1231,7 +1269,7 @@ var re = class {
1231
1269
  }
1232
1270
  }
1233
1271
  }
1234
- }, Z = class extends R {
1272
+ }, Z = class extends B {
1235
1273
  visit(e, t, n) {
1236
1274
  this.processNumFmts(e, e.evaluate("numFmts", t), null), e.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1237
1275
  let r = {
@@ -1239,26 +1277,28 @@ var re = class {
1239
1277
  fonts: {},
1240
1278
  borders: {}
1241
1279
  };
1242
- this.processFonts(e, e.evaluate("fonts", t), r.fonts), this.processFills(e, e.evaluate("fills", t), r.fills), this.processBorders(e, e.evaluate("borders", t), r.borders, !0), r.fills[0] = { type: o.Type.None }, r.fills[1] = {
1243
- type: o.Type.Pattern,
1244
- patternType: o.BuiltInSheetPattern.Gray125
1280
+ this.processFonts(e, e.evaluate("fonts", t), r.fonts), this.processFills(e, e.evaluate("fills", t), r.fills), this.processBorders(e, e.evaluate("borders", t), r.borders, !0), r.fills[0] = { type: i.Type.None }, r.fills[1] = {
1281
+ type: i.Type.Pattern,
1282
+ patternType: i.BuiltInSheetPattern.Gray125
1245
1283
  }, r.borders[0] = {
1246
- bottom: { style: c.StrokeStyle.None },
1247
- left: { style: c.StrokeStyle.None },
1248
- right: { style: c.StrokeStyle.None },
1249
- top: { style: c.StrokeStyle.None }
1284
+ bottom: { style: o.StrokeStyle.None },
1285
+ left: { style: o.StrokeStyle.None },
1286
+ right: { style: o.StrokeStyle.None },
1287
+ top: { style: o.StrokeStyle.None }
1250
1288
  };
1251
- let i = [];
1252
- this.processXFs(e, e.evaluate("cellStyleXfs", t), i, r, null, !1);
1253
- let a = /* @__PURE__ */ new Map();
1254
- if (i.length > 0) {
1289
+ let a = [];
1290
+ this.processXFs(e, e.evaluate("cellStyleXfs", t), a, r, null, !1);
1291
+ let s = /* @__PURE__ */ new Map();
1292
+ if (a.length > 0) {
1255
1293
  let r = [];
1256
- this.processCellStyles(e, e.evaluate("cellStyles", t), r, i, a), n.named = r;
1294
+ this.processCellStyles(e, e.evaluate("cellStyles", t), r, a, s), n.named = r;
1257
1295
  }
1258
- let s = [];
1259
- this.processXFs(e, e.evaluate("cellXfs", t), s, r, a), Object.keys(s).length > 0 && (n.direct = s);
1260
- let l = [];
1261
- return this.processDXFs(e, e.evaluate("dxfs", t), l), this.processTableStyles(e, e.evaluate("tableStyles", t), n, l), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1296
+ let c = [];
1297
+ this.processXFs(e, e.evaluate("cellXfs", t), c, r, s), Object.keys(c).length > 0 && (n.direct = c);
1298
+ let l = this.collectHiddenXfs(e.evaluate("cellXfs", t));
1299
+ l.size > 0 && e.getVisitorParamsState().set("hiddenXfs", l);
1300
+ let u = [];
1301
+ return this.processDXFs(e, e.evaluate("dxfs", t), u), this.processTableStyles(e, e.evaluate("tableStyles", t), n, u), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1262
1302
  }
1263
1303
  processIndexColors(e, t, n) {
1264
1304
  if (!t) return;
@@ -1311,72 +1351,86 @@ var re = class {
1311
1351
  }
1312
1352
  }
1313
1353
  }
1314
- processXF(e, t, n, r, i, o) {
1354
+ processXF(e, t, n, r, i, a) {
1315
1355
  if (!t) return;
1316
- let s = t.getAttribute("xfId");
1317
- if (s && i) {
1318
- let e = i.get(parseInt(s));
1319
- e && e !== a.BuiltInName.Normal && (n.named = e);
1320
- }
1321
- let c = (e) => !(!o && t.hasAttribute(e)) || v(t.getAttribute(e)), l = (e) => !o || t.hasAttribute(e) && v(t.getAttribute(e)), u = o ? "0" : void 0;
1322
- if (c("applyFont")) {
1323
- let e = t.getAttribute("fontId") ?? u;
1324
- if (e !== void 0 && (e !== "0" || l("applyFont"))) {
1356
+ let o = t.getAttribute("xfId");
1357
+ if (o && i) {
1358
+ let e = i.get(parseInt(o));
1359
+ e && e !== f.BuiltInName.Normal && (n.named = e);
1360
+ }
1361
+ let s = (e) => !(!a && t.hasAttribute(e)) || C(t.getAttribute(e)), c = (e) => !a || t.hasAttribute(e) && C(t.getAttribute(e)), l = a ? "0" : void 0;
1362
+ if (s("applyFont")) {
1363
+ let e = t.getAttribute("fontId") ?? l;
1364
+ if (e !== void 0 && (e !== "0" || c("applyFont"))) {
1325
1365
  let t = r.fonts[e];
1326
1366
  t !== void 0 && (n.font = t);
1327
1367
  }
1328
1368
  }
1329
- if (c("applyFill")) {
1330
- let e = t.getAttribute("fillId") ?? u;
1331
- if (e !== void 0 && (e !== "0" || l("applyFill"))) {
1369
+ if (s("applyFill")) {
1370
+ let e = t.getAttribute("fillId") ?? l;
1371
+ if (e !== void 0 && (e !== "0" || c("applyFill"))) {
1332
1372
  let t = r.fills[e];
1333
1373
  t !== void 0 && Object.keys(t).length > 0 && (n.fill = t);
1334
1374
  }
1335
1375
  }
1336
- if (c("applyBorder")) {
1337
- let e = t.getAttribute("borderId") ?? u;
1338
- if (e !== void 0 && (e !== "0" || l("applyBorder"))) {
1376
+ if (s("applyBorder")) {
1377
+ let e = t.getAttribute("borderId") ?? l;
1378
+ if (e !== void 0 && (e !== "0" || c("applyBorder"))) {
1339
1379
  let t = r.borders[e];
1340
- t !== void 0 && (n.border = t);
1380
+ t !== void 0 && (n.borders = t);
1341
1381
  }
1342
1382
  }
1343
- if (c("applyNumberFormat")) {
1344
- let r = t.getAttribute("numFmtId") ?? u;
1345
- if (r !== void 0 && (r !== "0" || l("applyNumberFormat"))) {
1383
+ if (s("applyNumberFormat")) {
1384
+ let r = t.getAttribute("numFmtId") ?? l;
1385
+ if (r !== void 0 && (r !== "0" || c("applyNumberFormat"))) {
1346
1386
  let t, i = parseInt(r), a = e.getVisitorParamsState();
1347
1387
  if (a) {
1348
1388
  let e = a.get("numFmts");
1349
1389
  e && (t = e.get(i)), n.numberFormat = t ?? i;
1350
- } else console.warn("no visitor params state");
1390
+ } else e.warn("Number formats were unavailable; a cell format was not read.", { onceKey: "xlsx.style.numberFormat.state" });
1351
1391
  }
1352
1392
  }
1353
- if (c("applyAlignment")) {
1393
+ if (s("applyAlignment")) {
1354
1394
  let r = e.evaluate("alignment", t);
1355
- (r || l("applyAlignment")) && this.processAlignment(e, r, n);
1395
+ (r || c("applyAlignment")) && this.processAlignment(e, r, n);
1356
1396
  }
1357
- if (c("applyProtection")) {
1397
+ if (s("applyProtection")) {
1358
1398
  let r = e.evaluate("protection", t);
1359
- (r || l("applyProtection")) && this.processProtection(e, r, n);
1399
+ (r || c("applyProtection")) && this.processProtection(e, r, n);
1360
1400
  }
1361
- let d = v(t.getAttribute("quotePrefix") ?? "");
1362
- d && (n.quotePrefix = d);
1401
+ let u = C(t.getAttribute("quotePrefix") ?? "");
1402
+ u && (n.quotePrefix = u);
1363
1403
  }
1364
1404
  processAlignment(e, t, n) {
1365
1405
  let r = {};
1366
- if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = s.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = s.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, v(t?.getAttribute("wrapText") ?? "") ? r.overflow = s.Overflow.Wrap : r.overflow = s.Overflow.Visible, v(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = s.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1406
+ if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = d.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = d.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, C(t?.getAttribute("wrapText") ?? "") ? r.overflow = d.Overflow.Wrap : r.overflow = d.Overflow.Visible, C(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = d.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1367
1407
  let e = parseFloat(t.getAttribute("textRotation"));
1368
1408
  e > 0 && e <= 90 ? e = 360 - e : e > 90 && e <= 180 ? e -= 90 : e === 255 && (e = 0, r.stacked = !0), r.rotation = e;
1369
1409
  } else r.rotation = 0;
1370
- t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = v(t.getAttribute("justifyLastLine")));
1410
+ t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = C(t.getAttribute("justifyLastLine")));
1371
1411
  let i = t?.getAttribute("readingOrder");
1372
- return i && (i === "0" ? r.readingDirection = s.ReadingDirection.Auto : i === "1" ? r.readingDirection = s.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = s.ReadingDirection.RightToLeft : console.warn(`invalid readingOrder: ${i}`)), Object.keys(r).length > 0 && (n.alignment = r), n;
1412
+ return i && (i === "0" ? r.readingDirection = d.ReadingDirection.Auto : i === "1" ? r.readingDirection = d.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = d.ReadingDirection.RightToLeft : e.warn(`Invalid readingOrder '${i}'; the direction was left automatic.`, { onceKey: "xlsx.style.readingOrder" })), Object.keys(r).length > 0 && (n.alignment = r), n;
1413
+ }
1414
+ collectHiddenXfs(e) {
1415
+ let t = /* @__PURE__ */ new Set();
1416
+ if (!e) return t;
1417
+ let n = e.childNodes, r = 0;
1418
+ for (let e = 0; e < n.length; e++) {
1419
+ let i = n.item(e);
1420
+ if (i.nodeType !== 1 || i.localName !== "xf") continue;
1421
+ let a = i.childNodes;
1422
+ for (let e = 0; e < a.length; e++) {
1423
+ let n = a.item(e);
1424
+ n.nodeType === 1 && n.localName === "protection" && C(n.getAttribute("hidden") ?? "") && t.add(r);
1425
+ }
1426
+ r++;
1427
+ }
1428
+ return t;
1373
1429
  }
1374
1430
  processProtection(e, t, n) {
1375
1431
  if (!t) return;
1376
- let r = {}, i = t.getAttribute("locked");
1377
- i && !v(i) && (r.edit = !0);
1378
- let a = t.getAttribute("hidden");
1379
- return a && v(a) && (r.formulaHidden = !0), Object.keys(r).length > 0 && (n.protection = r), n;
1432
+ let r = t.getAttribute("locked");
1433
+ return n.protection = { alwaysUnlocked: !!r && !C(r) }, n;
1380
1434
  }
1381
1435
  processDXF(e, t, n) {
1382
1436
  if (!t) return;
@@ -1391,7 +1445,7 @@ var re = class {
1391
1445
  this.processFill(e, i, t, 0), t.length > 0 && t[0] && (n.fill = t[0]);
1392
1446
  } else if (i.nodeType === 1 && i.localName === "border") {
1393
1447
  let t = [];
1394
- this.processBorder(e, i, t, 0, !1), t.length > 0 && t[0] && (n.border = t[0]);
1448
+ this.processBorder(e, i, t, 0, !1), t.length > 0 && t[0] && (n.borders = t[0]);
1395
1449
  } else if (i.nodeType === 1 && i.localName === "numFmt") {
1396
1450
  let e = i.getAttribute("formatCode");
1397
1451
  if (e) n.numberFormat = e;
@@ -1421,15 +1475,15 @@ var re = class {
1421
1475
  }
1422
1476
  processTableStyle(e, t, n, r, i = !1) {
1423
1477
  let a = t.getAttribute("name"), o = { name: a };
1424
- t.hasAttribute("table") && (o.table = v(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = v(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1478
+ t.hasAttribute("table") && (o.table = C(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = C(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1425
1479
  let s = t.childNodes, c = s.length;
1426
- for (let e = 0; e < c; e++) {
1427
- let t = s.item(e);
1428
- if (t.nodeType === 1 && t.localName === "tableStyleElement") {
1429
- let e = t.getAttribute("type"), n = t.getAttribute("dxfId"), i = n == null ? void 0 : r?.[n];
1430
- i ||= (console.warn("invalid dfx id", n), {}), o[e] = i;
1431
- let a = null;
1432
- t.hasAttribute("size") && (a = parseInt(t.getAttribute("size"))), a && !isNaN(a) && (i.size = a);
1480
+ for (let t = 0; t < c; t++) {
1481
+ let n = s.item(t);
1482
+ if (n.nodeType === 1 && n.localName === "tableStyleElement") {
1483
+ let t = n.getAttribute("type"), i = n.getAttribute("dxfId"), a = i == null ? void 0 : r?.[i];
1484
+ a ||= (e.warn(`A table style names a format that does not exist (dxfId '${i}').`, { onceKey: "xlsx.style.tableStyle.dxf" }), {}), o[t] = a;
1485
+ let s = null;
1486
+ n.hasAttribute("size") && (s = parseInt(n.getAttribute("size"))), s && !isNaN(s) && (a.size = s);
1433
1487
  }
1434
1488
  }
1435
1489
  delete o.name, n[a] = o;
@@ -1449,28 +1503,28 @@ var re = class {
1449
1503
  }
1450
1504
  processCellStyles(e, t, n, r, i) {
1451
1505
  if (!t) return;
1452
- let o = t.childNodes, s = o.length;
1453
- for (let e = 0; e < s; e++) {
1454
- let t = o.item(e);
1506
+ let a = t.childNodes, o = a.length;
1507
+ for (let e = 0; e < o; e++) {
1508
+ let t = a.item(e);
1455
1509
  if (t.nodeType === 1 && t.localName === "cellStyle") {
1456
- let e = parseInt(t.getAttribute("xfId") ?? ""), o = t.getAttribute("name"), s = t.getAttribute("builtinId"), c = o;
1457
- if (s !== null) {
1458
- let e = a.builtInNameFromId(parseInt(s));
1459
- e !== void 0 && (c = e);
1510
+ let e = parseInt(t.getAttribute("xfId") ?? ""), a = t.getAttribute("name"), o = t.getAttribute("builtinId"), s = a;
1511
+ if (o !== null) {
1512
+ let e = f.builtInNameFromId(parseInt(o));
1513
+ e !== void 0 && (s = e);
1460
1514
  }
1461
- if (i.set(e, c), !r[e]) continue;
1462
- let l = {
1463
- name: c,
1515
+ if (i.set(e, s), !r[e]) continue;
1516
+ let c = {
1517
+ name: s,
1464
1518
  style: r[e]
1465
1519
  };
1466
- t.getAttribute("hidden") && (l.hidden = v(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(l);
1520
+ t.getAttribute("hidden") && (c.hidden = C(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (c.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(c);
1467
1521
  }
1468
1522
  }
1469
1523
  }
1470
1524
  afterVisit(e, t, n) {}
1471
- }, ke = class extends R {
1525
+ }, je = class extends B {
1472
1526
  visit(e, t, n) {
1473
- 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;
1527
+ return this.processSheetRefs(e, e.evaluate("sheets", t), n), this.processExternalReferences(e, e.evaluate("externalReferences", t), n), this.processBookViews(e, e.evaluate("bookViews", t), n), this.processDefinedNames(e, e.evaluate("definedNames", t), n), this.processCalcPr(e, e.evaluate("calcPr", t), n), this.processPivotCaches(e, e.evaluate("pivotCaches", t), n), this.processWorkbookProtection(e, e.evaluate("workbookProtection", t), n), this.processWorkbookPr(e, e.evaluate("workbookPr", t), n), n;
1474
1528
  }
1475
1529
  processPassword(e, t, n, r = "workbook", i = "password") {
1476
1530
  if (!t) return;
@@ -1480,12 +1534,16 @@ var re = class {
1480
1534
  processWorkbookProtection(e, t, n) {
1481
1535
  if (!t) return;
1482
1536
  let r = {};
1483
- 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;
1537
+ this.processPassword(e, t, r, "workbook", "password"), this.processPassword(e, t, r, "revisions", "revisionsPassword");
1538
+ for (let e of g) r[e.key] = h(e, t.getAttribute(e.attribute));
1539
+ return n.protection = r, n;
1484
1540
  }
1485
1541
  processCalcPr(e, t, n) {
1486
1542
  if (!t) return;
1487
1543
  let r = {};
1488
- e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => B[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;
1544
+ e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => ce[e] ?? null), e.copyFromAttribute(t, "fullCalcOnLoad", r, "fullCalcOnLoad", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcOnSave", r, "calcOnSave", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcCompleted", r, "calcCompleted", e.BOOLEAN_COPY), e.copyFromAttribute(t, "fullPrecision", r, "fullPrecision", e.BOOLEAN_COPY), e.copyFromAttribute(t, "forceFullCalc", r, "forceFullCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "concurrentCalc", r, "concurrentCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "refMode", r, "refMode"), e.copyFromAttribute(t, "iterate", r, "iterate", e.BOOLEAN_COPY), e.copyFromAttribute(t, "iterateCount", r, "maxIteration", e.INT_COPY), e.copyFromAttribute(t, "iterateDelta", r, "maxIterateChange", e.FLOAT_COPY);
1545
+ let i = t.getAttribute("calcId");
1546
+ i !== null && e.getVisitorParamsState().set("calcId", i), n.calc = r;
1489
1547
  }
1490
1548
  processSheetRefs(e, t, n) {
1491
1549
  if (!t) return;
@@ -1498,7 +1556,7 @@ var re = class {
1498
1556
  }
1499
1557
  processSheetRef(e, t, n) {
1500
1558
  let r = {};
1501
- e.copyFromAttribute(t, "name", r, "name"), e.copyFromAttribute(t, "state", r, "visibility");
1559
+ e.copyFromAttribute(t, "name", r, "name"), e.copyFromAttribute(t, "state", r, "visibility"), e.copyFromAttribute(t, "sheetId", r, "sheetId", e.INT_COPY);
1502
1560
  let i = t.getAttribute("r:id"), a = e.getRef(i);
1503
1561
  a && (r.sheet = a), n.push(r);
1504
1562
  }
@@ -1514,6 +1572,22 @@ var re = class {
1514
1572
  }
1515
1573
  r.length > 0 && (n.externalBooks = r);
1516
1574
  }
1575
+ processPivotCaches(e, t, n) {
1576
+ if (!t) return;
1577
+ let r = [], i = t.childNodes, a = i.length;
1578
+ for (let t = 0; t < a; t++) {
1579
+ let n = i.item(t);
1580
+ if (n.nodeType !== 1 || n.localName !== "pivotCache") continue;
1581
+ let a = parseInt(n.getAttribute("cacheId") ?? "", 10), o = n.getAttribute("r:id");
1582
+ if (isNaN(a) || !o) continue;
1583
+ let s = e.readEmbeddedPart(o);
1584
+ s && r.push({
1585
+ cacheId: a,
1586
+ part: s
1587
+ });
1588
+ }
1589
+ r.length > 0 && (n.pivotCaches = r);
1590
+ }
1517
1591
  processBookViews(e, t, n) {
1518
1592
  if (!t) return;
1519
1593
  let r = t.childNodes, i = 0, a = r.length;
@@ -1531,9 +1605,9 @@ var re = class {
1531
1605
  if (!t) return;
1532
1606
  let i = {}, a = t.firstChild;
1533
1607
  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")) {
1534
- let e = t.getAttribute("localSheetId");
1535
- if (!r[e]?.name) return void console.warn(`Defined name '${t.getAttribute("name")}' references a sheet with localSheetId '${e}' which does not exist.`);
1536
- i.scope = r[e].name;
1608
+ let n = t.getAttribute("localSheetId");
1609
+ if (!r[n]?.name) return void e.warn(`Defined name '${t.getAttribute("name")}' references a sheet with localSheetId '${n}' which does not exist.`);
1610
+ i.scope = r[n].name;
1537
1611
  }
1538
1612
  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);
1539
1613
  }
@@ -1547,13 +1621,13 @@ var re = class {
1547
1621
  r.length > 0 && (n.names = r);
1548
1622
  }
1549
1623
  processWorkbookPr(e, t, n) {
1550
- t && e.copyFromAttribute(t, "date1904", n, "date1904", e.BOOLEAN_COPY);
1624
+ t && (e.copyFromAttribute(t, "date1904", n, "date1904", e.BOOLEAN_COPY), e.copyFromAttribute(t, "codeName", n, "codeName"), e.copyFromAttribute(t, "updateLinks", n, "updateLinks"));
1551
1625
  }
1552
1626
  afterVisit(e, t, n) {}
1553
- }, Ae = class {
1627
+ }, Me = class {
1554
1628
  visit(e, t, n) {
1555
1629
  let r = {};
1556
- 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;
1630
+ return e.copyFromAttribute(t, "ref", n, "r"), e.getVisitorParamsState().set("ref", n.r), n.v = r, e.copyFromAttribute(t, "name", r), e.copyFromAttribute(t, "displayName", r), e.copyFromAttribute(t, "headerRowCount", r, "headerRowCount", e.INT_COPY), e.copyFromAttribute(t, "totalsRowCount", r, "totalsRowCount", e.INT_COPY), this.processTableColumns(e, t, r), this.processTableStyleInfo(e, t, r), e.copyFromAttribute(t, "id", r), e.copyFromAttribute(t, "comment", r, "description"), e.copyFromAttribute(t, "connectionId", r, "connectionId", e.INT_COPY), e.copyFromAttribute(t, "tableType", r), e.copyFromAttribute(t, "published", r, "published", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRow", r, "insertRow", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRowShift", r, "insertRowShift", e.BOOLEAN_COPY), r.totalsRowShown = t.getAttribute("totalsRowShown") !== "0", r;
1557
1631
  }
1558
1632
  afterVisit(e, t, n) {
1559
1633
  let r = n.v;
@@ -1587,7 +1661,9 @@ var re = class {
1587
1661
  let n = e.evaluate("totalsRowFormula", i);
1588
1662
  n && (t.totalsRowFormula = n.textContent);
1589
1663
  } else t.totalsRowFormula = r;
1590
- e.copyFromAttribute(i, "totalsRowLabel", t), n.push(t);
1664
+ e.copyFromAttribute(i, "totalsRowLabel", t);
1665
+ let a = e.evaluate("calculatedColumnFormula", i);
1666
+ a?.textContent && (t.calculatedColumnFormula = a.textContent), n.push(t);
1591
1667
  }
1592
1668
  }
1593
1669
  return n;
@@ -1600,7 +1676,7 @@ var re = class {
1600
1676
  }
1601
1677
  i.length > 0 && (n.columns = i);
1602
1678
  }
1603
- }, je = class {
1679
+ }, Ne = class {
1604
1680
  visit(e, t, n) {
1605
1681
  let r = e.getVisitorParamsState().get("ref");
1606
1682
  if (r) {
@@ -1609,7 +1685,7 @@ var re = class {
1609
1685
  }
1610
1686
  return e.copyFromAttribute(t, "altText", n), e.copyFromAttribute(t, "altTextSummary", n), n;
1611
1687
  }
1612
- }, Me = class {
1688
+ }, Pe = class {
1613
1689
  visit(e, t, n) {
1614
1690
  let r = t.childNodes, i = r.length, a = null;
1615
1691
  for (let e = 0; e < i; e++) {
@@ -1619,7 +1695,12 @@ var re = class {
1619
1695
  break;
1620
1696
  }
1621
1697
  }
1622
- 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;
1698
+ if (!a) return n;
1699
+ t.getAttribute("mc:Ignorable") && (n.mceIgnorable = !0);
1700
+ let o = a.getAttribute("r:id");
1701
+ o && (n.__bookRelId = o);
1702
+ let s = this._findAbsoluteUrlRelId(a);
1703
+ return s && (n.__absoluteUrlRelId = s), n.sheetNames = [], this.processSheetNames(e, a, n), this.processDefinedNames(e, a, n), this.processSheetDataSet(e, a, n), n;
1623
1704
  }
1624
1705
  processSheetNames(e, t, n) {
1625
1706
  let r = this._findChild(t, "sheetNames");
@@ -1662,7 +1743,7 @@ var re = class {
1662
1743
  i.length > 0 && (n.sheetDataSet = i);
1663
1744
  }
1664
1745
  processSheetData(e, t) {
1665
- let n = new l.Builder(), r = t.childNodes, i = r.length;
1746
+ let n = new c.Builder(), r = t.childNodes, i = r.length;
1666
1747
  for (let e = 0; e < i; e++) {
1667
1748
  let t = r.item(e);
1668
1749
  if (t.nodeType !== 1 || t.localName !== "row") continue;
@@ -1672,7 +1753,7 @@ var re = class {
1672
1753
  if (t.nodeType !== 1 || t.localName !== "cell") continue;
1673
1754
  let r = t.getAttribute("r");
1674
1755
  if (!r) continue;
1675
- let a = u.fastStringToCell(r);
1756
+ let a = l.fastStringToCell(r);
1676
1757
  if (a?.rowIndex === void 0 || a?.colIndex === void 0) continue;
1677
1758
  let o = this._readCellValue(t);
1678
1759
  o !== void 0 && n.pushAt(a.rowIndex, a.colIndex, o);
@@ -1708,13 +1789,17 @@ var re = class {
1708
1789
  }
1709
1790
  return null;
1710
1791
  }
1711
- }, Ne = class {
1792
+ _findAbsoluteUrlRelId(e) {
1793
+ let t = this._findChild(e, "alternateUrls");
1794
+ return t ? this._findChild(t, "absoluteUrl")?.getAttribute("r:id") ?? null : null;
1795
+ }
1796
+ }, Fe = class {
1712
1797
  visit(e, t, n) {
1713
1798
  e.copyFromAttribute(t, "name", n), e.copyFromAttribute(t, "sourceName", n);
1714
1799
  let r = e.evaluate("*/tableSlicerCache", t);
1715
- 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);
1800
+ return r ? (e.copyFromAttribute(r, "tableId", n), e.copyFromAttribute(r, "column", n, "columnId"), e.copyFromAttribute(r, "crossFilter", n), n) : (e.warn("A slicer names no table; it was not imported.", { onceKey: "xlsx.slicer.cacheDefinition" }), n);
1716
1801
  }
1717
- }, Pe = class {
1802
+ }, Ie = class {
1718
1803
  visit(e, t, n) {
1719
1804
  let r = n.slicers;
1720
1805
  r || (r = {}, n.slicers = r);
@@ -1736,7 +1821,7 @@ var re = class {
1736
1821
  }
1737
1822
  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);
1738
1823
  }
1739
- }, Fe = class {
1824
+ }, Le = class {
1740
1825
  visit(e, t, n) {
1741
1826
  return n;
1742
1827
  }
@@ -1752,7 +1837,7 @@ var re = class {
1752
1837
  x: 0,
1753
1838
  y: 0
1754
1839
  };
1755
- return o.x = _(t.getAttribute(i)), o.y = _(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1840
+ return o.x = y(t.getAttribute(i)), o.y = y(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1756
1841
  }
1757
1842
  processOffsetCoord(e, t, n, r) {
1758
1843
  if (!t) return;
@@ -1762,9 +1847,9 @@ var re = class {
1762
1847
  x: 0,
1763
1848
  y: 0
1764
1849
  };
1765
- 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 = _(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = _(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1850
+ 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 = y(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = y(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1766
1851
  }
1767
- }, Ie = class extends V {
1852
+ }, Re = class extends H {
1768
1853
  visit(e, t, n) {
1769
1854
  if (!t) return;
1770
1855
  n = super.visit(e, t, n);
@@ -1790,25 +1875,20 @@ var re = class {
1790
1875
  if (n === "chart" && a) {
1791
1876
  let n = e.evaluate("*/cNvPr", t);
1792
1877
  n?.item && (n = n.item(0));
1793
- let r, o = n?.getAttribute?.("id"), s = o ? parseInt(o, 10) : void 0, c = e.getRelationships().get(a);
1794
- if (c?.target) {
1795
- let t = e.getFileLocation(), n = t.slice(0, t.lastIndexOf("/") + 1);
1796
- r = ne(c.target.startsWith("/") ? c.target : n + c.target);
1797
- }
1878
+ let r = n?.getAttribute?.("id"), o = r ? parseInt(r, 10) : void 0;
1798
1879
  i.json = {
1799
1880
  xml: e.serializeElement(t) ?? void 0,
1800
- sourceId: s === void 0 || isNaN(s) ? void 0 : s,
1801
- chartRelId: a,
1802
- chartTargetPath: r
1881
+ sourceId: o === void 0 || isNaN(o) ? void 0 : o,
1882
+ part: e.readEmbeddedPart(a) ?? void 0
1803
1883
  };
1804
1884
  } else a && (i.json = e.getRef(a));
1805
- } catch (e) {
1806
- console.warn("Unable to parse graphicFrame", e);
1885
+ } catch (t) {
1886
+ e.warn(`Unable to read a graphic frame: ${t?.message ?? t}`, { onceKey: "xlsx.drawing.graphicFrame" });
1807
1887
  }
1808
1888
  }
1809
1889
  return i && (n.content = i), i;
1810
1890
  }
1811
- }, Le = H, Re = class extends V {
1891
+ }, ze = U, Be = class extends H {
1812
1892
  visit(e, t, n) {
1813
1893
  if (!t) return;
1814
1894
  let r = super.visit(e, t, n), i = e.evaluate("nvPicPr/cNvPicPr", t);
@@ -1824,7 +1904,7 @@ var re = class {
1824
1904
  let a, o = e.evaluate("blipFill/blip", t);
1825
1905
  if (o) {
1826
1906
  let t;
1827
- 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);
1907
+ if (t = o.getAttribute("r:embed") ?? o.getAttribute("embed"), t ||= o.getAttribute("r:link") ?? o.getAttribute("link"), !t) return void e.warn("A picture names no image; it was not imported.", { onceKey: "xlsx.drawing.picture.noRel" });
1828
1908
  a = e.getRef(t, !0);
1829
1909
  }
1830
1910
  return n.content = {
@@ -1832,7 +1912,7 @@ var re = class {
1832
1912
  json: { resId: a }
1833
1913
  }, r;
1834
1914
  }
1835
- }, ze = class extends H {
1915
+ }, Ve = class extends U {
1836
1916
  visit(e, t, n) {
1837
1917
  if (!t) return;
1838
1918
  n = super.visit(e, t, n);
@@ -1852,7 +1932,7 @@ var re = class {
1852
1932
  json: i
1853
1933
  }, i;
1854
1934
  }
1855
- }, Be = class extends H {
1935
+ }, $ = class extends U {
1856
1936
  visit(e, t, n) {
1857
1937
  if (!t) return;
1858
1938
  n = super.visit(e, t, n);
@@ -1865,7 +1945,6 @@ var re = class {
1865
1945
  Object.keys(e).length > 0 && (n.locks = e);
1866
1946
  }
1867
1947
  }
1868
- e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);
1869
1948
  let i = e.evaluate("*/cNvPr", t);
1870
1949
  i?.item && (i = i.item(0));
1871
1950
  let a = i?.getAttribute?.("id"), o = a ? parseInt(a, 10) : void 0, s = {
@@ -1878,7 +1957,7 @@ var re = class {
1878
1957
  json: s
1879
1958
  }, s;
1880
1959
  }
1881
- }, Ve = class {
1960
+ }, He = class {
1882
1961
  visit(e, t, n) {
1883
1962
  let r = [], i = /* @__PURE__ */ new Map(), a = {
1884
1963
  cells: [],
@@ -1985,10 +2064,10 @@ var re = class {
1985
2064
  }
1986
2065
  return n;
1987
2066
  }
1988
- }, $ = class {
2067
+ }, Ue = class {
1989
2068
  visit(e, t, n) {
1990
- let r = e.getVisitorParamsState().get(U);
1991
- r || (r = [], e.getVisitorParamsState().set(U, r));
2069
+ let r = e.getVisitorParamsState().get(W);
2070
+ r || (r = [], e.getVisitorParamsState().set(W, r));
1992
2071
  let i = t.childNodes, a = i.length;
1993
2072
  for (let t = 0; t < a; t++) {
1994
2073
  let n = i.item(t);
@@ -2012,12 +2091,12 @@ var re = class {
2012
2091
  }
2013
2092
  }
2014
2093
  }
2015
- }, He = class {
2094
+ }, We = class {
2016
2095
  visit(e, t, n) {
2017
2096
  let r = e.getVisitorParamsState().get("richTypes");
2018
2097
  if (!r) return void e.warn("RichValueFound but not type.");
2019
- let i = e.getVisitorParamsState().get(W);
2020
- i || (i = [], e.getVisitorParamsState().set(W, i));
2098
+ let i = e.getVisitorParamsState().get(G);
2099
+ i || (i = [], e.getVisitorParamsState().set(G, i));
2021
2100
  let a = t.childNodes, o = a.length;
2022
2101
  for (let t = 0; t < o; t++) {
2023
2102
  let n = a.item(t);
@@ -2053,7 +2132,7 @@ var re = class {
2053
2132
  }
2054
2133
  }
2055
2134
  }
2056
- }, Ue = class {
2135
+ }, Ge = class {
2057
2136
  visit(e, t, n) {
2058
2137
  if (!t) return;
2059
2138
  let r = [];
@@ -2072,72 +2151,92 @@ var re = class {
2072
2151
  }
2073
2152
  }
2074
2153
  }
2075
- }, We = class {
2154
+ }, Ke = class {
2076
2155
  visit(e, t, n) {
2077
2156
  if (!t) return;
2078
- let r = {}, i = t.getAttribute("ref");
2079
- e.copyFromAttribute(t, "authorId", r, "personId", e.INT_COPY), r.asNote = !0;
2080
- let a = {
2081
- r: i,
2082
- v: r
2083
- };
2084
- return n.push(a), r;
2157
+ let r = t.getAttribute("ref");
2158
+ if (!r) return;
2159
+ let i = { content: "" };
2160
+ if (t.hasAttribute("authorId")) {
2161
+ let e = parseInt(t.getAttribute("authorId"), 10);
2162
+ isNaN(e) || (i.authorId = e);
2163
+ }
2164
+ return i.content = function(e) {
2165
+ if (!e) return "";
2166
+ let t = [], n = !0, r = e.childNodes;
2167
+ for (let e = 0; e < r.length; e++) {
2168
+ let i = r.item(e);
2169
+ if (i.nodeType === 1) {
2170
+ if (i.localName === "t") t.push({ text: i.textContent ?? "" });
2171
+ else if (i.localName === "r") {
2172
+ let e = { text: "" }, r = i.childNodes;
2173
+ for (let t = 0; t < r.length; t++) {
2174
+ let n = r.item(t);
2175
+ n.nodeType === 1 && (n.localName === "t" ? e.text += n.textContent ?? "" : n.localName === "rPr" && le(n, e));
2176
+ }
2177
+ Object.keys(e).length > 1 && (n = !1), t.push(e);
2178
+ }
2179
+ }
2180
+ }
2181
+ return t.length === 0 ? e.textContent ?? "" : n ? t.map((e) => e.text).join("") : { runs: t };
2182
+ }(e.evaluate("text", t)), n.push({
2183
+ r,
2184
+ v: i
2185
+ }), i;
2085
2186
  }
2086
- }, Ge = class {
2187
+ }, qe = class {
2087
2188
  visit(e, t, n) {
2088
2189
  if (!t) return;
2089
2190
  let r = [];
2090
2191
  return n.comments = r, r;
2091
2192
  }
2092
- }, Ke = class {
2193
+ }, Je = class {
2093
2194
  visit(e, t, n) {
2094
2195
  if (!t) return;
2095
2196
  let r = {};
2096
- e.copyFromAttribute(t, "id", r, "id", h);
2197
+ e.copyFromAttribute(t, "id", r, "id", _);
2097
2198
  let i = t.getAttribute("ref");
2098
- e.copyFromAttribute(t, "personId", r, "personId", h), e.copyFromAttribute(t, "parentId", r, "parentId", h), e.copyFromAttribute(t, "dT", r), t.hasAttribute("done") && (r.done = v(t.getAttribute("done")));
2099
- let a = {
2199
+ return e.copyFromAttribute(t, "personId", r, "personId", _), e.copyFromAttribute(t, "parentId", r, "parentId", _), e.copyFromAttribute(t, "dT", r, "dt"), t.hasAttribute("done") && (r.done = C(t.getAttribute("done"))), n.push({
2100
2200
  r: i,
2101
2201
  v: r
2102
- };
2103
- return n.push(a), r;
2202
+ }), r;
2104
2203
  }
2105
- }, qe = class {
2204
+ }, Ye = class {
2106
2205
  visit(e, t, n) {
2107
2206
  let r = [], i = t.childNodes, a = i.length;
2108
2207
  for (let t = 0; t < a; t++) {
2109
2208
  let n = i.item(t);
2110
2209
  if (n.nodeType === 1 && n.localName === "person") {
2111
2210
  let t = {};
2112
- e.copyFromAttribute(n, "id", t, "id", h), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", h), e.copyFromAttribute(n, "providerId", t), r.push(t);
2211
+ e.copyFromAttribute(n, "id", t, "id", _), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", _), e.copyFromAttribute(n, "providerId", t), r.push(t);
2113
2212
  }
2114
2213
  }
2115
2214
  return r.length > 0 && (n.persons = r), r;
2116
2215
  }
2117
- }, Je = class {
2216
+ }, Xe = class {
2118
2217
  constructor(e, t) {
2119
2218
  this.path = e, this.visitor = t;
2120
2219
  }
2121
- }, Ye = class {
2220
+ }, Ze = class {
2122
2221
  constructor() {
2123
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new G()), this.registerVisitor("cp:coreProperties", new le()), this.registerVisitor("Properties", new ue()), this.registerVisitor("spPr", new pe()), this.registerVisitor("txBody", new Y()), this.registerVisitor("txPr", new Y()), this.registerVisitor("c:chartSpace", new de()), this.registerVisitor("c:plotArea", new fe()), this.registerVisitor("c:barChart", new me()), this.registerVisitor("c:doughnutChart", new K()), this.registerVisitor("c:lineChart", new K()), this.registerVisitor("c:ofPieType", new K()), this.registerVisitor("c:pieChart", new K()), this.registerVisitor("c:scatterChart", new K()), this.registerVisitor("c:barChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new q("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new he()), this.registerVisitor("c:dPt", new ge()), this.registerVisitor("c:marker", new _e()), this.registerVisitor("c:catAx", new J()), this.registerVisitor("c:valAx", new J()), this.registerVisitor("c:dateAx", new J()), this.registerVisitor("c:majorGridlines", new M("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new M("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:valAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:legend", new ye()), this.registerVisitor("c:legend", new Y("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ve()), this.registerVisitor("c:ser", new be(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new q("labels"), "dLbls"), this.registerVisitor("c:dLbl", new q("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 xe()), this.registerVisitor("c:dispUnits", new M("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new Y(), "tx/rich"), this.registerVisitor("a:theme", new Se()), this.registerVisitor("a:theme", new Ce(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new we(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new Te(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new De()), this.registerVisitor("sortState", new Oe()), this.registerVisitor("s:workbook", new ke()), this.registerVisitor("styleSheet", new Z()), this.registerVisitor("x14:table", new je()), this.registerVisitor("table", new Ae()), this.registerVisitor("externalLink", new Me()), this.registerVisitor("hlinkClick", new Ee()), this.registerVisitor("wsDr", new Fe()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Ie()), this.registerVisitor("sp", new Le()), this.registerVisitor("grpSp", new ze()), this.registerVisitor("cxnSp", new Be()), this.registerVisitor("pic", new Re()), this.registerVisitor("metadata", new Ve()), this.registerVisitor("rvStructures", new $()), this.registerVisitor("rvData", new He()), this.registerVisitor("comments", new Ue()), this.registerVisitor("comment", new We()), this.registerVisitor("comment", new Y("content"), "text"), this.registerVisitor("ThreadedComments", new Ge()), this.registerVisitor("threadedComment", new Ke()), this.registerVisitor("threadedComment", new Y("content"), "text"), this.registerVisitor("personList", new qe()), this.registerVisitor("slicerCacheDefinition", new Ne()), this.registerVisitor("slicers", new Pe());
2222
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ue()), this.registerVisitor("cp:coreProperties", new de()), this.registerVisitor("Properties", new fe()), this.registerVisitor("spPr", new he()), this.registerVisitor("txBody", new Y()), this.registerVisitor("txPr", new Y()), this.registerVisitor("c:chartSpace", new pe()), this.registerVisitor("c:plotArea", new me()), this.registerVisitor("c:barChart", new ge()), this.registerVisitor("c:doughnutChart", new K()), this.registerVisitor("c:lineChart", new K()), this.registerVisitor("c:ofPieType", new K()), this.registerVisitor("c:pieChart", new K()), this.registerVisitor("c:scatterChart", new K()), this.registerVisitor("c:barChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new q("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new _e()), this.registerVisitor("c:dPt", new ve()), this.registerVisitor("c:marker", new ye()), this.registerVisitor("c:catAx", new J()), this.registerVisitor("c:valAx", new J()), this.registerVisitor("c:dateAx", new J()), this.registerVisitor("c:majorGridlines", new P("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new P("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:valAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:legend", new xe()), this.registerVisitor("c:legend", new Y("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new be()), this.registerVisitor("c:ser", new Se(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new q("labels"), "dLbls"), this.registerVisitor("c:dLbl", new q("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 Ce()), this.registerVisitor("c:dispUnits", new P("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new Y(), "tx/rich"), this.registerVisitor("a:theme", new we()), this.registerVisitor("a:theme", new Te(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new Ee(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new De(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new ke()), this.registerVisitor("sortState", new Ae()), this.registerVisitor("s:workbook", new je()), this.registerVisitor("styleSheet", new Z()), this.registerVisitor("x14:table", new Ne()), this.registerVisitor("table", new Me()), this.registerVisitor("externalLink", new Pe()), this.registerVisitor("hlinkClick", new Oe()), this.registerVisitor("wsDr", new Le()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Re()), this.registerVisitor("sp", new ze()), this.registerVisitor("grpSp", new Ve()), this.registerVisitor("cxnSp", new $()), this.registerVisitor("pic", new Be()), this.registerVisitor("metadata", new He()), this.registerVisitor("rvStructures", new Ue()), this.registerVisitor("rvData", new We()), this.registerVisitor("comments", new Ge()), this.registerVisitor("comment", new Ke()), this.registerVisitor("ThreadedComments", new qe()), this.registerVisitor("threadedComment", new Je()), this.registerVisitor("threadedComment", new Y("content"), "text"), this.registerVisitor("personList", new Ye()), this.registerVisitor("slicerCacheDefinition", new Fe()), this.registerVisitor("slicers", new Ie());
2124
2223
  }
2125
2224
  registerVisitor(e, t, n = null) {
2126
2225
  e.indexOf(":") === -1 && (e = "*:" + e);
2127
2226
  let r = e.split(":"), i = r.length > 1 ? r[1] : r[0];
2128
2227
  if (!n) return this.visitorsByXmlTagName.set(i, t), void this.visitorsByXmlTagName.set(e, t);
2129
2228
  let a = this.scopedVisitorsByXmlTagName.get(i);
2130
- a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Je(n, t));
2229
+ a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Xe(n, t));
2131
2230
  }
2132
- parseDxf(e, t = "") {
2231
+ parseDxf(t, n = "", r = e.EmptyObject) {
2133
2232
  this.visitorParamsState ||= /* @__PURE__ */ new Map();
2134
- let n = this.visitorParamsState, r = n.get("processingDXFs");
2135
- n.set("processingDXFs", !0);
2233
+ let i = this.visitorParamsState, a = i.get("processingDXFs");
2234
+ i.set("processingDXFs", !0);
2136
2235
  try {
2137
- let n = new C(null, this, "/dxf", e, {}, t), r = {};
2138
- return new Z().processDXF(n, e, r), r;
2236
+ let e = new w(null, this, "/dxf", t, {}, n, r), i = {};
2237
+ return new Z().processDXF(e, t, i), i;
2139
2238
  } finally {
2140
- r === void 0 ? n.delete("processingDXFs") : n.set("processingDXFs", r);
2239
+ a === void 0 ? i.delete("processingDXFs") : i.set("processingDXFs", a);
2141
2240
  }
2142
2241
  }
2143
2242
  getVisitorParamsState() {
@@ -2148,7 +2247,7 @@ var re = class {
2148
2247
  this.visitorParamsState && !r?.paramMap || (this.visitorParamsState = r?.paramMap ?? /* @__PURE__ */ new Map());
2149
2248
  let a = {}, o = this.visitorsByXmlTagName.get(i.nodeName);
2150
2249
  if (o ||= this.visitorsByXmlTagName.get(i.localName), !o) throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);
2151
- let s = "/" + i.localName, c = new C(null, this, s, i, a, n, r), l = [];
2250
+ let s = "/" + i.localName, c = new w(null, this, s, i, a, n, r), l = [];
2152
2251
  this._doWalk(o, c, l, i, a, n, r);
2153
2252
  let u = l.length;
2154
2253
  for (let e = 0; e < u; e++) {
@@ -2156,7 +2255,7 @@ var re = class {
2156
2255
  try {
2157
2256
  t.visitor?.afterVisit?.(t.context, t.elemParent, t.jsonParent);
2158
2257
  } catch (e) {
2159
- console.warn(`Error in afterVisit: ${t.context.getPath()}`, e);
2258
+ t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message ?? e}`, { onceKey: "xlsx.transform.afterVisit" });
2160
2259
  }
2161
2260
  }
2162
2261
  return a;
@@ -2168,7 +2267,7 @@ var re = class {
2168
2267
  try {
2169
2268
  u = t.evaluate(c.path, r);
2170
2269
  } catch {
2171
- console.warn(`"Invalid path '${c.path}' for '${e}'.`);
2270
+ t.warn(`Invalid path '${c.path}' for '${e}'.`, { onceKey: "xlsx.transform.invalidPath" });
2172
2271
  }
2173
2272
  if (!u) continue;
2174
2273
  let d = (e) => {
@@ -2176,7 +2275,7 @@ var re = class {
2176
2275
  for (; l && l !== r;) s = l.localName + "/" + s, l = l.parentNode;
2177
2276
  let u = t.getPath() + "/" + s;
2178
2277
  if (c.visitor) {
2179
- let r = new C(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2278
+ let r = new w(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2180
2279
  this._doWalk(c.visitor, r, n, e, i, a, o);
2181
2280
  }
2182
2281
  };
@@ -2202,10 +2301,10 @@ var re = class {
2202
2301
  if (r.nodeType !== 1) continue;
2203
2302
  let c = r, p = c.nodeName, m = l.get(p);
2204
2303
  m ||= (p = c.localName, l.get(p));
2205
- let h = t.getPath() + "/" + p, g = new C(t, this, h, u, d, a, o);
2304
+ let h = t.getPath() + "/" + p, g = new w(t, this, h, u, d, a, o);
2206
2305
  this._doWalk(m, g, n, c, s ?? i, a, o);
2207
2306
  }
2208
2307
  return s;
2209
2308
  }
2210
2309
  };
2211
- export { Ye as DOMTransformer, C as ExecutionContext, te as NumberUtils, oe as VisitorUtils };
2310
+ export { Ze as DOMTransformer, w as ExecutionContext, ee as NumberUtils, T as VisitorUtils };