@sheetxl/studio-vanilla 0.8.0-beta.7 → 0.8.0-beta.9

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 (369) hide show
  1. package/browser/cjs/71t68tthCqAyqS9Y2.cjs +1 -0
  2. package/browser/cjs/9zyLp_qEwt9GphA82.cjs +1 -0
  3. package/browser/cjs/B0bpKoi26UcJy-yx2.cjs +1 -0
  4. package/browser/cjs/B7gx_G60ELU_MwHQ.cjs +3 -0
  5. package/browser/cjs/{BCm6d5TSyOWIner52.cjs → B8k2Nobs3xsYk1La2.cjs} +1 -1
  6. package/browser/cjs/{B6T_y0ce8SbjxV-I.cjs → BBev0dLbf1fU-lfA.cjs} +1 -1
  7. package/browser/cjs/{ahQaPMczi7feo-ae2.cjs → BLm90Fq3PHyJcuuD2.cjs} +1 -1
  8. package/browser/cjs/BMUUPjFWJpJ0LI3i.cjs +6 -0
  9. package/browser/cjs/{namqZsBygpcj2yf42.cjs → BOEw2nlucWPfxCYp2.cjs} +1 -1
  10. package/browser/cjs/BOVrNOPvNrCm6yRB.cjs +44 -0
  11. package/browser/cjs/{D9hGhZ8wId9qKZlT.cjs → BRRCf1dPEVEMuZg_.cjs} +1 -1
  12. package/browser/cjs/{B4VCKO11wngJjEO92.cjs → BWMBI4f0SjoI_Oin2.cjs} +1 -1
  13. package/browser/cjs/BaC5cgF10fBwJBaK.cjs +3 -0
  14. package/browser/cjs/{B0gP-9ZXQb_QZ8Jm.cjs → BfSQzdZII1qouGSA.cjs} +1 -1
  15. package/browser/cjs/Bks6NqUor4BlAszo2.cjs +1 -0
  16. package/browser/cjs/BlqNnPvPXlfr1uiQ.cjs +1 -0
  17. package/browser/cjs/Brhq9xC0-0nktknO2.cjs +1 -0
  18. package/browser/cjs/BzZ4-FYClxQ8ujtx.cjs +1 -0
  19. package/browser/cjs/C5ysAU-f5AXrrCUy2.cjs +1 -0
  20. package/browser/cjs/C60FQCTpuPODGMns2.cjs +1 -0
  21. package/browser/cjs/{Bzd1x5C01LQtiSb0.cjs → CAlhyBtLwTQbCNjD.cjs} +1 -1
  22. package/browser/cjs/{eCs1q0PICk1snU-12.cjs → CMr_-nDgsJMujQie2.cjs} +1 -1
  23. package/browser/cjs/COX7Y3Wht4v_4upT2.cjs +1 -0
  24. package/browser/cjs/{B1yQqy3iSI5uZPt3.cjs → CW6uYgYnFALF8Wep.cjs} +1 -1
  25. package/browser/cjs/Cs08_432tXlhmIvU.cjs +90 -0
  26. package/browser/cjs/{DFfYZJqlytuKuwBJ.cjs → D0OGlOZBsNUXBigZ.cjs} +1 -1
  27. package/browser/cjs/{C5RvrnAGhfLzpBNO.cjs → D1q4dPaaoZjeLyfe.cjs} +1 -1
  28. package/browser/cjs/D7mCXmc268F393wh2.cjs +8 -0
  29. package/browser/cjs/{O6F5xVsoF2hTiprv2.cjs → DCOqoH-T4Ux_1dQj2.cjs} +1 -1
  30. package/browser/cjs/{CEEuvrhhkW5TgJnc.cjs → DDPnnW8pKC_2zw9B.cjs} +3 -3
  31. package/browser/cjs/DEeKo15ZqUcmFDOr2.cjs +1 -0
  32. package/browser/cjs/DHkk0JkwMtD44kS3.cjs +1 -0
  33. package/browser/cjs/{BUm56uGV9gjkjukY.cjs → DHqatAcjRnNrazeD.cjs} +1 -1
  34. package/browser/cjs/{-fvFQTbevbuRecGW.cjs → DKZA4pMye4Pmg1RA.cjs} +1 -1
  35. package/browser/cjs/DLAAtKRVBbSpGhxl.cjs +1 -0
  36. package/browser/cjs/{DB7uY0V24myTsCAO2.cjs → DToMNH3wGi3n2uzu2.cjs} +1 -1
  37. package/browser/cjs/DZjJnyrLugwcGEp_.cjs +1 -0
  38. package/browser/cjs/DfEVusmtxqWAEEiY.cjs +1 -0
  39. package/browser/cjs/DfFRdD4_C7I-6yMX.cjs +30 -0
  40. package/browser/cjs/Dki3Dmf6EPdM8LlM.cjs +6 -0
  41. package/browser/cjs/DkmumL9n_dH_hGQM.cjs +15 -0
  42. package/browser/cjs/Dl78hBFh7yqtDkqK.cjs +1 -0
  43. package/browser/cjs/{BbXbe-bwCJLD279F.cjs → DmLfFV_n8G4X8mrz.cjs} +1 -1
  44. package/browser/cjs/{DnMx7IQDtha_NuLB2.cjs → DqPfiDmZbBXEaCP_2.cjs} +1 -1
  45. package/browser/cjs/DsXQ2l8FnovrZHUY.cjs +1 -0
  46. package/browser/cjs/{D3gV1sduXTeibviI.cjs → Dw0B6dMDxbb1xfgd.cjs} +1 -1
  47. package/browser/cjs/{BnXCqfKX491kQrtl.cjs → Dyh_1aZCy-1UzCsZ.cjs} +1 -1
  48. package/browser/cjs/GYpazpfoUjLOoCiK.cjs +1 -0
  49. package/browser/cjs/{BmdFT-Ie0SY8YqFf.cjs → On1UFwmi1jBdIPHA.cjs} +2 -2
  50. package/browser/cjs/{B6k5f9VFbYVTvfVE2.cjs → VzSM9peK6m7Un51q2.cjs} +1 -1
  51. package/browser/cjs/YXZX8u8UAJjC65if2.cjs +1 -0
  52. package/browser/cjs/index.cjs +1 -1
  53. package/browser/cjs/ukoyeeBQoyNfdkag.cjs +32 -0
  54. package/browser/cjs/xuAfpHmA2W4MFa_0.cjs +1 -0
  55. package/browser/cjs/yWKtR8OoFhtOqU0C.cjs +2 -0
  56. package/{cdn/assets/D6o4brLafnJRIFnU.js → browser/esm/0aKGd26gK-kyYQpJ.mjs} +2 -2
  57. package/browser/esm/{Bt3ndQy-OnI4OHTz.mjs → 1YNqnAQLBD6Rbh-J2.mjs} +1 -1
  58. package/browser/esm/{B1ZEbc_b-Hug9WON.mjs → 2F7YZkGv5ARgpyZp.mjs} +1 -1
  59. package/browser/esm/{DsGyEBTgXCOEpB4D.mjs → 2wA_KrUFQ1jrFBd9.mjs} +69 -68
  60. package/browser/esm/{BkU3OKqpa0ddsfDs.mjs → 33yirHl3UNk6hI0k.mjs} +2 -2
  61. package/{cdn/assets/D5nFDHDC5F0D8PyZ.js → browser/esm/33yirHl3UNk6hI0k2.mjs} +2 -2
  62. package/{cdn/assets/DyQEm0-NZ41L--1K.js → browser/esm/4Ah98p4lGiqrlbx6.mjs} +1 -1
  63. package/browser/esm/{Cl_mxlCr73V-Yg6k.mjs → B6hXpbUeJ5Oyyttd.mjs} +8015 -7564
  64. package/browser/esm/{COqCbm81u1WaCS7k.mjs → BCGMvpUPFTYcKGbk.mjs} +1 -1
  65. package/browser/esm/{KH2MZAMxGzfVMoKB2.mjs → BFrhIhjN1UwpjBcV2.mjs} +9 -9
  66. package/{cdn/assets/CCIybQZ3Tgu4CxnN2.js → browser/esm/BFv3n-8UY0C32OsF2.mjs} +1 -1
  67. package/browser/esm/{cBQ4eqpoDrXn7JHn.mjs → BGgqNYvM_RAz4jrA.mjs} +3 -3
  68. package/browser/esm/{C6eVL3m02S-Qj2uy2.mjs → BSyEOmiRvJDj0_4_2.mjs} +1 -1
  69. package/browser/esm/{C7Em8LjBH1VJoyfm.mjs → BT_Wxatn8mtmQ5qD.mjs} +1 -1
  70. package/browser/esm/{BefWPzywuI_Ptwju.mjs → BU7mp3uhAKScJeIR.mjs} +13 -13
  71. package/browser/esm/{q3Mf-6we7Zn-SXlN2.mjs → BV4Vqj3NFgB6gT0a2.mjs} +62 -62
  72. package/browser/esm/{DCOuB4SkbT3JU9bd2.mjs → BVJrNnBCgG9jP7JN2.mjs} +7 -7
  73. package/browser/esm/{C-X2_FUeulh-Fay1.mjs → BWpXJ2OCAVkNOxJs.mjs} +5 -5
  74. package/browser/esm/{CJfK3Zm2ZKVEv5Mv.mjs → BXBYzUCo-8Y2kvih.mjs} +1 -1
  75. package/browser/esm/{C82u-7ClfP9SoGOY2.mjs → BZ860rgIJYeM_mZk2.mjs} +7 -7
  76. package/browser/esm/{B-svf5wq7V5QDtO4.mjs → BZKWCpLfrzdLKWH3.mjs} +12 -12
  77. package/{cdn/assets/DLxFo71kHJsGXBZ32.js → browser/esm/Ba8XCzy9ufDNa_mw.mjs} +1 -1
  78. package/browser/esm/{CtIl_LU__yf7i0CI2.mjs → BcaaTjcuVt3Oji-Y2.mjs} +15 -15
  79. package/browser/esm/{DdWhgxkT5YtvYarN.mjs → Beb-71pldLN9-lkZ2.mjs} +1 -1
  80. package/browser/esm/{BmHI7i54YtVAcFrP.mjs → Bh63JoX4eBlOHfnf.mjs} +5 -5
  81. package/browser/esm/{BzY-TCedGBSg3UzZ2.mjs → Biy4xNo0ds01Jy6T2.mjs} +7 -7
  82. package/browser/esm/{DgmukBO5L3U9_0t42.mjs → BjcfDORFDLJVCh9M2.mjs} +1 -1
  83. package/browser/esm/{DIxQ75X7k8keCEPD.mjs → BnzryntYV2vpXfKO.mjs} +3 -3
  84. package/browser/esm/{DaSrO6iF4NOXLpMI2.mjs → BoWxoDcx70L4pgIG2.mjs} +1 -1
  85. package/browser/esm/{pkHBfquSDF6569Gk2.mjs → BouasW9i4KF5ayiD2.mjs} +2 -2
  86. package/{cdn/assets/BT8V24glIXLW0J7i2.js → browser/esm/BpSYpeutbljnZDCG.mjs} +1 -1
  87. package/browser/esm/{CD-JsN04jY0VyY1v.mjs → Bsfmz9sSNYL1bur2.mjs} +1 -1
  88. package/browser/esm/{BQkwe2PCHBQEw--9.mjs → BuZnLC96IH7EKmDo.mjs} +2 -2
  89. package/{cdn/assets/DJfrSiVd9Hm9g2d2.js → browser/esm/BwpeFsNLJ6sOyg-V.mjs} +1 -1
  90. package/browser/esm/{CBv1rU3xPDQ-215V2.mjs → ByGJD0lWglnYtMOB2.mjs} +7 -7
  91. package/{cdn/assets/uVz7RxSLXYsjkdHy.js → browser/esm/Byeb25yVhxGAjZjs.mjs} +2 -2
  92. package/{cdn/assets/COJLKiCysD7hs2jG2.js → browser/esm/Bzbxw_NHYqY5MOhk2.mjs} +1 -1
  93. package/browser/esm/{GZBYOLZMS5CK612Z.mjs → C-5IXNwUVn75K6U_.mjs} +8 -8
  94. package/{cdn/assets/KRAw_H4pyLSGG7VM.js → browser/esm/C-_7D2KLIoDlB5ZW2.mjs} +1 -1
  95. package/browser/esm/{DhZ8HFnFgb6ij3dI.mjs → C1qj_93tElwUAeIR.mjs} +13 -13
  96. package/browser/esm/{vFkFpwfIwu3oIJ542.mjs → C6kRIEgNpvwokXS62.mjs} +1 -1
  97. package/browser/esm/{Bb-mZ1cMsciuz4ww.mjs → C8_izylh6h0mCmn0.mjs} +158 -158
  98. package/browser/esm/{1Xvtgcae3VR_6R8I.mjs → C8rk3b1et4kn4nmh.mjs} +6 -6
  99. package/browser/esm/{CFnqyLJDpOXdxb3c2.mjs → CBC4DPaH9zC8bgtR2.mjs} +5 -5
  100. package/browser/esm/{DxLzXk_tSrLv1u632.mjs → CBHMqMbfHpto8A1O2.mjs} +1 -1
  101. package/browser/esm/{ByGJZ2rruqWUbaGY.mjs → CFw_lEfCjWsjFmod.mjs} +8 -8
  102. package/browser/esm/{BZvD2AxAqbnxspY6.mjs → CI2gMVZhmhMTMxzw.mjs} +7066 -5159
  103. package/browser/esm/{RP044HPTvZ7fRPp62.mjs → CK37hazurRQUhGh82.mjs} +11 -11
  104. package/browser/esm/{BPnA1nEVe1clG1IF.mjs → CL6HRP8ocSnYryNh.mjs} +4 -4
  105. package/browser/esm/{Br0flZ59oGm_KTug2.mjs → CNanescYL9L5uras2.mjs} +2 -2
  106. package/browser/esm/{DFHP3kC1VW25l54r2.mjs → CQBwlTSXDAUWu4W9.mjs} +1 -1
  107. package/browser/esm/{BrUW8pfVTjf65sDi2.mjs → CQWSMhxAOeTXp9Kx2.mjs} +2 -2
  108. package/browser/esm/{C55NEfrA6s_yuajX2.mjs → CQyt-UVizZgazLy5.mjs} +1 -1
  109. package/browser/esm/{ZMzJhKJMzHflPVYY.mjs → CRFwpUUcSI_tqcjz.mjs} +2 -2
  110. package/{cdn/assets/CaHBZElxMjo_v4LY.js → browser/esm/CXgg3tQvJDJO6SSm2.mjs} +1 -1
  111. package/browser/esm/{ooQCodfB4ck6IWqw.mjs → C_0vyfGPMnLDdlSb.mjs} +1 -1
  112. package/{cdn/assets/Bp36kaEEsGhP709t.js → browser/esm/Cag5TarcS7KgHsRo2.mjs} +1 -1
  113. package/browser/esm/{CWJBcuvUa2RVQMju.mjs → CfdMPj-NygDGMh04.mjs} +3 -3
  114. package/{cdn/assets/BfqHVT9RAMHzPrq2.js → browser/esm/CgddS2k-SBQbGu-q.mjs} +1 -1
  115. package/{cdn/assets/Bi82rHDsiL2lqeRo2.js → browser/esm/ChMJWEuVIDRtM4F-2.mjs} +1 -1
  116. package/{cdn/assets/DxkY3Q5VwWkfqW7t2.js → browser/esm/CiwAp4s68xfZm7za2.mjs} +1 -1
  117. package/browser/esm/ClKovUJdtYnSDXcU.mjs +2298 -0
  118. package/{cdn/assets/BBmgXo0P8kU87RB4.js → browser/esm/CmbsN81GDpmY3RPO.mjs} +1 -1
  119. package/{cdn/assets/D5MFyg_gQzrtkU5q.js → browser/esm/Cn4jB4Paw7SdIEXJ.mjs} +1 -1
  120. package/browser/esm/{BxetdicosmSVg2vW.mjs → CnGCJJ5xiRobAWcX.mjs} +12 -11
  121. package/{cdn/assets/BS7DCPO7VdYxiXF8.js → browser/esm/CoVIoxu1xnlKd2HA2.mjs} +1 -1
  122. package/{cdn/assets/De94qdhWNQbkhAKb.js → browser/esm/Cp2HULnAKhE-UPLK.mjs} +829 -809
  123. package/browser/esm/{DcZJy7SSyaWDcelM.mjs → CpHxcPS-3EVZkuEF.mjs} +2 -2
  124. package/browser/esm/{mGzBkmSW0FIS3l47.mjs → CpWlrwsyFr5LDXzk.mjs} +1 -1
  125. package/browser/esm/{BD1aTBqOuoKSzGSD.mjs → CshbEuB1T3tTBKsg.mjs} +41 -51
  126. package/browser/esm/{fY2YKQMUdsYu7XiI.mjs → CvzmHqRHrWQRXCU4.mjs} +1 -1
  127. package/browser/esm/{BtPBnZB0UiICvNBH.mjs → CwRejmwDTGehmz3r.mjs} +3 -3
  128. package/browser/esm/{DmxxEaNdjPB6nBgy.mjs → CzCX-Wad3yMcEHob.mjs} +1 -1
  129. package/browser/esm/{rFUbFjv5JlDQ1yJw2.mjs → D1Jl06sXpn8zZgdb2.mjs} +11 -11
  130. package/browser/esm/{BxhPqvaARsOu1pOy2.mjs → D1jTquzDJ_dOLWn32.mjs} +531 -530
  131. package/browser/esm/{BRSPE-Kbm0TK7bm4.mjs → D1rCmgzPQzy6VXMS.mjs} +1 -1
  132. package/browser/esm/{C7926vmEK1-oM95A2.mjs → D2Fopvel0AE5OMJ82.mjs} +14 -14
  133. package/{cdn/assets/De8YQFKHRYztHtNy.js → browser/esm/D70qxLxD0ZWgLmBs2.mjs} +1 -1
  134. package/browser/esm/{y7OPrnmnmsKf_AFC.mjs → DBYgTlTpZKZGoP3J.mjs} +1 -1
  135. package/{cdn/assets/rTH3jO4xeLwX22po2.js → browser/esm/DFQANFiqOXXHBhY6.mjs} +1 -1
  136. package/browser/esm/{CHCc5YuSbtNgC6qQ.mjs → DGb0H5-84FuMTt7D.mjs} +1 -1
  137. package/browser/esm/{C__NPFffG8xrVl4W.mjs → DIqQkABlFa6ThxBq.mjs} +12 -12
  138. package/browser/esm/{DFfqXOHApBHKjPmq.mjs → DOrZ1rQOO7y7wy_m2.mjs} +1 -1
  139. package/browser/esm/{DFgibCVRkv7ROc5v2.mjs → DR-J6OnvqplpkxjY2.mjs} +1 -1
  140. package/browser/esm/{B4OkD-x-7fL0aUxy.mjs → DW3HvTGIMKSU5-rE.mjs} +5 -5
  141. package/{cdn/assets/S2-ef6zfqD83qohl.js → browser/esm/D_wBIcd-JG6pjL6X.mjs} +675 -726
  142. package/{cdn/assets/Bdf9NRBqMDRFuqxL2.js → browser/esm/Db0wkQr-gcaXZ-xF2.mjs} +1 -1
  143. package/browser/esm/{BuBAtTrlYVvU86de.mjs → Dc-ACeeHSIUlPwwK.mjs} +9 -7
  144. package/browser/esm/{DZUjFTXDHp2HSvYN.mjs → DhElOu55OpNI63fY.mjs} +13 -13
  145. package/browser/esm/{DcKd5bjp1ZnTq_-x.mjs → DiC8s-5zqDT2bSX_.mjs} +1 -1
  146. package/browser/esm/{DNwEAT1MO-6FRFlC.mjs → Dj99WdDE0W4pbL9Z.mjs} +5 -5
  147. package/browser/esm/{BcO0tjxUkaw8VKEE2.mjs → DkzeehP-6WrvoENP2.mjs} +8 -8
  148. package/{cdn/assets/B3xtxS53C7jgKwfe2.js → browser/esm/Dmnc6PGw0oZha0MF.mjs} +2612 -1415
  149. package/{cdn/assets/9cn1ewqq1BWmzgIL.js → browser/esm/DnIM43F01HIS9vrs2.mjs} +1 -1
  150. package/browser/esm/{BDFm0nphkYgT4nS22.mjs → Do9KFjmpgHDzEREb2.mjs} +9 -9
  151. package/browser/esm/{CoqDXeaMS0XICCe2.mjs → DonKewYwnXajr7vb.mjs} +1 -1
  152. package/browser/esm/{C8jJJ5X2nIRCaMcu2.mjs → DqrAn9WP17T4sX4k.mjs} +1 -1
  153. package/browser/esm/{C2DL_mDwKLFZBqvN2.mjs → DtgxDfYXDdgRF8CP2.mjs} +1 -1
  154. package/{cdn/assets/D4cHE39d638a1U-y.js → browser/esm/DwcvG_p7iZ2TOYkO2.mjs} +1 -1
  155. package/browser/esm/{q9O6l04D06PeFt9r.mjs → Dx_rx7X79sTRpl4o.mjs} +5 -5
  156. package/browser/esm/{DfDgl_4vSuF3nubw2.mjs → Dy92PkC2HNPr3NUS2.mjs} +13 -13
  157. package/browser/esm/F2DxvTu1OtKx4KOu.mjs +62 -0
  158. package/browser/esm/{B4g2Yf4whV01sYya2.mjs → FzT0Kg_BbOdmREpX2.mjs} +1 -1
  159. package/browser/esm/{BSlFBKA1YartFibf.mjs → I660lM4WXwKByUBN.mjs} +618 -293
  160. package/{cdn/assets/4YGRiYPupFKq8BfP.js → browser/esm/LcWP7jwFTbFV8PXB.mjs} +1 -1
  161. package/browser/esm/NICR6e-cHnVuaN672.mjs +68 -0
  162. package/browser/esm/{DU8ox87tBW2BnWct.mjs → Oi3vEmqVfUYeowoU.mjs} +16 -16
  163. package/{cdn/assets/DIARlYhdv_2V83X8.js → browser/esm/XVb52lYk0hnvaibx2.mjs} +2 -2
  164. package/browser/esm/{B3PPwwyNEblsUOL8.mjs → _umvY0i6yb5YBaQW2.mjs} +1 -1
  165. package/browser/esm/{iHpxHAsf4TbCq-TE.mjs → eCn_J58pIBQwzSFQ.mjs} +1 -1
  166. package/browser/esm/{Dy_DuOQMMsoys5uG.mjs → eb55UkMxnvKhZf7Y.mjs} +43 -43
  167. package/{cdn/assets/BdTAWhP-loxlROWg.js → browser/esm/enNXuXOMFvwqMrMF2.mjs} +1 -1
  168. package/browser/esm/{BrDePmlBu6Hb4zjJ.mjs → f4dduywnnZ6uE-MZ.mjs} +1 -1
  169. package/browser/esm/{C18TArpE7wOvMYXB2.mjs → i81eZYR434OTxzFp2.mjs} +12 -12
  170. package/browser/esm/{D-oV3YlvN_279OAe.mjs → ilaSvZy5MHqAeVhr.mjs} +8 -8
  171. package/browser/esm/index.mjs +4 -4
  172. package/browser/esm/{BASSDm-JY_bgolFA2.mjs → jBZULYj6alt6xc0v2.mjs} +1 -1
  173. package/browser/esm/{B4jNGg7_t9JeroNp2.mjs → jt7Pndny1ddX66eh2.mjs} +37 -7
  174. package/browser/esm/{BA63EN1awAh-Inzl.mjs → ms6uwR8n8YkKj8qd.mjs} +1419 -1022
  175. package/browser/esm/{D_Iw8uMiIvx2jhcv2.mjs → n6xdiChPzW0alL9f2.mjs} +1 -1
  176. package/browser/esm/{BJXpsm4jy1MQEydA.mjs → naRjzZqPt0JSdeaD.mjs} +2141 -1911
  177. package/browser/esm/{Dc5MbVn_75FtzgPY2.mjs → qG3Ardi8Sem7RxlS2.mjs} +1 -1
  178. package/browser/esm/{Bjpm9ZVaFQRdne7s.mjs → rkgkqx2vOlkYHUxK2.mjs} +1 -1
  179. package/browser/esm/{DL_mqnTNaFcgm_nY.mjs → ro6GeRkPlX0NJeiX.mjs} +2 -2
  180. package/browser/esm/sq1ZQBDrjmOCMkE8.mjs +2624 -0
  181. package/{cdn/assets/5DCw2IuKPn_ERodw.js → browser/esm/wcldfedI_9KDEtaN.mjs} +1 -1
  182. package/browser/esm/{DgCRnAf5wqM0QG4X2.mjs → xmD5IJJziRqUIbkU.mjs} +1 -1
  183. package/cdn/assets/{ml6iN9Or0sV9rNHQ2.js → -0ZWO-sILmjXhdUn2.js} +10 -10
  184. package/cdn/assets/{CEP2pbRcOThbPSHu2.js → 0ytlp68IedQ03SxN2.js} +8 -8
  185. package/cdn/assets/{Bt3ndQy-OnI4OHTz.js → 1YNqnAQLBD6Rbh-J.js} +1 -1
  186. package/cdn/assets/{B1ZEbc_b-Hug9WON2.js → 2F7YZkGv5ARgpyZp2.js} +1 -1
  187. package/{browser/esm/DyQEm0-NZ41L--1K.mjs → cdn/assets/4Ah98p4lGiqrlbx6.js} +1 -1
  188. package/{browser/esm/CY8tngENYkEZn2SB.mjs → cdn/assets/5fk4i8-157Ur23Jd.js} +676 -725
  189. package/cdn/assets/{CR_q2LxqSxi13Hij2.js → B3g1fc-3zQH4IhzA2.js} +19439 -18988
  190. package/cdn/assets/{COqCbm81u1WaCS7k2.js → BCGMvpUPFTYcKGbk2.js} +1 -1
  191. package/cdn/assets/{D_qtb6BEhWE61Z7C.js → BCunHjPgizrAsDXf.js} +17 -17
  192. package/cdn/assets/{C3wPGkvUzepIQRVC2.js → BE8QpwvUMA9nmViB2.js} +62 -62
  193. package/{browser/esm/CCIybQZ3Tgu4CxnN.mjs → cdn/assets/BFv3n-8UY0C32OsF.js} +1 -1
  194. package/cdn/assets/BJNI25e2dCdq29AM.js +62 -0
  195. package/cdn/assets/{Csgvd2uwdSVvtxd0.js → BLSwh5Hqlo-b8LTp.js} +3 -3
  196. package/cdn/assets/{C1Fgr1CHaaJCZwDE2.js → BOVd36GaYwk1m1gs2.js} +22 -22
  197. package/cdn/assets/{DA1nRTNBW1PtpWgT.js → BPdZCt3a5bggHnmC.js} +2 -2
  198. package/cdn/assets/{C6eVL3m02S-Qj2uy.js → BSyEOmiRvJDj0_4_.js} +1 -1
  199. package/cdn/assets/{C7fY4QaenhDjniAr.js → BWv9YMAIb4d7yeRr.js} +70 -69
  200. package/cdn/assets/{CJfK3Zm2ZKVEv5Mv2.js → BXBYzUCo-8Y2kvih2.js} +1 -1
  201. package/cdn/assets/{B5IRoZY13t_fHSz42.js → BXCPrm92ipaRS1ge2.js} +17 -17
  202. package/cdn/assets/{3fQDDuvcrnAkT5qe.js → BY3exqKgwDNCbdrG.js} +85 -85
  203. package/{browser/esm/DLxFo71kHJsGXBZ3.mjs → cdn/assets/Ba8XCzy9ufDNa_mw2.js} +1 -1
  204. package/cdn/assets/BbQdrdBSar3saQX32.js +149 -0
  205. package/cdn/assets/{DdWhgxkT5YtvYarN2.js → Beb-71pldLN9-lkZ.js} +1 -1
  206. package/cdn/assets/{DgmukBO5L3U9_0t4.js → BjcfDORFDLJVCh9M.js} +1 -1
  207. package/cdn/assets/{DaSrO6iF4NOXLpMI.js → BoWxoDcx70L4pgIG.js} +1 -1
  208. package/cdn/assets/{pkHBfquSDF6569Gk.js → BouasW9i4KF5ayiD.js} +2 -2
  209. package/{browser/esm/BT8V24glIXLW0J7i.mjs → cdn/assets/BpSYpeutbljnZDCG2.js} +1 -1
  210. package/cdn/assets/{ZDs8hbqQmtSIaDZm.js → Br5sDsj8RypYlTfI.js} +3641 -3411
  211. package/cdn/assets/{aIjKRE7sQ1uohehj.js → BrY06ew6SWC_tvAK.js} +12 -12
  212. package/cdn/assets/{CD-JsN04jY0VyY1v2.js → Bsfmz9sSNYL1bur2.js} +1 -1
  213. package/cdn/assets/{CxR_QBoT5nmLyrpM2.js → Bu2WNghK3j0fB5oh2.js} +10 -10
  214. package/{browser/esm/DJfrSiVd9Hm9g2d2.mjs → cdn/assets/BwpeFsNLJ6sOyg-V2.js} +1 -1
  215. package/{browser/esm/dRE1rh6cW8nKpTsz2.mjs → cdn/assets/BxwJ2xXpa1-_Ji8R.js} +2 -2
  216. package/cdn/assets/{C0VNHurPIrPcmiu02.js → BzWz5q7aXaBHYtCY2.js} +2 -2
  217. package/{browser/esm/COJLKiCysD7hs2jG.mjs → cdn/assets/Bzbxw_NHYqY5MOhk.js} +1 -1
  218. package/{browser/esm/KRAw_H4pyLSGG7VM2.mjs → cdn/assets/C-_7D2KLIoDlB5ZW.js} +1 -1
  219. package/cdn/assets/{BvuxB7CzGAv0w7by.js → C3FTMx72bE115RW8.js} +8 -8
  220. package/cdn/assets/{DFAAoXpOwrC4RlJR2.js → C4CBg5NXA83M7-rF2.js} +8 -8
  221. package/cdn/assets/{vFkFpwfIwu3oIJ54.js → C6kRIEgNpvwokXS6.js} +1 -1
  222. package/cdn/assets/{2rpiEjMFb7cTkJWu.js → CAz1eWlfMv2L6OpC.js} +2 -2
  223. package/cdn/assets/{DxLzXk_tSrLv1u63.js → CBHMqMbfHpto8A1O.js} +1 -1
  224. package/cdn/assets/{BVM91MmuaEyh3X9n.js → CDCQpPgRQ4H7KmfY.js} +2 -2
  225. package/cdn/assets/{Dkba6grmCB6y_Yvs2.js → CJD_9GC-kZb-DHuw2.js} +12 -12
  226. package/cdn/assets/{BwMxbQa51h7P3IFw.js → CJSzKVgSGEQCyJfx.js} +3 -3
  227. package/{browser/esm/BZwg6XaGq6GshkAo.mjs → cdn/assets/CKKWAZkEaZ4JpBOq.js} +726 -706
  228. package/cdn/assets/{ZFmNH36WAkLLbTKE2.js → CMV31zC7ULkWMF6V2.js} +8 -8
  229. package/cdn/assets/{oclc-Ixh46_UsUpL.js → CNTCzYCjbg0XYQ9w.js} +2 -2
  230. package/cdn/assets/{6NAkWncviZTFXMsY2.js → COMdPpJxQ9_y8qIb2.js} +9 -9
  231. package/cdn/assets/{DFHP3kC1VW25l54r.js → CQBwlTSXDAUWu4W9.js} +1 -1
  232. package/cdn/assets/{C55NEfrA6s_yuajX.js → CQyt-UVizZgazLy5.js} +1 -1
  233. package/cdn/assets/{Ck6OFgakjG9KRLkz2.js → CXdK3ceNb39xu59l2.js} +44 -44
  234. package/{browser/esm/CaHBZElxMjo_v4LY2.mjs → cdn/assets/CXgg3tQvJDJO6SSm.js} +1 -1
  235. package/cdn/assets/CXtZMG9g-9oTtiqL.js +2298 -0
  236. package/cdn/assets/{ooQCodfB4ck6IWqw.js → C_0vyfGPMnLDdlSb2.js} +1 -1
  237. package/cdn/assets/{Dt52g2i0t1p8L5mE2.js → C_OzUxYG2SGBaAUf2.js} +25 -25
  238. package/{browser/esm/Bp36kaEEsGhP709t2.mjs → cdn/assets/Cag5TarcS7KgHsRo.js} +1 -1
  239. package/cdn/assets/{C566hKAp9g__r7-72.js → CdCDTqyTm5N2EY4W2.js} +89 -89
  240. package/{browser/esm/BfqHVT9RAMHzPrq22.mjs → cdn/assets/CgddS2k-SBQbGu-q2.js} +1 -1
  241. package/{browser/esm/Bi82rHDsiL2lqeRo2.mjs → cdn/assets/ChMJWEuVIDRtM4F-2.js} +1 -1
  242. package/{browser/esm/DxkY3Q5VwWkfqW7t.mjs → cdn/assets/CiwAp4s68xfZm7za.js} +1 -1
  243. package/{browser/esm/BkU3OKqpa0ddsfDs2.mjs → cdn/assets/Cl-N5g_1yS1UniCt.js} +2 -2
  244. package/{browser/esm/BBmgXo0P8kU87RB42.mjs → cdn/assets/CmbsN81GDpmY3RPO2.js} +1 -1
  245. package/{browser/esm/D5MFyg_gQzrtkU5q2.mjs → cdn/assets/Cn4jB4Paw7SdIEXJ.js} +1 -1
  246. package/cdn/assets/{BfmYSaC7YF8lHawu.js → CnUBHUIkRZCIWgUa.js} +8 -8
  247. package/{browser/esm/BS7DCPO7VdYxiXF82.mjs → cdn/assets/CoVIoxu1xnlKd2HA.js} +1 -1
  248. package/cdn/assets/{mGzBkmSW0FIS3l472.js → CpWlrwsyFr5LDXzk2.js} +1 -1
  249. package/cdn/assets/{C_zj-VriJ00f1MCn.js → CtugyaJ11FwQN-WY.js} +5 -5
  250. package/cdn/assets/{T7quzcPIEGcVdh0D2.js → CuV6xULcGiHONmem2.js} +6 -6
  251. package/cdn/assets/{DLY3Gp_G16n4d85q.js → CvEz12Ffb2RavW2v.js} +6 -6
  252. package/cdn/assets/{DVFxFNggaQDjhPuL2.js → CvjnhhM1I_Frxrat2.js} +51 -51
  253. package/cdn/assets/{fY2YKQMUdsYu7XiI.js → CvzmHqRHrWQRXCU4.js} +1 -1
  254. package/cdn/assets/{VLBw3i20lk_Yly9G.js → CyC5uu-ajw6189Hf.js} +7963 -6056
  255. package/cdn/assets/{DmxxEaNdjPB6nBgy2.js → CzCX-Wad3yMcEHob2.js} +1 -1
  256. package/cdn/assets/{P-5R1AyiA1bO8kls2.js → CzPNVSaAd-17U2N-.js} +7 -7
  257. package/{browser/esm/BdZUKtFZuJHAUStY.mjs → cdn/assets/D0-ySZmNB4p2PDsi2.js} +2612 -1415
  258. package/cdn/assets/{D8Ln6s5Q7xc7NoKg2.js → D03MDxsDGQS9hgbm2.js} +13 -13
  259. package/cdn/assets/{BRSPE-Kbm0TK7bm42.js → D1rCmgzPQzy6VXMS2.js} +1 -1
  260. package/cdn/assets/{BNBvUyjF30xlfOmr.js → D5RE0juCP5H8JlAH.js} +8 -8
  261. package/cdn/assets/{w8ORLCpD4v-F7nl22.js → D69bFt0qiJ0Banpu2.js} +9 -9
  262. package/{browser/esm/De8YQFKHRYztHtNy2.mjs → cdn/assets/D70qxLxD0ZWgLmBs.js} +1 -1
  263. package/cdn/assets/{DefFGyX5E__KiHEC.js → D8K4Srn2tnQLWkPz.js} +1583 -1186
  264. package/cdn/assets/{y7OPrnmnmsKf_AFC.js → DBYgTlTpZKZGoP3J2.js} +1 -1
  265. package/{browser/esm/rTH3jO4xeLwX22po.mjs → cdn/assets/DFQANFiqOXXHBhY62.js} +1 -1
  266. package/cdn/assets/{DFnfLBAD7P-akaff.js → DFTnRj9--tQc-vef.js} +2 -2
  267. package/{browser/esm/D9h6T10d18-OYsnY.mjs → cdn/assets/DGb0H5-84FuMTt7D.js} +1 -1
  268. package/cdn/assets/{C7Em8LjBH1VJoyfm.js → DGb0H5-84FuMTt7D2.js} +1 -1
  269. package/cdn/assets/{DFfqXOHApBHKjPmq.js → DOrZ1rQOO7y7wy_m.js} +1 -1
  270. package/cdn/assets/{N2PDFuHeMIcJXi-I2.js → DQSmYw6FezlICa7N2.js} +949 -624
  271. package/cdn/assets/{CKFb0F8a8b7Bp8XG2.js → DQ_DJLXBiyohjB3S2.js} +12 -12
  272. package/cdn/assets/{DFgibCVRkv7ROc5v.js → DR-J6OnvqplpkxjY.js} +1 -1
  273. package/cdn/assets/{CajvXeO8GjmlYo1w.js → DXJtK3wLsbICIvRL.js} +3 -3
  274. package/cdn/assets/{C0Nxz1Q33eJ2mdFL2.js → DaKYN7vgEkjwgprw.js} +14 -14
  275. package/{browser/esm/Bdf9NRBqMDRFuqxL.mjs → cdn/assets/Db0wkQr-gcaXZ-xF.js} +1 -1
  276. package/cdn/assets/{Dt3O9kdjcB6vva5A.js → DdmPDp4-0_yTeGr_.js} +231 -231
  277. package/cdn/assets/{rynh3babuCEq2zBn2.js → Der1-GUNSJF4NUBK2.js} +7 -7
  278. package/cdn/assets/{DcKd5bjp1ZnTq_-x2.js → DiC8s-5zqDT2bSX_2.js} +1 -1
  279. package/cdn/assets/{CA00G9Yi4uXcS5l5.js → DiVecFg4Jh_suq0_.js} +6 -6
  280. package/cdn/assets/{BX7-HB3e-_oTITi_.js → DiygIQUaTrLizj_A.js} +3 -3
  281. package/cdn/assets/{q7pkii0gu8s26iBw.js → Dn2VJNfytUlF_IF_.js} +2 -2
  282. package/{browser/esm/9cn1ewqq1BWmzgIL2.mjs → cdn/assets/DnIM43F01HIS9vrs.js} +1 -1
  283. package/cdn/assets/{CoqDXeaMS0XICCe2.js → DonKewYwnXajr7vb.js} +1 -1
  284. package/cdn/assets/{ByU4uQWIIAoe9hoQ2.js → DpIsyNPsRdTDh1cq.js} +13 -12
  285. package/cdn/assets/{OaIdw_jfk8n1tSOG.js → Dq8SI2oQstCKO-GY.js} +2 -2
  286. package/cdn/assets/{C8jJJ5X2nIRCaMcu.js → DqrAn9WP17T4sX4k.js} +1 -1
  287. package/cdn/assets/{C8HjRahIuD14iG_b.js → Drh6Y-moeT0GOGRL.js} +4 -4
  288. package/cdn/assets/{CaW2AIr71l8EwY4q.js → Ds-D_rdIJs76l1CW2.js} +5 -5
  289. package/cdn/assets/{RRJyZ2WtMoVN8bzW2.js → DtHIi5l5w6HWQF2d2.js} +14 -14
  290. package/cdn/assets/{C2DL_mDwKLFZBqvN.js → DtgxDfYXDdgRF8CP.js} +1 -1
  291. package/{browser/esm/D4cHE39d638a1U-y2.mjs → cdn/assets/DwcvG_p7iZ2TOYkO.js} +1 -1
  292. package/cdn/assets/{SY3JTpsm5Bpu0tXj.js → DweB8FS7VFYAmdcv.js} +11 -9
  293. package/cdn/assets/{B4g2Yf4whV01sYya.js → FzT0Kg_BbOdmREpX.js} +1 -1
  294. package/cdn/assets/IC-gXSmNOKyQGB9f2.js +69 -0
  295. package/{browser/esm/4YGRiYPupFKq8BfP2.mjs → cdn/assets/LcWP7jwFTbFV8PXB2.js} +1 -1
  296. package/cdn/assets/{C13AOL3lFAH4T6nv2.js → Qd6QBUsP7YTAXYvh2.js} +21 -21
  297. package/{browser/esm/D3aXs7hDPXNqjUte.mjs → cdn/assets/TuDsLDkXtOjxtleY2.js} +2 -2
  298. package/{browser/esm/Bu8wK5Vy7X9Vp_2S.mjs → cdn/assets/YDdOHwur-KHnZcch2.js} +2 -2
  299. package/cdn/assets/{DavJsn-94WtXCnyy2.js → _BhaDNMLX3Da5J122.js} +838 -837
  300. package/cdn/assets/{B3PPwwyNEblsUOL82.js → _umvY0i6yb5YBaQW.js} +1 -1
  301. package/cdn/assets/{Dlk7gS21CL59t8cD.js → b-G7BadS13tqu4Pu.js} +7 -7
  302. package/cdn/assets/{iHpxHAsf4TbCq-TE2.js → eCn_J58pIBQwzSFQ2.js} +1 -1
  303. package/{browser/esm/BdTAWhP-loxlROWg2.mjs → cdn/assets/enNXuXOMFvwqMrMF.js} +1 -1
  304. package/cdn/assets/{BrDePmlBu6Hb4zjJ.js → f4dduywnnZ6uE-MZ.js} +1 -1
  305. package/cdn/assets/{BASSDm-JY_bgolFA.js → jBZULYj6alt6xc0v.js} +1 -1
  306. package/cdn/assets/{D_Iw8uMiIvx2jhcv.js → n6xdiChPzW0alL9f.js} +1 -1
  307. package/cdn/assets/{Dc5MbVn_75FtzgPY.js → qG3Ardi8Sem7RxlS.js} +1 -1
  308. package/cdn/assets/{Bjpm9ZVaFQRdne7s.js → rkgkqx2vOlkYHUxK.js} +1 -1
  309. package/cdn/assets/sq1ZQBDrjmOCMkE8.js +2624 -0
  310. package/{browser/esm/5DCw2IuKPn_ERodw2.mjs → cdn/assets/wcldfedI_9KDEtaN2.js} +1 -1
  311. package/cdn/assets/{DgCRnAf5wqM0QG4X.js → xmD5IJJziRqUIbkU2.js} +1 -1
  312. package/cdn/assets/{BrYD9S8O_9gXuYHf.js → yHDAaNbolW5pTQRd.js} +36 -6
  313. package/cdn/index.js +2 -2
  314. package/package.json +3 -3
  315. package/browser/cjs/5drI55_IEkX8nx_B2.cjs +0 -8
  316. package/browser/cjs/BCaRwsX64XTvboxS.cjs +0 -93
  317. package/browser/cjs/BDnKbuPYvsWYP-3w.cjs +0 -14
  318. package/browser/cjs/BInT189S2DdzvIhp.cjs +0 -1
  319. package/browser/cjs/BPjFqEo3wA9GJNPE.cjs +0 -1
  320. package/browser/cjs/BTr4bJxe0-3IBHPb.cjs +0 -2
  321. package/browser/cjs/B_WV3e3yexp3dKaz.cjs +0 -9
  322. package/browser/cjs/BbMNM5e-lfDFkOvn2.cjs +0 -1
  323. package/browser/cjs/BjQ-fIDc7Z3qMcPY.cjs +0 -1
  324. package/browser/cjs/C03SW3gXtIOgEr3A.cjs +0 -43
  325. package/browser/cjs/C2THZMKIDIU8VSFH2.cjs +0 -1
  326. package/browser/cjs/C9RqCKNI0CK1VHnE2.cjs +0 -1
  327. package/browser/cjs/CA37AwwfHsjvbZT62.cjs +0 -1
  328. package/browser/cjs/CHMgm0vAbEBS1mVW.cjs +0 -1
  329. package/browser/cjs/CLEx2DRw3kmsrkt82.cjs +0 -1
  330. package/browser/cjs/CgfPOPhwYwiOfpBy.cjs +0 -1
  331. package/browser/cjs/CkIFp77GQAFoyjtq.cjs +0 -1
  332. package/browser/cjs/CsGKVtbBtGlgkYJw2.cjs +0 -1
  333. package/browser/cjs/Ct45LEBcOGxMU-VE2.cjs +0 -1
  334. package/browser/cjs/DKdgEj89ChMWaDQz.cjs +0 -3
  335. package/browser/cjs/DLYEQZzAGuSAmJsp.cjs +0 -6
  336. package/browser/cjs/DRgeBTxGZFx-ukKA.cjs +0 -1
  337. package/browser/cjs/DXGjBmROptbxP3On.cjs +0 -24
  338. package/browser/cjs/DXJEany3J8zAcDA5.cjs +0 -32
  339. package/browser/cjs/Dgxx0CvoFxJobjxY.cjs +0 -1
  340. package/browser/cjs/GN7MZBww4pHIrihk.cjs +0 -5
  341. package/browser/cjs/HR_JYXh2W9xtKFL2.cjs +0 -1
  342. package/browser/cjs/ImnRKBYtNpv7bEa7.cjs +0 -3
  343. package/browser/cjs/YGQWfCXmA-65lrhA2.cjs +0 -1
  344. package/browser/cjs/voiGKFLz_nq_RGBY2.cjs +0 -1
  345. package/browser/esm/OF1t5e-IpoCN4nMo.mjs +0 -2402
  346. package/browser/esm/r5p8Wcz2C4nKJXvc.mjs +0 -6104
  347. package/cdn/assets/BDYtqqyKrm2S3aWJ2.js +0 -159
  348. package/cdn/assets/BbjFUZr9zWRsnpUT2.js +0 -2402
  349. package/cdn/assets/C7Em8LjBH1VJoyfm2.js +0 -24
  350. package/cdn/assets/D9h6T10d18-OYsnY2.js +0 -24
  351. package/cdn/assets/HhQT-w3KhQYyLF3E.js +0 -6104
  352. /package/browser/cjs/{4nReftSsKWmnRdtf2.cjs → 4nReftSsKWmnRdtf.cjs} +0 -0
  353. /package/browser/cjs/{B6IXpae7f0J8Ocq62.cjs → B6IXpae7f0J8Ocq6.cjs} +0 -0
  354. /package/browser/cjs/{B6vy56yEA1I3B74O.cjs → B6vy56yEA1I3B74O2.cjs} +0 -0
  355. /package/browser/cjs/{C9q3zr8iCIoYDrdA.cjs → C9q3zr8iCIoYDrdA2.cjs} +0 -0
  356. /package/browser/cjs/{CFxueP0tbpmvY1Ip.cjs → CFxueP0tbpmvY1Ip2.cjs} +0 -0
  357. /package/browser/cjs/{CV4KQsHluMqo1I2Q2.cjs → CV4KQsHluMqo1I2Q.cjs} +0 -0
  358. /package/browser/cjs/{CXlzsh_WHCOsErJ1.cjs → CXlzsh_WHCOsErJ12.cjs} +0 -0
  359. /package/browser/cjs/{CaJGoNwTL6pAJ6a4.cjs → CaJGoNwTL6pAJ6a42.cjs} +0 -0
  360. /package/browser/cjs/{CrZlUtdX1h2RUnCP2.cjs → CrZlUtdX1h2RUnCP.cjs} +0 -0
  361. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  362. /package/browser/cjs/{DF4l8xrxkcLkgExp2.cjs → DF4l8xrxkcLkgExp.cjs} +0 -0
  363. /package/browser/cjs/{DM7-R_ltoLbA9jde.cjs → DM7-R_ltoLbA9jde2.cjs} +0 -0
  364. /package/browser/cjs/{DNKyaSruDogoBd2H.cjs → DNKyaSruDogoBd2H2.cjs} +0 -0
  365. /package/browser/cjs/{DRmo6uoGoqtiVff82.cjs → DRmo6uoGoqtiVff8.cjs} +0 -0
  366. /package/browser/cjs/{DpFg69dDCPoOK2BY.cjs → DpFg69dDCPoOK2BY2.cjs} +0 -0
  367. /package/browser/cjs/{Dtxj9JR14A-uliu52.cjs → Dtxj9JR14A-uliu5.cjs} +0 -0
  368. /package/browser/cjs/{Dx7GQ4ALtNG3kshu2.cjs → Dx7GQ4ALtNG3kshu.cjs} +0 -0
  369. /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
@@ -1 +0,0 @@
1
- const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./BCaRwsX64XTvboxS.cjs"),r=require("./ImnRKBYtNpv7bEa7.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./DXGjBmROptbxP3On.cjs"),o=require("./BInT189S2DdzvIhp.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>x,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),x=e=>e?.length??0,S=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},C=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=T(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.m.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.m.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.m.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.m.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.m.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.m.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.h.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.h.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.h.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.h.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=w(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.h.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.h.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},w=e=>e===`circle`?`radial`:e,T=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},E=class extends C{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},D=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},O=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},k=class extends C{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new E().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n.p.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},A=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n.p.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.p.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.p.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n.p.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.h.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.h.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:j(t.getAttribute(`left`)),top:j(t.getAttribute(`top`)),right:j(t.getAttribute(`right`)),bottom:j(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.h.BuiltInSheetPattern.Solid:n.h.BuiltInSheetPattern.None);if(a===n.h.BuiltInSheetPattern.None)return{none:!0};r.type=n.h.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.h.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.B.Edge.Left),this.processBorderStroke(e,t,o,n.B.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.B.Edge.Vertical),this.processBorderStroke(e,t,o,n.B.Edge.Top),this.processBorderStroke(e,t,o,n.B.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.B.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.B.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},j=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},ee={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}setContent(e,t){let n=e;n.name!==void 0&&(t.name=n.name,delete n.name),n.description!==void 0&&(t.description=n.description,delete n.description),e.content=t}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return this.setContent(n,{type:`sp`,json:s}),s}},P=`richTypes`,F=`richData`,I=e=>{let t=e.getAttribute(`val`);return t!==`0`&&t!==`false`},te={1:`serif`,2:`sans-serif`,3:`monospace`,4:`cursive`,5:`fantasy`};function ne(e){let t={},r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1)switch(i.localName){case`b`:t.weight=I(i)?700:400;break;case`i`:t.style=I(i)?n.p.Style.Italic:n.p.Style.Normal;break;case`strike`:t.strike=I(i);break;case`outline`:t.outline=I(i);break;case`shadow`:t.shadow=I(i);break;case`extend`:t.extend=I(i);break;case`u`:t.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single;break;case`vertAlign`:{let e=i.getAttribute(`val`);e===`superscript`?t.verticalAlign=n.p.VerticalAlignment.Super:e===`subscript`?t.verticalAlign=n.p.VerticalAlignment.Sub:e===`baseline`&&(t.verticalAlign=n.p.VerticalAlignment.Baseline);break}case`sz`:{let e=parseFloat(i.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=i.getAttribute(`val`);e&&(t.family=e);break}case`family`:{let e=te[i.getAttribute(`val`)??``];e&&(t.fallbacks=[e]);break}case`charset`:{let e=parseInt(i.getAttribute(`val`)??``,10);isNaN(e)||(t.charset=e);break}case`scheme`:{let e=i.getAttribute(`val`);e&&(t.scheme=e);break}case`color`:{let e=i.getAttribute(`rgb`);if(e&&!i.hasAttribute(`theme`)){t.color=`#`+(e.length===8?e.substring(2):e).toUpperCase();break}let n=o.l(e=>i.getAttribute(e));n&&(t.color=n);break}}}return Object.keys(t).length>0?t:null}var re=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},L=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},R=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},z=class{visit(e,t,n){let r={};return n.plotArea=r,r}},B=E,V=class extends D{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},H=D,U=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},W=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){O(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},G=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),O(e,t,a),a}},K=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},q=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},J=k,Y=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},ae=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},oe=class extends E{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends k{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},se=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},ce=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},le=class extends C{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ue=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n.p.getPanoseFallback(o)]),r}},de=class extends C{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.h.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.h.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},fe=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},pe=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.at({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.tt.BuiltInOperatorNames.And:n.tt.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.tt.AverageType.Above:a===`belowAverage`&&(a=n.tt.AverageType.Below),Object.values(n.tt.AverageType).includes(a)?(i.operator=n.tt.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},me=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.$.CaseSensitiveOptions:n.$.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.Rt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.Rt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends A{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.h.Type.None},i.fills[1]={type:n.h.Type.Pattern,patternType:n.h.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.B.StrokeStyle.None},left:{style:n.B.StrokeStyle.None},right:{style:n.B.StrokeStyle.None},top:{style:n.B.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.X.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.U.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.U.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.U.Overflow.Wrap:i.overflow=n.U.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.U.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.U.ReadingDirection.Auto:a===`1`?i.readingDirection=n.U.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.U.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.X.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},he=class extends A{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.n)r[e.key]=a.P(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>ee[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},ge=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},_e=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ve=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.rt.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.Rt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},ye=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},be=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},xe=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},Se=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&this.setContent(n,i),i}},Ce=N,we=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}let s={resId:a};return this.setContent(n,{type:`picture`,json:s}),r}},Te=class extends N{visit(e,t,n){if(!t)return;let r=n;n=super.visit(e,t,n);let i=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(i){let t=e.evaluate(`grpSpLocks`,i);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${r.content?.name}', group shapes are not supported.`);let a={};return n.content={type:`grpSp`,json:a},a}},Ee=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},De=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},$=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Oe=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},ke=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Ae=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);if(n.nodeType===1){if(n.localName===`t`)e.text+=n.textContent??``;else if(n.localName===`rPr`){let t=ne(n);t&&(e.font=t)}}}e.font&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},je=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Me=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c);let a=t.getAttribute(`dT`);a&&(r.dt=function(e){let t=/^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(e.trim());if(!t)return e;let[,n,r,i]=t;return`${n}${r?`.${(r+`00`).substring(0,3)}`:``}${i??`Z`}`}(a)),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`)));let s=function(e){let t,n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`mentions`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`mention`)continue;let r=n.getAttribute(`mentionId`),a=n.getAttribute(`mentionpersonId`);if(!r||!a)continue;let s={id:o.c(r),personId:o.c(a)},c=parseInt(n.getAttribute(`startIndex`)??``,10);isNaN(c)||(s.startIndex=c);let l=parseInt(n.getAttribute(`length`)??``,10);isNaN(l)||(s.length=l),(t??=[]).push(s)}}return t}(t);return s&&(r.mentions=s),n.push({r:i,v:r}),r}},Ne=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Pe=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new re),this.registerVisitor(`cp:coreProperties`,new ie),this.registerVisitor(`Properties`,new L),this.registerVisitor(`spPr`,new B),this.registerVisitor(`txBody`,new J),this.registerVisitor(`txPr`,new J),this.registerVisitor(`c:chartSpace`,new R),this.registerVisitor(`c:plotArea`,new z),this.registerVisitor(`c:barChart`,new V),this.registerVisitor(`c:doughnutChart`,new H),this.registerVisitor(`c:lineChart`,new H),this.registerVisitor(`c:ofPieType`,new H),this.registerVisitor(`c:pieChart`,new H),this.registerVisitor(`c:scatterChart`,new H),this.registerVisitor(`c:barChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new W),this.registerVisitor(`c:dPt`,new G),this.registerVisitor(`c:marker`,new K),this.registerVisitor(`c:catAx`,new q),this.registerVisitor(`c:valAx`,new q),this.registerVisitor(`c:dateAx`,new q),this.registerVisitor(`c:majorGridlines`,new S(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new S(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new ae),this.registerVisitor(`c:legend`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new Y),this.registerVisitor(`c:ser`,new oe,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new U(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new U(`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 se),this.registerVisitor(`c:dispUnits`,new S(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new J,`tx/rich`),this.registerVisitor(`a:theme`,new ce),this.registerVisitor(`a:theme`,new le,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ue,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new de,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new pe),this.registerVisitor(`sortState`,new me),this.registerVisitor(`s:workbook`,new he),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new _e),this.registerVisitor(`table`,new ge),this.registerVisitor(`externalLink`,new ve),this.registerVisitor(`hlinkClick`,new fe),this.registerVisitor(`wsDr`,new xe),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new Se),this.registerVisitor(`sp`,new Ce),this.registerVisitor(`grpSp`,new Te),this.registerVisitor(`cxnSp`,new Ee),this.registerVisitor(`pic`,new we),this.registerVisitor(`metadata`,new De),this.registerVisitor(`rvStructures`,new $),this.registerVisitor(`rvData`,new Oe),this.registerVisitor(`comments`,new ke),this.registerVisitor(`comment`,new Ae),this.registerVisitor(`ThreadedComments`,new je),this.registerVisitor(`threadedComment`,new Me),this.registerVisitor(`threadedComment`,new J(`content`),`text`),this.registerVisitor(`personList`,new Ne),this.registerVisitor(`slicerCacheDefinition`,new ye),this.registerVisitor(`slicers`,new be)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Pe(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
@@ -1,5 +0,0 @@
1
- const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./BCaRwsX64XTvboxS.cjs"),r=require("./ImnRKBYtNpv7bEa7.cjs"),i=require("./DXGjBmROptbxP3On.cjs");var a=`resourcesById`,o=class{constructor(e){this._kind=e.kind,this._contentType=e.contentType,this._relTypeUri=e.relTypeUri,this._path=e.path}getKind(){return this._kind}getContentType(e){return this._contentType}getRelTypeUri(e){return this._relTypeUri}getPath(e){return typeof this._path==`function`?this._path(e):this._path}},s=class e{constructor(e,t,n){this.zipWriter=e,this.outputKind=t,this.outWritable=n}static createUint8Array(t){let n=new i.f(new i.E,t);return new e(n,`uint8array`)}static createBlob(t){let n=new i.f(new i.S(`application/zip`),t);return new e(n,`blob`)}static createWritableStream(t,n){let r=new i.f(t,n);return new e(r,`writable`,t)}async add(e,t,n){let r=function(e){let t=e.replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}(e),a={level:n?.level,password:n?.password,encryptionStrength:n?.encryptionStrength,zipCrypto:n?.zipCrypto,lastModDate:n?.lastModDate,keepOrder:n?.keepOrder,uncompressedSize:n?.uncompressedSize,dataDescriptor:n?.dataDescriptor,passThrough:n?.passThrough,compressionMethod:n?.compressionMethod,signature:n?.signature};if(typeof t==`string`)return void await this.zipWriter.add(r,new i.R(t),a);if(t instanceof Uint8Array||ArrayBuffer.isView(t)||t&&typeof t.byteLength==`number`&&typeof t.byteOffset==`number`){try{await this.zipWriter.add(r,new i.$(t),a)}catch(e){throw console.log(`Error adding Uint8Array source to zip:`,r,a),e}return}let o=(s=t)&&typeof s.getReader==`function`?t:function(e){let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{value:n,done:r}=await t.next();r?e.close():e.enqueue(n)},async cancel(e){if(typeof t.return==`function`)try{await t.return(e)}catch{}}})}(t);var s;await this.zipWriter.add(r,o,a)}async close(e){let t=e?.comment,n=await this.zipWriter.close(t,{});return this.outputKind===`writable`?this.outWritable??n:n}};function c(e){let t=e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),n=e=>t(e).replace(/"/g,`&quot;`),r=e=>{if(!e)return``;let t=``;for(let[r,i]of Object.entries(e))i!==void 0&&!1!==i&&(t+=!0===i?` ${r}="1"`:` ${r}="${n(String(i))}"`);return t},i=new TextEncoder,a=``,o=()=>{a&&=(e.write(i.encode(a)),``)},s=e=>{a+=e,a.length>65536&&o()},c=[],l=null,u=[],d=!0;return{decl(){s(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`)},pushDefaultNamespace(e){c.push(e),l=e},getDefaultNamespace:()=>c.length>0?c[c.length-1]:null,popDefaultNamespace(){c.length>0&&(c.pop(),l=c.length>0?c[c.length-1]:null)},start(e,t){d&&u.push({tag:e,attrs:t,bufferPos:a.length});let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}>`)},empty(e,t){let n=e;l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),s(`<${n}${r(t)}/>`)},text(e){s(t(String(e)))},raw(e){s(e)},end(e){let t;if(d){if(u.length===0)throw Error(`XML Writer: Unexpected end tag </${e}> - no matching start tag`);if(t=u[u.length-1],t.tag!==e)throw Error(`XML Writer: End tag </${e}> does not match start tag <${t.tag}>`)}let n=e;if(l&&e.indexOf(`:`)===-1&&(n=`${l}:${e}`),d){let e=a.length,i=`<${n}${r(t.attrs)}>`.length;e===t.bufferPos+i?(a=a.slice(0,t.bufferPos),s(`<${n}${r(t.attrs)}/>`)):s(`</${n}>`),u.pop()}else s(`</${n}>`)},close(){o()},setValidationDisabled(e){d=!e}}}function l(e){switch(e.kind){case`bytes`:return e.bytes;case`text`:return e.text;case`stream`:return e.stream;case`xmlStream`:{let t=[],n=c({write:e=>t.push(e)});return e.writeXml(n),n.close(),function(e){let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n}(t)}case`xmlStreamed`:return e.write()}}function u(e){let t=d(e);if(!t)return`_rels/.rels`;let n=t.lastIndexOf(`/`),r=n>=0?t.slice(0,n):``;return`${r?`${r}/_rels`:`_rels`}/${n>=0?t.slice(n+1):t}.rels`}function d(e){let t=(e??``).replace(/\\/g,`/`).trim();for(;t.startsWith(`/`);)t=t.slice(1);return t}function f(e){let t=(e??``).replace(/\\/g,`/`).trim();return t.startsWith(`/`)||(t=`/`+t),t}function p(e){let t=/^rId(\d+)$/.exec(e);return t?parseInt(t[1],10):2**53-1}function m(e){return String(e).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/"/g,`&quot;`).replace(/>/g,`&gt;`)}function h(e,t,n,r=!1){let i=t;if(t.startsWith(`/`))i=t.slice(1);else{if(!e)throw Error(`Relative path "${t}" cannot be used at root level. Use an absolute path starting with "/" (e.g., "/xl/workbook.xml").`);i=(e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)+1):``)+t}if(i=g(i),!i.includes(`{n}`)){if(!r&&n.has(i))throw Error(`Path already existing path: ${i}`);return i}let a,o=1;do if(a=i.replace(/{n}/g,String(o)),o++,o>1e4)throw Error(`Failed to resolve path template "${t}" after 10000 attempts. This likely indicates a bug or an impossible constraint.`);while(n.has(a));return a}function g(e){let t=e.split(`/`),n=[];for(let r of t)if(r!==``&&r!==`.`)if(r===`..`){if(n.length===0)throw Error(`Invalid path: too many ".." segments in "${e}"`);n.pop()}else n.push(r);return n.join(`/`)}function _(e,t){if(!e)return t;let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``,r=n?n.split(`/`):[],i=t.split(`/`),a=0,o=Math.min(r.length,i.length-1);for(let e=0;e<o&&r[e]===i[e];e++)a++;let s=r.length-a;return`../`.repeat(s)+i.slice(a).join(`/`)}function v(e){return new TextEncoder().encode(e)}var y=class{constructor(e){this.rels=[],this.usedIds=new Set,this.reservedIds=new Set,this.nextId=1,this.sourcePart=d(e)}add(e,t,n){let r=n?.idHint&&!this.usedIds.has(n.idHint)?n.idHint:void 0;if(!r)do r=`rId`+this.nextId++;while(this.usedIds.has(r)||this.reservedIds.has(r));let i=/^rId(\d+)$/.exec(r);return i&&(this.nextId=Math.max(this.nextId,parseInt(i[1],10)+1)),this.usedIds.add(r),this.rels.push({id:r,type:e,target:t,targetMode:n?.external?`External`:void 0}),r}reserve(e){for(let t of e){if(!t)continue;this.reservedIds.add(t);let e=/^rId(\d+)$/.exec(t);e&&(this.nextId=Math.max(this.nextId,parseInt(e[1],10)+1))}}list(){return this.rels}toXmlBytes(){let e=[...this.rels].sort((e,t)=>p(t.id)-p(e.id)||e.id.localeCompare(t.id)),t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),t.push(`<Relationships xmlns="${b}">`);for(let n of e){let e=[`Id="${m(n.id)}"`,`Type="${m(n.type)}"`,`Target="${m(n.target)}"`];n.targetMode===`External`&&e.push(`TargetMode="External"`),t.push(`<Relationship ${e.join(` `)}/>`)}return t.push(`</Relationships>`),v(t.join(``))}},b=`http://schemas.openxmlformats.org/package/2006/relationships`,x=class{constructor(){this._defaultsSet=new Set,this._overridesSet=new Set,this._defaults=[],this._overrides=[]}addDefault(e,t){let n=function(e){let t=(e??``).trim().toLowerCase();return t.startsWith(`.`)&&(t=t.slice(1)),t}(e);this._defaultsSet.has(n)||(this._defaultsSet.add(n),this._defaults.push({key:n,content:t}))}addOverride(e,t){let n=f(e);this._overridesSet.has(n)||(this._overridesSet.add(n),this._overrides.push({key:n,content:t}))}replaceOverride(e,t){let n=f(e);if(!this._overridesSet.has(n))return;let r=this._overrides.find(e=>e.key===n);r&&(r.content=t)}toXmlBytes(){let e=[];e.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>`),e.push(`<Types xmlns="${S}">`);let t=this._defaults.reverse();this.addDefault(`rels`,`application/vnd.openxmlformats-package.relationships+xml`),this.addDefault(`xml`,`application/xml`);for(let{key:n,content:r}of t)e.push(`<Default Extension="${m(n)}" ContentType="${m(r)}"/>`);let n=this._overrides;for(let{key:t,content:r}of n)e.push(`<Override PartName="${m(t)}" ContentType="${m(r)}"/>`);return e.push(`</Types>`),v(e.join(``))}},S=`http://schemas.openxmlformats.org/package/2006/content-types`,C=class{constructor(e){this.parts=[],this.relsRoot=new y(``),this.relsByPart=new Map,this.contentTypes=new x,this.zip=e}addContentType(e,t){let n=d(e);this.contentTypes.addOverride(`/`+n,t)}addDefaultType(e,t){this.contentTypes.addDefault(e,t)}replaceContentType(e,t){this.contentTypes.replaceOverride(`/`+d(e),t)}addPart(e,t,n,r){let i=d(e);this.parts.push({path:i,body:t,optionsZip:r}),n&&this.contentTypes.addOverride(`/`+i,n)}rels(e){let t=d(e||``);if(!t)return this.relsRoot;let n=this.relsByPart.get(t);return n||(n=new y(t),this.relsByPart.set(t,n)),n}async emit(){let e=[...this.parts].sort((e,t)=>e.path.localeCompare(t.path));for(let t of e){let e=l(t.body);await this.zip.add(t.path,e,t.optionsZip)}let t=this.relsRoot.toXmlBytes();await this.zip.add(`_rels/.rels`,t,{});let n=[...this.relsByPart.values()].sort((e,t)=>e.sourcePart.localeCompare(t.sourcePart));for(let e of n){let t=u(e.sourcePart),n=e.toXmlBytes();await this.zip.add(t,n,{})}let r=this.contentTypes.toXmlBytes();await this.zip.add(`[Content_Types].xml`,r,{})}async build(e){return await this.emit(),await this.zip.close(e)}},w=new Set([`xl/calcChain.xml`]),T=[/^xl\/slicers\//i,/^xl\/slicerCaches\//i];function E(e){return e===`[Content_Types].xml`||D.test(e)}var D=/^(?:(.*)\/)?_rels\/(.*)\.rels$/;function O(e){if(e===`_rels/.rels`)return``;let t=D.exec(e);if(!t)return null;let n=t[1]??``,r=t[2];return n?`${n}/${r}`:r}function k(e){return e.startsWith(`#`)}function A(e,t){if(t.startsWith(`/`))return g(t);let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)):``;return g((n?n+`/`:``)+t)}var ee=class{constructor(e,t,n){this._queue=[],this._scheduledByNodeKey=new Map,this._nodesByPath=new Map,this._writtenPaths=new Set,this._explicitRelTargets=new Set,this._partWriter=new C(e),this._registry=t,this._options=n??{},this._mapState=this._options.mapState??new Map,this._sourcePackage=this._options.sourcePackage??null,this._macroEnabled=this._options.macroEnabled??!1,this._reserveSourceRelIds(``)}_isSourcePartCarried(e){let t=this._sourcePackage;return!(!t||!t.has(e)||w.has(e)||t.isAbsorbed(e)||!this._macroEnabled&&e===`xl/vbaProject.bin`||E(e)||t.hasStructuralChange()&&function(e){return T.some(t=>t.test(e))}(e))}_reserveSourceRelIds(e){let t=this._sourcePackage?.getPart(u(e));t&&this._partWriter.rels(e).reserve(i.O(t.data).map(e=>e.id))}async waitEmit(){let e=this._queue;for(;e.length;){let t=e.shift();await this._processPart(t)}}async build(e){return await this.waitEmit(),this._passthroughSourceParts(),this._applyWorkbookContentTypeVariant(),await this._partWriter.build(e??{})}_passthroughSourceParts(){let e=this._sourcePackage;if(!e)return;let t=new Set(this._writtenPaths),n=[];for(let r of e.getNames())t.has(r)||this._isSourcePartCarried(r)&&n.push(r);let r=new Set(t);for(let e of n)r.add(e);let a=e.getPart(`[Content_Types].xml`),o=a?i.w(a.data):null;if(o)for(let{ext:e,contentType:t}of o.defaults)this._partWriter.addDefaultType(e,t);for(let t of n){let n=e.getPart(t),r=o?.overrides.get(`/`+t);n.raw?this._partWriter.addPart(t,{kind:`bytes`,bytes:n.raw.compressedData},r,{passThrough:!0,compressionMethod:n.raw.compressionMethod,signature:n.raw.signature,uncompressedSize:n.uncompressedSize}):this._partWriter.addPart(t,{kind:`bytes`,bytes:n.data},r),this._writtenPaths.add(t)}for(let n of e.getNames()){if(n===`[Content_Types].xml`||!E(n))continue;let i=O(n);i!==null&&(i===``||r.has(i))&&(e.isAbsorbed(i)||this._mergeSourceRelsInto(i,e.getPart(n).data,t,r))}}_applyWorkbookContentTypeVariant(){this._macroEnabled&&this._partWriter.replaceContentType(`xl/workbook.xml`,`application/vnd.ms-excel.sheet.macroEnabled.main+xml`)}_mergeSourceRelsInto(e,t,n,r){let a=this._partWriter.rels(e),o=e===``||n.has(e);for(let s of i.O(t)){if(s.external||k(s.target)){a.add(s.type,s.target,{external:s.external,idHint:s.id});continue}let t=A(e,s.target);o&&(n.has(t)||this._explicitRelTargets.has(`${e}::${t}`))||(r.has(t)?a.add(s.type,s.target,{idHint:s.id}):this._registry.ownsRelType(s.type)||w.has(t)||this._sourcePackage?.isAbsorbed(t)||console.warn(`Dropping preserved relationship to missing part '${t}'`,e||`(root)`))}}addPart(e,t,n,r){return this._addPartInternal(``,e,t,n,r)}_addPartInternal(e,t,n,r,i){let a=this._registry.get(t);if(!a)throw Error(`No emitter registered for kind '${t}'.`);let o=a.getContentType(n),s=a.getRelTypeUri(n),c=r??a.getPath?.(n);if(!c)throw Error(`No path provided in either argument or emitter.`);let l=this._writtenPaths,u=h(e,c,l),d=`${t}:${u}`,f=this._scheduledByNodeKey.get(d);if(!f){let e;this._reserveSourceRelIds(u),f={kind:t,key:d,payload:n,path:u,contentType:o,promise:new Promise(t=>{e=t}),resolve:e},this._scheduledByNodeKey.set(d,f),this._queue.push(f)}let p=this._nodesByPath.get(e);p||(p=new Set,this._nodesByPath.set(e,p)),p.add(d),!o||s||e||this._partWriter.rels(``).add(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,u);let m=null;if(s){let t=_(e,f.path);m=this._partWriter.rels(e).add(s,t,{idHint:i})}return l.add(u),{path:u,contentTypeUri:o,relId:m}}addBinary(e,t,n,r,i=!1,a){return this._addBinaryInternal(``,e,t,n,r,i,a)}_addBinaryInternal(e,t,n,r,i,a=!1,o){if(!i)throw Error(`No path provided for binary.`);if(!n)throw Error(`No content type provided for binary.`);let s=this._writtenPaths,c=h(e,i,s,a),l=null;if(r){let t=_(e,c);l=this._partWriter.rels(e).add(r,t,{idHint:o})}if(e||this._partWriter.rels(``).add(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,c),!s.has(c)){let e=c.split(`.`).pop()||``;e&&this._partWriter.addDefaultType(e,n),this._partWriter.addPart(c,{kind:`bytes`,bytes:t},void 0,{level:0,uncompressedSize:t.byteLength,dataDescriptor:!1}),s.add(c)}return{path:c,contentTypeUri:n,relId:l}}async _waitForDescendants(e){let t=this._nodesByPath.get(e);if(!t||t.size===0)return;let n=[];for(let e of t){let t=this._scheduledByNodeKey.get(e);if(t){let e=this._processPart(t);n.push(e)}}await Promise.all(n)}async _processPart(e){if(e.processed)return e.promise;e.processed=!0;let t=this._registry.get(e.kind),n=e.path;this._partWriter.addContentType(e.path,e.contentType);try{let r,i=[],a={write:e=>{i.push(e)}};await t.emit(e.payload,{getXMLWriter:()=>r||(r=c(a),r),addPart:(e,t,r,i)=>this._addPartInternal(n,e,t,r,i),addBinary:(e,t,r,i,a=!1,o)=>this._addBinaryInternal(n,e,t,r,i,a,o),addExternal:(e,t,r)=>({path:t,contentTypeUri:null,relId:this._partWriter.rels(n).add(e,t,{external:!0,idHint:r})}),addRelationship:(e,t,r)=>{if(!this._writtenPaths.has(t)&&!this._isSourcePartCarried(t))return null;let i=_(n,t),a=this._partWriter.rels(n).add(e,i,{idHint:r});return this._explicitRelTargets.add(`${n}::${t}`),a},waitEmit:()=>this._waitForDescendants(e.path),getPath:()=>e.path,getSharedStates:()=>this._mapState,warn:(t,n,r)=>{let i=n??e.path,a=this._options.onWarning;a?a(t,i,r):console.warn(t,i)},log:(t,n)=>{console.warn(t,n??e.path)}});let o=function(e){let t=0;for(let n of e)t+=n.byteLength;let n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n}(i),s=this._options.onPartEmitted;s&&await s(e.kind,e.path,o),te&&(console.log(`\n=== ${e.path} ===`),console.log(function(e,t){return function(e,t=` `){let n=``,r=0,i=e.split(/(<[^>]+>)/g).filter(Boolean);for(let e=0;e<i.length;e++){let a=i[e];if(a.trim())if(a.startsWith(`<?`))n+=a+`
2
- `;else if(a.startsWith(`</`))r--,r<0&&console.warn(`XML formatting warning: negative indentation depth: ${a}`),n+=t.repeat(Math.max(r,0))+a+`
3
- `;else if(a.startsWith(`<`)){let e=a.endsWith(`/>`);n+=t.repeat(r)+a+`
4
- `,e||r++}else n+=t.repeat(r)+a.trim()+`
5
- `}return n}(function(e){return new TextDecoder(`utf-8`).decode(e)}(e),t)}(o))),this._partWriter.addPart(e.path,{kind:`bytes`,bytes:o},e.contentType)}catch(t){throw this._options.onPartError?.(e.kind,e.path,t),t}finally{this._nodesByPath.delete(e.path),this._scheduledByNodeKey.delete(e.key),e.resolve()}}},te=!1,ne=class{constructor(){this.map=new Map}register(e){let t=e.getKind();if(this.map.has(t))throw Error(`Duplicate part kind: ${t}`);this.map.set(t,e)}get(e){let t=this.map.get(e);if(!t)throw Error(`Unknown part kind: ${e}`);return t}has(e){return this.map.has(e)}ownsRelType(e){for(let t of this.map.values())if(t.getRelTypeUri()===e)return!0;return!1}};function j(e,t,n){e&&(e.algorithm&&(t[n?`${n}AlgorithmName`:`algorithmName`]=e.algorithm),e.hash&&(t[n?`${n}HashValue`:`hashValue`]=e.hash),e.salt&&(t[n?`${n}SaltValue`:`saltValue`]=e.salt),e.spinCount!==void 0&&(t[n?`${n}SpinCount`:`spinCount`]=e.spinCount))}var M=`hiddenFormulaXfs`,N=class{constructor(e,t){this._variants=new Map,this._sources=[],this._json=e,this._styles=t,this._directCount=Math.max(1,e?.direct?.length??0)}getHiddenXf(e){let t=this._variants.get(e);return t!==void 0||(this._isShown(e)?t=e:(t=this._directCount+this._sources.length,this._sources.push(e)),this._variants.set(e,t)),t}getSources(){return this._sources}_isShown(e){let t=this._json?.direct?.[e],r=t?.protection?.showFormulas;if(r!==void 0)return r;let i=(e===0?void 0:t?.named)??n.X.BuiltInName.Normal;return this._styles.getNamedStyles().getByName(i)?.toJSON().style?.protection?.showFormulas??!1}},re=class{constructor(){this._daprFMBks=[],this._daprFMBkMap=new Map,this._rvFMBks=[],this._rvFMBkMap=new Map,this._valueMeta=[]}registerArrayCell(e){let t=+!!e,n=`1,${t}`,r=this._daprFMBkMap.get(n);return r===void 0&&(r=this._daprFMBks.length,this._daprFMBks.push({fDynamic:1,fCollapsed:t}),this._daprFMBkMap.set(n,r)),r+1}registerRichValueCell(e){let t=this._rvFMBkMap.get(e);t===void 0&&(t=this._rvFMBks.length,this._rvFMBks.push(e),this._rvFMBkMap.set(e,t));let n=this._valueMeta.length;return this._valueMeta.push(t),n+1}hasCellMeta(){return this._daprFMBks.length>0}hasValueMeta(){return this._valueMeta.length>0}hasAny(){return this.hasCellMeta()||this.hasValueMeta()}getDAPRFutureMetadataBlocks(){return this._daprFMBks}getRVFutureMetadataBlocks(){return this._rvFMBks}getValueMeta(){return this._valueMeta}},P=class{constructor(e,t=console.warn){this._entries=[],this._keyMap=new Map,this._metaCollector=e,this._onWarn=t}add(e){if(e==null)return this._onWarn?.(`RichValueCollector.add: null/undefined value — falling back to #UNKNOWN!`),this._registerFallback();if(t.i.isError(e)){let t=e.getCode(),n=this._register(`_error:${t}`,{errorType:``+(t-1)},F);return this._metaCollector.registerRichValueCell(n)}return e.isIRichData&&e.getType(),this._onWarn?.(`RichValueCollector.add: unsupported rich value type — falling back to #UNKNOWN!`,e),this._registerFallback()}_registerFallback(){let e=this._register(`_error:fallback`,{errorType:t.i.Code.Unknown-1},F);return this._metaCollector.registerRichValueCell(e)}_register(e,t,n){let r=this._keyMap.get(e);return r===void 0&&(r=this._entries.length,this._entries.push({handler:n,rawValue:t}),this._keyMap.set(e,r)),r}getCount(){return this._entries.length}hasAny(){return this._entries.length>0}getEntries(){return this._entries}uniqueHandlers(){let e=new Set,t=[];for(let n of this._entries)e.has(n.handler)||(e.add(n.handler),t.push(n.handler));return t}handlerStructureIndex(e){let t=0,n=new Set;for(let r of this._entries)if(!n.has(r.handler)){if(r.handler===e)return t;n.add(r.handler),t++}return-1}},F=new class{constructor(e,t){this.type=e,this.props=t}getValues(e){return this.props.map(([t,,n=``])=>{let r=e?.[t];return r==null?n:``+r})}}(`_error`,[[`errorType`,`i`,``],[`subType`,`i`,`0`]]),I=`application/xml`,L=async(e,t)=>{let n=e.parts,r=n?n.length:0;for(let i=0;i<r;i++){let r=n[i];try{await ie(r,t)}catch(n){t.log(`Unable to write the part '${r.name??r.id}' referenced by '${e.name??e.id}'`,n)}}},ie=async(e,t,n)=>{let r=e.resId===void 0?void 0:t.getSharedStates().get(a)?.get(e.resId);if(!r)return e.resId===void 0?t.addPart(`embeddedPart`,e,n,e.id):(t.log(`The part '${e.name??e.id}' cites resource ${e.resId}, which is not in the workbook.`),null);let i=await r.getExternalURI();if(i){let n=t.addExternal(e.type,i,e.id);return n.relId!==e.id&&t.log(`The external reference '${e.id}' was written as '${n.relId}'; the markup will not find it.`),n}let o=await r.toBuffer();return t.addBinary(new Uint8Array(o),e.contentType||I,e.type,n??`./${ae(e.name)}`,!1,e.id)},ae=e=>{let t=e&&/^[\w.\-~%]+$/.test(e)?e:`part.xml`,n=t.lastIndexOf(`.`),r=n>0?t.slice(0,n):t,i=n>0?t.slice(n):``;return`${r.replace(/\d+$/,``)}{n}${i}`},oe=`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml`,se=(e,t)=>e.getSharedStates().get(`pivotCachePaths`)?.get(t)??null,ce=`fileVersion`,le=`sheetParts`,ue=`externalLinkParts`;function de(e){if(!e||e.indexOf(`[`)===-1)return[];let t=[],n=e.replace(/"(?:[^"]|"")*"/g,``);for(let e of n.matchAll(/\[(\d+)\]/g)){let n=Number(e[1]);n>0&&!t.includes(n)&&t.push(n)}return t}var fe={auto:`auto`,automaticExceptTables:`autoNoTable`,manual:`manual`};function R(e,t,r,i){if(!r)return;let a=typeof r==`string`?t.parseColor(r):r;i&&e.start(i);let o=a.getType(),s=a.getVal(),c=a.getAdjustments(),l=c&&c.length>0;switch(o){case`scheme`:l?(e.start(`schemeClr`,{val:s}),z(e,c),e.end(`schemeClr`)):e.empty(`schemeClr`,{val:s});break;case`named`:if(n.A.isSystem(s)){let t=a.getLastColor()??a.getBaseColor().toHex().toString(!1).replace(`#`,``);l?(e.start(`sysClr`,{val:s,lastClr:t}),z(e,c),e.end(`sysClr`)):e.empty(`sysClr`,{val:s,lastClr:t})}else l?(e.start(`prstClr`,{val:s}),z(e,c),e.end(`prstClr`)):e.empty(`prstClr`,{val:s});break;case`auto`:{let t=a.getLastColor()??a.getBaseColor().toHex().toString(!1).replace(`#`,``);l?(e.start(`sysClr`,{val:`windowText`,lastClr:t}),z(e,c),e.end(`sysClr`)):e.empty(`sysClr`,{val:`windowText`,lastClr:t});break}case`index`:l?(e.start(`srgbClr`,{val:s}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:s});break;case`hsl`:let t=a.toHex().toString();l?(e.start(`srgbClr`,{val:t}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:t});break;case`rgb`:case`lrgb`:let r=a.toHex().toString();l?(e.start(`srgbClr`,{val:r}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:r});break;case`hex`:let i=s.replace(`#`,``).toUpperCase();l?(e.start(`srgbClr`,{val:i}),z(e,c),e.end(`srgbClr`)):e.empty(`srgbClr`,{val:i});break;default:let o=s.replace(`#`,``).toUpperCase();e.empty(`srgbClr`,{val:o})}i&&e.end(i)}function z(e,t){if(t&&t.length!==0)for(let n of t)for(let[t,r]of Object.entries(n)){if(r==null)continue;let n=t;if(n)if(typeof r==`boolean`)e.empty(n);else{let i;if(t===`alpha`||t===`alphaOff`||t===`alphaMod`)i=Math.round(1e5*r);else{if(t===`eTint`){if(r<0){e.empty(`shade`,{val:Math.round(1e5*(1+r)).toString()});continue}e.empty(`tint`,{val:Math.round(1e5*r).toString()});continue}i=Math.round(1e3*r)}e.empty(n,{val:i.toString()})}}}function B(e,t,r,i,a=!1,o=!1){if(!r)return;let s=typeof r==`string`?t.parseColor(r):r,c=()=>{e.empty(i,{rgb:ye(s.toHex().toString(!0))})},l=s.getAdjustments(),u=l&&l.length>0,d=s.getType();if(d!==n.Gt.Type.Auto){if(d===n.Gt.Type.Scheme){let t=s.getVal(),r=pe[t]??t,a=ge.get(r);if(a===void 0&&r!==`phClr`)return console.warn(`Color scheme not in theme. schemeVal=${t} themeKey=${r}`),c();let o={};if(o.theme=a,u){if(!function(e){for(let t of e)switch(Object.keys(t)[0]){case n.Gt.AdjustmentType.Tint:case n.Gt.AdjustmentType.ETint:case n.Gt.AdjustmentType.Shade:case n.Gt.AdjustmentType.Lum:case n.Gt.AdjustmentType.LumOff:case n.Gt.AdjustmentType.LumMod:case n.Gt.AdjustmentType.Alpha:case n.Gt.AdjustmentType.AlphaOff:case n.Gt.AdjustmentType.AlphaMod:continue;default:return!1}return!0}(l))return c();let e,t=l.length===1?l[0][n.Gt.AdjustmentType.ETint]:void 0;if(t!==void 0)e=_e(t);else{let t=s.getBaseColor().toHex().toString(!0),n=s.toHex().toString(!0);e=_e(function(e,t){let n=V(e,0,255),r=V(t,0,255);return Math.abs(r-n)<1e-9?0:r<n?n<=1e-9?-1:V(r/n-1,-1,0):255-n<=1e-9?0:V((r-n)/(255-n),0,1)}(ve(t),ve(n)))}e!==0&&(o.tint=e)}e.empty(i,o);return}if(d===n.Gt.Type.Index){let t=s.getVal(),n=t.substring(5,t.length);e.empty(i,{indexed:Number(n)});return}return c()}e.empty(i,{auto:1})}var pe={bg1:`lt1`,tx1:`dk1`,bg2:`lt2`,tx2:`dk2`,accent1:`accent1`,accent2:`accent2`,accent3:`accent3`,accent4:`accent4`,accent5:`accent5`,accent6:`accent6`,hlink:`hlink`,folHlink:`folHlink`},me=Object.freeze([`lt1`,`dk1`,`lt2`,`dk2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),he=Object.freeze([`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`]),ge=new Map(me.map((e,t)=>[e,t]));function V(e,t,n){return Math.max(t,Math.min(n,e))}function _e(e){let t=V(e,-1,1);return Math.abs(t)<1e-12?0:t}function ve(e){let t=function(e){let t=e.replace(/^#/,``).toUpperCase();if(t.length===8)return t.slice(2);if(t.length===6)return t;throw Error(`Invalid hex: ${e}`)}(e),n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255;return(Math.max(n,r,i)+Math.min(n,r,i))/2*255}function ye(e){let t=e.replace(/^#/,``).toUpperCase();if(t.length===8)return t;if(t.length===6)return`FF`+t;throw Error(`Invalid hex: ${e}`)}function be(e,t=!1){let n=e;return n.length===8&&(n=n.substring(2,8)),n.length===6&&(n=(t?`00`:`FF`)+n),n.toUpperCase()}function xe(e){let t=`[Threaded comment]\n\nYour version of Excel allows you to read this threaded comment; however, any edits to it will get removed if the file is opened in a newer version of Excel. Learn more: https://go.microsoft.com/fwlink/?linkid=870924\n\nComment:\n ${e.getContent()}`,n=e.getReplies();for(let e=0;e<n.length;e++)t+=`\nReply:\n ${n[e].getContent()}`;return t}function Se(e,t,n){if(typeof t==`string`)return void Te(e,t);let r=t.runs;for(let t=0;t<r.length;t++){let i=r[t];e.start(`r`),i.font&&we(e,i.font,n),Te(e,i.text??``),e.end(`r`)}}var Ce={serif:1,"sans-serif":2,monospace:3,cursive:4,fantasy:5};function we(e,t,r){e.start(`rPr`);let i=(t,n)=>{n!==void 0&&e.empty(t,n?void 0:{val:0})};if(i(`b`,t.weight===void 0?void 0:t.weight>=700),i(`i`,t.style===void 0?void 0:t.style!==n.p.Style.Normal),i(`strike`,t.strike),i(`extend`,t.extend),i(`outline`,t.outline),i(`shadow`,t.shadow),t.underline&&e.empty(`u`,t.underline===n.p.UnderlineStyle.Single?void 0:{val:t.underline}),t.verticalAlign){let r=t.verticalAlign===n.p.VerticalAlignment.Super?`superscript`:t.verticalAlign===n.p.VerticalAlignment.Sub?`subscript`:t.verticalAlign;e.empty(`vertAlign`,{val:r})}t.size!==void 0&&e.empty(`sz`,{val:t.size}),t.color&&function(e,t,n){let r=/^index(\d+)$/.exec(t);r?e.empty(`color`,{indexed:Number(r[1])}):B(e,n,t,`color`)}(e,t.color,r),t.family&&e.empty(`rFont`,{val:t.family});let a=t.fallbacks;if(a)for(let t=0;t<a.length;t++){let n=Ce[a[t]];if(n!==void 0){e.empty(`family`,{val:n});break}}t.charset!==void 0&&e.empty(`charset`,{val:t.charset}),t.scheme&&t.scheme!==n.p.Scheme.None&&e.empty(`scheme`,{val:t.scheme}),e.end(`rPr`)}function Te(e,t){e.start(`t`,i.i.test(t)||/[\n\r]/.test(t)?i.c:void 0),e.text(t),e.end(`t`)}function Ee(e){let t=e.getRanges();if(t.isInvalid())return null;let r=t.getCoords()[0];return r?{ref:n.Rt.cellToString({rowIndex:r.rowStart,colIndex:r.colStart}),row:r.rowStart,col:r.colStart}:null}function H(t,r,i,a,o=!1,s=!1){let c=a.getTheme();if(o&&r.start(`fill`),typeof i==`string`&&(i={type:n.h.Type.Solid,color:i}),i.type===n.h.Type.None)o?r.empty(`patternFill`,{patternType:`none`}):r.empty(`noFill`);else if(i.type===n.h.Type.Solid){let e=i;o?r.start(`patternFill`,{patternType:`solid`}):r.start(`solidFill`),e.color&&(o?B(r,c,e.color,`fgColor`):R(r,c,e.color)),o?r.end(`patternFill`):r.end(`solidFill`)}else if(i.type===n.h.Type.Pattern){let e=i,t=e.patternType||`solid`;r.start(`patternFill`,{patternType:t}),e.foreground&&(o?B(r,c,s?e.background:e.foreground,`fgColor`):R(r,c,s?e.background:e.foreground)),e.background&&(o?B(r,c,s?e.foreground:e.background,`bgColor`):R(r,c,s?e.foreground:e.background)),r.end(`patternFill`)}else if(i.type===n.h.Type.Gradient&&o){let e=i,t={},a=e.gradientType;if(a!==n.h.GradientType.Path&&a!==n.h.GradientType.Linear||(t.type=a),e.angle!==void 0){let n=(e.angle-90)%360;n!==0&&(t.degree=String(n))}let o=e.focus;o&&(o.left&&(t.left=String(o.left)),o.right&&(t.right=String(o.right)),o.top&&(t.top=String(o.top)),o.bottom&&(t.bottom=String(o.bottom))),r.start(`gradientFill`,t);let s=e.stops;if(s&&s.length>0)for(let e of s){let t,n=0;if(typeof e==`string`||typeof e==`object`&&!(`offset`in e))t=e,n=0;else{let r=e;n=r.offset||0,t=r.color}r.start(`stop`,{position:String(n)}),t&&B(r,c,t,`color`),r.end(`stop`)}r.end(`gradientFill`)}else if(i.type===n.h.Type.Gradient){let t=i,a={};t.isRotatedWithShape!==void 0&&(a.rotWithShape=t.isRotatedWithShape?`1`:`0`),r.start(`gradFill`,a),r.start(`gsLst`);let o=t.stops;if(o&&o.length>0)for(let t of o){let n,i=0;if(typeof t==`string`||typeof t==`object`&&!(`offset`in t))n=t;else{let e=t;i=e.offset||0,n=e.color}r.start(`gs`,{pos:String(e.I.roundAccurately(1e3*i,0))}),n&&R(r,c,n),r.end(`gs`)}r.end(`gsLst`);let s=t.gradientType;if(s&&s!==n.h.GradientType.Linear){let n=s===`radial`?`circle`:s;r.start(`path`,{path:n});let i=t.focus;if(i){let t={};i.t!==void 0&&(t.t=String(e.I.roundAccurately(1e3*i.t,0))),i.l!==void 0&&(t.l=String(e.I.roundAccurately(1e3*i.l,0))),i.b!==void 0&&(t.b=String(e.I.roundAccurately(1e3*i.b,0))),i.r!==void 0&&(t.r=String(e.I.roundAccurately(1e3*i.r,0))),r.empty(`fillToRect`,t)}r.end(`path`)}else{let n={};t.angle!==void 0&&(n.ang=String(e.I.roundAccurately(6e4*t.angle,0)));let i=t.scaled;i!==void 0&&(n.scaled=i?`1`:`0`),r.empty(`lin`,n)}r.end(`gradFill`)}else o?r.empty(`patternFill`,{patternType:`none`}):r.empty(`noFill`);o&&r.end(`fill`)}var De=(t,n,i,a)=>{if(!i)return n.start(`ln`),n.empty(`noFill`),void n.end(`ln`);typeof i==`string`&&(i={fill:i});let o=i,s={};if(o.width!==void 0&&(s.w=String(G(o.width))),o.lineCap!==void 0&&(s.cap=Oe(o.lineCap)),o.compound!==void 0&&(s.cmpd=o.compound),o.align!==void 0&&(s.algn=o.align),n.start(`ln`,s),H(0,n,o.fill??Me,a),Array.isArray(o.dash)){n.start(`custDash`);for(let t=0;t<o.dash.length;t+=2)n.empty(`ds`,{d:String(e.I.roundAccurately(1e3*o.dash[t],0)),sp:String(e.I.roundAccurately(1e3*(o.dash[t+1]??0),0))});n.end(`custDash`)}else typeof o.dash==`string`&&n.empty(`prstDash`,{val:o.dash});if(o.lineJoin===r.g.LineJoin.Round)n.empty(`round`);else if(o.lineJoin===r.g.LineJoin.Bevel)n.empty(`bevel`);else if(o.lineJoin===r.g.LineJoin.Miter){let t={};o.miterLimit!==void 0&&(t.lim=String(e.I.roundAccurately(1e5*o.miterLimit,0))),n.empty(`miter`,t)}n.end(`ln`)},Oe=e=>e===`round`?`rnd`:e===`butt`?`flat`:e===`square`?`sq`:e,ke=(e,t,n,r=void 0,i=!1)=>{if(!n||!(n.fill||n.stroke||n.effects?.length||i))return;let a=e.getXMLWriter();r&&a.start(r),a.pushDefaultNamespace(`a`),n.fill&&H(0,a,n.fill,t),n.stroke&&De(0,a,n.stroke,t),n.effects?.length?Ae(e,a,t.getTheme(),n.effects):i&&a.empty(`effectLst`),a.popDefaultNamespace(),r&&a.end(r)},Ae=(e,t,n,r)=>{t.start(`effectLst`);for(let e of r)je(t,n,e);t.end(`effectLst`)},je=(t,n,i)=>{switch(i.type){case r.m.Type.OuterShadow:{let r=i,a={};r.blur!==void 0&&(a.blurRad=String(G(r.blur))),r.distance!==void 0&&(a.dist=String(G(r.distance))),r.angle!==void 0&&(a.dir=String(q(r.angle))),r.alignment!==void 0&&(a.algn=r.alignment),r.isRotatedWithShape!==void 0&&(a.rotWithShape=r.isRotatedWithShape?`1`:`0`),r.scaleX!==void 0&&(a.sx=String(e.I.roundAccurately(1e3*r.scaleX,0))),r.scaleY!==void 0&&(a.sy=String(e.I.roundAccurately(1e3*r.scaleY,0))),r.skewX!==void 0&&(a.kx=String(q(r.skewX))),r.skewY!==void 0&&(a.ky=String(q(r.skewY))),t.start(`outerShdw`,a),R(t,n,r.color),t.end(`outerShdw`);break}case r.m.Type.InnerShadow:{let e=i,r={};e.blur!==void 0&&(r.blurRad=String(G(e.blur))),e.distance!==void 0&&(r.dist=String(G(e.distance))),e.angle!==void 0&&(r.dir=String(q(e.angle))),t.start(`innerShdw`,r),R(t,n,e.color),t.end(`innerShdw`);break}case r.m.Type.PresetShadow:{let e=i,r={prst:e.preset};e.distance!==void 0&&(r.dist=String(G(e.distance))),e.angle!==void 0&&(r.dir=String(q(e.angle))),t.start(`prstShdw`,r),R(t,n,e.color),t.end(`prstShdw`);break}case r.m.Type.Glow:{let e=i,r={};e.radius!==void 0&&(r.rad=String(G(e.radius))),t.start(`glow`,r),R(t,n,e.color),t.end(`glow`);break}case r.m.Type.SoftEdge:{let e=i,n={};e.radius!==void 0&&(n.rad=String(G(e.radius))),t.empty(`softEdge`,n);break}case r.m.Type.Reflection:{let n=i,r={};n.blur!==void 0&&(r.blurRad=String(G(n.blur))),n.distance!==void 0&&(r.dist=String(G(n.distance))),n.angle!==void 0&&(r.dir=String(q(n.angle))),n.fadeAngle!==void 0&&(r.fadeDir=String(q(n.fadeAngle))),n.startAlpha!==void 0&&(r.stA=String(e.I.roundAccurately(1e3*n.startAlpha,0))),n.startPosition!==void 0&&(r.stPos=String(e.I.roundAccurately(1e3*n.startPosition,0))),n.endAlpha!==void 0&&(r.endA=String(e.I.roundAccurately(1e3*n.endAlpha,0))),n.endPosition!==void 0&&(r.endPos=String(e.I.roundAccurately(1e3*n.endPosition,0))),n.scaleX!==void 0&&(r.sx=String(e.I.roundAccurately(1e3*n.scaleX,0))),n.scaleY!==void 0&&(r.sy=String(e.I.roundAccurately(1e3*n.scaleY,0))),n.skewX!==void 0&&(r.kx=String(q(n.skewX))),n.skewY!==void 0&&(r.ky=String(q(n.skewY))),n.alignment!==void 0&&(r.algn=n.alignment),n.isRotatedWithShape!==void 0&&(r.rotWithShape=n.isRotatedWithShape?`1`:`0`),t.empty(`reflection`,r);break}}},Me={type:`none`},U=`http://schemas.openxmlformats.org/officeDocument/2006/relationships/image`,W=`imagesWritten`,Ne={mime:`image/png`,ext:`png`},G=(t=0)=>e.I.roundAccurately(12700*t,0),K=(t=0)=>e.I.roundAccurately(9525*t,0),q=e=>6e4*e,Pe=(t=0)=>e.I.roundAccurately(100*t,2),Fe=class{constructor(){this._dxfs=[],this._byKey=new Map}add(e){let t=JSON.stringify(e),n=this._byKey.get(t);return n===void 0&&(n=this._dxfs.length,this._dxfs.push(e),this._byKey.set(t,n)),n}getDxfs(){return this._dxfs}getCount(){return this._dxfs.length}},Ie=`cfDxfs`,Le=[`font`,`fill`,`borders`,`numberFormat`,`alignment`];function Re(t,r,i){if(r){if(r.named){let n=r.named,a=n.toLowerCase(),o=i.namedStyleMap;if(!o.has(a)){o.set(a,``+o.size);let r=t.getNamedStyles().getByName(n).toJSON();Re(t,r.style??e.I.EmptyObject,i),i.namedStyles.push(r)}}r.font&&function(t,n,r){if(!n)return;let i=e.z.JSONStableStringify(n),a=r.fontMap;if(!a.has(i)){let e=a.size;a.set(i,``+e),r.fonts.push(n)}}(0,r.font,i),r.fill&&function(t,n,r){if(!n)return;let i=e.z.JSONStableStringify(n),a=r.fillMap;if(!a.has(i)&&typeof n==`object`&&n.type){let e=a.size;a.set(i,``+e),r.fills.push(n)}}(0,r.fill,i),r.borders&&function(t,n,r){if(!n)return;let i=e.z.JSONStableStringify(n),a=r.borderMap;if(!a.has(i)){let e=a.size;a.set(i,``+e),r.borders.push(n)}}(0,r.borders,i),r.numberFormat!==void 0&&function(e,t,r){if(!t)return;let i=n.Wt.toBuiltInID(t),a=r.numFmtMap;if(!a.has(i)){let e=0;typeof i==`number`?e=i:(e=r.numFmtsCustom.length+Ge,r.numFmtsCustom.push(i)),a.set(t,``+e)}}(0,r.numberFormat,i)}}function ze(e,t,n){if(!t)return;let r=t.name.toLowerCase();n.namedStyleMap.has(r)||(n.namedStyleMap.set(r,``+n.namedStyleMap.size),n.namedStyles.push(t),Re(e,t.style,n))}function Be(e,t,n,r,i=!1){let a=r.getDefaultFontSize(),o=r.getTheme().getFontScheme().getMinorFont()??`Calibri`,s=r.getNormal().getFont().getColor();t.start(`font`),n.weight&&n.weight>=700&&t.empty(`b`),n.style&&n.style!==`normal`&&t.empty(`i`),n.strike&&t.empty(`strike`),n.underline&&t.empty(`u`,{val:n.underline}),n.outline&&t.empty(`outline`),n.shadow&&t.empty(`shadow`),n.extend&&t.empty(`extend`);let c=n.verticalAlign;c&&(c===`super`&&(c=`superscript`),c===`sub`&&(c=`subscript`),t.empty(`vertAlign`,{val:c})),i?n.size!==void 0&&t.empty(`sz`,{val:String(n.size)}):t.empty(`sz`,{val:String(n.size??a)}),B(t,r.getTheme(),n.color??s,`color`,!i);let l=!i||n.family&&n.family!==o;if(l&&(t.empty(`name`,{val:n.family??o}),n.fallbacks&&n.fallbacks.length>0)){let e=n.fallbacks;e.includes(`serif`)?t.empty(`family`,{val:1}):e.includes(`sans-serif`)?t.empty(`family`,{val:2}):e.includes(`monospace`)?t.empty(`family`,{val:3}):e.includes(`cursive`)?t.empty(`family`,{val:4}):e.includes(`fantasy`)&&t.empty(`family`,{val:5})}n.charset!==void 0&&n.charset!==null&&t.empty(`charset`,{val:String(n.charset)});let u=n.scheme??(n.family===void 0?`minor`:void 0);l&&u!==void 0&&u!==`none`&&t.empty(`scheme`,{val:u}),t.end(`font`)}function J(e,t,n,r,i,a=!1){if(!i||i.style===`none`||!i.style)return void(a&&!i||t.empty(r));t.start(r,{style:i.style});let o=i.color;o&&B(t,n,o,`color`,!a,a),t.end(r)}function Ve(e,t,n,r,i=!1){let a={};i?(a.diagonalUp=`0`,a.diagonalDown=`0`):(n.diagonalUp&&(a.diagonalUp=`1`),n.diagonalDown&&(a.diagonalDown=`1`)),t.start(`border`,a),J(0,t,r,`left`,n.left,i),J(0,t,r,`right`,n.right,i),J(0,t,r,`top`,n.top,i),J(0,t,r,`bottom`,n.bottom,i),i?(J(0,t,r,`vertical`,n.vertical,i),J(0,t,r,`horizontal`,n.horizontal,i)):J(0,t,r,`diagonal`,n.diagonalUp??n.diagonalDown,i),t.end(`border`)}function He(e,t,r,i=!1){let a={};r.horizontal&&r.horizontal!==n.U.HorizontalAlignment.General&&(a.horizontal=r.horizontal),r.vertical&&r.vertical!==n.U.VerticalAlignment.Bottom&&(a.vertical=r.vertical);let o=r.rotation;r.stacked&&(a.textRotation=`255`,o=0),o&&(o>=270&&o<360?o=360-o:o>0&&o<=90&&(o+=90),a.textRotation=String(o));let s=r.overflow;switch(s===n.U.Overflow.Wrap&&(a.wrapText=`1`),r.indent&&(a.indent=``+r.indent),r.relativeIndent&&(a.relativeIndent=``+r.relativeIndent),r.justifyLastLine&&(a.justifyLastLine=`1`),s===n.U.Overflow.Shrink&&(a.shrinkToFit=`1`),r.readingDirection){case n.U.ReadingDirection.Auto:break;case n.U.ReadingDirection.LeftToRight:a.readingOrder=`1`;break;case n.U.ReadingDirection.RightToLeft:a.readingOrder=`2`}return Object.keys(a).length>0?a:null}function Ue(t,r,i,a,o,s,c=!1){let l={},u=null,d=a.named;d&&(u=i.getNamedStyles().getByName(d).toJSON().style);let f=a.font??u?.font,p=f?o.fontMap.get(e.z.JSONStableStringify(f))??0:0,m=a.fill??u?.fill,h=m?o.fillMap.get(e.z.JSONStableStringify(m))??0:0,g=a.borders??u?.borders,_=g?o.borderMap.get(e.z.JSONStableStringify(g))??0:0,v=a.numberFormat??u?.numberFormat;if(l.numFmtId=(v===void 0?void 0:o.numFmtMap.get(v))??`0`,l.fontId=String(p),l.fillId=String(h),l.borderId=String(_),s){let e=a.named??n.X.BuiltInName.Normal;l.xfId=o.namedStyleMap.get(e.toLowerCase())}let y=null,b=a.alignment??u?.alignment;b&&(y=He(0,0,b)),a.font&&(l.applyFont=`1`),a.fill&&(l.applyFill=`1`),a.numberFormat&&(l.applyNumberFormat=`1`),a.borders&&(l.applyBorder=`1`),y&&(l.applyAlignment=`1`);let x=null,S=a.protection?.alwaysUnlocked??u?.protection?.alwaysUnlocked??!1;(S||c)&&(x={},S&&(x.locked=`0`),c&&(x.hidden=`1`),l.applyProtection=`1`),a.quotePrefix&&(l.quotePrefix=`1`),y||x?(r.start(`xf`,l),y&&r.empty(`alignment`,y),x&&r.empty(`protection`,x),r.end(`xf`)):r.empty(`xf`,l)}function We(e,t,r,i,a,o=`dxf`,s=Ge){if(t.start(o),r.font&&Be(0,t,r.font,i,!0),r.numberFormat!==void 0&&r.numberFormat!==null){let e=n.Wt.toBuiltInID(r.numberFormat),i=typeof e==`number`,a=i?n.Wt.builtInFormat(e):String(e);a&&t.empty(`numFmt`,{numFmtId:String(i?e:s++),formatCode:a})}if(r.fill&&H(0,t,r.fill,i,!0,!0),r.alignment){let e=He(0,0,r.alignment,!0);e&&t.empty(`alignment`,e)}return r.borders&&Ve(0,t,r.borders,a,!0),t.end(o),s}var Ge=164,Ke=Object.freeze([`wholeTable`,`headerRow`,`totalRow`,`firstColumn`,`lastColumn`,`firstRowStripe`,`secondRowStripe`,`firstColumnStripe`,`secondColumnStripe`,`firstHeaderCell`,`lastHeaderCell`,`firstTotalCell`,`lastTotalCell`]),qe=n.tt.BuiltInOperatorNames,Je=(e,t,n,r,i,a)=>{let o=r.sorts,s=o?o.length:0;if(s===0)return;let c={};if(s>0){let e=o[0].criteria?.collatorOptions;e&&(c.caseSensitive=typeof e!=`object`||Array.isArray(e)||e.sensitivity!==`case`&&e.sensitivity!==`variant`?`0`:`1`)}c.ref=n.getRange().toString(),c[`xmlns:xlrd2`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2`,t.start(`sortState`,c);for(let e=0;e<s;e++){let n=o[e],r=n.criteria??{},s=n.index+a.colStart,c={};r.reverse&&(c.descending=`1`),c.ref=i.getIntersect({colStart:s,rowStart:a.rowStart,colEnd:s,rowEnd:a.rowEnd}).toString(),r.sortOn&&(c.sortBy=r.sortOn),r.dxfId!==void 0&&(c.dxfId=r.dxfId),r.iconSet!==void 0&&(c.iconSet=r.iconSet),r.customList!==void 0&&(c.customList=r.customList),t.empty(`sortCondition`,c)}t.end(`sortState`)},Ye=(e,t,n,r,i=!1)=>{let a=n.getRange();n.isShowTotals()&&(a=a.getResizeBy(-1,0));let o=a.getCoords(),s=r.sort,c=r.filter,l=c?c.conditions:void 0,u=l?l.length:0,d=r.hiddenButtons,f={};f.ref=a.toString();let p,m=[];for(let e=0;e<u;e++){let t=l[e];m[t.index]={...t}}if(Array.isArray(d)&&d.length>0){let e=d.length;p=Array(d[e-1]);for(let t=0;t<e;t++)p[d[t]]=!0}if(m||d||p||i){let c=0;r.columns?c=r.columns.length:i&&(c=a.getColumnCount()),t.start(`autoFilter`,f);for(let n=0;n<c;n++){let r=!0===d||!0===p?.[n],i=m[n];(i||r)&&Xe(e,t,n,i,r)}s&&i&&Je(0,t,n,s,a,o),t.end(`autoFilter`)}else t.empty(`autoFilter`,f);s&&!i&&Je(0,t,n,s,a,o)},Y=(e,t,n)=>{let r=i.v(n,t=>e.warn(t,n));if(!r)return;let a={operator:r.operator};r.val!==void 0&&(a.val=r.val),t.empty(`customFilter`,a)},Xe=(e,t,r,a,o)=>{let s={};s.colId=``+r,o&&(s.hiddenButton=`1`),a?(t.start(`filterColumn`,s),((e,t,r)=>{let a=r.operator;if(a!==n.tt.BuiltInOperatorNames.Expression)if(a!==n.tt.BuiltInOperatorNames.Unique){if(a===n.tt.BuiltInOperatorNames.Color){let e=r.param,n={};e.cellColor!==void 0&&(n.cellColor=e.cellColor?`1`:`0`),e.styleId!==void 0&&(n.dxfId=e.styleId),t.empty(`colorFilter`,n)}if(Ze(a))if(a===`between`){let n=r.param;t.start(`customFilters`,{and:`1`}),Y(e,t,{operator:qe.GreaterThanEqualTo,param:n.from}),Y(e,t,{operator:qe.LessThanEqualTo,param:n.to}),t.end(`customFilters`)}else if(a===n.tt.BuiltInOperatorNames.Not){let n=r.param;i.g(n?.operator)?(t.start(`customFilters`),Y(e,t,r),t.end(`customFilters`)):e.warn(`Not rule with non-comparison criteria not supported in OOXML`,n)}else if(a===n.tt.BuiltInOperatorNames.And||a===n.tt.BuiltInOperatorNames.Or){let o=r.param,s=o.length;if(s>0){let r={};a===n.tt.BuiltInOperatorNames.And&&s>1&&(r.and=`1`),t.start(`customFilters`,r);for(let n=0;n<s;n++){let r=o[n],a=r.operator===qe.Not&&i.g(r.param?.operator);i.g(r.operator)||a?Y(e,t,r):e.warn(`Only Comparison criteria supported in Union conditions for Table AutoFilters`,r)}t.end(`customFilters`)}}else i.g(a)&&(t.start(`customFilters`),Y(e,t,r),t.end(`customFilters`));if(a===n.tt.BuiltInOperatorNames.TimePeriod){let e=r.param,n={};e.type&&(n.type=e.type),e.anchorDate!==void 0&&(n.val=``+e.anchorDate),e.maxVal!==void 0&&(n.maxVal=``+e.maxVal),t.empty(`dynamicFilter`,n)}if(a===n.tt.BuiltInOperatorNames.Average){let e=r.param,i={},a=e.type;a&&(a===n.tt.AverageType.Above?i.type=`aboveAverage`:a===n.tt.AverageType.Below&&(i.type=`belowAverage`)),e.stdDevs!==void 0&&(i.val=``+e.stdDevs),t.empty(`dynamicFilter`,i)}if(a===n.tt.BuiltInOperatorNames.InSet){let e=r.param;if(e.dateGroups){let n=e.dateGroups,r=n.length;t.start(`dateGroupItem`);for(let e=0;e<r;e++){let r=n[e],i={};r.day!==void 0&&(i.day=``+r.day),r.hour!==void 0&&(i.hour=``+r.hour),r.minute!==void 0&&(i.minute=``+r.minute),r.second!==void 0&&(i.second=``+r.second),r.year!==void 0&&(i.year=``+r.year),r.month!==void 0&&(i.month=``+r.month),i.dateTimeGrouping=r.group,t.empty(`dateGroupItem`,i)}t.end(`dateGroupItem`)}if(e.items){let n=e.items,r=n.length;t.start(`filters`);for(let e=0;e<r;e++){let r=n[e];t.empty(`filter`,{val:``+r})}t.end(`filters`)}}if(a===n.tt.BuiltInOperatorNames.Icon){let e=r.param,n={};e.iconSet!==void 0&&(n.iconSet=e.iconSet),e.iconId!==void 0&&(n.iconId=``+e.iconId),t.empty(`iconFilter`,n)}if(a===n.tt.BuiltInOperatorNames.TopN){let e=r.param,n={};e.percent&&(n.percent=`1`),e.top!==void 0&&(n.top=e.top?`1`:`0`),e.limit!==void 0&&(n.val=``+e.limit),e.filterVal!==void 0&&(n.filterVal=``+e.filterVal),t.empty(`top10`,n)}}else e.warn(`Unique conditions not supported in Table AutoFilters`,r);else e.warn(`Expression conditions not supported in Table AutoFilters`,r)})(e,t,a),t.end(`filterColumn`)):t.empty(`filterColumn`,s)},Ze=e=>e===n.tt.BuiltInOperatorNames.GreaterThan||e===n.tt.BuiltInOperatorNames.GreaterThanEqualTo||e===n.tt.BuiltInOperatorNames.LessThan||e===n.tt.BuiltInOperatorNames.LessThanEqualTo||e===n.tt.BuiltInOperatorNames.EqualTo||e===n.tt.BuiltInOperatorNames.And||e===n.tt.BuiltInOperatorNames.Or||e===n.tt.BuiltInOperatorNames.Not||e===`between`,Qe={names:new Set,perFormula:[],affects:()=>!1},$e=1048576;function et(e,t){let r=t.type;r===n.sn.ColorStopType.AutoMin?r=n.sn.ColorStopType.Min:r===n.sn.ColorStopType.AutoMax&&(r=n.sn.ColorStopType.Max),e.empty(`cfvo`,{type:r,val:t.value,gte:t.exclusive?`0`:void 0})}function tt(e,t){let n={type:t.type,gte:t.exclusive?`0`:void 0};t.value===void 0?e.empty(`x14:cfvo`,n):(e.start(`x14:cfvo`,n),e.start(`xm:f`),e.text(t.value),e.end(`xm:f`),e.end(`x14:cfvo`))}var nt=new Set([n.X.IconSet.Arrows3,n.X.IconSet.ArrowsGray3,n.X.IconSet.Flags3,n.X.IconSet.Signs3,n.X.IconSet.Symbols3,n.X.IconSet.Symbols3_2,n.X.IconSet.TrafficLights3,n.X.IconSet.TrafficLights3_2,n.X.IconSet.Arrows4,n.X.IconSet.ArrowsGray4,n.X.IconSet.Rating4,n.X.IconSet.RedToBlack4,n.X.IconSet.TrafficLights4,n.X.IconSet.Arrows5,n.X.IconSet.ArrowsGray5,n.X.IconSet.Quarters5,n.X.IconSet.Rating5]);function rt(e){return(e.icon?.length??0)>0||e.iconSet!==void 0&&!nt.has(e.iconSet)}function it(t,r,a,o,s,c,l,u,d){let f=o.scale;o.ext&&t.warn(`Conditional format extension payload is not written to xlsx; it will be lost.`);let p,m={type:s.type,dxfId:o.style&&Object.keys(o.style).length>0?u.add(o.style):void 0,priority:l,stopIfTrue:X(o.stopIfTrue),aboveAverage:X(s.aboveAverage),equalAverage:X(s.equalAverage),stdDev:s.stdDev,bottom:X(s.bottom),percent:X(s.percent),rank:s.rank,operator:s.operator,text:s.text,timePeriod:s.timePeriod};f?.type===n.sn.ScaleType.DataBar&&function(e){if(e.gradient||e.borderColor||e.negativeFillColor||e.negativeBorderColor||e.axisColor||e.axisPosition||e.direction)return!0;let t=e.stops,r=t?t.length:0;for(let e=0;e<r;e++){let r=t[e].type;if(r===n.sn.ColorStopType.AutoMin||r===n.sn.ColorStopType.AutoMax)return!0}return!1}(f)&&(p=i.tt(e.I.uuidV4),d.push({guid:p,sqref:c,priority:l,scale:f}));let h=s.formulas,g=h?h.length:0;if(g!==0||f){r.start(`cfRule`,m);for(let e=0;e<g;e++)r.start(`formula`),r.text(h[e]),r.end(`formula`);if(f?.type===n.sn.ScaleType.ColorScale){let e=f.stops??[];r.start(`colorScale`);for(let t=0;t<e.length;t++)et(r,e[t]);for(let t=0;t<e.length;t++)B(r,a,e[t].color,`color`);r.end(`colorScale`)}else if(f?.type===n.sn.ScaleType.DataBar){let e=f.stops??[];r.start(`dataBar`,{minLength:f.minLength,maxLength:f.maxLength,showValue:X(f.showValue)});for(let t=0;t<e.length;t++)et(r,e[t]);f.color&&B(r,a,f.color,`color`),r.end(`dataBar`)}else if(f?.type===n.sn.ScaleType.IconSet){let e=f.stops??[];r.start(`iconSet`,{iconSet:f.iconSet,reverse:X(f.reverse),showValue:X(f.showValue)});for(let t=0;t<e.length;t++)et(r,e[t]);r.end(`iconSet`)}p&&(r.start(`extLst`),r.start(`ext`,{uri:`{B025F937-C7B1-47D3-B67F-A62EFF666E3E}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),r.start(`x14:id`),r.text(p),r.end(`x14:id`),r.end(`ext`),r.end(`extLst`)),r.end(`cfRule`)}else r.empty(`cfRule`,m)}function at(e){let t=2**53-1,r=2**53-1,i=e.split(` `);for(let e=0;e<i.length;e++){if(!i[e])continue;let a=n.Rt.fastStringToRange(i[e]);a.rowStart<t&&(t=a.rowStart),a.colStart<r&&(r=a.colStart)}return n.Rt.cellToString({rowIndex:t,colIndex:r})}function ot(e){if(typeof e==`string`)return e.split(`,`).join(` `);if(Array.isArray(e)){let t=[];for(let r=0;r<e.length;r++){let i=n.Rt.rangeToString(e[r]);i&&t.push(i)}return t.length>0?t.join(` `):null}return n.Rt.rangeToString(e)}function X(e){if(e!==void 0)return e?`1`:`0`}function st(e){if(typeof e!=`string`)return!1;let t=!1;for(let n=0;n<e.length;n++){let r=e[n];if(r===`"`)t=!t;else if(r===`!`&&!t)return!0}return!1}function ct(e){let t=e.formulas,n=t?t.length:0;for(let e=0;e<n;e++)if(st(t[e]))return!0;return!1}function lt(e){let t=2**53-1,r=2**53-1,i=e.split(` `);for(let e=0;e<i.length;e++){if(!i[e])continue;let a=n.Rt.fastStringToRange(i[e]);a.rowStart<t&&(t=a.rowStart),a.colStart<r&&(r=a.colStart)}return t===2**53-1?null:{rowIndex:t,colIndex:r}}function ut(e,t,r){if(typeof e!=`string`||!e||!t||!r)return e;try{let i=r.parse(e,t);return i&&n.C.image(r.spell(i,!0),{at:t})||e}catch{return e}}function dt(e,t,n){let r,i=e?.stops;if(!i||!n)return e;for(let e=0;e<i.length;e++){let a=i[e]?.value;if(typeof a!=`string`)continue;let o=ut(a,t,n);o!==a&&(r||=[...i],r[e]={...i[e],value:o})}return r?{...e,stops:r}:e}function ft(e,t,n,r){if(!r?.xml)return;let i=e.addPart(`legacyDrawing`,r);t.empty(n,{"r:id":i.relId})}var pt=(e,t,n,r)=>{let i=(t,n)=>{let r=e.getRangeAtBounds({x:t,y:n,width:0,height:0}),i=r.getCoords(),a=r.getBounds();return[i.colStart,t-a.x,i.rowStart,n-a.y]},a=t.getMovable()?.getBounds()??null,o=a?t.toJSON()?.box?.anchor:void 0;if(a&&o?.tl&&o.br){let t=e.getEntireRange().getCoords(),i=e=>[Math.min(t.colEnd,Math.max(0,r+(e.c??0))),e.x??0,Math.min(t.rowEnd,Math.max(0,n+(e.r??0))),e.y??0];return{bounds:a,anchor:[...i(o.tl),...i(o.br)]}}if(!a){let t=e.getRange({rowStart:n,colStart:r,rowEnd:n,colEnd:r}).getBounds();a={x:t.x+t.width+15,y:Math.max(2,t.y-10),width:144,height:79}}return{bounds:a,anchor:[...i(a.x,a.y),...i(a.x+a.width,a.y+a.height)]}},mt=e=>e.content?.type!==`control`,ht=(e,t,n)=>{e.start(t),e.start(`xdr:col`),e.text(n.c??0),e.end(`xdr:col`),e.start(`xdr:colOff`),e.text(K(n.x)),e.end(`xdr:colOff`),e.start(`xdr:row`),e.text(n.r??0),e.end(`xdr:row`),e.start(`xdr:rowOff`),e.text(K(n.y)),e.end(`xdr:rowOff`),e.end(t)},gt={r:void 0,s:void 0,t:void 0,cm:void 0,vm:void 0},_t={r:void 0,s:void 0,customFormat:void 0,hidden:void 0,ht:void 0,customHeight:void 0,"x14ac:dyDescent":`0.25`,outlineLevel:void 0,collapsed:void 0},vt={t:void 0,aca:void 0,ref:void 0,ca:void 0,si:void 0},yt={t:`shared`,aca:void 0,ref:void 0,ca:void 0,si:void 0},bt={t:`array`,aca:void 0,ref:void 0,ca:void 0,si:void 0};function xt(e,t,n,r){n&&(t.start(r),t.empty(`latin`,{typeface:n}),t.empty(`ea`,{typeface:``}),t.empty(`cs`,{typeface:``}),t.end(r))}var St=e=>e.toISOString().split(`.`)[0]+`Z`,Ct=(e,t,n)=>{switch(t){case`creator`:e.start(`dc:creator`),e.text(n),e.end(`dc:creator`);break;case`lastModifiedBy`:e.start(`cp:lastModifiedBy`),e.text(n),e.end(`cp:lastModifiedBy`);break;case`created`:e.start(`dcterms:created`,{"xsi:type":`dcterms:W3CDTF`}),e.text(n),e.end(`dcterms:created`);break;case`modified`:e.start(`dcterms:modified`,{"xsi:type":`dcterms:W3CDTF`}),e.text(n),e.end(`dcterms:modified`)}},Z=(e,t,n,r)=>{t.start(n),t.text(r),t.end(n)},wt={minSupportedVersion:`120000`,copy:`1`,pasteAll:`1`,pasteValues:`1`,merge:`1`,splitFirst:`1`,rowColShift:`1`,clearFormats:`1`,clearComments:`1`,assign:`1`,coerce:`1`},Tt=(t,n,r=e.I.EmptyArray)=>{if(!n)return{...r};let{text:i,runs:a,color:o,size:s,kern:c,weight:l,style:u,b:d,i:f,spc:p,baseline:m,...h}=n,g={...r,...h};return s!==void 0&&(g.sz=``+Pe(s)),d!==void 0&&(g.b=d?`1`:`0`),l!==void 0&&(g.b=l>500?`1`:`0`),f!==void 0&&(g.i=f?`1`:`0`),u!==void 0&&(g.i=u===`italic`?`1`:`0`),c!==void 0&&(g.kern=``+Pe(c)),p!==void 0&&(g.spc=``+Pe(p)),m!==void 0&&(g.baseline=``+Pe(m)),g},Et=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter();r.start(`txBody`),r.pushDefaultNamespace(`a`),Ot(e,t,{vertOverflow:`clip`,horzOverflow:`clip`,rtlCol:`0`,anchor:`ctr`}),r.empty(`lstStyle`),((e,t,n)=>{if(!n)return;let r=e.getXMLWriter();r.pushDefaultNamespace(`a`),typeof n==`string`&&(n={runs:[{text:n}]}),r.start(`p`),r.empty(`pPr`,{algn:`ctr`});let i=Tt(0,n,{...kt,size:t.getDefaultFontSize()}),a=n?.runs,o=a?a.length:0;if(o>0)for(let e=0;e<o;e++){let n=a[e];r.start(`r`,{});let i=Tt(0,n,kt),o=n.color;o?(r.start(`rPr`,i),H(0,r,o,t),r.end(`rPr`)):r.empty(`rPr`,i),r.start(`t`),r.text(n?.text??``),r.end(`t`),r.end(`r`)}else r.empty(`endParaRPr`,i);r.end(`p`),r.popDefaultNamespace()})(e,t,n),r.popDefaultNamespace(),r.end(`txBody`)},Dt=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter(),i=Tt(0,n);r.empty(`defRPr`,i)},Ot=(e,t,n)=>{if(!n)return;let r=e.getXMLWriter(),{spAutoFit:i,...a}=n;i?(r.start(`bodyPr`,a),r.empty(`spAutoFit`),r.end(`bodyPr`)):r.empty(`bodyPr`,a)},kt=Object.freeze({lang:`en-US`}),At=(e,t)=>{if(t.length!==0){e.start(`a:extLst`);for(let n of t){let t={},r=n[0];r&&(t.uri=r),e.start(`a:ext`,t),e.empty(n[1],n[2]),e.end(`a:ext`)}e.end(`a:extLst`)}},jt=async(e,t,n,r,i)=>{let a,o=e.getSharedStates(),s=r.getContent().getResource(),c=await s.getExternalURI();if(c)a=e.addExternal(U,c);else if(a=n.get(s),!a){let t=o.get(W);t||(t=new Map,o.set(W,t));let r=t.get(s);if(!r){let e=await s.toBuffer();r={bytes:new Uint8Array(e),type:await s.getType()??Ne,index:t.size+1},t.set(s,r)}a=e.addBinary(r.bytes,r.type.mime,U,`../media/image${r.index}.${r.type.ext}`,!0),n.set(s,a)}let l={"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`};c?l[`r:link`]=a.relId:l[`r:embed`]=a.relId;let u=[];c||u.push([`{28A0092B-C50C-407E-A947-70E740481C1C}`,`a14:useLocalDpi`,{"xmlns:a14":`http://schemas.microsoft.com/office/drawing/2010/main`,val:`0`}]);let d=e.getXMLWriter();d.start(`pic`),d.start(`nvPicPr`),zt(e,d,r,i,t),Vt(e,d,r,i),d.end(`nvPicPr`),d.start(`blipFill`),d.start(`a:blip`,l),At(d,u),d.end(`a:blip`),d.start(`a:stretch`),d.empty(`a:fillRect`),d.end(`a:stretch`),d.end(`blipFill`),Lt(e,t,n,r,i),d.end(`pic`)},Mt=async(e,t,n,r,i,a)=>{let o=i.content?.json,s=o?.xml,c=o?.part;if(!s||!c)return Q(e,t,n,r,i);let l=await ie(c,e,`../charts/chart{n}.xml`);if(!l?.relId)return Q(e,t,n,r,i);let u=l.relId===c.id?s:s.replace(`r:id="${c.id}"`,`r:id="${l.relId}"`);a!==void 0&&typeof i.content?.json?.sourceId==`number`&&(u=u.replace(`cNvPr id="${i.content.json.sourceId}"`,`cNvPr id="${a}"`)),e.getXMLWriter().raw(u)},Nt=async(e,t,n,r,i)=>Q(e,t,n,r,i),Pt=async(e,t,n,r,i)=>Q(e,t,n,r,i),Ft=async(e,t,n,r,i)=>Q(e,t,n,r,i),It=async(e,t,n,r,i,a)=>{let o=i.content?.json,s=o?.xml;if(!s)return Q(e,t,n,r,i);let c=a!==void 0&&typeof o?.sourceId==`number`?s.replace(`cNvPr id="${o.sourceId}"`,`cNvPr id="${a}"`):s;e.getXMLWriter().raw(c)},Q=async(e,t,n,r,i)=>{(async(e,t,n,r,i)=>{let a=e.getXMLWriter(),o={},s=i.content?.json,c=s?.type??`sp`,l=t.getStyles();c===`cxnSp`?(o.macro=``,a.start(`cxnSp`,o),a.start(`nvCxnSpPr`),zt(e,a,r,i,t),Bt(e,a,r,i,t),a.start(`cNvCxnSpPr`),a.empty(`a:stCnx`,{id:`0`,idx:`0`}),a.end(`cNvCxnSpPr`),a.end(`nvCxnSpPr`),Lt(e,t,n,r,i),Rt(e,t,n,r,i),Et(e,l,s?.text),a.end(`cxnSp`)):c===`grpSp`||(o.macro=``,o.textlink=``,a.start(`sp`,o),a.start(`nvSpPr`),zt(e,a,r,i,t),Bt(e,a,r,i,t),a.end(`nvSpPr`),Lt(e,t,n,r,i),Rt(e,t,n,r,i),Et(e,l,s?.text),a.end(`sp`))})(e,t,n,r,{...i,content:{type:`shape`,name:i.content?.name,description:i.content?.description,json:{fill:`bg1`,stroke:{width:2,fill:`red`},text:{runs:[{text:`Unsupported Type: `+(i.content?.type??`unknown`),color:`tx1`}]}}}})},Lt=(e,t,n,r,i)=>{let a=e.getXMLWriter(),o=i.content?.json,s=o?.geometry??`rect`,c=t.getStyles();a.start(`spPr`),a.pushDefaultNamespace(`a`),Ht(a,r,i),a.start(`prstGeom`,{prst:s}),a.empty(`avLst`),a.end(`prstGeom`),ke(e,c,o),a.popDefaultNamespace(),a.end(`spPr`)},Rt=(e,t,n,r,i)=>{let a=e.getXMLWriter();a.start(`style`),a.pushDefaultNamespace(`a`),a.start(`lnRef`,{idx:`1`}),a.start(`schemeClr`,{val:`accent1`}),a.empty(`shade`,{val:`15000`}),a.end(`schemeClr`),a.end(`lnRef`),a.start(`fillRef`,{idx:`1`}),a.empty(`schemeClr`,{val:`accent1`}),a.end(`fillRef`),a.start(`effectRef`,{idx:`0`}),a.empty(`schemeClr`,{val:`accent1`}),a.end(`effectRef`),a.start(`fontRef`,{idx:`minor`}),a.empty(`schemeClr`,{val:`lt1`}),a.end(`fontRef`),a.popDefaultNamespace(),a.end(`style`)},zt=(t,n,r,i,a)=>{let o=t.getSharedStates(),s=o.get(`uniqueIdCounter`);s||(s=new Map,o.set(`uniqueIdCounter`,s));let c=s.get(a)??1;c++,s.set(a,c);let l={id:``+c,name:i.content?.name};i.content?.description&&(l.descr=i.content.description),i.hidden&&(l.hidden=`1`);let u=[];u.push([`{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}`,`a16:creationId`,{"xmlns:a16":`http://schemas.microsoft.com/office/drawing/2014/main`,id:`{${e.I.uuidV4().toUpperCase()}}`}]),n.start(`cNvPr`,l),At(n,u),n.end(`cNvPr`)},Bt=(e,t,n,r,i)=>{t.empty(`cNvSpPr`)},Vt=(e,t,n,r)=>{let i={};if(r.lockAspect&&(i.noChangeAspect=`1`),r.locks)for(let e of Object.keys(r.locks))!0===r.locks[e]&&(i[e]=`1`);t.start(`cNvPicPr`,{}),t.empty(`a:picLocks`,i),t.end(`cNvPicPr`)},Ht=(e,t,n)=>{let r=t.getBounds(),i={},a=n.rotation;a!==void 0&&a!==0&&(i.rot=``+q(a)),e.start(`xfrm`,i),e.start(`off`,{x:K(r.x),y:K(r.y)}),e.end(`off`),e.start(`ext`,{cx:K(r.width),cy:K(r.height)}),e.end(`ext`),e.end(`xfrm`)},Ut=(e,t,n)=>{e.start(t),e.start(`col`),e.text(n.c??0),e.end(`col`),e.start(`colOff`),e.text(K(n.x)),e.end(`colOff`),e.start(`row`),e.text(n.r??0),e.end(`row`),e.start(`rowOff`),e.text(K(n.y)),e.end(`rowOff`),e.end(t)},Wt=async(e,t,n)=>{let r=await n.getExternalURI();if(r)return void e.addExternal(U,r);let i=e.getSharedStates(),a=i.get(W);a||(a=new Map,i.set(W,a));let o=a.get(n);if(!o){let e=await n.toBuffer();o={bytes:new Uint8Array(e),type:await n.getType()??Ne,index:a.size+1},a.set(n,o)}let s=e.addBinary(o.bytes,o.type.mime,U,`../media/image${o.index}.${o.type.ext}`,!0,t);s.relId!==t&&e.log(`Legacy drawing image '${t}' was written as '${s.relId}'; the markup will not find it.`)};function Gt(e){return e.toISOString().substring(0,22)}function Kt(e,t,n,r,a,o,s,c,l){let u={ref:t,dT:Gt(a??new Date),personId:r?$(r):void 0,id:$(n),parentId:s?$(s):void 0,done:c?`1`:void 0};if(e.start(`threadedComment`,u),e.start(`text`,i.i.test(o)||/[\n\r]/.test(o)?i.c:void 0),e.text(o),e.end(`text`),l&&l.length>0){e.start(`mentions`);for(let t=0;t<l.length;t++){let n=l[t];e.empty(`mention`,{mentionpersonId:$(n.personId),mentionId:$(n.id),startIndex:n.startIndex??0,length:n.length??0})}e.end(`mentions`)}e.end(`threadedComment`)}function $(e){return`{${e.replace(/^\{|\}$/g,``).toUpperCase()}}`}var qt=0,Jt=(e,t,r,a)=>{let o=e.getSharedStates().get(i.H);if(!o)return a;try{let e=t.getDataRange().getCoords(),i={rowIndex:e.rowStart,colIndex:e.colStart+r},s=o.parse(a,i);return s&&n.C.image(o.spell(s,!1,t.getName()),{at:i})||a}catch{return a}},Yt=new Map([[101,`average`],[102,`countNums`],[103,`count`],[104,`max`],[105,`min`],[107,`stdDev`],[109,`sum`],[110,`var`]]),Xt={rowIndex:0,colIndex:0};function Zt(e,r,i,a){if(a==null)return;Xt.rowIndex=r,Xt.colIndex=i;let o,s,c=n.Rt.cellToString(Xt);switch(typeof a){case`number`:s=``+a;break;case`boolean`:o=`b`,s=a?`1`:`0`;break;case`string`:o=`str`,s=a;break;default:{let e=a;if(e.t!==`e`)return;o=`e`,s=t.i.getBuiltInByCode(e.v)?.getLabel()??t.i.BuiltIn.Value.getLabel()}}e.start(`cell`,o?{r:c,t:o}:{r:c}),e.start(`v`),e.text(s),e.end(`v`),e.end(`cell`)}var Qt=(e,t,n,r,i,a=`0`)=>{let o=i?.color,s={idx:i?.idx??a};o===void 0?t.empty(r,s):(t.start(r,s),o===`auto`?t.empty(`styleClr`,{val:`auto`}):(t.pushDefaultNamespace(`a`),R(t,n.getTheme(),o),t.popDefaultNamespace()),t.end(r))},$t=Object.freeze([{type:`axisTitle`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:10,kern:12}},{type:`categoryAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:9,kern:12}},{type:`chartArea`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`},fill:{type:`solid`,color:`bg1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:10,kern:12}},{type:`dataLabel`,fontRef:{color:`tx1 lumMod 75 lumOff 25`},defRPr:{size:9,kern:12}},{type:`dataLabelCallout`,fontRef:{color:`dk1 lumMod 65 lumOff 35`},fill:{type:`solid`,color:`lt1`},stroke:{fill:`dk1 lumMod 25 lumOff 75`},defRPr:{size:9,kern:12},bodyPr:{rot:`0`,spcFirstLastPara:`1`,vertOverflow:`clip`,horzOverflow:`clip`,vert:`horz`,wrap:`square`,lIns:`36576`,tIns:`18288`,rIns:`36576`,bIns:`18288`,anchor:`ctr`,anchorCtr:`1`,spAutoFit:`true`}},{type:`dataPoint`,fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`}},{type:`dataPoint3D`,fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`}},{type:`dataPointLine`,lineRef:{color:`auto`},fillRef:{idx:`1`},fontRef:{color:`tx1`},stroke:{width:2.25,cap:`rnd`,fill:`phClr`,round:!0}},{type:`dataPointMarker`,lineRef:{color:`auto`},fillRef:{idx:`1`,color:`auto`},fontRef:{color:`tx1`},stroke:{width:.75,fill:`phClr`}},{type:`dataPointMarkerLayout`,mods:{symbol:`circle`,size:`5`},empty:!0},{type:`dataPointWireframe`,lineRef:{color:`auto`},fillRef:{idx:`1`},fontRef:{color:`tx1`},stroke:{width:.75,cap:`rnd`,fill:`phClr`,round:!0}},{type:`dataTable`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},fill:{type:`none`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`},defRPr:{size:9,kern:12}},{type:`downBar`,fontRef:{color:`tx1`},fill:{type:`solid`,color:`dk1 lumMod 75 lumOff 25`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`dropLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`errorBar`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`floor`,fontRef:{color:`tx1`},fill:{type:`none`},stroke:{}},{type:`gridlineMajor`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 15 lumOff 85`}},{type:`gridlineMinor`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 5 lumOff 95`}},{type:`hiLoLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 50 lumOff 50`}},{type:`leaderLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`legend`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`plotArea`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`}},{type:`plotArea3D`,mods:{mods:`allowNoFillOverride allowNoLineOverride`},fontRef:{color:`tx1`}},{type:`seriesAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`seriesLine`,fontRef:{color:`tx1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 35 lumOff 65`}},{type:`title`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:14,b:!1,kern:12,spc:0,baseline:0}},{type:`trendline`,lineRef:{color:`auto`},fontRef:{color:`tx1`},stroke:{width:1.5,cap:`rnd`,fill:`phClr`,prstDash:`sysDot`}},{type:`trendlineLabel`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`upBar`,fontRef:{color:`tx1`},fill:{type:`solid`,color:`lt1`},stroke:{width:.75,cap:`flat`,cmpd:`sng`,algn:`ctr`,round:!0,fill:`tx1 lumMod 65 lumOff 35`}},{type:`valueAxis`,fontRef:{color:`tx1 lumMod 65 lumOff 35`},defRPr:{size:9,kern:12}},{type:`wall`,fontRef:{color:`tx1`},fill:{type:`none`},stroke:{}}]),en=Object.freeze([[0,0],[6e4,0],[8e4,2e4],[8e4,0],[6e4,4e4],[5e4,0],[7e4,3e4],[7e4,0],[5e4,5e4]]),tn=[new class extends o{constructor(){super({kind:`workbook`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`,path:`/xl/workbook.xml`})}async emit(e,t){let r=t.getXMLWriter();r.decl(),r.start(`workbook`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x15 xr xr6 xr10 xr2`,"xmlns:x15":`http://schemas.microsoft.com/office/spreadsheetml/2010/11/main`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,"xmlns:xr6":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision6`,"xmlns:xr10":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision10`,"xmlns:xr2":`http://schemas.microsoft.com/office/spreadsheetml/2015/revision2`});let o=t.getSharedStates().get(a),s=await e.toJSON({ignoreData:!0,resources:(e,t)=>(o?.set(t,e),null),includeHeaderStyles:!0,splitDirectBorders:!0});t.getSharedStates().set(i.H,i.q(s.names,function(e){let t=[],n=e.sheets??[];for(let e=0;e<n.length;e++){let r=n[e]?.sheet?.tables;if(r)for(let e=0;e<r.length;e++){let n=r[e],i=Array.isArray(n)?n[1]?.name:n?.v?.name;i&&t.push(String(i))}}return t}(s))),function(e,t){let n=e.getSharedStates().get(ce);n&&t.empty(`fileVersion`,n)}(t,r),function(e,t,n,r){let i={},a=n.getCodeName();a&&(i.codeName=a),n.getRuntime().isDate1904()&&(i.date1904=`1`),r.updateLinks&&(i.updateLinks=r.updateLinks),t.empty(`workbookPr`,i)}(0,r,e,s),function(e,t,n,r){let a=r.protection;if(!a||a.workbook)return;let o={};j(a.password??{},o,`workbook`),j(a.revisionsPassword??{},o,`revisions`);for(let e of i.n){let t=i.s(e,a[e.key]);t!==null&&(o[e.attribute]=t)}t.empty(`workbookProtection`,o)}(0,r,0,s),function(e,t,n){t.start(`bookViews`);let r=n.getView(),i={};r.isShowHorizontalScrollbar()||(i.showHorizontalScroll=`0`),r.isShowVerticalScrollbar()||(i.showVerticalScroll=`0`),r.isShowTabs()||(i.showSheetTabs=`0`);let a=r.getTabRatio();a!==600&&(i.tabRatio=a);let o=n.getSelectedSheet().getIndex();o!==0&&(i.activeTab=``+o),t.empty(`workbookView`,i),t.end(`bookViews`)}(0,r,e,s.view);let c=await(async(e,t)=>{let n=[],r=t?t.length:0;if(r===0)return n;let i=new Map;e.getSharedStates().set(`pivotCachePaths`,i);for(let a=0;a<r;a++){let r=t[a],o=r.cacheId,s=r.part;if(s?.xml&&!i.has(o))try{let t=await ie({...s,type:s.type||`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,contentType:s.contentType||`application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml`},e,`/xl/pivotCache/pivotCacheDefinition{n}.xml`);if(!t?.relId)continue;i.set(o,t.path),n.push({cacheId:o,relId:t.relId})}catch(t){e.log(`Unable to write the pivot cache ${o}; the pivot tables on it will be dropped.`,t)}}return n})(t,s.pivotCaches);(function(e,t){t.getComments().some(e=>!e.isNote())&&e.addPart(`persons`,t.getPeople())})(t,e),r.start(`sheets`);let l=t.getSharedStates(),u=e.getStrings().beginPersist();l.set(`persistStrings`,u);let d=new re;l.set(`metaCollector`,d);let f=new P(d,t.log.bind(t));l.set(`persistRichTypes`,f),l.set(M,new N(s.styles,e.getStyles()));try{let i=e.getSheets().getItems({visibility:n.Tt.Visibility.VeryHidden}),a=s.sheets,o=e.getSelectedSheet(),c=i.length,d=((e,t)=>{let n=Array(t),r=new Set,i=1;for(let a=0;a<t;a++){let t=e?.[a]?.sheetId;t===void 0||!Number.isInteger(t)||t<1||r.has(t)||(r.add(t),n[a]=t,t>=i&&(i=t+1))}for(let e=0;e<t;e++)if(n[e]===void 0){for(;r.has(i);)i++;r.add(i),n[e]=i++}return n})(a,c),f=((e,t,n)=>{let r=t.length,i=Array(r),a=new Set(n?.values()??[]),o=new Set;for(let a=0;a<r;a++){let r=e?.[a]?.sheetId;if(r===void 0||t[a]!==r)continue;let s=n?.get(r);s&&!o.has(s)&&(o.add(s),i[a]=s)}let s=1;for(let e=0;e<r;e++){if(i[e])continue;let t;do t=`xl/worksheets/sheet${s++}.xml`;while(a.has(t)||o.has(t));o.add(t),i[e]=t}return i})(a,d,l.get(le));for(let e=0;e<c;e++){let n=i[e],s=``+d[e],c={name:n.getName(),sheetId:s},l=n.getVisibility();l===`hidden`?c.state=`hidden`:l===`veryHidden`&&(c.state=`veryHidden`);let p=a[e].sheet;c[`r:id`]=t.addPart(`worksheet`,{model:n,isSelected:o===n,json:p,persistStrings:u},`/`+f[e]).relId,r.empty(`sheet`,c)}await t.waitEmit();let p=e.getTheme();t.addPart(`theme`,{model:p,json:s.theme}),await t.waitEmit(),t.addPart(`styles`,{styles:e.getStyles(),theme:e.getTheme(),json:s.styles}),await t.waitEmit();let m=await u.toJSONAsync();m&&m.length>0&&(t.addPart(`sharedStrings`,{model:m,json:m}),await t.waitEmit());let h=l.get(`persistRichTypes`);h?.hasAny()&&(t.addPart(`richValue`,h),t.addPart(`richValueStructure`,h),t.addPart(`richValueTypes`,null),await t.waitEmit());let g=l.get(`metaCollector`);g?.hasAny()&&(t.addPart(`metadata`,g),await t.waitEmit()),l.delete(`persistRichTypes`),l.delete(`metaCollector`),l.delete(`persistStrings`)}catch(e){throw e}finally{u.endPersist()}r.end(`sheets`),function(e,t,n){let r=n.externalBooks,i=r?r.length:0;if(i===0)return;let a=e.getSharedStates().get(ue),o=new Set;if(a)for(let e=0;e<i;e++)!r[e]&&a[e]&&o.add(a[e]);let s=[],c=1;for(let t=0;t<i;t++){let n=r[t];if(n){let t;do t=`xl/externalLinks/externalLink${c++}.xml`;while(o.has(t));s.push(e.addPart(`externalLink`,n,`/`+t).relId);continue}let i=a?.[t],l=i?e.addRelationship(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,i):null;l?s.push(l):e.log(`External link [${t+1}] cannot be written and is being dropped; later links will renumber.`)}if(s.length!==0){t.start(`externalReferences`);for(let e=0;e<s.length;e++)t.empty(`externalReference`,{"r:id":s[e]});t.end(`externalReferences`)}}(t,r,s),function(e,t,r,a){let o=e.getSharedStates().get(i.H),s=a.names,c=s?s.length:0;if(c===0)return;let l=a.externalBooks?.length??0,u=new Map,d=r.getSheets().getItems({visibility:n.Tt.Visibility.VeryHidden});for(let e=0;e<d.length;e++)u.set(d[e].getName().toLowerCase(),e);t.start(`definedNames`);for(let n=0;n<c;n++){let r=s[n],i={name:r.name};if(r.comment&&(i.comment=r.comment),r.scope){let t=u.get(r.scope.toLowerCase());t===void 0?e.log(`Defined name '${r.name}' is scoped to unknown sheet '${r.scope}'; writing it as global.`):i.localSheetId=``+t}r.hidden&&(i.hidden=`1`);let a=o.writeName(r.ref);for(let t of de(a))t>l&&e.log(`Defined name '${r.name}' cites external book [${t}], but only ${l} ${l===1?`is`:`are`} written; Excel will report the file as needing repair.`);t.start(`definedName`,i),t.text(a),t.end(`definedName`)}t.end(`definedNames`)}(t,r,e,s),function(e,t,n){let r=n.getCalculation().toJSON(),i={calcId:e.getSharedStates().get(`calcId`)??`191029`},a=(e,t)=>{let n=r[e];typeof n==`boolean`&&(i[t]=n?`1`:`0`)};if(r.calcMode){let e=fe[r.calcMode];e&&e!==`auto`&&(i.calcMode=e)}a(`fullCalcOnLoad`,`fullCalcOnLoad`),a(`calcOnSave`,`calcOnSave`),a(`calcCompleted`,`calcCompleted`),a(`fullPrecision`,`fullPrecision`),a(`forceFullCalc`,`forceFullCalc`),a(`concurrentCalc`,`concurrentCalc`),r.refMode&&(i.refMode=r.refMode),r.iterate&&(i.iterate=`1`),r.maxIteration!==void 0&&(i.iterateCount=String(r.maxIteration)),r.maxIterateChange!==void 0&&(i.iterateDelta=String(r.maxIterateChange)),t.empty(`calcPr`,i)}(t,r,e),function(e,t){if(t.length!==0){e.start(`pivotCaches`);for(let n=0;n<t.length;n++)e.empty(`pivotCache`,{cacheId:t[n].cacheId,"r:id":t[n].relId});e.end(`pivotCaches`)}}(r,c),function(e,t){let n=e.getSharedStates().get(`calcFeatures`)??`<ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext>`;t.start(`extLst`),t.raw(n),t.end(`extLst`)}(t,r),r.end(`workbook`),r.close()}},new class extends o{constructor(){super({kind:`worksheet`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`,path:()=>`/xl/worksheets/sheet{n}.xml`})}async emit(r,a){let o=a.getXMLWriter(),s=r.model,c=r.json;o.decl(),o.start(`worksheet`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x14ac`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`}),function(e,t,n){let r=n.getTabColor(),i=n.getCodeName(),a={};i&&(a.codeName=i),n.isConditionalFormatCalculationEnabled()||(a.enableFormatConditionsCalculation=`0`);let o=n.getOutlineSettings(),s={};o.summaryBelow||(s.summaryBelow=`0`),o.summaryRight||(s.summaryRight=`0`),o.showOutlineSymbols||(s.showOutlineSymbols=`0`),o.applyStyles&&(s.applyStyles=`1`);let c=Object.keys(s).length>0,l=!!r||c;if(l||Object.keys(a).length!==0){if(!l)return void t.empty(`sheetPr`,a);t.start(`sheetPr`,a),r&&B(t,n.getStyles().getTheme(),r,`tabColor`,!1),c&&t.empty(`outlinePr`,s),t.end(`sheetPr`)}}(0,o,s),function(t,n,r,a){let o=r.getUsedRange({features:[]}),s=o?o.getCoords():null,c=i.T,l=i.k,u=a.directStyles,d=u?u.length:0;for(let t=0;t<d;t++){let n=r.getRange(u[t][0]).getCoords();if(n.colEnd===l){let e=s?.colStart??0;n={...n,colStart:e,colEnd:e}}if(n.rowEnd===c){let e=s?.rowStart??0;n={...n,rowStart:e,rowEnd:e}}s=e.d.unionRanges(s,n)}let f=a.merges,p=f?f.length:0;for(let t=0;t<p;t++){let n=r.getRange(f[t]).getCoords();n.colEnd===l&&(n={...s},n.colStart=s?.colStart??0,n.colEnd=n.colStart),n.rowEnd===c&&(n={...n},n.rowStart=s?.rowStart??0,n.rowEnd=n.rowStart),s=e.d.unionRanges(s,n)}let m=`A1`;s&&(o=r.getRange(s),m=s.colStart===s.colEnd&&s.rowStart===s.rowEnd?o.getAddress():`${o.getIntersect({colStart:s.colStart,rowStart:s.rowStart,colEnd:s.colStart,rowEnd:s.rowStart}).getAddress()}:${o.getIntersect({colStart:s.colEnd,rowStart:s.rowEnd,colEnd:s.colEnd,rowEnd:s.rowEnd}).getAddress()}`),n.empty(`dimension`,{ref:m})}(0,o,s,c),function(e,t,r,i,a){let o=r.getView(),s=o.getTopLeft(),c=r.getRowHeaders().getIndex(s.top),l=r.getColumnHeaders().getIndex(s.left),u=n.Rt.cellToString({colIndex:l,rowIndex:c});t.start(`sheetViews`);let d={};o.isShowFormulas()&&(d.showFormulas=`1`),o.isShowColumnGridlines()||o.isShowRowGridlines()||(d.showGridLines=`0`),o.isShowColumnHeaders()||o.isShowRowHeaders()||(d.showRowColHeaders=`0`),o.isShowZeros()||(d.showZeros=`0`),o.isRightToLeft()&&(d.rightToLeft=`1`),a&&(d.tabSelected=`1`),u!==`A1`&&(d.topLeftCell=u);let f=o.getZoomScale();f!==100&&(d.zoomScale=f,d.zoomScaleNormal=f);let p=o.getGridLineColor();if(p){d.defaultGridColor=`0`;let e=p.toRGBA(),t=e.red,n=e.green,i=e.blue,a=r.getStyles().getIndexedColors(),o=a.length,s=0,c=Number.MAX_VALUE;for(let e=0;e<o;e++){let r=a[e].toRGBA(),o=(t-r.red)**2+(n-r.green)**2+(i-r.blue)**2;o<c&&(c=o,s=e)}d.colorId=``+s}d.workbookViewId=`0`;let m=r.getSelection().getCoords(),h=n.Rt.cellToString(m.cell),g={},_=o.getFreezePanes(),v=_.coords??{},y=v.colIndex??0,b=v.rowIndex??0;if(y>0||b>0){let e=_.topLeft??{},i=e.top??0,a=e.left??0,o=r.getRowHeaders().getIndex(i),c=r.getColumnHeaders().getIndex(a),l=y-c,u=b-o,f=Math.max(y,r.getColumnHeaders().getIndex(s.left+r.getColumnHeaders().getOffset(y)-a)),p=Math.max(b,r.getRowHeaders().getIndex(s.top+r.getRowHeaders().getOffset(b)-i)),m=n.Rt.cellToString({colIndex:c,rowIndex:o});m===`A1`?delete d.topLeftCell:d.topLeftCell=m,t.start(`sheetView`,d);let h={};if(l>0&&(h.xSplit=l),u>0&&(h.ySplit=u),h.topLeftCell=n.Rt.cellToString({colIndex:f,rowIndex:p}),h.state=`frozen`,y===0){h.activePane=`bottomLeft`,t.empty(`pane`,h);let e=n.Rt.cellToString({colIndex:f,rowIndex:o});e!==`A1`&&t.empty(`selection`,{activeCell:e,sqref:e}),g.pane=`bottomLeft`}else if(b===0){h.activePane=`topRight`,t.empty(`pane`,h);let e=n.Rt.cellToString({colIndex:c,rowIndex:p});e!==`A1`&&t.empty(`selection`,{activeCell:e,sqref:e}),g.pane=`topRight`}else{h.activePane=`bottomRight`,t.empty(`pane`,h),m!==`A1`&&t.empty(`selection`,{activeCell:m,sqref:m});let e=n.Rt.cellToString({colIndex:f,rowIndex:o});t.empty(`selection`,{pane:`topRight`,activeCell:e,sqref:e});let r=n.Rt.cellToString({colIndex:c,rowIndex:p});t.empty(`selection`,{pane:`bottomLeft`,activeCell:r,sqref:r}),g.pane=`bottomRight`}}else t.start(`sheetView`,d);g.activeCell=h;let x=m.ranges,S=x?x.length:0;if(S>0){let e=``;for(let t=0;t<S;t++){let r=x[t];t>0&&(e+=` `),e+=n.Rt.rangeToString(r)}g.sqref=e,(m.rangeIndex??0)>0&&(g.activeCellId=``+m.rangeIndex)}else h===`A1`?g=null:g.sqref=h;g&&t.empty(`selection`,g),t.end(`sheetView`),t.end(`sheetViews`)}(0,o,s,0,r.isSelected),function(e,t,n,r){let i=r.defaultColSize,a=r.defaultRowSize,o={};i!==void 0&&(o.defaultColWidth=i),o.defaultRowHeight=a??.75*n.getRowHeaders().getDefaultSize(),a!==void 0&&(o.customHeight=`1`),o[`x14ac:dyDescent`]=`0.25`,t.empty(`sheetFormatPr`,o)}(0,o,s,c);let l=!1===c.protection?.showFormulas?a.getSharedStates().get(`hiddenFormulaXfs`)??null:null;(function(e,t,r,a,o){let s=a.cols?n.Rt.refsToRuns(a.cols,!0):null,c=s?s.length:0;r.getEntireRange().getColumnEnd();let l=r.getColumnHeaders().getDefaultSizeNative(),u=o?o.getHiddenXf(0):0,d=1,f=e=>{u!==0&&e>=d&&t.empty(`col`,{min:d,max:e,width:l,style:u})};if(c>0||u!==0){t.start(`cols`);for(let e=0;e<c;e++){let n=s[e],r=n.min+1,a=i.k+1;if(r>a)continue;let c=Math.min(n.max+1,a);f(r-1),d=c+1;let u={min:r,max:c},p=n.value,m=p.sz;m===void 0?u.width=l:m!==0&&(u.width=Math.round(256*m)/256);let h=o?o.getHiddenXf(p.s??0):p.s;h&&(u.style=h),p.h!==void 0&&(u.hidden=1),p.csz&&(u.customWidth=1),p.l!==void 0&&(u.outlineLevel=p.l),p.cl!==void 0&&(u.collapsed=1),t.empty(`col`,u)}f(i.k+1),t.end(`cols`)}})(0,o,s,c,l),function(e,r,a,o,s,c){let l=e.getSharedStates(),u=l.get(`persistStrings`),d=l.get(`metaCollector`),f=l.get(`persistRichTypes`),p=0,m=0,h=a.getUsedRange(),g=0,_=o.rows?n.Rt.refsToRuns(o.rows,!1):null,v=_?_.length:0,y=_?.[v-1]?.max??-1,b=o.cols?n.Rt.refsToRuns(o.cols,!0):null,x=b?b.length:0,S=b?.[x-1]?.max??-1;if(h||v>0){let l=.75,h=o.defaultRowSize??a.getRowHeaders().getDefaultSize()*l,v=a.getStyles().getNormal().getBestFit().height*l,x=(e,t)=>{let n=_t;if(n.r=``+(e+1),n.s=void 0,n.customFormat=void 0,n.hidden=void 0,n.ht=void 0,n.customHeight=void 0,n.outlineLevel=void 0,n.collapsed=void 0,!t)return n;let r=t.value;r.s!==void 0&&(n.s=``+(c?c.getHiddenXf(r.s):r.s),n.customFormat=`1`),r.h&&(n.hidden=`1`);let i=r.csz??!1,a=r.sz??h;return(a!==v||i)&&(n.ht=``+a),i&&(n.customHeight=`1`),r.l!==void 0&&(n.outlineLevel=``+r.l),r.cl!==void 0&&(n.collapsed=``+r.cl),n},C=0,w=_?.[C]??null,T=w?.min??2**53-1,E=w?.max??2**53-1,D=w?.value?.s,O=-1,k=0,A=b?.[k]??null,ee=A?.min??2**53-1,te=A?.max??2**53-1,ne=A?.value?.s,j=(e,t=!1)=>{if(O!==e){for(O!==-1&&(r.end(`row`),k!==0&&(k=0,A=b?.[k]??null,ee=A?.min??2**53-1,te=A?.max??2**53-1,ne=A?.value?.s));O+1<=e;){O++,w&&O>E&&(w=_[++C]??null,w?(T=w.min,E=w.max,D=w.value?.s):(T=2**53-1,E=2**53-1,D=void 0)),O<T&&O<e&&(O=w?Math.min(T,e):e);let n=O<e||t&&O===e,i=x(O,w&&O>=T&&O<=E?w:null);n?r.empty(`row`,i):r.start(`row`,i)}if(e<O){let t=x(e,null);r.start(`row`,t)}}};r.setValidationDisabled(!0),r.start(`sheetData`);let M=[];M.push(((e,t,n)=>{if(!n)return[];let r=0;for(let i=0;i<n.length;i++){let a=n[i][0],o=t.getRange(a).getCoords();if(r+=(o.rowEnd-o.rowStart+1)*(o.colEnd-o.colStart+1),r>$e)return e.warn(`Direct styles cover more than ${$e} cells; not writing the styles from '${a}' on. A range that size belongs in a column or row style.`),n.slice(0,i)}return n})(e,a,o.directStyles));let N=o.formulas,re=N?N.length:0;if(re>0){let t=new Map;if(s.names.size>0&&o.formulaArray)for(let e of o.formulaArray)try{let n=a.getRange(e[0]).getCoords();t.set(`${n.rowStart},${n.colStart}`,n)}catch{}let r=[];if(o.formulaArray)for(let e of o.formulaArray)try{r.push(a.getRange(e[0]).getCoords())}catch{}let c=e=>{for(let t=0;t<r.length;t++){let n=r[t];if(n.rowStart<=e.rowEnd&&n.rowEnd>=e.rowStart&&n.colStart<=e.colEnd&&n.colEnd>=e.colStart)return!0}return!1},l=e.getSharedStates().get(`xlsxFormulaDialect`)??i.q(a.getCalculation().getNamedFormulas().toJSON(),a.getTables().getItems().map(e=>e.getName())),u=a.getEntireRange().getCoords(),d=[];for(let e of a.getTables().getItems())d.push([e.getRange().getCoords(),e.getName()]);let f=(e,t)=>{for(let n=0;n<d.length;n++){let r=d[n][0];if(e>=r.rowStart&&e<=r.rowEnd&&t>=r.colStart&&t<=r.colEnd)return d[n][1]}return null},p=new Set;for(let e=0;e<r.length;e++)p.add(`${r[e].rowStart},${r[e].colStart}`);let m=[];for(let r=0;r<re;r++){let o=N[r];try{let e=o[0],d=a.getRange(e),h=d.getCoords(),_=o[1],v=null,y={rowIndex:h.rowStart,colIndex:h.colStart},b=l.parse(_,y),x=b?l.annotate(b):void 0,S=b?l.spell(b,p.has(`${h.rowStart},${h.colStart}`),f(h.rowStart,h.colStart)):null,C=S?n.C.imager(S,{entireCoords:u}):null;C&&(_=C(y));let w=!0===x?.cm,T=!0===x?.ca;if(s.affects(r)){v=null,w=!1;let e=(e,t,r)=>{let i={rowStart:e,colStart:t,rowEnd:e,colEnd:t};m.push([i,{coords:i,formula:r,sharedId:null,ref:n.Rt.rangeToString(i),isDynamicRange:!1,isWrapped:!0}])},r=t.get(`${h.rowStart},${h.colStart}`),o=r!==void 0&&(r.rowEnd>r.rowStart||r.colEnd>r.colStart),s=!1;if(o){let t=i.it(_,d.getCell().getValue());if(t!==null)for(let o=r.rowStart;o<=r.rowEnd;o++)for(let c=r.colStart;c<=r.colEnd;c++){if(o===r.rowStart&&c===r.colStart){e(o,c,t),s=!0;continue}let l=i.d(a.getRange(n.Rt.rangeToString({rowStart:o,colStart:c,rowEnd:o,colEnd:c})).getCell().getValue());l!==null&&e(o,c,l)}}else d.forEach((t,n)=>{let r=n.getCoords(),a=i.it(C?.(r)??_,n.getCell().getValue());a!==null&&(e(r.rowIndex,r.colIndex,a),s=!0)},{includeEmpty:!0});if(s)continue}let E=_.indexOf(`!`)!==-1||_.indexOf(`[`)!==-1;w||d.isSingleCell()||E||c(h)||(v=``+g++);let D=v!==null||d.isSingleCell()?null:C,O=[h,{coords:h,formula:_,sharedId:v,ref:e,isDynamicRange:w,isExcelVolatile:T,memberImage:D}];m.push(O)}catch(t){e.log(`Could not write the formula '${o[1]}' over '${o[0]}'; those cells are written as values only. ${t}`);continue}}M.push(m)}else M.push([]);let P=o.volatile,F=P?P.length:0;if(F>0){let e=Array(F);for(let t=0;t<F;t++){let n=P[t];try{e[t]=[a.getRange(n).getCoords(),!0]}catch(e){console.warn(`Failed to parse volatile: ${n}`,e);continue}}M.push(e)}else M.push([]);let I=o.formulaArray,L=I?I.length:0;if(L>0){let e=Array(L);for(let t=0;t<L;t++){let n=I[t];try{let r=n[0];e[t]=[a.getRange(r).getCoords(),{ref:r,kind:n[1]??`dynamic`}]}catch(e){console.warn(`Failed to parse formula array: ${n}`,e);continue}}M.push(e)}else M.push([]);a.getEntireRange().forEach((n,a)=>{let o=a.getCoords(),s=o.rowIndex,l=o.colIndex;O!==s&&j(s);let h=a.getInjectedReference(0);if(h===void 0&&D!==void 0&&s>=T&&s<=E&&(h=D),h===void 0){for(;l<=S&&l>te;)k++,A=b?.[k]??null,ee=A?.min??2**53-1,te=A?.max??2**53-1,ne=A?.value?.s;ne!==void 0&&l>=ee&&l<=te&&(h=ne)}let g=a.getType(),_=null;re>0&&(_=a.getInjectedReference(1)??null);let v=!1;F>0&&(v=a.getInjectedReference(2)??!1);let y=null;L>0&&(y=a.getInjectedReference(3)??null);let x=y?.kind===`error`,C=y?.kind===`fixed`,w=gt;w.r=a.getAddress(),w.s=void 0,w.t=void 0,w.cm=void 0,w.vm=void 0,c&&(h=c.getHiddenXf(h??0)),h!==void 0&&h!==0&&(w.s=``+h);let M=null,N=null;switch(g){case t.t.Boolean:M=n?`1`:`0`,N=`b`;break;case t.t.Error:let e=n.getCode();if(N=`e`,e>7)M=t.i.BuiltIn.Value.getLabel(),w.vm=``+f.add(n);else if(e<1){let e;N=`s`,_?(e=`=`+_.formula,_=null):e=``+n.getLabel(),M=``+u.add(e),p++}else M=``+n.getLabel();break;case t.t.Number:M=``+n,N=null;break;case t.t.String:M=n,_?(N=`str`,M=n):(N=`s`,M=``+u.add(M),p++);break;case t.t.RichData:N=`e`,M=t.i.BuiltIn.Value.getLabel(),w.vm=``+f.add(n)}N&&(w.t=N);let P=!_?.isWrapped&&(y!==null||(_?.isDynamicRange??!1));if(_!==null||M!==null){if(P&&_!==null&&!C&&(w.cm=``+d.registerArrayCell(x)),r.start(`c`,w),_){let e=s===_.coords.rowStart&&l===_.coords.colStart,t=_.formula;_.memberImage&&!e&&(t=_.memberImage({rowIndex:s,colIndex:l}));let n,i=null,a=_.sharedId;if(a){n=yt;let e=_.coords;e.colStart===l&&e.rowStart===s?(n.ref=_.ref,n.si=a,i=_.formula):(n.ref=void 0,n.si=a)}else P?(n=bt,n.aca=x?`1`:void 0,n.ref=x?w.r:y?.ref??w.r,i=t):(n=vt,i=t);n.ca=v||x||_.isExcelVolatile?`1`:void 0,i?(r.start(`f`,n),r.text(i),r.end(`f`)):r.empty(`f`,n)}M!==null&&(N===`str`&&M?(r.start(`v`,i.i.test(M)?i.c:void 0),r.text(i.p(M))):(r.start(`v`),M&&r.text(M)),r.end(`v`)),r.end(`c`)}else m++<$e?r.empty(`c`,w):m===1048577&&e.warn(`Reached ${$e} style-only cells at '${w.r}'; not writing the rest.`)},{injectReferences:M,features:[]}),O!==-1&&O>=y?r.end(`row`):j(y,!0),r.end(`sheetData`),r.setValidationDisabled(!1)}else r.empty(`sheetData`);if(p>0){let e=l.get(`stringsCount`)??0;l.set(`stringsCount`,e+p)}}(a,o,s,c,await(async(e,t)=>{let r=t?t.length:0;if(r===0)return Qe;let a=new Set,o=Array(r);for(let e=0;e<r;e++){o[e]=null;try{let r=n.C.parse(t[e][1]);if(!r)continue;let i=null,s=e=>{let t=null;e.type===`function`?t=String(e.value):e.type===`call`&&e.inputs?.[0]?.type===`named`&&(t=String(e.inputs[0].value?.name??``)),t&&(t=t.toUpperCase(),a.add(t),(i??=new Set).add(t));let n=e.inputs;if(n)for(let e=0;e<n.length;e++)n[e]&&s(n[e])};s(r),o[e]=i}catch{}}let s=e.getWorkbook();if(!s)return Qe;let c=await i.r(s,a);return c.size===0?Qe:{names:c,perFormula:o,affects:e=>{let t=o[e];if(!t)return!1;for(let e of t)if(c.has(e))return!0;return!1}}})(s,c.formulas),l),function(e,t,n,r){let a=r.protection;if(!a)return;let o={};a.sheet||j(a.password??{},o);for(let e of i.F){let t=i.s(e,a[e.key]);t!==null&&(o[e.attribute]=t)}t.empty(`sheetProtection`,o)}(0,o,0,c),function(e,t,n,r){let i=r.protectedRanges,a=i?i.length:0;if(a===0)return;let o=[];for(let t=0;t<a;t++){let n,r,a=i[t];Array.isArray(a)?(n=a[0],r=a[1]):(n=a.r,r=a.v);let s=ot(n);if(!s||!r){e.log(`Skipping protectedRange with no range.`);continue}if(!r.name){e.log(`Skipping protectedRange with no name.`);continue}let c={};j(r.password??{},c),c.sqref=s,c.name=r.name,r.securityDescriptor&&(c.securityDescriptor=r.securityDescriptor),o.push(c)}if(o.length!==0){t.start(`protectedRanges`);for(let e=0;e<o.length;e++)t.empty(`protectedRange`,o[e]);t.end(`protectedRanges`)}}(a,o,0,c);let u=c.autoTable;if(u){let e,t=u;e=Array.isArray(t)?t[1]:t.v,Ye(a,o,s.getAutoTable(),e,!0)}(function(e,t,r,i){let a=i.merges?i.merges.length:0;if(a>0){t.start(`mergeCells`,{count:a});for(let e=0;e<a;e++){let r=i.merges[e],a=typeof r==`string`?r:n.Rt.rangeToString(r);t.empty(`mergeCell`,{ref:a})}t.end(`mergeCells`)}})(0,o,0,c);let d=function(t,r,a,o){let s=[],c=o.conditionals,l=c?c.length:0;if(l===0)return s;let u=t.getSharedStates(),d=u.get(Ie);d||(d=new Fe,u.set(Ie,d));let f=a.getStyles().getTheme(),p=u.get(i.H),m=null,h=0;for(let a=0;a<l;a++){let o,l,u=c[a];Array.isArray(u)?(o=u[0],l=u[1]):(o=u.r,l=u.v);let g=ot(o);if(!g||!l){t.log(`Skipping conditionalFormatting with no range.`);continue}let _=lt(g),v=dt(l.scale,_,p);v!==l.scale&&(l={...l,scale:v});let y=v?{type:v.type}:i.Z(l.condition,at(g),(e,n)=>t.warn(e,void 0,n));y?(y.formulas&&=y.formulas.map(e=>ut(e,_,p)),v?.type===n.sn.ScaleType.IconSet&&rt(v)?(h++,s.push({guid:i.tt(e.I.uuidV4),sqref:g,priority:h,scale:v})):v||!ct(y)?(g!==m&&(m!==null&&r.end(`conditionalFormatting`),r.start(`conditionalFormatting`,{sqref:g,pivot:l.pivot?`1`:void 0}),m=g),h++,it(t,r,f,l,y,g,h,d,s)):(h++,s.push({guid:i.tt(e.I.uuidV4),sqref:g,priority:h,rule:y,style:l.style,stopIfTrue:l.stopIfTrue}))):l.condition||t.log(`Skipping conditional format with neither a condition nor a scale.`)}return m!==null&&r.end(`conditionalFormatting`),s}(a,o,s,c),f=function(e,t,n,r){let a=[],o=e.getSharedStates().get(i.H),s=r.validations,c=s?s.length:0;if(c===0)return a;let l=[];for(let t=0;t<c;t++){let n,r,c=s[t];Array.isArray(c)?(n=c[0],r=c[1]):(n=c.r,r=c.v);let u=ot(n);if(!u||!r){e.log(`Skipping dataValidation with no range.`);continue}r.ext&&e.warn(`DataValidation extension payload is not written to xlsx; it will be lost.`);let d=(t,n)=>e.warn(t,void 0,n),f=i.ot(r.condition,d),{type:p,operator:m}=f??{},h=lt(u),g=ut(f?.formula1,h,o),_=ut(f?.formula2,h,o),v={type:p,operator:m,allowBlank:X(r.condition?.includeBlanks??!1),showDropDown:r.hideDropdown?`1`:void 0,showInputMessage:X(r.showPromptMessage),showErrorMessage:X(r.showAlertMessage),errorStyle:r.alertStyle??`stop`,errorTitle:i.o(r.alertTitle,`errorTitle`,d),error:i.o(r.alert,`error`,d),promptTitle:i.o(r.promptTitle,`promptTitle`,d),prompt:i.o(r.prompt,`prompt`,d),imeMode:r.imeMode};st(g)||st(_)?a.push({attrs:v,formula1:g,formula2:_,sqref:u}):(v.sqref=u,l.push({attrs:v,formula1:g,formula2:_}))}if(l.length===0)return a;t.start(`dataValidations`,{count:l.length});for(let e=0;e<l.length;e++){let{attrs:n,formula1:r,formula2:i}=l[e];r!==void 0||i!==void 0?(t.start(`dataValidation`,n),r!==void 0&&(t.start(`formula1`),t.text(r),t.end(`formula1`)),i!==void 0&&(t.start(`formula2`),t.text(i),t.end(`formula2`)),t.end(`dataValidation`)):t.empty(`dataValidation`,n)}return t.end(`dataValidations`),a}(a,o,0,c);(function(e,t,n,r){let i=r.hyperlinks,a=i?i.length:0;if(a!==0){t.start(`hyperlinks`);for(let n=0;n<a;n++){let r,a,o=i[n];Array.isArray(o)?(a=o[0],r=o[1]):(a=o.r,r=o.v),typeof r==`string`&&(r={address:r});let s=r.address??``,c=s.indexOf(`#`),l=c===-1?s:s.substring(0,c),u=c===-1?``:s.substring(c+1),d={};d.ref=a,l&&(d[`r:id`]=e.addExternal(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink`,l).relId),u&&(d.location=u),r.screenTip&&(d.tooltip=r.screenTip),t.empty(`hyperlink`,d)}t.end(`hyperlinks`)}})(a,o,0,c),function(e,t,n,r){let i=r.pageMargins;t.empty(`pageMargins`,{left:i?.left??.7,right:i?.right??.7,top:i?.top??.75,bottom:i?.bottom??.75,header:i?.header??.3,footer:i?.footer??.3})}(0,o,0,c),function(e,t,n,r){let i=r.movables?.filter(mt);if((i?i.length:0)===0||!i.some(e=>{let t=e.content?.type;if(t===`picture`||t===`chart`)return!0;if(t===`shape`){let t=e.content?.json?.type;return t===`sp`||t===`cxnSp`}return!1}))return;let a=n.getMovables().getItems().filter(e=>e.getContent().getType()!==`note`).filter((e,t)=>mt(r.movables[t])),o=e.addPart(`drawing`,{sheet:n,movables:a,jsonMovables:i,resources:n.getResources()});t.empty(`drawing`,{"r:id":o.relId})}(a,o,s,c);let p=function(e){let t=e.getComments().toArray();if(t.length===0)return null;let n=[];for(let e=0;e<t.length;e++){let r=t[e],i=Ee(r);i&&n.push({comment:r,...i})}return n.length===0?null:(n.sort((e,t)=>e.row-t.row||e.col-t.col),{sheet:e,comments:n})}(s);var m,h;ft(a,o,`legacyDrawing`,((e,t)=>{if(!t)return e;let n=e?.xml??null,r=i.x(n??``),a=[],o=t.comments;for(let e=0;e<o.length;e++){let{comment:n,row:s,col:c}=o[e],l=n.isNote()?n.toJSON():null,{bounds:u,anchor:d}=pt(t.sheet,n,s,c);a.push(i.Y(l?.box?.xml,{shapeId:++r,zIndex:e+1,row:s,col:c,anchor:d,bounds:u,visible:!!l?.shown,alt:l?.description}))}let s=i.L(n,a,r);return s?s===n?e:e?{...e,xml:s}:{xml:s}:e})(((e,t)=>{if(!e?.xml)return e;let n=t.movables;if(!n)return e;let r=new Map,i=n.length;for(let e=0;e<i;e++){let t=n[e];if(mt(t))continue;let i=t.content?.json?.shapeId;typeof i==`number`&&r.set(i,t)}if(r.size===0)return e;let a=e.xml.replace(/<v:shape\b[\s\S]*?<\/v:shape>/g,e=>{let t=/\bo:spid="_x0000_s(\d+)"/.exec(e)??/\bid="_x0000_s(\d+)"/.exec(e),n=t?r.get(parseInt(t[1],10)):void 0;if(!n)return e;let i=n.anchor,a=[i.tl.c,i.tl.r,i.br.c,i.br.r];return e.replace(/(<x:Anchor>)([\s\d,-]*)(<\/x:Anchor>)/,(e,t,n,r)=>{let i=n.split(`,`).map(e=>e.trim());if(i.length!==8)return e;let o=i.slice();for(let e=0;e<4;e++)o[2*e]=String(a[e]??0);return o.join(`,`)===i.join(`,`)?e:`${t}${o.join(`, `)}${r}`})});return a===e.xml?e:{...e,xml:a}})(c.legacyDrawing??null,c),p)),ft(a,o,`legacyDrawingHF`,c.legacyDrawingHF??null),await async function(e,t,n){let r=n.getPicture();if(!r)return;let i,a=r.getResource(),o=await a.getExternalURI();if(o)i=e.addExternal(U,o);else{let t=e.getSharedStates(),n=t.get(W);n||(n=new Map,t.set(W,n));let r=n.get(a);if(!r){let e=await a.toBuffer();r={bytes:new Uint8Array(e),type:await a.getType()??Ne,index:n.size+1},n.set(a,r)}i=e.addBinary(r.bytes,r.type.mime,U,`../media/image${r.index}.${r.type.ext}`,!0)}t.empty(`picture`,{"r:id":i.relId})}(a,o,s),await async function(e,t,n){let r=n.movables;if(!r||r.every(mt))return;let a=[],o=r.length;for(let t=0;t<o;t++){let n=r[t];if(mt(n))continue;let i,o=n.content?.json??{},s=o.part;if(s)try{i=(await ie(s.type?s:{...s,type:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp`},e,`../ctrlProps/ctrlProp{n}.xml`))?.relId??void 0}catch(t){e.log(`Unable to write the properties of the control '${n.content?.name}'`,t)}i?a.push({jsonMovable:n,jsonControl:o,relId:i}):e.log(`The control '${n.content?.name}' has no properties to write and was dropped.`)}if(a.length===0)return;t.start(`mc:AlternateContent`,{"xmlns:x14":i.J,"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`}),t.start(`mc:Choice`,{Requires:`x14`}),t.start(`controls`);let s=a.length;for(let e=0;e<s;e++){let{jsonMovable:n,jsonControl:r,relId:i}=a[e];t.start(`mc:AlternateContent`),t.start(`mc:Choice`,{Requires:`x14`}),t.start(`control`,{shapeId:r.shapeId,"r:id":i,name:n.content?.name??void 0});let o=n.anchorType??`twoCell`;t.start(`controlPr`,r.props),t.start(`anchor`,{moveWithCells:o===`absolute`?void 0:`1`,sizeWithCells:o===`twoCell`?`1`:void 0}),ht(t,`from`,n.anchor.tl),ht(t,`to`,n.anchor.br),t.end(`anchor`),r.xml&&t.raw(r.xml),t.end(`controlPr`),t.end(`control`),t.end(`mc:Choice`),t.end(`mc:AlternateContent`)}t.end(`controls`),t.end(`mc:Choice`),t.end(`mc:AlternateContent`)}(a,o,c),function(e,t,n,r){let i=r.tables,a=i?i.length:0;if(a===0)return;let o=n.getTables().getItems();t.start(`tableParts`,{count:a});for(let n=0;n<a;n++){let r,a,s=i[n];Array.isArray(s)?(a=s[0],r=s[1]):(a=s.r,r=s.v);let c=e.addPart(`table`,{json:r,model:o[n],ref:a}),l={};l[`r:id`]=c.relId,t.empty(`tablePart`,l)}t.end(`tableParts`)}(a,o,s,c),function(e,t,r,a,o){if(a.length===0&&o.length===0)return;let s=r.getStyles(),c=s.getTheme();if(t.start(`extLst`),a.length>0){t.start(`ext`,{uri:i.Q,"xmlns:x14":i.J}),t.start(`x14:conditionalFormattings`);for(let e=0;e<a.length;e++){let{guid:r,sqref:i,priority:o,scale:l,rule:u,style:d,stopIfTrue:f}=a[e];if(t.start(`x14:conditionalFormatting`,{"xmlns:xm":`http://schemas.microsoft.com/office/excel/2006/main`}),l)if(l.type===n.sn.ScaleType.DataBar){t.start(`x14:cfRule`,{type:`dataBar`,id:r}),t.start(`x14:dataBar`,{minLength:l.minLength,maxLength:l.maxLength,gradient:l.gradient?void 0:`0`,border:l.borderColor?`1`:void 0,direction:l.direction,negativeBarColorSameAsPositive:l.negativeFillColor?`0`:`1`,negativeBarBorderColorSameAsPositive:l.negativeBorderColor?`0`:void 0,axisPosition:l.axisPosition});let e=l.stops??[];if(e.length===0)tt(t,{type:n.sn.ColorStopType.AutoMin}),tt(t,{type:n.sn.ColorStopType.AutoMax});else for(let n=0;n<e.length;n++)tt(t,e[n]);l.borderColor&&B(t,c,l.borderColor,`x14:borderColor`),l.negativeFillColor&&B(t,c,l.negativeFillColor,`x14:negativeFillColor`),l.negativeBorderColor&&B(t,c,l.negativeBorderColor,`x14:negativeBorderColor`),l.axisColor&&B(t,c,l.axisColor,`x14:axisColor`),t.end(`x14:dataBar`),t.end(`x14:cfRule`)}else{t.start(`x14:cfRule`,{type:`iconSet`,priority:o,id:r}),t.start(`x14:iconSet`,{iconSet:l.iconSet,reverse:X(l.reverse),showValue:X(l.showValue),custom:(l.icon?.length??0)>0?`1`:void 0});let e=l.stops??[];for(let n=0;n<e.length;n++)tt(t,e[n]);let n=l.icon??[];for(let e=0;e<n.length;e++)t.empty(`x14:cfIcon`,{iconSet:n[e].set,iconId:n[e].id});t.end(`x14:iconSet`),t.end(`x14:cfRule`)}else{t.start(`x14:cfRule`,{type:u.type,priority:o,stopIfTrue:X(f),aboveAverage:X(u.aboveAverage),equalAverage:X(u.equalAverage),stdDev:u.stdDev,bottom:X(u.bottom),percent:X(u.percent),rank:u.rank,operator:u.operator,text:u.text,timePeriod:u.timePeriod,id:r});let e=u.formulas??[];for(let n=0;n<e.length;n++)t.start(`xm:f`),t.text(e[n]),t.end(`xm:f`);d&&Object.keys(d).length>0&&We(0,t,d,s,c,`x14:dxf`),t.end(`x14:cfRule`)}t.start(`xm:sqref`),t.text(i),t.end(`xm:sqref`),t.end(`x14:conditionalFormatting`)}t.end(`x14:conditionalFormattings`),t.end(`ext`)}if(o.length>0){t.start(`ext`,{uri:i.I,"xmlns:x14":i.J}),t.start(`x14:dataValidations`,{"xmlns:xm":i.y,count:o.length});for(let e=0;e<o.length;e++){let{attrs:n,formula1:r,formula2:i,sqref:a}=o[e];t.start(`x14:dataValidation`,n),r!==void 0&&(t.start(`x14:formula1`),t.start(`xm:f`),t.text(r),t.end(`xm:f`),t.end(`x14:formula1`)),i!==void 0&&(t.start(`x14:formula2`),t.start(`xm:f`),t.text(i),t.end(`xm:f`),t.end(`x14:formula2`)),t.start(`xm:sqref`),t.text(a),t.end(`xm:sqref`),t.end(`x14:dataValidation`)}t.end(`x14:dataValidations`),t.end(`ext`)}t.end(`extLst`)}(0,o,s,d,f),function(e,t){let n=t.pivotTables,r=n?n.length:0;for(let t=0;t<r;t++){let r=n[t],i=r.part;i?.xml&&(se(e,r.cacheId)?e.addPart(`pivotTable`,r):e.log(`The pivot table '${i.name??``}' has no cache with id ${r.cacheId} and was dropped.`))}}(a,c),m=a,(h=p)&&(m.addPart(`comments`,h),h.comments.some(e=>!e.comment.isNote())&&m.addPart(`threadedComments`,h)),o.end(`worksheet`),o.close()}},new class extends o{constructor(){super({kind:`sharedStrings`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings`,path:`/xl/sharedStrings.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.json,a=r?r.length:0,o=t.getSharedStates().get(`stringsCount`)??0;n.decl(),n.start(`sst`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,count:o,uniqueCount:a});for(let e=0;e<a;e++){let t=r[e];n.start(`si`);let a=i.i.test(t)?i.c:void 0;n.start(`t`,a),n.text(i.p(t)),n.end(`t`),n.end(`si`)}n.end(`sst`),n.close()}},new class extends o{constructor(){super({kind:`theme`,contentType:`application/vnd.openxmlformats-officedocument.theme+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme`,path:`/xl/theme/theme{n}.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.model,i=e.json;n.decl(),n.pushDefaultNamespace(`a`),n.start(`theme`,{"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,name:r.getName()||`Office Theme`}),n.start(`themeElements`),function(e,t,n,r){let i=n?.getColorScheme();if(i){t.start(r,{name:i.getName()||`Office`});for(let e of he)t.start(e),R(t,n,i[`get`+e.charAt(0).toUpperCase()+e.slice(1)]()),t.end(e);t.end(r)}}(0,n,r,`clrScheme`),function(e,t,n,r){n&&(t.start(r,{name:n.getName()||`Office`}),xt(0,t,n.getMajorFont()||`Calibri Light`,`majorFont`),xt(0,t,n.getMinorFont()||`Calibri`,`minorFont`),t.end(r))}(0,n,r.getFontScheme(),`fontScheme`),function(e,t,n,r,i){i?.fillStyleLst&&i?.lnStyleLst&&i?.effectStyleLst&&i?.bgFillStyleLst?function(e,t,n,r,i){let a={getTheme:()=>r};t.start(n,{name:`Office`}),t.start(`fillStyleLst`);for(let e of i.fillStyleLst)H(0,t,e,a);t.end(`fillStyleLst`),t.start(`lnStyleLst`);for(let e of i.lnStyleLst)De(0,t,e,a);t.end(`lnStyleLst`),t.start(`effectStyleLst`);for(let n of i.effectStyleLst)t.start(`effectStyle`),n.length>0?Ae(e,t,r,n):t.empty(`effectLst`),t.end(`effectStyle`);t.end(`effectStyleLst`),t.start(`bgFillStyleLst`);for(let e of i.bgFillStyleLst)H(0,t,e,a);t.end(`bgFillStyleLst`),t.end(n)}(e,t,n,r,i):i?.formatSchemeXml?t.raw(i.formatSchemeXml):(t.start(n,{name:`Office`}),function(e,t){t.start(`fillStyleLst`),t.start(`solidFill`),t.empty(`schemeClr`,{val:`phClr`}),t.end(`solidFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`50000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`35000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`37000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`15000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`lin`,{ang:`16200000`,scaled:`1`}),t.end(`gradFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`51000`}),t.empty(`satMod`,{val:`130000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`80000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`93000`}),t.empty(`satMod`,{val:`130000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`94000`}),t.empty(`satMod`,{val:`135000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`lin`,{ang:`16200000`,scaled:`0`}),t.end(`gradFill`),t.end(`fillStyleLst`)}(0,t),function(e,t){t.start(`lnStyleLst`);let n=[9525,25400,38100];for(let e=0;e<3;e++)t.start(`ln`,{w:n[e].toString(),cap:`flat`,cmpd:`sng`,algn:`ctr`}),t.start(`solidFill`),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`95000`}),t.empty(`satMod`,{val:`105000`}),t.end(`schemeClr`),t.end(`solidFill`),t.empty(`prstDash`,{val:`solid`}),t.end(`ln`);t.end(`lnStyleLst`)}(0,t),function(e,t){t.start(`effectStyleLst`);for(let e=0;e<3;e++)t.start(`effectStyle`),t.start(`effectLst`),e===2&&(t.start(`outerShdw`,{blurRad:`40000`,dist:`20000`,dir:`5400000`,rotWithShape:`0`}),t.start(`srgbClr`,{val:`000000`}),t.empty(`alpha`,{val:`38000`}),t.end(`srgbClr`),t.end(`outerShdw`)),t.end(`effectLst`),t.end(`effectStyle`);t.end(`effectStyleLst`)}(0,t),function(e,t){t.start(`bgFillStyleLst`),t.start(`solidFill`),t.empty(`schemeClr`,{val:`phClr`}),t.end(`solidFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`40000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`40000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`45000`}),t.empty(`shade`,{val:`99000`}),t.empty(`satMod`,{val:`350000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`20000`}),t.empty(`satMod`,{val:`255000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`path`,{path:`circle`}),t.empty(`fillToRect`,{l:`50000`,t:`-80000`,r:`50000`,b:`180000`}),t.end(`gradFill`),t.start(`gradFill`,{rotWithShape:`1`}),t.start(`gsLst`),t.start(`gs`,{pos:`0`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`tint`,{val:`80000`}),t.empty(`satMod`,{val:`300000`}),t.end(`schemeClr`),t.end(`gs`),t.start(`gs`,{pos:`100000`}),t.start(`schemeClr`,{val:`phClr`}),t.empty(`shade`,{val:`30000`}),t.empty(`satMod`,{val:`200000`}),t.end(`schemeClr`),t.end(`gs`),t.end(`gsLst`),t.empty(`path`,{path:`circle`}),t.empty(`fillToRect`,{l:`50000`,t:`50000`,r:`50000`,b:`50000`}),t.end(`gradFill`),t.end(`bgFillStyleLst`)}(0,t),t.end(n))}(t,n,`fmtScheme`,r,i),n.end(`themeElements`),n.start(`objectDefaults`),n.end(`objectDefaults`),n.start(`extraClrSchemeLst`),n.end(`extraClrSchemeLst`),n.end(`theme`),n.close()}},new class extends o{constructor(){super({kind:`styles`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles`,path:`/xl/styles.xml`})}async emit(t,r){let i=r.getXMLWriter(),a=t.json,o=(t.theme,t.styles);i.decl(),i.start(`styleSheet`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x14ac x16r2 xr`,"xmlns:x14ac":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac`,"xmlns:x16r2":`http://schemas.microsoft.com/office/spreadsheetml/2015/02/main`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`});let s=function(e,t){let r=t?.direct;r&&r.length!==0||(r=[{}]);let i=r.length,a=Array(i);for(let t=0;t<i;t++){let i=t===0?{...r[t],named:n.X.BuiltInName.Normal}:r[t],o=e.resolve(i),s={};i.named!==void 0&&(s.named=i.named),i.quotePrefix!==void 0&&(s.quotePrefix=i.quotePrefix),i.protection!==void 0&&(s.protection=i.protection);for(let e=0;e<Le.length;e++){let t=Le[e];if(i[t]===void 0&&t!==`alignment`)continue;let n=o?.[t]??i[t];n!==void 0&&(s[t]=n)}a[t]=s}return a}(o,a),c=function(t,r,i){let a={fontMap:new Map,fonts:[],fillMap:new Map,fills:[],borderMap:new Map,borders:[],numFmtMap:new Map,numFmtsCustom:[],namedStyleMap:new Map,namedStyles:[]};(function(t,r){let i=(t.getNamedStyles().getByName(n.X.BuiltInName.Normal).toJSON().style??{}).font??{};r.fontMap.set(e.z.JSONStableStringify(i),`0`),r.fonts.push(i)})(t,a),function(t){let n={type:`none`};t.fillMap.set(e.z.JSONStableStringify(n),`0`),t.fills.push(n);let r={type:`pattern`,patternType:`gray125`};t.fillMap.set(e.z.JSONStableStringify(r),`1`),t.fills.push(r)}(a),function(t){let n={bottom:{style:`none`},left:{style:`none`},right:{style:`none`},top:{style:`none`}};t.borderMap.set(e.z.JSONStableStringify(n),`0`),t.borders.push(n)}(a),function(e,t){ze(e,e.getNamedStyles().getByName(n.X.BuiltInName.Normal).toJSON(),t)}(t,a);let o=r?.named??e.I.EmptyArray;for(let e of o)ze(t,e,a);for(let e of i)Re(t,e,a);return a}(o,a,s),l=r.getSharedStates().get(Ie),u=function(e,t=0){let n=e?.tables;if(!n)return null;let r=n.styles;if(!r)return null;let i=[],a=new Map,o=Object.keys(r),s=[...Ke].reverse();for(let e of o){let n=r[e];for(let r of s){let o=n[r];if(!o)continue;let s={};if(o.font&&(s.font=o.font),o.fill&&(s.fill=o.fill),o.borders&&(s.borders=o.borders),o.numberFormat!==void 0&&(s.numberFormat=o.numberFormat),Object.keys(s).length===0)continue;let c=t+i.length;i.push(s);let l=`${e}:${r}`;a.set(l,c)}}return{dxfs:i,dxfIndexMap:a}}(a,l?.getCount()??0);(function(e,t,n){let r=n.numFmtsCustom,i=r.length;if(i!==0){t.start(`numFmts`,{count:String(i)});for(let e=0;e<i;e++){let n=r[e];t.empty(`numFmt`,{numFmtId:String(e+Ge),formatCode:n})}t.end(`numFmts`)}})(0,i,c),function(e,t,n,r){let i=r.fonts,a=i.length;t.start(`fonts`,{count:String(a),"x14ac:knownFonts":`1`});for(let e of i)Be(0,t,e,n);t.end(`fonts`)}(0,i,o,c),function(e,t,n,r){let i=r.fills,a=i.length;t.start(`fills`,{count:String(a)});for(let e of i)H(0,t,e,n,!0);t.end(`fills`)}(0,i,o,c),function(e,t,n,r){let i=r.borders,a=i.length;t.start(`borders`,{count:String(a)});let o=n.getTheme();for(let e of i)Ve(0,t,e,o,!1);t.end(`borders`)}(0,i,o,c),function(t,n,r,i,a){let o=a.namedStyles,s=o.length;n.start(`cellStyleXfs`,{count:String(s)});for(let t of o)Ue(0,n,r,t.style??e.I.EmptyObject,a,!1);n.end(`cellStyleXfs`)}(0,i,o,0,c),function(e,t,n,r,i,a){let o=r.length,s=a?.getSources()??[];t.start(`cellXfs`,{count:String(o+s.length)});for(let e=0;e<o;e++)Ue(0,t,n,r[e],i,!0);for(let e=0;e<s.length;e++)Ue(0,t,n,r[s[e]],i,!0,!0);t.end(`cellXfs`)}(0,i,o,s,c,r.getSharedStates().get(M)),function(e,t,r,i,a){let o=a.namedStyles,s=o.length;t.start(`cellStyles`,{count:String(s)});let c=a.namedStyleMap;for(let e=0;e<s;e++){let i=o[e],a=i.name,s=a.toLowerCase(),l={name:a,xfId:c.get(s)};i.hidden&&(l.hidden=`1`),i.iLevel&&(l.iLevel=String(i.iLevel));let u=null;u=s===n.X.BuiltInName.Normal.toLowerCase()?0:r.getNamedStyles().getByName(a).getBuiltInID(),u!==null&&(l.builtinId=String(u),l.customBuiltin=`1`),t.empty(`cellStyle`,l)}t.end(`cellStyles`)}(0,i,o,0,c),function(e,t,n,r,i){let a=[...i?.getDxfs()??[],...r?.dxfs??[]];if(a.length===0)return void t.empty(`dxfs`,{count:`0`});let o=n.getTheme();t.start(`dxfs`,{count:String(a.length)});let s=Ge;for(let e of a)s=We(0,t,e,n,o,`dxf`,s);t.end(`dxfs`)}(0,i,o,u,l),function(e,t,n,r,i){let a=r?.tables,o=a?.styles??null,s=o?Object.keys(o):null,c=s?s.length:0,l={count:String(c),defaultTableStyle:a?.defaultTableStyle??`TableStyleMedium2`,defaultPivotStyle:a?.defaultPivotStyle??`PivotStyleLight16`};if(c!==0){t.start(`tableStyles`,l);for(let e of s){let n=o[e],r=[];for(let e of Ke){let t=n[e];t&&r.push([e,t])}let a={name:e,pivot:n.pivot?`1`:`0`,count:String(r.length)};t.start(`tableStyle`,a);for(let[n,a]of r){let r=`${e}:${n}`,o=i?.dxfIndexMap.get(r)??`0`,s={};s.type=n,a.size!==void 0&&(s.size=String(a.size)),s.dxfId=String(o),t.empty(`tableStyleElement`,s)}t.end(`tableStyle`)}t.end(`tableStyles`)}else t.empty(`tableStyles`,l)}(0,i,0,a,u),function(e,t,n,r){let i=r?.indexedColors&&r.indexedColors.length>0,a=r?.mruColors&&r.mruColors.length>0;if(i||a){if(t.start(`colors`),i){t.start(`indexedColors`);for(let e of r.indexedColors){let n=be(e,!0);t.empty(`rgbColor`,{rgb:n})}t.end(`indexedColors`)}if(a){t.start(`mruColors`);for(let e of r.mruColors){let n=be(e);t.empty(`color`,{rgb:n})}t.end(`mruColors`)}t.end(`colors`)}}(0,i,0,a),function(e,t){t.start(`extLst`),t.start(`ext`,{uri:`{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}`,"xmlns:x14":`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`}),t.empty(`x14:slicerStyles`,{defaultSlicerStyle:`SlicerStyleLight1`}),t.end(`ext`),t.start(`ext`,{uri:`{9260A510-F301-46a8-8635-F512D64BE5F5}`,"xmlns:x15":`http://schemas.microsoft.com/office/spreadsheetml/2010/11/main`}),t.empty(`x15:timelineStyles`,{defaultTimelineStyle:`TimeSlicerStyleLight1`}),t.end(`ext`),t.end(`extLst`)}(0,i),i.end(`styleSheet`),i.close()}},new class extends o{constructor(){super({kind:`propsCore`,contentType:`application/vnd.openxmlformats-package.core-properties+xml`,relTypeUri:`http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties`,path:`/docProps/core.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`cp:coreProperties`,{"xmlns:cp":`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,"xmlns:dc":`http://purl.org/dc/elements/1.1/`,"xmlns:dcterms":`http://purl.org/dc/terms/`,"xmlns:dcmitype":`http://purl.org/dc/dcmitype/`,"xmlns:xsi":`http://www.w3.org/2001/XMLSchema-instance`});let r=new Date,i=[[`creator`,`SheetXL`],[`lastModifiedBy`,`SheetXL`],[`created`,St(r)],[`modified`,St(r)]];for(let e of i)Ct(n,e[0],e[1]);n.end(`cp:coreProperties`),n.close()}},new class extends o{constructor(){super({kind:`propsApp`,contentType:`application/vnd.openxmlformats-officedocument.extended-properties+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties`,path:`/docProps/app.xml`})}async emit(e,t){let r=t.getXMLWriter(),a=e.model,o=await n.J.getDetails(),s=i.G(o.getBuildVersion()),c=o.getLicensee()||``;r.setValidationDisabled(!0),r.decl(),r.start(`Properties`,{xmlns:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,"xmlns:vt":`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`}),Z(0,r,`Application`,`SheetXL`),Z(0,r,`DocSecurity`,`0`),Z(0,r,`ScaleCrop`,`false`),((e,t,r)=>{let i=r.getSheets().getItems({visibility:n.Tt.Visibility.Hidden}).map(e=>e.getName()),a=r.getNames().getItems({type:`formula`}).filter(e=>!!e.getRanges?.()).map(e=>e.getName());t.start(`HeadingPairs`),t.start(`vt:vector`,{size:a.length>0?`4`:`2`,baseType:`variant`}),t.start(`vt:variant`),t.start(`vt:lpstr`),t.text(`Worksheets`),t.end(`vt:lpstr`),t.end(`vt:variant`),t.start(`vt:variant`),t.start(`vt:i4`),t.text(``+i.length),t.end(`vt:i4`),t.end(`vt:variant`),a.length>0&&(t.start(`vt:variant`),t.start(`vt:lpstr`),t.text(`Named Ranges`),t.end(`vt:lpstr`),t.end(`vt:variant`),t.start(`vt:variant`),t.start(`vt:i4`),t.text(``+a.length),t.end(`vt:i4`),t.end(`vt:variant`)),t.end(`vt:vector`),t.end(`HeadingPairs`),t.start(`TitlesOfParts`),t.start(`vt:vector`,{size:``+(i.length+a.length),baseType:`lpstr`});for(let e of i)t.start(`vt:lpstr`),t.text(e),t.end(`vt:lpstr`);for(let e of a)t.start(`vt:lpstr`),t.text(e),t.end(`vt:lpstr`);t.end(`vt:vector`),t.end(`TitlesOfParts`)})(0,r,a),Z(0,r,`Company`,c),Z(0,r,`LinksUpToDate`,`false`),Z(0,r,`SharedDoc`,`false`),Z(0,r,`HyperlinksChanged`,`false`),Z(0,r,`AppVersion`,s),r.end(`Properties`),r.close()}},new class extends o{constructor(){super({kind:`metadata`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata`,path:`/xl/metadata.xml`})}emit(e,t){let n=t.getXMLWriter(),r=e.hasCellMeta(),i=e.hasValueMeta(),a=e.getDAPRFutureMetadataBlocks(),o=e.getRVFutureMetadataBlocks(),s=e.getValueMeta(),c=0,l=0,u=0;r&&(c=++u),i&&(l=++u);let d={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`};if(r&&(d[`xmlns:xda`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray`),i&&(d[`xmlns:xlrd`]=`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`),n.decl(),n.start(`metadata`,d),n.start(`metadataTypes`,{count:u}),r&&n.empty(`metadataType`,{name:`XLDAPR`,...wt,cellMeta:`1`}),i&&n.empty(`metadataType`,{name:`XLRICHVALUE`,...wt}),n.end(`metadataTypes`),r){n.start(`futureMetadata`,{name:`XLDAPR`,count:a.length});for(let e of a)n.start(`bk`),n.start(`extLst`),n.start(`ext`,{uri:`{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}`}),n.empty(`xda:dynamicArrayProperties`,{fDynamic:e.fDynamic,fCollapsed:e.fCollapsed}),n.end(`ext`),n.end(`extLst`),n.end(`bk`);n.end(`futureMetadata`)}if(i){n.start(`futureMetadata`,{name:`XLRICHVALUE`,count:o.length});for(let e of o)n.start(`bk`),n.start(`extLst`),n.start(`ext`,{uri:`{3e2802c4-a4d2-4d8b-9148-e3be6c30e623}`}),n.empty(`xlrd:rvb`,{i:e}),n.end(`ext`),n.end(`extLst`),n.end(`bk`);n.end(`futureMetadata`)}if(r){n.start(`cellMetadata`,{count:a.length});for(let e=0;e<a.length;e++)n.start(`bk`),n.empty(`rc`,{t:c,v:e}),n.end(`bk`);n.end(`cellMetadata`)}if(i){n.start(`valueMetadata`,{count:s.length});for(let e of s)n.start(`bk`),n.empty(`rc`,{t:l,v:e}),n.end(`bk`);n.end(`valueMetadata`)}n.end(`metadata`),n.close()}},new class extends o{constructor(){super({kind:`richValue`,contentType:`application/vnd.ms-excel.rdrichvalue+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValue`,path:`./richData/rdrichvalue.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.getEntries(),i=r.length;n.decl(),n.start(`rvData`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`,count:i});for(let t of r){let r=e.handlerStructureIndex(t.handler);n.start(`rv`,{s:r});let i=t.handler.getValues(t.rawValue);for(let e of i)n.start(`v`),n.text(e),n.end(`v`);n.end(`rv`)}n.end(`rvData`),n.close()}},new class extends o{constructor(){super({kind:`richValueStructure`,contentType:`application/vnd.ms-excel.rdrichvaluestructure+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValueStructure`,path:`./richData/rdrichvaluestructure.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.uniqueHandlers(),i=r.length;n.decl(),n.start(`rvStructures`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata`,count:i});for(let e of r){n.start(`s`,{t:e.type});for(let[t,r]of e.props)n.empty(`k`,{n:t,t:r});n.end(`s`)}n.end(`rvStructures`),n.close()}},new class extends o{constructor(){super({kind:`richValueTypes`,contentType:`application/vnd.ms-excel.rdrichvaluetypes+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/06/relationships/rdRichValueTypes`,path:`./richData/rdRichValueTypes.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`rvTypesInfo`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`x`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=[[`_self`,[`ExcludeFromFile`,`ExcludeFromCalcComparison`]],[`_DisplayString`,[`ExcludeFromCalcComparison`]],[`_Flags`,[`ExcludeFromCalcComparison`]],[`_Format`,[`ExcludeFromCalcComparison`]],[`_SubLabel`,[`ExcludeFromCalcComparison`]],[`_Attribution`,[`ExcludeFromCalcComparison`]],[`_Icons`,[`ExcludeFromCalcComparison`]],[`_Display`,[`ExcludeFromCalcComparison`]],[`_CanonicalPropertyNames`,[`ExcludeFromCalcComparison`]],[`_ClassificationId`,[`ExcludeFromCalcComparison`]]];n.start(`global`),n.start(`keyFlags`);for(let[e,t]of r){n.start(`key`,{name:e});for(let e of t)n.empty(`flag`,{name:e,value:`1`});n.end(`key`)}n.end(`keyFlags`),n.end(`global`),n.end(`rvTypesInfo`),n.close()}},new class extends o{constructor(){super({kind:`drawing`,contentType:`application/vnd.openxmlformats-officedocument.drawing+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing`,path:`../drawings/drawing{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.pushDefaultNamespace(`xdr`),n.start(`wsDr`,{"xmlns:xdr":`http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`});let r=new Map,i=e.sheet,a=e.movables,o=e.jsonMovables,s=o?o.length:0,c=0;for(let e=0;e<s;e++){let t=o[e].content?.json?.sourceId;typeof t==`number`&&t>c&&(c=t)}let l,u=new Map;if(c>0){let e=t.getSharedStates();l=e.get(`uniqueIdCounter`),l||(l=new Map,e.set(`uniqueIdCounter`,l)),l.set(i,Math.max(l.get(i)??1,c));let n=new Set;for(let e=0;e<s;e++){let t=o[e].content?.json?.sourceId;if(typeof t==`number`)if(n.has(t)){let t=l.get(i)+1;l.set(i,t),u.set(o[e],t)}else n.add(t)}}for(let e=0;e<s;e++){let s=o[e],c=a[e],l=s.content?.type;switch(n.start(`twoCellAnchor`,{editAs:s.anchorType||`twoCell`}),Ut(n,`from`,s.anchor.tl),Ut(n,`to`,s.anchor.br),l){case`picture`:await jt(t,i,r,c,s);break;case`chart`:await Mt(t,i,r,c,s,u.get(s));break;case`shape`:await It(t,i,r,c,s,u.get(s));break;case`smartArt`:await Nt(t,i,r,c,s);break;case`slicer`:await Pt(t,i,r,c,s);break;case`graphicFrame`:await Ft(t,i,r,c,s);break;default:await Q(t,i,r,c,s)}n.empty(`clientData`),n.end(`twoCellAnchor`)}n.end(`wsDr`),n.close()}},new class extends o{constructor(){super({kind:`legacyDrawing`,contentType:`application/vnd.openxmlformats-officedocument.vmlDrawing`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing`,path:`../drawings/vmlDrawing{n}.vml`})}async emit(e,t){let n=e.images,r=n?n.length:0;if(r>0){let e=t.getSharedStates().get(a);for(let i=0;i<r;i++){let r=n[i],a=e?.get(r.resId);if(a)try{await Wt(t,r.id,a)}catch(e){t.log(`Unable to write legacy drawing image '${r.id}'`,e)}else t.log(`Legacy drawing image '${r.id}' has no resource ${r.resId} and was not written.`)}}let i=t.getXMLWriter();i.setValidationDisabled(!0),i.raw(e.xml),i.close()}},new class extends o{constructor(){super({kind:`embeddedPart`,contentType:I,relTypeUri:``})}getContentType(e){return e?.contentType||I}getRelTypeUri(e){return e?.type??``}getPath(e){return`./${ae(e.name)}`}async emit(e,t){await L(e,t);let n=t.getXMLWriter();n.setValidationDisabled(!0),n.raw(e.xml??``),n.close()}},new class extends o{constructor(){super({kind:`pivotTable`,contentType:oe,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable`,path:`../pivotTables/pivotTable{n}.xml`})}getContentType(e){return e?.part?.contentType||oe}async emit(e,t){let n=e.part;await L(n,t);let r=se(t,e.cacheId);if(!r||!t.addRelationship(`http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition`,r))throw Error(`Pivot table '${n.name??``}' has no cache with id ${e.cacheId}.`);let i=t.getXMLWriter();i.setValidationDisabled(!0),i.raw(n.xml??``),i.close()}},new class extends o{constructor(){super({kind:`comments`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`,path:`../comments{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`comments`,{xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`});let r=[],i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.length,r.push(e),i.set(e,t)),t},o=e.comments,s=[];for(let e=0;e<o.length;e++){let{comment:t,ref:n}=o[e];t.isNote()?s.push({ref:n,authorId:a(t.getAuthor()?.getDisplayName()??``),content:t.getRichContent()??t.getContent()}):s.push({ref:n,authorId:a(`tc={${t.getId().toUpperCase()}}`),content:xe(t)})}n.start(`authors`);for(let e=0;e<r.length;e++)n.start(`author`),n.text(r[e]),n.end(`author`);n.end(`authors`);let c=e.sheet.getStyles().getTheme();n.start(`commentList`);for(let e=0;e<s.length;e++){let t=s[e];n.start(`comment`,{ref:t.ref,authorId:t.authorId,shapeId:0}),n.start(`text`),Se(n,t.content,c),n.end(`text`),n.end(`comment`)}n.end(`commentList`),n.end(`comments`),n.close()}},new class extends o{constructor(){super({kind:`threadedComments`,contentType:`application/vnd.ms-excel.threadedcomments+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`,path:`../threadedComments/threadedComment{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`ThreadedComments`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=e.comments;for(let e=0;e<r.length;e++){let{comment:t,ref:i}=r[e];if(t.isNote())continue;Kt(n,i,t.getId(),t.getAuthor()?.getId(),t.getCreationDate(),t.getContent(),null,t.isResolved(),t.toJSON()?.mentions);let a=t.getReplies();for(let e=0;e<a.length;e++){let r=a[e];Kt(n,i,r.getId(),r.getAuthor()?.getId(),r.getCreationDate(),r.getContent(),t.getId(),!1,r.toJSON().mentions)}}n.end(`ThreadedComments`),n.close()}},new class extends o{constructor(){super({kind:`persons`,contentType:`application/vnd.ms-excel.person+xml`,relTypeUri:`http://schemas.microsoft.com/office/2017/10/relationships/person`,path:`persons/person.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.start(`personList`,{xmlns:`http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments`,"xmlns:x":`http://schemas.openxmlformats.org/spreadsheetml/2006/main`});let r=e.toArray();for(let e=0;e<r.length;e++){let t=r[e];n.empty(`person`,{displayName:t.getDisplayName(),id:$(t.getId()),userId:t.getUserId()??t.getDisplayName(),providerId:t.getProviderId()??`None`})}n.end(`personList`),n.close()}},new class extends o{constructor(){super({kind:`table`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/table`,path:`../tables/table{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl();let r={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`,"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`,"mc:Ignorable":`xr xr3`,"xmlns:xr":`http://schemas.microsoft.com/office/spreadsheetml/2014/revision`,"xmlns:xr3":`http://schemas.microsoft.com/office/spreadsheetml/2016/revision3`},i=e.json,a=e.model;a.isShowHeaders(),r.id=++qt,r.name=i.name?.trim(),r.displayName=i.description??i.name,r.ref=e.ref,i.headerRowCount!==1&&(r.headerRowCount=i.headerRowCount),i.totalsRowCount!==0&&(r.totalsRowCount=i.totalsRowCount),i.totalsRowShown||a.isShowTotals()||(r.totalsRowShown=`0`),n.start(`table`,r),a.isShowHeaders()&&Ye(t,n,a,i),((e,t,n,r)=>{let i=r.columns,a=i?i.length:0;if(a!==0){t.start(`tableColumns`,{count:a});for(let o=0;o<a;o++){let a=i[o];typeof a==`string`&&(a={name:a});let s={};s.id=o+1,s.name=a.name??`Column${o+1}`;let c=null,l=a.totalsRowFormula;if(typeof l==`number`){let e=Yt.get(l);e?s.totalsRowFunction=e:c=`SUBTOTAL(${l},${r.name?.trim()}[${s.name}])`}else l&&(c=Jt(e,n,o,l.startsWith(`=`)?l.substring(1):l));c&&(s.totalsRowFunction=`custom`),a.totalsRowLabel&&(s.totalsRowLabel=a.totalsRowLabel);let u=a.calculatedColumnFormula?Jt(e,n,o,a.calculatedColumnFormula):null;(c||u)&&(t.start(`tableColumn`,s),u&&(t.start(`calculatedColumnFormula`),t.text(u),t.end(`calculatedColumnFormula`))),c&&(t.start(`totalsRowFormula`),t.text(c),t.end(`totalsRowFormula`)),c||u?t.end(`tableColumn`):t.empty(`tableColumn`,s)}t.end(`tableColumns`)}})(t,n,a,i),((e,t,n)=>{let r={name:n.getStyle().getName(),showFirstColumn:n.isShowHighlightFirstColumn()?`1`:`0`,showLastColumn:n.isShowHighlightLastColumn()?`1`:`0`,showRowStripes:n.isShowBandedRows()?`1`:`0`,showColumnStripes:n.isShowBandedColumns()?`1`:`0`};t.empty(`tableStyleInfo`,r)})(0,n,a),n.end(`table`),n.close()}},new class extends o{constructor(){super({kind:`externalLink`,contentType:`application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`,path:`../externalLinks/externalLink{n}.xml`})}async emit(e,t){let n=t.getXMLWriter(),r=e.sources??[],i=r.findIndex(e=>e.role===`book`);i<0&&r.length>0&&(i=0);let a=null,o=null;for(let e=0;e<r.length;e++){let n=r[e],s=t.addExternal(n.type||`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath`,n.target).relId;e===i?a=s:n.role===`absoluteUrl`&&(o=s)}a||t.log(`External book has no path relationship; Excel cannot locate its source.`,e.sheetNames),n.decl();let s={xmlns:`http://schemas.openxmlformats.org/spreadsheetml/2006/main`};(e.mceIgnorable||o)&&(s[`xmlns:mc`]=`http://schemas.openxmlformats.org/markup-compatibility/2006`,s[`mc:Ignorable`]=`x14 xxl21`,s[`xmlns:x14`]=`http://schemas.microsoft.com/office/spreadsheetml/2009/9/main`,s[`xmlns:xxl21`]=`http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021`),n.start(`externalLink`,s);let c={"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`};a&&(c[`r:id`]=a),n.start(`externalBook`,c),o&&(n.start(`xxl21:alternateUrls`),n.empty(`xxl21:absoluteUrl`,{"r:id":o}),n.end(`xxl21:alternateUrls`)),function(e,t){let n=t.sheetNames,r=n?n.length:0;if(r!==0){e.start(`sheetNames`);for(let t=0;t<r;t++)e.empty(`sheetName`,{val:n[t]});e.end(`sheetNames`)}}(n,e),function(e,t){let n=t.definedNames,r=n?n.length:0;if(r!==0){e.start(`definedNames`);for(let t=0;t<r;t++){let r=n[t],i={name:r.name,refersTo:r.refersTo};r.sheetIndex!==void 0&&(i.sheetId=``+r.sheetIndex),e.empty(`definedName`,i)}e.end(`definedNames`)}}(n,e),function(e,t){let n=t.sheetDataSet,r=n?n.length:0;if(r!==0){e.start(`sheetDataSet`);for(let t=0;t<r;t++){let r=n[t],i={sheetId:``+r.sheetIndex};r.refreshError&&(i.refreshError=`1`);let a=r.data,o=a?a.length:0;if(o!==0){e.start(`sheetData`,i);for(let t=0;t<o;t++){let[n,r]=a[t];e.start(`row`,{r:``+(n+1)});let i=r.length;for(let t=0;t<i;t++){let[i,a]=r[t],o=a.length;for(let t=0;t<o;t++)Zt(e,n,i+t,a.at(t))}e.end(`row`)}e.end(`sheetData`)}else e.empty(`sheetData`,i)}e.end(`sheetDataSet`)}}(n,e),n.end(`externalBook`),n.end(`externalLink`),n.close()}},new class extends o{constructor(){super({kind:`chart`,contentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,relTypeUri:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,path:`../charts/chart{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.decl(),n.pushDefaultNamespace(`c`),n.start(`chartSpace`,{"xmlns:c":`http://schemas.openxmlformats.org/drawingml/2006/chart`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,"xmlns:r":`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,"xmlns:c16r2":`http://schemas.microsoft.com/office/drawing/2015/06/chart`}),n.empty(`date1904`,{val:`0`}),n.empty(`lang`,{val:`en-US`}),n.empty(`roundedCorners`,{val:`0`}),((e,t)=>{t.start(`mc:AlternateContent`,{"xmlns:mc":`http://schemas.openxmlformats.org/markup-compatibility/2006`}),t.start(`mc:Choice`,{Requires:`c14`,"xmlns:c14":`http://schemas.microsoft.com/office/drawing/2007/8/2/chart`}),t.empty(`c14:style`,{val:`102`}),t.end(`mc:Choice`),t.start(`mc:Fallback`),t.empty(`c:style`,{val:`2`}),t.end(`mc:Fallback`),t.end(`mc:AlternateContent`)})(0,n,e.model,e.json),((e,t,n,r,i)=>{t.start(`chart`),((e,t,n,r,i)=>{t.start(`title`),t.empty(`overlay`,{val:`0`}),ke(e,n,i,`spPr`,!0),t.end(`title`),t.empty(`autoTitleDeleted`,{val:`0`})})(e,t,n,0,i),((e,t,n,r,i)=>{t.start(`plotArea`),t.empty(`layout`),ke(e,n,i,`spPr`,!0),t.end(`plotArea`)})(e,t,n,0,i),t.empty(`plotVisOnly`,{val:`1`}),t.empty(`dispBlanksAs`,{val:`gap`}),t.empty(`showDLblsOverMax`,{val:`0`}),t.end(`chart`)})(t,n,e.styles,e.model,e.json),((e,t)=>{t.start(`printSettings`),t.empty(`headerFooter`),t.empty(`pageMargins`,{b:`0.75`,l:`0.7`,r:`0.7`,t:`0.75`,header:`0.3`,footer:`0.3`}),t.empty(`pageSetup`),t.end(`printSettings`)})(0,n,e.model,e.json),n.end(`chartSpace`),n.popDefaultNamespace(),n.close(),t.addPart(`chartStyle`,{styles:e.styles}),t.addPart(`chartColors`,{styles:e.styles})}},new class extends o{constructor(){super({kind:`chartStyle`,contentType:`application/vnd.ms-office.chartstyle+xml`,relTypeUri:`http://schemas.microsoft.com/office/2011/relationships/chartStyle`,path:`./style{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.pushDefaultNamespace(`cs`),n.start(`chartStyle`,{"xmlns:cs":`http://schemas.microsoft.com/office/drawing/2012/chartStyle`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,id:`297`}),((e,t,n,r)=>{let i=n.length;for(let a=0;a<i;a++){let i=n[a];i.empty?t.empty(i.type,i.mods):(t.start(i.type,i.mods),Qt(0,t,r,`lnRef`,i.lineRef,`0`),Qt(0,t,r,`fillRef`,i.fillRef,`0`),Qt(0,t,r,`effectRef`,i.effectRef,`0`),Qt(0,t,r,`fontRef`,i.fontRef,`minor`),ke(e,r,i,`spPr`),Dt(e,0,i.defRPr),Ot(e,r,i.bodyPr),t.end(i.type))}})(t,n,$t,e.styles),n.end(`chartStyle`),n.close()}},new class extends o{constructor(){super({kind:`chartColors`,contentType:`application/vnd.ms-office.chartcolorstyle+xml`,relTypeUri:`http://schemas.microsoft.com/office/2011/relationships/chartColorStyle`,path:`./colors{n}.xml`})}async emit(e,t){let n=t.getXMLWriter();n.pushDefaultNamespace(`cs`),n.start(`cs:colorStyle`,{"xmlns:cs":`http://schemas.microsoft.com/office/drawing/2012/chartStyle`,"xmlns:a":`http://schemas.openxmlformats.org/drawingml/2006/main`,meth:`cycle`,id:`10`}),n.empty(`a:schemeClr`,{val:`accent1`}),n.empty(`a:schemeClr`,{val:`accent2`}),n.empty(`a:schemeClr`,{val:`accent3`}),n.empty(`a:schemeClr`,{val:`accent4`}),n.empty(`a:schemeClr`,{val:`accent5`}),n.empty(`a:schemeClr`,{val:`accent6`}),((e,t,n)=>{let r=n.length;for(let e=0;e<r;e++){let r=n[e],i={},a=r[0],o=r[1];a||o?(t.start(`variation`,i),a&&t.empty(`a:lumMod`,{val:a}),o&&t.empty(`a:lumOff`,{val:o}),t.end(`variation`)):t.empty(`variation`,i)}})(0,n,en),n.end(`cs:colorStyle`),n.close()}}],nn=e=>{let t=e.getPart(`xl/_rels/workbook.xml.rels`);if(!t)return null;let n=new Map;for(let e of i.O(t.data)){if(!e.id)continue;let t=e.external?e.target:g(e.target.startsWith(`/`)?e.target:`xl/`+e.target);n.set(e.id,{type:e.type,target:t,external:e.external})}return n},rn=e=>{let t=e.getPart(`xl/workbook.xml`);return t?new TextDecoder(`utf-8`).decode(t.data):null},an=e=>{let t=on.get(e);if(t!==void 0)return t;let n=e.getPart(`xl/workbook.xml`),r=n?new TextDecoder(`utf-8`).decode(n.data):null;return on.set(e,r),r},on=new WeakMap,sn=1;exports.writeXLSX=async(e,t)=>{let n=new ne;for(let e of tn)n.register(e);let r=sn,o=s.createUint8Array({lastModDate:new Date(1899,11,29,19,0,0),level:r}),c=t?.format===`Excel`||t?.format===`ExcelMacro`?i.K(e):null,l=new Map,u=c?(e=>{let t=e.getPart(`xl/workbook.xml`);if(!t)return null;let n=new TextDecoder(`utf-8`).decode(t.data.subarray(0,4096)).match(/<fileVersion\b([^>]*)\/?>/);if(!n)return null;let r={};for(let e of n[1].matchAll(/([\w:]+)="([^"]*)"/g))r[e[1]]=e[2];return Object.keys(r).length>0?r:null})(c):null;u&&(t?.macroEnabled||delete u.codeName,l.set(ce,u));let d=c?(e=>{let t=an(e)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);return t?t[1]:null})(c):null;d!==null&&l.set(`calcId`,d);let f=c?(e=>{let t=an(e)?.match(/<ext\b[^>]*>\s*<xcalcf:calcFeatures\b[\s\S]*?<\/xcalcf:calcFeatures>\s*<\/ext>/);return t?t[0]:null})(c):null;f!==null&&l.set(`calcFeatures`,f);let p=c?(e=>{let t=rn(e);if(!t)return null;let n=/<externalReferences\b[^>]*>([\s\S]*?)<\/externalReferences>/.exec(t);if(!n)return null;let r=[...n[1].matchAll(/<externalReference\b[^>]*\sr:id="([^"]*)"/g)].map(e=>e[1]);if(r.length===0)return null;let i=nn(e);return i?r.map(e=>{let t=i.get(e);return t&&!t.external?t.target:null}):null})(c):null;p&&l.set(ue,p);let m=c?(e=>{let t=rn(e),n=t?nn(e):null;if(!t||!n)return null;let r=new Map;for(let e of t.matchAll(/<sheet\b([^>]*)\/?>/g)){let t=/\bsheetId="(\d+)"/.exec(e[1])?.[1],i=/\br:id="([^"]*)"/.exec(e[1])?.[1];if(!t||!i)continue;let a=n.get(i);a&&!a.external&&a.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`&&r.set(parseInt(t,10),a.target)}return r.size>0?r:null})(c):null;m&&l.set(le,m),l.set(a,new Map);let h=[],g=new ee(o,n,{strictDuplicateChildren:!0,onPartEmitted:t?.onPartEmitted,onWarning:(e,t,n)=>{h.push([e,t,n])},mapState:l,sourcePackage:c,macroEnabled:t?.macroEnabled??!1});g.addPart(`workbook`,e,`/xl/workbook.xml`),await g.waitEmit(),g.addPart(`propsCore`,{}),g.addPart(`propsApp`,{model:e});let _=await g.build(),v=t?.progress?.onWarning;if(h.length&&v){let e=new Set;for(let[n,r,i]of h){let a=i??n;e.has(a)||(e.add(a),v.call(t.progress,n,r))}}return _.byteOffset===0&&_.byteLength===_.buffer.byteLength?_.buffer:_.slice().buffer};
@@ -1 +0,0 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./B1yQqy3iSI5uZPt3.cjs"),r=require("./BmdFT-Ie0SY8YqFf.cjs"),i=require("./DKdgEj89ChMWaDQz.cjs"),a=require("./D3gV1sduXTeibviI.cjs");var o=e.r(t.i(),1),s=e.r(t.r(),1);function c(e){return n.m(`MuiRadio`,e)}var l=n.p(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]),u=i.C;function d(e){return n.m(`MuiFormGroup`,e)}n.p(`MuiFormGroup`,[`root`,`row`,`error`]);var f=r.ut(`div`,{name:`MuiFormGroup`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:`flex`,flexDirection:`column`,flexWrap:`wrap`,variants:[{props:{row:!0},style:{flexDirection:`row`}}]}),p=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiFormGroup`}),{className:o,row:c=!1,...l}=a,[u]=i.O({props:a,states:[`error`]}),p={...a,row:c,error:u.error},m=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},d,t)})(p);return(0,s.jsx)(f,{className:n.h(m.root,o),ownerState:p,ref:t,...l})}),m=r.Q((0,s.jsx)(`path`,{d:`M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`RadioButtonUnchecked`),h=r.Q((0,s.jsx)(`path`,{d:`M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z`}),`RadioButtonChecked`),g=r.ut(`span`,{name:`MuiRadioButtonIcon`,shouldForwardProp:r.dt})({position:`relative`,display:`flex`}),_=r.ut(m,{name:`MuiRadioButtonIcon`})({transform:`scale(1)`}),v=r.ut(h,{name:`MuiRadioButtonIcon`})(r.lt(({theme:e})=>({left:0,position:`absolute`,transform:`scale(0)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:`scale(1)`,...r.nt(e,`transform`,{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function y(e){let{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,s.jsxs)(g,{className:n.root,ownerState:i,children:[(0,s.jsx)(_,{fontSize:r,className:n.background,ownerState:i}),(0,s.jsx)(v,{fontSize:r,className:n.dot,ownerState:i})]})}var b=o.createContext(void 0),x=r.ut(a.r,{shouldForwardProp:e=>r.dt(e)||e===`classes`,name:`MuiRadio`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.size!==`medium`&&t[`size${r.st(n.size)}`],t[`color${r.st(n.color)}`]]}})(r.lt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${l.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:`default`,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(r.I()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${l.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:`transparent`}}}}]}))),S=(0,s.jsx)(y,{checked:!0}),C=(0,s.jsx)(y,{}),w=o.forwardRef(function(e,t){let a=r.ct({props:e,name:`MuiRadio`}),{checked:l,checkedIcon:d=S,color:f=`primary`,icon:p=C,name:m,onChange:h,size:g=`medium`,className:_,disabled:v,disableRipple:y=!1,slots:w={},slotProps:T={},...E}=a,D=i.D(),O=v;D&&O===void 0&&(O=D.disabled),O??=!1;let k={...a,disabled:O,disableRipple:y,color:f,size:g},A=(e=>{let{classes:t,color:n,size:i}=e,a={root:[`root`,`color${r.st(n)}`,i!==`medium`&&`size${r.st(i)}`]};return{...t,...r._t(a,c,t)}})(k),j=o.useContext(b),M=l,N=u(h,j&&j.onChange),P=m;var F,I;j&&(M===void 0&&(F=j.value,M=typeof(I=a.value)==`object`&&I!==null?F===I:String(F)===String(I)),P===void 0&&(P=j.name));let L=T.input,[R,z]=r.H(`root`,{ref:t,elementType:x,className:n.h(A.root,_),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:T,...E},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),N(t,...n)}}),ownerState:k,additionalProps:{type:`radio`,icon:o.cloneElement(p,{fontSize:p.props.fontSize??g}),checkedIcon:o.cloneElement(d,{fontSize:d.props.fontSize??g}),disabled:O,name:P,checked:M,slots:w,slotProps:{input:typeof L==`function`?L(k):L}}});return(0,s.jsx)(R,{...z,classes:A})});function T(e){return n.m(`MuiRadioGroup`,e)}n.p(`MuiRadioGroup`,[`root`,`row`,`error`]);var E=o.forwardRef(function(e,t){let{actions:i,children:a,className:c,defaultValue:l,name:u,onChange:d,value:f,...m}=e,h=o.useRef(null),g=(e=>{let{classes:t,row:n,error:i}=e;return r._t({root:[`root`,n&&`row`,i&&`error`]},T,t)})(e),[_,v]=r.J({controlled:f,default:l,name:`RadioGroup`});o.useImperativeHandle(i,()=>({focus:()=>{let e=h.current.querySelector(`input:not(:disabled):checked`);e||=h.current.querySelector(`input:not(:disabled)`),e&&e.focus()}}),[]);let y=r.ot(t,h),x=r.X(u),S=o.useMemo(()=>({name:x,onChange(e){v(e.target.value),d&&d(e,e.target.value)},value:_}),[x,d,v,_]);return(0,s.jsx)(b.Provider,{value:S,children:(0,s.jsx)(p,{role:`radiogroup`,ref:y,className:n.h(g.root,c),...m,children:a})})});Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return E}});