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

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 (339) hide show
  1. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +7 -0
  2. package/browser/cjs/{CN8lXPB3rJ4Ux6jN.cjs → B19QM3SGmPKKwD_o.cjs} +1 -1
  3. package/browser/cjs/{BYp7-QW_AGEONvMr.cjs → B5YBx0GqLor3i0O1.cjs} +1 -1
  4. package/browser/cjs/{Eja0Zsmdah-At3rJ.cjs → B9EI7wviSkHS9ZkH.cjs} +1 -1
  5. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +1 -0
  6. package/browser/cjs/{Cf902jiI4KmAo0xm.cjs → BEJFcqVMDMKOvs11.cjs} +1 -1
  7. package/browser/cjs/{Bf__CHuG3Xml-c51.cjs → BEVqcFGFU6Ri9y8T.cjs} +2 -2
  8. package/browser/cjs/{CwBld2h5K_-uk804.cjs → BEzaum_kgG4yAOx0.cjs} +1 -1
  9. package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +1 -0
  10. package/browser/cjs/{BOLM1QOvxUKhYbK5.cjs → BIQZDBQfv3Qm5iC8.cjs} +2 -2
  11. package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +2 -0
  12. package/browser/cjs/{QH2fF4MqkcvdkNjz.cjs → BZr-IqNS1skh1hr6.cjs} +1 -1
  13. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +3 -0
  14. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +1 -0
  15. package/browser/cjs/{udZZuwSKdGYCjFsn.cjs → BziOCn_XEGT4ynN5.cjs} +1 -1
  16. package/browser/cjs/C-HOJozu5NgCil1q.cjs +1 -0
  17. package/browser/cjs/{hI9m9CzcSN-spUI2.cjs → C2oTW2DjZypuqq7x.cjs} +1 -1
  18. package/browser/cjs/{DOkSIS6STTVNDKfk.cjs → C5rQELB0TUeXY6VM.cjs} +1 -1
  19. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +33 -0
  20. package/browser/cjs/{BHgdQUCqHS6ORa7c.cjs → CPgCih_KEqnUZ9Rv.cjs} +1 -1
  21. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +5 -0
  22. package/browser/cjs/{Y0B5_Kqc0UL2taRO.cjs → CcneNtiqtKppCa-p.cjs} +2 -2
  23. package/browser/cjs/Ci8Uu7_b4lwwRLAD2.cjs +1 -0
  24. package/browser/cjs/{KzrnzN7NeOPdB-Ic.cjs → Cm21F18ga8TluA9h.cjs} +1 -1
  25. package/browser/cjs/{DP0yIsjVWme5C-UE.cjs → CojEXZgX08waZOoq.cjs} +1 -1
  26. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +88 -0
  27. package/browser/cjs/{CLb55xtEE2qOnXPJ2.cjs → CvV18ZJgssoHMkdf2.cjs} +1 -1
  28. package/browser/cjs/{BC9dJX0j0S8cLlfd.cjs → Cy-4IMt-AbR-ifP3.cjs} +1 -1
  29. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +7 -0
  30. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +1 -0
  31. package/browser/cjs/{CJGPlP_eqUiNvS8J2.cjs → D19RglhKiroWfpQn2.cjs} +1 -1
  32. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +1 -0
  33. package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +1 -0
  34. package/browser/cjs/DNy-UU3NKNqQQngF.cjs +1 -0
  35. package/browser/cjs/{COpCKLHQ5jF_IoiS2.cjs → DPjEO7dwhCFd8DHR2.cjs} +1 -1
  36. package/browser/cjs/{CAEF_wXnxI6o5BkS.cjs → DfMJOaJ0GcUiSn4Q.cjs} +1 -1
  37. package/browser/cjs/{DCoIIJyPtSyIsTJb.cjs → DiZDRPIgbO3sQ8Vb.cjs} +1 -1
  38. package/browser/cjs/{D2KFRZ75pzopfyVC.cjs → DsIHLUKUrSrYhFHl.cjs} +1 -1
  39. package/browser/cjs/{BDSt3etlKFP344pX2.cjs → DvSvfeo9V0Abfd3q2.cjs} +1 -1
  40. package/browser/cjs/{BhZ21zg_gpygQ79x2.cjs → DxQkFYAFNZubVdn22.cjs} +1 -1
  41. package/browser/cjs/{CctPhNbQyX8s8ExI.cjs → E-IqDztfMb_xdszH.cjs} +1 -1
  42. package/browser/cjs/{BHpypCDUD5cP3vR92.cjs → ElcoSB--cCpS6i7R2.cjs} +1 -1
  43. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +1 -0
  44. package/browser/cjs/{DuLz-mXv6patMuVn2.cjs → Kr8f1inOTt-MICaP2.cjs} +1 -1
  45. package/browser/cjs/{DMJpPocVk36TEmfa.cjs → PM3PrEWG3WHKxaDx.cjs} +1 -1
  46. package/browser/cjs/{DtgmpiVT0_CaM-eU2.cjs → YG320hBA20Dl3HoU2.cjs} +1 -1
  47. package/browser/cjs/{Dl_WSCZ-dmkNHosq.cjs → _H5j4dU7HOBYTawU.cjs} +1 -1
  48. package/browser/cjs/a0Z-SXs_N71CtqYb2.cjs +1 -0
  49. package/browser/cjs/{1KM7qHlz__nQ218X2.cjs → aYuNpndpwcZG5eik2.cjs} +1 -1
  50. package/browser/cjs/{BzvKaJw-3G3FMhao2.cjs → bGMaev70Zd_NXqLM2.cjs} +1 -1
  51. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +1 -0
  52. package/browser/cjs/{BCax8eUosvZxqJum2.cjs → hzUo76TXMOBqsI3U2.cjs} +1 -1
  53. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +12 -0
  54. package/browser/cjs/index.cjs +2 -2
  55. package/browser/cjs/xBcvszV6x7ys-m532.cjs +1 -0
  56. package/browser/esm/{CecKVsBMvvKuk2Og.mjs → -vgNEEXiEad4bltZ.mjs} +4467 -3814
  57. package/browser/esm/{BIboUJ6YhTe0O5Ep.mjs → 1guzFZp1LHz_FwfL.mjs} +1 -1
  58. package/browser/esm/{C39fSQO6blxFky052.mjs → 3y_bCend8tkaewDG2.mjs} +7 -7
  59. package/browser/esm/{D7-Zv2k1IJkmQoxc.mjs → 47Yv4X226-93If7L.mjs} +1 -1
  60. package/browser/esm/{Ci7qcrvyeBaD36sR.mjs → 7rixDGGrR72lXkMV.mjs} +5 -5
  61. package/{cdn/assets/BM3Fxh1DBzKRDnJ-.js → browser/esm/8V-VceXEjpADM8qK2.mjs} +1 -1
  62. package/browser/esm/{DX0xvH5nQ8MjqsA02.mjs → 8f9hCbpXTTYEgG312.mjs} +2 -2
  63. package/browser/esm/{DqfIf41HljTIhC84.mjs → 9_bymSfTn_rR_v6W.mjs} +5 -5
  64. package/{cdn/assets/Cwee8HXWwJj0ASk32.js → browser/esm/At60x9FEPePwPP_J.mjs} +7589 -6421
  65. package/browser/esm/{CsK0x9jgM8z_DOl1.mjs → B0HA_dHcr0kKfudQ.mjs} +43 -43
  66. package/browser/esm/{CtZ4wSjG6QUWs7Nn.mjs → B1NoGosH2YQh01g7.mjs} +6 -6
  67. package/browser/esm/{rnntZ_PYlojxr5c4.mjs → B4h6iO7hQ9lCR7kj.mjs} +1828 -1445
  68. package/browser/esm/{BzilGTs3oFGxJ5uB.mjs → B4iT_CduJeJunwBc.mjs} +2 -2
  69. package/browser/esm/{CqSxZiLos0nQa69t2.mjs → B4vYIE3kSPTxCgpf2.mjs} +5 -5
  70. package/{cdn/assets/BG-wTTfaCHaJMI5b.js → browser/esm/B5ZqqASTcBEV5L9K2.mjs} +1 -1
  71. package/browser/esm/{MZKwwgG9APikaCAg.mjs → BBtOlJMVlsWorNJH.mjs} +184 -184
  72. package/browser/esm/{Bpp8p7LJo9K-1Tm-.mjs → BCZjYGV8AqIZghBH.mjs} +1 -1
  73. package/browser/esm/{sIWoD1UYd1XgTrIs2.mjs → BCkXtOM3yKocv7L-2.mjs} +1 -1
  74. package/{cdn/assets/DHd5k_mCX2iTwwRi.js → browser/esm/BD7RxHQgrqy_4tb5.mjs} +2 -2
  75. package/{cdn/assets/Bk-F9XzxhuyAOQqK2.js → browser/esm/BDkVAo0CDCTE04ZJ2.mjs} +1 -1
  76. package/browser/esm/{CdV0VXnaW6UyTd8E.mjs → BHBJtVTiQByD_y9j.mjs} +1 -1
  77. package/{cdn/assets/BMlDCj6kw-JTuDJ9.js → browser/esm/BHmYoIIbNW3GdcqV2.mjs} +1 -1
  78. package/{cdn/assets/Bk8tTxRXYv1v5QpX.js → browser/esm/BLcn1kGRsjURZSzk.mjs} +2 -2
  79. package/{cdn/assets/YGKMD1YfDLoo18Sy2.js → browser/esm/BMRav2VAqEzDSp3r2.mjs} +1 -1
  80. package/browser/esm/{HQv1oLV3ax-NKXZG.mjs → BOl4FzJRD7MplCU72.mjs} +1 -1
  81. package/browser/esm/{Bk13V_C0eSaqMClU.mjs → BPv6Pw1hW-sV5Fya.mjs} +1 -1
  82. package/browser/esm/{nBRFIzaPeMPPvIMQ2.mjs → BQDXkeSabbxB5DUB2.mjs} +6 -6
  83. package/browser/esm/{DjwllBVpUWlaltMT.mjs → BUCKq_2lHPd1ndvw.mjs} +6 -6
  84. package/browser/esm/{DUpHK7eGlzF6E3h5.mjs → BVRzmIk5PujkT_Ap.mjs} +12 -8
  85. package/{cdn/assets/DJzMm5FQXuMWHNom2.js → browser/esm/BVjXdv_wkL1x_8ZJ2.mjs} +1 -1
  86. package/browser/esm/{BT1lb0BHqaMUHJEH.mjs → BX4f6i2WMBMKFVCq.mjs} +4 -4
  87. package/browser/esm/{De-RIk_tQ6xW8NH2.mjs → BZsx0QHg1RZlM9ZN.mjs} +1 -1
  88. package/browser/esm/{BbgnnZj965cf_RAV2.mjs → BceIETi6JJRW6Ss62.mjs} +7 -7
  89. package/browser/esm/{BKX_mnqOl4t0M7Q-.mjs → Be4QC65cR8N84rTn.mjs} +1 -1
  90. package/browser/esm/{BamGz0uoayfOfFJD.mjs → BhxX7CZWSOlV2Dsz.mjs} +7 -7
  91. package/browser/esm/{DZyZNxEMnIWr2n8S.mjs → BhzLZRz2N8RxjQ_U.mjs} +3 -3
  92. package/browser/esm/{swjGzqq7IK8YnHrV.mjs → BjTf3XA9Swj0ngpH.mjs} +2 -2
  93. package/browser/esm/{Sm94kpOe8UUYLpaZ.mjs → BkSb_vyWe-AhyEDa.mjs} +3 -3
  94. package/browser/esm/{CC52ynv81P-LwXRT.mjs → Bl6bX86tSq8hfyb2.mjs} +6 -6
  95. package/browser/esm/{yFD3mg0KbvkE3s1Y2.mjs → Blc1T4zLkp8bRC_n2.mjs} +7 -7
  96. package/browser/esm/{CWQXDC8Qk5PH757v.mjs → Bp9qFBIcpIGXvMgo.mjs} +13 -13
  97. package/{cdn/assets/CxJliRXAfjf-8FJL.js → browser/esm/BqTFwWLbXXJ0Fu-X2.mjs} +1 -1
  98. package/browser/esm/{yqwkS9EO5146-Xhf2.mjs → BqwvP0318zI2izeL2.mjs} +9 -9
  99. package/{cdn/assets/CUj7kwIeQGAqyb6V.js → browser/esm/Bv_96nwOEMHN9Sa02.mjs} +1 -1
  100. package/browser/esm/{uk2_KQhVX77MWa7A2.mjs → BykiUmcpDgSRNQI12.mjs} +1 -1
  101. package/browser/esm/{Bpypf56n7jOOW7Ys.mjs → C0rS1uBqfsj-gPR8.mjs} +7 -7
  102. package/{cdn/assets/Nj1DgowT0KN0un7b.js → browser/esm/C1ZePT2B182vSnxW2.mjs} +1 -1
  103. package/browser/esm/{CI92jUOrJIKUlfGx2.mjs → C6CK_4GD9IpxKglV2.mjs} +1436 -1398
  104. package/browser/esm/{BEF8kcbXgMjyCP4C2.mjs → CAPgMrAKg07EREFD.mjs} +1 -1
  105. package/browser/esm/{Cjq-G2Seyww6IMSH.mjs → CEN8dYSpN2oew8HH.mjs} +1 -1
  106. package/{cdn/assets/BG8zQEmkmTTw8LXE.js → browser/esm/CG5v2hAwGR5Ptufn.mjs} +1 -1
  107. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +87 -0
  108. package/browser/esm/{CX0QhwSYuHoImWlY2.mjs → CGqvy5LwQ4z9J2oD2.mjs} +1 -1
  109. package/{cdn/assets/Dt8IOrB4ifUVtTff.js → browser/esm/CGyydD3tRb0ik50l2.mjs} +1 -1
  110. package/browser/esm/{DbGc-QtQMWI-VyUe.mjs → CH0of3GZTzHviuQV.mjs} +1 -1
  111. package/browser/esm/{CI8YyVegXUBlHR61.mjs → CJPemkFUzhcAD_qR.mjs} +1 -1
  112. package/browser/esm/{DgGF1ZaI3ti0c_Nz.mjs → COA_SZY2x8q6t4BD.mjs} +1 -1
  113. package/browser/esm/{jvvKubD9MdvZCawH2.mjs → CPUlpDM6aAzZzCat2.mjs} +11 -11
  114. package/{cdn/assets/DAN4gSLpoicGd0oX2.js → browser/esm/CQM87ZBN7Yzn4Yxr.mjs} +3 -3
  115. package/browser/esm/{Bynpw8CnO-1JkFdZ2.mjs → CR3jgkduTLczbMjH2.mjs} +1 -1
  116. package/browser/esm/{BV1A7fanbtryQZdr.mjs → CU1d8OvDv5TU6fSd.mjs} +254 -236
  117. package/browser/esm/{CEWWFcwu4AyqL0cQ.mjs → CY1zykikO58_ADk8.mjs} +250 -247
  118. package/browser/esm/{Bxt5fHMZXudQ1QHA.mjs → CZWIS7FuqNjbheSw.mjs} +6 -6
  119. package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +238 -0
  120. package/{cdn/assets/DNXCAcVGHeeoKPcx.js → browser/esm/Cbw0JeJURvQyxIoa.mjs} +1 -1
  121. package/browser/esm/{l9SSIWXeR5tPN95-.mjs → Cc5IufffX4N-8QpE.mjs} +3 -3
  122. package/browser/esm/{CEgIZKMC4XoMmPp5.mjs → Cd8HXAJlflkkTXxc.mjs} +3 -3
  123. package/browser/esm/{BC9RLqAWMPRx_1rS.mjs → CdMv3f8Gyxh8q2RR2.mjs} +1 -1
  124. package/browser/esm/{B3CqIagnCvfOrLBT.mjs → CfuhUkrvOq11d9FR.mjs} +7 -7
  125. package/{cdn/assets/y07oKUx2vGjEEZ0w2.js → browser/esm/CfvrjQGuf7vXiQCB.mjs} +1 -1
  126. package/browser/esm/{UOfj2s5X9yjL1iLF2.mjs → Ckl3FLCOeqw7yhkP2.mjs} +8 -8
  127. package/{cdn/assets/C_Kd0CPQvZsJLD6b.js → browser/esm/Clfp7SznkOrJoQvL.mjs} +1 -1
  128. package/browser/esm/{53p_EWlOxGgrMq-q.mjs → CpjX81WsWJbXMUoT.mjs} +908 -870
  129. package/browser/esm/{DwEiTFl_RN5oQzfh.mjs → CsufM5aF6VTLKDWM.mjs} +7 -7
  130. package/browser/esm/{5XtgjihhVCzNqyYJ2.mjs → CtXoSHbCUKMY-tSJ.mjs} +1 -1
  131. package/browser/esm/{CNZeWICVX0x6E3-Z.mjs → D3G3tI3DVCUF3Gdk.mjs} +1 -1
  132. package/browser/esm/{Clu5SMZriAkKa_np2.mjs → D4VqLbEWag8lTWzC2.mjs} +13 -13
  133. package/browser/esm/{2dJqxS99uENpvAC92.mjs → D6SKy2BtcWkhfiA02.mjs} +1 -1
  134. package/{cdn/assets/BbRZ0cO4t2haGX-o.js → browser/esm/D9-wpGVbTS9rRpxx.mjs} +1 -1
  135. package/{cdn/assets/DSY8maNeFb51KgKe.js → browser/esm/DBL3Qp5jyPrFg7KI2.mjs} +1 -1
  136. package/{cdn/assets/SNsjWQUbxOQzdnCT.js → browser/esm/DDOO4tcrO4OfMUDe.mjs} +1 -1
  137. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +538 -0
  138. package/browser/esm/{BDHrIbkTx7Ii0RYb.mjs → DFdU1DsC1lXOrejZ.mjs} +950 -945
  139. package/browser/esm/{Dcbf_tge-hZbUfUD.mjs → DMLwXmjo28k_iNEU.mjs} +1120 -1052
  140. package/{cdn/assets/BHmeRWtpqOMknkon.js → browser/esm/DMX-ZlC_ljcf7oUN.mjs} +1 -1
  141. package/{cdn/assets/CtaapT_7WuEvy48w2.js → browser/esm/DQ-0yyFAwoWtxmhV2.mjs} +1 -1
  142. package/{cdn/assets/BmZX5BqczMfR2VlT.js → browser/esm/DQ4o4dG7gWbL1X8F2.mjs} +1 -1
  143. package/{cdn/assets/DDg-fxiIqpuutuyu.js → browser/esm/DRc_Wi5c7WdKHTVN2.mjs} +1 -1
  144. package/{cdn/assets/DyPUmQ-x13kFTQyg.js → browser/esm/DTaVECXVrgvC48BE.mjs} +3 -3
  145. package/browser/esm/{CKc-IOHYDEuo2FhB.mjs → DVJd6McdAG5udItH.mjs} +5 -5
  146. package/browser/esm/{IMAnmKax7yp8adEP2.mjs → DVQNQmjI2PKkwiOw2.mjs} +15 -15
  147. package/browser/esm/{CCvvNbrMzlFHlAbr2.mjs → DVZ_UnchuMRveDG32.mjs} +12 -4
  148. package/{cdn/assets/DR4uNNkaArYCuvNg.js → browser/esm/DW72HwfnJtQxzoGa.mjs} +2 -2
  149. package/browser/esm/{MJIl3u3WexRfuRxx.mjs → DXWmgQSeh0_HDxZj.mjs} +4 -4
  150. package/{cdn/assets/DT8AGfoENVVMPsi3.js → browser/esm/DZbR5R1fNikjgqYb.mjs} +1 -1
  151. package/{cdn/assets/DhnxpW56CJ43gVOI2.js → browser/esm/D_t53-8k73CNpV-p.mjs} +72 -46
  152. package/browser/esm/{B1AbnDun66mq_S2f.mjs → D_zNx76HGunFi7xJ.mjs} +12 -12
  153. package/browser/esm/{R3YBWWwMJAzbuwie2.mjs → Dc0BDcQUGy_WIVFa.mjs} +1 -1
  154. package/browser/esm/{CSlBZF1ezptA1LSS2.mjs → DfRGH6mEtIVDWEYN2.mjs} +1 -1
  155. package/{cdn/assets/B5G5aOCiy3kn0ADy.js → browser/esm/Dg5wjQp0fArKXlM3.mjs} +2 -2
  156. package/{cdn/assets/4Z5QgDDHi93cqy332.js → browser/esm/DnuaqN0xfgqzl8qG.mjs} +684 -622
  157. package/browser/esm/{BXf0y-wp2FQ5btCG2.mjs → Dnx3_xXfRlD6ECfZ2.mjs} +1 -1
  158. package/browser/esm/{BwekjT1bXcBAV6hi2.mjs → DrUEYcXg6N2D2s1Z2.mjs} +1 -1
  159. package/{cdn/assets/CAgzNDmM7lJZAN5m.js → browser/esm/DtXC6uPF2LLktqFE.mjs} +2 -2
  160. package/browser/esm/{B4094aQR3Q4KhALV2.mjs → DuPdSe-EXFTx9dsc2.mjs} +8 -8
  161. package/browser/esm/{Byl6FdOyv58rFwxZ.mjs → DzDwSOBdJh_lx_NM.mjs} +5 -5
  162. package/{cdn/assets/iKMg-svZQSvoVzqO.js → browser/esm/EwzqnZl1lTr56hH-2.mjs} +1 -1
  163. package/browser/esm/{Jw068AbKaxWlv8HJ2.mjs → Gy0CHZTvn4hY-rkx2.mjs} +1 -1
  164. package/browser/esm/{BEgQWG98wq54oeau2.mjs → NekeSGoazNCraGNC2.mjs} +7 -7
  165. package/browser/esm/{B7kOoeXeYeZqA_mU.mjs → R5bs6kCQSZmsCXz-.mjs} +1 -1
  166. package/browser/esm/{Be2V19M8IxytN_Aa.mjs → RW23HF8taEtW8q9D.mjs} +2 -2
  167. package/browser/esm/{DD-_f0jEXDy0dn6z.mjs → fJ1McMt7xzRA_lUX.mjs} +6 -6
  168. package/{cdn/assets/DKLwRgsx1WelayB62.js → browser/esm/hFSDx-LnUOObv-6h2.mjs} +1 -1
  169. package/browser/esm/index.mjs +6 -6
  170. package/browser/esm/{4-QoxOhoR614u5tO.mjs → nguMxPB9LKexKBRX.mjs} +12 -12
  171. package/browser/esm/{CNgKTif3Jo9FLV7d.mjs → oYdWyqsKo9ejAdVm.mjs} +2 -2
  172. package/browser/esm/{CsqtbHllm56zw5xh2.mjs → qG5zdZZAe6mQIJo32.mjs} +1 -1
  173. package/{cdn/assets/DL_Jd5k5JINA7woQ.js → browser/esm/qzhFT2j-mpQEQnKs.mjs} +2723 -2575
  174. package/{cdn/assets/DYaHqG1Xx-r7mlLq2.js → browser/esm/vcRSnmAqjwKglEkY.mjs} +1 -1
  175. package/cdn/assets/{BWcc3hnnAhelxjOr2.js → -2S675KWulPRlVNb2.js} +8 -8
  176. package/{browser/esm/BHmeRWtpqOMknkon.mjs → cdn/assets/1guzFZp1LHz_FwfL2.js} +1 -1
  177. package/cdn/assets/{BNU2ZqxIegIJr-572.js → 2CuCH0wi9XPgVzE42.js} +7 -7
  178. package/cdn/assets/{Dhmpgvzx9S-LYXr82.js → 2UHIeioUPXrwtZy-2.js} +9 -9
  179. package/cdn/assets/{D7-Zv2k1IJkmQoxc.js → 47Yv4X226-93If7L2.js} +1 -1
  180. package/{browser/esm/BM3Fxh1DBzKRDnJ-2.mjs → cdn/assets/8V-VceXEjpADM8qK.js} +1 -1
  181. package/cdn/assets/{DX0xvH5nQ8MjqsA0.js → 8f9hCbpXTTYEgG31.js} +2 -2
  182. package/{browser/esm/CVDNfe5yVj7xYGeO.mjs → cdn/assets/B55nrhIK6gAAu4ZA.js} +2 -2
  183. package/{browser/esm/BG-wTTfaCHaJMI5b2.mjs → cdn/assets/B5ZqqASTcBEV5L9K.js} +1 -1
  184. package/cdn/assets/{TO6gumfUOp2BgIlL.js → BAhvL7M7ZcgZ8eDc2.js} +7 -7
  185. package/cdn/assets/{Bpp8p7LJo9K-1Tm-2.js → BCZjYGV8AqIZghBH.js} +1 -1
  186. package/cdn/assets/{sIWoD1UYd1XgTrIs.js → BCkXtOM3yKocv7L-.js} +1 -1
  187. package/{browser/esm/Bk-F9XzxhuyAOQqK.mjs → cdn/assets/BDkVAo0CDCTE04ZJ.js} +1 -1
  188. package/cdn/assets/{CdV0VXnaW6UyTd8E.js → BHBJtVTiQByD_y9j2.js} +1 -1
  189. package/{browser/esm/BMlDCj6kw-JTuDJ92.mjs → cdn/assets/BHmYoIIbNW3GdcqV.js} +1 -1
  190. package/cdn/assets/{F-Y7Aw8fXxuX1LhE2.js → BJEpPEyFWtLzMIq-2.js} +1007 -969
  191. package/cdn/assets/{B1WYofA6cHbr8sxv2.js → BKEzd89UphJ8q1pp2.js} +277 -259
  192. package/cdn/assets/{rFTMJ-_CKVUSpQ9x2.js → BM7OqAUEUk-up7_82.js} +13 -13
  193. package/{browser/esm/YGKMD1YfDLoo18Sy.mjs → cdn/assets/BMRav2VAqEzDSp3r.js} +1 -1
  194. package/cdn/assets/{BSUsQ6-YD40bvOdG2.js → BNuoKAzs4zkxSocG2.js} +7 -7
  195. package/cdn/assets/{D-bML_q46je0p2os.js → BNybEGR813e3aNIv.js} +953 -948
  196. package/cdn/assets/{HQv1oLV3ax-NKXZG2.js → BOl4FzJRD7MplCU7.js} +1 -1
  197. package/cdn/assets/{Bk13V_C0eSaqMClU.js → BPv6Pw1hW-sV5Fya.js} +1 -1
  198. package/cdn/assets/{dywzP082Q24_9Q5U2.js → BU6uQhQhpaLElTT82.js} +8 -8
  199. package/cdn/assets/{BGlQEwuUWK6Oz7bC.js → BVgTMDEoPgsWFmku.js} +105 -105
  200. package/{browser/esm/DJzMm5FQXuMWHNom2.mjs → cdn/assets/BVjXdv_wkL1x_8ZJ2.js} +1 -1
  201. package/cdn/assets/BWlMK76Aj2d4ygsH.js +538 -0
  202. package/cdn/assets/{De-RIk_tQ6xW8NH22.js → BZsx0QHg1RZlM9ZN2.js} +1 -1
  203. package/cdn/assets/{BKX_mnqOl4t0M7Q-2.js → Be4QC65cR8N84rTn2.js} +1 -1
  204. package/cdn/assets/{ykS_w8WDHugwGY9S2.js → BhDLR-jtbOOG-tl12.js} +25 -25
  205. package/cdn/assets/{BhNQRWnlFUA4eX9Z2.js → BixsQGDDf3Iv_PtW2.js} +1120 -1052
  206. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +239 -0
  207. package/{browser/esm/CxJliRXAfjf-8FJL2.mjs → cdn/assets/BqTFwWLbXXJ0Fu-X.js} +1 -1
  208. package/{browser/esm/CUj7kwIeQGAqyb6V.mjs → cdn/assets/Bv_96nwOEMHN9Sa0.js} +1 -1
  209. package/cdn/assets/{uk2_KQhVX77MWa7A.js → BykiUmcpDgSRNQI1.js} +1 -1
  210. package/cdn/assets/{_5fYV4ZbX0S6MIpD2.js → BzUU8y1IFjREzgog2.js} +8 -8
  211. package/{browser/esm/Nj1DgowT0KN0un7b2.mjs → cdn/assets/C1ZePT2B182vSnxW.js} +1 -1
  212. package/cdn/assets/{HT9FFYzSOuRaDcHS2.js → C8mUyjJ26jsHGl_D.js} +6 -6
  213. package/cdn/assets/{BEF8kcbXgMjyCP4C.js → CAPgMrAKg07EREFD2.js} +1 -1
  214. package/cdn/assets/{BDZq-VDymQAePI7X.js → CBuvbUg67ah_3BOZ.js} +2 -2
  215. package/cdn/assets/{Cjq-G2Seyww6IMSH2.js → CEN8dYSpN2oew8HH2.js} +1 -1
  216. package/{browser/esm/D99KkptfLQp60ECI.mjs → cdn/assets/CF8m5SqeMaRkGIYM.js} +2 -2
  217. package/{browser/esm/BG8zQEmkmTTw8LXE2.mjs → cdn/assets/CG5v2hAwGR5Ptufn2.js} +1 -1
  218. package/cdn/assets/{CX0QhwSYuHoImWlY.js → CGqvy5LwQ4z9J2oD.js} +1 -1
  219. package/{browser/esm/Dt8IOrB4ifUVtTff2.mjs → cdn/assets/CGyydD3tRb0ik50l.js} +1 -1
  220. package/cdn/assets/CH0of3GZTzHviuQV.js +24 -0
  221. package/cdn/assets/CH0of3GZTzHviuQV2.js +24 -0
  222. package/cdn/assets/{s2fSOFCKUPsjfoxR.js → CHttngK66Ido5dWW.js} +7 -7
  223. package/cdn/assets/{CI8YyVegXUBlHR61.js → CJPemkFUzhcAD_qR.js} +1 -1
  224. package/cdn/assets/{DgGF1ZaI3ti0c_Nz.js → COA_SZY2x8q6t4BD.js} +1 -1
  225. package/cdn/assets/{Bynpw8CnO-1JkFdZ.js → CR3jgkduTLczbMjH.js} +1 -1
  226. package/cdn/assets/{CK4ZQnpkZHN03RHP2.js → CT3G9YRPVfKtHWwf2.js} +9 -9
  227. package/{browser/esm/RFuzM5jhOgjn2C_7.mjs → cdn/assets/C_Io1QC4CeLGRBrz.js} +2 -2
  228. package/{browser/esm/DNXCAcVGHeeoKPcx2.mjs → cdn/assets/Cbw0JeJURvQyxIoa.js} +1 -1
  229. package/cdn/assets/{BC9RLqAWMPRx_1rS.js → CdMv3f8Gyxh8q2RR.js} +1 -1
  230. package/cdn/assets/{Cb1n0HtvwfvZOwZz.js → Ce5A_D4YBgi_s2KF.js} +8 -8
  231. package/{browser/esm/y07oKUx2vGjEEZ0w.mjs → cdn/assets/CfvrjQGuf7vXiQCB2.js} +1 -1
  232. package/cdn/assets/{ClWQjK8wtCNyfHiY.js → Chq4BwbjH0sbIkJN2.js} +2 -2
  233. package/{browser/esm/C_Kd0CPQvZsJLD6b2.mjs → cdn/assets/Clfp7SznkOrJoQvL.js} +1 -1
  234. package/{browser/esm/CmcKdn-U2ywgYm_9.mjs → cdn/assets/CopfZ7Y1Zn_PDNXK.js} +2 -2
  235. package/cdn/assets/{DmfSfK3IDzXPHkJL2.js → CpYlf4dXa_V2v-iS2.js} +602 -599
  236. package/cdn/assets/{v2SkWlVj3d1y2tfT2.js → CpnA5TZRkPDt4HnM2.js} +2 -2
  237. package/{browser/esm/Bs6uuY3i689nSdNa.mjs → cdn/assets/Crkvq5j5KIa6eTLI2.js} +13380 -12212
  238. package/cdn/assets/{5XtgjihhVCzNqyYJ.js → CtXoSHbCUKMY-tSJ2.js} +1 -1
  239. package/cdn/assets/{DBDr4dkaPZ8Gd8CD.js → Cv-KXN9kl0UeMezQ.js} +202 -202
  240. package/{browser/esm/BlC4_SZ2XYvtnkHw.mjs → cdn/assets/CvtkpvGzCHhNuwTm.js} +2274 -2126
  241. package/cdn/assets/{B8kiZt5i9HOHYeAo.js → D-fJXasEYyfRUcj2.js} +3 -3
  242. package/cdn/assets/{C0ioCmY0K9GI3SiM.js → D1MA2ed2cLMt7hV9.js} +7 -7
  243. package/cdn/assets/{CNZeWICVX0x6E3-Z.js → D3G3tI3DVCUF3Gdk2.js} +1 -1
  244. package/cdn/assets/{2dJqxS99uENpvAC9.js → D6SKy2BtcWkhfiA0.js} +1 -1
  245. package/{browser/esm/BbRZ0cO4t2haGX-o.mjs → cdn/assets/D9-wpGVbTS9rRpxx.js} +1 -1
  246. package/cdn/assets/{COaJqYKx8CJ595fz2.js → D9gETGi23d14kT7u2.js} +15 -15
  247. package/cdn/assets/{B4aainAlYLn-Q5H62.js → D9joTG0Z2zdWHAEa2.js} +3 -3
  248. package/{browser/esm/DSY8maNeFb51KgKe2.mjs → cdn/assets/DBL3Qp5jyPrFg7KI.js} +1 -1
  249. package/cdn/assets/{-wn5AXVsNdciGzNx.js → DC9obE_EVmxtvXCf.js} +2418 -2035
  250. package/cdn/assets/{BzNZfg3RJdx9PRAg2.js → DCnA2-zB7W_QB-tD2.js} +16 -12
  251. package/{browser/esm/CZy1bU6cVChuZKag.mjs → cdn/assets/DDNivpFWzQ3AIJia.js} +774 -712
  252. package/{browser/esm/SNsjWQUbxOQzdnCT.mjs → cdn/assets/DDOO4tcrO4OfMUDe.js} +1 -1
  253. package/cdn/assets/{Dm0riUQ_5Wg9oFgO.js → DEUY_zuVwmptMX4l.js} +7 -7
  254. package/cdn/assets/{CeD6pRhoV1LfiJjD.js → DIQf1pX-j-dWQu_e.js} +12 -12
  255. package/cdn/assets/{BITxO-ILVNOqgbA7.js → DJwQ9abZkyFO9Doy.js} +4 -4
  256. package/cdn/assets/{BV3cgeOVx6QLl85F.js → DKeLjEJPO9nT3bpr.js} +6 -6
  257. package/cdn/assets/{rT3DomLULA1xJhfY2.js → DLEdaT0MmrOxMa2h2.js} +16 -16
  258. package/cdn/assets/{ClkL86jz-4Gf_Uwg2.js → DOsbSsKsexrBoeXa2.js} +10 -10
  259. package/{browser/esm/CtaapT_7WuEvy48w2.mjs → cdn/assets/DQ-0yyFAwoWtxmhV2.js} +1 -1
  260. package/{browser/esm/BmZX5BqczMfR2VlT2.mjs → cdn/assets/DQ4o4dG7gWbL1X8F.js} +1 -1
  261. package/{browser/esm/DDg-fxiIqpuutuyu2.mjs → cdn/assets/DRc_Wi5c7WdKHTVN.js} +1 -1
  262. package/cdn/assets/{CsfLKTLGWgDLWY2z.js → DTCtbG90ip7Z7LaG.js} +6 -6
  263. package/cdn/assets/{BZbIcyw3tiUx7ztK2.js → DVS_5oDniuAFH3vT2.js} +1576 -1538
  264. package/cdn/assets/{CJMMds78eEvd6ivG2.js → DW7JlG-SQEdLYNar2.js} +11 -3
  265. package/{browser/esm/DbfFQif7awKrcxxB.mjs → cdn/assets/DZDynaLqNeVaDoiH2.js} +3 -3
  266. package/{browser/esm/DT8AGfoENVVMPsi3.mjs → cdn/assets/DZbR5R1fNikjgqYb.js} +1 -1
  267. package/cdn/assets/{wBchGa30DBwJnPZQ2.js → D_HeH7AJqWoxehn52.js} +3 -3
  268. package/{browser/esm/DhnxpW56CJ43gVOI.mjs → cdn/assets/D_t53-8k73CNpV-p2.js} +72 -46
  269. package/{browser/esm/BLq8q4tpQq7lW0jg.mjs → cdn/assets/DaBczM5xU9ev5_or.js} +2 -2
  270. package/cdn/assets/{CcJHQ6UROltFQL2I.js → DbEGszSW_J_k96KJ.js} +2 -2
  271. package/cdn/assets/{R3YBWWwMJAzbuwie.js → Dc0BDcQUGy_WIVFa.js} +1 -1
  272. package/cdn/assets/{CSlBZF1ezptA1LSS.js → DfRGH6mEtIVDWEYN.js} +1 -1
  273. package/cdn/assets/{BXf0y-wp2FQ5btCG.js → Dnx3_xXfRlD6ECfZ.js} +1 -1
  274. package/cdn/assets/{UtYZqTCpvZMQKdR8.js → DnzDlqizzNkbhJP7.js} +2 -2
  275. package/cdn/assets/{BwekjT1bXcBAV6hi.js → DrUEYcXg6N2D2s1Z.js} +1 -1
  276. package/cdn/assets/{3QC61uhcIBmRDR9w.js → DvItgGbf8IOWPyxd.js} +6901 -6248
  277. package/cdn/assets/{ZQsrI5kqNG_ZOdZD2.js → DvlpP6sUZ9Qzl9s22.js} +44 -44
  278. package/cdn/assets/{Bv8Sjub_HtVCmnyZ.js → EjOJX5m8OEL-IjPB.js} +6 -6
  279. package/{browser/esm/iKMg-svZQSvoVzqO2.mjs → cdn/assets/EwzqnZl1lTr56hH-.js} +1 -1
  280. package/cdn/assets/{Jw068AbKaxWlv8HJ.js → Gy0CHZTvn4hY-rkx.js} +1 -1
  281. package/cdn/assets/{B7kOoeXeYeZqA_mU2.js → R5bs6kCQSZmsCXz-2.js} +1 -1
  282. package/cdn/assets/{-OScuzLTidF7HNaK2.js → UYgwKnPX3US3Cj2k2.js} +14 -14
  283. package/cdn/assets/{DfMvz_tU8vJuV2Wl.js → WLUhtyUNK5QJ7Pff.js} +3 -3
  284. package/cdn/assets/{DupOTk4J52hzKr6p.js → c6VvwMHfXubjjtyj.js} +7 -7
  285. package/cdn/assets/{CjO9u_nQjtCD7xTH2.js → c7aIqKLOO4pvUsV12.js} +72 -72
  286. package/cdn/assets/{DQrSW7F6xwljb9vw2.js → gspQcUnmlRIwG609.js} +5 -5
  287. package/{browser/esm/DKLwRgsx1WelayB6.mjs → cdn/assets/hFSDx-LnUOObv-6h.js} +1 -1
  288. package/cdn/assets/{CaLQ8stna0cEenbY.js → iXWgTu3qpYZHcx1J.js} +8 -8
  289. package/cdn/assets/{BdI4wcd4XWPgeQnl.js → j8nXVEYbO2kPuEYQ.js} +3 -3
  290. package/cdn/assets/{ClHDdBXrC_nobC_N.js → mtI43hWjdp4E3Z_-.js} +7 -7
  291. package/{browser/esm/BTiq0pI-MmNI9sx6.mjs → cdn/assets/mtrwY1hjJeYlmzC-.js} +3 -3
  292. package/cdn/assets/{Bt-Xdgz1GdP9i0KH.js → nmR_PgTW7GrlbHHZ.js} +5 -5
  293. package/cdn/assets/{CsqtbHllm56zw5xh.js → qG5zdZZAe6mQIJo3.js} +1 -1
  294. package/cdn/assets/{ChBa56MbB_cDd9LM2.js → tVOVNvOs6ro8FXqa2.js} +8 -8
  295. package/cdn/assets/vTCuFafvRlSaT9wy.js +87 -0
  296. package/{browser/esm/DYaHqG1Xx-r7mlLq.mjs → cdn/assets/vcRSnmAqjwKglEkY2.js} +1 -1
  297. package/cdn/index.js +2 -2
  298. package/package.json +3 -3
  299. package/browser/cjs/B2cX7nid45K1XRcB.cjs +0 -1
  300. package/browser/cjs/BIcGM64pW8jzwXoR.cjs +0 -1
  301. package/browser/cjs/BQEk2bmRsrTs-zJu2.cjs +0 -7
  302. package/browser/cjs/BVN0uo1XwTCtE2mh.cjs +0 -7
  303. package/browser/cjs/BW4gFAFA5vc1x_8G.cjs +0 -1
  304. package/browser/cjs/Bq7bgCz2WfVwfQSv.cjs +0 -2
  305. package/browser/cjs/BxP_CBFuJxlFVfJP2.cjs +0 -1
  306. package/browser/cjs/C1tO7v57UD8xmj2X.cjs +0 -86
  307. package/browser/cjs/C9K6gYebhUCoGcyy.cjs +0 -5
  308. package/browser/cjs/CObKFza7rEOQcteD2.cjs +0 -1
  309. package/browser/cjs/CcBPECGj-X0W9a3_.cjs +0 -3
  310. package/browser/cjs/ChMPHLE_jFKu0JmZ2.cjs +0 -1
  311. package/browser/cjs/CtEazH3mA0Tj8qrG.cjs +0 -1
  312. package/browser/cjs/CxY5iqVeCdKKTzDq.cjs +0 -1
  313. package/browser/cjs/D6cjnwWR_iUSe1f62.cjs +0 -1
  314. package/browser/cjs/D9OGD2b5RCuNVkVt.cjs +0 -1
  315. package/browser/cjs/DDGqSmEUwpCyj2-T.cjs +0 -12
  316. package/browser/cjs/DDPxHIqx8aIbqTRE.cjs +0 -1
  317. package/browser/cjs/Dmdcgm3pqGKmXPGb.cjs +0 -33
  318. package/browser/cjs/Ds8fgjqVz8xPRHog.cjs +0 -1
  319. package/browser/cjs/gOdLq87FmaB-hTTZ.cjs +0 -1
  320. package/browser/esm/BibrryjUsSysyTSD2.mjs +0 -193
  321. package/browser/esm/D5MuKMXqFbc9B8JP.mjs +0 -87
  322. package/browser/esm/DA0VxVTFcWvrEQEv.mjs +0 -518
  323. package/cdn/assets/BHmeRWtpqOMknkon2.js +0 -24
  324. package/cdn/assets/BqA9-X1PlqRSSWll.js +0 -518
  325. package/cdn/assets/C8lUc_Lc03y-Whne2.js +0 -194
  326. package/cdn/assets/DbGc-QtQMWI-VyUe2.js +0 -24
  327. package/cdn/assets/i6PnYkX2rfHQQEvF.js +0 -87
  328. /package/browser/cjs/{BAxVLKkxFgI6cXnR2.cjs → BAxVLKkxFgI6cXnR.cjs} +0 -0
  329. /package/browser/cjs/{C9C-pr-T_ThweQX9.cjs → C9C-pr-T_ThweQX92.cjs} +0 -0
  330. /package/browser/cjs/{CJYewYJ5Z3iojl7J2.cjs → CJYewYJ5Z3iojl7J.cjs} +0 -0
  331. /package/browser/cjs/{CRx1WvmgBjT8WVyB.cjs → CRx1WvmgBjT8WVyB2.cjs} +0 -0
  332. /package/browser/cjs/{CW-b31_-r-_raT8Y.cjs → CW-b31_-r-_raT8Y2.cjs} +0 -0
  333. /package/browser/cjs/{CnZfa45XxA-9Jhmp2.cjs → CnZfa45XxA-9Jhmp.cjs} +0 -0
  334. /package/browser/cjs/{CpJJh4UnFl1_qFui2.cjs → CpJJh4UnFl1_qFui.cjs} +0 -0
  335. /package/browser/cjs/{CrZlUtdX1h2RUnCP2.cjs → CrZlUtdX1h2RUnCP.cjs} +0 -0
  336. /package/browser/cjs/{DDnGLOLTqLFsdUDS.cjs → DDnGLOLTqLFsdUDS2.cjs} +0 -0
  337. /package/browser/cjs/{DG2kqsWRUtVugjay.cjs → DG2kqsWRUtVugjay2.cjs} +0 -0
  338. /package/browser/cjs/{JfM6P_qoQQTWakZf2.cjs → JfM6P_qoQQTWakZf.cjs} +0 -0
  339. /package/browser/cjs/{h3dw1jAp2J5Pu4p3.cjs → h3dw1jAp2J5Pu4p32.cjs} +0 -0
@@ -1,15 +1,16 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.1
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./BHmeRWtpqOMknkon2.js";
8
- import { A as t } from "./Cjq-G2Seyww6IMSH2.js";
9
- import { a as n, l as r } from "./DhnxpW56CJ43gVOI2.js";
10
- import { Ct as i, D as a, I as o, J as s, nt as c, ot as l, p as u, pn as d, tt as f } from "./Cwee8HXWwJj0ASk32.js";
11
- import { o as p } from "./DmfSfK3IDzXPHkJL2.js";
12
- import { d as m, f as h, i as g, o as ee, p as _, r as te, s as v, t as y, u as ne } from "./COaJqYKx8CJ595fz2.js";
7
+ import { d as e, o as t } from "./D_t53-8k73CNpV-p2.js";
8
+ import { A as n } from "./CEN8dYSpN2oew8HH2.js";
9
+ import { B as r, Q as i, ct as a, dt as o, fn as s, it as c, nn as l, s as u, x as d } from "./Crkvq5j5KIa6eTLI2.js";
10
+ import { o as f } from "./CpYlf4dXa_V2v-iS2.js";
11
+ import { o as p } from "./BixsQGDDf3Iv_PtW2.js";
12
+ import { r as m } from "./1guzFZp1LHz_FwfL2.js";
13
+ import { d as h, f as g, i as _, o as ee, p as v, r as te, s as y, t as b, u as ne } from "./D9gETGi23d14kT7u2.js";
13
14
  var re = class {
14
15
  constructor(e) {
15
16
  this.list = e;
@@ -36,15 +37,15 @@ var re = class {
36
37
  [Symbol.iterator]() {
37
38
  return this.list.values();
38
39
  }
39
- }, ie = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, b = (e) => {
40
+ }, ie = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, ae = (e) => {
40
41
  let t = parseInt(e);
41
42
  return isNaN(t) ? null : t;
42
43
  }, x = (e) => {
43
44
  let t = parseFloat(e);
44
45
  return isNaN(t) ? null : t;
45
46
  }, S = /* @__PURE__ */ new Map(), C = class {
46
- constructor(e, n, r, i, a, o = null, s = t.EmptyObject) {
47
- this._fileLocation = "", this._parent = e, this.sharedShared = n, this.currentPath = r, this.elemRoot = i, this.jsonRoot = a, e ? (this._fileLocation = e._fileLocation, this._getRef = e._getRef, this._getRefs = e._getRefs, this._serializeElement = e._serializeElement) : (o && (this._fileLocation = o), s?.getRef && (this._getRef = (e, t, n) => s?.getRef?.(e, t, n, s?.parsedRefs)), s?.getRefs && (this._getRefs = (e) => s?.getRefs?.(e, s?.parsedRefs)), this._onWarning = s?.onWarning, this._addPerson = s?.addPerson, this._serializeElement = s?.serializeElement);
47
+ constructor(e, t, r, i, a, o = null, s = n.EmptyObject) {
48
+ this._fileLocation = "", this._parent = e, this.sharedShared = t, this.currentPath = r, this.elemRoot = i, this.jsonRoot = a, e ? (this._fileLocation = e._fileLocation, this._getRef = e._getRef, this._getRefs = e._getRefs, this._serializeElement = e._serializeElement) : (o && (this._fileLocation = o), s?.getRef && (this._getRef = (e, t, n) => s?.getRef?.(e, t, n, s?.parsedRefs)), s?.getRefs && (this._getRefs = (e) => s?.getRefs?.(e, s?.parsedRefs)), this._onWarning = s?.onWarning, this._addPerson = s?.addPerson, this._serializeElement = s?.serializeElement);
48
49
  }
49
50
  getRef(e, t = !1) {
50
51
  return this._getRef?.(e, this._fileLocation, t) ?? null;
@@ -120,11 +121,11 @@ var re = class {
120
121
  this._matchesElementName(a, t) && n.push(a), this._findDescendants(a, t, n);
121
122
  }
122
123
  }
123
- getFromPath(e, n) {
124
- return t.getFromPath(e, n);
124
+ getFromPath(e, t) {
125
+ return n.getFromPath(e, t);
125
126
  }
126
- setToPath(e, n, r) {
127
- return t.setToPath(e, n, r);
127
+ setToPath(e, t, r) {
128
+ return n.setToPath(e, t, r);
128
129
  }
129
130
  getValAttrAsString(e, t) {
130
131
  let n = this.evaluate(e, t);
@@ -148,7 +149,7 @@ var re = class {
148
149
  return ie;
149
150
  }
150
151
  get INT_COPY() {
151
- return b;
152
+ return ae;
152
153
  }
153
154
  get FLOAT_COPY() {
154
155
  return x;
@@ -164,7 +165,7 @@ var re = class {
164
165
  }
165
166
  this.setToPath(n, r, a);
166
167
  }
167
- }, ae = e({
168
+ }, oe = m({
168
169
  isBlank: () => k,
169
170
  isNotBlank: () => A,
170
171
  length: () => j,
@@ -173,10 +174,10 @@ var re = class {
173
174
  parseValAttrAsFloat: () => O,
174
175
  parseValAttrAsInteger: () => D,
175
176
  parseValAttrAsString: () => T
176
- }), w = (e, n) => {
177
+ }), w = (e, t) => {
177
178
  if (!e || !e.hasAttribute("rot")) return;
178
- let r = e.getAttribute("rot"), i = t.roundAccurately(h(r), 2);
179
- i !== -1e3 && (n.rotation = i);
179
+ let r = e.getAttribute("rot"), i = n.roundAccurately(g(r), 2);
180
+ i !== -1e3 && (t.rotation = i);
180
181
  }, T = (e, t, n, r, i) => {
181
182
  let a = e.getValAttrAsString(r, t);
182
183
  a !== null && (n[i] = a);
@@ -205,7 +206,7 @@ var re = class {
205
206
  }
206
207
  parseLn(e, t) {
207
208
  let n = {};
208
- t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = se(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = v(t.getAttribute("w")));
209
+ t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = ce(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = y(t.getAttribute("w")));
209
210
  let r = e.evaluate("miter", t);
210
211
  r && (n.lineJoin = "miter", r.hasAttribute("lim") && (n.miterLimit = parseFloat(r.getAttribute("lim")) / 1e5)), e.evaluate("bevel", t) && (n.lineJoin = "bevel"), e.evaluate("round", t) && (n.lineJoin = "round");
211
212
  let i = e.evaluate("custDash", t);
@@ -215,7 +216,7 @@ var re = class {
215
216
  let e = [];
216
217
  for (let n = 0; n < t.length; n++) {
217
218
  let r = t.item(n);
218
- e.push(y(r.getAttribute("d") ?? "")), e.push(y(r.getAttribute("sp") ?? ""));
219
+ e.push(b(r.getAttribute("d") ?? "")), e.push(b(r.getAttribute("sp") ?? ""));
219
220
  }
220
221
  n.dash = e;
221
222
  }
@@ -249,51 +250,51 @@ var re = class {
249
250
  switch (n) {
250
251
  case "outerShdw": {
251
252
  let n = {
252
- type: p.Type.OuterShadow,
253
+ type: f.Type.OuterShadow,
253
254
  color: this.processAdjColor(e, t)
254
255
  };
255
- return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = h(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = _(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = y(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = y(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = h(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = h(t.getAttribute("ky"))), n;
256
+ return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = g(t.getAttribute("ky"))), n;
256
257
  }
257
258
  case "innerShdw": {
258
259
  let n = {
259
- type: p.Type.InnerShadow,
260
+ type: f.Type.InnerShadow,
260
261
  color: this.processAdjColor(e, t)
261
262
  };
262
- return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = h(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), n;
263
+ return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), n;
263
264
  }
264
265
  case "prstShdw": {
265
266
  let n = {
266
- type: p.Type.PresetShadow,
267
+ type: f.Type.PresetShadow,
267
268
  color: this.processAdjColor(e, t),
268
269
  preset: t.getAttribute("prst") ?? void 0
269
270
  };
270
- return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = h(t.getAttribute("dir"))), n;
271
+ return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), n;
271
272
  }
272
273
  case "glow": {
273
274
  let n = {
274
- type: p.Type.Glow,
275
+ type: f.Type.Glow,
275
276
  color: this.processAdjColor(e, t)
276
277
  };
277
- return t.hasAttribute("rad") && (n.radius = v(t.getAttribute("rad"))), n;
278
+ return t.hasAttribute("rad") && (n.radius = y(t.getAttribute("rad"))), n;
278
279
  }
279
280
  case "softEdge": {
280
- let e = { type: p.Type.SoftEdge };
281
- return t.hasAttribute("rad") && (e.radius = v(t.getAttribute("rad"))), e;
281
+ let e = { type: f.Type.SoftEdge };
282
+ return t.hasAttribute("rad") && (e.radius = y(t.getAttribute("rad"))), e;
282
283
  }
283
284
  case "reflection": {
284
- let e = { type: p.Type.Reflection };
285
- return t.hasAttribute("blurRad") && (e.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = h(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = h(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = y(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = y(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = y(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = y(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = y(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = y(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = h(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = h(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = _(t.getAttribute("rotWithShape"))), e;
285
+ let e = { type: f.Type.Reflection };
286
+ return t.hasAttribute("blurRad") && (e.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = g(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = g(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = b(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = b(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = b(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = b(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = g(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), e;
286
287
  }
287
288
  default: return;
288
289
  }
289
290
  }
290
291
  getFill(e, t) {
291
- if (e.evaluate("noFill", t)) return { type: l.Type.None };
292
+ if (e.evaluate("noFill", t)) return { type: o.Type.None };
292
293
  let n = e.evaluate("solidFill", t);
293
294
  if (n) {
294
295
  let t = this.processAdjColor(e, n);
295
296
  if (t) return {
296
- type: l.Type.Solid,
297
+ type: o.Type.Solid,
297
298
  color: t
298
299
  };
299
300
  }
@@ -305,40 +306,40 @@ var re = class {
305
306
  return a ? this.processImageFill(e, a) : null;
306
307
  }
307
308
  processGradFill(e, t) {
308
- let n = { type: l.Type.Gradient };
309
+ let n = { type: o.Type.Gradient };
309
310
  t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = t.getAttribute("rotWithShape") === "1");
310
311
  let r = e.evaluate("lin", t);
311
- r && (n.gradientType = l.GradientType.Linear, r.hasAttribute("ang") && (n.angle = h(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = _(r.getAttribute("scaled"))));
312
+ r && (n.gradientType = o.GradientType.Linear, r.hasAttribute("ang") && (n.angle = g(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = v(r.getAttribute("scaled"))));
312
313
  let i = {};
313
314
  t.hasAttribute("flip") && (i.mirror = t.getAttribute("flip")), Object.keys(i).length > 0 && (n.tile = i);
314
315
  let a = e.evaluate("path", t);
315
316
  if (a) {
316
- a.hasAttribute("path") && (n.gradientType = oe(a.getAttribute("path")));
317
+ a.hasAttribute("path") && (n.gradientType = se(a.getAttribute("path")));
317
318
  let t = e.evaluate("fillToRect", a);
318
319
  t && (n.focus = this.getRect(t));
319
320
  }
320
- let o = e.evaluate("tileRect", t);
321
- o && (n.tile ||= {}, n.tile.bounds = this.getRect(o));
322
- let s = [], c = e.evaluate("gsLst/gs", t), u = c ? c.length : 0;
321
+ let s = e.evaluate("tileRect", t);
322
+ s && (n.tile ||= {}, n.tile.bounds = this.getRect(s));
323
+ let c = [], l = e.evaluate("gsLst/gs", t), u = l ? l.length : 0;
323
324
  for (let t = 0; t < u; t++) {
324
- let n = c.item(t), r = {
325
- offset: y(n.getAttribute("pos") ?? ""),
325
+ let n = l.item(t), r = {
326
+ offset: b(n.getAttribute("pos") ?? ""),
326
327
  color: this.processAdjColor(e, n)
327
328
  };
328
- s.push(r);
329
+ c.push(r);
329
330
  }
330
- return s.length > 0 && (n.stops = s), n;
331
+ return c.length > 0 && (n.stops = c), n;
331
332
  }
332
333
  getRect(e) {
333
334
  let t = {};
334
- return e.hasAttribute("t") && (t.t = y(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = y(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = y(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = y(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
335
+ return e.hasAttribute("t") && (t.t = b(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = b(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = b(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = b(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
335
336
  }
336
337
  processImageFill(e, t) {
337
- let n = { type: l.Type.Image };
338
- return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = _(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
338
+ let n = { type: o.Type.Image };
339
+ return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
339
340
  }
340
341
  processPatternFill(e, t) {
341
- let n = { type: l.Type.Pattern };
342
+ let n = { type: o.Type.Pattern };
342
343
  n.patternType = t.getAttribute("prst");
343
344
  let r = e.evaluate("bgClr", t);
344
345
  if (r) {
@@ -370,7 +371,7 @@ var re = class {
370
371
  return s ? this.processSrgbClrElement(e, s) : null;
371
372
  }
372
373
  processScrgbClrElement(e, t) {
373
- let n = "lrgba(" + y(t.getAttribute("r") ?? "") + "," + y(t.getAttribute("g") ?? "") + "," + y(t.getAttribute("b") ?? "") + ")";
374
+ let n = "lrgba(" + b(t.getAttribute("r") ?? "") + "," + b(t.getAttribute("g") ?? "") + "," + b(t.getAttribute("b") ?? "") + ")";
374
375
  return n += this.processAdjustments(e, t), n;
375
376
  }
376
377
  processSrgbClrElement(e, t) {
@@ -378,7 +379,7 @@ var re = class {
378
379
  return n += this.processAdjustments(e, t), n;
379
380
  }
380
381
  processHslClr(e, t) {
381
- let n = "hsl(" + h(t.getAttribute("hue") ?? "") + "," + y(t.getAttribute("sat") ?? "") + "," + y(t.getAttribute("lum") ?? "") + ")";
382
+ let n = "hsl(" + g(t.getAttribute("hue") ?? "") + "," + b(t.getAttribute("sat") ?? "") + "," + b(t.getAttribute("lum") ?? "") + ")";
382
383
  return n += this.processAdjustments(e, t), n;
383
384
  }
384
385
  processClrWithValAttribute(e, t) {
@@ -402,7 +403,7 @@ var re = class {
402
403
  let i = t.getAttribute("val");
403
404
  return i ? ` ${n} ${!i || parseFloat(i) / r}` : ` ${n}`;
404
405
  }
405
- }, oe = (e) => e === "circle" ? "radial" : e, se = (e) => {
406
+ }, se = (e) => e === "circle" ? "radial" : e, ce = (e) => {
406
407
  if (e === "rnd") return "round";
407
408
  if (e === "flat") return "butt";
408
409
  if (e === "sq") return "square";
@@ -419,9 +420,9 @@ var re = class {
419
420
  width: 0,
420
421
  height: 0
421
422
  }, i = e.evaluate("off", r);
422
- i && (t.x = g(i.getAttribute("x")) ?? 0, t.y = g(i.getAttribute("y")) ?? 0);
423
+ i && (t.x = _(i.getAttribute("x")) ?? 0, t.y = _(i.getAttribute("y")) ?? 0);
423
424
  let a = e.evaluate("ext", r);
424
- i && (t.width = g(a.getAttribute("cx")) ?? 0, t.height = g(a.getAttribute("cy")) ?? 0), n.bounds = t;
425
+ i && (t.width = _(a.getAttribute("cx")) ?? 0, t.height = _(a.getAttribute("cy")) ?? 0), n.bounds = t;
425
426
  }
426
427
  let i = e.evaluate("prstGeom", t);
427
428
  i?.hasAttribute("prst") ? n.geometry = i?.getAttribute("prst") : e.evaluate("customGeom", t) && console.warn("customGeom not supported yet");
@@ -508,14 +509,14 @@ var re = class {
508
509
  t.hasAttribute("sz") && (n.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (n.weight = t.getAttribute("b") === "1" ? 700 : 400), t.hasAttribute("i") && (n.italic = t.getAttribute("i") === "1"), t.hasAttribute("u") && (n.underline = t.getAttribute("u")), t.hasAttribute("strike") && (n.strike = t.getAttribute("strike"));
509
510
  let r = this.getFill(e, t);
510
511
  r && Object.keys(r).length > 0 && (n.color = r);
511
- let i = e.evaluate("latin", t);
512
- if (i && !i.getAttribute("typeface").startsWith("+")) {
512
+ let a = e.evaluate("latin", t);
513
+ if (a && !a.getAttribute("typeface").startsWith("+")) {
513
514
  let e = n.font ?? {};
514
- if (i.hasAttribute("typeface") && (e.family = i.getAttribute("typeface")), i.hasAttribute("panose")) {
515
- let t = i.getAttribute("panose");
516
- t && (e.fallbacks = [s.getPanoseFallback(t)]);
515
+ if (a.hasAttribute("typeface") && (e.family = a.getAttribute("typeface")), a.hasAttribute("panose")) {
516
+ let t = a.getAttribute("panose");
517
+ t && (e.fallbacks = [i.getPanoseFallback(t)]);
517
518
  }
518
- i.hasAttribute("pitchFamily") && (e.pitch = i.getAttribute("pitchFamily")), i.hasAttribute("charset") && (e.charset = i.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
519
+ a.hasAttribute("pitchFamily") && (e.pitch = a.getAttribute("pitchFamily")), a.hasAttribute("charset") && (e.charset = a.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
519
520
  }
520
521
  }
521
522
  }, R = class {
@@ -538,14 +539,14 @@ var re = class {
538
539
  return n;
539
540
  }
540
541
  processFont(e, t, n) {
541
- e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = s.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
542
+ e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = i.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
542
543
  let r = e.evaluate("u", t);
543
- r && (n.underline = r.getAttribute("val") || s.UnderlineStyle.Single), T(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = s.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = s.VerticalAlignment.Sub), O(e, t, n, "sz", "size");
544
- let i = e.evaluate("color", t);
545
- this.processDataBarColor(e, i, n, "color"), n.color ||= "auto", T(e, t, n, "name", "family"), T(e, t, n, "rFont", "family");
546
- let a = e.evaluate("family", t);
547
- if (a) {
548
- let e = a.getAttribute("val");
544
+ r && (n.underline = r.getAttribute("val") || i.UnderlineStyle.Single), T(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = i.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = i.VerticalAlignment.Sub), O(e, t, n, "sz", "size");
545
+ let a = e.evaluate("color", t);
546
+ this.processDataBarColor(e, a, n, "color"), n.color ||= "auto", T(e, t, n, "name", "family"), T(e, t, n, "rFont", "family");
547
+ let o = e.evaluate("family", t);
548
+ if (o) {
549
+ let e = o.getAttribute("val");
549
550
  if (e) switch (e) {
550
551
  case "1":
551
552
  n.fallbacks = ["serif"];
@@ -574,16 +575,16 @@ var re = class {
574
575
  return n;
575
576
  }
576
577
  processFill(e, t, n, r) {
577
- let i = { type: l.Type.None }, a = t.childNodes, o = !1, s = a.length;
578
- for (let t = 0; !o && t < s; t++) {
578
+ let i = { type: o.Type.None }, a = t.childNodes, s = !1, c = a.length;
579
+ for (let t = 0; !s && t < c; t++) {
579
580
  let n = a.item(t);
580
- n.nodeType === 1 && (n.localName === "gradientFill" ? (this.processGradientFill(e, n, i), o = !0) : n.localName === "patternFill" && (this.processPatternFill(e, n, i), o = !0));
581
+ n.nodeType === 1 && (n.localName === "gradientFill" ? (this.processGradientFill(e, n, i), s = !0) : n.localName === "patternFill" && (this.processPatternFill(e, n, i), s = !0));
581
582
  }
582
583
  return n[r] = i, n;
583
584
  }
584
585
  processGradientFill(e, t, n) {
585
586
  if (!t) return;
586
- n.type = l.Type.Gradient;
587
+ n.type = o.Type.Gradient;
587
588
  let r = [];
588
589
  n.stops = r;
589
590
  let i = t.getAttribute("type");
@@ -595,9 +596,9 @@ var re = class {
595
596
  right: z(t.getAttribute("right")),
596
597
  bottom: z(t.getAttribute("bottom"))
597
598
  });
598
- let o = t.childNodes, s = o.length;
599
- for (let t = 0; t < s; t++) {
600
- let n = o.item(t);
599
+ let s = t.childNodes, c = s.length;
600
+ for (let t = 0; t < c; t++) {
601
+ let n = s.item(t);
601
602
  if (n.nodeType === 1 && n.localName === "stop") {
602
603
  let t = {};
603
604
  r.push(t), t.offset = parseFloat(n.getAttribute("position") ?? "");
@@ -609,18 +610,18 @@ var re = class {
609
610
  }
610
611
  processPatternFill(e, t, n) {
611
612
  if (!t) return;
612
- let r = e.getVisitorParamsState().get("processingDXFs"), i = t.getAttribute("patternType") || (r ? l.BuiltInSheetPattern.Solid : l.BuiltInSheetPattern.None);
613
- if (i === l.BuiltInSheetPattern.None) return { none: !0 };
614
- n.type = l.Type.Pattern, i && (n.patternType = i);
615
- let a = "foreground", o = "background", s = n.patternType === l.BuiltInSheetPattern.Solid && r, c = s ? "dk1" : "lt1", u = s ? "lt1" : "dk1";
616
- if (s) {
613
+ let r = e.getVisitorParamsState().get("processingDXFs"), i = t.getAttribute("patternType") || (r ? o.BuiltInSheetPattern.Solid : o.BuiltInSheetPattern.None);
614
+ if (i === o.BuiltInSheetPattern.None) return { none: !0 };
615
+ n.type = o.Type.Pattern, i && (n.patternType = i);
616
+ let a = "foreground", s = "background", c = n.patternType === o.BuiltInSheetPattern.Solid && r, l = c ? "dk1" : "lt1", u = c ? "lt1" : "dk1";
617
+ if (c) {
617
618
  let e = a;
618
- a = o, o = e;
619
+ a = s, s = e;
619
620
  }
620
621
  let d = e.evaluate("fgColor", t);
621
- this.processDataBarColor(e, d, n, a, c);
622
+ this.processDataBarColor(e, d, n, a, l);
622
623
  let f = e.evaluate("bgColor", t);
623
- return this.processDataBarColor(e, f, n, o, u), s && (n.foreground ||= "lt1", n.background ||= "dk1"), n;
624
+ return this.processDataBarColor(e, f, n, s, u), c && (n.foreground ||= "lt1", n.background ||= "dk1"), n;
624
625
  }
625
626
  processBorders(e, t, n, r) {
626
627
  if (!t) return;
@@ -634,14 +635,14 @@ var re = class {
634
635
  processBorder(e, t, n, r, i) {
635
636
  if (!t) return;
636
637
  let a = {};
637
- return this.processBorderStroke(e, t, a, f.Edge.Left), this.processBorderStroke(e, t, a, f.Edge.Right), i ? (a.right || a.left) && (a.right ? a.vertical = { ...a.right } : a.vertical = { ...a.left }) : this.processBorderStroke(e, t, a, f.Edge.Vertical), this.processBorderStroke(e, t, a, f.Edge.Top), this.processBorderStroke(e, t, a, f.Edge.Bottom), i ? (a.bottom || a.top) && (a.bottom ? a.horizontal = { ...a.bottom } : a.horizontal = { ...a.top }) : this.processBorderStroke(e, t, a, f.Edge.Horizontal), n[r] = a, n;
638
+ return this.processBorderStroke(e, t, a, c.Edge.Left), this.processBorderStroke(e, t, a, c.Edge.Right), i ? (a.right || a.left) && (a.right ? a.vertical = { ...a.right } : a.vertical = { ...a.left }) : this.processBorderStroke(e, t, a, c.Edge.Vertical), this.processBorderStroke(e, t, a, c.Edge.Top), this.processBorderStroke(e, t, a, c.Edge.Bottom), i ? (a.bottom || a.top) && (a.bottom ? a.horizontal = { ...a.bottom } : a.horizontal = { ...a.top }) : this.processBorderStroke(e, t, a, c.Edge.Horizontal), n[r] = a, n;
638
639
  }
639
640
  processBorderStroke(e, t, n, r) {
640
641
  if (!t) return;
641
642
  let i = e.evaluate(r, t);
642
643
  if (!i) return;
643
644
  let a = {};
644
- i.hasAttribute("style") ? a.style = i.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (a.style = f.StrokeStyle.None);
645
+ i.hasAttribute("style") ? a.style = i.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (a.style = c.StrokeStyle.None);
645
646
  let o = e.evaluate("color", i);
646
647
  return o && this.processDataBarColor(e, o, a, "color"), Object.keys(a).length > 0 ? n[r] = a : null;
647
648
  }
@@ -649,13 +650,17 @@ var re = class {
649
650
  if (!e) return 0;
650
651
  let t = parseFloat(e);
651
652
  return isNaN(t) ? 0 : t;
652
- }, B = class {
653
+ }, B = {
654
+ auto: "auto",
655
+ autoNoTable: "automaticExceptTables",
656
+ manual: "manual"
657
+ }, V = class {
653
658
  visit(e, t, n) {
654
659
  if (!t) return;
655
660
  let r = e.evaluate("*/cNvPr", t);
656
661
  return r.item && (r = r.item(0)), r && (e.copyFromAttribute(r, "name", n), e.copyFromAttribute(r, "descr", n, "description"), e.copyFromAttribute(r, "hidden", n, "hidden", e.BOOLEAN_COPY), e.copyFromAttribute(r, "id", n)), n;
657
662
  }
658
- }, V = class extends B {
663
+ }, H = class extends V {
659
664
  visit(e, t, n) {
660
665
  if (!t) return;
661
666
  if (e.getPath().includes("Fallback") && n.content) return n;
@@ -682,7 +687,7 @@ var re = class {
682
687
  json: s
683
688
  }, s;
684
689
  }
685
- }, H = "richTypes", U = "richData", W = class {
690
+ }, U = "richTypes", W = "richData", G = class {
686
691
  visit(e, t, n) {
687
692
  if (!t) return;
688
693
  let r = t.childNodes, i = r.length;
@@ -696,7 +701,7 @@ var re = class {
696
701
  let r = {};
697
702
  e.copyFromAttribute(t, "Target", r, "target"), e.copyFromAttribute(t, "Type", r, "type"), e.copyFromAttribute(t, "TargetMode", r, "targetMode"), n[t.getAttribute("Id")] = r;
698
703
  }
699
- }, G = class {
704
+ }, le = class {
700
705
  visit(e, t, n) {
701
706
  let r = [], i = t.childNodes, a = i.length;
702
707
  for (let t = 0; t < a; t++) {
@@ -713,7 +718,7 @@ var re = class {
713
718
  value: t.textContent || ""
714
719
  };
715
720
  }
716
- }, K = class {
721
+ }, ue = class {
717
722
  visit(e, t, n) {
718
723
  let r = [], i = t.childNodes, a = i.length;
719
724
  for (let t = 0; t < a; t++) {
@@ -730,7 +735,7 @@ var re = class {
730
735
  value: t.textContent || ""
731
736
  };
732
737
  }
733
- }, ce = class {
738
+ }, de = class {
734
739
  visit(e, t, n) {
735
740
  return E(e, t, n, "roundedCorners", "roundedCorners"), D(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
736
741
  }
@@ -759,17 +764,17 @@ var re = class {
759
764
  for (let e = 0; e < p; e++) f[e + ""] = d[e];
760
765
  f.length = p, e.getVisitorParamsState().delete("types"), e.getVisitorParamsState().delete("axes"), e.getVisitorParamsState().delete("series");
761
766
  }
762
- }, le = class {
767
+ }, fe = class {
763
768
  visit(e, t, n) {
764
769
  let r = {};
765
770
  return n.plotArea = r, r;
766
771
  }
767
- }, ue = P, de = class extends F {
772
+ }, pe = P, me = class extends F {
768
773
  parseType(e, t, n) {
769
774
  let r = e.getValAttrAsString("barDir", t);
770
775
  r && (n.type = r === "col" ? "column" : "bar");
771
776
  }
772
- }, q = F, J = class {
777
+ }, K = F, q = class {
773
778
  constructor(e) {
774
779
  this.jsonKey = e;
775
780
  }
@@ -785,7 +790,7 @@ var re = class {
785
790
  let r = e.evaluate("numFmt", t);
786
791
  r && (n.formatCode = r.getAttribute("formatCode"), r.hasAttribute("sourceLinked") && (n.sourceLinked = r.getAttribute("sourceLinked") === "1"));
787
792
  }
788
- }, fe = class {
793
+ }, he = class {
789
794
  visit(e, t, n) {
790
795
  let r = {};
791
796
  D(e, t, r, "explosion", "explosion");
@@ -832,7 +837,7 @@ var re = class {
832
837
  }
833
838
  }
834
839
  }
835
- }, pe = class {
840
+ }, ge = class {
836
841
  DataPointVisitor() {}
837
842
  visit(e, t, n) {
838
843
  let r = e.getFromPath(n, "points"), i = null;
@@ -840,7 +845,7 @@ var re = class {
840
845
  let a = {}, o = e.getValAttrAsString("idx", t);
841
846
  return o !== null && (i[o] = a), E(e, t, a, "bubble3D", "bubble3D"), D(e, t, a, "explosion", "explosion"), I(e, t, a), a;
842
847
  }
843
- }, me = class {
848
+ }, _e = class {
844
849
  visit(e, t, n) {
845
850
  let r = t.parentNode.localName;
846
851
  if (r === "ser" || r === "dPt") {
@@ -851,7 +856,7 @@ var re = class {
851
856
  }
852
857
  return null;
853
858
  }
854
- }, Y = class {
859
+ }, J = class {
855
860
  visit(e, t, n) {
856
861
  let r = {};
857
862
  this.parseScaling(e, t, r), O(e, t, r, "majorUnit", "majorUnits"), O(e, t, r, "minorUnit", "minorUnits"), E(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), T(e, t, r, "majorTickMark", "majorTickMarks"), T(e, t, r, "minorTickMark", "minorTickMarks"), T(e, t, r, "crosses", "crosses"), O(e, t, r, "crossesAt", "crosses"), T(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), D(e, t, r, "lblOffset", "labelOffset"), T(e, t, r, "tickLblPos", "labelPosition");
@@ -899,7 +904,7 @@ var re = class {
899
904
  let s = e.evaluate("majorGridlines", t);
900
905
  e.setToPath(n, "gridLinesMajor.shown", s !== null);
901
906
  }
902
- }, X = L, he = class {
907
+ }, Y = L, ve = class {
903
908
  visit(e, t, n) {
904
909
  let r = e.getVisitorParamsState().get("series"), i = e.getValAttrAsInteger("idx", t), a = i === null ? void 0 : r[i];
905
910
  if (a) {
@@ -910,19 +915,19 @@ var re = class {
910
915
  }
911
916
  return n;
912
917
  }
913
- }, ge = class {
918
+ }, ye = class {
914
919
  visit(e, t, n) {
915
920
  let r = {};
916
921
  return E(e, t, r, "overlay", "overlay"), T(e, t, r, "legendPos", "position"), n.legend = r, r;
917
922
  }
918
- }, _e = class extends P {
923
+ }, be = class extends P {
919
924
  visit(e, t, n) {
920
925
  let r = this.getFill(e, t);
921
926
  Object.keys(r).length > 0 && (n.fillNegative = r);
922
927
  let i = this.getStroke(e, t);
923
928
  return Object.keys(i).length > 0 && (n.strokeNegative = i), n;
924
929
  }
925
- }, Z = class extends L {
930
+ }, X = class extends L {
926
931
  constructor(e = "title") {
927
932
  super(e);
928
933
  }
@@ -949,7 +954,7 @@ var re = class {
949
954
  e !== null && (n.rotation = parseInt(e), delete n.title.rotation);
950
955
  }
951
956
  }
952
- }, ve = class {
957
+ }, xe = class {
953
958
  visit(e, t, n) {
954
959
  let r = e.evaluate("manualLayout", t);
955
960
  if (r) {
@@ -958,11 +963,11 @@ var re = class {
958
963
  }
959
964
  return n;
960
965
  }
961
- }, ye = class {
966
+ }, Se = class {
962
967
  visit(e, t, n) {
963
968
  return n.name = t.getAttribute("name"), n;
964
969
  }
965
- }, be = class extends N {
970
+ }, Ce = class extends N {
966
971
  visit(e, t, n) {
967
972
  let r = {};
968
973
  r.name = t.getAttribute("name");
@@ -976,7 +981,7 @@ var re = class {
976
981
  }
977
982
  return Object.keys(r).length > 0 && (n.colors = r), r;
978
983
  }
979
- }, xe = class {
984
+ }, we = class {
980
985
  visit(e, t, n) {
981
986
  let r = {};
982
987
  r.name = t.getAttribute("name");
@@ -989,12 +994,12 @@ var re = class {
989
994
  if (!t) return;
990
995
  let r = e.evaluate("latin", t);
991
996
  if (!r) return;
992
- let i = r.getAttribute("typeface");
993
- i && (n.family = i);
994
- let a = r.getAttribute("panose");
995
- return a && (n.fallbacks = [s.getPanoseFallback(a)]), n;
997
+ let a = r.getAttribute("typeface");
998
+ a && (n.family = a);
999
+ let o = r.getAttribute("panose");
1000
+ return o && (n.fallbacks = [i.getPanoseFallback(o)]), n;
996
1001
  }
997
- }, Se = class extends N {
1002
+ }, Te = class extends N {
998
1003
  visit(e, t, n) {
999
1004
  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");
1000
1005
  if (r && i && a && o) return n.fillStyleLst = r, n.lnStyleLst = i, n.effectStyleLst = a, void (n.bgFillStyleLst = o);
@@ -1016,11 +1021,11 @@ var re = class {
1016
1021
  }
1017
1022
  parseFillListItem(e, t) {
1018
1023
  switch (t.localName) {
1019
- case "noFill": return { type: l.Type.None };
1024
+ case "noFill": return { type: o.Type.None };
1020
1025
  case "solidFill": {
1021
1026
  let n = this.processAdjColor(e, t);
1022
1027
  return n ? {
1023
- type: l.Type.Solid,
1028
+ type: o.Type.Solid,
1024
1029
  color: n
1025
1030
  } : void 0;
1026
1031
  }
@@ -1056,7 +1061,7 @@ var re = class {
1056
1061
  }
1057
1062
  return i;
1058
1063
  }
1059
- }, Ce = class {
1064
+ }, Ee = class {
1060
1065
  visit(e, t, n) {
1061
1066
  if (!t) return;
1062
1067
  let r = {}, i = t.getAttribute("r:id");
@@ -1066,46 +1071,46 @@ var re = class {
1066
1071
  }
1067
1072
  return e.copyFromAttribute(t, "tooltip", r, "screenTip"), e.copyFromAttribute(t, "history", r, "history", e.BOOLEAN_COPY), e.copyFromAttribute(t, "tgtFrame", r, "target"), n.hyperlink = r, r;
1068
1073
  }
1069
- }, we = class {
1074
+ }, De = class {
1070
1075
  visit(e, t, n) {
1071
1076
  if (!t) return;
1072
1077
  let r = {}, i = [];
1073
1078
  return this.processFilterColumns(e, t, i, n), i.length > 0 && (r.conditions = i), Object.keys(r).length > 0 && (n.filter = r), r;
1074
1079
  }
1075
1080
  processColorFilter(e, t) {
1076
- let n = {}, r = {
1077
- operator: o.BuiltInOperatorNames.Color,
1081
+ let n = {}, i = {
1082
+ operator: r.BuiltInOperatorNames.Color,
1078
1083
  param: n
1079
1084
  };
1080
- return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), r;
1085
+ return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), i;
1081
1086
  }
1082
1087
  processCustomFilter(e, t) {
1083
- return {
1088
+ return p({
1084
1089
  operator: t.getAttribute("operator"),
1085
- param: t.getAttribute("val")
1086
- };
1090
+ val: t.getAttribute("val")
1091
+ });
1087
1092
  }
1088
1093
  processCustomFilters(e, t) {
1089
- let n = t.getAttribute("and"), r = n === "and" || n === "1";
1094
+ let n = t.getAttribute("and"), i = n === "and" || n === "1";
1090
1095
  t.getAttribute("val");
1091
- let i = [], a = {
1092
- operator: r ? o.BuiltInOperatorNames.And : o.BuiltInOperatorNames.Or,
1093
- param: i
1096
+ let a = [], o = {
1097
+ operator: i ? r.BuiltInOperatorNames.And : r.BuiltInOperatorNames.Or,
1098
+ param: a
1094
1099
  }, s = t.childNodes, c = s.length;
1095
1100
  for (let t = 0; t < c; t++) {
1096
1101
  let n = s.item(t);
1097
1102
  if (n.nodeType !== 1) continue;
1098
1103
  let r = null;
1099
- n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && i.push(r);
1104
+ n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && a.push(r);
1100
1105
  }
1101
- return a;
1106
+ return a.length === 1 ? a[0] : o;
1102
1107
  }
1103
1108
  processDynamicFilter(e, t) {
1104
- let n = {}, r = {
1105
- operator: o.BuiltInOperatorNames.TimePeriod,
1109
+ let n = {}, i = {
1110
+ operator: r.BuiltInOperatorNames.TimePeriod,
1106
1111
  param: n
1107
- }, i = t.getAttribute("type");
1108
- return i === "aboveAverage" ? i = o.AverageType.Above : i === "belowAverage" && (i = o.AverageType.Below), Object.values(o.AverageType).includes(i) ? (r.operator = o.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), r;
1112
+ }, a = t.getAttribute("type");
1113
+ return a === "aboveAverage" ? a = r.AverageType.Above : a === "belowAverage" && (a = r.AverageType.Below), Object.values(r.AverageType).includes(a) ? (i.operator = r.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), i;
1109
1114
  }
1110
1115
  processDateGroupItem(e, t) {
1111
1116
  let n = {};
@@ -1115,39 +1120,39 @@ var re = class {
1115
1120
  if (t.hasAttribute("val")) return t.getAttribute("val");
1116
1121
  }
1117
1122
  processFilters(e, t) {
1118
- let n = {}, r = {
1119
- operator: o.BuiltInOperatorNames.InSet,
1123
+ let n = {}, i = {
1124
+ operator: r.BuiltInOperatorNames.InSet,
1120
1125
  param: n
1121
1126
  };
1122
- e.copyFromAttribute(t, "blank", r, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", r, "calendarType");
1123
- let i = [], a = [], s = t.childNodes, c = s.length;
1127
+ e.copyFromAttribute(t, "blank", i, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", i, "calendarType");
1128
+ let a = [], o = [], s = t.childNodes, c = s.length;
1124
1129
  for (let t = 0; t < c; t++) {
1125
1130
  let n = s.item(t);
1126
1131
  if (n.nodeType === 1) {
1127
1132
  if (n.localName === "dateGroupItem") {
1128
1133
  let t = this.processDateGroupItem(e, n);
1129
- t && i.push(t);
1134
+ t && a.push(t);
1130
1135
  } else if (n.localName === "filter") {
1131
1136
  let t = this.processFilterItem(e, n);
1132
- t !== void 0 && a.push(t);
1137
+ t !== void 0 && o.push(t);
1133
1138
  }
1134
1139
  }
1135
1140
  }
1136
- return i.length > 0 && (n.dateGroups = i), a.length > 0 && (n.items = a), r;
1141
+ return a.length > 0 && (n.dateGroups = a), o.length > 0 && (n.items = o), i;
1137
1142
  }
1138
1143
  processIcon(e, t) {
1139
- let n = {}, r = {
1140
- operator: o.BuiltInOperatorNames.Icon,
1144
+ let n = {}, i = {
1145
+ operator: r.BuiltInOperatorNames.Icon,
1141
1146
  param: n
1142
1147
  };
1143
- return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), r;
1148
+ return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), i;
1144
1149
  }
1145
1150
  processTop10(e, t) {
1146
- let n = {}, r = {
1147
- operator: o.BuiltInOperatorNames.TopN,
1151
+ let n = {}, i = {
1152
+ operator: r.BuiltInOperatorNames.TopN,
1148
1153
  param: n
1149
1154
  };
1150
- return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), r;
1155
+ return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), i;
1151
1156
  }
1152
1157
  processFilterCriteria(e, t) {
1153
1158
  if (!t) return;
@@ -1162,12 +1167,12 @@ var re = class {
1162
1167
  if (!t) return null;
1163
1168
  if (!t.hasAttribute("colId")) return;
1164
1169
  let r = parseInt(t.getAttribute("colId")), i = !1;
1165
- if (t.hasAttribute("hiddenButton") && (i = _(t.getAttribute("hiddenButton"))), i && n) {
1170
+ if (t.hasAttribute("hiddenButton") && (i = v(t.getAttribute("hiddenButton"))), i && n) {
1166
1171
  let e = n.hiddenButtons;
1167
1172
  e || (e = [], n.hiddenButtons = e), e.push(r);
1168
1173
  }
1169
1174
  let a = !1;
1170
- if (t.hasAttribute("showButton") && (a = _(t.getAttribute("showButton"))), a && n) {
1175
+ if (t.hasAttribute("showButton") && (a = v(t.getAttribute("showButton"))), a && n) {
1171
1176
  let e = n.showButtons;
1172
1177
  !0 !== e && (e || (e = [], n.showButtons = e), e[r] = !0);
1173
1178
  }
@@ -1186,34 +1191,34 @@ var re = class {
1186
1191
  }
1187
1192
  return n;
1188
1193
  }
1189
- }, Te = class {
1190
- visit(e, t, n) {
1191
- if (!t) return;
1192
- let i = t.getAttribute("ref"), o = {};
1193
- t.hasAttribute("caseSensitive") && (o.collatorOptions = _(t.getAttribute("caseSensitive")) ? u.CaseSensitiveOptions : u.CaseInsensitiveOptions);
1194
- let s = t.getAttribute("sortMethod");
1195
- s != null && s !== "none" && (s === "stroke" ? o.collatorOptions = {
1196
- ...o.collatorOptions,
1194
+ }, Oe = class {
1195
+ visit(t, n, r) {
1196
+ if (!n) return;
1197
+ let i = n.getAttribute("ref"), a = {};
1198
+ n.hasAttribute("caseSensitive") && (a.collatorOptions = v(n.getAttribute("caseSensitive")) ? d.CaseSensitiveOptions : d.CaseInsensitiveOptions);
1199
+ let o = n.getAttribute("sortMethod");
1200
+ o != null && o !== "none" && (o === "stroke" ? a.collatorOptions = {
1201
+ ...a.collatorOptions,
1197
1202
  collation: "stroke"
1198
- } : s === "pinYin" && (o.collatorOptions = {
1199
- ...o.collatorOptions,
1203
+ } : o === "pinYin" && (a.collatorOptions = {
1204
+ ...a.collatorOptions,
1200
1205
  collation: "pinyin"
1201
1206
  }));
1202
- let c = {};
1203
- t.hasAttribute("columnSort") && _(t.getAttribute("columnSort")) && (c.axis = r.Axis.Column);
1204
- let l = a.fastStringToRange(i), d = [];
1205
- return this.processSortConditions(e, t, d, l, o), d.length > 0 && (c.sorts = d), Object.keys(d).length > 0 && (n.sort = c), c;
1207
+ let s = {};
1208
+ n.hasAttribute("columnSort") && v(n.getAttribute("columnSort")) && (s.axis = e.Axis.Column);
1209
+ let c = u.fastStringToRange(i), l = [];
1210
+ return this.processSortConditions(t, n, l, c, a), l.length > 0 && (s.sorts = l), Object.keys(l).length > 0 && (r.sort = s), s;
1206
1211
  }
1207
1212
  processSortCondition(e, t, n, r) {
1208
1213
  if (!t) return null;
1209
1214
  let i = {};
1210
1215
  if (!t.hasAttribute("ref")) return void console.warn("no ref for sort conditional", e.getPath());
1211
1216
  if (t.hasAttribute("ref")) {
1212
- let e = t.getAttribute("ref"), r = a.fastStringToRange(e);
1217
+ let e = t.getAttribute("ref"), r = u.fastStringToRange(e);
1213
1218
  i.index = n ? r.colStart - n.colStart : r.colStart;
1214
1219
  }
1215
- let o = { ...r };
1216
- return i.criteria = o, o.reverse = !1, t.hasAttribute("descending") && (o.reverse = _(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", o, "sortOn"), e.copyFromAttribute(t, "dxfId", o), e.copyFromAttribute(t, "iconSet", o), e.copyFromAttribute(t, "customList", o), i;
1220
+ let a = { ...r };
1221
+ return i.criteria = a, a.reverse = !1, t.hasAttribute("descending") && (a.reverse = v(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", a, "sortOn"), e.copyFromAttribute(t, "dxfId", a), e.copyFromAttribute(t, "iconSet", a), e.copyFromAttribute(t, "customList", a), i;
1217
1222
  }
1218
1223
  processSortConditions(e, t, n, r, i) {
1219
1224
  if (!t) return;
@@ -1226,7 +1231,7 @@ var re = class {
1226
1231
  }
1227
1232
  }
1228
1233
  }
1229
- }, Ee = class extends R {
1234
+ }, Z = class extends R {
1230
1235
  visit(e, t, n) {
1231
1236
  this.processNumFmts(e, e.evaluate("numFmts", t), null), e.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1232
1237
  let r = {
@@ -1234,14 +1239,14 @@ var re = class {
1234
1239
  fonts: {},
1235
1240
  borders: {}
1236
1241
  };
1237
- this.processFonts(e, e.evaluate("fonts", t), r.fonts), this.processFills(e, e.evaluate("fills", t), r.fills), this.processBorders(e, e.evaluate("borders", t), r.borders, !0), r.fills[0] = { type: l.Type.None }, r.fills[1] = {
1238
- type: l.Type.Pattern,
1239
- patternType: l.BuiltInSheetPattern.Gray125
1242
+ this.processFonts(e, e.evaluate("fonts", t), r.fonts), this.processFills(e, e.evaluate("fills", t), r.fills), this.processBorders(e, e.evaluate("borders", t), r.borders, !0), r.fills[0] = { type: o.Type.None }, r.fills[1] = {
1243
+ type: o.Type.Pattern,
1244
+ patternType: o.BuiltInSheetPattern.Gray125
1240
1245
  }, r.borders[0] = {
1241
- bottom: { style: f.StrokeStyle.None },
1242
- left: { style: f.StrokeStyle.None },
1243
- right: { style: f.StrokeStyle.None },
1244
- top: { style: f.StrokeStyle.None }
1246
+ bottom: { style: c.StrokeStyle.None },
1247
+ left: { style: c.StrokeStyle.None },
1248
+ right: { style: c.StrokeStyle.None },
1249
+ top: { style: c.StrokeStyle.None }
1245
1250
  };
1246
1251
  let i = [];
1247
1252
  this.processXFs(e, e.evaluate("cellStyleXfs", t), i, r, null, !1);
@@ -1250,10 +1255,10 @@ var re = class {
1250
1255
  let r = [];
1251
1256
  this.processCellStyles(e, e.evaluate("cellStyles", t), r, i, a), n.named = r;
1252
1257
  }
1253
- let o = [];
1254
- this.processXFs(e, e.evaluate("cellXfs", t), o, r, a), Object.keys(o).length > 0 && (n.direct = o);
1255
1258
  let s = [];
1256
- return this.processDXFs(e, e.evaluate("dxfs", t), s), this.processTableStyles(e, e.evaluate("tableStyles", t), n, s), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1259
+ this.processXFs(e, e.evaluate("cellXfs", t), s, r, a), Object.keys(s).length > 0 && (n.direct = s);
1260
+ let l = [];
1261
+ return this.processDXFs(e, e.evaluate("dxfs", t), l), this.processTableStyles(e, e.evaluate("tableStyles", t), n, l), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1257
1262
  }
1258
1263
  processIndexColors(e, t, n) {
1259
1264
  if (!t) return;
@@ -1306,36 +1311,36 @@ var re = class {
1306
1311
  }
1307
1312
  }
1308
1313
  }
1309
- processXF(e, t, n, r, i, a) {
1314
+ processXF(e, t, n, r, i, o) {
1310
1315
  if (!t) return;
1311
- let o = t.getAttribute("xfId");
1312
- if (o && i) {
1313
- let e = i.get(parseInt(o));
1314
- e && e !== c.BuiltInName.Normal && (n.named = e);
1316
+ let s = t.getAttribute("xfId");
1317
+ if (s && i) {
1318
+ let e = i.get(parseInt(s));
1319
+ e && e !== a.BuiltInName.Normal && (n.named = e);
1315
1320
  }
1316
- let s = (e) => !(!a && t.hasAttribute(e)) || _(t.getAttribute(e)), l = (e) => !a || t.hasAttribute(e) && _(t.getAttribute(e)), u = a ? "0" : void 0;
1317
- if (s("applyFont")) {
1321
+ let c = (e) => !(!o && t.hasAttribute(e)) || v(t.getAttribute(e)), l = (e) => !o || t.hasAttribute(e) && v(t.getAttribute(e)), u = o ? "0" : void 0;
1322
+ if (c("applyFont")) {
1318
1323
  let e = t.getAttribute("fontId") ?? u;
1319
1324
  if (e !== void 0 && (e !== "0" || l("applyFont"))) {
1320
1325
  let t = r.fonts[e];
1321
1326
  t !== void 0 && (n.font = t);
1322
1327
  }
1323
1328
  }
1324
- if (s("applyFill")) {
1329
+ if (c("applyFill")) {
1325
1330
  let e = t.getAttribute("fillId") ?? u;
1326
1331
  if (e !== void 0 && (e !== "0" || l("applyFill"))) {
1327
1332
  let t = r.fills[e];
1328
1333
  t !== void 0 && Object.keys(t).length > 0 && (n.fill = t);
1329
1334
  }
1330
1335
  }
1331
- if (s("applyBorder")) {
1336
+ if (c("applyBorder")) {
1332
1337
  let e = t.getAttribute("borderId") ?? u;
1333
1338
  if (e !== void 0 && (e !== "0" || l("applyBorder"))) {
1334
1339
  let t = r.borders[e];
1335
1340
  t !== void 0 && (n.border = t);
1336
1341
  }
1337
1342
  }
1338
- if (s("applyNumberFormat")) {
1343
+ if (c("applyNumberFormat")) {
1339
1344
  let r = t.getAttribute("numFmtId") ?? u;
1340
1345
  if (r !== void 0 && (r !== "0" || l("applyNumberFormat"))) {
1341
1346
  let t, i = parseInt(r), a = e.getVisitorParamsState();
@@ -1345,33 +1350,33 @@ var re = class {
1345
1350
  } else console.warn("no visitor params state");
1346
1351
  }
1347
1352
  }
1348
- if (s("applyAlignment")) {
1353
+ if (c("applyAlignment")) {
1349
1354
  let r = e.evaluate("alignment", t);
1350
1355
  (r || l("applyAlignment")) && this.processAlignment(e, r, n);
1351
1356
  }
1352
- if (s("applyProtection")) {
1357
+ if (c("applyProtection")) {
1353
1358
  let r = e.evaluate("protection", t);
1354
1359
  (r || l("applyProtection")) && this.processProtection(e, r, n);
1355
1360
  }
1356
- let d = _(t.getAttribute("quotePrefix") ?? "");
1361
+ let d = v(t.getAttribute("quotePrefix") ?? "");
1357
1362
  d && (n.quotePrefix = d);
1358
1363
  }
1359
1364
  processAlignment(e, t, n) {
1360
1365
  let r = {};
1361
- if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = d.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = d.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, _(t?.getAttribute("wrapText") ?? "") ? r.overflow = d.Overflow.Wrap : r.overflow = d.Overflow.Visible, _(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = d.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1366
+ if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = s.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = s.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, v(t?.getAttribute("wrapText") ?? "") ? r.overflow = s.Overflow.Wrap : r.overflow = s.Overflow.Visible, v(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = s.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1362
1367
  let e = parseFloat(t.getAttribute("textRotation"));
1363
1368
  e > 0 && e <= 90 ? e = 360 - e : e > 90 && e <= 180 ? e -= 90 : e === 255 && (e = 0, r.stacked = !0), r.rotation = e;
1364
1369
  } else r.rotation = 0;
1365
- t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = _(t.getAttribute("justifyLastLine")));
1370
+ t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = v(t.getAttribute("justifyLastLine")));
1366
1371
  let i = t?.getAttribute("readingOrder");
1367
- return i && (i === "0" ? r.readingDirection = d.ReadingDirection.Auto : i === "1" ? r.readingDirection = d.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = d.ReadingDirection.RightToLeft : console.warn(`invalid readingOrder: ${i}`)), Object.keys(r).length > 0 && (n.alignment = r), n;
1372
+ return i && (i === "0" ? r.readingDirection = s.ReadingDirection.Auto : i === "1" ? r.readingDirection = s.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = s.ReadingDirection.RightToLeft : console.warn(`invalid readingOrder: ${i}`)), Object.keys(r).length > 0 && (n.alignment = r), n;
1368
1373
  }
1369
1374
  processProtection(e, t, n) {
1370
1375
  if (!t) return;
1371
1376
  let r = {}, i = t.getAttribute("locked");
1372
- i && !_(i) && (r.edit = !0);
1377
+ i && !v(i) && (r.edit = !0);
1373
1378
  let a = t.getAttribute("hidden");
1374
- return a && _(a) && (r.formulaHidden = !0), Object.keys(r).length > 0 && (n.protection = r), n;
1379
+ return a && v(a) && (r.formulaHidden = !0), Object.keys(r).length > 0 && (n.protection = r), n;
1375
1380
  }
1376
1381
  processDXF(e, t, n) {
1377
1382
  if (!t) return;
@@ -1416,7 +1421,7 @@ var re = class {
1416
1421
  }
1417
1422
  processTableStyle(e, t, n, r, i = !1) {
1418
1423
  let a = t.getAttribute("name"), o = { name: a };
1419
- t.hasAttribute("table") && (o.table = _(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = _(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1424
+ t.hasAttribute("table") && (o.table = v(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = v(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1420
1425
  let s = t.childNodes, c = s.length;
1421
1426
  for (let e = 0; e < c; e++) {
1422
1427
  let t = s.item(e);
@@ -1444,26 +1449,26 @@ var re = class {
1444
1449
  }
1445
1450
  processCellStyles(e, t, n, r, i) {
1446
1451
  if (!t) return;
1447
- let a = t.childNodes, o = a.length;
1448
- for (let e = 0; e < o; e++) {
1449
- let t = a.item(e);
1452
+ let o = t.childNodes, s = o.length;
1453
+ for (let e = 0; e < s; e++) {
1454
+ let t = o.item(e);
1450
1455
  if (t.nodeType === 1 && t.localName === "cellStyle") {
1451
- let e = parseInt(t.getAttribute("xfId") ?? ""), a = t.getAttribute("name"), o = t.getAttribute("builtinId"), s = a;
1452
- if (o !== null) {
1453
- let e = c.builtInNameFromId(parseInt(o));
1454
- e !== void 0 && (s = e);
1456
+ let e = parseInt(t.getAttribute("xfId") ?? ""), o = t.getAttribute("name"), s = t.getAttribute("builtinId"), c = o;
1457
+ if (s !== null) {
1458
+ let e = a.builtInNameFromId(parseInt(s));
1459
+ e !== void 0 && (c = e);
1455
1460
  }
1456
- if (i.set(e, s), !r[e]) continue;
1461
+ if (i.set(e, c), !r[e]) continue;
1457
1462
  let l = {
1458
- name: s,
1463
+ name: c,
1459
1464
  style: r[e]
1460
1465
  };
1461
- t.getAttribute("hidden") && (l.hidden = _(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(l);
1466
+ t.getAttribute("hidden") && (l.hidden = v(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(l);
1462
1467
  }
1463
1468
  }
1464
1469
  }
1465
1470
  afterVisit(e, t, n) {}
1466
- }, De = class extends R {
1471
+ }, ke = class extends R {
1467
1472
  visit(e, t, n) {
1468
1473
  return this.processSheetRefs(e, e.evaluate("sheets", t), n), this.processExternalReferences(e, e.evaluate("externalReferences", t), n), this.processBookViews(e, e.evaluate("bookViews", t), n), this.processDefinedNames(e, e.evaluate("definedNames", t), n), this.processCalcPr(e, e.evaluate("calcPr", t), n), this.processWorkbookProtection(e, e.evaluate("workbookProtection", t), n), this.processWorkbookPr(e, e.evaluate("workbookPr", t), n), n;
1469
1474
  }
@@ -1478,7 +1483,9 @@ var re = class {
1478
1483
  return this.processPassword(e, t, r, "workbook", "password"), this.processPassword(e, t, r, "revisions", "revisionsPassword"), e.copyFromAttribute(t, "lockStructure", r, "structure", e.BOOLEAN_COPY), e.copyFromAttribute(t, "lockWindows", r, "windows", e.BOOLEAN_COPY), e.copyFromAttribute(t, "lockRevision", r, "revision", e.BOOLEAN_COPY), n.protection = r, n;
1479
1484
  }
1480
1485
  processCalcPr(e, t, n) {
1481
- t && (n.calc = {});
1486
+ if (!t) return;
1487
+ let r = {};
1488
+ e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => B[e] ?? null), e.copyFromAttribute(t, "fullCalcOnLoad", r, "fullCalcOnLoad", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcOnSave", r, "calcOnSave", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcCompleted", r, "calcCompleted", e.BOOLEAN_COPY), e.copyFromAttribute(t, "fullPrecision", r, "fullPrecision", e.BOOLEAN_COPY), e.copyFromAttribute(t, "forceFullCalc", r, "forceFullCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "concurrentCalc", r, "concurrentCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "refMode", r, "refMode"), e.copyFromAttribute(t, "iterate", r, "iterate", e.BOOLEAN_COPY), e.copyFromAttribute(t, "iterateCount", r, "maxIterations", e.INT_COPY), e.copyFromAttribute(t, "iterateDelta", r, "maxIterateChange", e.FLOAT_COPY), n.calc = r;
1482
1489
  }
1483
1490
  processSheetRefs(e, t, n) {
1484
1491
  if (!t) return;
@@ -1543,7 +1550,7 @@ var re = class {
1543
1550
  t && e.copyFromAttribute(t, "date1904", n, "date1904", e.BOOLEAN_COPY);
1544
1551
  }
1545
1552
  afterVisit(e, t, n) {}
1546
- }, Oe = class {
1553
+ }, Ae = class {
1547
1554
  visit(e, t, n) {
1548
1555
  let r = {};
1549
1556
  return e.copyFromAttribute(t, "ref", n, "r"), e.getVisitorParamsState().set("ref", n.r), n.v = r, e.copyFromAttribute(t, "name", r), e.copyFromAttribute(t, "displayName", r), e.copyFromAttribute(t, "headerRowCount", r, "headerRowCount", e.INT_COPY), e.copyFromAttribute(t, "totalsRowCount", r, "totalsRowCount", e.INT_COPY), this.processTableColumns(e, t, r), this.processTableStyleInfo(e, t, r), e.copyFromAttribute(t, "id", r), e.copyFromAttribute(t, "comment", r, "description"), e.copyFromAttribute(t, "connectionId", r, "connectionId", e.INT_COPY), e.copyFromAttribute(t, "tableType", r), e.copyFromAttribute(t, "published", r, "published", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRow", r, "insertRow", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRowShift", r, "insertRowShift", e.BOOLEAN_COPY), e.copyFromAttribute(t, "totalsRowShown", r, "totalsRowShown", e.BOOLEAN_COPY), r;
@@ -1593,7 +1600,7 @@ var re = class {
1593
1600
  }
1594
1601
  i.length > 0 && (n.columns = i);
1595
1602
  }
1596
- }, ke = class {
1603
+ }, je = class {
1597
1604
  visit(e, t, n) {
1598
1605
  let r = e.getVisitorParamsState().get("ref");
1599
1606
  if (r) {
@@ -1602,7 +1609,7 @@ var re = class {
1602
1609
  }
1603
1610
  return e.copyFromAttribute(t, "altText", n), e.copyFromAttribute(t, "altTextSummary", n), n;
1604
1611
  }
1605
- }, Ae = class {
1612
+ }, Me = class {
1606
1613
  visit(e, t, n) {
1607
1614
  let r = t.childNodes, i = r.length, a = null;
1608
1615
  for (let e = 0; e < i; e++) {
@@ -1655,20 +1662,20 @@ var re = class {
1655
1662
  i.length > 0 && (n.sheetDataSet = i);
1656
1663
  }
1657
1664
  processSheetData(e, t) {
1658
- let n = new i.Builder(), r = t.childNodes, o = r.length;
1659
- for (let e = 0; e < o; e++) {
1665
+ let n = new l.Builder(), r = t.childNodes, i = r.length;
1666
+ for (let e = 0; e < i; e++) {
1660
1667
  let t = r.item(e);
1661
1668
  if (t.nodeType !== 1 || t.localName !== "row") continue;
1662
- let i = t.childNodes, o = i.length;
1663
- for (let e = 0; e < o; e++) {
1669
+ let i = t.childNodes, a = i.length;
1670
+ for (let e = 0; e < a; e++) {
1664
1671
  let t = i.item(e);
1665
1672
  if (t.nodeType !== 1 || t.localName !== "cell") continue;
1666
1673
  let r = t.getAttribute("r");
1667
1674
  if (!r) continue;
1668
- let o = a.fastStringToCell(r);
1669
- if (o?.rowIndex === void 0 || o?.colIndex === void 0) continue;
1670
- let s = this._readCellValue(t);
1671
- s !== void 0 && n.pushAt(o.rowIndex, o.colIndex, s);
1675
+ let a = u.fastStringToCell(r);
1676
+ if (a?.rowIndex === void 0 || a?.colIndex === void 0) continue;
1677
+ let o = this._readCellValue(t);
1678
+ o !== void 0 && n.pushAt(a.rowIndex, a.colIndex, o);
1672
1679
  }
1673
1680
  }
1674
1681
  return {
@@ -1677,19 +1684,19 @@ var re = class {
1677
1684
  };
1678
1685
  }
1679
1686
  _readCellValue(e) {
1680
- let t = this._findChild(e, "v")?.textContent?.trim();
1681
- if (t !== void 0 && t !== "") switch (e.getAttribute("t")) {
1687
+ let n = this._findChild(e, "v")?.textContent?.trim();
1688
+ if (n !== void 0 && n !== "") switch (e.getAttribute("t")) {
1682
1689
  case null:
1683
- case "n": return parseFloat(t);
1684
- case "b": return t === "1" || t === "true";
1690
+ case "n": return parseFloat(n);
1691
+ case "b": return n === "1" || n === "true";
1685
1692
  case "str":
1686
- default: return t;
1693
+ default: return n;
1687
1694
  case "e": {
1688
- let e = n.getBuiltInByLabel(t);
1695
+ let e = t.getBuiltInByLabel(n);
1689
1696
  return e ? {
1690
1697
  t: "e",
1691
1698
  v: e.getCode()
1692
- } : t;
1699
+ } : n;
1693
1700
  }
1694
1701
  }
1695
1702
  }
@@ -1701,13 +1708,13 @@ var re = class {
1701
1708
  }
1702
1709
  return null;
1703
1710
  }
1704
- }, je = class {
1711
+ }, Ne = class {
1705
1712
  visit(e, t, n) {
1706
1713
  e.copyFromAttribute(t, "name", n), e.copyFromAttribute(t, "sourceName", n);
1707
1714
  let r = e.evaluate("*/tableSlicerCache", t);
1708
1715
  return r ? (e.copyFromAttribute(r, "tableId", n), e.copyFromAttribute(r, "column", n, "columnId"), e.copyFromAttribute(r, "crossFilter", n), n) : (console.warn("SlicerCacheDefinitionVisitor: missing tableSlicerCache element"), n);
1709
1716
  }
1710
- }, Me = class {
1717
+ }, Pe = class {
1711
1718
  visit(e, t, n) {
1712
1719
  let r = n.slicers;
1713
1720
  r || (r = {}, n.slicers = r);
@@ -1729,7 +1736,7 @@ var re = class {
1729
1736
  }
1730
1737
  e.copyFromAttribute(t, "caption", r), e.copyFromAttribute(t, "startItem", r, "startItem", e.INT_COPY), e.copyFromAttribute(t, "columnCount", r, "columnCount", e.INT_COPY), e.copyFromAttribute(t, "showCaption", r, "showCaption", e.BOOLEAN_COPY), e.copyFromAttribute(t, "level", r, "level", e.INT_COPY), e.copyFromAttribute(t, "style", r), e.copyFromAttribute(t, "locked", r, "locked", e.BOOLEAN_COPY), e.copyFromAttribute(t, "rowHeight", r, "rowHeight", e.INT_COPY);
1731
1738
  }
1732
- }, Ne = class {
1739
+ }, Fe = class {
1733
1740
  visit(e, t, n) {
1734
1741
  return n;
1735
1742
  }
@@ -1745,7 +1752,7 @@ var re = class {
1745
1752
  x: 0,
1746
1753
  y: 0
1747
1754
  };
1748
- return o.x = g(t.getAttribute(i)), o.y = g(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1755
+ return o.x = _(t.getAttribute(i)), o.y = _(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1749
1756
  }
1750
1757
  processOffsetCoord(e, t, n, r) {
1751
1758
  if (!t) return;
@@ -1755,9 +1762,9 @@ var re = class {
1755
1762
  x: 0,
1756
1763
  y: 0
1757
1764
  };
1758
- 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 = g(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = g(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1765
+ return e.evaluate("col", t) && (i.c = parseInt(e.evaluate("col", t).textContent)), e.evaluate("row", t) && (i.r = parseInt(e.evaluate("row", t).textContent)), e.evaluate("colOff", t) && (i.x = _(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = _(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1759
1766
  }
1760
- }, Pe = class extends B {
1767
+ }, Ie = class extends V {
1761
1768
  visit(e, t, n) {
1762
1769
  if (!t) return;
1763
1770
  n = super.visit(e, t, n);
@@ -1801,7 +1808,7 @@ var re = class {
1801
1808
  }
1802
1809
  return i && (n.content = i), i;
1803
1810
  }
1804
- }, $ = V, Fe = class extends B {
1811
+ }, Le = H, Re = class extends V {
1805
1812
  visit(e, t, n) {
1806
1813
  if (!t) return;
1807
1814
  let r = super.visit(e, t, n), i = e.evaluate("nvPicPr/cNvPicPr", t);
@@ -1825,7 +1832,7 @@ var re = class {
1825
1832
  json: { resId: a }
1826
1833
  }, r;
1827
1834
  }
1828
- }, Ie = class extends V {
1835
+ }, ze = class extends H {
1829
1836
  visit(e, t, n) {
1830
1837
  if (!t) return;
1831
1838
  n = super.visit(e, t, n);
@@ -1845,7 +1852,7 @@ var re = class {
1845
1852
  json: i
1846
1853
  }, i;
1847
1854
  }
1848
- }, Le = class extends V {
1855
+ }, Be = class extends H {
1849
1856
  visit(e, t, n) {
1850
1857
  if (!t) return;
1851
1858
  n = super.visit(e, t, n);
@@ -1871,7 +1878,7 @@ var re = class {
1871
1878
  json: s
1872
1879
  }, s;
1873
1880
  }
1874
- }, Re = class {
1881
+ }, Ve = class {
1875
1882
  visit(e, t, n) {
1876
1883
  let r = [], i = /* @__PURE__ */ new Map(), a = {
1877
1884
  cells: [],
@@ -1978,10 +1985,10 @@ var re = class {
1978
1985
  }
1979
1986
  return n;
1980
1987
  }
1981
- }, ze = class {
1988
+ }, $ = class {
1982
1989
  visit(e, t, n) {
1983
- let r = e.getVisitorParamsState().get(H);
1984
- r || (r = [], e.getVisitorParamsState().set(H, r));
1990
+ let r = e.getVisitorParamsState().get(U);
1991
+ r || (r = [], e.getVisitorParamsState().set(U, r));
1985
1992
  let i = t.childNodes, a = i.length;
1986
1993
  for (let t = 0; t < a; t++) {
1987
1994
  let n = i.item(t);
@@ -2005,12 +2012,12 @@ var re = class {
2005
2012
  }
2006
2013
  }
2007
2014
  }
2008
- }, Be = class {
2015
+ }, He = class {
2009
2016
  visit(e, t, n) {
2010
2017
  let r = e.getVisitorParamsState().get("richTypes");
2011
2018
  if (!r) return void e.warn("RichValueFound but not type.");
2012
- let i = e.getVisitorParamsState().get(U);
2013
- i || (i = [], e.getVisitorParamsState().set(U, i));
2019
+ let i = e.getVisitorParamsState().get(W);
2020
+ i || (i = [], e.getVisitorParamsState().set(W, i));
2014
2021
  let a = t.childNodes, o = a.length;
2015
2022
  for (let t = 0; t < o; t++) {
2016
2023
  let n = a.item(t);
@@ -2023,14 +2030,14 @@ var re = class {
2023
2030
  }
2024
2031
  return n.richData = i, i;
2025
2032
  }
2026
- mapType(e, t) {
2027
- if (t.type === "_error") {
2028
- let e = t.errorType;
2033
+ mapType(e, n) {
2034
+ if (n.type === "_error") {
2035
+ let e = n.errorType;
2029
2036
  if (e) try {
2030
- t = n.getBuiltInByCode(e + 1) ?? n.BuiltIn.Unknown;
2037
+ n = t.getBuiltInByCode(e + 1) ?? t.BuiltIn.Unknown;
2031
2038
  } catch {}
2032
2039
  }
2033
- return t;
2040
+ return n;
2034
2041
  }
2035
2042
  processValues(e, t, n, r) {
2036
2043
  let i = t.childNodes, a = i.length;
@@ -2046,7 +2053,7 @@ var re = class {
2046
2053
  }
2047
2054
  }
2048
2055
  }
2049
- }, Ve = class {
2056
+ }, Ue = class {
2050
2057
  visit(e, t, n) {
2051
2058
  if (!t) return;
2052
2059
  let r = [];
@@ -2065,7 +2072,7 @@ var re = class {
2065
2072
  }
2066
2073
  }
2067
2074
  }
2068
- }, He = class {
2075
+ }, We = class {
2069
2076
  visit(e, t, n) {
2070
2077
  if (!t) return;
2071
2078
  let r = {}, i = t.getAttribute("ref");
@@ -2076,62 +2083,73 @@ var re = class {
2076
2083
  };
2077
2084
  return n.push(a), r;
2078
2085
  }
2079
- }, Ue = class {
2086
+ }, Ge = class {
2080
2087
  visit(e, t, n) {
2081
2088
  if (!t) return;
2082
2089
  let r = [];
2083
2090
  return n.comments = r, r;
2084
2091
  }
2085
- }, We = class {
2092
+ }, Ke = class {
2086
2093
  visit(e, t, n) {
2087
2094
  if (!t) return;
2088
2095
  let r = {};
2089
- e.copyFromAttribute(t, "id", r, "id", m);
2096
+ e.copyFromAttribute(t, "id", r, "id", h);
2090
2097
  let i = t.getAttribute("ref");
2091
- e.copyFromAttribute(t, "personId", r, "personId", m), e.copyFromAttribute(t, "parentId", r, "parentId", m), e.copyFromAttribute(t, "dT", r), t.hasAttribute("done") && (r.done = _(t.getAttribute("done")));
2098
+ e.copyFromAttribute(t, "personId", r, "personId", h), e.copyFromAttribute(t, "parentId", r, "parentId", h), e.copyFromAttribute(t, "dT", r), t.hasAttribute("done") && (r.done = v(t.getAttribute("done")));
2092
2099
  let a = {
2093
2100
  r: i,
2094
2101
  v: r
2095
2102
  };
2096
2103
  return n.push(a), r;
2097
2104
  }
2098
- }, Ge = class {
2105
+ }, qe = class {
2099
2106
  visit(e, t, n) {
2100
2107
  let r = [], i = t.childNodes, a = i.length;
2101
2108
  for (let t = 0; t < a; t++) {
2102
2109
  let n = i.item(t);
2103
2110
  if (n.nodeType === 1 && n.localName === "person") {
2104
2111
  let t = {};
2105
- e.copyFromAttribute(n, "id", t, "id", m), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", m), e.copyFromAttribute(n, "providerId", t), r.push(t);
2112
+ e.copyFromAttribute(n, "id", t, "id", h), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", h), e.copyFromAttribute(n, "providerId", t), r.push(t);
2106
2113
  }
2107
2114
  }
2108
2115
  return r.length > 0 && (n.persons = r), r;
2109
2116
  }
2110
- }, Ke = class {
2117
+ }, Je = class {
2111
2118
  constructor(e, t) {
2112
2119
  this.path = e, this.visitor = t;
2113
2120
  }
2114
- }, qe = class {
2121
+ }, Ye = class {
2115
2122
  constructor() {
2116
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new W()), this.registerVisitor("cp:coreProperties", new G()), this.registerVisitor("Properties", new K()), this.registerVisitor("spPr", new ue()), this.registerVisitor("txBody", new X()), this.registerVisitor("txPr", new X()), this.registerVisitor("c:chartSpace", new ce()), this.registerVisitor("c:plotArea", new le()), this.registerVisitor("c:barChart", new de()), this.registerVisitor("c:doughnutChart", new q()), this.registerVisitor("c:lineChart", new q()), this.registerVisitor("c:ofPieType", new q()), this.registerVisitor("c:pieChart", new q()), this.registerVisitor("c:scatterChart", new q()), this.registerVisitor("c:barChart", new J("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new J("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new J("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new J("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new J("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new J("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new fe()), this.registerVisitor("c:dPt", new pe()), this.registerVisitor("c:marker", new me()), this.registerVisitor("c:catAx", new Y()), this.registerVisitor("c:valAx", new Y()), this.registerVisitor("c:dateAx", new Y()), this.registerVisitor("c:majorGridlines", new M("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new M("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new X("labels.text"), "txPr"), this.registerVisitor("c:valAx", new X("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new X("labels.text"), "txPr"), this.registerVisitor("c:legend", new ge()), this.registerVisitor("c:legend", new X("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new he()), this.registerVisitor("c:ser", new _e(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new J("labels"), "dLbls"), this.registerVisitor("c:dLbl", new J("points")), this.registerVisitor("c:title", new Z()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new ve()), this.registerVisitor("c:dispUnits", new M("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new Z("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new X(), "tx/rich"), this.registerVisitor("a:theme", new ye()), this.registerVisitor("a:theme", new be(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new xe(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new Se(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new we()), this.registerVisitor("sortState", new Te()), this.registerVisitor("s:workbook", new De()), this.registerVisitor("styleSheet", new Ee()), this.registerVisitor("x14:table", new ke()), this.registerVisitor("table", new Oe()), this.registerVisitor("externalLink", new Ae()), this.registerVisitor("hlinkClick", new Ce()), this.registerVisitor("wsDr", new Ne()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Pe()), this.registerVisitor("sp", new $()), this.registerVisitor("grpSp", new Ie()), this.registerVisitor("cxnSp", new Le()), this.registerVisitor("pic", new Fe()), this.registerVisitor("metadata", new Re()), this.registerVisitor("rvStructures", new ze()), this.registerVisitor("rvData", new Be()), this.registerVisitor("comments", new Ve()), this.registerVisitor("comment", new He()), this.registerVisitor("comment", new X("content"), "text"), this.registerVisitor("ThreadedComments", new Ue()), this.registerVisitor("threadedComment", new We()), this.registerVisitor("threadedComment", new X("content"), "text"), this.registerVisitor("personList", new Ge()), this.registerVisitor("slicerCacheDefinition", new je()), this.registerVisitor("slicers", new Me());
2123
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new G()), this.registerVisitor("cp:coreProperties", new le()), this.registerVisitor("Properties", new ue()), this.registerVisitor("spPr", new pe()), this.registerVisitor("txBody", new Y()), this.registerVisitor("txPr", new Y()), this.registerVisitor("c:chartSpace", new de()), this.registerVisitor("c:plotArea", new fe()), this.registerVisitor("c:barChart", new me()), this.registerVisitor("c:doughnutChart", new K()), this.registerVisitor("c:lineChart", new K()), this.registerVisitor("c:ofPieType", new K()), this.registerVisitor("c:pieChart", new K()), this.registerVisitor("c:scatterChart", new K()), this.registerVisitor("c:barChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new q("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new he()), this.registerVisitor("c:dPt", new ge()), this.registerVisitor("c:marker", new _e()), this.registerVisitor("c:catAx", new J()), this.registerVisitor("c:valAx", new J()), this.registerVisitor("c:dateAx", new J()), this.registerVisitor("c:majorGridlines", new M("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new M("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:valAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:legend", new ye()), this.registerVisitor("c:legend", new Y("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ve()), this.registerVisitor("c:ser", new be(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new q("labels"), "dLbls"), this.registerVisitor("c:dLbl", new q("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new xe()), this.registerVisitor("c:dispUnits", new M("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new Y(), "tx/rich"), this.registerVisitor("a:theme", new Se()), this.registerVisitor("a:theme", new Ce(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new we(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new Te(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new De()), this.registerVisitor("sortState", new Oe()), this.registerVisitor("s:workbook", new ke()), this.registerVisitor("styleSheet", new Z()), this.registerVisitor("x14:table", new je()), this.registerVisitor("table", new Ae()), this.registerVisitor("externalLink", new Me()), this.registerVisitor("hlinkClick", new Ee()), this.registerVisitor("wsDr", new Fe()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Ie()), this.registerVisitor("sp", new Le()), this.registerVisitor("grpSp", new ze()), this.registerVisitor("cxnSp", new Be()), this.registerVisitor("pic", new Re()), this.registerVisitor("metadata", new Ve()), this.registerVisitor("rvStructures", new $()), this.registerVisitor("rvData", new He()), this.registerVisitor("comments", new Ue()), this.registerVisitor("comment", new We()), this.registerVisitor("comment", new Y("content"), "text"), this.registerVisitor("ThreadedComments", new Ge()), this.registerVisitor("threadedComment", new Ke()), this.registerVisitor("threadedComment", new Y("content"), "text"), this.registerVisitor("personList", new qe()), this.registerVisitor("slicerCacheDefinition", new Ne()), this.registerVisitor("slicers", new Pe());
2117
2124
  }
2118
2125
  registerVisitor(e, t, n = null) {
2119
2126
  e.indexOf(":") === -1 && (e = "*:" + e);
2120
2127
  let r = e.split(":"), i = r.length > 1 ? r[1] : r[0];
2121
2128
  if (!n) return this.visitorsByXmlTagName.set(i, t), void this.visitorsByXmlTagName.set(e, t);
2122
2129
  let a = this.scopedVisitorsByXmlTagName.get(i);
2123
- a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Ke(n, t));
2130
+ a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Je(n, t));
2131
+ }
2132
+ parseDxf(e, t = "") {
2133
+ this.visitorParamsState ||= /* @__PURE__ */ new Map();
2134
+ let n = this.visitorParamsState, r = n.get("processingDXFs");
2135
+ n.set("processingDXFs", !0);
2136
+ try {
2137
+ let n = new C(null, this, "/dxf", e, {}, t), r = {};
2138
+ return new Z().processDXF(n, e, r), r;
2139
+ } finally {
2140
+ r === void 0 ? n.delete("processingDXFs") : n.set("processingDXFs", r);
2141
+ }
2124
2142
  }
2125
2143
  getVisitorParamsState() {
2126
2144
  return this.visitorParamsState;
2127
2145
  }
2128
- transform(e, n, r = t.EmptyObject) {
2146
+ transform(e, t, r = n.EmptyObject) {
2129
2147
  let i = e.documentElement;
2130
2148
  this.visitorParamsState && !r?.paramMap || (this.visitorParamsState = r?.paramMap ?? /* @__PURE__ */ new Map());
2131
2149
  let a = {}, o = this.visitorsByXmlTagName.get(i.nodeName);
2132
2150
  if (o ||= this.visitorsByXmlTagName.get(i.localName), !o) throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);
2133
- let s = "/" + i.localName, c = new C(null, this, s, i, a, n, r), l = [];
2134
- this._doWalk(o, c, l, i, a, n, r);
2151
+ let s = "/" + i.localName, c = new C(null, this, s, i, a, t, r), l = [];
2152
+ this._doWalk(o, c, l, i, a, t, r);
2135
2153
  let u = l.length;
2136
2154
  for (let e = 0; e < u; e++) {
2137
2155
  let t = l[e];
@@ -2190,4 +2208,4 @@ var re = class {
2190
2208
  return s;
2191
2209
  }
2192
2210
  };
2193
- export { qe as DOMTransformer, C as ExecutionContext, te as NumberUtils, ae as VisitorUtils };
2211
+ export { Ye as DOMTransformer, C as ExecutionContext, te as NumberUtils, oe as VisitorUtils };