@sheetxl/studio-vanilla 0.4.16 → 0.4.17

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 (177) hide show
  1. package/browser/cjs/{CitQIsT3Zql2d5Vu.cjs → 6biAKvO0L5uuCIZG.cjs} +2 -2
  2. package/browser/cjs/{tHZy6iR0C8BJ7ao2.cjs → 8cpAb8zuCRvgrhSi.cjs} +1 -1
  3. package/browser/cjs/{CSZA-xOWQAk2bPo6.cjs → 9ZyrDXd_aJTOxZaN.cjs} +1 -1
  4. package/browser/cjs/{MDi4HLKgwSCu6fyR.cjs → B0eMj3QF5QrwuQV9.cjs} +1 -1
  5. package/browser/cjs/{C7E9AxEhqGR5hjuF.cjs → B8-LwimO49ed-ERb.cjs} +2 -2
  6. package/browser/cjs/{CPcLGP9ohAPquX_P.cjs → B9WwP6EQv_Fa_dR-.cjs} +2 -2
  7. package/browser/cjs/{CgMWE9E3Hpz-3OT8.cjs → BHEatQMJJePGzkan.cjs} +1 -1
  8. package/browser/cjs/{B8PZzwEzGHdX2D1A.cjs → BYFzXSTbEpxkcnd1.cjs} +1 -1
  9. package/browser/cjs/{BOwI__-2C4zHdb02.cjs → Bd7jl4AipYvkmHDC.cjs} +1 -1
  10. package/browser/cjs/{BDDHipsk8fDa6KzG.cjs → BgAiDVJjk1i_ZFOH.cjs} +2 -2
  11. package/browser/cjs/{SKR8zQ_6EFd3QuXc.cjs → BqNZs_XIfzwqlDlN.cjs} +1 -1
  12. package/browser/cjs/{D96Vd9ML6lEp2yNc.cjs → BqNrgNvJPVpk8J7j.cjs} +2 -2
  13. package/browser/cjs/{C9e_gEokumOSJEQE.cjs → BwWfsee6CgDvi0_5.cjs} +1 -1
  14. package/browser/cjs/{BDiEyTUhhZ0E4TEV.cjs → BxREDzh95uVYfibX.cjs} +1 -1
  15. package/browser/cjs/{DduMAzPLo62DsEIv.cjs → By2ZGZJMoExtMfZl.cjs} +1 -1
  16. package/browser/cjs/{DHmgJr7cr-5rmqrC.cjs → C17A-3Ti1pMG4ISj.cjs} +2 -2
  17. package/browser/cjs/C93vm3rYb2neksBv.cjs +364 -0
  18. package/browser/cjs/{CDqIINbe_kUDiu3S.cjs → CARZsdpF5OqYWiE4.cjs} +2 -2
  19. package/browser/cjs/{CxILJtUEEXVq79VE.cjs → CBDGjzOcgp6V_pE3.cjs} +2 -2
  20. package/browser/cjs/{CpZL07iGOPpGjHM-.cjs → CFpxo2YzoLcGlyjL.cjs} +1 -1
  21. package/browser/cjs/{D33_ArewzvVZrJs5.cjs → CGqzdm1gPPCmrjaI.cjs} +1 -1
  22. package/browser/cjs/{BxKEYXw6K_cJQVyL.cjs → CMPauVL3M8tDeh0T.cjs} +1 -1
  23. package/browser/cjs/{CIXCQscBfq2DpLXc.cjs → COB62qOQPls-ORlE.cjs} +1 -1
  24. package/browser/cjs/{EEd3txVEsMOS25kJ.cjs → CT7nRMk0BDAkl0BF.cjs} +1 -1
  25. package/browser/cjs/{C_rz86UiiqTsrxS_.cjs → CT_0Nd7KbMe-Y6m5.cjs} +4 -4
  26. package/browser/cjs/{DXEqr7NfFBng4qp7.cjs → CfPOTxKsNqeLdQq2.cjs} +2 -2
  27. package/browser/cjs/{527-wdwXfhlxqigX.cjs → ChRjklFq_BsZf2Iw.cjs} +1 -1
  28. package/browser/cjs/{kbVoRE7sSKze9AGf.cjs → Cl7Z5kDqJgCOLAc2.cjs} +1 -1
  29. package/browser/cjs/{DwBWZnrTp5UcLnAE.cjs → CnUzYiLP3w2366r9.cjs} +1 -1
  30. package/browser/cjs/{DuV6aIKntSIlFlmP.cjs → Csse6ZfSbzMlHnw7.cjs} +1 -1
  31. package/browser/cjs/{Dh4QAMYLxa-nm3b1.cjs → CvP1iU7h-kIPosFU.cjs} +1 -1
  32. package/browser/cjs/{BmHg0RJIh8fueA1b.cjs → Cxm2nHmufmVWwYnh.cjs} +3 -3
  33. package/browser/cjs/{DvOP3Sz4bOvvB51y.cjs → Cxq8seCgWHi5cMgM.cjs} +4 -4
  34. package/browser/cjs/{BEuLDE1KvRWWFlHK.cjs → DGBXTq7BHivFoTcl.cjs} +1 -1
  35. package/browser/cjs/{OLQtPYBVwDJUVBX4.cjs → DGK_Hbzv8kikUYBG.cjs} +2 -2
  36. package/browser/cjs/{Dd8-Ixj1ckpU18vR.cjs → DUMBZ_nlhE2mwGc5.cjs} +2 -2
  37. package/browser/cjs/{DAuVoLkfGR03lbJL.cjs → DV1QGi3oLVrpYy1b.cjs} +2 -2
  38. package/browser/cjs/{DFforK4FhDLP9UUc.cjs → DXiLHMmvYKY6hlQ6.cjs} +1 -1
  39. package/browser/cjs/{DM17oP0REi-dMzRh.cjs → DagLEH_ymYaCmAsb.cjs} +1 -1
  40. package/browser/cjs/{B3FNhqGnpjO3bF1J.cjs → Db-9mhCwJcHfJrF8.cjs} +3 -3
  41. package/browser/cjs/{isuVkDnj-ShYtgWE.cjs → Dg9lWhdjcYx-McwV.cjs} +1 -1
  42. package/browser/cjs/{CFTqCNfD7KPB5D2t.cjs → DgxOqZ8rzK23p-di.cjs} +1 -1
  43. package/browser/cjs/{8iv5H_Fv58DG9HON.cjs → DhaHMyMcxGSWqI5B.cjs} +2 -2
  44. package/browser/cjs/{CxRW9GVbe6zNc--Y.cjs → Dy9SnYaFa09xyxw5.cjs} +3 -3
  45. package/browser/cjs/{By5yxiEAIP-yru4E.cjs → EDsPYwusbxNoHLGU.cjs} +1 -1
  46. package/browser/cjs/{D5txayapke7SLywP.cjs → Ie3aYqZhR4mlRr4e.cjs} +2 -2
  47. package/browser/cjs/{Cn5jJo4kHJGk3N7P.cjs → KmmFDFEsREYYg23O.cjs} +2 -2
  48. package/browser/cjs/{CuF5AeSoTUyseIPf.cjs → Q_kMYzReMM5keFmR.cjs} +1 -1
  49. package/browser/cjs/{BPEiEiVl_5BbvIuk.cjs → Ukc3hXVw3jmh1v1o.cjs} +2 -2
  50. package/browser/cjs/{BOjR7WcuPM7CqQ61.cjs → W2OA5_9ZJ6xkAXmp.cjs} +4 -4
  51. package/browser/cjs/{2z48hC9Lgl_XFiR8.cjs → WqrXIil5jYvo3MDk.cjs} +1 -1
  52. package/browser/cjs/{BNiCvN3wpcuvRJDa.cjs → c7YGtqgALtf7uv7f.cjs} +2 -2
  53. package/browser/cjs/index.cjs +2 -2
  54. package/browser/cjs/{BqhC-4_bAAdxiG10.cjs → mwprtkpfm815yW02.cjs} +1 -1
  55. package/browser/cjs/{9FygAwnwGtj51rKR.cjs → nBWWMENUR7eJsiwF.cjs} +6 -6
  56. package/browser/cjs/{hosXXKv9_3bMMvPn.cjs → qWZ-F4TgryDZVy6z.cjs} +1 -1
  57. package/browser/cjs/{CGMIvqM1bAMiSrpL.cjs → rSvomYT1qvMeISi-.cjs} +1 -1
  58. package/browser/cjs/{DsMEB6CCQ9XeKx0W.cjs → rqhkC0NWqih9Egon.cjs} +1 -1
  59. package/browser/esm/{DqP6X7y9HwGY7VjP.mjs → 4V-QDCR_jsVY0LLV.mjs} +14 -14
  60. package/browser/esm/{DSgo1psKmx1fs5GP.mjs → B4b7vbAWqfaIiQ1P.mjs} +2 -2
  61. package/browser/esm/{CJ2VfoplPO3aOFIS.mjs → BBK3aWidGgBdiXPM.mjs} +10 -10
  62. package/browser/esm/{CYW0tIypPPivmPYC.mjs → BUQfPI2iDmXlbLwv.mjs} +2 -2
  63. package/browser/esm/{BFGNX8BKN0YukAfE.mjs → BWSCF1flfPXCBkXM.mjs} +24177 -24192
  64. package/browser/esm/{kXeRQRPLeKsnYZWE.mjs → BadAuKyzCBKeSYzj.mjs} +2 -2
  65. package/browser/esm/{Ddco0tbzyQ9zfvAR.mjs → BbCFZ7BuAewUhSlf.mjs} +1 -1
  66. package/browser/esm/{DhtBGaXEjpSpeQD2.mjs → BcLNeDh-zvjwiAPK.mjs} +1 -1
  67. package/{cdn/assets/D_SW7AJGTxZZhEhN.js → browser/esm/BcmOaJDGlkKqxG2K.mjs} +1 -1
  68. package/{cdn/assets/DrT_zO6kt_14yLBZ.js → browser/esm/BfVOxqqljfUOpqSh.mjs} +1 -1
  69. package/browser/esm/{BJqUNdAULMuqfoNS.mjs → BgOrmx5pwzxPjUy8.mjs} +7 -7
  70. package/browser/esm/{DHwgBfUeVdooDLZu.mjs → Brn_BpM71L-VcKY7.mjs} +1 -1
  71. package/browser/esm/{Cyu6G1cmylOjsfqu.mjs → C3UQaCsEA-es0str.mjs} +26 -26
  72. package/browser/esm/{CEn_nscDh2qWGWkf.mjs → C48-m1iFvg6_12Uj.mjs} +1 -1
  73. package/browser/esm/{BegJ95DwnjizqVvZ.mjs → CCcZRLXoZkTb7wNc.mjs} +2 -2
  74. package/browser/esm/{BphrEGpsPHge38iD.mjs → CDhPfM0k-XhvF3vL.mjs} +1 -1
  75. package/browser/esm/{q0yHqQ5GBeLgY-gd.mjs → CHmIf1kJ-17F8RFn.mjs} +1 -1
  76. package/browser/esm/{DGk-Ommc_o1xYlw-.mjs → CKWV0eStHBpV6av-.mjs} +1 -1
  77. package/browser/esm/{DmeMooAnq1CVPk8s.mjs → CNHLfE1ku29awT-p.mjs} +1 -1
  78. package/browser/esm/{XMnVd_ZFLys2rjY7.mjs → CPy6dd5idg0K5KeH.mjs} +2 -2
  79. package/{cdn/assets/DDaraJFhLInV4GMJ.js → browser/esm/CQiFaCEUk0QjmZWK.mjs} +1 -1
  80. package/{cdn/assets/CNNQFdovfxmKTLqX.js → browser/esm/CQtZib0FjKvQbiDG.mjs} +1 -1
  81. package/browser/esm/{TM6K2pq3Dcv9IkuU.mjs → CUxbeQfR9_P_knx7.mjs} +1 -1
  82. package/{cdn/assets/3LUy01lLdiAyu4L8.js → browser/esm/CV0xwwpXwrx7cunJ.mjs} +1 -1
  83. package/browser/esm/{DwUhQt38jwVGevvy.mjs → CYTAZuWT3QJpoX75.mjs} +1 -1
  84. package/browser/esm/{7zmlmdpV46wT0D_8.mjs → CcV9Pi58K6qlwYUt.mjs} +2 -2
  85. package/browser/esm/{BMcBO1IQO3eNx3D8.mjs → CiVx0tO0V_4ToonT.mjs} +1 -1
  86. package/{cdn/assets/mMMnv_KWRsRe75FG.js → browser/esm/Cl6UhQ-Fa_tk1hMT.mjs} +1 -1
  87. package/{cdn/assets/DPRM8hNlNCr3-T5W.js → browser/esm/Crw41yabEq-swm47.mjs} +1 -1
  88. package/{cdn/assets/AbVL9q93k2OjvNMS.js → browser/esm/Ctz5ddsRjB0hnLdi.mjs} +1 -1
  89. package/{cdn/assets/D0HahgSi_BcRitIR.js → browser/esm/D4aBI8Q1QKmtd08h.mjs} +1 -1
  90. package/browser/esm/{6dBbccz3d0UDCmId.mjs → DABEpoNSmkCOVa7X.mjs} +1 -1
  91. package/{cdn/assets/Bxh-G6GIKLTgdQSU.js → browser/esm/DB7KGUAeBmMUb77y.mjs} +1 -1
  92. package/browser/esm/{CM9SSh6zB4mXFuiK.mjs → DBvsKienZ_WmcTGd.mjs} +1 -1
  93. package/{cdn/assets/PzttknQejK9onrpS.js → browser/esm/DFvnp6cQLTr61-R4.mjs} +1 -1
  94. package/browser/esm/{Dp4czjfjfaFH_dEJ.mjs → DGZlQ3Ii1PAQ2lZ8.mjs} +9 -9
  95. package/browser/esm/{BDpFOktVt42TQpcN.mjs → DQreQ06iRjaxCupi.mjs} +4 -4
  96. package/browser/esm/{CHQ2p5JXvpblW5Mr.mjs → DRhZRc-tuAIETA4d.mjs} +13 -13
  97. package/browser/esm/{DnDDStLug64LBv-3.mjs → DZKgySEhRSd_acs_.mjs} +1 -1
  98. package/browser/esm/{wt2Q3yM9_nGedjrL.mjs → DgFLc3B4NzW9gA8C.mjs} +3 -3
  99. package/browser/esm/{BIPFm0SUVy_xxuHx.mjs → DpzIeb_IueXMbSrg.mjs} +2 -2
  100. package/browser/esm/{B0pXYR2QIxH_yyCd.mjs → DviZK2hYv7CCV-Lx.mjs} +1 -1
  101. package/browser/esm/{BQEjN2Ny_1RjJRRG.mjs → DxAMqQQ_xqs8chgY.mjs} +2 -2
  102. package/browser/esm/{CzcfqZRl8TT7_AA8.mjs → DzfLSNBzDB-r7FLU.mjs} +4 -4
  103. package/browser/esm/{DNmLY801ferFO5Uk.mjs → DzjvCYfzsqrMiRuY.mjs} +6 -6
  104. package/browser/esm/{tBO69ofaNapzt3L4.mjs → EGRuGzY71Uc8-VbG.mjs} +5 -5
  105. package/browser/esm/{BcnRo-70LV3dW2F8.mjs → NZdHbcc4A8aR8z_P.mjs} +1 -1
  106. package/browser/esm/{CPzGoc5ivg6BGW5V.mjs → OeqsE__gB5RRTktW.mjs} +1 -1
  107. package/browser/esm/{Dcro_uZlLqe8StKp.mjs → R-nW2tm5BNGGDzxE.mjs} +2 -2
  108. package/browser/esm/{MXO5bWHStxysNVsg.mjs → Rv9ZXwwH6sDb3k1U.mjs} +2 -2
  109. package/browser/esm/{CQ8SVGYEop2G_eer.mjs → _m_kaz1LWJPmPRI7.mjs} +1 -1
  110. package/browser/esm/{D6rU9DOoEw4c1pUc.mjs → b2KWP-FaZWiaod4k.mjs} +1 -1
  111. package/{cdn/assets/DE8w2hURn5qI8AKp.js → browser/esm/exgvG80FM-7NUReB.mjs} +1 -1
  112. package/browser/esm/{DuJX6KV57WopKk9q.mjs → hSuzTdYFfLJRtWwH.mjs} +4 -4
  113. package/browser/esm/index.mjs +2 -2
  114. package/{cdn/assets/IF2d9xZoQ-KwvBKh.js → browser/esm/itUp9Fcd7garj6Ei.mjs} +1 -1
  115. package/browser/esm/{iYM_upfOH9oA049a.mjs → iwN2flm94BM1XXBG.mjs} +100 -100
  116. package/browser/esm/{CR-h2aljy2JwwOmN.mjs → yziS52QohW3BU1Sh.mjs} +6 -6
  117. package/cdn/assets/{Ch5JO1OSaLcDuY1a.js → 58CC3MhIh4X10O2i.js} +6 -6
  118. package/cdn/assets/{DSfbEMCq8-gDBtv_.js → B22VKc9MeGgoPERI.js} +8 -8
  119. package/cdn/assets/{BzJDFxx0-f3ofc07.js → BD4-oTjkO64sq4kk.js} +3 -3
  120. package/cdn/assets/{Bt3GnfDq2p0GHntP.js → BOtNnqa4VB1RNIe6.js} +2 -2
  121. package/cdn/assets/{CCyqNw5QYfgHLK1w.js → BS7Sy3gLMf1fncWO.js} +2 -2
  122. package/cdn/assets/{BHIQzrKfKNFUBjR9.js → BU_ZNBDdEe3h15pO.js} +1 -1
  123. package/cdn/assets/{Ddco0tbzyQ9zfvAR.js → BbCFZ7BuAewUhSlf.js} +1 -1
  124. package/cdn/assets/{DhtBGaXEjpSpeQD2.js → BcLNeDh-zvjwiAPK.js} +1 -1
  125. package/{browser/esm/D_SW7AJGTxZZhEhN.mjs → cdn/assets/BcmOaJDGlkKqxG2K.js} +1 -1
  126. package/{browser/esm/DrT_zO6kt_14yLBZ.mjs → cdn/assets/BfVOxqqljfUOpqSh.js} +1 -1
  127. package/cdn/assets/{DHwgBfUeVdooDLZu.js → Brn_BpM71L-VcKY7.js} +1 -1
  128. package/cdn/assets/{CEn_nscDh2qWGWkf.js → C48-m1iFvg6_12Uj.js} +1 -1
  129. package/cdn/assets/{Bj-ZU4RLivZywsqT.js → C73uvrpgIvKNzNu2.js} +2 -2
  130. package/cdn/assets/{Bjv69OWhcDpPMIFg.js → C7nVUBzSXM4b2lzJ.js} +22453 -22468
  131. package/cdn/assets/{BphrEGpsPHge38iD.js → CDhPfM0k-XhvF3vL.js} +1 -1
  132. package/cdn/assets/{q0yHqQ5GBeLgY-gd.js → CHmIf1kJ-17F8RFn.js} +1 -1
  133. package/cdn/assets/{DGk-Ommc_o1xYlw-.js → CKWV0eStHBpV6av-.js} +1 -1
  134. package/cdn/assets/{DmeMooAnq1CVPk8s.js → CNHLfE1ku29awT-p.js} +1 -1
  135. package/{browser/esm/DDaraJFhLInV4GMJ.mjs → cdn/assets/CQiFaCEUk0QjmZWK.js} +1 -1
  136. package/{browser/esm/CNNQFdovfxmKTLqX.mjs → cdn/assets/CQtZib0FjKvQbiDG.js} +1 -1
  137. package/cdn/assets/{DI9WWYlw4XtaKxJ9.js → CUMtWe1gZL3FdBOP.js} +6 -6
  138. package/cdn/assets/{TM6K2pq3Dcv9IkuU.js → CUxbeQfR9_P_knx7.js} +1 -1
  139. package/{browser/esm/3LUy01lLdiAyu4L8.mjs → cdn/assets/CV0xwwpXwrx7cunJ.js} +1 -1
  140. package/cdn/assets/{B3boJwK33Z6RqPqk.js → CWKMmCJHUVs8cZel.js} +6 -6
  141. package/cdn/assets/{DwUhQt38jwVGevvy.js → CYTAZuWT3QJpoX75.js} +1 -1
  142. package/cdn/assets/{BMcBO1IQO3eNx3D8.js → CiVx0tO0V_4ToonT.js} +1 -1
  143. package/cdn/assets/{Ber1-vHUp5sOqFS7.js → Ckl7hY7Un_-I-ccO.js} +1 -1
  144. package/{browser/esm/mMMnv_KWRsRe75FG.mjs → cdn/assets/Cl6UhQ-Fa_tk1hMT.js} +1 -1
  145. package/cdn/assets/{CK4HRZFkpjItprps.js → Cn9K_ZpeVGyZT2dc.js} +3 -3
  146. package/{browser/esm/DPRM8hNlNCr3-T5W.mjs → cdn/assets/Crw41yabEq-swm47.js} +1 -1
  147. package/{browser/esm/AbVL9q93k2OjvNMS.mjs → cdn/assets/Ctz5ddsRjB0hnLdi.js} +1 -1
  148. package/cdn/assets/{DN9WPHXLnxyrdP62.js → CvL1mCgI9qA63YoA.js} +15 -15
  149. package/cdn/assets/{D5-W8jVCdTuhwV4I.js → CxkEVmCPEVwHoHVF.js} +18 -18
  150. package/cdn/assets/{CQeDWMJhZEMvysUh.js → D0Tbz1ciIX0rTyO0.js} +2 -2
  151. package/{browser/esm/D0HahgSi_BcRitIR.mjs → cdn/assets/D4aBI8Q1QKmtd08h.js} +1 -1
  152. package/cdn/assets/{UYuqeLmzk4CZISVt.js → D4xY65nrl6MJiaVd.js} +10 -10
  153. package/cdn/assets/{6dBbccz3d0UDCmId.js → DABEpoNSmkCOVa7X.js} +1 -1
  154. package/{browser/esm/Bxh-G6GIKLTgdQSU.mjs → cdn/assets/DB7KGUAeBmMUb77y.js} +1 -1
  155. package/cdn/assets/{CM9SSh6zB4mXFuiK.js → DBvsKienZ_WmcTGd.js} +1 -1
  156. package/{browser/esm/PzttknQejK9onrpS.mjs → cdn/assets/DFvnp6cQLTr61-R4.js} +1 -1
  157. package/cdn/assets/{DnDDStLug64LBv-3.js → DZKgySEhRSd_acs_.js} +1 -1
  158. package/cdn/assets/{DZyvhfi33GteuMM3.js → Dinizrgo6WzR-giU.js} +4 -4
  159. package/cdn/assets/{CBZHbb2bqbziokhD.js → Djo6bf7iEUkSd5Xz.js} +2 -2
  160. package/cdn/assets/{BuEJOKp47YUO-SKV.js → DkthCZzdpdE7Juh3.js} +6 -6
  161. package/cdn/assets/{B0pXYR2QIxH_yyCd.js → DviZK2hYv7CCV-Lx.js} +1 -1
  162. package/cdn/assets/{sZe9Sjpn-rLq53T6.js → H30wDkYjBtrT0ZgL.js} +6 -6
  163. package/cdn/assets/{BcnRo-70LV3dW2F8.js → NZdHbcc4A8aR8z_P.js} +1 -1
  164. package/cdn/assets/{CPzGoc5ivg6BGW5V.js → OeqsE__gB5RRTktW.js} +1 -1
  165. package/cdn/assets/{A8eAz4-PTuL72Hin.js → U1xkKOphPZ8ViWfI.js} +2 -2
  166. package/cdn/assets/{CQ8SVGYEop2G_eer.js → _m_kaz1LWJPmPRI7.js} +1 -1
  167. package/cdn/assets/{Bzmc21lMGO689Gtm.js → c9gFvMeZ30QDtEkh.js} +2 -2
  168. package/{browser/esm/DE8w2hURn5qI8AKp.mjs → cdn/assets/exgvG80FM-7NUReB.js} +1 -1
  169. package/{browser/esm/IF2d9xZoQ-KwvBKh.mjs → cdn/assets/itUp9Fcd7garj6Ei.js} +1 -1
  170. package/cdn/assets/{DOoM8QGUlLAU2iqo.js → oHD9nG-D3gooE_Xd.js} +2 -2
  171. package/cdn/assets/{DdjDNvycthoT3npY.js → oluj6lXacLog_eD5.js} +2 -2
  172. package/cdn/assets/{CWgLS_jMj5DNrggO.js → ovzl4gqfazeLyLYr.js} +4 -4
  173. package/cdn/assets/{B6sQ-SvjZgQQji5w.js → tlLggOt3PbLk58j0.js} +11 -11
  174. package/cdn/index.js +2 -2
  175. package/cdn/loader.js +1 -1
  176. package/package.json +3 -3
  177. package/browser/cjs/BbEY710KwFxGt-nx.cjs +0 -364
@@ -1,11 +1,11 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./BbEY710KwFxGt-nx.cjs"),Je=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",ys=new RegExp(`^[${Je}][-${Je}.0-9·̀-ͯ‿-⁀]*$`,"u");function os(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const Ye="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",bs=new RegExp(`^[${Ye}][-${Ye}.0-9·̀-ͯ‿-⁀]*$`,"u");function rs(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const z=function(i){return i===32||i===10||i===13||i===9},xs=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},re=os,ts=function(i){return os(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ns=[32,10,13,9],ws=ys,vs=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Ss=rs,Cs=function(i){return rs(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ks=bs,ge="http://www.w3.org/XML/1998/namespace",Zt="http://www.w3.org/2000/xmlns/",As={__proto__:null,xml:ge,xmlns:Zt},Ds={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},O=-1,lt=-2,B=13,Ht=33,ot=10,St=60,Gt=61,j=62,X=63,Kt=93,pe=i=>i===34||i===39,as=[34,39],Es=[...as,91,j],Ps=[...as,St,Kt],Vs=[Gt,X,...ns],Os=[...ns,j,38,St];function ke(i,t,s){switch(t){case"xml":s!==ge&&i.fail(`xml prefix must be bound to ${ge}.`);break;case"xmlns":s!==Zt&&i.fail(`xmlns prefix must be bound to ${Zt}.`)}switch(s){case Zt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Zt}.`);break;case ge:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const Is=i=>ks.test(i),Ls=i=>ws.test(i),es={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Ns{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Ss,this.nameCheck=Cs,this.isName=Is,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...As};const o=this.opt.additionalNamespaces;o!=null&&(function(n,a){for(const c of Object.keys(a))ke(n,c,a[c])}(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=re,this.nameCheck=ts,this.isName=Ls,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?B:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ds),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[es[t]]=s}off(t){this[es[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return O;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case ot:return this.line++,this.column=0,this.positionAtNewLine=this.position,ot;case 13:return t.charCodeAt(s+1)===ot&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,lt;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return O;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case ot:return this.line++,this.column=0,this.positionAtNewLine=this.position,ot;case 13:{const a=t.charCodeAt(s+1);a!==ot&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,lt;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===lt?ot:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===lt,c=a?ot:n;if(c===O||t.includes(c))return this.text+=o.slice(s,this.prevI),c;a&&(this.text+=`${o.slice(s,this.prevI)}
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./C93vm3rYb2neksBv.cjs"),Qe=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",ys=new RegExp(`^[${Qe}][-${Qe}.0-9·̀-ͯ‿-⁀]*$`,"u");function os(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const Je="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",bs=new RegExp(`^[${Je}][-${Je}.0-9·̀-ͯ‿-⁀]*$`,"u");function rs(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const z=function(i){return i===32||i===10||i===13||i===9},xs=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},re=os,ts=function(i){return os(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ns=[32,10,13,9],ws=ys,vs=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Ss=rs,Cs=function(i){return rs(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ks=bs,ge="http://www.w3.org/XML/1998/namespace",Yt="http://www.w3.org/2000/xmlns/",As={__proto__:null,xml:ge,xmlns:Yt},Ps={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},I=-1,lt=-2,q=13,Ht=33,ot=10,St=60,Gt=61,j=62,X=63,Kt=93,pe=i=>i===34||i===39,as=[34,39],Ds=[...as,91,j],Es=[...as,St,Kt],Os=[Gt,X,...ns],Is=[...ns,j,38,St];function ke(i,t,s){switch(t){case"xml":s!==ge&&i.fail(`xml prefix must be bound to ${ge}.`);break;case"xmlns":s!==Yt&&i.fail(`xmlns prefix must be bound to ${Yt}.`)}switch(s){case Yt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Yt}.`);break;case ge:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const Vs=i=>ks.test(i),Ls=i=>ws.test(i),es={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Ns{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Ss,this.nameCheck=Cs,this.isName=Vs,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...As};const o=this.opt.additionalNamespaces;o!=null&&(function(n,a){for(const c of Object.keys(a))ke(n,c,a[c])}(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=re,this.nameCheck=ts,this.isName=Ls,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?q:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ps),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[es[t]]=s}off(t){this[es[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return I;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case ot:return this.line++,this.column=0,this.positionAtNewLine=this.position,ot;case 13:return t.charCodeAt(s+1)===ot&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,lt;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return I;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case ot:return this.line++,this.column=0,this.positionAtNewLine=this.position,ot;case 13:{const a=t.charCodeAt(s+1);a!==ot&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,lt;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===lt?ot:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===lt,c=a?ot:n;if(c===I||t.includes(c))return this.text+=o.slice(s,this.prevI),c;a&&(this.text+=`${o.slice(s,this.prevI)}
7
7
  `,s=this.i)}}captureToChar(t){let{i:s}=this;const{chunk:o}=this;for(;;){let n=this.getCode();switch(n){case lt:this.text+=`${o.slice(s,this.prevI)}
8
- `,s=this.i,n=ot;break;case O:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===O)return this.name+=t.slice(s),O;if(!ts(o))return this.name+=t.slice(s,this.prevI),o===lt?ot:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===O||!z(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=xs,this.getCode=this.getCode10):(this.isChar=vs,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case St:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case O:break;default:this.unget(),this.state=B,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo(Es);switch(t){case j:this.doctypeHandler?.(this.text),this.text="",this.state=B,this.doctype=!0;break;case O:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:pe(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(Ps);t!==O&&(this.text+=String.fromCodePoint(t),t===Kt?this.state=2:t===St?this.state=6:pe(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case X:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(X)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case lt:this.entity+=`${s.slice(t,this.prevI)}
9
- `,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===B&&this.textHandler===void 0||(this.text+=a);break t}case O:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(re(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case X:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=B,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==j?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=B}sCData(){this.captureToChar(Kt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Kt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case j:this.cdataHandler?.(this.text),this.text="",this.state=B;break;case Kt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===X||z(t)?(this.fail("processing instruction without a target."),this.state=t===X?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===O)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===X;n||z(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?Ht:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===X?this.state=26:z(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(X)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===j){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=B}else t===X?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==X?t!==O&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=Ht}sXMLDeclName(){const t=this.captureTo(Vs);if(t===X)return this.state=Ht,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(z(t)||t===Gt){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Gt?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===X)return this.state=Ht,void this.fail("XML declaration is incomplete.");z(t)||(t!==Gt&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===X)return this.state=Ht,void this.fail("XML declaration is incomplete.");z(t)||(pe(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,X]);if(t===X)return this.state=Ht,this.text="",void this.fail("XML declaration is incomplete.");if(t===O)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==X?(z(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=Ht}sXMLDeclEnding(){this.getCodeNorm()===j?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmldeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=B):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===O)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case j:this.openTag();break;case 47:this.state=35;break;default:z(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===j?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==O&&(re(t)?(this.unget(),this.state=37):t===j?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Gt?this.state=39:z(t)?this.state=38:t===j?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==O&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case O:return;case Gt:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===j?this.openTag():re(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();pe(t)?(this.q=t,this.state=40):z(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case ot:case lt:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case St:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case O:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();z(t)?this.state=36:t===j?this.openTag():t===47?this.state=35:re(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Os);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case St:this.fail("disallowed character.");break;case O:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===j?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===j?this.closeTag():z(t)?this.state=44:t!==O&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case j:this.closeTag();break;case O:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case St:if(this.state=15,n!==void 0){const{text:a}=this,c=o.slice(t,this.prevI);a.length!==0?(n(a+c),this.text=""):c.length!==0&&n(c)}s=0;break t;case 38:this.state=14,this.entityReturnState=B,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Kt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case j:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case lt:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
10
- `),t=this.i,s=0;break;case O:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case St:if(this.state=15,o!==void 0){const{text:c}=this,T=s.slice(t,this.prevI);c.length!==0?(o(c+T),this.text=""):T.length!==0&&o(T)}break t;case 38:this.state=14,this.entityReturnState=B,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case lt:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
11
- `),t=this.i;break;case O:o!==void 0&&(this.text+=s.slice(t));break t;default:z(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const c=s.trim();this.currentXMLVersion==="1.0"&&c===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=c,ke(this,n,c)}else if(t==="xmlns"){const c=s.trim();this.topNS[""]=c,ke(this,"",c)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==B&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:c}=this.qname(s.name);s.prefix=a,s.local=c;const T=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),T===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:c,prefix:T,local:S}=a;let x,w;T===""?(x=c==="xmlns"?Zt:"",w=c):(x=this.resolve(T),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(T)}.`),x=T),w=`{${x}}${S}`),n.has(w)&&this.fail(`duplicate attribute: ${w}.`),n.add(w),a.uri=x,o[c]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=B,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=B,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=B,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Ae,Tt;(Tt=Ae||(Ae={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},Tt.parseStream=async(i,t,s)=>{const o=new Ns({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(Tt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(Tt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(Tt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(Tt.Events.Attribute,t.onAttribute),t.onText&&o.on(Tt.Events.Text,t.onText),t.onError&&o.on(Tt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(Tt.Events.End,a)}for(;;){const{value:a,done:c}=await i.read();if(c)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,D=i=>{const t=parseInt(i);return isNaN(t)?null:t},ct=i=>{const t=parseFloat(i);return isNaN(t)?null:t},A=null;class Rs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let c=null,T=null,S=null,x=null;const w=[],E={key:null,source:t};let b=null,d=!1;const P=(y,m)=>{let I=S.attributes[y];if(m){if(Array.isArray(m)){for(let F=0;F<m.length;F++)if(I==null||(I=m[F](I),I==null))return}else if(I==null||(I=m(I),I==null))return}return I},f={getSource:()=>b.source,setSource:y=>{b.source=y},setKey:y=>{b.key=y},getFrom:()=>S,getAttribute:(y,m)=>P(y,m)??null,hasAttribute:y=>f.getAttribute(y)!==null,getParent:()=>w[w.length-2].source,getPath:()=>{const y=[];for(let m=0;m<a.length;m++)y.push(a[m].local);return y.join("\\")},parseAttribute:P,copyToObject:(y,m,I,F)=>{const W=P(F??m,I);W!==void 0&&(y[m]=W)},copyTo:(y,m,I)=>{const F=P(I??y,m);F!==void 0&&(b.source[y]=F)},warn:y=>{o?o?.(y):console.warn(y)}};return{onOpenTag:y=>{let m=y.name;const I=m.indexOf(":");I!==-1&&(m=m.slice(I+1));const F=n.get(m);if(c={local:m,visitor:F,tag:y,destination:null},d)return a.push(c),T=m,void(S=y);x=c?.visitor??null,F&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,c.destination=b,b&&w.push(b)),a.push(c),T=m,S=y,d=x?.to===null,x?.openTag?.(f)},onCloseTag:y=>{let m=y.name;const I=m.indexOf(":");if(I!==-1&&(m=m.slice(I+1)),m!==T)throw new Error(`mismatch open/close tag: '${m}'/'${T}'`);d||x?.closeTag?.(f);const F=a.pop()??null;c=a[a.length-1]??null;const W=F?.destination;if(W){w.pop(),b=w[w.length-1]??E;const ht=F.visitor;ht&&ht.to&&W.source!==void 0&&(Array.isArray(ht.to)?b.source.push?b.source.push(W.source):o?.(`Unable to parse array for ${ht.from} at ${f.getPath()}`):W.key?b.source[W.key]=W.source:typeof ht.to=="string"&&(b.source[ht.to]=W.source))}T=c?.local??null,S=c?.tag??null,x=c?.visitor??null,d=!c?.destination},onText:y=>{x?.text?.(y,f)},onEnd:s}}}const ss=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const c=t(n);if(!c)return null;let T=c.content;try{s&&(T=s(T))}catch(S){console.warn(S)}return o?.parsedRefs?.set(i,T),T},De=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let c=n?.parsedRefs?.get(i);if(c!==void 0)return c;const T=t(a);if(!T)return null;const S=T.content;try{const x=new TextDecoder().decode(S),w=s.parseFromString(x,"text/xml"),E=o.convert(w,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let c=t.Directory[i];const T=c?c.length:0;for(let S=0;S<T;S++){const x=c[S];if(!x)continue;let w=x;w.startsWith("/")&&(w=w.substring(1));const E=De(w,b=>t.files[b],s,o,n);a.set(w,E)}return a},$s=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ee=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const c=i("theme");c&&(s=$s[c]);let T=i("tint");if(T&&(s+=` ${u.N.AdjustmentType.ETint} ${parseFloat(T)}`),s)return s},ls=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),cs=i=>i==="true"||i==="1";class Ft{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const Ms=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},is={colStart:0,colEnd:0,rowStart:0,rowEnd:0},js=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,onWarning:o,createWorkbookOptions:n={},...a}=t??{},c=Promise.resolve().then(()=>require("./SKR8zQ_6EFd3QuXc.cjs")),T=Promise.resolve().then(()=>require("./OLQtPYBVwDJUVBX4.cjs"));let S=null;try{S=new DOMParser}catch{}let x=null;S||(x=Promise.resolve().then(()=>require("./isuVkDnj-ShYtgWE.cjs")).then(d=>d.i));let w=null,E=null,b=null;try{const d=await Promise.all([c,T,x]);w=d[0],E=d[1],b=d[2]}catch(d){throw new Error("Unable to load XLSX parser.",{cause:d})}try{const d=w.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!d.Directory)throw new Error("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");d.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],d.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const P=new E.FromOOXMLConverter,f=S??new b.DOMParser,y=n?.resources??new u.ep,m=y.beginPersist(),I={},F=new Set,W=new Map;W.set("richTypes",[]);const ht=new Map,Pe=[],ne=V=>d.files[V],fe=(V,U)=>{const Y=V.lastIndexOf("/"),ut=V.substring(0,Y+1)+"_rels/"+V.substring(Y+1,V.length)+".rels";let dt=U.get(ut);return dt||(dt=(($,be,xe,we,Xt=null)=>{if(!$)return null;const tt=De($,be,xe,we,Xt);if(!tt)return null;const et=new Map,bt=Object.keys(tt),_t=bt.length;for(let xt=0;xt<_t;xt++){const Bt=bt[xt],kt=tt[Bt];et.set(Bt,kt)}return et})(ut,ne,f,P,yt),U.set(ut,dt)),dt},ae=(V,U,Y,ut=ht)=>{let dt=fe(U,ut).get(V),$=dt?.target;if(!$)return null;if(dt.targetMode==="External")return dt.target;const be=U.lastIndexOf("/"),xe=U.substring(0,be+1);$.startsWith("/")||($=xe+$),$=(tt=>{const et=tt.split(/\/+/);return et.reduce((bt,_t,xt)=>(_t==="."?bt.splice(xt,1):_t===".."&&bt.splice(xt-1,2),bt),et).join("/")})($);const we=P?.getVisitorParamsState().get("dxfs");let Xt=ut.get($);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const tt={};Xt=tt;const et=async()=>{const bt=((L,G,Qt,q,K,Z,wt)=>{const h=new Rs,Q=new u.Be.TransposedBuilder;let H=null;h.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",A)}}),h.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const C=l[p];C!=="rule"&&(r[C]=r.rule[C])}}delete r.rule}}),h.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",A),e.copyToObject(r,"priority",D),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",D);if(l!==null){let p=q?.get(l);p||(Z?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",D),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",D),e.copyToObject(r,"operator",A),e.copyToObject(r,"text",A),e.copyToObject(r,"timePeriod",A)}}),h.registerVisitor({from:"colorScale",to:"colorScale"}),h.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",D),e.copyTo("minLength",D),e.copyTo("showValue",v)}}),h.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",A),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),h.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),h.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",A),e.copyTo("value",ct,"val"),e.copyTo("gte",v)}}),h.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ee(p=>e.getAttribute(p));r.colors.push(l)}}),h.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",D,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),h.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",D,"dxfId")}}),h.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Dynamic,e.copyTo("dynamicType",A,"type"),e.copyTo("val",ct),e.copyTo("maxVal",ct,"maxVal")}}),h.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Icon,e.copyTo("iconId",D),e.copyTo("iconSet",A)}}),h.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Top10,e.copyTo("filterVal",ct),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ct)}}),h.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",A)}}),h.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",A,"dateTimeGrouping"),e.copyTo("day",D),e.copyTo("hour",D),e.copyTo("minute",D),e.copyTo("month",D),e.copyTo("second",D),e.copyTo("year",D)}}),h.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ct))}}),h.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Cg.Type.Custom,e.copyTo("and",v)}}),h.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",A),e.copyTo("value",ct,"val")}}),h.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",A)}}),h.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",A,"sortBy"),e.copyTo("dxfId",A,"sortBy"),e.copyTo("iconSet",A),e.copyTo("customList",A);const p=e.getAttribute("ref");if(p){const C=u._o.fastStringToRange(p,is).colStart,pt=u._o.fastStringToRange(r.ref,is),rt=pt.colStart;l.offset=pt?C-rt:C}l.reverse=e.getAttribute("descending",v)??!1}}),h.registerVisitor({from:"AlternateContent",to:null});const ue=e=>{H=e.getSource(),e.copyTo("topLeft",A,"topLeftCell");const r=cs(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",D),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};h.registerVisitor({from:"sheetView",to:"view",openTag:e=>{ue(e)},closeTag:()=>{H=null}}),h.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"customSheetView",to:[],openTag:e=>{ue(e)},closeTag:()=>{H=null}}),h.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!H)return;e.copyTo("cell",A,"activeCell"),e.copyTo("rangeIndex",D,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),h.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(H&&e.getAttribute("state")==="frozen"){const r={};H.freezePanes=r,e.copyToObject(r,"topLeft",A,"topLeftCell");const l=H.topLeft?u._o.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",D,"xSplit"),e.copyToObject(p,"rowIndex",D,"ySplit");const C={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=u._o.cellToString(C)}}}),h.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ee(l=>e.getAttribute(l));r&&(L.tabColor=r)}}),h.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),h.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),h.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),h.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),h.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),h.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),h.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?G(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const C=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const pt=e.getAttribute("location");if(pt&&(C&&C!==pt&&console.warn("display and location are different",C,pt),p+="#"+pt),!p)return void console.warn("No address found for hyperlink. r:id",r);let rt;const At=e.getAttribute("tooltip");rt=At?{address:p,tooltip:At}:p,e.setSource({r:l,v:rt})}}),h.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=G(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),h.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=G(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),h.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),h.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=C=>C===!0||C==="1"||C==="on"||C==="true"||C===!1||C==="0"||C==="off"||C==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",A,"hashValue"),e.copyToObject(p,"algorithm",A,"algorithmName"),e.copyToObject(p,"salt",A,"saltValue"),e.copyToObject(p,"spinCount",D),Object.keys(p).length>0&&(e.getSource().password=p)}}),h.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),h.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",A,"hashValue"),e.copyToObject(l,"algorithm",A,"algorithmName"),e.copyToObject(l,"salt",A,"saltValue"),e.copyToObject(l,"spinCount",D),Object.keys(l).length>0&&(e.getSource().password=l)}}),h.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(L,"defaultColSize",ct,"defaultColWidth"),e.copyToObject(L,"outlineLevelCol",D,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(L,"defaultRowSize",ct,"defaultRowHeight"),e.copyToObject(L,"outlineLevelRow",D,"outlineLevelRow")}}),h.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ct,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",D,"outlineLevel"),e.copyTo("s",D,"style")}}),h.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Jt=null;const ms={onOpenTag:e=>{Jt===null&&(Jt="")},onText:e=>{Jt+=e},onEnd:()=>{const e=Qt(Jt);return Jt=null,e},onError:e=>{}};return((e,r,l,p,C,pt)=>{let rt=!1,At=!1,Wt=[],qt=!1,Dt=null,Yt=null,de=null,nt=null,$e=null,Me=null;const Ts=pt?.get("richData")??[],je=u._o.normalizeA1ToR1C1,He=u.D.createConflatingRanges(),Fe=new Map,ve=[];let te=null;const Xe=u.D.createConflatingRanges();let ee,Et=!1,_=-1,J=-1,gt=null,se=null;const Se=[];let Ce=null,_e=-2,ft=0,zt="",Pt="",Vt="",Ot="",It="",Lt="",Nt="",Be="",We="",qe="",ze="",Ue="",Ge="",Ke="",mt=!0,Rt=null;return{...l,onEnd:()=>{Se.length>0&&(r.rows=Se);let g=He.done(Ms);const k=g.length;if(k>0){const M=new Array(k);for(let N=0;N<k;N++){const at=g[N],$t=u._o.rangeToString(at),Mt=at.value[1],ie=u._o.resolveRelativeToA1(Mt,at.rowStart,at.colStart);M[N]=[$t,ie]}r.formulas=M}const st=Xe.done(!0),R=st.length;if(R>0){const M=new Array(R);for(let N=0;N<R;N++){const at=st[N],$t=u._o.rangeToString(at);M[N]=$t}r.volatile=M}if(ve.length>0&&(r.dynamicArray=[...ve]),Wt.length>0){Wt.sort(u.D.createRangeComparator(u.F.Orientation.Column));const M=[];let N=null,at=-1,$t=-1,Mt=-1,ie=-1,vt=null;const Ze=Wt.length;Ze>0&&(N=Wt[0],at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value,M.push(N));for(let jt=1;jt<Ze;jt++)vt=Wt[jt],ie!==vt.value||at!==vt.colStart||$t!==vt.colEnd||Mt+1!==vt.rowEnd?(M.push(vt),N=vt,at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value):(Mt=vt.rowEnd,N.rowEnd=Mt);let Qe=[];for(let jt=0;jt<M.length;jt++){const oe=M[jt];Qe.push({r:{colStart:oe.colStart,colEnd:oe.colEnd,rowStart:oe.rowStart,rowEnd:oe.rowEnd},v:oe.value})}r.directStyles=Qe}const it=e.build();if(it){const M=it.tuples;r.data=M}l?.onEnd?.()},onOpenTag:g=>{let k=g.name;const st=k.indexOf(":");if(st!==-1&&(k=k.slice(st+1)),ee){const R=g.attributes;switch(k){case"v":At=!0;break;case"f":switch(R.t??null){case null:case"normal":qt=!0;break;case"shared":const it=R.si;Yt=R.ref,Dt=it;break;case"array":qt=!0,Yt=R.ref,te=[Yt,!1];break;case"datatable":qt=!0,Yt=R.ref,qt=!0}R.ca!==void 0&&Xe.append(_,J);break;case"is":return void(Et=!0)}return void(Et&&C?.onOpenTag(g))}if(rt){if(k==="c"){ee=g;const R=g.attributes.r;J=u._o.fastStringToCol(R);const it=g.attributes.t;it===void 0?se=null:(se=it,se==="str"&&(Et=!0));let M=g.attributes.s;M!==void 0&&(M=parseInt(M),Rt&&Rt.value===M&&Rt.colEnd+1===J?Rt.colEnd=J:(Rt={colStart:J,rowStart:_,colEnd:J,rowEnd:_,value:M},Wt.push(Rt)))}}else{if(k==="row"){rt=!0;const R=g.attributes.r;if(_=parseInt(R)-1,ft=0,Pt=g.attributes.customHeight,Pt!==void 0&&(ft|=Ft.CustomHeight),Pt!==We&&(mt=!0,We=Pt),zt=g.attributes.ht,zt!==void 0&&(ft|=Ft.Ht),zt!==Be&&(mt=!0,Be=zt),Vt=g.attributes.hidden,Vt!==void 0&&(ft|=Ft.Hidden),Vt!==qe&&(mt=!0,qe=Vt),It=g.attributes.s,It!==void 0&&(ft|=Ft.S),It!==Ue&&(mt=!0,Ue=It),Ot=g.attributes.customFormat,Ot!==void 0&&(ft|=Ft.CustomFormat),Ot!==ze&&(mt=!0,ze=Ot),Lt=g.attributes.outlineLevel,Lt!==void 0&&(ft|=Ft.OutlineLevel),Lt!==Ge&&(mt=!0,Ge=Lt),Nt=g.attributes.collapsed,Nt!==void 0&&(ft|=Ft.Collapsed),Nt!==Ke&&(mt=!0,Ke=Nt),ft!==0)if(_e+1!==_||mt){const it=Pt!==void 0&&(Pt==="1"||Pt==="true"),M=Ot!==void 0&&(Ot==="1"||Ot==="true");Ce={min:_,max:_,sz:it&&zt!==void 0?parseFloat(zt):-1,csz:it,h:Vt!==void 0&&(Vt==="1"||Vt==="true"),s:it&&It!==void 0&&It!=="0"?parseInt(It):0,cs:M,l:Lt===void 0||Lt==="0"?0:parseInt(Lt),cl:Nt!==void 0&&(Nt==="1"||Nt==="true")},Se.push(Ce)}else Ce.max=_;return _e=_,void(mt=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(ee){let k=g.name;const st=k.indexOf(":");if(st!==-1&&(k=k.slice(st+1)),Et)if(k==="is"||k==="v"){const R=C?.onEnd();R!==null&&e.addValue(_,J,""+R)}else C?.onCloseTag?.(g);return At&&(At=!1),void(k==="c"&&(ee=null,Et=!1))}if(rt)return rt=!1,void(Rt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),At){switch(gt=null,se){case null:case"n":gt=parseFloat(g);break;case"b":gt=g==="1"||g==="true";break;case"s":gt=g;break;case"e":if(g==="#VALUE!"){const st=ee.attributes.vm;if(st!==void 0){const R=Ts[parseInt(st)-1];if(R&&R.isFormulaError){gt={t:u.K.Error,v:R.getCode()};break}}}const k=u.Y.getBuiltInByLabel(g);k?gt={t:u.K.Error,v:k.getCode()}:(gt=g,p?.(`Unknown formula error '${g}' in cell ${u._o.cellToString({colIndex:J,rowIndex:_})}`));break;case"str":case"inlineStr":Et=!0}gt!==null&&e.addValue(_,J,gt)}if(te&&(se==="e"&&(te[1]=!0),ve.push(te),te=null),Dt)if($e===Dt)nt=Me;else{if(nt=Fe.get(Dt),!nt){const k=[];de=je(g,_,J,k),nt=[de,k,g],Fe.set(Dt,nt)}$e=Dt,Me=nt}if(qt){const k=[];de=je(g,_,J,k),nt=[de,k,g]}if(nt)return He.append(_,J,nt),nt=null,qt=!1,Dt=null,void(Yt=null);Et?C?.onText(g):rt||l?.onText(g)}}})(Q,L,h.createEventHandler(L,()=>{},Z),Z,ms,wt)})(tt,(L,G=!1)=>ae(L,$,G)??null,us,we,0,L=>{o&&(L=$+": "+L,o?.(L))},W),_t=ss($,ne),xt=await(async(L,G=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:Z}=await Promise.resolve().then(()=>require("./BOwI__-2C4zHdb02.cjs"));globalThis.ReadableStream=Z}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Qt=new TextDecoder("utf-8");let q=0;const K=L instanceof Uint8Array?L:new Uint8Array(L);return new ReadableStream({pull(Z){if(q>=K.byteLength)return void Z.close();const wt=K.subarray(q,Math.min(q+G,K.byteLength)),h=Qt.decode(wt,{stream:q+G<K.byteLength});Z.enqueue(h),q+=wt.length}}).getReader()})(_t);try{await Ae.parseStream(xt,bt,{xmlns:!1})}catch(L){throw console.warn(`Error parsing sheet: '${$}'`,L),new Error(`Error parsing sheet: '${$}'`,{cause:L})}const Bt=fe($,ut);let kt,Re=new Map;if(Bt){const L="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let G;Bt.forEach((q,K)=>{q.type===L&&(kt=ae(K,$,!1,ut)?.comments,kt&&kt.forEach(Z=>{Re.set(Z.id,Z)}))});const Qt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((q,K)=>{q.type===Qt&&(G=ae(K,$,!1,ut))}),G||kt){const q=kt??[],K=G?.comments;if(K){const Z=G?.authors;for(let wt=0;wt<K.length;wt++){const h=K[wt];let Q=h.authorId!==void 0?Z[h.authorId]:void 0;if((!Q||Q.startsWith("tc="))&&(Q=ls(Q.substring(3)),Re.has(Q)))continue;let H=ce.get(Q);H||(H=Ie.get(Q)),H||(H={id:u.k.uuidV4(),displayName:Q},Ie.set(H.displayName,H),ce.set(H.id,H)),Q=H?.id??null;const ue={id:u.k.uuidV4(),personId:Q,ref:h.ref,done:!1,asNote:!0,content:h.content};q.push(ue)}}tt.comments=q}}};Pe.push(et())}else Xt=Y?ss($,ne,tt=>{const et=y.add({buffer:tt});return et.addReference(I),F.add(et),m.toResourceId(et)},yt):De($,ne,f,P,yt);return Xt},yt={paramMap:W,getRefs:fe,getRef:ae,parsedRefs:ht,onWarning:o,addPerson:V=>null},le=[];let me=0;d.Strings&&(me=parseInt(d.Strings.Unique??d.Strings.length??0));const hs=d.Strings??[];for(let V=0;V<me;V++)le.push(hs[V]?.t??"");const Ve=new Map;let Oe=me;const us=V=>{const U=Ve.get(V);if(U!==void 0)return U;const Y=Oe;return Ve.set(V,Oe++),le.push(V),Y},ce=(Ut("richstructure",d,f,P,yt),Ut("richdata",d,f,P,yt),new Map),Ie=new Map,Le=Ut("people",d,f,P);let Ct=null;if(Le.size>0&&(Ct=Le.entries().next()?.value?.[1]?.persons,Ct)){const V=Ct.length;for(let U=0;U<V;U++){const Y=Ct[U];ce.set(Y.id,Y),ce.set(Y.displayName,Y)}}const Te=Ut("themes",d,f,P,yt);let Ne=null;if(Te&&Te.entries){let V=Te.entries().next();V?.value?.[1]&&(Ne=V.value[1])}const ds=new u.Ic(Ne);let he=Ut("styles",d,f,P,yt).entries().next()?.value[1];he&&(he=JSON.parse(u.Ga(he)));const ps=Ut("workbooks",d,f,P,yt);await Promise.all(Pe);const ye={...ps.entries().next().value[1],styles:he,theme:ds.toJSON()};le.length>0&&(ye.strings=le),Ct&&Ct.length>0&&(ye.people=Ct);const gs={...n,resources:y,json:ye},fs=new u.db(gs);return F.forEach(V=>{V.deleteReference(I)}),m.endPersist(),fs}catch(d){let P="Unable to parse XLSX.";throw d instanceof u.Ge&&(P="Unable to open XLSX. There are too many rows or columns."),new Error(P,{cause:d})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./SKR8zQ_6EFd3QuXc.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const c=o.sheets[a],T=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,T,c.name);const S=c.sheet,x=i.getSheetAt(a),w=x.getUsedRange();if(w?(T["!ref"]=w.getA1(),w.forEach((E,b)=>{const d={t:"z"},P=b.getCell().getStyle();if(!P.isNormal()){let f=P.getNumberFormat();f!==u.Vt.Type.General&&(f===u.Vt.Type.ShortDate?f="m/d/yyyy":f===u.Vt.Type.MediumDate?f="d-mmm-yy":f===u.Vt.Type.LongDate?f="[$-x-sysdate]dddd, mmmm dd, yyyy":f===u.Vt.Type.ShortTime?f="h:mm":f===u.Vt.Type.MediumTime?f="h:mm AM/PM":f===u.Vt.Type.LongTime&&(f="h:mm:ss AM/PM"),d.z=f)}if(E!==null)switch(b.getType()){case u.K.Number:d.t="n",d.v=E;break;case u.K.String:d.t="s",d.v=E;break;case u.K.Boolean:d.t="b",d.v=E;break;case u.K.Error:d.t="e",d.v=E.toString();case u.K.RichData:}T[b.getA1()]=d})):T["!ref"]="A1:A1",S.merges?.length>0){const E=[];T["!merges"]=E;for(let b=0;b<S.merges.length;b++)E.push(s.utils.decode_range(S.merges[b]))}if(S.cols?.length>0){const E=[];T["!cols"]=E;const b=S.cols,d={width:S.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let P=0;P<b.length;P++){const f=b[P];for(let m=E.length;m<=f.min-1;m++)E.push(d);const y={};f.sz!==void 0&&(y.width=f.sz),f.h!==void 0&&(y.hidden=f.h),f.l!==void 0&&(y.level=f.l);for(let m=f.min;m<=f.max;m++)E.push(y)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=cs,exports.c=i=>i?u.Yt.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ee,exports.i=js,exports.p=i=>parseFloat(i)/6e4,exports.r=ls,exports.t=i=>i?u.Yt.roundAccurately(parseFloat(i)/12700,4):null;
8
+ `,s=this.i,n=ot;break;case I:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===I)return this.name+=t.slice(s),I;if(!ts(o))return this.name+=t.slice(s,this.prevI),o===lt?ot:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===I||!z(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=xs,this.getCode=this.getCode10):(this.isChar=vs,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case St:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case I:break;default:this.unget(),this.state=q,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo(Ds);switch(t){case j:this.doctypeHandler?.(this.text),this.text="",this.state=q,this.doctype=!0;break;case I:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:pe(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(Es);t!==I&&(this.text+=String.fromCodePoint(t),t===Kt?this.state=2:t===St?this.state=6:pe(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case X:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(X)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case lt:this.entity+=`${s.slice(t,this.prevI)}
9
+ `,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===q&&this.textHandler===void 0||(this.text+=a);break t}case I:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(re(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case X:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=q,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==j?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=q}sCData(){this.captureToChar(Kt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Kt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case j:this.cdataHandler?.(this.text),this.text="",this.state=q;break;case Kt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===X||z(t)?(this.fail("processing instruction without a target."),this.state=t===X?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===I)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===X;n||z(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?Ht:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===X?this.state=26:z(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(X)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===j){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=q}else t===X?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==X?t!==I&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=Ht}sXMLDeclName(){const t=this.captureTo(Os);if(t===X)return this.state=Ht,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(z(t)||t===Gt){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Gt?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===X)return this.state=Ht,void this.fail("XML declaration is incomplete.");z(t)||(t!==Gt&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===X)return this.state=Ht,void this.fail("XML declaration is incomplete.");z(t)||(pe(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,X]);if(t===X)return this.state=Ht,this.text="",void this.fail("XML declaration is incomplete.");if(t===I)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==X?(z(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=Ht}sXMLDeclEnding(){this.getCodeNorm()===j?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmldeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=q):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===I)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case j:this.openTag();break;case 47:this.state=35;break;default:z(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===j?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==I&&(re(t)?(this.unget(),this.state=37):t===j?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Gt?this.state=39:z(t)?this.state=38:t===j?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==I&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case I:return;case Gt:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===j?this.openTag():re(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();pe(t)?(this.q=t,this.state=40):z(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case ot:case lt:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case St:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case I:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();z(t)?this.state=36:t===j?this.openTag():t===47?this.state=35:re(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Is);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case St:this.fail("disallowed character.");break;case I:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===j?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===j?this.closeTag():z(t)?this.state=44:t!==I&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case j:this.closeTag();break;case I:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case St:if(this.state=15,n!==void 0){const{text:a}=this,c=o.slice(t,this.prevI);a.length!==0?(n(a+c),this.text=""):c.length!==0&&n(c)}s=0;break t;case 38:this.state=14,this.entityReturnState=q,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Kt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case j:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case lt:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
10
+ `),t=this.i,s=0;break;case I:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case St:if(this.state=15,o!==void 0){const{text:c}=this,T=s.slice(t,this.prevI);c.length!==0?(o(c+T),this.text=""):T.length!==0&&o(T)}break t;case 38:this.state=14,this.entityReturnState=q,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case lt:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
11
+ `),t=this.i;break;case I:o!==void 0&&(this.text+=s.slice(t));break t;default:z(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const c=s.trim();this.currentXMLVersion==="1.0"&&c===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=c,ke(this,n,c)}else if(t==="xmlns"){const c=s.trim();this.topNS[""]=c,ke(this,"",c)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==q&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:c}=this.qname(s.name);s.prefix=a,s.local=c;const T=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),T===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:c,prefix:T,local:S}=a;let x,w;T===""?(x=c==="xmlns"?Yt:"",w=c):(x=this.resolve(T),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(T)}.`),x=T),w=`{${x}}${S}`),n.has(w)&&this.fail(`duplicate attribute: ${w}.`),n.add(w),a.uri=x,o[c]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=q,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=q,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=q,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Ae,Tt;(Tt=Ae||(Ae={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},Tt.parseStream=async(i,t,s)=>{const o=new Ns({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(Tt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(Tt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(Tt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(Tt.Events.Attribute,t.onAttribute),t.onText&&o.on(Tt.Events.Text,t.onText),t.onError&&o.on(Tt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(Tt.Events.End,a)}for(;;){const{value:a,done:c}=await i.read();if(c)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,P=i=>{const t=parseInt(i);return isNaN(t)?null:t},ct=i=>{const t=parseFloat(i);return isNaN(t)?null:t},A=null;class Rs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let c=null,T=null,S=null,x=null;const w=[],D={key:null,source:t};let b=null,d=!1;const E=(y,m)=>{let V=S.attributes[y];if(m){if(Array.isArray(m)){for(let F=0;F<m.length;F++)if(V==null||(V=m[F](V),V==null))return}else if(V==null||(V=m(V),V==null))return}return V},f={getSource:()=>b.source,setSource:y=>{b.source=y},setKey:y=>{b.key=y},getFrom:()=>S,getAttribute:(y,m)=>E(y,m)??null,hasAttribute:y=>f.getAttribute(y)!==null,getParent:()=>w[w.length-2].source,getPath:()=>{const y=[];for(let m=0;m<a.length;m++)y.push(a[m].local);return y.join("\\")},parseAttribute:E,copyToObject:(y,m,V,F)=>{const W=E(F??m,V);W!==void 0&&(y[m]=W)},copyTo:(y,m,V)=>{const F=E(V??y,m);F!==void 0&&(b.source[y]=F)},warn:y=>{o?o?.(y):console.warn(y)}};return{onOpenTag:y=>{let m=y.name;const V=m.indexOf(":");V!==-1&&(m=m.slice(V+1));const F=n.get(m);if(c={local:m,visitor:F,tag:y,destination:null},d)return a.push(c),T=m,void(S=y);x=c?.visitor??null,F&&(b=a.length===0?D:x?.to!==null?{key:null,source:{}}:null,c.destination=b,b&&w.push(b)),a.push(c),T=m,S=y,d=x?.to===null,x?.openTag?.(f)},onCloseTag:y=>{let m=y.name;const V=m.indexOf(":");if(V!==-1&&(m=m.slice(V+1)),m!==T)throw new Error(`mismatch open/close tag: '${m}'/'${T}'`);d||x?.closeTag?.(f);const F=a.pop()??null;c=a[a.length-1]??null;const W=F?.destination;if(W){w.pop(),b=w[w.length-1]??D;const ht=F.visitor;ht&&ht.to&&W.source!==void 0&&(Array.isArray(ht.to)?b.source.push?b.source.push(W.source):o?.(`Unable to parse array for ${ht.from} at ${f.getPath()}`):W.key?b.source[W.key]=W.source:typeof ht.to=="string"&&(b.source[ht.to]=W.source))}T=c?.local??null,S=c?.tag??null,x=c?.visitor??null,d=!c?.destination},onText:y=>{x?.text?.(y,f)},onEnd:s}}}const ss=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const c=t(n);if(!c)return null;let T=c.content;try{s&&(T=s(T))}catch(S){console.warn(S)}return o?.parsedRefs?.set(i,T),T},Pe=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let c=n?.parsedRefs?.get(i);if(c!==void 0)return c;const T=t(a);if(!T)return null;const S=T.content;try{const x=new TextDecoder().decode(S),w=s.parseFromString(x,"text/xml"),D=o.convert(w,i,n);return n?.parsedRefs?.set(i,D),D}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let c=t.Directory[i];const T=c?c.length:0;for(let S=0;S<T;S++){const x=c[S];if(!x)continue;let w=x;w.startsWith("/")&&(w=w.substring(1));const D=Pe(w,b=>t.files[b],s,o,n);a.set(w,D)}return a},$s=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],De=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const c=i("theme");c&&(s=$s[c]);let T=i("tint");if(T&&(s+=` ${u.N.AdjustmentType.ETint} ${parseFloat(T)}`),s)return s},ls=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),cs=i=>i==="true"||i==="1";class Ft{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const Ms=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},is={colStart:0,colEnd:0,rowStart:0,rowEnd:0},js=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,onWarning:o,createWorkbookOptions:n={},...a}=t??{},c=Promise.resolve().then(()=>require("./BqNZs_XIfzwqlDlN.cjs")),T=Promise.resolve().then(()=>require("./DGK_Hbzv8kikUYBG.cjs"));let S=null;try{S=new DOMParser}catch{}let x=null;S||(x=Promise.resolve().then(()=>require("./Dg9lWhdjcYx-McwV.cjs")).then(d=>d.i));let w=null,D=null,b=null;try{const d=await Promise.all([c,T,x]);w=d[0],D=d[1],b=d[2]}catch(d){throw new Error("Unable to load XLSX parser.",{cause:d})}try{const d=w.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!d.Directory)throw new Error("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");d.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],d.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const E=new D.FromOOXMLConverter,f=S??new b.DOMParser,y=n?.resources??new u.Af,m=y.beginPersist(),V={},F=new Set,W=new Map;W.set("richTypes",[]);const ht=new Map,Ee=[],ne=O=>d.files[O],fe=(O,U)=>{const J=O.lastIndexOf("/"),ut=O.substring(0,J+1)+"_rels/"+O.substring(J+1,O.length)+".rels";let dt=U.get(ut);return dt||(dt=(($,be,xe,we,Xt=null)=>{if(!$)return null;const tt=Pe($,be,xe,we,Xt);if(!tt)return null;const et=new Map,bt=Object.keys(tt),Bt=bt.length;for(let xt=0;xt<Bt;xt++){const qt=bt[xt],kt=tt[qt];et.set(qt,kt)}return et})(ut,ne,f,E,yt),U.set(ut,dt)),dt},ae=(O,U,J,ut=ht)=>{let dt=fe(U,ut).get(O),$=dt?.target;if(!$)return null;if(dt.targetMode==="External")return dt.target;const be=U.lastIndexOf("/"),xe=U.substring(0,be+1);$.startsWith("/")||($=xe+$),$=(tt=>{const et=tt.split(/\/+/);return et.reduce((bt,Bt,xt)=>(Bt==="."?bt.splice(xt,1):Bt===".."&&bt.splice(xt-1,2),bt),et).join("/")})($);const we=E?.getVisitorParamsState().get("dxfs");let Xt=ut.get($);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const tt={};Xt=tt;const et=async()=>{const bt=((L,G,Zt,_,K,Y,wt)=>{const h=new Rs,Z=new u.He.TransposedBuilder;let H=null;h.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",A)}}),h.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const C=l[p];C!=="rule"&&(r[C]=r.rule[C])}}delete r.rule}}),h.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",A),e.copyToObject(r,"priority",P),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",P);if(l!==null){let p=_?.get(l);p||(Y?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",P),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",P),e.copyToObject(r,"operator",A),e.copyToObject(r,"text",A),e.copyToObject(r,"timePeriod",A)}}),h.registerVisitor({from:"colorScale",to:"colorScale"}),h.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",P),e.copyTo("minLength",P),e.copyTo("showValue",v)}}),h.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",A),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),h.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),h.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",A),e.copyTo("value",ct,"val"),e.copyTo("gte",v)}}),h.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=De(p=>e.getAttribute(p));r.colors.push(l)}}),h.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",P,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),h.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",P,"dxfId")}}),h.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Dynamic,e.copyTo("dynamicType",A,"type"),e.copyTo("val",ct),e.copyTo("maxVal",ct,"maxVal")}}),h.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Icon,e.copyTo("iconId",P),e.copyTo("iconSet",A)}}),h.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Top10,e.copyTo("filterVal",ct),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ct)}}),h.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",A)}}),h.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",A,"dateTimeGrouping"),e.copyTo("day",P),e.copyTo("hour",P),e.copyTo("minute",P),e.copyTo("month",P),e.copyTo("second",P),e.copyTo("year",P)}}),h.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ct))}}),h.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=u.Yd.Type.Custom,e.copyTo("and",v)}}),h.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",A),e.copyTo("value",ct,"val")}}),h.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",A)}}),h.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",A,"sortBy"),e.copyTo("dxfId",A,"sortBy"),e.copyTo("iconSet",A),e.copyTo("customList",A);const p=e.getAttribute("ref");if(p){const C=u.oo.fastStringToRange(p,is).colStart,pt=u.oo.fastStringToRange(r.ref,is),rt=pt.colStart;l.offset=pt?C-rt:C}l.reverse=e.getAttribute("descending",v)??!1}}),h.registerVisitor({from:"AlternateContent",to:null});const ue=e=>{H=e.getSource(),e.copyTo("topLeft",A,"topLeftCell");const r=cs(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",P),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};h.registerVisitor({from:"sheetView",to:"view",openTag:e=>{ue(e)},closeTag:()=>{H=null}}),h.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"customSheetView",to:[],openTag:e=>{ue(e)},closeTag:()=>{H=null}}),h.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!H)return;e.copyTo("cell",A,"activeCell"),e.copyTo("rangeIndex",P,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),h.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(H&&e.getAttribute("state")==="frozen"){const r={};H.freezePanes=r,e.copyToObject(r,"topLeft",A,"topLeftCell");const l=H.topLeft?u.oo.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",P,"xSplit"),e.copyToObject(p,"rowIndex",P,"ySplit");const C={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=u.oo.cellToString(C)}}}),h.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=De(l=>e.getAttribute(l));r&&(L.tabColor=r)}}),h.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),h.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),h.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),h.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),h.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),h.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),h.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?G(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const C=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const pt=e.getAttribute("location");if(pt&&(C&&C!==pt&&console.warn("display and location are different",C,pt),p+="#"+pt),!p)return void console.warn("No address found for hyperlink. r:id",r);let rt;const At=e.getAttribute("tooltip");rt=At?{address:p,tooltip:At}:p,e.setSource({r:l,v:rt})}}),h.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=G(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),h.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=G(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),h.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),h.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=C=>C===!0||C==="1"||C==="on"||C==="true"||C===!1||C==="0"||C==="off"||C==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",A,"hashValue"),e.copyToObject(p,"algorithm",A,"algorithmName"),e.copyToObject(p,"salt",A,"saltValue"),e.copyToObject(p,"spinCount",P),Object.keys(p).length>0&&(e.getSource().password=p)}}),h.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),h.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",A,"hashValue"),e.copyToObject(l,"algorithm",A,"algorithmName"),e.copyToObject(l,"salt",A,"saltValue"),e.copyToObject(l,"spinCount",P),Object.keys(l).length>0&&(e.getSource().password=l)}}),h.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(L,"defaultColSize",ct,"defaultColWidth"),e.copyToObject(L,"outlineLevelCol",P,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(L,"defaultRowSize",ct,"defaultRowHeight"),e.copyToObject(L,"outlineLevelRow",P,"outlineLevelRow")}}),h.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),h.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ct,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",P,"outlineLevel"),e.copyTo("s",P,"style")}}),h.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Qt=null;const ms={onOpenTag:e=>{Qt===null&&(Qt="")},onText:e=>{Qt+=e},onEnd:()=>{const e=Zt(Qt);return Qt=null,e},onError:e=>{}};return((e,r,l,p,C,pt)=>{let rt=!1,At=!1,Wt=[],_t=!1,Pt=null,Jt=null,de=null,nt=null,$e=null,Me=null;const Ts=pt?.get("richData")??[],je=u.oo.normalizeA1ToR1C1,He=u.D.createConflatingRanges(),Fe=new Map,ve=[];let te=null;const Xe=u.D.createConflatingRanges();let ee,Dt=!1,B=-1,Q=-1,gt=null,se=null;const Se=[];let Ce=null,Be=-2,ft=0,zt="",Et="",Ot="",It="",Vt="",Lt="",Nt="",qe="",We="",_e="",ze="",Ue="",Ge="",Ke="",mt=!0,Rt=null;return{...l,onEnd:()=>{Se.length>0&&(r.rows=Se);let g=He.done(Ms);const k=g.length;if(k>0){const M=new Array(k);for(let N=0;N<k;N++){const at=g[N],$t=u.oo.rangeToString(at),Mt=at.value[1],ie=u.oo.resolveRelativeToA1(Mt,at.rowStart,at.colStart);M[N]=[$t,ie]}r.formulas=M}const st=Xe.done(!0),R=st.length;if(R>0){const M=new Array(R);for(let N=0;N<R;N++){const at=st[N],$t=u.oo.rangeToString(at);M[N]=$t}r.volatile=M}if(ve.length>0&&(r.dynamicArray=[...ve]),Wt.length>0){Wt.sort(u.D.createRangeComparator(u.F.Orientation.Column));const M=[];let N=null,at=-1,$t=-1,Mt=-1,ie=-1,vt=null;const Ye=Wt.length;Ye>0&&(N=Wt[0],at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value,M.push(N));for(let jt=1;jt<Ye;jt++)vt=Wt[jt],ie!==vt.value||at!==vt.colStart||$t!==vt.colEnd||Mt+1!==vt.rowEnd?(M.push(vt),N=vt,at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value):(Mt=vt.rowEnd,N.rowEnd=Mt);let Ze=[];for(let jt=0;jt<M.length;jt++){const oe=M[jt];Ze.push({r:{colStart:oe.colStart,colEnd:oe.colEnd,rowStart:oe.rowStart,rowEnd:oe.rowEnd},v:oe.value})}r.directStyles=Ze}const it=e.build();if(it){const M=it.tuples;r.data=M}l?.onEnd?.()},onOpenTag:g=>{let k=g.name;const st=k.indexOf(":");if(st!==-1&&(k=k.slice(st+1)),ee){const R=g.attributes;switch(k){case"v":At=!0;break;case"f":switch(R.t??null){case null:case"normal":_t=!0;break;case"shared":const it=R.si;Jt=R.ref,Pt=it;break;case"array":_t=!0,Jt=R.ref,te=[Jt,!1];break;case"datatable":_t=!0,Jt=R.ref,_t=!0}R.ca!==void 0&&Xe.append(B,Q);break;case"is":return void(Dt=!0)}return void(Dt&&C?.onOpenTag(g))}if(rt){if(k==="c"){ee=g;const R=g.attributes.r;Q=u.oo.fastStringToCol(R);const it=g.attributes.t;it===void 0?se=null:(se=it,se==="str"&&(Dt=!0));let M=g.attributes.s;M!==void 0&&(M=parseInt(M),Rt&&Rt.value===M&&Rt.colEnd+1===Q?Rt.colEnd=Q:(Rt={colStart:Q,rowStart:B,colEnd:Q,rowEnd:B,value:M},Wt.push(Rt)))}}else{if(k==="row"){rt=!0;const R=g.attributes.r;if(B=parseInt(R)-1,ft=0,Et=g.attributes.customHeight,Et!==void 0&&(ft|=Ft.CustomHeight),Et!==We&&(mt=!0,We=Et),zt=g.attributes.ht,zt!==void 0&&(ft|=Ft.Ht),zt!==qe&&(mt=!0,qe=zt),Ot=g.attributes.hidden,Ot!==void 0&&(ft|=Ft.Hidden),Ot!==_e&&(mt=!0,_e=Ot),Vt=g.attributes.s,Vt!==void 0&&(ft|=Ft.S),Vt!==Ue&&(mt=!0,Ue=Vt),It=g.attributes.customFormat,It!==void 0&&(ft|=Ft.CustomFormat),It!==ze&&(mt=!0,ze=It),Lt=g.attributes.outlineLevel,Lt!==void 0&&(ft|=Ft.OutlineLevel),Lt!==Ge&&(mt=!0,Ge=Lt),Nt=g.attributes.collapsed,Nt!==void 0&&(ft|=Ft.Collapsed),Nt!==Ke&&(mt=!0,Ke=Nt),ft!==0)if(Be+1!==B||mt){const it=Et!==void 0&&(Et==="1"||Et==="true"),M=It!==void 0&&(It==="1"||It==="true");Ce={min:B,max:B,sz:it&&zt!==void 0?parseFloat(zt):-1,csz:it,h:Ot!==void 0&&(Ot==="1"||Ot==="true"),s:it&&Vt!==void 0&&Vt!=="0"?parseInt(Vt):0,cs:M,l:Lt===void 0||Lt==="0"?0:parseInt(Lt),cl:Nt!==void 0&&(Nt==="1"||Nt==="true")},Se.push(Ce)}else Ce.max=B;return Be=B,void(mt=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(ee){let k=g.name;const st=k.indexOf(":");if(st!==-1&&(k=k.slice(st+1)),Dt)if(k==="is"||k==="v"){const R=C?.onEnd();R!==null&&e.addValue(B,Q,""+R)}else C?.onCloseTag?.(g);return At&&(At=!1),void(k==="c"&&(ee=null,Dt=!1))}if(rt)return rt=!1,void(Rt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),At){switch(gt=null,se){case null:case"n":gt=parseFloat(g);break;case"b":gt=g==="1"||g==="true";break;case"s":gt=g;break;case"e":if(g==="#VALUE!"){const st=ee.attributes.vm;if(st!==void 0){const R=Ts[parseInt(st)-1];if(R&&R.isFormulaError){gt={t:u.K.Error,v:R.getCode()};break}}}const k=u.Y.getBuiltInByLabel(g);k?gt={t:u.K.Error,v:k.getCode()}:(gt=g,p?.(`Unknown formula error '${g}' in cell ${u.oo.cellToString({colIndex:Q,rowIndex:B})}`));break;case"str":case"inlineStr":Dt=!0}gt!==null&&e.addValue(B,Q,gt)}if(te&&(se==="e"&&(te[1]=!0),ve.push(te),te=null),Pt)if($e===Pt)nt=Me;else{if(nt=Fe.get(Pt),!nt){const k=[];de=je(g,B,Q,k),nt=[de,k,g],Fe.set(Pt,nt)}$e=Pt,Me=nt}if(_t){const k=[];de=je(g,B,Q,k),nt=[de,k,g]}if(nt)return He.append(B,Q,nt),nt=null,_t=!1,Pt=null,void(Jt=null);Dt?C?.onText(g):rt||l?.onText(g)}}})(Z,L,h.createEventHandler(L,()=>{},Y),Y,ms,wt)})(tt,(L,G=!1)=>ae(L,$,G)??null,us,we,0,L=>{o&&(L=$+": "+L,o?.(L))},W),Bt=ss($,ne),xt=await(async(L,G=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:Y}=await Promise.resolve().then(()=>require("./Bd7jl4AipYvkmHDC.cjs"));globalThis.ReadableStream=Y}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Zt=new TextDecoder("utf-8");let _=0;const K=L instanceof Uint8Array?L:new Uint8Array(L);return new ReadableStream({pull(Y){if(_>=K.byteLength)return void Y.close();const wt=K.subarray(_,Math.min(_+G,K.byteLength)),h=Zt.decode(wt,{stream:_+G<K.byteLength});Y.enqueue(h),_+=wt.length}}).getReader()})(Bt);try{await Ae.parseStream(xt,bt,{xmlns:!1})}catch(L){throw console.warn(`Error parsing sheet: '${$}'`,L),new Error(`Error parsing sheet: '${$}'`,{cause:L})}const qt=fe($,ut);let kt,Re=new Map;if(qt){const L="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let G;qt.forEach((_,K)=>{_.type===L&&(kt=ae(K,$,!1,ut)?.comments,kt&&kt.forEach(Y=>{Re.set(Y.id,Y)}))});const Zt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(qt.forEach((_,K)=>{_.type===Zt&&(G=ae(K,$,!1,ut))}),G||kt){const _=kt??[],K=G?.comments;if(K){const Y=G?.authors;for(let wt=0;wt<K.length;wt++){const h=K[wt];let Z=h.authorId!==void 0?Y[h.authorId]:void 0;if((!Z||Z.startsWith("tc="))&&(Z=ls(Z.substring(3)),Re.has(Z)))continue;let H=ce.get(Z);H||(H=Ve.get(Z)),H||(H={id:u.k.uuidV4(),displayName:Z},Ve.set(H.displayName,H),ce.set(H.id,H)),Z=H?.id??null;const ue={id:u.k.uuidV4(),personId:Z,ref:h.ref,done:!1,asNote:!0,content:h.content};_.push(ue)}}tt.comments=_}}};Ee.push(et())}else Xt=J?ss($,ne,tt=>{const et=y.add({buffer:tt});return et.addReference(V),F.add(et),m.toResourceId(et)},yt):Pe($,ne,f,E,yt);return Xt},yt={paramMap:W,getRefs:fe,getRef:ae,parsedRefs:ht,onWarning:o,addPerson:O=>null},le=[];let me=0;d.Strings&&(me=parseInt(d.Strings.Unique??d.Strings.length??0));const hs=d.Strings??[];for(let O=0;O<me;O++)le.push(hs[O]?.t??"");const Oe=new Map;let Ie=me;const us=O=>{const U=Oe.get(O);if(U!==void 0)return U;const J=Ie;return Oe.set(O,Ie++),le.push(O),J},ce=(Ut("richstructure",d,f,E,yt),Ut("richdata",d,f,E,yt),new Map),Ve=new Map,Le=Ut("people",d,f,E);let Ct=null;if(Le.size>0&&(Ct=Le.entries().next()?.value?.[1]?.persons,Ct)){const O=Ct.length;for(let U=0;U<O;U++){const J=Ct[U];ce.set(J.id,J),ce.set(J.displayName,J)}}const Te=Ut("themes",d,f,E,yt);let Ne=null;if(Te&&Te.entries){let O=Te.entries().next();O?.value?.[1]&&(Ne=O.value[1])}const ds=new u.nc(Ne);let he=Ut("styles",d,f,E,yt).entries().next()?.value[1];he&&(he=JSON.parse(u.Ea(he)));const ps=Ut("workbooks",d,f,E,yt);await Promise.all(Ee);const ye={...ps.entries().next().value[1],styles:he,theme:ds.toJSON()};le.length>0&&(ye.strings=le),Ct&&Ct.length>0&&(ye.people=Ct);const gs={...n,resources:y,json:ye},fs=new u.z1(gs);return F.forEach(O=>{O.deleteReference(V)}),m.endPersist(),fs}catch(d){let E="Unable to parse XLSX.";throw d instanceof u.qe&&(E="Unable to open XLSX. There are too many rows or columns."),new Error(E,{cause:d})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./BqNZs_XIfzwqlDlN.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const c=o.sheets[a],T=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,T,c.name);const S=c.sheet,x=i.getSheetAt(a),w=x.getUsedRange();if(w?(T["!ref"]=w.getA1(),w.forEach((D,b)=>{const d={t:"z"},E=b.getCell().getStyle();if(!E.isNormal()){let f=E.getNumberFormat();f!==u.Pt.Type.General&&(f===u.Pt.Type.ShortDate?f="m/d/yyyy":f===u.Pt.Type.MediumDate?f="d-mmm-yy":f===u.Pt.Type.LongDate?f="[$-x-sysdate]dddd, mmmm dd, yyyy":f===u.Pt.Type.ShortTime?f="h:mm":f===u.Pt.Type.MediumTime?f="h:mm AM/PM":f===u.Pt.Type.LongTime&&(f="h:mm:ss AM/PM"),d.z=f)}if(D!==null)switch(b.getType()){case u.K.Number:d.t="n",d.v=D;break;case u.K.String:d.t="s",d.v=D;break;case u.K.Boolean:d.t="b",d.v=D;break;case u.K.Error:d.t="e",d.v=D.toString();case u.K.RichData:}T[b.getA1()]=d})):T["!ref"]="A1:A1",S.merges?.length>0){const D=[];T["!merges"]=D;for(let b=0;b<S.merges.length;b++)D.push(s.utils.decode_range(S.merges[b]))}if(S.cols?.length>0){const D=[];T["!cols"]=D;const b=S.cols,d={width:S.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let E=0;E<b.length;E++){const f=b[E];for(let m=D.length;m<=f.min-1;m++)D.push(d);const y={};f.sz!==void 0&&(y.width=f.sz),f.h!==void 0&&(y.hidden=f.h),f.l!==void 0&&(y.level=f.l);for(let m=f.min;m<=f.max;m++)D.push(y)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=cs,exports.c=i=>i?u.Yt.roundAccurately(parseFloat(i)/9525,1):null,exports.d=De,exports.i=js,exports.p=i=>parseFloat(i)/6e4,exports.r=ls,exports.t=i=>i?u.Yt.roundAccurately(parseFloat(i)/12700,4):null;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";var c=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var p=(e,r,t,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s(r))!y.call(e,i)&&i!==t&&n(e,i,{get:()=>r[i],enumerable:!(l=a(r,i))||l.enumerable});return e};var g=(e,r,t)=>(t=e!=null?c(u(e)):{},p(r||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e));/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,18 +1,18 @@
1
- import { r as s, af as p, M as E, V as n, j as t, p as L, B as k, F as O, ag as W, ah as G, a as c, R as u, T as H, Z as F, ai as K } from "./BFGNX8BKN0YukAfE.mjs";
1
+ import { r as s, af as p, O as L, P as n, j as t, p as R, B as k, F as O, ag as W, ah as G, a as c, U as u, T as H, Z as F, ai as K } from "./BWSCF1flfPXCBkXM.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
- const Z = ["Ok", "Cancel"], A = s.memo((S) => {
9
- const { initialValue: w, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = Z, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: P, ...D } = S, [e, v] = s.useState(w), [$, I] = s.useState(!1), x = s.useCallback(async (a, o) => !0, []), y = p(async (a) => {
8
+ const U = ["Ok", "Cancel"], q = s.memo((S) => {
9
+ const { initialValue: P, context: f, onOption: h, onValidateOption: d, onInputOption: C, onDone: m, options: b = U, defaultOption: r = b?.[0], cancelOption: g = "Cancel", sx: w, ...D } = S, [e, v] = s.useState(P), [$, I] = s.useState(!1), x = s.useCallback(async (a, o) => !0, []), y = p(async (a) => {
10
10
  C?.(e, a), h?.(a, a === g, a === r), m?.();
11
11
  }, [e, C, m, h, g, r]), M = p(async (a) => {
12
- a.keyCode === E.Enter && await x?.(e, null) !== !1 && y(r);
13
- }, [e, y]), V = p((a) => {
12
+ a.keyCode === L.Enter && await x?.(e, null) !== !1 && y(r);
13
+ }, [e, y]), N = p((a) => {
14
14
  v(a.target.value), x?.(a.target.value, null);
15
- }, [d]), N = p(async (a) => {
15
+ }, [d]), V = p(async (a) => {
16
16
  let o = await Promise.resolve(d?.(a));
17
17
  try {
18
18
  o !== !1 && (o = await Promise.resolve(x?.(e, a)) ?? !0);
@@ -26,22 +26,22 @@ const Z = ["Ok", "Cancel"], A = s.memo((S) => {
26
26
  const B = s.useMemo(() => {
27
27
  const a = n.Styles.lookupPrimary(), o = (l) => t.jsx(K, { value: l, children: l }, l), i = Object.keys(a).map((l) => o(a[l].formatType));
28
28
  return i.push(o(n.Type.Custom)), i;
29
- }, []), R = s.useCallback((a) => {
29
+ }, []), z = s.useCallback((a) => {
30
30
  const o = a.target.value;
31
31
  j(o);
32
32
  const i = n.Styles.lookupDefault(o);
33
33
  i && v(i);
34
- }, []), z = s.useMemo(() => {
34
+ }, []), E = s.useMemo(() => {
35
35
  const a = f();
36
36
  return a.createTemporaryCell({ value: a.getValue() ?? 12345, style: { numberFormat: e } });
37
37
  }, [T, e, f]);
38
- return t.jsx(L, { title: "Number Format", options: b, onDone: m, onOption: (a) => y(a), onValidateOption: N, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...P }, ...D, children: t.jsxs(k, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: R, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (a) => {
38
+ return t.jsx(R, { title: "Number Format", options: b, onDone: m, onOption: (a) => y(a), onValidateOption: V, defaultOption: r, cancelOption: g, autoFocusSel: ".autoFocus", sx: { width: "580px", ...w }, ...D, children: t.jsxs(k, { sx: { paddingTop: (a) => a.spacing(1), paddingBottom: (a) => a.spacing(0), rowGap: (a) => a.spacing(1), display: "flex", flexDirection: "column" }, children: [t.jsxs(O, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(W, { children: "Category" }), t.jsx(G, { value: T, label: "Category", onChange: z, sx: { backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` }, children: B })] }), t.jsx(O, { sx: { paddingTop: (a) => a.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t.jsx(H, { label: "Code", onFocus: (a) => {
39
39
  $ || a.target?.select(), I(!0);
40
- }, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: e, onChange: V, onKeyDown: M, onContextMenu: (a) => {
40
+ }, sx: { "& .MuiFormHelperText-root": { marginTop: (a) => a.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (a) => a.spacing(1.25), paddingBottom: (a) => a.spacing(0.75), backgroundImage: `linear-gradient(${c("#fff", u(5))}, ${c("#fff", u(5))})` } } }, value: e, onChange: N, onKeyDown: M, onContextMenu: (a) => {
41
41
  a.stopPropagation();
42
- } }) }), t.jsxs(k, { children: [t.jsx(F, { variant: "caption", component: "div", sx: { paddingLeft: (a) => a.spacing(2) }, children: "Preview" }), t.jsx(F, { variant: "body2", component: "div", sx: { borderRadius: (a) => `${a.shape.borderRadius}px`, padding: (a) => a.spacing(1), border: (a) => `1px solid ${a.palette.grey[400]}` }, children: z.getNumberFormat().displayText || "(empty)" })] })] }) });
42
+ } }) }), t.jsxs(k, { children: [t.jsx(F, { variant: "caption", component: "div", sx: { paddingLeft: (a) => a.spacing(2) }, children: "Preview" }), t.jsx(F, { variant: "body2", component: "div", sx: { borderRadius: (a) => `${a.shape.borderRadius}px`, padding: (a) => a.spacing(1), border: (a) => `1px solid ${a.palette.grey[400]}` }, children: E.getNumberFormat().displayText || "(empty)" })] })] }) });
43
43
  });
44
44
  export {
45
- A as NumberFormatDialog,
46
- A as default
45
+ q as NumberFormatDialog,
46
+ q as default
47
47
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -10,7 +10,7 @@ class o {
10
10
  }
11
11
  async getWorkerWrapper() {
12
12
  if (this.workerWrapper) return this.workerWrapper;
13
- const { createCompilerWorker: r } = await import("./CzcfqZRl8TT7_AA8.mjs");
13
+ const { createCompilerWorker: r } = await import("./DzfLSNBzDB-r7FLU.mjs");
14
14
  return this.workerWrapper = await r(), this.workerWrapper;
15
15
  }
16
16
  async compileModule(r) {
@@ -1,11 +1,11 @@
1
- import { aj as E, j as t, r as o, ak as p, e as b, af as M, M as ae, al as le, X as re, L as ce, B as O, am as g, an as m, ao as pe, ap as j, aq as de, T as Q, a as R, O as ue, ar as fe, as as xe, at as ge, R as v, au as Y, av as me, aw as he, ax as Oe, ai as je, F as Ce, ag as ye, ah as be } from "./BFGNX8BKN0YukAfE.mjs";
1
+ import { aj as E, j as t, r as o, ak as p, d as b, af as M, O as ae, al as le, X as re, M as ce, B as O, am as g, an as m, ao as pe, ap as j, aq as de, T as J, a as v, Q as ue, ar as fe, as as xe, at as ge, U as R, au as Y, av as me, aw as he, ax as Oe, ai as je, F as Ce, ag as ye, ah as be } from "./BWSCF1flfPXCBkXM.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
- const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), ve = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), K = o.memo((T) => {
8
+ const ve = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z" }), "ArrowBack"), Re = E(t.jsx("path", { d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z" }), "ArrowDownward"), Te = E(t.jsx("path", { d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z" }), "ArrowForward"), ke = E(t.jsx("path", { d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z" }), "ArrowUpward"), K = o.memo((T) => {
9
9
  const { label: h, value: c, options: a, onSelect: d, tabIndex: C = 0, ...F } = T, [I, y] = o.useState(() => ee(c, a));
10
10
  o.useEffect(() => {
11
11
  y(ee(c, a));
@@ -13,7 +13,7 @@ const Re = E(t.jsx("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7
13
13
  const L = M((u) => {
14
14
  y(u.target.value), d?.(a[u.target.value]);
15
15
  }, [d, a]), l = o.useMemo(() => Object.keys(a).map((u) => t.jsx(je, { value: u, children: u }, u)), [a]);
16
- return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, ...F, children: l })] });
16
+ return t.jsxs(Ce, { sx: { minWidth: 135 }, size: "small", children: [t.jsx(ye, { children: h }), t.jsx(be, { inputProps: { tabIndex: C }, value: I, label: h, onChange: L, sx: { backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, ...F, children: l })] });
17
17
  }), Z = { Workbook: "workbook", Sheet: "sheet" }, _ = { enter: 140, exit: 140 }, ne = { Formulas: p.Content.Formulas, Values: p.Content.Values, Notes: p.Content.Notes, Comments: p.Content.Comments }, te = { ...ne };
18
18
  delete te.Values;
19
19
  const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
@@ -56,7 +56,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
56
56
  l.current?.select(), w(!1);
57
57
  }, { once: !0 });
58
58
  }, [W, i]);
59
- const [ie, { width: J }] = le();
59
+ const [ie, { width: Q }] = le();
60
60
  return t.jsx(re, { ref: G, title: F ?? (f ? "Find & Replace" : "Find"), initialPosition: { y: "35" }, autoFocusSel: ".input", onHide: I, onFocus: () => X(!0), onBlur: () => {
61
61
  X(!1), A(!1);
62
62
  }, PaperProps: { elevation: U ? 3 : 1 }, ...L, children: t.jsxs(ce, { dividers: !0, ref: ie, sx: { display: "flex", flexDirection: "column", paddingLeft: (e) => e.spacing(1.5), paddingRight: (e) => e.spacing(1.5) }, onKeyDown: (e) => {
@@ -82,7 +82,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
82
82
  se(e);
83
83
  }, preventFocus: !0, label: "Toggle Additional Options", icon: m(t.jsx(pe, {})) }), t.jsx(g, { selected: f, onSelectToggle: (e) => {
84
84
  P(e);
85
- }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(Q, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: J > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { draggable: !1, ref: l, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
85
+ }, preventFocus: !0, label: "Toggle Replace", icon: m(t.jsx(de, {})), shortcut: { key: f ? "F" : "H", modifiers: [j.Ctrl] } })] }), t.jsxs(O, { sx: { display: "flex", flexDirection: "column", maxWidth: "100%", boxSizing: "border-box" }, children: [t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center" }, children: [t.jsx(J, { label: "Find", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), minWidth: Q > 460 ? "20em" : void 0, backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, inputProps: { draggable: !1, ref: l, className: "input", autoFocus: !0, spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } }, endAdornment: t.jsx(ue, { sx: { transform: "scale(0.75) translateX(16px)" }, position: "end", children: t.jsxs(O, { sx: { display: "flex", alignItems: "center", flexDirection: "row", gap: "1px" }, children: [t.jsx(g, { selected: i.findOptions.matchCase, onSelectToggle: (e) => {
86
86
  r((n) => {
87
87
  const s = { ...n };
88
88
  return s.findOptions.matchCase = e, s;
@@ -106,11 +106,11 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
106
106
  e.stopPropagation();
107
107
  } }), t.jsx(g, { selected: i.findOptions.reverse, onSelectToggle: (e) => {
108
108
  k(!1, !1);
109
- }, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Re, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
109
+ }, touchRippleRef: V, label: "", shortcut: { key: "Enter", modifiers: [j.Shift] }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(ve, {}) : t.jsx(ke, {})), disabled: !i.findText }), t.jsx(g, { selected: !i.findOptions.reverse, onSelectToggle: (e) => {
110
110
  k(!0, !1);
111
- }, touchRippleRef: z, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(ve, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
111
+ }, touchRippleRef: z, label: "Next Match", shortcut: { key: "Enter" }, icon: m(i.findOptions.orientation !== b.Orientation.Column ? t.jsx(Te, {}) : t.jsx(Re, {})), disabled: !i.findText })] }), t.jsx(Y, { in: f, timeout: _, onExit: () => {
112
112
  l.current?.focus();
113
- }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(Q, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${R("#fff", v(5))}, ${R("#fff", v(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
113
+ }, children: t.jsxs(O, { sx: { display: "flex", flexDirection: "row", alignItems: "center", marginTop: (e) => e.spacing(2) }, children: [t.jsx(J, { label: "Replace", InputLabelProps: { shrink: !0 }, InputProps: { sx: { paddingRight: (e) => e.spacing(1), backgroundImage: `linear-gradient(${v("#fff", R(5))}, ${v("#fff", R(5))})` }, inputProps: { ref: u, className: "input", spellCheck: !1, autoComplete: "off", sx: { paddingTop: (e) => e.spacing(1.25), paddingBottom: (e) => e.spacing(0.75) } } }, sx: { flex: "1 1 100%", marginRight: (e) => e.spacing(1) }, value: i.replaceText ?? "", onChange: (e) => {
114
114
  r((n) => {
115
115
  const s = { ...n };
116
116
  return s.replaceText = e.target.value, s;
@@ -123,7 +123,7 @@ const Se = { "By Rows": !0, "By Columns": !1 }, ee = (T, h) => {
123
123
  k(!0, !0, !0);
124
124
  }, touchRippleRef: H, label: "Replace All", shortcut: { key: "Enter", modifiers: [j.Ctrl, j.Alt] }, icon: m(t.jsx(he, {})), disabled: !i.findText })] }) })] })] }), t.jsx(Y, { in: D, timeout: _, onExit: () => {
125
125
  l.current?.focus();
126
- }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: J >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
126
+ }, children: t.jsxs(O, { sx: { minHeight: "10px", flex: "1 1 100%", display: "flex", flexDirection: "column", gap: (e) => e.spacing(0.5), marginTop: (e) => e.spacing(1) }, children: [t.jsx(Oe, { orientation: "horizontal", sx: { marginBottom: (e) => e.spacing(1.5) } }), t.jsxs(O, { sx: { display: "flex", flexDirection: Q >= 413 ? "row" : "column", justifyContent: "space-evenly", alignItems: "center", rowGap: (e) => e.spacing(2) }, tabIndex: -1, children: [t.jsx(K, { label: "Within", value: i.scope, options: Z, onSelect: (e) => {
127
127
  r((n) => {
128
128
  const s = { ...n };
129
129
  return s.scope = e, s;
@@ -1,6 +1,6 @@
1
- import { r as o, k as e, c as $, j as i, p as z, B as A, F as E, T as R, a as O, K as W, A as y } from "./BFGNX8BKN0YukAfE.mjs";
1
+ import { r as o, k as e, c as $, j as i, p as z, B as A, F as E, T as R, a as O, K as W, A as y } from "./BWSCF1flfPXCBkXM.mjs";
2
2
  /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.16
3
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.17
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.