@sheetxl/studio-vanilla 0.8.0-beta.10 → 0.8.0-beta.12

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 (484) hide show
  1. package/browser/esm/-uhPvS_bULnsjqVB.mjs +42 -0
  2. package/{cdn/assets/CBdNC7BOfc5TewHU.js → browser/esm/0YsENrFzj1ssAX9X.mjs} +1 -1
  3. package/browser/esm/{UTZcodQydbuMfCOS.mjs → 1wWPvtsW8DO6CafH.mjs} +1 -1
  4. package/{cdn/assets/BWo1N4YbK_zGU0nu.js → browser/esm/2FB6h8pTc_l_B6QZ.mjs} +1 -1
  5. package/browser/esm/{ClJvUf8aR8vNC_3Z.mjs → 30UYToote05ZLTtr.mjs} +3 -3
  6. package/browser/esm/{CnWNviK4qlX2GVl6.mjs → 41b1AdCV6QfkOX6l.mjs} +12 -13
  7. package/browser/esm/{BBjgqNlHm-ssbSAG.mjs → 4HrBEVQGdmXVxVf1.mjs} +1 -1
  8. package/browser/esm/{pKc_RPdZPLAgvNDh.mjs → 7eHYbjATYWtDW-AI.mjs} +2 -2
  9. package/browser/esm/{DNCqTF9EbT-U1TdV.mjs → A3koQh6ZccdaHPzY.mjs} +3 -3
  10. package/browser/esm/{BThOwSja2ra4xejQ.mjs → B1mhVM8eRIyuL-VB.mjs} +1587 -1456
  11. package/browser/esm/{rY-dC3WB558TIbum.mjs → B34vCv1wwb2Fh4ml.mjs} +4 -4
  12. package/browser/esm/{_MPToH4oMe4rhTdZ.mjs → B4UdS-Kh0oOnw3V5.mjs} +3 -3
  13. package/browser/esm/{CCd192S7yVpc6iOe.mjs → B5sj4wVSU_Gnsoij.mjs} +17 -16
  14. package/{cdn/assets/BAH_cWcQEIBKWnl6.js → browser/esm/B8-nLKLPjZ7pIJdE.mjs} +48 -37
  15. package/browser/esm/{BVJUL2HhoedhbwVy.mjs → B8yozzawr3e-MiZS.mjs} +12 -11
  16. package/browser/esm/BCB8nt_33nVNFVTT.mjs +199 -0
  17. package/browser/esm/BFHtja51jzj6fA8G.mjs +193 -0
  18. package/browser/esm/{C5EKgE9Owsc_juw-.mjs → BFNrFZtdVve-yU4e.mjs} +1 -1
  19. package/browser/esm/{ZbGPiRN9j0629JJQ.mjs → BFlPNsdaR2vXjM1-.mjs} +2 -2
  20. package/browser/esm/{PtGiIWFBYP-ujLmf.mjs → BFp4JZFwKkq3wPHv.mjs} +1 -1
  21. package/browser/esm/{kVBPUUnVyZfb8pf3.mjs → BGr-y2dCzvyaUCy_.mjs} +41 -41
  22. package/{cdn/assets/_t0Mx-mUFVtmVNkU.js → browser/esm/BHy_akSib7chMKWg.mjs} +1 -1
  23. package/browser/esm/BIX8xNwuEM4TocmY.mjs +131 -0
  24. package/browser/esm/{ByUcqyCNfqi5Mm7w.mjs → BJjL3rPHHyI2VT5N.mjs} +1 -1
  25. package/browser/esm/{sDVzjXC1mS5rucF5.mjs → BKXXOCxg9jVDeZfx.mjs} +639 -758
  26. package/browser/esm/{DxwprgjYhcmfDbXH.mjs → BNXqFlCmhhuJanX6.mjs} +19 -19
  27. package/browser/esm/BPNL7vh8nmg0q7RW.mjs +281 -0
  28. package/browser/esm/BSdjvRtT06k7pqHv.mjs +422 -0
  29. package/browser/esm/{FO1Jezau486fH4kN.mjs → BSzeqNbK-wYbCwiv.mjs} +1 -1
  30. package/browser/esm/{DLhK_oSGg71ry6-m.mjs → BVHz28PPZYw-4V5f.mjs} +45 -45
  31. package/{cdn/assets/CwqRA5h1u92Cyit-.js → browser/esm/BVV0zPpEupxaFfVv.mjs} +2 -2
  32. package/browser/esm/{DG3BfxRsbjey-B7E.mjs → BXiTuaDcF2kDzTB0.mjs} +2 -2
  33. package/browser/esm/{B7iV5qzlmJlM2nQv.mjs → BZWVm5Tz9V78n97U.mjs} +2 -2
  34. package/browser/esm/{BMlPFJ1glExv-70Z.mjs → BZbqsj8CH_yl3myW.mjs} +1 -1
  35. package/browser/esm/{x6GcENwqoUVbd60j.mjs → B_oYpGQQp9ELbGXT.mjs} +1 -1
  36. package/browser/esm/BdK6G62ymmr00Ghb.mjs +104 -0
  37. package/browser/esm/Bdqs1vuxUIzfBU03.mjs +101 -0
  38. package/browser/esm/{vGKTE7yjY8y-XnsW.mjs → Bfefutdeq9eAruVm.mjs} +2 -2
  39. package/browser/esm/{Dwxz0s23ra1tRtsH.mjs → BikqeuAc1ownJULP.mjs} +3 -2
  40. package/{cdn/assets/BSCja5yvevmKZPBB.js → browser/esm/Bj-ggr3Qgt0J39xx.mjs} +1 -1
  41. package/browser/esm/Bkg2ukKnA4m4qbgG.mjs +181 -0
  42. package/browser/esm/BmmbYyO6_Vr_L5NJ.mjs +9990 -0
  43. package/browser/esm/{CaS8_J5HfBRk5_Nw.mjs → Bn-CqbXsrYIajb_W.mjs} +33 -33
  44. package/{cdn/assets/DxcRLd7wmBGDgJsA.js → browser/esm/BoFEETlY0hZb0PRp.mjs} +1 -1
  45. package/browser/esm/{D2aQPiGg0ZoMYzuf.mjs → BoYTs2k2yWAKW5LM.mjs} +5 -5
  46. package/browser/esm/BqPEItNoP2iZ2lkz.mjs +163 -0
  47. package/browser/esm/Bs9KvD8n3018Rkew.mjs +281 -0
  48. package/browser/esm/Bsy5EeZ_mwI_CkSO.mjs +86 -0
  49. package/browser/esm/{_zRV52yhE4gPf3XI.mjs → BuQYmB0EDLYZ7vEk.mjs} +46 -46
  50. package/{cdn/assets/gpQ4FdJMbIScKnS_.js → browser/esm/BukdAMyKW6rq3Unk.mjs} +8 -8
  51. package/browser/esm/BvcoyRz135FDHoTf.mjs +392 -0
  52. package/browser/esm/{BRfat1fV3oGLwvin.mjs → Bw4fe7a608CgkbOH.mjs} +13 -13
  53. package/browser/esm/{Dy44qJVkwNseMG-3.mjs → BxE8BJ1tb5HybBNO.mjs} +1 -1
  54. package/{cdn/assets/DfESVLC8CAi8m8A7.js → browser/esm/BxIfM-Ty_Y8PvQFM.mjs} +1 -1
  55. package/{cdn/assets/DWgp4t9N9u0eWthH.js → browser/esm/ByREbsIyjgFePvoo.mjs} +1 -1
  56. package/browser/esm/{ZxsFYopF0_WWqw4Q.mjs → Bz4k83C83NmszjPX.mjs} +1 -1
  57. package/browser/esm/C07dijMoobBfewot.mjs +298 -0
  58. package/browser/esm/{Bi5-feQLtwpV6Ai8.mjs → C1KeUfpnO7aNynxZ.mjs} +5 -5
  59. package/browser/esm/{DAprxR00V9qvNLL2.mjs → C1utJcalKxjNT3Gr.mjs} +1944 -1812
  60. package/browser/esm/{djM9mJznx8GzVq51.mjs → C6SaFrr0KAAAdu5x.mjs} +14 -14
  61. package/browser/esm/{CSEMxasVyGCekxKf.mjs → C6axT8aFQqaiuRgS.mjs} +1 -1
  62. package/browser/esm/{BeMLfv6hWo15VCIL.mjs → C8daZgnuV1jUOiO9.mjs} +52 -52
  63. package/browser/esm/{BaEZmurTZnX_yfKD.mjs → CADJznHV1GZ-1Cy0.mjs} +341 -386
  64. package/browser/esm/{BlPn_DXaEXOPxMxC.mjs → CAFDldpwa2ZDlh3u.mjs} +1 -1
  65. package/browser/esm/CAIREtREYTvydXO6.mjs +30 -0
  66. package/browser/esm/{mZ92wNrHVpYdli1U.mjs → CAQSV7_d1zCSeBZC.mjs} +20 -20
  67. package/browser/esm/CASTsylgIqgqFwk2.mjs +1443 -0
  68. package/browser/esm/{DoS1sE431fEhdOQb.mjs → CCdxM0LTBnAIrkEU.mjs} +4 -4
  69. package/browser/esm/CDreRSyWs9eXZR9O.mjs +23468 -0
  70. package/browser/esm/CE8E_UvKufBd3-Vt.mjs +569 -0
  71. package/browser/esm/CEIE_OT8nrKGkqjg.mjs +1390 -0
  72. package/browser/esm/CEvmiZ2C2QopD1yx.mjs +322 -0
  73. package/browser/esm/{CDsuiN--qdALFyql.mjs → CFqf8Tjk5MUKtniB.mjs} +2 -2
  74. package/{cdn/assets/CTdFZ_I-41Vr6Dy4.js → browser/esm/CGXU95J36TlX8lDH.mjs} +1 -1
  75. package/browser/esm/{SNze-adFJwKuGSQW.mjs → CHSMmjtqQs2IqcYo.mjs} +1 -1
  76. package/browser/esm/{DjdkGy-EI1kSo226.mjs → CImdnjQtd2Yn7uXl.mjs} +1 -1
  77. package/browser/esm/{aUREGNA8H7p4BpMK.mjs → CL0vZohrUAp3Bhj3.mjs} +3 -3
  78. package/{cdn/assets/B0Wjc3lwtjKMwnvn.js → browser/esm/CLUYMovkh-bwvZJ0.mjs} +1 -1
  79. package/browser/esm/CLrTsOW_jOs09qSP.mjs +86 -0
  80. package/browser/esm/CNcLDXQDQECQxvtA.mjs +141 -0
  81. package/browser/esm/{sxxbiJiCMOW2Eivd.mjs → COPR5sXYEAeM73Ep.mjs} +8518 -6392
  82. package/browser/esm/COh0UZopdYUbHVON.mjs +1648 -0
  83. package/{cdn/assets/J3hutJxqQiHENpIe.js → browser/esm/CPhsbNkI0TuotSlv.mjs} +123 -120
  84. package/browser/esm/{cwuYkcKwsKkPe3gG.mjs → CQFPbvY6xwLpTjbF.mjs} +2 -2
  85. package/{cdn/assets/BwOxnbR61WFJwy0A.js → browser/esm/CRDxpPkzVM-9K8qp.mjs} +1 -1
  86. package/browser/esm/{LAbUYeLiPG8z9cmA.mjs → CS6fe9pkg0OdRzns.mjs} +48 -48
  87. package/browser/esm/{CvWGtHslTdesJik-.mjs → CSyQPhbn_NN6at59.mjs} +10 -9
  88. package/browser/esm/{DAE3Kv0Vs0VuBecT.mjs → CUXpeET-vxHGYwKn.mjs} +1 -1
  89. package/{cdn/assets/VCiu_neIjCTg2NUa.js → browser/esm/CW9UkULY0jchroYa.mjs} +486 -487
  90. package/{cdn/assets/BPrHgyAsm2Htx15h.js → browser/esm/CWOJrduWjvqg69sM.mjs} +1 -1
  91. package/browser/esm/CX1VWdQjKSXDMfs9.mjs +1240 -0
  92. package/browser/esm/{DGcvio2uhlrsE3ZY.mjs → CZP3O5VDZVpsmWVP.mjs} +10 -10
  93. package/browser/esm/{By3a43qwWICwXRmw.mjs → CdDn85jCBS6ljPJV.mjs} +3162 -2130
  94. package/browser/esm/{DLqc11Pf8vaE4Q5B.mjs → Cf_c9xyOrFxlsKq6.mjs} +1 -1
  95. package/browser/esm/{f1OJemsiZnbwnds-.mjs → CfgJaRI3Iz3K-TwG.mjs} +15 -15
  96. package/browser/esm/{BAdRecWK1maKGOZd.mjs → ChSr970S44fUscYr.mjs} +1 -1
  97. package/browser/esm/{B00ixdmb8-O5ijEp.mjs → CiGcHB-RQCGm-yoH.mjs} +1 -1
  98. package/browser/esm/CiL1ItKLy_bO7Vxj.mjs +1552 -0
  99. package/browser/esm/{CMxbiQ5J79M3n1tk.mjs → Cif0315haNLmyMj-.mjs} +723 -373
  100. package/browser/esm/Cjb4nzJvvuN1770o.mjs +9632 -0
  101. package/browser/esm/{DrI_S0A9TQvriTua.mjs → Cjj81VfZROKYtV3v.mjs} +1 -1
  102. package/browser/esm/{CTI-mCJbJzitJZwj.mjs → Ck-YCK18HOJsHw_I.mjs} +1 -1
  103. package/browser/esm/Cl8aWyu9oSfXhYSR.mjs +323 -0
  104. package/browser/esm/{px-aQ8dMjiWag_pV.mjs → ClFYlhnkBAxJCKn6.mjs} +1 -1
  105. package/browser/esm/{ErIXJFPDFXwGEL8V.mjs → ClQWS65BOnsz_YeL.mjs} +2 -2
  106. package/browser/esm/{BxhKgo_rPQ2d12HT.mjs → ClhxJ7aAVlYxWbAt.mjs} +4 -4
  107. package/{cdn/assets/CVcCUfSRsiZ1-6hs.js → browser/esm/CnROzMriBlKuLOfF.mjs} +1 -1
  108. package/browser/esm/{DeUXRggj8Oz9ru_i.mjs → CnzNEpCntiBfW9x5.mjs} +1 -1
  109. package/browser/esm/{ycmpAs4kQfeh78Pa.mjs → CoqGjnCpY3LxqR0v.mjs} +1 -1
  110. package/browser/esm/Cq8VN3vpOLOO-bA5.mjs +160 -0
  111. package/browser/esm/{CVxlfyE-gnJM8hOz.mjs → CrIHwDDOUDcx5WSM.mjs} +18 -18
  112. package/browser/esm/CtYy8KL3L1_bf81k.mjs +8416 -0
  113. package/browser/esm/CupZAF0s99q3CQd5.mjs +200 -0
  114. package/browser/esm/{qYca4mdySLkACfo1.mjs → CutcHdJ4BMcr7Yev.mjs} +1 -1
  115. package/browser/esm/{BCWTI3jdTPG37r8W.mjs → CuuWjNFFRxXfbQnD.mjs} +3 -3
  116. package/{cdn/assets/DVpi1vC8ixXvUQG_.js → browser/esm/Cxk1E_D7BKR7Crmt.mjs} +1 -1
  117. package/browser/esm/{DQEjvIGMgEkiaP6J.mjs → CyTOT4NnE9dWtJIT.mjs} +1 -1
  118. package/{cdn/assets/BNsqqoZY7a4N1wWC.js → browser/esm/D1-rdRh8N55p4-Be.mjs} +328 -110
  119. package/browser/esm/{C4VT6lNbpaDXCpBb.mjs → D29bSsh1Lz8891Rs.mjs} +2 -2
  120. package/browser/esm/{DnyZmrwPxShyeUjm.mjs → D3wUli_CzQR9jT6L.mjs} +118 -269
  121. package/browser/esm/{DSviq1TNoiIAGW7W.mjs → D5kDtvIsPIJuJZSx.mjs} +1 -1
  122. package/browser/esm/D5znyg42EULLErlX.mjs +89 -0
  123. package/browser/esm/{ByqhqEMBLrnkaPKE.mjs → D7cf_Sx-iAIIVwe-.mjs} +31 -29
  124. package/browser/esm/{DaMKWQQTgIF08cT7.mjs → D8hdsSDxM_AQvffB.mjs} +21 -21
  125. package/browser/esm/D9ukH57ON841L8l9.mjs +232 -0
  126. package/browser/esm/DAAcSj6LxLO-O2io.mjs +195 -0
  127. package/browser/esm/{rkTVQiYG3wd8oPom.mjs → DAOjpr33PSwrKpc0.mjs} +3 -3
  128. package/browser/esm/{Dme0qpRinBnhzp53.mjs → DDw_9YBEaF76ezn9.mjs} +163 -162
  129. package/{cdn/assets/lqknEt3DTma5Juxs.js → browser/esm/DEtgba3E0qoHN6kX.mjs} +1 -1
  130. package/{cdn/assets/BhkeuRcx8RlLCQ5E.js → browser/esm/DEvc6BS99hZ9e4Nf.mjs} +1 -1
  131. package/browser/esm/{DqBj-9o7UdXu4qhb.mjs → DFbfNcr6j1gD5R0e.mjs} +1 -1
  132. package/browser/esm/DGmXLEMWMnQeqrl0.mjs +1723 -0
  133. package/browser/esm/{Cpza4AeltEVHASij.mjs → DHDlrgx5YyzbhqKA.mjs} +3 -3
  134. package/browser/esm/DIk6ek73xbGQ4xfD.mjs +7 -0
  135. package/browser/esm/{CtZPEkaldpJpoGtW.mjs → DJpfJorMrLhI9gOT.mjs} +1311 -1305
  136. package/browser/esm/{Dv8aQFTTaQBJKDDk.mjs → DLMAXayirBhfpTF4.mjs} +1 -1
  137. package/browser/esm/{CHMqT9DzYKTxPfP6.mjs → DLmLaWoLePonCiIs.mjs} +1 -1
  138. package/{cdn/assets/DQIRFXG4MveFkK3I.js → browser/esm/DN3iFnh1WSc7HR3p.mjs} +1 -1
  139. package/{cdn/assets/DXo8mR6t5HGsmTcu.js → browser/esm/DOJmeQHkbmz7giHc.mjs} +1 -1
  140. package/browser/esm/DP2a0oPlz27NpeSK.mjs +5117 -0
  141. package/browser/esm/DPfiS_S7rRs2M9Cu.mjs +7 -0
  142. package/browser/esm/DQ82Eg2cUZQyNA4P.mjs +521 -0
  143. package/browser/esm/{BN2d5U1nw7pRtOrn.mjs → DQM2LZ7Kj3QqfQQQ.mjs} +1 -1
  144. package/browser/esm/DSGiFB7hgRaKj-cD.mjs +7 -0
  145. package/browser/esm/{Db6Tvr45TS9J5Qsb.mjs → DTMNj2-Tz6uVTsgT.mjs} +34 -32
  146. package/browser/esm/{CWJzHmEgahdOfNjH.mjs → DTOHItHWueMl2jTm.mjs} +1 -1
  147. package/browser/esm/{D7DWH3-5fBNx8jtc.mjs → DTqURSvX1bHPWFue.mjs} +2 -2
  148. package/{cdn/assets/W1d6GQyySAHrtjEu.js → browser/esm/DWiPD9nqIDk253BM.mjs} +1804 -1016
  149. package/browser/esm/DXdI4tKe6B5dN40W.mjs +3106 -0
  150. package/browser/esm/DXou7Fhas1K3cubZ.mjs +7 -0
  151. package/{cdn/assets/BoFx07POTorOb5g-.js → browser/esm/Dac2pa3EUXg26xcV.mjs} +2534 -1724
  152. package/browser/esm/DasqwTiX41sYA-Z5.mjs +496 -0
  153. package/browser/esm/{DTn9oYyiIYgyijAk.mjs → Dbp-4nVzRBTazDLP.mjs} +42 -41
  154. package/browser/esm/DcEZ6cwiDjpacXxO.mjs +86 -0
  155. package/browser/esm/{CZOJogyZqMfUxcXj.mjs → DccxaAgL5rauj9rq.mjs} +1 -1
  156. package/{cdn/assets/C3r_9RqlWrEmlXZ1.js → browser/esm/DchNCIMGQQc9yEcv.mjs} +1 -1
  157. package/browser/esm/{CqoHxlGpZ3yzPj5V.mjs → Df7AbwG1nXGuHhch.mjs} +12 -12
  158. package/browser/esm/DhmmOd1KzvzI8TQB.mjs +12820 -0
  159. package/browser/esm/DmdChrGkm5oufbRE.mjs +57594 -0
  160. package/browser/esm/{B3Ii8x6RquHW1jMc.mjs → DmhXiZKFYiX4Qwqd.mjs} +10 -10
  161. package/browser/esm/DmxkMii2he30NfJu.mjs +8315 -0
  162. package/browser/esm/{DGuynZFJ9tqziqQs.mjs → DnFo-URDJaN2rhB9.mjs} +15 -15
  163. package/browser/esm/Do8jxgfFz8I1GsZA.mjs +89 -0
  164. package/browser/esm/DonP1tI3OXvxTqS_.mjs +213 -0
  165. package/browser/esm/Dr4kKrXEju3xH3h6.mjs +367 -0
  166. package/{cdn/assets/BsTFy_iJXJYmaO3Z.js → browser/esm/Du726HNvoVYMKBbH.mjs} +136 -144
  167. package/{cdn/assets/DONxZZT2Iwu7psS5.js → browser/esm/DuWZI1YgqBc4D0Wk.mjs} +6 -5
  168. package/browser/esm/DwhJsbgOZVQE9ZPT.mjs +210 -0
  169. package/browser/esm/Dx5lr1OiCVdVCwxl.mjs +9 -0
  170. package/browser/esm/DxVYvgAm5kxHC0F6.mjs +310 -0
  171. package/{cdn/assets/anQDUZhHMDPi1eha.js → browser/esm/DyHtw6zo0efVZUoT.mjs} +168 -162
  172. package/browser/esm/DyanYbYqqcmiADCL.mjs +1298 -0
  173. package/browser/esm/{CQuv-nk5jtXUfu7C.mjs → FvGpi7liPpu6KLv8.mjs} +2 -2
  174. package/browser/esm/HI2Ksbl0-etNK-w-.mjs +36 -0
  175. package/{cdn/assets/CQOyeq_-pg3CM-uA.js → browser/esm/Hl08NtZ1eAIRJ5OF.mjs} +1 -1
  176. package/browser/esm/{-LoBx7J6imeqaxCq.mjs → IHk5INXMVCzM8mcG.mjs} +81 -81
  177. package/browser/esm/{D0r2MPlWLnStWJNW.mjs → IogRavGG6hfOXNQU.mjs} +127 -117
  178. package/browser/esm/{CRAzVh3CaAa16avf.mjs → JvhO1o6YbI5ppwQ0.mjs} +47 -46
  179. package/browser/esm/{BtGmrIqU9W1L8zfZ.mjs → K83ea52GGB2voaRd.mjs} +1 -1
  180. package/{cdn/assets/H-JnJQMcZQbpvjdb.js → browser/esm/KHZcJAKLztwlFOCX.mjs} +1 -1
  181. package/browser/esm/{DJqj66SnUcx0QmSN.mjs → MH5L1dIGBq_LYgJQ.mjs} +1 -1
  182. package/browser/esm/Ovh5ic9JtH6cyxub.mjs +256 -0
  183. package/browser/esm/Ow0yLNSbuT3WBj7H.mjs +262 -0
  184. package/browser/esm/{BsUrrzAgfyAdcCJW.mjs → PRhdAO5xkLnZQvlu.mjs} +2 -2
  185. package/{cdn/assets/RfHd1JATBlcsfLPv.js → browser/esm/QPsDtDrq66DM_Jgr.mjs} +1 -1
  186. package/browser/esm/RDCRv0dAc6JkDyGp.mjs +2265 -0
  187. package/browser/esm/S_MFnyIZkCY_IGVg.mjs +95 -0
  188. package/browser/esm/T-NlR9otpSbQQkLg.mjs +1702 -0
  189. package/browser/esm/{C-0viTjg1dT2F-sk.mjs → TMjhDpsh4dAyEK9h.mjs} +2 -2
  190. package/{cdn/assets/Dc2ZwgbIEgYWwAsF.js → browser/esm/Yqn8laB5RV0kueLN.mjs} +1 -1
  191. package/{cdn/assets/DjtXfgbmXjUAoG0y.js → browser/esm/ZO6hi53k1jfq_DU2.mjs} +1 -1
  192. package/{cdn/assets/J9i3r1fU0H10b2hX.js → browser/esm/ZbJ95fcT_MlmJnVS.mjs} +1 -1
  193. package/{cdn/assets/i0P63Wd0RRlgJotb.js → browser/esm/_7u2a1HvX3quwuxr.mjs} +1 -1
  194. package/browser/esm/{DvWCBuY0jAL-RmJV.mjs → _9nyq5XWoIo-JhAp.mjs} +626 -595
  195. package/browser/esm/_LInZdm_bLSAlTs_.mjs +6149 -0
  196. package/browser/esm/{DRm1R4uVOkaMfXNI.mjs → acJyiuSRKv5sM-Ti.mjs} +13 -7
  197. package/browser/esm/bruq8xlrMhamz8NL.mjs +390 -0
  198. package/browser/esm/dt7TM5WM9kIfxkSp.mjs +3853 -0
  199. package/browser/esm/{CfltjY8hY-RPwwpd.mjs → ed053aDmYbCrCagn.mjs} +7 -7
  200. package/browser/esm/{CxCipDFamYSOctBo.mjs → gjyNCBbdz-gEETZG.mjs} +47 -45
  201. package/browser/esm/index.mjs +49 -645
  202. package/browser/esm/{D-KZpU6HMaP4VUva.mjs → k_OJDj5JL9UFeBxP.mjs} +45 -45
  203. package/browser/esm/k_pfnr7cFrRmfgMa.mjs +12 -0
  204. package/browser/esm/{Cy00y9b9j17Txyv1.mjs → luSDFTDDahiW2BkV.mjs} +1 -1
  205. package/browser/esm/m57Z_Zg2K9WPtv--.mjs +60 -0
  206. package/browser/esm/{C9NyIoUahFiyRCxP.mjs → mmNCqaa6lU6cygSY.mjs} +1 -1
  207. package/browser/esm/{iC69oOND5T8khIWf.mjs → n2-EbZF2IGbi-IOd.mjs} +6 -6
  208. package/browser/esm/n3-ex6JlSC4JH_g3.mjs +780 -0
  209. package/{cdn/assets/CFvKDDbrL3wpXnQH.js → browser/esm/sSoL-JlTRttZ1-fW.mjs} +1 -1
  210. package/browser/esm/{VwGokBaawZfZiV2X.mjs → wA7bEwDV1UUss-PV.mjs} +1 -1
  211. package/browser/esm/{DSf-Db1h8rlW2A6n.mjs → wSauAivL_wCxM6Ga.mjs} +5 -5
  212. package/{cdn/assets/pc49xtHdprXZLW2X.js → browser/esm/xZUqtJfNziRMVyQ7.mjs} +1 -1
  213. package/browser/esm/{DNaPo7BQu6hr1fWq.mjs → ypqwC2WOP09mA_DM.mjs} +1 -1
  214. package/cdn/assets/-ONZeuKryrnW6SqH.js +7 -0
  215. package/cdn/assets/-uhPvS_bULnsjqVB.js +42 -0
  216. package/cdn/assets/02n1f3j11O2nHvBs.js +12820 -0
  217. package/{browser/esm/CBdNC7BOfc5TewHU.mjs → cdn/assets/0YsENrFzj1ssAX9X.js} +1 -1
  218. package/cdn/assets/1FbtXPZOekXDPfdd.js +8 -0
  219. package/cdn/assets/{UTZcodQydbuMfCOS.js → 1wWPvtsW8DO6CafH.js} +1 -1
  220. package/{browser/esm/BWo1N4YbK_zGU0nu.mjs → cdn/assets/2FB6h8pTc_l_B6QZ.js} +1 -1
  221. package/cdn/assets/4F0v3wQNJ-MSB1Z9.js +220 -0
  222. package/cdn/assets/{BBjgqNlHm-ssbSAG.js → 4HrBEVQGdmXVxVf1.js} +1 -1
  223. package/cdn/assets/4uQOx5zyAS8XS4V9.js +570 -0
  224. package/cdn/assets/5rqFRBFU7lnnjNt9.js +201 -0
  225. package/cdn/assets/6b6s5IgeVwRY9P2V.js +367 -0
  226. package/cdn/assets/8xJqIpI3i63EGuLs.js +522 -0
  227. package/cdn/assets/9p5WDkFicYKTatuq.js +7 -0
  228. package/cdn/assets/B-TEQ5laJQKfikUa.js +193 -0
  229. package/cdn/assets/B2OGndaMH7WCvuMK.js +96 -0
  230. package/cdn/assets/{wM7DzeOpoEGBVDBe.js → B3AsVCTRSPU1ivoY.js} +2 -2
  231. package/cdn/assets/B3BU0-K9s4221y_E.js +199 -0
  232. package/cdn/assets/{BzbP4jaN13wC9aSi.js → B5znT6l0E-uRlPxA.js} +37 -37
  233. package/cdn/assets/{CMVTwWHsRgyfSEDM.js → B6OFPBPyKNkonkt9.js} +67 -65
  234. package/cdn/assets/B6bTGjqGJ3hSb6pB.js +8 -0
  235. package/cdn/assets/B6h2EKukHEqfcsPq.js +324 -0
  236. package/{browser/esm/BAH_cWcQEIBKWnl6.mjs → cdn/assets/B8-nLKLPjZ7pIJdE.js} +48 -37
  237. package/cdn/assets/BAhj7LTdgVDdLIKM.js +19 -0
  238. package/cdn/assets/{C7fu6LrSMBlHqwUy.js → BDihhtyza6JVj9NA.js} +4 -4
  239. package/cdn/assets/{C5EKgE9Owsc_juw-.js → BFNrFZtdVve-yU4e.js} +1 -1
  240. package/cdn/assets/{PtGiIWFBYP-ujLmf.js → BFp4JZFwKkq3wPHv.js} +1 -1
  241. package/{browser/esm/_t0Mx-mUFVtmVNkU.mjs → cdn/assets/BHy_akSib7chMKWg.js} +1 -1
  242. package/cdn/assets/{ByUcqyCNfqi5Mm7w.js → BJjL3rPHHyI2VT5N.js} +1 -1
  243. package/cdn/assets/BKjJbAprthCpiw7j.js +161 -0
  244. package/cdn/assets/BOHADYkBeL7j5Ho7.js +73 -0
  245. package/cdn/assets/BQn64Kmc0TqWvQiu.js +23468 -0
  246. package/cdn/assets/BSW3wcvLJdkMerg-.js +106 -0
  247. package/cdn/assets/{FO1Jezau486fH4kN.js → BSzeqNbK-wYbCwiv.js} +1 -1
  248. package/cdn/assets/BT_kLzJXjQJNGh3-.js +100 -0
  249. package/{browser/esm/D-55MlIn7Wo_hdjI.mjs → cdn/assets/BXGRt1EwLc3igx5S.js} +328 -110
  250. package/cdn/assets/{BMlPFJ1glExv-70Z.js → BZbqsj8CH_yl3myW.js} +1 -1
  251. package/cdn/assets/{x6GcENwqoUVbd60j.js → B_oYpGQQp9ELbGXT.js} +1 -1
  252. package/cdn/assets/Be4tcI4SKU9TMyEs.js +393 -0
  253. package/cdn/assets/BikqeuAc1ownJULP.js +8 -0
  254. package/{browser/esm/BSCja5yvevmKZPBB.mjs → cdn/assets/Bj-ggr3Qgt0J39xx.js} +1 -1
  255. package/cdn/assets/{BpZ7P0CO148rR4zW.js → BjtBV7ztQseHdo8M.js} +20 -20
  256. package/cdn/assets/BlTY4-ozlyDyATkO.js +298 -0
  257. package/cdn/assets/BnQT4TCx14FYGPY3.js +9990 -0
  258. package/cdn/assets/{DZRm4H75lnEtOG8e.js → Bnj3M_FtbBvXs6S0.js} +48 -46
  259. package/{browser/esm/DxcRLd7wmBGDgJsA.mjs → cdn/assets/BoFEETlY0hZb0PRp.js} +1 -1
  260. package/cdn/assets/BpAcFe7In_tm1ABk.js +89 -0
  261. package/cdn/assets/{CFBgmXap8kmumhoz.js → Bq7qR2iV54cQ01_R.js} +127 -117
  262. package/{browser/esm/D2coM-dNrlLpnUu5.mjs → cdn/assets/BqM-W_oFdjeyu8N4.js} +670 -669
  263. package/cdn/assets/Bqig7R2_wU0MB4ED.js +90 -0
  264. package/cdn/assets/{DHH_uKVzQ_kRYO2N.js → BsqHMd3dlKhcIxe_.js} +18 -18
  265. package/cdn/assets/{CakrxSS_RXtKmcUX.js → BtkcL_9ZfETfOGfP.js} +98 -97
  266. package/cdn/assets/{ENtt4kmaU9mJfVEp.js → Bu13LK_GiwLEhVKN.js} +10 -10
  267. package/cdn/assets/{Dy44qJVkwNseMG-3.js → BxE8BJ1tb5HybBNO.js} +1 -1
  268. package/{browser/esm/DfESVLC8CAi8m8A7.mjs → cdn/assets/BxIfM-Ty_Y8PvQFM.js} +1 -1
  269. package/{browser/esm/DWgp4t9N9u0eWthH.mjs → cdn/assets/ByREbsIyjgFePvoo.js} +1 -1
  270. package/cdn/assets/{ZxsFYopF0_WWqw4Q.js → Bz4k83C83NmszjPX.js} +1 -1
  271. package/cdn/assets/{De2z8LdHaWRFiR5T.js → BzBqhomOXJGtdxGv.js} +2 -2
  272. package/cdn/assets/C-U3gssGyd3ntzi3.js +8 -0
  273. package/cdn/assets/C-XZlxDIT5yzdwLJ.js +1724 -0
  274. package/cdn/assets/C0gMuR6xw09uB9Y1.js +46 -0
  275. package/cdn/assets/{w5IQWbJETgHhqMsY.js → C3Qtch7pRtEQgfRY.js} +33 -33
  276. package/cdn/assets/C3xbTjAw1VI9Lxza.js +516 -0
  277. package/{browser/esm/8-jmVNNbOHuXFdVQ.mjs → cdn/assets/C4ou3rMjNo5m8Y1t.js} +123 -120
  278. package/cdn/assets/C5rqIz-t0kclqYgG.js +86 -0
  279. package/cdn/assets/{CSEMxasVyGCekxKf.js → C6axT8aFQqaiuRgS.js} +1 -1
  280. package/cdn/assets/{0vqRTRN0wEzWao1c.js → C6xvp_PZBhXeoGRc.js} +84 -83
  281. package/cdn/assets/C9KQwh85fRQ8P7ia.js +7 -0
  282. package/cdn/assets/C9pNgF73kPC5SCj_.js +8416 -0
  283. package/cdn/assets/{BlPn_DXaEXOPxMxC.js → CAFDldpwa2ZDlh3u.js} +1 -1
  284. package/cdn/assets/CAIREtREYTvydXO6.js +30 -0
  285. package/cdn/assets/{DYvBgX17ZerZSHEJ.js → CB-MJyGrzQbmJE0g.js} +31 -31
  286. package/cdn/assets/{CIyaijfp6itgRpFM.js → CCos0hQMhVcaGwU0.js} +2 -2
  287. package/cdn/assets/CE-_DaE-8Sg4AM0v.js +183 -0
  288. package/cdn/assets/CFJ9wCSJYOoE1Lrz.js +1241 -0
  289. package/cdn/assets/CFJvtyImIjxJOno7.js +5117 -0
  290. package/{browser/esm/CTdFZ_I-41Vr6Dy4.mjs → cdn/assets/CGXU95J36TlX8lDH.js} +1 -1
  291. package/cdn/assets/CH9Ow0HqnUv_0K73.js +521 -0
  292. package/cdn/assets/{SNze-adFJwKuGSQW.js → CHSMmjtqQs2IqcYo.js} +1 -1
  293. package/cdn/assets/{DjdkGy-EI1kSo226.js → CImdnjQtd2Yn7uXl.js} +1 -1
  294. package/cdn/assets/{BvlfKrfrDhE9Jw4d.js → CIvOEYio4yfOR385.js} +2 -2
  295. package/{browser/esm/B0Wjc3lwtjKMwnvn.mjs → cdn/assets/CLUYMovkh-bwvZJ0.js} +1 -1
  296. package/cdn/assets/{BI6afPOpgNYkzIWv.js → CN4pF75weR3buzng.js} +2110 -1978
  297. package/cdn/assets/CNs9_C1xX4prXnCq.js +7 -0
  298. package/cdn/assets/CNx0AfRRVuznb3yg.js +1649 -0
  299. package/cdn/assets/{BeQ95CzwR65il0CK.js → CPGIT9PYUuWdSglk.js} +2 -3
  300. package/{browser/esm/BwOxnbR61WFJwy0A.mjs → cdn/assets/CRDxpPkzVM-9K8qp.js} +1 -1
  301. package/cdn/assets/CTmLSM7UhiKOIhgu.js +17 -0
  302. package/cdn/assets/{DAE3Kv0Vs0VuBecT.js → CUXpeET-vxHGYwKn.js} +1 -1
  303. package/cdn/assets/{DQjxp9lDP9DzP8ah.js → CVfeHUreAF1C9r7W.js} +45 -45
  304. package/{browser/esm/BPrHgyAsm2Htx15h.mjs → cdn/assets/CWOJrduWjvqg69sM.js} +1 -1
  305. package/cdn/assets/CX8Y07KdGzyOeCSo.js +1702 -0
  306. package/cdn/assets/CZG3fjfebhJvUipF.js +57594 -0
  307. package/{browser/esm/DEvZj68igS7Q8SZE.mjs → cdn/assets/CaQrZOnzyAelKzTt.js} +136 -144
  308. package/cdn/assets/CaayvSy_I7jjv7au.js +2230 -0
  309. package/cdn/assets/{aHTKr1ijZ6bRi3Zg.js → CbwxkvJm8JO4Ke8x.js} +4 -4
  310. package/cdn/assets/{B27vTQlxbHhSQJx8.js → Cc-jOsunTu0-Mla_.js} +8607 -6480
  311. package/cdn/assets/CcP8kT3MgwQ3vUnF.js +1299 -0
  312. package/cdn/assets/{CsrTRThObSryov1b.js → CcqUWXYGGj-psA9H.js} +2 -2
  313. package/cdn/assets/Cd2x-3RBbJNq0TuA.js +323 -0
  314. package/cdn/assets/{dn69mDhY7Xcc91kF.js → CeiY_ZCBlUsmH2rY.js} +20 -20
  315. package/cdn/assets/{ZSYS1J3uR7UQuHwZ.js → CgATW0IINhudprWa.js} +10 -10
  316. package/cdn/assets/CgovQHyOZcnsM53I.js +233 -0
  317. package/cdn/assets/{BAdRecWK1maKGOZd.js → ChSr970S44fUscYr.js} +1 -1
  318. package/cdn/assets/{B00ixdmb8-O5ijEp.js → CiGcHB-RQCGm-yoH.js} +1 -1
  319. package/cdn/assets/{CMxbiQ5J79M3n1tk.js → Cif0315haNLmyMj-.js} +723 -373
  320. package/cdn/assets/{DrI_S0A9TQvriTua.js → Cjj81VfZROKYtV3v.js} +1 -1
  321. package/cdn/assets/{CTI-mCJbJzitJZwj.js → Ck-YCK18HOJsHw_I.js} +1 -1
  322. package/cdn/assets/{px-aQ8dMjiWag_pV.js → ClFYlhnkBAxJCKn6.js} +1 -1
  323. package/cdn/assets/{Bsn-tUx172sEG2kR.js → CnOJpT4PcPuybSUB.js} +20 -20
  324. package/{browser/esm/CVcCUfSRsiZ1-6hs.mjs → cdn/assets/CnROzMriBlKuLOfF.js} +1 -1
  325. package/cdn/assets/{DeUXRggj8Oz9ru_i.js → CnzNEpCntiBfW9x5.js} +1 -1
  326. package/cdn/assets/{ycmpAs4kQfeh78Pa.js → CoqGjnCpY3LxqR0v.js} +1 -1
  327. package/cdn/assets/CqP5OkILMJUsRGxp.js +3853 -0
  328. package/cdn/assets/{BB4MW8sSYEXjPvvf.js → CtDb6Ft4ZQbglyKk.js} +5 -5
  329. package/cdn/assets/{qYca4mdySLkACfo1.js → CutcHdJ4BMcr7Yev.js} +1 -1
  330. package/cdn/assets/CwPsCkeHan5zXDyX.js +237 -0
  331. package/cdn/assets/{ChAKLV5zrGAHAof2.js → CxRXaI0C0QO5eGia.js} +50 -48
  332. package/{browser/esm/DVpi1vC8ixXvUQG_.mjs → cdn/assets/Cxk1E_D7BKR7Crmt.js} +1 -1
  333. package/cdn/assets/{DQEjvIGMgEkiaP6J.js → CyTOT4NnE9dWtJIT.js} +1 -1
  334. package/cdn/assets/{D-bNmX0QsA8SuT0m.js → D1zBLjB3GS_6EGzy.js} +33 -33
  335. package/cdn/assets/D2fdIQmCPlCrPRXy.js +781 -0
  336. package/cdn/assets/D3CTFn_17sHwswO5.js +182 -0
  337. package/cdn/assets/D4AbJuK7-E0JtxAo.js +257 -0
  338. package/cdn/assets/D4DsR2aIqjajGOKK.js +263 -0
  339. package/cdn/assets/D4jpK0BUd-tNqESg.js +7 -0
  340. package/cdn/assets/{DSviq1TNoiIAGW7W.js → D5kDtvIsPIJuJZSx.js} +1 -1
  341. package/cdn/assets/{DSXJHEORGmMQX_Mb.js → D6fWK15zTZFsgt1T.js} +12 -12
  342. package/cdn/assets/{D8DghdqjOtBzO2Wx.js → D7C_fe_jEfPhZh6v.js} +4 -4
  343. package/cdn/assets/{DicTo_3G-KZyWDiE.js → D7fpa_b5jL9kNuLc.js} +300 -345
  344. package/cdn/assets/{7i4WSxDsu2ApJJ2_.js → D9FLXw0Q3bpjVuQZ.js} +3 -3
  345. package/cdn/assets/DAlTqWR4DtigzJIp.js +86 -0
  346. package/cdn/assets/{Ba8taVvLslFcKS72.js → DBPCyXdxHLluh0T4.js} +27 -26
  347. package/cdn/assets/{Cv5PLuhEmh5IDHjb.js → DC0uSA4tHtqtV6Qf.js} +12 -12
  348. package/{browser/esm/lqknEt3DTma5Juxs.mjs → cdn/assets/DEtgba3E0qoHN6kX.js} +1 -1
  349. package/{browser/esm/BhkeuRcx8RlLCQ5E.mjs → cdn/assets/DEvc6BS99hZ9e4Nf.js} +1 -1
  350. package/cdn/assets/{DqBj-9o7UdXu4qhb.js → DFbfNcr6j1gD5R0e.js} +1 -1
  351. package/cdn/assets/{D-yz3V2UC54rwctD.js → DI0oF6zUpOe1dvtl.js} +2 -2
  352. package/cdn/assets/DKFKYAh8TvZ6nbQP.js +9633 -0
  353. package/cdn/assets/DKr4Z7Jlm9q1oByS.js +311 -0
  354. package/cdn/assets/DLGHrXPNZh3ZMjhS.js +196 -0
  355. package/cdn/assets/DLIywttw-YbpYzR9.js +1552 -0
  356. package/cdn/assets/{Dv8aQFTTaQBJKDDk.js → DLMAXayirBhfpTF4.js} +1 -1
  357. package/cdn/assets/DLb7DkSaAdwiJNw-.js +9 -0
  358. package/cdn/assets/{C9NyIoUahFiyRCxP.js → DLmLaWoLePonCiIs.js} +1 -1
  359. package/{browser/esm/DQIRFXG4MveFkK3I.mjs → cdn/assets/DN3iFnh1WSc7HR3p.js} +1 -1
  360. package/{browser/esm/DXo8mR6t5HGsmTcu.mjs → cdn/assets/DOJmeQHkbmz7giHc.js} +1 -1
  361. package/cdn/assets/{BN2d5U1nw7pRtOrn.js → DQM2LZ7Kj3QqfQQQ.js} +1 -1
  362. package/cdn/assets/DQwz3i9TNDHAmLmN.js +132 -0
  363. package/cdn/assets/{CWJzHmEgahdOfNjH.js → DTOHItHWueMl2jTm.js} +1 -1
  364. package/cdn/assets/{CCvBdPu7W2ZF6A9J.js → DTRBOYo39pUPMTpT.js} +9 -9
  365. package/{browser/esm/ztqpWR65YYMZ3EPk.mjs → cdn/assets/DVyIyNBrlUT9W9cY.js} +175 -167
  366. package/cdn/assets/{mK8HcIZyXkOTvL6E.js → DWcAYH0eBaOj-dU4.js} +7 -7
  367. package/cdn/assets/{CbTN0q6XnYGJqyEp.js → DX-iRDnwn8uZZIqp.js} +1372 -1366
  368. package/cdn/assets/DYeaE2TSAJ9-suNW.js +282 -0
  369. package/cdn/assets/{Bgbi7BFR3rN5qj51.js → DZiWWhATAOxJQZ_N.js} +22 -22
  370. package/cdn/assets/{CZOJogyZqMfUxcXj.js → DccxaAgL5rauj9rq.js} +1 -1
  371. package/{browser/esm/C3r_9RqlWrEmlXZ1.mjs → cdn/assets/DchNCIMGQQc9yEcv.js} +1 -1
  372. package/cdn/assets/{hg8WYI0Yy4WPPPoP.js → DdWtfDWDB6Yst5LZ.js} +11 -11
  373. package/cdn/assets/Dg-qsGzlATZbZ35c.js +164 -0
  374. package/cdn/assets/{BelX6bvQPsGuo-x3.js → DhUBLuQYjgwdF5EH.js} +2 -2
  375. package/cdn/assets/DiOOfu_7X2Cpk8QF.js +391 -0
  376. package/cdn/assets/{B3NWCYKXucbHhOix.js → DkZqI9EyJ9BaBNL_.js} +26 -26
  377. package/cdn/assets/{AjMG7Fb9r4Fk7Hsf.js → Dki3Mapev78nd9Kc.js} +18 -17
  378. package/{browser/esm/DlOVZD0OiAjouS6-.mjs → cdn/assets/DlbmuJxdMXIYpB6E.js} +1804 -1016
  379. package/cdn/assets/DqELE8YlqkR-PGLI.js +142 -0
  380. package/{browser/esm/M7RYrx20B_Yl_euJ.mjs → cdn/assets/Drbnn1LTgJDjS6Ha.js} +8 -8
  381. package/cdn/assets/Drfd0-JZwPXCnj5c.js +1391 -0
  382. package/cdn/assets/DsJVOPJWQSCx_2gE.js +8315 -0
  383. package/cdn/assets/DvcqASECnv0ZHrzg.js +214 -0
  384. package/cdn/assets/DwFQgKd9J_B2KTpR.js +240 -0
  385. package/cdn/assets/DwhJsbgOZVQE9ZPT.js +210 -0
  386. package/cdn/assets/DxJKKoj07ez4Cc1M.js +639 -0
  387. package/cdn/assets/{G5z0uVlyF6CLw_PA.js → DzdTkjOza0KfOVpJ.js} +2 -2
  388. package/cdn/assets/Dzno9raiwXxce_BQ.js +1306 -0
  389. package/cdn/assets/{DckmFyHxGX4Y1gOq.js → EQ9ocVP26wjlV0h8.js} +18 -17
  390. package/cdn/assets/{DxisV9_27l_WU-nk.js → FTUIrcTvIeHG6nzk.js} +5 -5
  391. package/cdn/assets/FfjEOAnadcVqxSUP.js +2265 -0
  392. package/cdn/assets/HEszSqNhIYK5QTuZ.js +61 -0
  393. package/cdn/assets/HI2Ksbl0-etNK-w-.js +36 -0
  394. package/{browser/esm/CQOyeq_-pg3CM-uA.mjs → cdn/assets/Hl08NtZ1eAIRJ5OF.js} +1 -1
  395. package/cdn/assets/IrI1Fo83qAWTNhz5.js +6149 -0
  396. package/cdn/assets/{CDAYVaQYywqaxg4O.js → JQaNzWKHZyWyQOJ0.js} +2 -2
  397. package/cdn/assets/{BtGmrIqU9W1L8zfZ.js → K83ea52GGB2voaRd.js} +1 -1
  398. package/{browser/esm/H-JnJQMcZQbpvjdb.mjs → cdn/assets/KHZcJAKLztwlFOCX.js} +1 -1
  399. package/cdn/assets/{DJqj66SnUcx0QmSN.js → MH5L1dIGBq_LYgJQ.js} +1 -1
  400. package/{browser/esm/BtdRr6IbtO6Gypsk.mjs → cdn/assets/MuXX7448MHFePqr9.js} +6 -5
  401. package/cdn/assets/{C0CeCYdLWLjySEFe.js → NV0lQG1Z_LlIL1xk.js} +15 -15
  402. package/cdn/assets/{Cw7AJWd0S2sjRmr6.js → OABpLvY7siKUyNIa.js} +1602 -1471
  403. package/cdn/assets/OSXSr855wNqulmp_.js +423 -0
  404. package/{browser/esm/RfHd1JATBlcsfLPv.mjs → cdn/assets/QPsDtDrq66DM_Jgr.js} +1 -1
  405. package/cdn/assets/{C32co-XulWTkEKrW.js → RaTCqgWoqpOqPZQk.js} +2 -2
  406. package/cdn/assets/{C-0viTjg1dT2F-sk.js → TMjhDpsh4dAyEK9h.js} +2 -2
  407. package/cdn/assets/TONCxYiGe47Rjhga.js +86 -0
  408. package/{browser/esm/CWoPWWRwMgkGPFFP.mjs → cdn/assets/TVEs01pqc117KeGZ.js} +2534 -1724
  409. package/cdn/assets/{BIsbcP5RXRU2XPfx.js → UXg8wCm37AcKqC56.js} +2 -2
  410. package/{browser/esm/Dc2ZwgbIEgYWwAsF.mjs → cdn/assets/Yqn8laB5RV0kueLN.js} +1 -1
  411. package/cdn/assets/{CSIZpJClc66_20kP.js → Z1o8piRdmQD2oQWI.js} +118 -269
  412. package/{browser/esm/DjtXfgbmXjUAoG0y.mjs → cdn/assets/ZO6hi53k1jfq_DU2.js} +1 -1
  413. package/{browser/esm/J9i3r1fU0H10b2hX.mjs → cdn/assets/ZbJ95fcT_MlmJnVS.js} +1 -1
  414. package/{browser/esm/i0P63Wd0RRlgJotb.mjs → cdn/assets/_7u2a1HvX3quwuxr.js} +1 -1
  415. package/cdn/assets/{DRm1R4uVOkaMfXNI.js → acJyiuSRKv5sM-Ti.js} +13 -7
  416. package/cdn/assets/bmjrEH7i8TNBt6SP.js +281 -0
  417. package/cdn/assets/c2U2dLzVvNTpyyqC.js +497 -0
  418. package/cdn/assets/gKmKdkfbYQQWehPu.js +3108 -0
  419. package/cdn/assets/{D32D_biNXRCZ24vG.js → iROLGMv0365VtzWw.js} +46 -46
  420. package/cdn/assets/k_pfnr7cFrRmfgMa.js +12 -0
  421. package/cdn/assets/{Cy00y9b9j17Txyv1.js → luSDFTDDahiW2BkV.js} +1 -1
  422. package/cdn/assets/{CHMqT9DzYKTxPfP6.js → mmNCqaa6lU6cygSY.js} +1 -1
  423. package/cdn/assets/{D_pMOq6FdH4RSBLc.js → nQBuuL7ZHzDHpWHk.js} +754 -723
  424. package/cdn/assets/oQqrFmjkSYpR-YkT.js +8 -0
  425. package/cdn/assets/{Dp-GJXOMz_b8qAxD.js → qdrySZxuftgjgcvV.js} +2 -2
  426. package/cdn/assets/{C6INLvBy8kdzFpsX.js → sLmN3zWQq7lARToC.js} +639 -758
  427. package/{browser/esm/CFvKDDbrL3wpXnQH.mjs → cdn/assets/sSoL-JlTRttZ1-fW.js} +1 -1
  428. package/cdn/assets/v7jTlODG1H-cGQs0.js +278 -0
  429. package/cdn/assets/{VwGokBaawZfZiV2X.js → wA7bEwDV1UUss-PV.js} +1 -1
  430. package/cdn/assets/{Cfg4Dtndwurxv9LM.js → wK0g9YTrJa8xbPXn.js} +8 -8
  431. package/cdn/assets/wQOPOdvl3X5fq9Sd.js +104 -0
  432. package/{browser/esm/pc49xtHdprXZLW2X.mjs → cdn/assets/xZUqtJfNziRMVyQ7.js} +1 -1
  433. package/cdn/assets/{BuYS_ZjSlcvWZ1JC.js → yeI_qudcEuAsSDGK.js} +3162 -2130
  434. package/cdn/assets/{DNaPo7BQu6hr1fWq.js → ypqwC2WOP09mA_DM.js} +1 -1
  435. package/cdn/index.js +27 -17
  436. package/package.json +3 -3
  437. package/types/src/sheetxl.d.ts +1 -0
  438. package/browser/esm/BNIInlJQbJjH8B6G.mjs +0 -84250
  439. package/browser/esm/B_HB4y7AA88Z775Z.mjs +0 -91
  440. package/browser/esm/CdeXXPCp5cCYvGyD.mjs +0 -14
  441. package/browser/esm/Chr_TXM-48IsK8Va.mjs +0 -155
  442. package/browser/esm/Clx8vvGDOTWK_M2l.mjs +0 -484
  443. package/browser/esm/Cw-4uoMuq_m7ziA3.mjs +0 -36
  444. package/browser/esm/D-9f1NKcpuYSgond.mjs +0 -412
  445. package/browser/esm/D7CGuQcwpkiuesEI.mjs +0 -229
  446. package/browser/esm/D7kkzIFPqKBK94kO.mjs +0 -17952
  447. package/browser/esm/D88StfSjZJi5E8Xb.mjs +0 -5153
  448. package/browser/esm/D8exjrado9TJrBp-.mjs +0 -1946
  449. package/browser/esm/DGCOPbZbEmt0x9z0.mjs +0 -155
  450. package/browser/esm/DZRmBfjn2TgOTu5e.mjs +0 -3604
  451. package/browser/esm/D_7BWdsu8yejhUxy.mjs +0 -2353
  452. package/browser/esm/D_thhK0vSez8Yfle.mjs +0 -798
  453. package/browser/esm/Dv2z0548SZRGTN3l.mjs +0 -149
  454. package/browser/esm/DyeY6XwMQ_XNUHiW.mjs +0 -89
  455. package/browser/esm/FjNOhkR7-JAIaRP6.mjs +0 -19
  456. package/browser/esm/RLU85PsAYtKPUf6N.mjs +0 -71
  457. package/browser/esm/WMYR09ZOR8JbZEnx.mjs +0 -4748
  458. package/browser/esm/r2Az2Yc4_qj2-sn0.mjs +0 -398
  459. package/cdn/assets/514mXPTuNvdNgw35.js +0 -412
  460. package/cdn/assets/7Sg0ht_ZCMJkPurt.js +0 -516
  461. package/cdn/assets/B_3Musz0q2MSZ5H-.js +0 -799
  462. package/cdn/assets/BgyY4zVPZSXljoCZ.js +0 -14
  463. package/cdn/assets/BlIZ30huelIxNo6S.js +0 -91
  464. package/cdn/assets/BxqXOiOyI_XiOmvN.js +0 -156
  465. package/cdn/assets/CEYyp6Qrr_IopxpL.js +0 -22597
  466. package/cdn/assets/CILUMtSddGz7WXEv.js +0 -240
  467. package/cdn/assets/CL6Tgu_rUO6G-fyq.js +0 -2352
  468. package/cdn/assets/COMOqucXq7X1vi0P.js +0 -230
  469. package/cdn/assets/CRXSrbGNABtzf532.js +0 -399
  470. package/cdn/assets/CTvPIYWTcjwlJeEA.js +0 -237
  471. package/cdn/assets/CU5cKipVT1X8Xz7F.js +0 -156
  472. package/cdn/assets/Cw-4uoMuq_m7ziA3.js +0 -36
  473. package/cdn/assets/DCnWyVXikb_8Dat3.js +0 -61
  474. package/cdn/assets/DHugYwX4_ZyqGn-C.js +0 -1947
  475. package/cdn/assets/DOHh3pUXxMM09UY5.js +0 -3604
  476. package/cdn/assets/DlpgIJxNq2V4gdDq.js +0 -74
  477. package/cdn/assets/DuAbY54w5gJpQgss.js +0 -84250
  478. package/cdn/assets/DviEoeWW0EvDg1hr.js +0 -149
  479. package/cdn/assets/FjNOhkR7-JAIaRP6.js +0 -19
  480. package/cdn/assets/PzWqv-oXxEuzKdaT.js +0 -484
  481. package/cdn/assets/QJ4AkDD269D1MzmI.js +0 -89
  482. package/cdn/assets/fm3mUdTDo-STB36M.js +0 -4749
  483. package/cdn/assets/lWY3TbG2NDscy9He.js +0 -72
  484. package/cdn/assets/xlXDq-qoj7eOE6_T.js +0 -5153
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.10
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.12
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 { P as e } from "./CMxbiQ5J79M3n1tk.js";
8
- import { E as t, M as n, W as r, bt as i, ct as a } from "./BoFx07POTorOb5g-.js";
9
- import { i as o, l as s } from "./BAH_cWcQEIBKWnl6.js";
10
- import { $ as c, _ as l, it as u, q as d, s as f } from "./DuAbY54w5gJpQgss.js";
11
- import { a as p, i as m } from "./PzWqv-oXxEuzKdaT.js";
12
- import { Ct as h, Et as g, Ht as _, L as ee, M as v, T as y, Tt as b, an as x, c as te, ct as ne, gt as S, h as re, jt as C, l as w, lt as ie, mt as T, pt as E, q as D, tt as O, v as k, w as A, y as j, zt as M } from "./BuYS_ZjSlcvWZ1JC.js";
13
- import { i as N, r as P } from "./W1d6GQyySAHrtjEu.js";
14
- var F = class {
7
+ import { G as e } from "./Cif0315haNLmyMj-.js";
8
+ import { A as t, Pt as n, U as r, bt as i, c as a, d as o, g as s } from "./TVEs01pqc117KeGZ.js";
9
+ import { a as c, l } from "./B8-nLKLPjZ7pIJdE.js";
10
+ import { F as u, Hr as d, br as f, cr as p, nn as m } from "./CZG3fjfebhJvUipF.js";
11
+ import { $n as h, A as g, B as _, Bn as ee, Bt as v, C as y, Dt as te, Hn as ne, It as b, Jt as re, Lt as ie, Mt as ae, Nn as oe, On as x, P as S, Pt as C, S as se, Sn as ce, T as w, Xt as T, Yn as E, Z as le, _n as ue, _t as D, a as de, bn as O, dn as fe, f as pe, ft as me, hn as he, in as k, j as ge, jn as A, nt as j, on as M, qn as N, ut as P, yn as F, z as I } from "./yeI_qudcEuAsSDGK.js";
12
+ import { a as L, o as _e, r as ve } from "./FfjEOAnadcVqxSUP.js";
13
+ import "./DlbmuJxdMXIYpB6E.js";
14
+ var ye = class {
15
15
  constructor(e) {
16
16
  this.list = e;
17
17
  }
@@ -37,13 +37,13 @@ var F = class {
37
37
  [Symbol.iterator]() {
38
38
  return this.list.values();
39
39
  }
40
- }, I = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, ae = (e) => {
40
+ }, be = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, xe = (e) => {
41
41
  let t = parseInt(e);
42
42
  return isNaN(t) ? null : t;
43
- }, oe = (e) => {
43
+ }, Se = (e) => {
44
44
  let t = parseFloat(e);
45
45
  return isNaN(t) ? null : t;
46
- }, se = /* @__PURE__ */ new Map(), L = class {
46
+ }, Ce = /* @__PURE__ */ new Map(), R = class {
47
47
  constructor(t, n, r, i, a, o = null, s = e.EmptyObject) {
48
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
  }
@@ -54,7 +54,7 @@ var F = class {
54
54
  return this._readEmbeddedPart?.(e, this._fileLocation) ?? null;
55
55
  }
56
56
  getRelationships() {
57
- return this._getRefs?.(this._fileLocation) ?? se;
57
+ return this._getRefs?.(this._fileLocation) ?? Ce;
58
58
  }
59
59
  getPath() {
60
60
  return this.currentPath;
@@ -114,7 +114,7 @@ var F = class {
114
114
  }
115
115
  if (n = a, n.length === 0) return null;
116
116
  }
117
- return n.length === 1 ? n[0] : n.length === 0 ? null : new F(n);
117
+ return n.length === 1 ? n[0] : n.length === 0 ? null : new ye(n);
118
118
  }
119
119
  _matchesElementName(e, t) {
120
120
  return t.includes(":") ? (e.tagName || e.nodeName) === t : e.localName === t;
@@ -154,13 +154,13 @@ var F = class {
154
154
  return n && n.hasAttribute("val") ? parseFloat(n.getAttribute("val")) ?? null : null;
155
155
  }
156
156
  get BOOLEAN_COPY() {
157
- return I;
157
+ return be;
158
158
  }
159
159
  get INT_COPY() {
160
- return ae;
160
+ return xe;
161
161
  }
162
162
  get FLOAT_COPY() {
163
- return oe;
163
+ return Se;
164
164
  }
165
165
  copyFromAttribute(e, t, n, r = t, i = null) {
166
166
  if (!e || !n || !e.hasAttribute(t)) return;
@@ -173,67 +173,123 @@ var F = class {
173
173
  }
174
174
  this.setToPath(n, r, a);
175
175
  }
176
- }, R = class {
177
- constructor(e) {
178
- this.jsonKey = e;
176
+ }, z = (e, t) => {
177
+ let n = [], r = e.childNodes, i = r.length;
178
+ for (let e = 0; e < i; e++) {
179
+ let i = r.item(e);
180
+ i.nodeType === 1 && i.localName === t && n.push(i);
179
181
  }
180
- visit(e, t, n) {
181
- let r = {};
182
- return n[this.jsonKey] = r, r;
182
+ return n;
183
+ }, B = [
184
+ ["fillRef", "fill"],
185
+ ["lnRef", "stroke"],
186
+ ["effectRef", "effect"]
187
+ ], V = (e, t) => {
188
+ let n = new N(), r = {};
189
+ for (let [i, a] of B) {
190
+ let o = e.evaluate(i, t);
191
+ if (!o) continue;
192
+ let s = { index: parseInt(o.getAttribute("idx") ?? "0", 10) || 0 }, c = n.processAdjColor(e, o);
193
+ c && (s.color = c), r[a] = s;
183
194
  }
184
- }, z = class {
195
+ let i = e.evaluate("fontRef", t);
196
+ if (i) {
197
+ let t = { index: i.getAttribute("idx") ?? "none" }, a = n.processAdjColor(e, i);
198
+ a && (t.color = a), r.font = t;
199
+ }
200
+ return r;
201
+ }, H = class {
185
202
  visit(e, t, n) {
186
- let r = {};
187
- if (M(e, t, r, "grouping", "grouping"), E(e, t, r, "varyColors", "varyColors"), _(e, t, r, "gapWidth", "gapWidth", .01), _(e, t, r, "overlap", "overlap", .01), this.parseType(e, t, r), g(e, t, r, "bubbleScale", "bubbleScale"), E(e, t, r, "showNegBubbles", "showNegativeBubbleValues"), E(e, t, r, "sizeRepresents", "bubbleSizeRepresentsWidth"), g(e, t, r, "firstSliceAng", "startAngle"), g(e, t, r, "holeSize", "holeSize"), M(e, t, r, "scatterStyle", "scatterStyle"), this.parseAxisIds(e, t, r), Object.keys(r).length > 0) {
188
- let t = e.getVisitorParamsState().get("types");
189
- 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);
190
- }
191
- return r;
203
+ if (!t) return;
204
+ let r = e.evaluate("*/cNvPr", t);
205
+ 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), this.readNonVisualDetails(e, r, n), e.copyFromAttribute(r, "id", n)), n;
192
206
  }
193
- parseType(e, t, n) {
194
- switch (t.localName) {
195
- case "areaChart":
196
- n.type = "area";
197
- break;
198
- case "bubbleChart":
199
- n.type = "bubble";
200
- break;
201
- case "doughnutChart":
202
- case "ofPieType":
203
- case "pieChart":
204
- n.type = "pie";
205
- break;
206
- case "lineChart":
207
- n.type = "line";
208
- break;
209
- case "scatterChart": n.type = "scatter";
210
- }
207
+ readNonVisualDetails(e, t, n) {
208
+ t.hasAttribute("title") && (n.title = t.getAttribute("title"));
209
+ let r = e.evaluate("hlinkClick", t);
210
+ r && (n.hyperlink = w(e, r));
211
+ let i = e.evaluate("hlinkHover", t);
212
+ i && (n.hoverHyperlink = w(e, i));
213
+ let a = e.evaluate("extLst", t), o = a ? e.serializeElement(a) : null;
214
+ o && (n.extLst = {
215
+ ...n.extLst,
216
+ nonVisual: o
217
+ });
218
+ }
219
+ setContent(e, t) {
220
+ let n = e;
221
+ n.name !== void 0 && (t.name = n.name, delete n.name), n.description !== void 0 && (t.description = n.description, delete n.description);
222
+ for (let e of [
223
+ "title",
224
+ "hyperlink",
225
+ "hoverHyperlink",
226
+ "extLst"
227
+ ]) n[e] !== void 0 && (t.json && (t.json[e] = n[e]), delete n[e]);
228
+ e.content = t;
211
229
  }
212
- parseAxisIds(e, t, n) {
213
- let r = e.evaluate("axId", t);
214
- r && r.length !== 0 && (n.xAxisId = r.item(0).getAttribute("val"), n.yAxisId = r.item(1).getAttribute("val"));
230
+ isGroupContent(e) {
231
+ return Array.isArray(e?.members);
215
232
  }
216
- }, B = (e, t, n) => {
217
- if (!0 === e.getValAttrAsBoolean("invertIfNegative", t)) {
218
- if (e.evaluate("extLst/ext/invertSolidFillFmt", t)) {
219
- if (n.fill && n.fillNegative) {
220
- let t = e.getFromPath(n, "fill.solid.adjs");
221
- t && e.setToPath(n, "fillNegative.solid.adjs", t);
233
+ readMemberHeader(e, t, n) {
234
+ let r = {}, i = {
235
+ anchor: void 0,
236
+ content: {
237
+ type: n,
238
+ json: r
222
239
  }
223
- } else {
224
- let e = { val: "FFFFFF" }, t = {};
225
- t.solid = e, n.fillNegative = t;
226
- let r = { val: "000000" }, i = {};
227
- i.solid = r;
228
- let a = {};
229
- a.fill = i, n.strokeNegative = a;
240
+ }, a = e.evaluate("*/cNvPr", t);
241
+ if (a?.item && (a = a.item(0)), a) {
242
+ let n = a.getAttribute("name");
243
+ n !== null && (i.content.name = n);
244
+ let o = a.getAttribute("descr");
245
+ o && (i.content.description = o), e.copyFromAttribute(a, "hidden", i, "hidden", e.BOOLEAN_COPY), this.readNonVisualDetails(e, a, r);
246
+ let s = this.readSourceId(e, t);
247
+ s !== void 0 && (r.sourceId = s);
230
248
  }
249
+ return {
250
+ movable: i,
251
+ content: r
252
+ };
253
+ }
254
+ readStyleRefs(e, n, r) {
255
+ let i = e.evaluate("style", n);
256
+ if (!i) return void (r.style = null);
257
+ let a = V(e, i), o = t.withoutDefaultStyleRefs({
258
+ ...r,
259
+ style: a
260
+ });
261
+ o && (r.style = o);
231
262
  }
232
- }, V = class {
263
+ readLocks(e) {
264
+ let t = e?.attributes;
265
+ if (!t || t.length === 0) return;
266
+ let n = {};
267
+ for (let e = 0; e < t.length; e++) {
268
+ let r = t.item(e);
269
+ r.name.startsWith("xmlns") || (n[r.localName ?? r.name] = g(r.value));
270
+ }
271
+ return Object.keys(n).length > 0 ? n : void 0;
272
+ }
273
+ readSourceId(e, t) {
274
+ let n = e.evaluate("*/cNvPr", t);
275
+ n?.item && (n = n.item(0));
276
+ let r = n?.getAttribute?.("id"), i = r ? parseInt(r, 10) : void 0;
277
+ return i === void 0 || isNaN(i) ? void 0 : i;
278
+ }
279
+ }, we = [
280
+ ["spDef", "shape"],
281
+ ["lnDef", "line"],
282
+ ["txDef", "text"]
283
+ ], U = (e, t) => {
284
+ let n = t.getAttribute("dxfId");
285
+ if (n === null) return;
286
+ let r = parseInt(n);
287
+ return e.getVisitorParamsState().get("dxfs")?.get(r) || (e.warn(`A color filter or sort names a format that does not exist (dxfId '${n}').`), {});
288
+ }, W = (e) => e === "1" || e === "true", G = class {
233
289
  visit(e, t, n) {}
234
290
  processDataBarColor(e, t, n, r, i = "auto") {
235
291
  if (!t) return;
236
- let a = P((e) => t.getAttribute(e), i);
292
+ let a = E((e) => t.getAttribute(e), i);
237
293
  return a && (n[r] = a), n;
238
294
  }
239
295
  processFonts(e, t, n) {
@@ -249,14 +305,19 @@ var F = class {
249
305
  return n;
250
306
  }
251
307
  processFont(e, t, n) {
252
- 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);
308
+ e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = o.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = b(!0));
253
309
  let r = e.evaluate("u", t);
254
- r && (n.underline = r.getAttribute("val") || i.UnderlineStyle.Single), M(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = i.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = i.VerticalAlignment.Sub), _(e, t, n, "sz", "size");
310
+ if (r) {
311
+ let e = r.getAttribute("val");
312
+ n.underline = T(e);
313
+ }
314
+ let i = k(e.evaluate("vertAlign", t)?.getAttribute("val"));
315
+ i !== void 0 && (n.baseline = i), ie(e, t, n, "sz", "size");
255
316
  let a = e.evaluate("color", t);
256
- this.processDataBarColor(e, a, n, "color"), n.color ||= "auto", M(e, t, n, "name", "family"), M(e, t, n, "rFont", "family");
257
- let o = e.evaluate("family", t);
258
- if (o) {
259
- let e = o.getAttribute("val");
317
+ this.processDataBarColor(e, a, n, "color"), n.color ||= "auto", C(e, t, n, "name", "family"), C(e, t, n, "rFont", "family");
318
+ let s = e.evaluate("family", t);
319
+ if (s) {
320
+ let e = s.getAttribute("val");
260
321
  if (e) switch (e) {
261
322
  case "1":
262
323
  n.fallbacks = ["serif"];
@@ -273,7 +334,12 @@ var F = class {
273
334
  case "5": n.fallbacks = ["fantasy"];
274
335
  }
275
336
  }
276
- return M(e, t, n, "scheme", "scheme"), n.family !== void 0 && n.scheme === void 0 && (n.scheme = i.Scheme.None), 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), g(e, t, n, "charset", "charset"), n;
337
+ x(n, e.evaluate("scheme", t)?.getAttribute("val")), M(e, t, n, "shadow", "shadow", !0), M(e, t, n, "outline", "outline", !0);
338
+ for (let r of ["condense", "extend"]) {
339
+ let i = F(r, !!e.getValAttrAsBoolean(r, t, !0));
340
+ i !== void 0 && (n.letterSpacing = i);
341
+ }
342
+ return ee(e, t, n, "charset", "charset"), n;
277
343
  }
278
344
  processFills(e, t, n) {
279
345
  if (!t) return;
@@ -284,29 +350,29 @@ var F = class {
284
350
  }
285
351
  return n;
286
352
  }
287
- processFill(e, n, r, i) {
288
- let a = { type: t.Type.None }, o = n.childNodes, s = !1, c = o.length;
353
+ processFill(e, t, n, i) {
354
+ let a = { type: r.Type.None }, o = t.childNodes, s = !1, c = o.length;
289
355
  for (let t = 0; !s && t < c; t++) {
290
356
  let n = o.item(t);
291
357
  n.nodeType === 1 && (n.localName === "gradientFill" ? (this.processGradientFill(e, n, a), s = !0) : n.localName === "patternFill" && (this.processPatternFill(e, n, a), s = !0));
292
358
  }
293
- return r[i] = a, r;
359
+ return n[i] = a, n;
294
360
  }
295
- processGradientFill(e, n, r) {
296
- if (!n) return;
297
- r.type = t.Type.Gradient;
361
+ processGradientFill(e, t, n) {
362
+ if (!t) return;
363
+ n.type = r.Type.Gradient;
298
364
  let i = [];
299
- r.stops = i;
300
- let a = n.getAttribute("type");
301
- a && (r.gradientType = a);
302
- let o = n.hasAttribute("degree") ? parseFloat(n.getAttribute("degree")) : 0;
303
- (o + 90) % 360 != 0 && (r.angle = (o + 90) % 360), (n.hasAttribute("left") || n.hasAttribute("top") || n.hasAttribute("right") || n.hasAttribute("bottom")) && (r.focus = {
304
- left: H(n.getAttribute("left")),
305
- top: H(n.getAttribute("top")),
306
- right: H(n.getAttribute("right")),
307
- bottom: H(n.getAttribute("bottom"))
365
+ n.stops = i;
366
+ let a = t.getAttribute("type");
367
+ a && (n.gradientType = a);
368
+ let o = t.hasAttribute("degree") ? parseFloat(t.getAttribute("degree")) : 0;
369
+ (o + 90) % 360 != 0 && (n.angle = (o + 90) % 360), (t.hasAttribute("left") || t.hasAttribute("top") || t.hasAttribute("right") || t.hasAttribute("bottom")) && (n.focus = {
370
+ left: K(t.getAttribute("left")),
371
+ top: K(t.getAttribute("top")),
372
+ right: K(t.getAttribute("right")),
373
+ bottom: K(t.getAttribute("bottom"))
308
374
  });
309
- let s = n.childNodes, c = s.length;
375
+ let s = t.childNodes, c = s.length;
310
376
  for (let t = 0; t < c; t++) {
311
377
  let n = s.item(t);
312
378
  if (n.nodeType === 1 && n.localName === "stop") {
@@ -316,22 +382,22 @@ var F = class {
316
382
  this.processDataBarColor(e, r, t, "color");
317
383
  }
318
384
  }
319
- return r;
385
+ return n;
320
386
  }
321
- processPatternFill(e, n, r) {
322
- if (!n) return;
323
- let i = e.getVisitorParamsState().get("processingDXFs"), a = n.getAttribute("patternType") || (i ? t.BuiltInSheetPattern.Solid : t.BuiltInSheetPattern.None);
324
- if (a === t.BuiltInSheetPattern.None) return { none: !0 };
325
- r.type = t.Type.Pattern, a && (r.patternType = a);
326
- let o = "foreground", s = "background", c = r.patternType === t.BuiltInSheetPattern.Solid && i, l = c ? "dk1" : "lt1", u = c ? "lt1" : "dk1";
387
+ processPatternFill(e, t, n) {
388
+ if (!t) return;
389
+ let i = e.getVisitorParamsState().get("processingDXFs"), a = t.getAttribute("patternType") || (i ? r.BuiltInSheetPattern.Solid : r.BuiltInSheetPattern.None);
390
+ if (a === r.BuiltInSheetPattern.None) return { none: !0 };
391
+ n.type = r.Type.Pattern, a && (n.patternType = a);
392
+ let o = "foreground", s = "background", c = n.patternType === r.BuiltInSheetPattern.Solid && i, l = c ? "dk1" : "lt1", u = c ? "lt1" : "dk1";
327
393
  if (c) {
328
394
  let e = o;
329
395
  o = s, s = e;
330
396
  }
331
- let d = e.evaluate("fgColor", n);
332
- this.processDataBarColor(e, d, r, o, l);
333
- let f = e.evaluate("bgColor", n);
334
- return this.processDataBarColor(e, f, r, s, u), c && (r.foreground ||= "lt1", r.background ||= "dk1"), r;
397
+ let d = e.evaluate("fgColor", t);
398
+ this.processDataBarColor(e, d, n, o, l);
399
+ let f = e.evaluate("bgColor", t);
400
+ return this.processDataBarColor(e, f, n, s, u), c && (n.foreground ||= "lt1", n.background ||= "dk1"), n;
335
401
  }
336
402
  processBorders(e, t, n, r) {
337
403
  if (!t) return;
@@ -342,29 +408,39 @@ var F = class {
342
408
  }
343
409
  return n;
344
410
  }
345
- processBorder(e, t, r, i, a) {
411
+ processBorder(e, t, n, r, a) {
346
412
  if (!t) return;
347
413
  let o = {};
348
- return this.processBorderStroke(e, t, o, n.Edge.Left), this.processBorderStroke(e, t, o, n.Edge.Right), a ? (o.right || o.left) && (o.vertical = o.right ? { ...o.right } : { ...o.left }) : this.processBorderStroke(e, t, o, n.Edge.Vertical), this.processBorderStroke(e, t, o, n.Edge.Top), this.processBorderStroke(e, t, o, n.Edge.Bottom), a ? (o.bottom || o.top) && (o.horizontal = o.bottom ? { ...o.bottom } : { ...o.top }) : this.processBorderStroke(e, t, o, n.Edge.Horizontal), r[i] = o, r;
414
+ this.processBorderStroke(e, t, o, i.Edge.Left), this.processBorderStroke(e, t, o, i.Edge.Right), a ? (o.right || o.left) && (o.vertical = o.right ? { ...o.right } : { ...o.left }) : this.processBorderStroke(e, t, o, i.Edge.Vertical), this.processBorderStroke(e, t, o, i.Edge.Top), this.processBorderStroke(e, t, o, i.Edge.Bottom), a ? (o.bottom || o.top) && (o.horizontal = o.bottom ? { ...o.bottom } : { ...o.top }) : this.processBorderStroke(e, t, o, i.Edge.Horizontal);
415
+ let s = this.processBorderStroke(e, t, {}, "diagonal");
416
+ return s && (W(t.getAttribute("diagonalUp")) && (o.diagonalUp = { ...s }), W(t.getAttribute("diagonalDown")) && (o.diagonalDown = { ...s })), n[r] = o, n;
349
417
  }
350
- processBorderStroke(e, t, r, i) {
418
+ processBorderStroke(e, t, n, r) {
351
419
  if (!t) return;
352
- let a = e.evaluate(i, t);
420
+ let a = e.evaluate(r, t);
353
421
  if (!a) return;
354
422
  let o = {};
355
- a.hasAttribute("style") ? o.style = a.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (o.style = n.StrokeStyle.None);
423
+ a.hasAttribute("style") ? o.style = a.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (o.style = i.StrokeStyle.None);
356
424
  let s = e.evaluate("color", a);
357
- return s && this.processDataBarColor(e, s, o, "color"), Object.keys(o).length > 0 ? r[i] = o : null;
425
+ return s && this.processDataBarColor(e, s, o, "color"), Object.keys(o).length > 0 ? n[r] = o : null;
358
426
  }
359
- }, H = (e) => {
427
+ }, K = (e) => {
360
428
  if (!e) return 0;
361
429
  let t = parseFloat(e);
362
430
  return isNaN(t) ? 0 : t;
363
- }, U = new Set(Object.values(d.ElementType).filter((e) => e !== d.ElementType.WholeTable && e !== d.ElementType.HeaderRow)), W = {
431
+ }, q = (e, t) => {
432
+ if (!e || e.nodeType !== 1) return null;
433
+ let n = e.childNodes;
434
+ for (let e = 0; e < n.length; e++) {
435
+ let r = n.item(e);
436
+ if (r.nodeType === 1 && r.localName === t) return r;
437
+ }
438
+ return null;
439
+ }, Te = new Set(Object.values(u.ElementType).filter((e) => e !== u.ElementType.WholeTable && e !== u.ElementType.HeaderRow)), Ee = {
364
440
  auto: "auto",
365
441
  autoNoTable: "automaticExceptTables",
366
442
  manual: "manual"
367
- }, G = [
443
+ }, J = [
368
444
  "tableId",
369
445
  "columnId",
370
446
  "cacheName",
@@ -373,10 +449,10 @@ var F = class {
373
449
  "sortOrder",
374
450
  "customListSort",
375
451
  "crossFilter"
376
- ], K = (e, t) => {
452
+ ], Y = (e, t) => {
377
453
  let n = e.content, r = n?.json;
378
454
  if (r) {
379
- if (n.type === "shape" || t && n.type === "picture") {
455
+ if (n.type === "shape" || n.type === "picture") {
380
456
  let { rotation: n, flipH: i, flipV: a, bounds: o } = r;
381
457
  delete r.rotation, delete r.flipH, delete r.flipV, delete r.bounds, n !== void 0 && n !== 0 && (e.rotation = n), i && (e.flipH = !0), a && (e.flipV = !0), t && o && (e.anchor = {
382
458
  tl: {
@@ -389,135 +465,41 @@ var F = class {
389
465
  }
390
466
  });
391
467
  }
392
- if (n.type === "group") for (let e of r.members ?? []) K(e, !0);
468
+ if (n.type === "group") for (let e of r.members ?? []) Y(e, !0);
393
469
  }
394
- }, ce = [
395
- ["fillRef", "fill"],
396
- ["lnRef", "stroke"],
397
- ["effectRef", "effect"]
398
- ], q = class {
399
- visit(e, t, n) {
400
- if (!t) return;
401
- let r = e.evaluate("*/cNvPr", t);
402
- 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), this.readNonVisualDetails(e, r, n), e.copyFromAttribute(r, "id", n)), n;
403
- }
404
- readNonVisualDetails(e, t, n) {
405
- t.hasAttribute("title") && (n.title = t.getAttribute("title"));
406
- let r = e.evaluate("hlinkClick", t);
407
- r && (n.hyperlink = j(e, r));
408
- let i = e.evaluate("hlinkHover", t);
409
- i && (n.hoverHyperlink = j(e, i));
410
- let a = e.evaluate("extLst", t), o = a ? e.serializeElement(a) : null;
411
- o && (n.extLst = {
412
- ...n.extLst,
413
- nonVisual: o
414
- });
415
- }
416
- setContent(e, t) {
417
- let n = e;
418
- n.name !== void 0 && (t.name = n.name, delete n.name), n.description !== void 0 && (t.description = n.description, delete n.description);
419
- for (let e of [
420
- "title",
421
- "hyperlink",
422
- "hoverHyperlink",
423
- "extLst"
424
- ]) n[e] !== void 0 && (t.json && (t.json[e] = n[e]), delete n[e]);
425
- e.content = t;
426
- }
427
- isGroupContent(e) {
428
- return Array.isArray(e?.members);
429
- }
430
- readMemberHeader(e, t, n) {
431
- let r = {}, i = {
432
- anchor: void 0,
433
- content: {
434
- type: n,
435
- json: r
436
- }
437
- }, a = e.evaluate("*/cNvPr", t);
438
- if (a?.item && (a = a.item(0)), a) {
439
- let n = a.getAttribute("name");
440
- n !== null && (i.content.name = n);
441
- let o = a.getAttribute("descr");
442
- o && (i.content.description = o), e.copyFromAttribute(a, "hidden", i, "hidden", e.BOOLEAN_COPY), this.readNonVisualDetails(e, a, r);
443
- let s = this.readSourceId(e, t);
444
- s !== void 0 && (r.sourceId = s);
445
- }
446
- return {
447
- movable: i,
448
- content: r
449
- };
450
- }
451
- readStyleRefs(e, t, n) {
452
- let r = e.evaluate("style", t);
453
- if (!r) return void (n.style = null);
454
- let i = new w(), a = {};
455
- for (let [t, n] of ce) {
456
- let o = e.evaluate(t, r);
457
- if (!o) continue;
458
- let s = { index: parseInt(o.getAttribute("idx") ?? "0", 10) || 0 }, c = i.processAdjColor(e, o);
459
- c && (s.color = c), a[n] = s;
460
- }
461
- let o = e.evaluate("fontRef", r);
462
- if (o) {
463
- let t = { index: o.getAttribute("idx") ?? "none" }, n = i.processAdjColor(e, o);
464
- n && (t.color = n), a.font = t;
465
- }
466
- let s = p.withoutDefaultStyleRefs({
467
- ...n,
468
- style: a
469
- });
470
- s && (n.style = s);
471
- }
472
- readLocks(e) {
473
- let t = e?.attributes;
474
- if (!t || t.length === 0) return;
475
- let n = {};
476
- for (let e = 0; e < t.length; e++) {
477
- let r = t.item(e);
478
- r.name.startsWith("xmlns") || (n[r.localName ?? r.name] = S(r.value));
479
- }
480
- return Object.keys(n).length > 0 ? n : void 0;
481
- }
482
- readSourceId(e, t) {
483
- let n = e.evaluate("*/cNvPr", t);
484
- n?.item && (n = n.item(0));
485
- let r = n?.getAttribute?.("id"), i = r ? parseInt(r, 10) : void 0;
486
- return i === void 0 || isNaN(i) ? void 0 : i;
487
- }
488
- }, J = class extends q {
470
+ }, X = class extends H {
489
471
  visit(e, t, n) {
490
472
  if (t) return this.visitShape(e, t, n, "sp", "nvSpPr/cNvSpPr/spLocks");
491
473
  }
492
474
  visitShape(e, t, n, r, i) {
493
- let a = y[r];
475
+ let o = me[r];
494
476
  if (this.isGroupContent(n)) {
495
477
  if (e.getPath().includes("Fallback")) return {};
496
- let { movable: o, content: s } = this.readMemberHeader(e, t, "shape");
497
- a !== m.Type.Shape && (s.type = a), this.readStyleRefs(e, t, s), this.readShapeDetails(e, t, r, i, s);
498
- let c = e.evaluate(i, t);
499
- c?.hasAttribute?.("noChangeAspect") && (o.lockAspect = c.getAttribute("noChangeAspect") === "1");
500
- let l = this.readTwinOf(e, t);
501
- return l !== void 0 && Object.assign(s, { twinOf: l }), n.members.push(o), s;
478
+ let { movable: s, content: c } = this.readMemberHeader(e, t, "shape");
479
+ o !== a.Type.Shape && (c.type = o), this.readShapeDetails(e, t, r, i, c), this.readStyleRefs(e, t, c);
480
+ let l = e.evaluate(i, t);
481
+ l?.hasAttribute?.("noChangeAspect") && (s.lockAspect = l.getAttribute("noChangeAspect") === "1");
482
+ let u = this.readTwinOf(e, t);
483
+ return u !== void 0 && Object.assign(c, { twinOf: u }), n.members.push(s), c;
502
484
  }
503
485
  if (e.getPath().includes("Fallback") && n.content) {
504
486
  let r = n.content.json;
505
- if (n.content.type === "shape" && r && (r.type ?? m.Type.Shape) === a) {
506
- let n = e.evaluate("txBody", t), i = n ? new O().readTextBody(e, n) : null;
507
- i && D(i) !== "" && (r.text = i);
487
+ if (n.content.type === "shape" && r && (r.type ?? a.Type.Shape) === o) {
488
+ let n = e.evaluate("txBody", t), i = n ? new P().readTextBody(e, n) : null;
489
+ i && se(i) !== "" && (r.text = i);
508
490
  }
509
491
  return {};
510
492
  }
511
493
  n = super.visit(e, t, n);
512
- let o = e.evaluate(i, t);
513
- o?.hasAttribute?.("noChangeAspect") && (n.lockAspect = o.getAttribute("noChangeAspect") === "1");
514
- let s = a === m.Type.Shape ? {} : { type: a }, c = this.readSourceId(e, t);
515
- c !== void 0 && (s.sourceId = c), this.readStyleRefs(e, t, s), this.readShapeDetails(e, t, r, i, s);
516
- let l = this.readTwinOf(e, t);
517
- return l !== void 0 && Object.assign(s, { twinOf: l }), this.setContent(n, {
494
+ let s = e.evaluate(i, t);
495
+ s?.hasAttribute?.("noChangeAspect") && (n.lockAspect = s.getAttribute("noChangeAspect") === "1");
496
+ let c = o === a.Type.Shape ? {} : { type: o }, l = this.readSourceId(e, t);
497
+ l !== void 0 && (c.sourceId = l), this.readShapeDetails(e, t, r, i, c), this.readStyleRefs(e, t, c);
498
+ let u = this.readTwinOf(e, t);
499
+ return u !== void 0 && Object.assign(c, { twinOf: u }), this.setContent(n, {
518
500
  type: "shape",
519
- json: s
520
- }), s;
501
+ json: c
502
+ }), c;
521
503
  }
522
504
  readTwinOf(e, t) {
523
505
  let n = e.evaluate("*/cNvPr/extLst/ext/compatExt", t);
@@ -529,7 +511,7 @@ var F = class {
529
511
  let a = t.getAttribute("macro");
530
512
  a && (i.macro = a);
531
513
  let o = t.getAttribute("textlink");
532
- o && (i.textLink = o), t.hasAttribute("fLocksText") && (i.locksText = S(t.getAttribute("fLocksText"))), t.hasAttribute("fPublished") && (i.published = S(t.getAttribute("fPublished")));
514
+ o && (i.textLink = o), t.hasAttribute("fLocksText") && (i.locksText = g(t.getAttribute("fLocksText"))), t.hasAttribute("fPublished") && (i.published = g(t.getAttribute("fPublished")));
533
515
  let s = r.slice(0, r.lastIndexOf("/")), c = e.evaluate(s, t);
534
516
  c?.getAttribute?.("txBox") === "1" && (i.textBox = !0);
535
517
  let l = this.readLocks(e.evaluate(r, t));
@@ -544,25 +526,25 @@ var F = class {
544
526
  (n || r) && (i.connectorEnds = {}, n && (i.connectorEnds.start = n), r && (i.connectorEnds.end = r));
545
527
  }
546
528
  }
547
- }, Y = (e, t, n, r) => {
529
+ }, De = /^<a:extLst(?:\s+xmlns:a="[^"]*")?><a:ext uri="\{28A0092B-C50C-407E-A947-70E740481C1C\}"><a14:useLocalDpi(?:\s+xmlns:a14="[^"]*")?\s+val="0"\s*\/><\/a:ext><\/a:extLst>$/, Z = (e, t, n, r) => {
548
530
  let i = e.evaluate(n, t), a = e.evaluate(r, t);
549
531
  return i || a ? {
550
- x: T(i?.getAttribute("x") ?? null) ?? 0,
551
- y: T(i?.getAttribute("y") ?? null) ?? 0,
552
- width: T(a?.getAttribute("cx") ?? null) ?? 0,
553
- height: T(a?.getAttribute("cy") ?? null) ?? 0
532
+ x: _(i?.getAttribute("x") ?? null) ?? 0,
533
+ y: _(i?.getAttribute("y") ?? null) ?? 0,
534
+ width: _(a?.getAttribute("cx") ?? null) ?? 0,
535
+ height: _(a?.getAttribute("cy") ?? null) ?? 0
554
536
  } : null;
555
- }, X = "richTypes", Z = "richData", Q = (e) => {
537
+ }, Oe = { Checkbox: "checkbox" }, Q = (e) => {
556
538
  let t = e.getAttribute("val");
557
539
  return t !== "0" && t !== "false";
558
- }, le = {
540
+ }, ke = {
559
541
  1: "serif",
560
542
  2: "sans-serif",
561
543
  3: "monospace",
562
544
  4: "cursive",
563
545
  5: "fantasy"
564
546
  };
565
- function ue(e) {
547
+ function Ae(e) {
566
548
  let t = {}, n = e.childNodes;
567
549
  for (let e = 0; e < n.length; e++) {
568
550
  let r = n.item(e);
@@ -571,10 +553,10 @@ function ue(e) {
571
553
  t.weight = Q(r) ? 700 : 400;
572
554
  break;
573
555
  case "i":
574
- t.style = Q(r) ? i.Style.Italic : i.Style.Normal;
556
+ t.style = Q(r) ? o.Style.Italic : o.Style.Normal;
575
557
  break;
576
558
  case "strike":
577
- t.strike = Q(r);
559
+ t.strike = b(Q(r));
578
560
  break;
579
561
  case "outline":
580
562
  t.outline = Q(r);
@@ -582,15 +564,18 @@ function ue(e) {
582
564
  case "shadow":
583
565
  t.shadow = Q(r);
584
566
  break;
585
- case "extend":
586
- t.extend = Q(r);
567
+ case "condense":
568
+ case "extend": {
569
+ let e = F(r.localName, Q(r));
570
+ e !== void 0 && (t.letterSpacing = e);
587
571
  break;
572
+ }
588
573
  case "u":
589
- t.underline = r.getAttribute("val") || i.UnderlineStyle.Single;
574
+ t.underline = T(r.getAttribute("val"));
590
575
  break;
591
576
  case "vertAlign": {
592
- let e = r.getAttribute("val");
593
- e === "superscript" ? t.verticalAlign = i.VerticalAlignment.Super : e === "subscript" ? t.verticalAlign = i.VerticalAlignment.Sub : e === "baseline" && (t.verticalAlign = i.VerticalAlignment.Baseline);
577
+ let e = k(r.getAttribute("val"));
578
+ e !== void 0 && (t.baseline = e);
594
579
  break;
595
580
  }
596
581
  case "sz": {
@@ -604,7 +589,7 @@ function ue(e) {
604
589
  break;
605
590
  }
606
591
  case "family": {
607
- let e = le[r.getAttribute("val") ?? ""];
592
+ let e = ke[r.getAttribute("val") ?? ""];
608
593
  e && (t.fallbacks = [e]);
609
594
  break;
610
595
  }
@@ -613,18 +598,16 @@ function ue(e) {
613
598
  isNaN(e) || (t.charset = e);
614
599
  break;
615
600
  }
616
- case "scheme": {
617
- let e = r.getAttribute("val");
618
- e && (t.scheme = e);
601
+ case "scheme":
602
+ x(t, r.getAttribute("val"));
619
603
  break;
620
- }
621
604
  case "color": {
622
605
  let e = r.getAttribute("rgb");
623
606
  if (e && !r.hasAttribute("theme")) {
624
607
  t.color = "#" + (e.length === 8 ? e.substring(2) : e).toUpperCase();
625
608
  break;
626
609
  }
627
- let n = P((e) => r.getAttribute(e));
610
+ let n = E((e) => r.getAttribute(e));
628
611
  n && (t.color = n);
629
612
  break;
630
613
  }
@@ -668,14 +651,37 @@ var $ = {
668
651
  },
669
652
  AppPropertiesVisitor: class {
670
653
  visit(e, t, n) {
671
- let r = [], i = t.childNodes, a = i.length;
672
- for (let t = 0; t < a; t++) {
673
- let n = i.item(t);
654
+ let r = t.childNodes, i = r.length;
655
+ for (let e = 0; e < i; e++) if (r.item(e).localName === "property") return this.visitCustom(t, n);
656
+ let a = [];
657
+ for (let t = 0; t < i; t++) {
658
+ let n = r.item(t);
674
659
  if (n.nodeType !== 1) continue;
675
- let a = this.processProperty(e, n);
676
- a && r.push(a);
660
+ let i = this.processProperty(e, n);
661
+ i && a.push(i);
677
662
  }
678
- return r.length > 0 && (n.properties = r), r;
663
+ return a.length > 0 && (n.properties = a), a;
664
+ }
665
+ visitCustom(e, t) {
666
+ let n = [], r = e.childNodes, i = r.length;
667
+ for (let e = 0; e < i; e++) {
668
+ let t = r.item(e);
669
+ if (t.nodeType !== 1 || t.localName !== "property") continue;
670
+ let i = t.getAttribute("name");
671
+ if (!i) continue;
672
+ let a = null;
673
+ for (let e = 0; e < t.childNodes.length && !a; e++) {
674
+ let n = t.childNodes.item(e);
675
+ n.nodeType === 1 && (a = n);
676
+ }
677
+ let o = {
678
+ key: i,
679
+ kind: a?.localName ?? null,
680
+ value: a?.textContent ?? ""
681
+ }, s = t.getAttribute("linkTarget");
682
+ s && (o.linkTarget = s), n.push(o);
683
+ }
684
+ return n.length > 0 && (t.custom = n), n;
679
685
  }
680
686
  processProperty(e, t) {
681
687
  if (t) return {
@@ -684,272 +690,37 @@ var $ = {
684
690
  };
685
691
  }
686
692
  },
687
- ChartSpaceVisitor: class {
688
- visit(e, t, n) {
689
- return E(e, t, n, "roundedCorners", "roundedCorners"), g(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
690
- }
691
- afterVisit(e, t, n) {
692
- let r = {};
693
- n.types = r;
694
- let i = {}, a = 0, o = {}, s = 0, c = e.getVisitorParamsState().get("axes"), l = e.getVisitorParamsState().get("types"), u = l.length;
695
- for (let e = 0; e < u; e++) {
696
- let t = l[e];
697
- if (t.xAxisId) {
698
- let r = t.xAxisId, o = c.get(r);
699
- i[e + ""] = o, t.offsetXAxis = e, delete t.xAxisId, n.xAxes = i, i.length = ++a;
700
- }
701
- if (t.yAxisId) {
702
- let r = t.yAxisId, i = c.get(r);
703
- o[e + ""] = i, t.offsetYAxis = e, delete t.yAxisId, n.yAxes = o, o.length = ++s;
704
- }
705
- r[e + ""] = t;
706
- }
707
- r.length = l.length;
708
- let d = e.getVisitorParamsState().get("series");
709
- if (!d || d.length === 0) return;
710
- let f = {};
711
- n.series = f;
712
- let p = d.length;
713
- for (let e = 0; e < p; e++) f[e + ""] = d[e];
714
- f.length = p, e.getVisitorParamsState().delete("types"), e.getVisitorParamsState().delete("axes"), e.getVisitorParamsState().delete("series");
715
- }
716
- },
717
- ChartVisitor: class {
718
- visit(e, t, n) {
719
- return e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), E(e, t, n, "plotVisOnly", "plotVisOnly"), M(e, t, n, "dispBlanksAs", "dispBlanksAs"), E(e, t, n, ".//extLst/ext/dataDisplayOptions16/dispNaAsBlank", "dispNaAsBlank"), E(e, t, n, "showDLblsOverMax", "showDLblsOverMax"), n;
720
- }
721
- afterVisit(e, t, n) {
722
- try {
723
- let r = e.getValAttrAsBoolean("autoTitleDeleted", t), i = e.evaluate("title", t);
724
- e.setToPath(n, "title.shown", !(!0 === r || !i));
725
- let a = e.evaluate("legend", t);
726
- e.setToPath(n, "legend.shown", a !== null);
727
- } catch (e) {
728
- throw Error("Unexpected Error parsing Chart: " + e);
729
- }
730
- }
731
- },
732
- PlotAreaVisitor: class {
733
- visit(e, t, n) {
734
- let r = {};
735
- return n.plotArea = r, r;
736
- }
737
- },
738
- ShapePropertiesVisitor: v,
739
- BarChartTypeVisitor: class extends z {
740
- parseType(e, t, n) {
741
- let r = e.getValAttrAsString("barDir", t);
742
- r && (n.type = r === "col" ? "column" : "bar");
743
- }
744
- },
745
- ChartTypeVisitor: z,
746
- DataLabelsVisitor: class {
747
- constructor(e) {
748
- this.jsonKey = e;
749
- }
750
- visit(e, t, n) {
751
- let r = {}, i = r, a = e.getValAttrAsString("idx", t);
752
- a !== null && (i = {}, i[a] = r);
753
- let o = e.getValAttrAsBoolean("delete", t);
754
- 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"));
755
- let s = e.evaluate("separator", t);
756
- return s !== null && (r.separator = s.textContent), M(e, t, r, "dLblPos", "position"), n[this.jsonKey] = i, r;
757
- }
758
- parseNumFormat(e, t, n) {
759
- let r = e.evaluate("numFmt", t);
760
- r && (n.formatCode = r.getAttribute("formatCode"), r.hasAttribute("sourceLinked") && (n.sourceLinked = r.getAttribute("sourceLinked") === "1"));
761
- }
762
- },
763
- SeriesVisitor: class {
693
+ ShapePropertiesVisitor: S,
694
+ TextPropertiesVisitor: ge,
695
+ ShapeTextVisitor: P,
696
+ ThemeVisitor: class {
764
697
  visit(e, t, n) {
765
- let r = {};
766
- g(e, t, r, "explosion", "explosion");
767
- let i = e.evaluate("cat/*/f", t);
768
- i ||= e.evaluate("xVal/*/f", t);
769
- let a = null;
770
- i !== null && i.firstChild !== null && (a = i.firstChild.nodeValue), i || (i = e.evaluate("cat/strLit", t), i ||= e.evaluate("cat/numLit", t), i && (a = this.parsePointsAsString(e, i))), a !== null && (r.xRange = a);
771
- let o = e.evaluate("val/*/f", t);
772
- o ||= e.evaluate("yVal/*/f", t);
773
- let s = null;
774
- 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), g(e, t, r, "idx", "idx"), E(e, t, r, "smooth", "smooth"), r.offsetChart = e.getVisitorParamsState().get("types").length - 1;
775
- let c = e.getVisitorParamsState().get("series");
776
- return c || (c = [], e.getVisitorParamsState().set("series", c)), c.push(r), r;
777
- }
778
- parseTitleRangeOrValue(e, t, n) {
779
- let r = e.evaluate("tx/strRef/f", t);
780
- if (r !== null) {
781
- let t = r.firstChild.nodeValue;
782
- e.setToPath(n, "title.range", t);
783
- } else {
784
- let r = e.evaluate("tx/v", t);
785
- r !== null && e.setToPath(n, "title.text.simpleRun", r.firstChild.nodeValue);
786
- }
787
- }
788
- parsePointsAsString(e, t) {
789
- let n = "{", r = e.getValAttrAsInteger("ptCount", t), i = e.evaluate("pt", t), a = [];
790
- for (let n = 0; i && r && n < r; n++) {
791
- let r = null, i = e.evaluate("pt[@idx='" + n + "']/v", t);
792
- i && (r = i.textContent), a[n] = r;
793
- }
794
- for (let e = 0; e < a.length; e++) e > 0 && (n += ","), a[e] !== void 0 && (n += a[e]);
795
- return n += "}", n;
796
- }
797
- afterVisit(e, t, n) {
798
- B(e, t, n);
799
- let r = e.getFromPath(n, "points");
698
+ n.name = t.getAttribute("name"), n.objectDefaults = {};
699
+ let r = z(t, "custClrLst")[0];
800
700
  if (r) {
801
- let t = Object.keys(r);
802
- for (let i = 0; i < t.length; i++) {
803
- let a = t[i], o = e.getFromPath(r, a);
804
- if (!o) continue;
805
- let s = e.getFromPath(o, "markers");
806
- s && (e.setToPath(n, "markers.points." + a, s), delete o.markers);
701
+ let t = new N(), i = [];
702
+ for (let n of z(r, "custClr")) {
703
+ let r = t.processAdjColor(e, n);
704
+ if (!r) continue;
705
+ let a = { color: r }, o = n.getAttribute("name");
706
+ o && (a.name = o), i.push(a);
807
707
  }
708
+ i.length && (n.customColors = i);
808
709
  }
809
- }
810
- },
811
- DataPointVisitor: class {
812
- DataPointVisitor() {}
813
- visit(e, t, n) {
814
- let r = e.getFromPath(n, "points"), i = null;
815
- r ? i = r : (i = {}, e.setToPath(n, "points", i));
816
- let a = {}, o = e.getValAttrAsString("idx", t);
817
- return o !== null && (i[o] = a), E(e, t, a, "bubble3D", "bubble3D"), g(e, t, a, "explosion", "explosion"), B(e, t, a), a;
818
- }
819
- },
820
- MarkerVisitor: class {
821
- visit(e, t, n) {
822
- let r = t.parentNode.localName;
823
- if (r === "ser" || r === "dPt") {
824
- let r = {}, i = e.getValAttrAsString("size", t);
825
- i !== null && (r.size = i);
826
- let a = e.getValAttrAsString("symbol", t);
827
- return a && (r.type = a), n.markers = r, r;
828
- }
829
- return null;
830
- }
831
- },
832
- AxisVisitor: class {
833
- visit(e, t, n) {
834
- let r = {};
835
- this.parseScaling(e, t, r), _(e, t, r, "majorUnit", "majorUnits"), _(e, t, r, "minorUnit", "minorUnits"), E(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), M(e, t, r, "majorTickMark", "majorTickMarks"), M(e, t, r, "minorTickMark", "minorTickMarks"), M(e, t, r, "crosses", "crosses"), _(e, t, r, "crossesAt", "crosses"), M(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), g(e, t, r, "lblOffset", "labelOffset"), M(e, t, r, "tickLblPos", "labelPosition");
836
- let i = e.getValAttrAsInteger("noMultiLvlLbl", t);
837
- r.labelMultiLevel = i !== null && i === 0, g(e, t, r, "tickMarkSkip", "tickMarkSkip"), g(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"), M(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()));
838
- let a = e.getValAttrAsString("axId", t);
839
- return e.getVisitorParamsState().get("axes").set(a, r), r;
840
- }
841
- parseTimeUnits(e, t, n, r, i, a) {
842
- let o = {}, s = e.getValAttrAsString(i, t);
843
- s !== null && (o.dem = s, o.amt = e.getValAttrAsString(a, t)), Object.keys(o).length > 0 && (n[r] = o);
844
- }
845
- parseDisplayCustOrBuiltInUnit(e, t, n) {
846
- let r = t.getValAttrAsString("dispUnits/builtInUnit", e);
847
- r ||= t.getValAttrAsString("dispUnits/custUnit", e), r && (n.displayUnits = r);
848
- }
849
- parseLabelAlign(e, t, n) {
850
- let r = e.getValAttrAsString("lblAlgn", t);
851
- r !== null && (r === "ctr" ? n.labelAlign = "center" : r === "l" ? n.labelAlign = "left" : r === "r" && (n.labelAlign = "right"));
852
- }
853
- parseOrientation(e, t, n) {
854
- let r = e.getValAttrAsString("AxPos", t);
855
- r !== null && (r === "b" ? n.orientation = "bottom" : r === "l" ? n.orientation = "left" : r === "r" ? n.orientation = "right" : r === "t" && (n.orientation = "top"));
856
- }
857
- parseNumFormat(e, t, n) {
858
- let r = {}, i = e.evaluate("numFmt", t);
859
- i !== null && (i.hasAttribute("formatCode") && (r.formatCode = i.getAttribute("formatCode")), i.hasAttribute("sourceLinked") && (r.sourceLinked = i.getAttribute("sourceLinked") === "1")), Object.keys(r).length > 0 && (n.labels = r);
860
- }
861
- parseScaling(e, t, n) {
862
- let r = e.getValAttrAsString("scaling/orientation", t);
863
- r !== null && (n.inverted = r !== "minMax");
864
- let i = e.getValAttrAsFloat("scaling/logBase", t);
865
- i !== null && (n.logBase = i, n.scaleType = "log"), _(e, t, n, "scaling/max", "max"), _(e, t, n, "scaling/min", "min");
866
- }
867
- afterVisit(e, t, n) {
868
- n.fill && n.labels && (n.labels.fill = n.fill, delete n.fill);
869
- let r = e.getValAttrAsBoolean("delete", t);
870
- r !== null && (e.setToPath(n, "labels.shown", !0 !== r), e.setToPath(n, "shown", !0 !== r));
871
- let i = e.getFromPath(n, "dispUnits.displayUnitsLabel");
872
- i && (e.setToPath(n, "displayUnitsLabel", i), delete n.dispUnits);
873
- let a = e.evaluate("title", t);
874
- e.setToPath(n, "title.shown", a !== null);
875
- let o = e.evaluate("minorGridlines", t);
876
- e.setToPath(n, "gridLinesMinor.shown", o !== null);
877
- let s = e.evaluate("majorGridlines", t);
878
- e.setToPath(n, "gridLinesMajor.shown", s !== null);
879
- }
880
- },
881
- TextPropertiesVisitor: A,
882
- ShapeTextVisitor: O,
883
- LegendEntryVisitor: class {
884
- visit(e, t, n) {
885
- let r = e.getVisitorParamsState().get("series"), i = e.getValAttrAsInteger("idx", t), a = i === null ? void 0 : r[i];
886
- if (a) {
887
- let n = e.getFromPath(a, "title");
888
- n || (n = {}, e.setToPath(a, "title", n));
889
- let r = n, i = e.getValAttrAsBoolean("delete", t);
890
- return i !== null && (r.shown = !i), r;
891
- }
892
- return n;
893
- }
894
- },
895
- LegendVisitor: class {
896
- visit(e, t, n) {
897
- let r = {};
898
- return E(e, t, r, "overlay", "overlay"), M(e, t, r, "legendPos", "position"), n.legend = r, r;
899
- }
900
- },
901
- NegativeShapeVisitor: class extends v {
902
- visit(e, t, n) {
903
- let r = this.getFill(e, t);
904
- Object.keys(r).length > 0 && (n.fillNegative = r);
905
- let i = this.getStroke(e, t);
906
- return Object.keys(i).length > 0 && (n.strokeNegative = i), n;
907
- }
908
- },
909
- TitleVisitor: class extends A {
910
- constructor(e = "title") {
911
- super(e);
912
- }
913
- parseTitleRangeOrValue(e, t, n) {
914
- let r = e.evaluate("tx/strRef/f", t) ?? null;
915
- if (r) {
916
- let t = r.firstElementChild.nodeValue;
917
- e.setToPath(n, "range", t);
918
- }
919
- }
920
- visit(e, t, n) {
921
- let r = {};
922
- E(e, t, r, "overlay", "overlay"), n[this._jsonKey] = r;
923
- let i = e.getFromPath(r, this.getTextPath());
924
- i ||= {}, this.parseTitleRangeOrValue(e, t, r);
925
- let a = e.evaluate("txPr", t);
926
- a && this.parseTextElement(e, a, i, !1);
927
- let o = e.evaluate("tx/rich", t);
928
- return o && this.parseTextElement(e, o, i, !0), Object.keys(i).length > 0 && e.setToPath(r, "text", i), r;
929
- }
930
- afterVisit(e, t, n) {
931
- if (n?.text) {
932
- let e = n.text?.rotation ?? null;
933
- e !== null && (n.rotation = parseInt(e), delete n.title.rotation);
934
- }
935
- }
936
- },
937
- LayoutVisitor: class {
938
- visit(e, t, n) {
939
- let r = e.evaluate("manualLayout", t);
940
- if (r) {
941
- let t = {};
942
- _(e, r, t, "x", "x"), _(e, r, t, "y", "y"), _(e, r, t, "w", "w"), _(e, r, t, "h", "h"), M(e, r, t, "xMode", "xMode"), M(e, r, t, "yMode", "yMode"), M(e, r, t, "wMode", "wMode"), M(e, r, t, "hMode", "hMode"), Object.keys(t).length > 0 && (n.manualLayout = t);
710
+ for (let e of z(t, "extLst")) for (let t of z(e, "ext")) {
711
+ if (t.getAttribute("uri") !== "{05A4C25C-085E-4340-85A3-A5531E510DB2}") continue;
712
+ let e = z(t, "themeFamily")[0], r = e?.getAttribute("id");
713
+ if (!r) continue;
714
+ let i = {
715
+ name: e.getAttribute("name") ?? "",
716
+ id: r
717
+ }, a = e.getAttribute("vid");
718
+ a && (i.vid = a), n.family = i;
943
719
  }
944
720
  return n;
945
721
  }
946
722
  },
947
- ThemeVisitor: class {
948
- visit(e, t, n) {
949
- return n.name = t.getAttribute("name"), n;
950
- }
951
- },
952
- ClrSchemeVisitor: class extends w {
723
+ ClrSchemeVisitor: class extends N {
953
724
  visit(e, t, n) {
954
725
  let r = {};
955
726
  r.name = t.getAttribute("name");
@@ -968,22 +739,50 @@ var $ = {
968
739
  visit(e, t, n) {
969
740
  let r = {};
970
741
  r.name = t.getAttribute("name");
971
- let i = e.evaluate("majorFont", t), a = this.processFontElement(e, i, {});
972
- a && (r.majorFont = a.family, a.fallbacks && (r.majorFallbacks = a.fallbacks));
973
- let o = e.evaluate("minorFont", t), s = this.processFontElement(e, o, {});
974
- return s && (r.minorFont = s.family, s.fallbacks && (r.minorFallbacks = s.fallbacks)), n.fonts = r, r;
742
+ let i = this.processFontCollection(e, e.evaluate("majorFont", t));
743
+ i && (r.major = i);
744
+ let a = this.processFontCollection(e, e.evaluate("minorFont", t));
745
+ return a && (r.minor = a), n.fonts = r, r;
975
746
  }
976
- processFontElement(e, t, n) {
747
+ processFontCollection(e, t) {
977
748
  if (!t) return;
978
- let r = e.evaluate("latin", t);
979
- if (!r) return;
980
- let a = r.getAttribute("typeface");
981
- a && (n.family = a);
982
- let o = r.getAttribute("panose");
983
- return o && (n.fallbacks = [i.getPanoseFallback(o)]), n;
749
+ let n = {}, r = e.evaluate("latin", t), i = r?.getAttribute("typeface");
750
+ i && (n.latin = i);
751
+ let a = r?.getAttribute("panose");
752
+ a && (n.panose = a);
753
+ let o = e.evaluate("ea", t)?.getAttribute("typeface");
754
+ o && (n.eastAsian = o);
755
+ let s, c = e.evaluate("cs", t)?.getAttribute("typeface");
756
+ c && (n.complexScript = c);
757
+ let l = t.childNodes, u = l.length;
758
+ for (let e = 0; e < u; e++) {
759
+ let t = l.item(e);
760
+ if (t.nodeType !== 1 || t.localName !== "font") continue;
761
+ let n = t.getAttribute("script");
762
+ n && ((s ??= {})[n] = t.getAttribute("typeface") ?? "");
763
+ }
764
+ return s && (n.scripts = s), n;
984
765
  }
985
766
  },
986
- FmtSchemeVisitor: class extends w {
767
+ ObjectDefaultsVisitor: class {
768
+ visit(e, t, n) {
769
+ let r = {};
770
+ for (let [n, i] of we) {
771
+ let a = e.evaluate(n, t);
772
+ a && (r[i] = this.processDefault(e, a));
773
+ }
774
+ return n.objectDefaults = r, {};
775
+ }
776
+ processDefault(e, t) {
777
+ let n = {}, r = e.evaluate("spPr", t);
778
+ r && new S().visit(e, r, n);
779
+ let i = new P().readTextBody(e, t);
780
+ (i.body || i.listStyle) && (n.text = i);
781
+ let a = e.evaluate("style", t);
782
+ return a && (n.style = V(e, a)), n;
783
+ }
784
+ },
785
+ FmtSchemeVisitor: class extends N {
987
786
  visit(e, t, n) {
988
787
  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");
989
788
  if (r && (n.fillStyleLst = r), i && (n.lnStyleLst = i), a && (n.effectStyleLst = a), o && (n.bgFillStyleLst = o), r && i && a && o) return;
@@ -1003,18 +802,18 @@ var $ = {
1003
802
  }
1004
803
  return i;
1005
804
  }
1006
- parseFillListItem(e, n) {
1007
- switch (n.localName) {
1008
- case "noFill": return { type: t.Type.None };
805
+ parseFillListItem(e, t) {
806
+ switch (t.localName) {
807
+ case "noFill": return { type: r.Type.None };
1009
808
  case "solidFill": {
1010
- let r = this.processAdjColor(e, n);
1011
- return r ? {
1012
- type: t.Type.Solid,
1013
- color: r
809
+ let n = this.processAdjColor(e, t);
810
+ return n ? {
811
+ type: r.Type.Solid,
812
+ color: n
1014
813
  } : void 0;
1015
814
  }
1016
- case "gradFill": return this.processGradFill(e, n);
1017
- case "pattFill": return this.processPatternFill(e, n);
815
+ case "gradFill": return this.processGradFill(e, t);
816
+ case "pattFill": return this.processPatternFill(e, t);
1018
817
  default: return;
1019
818
  }
1020
819
  }
@@ -1047,17 +846,19 @@ var $ = {
1047
846
  visit(e, t, n) {
1048
847
  if (!t) return;
1049
848
  let r = {}, i = [];
1050
- return this.processFilterColumns(e, t, i, n), i.length > 0 && (r.conditions = i), Object.keys(r).length > 0 && (n.filter = r), r;
849
+ return this.processFilterColumns(e, t, i, n), i.length > 0 && (r.conditions = i), Object.keys(r).length > 0 && (n.filter = r), n;
1051
850
  }
1052
851
  processColorFilter(e, t) {
1053
852
  let n = {}, r = {
1054
- operator: c.BuiltInOperatorNames.Color,
853
+ operator: m.BuiltInOperatorNames.Color,
1055
854
  param: n
1056
855
  };
1057
- return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), r;
856
+ e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY);
857
+ let i = U(e, t);
858
+ return i && (n.style = i), r;
1058
859
  }
1059
860
  processCustomFilter(e, t) {
1060
- return ee({
861
+ return le({
1061
862
  operator: t.getAttribute("operator"),
1062
863
  val: t.getAttribute("val")
1063
864
  }, (t) => e.warn(t));
@@ -1066,7 +867,7 @@ var $ = {
1066
867
  let n = t.getAttribute("and"), r = n === "and" || n === "1";
1067
868
  t.getAttribute("val");
1068
869
  let i = [], a = {
1069
- operator: r ? c.BuiltInOperatorNames.And : c.BuiltInOperatorNames.Or,
870
+ operator: r ? m.BuiltInOperatorNames.And : m.BuiltInOperatorNames.Or,
1070
871
  param: i
1071
872
  }, o = t.childNodes, s = o.length;
1072
873
  for (let t = 0; t < s; t++) {
@@ -1075,10 +876,10 @@ var $ = {
1075
876
  let r = null;
1076
877
  n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && i.push(r);
1077
878
  }
1078
- return i.length === 1 ? i[0] : te(a);
879
+ return i.length === 1 ? i[0] : pe(a);
1079
880
  }
1080
881
  processDynamicFilter(e, t) {
1081
- return ne(t.getAttribute("type"));
882
+ return te(t.getAttribute("type"));
1082
883
  }
1083
884
  processDateGroupItem(e, t) {
1084
885
  let n = {};
@@ -1089,10 +890,10 @@ var $ = {
1089
890
  }
1090
891
  processFilters(e, t) {
1091
892
  let n = {}, r = {
1092
- operator: c.BuiltInOperatorNames.InSet,
893
+ operator: m.BuiltInOperatorNames.InSet,
1093
894
  param: n
1094
895
  };
1095
- r.selector = c.BuiltInSelectorNames.Display, e.copyFromAttribute(t, "blank", n, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", n, "calendarType");
896
+ r.selector = m.BuiltInSelectorNames.Display, e.copyFromAttribute(t, "blank", n, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", n, "calendarType");
1096
897
  let i = [], a = [], o = t.childNodes, s = o.length;
1097
898
  for (let t = 0; t < s; t++) {
1098
899
  let n = o.item(t);
@@ -1110,14 +911,14 @@ var $ = {
1110
911
  }
1111
912
  processIcon(e, t) {
1112
913
  let n = {}, r = {
1113
- operator: c.BuiltInOperatorNames.Icon,
914
+ operator: m.BuiltInOperatorNames.Icon,
1114
915
  param: n
1115
916
  };
1116
917
  return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), r;
1117
918
  }
1118
919
  processTop10(e, t) {
1119
920
  let n = {}, r = {
1120
- operator: c.BuiltInOperatorNames.TopN,
921
+ operator: m.BuiltInOperatorNames.TopN,
1121
922
  param: n
1122
923
  };
1123
924
  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, "limit", e.FLOAT_COPY), r;
@@ -1126,7 +927,7 @@ var $ = {
1126
927
  let n = t.childNodes;
1127
928
  for (let t = 0; t < n.length; t++) {
1128
929
  let r = n.item(t);
1129
- if (r.nodeType !== 1 || r.localName !== "ext" || b(r.getAttribute("uri")) !== b("{1AD28BCE-077C-4C59-8B6E-1921CE8616D4}")) continue;
930
+ if (r.nodeType !== 1 || r.localName !== "ext" || O(r.getAttribute("uri")) !== O("{1AD28BCE-077C-4C59-8B6E-1921CE8616D4}")) continue;
1130
931
  let i = r.childNodes;
1131
932
  for (let t = 0; t < i.length; t++) {
1132
933
  let n = i.item(t);
@@ -1152,12 +953,12 @@ var $ = {
1152
953
  if (!t) return null;
1153
954
  if (!t.hasAttribute("colId")) return;
1154
955
  let r = parseInt(t.getAttribute("colId")), i = !1;
1155
- if (t.hasAttribute("hiddenButton") && (i = S(t.getAttribute("hiddenButton"))), i && n) {
956
+ if (t.hasAttribute("hiddenButton") && (i = g(t.getAttribute("hiddenButton"))), i && n) {
1156
957
  let e = n.hiddenButtons;
1157
958
  e || (e = [], n.hiddenButtons = e), e.push(r);
1158
959
  }
1159
960
  let a = !1;
1160
- if (t.hasAttribute("showButton") && (a = S(t.getAttribute("showButton"))), a && n) {
961
+ if (t.hasAttribute("showButton") && (a = g(t.getAttribute("showButton"))), a && n) {
1161
962
  let e = n.showButtons;
1162
963
  !0 !== e && (e || (e = [], n.showButtons = e), e[r] = !0);
1163
964
  }
@@ -1181,7 +982,7 @@ var $ = {
1181
982
  visit(e, t, n) {
1182
983
  if (!t) return;
1183
984
  let r = t.getAttribute("ref"), i = {};
1184
- t.hasAttribute("caseSensitive") && (i.collatorOptions = S(t.getAttribute("caseSensitive")) ? l.CaseSensitiveOptions : l.CaseInsensitiveOptions);
985
+ t.hasAttribute("caseSensitive") && (i.collatorOptions = g(t.getAttribute("caseSensitive")) ? d.CaseSensitiveOptions : d.CaseInsensitiveOptions);
1185
986
  let a = t.getAttribute("sortMethod");
1186
987
  a != null && a !== "none" && (a === "stroke" ? i.collatorOptions = {
1187
988
  ...i.collatorOptions,
@@ -1191,63 +992,103 @@ var $ = {
1191
992
  collation: "pinyin"
1192
993
  }));
1193
994
  let o = {};
1194
- t.hasAttribute("columnSort") && S(t.getAttribute("columnSort")) && (o.axis = s.Axis.Column);
1195
- let c = f.fastStringToRange(r), u = [];
1196
- return this.processSortConditions(e, t, u, c, i), u.length > 0 && (o.sorts = u), Object.keys(u).length > 0 && (n.sort = o), o;
995
+ t.hasAttribute("columnSort") && g(t.getAttribute("columnSort")) && (o.axis = l.Axis.Column);
996
+ let s = f.fastStringToRange(r), c = [], u = [];
997
+ this.processSortConditions(e, t, c, s, i, u), c.length > 0 && (o.sorts = c);
998
+ let p = e.getVisitorParamsState().get("ref");
999
+ if (p && r) {
1000
+ let e = f.fastStringToRange(p);
1001
+ o.extent = {
1002
+ range: v(e, s),
1003
+ sorts: u.map((t) => fe(e, s, t))
1004
+ };
1005
+ }
1006
+ return Object.keys(c).length > 0 && (n.sort = o), o;
1197
1007
  }
1198
- processSortCondition(e, t, n, r) {
1008
+ processSortCondition(e, t, n, r, i) {
1199
1009
  if (!t) return null;
1200
- let i = {};
1010
+ let a = {};
1201
1011
  if (!t.hasAttribute("ref")) return void e.warn("A sort condition has no ref; it was dropped.", { onceKey: "xlsx.sheet.sort.noRef" });
1202
1012
  if (t.hasAttribute("ref")) {
1203
1013
  let e = t.getAttribute("ref"), r = f.fastStringToRange(e);
1204
- i.index = n ? r.colStart - n.colStart : r.colStart;
1014
+ a.index = n ? r.colStart - n.colStart : r.colStart, i?.push(r);
1205
1015
  }
1206
- let a = { ...r };
1207
- return i.criteria = a, a.reverse = !1, t.hasAttribute("descending") && (a.reverse = S(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;
1016
+ let o = { ...r };
1017
+ a.criteria = o, o.reverse = !1, t.hasAttribute("descending") && (o.reverse = g(t.getAttribute("descending")));
1018
+ let s = I(t.getAttribute("sortBy"));
1019
+ s && (o.sortOn = s);
1020
+ let c = U(e, t);
1021
+ return c && (o.style = c), e.copyFromAttribute(t, "iconSet", o), e.copyFromAttribute(t, "customList", o), a;
1208
1022
  }
1209
- processSortConditions(e, t, n, r, i) {
1023
+ processSortConditions(e, t, n, r, i, a) {
1210
1024
  if (!t) return;
1211
- let a = t.childNodes, o = a.length;
1212
- for (let t = 0; t < o; t++) {
1213
- let o = a.item(t);
1214
- if (o.nodeType === 1 && o.localName === "sortCondition") {
1215
- let t = this.processSortCondition(e, o, r, i);
1025
+ let o = t.childNodes, s = o.length;
1026
+ for (let t = 0; t < s; t++) {
1027
+ let s = o.item(t);
1028
+ if (s.nodeType === 1 && s.localName === "sortCondition") {
1029
+ let t = this.processSortCondition(e, s, r, i, a);
1216
1030
  t && n.push(t);
1217
1031
  }
1218
1032
  }
1219
1033
  }
1220
1034
  },
1221
- SheetStyleVisitor: class extends V {
1222
- visit(e, r, i) {
1223
- this.processNumFmts(e, e.evaluate("numFmts", r), null), e.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1035
+ SheetStyleVisitor: class extends G {
1036
+ visit(e, t, n) {
1037
+ this.processNumFmts(e, e.evaluate("numFmts", t), null), e.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1224
1038
  let a = {
1225
1039
  fills: {},
1226
1040
  fonts: {},
1227
1041
  borders: {}
1042
+ }, o = e.evaluate("fonts", t);
1043
+ this.processFonts(e, o, a.fonts);
1044
+ let s = a.fonts[this.normalFontId(e, t)], c = {
1045
+ declared: ["1", "true"].includes(o?.getAttribute("x14ac:knownFonts") ?? ""),
1046
+ normalIsThemeFont: he(s?.family),
1047
+ faces: oe(Object.values(a.fonts).map((e) => ({
1048
+ ...e,
1049
+ family: ae(e?.family, e?.fallbacks, null, !1).name
1050
+ })))
1228
1051
  };
1229
- this.processFonts(e, e.evaluate("fonts", r), a.fonts), this.processFills(e, e.evaluate("fills", r), a.fills), this.processBorders(e, e.evaluate("borders", r), a.borders, !0), a.fills[0] = { type: t.Type.None }, a.fills[1] = {
1230
- type: t.Type.Pattern,
1231
- patternType: t.BuiltInSheetPattern.Gray125
1052
+ e.getVisitorParamsState().set(D, c), s && e.getVisitorParamsState().set("defaultFont", s), this.processFills(e, e.evaluate("fills", t), a.fills), this.processBorders(e, e.evaluate("borders", t), a.borders, !0), a.fills[0] = { type: r.Type.None }, a.fills[1] = {
1053
+ type: r.Type.Pattern,
1054
+ patternType: r.BuiltInSheetPattern.Gray125
1232
1055
  }, a.borders[0] = {
1233
- bottom: { style: n.StrokeStyle.None },
1234
- left: { style: n.StrokeStyle.None },
1235
- right: { style: n.StrokeStyle.None },
1236
- top: { style: n.StrokeStyle.None }
1056
+ bottom: { style: i.StrokeStyle.None },
1057
+ left: { style: i.StrokeStyle.None },
1058
+ right: { style: i.StrokeStyle.None },
1059
+ top: { style: i.StrokeStyle.None }
1237
1060
  };
1238
- let o = [];
1239
- this.processXFs(e, e.evaluate("cellStyleXfs", r), o, a, null, !1);
1240
- let s = /* @__PURE__ */ new Map();
1241
- if (o.length > 0) {
1242
- let t = [];
1243
- this.processCellStyles(e, e.evaluate("cellStyles", r), t, o, s), i.named = t;
1244
- }
1245
- let c = [];
1246
- this.processXFs(e, e.evaluate("cellXfs", r), c, a, s), Object.keys(c).length > 0 && (i.direct = c);
1247
- let l = this.collectHiddenXfs(e.evaluate("cellXfs", r));
1248
- l.size > 0 && e.getVisitorParamsState().set("hiddenXfs", l);
1249
- let u = [];
1250
- return this.processDXFs(e, e.evaluate("dxfs", r), u), this.processTableStyles(e, e.evaluate("tableStyles", r), i, u), this.processSlicerStyles(e, e.evaluate("extLst", r), i), this.processIndexColors(e, e.evaluate("colors/indexedColors", r), i), this.processMruColors(e, e.evaluate("colors/mruColors", r), i), i;
1061
+ let l = [];
1062
+ this.processXFs(e, e.evaluate("cellStyleXfs", t), l, a, null, !1);
1063
+ let u = /* @__PURE__ */ new Map();
1064
+ if (l.length > 0) {
1065
+ let r = [];
1066
+ this.processCellStyles(e, e.evaluate("cellStyles", t), r, l, u), n.named = r;
1067
+ }
1068
+ let d = [];
1069
+ this.processXFs(e, e.evaluate("cellXfs", t), d, a, u), Object.keys(d).length > 0 && (n.direct = d);
1070
+ let f = this.collectHiddenXfs(e.evaluate("cellXfs", t));
1071
+ f.size > 0 && e.getVisitorParamsState().set("hiddenXfs", f);
1072
+ let p = this.collectXfComplements(e.evaluate("cellXfs", t));
1073
+ p.size > 0 && e.getVisitorParamsState().set("xfComplements", p);
1074
+ let m = [];
1075
+ return this.processDXFs(e, e.evaluate("dxfs", t), m), this.processTableStyles(e, e.evaluate("tableStyles", t), n, m), this.processSlicerStyles(e, e.evaluate("extLst", t), n), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1076
+ }
1077
+ normalFontId(e, t) {
1078
+ let n = e.evaluate("cellStyles", t)?.childNodes, r = 0;
1079
+ for (let e = 0; e < (n?.length ?? 0); e++) {
1080
+ let t = n.item(e);
1081
+ if (t.nodeType === 1 && t.getAttribute("builtinId") === "0") {
1082
+ r = parseInt(t.getAttribute("xfId") ?? "0", 10) || 0;
1083
+ break;
1084
+ }
1085
+ }
1086
+ let i = e.evaluate("cellStyleXfs", t)?.childNodes, a = 0;
1087
+ for (let e = 0; e < (i?.length ?? 0); e++) {
1088
+ let t = i.item(e);
1089
+ if (t.nodeType === 1 && a++ === r) return parseInt(t.getAttribute("fontId") ?? "0", 10) || 0;
1090
+ }
1091
+ return 0;
1251
1092
  }
1252
1093
  processIndexColors(e, t, n) {
1253
1094
  if (!t) return;
@@ -1300,32 +1141,32 @@ var $ = {
1300
1141
  }
1301
1142
  }
1302
1143
  }
1303
- processXF(e, t, n, i, a, o) {
1144
+ processXF(e, t, n, r, i, a) {
1304
1145
  if (!t) return;
1305
- let s = t.getAttribute("xfId");
1306
- if (s && a) {
1307
- let e = a.get(parseInt(s));
1308
- e && e !== r.BuiltInName.Normal && (n.named = e);
1146
+ let o = t.getAttribute("xfId");
1147
+ if (o && i) {
1148
+ let e = i.get(parseInt(o));
1149
+ e && e !== s.BuiltInName.Normal && (n.named = e);
1309
1150
  }
1310
- let c = (e) => !(!o && t.hasAttribute(e)) || S(t.getAttribute(e)), l = (e) => !o || t.hasAttribute(e) && S(t.getAttribute(e)), u = o ? "0" : void 0;
1151
+ let c = (e) => !(!a && t.hasAttribute(e)) || g(t.getAttribute(e)), l = (e) => !a || t.hasAttribute(e) && g(t.getAttribute(e)), u = a ? "0" : void 0;
1311
1152
  if (c("applyFont")) {
1312
1153
  let e = t.getAttribute("fontId") ?? u;
1313
1154
  if (e !== void 0 && (e !== "0" || l("applyFont"))) {
1314
- let t = i.fonts[e];
1155
+ let t = r.fonts[e];
1315
1156
  t !== void 0 && (n.font = t);
1316
1157
  }
1317
1158
  }
1318
1159
  if (c("applyFill")) {
1319
1160
  let e = t.getAttribute("fillId") ?? u;
1320
1161
  if (e !== void 0 && (e !== "0" || l("applyFill"))) {
1321
- let t = i.fills[e];
1162
+ let t = r.fills[e];
1322
1163
  t !== void 0 && Object.keys(t).length > 0 && (n.fill = t);
1323
1164
  }
1324
1165
  }
1325
1166
  if (c("applyBorder")) {
1326
1167
  let e = t.getAttribute("borderId") ?? u;
1327
1168
  if (e !== void 0 && (e !== "0" || l("applyBorder"))) {
1328
- let t = i.borders[e];
1169
+ let t = r.borders[e];
1329
1170
  t !== void 0 && (n.borders = t);
1330
1171
  }
1331
1172
  }
@@ -1347,18 +1188,18 @@ var $ = {
1347
1188
  let r = e.evaluate("protection", t);
1348
1189
  (r || l("applyProtection")) && this.processProtection(e, r, n);
1349
1190
  }
1350
- let d = S(t.getAttribute("quotePrefix") ?? "");
1191
+ let d = g(t.getAttribute("quotePrefix") ?? "");
1351
1192
  d && (n.quotePrefix = d);
1352
1193
  }
1353
- processAlignment(e, t, n) {
1354
- let r = {};
1355
- if (r.horizontal = t?.hasAttribute("horizontal") ? t.getAttribute("horizontal") : a.HorizontalAlignment.General, r.vertical = t?.hasAttribute("vertical") ? t.getAttribute("vertical") : a.VerticalAlignment.Bottom, r.indent = t?.hasAttribute("indent") ? parseInt(t.getAttribute("indent")) : 0, r.relativeIndent = t?.hasAttribute("relativeIndent") ? parseInt(t.getAttribute("relativeIndent")) : 0, r.overflow = S(t?.getAttribute("wrapText") ?? "") ? a.Overflow.Wrap : a.Overflow.Visible, S(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = a.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1194
+ processAlignment(e, t, r) {
1195
+ let i = {};
1196
+ if (i.horizontal = t?.hasAttribute("horizontal") ? t.getAttribute("horizontal") : n.HorizontalAlignment.General, i.vertical = t?.hasAttribute("vertical") ? t.getAttribute("vertical") : n.VerticalAlignment.Bottom, i.indent = t?.hasAttribute("indent") ? parseInt(t.getAttribute("indent")) : 0, i.relativeIndent = t?.hasAttribute("relativeIndent") ? parseInt(t.getAttribute("relativeIndent")) : 0, i.overflow = g(t?.getAttribute("wrapText") ?? "") ? n.Overflow.Wrap : n.Overflow.Visible, g(t?.getAttribute("shrinkToFit") ?? "") && (i.overflow = n.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1356
1197
  let e = parseFloat(t.getAttribute("textRotation"));
1357
- e > 0 && e <= 90 ? e = 360 - e : e > 90 && e <= 180 ? e -= 90 : e === 255 && (e = 0, r.stacked = !0), r.rotation = e;
1358
- } else r.rotation = 0;
1359
- t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = S(t.getAttribute("justifyLastLine")));
1360
- let i = t?.getAttribute("readingOrder");
1361
- return i && (i === "0" ? r.readingDirection = a.ReadingDirection.Auto : i === "1" ? r.readingDirection = a.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = a.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;
1198
+ e > 0 && e <= 90 ? e = 360 - e : e > 90 && e <= 180 ? e -= 90 : e === 255 && (e = 0, i.stacked = !0), i.rotation = e;
1199
+ } else i.rotation = 0;
1200
+ t?.hasAttribute("justifyLastLine") && (i.justifyLastLine = g(t.getAttribute("justifyLastLine")));
1201
+ let a = t?.getAttribute("readingOrder");
1202
+ return a && (a === "0" ? i.readingDirection = n.ReadingDirection.Auto : a === "1" ? i.readingDirection = n.ReadingDirection.LeftToRight : a === "2" ? i.readingDirection = n.ReadingDirection.RightToLeft : e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`, { onceKey: "xlsx.style.readingOrder" })), Object.keys(i).length > 0 && (r.alignment = i), r;
1362
1203
  }
1363
1204
  collectHiddenXfs(e) {
1364
1205
  let t = /* @__PURE__ */ new Set();
@@ -1370,7 +1211,26 @@ var $ = {
1370
1211
  let a = i.childNodes;
1371
1212
  for (let e = 0; e < a.length; e++) {
1372
1213
  let n = a.item(e);
1373
- n.nodeType === 1 && n.localName === "protection" && S(n.getAttribute("hidden") ?? "") && t.add(r);
1214
+ n.nodeType === 1 && n.localName === "protection" && g(n.getAttribute("hidden") ?? "") && t.add(r);
1215
+ }
1216
+ r++;
1217
+ }
1218
+ return t;
1219
+ }
1220
+ collectXfComplements(e) {
1221
+ let t = /* @__PURE__ */ new Map();
1222
+ if (!e) return t;
1223
+ let n = e.childNodes, r = 0;
1224
+ for (let e = 0; e < n.length; e++) {
1225
+ let i = n.item(e);
1226
+ if (i.nodeType !== 1 || i.localName !== "xf") continue;
1227
+ let a = q(i, "extLst");
1228
+ if (a) {
1229
+ let e = a.childNodes;
1230
+ for (let n = 0; n < e.length; n++) {
1231
+ let i = q(e.item(n), "xfComplement"), a = parseInt(i?.getAttribute("i") ?? "", 10);
1232
+ isNaN(a) || t.set(r, a);
1233
+ }
1374
1234
  }
1375
1235
  r++;
1376
1236
  }
@@ -1379,7 +1239,7 @@ var $ = {
1379
1239
  processProtection(e, t, n) {
1380
1240
  if (!t) return;
1381
1241
  let r = t.getAttribute("locked");
1382
- return n.protection = { alwaysUnlocked: !!r && !S(r) }, n;
1242
+ return n.protection = { alwaysUnlocked: !!r && !g(r) }, n;
1383
1243
  }
1384
1244
  processDXF(e, t, n) {
1385
1245
  if (!t) return;
@@ -1462,7 +1322,7 @@ var $ = {
1462
1322
  let n = c.item(t);
1463
1323
  if (n.nodeType !== 1 || n.localName !== "slicerStyleElement") continue;
1464
1324
  let r = n.getAttribute("type");
1465
- if (!r || !U.has(r)) continue;
1325
+ if (!r || !Te.has(r)) continue;
1466
1326
  let a = n.getAttribute("dxfId"), s = a == null ? void 0 : o[parseInt(a)];
1467
1327
  s ? i[r] = s : e.warn(`A slicer style names a format that does not exist (dxfId '${a}').`, { onceKey: "xlsx.style.slicerStyle.dxf" });
1468
1328
  }
@@ -1472,7 +1332,7 @@ var $ = {
1472
1332
  }
1473
1333
  processTableStyle(e, t, n, r, i = !1) {
1474
1334
  let a = t.getAttribute("name"), o = { name: a };
1475
- t.hasAttribute("table") && (o.table = S(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = S(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1335
+ t.hasAttribute("table") && (o.table = g(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = g(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1476
1336
  let s = t.childNodes, c = s.length;
1477
1337
  for (let t = 0; t < c; t++) {
1478
1338
  let n = s.item(t);
@@ -1498,48 +1358,48 @@ var $ = {
1498
1358
  }
1499
1359
  return Object.keys(l).length > 0 && (a.styles = l), Object.keys(a).length > 0 && (n.tables = a), n;
1500
1360
  }
1501
- processCellStyles(e, t, n, i, a) {
1361
+ processCellStyles(e, t, n, r, i) {
1502
1362
  if (!t) return;
1503
- let o = t.childNodes, s = o.length;
1504
- for (let e = 0; e < s; e++) {
1505
- let t = o.item(e);
1363
+ let a = t.childNodes, o = a.length;
1364
+ for (let e = 0; e < o; e++) {
1365
+ let t = a.item(e);
1506
1366
  if (t.nodeType === 1 && t.localName === "cellStyle") {
1507
- let e = parseInt(t.getAttribute("xfId") ?? ""), o = t.getAttribute("name"), s = t.getAttribute("builtinId"), c = o;
1508
- if (s !== null) {
1509
- let e = r.builtInNameFromId(parseInt(s));
1367
+ let e = parseInt(t.getAttribute("xfId") ?? ""), a = t.getAttribute("name"), o = t.getAttribute("builtinId"), c = a;
1368
+ if (o !== null) {
1369
+ let e = s.builtInNameFromId(parseInt(o));
1510
1370
  e !== void 0 && (c = e);
1511
1371
  }
1512
- if (a.set(e, c), !i[e]) continue;
1372
+ if (i.set(e, c), !r[e]) continue;
1513
1373
  let l = {
1514
1374
  name: c,
1515
- style: i[e]
1375
+ style: r[e]
1516
1376
  };
1517
- t.getAttribute("hidden") && (l.hidden = S(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(l);
1377
+ t.getAttribute("hidden") && (l.hidden = g(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), o !== null && g(t.getAttribute("customBuiltin") ?? "0") && (l.customized = !0), n.push(l);
1518
1378
  }
1519
1379
  }
1520
1380
  }
1521
1381
  afterVisit(e, t, n) {}
1522
1382
  },
1523
- WorkbookVisitor: class extends V {
1383
+ WorkbookVisitor: class extends G {
1524
1384
  visit(e, t, n) {
1525
1385
  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;
1526
1386
  }
1527
1387
  processPassword(e, t, n, r = "workbook", i = "password") {
1528
1388
  if (!t) return;
1529
1389
  let a = {};
1530
- e.copyFromAttribute(t, `${r}AlgorithmName`, a, "algorithm"), e.copyFromAttribute(t, `${r}HashValue`, a, "hash"), e.copyFromAttribute(t, `${r}SaltValue`, a, "salt"), e.copyFromAttribute(t, `${r}SpinCount`, a, "spinCount", e.INT_COPY), Object.keys(a).length > 0 && (n[i] = a);
1390
+ e.copyFromAttribute(t, `${r}AlgorithmName`, a, "algorithm"), e.copyFromAttribute(t, `${r}HashValue`, a, "hash"), e.copyFromAttribute(t, `${r}SaltValue`, a, "salt"), e.copyFromAttribute(t, `${r}SpinCount`, a, "spinCount", e.INT_COPY), e.copyFromAttribute(t, `${r}Password`, a, "legacyHash"), Object.keys(a).length > 0 && (n[i] = a);
1531
1391
  }
1532
1392
  processWorkbookProtection(e, t, n) {
1533
1393
  if (!t) return;
1534
1394
  let r = {};
1535
1395
  this.processPassword(e, t, r, "workbook", "password"), this.processPassword(e, t, r, "revisions", "revisionsPassword");
1536
- for (let e of k) r[e.key] = re(e, t.getAttribute(e.attribute));
1396
+ for (let e of ne) r[e.key] = h(e, t.getAttribute(e.attribute));
1537
1397
  return n.protection = r, n;
1538
1398
  }
1539
1399
  processCalcPr(e, t, n) {
1540
1400
  if (!t) return;
1541
1401
  let r = {};
1542
- e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => W[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);
1402
+ e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => Ee[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, "concurrentManualCount", r, "concurrentManualCount", e.INT_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);
1543
1403
  let i = t.getAttribute("calcId");
1544
1404
  i !== null && e.getVisitorParamsState().set("calcId", i), n.calc = r;
1545
1405
  }
@@ -1555,8 +1415,19 @@ var $ = {
1555
1415
  processSheetRef(e, t, n) {
1556
1416
  let r = {};
1557
1417
  e.copyFromAttribute(t, "name", r, "name"), e.copyFromAttribute(t, "state", r, "visibility"), e.copyFromAttribute(t, "sheetId", r, "sheetId", e.INT_COPY);
1558
- let i = t.getAttribute("r:id"), a = e.getRef(i);
1559
- a && (r.sheet = a), n.push(r);
1418
+ let i = t.getAttribute("r:id"), a = i ? y(e.getRelationships().get(i)?.type) : null;
1419
+ if (a) {
1420
+ let t = e.readEmbeddedPart(i);
1421
+ if (t?.xml) {
1422
+ let e = { part: t }, i = ce(t.xml), o = i ? E((e) => i.get(e)) : void 0;
1423
+ o && (e.tabColor = o), r.kind = a, r.sheet = e, n.push(r);
1424
+ return;
1425
+ }
1426
+ e.warn(`The ${a} sheet '${r.name}' could not be read and was loaded as an empty worksheet.`), n.push(r);
1427
+ return;
1428
+ }
1429
+ let o = i ? e.getRef(i) : null;
1430
+ o && (r.sheet = o), n.push(r);
1560
1431
  }
1561
1432
  processExternalReferences(e, t, n) {
1562
1433
  if (!t) return;
@@ -1596,8 +1467,24 @@ var $ = {
1596
1467
  }
1597
1468
  processWorkbookView(e, t, n) {
1598
1469
  if (!t) return;
1599
- let r = {};
1600
- e.copyFromAttribute(t, "activeTab", r, "activeSheetId", [e.INT_COPY, (e) => e]), t.hasAttribute("activeTab") || (r.activeSheetId = 0), e.copyFromAttribute(t, "showHorizontalScroll", r, "showHorizontalScrollbar", e.BOOLEAN_COPY), e.copyFromAttribute(t, "showVerticalScroll", r, "showVerticalScrollbar", e.BOOLEAN_COPY), e.copyFromAttribute(t, "showSheetTabs", r, "showTabs", e.BOOLEAN_COPY), e.copyFromAttribute(t, "tabRatio", r, "tabRatio", [e.FLOAT_COPY, (e) => e]), Object.keys(r).length > 0 && (n.view = r);
1470
+ let r = {}, i = [
1471
+ "xWindow",
1472
+ "yWindow",
1473
+ "windowWidth",
1474
+ "windowHeight"
1475
+ ].map((e) => parseInt(t.getAttribute(e) ?? "", 10));
1476
+ if (i.some((e) => Number.isFinite(e))) {
1477
+ let [e, t, n, a] = i.map((e) => Number.isFinite(e) ? e : 0);
1478
+ r.windowBounds = {
1479
+ left: e,
1480
+ top: t,
1481
+ width: n,
1482
+ height: a
1483
+ };
1484
+ }
1485
+ e.copyFromAttribute(t, "activeTab", r, "activeSheetId", [e.INT_COPY, (e) => e]), t.hasAttribute("activeTab") || (r.activeSheetId = 0), e.copyFromAttribute(t, "showHorizontalScroll", r, "showHorizontalScrollbar", e.BOOLEAN_COPY), e.copyFromAttribute(t, "showVerticalScroll", r, "showVerticalScrollbar", e.BOOLEAN_COPY), e.copyFromAttribute(t, "showSheetTabs", r, "showTabs", e.BOOLEAN_COPY), e.copyFromAttribute(t, "tabRatio", r, "tabRatio", [e.FLOAT_COPY, (e) => e]), e.copyFromAttribute(t, "firstSheet", r, "firstTab", [e.INT_COPY, (e) => e]), e.copyFromAttribute(t, "minimized", r, "minimized", e.BOOLEAN_COPY), e.copyFromAttribute(t, "autoFilterDateGrouping", r, "autoFilterDateGrouping", e.BOOLEAN_COPY);
1486
+ let a = t.getAttribute("visibility");
1487
+ a !== "hidden" && a !== "veryHidden" || (r.visibility = a), Object.keys(r).length > 0 && (n.view = r);
1601
1488
  }
1602
1489
  processDefineName(e, t, n, r) {
1603
1490
  if (!t) return;
@@ -1607,7 +1494,13 @@ var $ = {
1607
1494
  if (!r[n]?.name) return void e.warn(`Defined name '${t.getAttribute("name")}' references a sheet with localSheetId '${n}' which does not exist.`);
1608
1495
  i.scope = r[n].name;
1609
1496
  }
1610
- 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);
1497
+ let o = {};
1498
+ for (let n of L) e.copyFromAttribute(t, n, o);
1499
+ for (let e of ve) {
1500
+ let n = t.getAttribute(e);
1501
+ n !== "1" && n !== "true" || (o[e] = !0);
1502
+ }
1503
+ e.copyFromAttribute(t, "functionGroupId", o, "functionGroupId", e.INT_COPY), Object.keys(o).length > 0 && (i.fileAttributes = o), Object.keys(i).length > 0 && n.push(i);
1611
1504
  }
1612
1505
  processDefinedNames(e, t, n) {
1613
1506
  if (!t) return;
@@ -1626,7 +1519,7 @@ var $ = {
1626
1519
  TableVisitor: class {
1627
1520
  visit(e, t, n) {
1628
1521
  let r = {};
1629
- 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;
1522
+ 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, "name"), 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;
1630
1523
  }
1631
1524
  afterVisit(e, t, n) {
1632
1525
  let r = n.v;
@@ -1746,7 +1639,7 @@ var $ = {
1746
1639
  i.length > 0 && (n.sheetDataSet = i);
1747
1640
  }
1748
1641
  processSheetData(e, t) {
1749
- let n = new u.Builder(), r = t.childNodes, i = r.length;
1642
+ let n = new p.Builder(), r = t.childNodes, i = r.length;
1750
1643
  for (let e = 0; e < i; e++) {
1751
1644
  let t = r.item(e);
1752
1645
  if (t.nodeType !== 1 || t.localName !== "row") continue;
@@ -1776,7 +1669,7 @@ var $ = {
1776
1669
  case "str":
1777
1670
  default: return t;
1778
1671
  case "e": {
1779
- let e = o.getBuiltInByLabel(t);
1672
+ let e = c.getBuiltInByLabel(t);
1780
1673
  return e ? {
1781
1674
  t: "e",
1782
1675
  v: e.getCode()
@@ -1820,8 +1713,8 @@ var $ = {
1820
1713
  let r = {};
1821
1714
  n[t.getAttribute("name")] = r, e.copyFromAttribute(t, "xr10:uid", r, "uid");
1822
1715
  let i = t.getAttribute("cache"), a = e.getVisitorParamsState().get("slicerCaches"), o = i ? a?.get(i) : void 0;
1823
- if (o) for (let e = 0; e < G.length; e++) {
1824
- let t = G[e];
1716
+ if (o) for (let e = 0; e < J.length; e++) {
1717
+ let t = J[e];
1825
1718
  o[t] !== void 0 && (r[t] = o[t]);
1826
1719
  }
1827
1720
  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, "lockedPosition", r, "lockedPosition", e.BOOLEAN_COPY), e.copyFromAttribute(t, "rowHeight", r, "rowHeight", e.INT_COPY);
@@ -1847,7 +1740,7 @@ var $ = {
1847
1740
  } else n.localName === "extLst" && (a = e.serializeElement(n) ?? void 0);
1848
1741
  }
1849
1742
  }
1850
- let c = x(r, o, a);
1743
+ let c = re(r, o, a);
1851
1744
  return n.formControl = c, c;
1852
1745
  }
1853
1746
  },
@@ -1856,14 +1749,19 @@ var $ = {
1856
1749
  return n;
1857
1750
  }
1858
1751
  afterVisit(e, t, n) {
1859
- for (let e of n?.movables ?? []) K(e, !1);
1752
+ for (let e of n?.movables ?? []) Y(e, !1);
1860
1753
  }
1861
1754
  },
1862
1755
  DrawingAnchorVisitor: class {
1863
1756
  visit(e, t, n) {
1864
1757
  if (!t) return;
1865
1758
  let r = {};
1866
- return e.copyFromAttribute(t, "editAs", r, "anchorType"), r.anchor = {}, t.localName === "absoluteAnchor" ? (r.anchorType = "absolute", this.processAbsoluteCoord(e, e.evaluate("xdr:pos", t), r.anchor, "from", "x", "y"), this.processAbsoluteCoord(e, e.evaluate("xdr:ext", t), r.anchor, "to", "cx", "cy")) : t.localName === "oneCellAnchor" ? (this.processOffsetCoord(e, e.evaluate("from", t), r.anchor, "from"), this.processAbsoluteCoord(e, e.evaluate("xdr:ext", t), r.anchor, "to", "cx", "cy")) : (this.processOffsetCoord(e, e.evaluate("from", t), r.anchor, "from"), this.processOffsetCoord(e, e.evaluate("to", t), r.anchor, "to")), n.movables ||= [], n.movables.push(r), r;
1759
+ e.copyFromAttribute(t, "editAs", r, "anchorType"), r.anchor = {}, t.localName === "absoluteAnchor" ? (r.anchorType = "absolute", this.processAbsoluteCoord(e, e.evaluate("pos", t), r.anchor, "from", "x", "y"), this.processAbsoluteCoord(e, e.evaluate("ext", t), r.anchor, "to", "cx", "cy")) : t.localName === "oneCellAnchor" ? (this.processOffsetCoord(e, e.evaluate("from", t), r.anchor, "from"), this.processAbsoluteCoord(e, e.evaluate("ext", t), r.anchor, "to", "cx", "cy")) : (this.processOffsetCoord(e, e.evaluate("from", t), r.anchor, "from"), this.processOffsetCoord(e, e.evaluate("to", t), r.anchor, "to"));
1760
+ let i = e.evaluate("clientData", t), a = (e) => {
1761
+ let t = i?.getAttribute(e);
1762
+ return t === "0" || t === "false";
1763
+ };
1764
+ return a("fPrintsWithSheet") && (r.noPrint = !0), a("fLocksWithSheet") && (r.unlocked = !0), n.movables ||= [], n.movables.push(r), r;
1867
1765
  }
1868
1766
  processAbsoluteCoord(e, t, n, r, i, a) {
1869
1767
  if (!t) return;
@@ -1871,7 +1769,7 @@ var $ = {
1871
1769
  x: 0,
1872
1770
  y: 0
1873
1771
  };
1874
- return o.x = T(t.getAttribute(i)), o.y = T(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1772
+ return o.x = _(t.getAttribute(i)), o.y = _(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1875
1773
  }
1876
1774
  processOffsetCoord(e, t, n, r) {
1877
1775
  if (!t) return;
@@ -1881,34 +1779,37 @@ var $ = {
1881
1779
  x: 0,
1882
1780
  y: 0
1883
1781
  };
1884
- 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 = T(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = T(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1782
+ 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;
1885
1783
  }
1886
1784
  },
1887
- DrawingGraphicFrameVisitor: class extends q {
1785
+ DrawingGraphicFrameVisitor: class extends H {
1888
1786
  visit(e, t, n) {
1889
1787
  if (!t) return;
1890
1788
  if (this.isGroupContent(n)) {
1891
1789
  if (e.getPath().includes("Fallback")) return {};
1892
1790
  let { movable: r } = this.readMemberHeader(e, t, "graphicFrame"), i = e.evaluate("xfrm", t);
1893
1791
  if (i) {
1894
- C(i, r);
1792
+ A(i, r);
1895
1793
  let t = e.evaluate("off", i), n = e.evaluate("ext", i);
1896
1794
  r.anchor = {
1897
1795
  tl: {
1898
- x: T(t?.getAttribute("x") ?? null) ?? 0,
1899
- y: T(t?.getAttribute("y") ?? null) ?? 0
1796
+ x: _(t?.getAttribute("x") ?? null) ?? 0,
1797
+ y: _(t?.getAttribute("y") ?? null) ?? 0
1900
1798
  },
1901
1799
  br: {
1902
- x: T(n?.getAttribute("cx") ?? null) ?? 0,
1903
- y: T(n?.getAttribute("cy") ?? null) ?? 0
1800
+ x: _(n?.getAttribute("cx") ?? null) ?? 0,
1801
+ y: _(n?.getAttribute("cy") ?? null) ?? 0
1904
1802
  }
1905
1803
  };
1906
1804
  }
1907
- let a = this.readGraphic(e, t);
1805
+ let a = this.readGraphic(e, t), o = a.type === "chart" ? {
1806
+ ...r.content.json,
1807
+ ...a.json
1808
+ } : a.json;
1908
1809
  return r.content = {
1909
1810
  ...r.content,
1910
1811
  type: a.type,
1911
- json: a.json
1812
+ json: o
1912
1813
  }, n.members.push(r), a.json;
1913
1814
  }
1914
1815
  n = super.visit(e, t, n);
@@ -1934,11 +1835,17 @@ var $ = {
1934
1835
  n === "chart" ? n = "chart" : n === "slicer" && (n = "slicer"), r.type = n;
1935
1836
  let i = a.getAttribute("r:id");
1936
1837
  if (n === "chart" && i) {
1937
- let n = this.readSourceId(e, t);
1838
+ let n, a = this.readSourceId(e, t), o = e.readEmbeddedPart(i) ?? void 0;
1839
+ try {
1840
+ let t = o?.xml ? _e(o.xml) : null;
1841
+ n = t?.model, t?.lossy && e.warn("A chart states something its model does not; it is saved as it was until it is changed.", { onceKey: "xlsx.chart.lossy" });
1842
+ } catch (t) {
1843
+ e.warn(`A chart could not be read into the chart model; it is kept as its markup: ${t?.message ?? t}`, { onceKey: "xlsx.chart.model" });
1844
+ }
1938
1845
  r.json = {
1939
- xml: e.serializeElement(t) ?? void 0,
1940
- sourceId: n,
1941
- part: e.readEmbeddedPart(i) ?? void 0
1846
+ sourceId: a,
1847
+ part: o,
1848
+ model: n
1942
1849
  };
1943
1850
  } else if (n === "slicer") {
1944
1851
  let n = this.readSourceId(e, t);
@@ -1951,46 +1858,48 @@ var $ = {
1951
1858
  return r;
1952
1859
  }
1953
1860
  },
1954
- DrawingSpVisitor: J,
1955
- DrawingPicVisitor: class extends q {
1861
+ DrawingSpVisitor: X,
1862
+ DrawingPicVisitor: class extends H {
1956
1863
  visit(e, t, n) {
1957
1864
  if (!t) return;
1958
1865
  if (this.isGroupContent(n)) {
1959
1866
  if (e.getPath().includes("Fallback")) return {};
1960
- let { movable: r, content: i } = this.readMemberHeader(e, t, "picture"), a = this.readImageResource(e, t);
1961
- if (a == null) return {};
1962
- i.resId = a;
1963
- let o = this.readLocks(e.evaluate("nvPicPr/cNvPicPr/picLocks", t));
1964
- return o && (o.noChangeAspect !== void 0 && (r.lockAspect = o.noChangeAspect), r.locks = o), n.members.push(r), i;
1965
- }
1966
- let r = super.visit(e, t, n), i = e.evaluate("nvPicPr/cNvPicPr", t);
1967
- if (i) {
1968
- e.copyFromAttribute(t, "preferRelativeResize", r, "preferRelativeResize", e.BOOLEAN_COPY);
1969
- let n = e.evaluate("picLocks", i);
1970
- if (n) {
1971
- n.hasAttribute("noChangeAspect") && (r.lockAspect = n.getAttribute("noChangeAspect") === "1");
1972
- let t = {};
1973
- e.copyFromAttribute(n, "noChangeArrowheads", r, "noChangeArrowheads", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noChangeShapeType", r, "noChangeShapeType", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noEditPoints", r, "noEditPoints", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noAdjustHandles", r, "noAdjustHandles", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noCrop", r, "noCrop", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noGrp", r, "noGrp", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noMove", r, "noMove", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noResize", r, "noResize", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noRot", r, "noRot", e.BOOLEAN_COPY), e.copyFromAttribute(n, "noSelect", r, "noSelect", e.BOOLEAN_COPY), Object.keys(t).length > 0 && (r.locks = t);
1974
- }
1867
+ let { movable: r, content: i } = this.readMemberHeader(e, t, "picture"), a = this.readImage(e, t);
1868
+ return a ? (this.readPictureDetails(e, t, a, r, i), n.members.push(r), i) : {};
1975
1869
  }
1976
- let a = this.readImageResource(e, t);
1977
- if (a === null) return;
1978
- let o = { resId: a }, s = this.readSourceId(e, t);
1979
- return s !== void 0 && (o.sourceId = s), this.setContent(n, {
1870
+ let r = super.visit(e, t, n), i = this.readImage(e, t);
1871
+ if (i === null) return;
1872
+ let a = {}, o = this.readSourceId(e, t);
1873
+ return o !== void 0 && (a.sourceId = o), this.readPictureDetails(e, t, i, r, a), this.setContent(r, {
1980
1874
  type: "picture",
1981
- json: o
1982
- }), r;
1983
- }
1984
- readImageResource(e, t) {
1985
- let n = e.evaluate("blipFill/blip", t);
1986
- if (!n) return;
1987
- let r = n.getAttribute("r:embed") ?? n.getAttribute("embed");
1988
- return r ||= n.getAttribute("r:link") ?? n.getAttribute("link"), r ? e.getRef(r, !0) : (e.warn("A picture names no image; it was not imported.", { onceKey: "xlsx.drawing.picture.noRel" }), null);
1875
+ json: a
1876
+ }), a;
1877
+ }
1878
+ readPictureDetails(e, t, n, r, i) {
1879
+ n?.resId !== void 0 && (i.resId = n.resId), n?.image && (i.image = n.image);
1880
+ let a = t.getAttribute("macro");
1881
+ a && (i.macro = a), t.hasAttribute("fPublished") && (i.published = g(t.getAttribute("fPublished")));
1882
+ let o = e.evaluate("nvPicPr/cNvPicPr", t);
1883
+ if (o?.getAttribute) {
1884
+ o.getAttribute("preferRelativeResize") === "0" && (i.noRelativeResize = !0);
1885
+ let t = this.readLocks(e.evaluate("picLocks", o));
1886
+ t && (i.locks = t), r.lockAspect = t?.noChangeAspect ?? !1;
1887
+ }
1888
+ }
1889
+ readImage(e, t) {
1890
+ let n = e.evaluate("blipFill", t), r = n ? e.evaluate("blip", n) : null;
1891
+ if (!r) return;
1892
+ if (!(r.getAttribute("r:embed") ?? r.getAttribute("embed") ?? r.getAttribute("r:link") ?? r.getAttribute("link"))) return e.warn("A picture names no image; it was not imported.", { onceKey: "xlsx.drawing.picture.noRel" }), null;
1893
+ let { type: i, resId: a, ...o } = new N().processImageFill(e, n);
1894
+ return !o.tile && o.stretch && Object.keys(o.stretch).length === 0 && delete o.stretch, o.extLst && De.test(o.extLst) && delete o.extLst, {
1895
+ resId: a,
1896
+ image: Object.keys(o).length > 0 ? o : void 0
1897
+ };
1989
1898
  }
1990
1899
  },
1991
- DrawingGrpSpVisitor: class extends q {
1900
+ DrawingGrpSpVisitor: class extends H {
1992
1901
  constructor(...e) {
1993
- super(...e), this._fills = new w();
1902
+ super(...e), this._fills = new N();
1994
1903
  }
1995
1904
  visit(e, t, n) {
1996
1905
  if (!t) return;
@@ -2017,8 +1926,8 @@ var $ = {
2017
1926
  if (c) {
2018
1927
  let t = e.evaluate("xfrm", c);
2019
1928
  if (t) {
2020
- C(t, r), t.getAttribute("flipH") === "1" && (r.flipH = !0), t.getAttribute("flipV") === "1" && (r.flipV = !0);
2021
- let n = Y(e, t, "off", "ext"), o = Y(e, t, "chOff", "chExt") ?? n;
1929
+ A(t, r), t.getAttribute("flipH") === "1" && (r.flipH = !0), t.getAttribute("flipV") === "1" && (r.flipV = !0);
1930
+ let n = Z(e, t, "off", "ext"), o = Z(e, t, "chOff", "chExt") ?? n;
2022
1931
  o && (i.childBounds = o), a && n && (r.anchor = {
2023
1932
  tl: {
2024
1933
  x: n.x,
@@ -2045,7 +1954,7 @@ var $ = {
2045
1954
  return i;
2046
1955
  }
2047
1956
  },
2048
- DrawingCxnSpVisitor: class extends J {
1957
+ DrawingCxnSpVisitor: class extends X {
2049
1958
  visit(e, t, n) {
2050
1959
  if (t) return this.visitShape(e, t, n, "cxnSp", "nvCxnSpPr/cNvCxnSpPr/cxnSpLocks");
2051
1960
  }
@@ -2158,75 +2067,47 @@ var $ = {
2158
2067
  return n;
2159
2068
  }
2160
2069
  },
2161
- RichValueStructureVisitor: class {
2070
+ FeaturePropertyBagVisitor: class {
2162
2071
  visit(e, t, n) {
2163
- let r = e.getVisitorParamsState().get(X);
2164
- r || (r = [], e.getVisitorParamsState().set(X, r));
2165
- let i = t.childNodes, a = i.length;
2166
- for (let t = 0; t < a; t++) {
2167
- let n = i.item(t);
2168
- if (n.nodeType === 1 && n.localName === "s") {
2169
- let t = {
2170
- type: n.getAttribute("t") ?? "n",
2171
- keys: []
2172
- };
2173
- this.processKeys(e, n, t), r.push(t);
2174
- }
2072
+ let r = [], i = t.childNodes;
2073
+ for (let e = 0; e < i.length; e++) {
2074
+ let t = i.item(e);
2075
+ t.nodeType === 1 && t.localName === "bag" && r.push(this._readBag(t));
2175
2076
  }
2176
- return n.richTypes = r, r;
2177
- }
2178
- processKeys(e, t, n) {
2179
- let r = t.childNodes, i = r.length, a = n.keys;
2180
- for (let e = 0; e < i; e++) {
2181
- let t = r.item(e);
2182
- if (t.nodeType === 1 && t.localName === "k") {
2183
- let e = t.getAttribute("n"), n = t.getAttribute("t");
2184
- a.push([e, n]);
2185
- }
2077
+ let a = [], o = r.find((e) => e.type === "XFComplements")?.arrays.get("MappedFeaturePropertyBags") ?? [];
2078
+ for (let t = 0; t < o.length; t++) {
2079
+ let n = r[o[t]]?.ids.get("XFControls"), i = n === void 0 ? void 0 : r[n]?.ids.get("CellControl"), s = i === void 0 ? void 0 : r[i]?.type, c = s ? Oe[s] : void 0;
2080
+ c || e.warn(`A cell format's feature '${s ?? "unknown"}' is not read; its cells keep their values.`), a.push(c ? { type: c } : null);
2186
2081
  }
2082
+ let s = { controls: a };
2083
+ return n.featurePropertyBag = s, s;
2187
2084
  }
2188
- },
2189
- RichValueDataVisitor: class {
2190
- visit(e, t, n) {
2191
- let r = e.getVisitorParamsState().get("richTypes");
2192
- if (!r) return void e.warn("RichValueFound but not type.");
2193
- let i = e.getVisitorParamsState().get(Z);
2194
- i || (i = [], e.getVisitorParamsState().set(Z, i));
2195
- let a = t.childNodes, o = a.length;
2196
- for (let t = 0; t < o; t++) {
2197
- let n = a.item(t);
2198
- if (n.nodeType === 1 && n.localName === "rv") {
2199
- let t = r[n.getAttribute("s")], a = { type: t.type };
2200
- this.processValues(e, n, a, t);
2201
- let o = this.mapType(e, a);
2202
- i.push(o);
2085
+ _readBag(e) {
2086
+ let t = {
2087
+ type: e.getAttribute("type") ?? "",
2088
+ ids: /* @__PURE__ */ new Map(),
2089
+ arrays: /* @__PURE__ */ new Map()
2090
+ }, n = e.childNodes;
2091
+ for (let e = 0; e < n.length; e++) {
2092
+ let r = n.item(e);
2093
+ if (r.nodeType !== 1) continue;
2094
+ let i = r.getAttribute("k") ?? "";
2095
+ if (r.localName === "bagId") {
2096
+ let e = parseInt(r.textContent ?? "", 10);
2097
+ isNaN(e) || t.ids.set(i, e);
2098
+ } else if (r.localName === "a") {
2099
+ let e = [], n = r.childNodes;
2100
+ for (let t = 0; t < n.length; t++) {
2101
+ let r = n.item(t);
2102
+ if (r.nodeType !== 1 || r.localName !== "bagId") continue;
2103
+ let i = parseInt(r.textContent ?? "", 10);
2104
+ isNaN(i) || e.push(i);
2105
+ }
2106
+ t.arrays.set(i, e);
2203
2107
  }
2204
2108
  }
2205
- return n.richData = i, i;
2206
- }
2207
- mapType(e, t) {
2208
- if (t.type === "_error") {
2209
- let e = t.errorType;
2210
- if (e) try {
2211
- t = o.getBuiltInByCode(e + 1) ?? o.BuiltIn.Unknown;
2212
- } catch {}
2213
- }
2214
2109
  return t;
2215
2110
  }
2216
- processValues(e, t, n, r) {
2217
- let i = t.childNodes, a = i.length;
2218
- r.type;
2219
- let o = r.keys;
2220
- for (let t = 0; t < a; t++) {
2221
- let r = i.item(t);
2222
- if (r.nodeType === 1 && r.localName === "v") {
2223
- let i = o[t];
2224
- if (!i) return void e.warn("Invalid richData");
2225
- let a = i[0], s = i[1], c = r.textContent;
2226
- s === "i" && (c = Number(c)), n[a] = c;
2227
- }
2228
- }
2229
- }
2230
2111
  },
2231
2112
  CommentsVisitor: class {
2232
2113
  visit(e, t, n) {
@@ -2272,7 +2153,7 @@ var $ = {
2272
2153
  if (n.nodeType === 1) {
2273
2154
  if (n.localName === "t") e.text += n.textContent ?? "";
2274
2155
  else if (n.localName === "rPr") {
2275
- let t = ue(n);
2156
+ let t = Ae(n);
2276
2157
  t && (e.font = t);
2277
2158
  }
2278
2159
  }
@@ -2299,16 +2180,16 @@ var $ = {
2299
2180
  visit(e, t, n) {
2300
2181
  if (!t) return;
2301
2182
  let r = {};
2302
- e.copyFromAttribute(t, "id", r, "id", N);
2183
+ e.copyFromAttribute(t, "id", r, "id", j);
2303
2184
  let i = t.getAttribute("ref");
2304
- e.copyFromAttribute(t, "personId", r, "personId", N), e.copyFromAttribute(t, "parentId", r, "parentId", N);
2185
+ e.copyFromAttribute(t, "personId", r, "personId", j), e.copyFromAttribute(t, "parentId", r, "parentId", j);
2305
2186
  let a = t.getAttribute("dT");
2306
2187
  a && (r.dt = function(e) {
2307
2188
  let t = /^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(e.trim());
2308
2189
  if (!t) return e;
2309
2190
  let [, n, r, i] = t;
2310
2191
  return `${n}${r ? `.${(r + "00").substring(0, 3)}` : ""}${i ?? "Z"}`;
2311
- }(a)), t.hasAttribute("done") && (r.done = S(t.getAttribute("done")));
2192
+ }(a)), t.hasAttribute("done") && (r.done = g(t.getAttribute("done")));
2312
2193
  let o = function(e) {
2313
2194
  let t, n = e.childNodes;
2314
2195
  for (let e = 0; e < n.length; e++) {
@@ -2321,8 +2202,8 @@ var $ = {
2321
2202
  let r = n.getAttribute("mentionId"), a = n.getAttribute("mentionpersonId");
2322
2203
  if (!r || !a) continue;
2323
2204
  let o = {
2324
- id: N(r),
2325
- personId: N(a)
2205
+ id: j(r),
2206
+ personId: j(a)
2326
2207
  }, s = parseInt(n.getAttribute("startIndex") ?? "", 10);
2327
2208
  isNaN(s) || (o.startIndex = s);
2328
2209
  let c = parseInt(n.getAttribute("length") ?? "", 10);
@@ -2344,33 +2225,33 @@ var $ = {
2344
2225
  let n = i.item(t);
2345
2226
  if (n.nodeType === 1 && n.localName === "person") {
2346
2227
  let t = {};
2347
- e.copyFromAttribute(n, "id", t, "id", N), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", N), e.copyFromAttribute(n, "providerId", t), r.push(t);
2228
+ e.copyFromAttribute(n, "id", t, "id", j), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", j), e.copyFromAttribute(n, "providerId", t), r.push(t);
2348
2229
  }
2349
2230
  }
2350
2231
  return r.length > 0 && (n.persons = r), r;
2351
2232
  }
2352
2233
  }
2353
- }, de = class {
2234
+ }, je = class {
2354
2235
  constructor(e, t) {
2355
2236
  this.path = e, this.visitor = t;
2356
2237
  }
2357
- }, fe = class {
2238
+ }, Me = class {
2358
2239
  constructor() {
2359
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new $.RelsVisitor()), this.registerVisitor("cp:coreProperties", new $.CorePropertiesVisitor()), this.registerVisitor("Properties", new $.AppPropertiesVisitor()), this.registerVisitor("spPr", new $.ShapePropertiesVisitor()), this.registerVisitor("txBody", new $.ShapeTextVisitor()), this.registerVisitor("txPr", new $.TextPropertiesVisitor()), this.registerVisitor("c:chartSpace", new $.ChartSpaceVisitor()), this.registerVisitor("c:plotArea", new $.PlotAreaVisitor()), this.registerVisitor("c:barChart", new $.BarChartTypeVisitor()), this.registerVisitor("c:doughnutChart", new $.ChartTypeVisitor()), this.registerVisitor("c:lineChart", new $.ChartTypeVisitor()), this.registerVisitor("c:ofPieType", new $.ChartTypeVisitor()), this.registerVisitor("c:pieChart", new $.ChartTypeVisitor()), this.registerVisitor("c:scatterChart", new $.ChartTypeVisitor()), this.registerVisitor("c:barChart", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new $.DataLabelsVisitor("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new $.SeriesVisitor()), this.registerVisitor("c:dPt", new $.DataPointVisitor()), this.registerVisitor("c:marker", new $.MarkerVisitor()), this.registerVisitor("c:catAx", new $.AxisVisitor()), this.registerVisitor("c:valAx", new $.AxisVisitor()), this.registerVisitor("c:dateAx", new $.AxisVisitor()), this.registerVisitor("c:majorGridlines", new R("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new R("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new $.TextPropertiesVisitor("labels.text"), "txPr"), this.registerVisitor("c:valAx", new $.TextPropertiesVisitor("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new $.TextPropertiesVisitor("labels.text"), "txPr"), this.registerVisitor("c:legend", new $.LegendVisitor()), this.registerVisitor("c:legend", new $.TextPropertiesVisitor("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new $.LegendEntryVisitor()), this.registerVisitor("c:ser", new $.NegativeShapeVisitor(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new $.DataLabelsVisitor("labels"), "dLbls"), this.registerVisitor("c:dLbl", new $.DataLabelsVisitor("points")), this.registerVisitor("c:title", new $.TitleVisitor()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new $.LayoutVisitor()), this.registerVisitor("c:dispUnits", new R("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new $.TitleVisitor("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new $.TextPropertiesVisitor(), "tx/rich"), this.registerVisitor("a:theme", new $.ThemeVisitor()), this.registerVisitor("a:theme", new $.ClrSchemeVisitor(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new $.FontSchemeVisitor(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new $.FmtSchemeVisitor(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new $.AutoFilterVisitor()), this.registerVisitor("sortState", new $.SortStateVisitor()), this.registerVisitor("s:workbook", new $.WorkbookVisitor()), this.registerVisitor("styleSheet", new $.SheetStyleVisitor()), this.registerVisitor("x14:table", new $.TableX14Visitor()), this.registerVisitor("table", new $.TableVisitor()), this.registerVisitor("externalLink", new $.ExternalLinkVisitor()), this.registerVisitor("wsDr", new $.DrawingVisitor()), this.registerVisitor("twoCellAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("oneCellAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("absoluteAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("graphicFrame", new $.DrawingGraphicFrameVisitor()), this.registerVisitor("sp", new $.DrawingSpVisitor()), this.registerVisitor("grpSp", new $.DrawingGrpSpVisitor()), this.registerVisitor("cxnSp", new $.DrawingCxnSpVisitor()), this.registerVisitor("pic", new $.DrawingPicVisitor()), this.registerVisitor("metadata", new $.MetadataVisitor()), this.registerVisitor("rvStructures", new $.RichValueStructureVisitor()), this.registerVisitor("rvData", new $.RichValueDataVisitor()), this.registerVisitor("comments", new $.CommentsVisitor()), this.registerVisitor("comment", new $.CommentVisitor()), this.registerVisitor("ThreadedComments", new $.ThreadedCommentsVisitor()), this.registerVisitor("threadedComment", new $.ThreadedCommentVisitor()), this.registerVisitor("threadedComment", new $.TextPropertiesVisitor("content"), "text"), this.registerVisitor("personList", new $.PersonListVisitor()), this.registerVisitor("slicerCacheDefinition", new $.SlicerCacheDefinitionVisitor()), this.registerVisitor("slicers", new $.SlicersVisitor()), this.registerVisitor("formControlPr", new $.FormControlPrVisitor());
2240
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new $.RelsVisitor()), this.registerVisitor("cp:coreProperties", new $.CorePropertiesVisitor()), this.registerVisitor("Properties", new $.AppPropertiesVisitor()), this.registerVisitor("spPr", new $.ShapePropertiesVisitor()), this.registerVisitor("txBody", new $.ShapeTextVisitor()), this.registerVisitor("txPr", new $.TextPropertiesVisitor()), this.registerVisitor("a:theme", new $.ThemeVisitor()), this.registerVisitor("a:theme", new $.ClrSchemeVisitor(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new $.FontSchemeVisitor(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new $.FmtSchemeVisitor(), "themeElements/fmtScheme"), this.registerVisitor("a:theme", new $.ObjectDefaultsVisitor(), "objectDefaults"), this.registerVisitor("autoFilter", new $.AutoFilterVisitor()), this.registerVisitor("sortState", new $.SortStateVisitor()), this.registerVisitor("s:workbook", new $.WorkbookVisitor()), this.registerVisitor("styleSheet", new $.SheetStyleVisitor()), this.registerVisitor("x14:table", new $.TableX14Visitor()), this.registerVisitor("table", new $.TableVisitor()), this.registerVisitor("externalLink", new $.ExternalLinkVisitor()), this.registerVisitor("wsDr", new $.DrawingVisitor()), this.registerVisitor("twoCellAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("oneCellAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("absoluteAnchor", new $.DrawingAnchorVisitor()), this.registerVisitor("graphicFrame", new $.DrawingGraphicFrameVisitor()), this.registerVisitor("sp", new $.DrawingSpVisitor()), this.registerVisitor("grpSp", new $.DrawingGrpSpVisitor()), this.registerVisitor("cxnSp", new $.DrawingCxnSpVisitor()), this.registerVisitor("pic", new $.DrawingPicVisitor()), this.registerVisitor("metadata", new $.MetadataVisitor()), this.registerVisitor("FeaturePropertyBags", new $.FeaturePropertyBagVisitor()), this.registerVisitor("comments", new $.CommentsVisitor()), this.registerVisitor("comment", new $.CommentVisitor()), this.registerVisitor("ThreadedComments", new $.ThreadedCommentsVisitor()), this.registerVisitor("threadedComment", new $.ThreadedCommentVisitor()), this.registerVisitor("threadedComment", new $.TextPropertiesVisitor("content"), "text"), this.registerVisitor("personList", new $.PersonListVisitor()), this.registerVisitor("slicerCacheDefinition", new $.SlicerCacheDefinitionVisitor()), this.registerVisitor("slicers", new $.SlicersVisitor()), this.registerVisitor("formControlPr", new $.FormControlPrVisitor());
2360
2241
  }
2361
2242
  registerVisitor(e, t, n = null) {
2362
2243
  e.indexOf(":") === -1 && (e = "*:" + e);
2363
2244
  let r = e.split(":"), i = r.length > 1 ? r[1] : r[0];
2364
2245
  if (!n) return this.visitorsByXmlTagName.set(i, t), void this.visitorsByXmlTagName.set(e, t);
2365
2246
  let a = this.scopedVisitorsByXmlTagName.get(i);
2366
- a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new de(n, t));
2247
+ a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new je(n, t));
2367
2248
  }
2368
2249
  parseDxf(t, n = "", r = e.EmptyObject) {
2369
2250
  this.visitorParamsState ||= /* @__PURE__ */ new Map();
2370
2251
  let i = this.visitorParamsState, a = i.get("processingDXFs");
2371
2252
  i.set("processingDXFs", !0);
2372
2253
  try {
2373
- let e = new L(null, this, "/dxf", t, {}, n, r), i = {};
2254
+ let e = new R(null, this, "/dxf", t, {}, n, r), i = {};
2374
2255
  return new $.SheetStyleVisitor().processDXF(e, t, i), i;
2375
2256
  } finally {
2376
2257
  a === void 0 ? i.delete("processingDXFs") : i.set("processingDXFs", a);
@@ -2384,7 +2265,7 @@ var $ = {
2384
2265
  this.visitorParamsState && !r?.paramMap || (this.visitorParamsState = r?.paramMap ?? /* @__PURE__ */ new Map());
2385
2266
  let a = {}, o = this.visitorsByXmlTagName.get(i.nodeName);
2386
2267
  if (o ||= this.visitorsByXmlTagName.get(i.localName), !o) throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);
2387
- let s = "/" + i.localName, c = new L(null, this, s, i, a, n, r), l = [];
2268
+ let s = "/" + i.localName, c = new R(null, this, s, i, a, n, r), l = [];
2388
2269
  this._doWalk(o, c, l, i, a, n, r);
2389
2270
  let u = l.length;
2390
2271
  for (let e = 0; e < u; e++) {
@@ -2412,7 +2293,7 @@ var $ = {
2412
2293
  for (; l && l !== r;) s = l.localName + "/" + s, l = l.parentNode;
2413
2294
  let u = t.getPath() + "/" + s;
2414
2295
  if (c.visitor) {
2415
- let r = new L(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2296
+ let r = new R(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2416
2297
  this._doWalk(c.visitor, r, n, e, i, a, o);
2417
2298
  }
2418
2299
  };
@@ -2438,10 +2319,10 @@ var $ = {
2438
2319
  if (r.nodeType !== 1) continue;
2439
2320
  let c = r, p = c.nodeName, m = l.get(p);
2440
2321
  m ||= (p = c.localName, l.get(p));
2441
- let h = t.getPath() + "/" + p, g = new L(t, this, h, u, d, a, o);
2322
+ let h = t.getPath() + "/" + p, g = new R(t, this, h, u, d, a, o);
2442
2323
  this._doWalk(m, g, n, c, s ?? i, a, o);
2443
2324
  }
2444
2325
  return s;
2445
2326
  }
2446
2327
  };
2447
- export { fe as DOMTransformer, L as ExecutionContext, h as NumberUtils, ie as VisitorUtils };
2328
+ export { Me as DOMTransformer, R as ExecutionContext, de as NumberUtils, ue as VisitorUtils };