@sheetxl/studio-vanilla 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/browser/cjs/{C8hd-STurhDiTimj.cjs → 8Y7hlPEOJeSakYCm.cjs} +1 -1
  2. package/browser/cjs/{DjrGUr-awhOmDtrE.cjs → B4SOP0NZdUa_5syD.cjs} +39 -39
  3. package/browser/cjs/{Dj5Aixw77uvtuMcZ.cjs → B5XBWUdLMqS2HDaF.cjs} +2 -2
  4. package/browser/cjs/{CabhMyhLi9hYK9FO.cjs → BDItG-Ctn9btjJYc.cjs} +1 -1
  5. package/browser/cjs/{D9PapZZefCMRgdbF.cjs → BHCPp9yjpWH3JG34.cjs} +2 -2
  6. package/browser/cjs/{B29HyGkvyTaqtIuC.cjs → BKGew2NYE-aa2w6y.cjs} +2 -2
  7. package/browser/cjs/{DOgxIZ6SD7AX7tN7.cjs → BMBMwGW_zSiAe-XN.cjs} +1 -1
  8. package/browser/cjs/{DK7XNv54M-Rj1fg6.cjs → BPbd8bf2gOPV7ZtV.cjs} +3 -3
  9. package/browser/cjs/{BRQNzdFmQ9PNvWfV.cjs → BZWVOs1oqYkcQagx.cjs} +2 -2
  10. package/browser/cjs/{YWP5pMacbGbLcEZn.cjs → B_HrZqG_mlwYR4Ae.cjs} +2 -2
  11. package/browser/cjs/{J_OG6N-DJrUW5gl6.cjs → Bb4zRbBuFZbbsMgv.cjs} +1 -1
  12. package/browser/cjs/{cwVi8FCIym0yZxmX.cjs → BcapKXhCmLNJmfsN.cjs} +1 -1
  13. package/browser/cjs/{Cl4uI7uL1nugyAcD.cjs → BivyzwRCqS37kNIh.cjs} +1 -1
  14. package/browser/cjs/{DSNepPmduhFJYvxi.cjs → Boig6aZA2-R5_w21.cjs} +1 -1
  15. package/browser/cjs/{Do0vp6vAs3RSV-Wj.cjs → Bwi2m9xG4JvXPBHQ.cjs} +2 -2
  16. package/browser/cjs/{BIhAYujRx9pHZ67U.cjs → Bx6ZuxKkOWgx7s9X.cjs} +2 -2
  17. package/browser/cjs/{CFfzGa0ejQ07wxHV.cjs → C4Far2itXrJ3DMOt.cjs} +1 -1
  18. package/browser/cjs/{CxEt88bduUlmhV5K.cjs → C6MqpTvQKwY2D1nN.cjs} +3 -3
  19. package/browser/cjs/{D-ca3kpTC3bPbYMY.cjs → CDh1V-eGnwm_zj2N.cjs} +1 -1
  20. package/browser/cjs/{B_9pnEZ3P5dxBLVz.cjs → CDt2itaEJHdgdMf7.cjs} +1 -1
  21. package/browser/cjs/{OhHbe4dM7GBzMzB9.cjs → CFRAYmx7O_QuuqLm.cjs} +1 -1
  22. package/browser/cjs/{Ciie7NCkasQUFTqv.cjs → CLT2qTd_lmEX24Wq.cjs} +1 -1
  23. package/browser/cjs/{B8iSa6r3JrD4vHjL.cjs → CU5XR4xQQYjuDqWh.cjs} +2 -2
  24. package/browser/cjs/{ClXPeqKnCdO5VQd1.cjs → CV3O2HrGgeVyZSTI.cjs} +2 -2
  25. package/browser/cjs/{DWrbdNR6TNLNKinN.cjs → CWuna-uBlfjsma3U.cjs} +3 -3
  26. package/browser/cjs/{CBJAarKn0X6M88pE.cjs → C_-gd03rNpCoIWh3.cjs} +1 -1
  27. package/browser/cjs/{qhNuYY2km30jEjYq.cjs → CgBaptNB5xDzVtxH.cjs} +2 -2
  28. package/browser/cjs/{DMJ4JoGWQ1NWhoNM.cjs → CiCnx8sUQcc8athi.cjs} +2 -2
  29. package/browser/cjs/{Cy3k3rXLi24oJPm-.cjs → CiJXZ4MMq0-g5pRy.cjs} +2 -2
  30. package/browser/cjs/{CHT-XlD5pCRxYb1o.cjs → CkOqLhMfOSUO6hZc.cjs} +4 -4
  31. package/browser/cjs/{C7OrIlP5y8YNBUSH.cjs → CkboN9PqhMP8gVUO.cjs} +1 -1
  32. package/browser/cjs/{C8SAbjqWtcbByYiY.cjs → CpPLkq1qYpELtBVb.cjs} +2 -2
  33. package/browser/cjs/{CDO0e018-e_cnUym.cjs → CwhdUCDaoLQGcvJy.cjs} +2 -2
  34. package/browser/cjs/{dDk7hLjpihmO5-cX.cjs → Cx2rTk-O7yQO7-q6.cjs} +4 -4
  35. package/browser/cjs/{VqhUjfIqtv4hC74q.cjs → Cx39LdblHkleUMb1.cjs} +1 -1
  36. package/browser/cjs/{DO9ZaMqU-TGY63RK.cjs → D4HABltWISUjVaOO.cjs} +1 -1
  37. package/browser/cjs/{C5x7lcJ4jXraEzwd.cjs → D99WjfuVwM-YRm4a.cjs} +1 -1
  38. package/browser/cjs/{DdWNj_URRJBkxSgW.cjs → DCe0ifxJ2waXgr0H.cjs} +1 -1
  39. package/browser/cjs/{CV8cwUmZBb2eYPim.cjs → DDvILQ7_cSgi8K6F.cjs} +1 -1
  40. package/browser/cjs/{DFoejjkymKumh6SJ.cjs → DE3aCIXAZL7uLX0k.cjs} +1 -1
  41. package/browser/cjs/{Y2adlqLM2N2Vzjg9.cjs → DRvH_199sgRclUKY.cjs} +1 -1
  42. package/browser/cjs/{DnvWyFlaRONdjoOF.cjs → DV0r3gTeA-w2Q6Jx.cjs} +1 -1
  43. package/browser/cjs/{MSWIE9Rd2oZbZuZB.cjs → DWoR03zqV8zXWO-X.cjs} +1 -1
  44. package/browser/cjs/{DcQYUHhq5WoB1QxG.cjs → DZ3gARHylllIcJDT.cjs} +1 -1
  45. package/browser/cjs/{BF4_gTBFjNLsAuPo.cjs → DbdPbW-LrAm6toaO.cjs} +4 -4
  46. package/browser/cjs/{C4u2p0WIEc0W5hox.cjs → DciSg5hoXxvfqoKC.cjs} +1 -1
  47. package/browser/cjs/{Dy4AAvOJQs8TKfi3.cjs → DjmqyErluCMLOjsF.cjs} +1 -1
  48. package/browser/cjs/{BnWGeUEXNoVAHA9V.cjs → DlAB_CcYmXk8tpYL.cjs} +1 -1
  49. package/browser/cjs/{C3cZA4YXXR0nGmiX.cjs → DmhCjj0KeysXxIzX.cjs} +2 -2
  50. package/browser/cjs/{DoVq0lqvAcxtM1Q9.cjs → Dn1uL0GqyDGo3d67.cjs} +2 -2
  51. package/browser/cjs/{DzvuCPwdW59TYNeg.cjs → Dn4RfIZ9VHwQ7Eex.cjs} +1 -1
  52. package/browser/cjs/{BCwQKO-V-abKxWJ_.cjs → Dn6LoJinxzxUiMDg.cjs} +2 -2
  53. package/browser/cjs/{CzHenNm5o19h9rNf.cjs → Do_T0KvdhyBUnWx_.cjs} +1 -1
  54. package/browser/cjs/{BgGqhWOYof8HtKvS.cjs → DvtlLY8kPVwL4sgA.cjs} +1 -1
  55. package/browser/cjs/{DGZ-53usY93Q9LZJ.cjs → DyS1Kn_U7Em83Hsq.cjs} +1 -1
  56. package/browser/cjs/{CN7DAGeuWAMsmRhb.cjs → INcIs0jpLlM3mm-H.cjs} +1 -1
  57. package/browser/cjs/{oeYUTiYZNPC7s8k1.cjs → YHVbESGX6phJX20u.cjs} +1 -1
  58. package/browser/cjs/{CU_R48ZMXIyABak8.cjs → ZWsbkG6eb6seSRXv.cjs} +2 -2
  59. package/browser/cjs/index.cjs +2 -2
  60. package/{cdn/assets/Ct4edmJJhlsaXjWT.js → browser/esm/3N51fmivOwyOXT3l.mjs} +1 -1
  61. package/browser/esm/{CXufcwWBSTc0ufnJ.mjs → 3VzVhIOnlmOZ-dBg.mjs} +2 -2
  62. package/browser/esm/{COWqzRwRuDK_Bdic.mjs → 6nSiDtF6igNyrf2y.mjs} +2 -2
  63. package/browser/esm/{Bn7Uxz6sXrXta-rf.mjs → B0DAlgwfAWOXvq4_.mjs} +2 -2
  64. package/{cdn/assets/BfLOMcpVLb78_pS5.js → browser/esm/B1m-ozjxrnDeFhiZ.mjs} +1 -1
  65. package/browser/esm/{CNM_6Ekj85ca8CMj.mjs → B4LH4e6YQr0i0kbs.mjs} +2 -2
  66. package/browser/esm/{ZVFMnXncU5v2xxQj.mjs → BEdbC5wAfOjfWhGs.mjs} +1 -1
  67. package/{cdn/assets/ZozmNU1fZz0rIwnM.js → browser/esm/BH6ldKaAlNHAWreh.mjs} +1 -1
  68. package/{cdn/assets/gkLlKpramCNBfTs7.js → browser/esm/BM8e7ROZOHaAquLi.mjs} +1 -1
  69. package/{cdn/assets/CbAbkQUb6oMbznUI.js → browser/esm/BTTKTkAe7jTaQvjz.mjs} +1 -1
  70. package/browser/esm/{BFMayN3xlOUqRI_o.mjs → BbYZAR2suHjEBaES.mjs} +2 -2
  71. package/{cdn/assets/Bhhrqsmqp91hJqxG.js → browser/esm/Bjsc6wrUpvl_hjRj.mjs} +1 -1
  72. package/browser/esm/{CJG5baH0nxhKQDUu.mjs → Bjtb8lG8j5lZLmPO.mjs} +2 -2
  73. package/browser/esm/{D1i7jbpYgGHdUBHI.mjs → Bpt-cfH_EphAcLow.mjs} +3 -3
  74. package/browser/esm/{By7CDTFXYiSCNGfD.mjs → BsMA-6c4MCPqfDAq.mjs} +2 -2
  75. package/browser/esm/{-GyxMlVRTAiygfTi.mjs → C2nH1Z0Qv8dVA46o.mjs} +2 -2
  76. package/browser/esm/{CUny7mPoyQiagYdd.mjs → C4ADTbdoMYv-xYb_.mjs} +1 -1
  77. package/browser/esm/{uxqyDXIaFmgmll6p.mjs → C5ipzxDNB7mwOup8.mjs} +1 -1
  78. package/browser/esm/{Bk0J-4CfOjaMoUjW.mjs → CMICZ36cqe6eEELU.mjs} +3 -3
  79. package/browser/esm/{CQeoE2w94fROIlBe.mjs → CMwrohupcgVf9ovx.mjs} +4 -4
  80. package/browser/esm/{DjWavLHPu3GKEzTU.mjs → CSvpcvVrtQMi5YMH.mjs} +1 -1
  81. package/{cdn/assets/BZzMRDxX8W3pn7y9.js → browser/esm/CUFXsvWRmBglOxCh.mjs} +1 -1
  82. package/browser/esm/{B9y2dkVuJJxTR6Cu.mjs → CUrekuBvZp8HzDRR.mjs} +1 -1
  83. package/browser/esm/{DxxYtl4yGitwPRVP.mjs → CXM4duZAQ9xkx_-8.mjs} +1 -1
  84. package/browser/esm/{BGjWX_kSxlX68bbv.mjs → C_9Upo5I-PSK47R_.mjs} +1 -1
  85. package/{cdn/assets/CBmA6m_MD-T3IhT-.js → browser/esm/C_xUEkZ7r882X9Ha.mjs} +1 -1
  86. package/browser/esm/{BI0TtNjq7VHPYLFi.mjs → CnenkhTeaOhTTMqv.mjs} +2 -2
  87. package/{cdn/assets/CQqb_o_4QHZmqlml.js → browser/esm/Ct9ZcjuuaNCX6kIj.mjs} +1 -1
  88. package/browser/esm/{DeRdpzXPAT-NTuGX.mjs → Ctrv_0YzvwpnUr0y.mjs} +2 -2
  89. package/browser/esm/{md8aPMcWKEZYJq3K.mjs → Cux5PsvHYlpp5b2x.mjs} +6 -6
  90. package/browser/esm/{QuHaOall6bLwODh8.mjs → CvbAyNJlfhcCYfDr.mjs} +2 -2
  91. package/browser/esm/{BAmbFIYJN2lFgCcK.mjs → CxjY2TO23WNFisWX.mjs} +1 -1
  92. package/browser/esm/{DY-wznfI02TzBooB.mjs → Cz7RSKUHlEt4Sy6b.mjs} +16 -16
  93. package/browser/esm/{CdXVTrxlfpdxLJIW.mjs → D0wIYxN6_chAmwCc.mjs} +1 -1
  94. package/{cdn/assets/DIhOwgfJ-KW70dVG.js → browser/esm/D3XmnZGIfxT4lk3w.mjs} +1 -1
  95. package/{cdn/assets/BGTzGVKBHhjSJDwD.js → browser/esm/D6KZyFauO14Su023.mjs} +1 -1
  96. package/browser/esm/{C70QesBx8A7k3kJu.mjs → D8C3KeX9kFgFNEsb.mjs} +1 -1
  97. package/{cdn/assets/CRkdWAFwM0QqPkBl.js → browser/esm/DAW6ifi60VDar3-l.mjs} +1 -1
  98. package/browser/esm/{BhUrSLzqiTM2hBhI.mjs → DDfN1juzl1hT_UFe.mjs} +2 -2
  99. package/browser/esm/{_JHuVqxt7gNsoWn-.mjs → DOGg1qByRfg3Xspr.mjs} +6 -6
  100. package/{cdn/assets/BR58mmeGHPieLgMd.js → browser/esm/DTeYi36ajMzmUc3x.mjs} +1 -1
  101. package/browser/esm/{DeFkwgSUXcAL-4MI.mjs → Dc1H2furircZlzN8.mjs} +4 -4
  102. package/browser/esm/{DrCAbGKUtU3dQxf1.mjs → Dd9etqsWH04KVyov.mjs} +2 -2
  103. package/{cdn/assets/m6vgp5BteyB5mur7.js → browser/esm/DfKdydqLJ4MMUAow.mjs} +1 -1
  104. package/browser/esm/{uQZVXIPp9jLPfqko.mjs → DirjJILlmPlhPZwJ.mjs} +4 -4
  105. package/browser/esm/{C0uV2sp4PwEuNpbn.mjs → DlF4ox6px_a8KGDI.mjs} +1 -1
  106. package/browser/esm/{BiH9xaAzVGhk_0Qd.mjs → Dq8duLxf4-Tuo_wV.mjs} +2 -2
  107. package/browser/esm/{ILxB2ghS7La7VXBi.mjs → Dv5RrOnUwTMHeM7k.mjs} +4 -4
  108. package/browser/esm/{BuyGJm1GNrHBofAV.mjs → HPDpApJMbty0fOGh.mjs} +2 -2
  109. package/{cdn/assets/7LvL2PwFxo4tRjtC.js → browser/esm/Ld4Og9zF7kdwc9Bq.mjs} +1 -1
  110. package/browser/esm/{Cuy_iWJUt-DZPu_m.mjs → MhA9JYSNQknyC2-7.mjs} +1 -1
  111. package/{cdn/assets/Bai9y7ZvJNafZXkG.js → browser/esm/TCHZxTIhWMVkgX3o.mjs} +1 -1
  112. package/{cdn/assets/fwoCYLInyLSFnSZQ.js → browser/esm/TCyoIWnhQsOAGihq.mjs} +1 -1
  113. package/browser/esm/{TTzsQrEYYCtjJ_aM.mjs → XWOQU_sxt5_lFjJM.mjs} +1 -1
  114. package/{cdn/assets/BT81je-vUgJM770Z.js → browser/esm/blfFjNlrt7wIm8ac.mjs} +1 -1
  115. package/browser/esm/index.mjs +2 -2
  116. package/browser/esm/{ESh2pnYgW_hn_Y4g.mjs → nLQOv_3C-yTgOm_d.mjs} +1 -1
  117. package/browser/esm/{DI31ljXqecIkfzC_.mjs → nuGYHbGeWLkN7IFF.mjs} +1 -1
  118. package/browser/esm/{Cj_b4SBU9OExCjrq.mjs → on8xRgdppLtS76xu.mjs} +3 -3
  119. package/{browser/esm/Ct4edmJJhlsaXjWT.mjs → cdn/assets/3N51fmivOwyOXT3l.js} +1 -1
  120. package/cdn/assets/{D0lIj4chgObzK66x.js → 9ZJYmMX0oks56Dir.js} +3 -3
  121. package/cdn/assets/{B7pTGz0qoUEf5oRZ.js → B0h0MHiq87C7wRUG.js} +2 -2
  122. package/{browser/esm/BfLOMcpVLb78_pS5.mjs → cdn/assets/B1m-ozjxrnDeFhiZ.js} +1 -1
  123. package/cdn/assets/{wVem_Fk0Cp-sFmAO.js → B537hPIx4O8b3yYs.js} +4 -4
  124. package/cdn/assets/{CsNx7C_i1iOqmV3n.js → BDy4o1dgQMIqsMiY.js} +2 -2
  125. package/cdn/assets/{ZVFMnXncU5v2xxQj.js → BEdbC5wAfOjfWhGs.js} +1 -1
  126. package/{browser/esm/ZozmNU1fZz0rIwnM.mjs → cdn/assets/BH6ldKaAlNHAWreh.js} +1 -1
  127. package/cdn/assets/{BnEAWPtKX5CgVKkp.js → BHQC-R8MGLRzOxBA.js} +2 -2
  128. package/{browser/esm/gkLlKpramCNBfTs7.mjs → cdn/assets/BM8e7ROZOHaAquLi.js} +1 -1
  129. package/{browser/esm/CbAbkQUb6oMbznUI.mjs → cdn/assets/BTTKTkAe7jTaQvjz.js} +1 -1
  130. package/cdn/assets/{BjtNxCPTeumKQNaW.js → BTXU6Aai-Ialy3og.js} +15 -15
  131. package/cdn/assets/{DK1bSVHKRKH0lHUk.js → BUJQ7wUyL-iSUg8h.js} +2 -2
  132. package/cdn/assets/{CqgEiFyDq2dBshfr.js → BbtqTKem2BWD_lH0.js} +2 -2
  133. package/{browser/esm/Bhhrqsmqp91hJqxG.mjs → cdn/assets/Bjsc6wrUpvl_hjRj.js} +1 -1
  134. package/cdn/assets/{BSAajMR-86LIB0Wr.js → Bmo80_Qi8HeLXtBu.js} +2 -2
  135. package/cdn/assets/{Cu0RUSPX2LvwFQ6U.js → C0a277r4c7jdrbo-.js} +3 -3
  136. package/cdn/assets/{CUny7mPoyQiagYdd.js → C4ADTbdoMYv-xYb_.js} +1 -1
  137. package/cdn/assets/{uxqyDXIaFmgmll6p.js → C5ipzxDNB7mwOup8.js} +1 -1
  138. package/cdn/assets/{Ds4qf07Q_SexJRqj.js → C6VUt6vUMhiTBp21.js} +2 -2
  139. package/cdn/assets/{DXG92ERB-BJo0KZb.js → CKyyzgIojzuQ14Jb.js} +4 -4
  140. package/cdn/assets/{DjWavLHPu3GKEzTU.js → CSvpcvVrtQMi5YMH.js} +1 -1
  141. package/{browser/esm/BZzMRDxX8W3pn7y9.mjs → cdn/assets/CUFXsvWRmBglOxCh.js} +1 -1
  142. package/cdn/assets/{B9y2dkVuJJxTR6Cu.js → CUrekuBvZp8HzDRR.js} +1 -1
  143. package/cdn/assets/{C1-crlw6ThhTeBjo.js → CWmH4zsZyNsO9p41.js} +2 -2
  144. package/cdn/assets/{DxxYtl4yGitwPRVP.js → CXM4duZAQ9xkx_-8.js} +1 -1
  145. package/cdn/assets/{BGjWX_kSxlX68bbv.js → C_9Upo5I-PSK47R_.js} +1 -1
  146. package/{browser/esm/CBmA6m_MD-T3IhT-.mjs → cdn/assets/C_xUEkZ7r882X9Ha.js} +1 -1
  147. package/cdn/assets/{Bs1BVe17rehcBW3a.js → CaN6N1dq3iIVO1hT.js} +2 -2
  148. package/cdn/assets/{BXoIUikm6MxpGehl.js → Cd3KcqA1q1QnCheo.js} +2 -2
  149. package/cdn/assets/{mGs6ZnI3Kp7ca3V9.js → CscbwTq6KR8XJrxB.js} +4 -4
  150. package/{browser/esm/CQqb_o_4QHZmqlml.mjs → cdn/assets/Ct9ZcjuuaNCX6kIj.js} +1 -1
  151. package/cdn/assets/{BAmbFIYJN2lFgCcK.js → CxjY2TO23WNFisWX.js} +1 -1
  152. package/cdn/assets/{CdXVTrxlfpdxLJIW.js → D0wIYxN6_chAmwCc.js} +1 -1
  153. package/cdn/assets/{DGyubEhwYpXIK9_t.js → D1QeQpmRY9PDIMEz.js} +2 -2
  154. package/{browser/esm/DIhOwgfJ-KW70dVG.mjs → cdn/assets/D3XmnZGIfxT4lk3w.js} +1 -1
  155. package/{browser/esm/BGTzGVKBHhjSJDwD.mjs → cdn/assets/D6KZyFauO14Su023.js} +1 -1
  156. package/cdn/assets/{C70QesBx8A7k3kJu.js → D8C3KeX9kFgFNEsb.js} +1 -1
  157. package/{browser/esm/CRkdWAFwM0QqPkBl.mjs → cdn/assets/DAW6ifi60VDar3-l.js} +1 -1
  158. package/cdn/assets/{BUBhf8MVk-zzMvIn.js → DHDTA2yZ7ODlBAXM.js} +2 -2
  159. package/cdn/assets/{DK-NdTpBC0eQBgZV.js → DIOp5ZkL1dY68cMH.js} +2 -2
  160. package/{browser/esm/BR58mmeGHPieLgMd.mjs → cdn/assets/DTeYi36ajMzmUc3x.js} +1 -1
  161. package/{browser/esm/m6vgp5BteyB5mur7.mjs → cdn/assets/DfKdydqLJ4MMUAow.js} +1 -1
  162. package/cdn/assets/{DLrEolIaGLyUO3dd.js → DfNI2EiuegVK3udt.js} +2 -2
  163. package/cdn/assets/{CzPqPp4BsLzOooEG.js → DfQ3XXU3pjhhAldB.js} +2 -2
  164. package/cdn/assets/{C0uV2sp4PwEuNpbn.js → DlF4ox6px_a8KGDI.js} +1 -1
  165. package/cdn/assets/{BHQY35m5ZsNLGx4s.js → E-GOcSTy1uY4Oj3I.js} +6 -6
  166. package/{browser/esm/7LvL2PwFxo4tRjtC.mjs → cdn/assets/Ld4Og9zF7kdwc9Bq.js} +1 -1
  167. package/cdn/assets/{Cuy_iWJUt-DZPu_m.js → MhA9JYSNQknyC2-7.js} +1 -1
  168. package/cdn/assets/{D0LTvhKDv_AaR2AJ.js → OMD1-UUDvqKr1SYQ.js} +4 -4
  169. package/{browser/esm/Bai9y7ZvJNafZXkG.mjs → cdn/assets/TCHZxTIhWMVkgX3o.js} +1 -1
  170. package/{browser/esm/fwoCYLInyLSFnSZQ.mjs → cdn/assets/TCyoIWnhQsOAGihq.js} +1 -1
  171. package/cdn/assets/{TTzsQrEYYCtjJ_aM.js → XWOQU_sxt5_lFjJM.js} +1 -1
  172. package/cdn/assets/{BrOXBqkeDvOBK9Fc.js → b4A5hTjHI0rNI6Qk.js} +6 -6
  173. package/{browser/esm/BT81je-vUgJM770Z.mjs → cdn/assets/blfFjNlrt7wIm8ac.js} +1 -1
  174. package/cdn/assets/{BIUc5ppdovF97mnI.js → jNoWEx25dsSqFAso.js} +3 -3
  175. package/cdn/assets/{ESh2pnYgW_hn_Y4g.js → nLQOv_3C-yTgOm_d.js} +1 -1
  176. package/cdn/assets/{DI31ljXqecIkfzC_.js → nuGYHbGeWLkN7IFF.js} +1 -1
  177. package/cdn/index.js +2 -2
  178. package/cdn/loader.js +1 -1
  179. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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("./DjrGUr-awhOmDtrE.cjs"),Ke=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",ys=new RegExp(`^[${Ke}][-${Ke}.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",Qt="http://www.w3.org/2000/xmlns/",As={__proto__:null,xml:ge,xmlns:Qt},Es={__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,Zt=93,pe=i=>i===34||i===39,as=[34,39],Ds=[...as,91,j],Ps=[...as,St,Zt],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!==Qt&&i.fail(`xmlns prefix must be bound to ${Qt}.`)}switch(s){case Qt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Qt}.`);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(Es),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)}
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./B4SOP0NZdUa_5syD.cjs"),Ke=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",ys=new RegExp(`^[${Ke}][-${Ke}.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",Qt="http://www.w3.org/2000/xmlns/",As={__proto__:null,xml:ge,xmlns:Qt},Es={__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,Zt=93,pe=i=>i===34||i===39,as=[34,39],Ds=[...as,91,j],Ps=[...as,St,Zt],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!==Qt&&i.fail(`xmlns prefix must be bound to ${Qt}.`)}switch(s){case Qt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Qt}.`);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(Es),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
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(Ps);t!==I&&(this.text+=String.fromCodePoint(t),t===Zt?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
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(Zt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Zt?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 Zt: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 Zt: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
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"?Qt:"",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,E=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 P=(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)=>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,V,F)=>{const W=P(F??m,V);W!==void 0&&(y[m]=W)},copyTo:(y,m,V)=>{const F=P(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},Ee=(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=Ee(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.oe.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,constructorOptions:n={},...a}=t??{},c=Promise.resolve().then(()=>require("./DO9ZaMqU-TGY63RK.cjs")),T=Promise.resolve().then(()=>require("./B8iSa6r3JrD4vHjL.cjs"));let S=null;try{S=new DOMParser}catch{}let x=null;S||(x=Promise.resolve().then(()=>require("./CN7DAGeuWAMsmRhb.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 P=new D.FromOOXMLConverter,f=S??new b.DOMParser,y=n?.resources??new u.uE,m=y.beginPersist(),V={},F=new Set,W=new Map;W.set("richTypes",[]);const ht=new Map,Pe=[],ne=O=>d.files[O],fe=(O,U)=>{const Y=O.lastIndexOf("/"),ut=O.substring(0,Y+1)+"_rels/"+O.substring(Y+1,O.length)+".rels";let dt=U.get(ut);return dt||(dt=(($,be,xe,we,Xt=null)=>{if(!$)return null;const tt=Ee($,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,P,yt),U.set(ut,dt)),dt},ae=(O,U,Y,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=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,Jt,_,Z,Q,wt)=>{const h=new Rs,J=new u.wo.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",E),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",E);if(l!==null){let p=_?.get(l);p||(Q?.(`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",E),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",E),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",E),e.copyTo("minLength",E),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",E,"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.ly.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",E,"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.ly.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.ly.Type.Icon,e.copyTo("iconId",E),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.ly.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.ly.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",E),e.copyTo("hour",E),e.copyTo("minute",E),e.copyTo("month",E),e.copyTo("second",E),e.copyTo("year",E)}}),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.ly.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.Sc.fastStringToRange(p,is).colStart,pt=u.Sc.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",E),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",E,"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.Sc.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",E,"xSplit"),e.copyToObject(p,"rowIndex",E,"ySplit");const C={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=u.Sc.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",E),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",E),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",E,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(L,"defaultRowSize",ct,"defaultRowHeight"),e.copyToObject(L,"outlineLevelRow",E,"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",E,"outlineLevel"),e.copyTo("s",E,"style")}}),h.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Kt=null;const ms={onOpenTag:e=>{Kt===null&&(Kt="")},onText:e=>{Kt+=e},onEnd:()=>{const e=Jt(Kt);return Kt=null,e},onError:e=>{}};return((e,r,l,p,C,pt)=>{let rt=!1,At=!1,Wt=[],_t=!1,Et=null,Yt=null,de=null,nt=null,$e=null,Me=null;const Ts=pt?.get("richData")??[],je=u.Sc.normalizeA1ToR1C1,He=u.me.createConflatingRanges(),Fe=new Map,ve=[];let te=null;const Xe=u.me.createConflatingRanges();let ee,Dt=!1,B=-1,K=-1,gt=null,se=null;const Se=[];let Ce=null,Be=-2,ft=0,zt="",Pt="",Ot="",It="",Vt="",Lt="",Nt="",qe="",We="",_e="",ze="",Ue="",Ge="",Ze="",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.Sc.rangeToString(at),Mt=at.value[1],ie=u.Sc.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.Sc.rangeToString(at);M[N]=$t}r.volatile=M}if(ve.length>0&&(r.dynamicArray=[...ve]),Wt.length>0){Wt.sort(u.me.createRangeComparator(u.q.Orientation.Column));const M=[];let N=null,at=-1,$t=-1,Mt=-1,ie=-1,vt=null;const Qe=Wt.length;Qe>0&&(N=Wt[0],at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value,M.push(N));for(let jt=1;jt<Qe;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 Je=[];for(let jt=0;jt<M.length;jt++){const oe=M[jt];Je.push({r:{colStart:oe.colStart,colEnd:oe.colEnd,rowStart:oe.rowStart,rowEnd:oe.rowEnd},v:oe.value})}r.directStyles=Je}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;Yt=R.ref,Et=it;break;case"array":_t=!0,Yt=R.ref,te=[Yt,!1];break;case"datatable":_t=!0,Yt=R.ref,_t=!0}R.ca!==void 0&&Xe.append(B,K);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;K=u.Sc.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===K?Rt.colEnd=K:(Rt={colStart:K,rowStart:B,colEnd:K,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,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!==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!==Ze&&(mt=!0,Ze=Nt),ft!==0)if(Be+1!==B||mt){const it=Pt!==void 0&&(Pt==="1"||Pt==="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,K,""+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.mt.Error,v:R.getCode()};break}}}const k=u.Rt.getBuiltInByLabel(g);k?gt={t:u.mt.Error,v:k.getCode()}:(gt=g,p?.(`Unknown formula error '${g}' in cell ${u.Sc.cellToString({colIndex:K,rowIndex:B})}`));break;case"str":case"inlineStr":Dt=!0}gt!==null&&e.addValue(B,K,gt)}if(te&&(se==="e"&&(te[1]=!0),ve.push(te),te=null),Et)if($e===Et)nt=Me;else{if(nt=Fe.get(Et),!nt){const k=[];de=je(g,B,K,k),nt=[de,k,g],Fe.set(Et,nt)}$e=Et,Me=nt}if(_t){const k=[];de=je(g,B,K,k),nt=[de,k,g]}if(nt)return He.append(B,K,nt),nt=null,_t=!1,Et=null,void(Yt=null);Dt?C?.onText(g):rt||l?.onText(g)}}})(J,L,h.createEventHandler(L,()=>{},Q),Q,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:Q}=await Promise.resolve().then(()=>require("./BnWGeUEXNoVAHA9V.cjs"));global.ReadableStream=Q}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let _=0;const Z=L instanceof Uint8Array?L:new Uint8Array(L);return new ReadableStream({pull(Q){if(_>=Z.byteLength)return void Q.close();const wt=Z.subarray(_,Math.min(_+G,Z.byteLength)),h=Jt.decode(wt,{stream:_+G<Z.byteLength});Q.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((_,Z)=>{_.type===L&&(kt=ae(Z,$,!1,ut)?.comments,kt&&kt.forEach(Q=>{Re.set(Q.id,Q)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(qt.forEach((_,Z)=>{_.type===Jt&&(G=ae(Z,$,!1,ut))}),G||kt){const _=kt??[],Z=G?.comments;if(Z){const Q=G?.authors;for(let wt=0;wt<Z.length;wt++){const h=Z[wt];let J=h.authorId!==void 0?Q[h.authorId]:void 0;if((!J||J.startsWith("tc="))&&(J=ls(J.substring(3)),Re.has(J)))continue;let H=ce.get(J);H||(H=Ve.get(J)),H||(H={id:u.re.uuidV4(),displayName:J},Ve.set(H.displayName,H),ce.set(H.id,H)),J=H?.id??null;const ue={id:u.re.uuidV4(),personId:J,ref:h.ref,done:!1,asNote:!0,content:h.content};_.push(ue)}}tt.comments=_}}};Pe.push(et())}else Xt=Y?ss($,ne,tt=>{const et=y.add({buffer:tt});return et.addReference(V),F.add(et),m.toResourceId(et)},yt):Ee($,ne,f,P,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 Y=Ie;return Oe.set(O,Ie++),le.push(O),Y},ce=(Ut("richstructure",d,f,P,yt),Ut("richdata",d,f,P,yt),new Map),Ve=new Map,Le=Ut("people",d,f,P);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 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 O=Te.entries().next();O?.value?.[1]&&(Ne=O.value[1])}const ds=new u.N5(Ne);let he=Ut("styles",d,f,P,yt).entries().next()?.value[1];he&&(he=JSON.parse(u.Ug(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.vL(gs);return F.forEach(O=>{O.deleteReference(V)}),m.endPersist(),fs}catch(d){let P="Unable to parse XLSX.";throw d instanceof u.Mo&&(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("./DO9ZaMqU-TGY63RK.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"},P=b.getCell().getStyle();if(!P.isNormal()){let f=P.getNumberFormat();f!==u.uo.Type.General&&(f===u.uo.Type.ShortDate?f="m/d/yyyy":f===u.uo.Type.MediumDate?f="d-mmm-yy":f===u.uo.Type.LongDate?f="[$-x-sysdate]dddd, mmmm dd, yyyy":f===u.uo.Type.ShortTime?f="h:mm":f===u.uo.Type.MediumTime?f="h:mm AM/PM":f===u.uo.Type.LongTime&&(f="h:mm:ss AM/PM"),d.z=f)}if(D!==null)switch(b.getType()){case u.mt.Number:d.t="n",d.v=D;break;case u.mt.String:d.t="s",d.v=D;break;case u.mt.Boolean:d.t="b",d.v=D;break;case u.mt.Error:d.t="e",d.v=D.toString();case u.mt.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 P=0;P<b.length;P++){const f=b[P];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.un.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.un.roundAccurately(parseFloat(i)/12700,4):null;
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"?Qt:"",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,E=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 P=(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)=>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,V,F)=>{const W=P(F??m,V);W!==void 0&&(y[m]=W)},copyTo:(y,m,V)=>{const F=P(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},Ee=(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=Ee(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.oe.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,constructorOptions:n={},...a}=t??{},c=Promise.resolve().then(()=>require("./D4HABltWISUjVaOO.cjs")),T=Promise.resolve().then(()=>require("./CU5XR4xQQYjuDqWh.cjs"));let S=null;try{S=new DOMParser}catch{}let x=null;S||(x=Promise.resolve().then(()=>require("./INcIs0jpLlM3mm-H.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 P=new D.FromOOXMLConverter,f=S??new b.DOMParser,y=n?.resources??new u.uE,m=y.beginPersist(),V={},F=new Set,W=new Map;W.set("richTypes",[]);const ht=new Map,Pe=[],ne=O=>d.files[O],fe=(O,U)=>{const Y=O.lastIndexOf("/"),ut=O.substring(0,Y+1)+"_rels/"+O.substring(Y+1,O.length)+".rels";let dt=U.get(ut);return dt||(dt=(($,be,xe,we,Xt=null)=>{if(!$)return null;const tt=Ee($,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,P,yt),U.set(ut,dt)),dt},ae=(O,U,Y,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=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,Jt,_,Z,Q,wt)=>{const h=new Rs,J=new u.wo.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",E),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",E);if(l!==null){let p=_?.get(l);p||(Q?.(`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",E),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",E),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",E),e.copyTo("minLength",E),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",E,"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.ly.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",E,"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.ly.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.ly.Type.Icon,e.copyTo("iconId",E),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.ly.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.ly.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",E),e.copyTo("hour",E),e.copyTo("minute",E),e.copyTo("month",E),e.copyTo("second",E),e.copyTo("year",E)}}),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.ly.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.Sc.fastStringToRange(p,is).colStart,pt=u.Sc.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",E),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",E,"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.Sc.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",E,"xSplit"),e.copyToObject(p,"rowIndex",E,"ySplit");const C={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=u.Sc.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",E),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",E),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",E,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(L,"defaultRowSize",ct,"defaultRowHeight"),e.copyToObject(L,"outlineLevelRow",E,"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",E,"outlineLevel"),e.copyTo("s",E,"style")}}),h.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Kt=null;const ms={onOpenTag:e=>{Kt===null&&(Kt="")},onText:e=>{Kt+=e},onEnd:()=>{const e=Jt(Kt);return Kt=null,e},onError:e=>{}};return((e,r,l,p,C,pt)=>{let rt=!1,At=!1,Wt=[],_t=!1,Et=null,Yt=null,de=null,nt=null,$e=null,Me=null;const Ts=pt?.get("richData")??[],je=u.Sc.normalizeA1ToR1C1,He=u.me.createConflatingRanges(),Fe=new Map,ve=[];let te=null;const Xe=u.me.createConflatingRanges();let ee,Dt=!1,B=-1,K=-1,gt=null,se=null;const Se=[];let Ce=null,Be=-2,ft=0,zt="",Pt="",Ot="",It="",Vt="",Lt="",Nt="",qe="",We="",_e="",ze="",Ue="",Ge="",Ze="",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.Sc.rangeToString(at),Mt=at.value[1],ie=u.Sc.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.Sc.rangeToString(at);M[N]=$t}r.volatile=M}if(ve.length>0&&(r.dynamicArray=[...ve]),Wt.length>0){Wt.sort(u.me.createRangeComparator(u.q.Orientation.Column));const M=[];let N=null,at=-1,$t=-1,Mt=-1,ie=-1,vt=null;const Qe=Wt.length;Qe>0&&(N=Wt[0],at=N.colStart,$t=N.colEnd,Mt=N.rowEnd,ie=N.value,M.push(N));for(let jt=1;jt<Qe;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 Je=[];for(let jt=0;jt<M.length;jt++){const oe=M[jt];Je.push({r:{colStart:oe.colStart,colEnd:oe.colEnd,rowStart:oe.rowStart,rowEnd:oe.rowEnd},v:oe.value})}r.directStyles=Je}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;Yt=R.ref,Et=it;break;case"array":_t=!0,Yt=R.ref,te=[Yt,!1];break;case"datatable":_t=!0,Yt=R.ref,_t=!0}R.ca!==void 0&&Xe.append(B,K);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;K=u.Sc.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===K?Rt.colEnd=K:(Rt={colStart:K,rowStart:B,colEnd:K,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,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!==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!==Ze&&(mt=!0,Ze=Nt),ft!==0)if(Be+1!==B||mt){const it=Pt!==void 0&&(Pt==="1"||Pt==="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,K,""+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.mt.Error,v:R.getCode()};break}}}const k=u.Rt.getBuiltInByLabel(g);k?gt={t:u.mt.Error,v:k.getCode()}:(gt=g,p?.(`Unknown formula error '${g}' in cell ${u.Sc.cellToString({colIndex:K,rowIndex:B})}`));break;case"str":case"inlineStr":Dt=!0}gt!==null&&e.addValue(B,K,gt)}if(te&&(se==="e"&&(te[1]=!0),ve.push(te),te=null),Et)if($e===Et)nt=Me;else{if(nt=Fe.get(Et),!nt){const k=[];de=je(g,B,K,k),nt=[de,k,g],Fe.set(Et,nt)}$e=Et,Me=nt}if(_t){const k=[];de=je(g,B,K,k),nt=[de,k,g]}if(nt)return He.append(B,K,nt),nt=null,_t=!1,Et=null,void(Yt=null);Dt?C?.onText(g):rt||l?.onText(g)}}})(J,L,h.createEventHandler(L,()=>{},Q),Q,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:Q}=await Promise.resolve().then(()=>require("./DlAB_CcYmXk8tpYL.cjs"));global.ReadableStream=Q}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let _=0;const Z=L instanceof Uint8Array?L:new Uint8Array(L);return new ReadableStream({pull(Q){if(_>=Z.byteLength)return void Q.close();const wt=Z.subarray(_,Math.min(_+G,Z.byteLength)),h=Jt.decode(wt,{stream:_+G<Z.byteLength});Q.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((_,Z)=>{_.type===L&&(kt=ae(Z,$,!1,ut)?.comments,kt&&kt.forEach(Q=>{Re.set(Q.id,Q)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(qt.forEach((_,Z)=>{_.type===Jt&&(G=ae(Z,$,!1,ut))}),G||kt){const _=kt??[],Z=G?.comments;if(Z){const Q=G?.authors;for(let wt=0;wt<Z.length;wt++){const h=Z[wt];let J=h.authorId!==void 0?Q[h.authorId]:void 0;if((!J||J.startsWith("tc="))&&(J=ls(J.substring(3)),Re.has(J)))continue;let H=ce.get(J);H||(H=Ve.get(J)),H||(H={id:u.re.uuidV4(),displayName:J},Ve.set(H.displayName,H),ce.set(H.id,H)),J=H?.id??null;const ue={id:u.re.uuidV4(),personId:J,ref:h.ref,done:!1,asNote:!0,content:h.content};_.push(ue)}}tt.comments=_}}};Pe.push(et())}else Xt=Y?ss($,ne,tt=>{const et=y.add({buffer:tt});return et.addReference(V),F.add(et),m.toResourceId(et)},yt):Ee($,ne,f,P,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 Y=Ie;return Oe.set(O,Ie++),le.push(O),Y},ce=(Ut("richstructure",d,f,P,yt),Ut("richdata",d,f,P,yt),new Map),Ve=new Map,Le=Ut("people",d,f,P);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 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 O=Te.entries().next();O?.value?.[1]&&(Ne=O.value[1])}const ds=new u.N5(Ne);let he=Ut("styles",d,f,P,yt).entries().next()?.value[1];he&&(he=JSON.parse(u.Ug(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.vL(gs);return F.forEach(O=>{O.deleteReference(V)}),m.endPersist(),fs}catch(d){let P="Unable to parse XLSX.";throw d instanceof u.Mo&&(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("./D4HABltWISUjVaOO.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"},P=b.getCell().getStyle();if(!P.isNormal()){let f=P.getNumberFormat();f!==u.uo.Type.General&&(f===u.uo.Type.ShortDate?f="m/d/yyyy":f===u.uo.Type.MediumDate?f="d-mmm-yy":f===u.uo.Type.LongDate?f="[$-x-sysdate]dddd, mmmm dd, yyyy":f===u.uo.Type.ShortTime?f="h:mm":f===u.uo.Type.MediumTime?f="h:mm AM/PM":f===u.uo.Type.LongTime&&(f="h:mm:ss AM/PM"),d.z=f)}if(D!==null)switch(b.getType()){case u.mt.Number:d.t="n",d.v=D;break;case u.mt.String:d.t="s",d.v=D;break;case u.mt.Boolean:d.t="b",d.v=D;break;case u.mt.Error:d.t="e",d.v=D.toString();case u.mt.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 P=0;P<b.length;P++){const f=b[P];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.un.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.un.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.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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,6 +1,6 @@
1
1
  "use strict";var l=Object.create;var m=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var S=(e,t,r,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of d(t))!u.call(e,s)&&s!==r&&m(e,s,{get:()=>t[s],enumerable:!(c=p(t,s))||c.enumerable});return e};var i=(e,t,r)=>(r=e!=null?l(h(e)):{},S(t||!e||!e.__esModule?m(r,"default",{value:e,enumerable:!0}):r,e));/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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"});let a=null;const g={reactUrl:"https://esm.sh/react@19.1.0",reactJsxTransform:"https://esm.sh/react@19.1.0/jsx-runtime",reactDomUrl:"https://esm.sh/react-dom@19.1.0",reactDomUrlClient:"https://esm.sh/react-dom@19.1.0/client"};exports.resolveDependencies=e=>(e={...e,...g},a||(console.log("SheetXL: Resolving dependencies with:",e),a=(async()=>{const t=e.reactUrl,r=e.reactDomUrl,c=e.reactDomUrlClient,s=e.reactJsxTransform;if(document.querySelector('script[type="importmap"]'))console.warn("SheetXL: Import map already exists. Skipping injection.");else{const o=document.createElement("script");o.type="importmap",o.textContent=JSON.stringify({imports:{react:t,"react/jsx-runtime":s,"react-dom":r,"react-dom/client":c}}),document.head.appendChild(o),console.log("SheetXL: Import map injected:",o.textContent)}await new Promise(o=>setTimeout(o,0));const n=await Promise.all([import("react"),import("react/jsx-runtime"),import("react-dom"),import("react-dom/client"),Promise.resolve().then(()=>require("./DjrGUr-awhOmDtrE.cjs")).then(o=>o.StudioMUI)]);return console.log("SheetXL: Dependencies resolved:",n),{React:n[0],ReactJSXTransform:n[1],ReactDOM:n[2],ReactDOMClient:n[3],StudioMUI:n[4]}})(),a));
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let a=null;const g={reactUrl:"https://esm.sh/react@19.1.0",reactJsxTransform:"https://esm.sh/react@19.1.0/jsx-runtime",reactDomUrl:"https://esm.sh/react-dom@19.1.0",reactDomUrlClient:"https://esm.sh/react-dom@19.1.0/client"};exports.resolveDependencies=e=>(e={...e,...g},a||(console.log("SheetXL: Resolving dependencies with:",e),a=(async()=>{const t=e.reactUrl,r=e.reactDomUrl,c=e.reactDomUrlClient,s=e.reactJsxTransform;if(document.querySelector('script[type="importmap"]'))console.warn("SheetXL: Import map already exists. Skipping injection.");else{const o=document.createElement("script");o.type="importmap",o.textContent=JSON.stringify({imports:{react:t,"react/jsx-runtime":s,"react-dom":r,"react-dom/client":c}}),document.head.appendChild(o),console.log("SheetXL: Import map injected:",o.textContent)}await new Promise(o=>setTimeout(o,0));const n=await Promise.all([import("react"),import("react/jsx-runtime"),import("react-dom"),import("react-dom/client"),Promise.resolve().then(()=>require("./B4SOP0NZdUa_5syD.cjs")).then(o=>o.StudioMUI)]);return console.log("SheetXL: Dependencies resolved:",n),{React:n[0],ReactJSXTransform:n[1],ReactDOM:n[2],ReactDOMClient:n[3],StudioMUI:n[4]}})(),a));
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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,4 +10,4 @@ Please use Chrome or Edge if external copy and paste is required.`,k=`You do not
10
10
  All copy and paste operations will be limited to the browser tab.`,jt={Safari:`The Safari browser does not support advanced copy and paste.
11
11
  Copy and paste will be limited to within the browser tab.
12
12
 
13
- Please use Chrome or Edge if external copy and paste is required.`,Perms:k,PermsWrite:T()===y.Safari?ut:k,PermsRead:T()===y.Safari?ut:k},N=async()=>new Promise(e=>{document.hasFocus()?e():globalThis.addEventListener?.("focus",()=>{e()},{once:!0}),document.activeElement.focus?.()}),B=async(e,t,r)=>{if(T()===y.Safari)return await r(new Error(jt.Safari));try{const n=async i=>{try{return await i()}catch(l){if(l.message?.includes("Document is not focused"))return!1;throw l}},o=await globalThis?.navigator?.permissions?.query({name:e,allowWithoutGesture:!0,allowWithoutSanitization:!0});let a=!1;if(o.state==="prompt"&&(a=await n(t)),a||o.state!=="granted"||(a=await t()),!a)return await r(new Error(o.state))}catch(n){return n.message==="No valid data on clipboard"||n.name==="DataError"?void 0:await r(n)}},Tt=async e=>{try{return await e.read({unsanitized:[h]})}catch{}return await e.read()};if(!globalThis.ClipboardItem){const e=(r,n)=>new Blob([n],{type:r});class t{constructor(n,o){this._items={},this._types=Object.keys(n);const a={},i=Object.keys(n);for(let l=0;l<i.length;l++){const s=i[l];let c=n[s];a[s]=typeof c=="string"?e(s,c):c}this._items=a,this._presentationStyle=o?.presentationStyle??"unspecified"}get types(){return this._types}getType(n){return Promise.resolve(this._items[n])}supports(n){return!0}}globalThis.ClipboardItem=t}const V=async(e,t=h)=>new Promise(async(r,n)=>{try{const o=await(async(a,i)=>{if(!a)return null;const l=await Tt(a);let s=!1;for(let c=0;!s&&l&&c<l.length;c++)if(s=l[c].types.includes(i),s)return await l[c].getType(i);return s?void 0:null})(e,t);if(o){const a=new FileReader;a.onload=()=>{r(a.result)},a.onerror=()=>{r("")},a.readAsText(o)}else r("")}catch(o){n(o)}}),dt=async(e,t=h)=>{const r=await V(e,t);if(!r)return null;let n=null;try{n=new DOMParser().parseFromString(r,h)}catch{console.warn("Can't parse html from clipboard.")}return n},C="clipboard-uuid",v="web text/uuid",ft=e=>`<div style="display:none" ${C}="${e}"/>`,Wt=(e,t)=>{let r=null;try{const n=new DOMParser().parseFromString(t,h);n.body.firstElementChild.setAttribute(C,e),r=n.getElementsByTagName("body")[0].innerHTML}catch(n){console.warn("Can't embed uuid.",n)}return r},pt=(e,t)=>{if(!t||!e)return!1;try{const r=t.querySelectorAll(`[${C}="${e}"]`);if(r&&r.length===1)return!0;if(t.querySelector("parsererror"))throw new Error("We are unable to parse node");return!1}catch{return!1}};class wt{constructor(t){if(t?.nativeClipboard===void 0||t?.nativeClipboard===!0)try{this._nativeClipboard=globalThis?.navigator.clipboard}catch{t?.nativeClipboard===!0&&console.warn("NativeClipboard option set to true but no native clipboard available.")}else this._nativeClipboard=t?.nativeClipboard===!1?null:t?.nativeClipboard;this._disableCheckOnFocus=t?.disableCheckOnFocus??!1,this._init()}async _checkForChanges(){this._nativeClipboard&&this._state&&!this._disableCheckOnFocus&&await B("clipboard-read",async()=>{await N();const t=await V(this._nativeClipboard,v);if(!this._state||t&&t===this._state.uuid)return!0;const r=await dt(this._nativeClipboard,h);return!this._state||(pt(this._state.uuid,r)||this.clear(),!0)},async t=>{t?.message==="denied"||t.message?.includes("Document is not focused")||T()===y.Safari||console.warn("Unable to detect clipboard changes: ",t)})}_init(){const t=this;this._listeners=new Map,this._listenersCapture=new Map,this._state=null,this._nativeClipboard&&(this._onFocus=()=>{t._checkForChanges()},this._onBlur=()=>{globalThis.addEventListener?.("focus",t._onFocus,{once:!0})},globalThis.addEventListener?.("blur",this._onBlur),this._nativeClipboard.addEventListener("clipboardchange",r=>{t._checkForChanges()}))}async read(){if(!this._nativeClipboard)return this._state?.items??null;const t=this;return await B("clipboard-read",async()=>{if(await N(),this._state?.uuid){const r=await V(this._nativeClipboard,v);if(r&&r===t._state.uuid)return!0;const n=await dt(this._nativeClipboard,h);if(pt(t._state?.uuid,n))return!0}return t._state={items:await Tt(this._nativeClipboard),uuid:null,ref:null},this.dispatchEvent(new Event("clipboardread")),!0},async r=>{this.dispatchEvent(new Event("clipboarderrorread"))}),this._state?.items??[]}async write(t){return this._write({uuid:R(),items:t,ref:null})}async _write(t){if(!this._nativeClipboard)return this._state=t,this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")),null;const r=this,n=[],o=t.uuid;let a=t.items??[];const i=()=>{r._state={uuid:o,ref:t.ref,items:n},r.dispatchEvent(new Event("clipboardwrite")),r.dispatchEvent(new Event("clipboardchange"))};await B("clipboard-write",async()=>{await N(),o&&a.length===0&&(a.push(new ClipboardItem({[v]:new Blob([o],{type:v})})),a.push(new ClipboardItem({[h]:new Blob([ft(o)],{type:h})})));for(let l=0;l<Math.min(1,a.length);l++){const s=a[l];let c=s.types.indexOf(h),d=null;if(c!==-1){const f=await s.getType(h);d=await W(f),d&&(d=Wt(o,d))}if(!d&&s.types.includes(b)){const f=await s.getType(b);if(f){let p=null;typeof f=="string"?(console.warn("text as string",f),p=f):p=await W(f),p&&(d=`<div ${C}="${o}">${p}</div>`)}}if(!d&&s.types.includes(L)){const f=await s.getType(L),p=_t(await f.arrayBuffer());d=`<div ${C}="${o}"><img src="${Ot+p}"/></div>`}!d&&o&&(d=ft(o));const w=new Blob([d??""],{type:h}),u={};for(let f=0;f<s.types.length;f++){const p=s.types[f];u[p]=f===c?w:s.getType(p)}d&&c===-1&&(u[h]=w),o&&(u[v]=new Blob([o],{type:v})),n.push(new ClipboardItem(u))}try{n&&n.length!==0?await this._nativeClipboard.write(n):await(async l=>{l&&await l.writeText("")})(this._nativeClipboard)}catch(l){l.message?.includes("Document is not focused")||console.warn("Unable to write to native clipboard: ",l)}return i(),!0},async l=>{this.dispatchEvent(new Event("clipboarderrorwrite")),i()})}async writeReference(t){if(!t)return void this.clear();let r=null;const n={};try{const a=await t.toText?.()??null;a&&(n[b]=new Blob([a??""],{type:b}))}catch(a){r=a}try{const a=await t.toHtml?.()??null;a&&(n[h]=new Blob([a],{type:h}))}catch(a){r=a,console.warn("export to html",a)}try{const a=await t.toImage?.()??null;a&&(n[L]=a)}catch(a){r=a,console.warn("export to png",a)}const o=this._write({uuid:R(),ref:t,items:Object.keys(n).length>0?[new ClipboardItem(n)]:null});if(r)throw r;return o}clear(t=!1){this._state&&(this._state=null,t&&this._write({uuid:null,ref:null,items:null}),this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")))}async readReference(){return await this.read(),this._state?.ref??null}readText(){return new Promise(async(t,r)=>{const n=await this.read();let o=null;for(let i=0;!o&&n&&i<n.length;i++)n[i].types.includes(b)&&(o=await n[i].getType(b));if(!o)return void t("");const a=new FileReader;a.onload=()=>{t(a.result)},a.readAsText(o),a.onerror=i=>{r(i)}})}async writeText(t){const r=[new ClipboardItem({[b]:new Blob([t],{type:b})})];return this._write({uuid:R(),items:r,ref:null})}addEventListener(t,r,n={}){const o=n?.capture?this._listenersCapture:this._listeners;let a=o.get(t);a||(a=new Map,o.set(t,a)),a.set(r,typeof n=="boolean"?{}:n)}dispatchEvent(t){if(!t)return;const r=n=>{const o=n.get(t.type);o&&o.forEach((a,i)=>{try{typeof i=="function"?i(t):i.handleEvent&&i.handleEvent(t),a.once&&o.delete(i)}catch(l){console.warn(l)}})};return r(this._listenersCapture),r(this._listeners),!0}removeEventListener(t,r,n){const o=n?.capture?this._listenersCapture:this._listeners,a=o.get(t);a&&(a.delete(r),a.size===0&&o.delete(t))}close(){globalThis.removeEventListener?.("focus",this._onFocus),globalThis.removeEventListener?.("blur",this._onBlur)}}var z;(z=wt||(wt={})).ErrorMessages=jt,z.Global=new z;let ht=null,q=null,M=null;const Vt=Object.freeze({compileTypescript:async function(e){if(!e?.source)return null;if(q&&xt.deepEqual(q,e))return ht;const t=await async function(){if(M)return M;const{TypeScriptCompiler:n}=await Promise.resolve().then(()=>require("./DoVq0lqvAcxtM1Q9.cjs"));return M=new n,M}(),r=await t.compileModule(e);return ht=r,q=e,r}}),Gt=Object.freeze(Object.defineProperty({__proto__:null,ScriptingUtils:Vt},Symbol.toStringTag,{value:"Module"}));exports.$=xt,exports.i=Gt;
13
+ Please use Chrome or Edge if external copy and paste is required.`,Perms:k,PermsWrite:T()===y.Safari?ut:k,PermsRead:T()===y.Safari?ut:k},N=async()=>new Promise(e=>{document.hasFocus()?e():globalThis.addEventListener?.("focus",()=>{e()},{once:!0}),document.activeElement.focus?.()}),B=async(e,t,r)=>{if(T()===y.Safari)return await r(new Error(jt.Safari));try{const n=async i=>{try{return await i()}catch(l){if(l.message?.includes("Document is not focused"))return!1;throw l}},o=await globalThis?.navigator?.permissions?.query({name:e,allowWithoutGesture:!0,allowWithoutSanitization:!0});let a=!1;if(o.state==="prompt"&&(a=await n(t)),a||o.state!=="granted"||(a=await t()),!a)return await r(new Error(o.state))}catch(n){return n.message==="No valid data on clipboard"||n.name==="DataError"?void 0:await r(n)}},Tt=async e=>{try{return await e.read({unsanitized:[h]})}catch{}return await e.read()};if(!globalThis.ClipboardItem){const e=(r,n)=>new Blob([n],{type:r});class t{constructor(n,o){this._items={},this._types=Object.keys(n);const a={},i=Object.keys(n);for(let l=0;l<i.length;l++){const s=i[l];let c=n[s];a[s]=typeof c=="string"?e(s,c):c}this._items=a,this._presentationStyle=o?.presentationStyle??"unspecified"}get types(){return this._types}getType(n){return Promise.resolve(this._items[n])}supports(n){return!0}}globalThis.ClipboardItem=t}const V=async(e,t=h)=>new Promise(async(r,n)=>{try{const o=await(async(a,i)=>{if(!a)return null;const l=await Tt(a);let s=!1;for(let c=0;!s&&l&&c<l.length;c++)if(s=l[c].types.includes(i),s)return await l[c].getType(i);return s?void 0:null})(e,t);if(o){const a=new FileReader;a.onload=()=>{r(a.result)},a.onerror=()=>{r("")},a.readAsText(o)}else r("")}catch(o){n(o)}}),dt=async(e,t=h)=>{const r=await V(e,t);if(!r)return null;let n=null;try{n=new DOMParser().parseFromString(r,h)}catch{console.warn("Can't parse html from clipboard.")}return n},C="clipboard-uuid",v="web text/uuid",ft=e=>`<div style="display:none" ${C}="${e}"/>`,Wt=(e,t)=>{let r=null;try{const n=new DOMParser().parseFromString(t,h);n.body.firstElementChild.setAttribute(C,e),r=n.getElementsByTagName("body")[0].innerHTML}catch(n){console.warn("Can't embed uuid.",n)}return r},pt=(e,t)=>{if(!t||!e)return!1;try{const r=t.querySelectorAll(`[${C}="${e}"]`);if(r&&r.length===1)return!0;if(t.querySelector("parsererror"))throw new Error("We are unable to parse node");return!1}catch{return!1}};class wt{constructor(t){if(t?.nativeClipboard===void 0||t?.nativeClipboard===!0)try{this._nativeClipboard=globalThis?.navigator.clipboard}catch{t?.nativeClipboard===!0&&console.warn("NativeClipboard option set to true but no native clipboard available.")}else this._nativeClipboard=t?.nativeClipboard===!1?null:t?.nativeClipboard;this._disableCheckOnFocus=t?.disableCheckOnFocus??!1,this._init()}async _checkForChanges(){this._nativeClipboard&&this._state&&!this._disableCheckOnFocus&&await B("clipboard-read",async()=>{await N();const t=await V(this._nativeClipboard,v);if(!this._state||t&&t===this._state.uuid)return!0;const r=await dt(this._nativeClipboard,h);return!this._state||(pt(this._state.uuid,r)||this.clear(),!0)},async t=>{t?.message==="denied"||t.message?.includes("Document is not focused")||T()===y.Safari||console.warn("Unable to detect clipboard changes: ",t)})}_init(){const t=this;this._listeners=new Map,this._listenersCapture=new Map,this._state=null,this._nativeClipboard&&(this._onFocus=()=>{t._checkForChanges()},this._onBlur=()=>{globalThis.addEventListener?.("focus",t._onFocus,{once:!0})},globalThis.addEventListener?.("blur",this._onBlur),this._nativeClipboard.addEventListener("clipboardchange",r=>{t._checkForChanges()}))}async read(){if(!this._nativeClipboard)return this._state?.items??null;const t=this;return await B("clipboard-read",async()=>{if(await N(),this._state?.uuid){const r=await V(this._nativeClipboard,v);if(r&&r===t._state.uuid)return!0;const n=await dt(this._nativeClipboard,h);if(pt(t._state?.uuid,n))return!0}return t._state={items:await Tt(this._nativeClipboard),uuid:null,ref:null},this.dispatchEvent(new Event("clipboardread")),!0},async r=>{this.dispatchEvent(new Event("clipboarderrorread"))}),this._state?.items??[]}async write(t){return this._write({uuid:R(),items:t,ref:null})}async _write(t){if(!this._nativeClipboard)return this._state=t,this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")),null;const r=this,n=[],o=t.uuid;let a=t.items??[];const i=()=>{r._state={uuid:o,ref:t.ref,items:n},r.dispatchEvent(new Event("clipboardwrite")),r.dispatchEvent(new Event("clipboardchange"))};await B("clipboard-write",async()=>{await N(),o&&a.length===0&&(a.push(new ClipboardItem({[v]:new Blob([o],{type:v})})),a.push(new ClipboardItem({[h]:new Blob([ft(o)],{type:h})})));for(let l=0;l<Math.min(1,a.length);l++){const s=a[l];let c=s.types.indexOf(h),d=null;if(c!==-1){const f=await s.getType(h);d=await W(f),d&&(d=Wt(o,d))}if(!d&&s.types.includes(b)){const f=await s.getType(b);if(f){let p=null;typeof f=="string"?(console.warn("text as string",f),p=f):p=await W(f),p&&(d=`<div ${C}="${o}">${p}</div>`)}}if(!d&&s.types.includes(L)){const f=await s.getType(L),p=_t(await f.arrayBuffer());d=`<div ${C}="${o}"><img src="${Ot+p}"/></div>`}!d&&o&&(d=ft(o));const w=new Blob([d??""],{type:h}),u={};for(let f=0;f<s.types.length;f++){const p=s.types[f];u[p]=f===c?w:s.getType(p)}d&&c===-1&&(u[h]=w),o&&(u[v]=new Blob([o],{type:v})),n.push(new ClipboardItem(u))}try{n&&n.length!==0?await this._nativeClipboard.write(n):await(async l=>{l&&await l.writeText("")})(this._nativeClipboard)}catch(l){l.message?.includes("Document is not focused")||console.warn("Unable to write to native clipboard: ",l)}return i(),!0},async l=>{this.dispatchEvent(new Event("clipboarderrorwrite")),i()})}async writeReference(t){if(!t)return void this.clear();let r=null;const n={};try{const a=await t.toText?.()??null;a&&(n[b]=new Blob([a??""],{type:b}))}catch(a){r=a}try{const a=await t.toHtml?.()??null;a&&(n[h]=new Blob([a],{type:h}))}catch(a){r=a,console.warn("export to html",a)}try{const a=await t.toImage?.()??null;a&&(n[L]=a)}catch(a){r=a,console.warn("export to png",a)}const o=this._write({uuid:R(),ref:t,items:Object.keys(n).length>0?[new ClipboardItem(n)]:null});if(r)throw r;return o}clear(t=!1){this._state&&(this._state=null,t&&this._write({uuid:null,ref:null,items:null}),this.dispatchEvent(new Event("clipboardwrite")),this.dispatchEvent(new Event("clipboardchange")))}async readReference(){return await this.read(),this._state?.ref??null}readText(){return new Promise(async(t,r)=>{const n=await this.read();let o=null;for(let i=0;!o&&n&&i<n.length;i++)n[i].types.includes(b)&&(o=await n[i].getType(b));if(!o)return void t("");const a=new FileReader;a.onload=()=>{t(a.result)},a.readAsText(o),a.onerror=i=>{r(i)}})}async writeText(t){const r=[new ClipboardItem({[b]:new Blob([t],{type:b})})];return this._write({uuid:R(),items:r,ref:null})}addEventListener(t,r,n={}){const o=n?.capture?this._listenersCapture:this._listeners;let a=o.get(t);a||(a=new Map,o.set(t,a)),a.set(r,typeof n=="boolean"?{}:n)}dispatchEvent(t){if(!t)return;const r=n=>{const o=n.get(t.type);o&&o.forEach((a,i)=>{try{typeof i=="function"?i(t):i.handleEvent&&i.handleEvent(t),a.once&&o.delete(i)}catch(l){console.warn(l)}})};return r(this._listenersCapture),r(this._listeners),!0}removeEventListener(t,r,n){const o=n?.capture?this._listenersCapture:this._listeners,a=o.get(t);a&&(a.delete(r),a.size===0&&o.delete(t))}close(){globalThis.removeEventListener?.("focus",this._onFocus),globalThis.removeEventListener?.("blur",this._onBlur)}}var z;(z=wt||(wt={})).ErrorMessages=jt,z.Global=new z;let ht=null,q=null,M=null;const Vt=Object.freeze({compileTypescript:async function(e){if(!e?.source)return null;if(q&&xt.deepEqual(q,e))return ht;const t=await async function(){if(M)return M;const{TypeScriptCompiler:n}=await Promise.resolve().then(()=>require("./Dn1uL0GqyDGo3d67.cjs"));return M=new n,M}(),r=await t.compileModule(e);return ht=r,q=e,r}}),Gt=Object.freeze(Object.defineProperty({__proto__:null,ScriptingUtils:Vt},Symbol.toStringTag,{value:"Module"}));exports.$=xt,exports.i=Gt;
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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 S=require("./DjrGUr-awhOmDtrE.cjs");var Co=typeof global=="object"&&global&&global.Object===Object&&global,Us=typeof self=="object"&&self&&self.Object===Object&&self,wt=Co||Us||Function("return this")(),It=wt.Symbol,ko=Object.prototype,Fs=ko.hasOwnProperty,Ds=ko.toString,Ie=It?It.toStringTag:void 0,js=Object.prototype.toString,Vr=It?It.toStringTag:void 0;function Qt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Vr&&Vr in Object(t)?function(n){var r=Fs.call(n,Ie),i=n[Ie];try{n[Ie]=void 0;var o=!0}catch{}var s=Ds.call(n);return o&&(r?n[Ie]=i:delete n[Ie]),s}(t):(e=t,js.call(e));var e}function Ot(t){return t!=null&&typeof t=="object"}function An(t){return typeof t=="symbol"||Ot(t)&&Qt(t)=="[object Symbol]"}function In(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var B=Array.isArray,Hr=It?It.prototype:void 0,Yr=Hr?Hr.toString:void 0;function bo(t){if(typeof t=="string")return t;if(B(t))return In(t,bo)+"";if(An(t))return Yr?Yr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var Bs=/\s/,$s=/^\s+/;function Rt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ws=/^[-+]0x[0-9a-f]+$/i,Gs=/^0b[01]+$/i,Ks=/^0o[0-7]+$/i,zs=parseInt,Vs=1/0;function Rn(t){var e=function(r){return r?(r=function(i){if(typeof i=="number")return i;if(An(i))return NaN;if(Rt(i)){var o=typeof i.valueOf=="function"?i.valueOf():i;i=Rt(o)?o+"":o}if(typeof i!="string")return i===0?i:+i;var s;i=(s=i)&&s.slice(0,function(c){for(var u=c.length;u--&&Bs.test(c.charAt(u)););return u}(s)+1).replace($s,"");var a=Gs.test(i);return a||Ks.test(i)?zs(i.slice(2),a?2:8):Ws.test(i)?NaN:+i}(r))===Vs||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:r===0?r:0}(t),n=e%1;return e==e?n?e-n:e:0}function pe(t){return t}function Yt(t){if(!Rt(t))return!1;var e=Qt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var Xr,Pn=wt["__core-js_shared__"],qr=(Xr=/[^.]+$/.exec(Pn&&Pn.keys&&Pn.keys.IE_PROTO||""))?"Symbol(src)_1."+Xr:"",Hs=Function.prototype.toString;function oe(t){if(t!=null){try{return Hs.call(t)}catch{}try{return t+""}catch{}}return""}var Ys=/^\[object .+?Constructor\]$/,Xs=Function.prototype,qs=Object.prototype,Zs=Xs.toString,Qs=qs.hasOwnProperty,Js=RegExp("^"+Zs.call(Qs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function se(t,e){var n,r,i,o,s=(n=t,r=e,n?.[r]);return Rt(i=s)&&(o=i,!qr||!(qr in o))&&(Yt(i)?Js:Ys).test(oe(i))?s:void 0}var cr=se(wt,"WeakMap"),Zr=Object.create,ta=function(){function t(){}return function(e){if(!Rt(e))return{};if(Zr)return Zr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Z(){}var Qr,wn,Mn,ea=Date.now,cn=function(){try{var t=se(Object,"defineProperty");return t({},"",{}),t}catch{}}(),na=cn?function(t,e){return cn(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:pe,ra=(Qr=na,wn=0,Mn=0,function(){var t=ea(),e=16-(t-Mn);if(Mn=t,e>0){if(++wn>=800)return arguments[0]}else wn=0;return Qr.apply(void 0,arguments)});function Po(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function wo(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function ia(t){return t!=t}function kr(t,e,n){return e==e?function(r,i,o){for(var s=o-1,a=r.length;++s<a;)if(r[s]===i)return s;return-1}(t,e,n):wo(t,ia,n)}function Mo(t,e){return!(t==null||!t.length)&&kr(t,e,0)>-1}var oa=/^(?:0|[1-9]\d*)$/;function Nn(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&oa.test(t))&&t>-1&&t%1==0&&t<e}function br(t,e,n){e=="__proto__"&&cn?cn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $e(t,e){return t===e||t!=t&&e!=e}var sa=Object.prototype.hasOwnProperty;function yn(t,e,n){var r=t[e];sa.call(t,e)&&$e(r,n)&&(n!==void 0||e in t)||br(t,e,n)}function ur(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],c=void 0;c===void 0&&(c=t[a]),i?br(n,a,c):yn(n,a,c)}return n}var Jr=Math.max;function Pr(t,e){return ra((n=t,i=pe,r=Jr((r=e)===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Jr(o.length-r,0),c=Array(a);++s<a;)c[s]=o[r+s];s=-1;for(var u=Array(r+1);++s<r;)u[s]=o[s];return u[r]=i(c),function(l,h,I){switch(I.length){case 0:return l.call(h);case 1:return l.call(h,I[0]);case 2:return l.call(h,I[0],I[1]);case 3:return l.call(h,I[0],I[1],I[2])}return l.apply(h,I)}(n,this,u)}),t+"");var n,r,i}function wr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function Mt(t){return t!=null&&wr(t.length)&&!Yt(t)}function Uo(t,e,n){if(!Rt(n))return!1;var r=typeof e;return!!(r=="number"?Mt(n)&&Nn(e,n.length):r=="string"&&e in n)&&$e(n[e],t)}var aa=Object.prototype;function We(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||aa)}function ti(t){return Ot(t)&&Qt(t)=="[object Arguments]"}var Fo=Object.prototype,ca=Fo.hasOwnProperty,ua=Fo.propertyIsEnumerable,vn=ti(function(){return arguments}())?ti:function(t){return Ot(t)&&ca.call(t,"callee")&&!ua.call(t,"callee")},Do=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ei=Do&&typeof module=="object"&&module&&!module.nodeType&&module,ni=ei&&ei.exports===Do?wt.Buffer:void 0,we=(ni?ni.isBuffer:void 0)||function(){return!1},z={};function On(t){return function(e){return t(e)}}z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,xe=jo&&typeof module=="object"&&module&&!module.nodeType&&module,Un=xe&&xe.exports===jo&&Co.process,qt=function(){try{return xe&&xe.require&&xe.require("util").types||Un&&Un.binding&&Un.binding("util")}catch{}}(),ri=qt&&qt.isTypedArray,Mr=ri?On(ri):function(t){return Ot(t)&&wr(t.length)&&!!z[Qt(t)]},la=Object.prototype.hasOwnProperty;function Bo(t,e){var n=B(t),r=!n&&vn(t),i=!n&&!r&&we(t),o=!n&&!r&&!i&&Mr(t),s=n||r||i||o,a=s?function(l,h){for(var I=-1,v=Array(l);++I<l;)v[I]=h(I);return v}(t.length,String):[],c=a.length;for(var u in t)!e&&!la.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Nn(u,c))||a.push(u);return a}function $o(t,e){return function(n){return t(e(n))}}var ha=$o(Object.keys,Object),fa=Object.prototype.hasOwnProperty;function Wo(t){if(!We(t))return ha(t);var e=[];for(var n in Object(t))fa.call(t,n)&&n!="constructor"&&e.push(n);return e}function Nt(t){return Mt(t)?Bo(t):Wo(t)}var Fn,da=Object.prototype.hasOwnProperty,dt=(Fn=function(t,e){if(We(e)||Mt(e))ur(e,Nt(e),t);else for(var n in e)da.call(e,n)&&yn(t,n,e[n])},Pr(function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=Fn.length>3&&typeof i=="function"?(r--,i):void 0,o&&Uo(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Fn(t,s)}return t})),pa=Object.prototype.hasOwnProperty;function Go(t){return Mt(t)?Bo(t,!0):function(e){if(!Rt(e))return function(o){var s=[];if(o!=null)for(var a in Object(o))s.push(a);return s}(e);var n=We(e),r=[];for(var i in e)(i!="constructor"||!n&&pa.call(e,i))&&r.push(i);return r}(t)}var ma=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ea=/^\w*$/;function lr(t,e){if(B(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!An(t))||Ea.test(t)||!ma.test(t)||e!=null&&t in Object(e)}var Re=se(Object,"create"),ga=Object.prototype.hasOwnProperty,Ta=Object.prototype.hasOwnProperty;function ne(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ke(t,e){for(var n=t.length;n--;)if($e(t[n][0],e))return n;return-1}ne.prototype.clear=function(){this.__data__=Re?Re(null):{},this.size=0},ne.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ne.prototype.get=function(t){var e=this.__data__;if(Re){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return ga.call(e,t)?e[t]:void 0},ne.prototype.has=function(t){var e=this.__data__;return Re?e[t]!==void 0:Ta.call(e,t)},ne.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Re&&e===void 0?"__lodash_hash_undefined__":e,this};var Aa=Array.prototype.splice;function Vt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vt.prototype.clear=function(){this.__data__=[],this.size=0},Vt.prototype.delete=function(t){var e=this.__data__,n=Ke(e,t);return!(n<0||(n==e.length-1?e.pop():Aa.call(e,n,1),--this.size,0))},Vt.prototype.get=function(t){var e=this.__data__,n=Ke(e,t);return n<0?void 0:e[n][1]},Vt.prototype.has=function(t){return Ke(this.__data__,t)>-1},Vt.prototype.set=function(t,e){var n=this.__data__,r=Ke(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var Me=se(wt,"Map");function ze(t,e){var n,r,i=t.__data__;return((r=typeof(n=e))=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null)?i[typeof e=="string"?"string":"hash"]:i.map}function Gt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ur(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ur.Cache||Gt),n}Gt.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(Me||Vt),string:new ne}},Gt.prototype.delete=function(t){var e=ze(this,t).delete(t);return this.size-=e?1:0,e},Gt.prototype.get=function(t){return ze(this,t).get(t)},Gt.prototype.has=function(t){return ze(this,t).has(t)},Gt.prototype.set=function(t,e){var n=ze(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ur.Cache=Gt;var Dn,jn,Ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ra=/\\(\\)?/g,Na=(Dn=Ur(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Ia,function(n,r,i,o){e.push(i?o.replace(Ra,"$1"):r||n)}),e},function(t){return jn.size===500&&jn.clear(),t}),jn=Dn.cache,Dn);function Sn(t,e){return B(t)?t:lr(t,e)?[t]:Na((n=t)==null?"":bo(n));var n}function Ue(t){if(typeof t=="string"||An(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function hr(t,e){for(var n=0,r=(e=Sn(e,t)).length;t!=null&&n<r;)t=t[Ue(e[n++])];return n&&n==r?t:void 0}function Fr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ii=It?It.isConcatSpreadable:void 0;function ya(t){return B(t)||vn(t)||!!(ii&&t&&t[ii])}function Dr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=ya),i||(i=[]);++o<s;){var a=t[o];n(a)?Fr(i,a):r||(i[i.length]=a)}return i}function yt(t){return t!=null&&t.length?Dr(t):[]}var Ko=$o(Object.getPrototypeOf,Object);function zo(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function va(t,e,n,r){var i=-1,o=t==null?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function bt(t){var e=this.__data__=new Vt(t);this.size=e.size}bt.prototype.clear=function(){this.__data__=new Vt,this.size=0},bt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},bt.prototype.get=function(t){return this.__data__.get(t)},bt.prototype.has=function(t){return this.__data__.has(t)},bt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Vt){var r=n.__data__;if(!Me||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gt(r)}return n.set(t,e),this.size=n.size,this};var Vo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,oi=Vo&&typeof module=="object"&&module&&!module.nodeType&&module,si=oi&&oi.exports===Vo?wt.Buffer:void 0,ai=si?si.allocUnsafe:void 0;function jr(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Ho(){return[]}var Oa=Object.prototype.propertyIsEnumerable,ci=Object.getOwnPropertySymbols,Br=ci?function(t){return t==null?[]:(t=Object(t),jr(ci(t),function(e){return Oa.call(t,e)}))}:Ho,Sa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Fr(e,Br(t)),t=Ko(t);return e}:Ho;function Yo(t,e,n){var r=e(t);return B(t)?r:Fr(r,n(t))}function fr(t){return Yo(t,Nt,Br)}var dr=se(wt,"DataView"),pr=se(wt,"Promise"),fe=se(wt,"Set"),ui="[object Map]",li="[object Promise]",hi="[object Set]",fi="[object WeakMap]",di="[object DataView]",_a=oe(dr),La=oe(Me),xa=oe(pr),Ca=oe(fe),ka=oe(cr),At=Qt;(dr&&At(new dr(new ArrayBuffer(1)))!=di||Me&&At(new Me)!=ui||pr&&At(pr.resolve())!=li||fe&&At(new fe)!=hi||cr&&At(new cr)!=fi)&&(At=function(t){var e=Qt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?oe(n):"";if(r)switch(r){case _a:return di;case La:return ui;case xa:return li;case Ca:return hi;case ka:return fi}return e});var ba=Object.prototype.hasOwnProperty,un=wt.Uint8Array,Pa=/\w*$/,pi=It?It.prototype:void 0,mi=pi?pi.valueOf:void 0,Ei=qt&&qt.isMap,wa=Ei?On(Ei):function(t){return Ot(t)&&At(t)=="[object Map]"},gi=qt&&qt.isSet,Ma=gi?On(gi):function(t){return Ot(t)&&At(t)=="[object Set]"},Xo="[object Arguments]",qo="[object Function]",Zo="[object Object]",G={};function Je(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!Rt(t))return t;var a,c,u,l=B(t);if(l)return c=(a=t).length,u=new a.constructor(c),c&&typeof a[0]=="string"&&ba.call(a,"index")&&(u.index=a.index,u.input=a.input),function(g,d){var A=-1,N=g.length;for(d||(d=Array(N));++A<N;)d[A]=g[A];return d}(t,s=u);var h,I,v,O=At(t),x=O==qo||O=="[object GeneratorFunction]";if(we(t))return I=(h=t).length,v=ai?ai(I):new h.constructor(I),h.copy(v),v;if(O==Zo||O==Xo||x&&!i)return s=x?{}:function(g){return typeof g.constructor!="function"||We(g)?{}:ta(Ko(g))}(t),function(g,d){return ur(g,Br(g),d)}(t,function(g,d){return g&&ur(d,Nt(d),g)}(s,t));if(!G[O])return i?t:{};s=function(g,d){var A,N,f,m,p,E,R,P,L,y=g.constructor;switch(d){case"[object ArrayBuffer]":return p=new(m=g).constructor(m.byteLength),new un(p).set(new un(m)),p;case"[object Boolean]":case"[object Date]":return new y(+g);case"[object DataView]":return f=(N=g).buffer,new N.constructor(f,N.byteOffset,N.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return R=(E=g).buffer,new E.constructor(R,E.byteOffset,E.length);case"[object Map]":case"[object Set]":return new y;case"[object Number]":case"[object String]":return new y(g);case"[object RegExp]":return(L=new(P=g).constructor(P.source,Pa.exec(P))).lastIndex=P.lastIndex,L;case"[object Symbol]":return A=g,mi?Object(mi.call(A)):{}}}(t,O),o||(o=new bt);var _=o.get(t);if(_)return _;o.set(t,s),Ma(t)?t.forEach(function(g){s.add(Je(g,e,n,g,t,o))}):wa(t)&&t.forEach(function(g,d){s.set(d,Je(g,e,n,d,t,o))});var T=l?void 0:fr(t);return Po(T||t,function(g,d){T&&(g=t[d=g]),yn(s,d,Je(g,e,n,d,t,o))}),s}function et(t){return Je(t,4)}function Fe(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function de(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Gt;++e<n;)this.add(t[e])}function Qo(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function $r(t,e){return t.has(e)}function Ti(t,e,n,r,i,o){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var h=-1,I=!0,v=2&n?new de:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var O=t[h],x=e[h];if(r)var _=s?r(x,O,h,e,t,o):r(O,x,h,t,e,o);if(_!==void 0){if(_)continue;I=!1;break}if(v){if(!Qo(e,function(T,g){if(!$r(v,g)&&(O===T||i(O,T,n,r,o)))return v.push(g)})){I=!1;break}}else if(O!==x&&!i(O,x,n,r,o)){I=!1;break}}return o.delete(t),o.delete(e),I}function Ua(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Wr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}G[Xo]=G["[object Array]"]=G["[object ArrayBuffer]"]=G["[object DataView]"]=G["[object Boolean]"]=G["[object Date]"]=G["[object Float32Array]"]=G["[object Float64Array]"]=G["[object Int8Array]"]=G["[object Int16Array]"]=G["[object Int32Array]"]=G["[object Map]"]=G["[object Number]"]=G[Zo]=G["[object RegExp]"]=G["[object Set]"]=G["[object String]"]=G["[object Symbol]"]=G["[object Uint8Array]"]=G["[object Uint8ClampedArray]"]=G["[object Uint16Array]"]=G["[object Uint32Array]"]=!0,G["[object Error]"]=G[qo]=G["[object WeakMap]"]=!1,de.prototype.add=de.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},de.prototype.has=function(t){return this.__data__.has(t)};var Ai=It?It.prototype:void 0,Bn=Ai?Ai.valueOf:void 0,Fa=Object.prototype.hasOwnProperty,Ii="[object Arguments]",Ri="[object Array]",Ve="[object Object]",Ni=Object.prototype.hasOwnProperty;function mr(t,e,n,r,i){return t===e||(t==null||e==null||!Ot(t)&&!Ot(e)?t!=t&&e!=e:function(o,s,a,c,u,l){var h=B(o),I=B(s),v=h?Ri:At(o),O=I?Ri:At(s),x=(v=v==Ii?Ve:v)==Ve,_=(O=O==Ii?Ve:O)==Ve,T=v==O;if(T&&we(o)){if(!we(s))return!1;h=!0,x=!1}if(T&&!x)return l||(l=new bt),h||Mr(o)?Ti(o,s,a,c,u,l):function(f,m,p,E,R,P,L){switch(p){case"[object DataView]":if(f.byteLength!=m.byteLength||f.byteOffset!=m.byteOffset)return!1;f=f.buffer,m=m.buffer;case"[object ArrayBuffer]":return!(f.byteLength!=m.byteLength||!P(new un(f),new un(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return $e(+f,+m);case"[object Error]":return f.name==m.name&&f.message==m.message;case"[object RegExp]":case"[object String]":return f==m+"";case"[object Map]":var y=Ua;case"[object Set]":var M=1&E;if(y||(y=Wr),f.size!=m.size&&!M)return!1;var C=L.get(f);if(C)return C==m;E|=2,L.set(f,m);var k=Ti(y(f),y(m),E,R,P,L);return L.delete(f),k;case"[object Symbol]":if(Bn)return Bn.call(f)==Bn.call(m)}return!1}(o,s,v,a,c,u,l);if(!(1&a)){var g=x&&Ni.call(o,"__wrapped__"),d=_&&Ni.call(s,"__wrapped__");if(g||d){var A=g?o.value():o,N=d?s.value():s;return l||(l=new bt),u(A,N,a,c,l)}}return!!T&&(l||(l=new bt),function(f,m,p,E,R,P){var L=1&p,y=fr(f),M=y.length;if(M!=fr(m).length&&!L)return!1;for(var C=M;C--;){var k=y[C];if(!(L?k in m:Fa.call(m,k)))return!1}var $=P.get(f),X=P.get(m);if($&&X)return $==m&&X==f;var W=!0;P.set(f,m),P.set(m,f);for(var rt=L;++C<M;){var mt=f[k=y[C]],Ct=m[k];if(E)var Ae=L?E(Ct,mt,k,m,f,P):E(mt,Ct,k,f,m,P);if(!(Ae===void 0?mt===Ct||R(mt,Ct,p,E,P):Ae)){W=!1;break}rt||(rt=k=="constructor")}if(W&&!rt){var nt=f.constructor,Jt=m.constructor;nt==Jt||!("constructor"in f)||!("constructor"in m)||typeof nt=="function"&&nt instanceof nt&&typeof Jt=="function"&&Jt instanceof Jt||(W=!1)}return P.delete(f),P.delete(m),W}(o,s,a,c,u,l))}(t,e,n,r,mr,i))}function yi(t){return t==t&&!Rt(t)}function vi(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function Da(t,e){return t!=null&&e in Object(t)}function Jo(t,e,n){for(var r=-1,i=(e=Sn(e,t)).length,o=!1;++r<i;){var s=Ue(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&wr(i)&&Nn(s,i)&&(B(t)||vn(t))}function Pt(t){return typeof t=="function"?t:t==null?pe:typeof t=="object"?B(t)?(e=t[0],n=t[1],lr(e)&&yi(n)?vi(Ue(e),n):function(r){var i,o,s,a,c=(o=(i=r)==null?void 0:hr(i,e))===void 0?void 0:o;return c===void 0&&c===n?(a=e,(s=r)!=null&&Jo(s,a,Da)):mr(n,c,3)}):function(r){var i=function(o){for(var s=Nt(o),a=s.length;a--;){var c=s[a],u=o[c];s[a]=[c,u,yi(u)]}return s}(r);return i.length==1&&i[0][2]?vi(i[0][0],i[0][1]):function(o){return o===r||function(s,a,c){var u=c.length,l=u;if(s==null)return!l;for(s=Object(s);u--;){var h=c[u];if(h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++u<l;){var I=(h=c[u])[0],v=s[I],O=h[1];if(h[2]){if(v===void 0&&!(I in s))return!1}else if(!mr(O,v,3,void 0,new bt))return!1}return!0}(o,0,i)}}(t):function(r){return lr(r)?(i=Ue(r),function(o){return o?.[i]}):function(o){return function(s){return hr(s,o)}}(r);var i}(t);var e,n}function ja(t,e,n,r){for(var i=-1,o=t==null?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}var Oi,ae=(Oi=function(t,e){return t&&function(n,r,i){for(var o=-1,s=Object(n),a=i(n),c=a.length;c--;){var u=a[++o];if(r(s[u],u,s)===!1)break}return n}(t,e,Nt)},function(t,e){if(t==null)return t;if(!Mt(t))return Oi(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Ba(t,e,n,r){return ae(t,function(i,o,s){e(r,i,n(i),s)}),r}var ts=Object.prototype,$a=ts.hasOwnProperty,Er=Pr(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&Uo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=Go(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||$e(l,ts[u])&&!$a.call(t,u))&&(t[u]=o[u])}return t});function Si(t){return Ot(t)&&Mt(t)}var ln=Pr(function(t,e){return Si(t)?function(n,r){var i=-1,o=Mo,s=!0,a=n.length,c=[],u=r.length;if(!a)return c;r.length>=200&&(o=$r,s=!1,r=new de(r));t:for(;++i<a;){var l=n[i],h=l;if(l=l!==0?l:0,s&&h==h){for(var I=u;I--;)if(r[I]===h)continue t;c.push(l)}else o(r,h,void 0)||c.push(l)}return c}(t,Dr(e,0,Si,!0)):[]});function me(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function tt(t,e,n){var r=t==null?0:t.length;return r?zo(t,(e=e===void 0?1:Rn(e))<0?0:e,r):[]}function De(t,e,n){var r=t==null?0:t.length;return r?zo(t,0,(e=r-(e=e===void 0?1:Rn(e)))<0?0:e):[]}function U(t,e){var n;return(B(t)?Po:ae)(t,typeof(n=e)=="function"?n:pe)}function Wa(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ga(t,e){var n=!0;return ae(t,function(r,i,o){return n=!!e(r,i,o)}),n}function vt(t,e,n){return(B(t)?Wa:Ga)(t,Pt(e))}function es(t,e){var n=[];return ae(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function gt(t,e){return(B(t)?jr:es)(t,Pt(e))}var _i,Ka=Math.max,Ee=(_i=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:Rn(n);return i<0&&(i=Ka(r+i,0)),wo(t,Pt(e),i)},function(t,e,n){var r=Object(t);if(!Mt(t)){var i=Pt(e);t=Nt(t),e=function(s){return i(r[s],s,r)}}var o=_i(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function St(t){return t&&t.length?t[0]:void 0}function za(t,e){var n=-1,r=Mt(t)?Array(t.length):[];return ae(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function b(t,e){return(B(t)?In:za)(t,Pt(e))}function Tt(t,e){return Dr(b(t,e))}var Li,Va=Object.prototype.hasOwnProperty,Ha=(Li=function(t,e,n){Va.call(t,n)?t[n].push(e):br(t,n,[e])},function(t,e){return(B(t)?ja:Ba)(t,Li,Pt(e),{})}),Ya=Object.prototype.hasOwnProperty;function Xa(t,e){return t!=null&&Ya.call(t,e)}function w(t,e){return t!=null&&Jo(t,e,Xa)}function ut(t){return typeof t=="string"||!B(t)&&Ot(t)&&Qt(t)=="[object String]"}function Q(t){return t==null?[]:(e=t,In(Nt(t),function(n){return e[n]}));var e}var qa=Math.max;function at(t,e,n,r){t=Mt(t)?t:Q(t),n=n?Rn(n):0;var i=t.length;return n<0&&(n=qa(i+n,0)),ut(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&kr(t,e,n)>-1}function xi(t,e,n){return t!=null&&t.length?kr(t,e,0):-1}var Za=Object.prototype.hasOwnProperty;function K(t){if(t==null)return!0;if(Mt(t)&&(B(t)||typeof t=="string"||typeof t.splice=="function"||we(t)||Mr(t)||vn(t)))return!t.length;var e=At(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(We(t))return!Wo(t).length;for(var n in t)if(Za.call(t,n))return!1;return!0}var Ci=qt&&qt.isRegExp,Kt=Ci?On(Ci):function(t){return Ot(t)&&Qt(t)=="[object RegExp]"};function Ht(t){return t===void 0}function Qa(t,e,n,r){if(!Rt(t))return t;for(var i=-1,o=(e=Sn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=Ue(e[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(i!=s){var l=a[c];(u=void 0)==null&&(u=Rt(l)?l:Nn(e[i+1])?[]:{})}yn(a,c,u),a=a[c]}return t}function _t(t,e){if(t==null)return{};var n=In(Yo(t,Go,Sa),function(r){return[r]});return e=Pt(e),function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=hr(r,u);o(l,u)&&Qa(c,Sn(u,r),l)}return c}(t,n,function(r,i){return e(r,i[0])})}function Ja(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function ft(t,e,n){var r=B(t)?va:Ja,i=arguments.length<3;return r(t,Pt(e),n,i,ae)}function tn(t,e){return(B(t)?jr:es)(t,function(n){if(typeof n!="function")throw new TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}(Pt(e)))}function tc(t,e){var n;return ae(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function ns(t,e,n){return(B(t)?Qo:tc)(t,Pt(e))}var ec=fe&&1/Wr(new fe([,-0]))[1]==1/0?function(t){return new fe(t)}:Z;function gr(t){return t&&t.length?function(e){var n=-1,r=Mo,i=e.length,o=!0,s=[],a=s;if(i>=200){var c=ec(e);if(c)return Wr(c);o=!1,r=$r,a=new de}else a=s;t:for(;++n<i;){var u=e[n],l=u;if(u=u!==0?u:0,o&&l==l){for(var h=a.length;h--;)if(a[h]===l)continue t;s.push(u)}else r(a,l,void 0)||(a!==s&&a.push(l),s.push(u))}return s}(t):[]}function Tr(t){console&&console.error&&console.error(`Error: ${t}`)}function rs(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function is(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function os(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function nc(t){return ut((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class Ut{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),U(this.definition,n=>{n.accept(e)})}}class pt extends Ut{constructor(e){super([]),this.idx=1,dt(this,_t(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class ge extends Ut{constructor(e){super(e.definition),this.orgText="",dt(this,_t(e,n=>n!==void 0))}}class ht extends Ut{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,dt(this,_t(e,n=>n!==void 0))}}class lt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Ft extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Dt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class J extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Lt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class xt extends Ut{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,dt(this,_t(e,n=>n!==void 0))}}class V{constructor(e){this.idx=1,dt(this,_t(e,n=>n!==void 0))}accept(e){e.visit(this)}}function en(t){function e(n){return b(n,en)}if(t instanceof pt){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return ut(t.label)&&(n.label=t.label),n}if(t instanceof ht)return{type:"Alternative",definition:e(t.definition)};if(t instanceof lt)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Ft)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Dt)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:en(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Lt)return{type:"RepetitionWithSeparator",idx:t.idx,separator:en(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof J)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof xt)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof V){const n={type:"Terminal",name:t.terminalType.name,label:nc(t.terminalType),idx:t.idx};ut(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Kt(r)?r.source:r),n}if(t instanceof ge)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Te{visit(e){const n=e;switch(n.constructor){case pt:return this.visitNonTerminal(n);case ht:return this.visitAlternative(n);case lt:return this.visitOption(n);case Ft:return this.visitRepetitionMandatory(n);case Dt:return this.visitRepetitionMandatoryWithSeparator(n);case Lt:return this.visitRepetitionWithSeparator(n);case J:return this.visitRepetition(n);case xt:return this.visitAlternation(n);case V:return this.visitTerminal(n);case ge:return this.visitRule(n);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function hn(t,e=[]){return t instanceof lt||t instanceof J||t instanceof Lt||(t instanceof xt?ns(t.definition,n=>hn(n,e)):!(t instanceof pt&&at(e,t))&&t instanceof Ut&&(t instanceof pt&&e.push(t),vt(t.definition,n=>hn(n,e))))}function kt(t){if(t instanceof pt)return"SUBRULE";if(t instanceof lt)return"OPTION";if(t instanceof xt)return"OR";if(t instanceof Ft)return"AT_LEAST_ONE";if(t instanceof Dt)return"AT_LEAST_ONE_SEP";if(t instanceof Lt)return"MANY_SEP";if(t instanceof J)return"MANY";if(t instanceof V)return"CONSUME";throw Error("non exhaustive match")}class _n{walk(e,n=[]){U(e.definition,(r,i)=>{const o=tt(e.definition,i+1);if(r instanceof pt)this.walkProdRef(r,o,n);else if(r instanceof V)this.walkTerminal(r,o,n);else if(r instanceof ht)this.walkFlat(r,o,n);else if(r instanceof lt)this.walkOption(r,o,n);else if(r instanceof Ft)this.walkAtLeastOne(r,o,n);else if(r instanceof Dt)this.walkAtLeastOneSep(r,o,n);else if(r instanceof Lt)this.walkManySep(r,o,n);else if(r instanceof J)this.walkMany(r,o,n);else{if(!(r instanceof xt))throw Error("non exhaustive match");this.walkOr(r,o,n)}})}walkTerminal(e,n,r){}walkProdRef(e,n,r){}walkFlat(e,n,r){const i=n.concat(r);this.walk(e,i)}walkOption(e,n,r){const i=n.concat(r);this.walk(e,i)}walkAtLeastOne(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=ki(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=ki(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);U(e.definition,o=>{const s=new ht({definition:[o]});this.walk(s,i)})}}function ki(t,e,n){return[new lt({definition:[new V({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Ce(t){if(t instanceof pt)return Ce(t.referencedRule);if(t instanceof V)return[t.terminalType];if((e=t)instanceof ht||e instanceof lt||e instanceof J||e instanceof Ft||e instanceof Dt||e instanceof Lt||e instanceof V||e instanceof ge)return function(n){let r=[];const i=n.definition;let o,s=0,a=i.length>s,c=!0;for(;a&&c;)o=i[s],c=hn(o),r=r.concat(Ce(o)),s+=1,a=i.length>s;return gr(r)}(t);var e;if(function(n){return n instanceof xt}(t))return function(n){return gr(yt(b(n.definition,r=>Ce(r))))}(t);throw Error("non exhaustive match")}const ss="_~IN~_";class rc extends _n{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,n,r){}walkProdRef(e,n,r){const i=(o=e.referencedRule,s=e.idx,o.name+s+ss+this.topProd.name);var o,s;const a=n.concat(r),c=Ce(new ht({definition:a}));this.follows[i]=c}}function F(t){return t.charCodeAt(0)}function $n(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Ne(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function ce(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function bi(t){return t.type==="Character"}const fn=[];for(let t=F("0");t<=F("9");t++)fn.push(t);const dn=[F("_")].concat(fn);for(let t=F("a");t<=F("z");t++)dn.push(t);for(let t=F("A");t<=F("Z");t++)dn.push(t);const Pi=[F(" "),F("\f"),F(`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./B4SOP0NZdUa_5syD.cjs");var Co=typeof global=="object"&&global&&global.Object===Object&&global,Us=typeof self=="object"&&self&&self.Object===Object&&self,wt=Co||Us||Function("return this")(),It=wt.Symbol,ko=Object.prototype,Fs=ko.hasOwnProperty,Ds=ko.toString,Ie=It?It.toStringTag:void 0,js=Object.prototype.toString,Vr=It?It.toStringTag:void 0;function Qt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Vr&&Vr in Object(t)?function(n){var r=Fs.call(n,Ie),i=n[Ie];try{n[Ie]=void 0;var o=!0}catch{}var s=Ds.call(n);return o&&(r?n[Ie]=i:delete n[Ie]),s}(t):(e=t,js.call(e));var e}function Ot(t){return t!=null&&typeof t=="object"}function An(t){return typeof t=="symbol"||Ot(t)&&Qt(t)=="[object Symbol]"}function In(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var B=Array.isArray,Hr=It?It.prototype:void 0,Yr=Hr?Hr.toString:void 0;function bo(t){if(typeof t=="string")return t;if(B(t))return In(t,bo)+"";if(An(t))return Yr?Yr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var Bs=/\s/,$s=/^\s+/;function Rt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ws=/^[-+]0x[0-9a-f]+$/i,Gs=/^0b[01]+$/i,Ks=/^0o[0-7]+$/i,zs=parseInt,Vs=1/0;function Rn(t){var e=function(r){return r?(r=function(i){if(typeof i=="number")return i;if(An(i))return NaN;if(Rt(i)){var o=typeof i.valueOf=="function"?i.valueOf():i;i=Rt(o)?o+"":o}if(typeof i!="string")return i===0?i:+i;var s;i=(s=i)&&s.slice(0,function(c){for(var u=c.length;u--&&Bs.test(c.charAt(u)););return u}(s)+1).replace($s,"");var a=Gs.test(i);return a||Ks.test(i)?zs(i.slice(2),a?2:8):Ws.test(i)?NaN:+i}(r))===Vs||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:r===0?r:0}(t),n=e%1;return e==e?n?e-n:e:0}function pe(t){return t}function Yt(t){if(!Rt(t))return!1;var e=Qt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var Xr,Pn=wt["__core-js_shared__"],qr=(Xr=/[^.]+$/.exec(Pn&&Pn.keys&&Pn.keys.IE_PROTO||""))?"Symbol(src)_1."+Xr:"",Hs=Function.prototype.toString;function oe(t){if(t!=null){try{return Hs.call(t)}catch{}try{return t+""}catch{}}return""}var Ys=/^\[object .+?Constructor\]$/,Xs=Function.prototype,qs=Object.prototype,Zs=Xs.toString,Qs=qs.hasOwnProperty,Js=RegExp("^"+Zs.call(Qs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function se(t,e){var n,r,i,o,s=(n=t,r=e,n?.[r]);return Rt(i=s)&&(o=i,!qr||!(qr in o))&&(Yt(i)?Js:Ys).test(oe(i))?s:void 0}var cr=se(wt,"WeakMap"),Zr=Object.create,ta=function(){function t(){}return function(e){if(!Rt(e))return{};if(Zr)return Zr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Z(){}var Qr,wn,Mn,ea=Date.now,cn=function(){try{var t=se(Object,"defineProperty");return t({},"",{}),t}catch{}}(),na=cn?function(t,e){return cn(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:pe,ra=(Qr=na,wn=0,Mn=0,function(){var t=ea(),e=16-(t-Mn);if(Mn=t,e>0){if(++wn>=800)return arguments[0]}else wn=0;return Qr.apply(void 0,arguments)});function Po(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function wo(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function ia(t){return t!=t}function kr(t,e,n){return e==e?function(r,i,o){for(var s=o-1,a=r.length;++s<a;)if(r[s]===i)return s;return-1}(t,e,n):wo(t,ia,n)}function Mo(t,e){return!(t==null||!t.length)&&kr(t,e,0)>-1}var oa=/^(?:0|[1-9]\d*)$/;function Nn(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&oa.test(t))&&t>-1&&t%1==0&&t<e}function br(t,e,n){e=="__proto__"&&cn?cn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function $e(t,e){return t===e||t!=t&&e!=e}var sa=Object.prototype.hasOwnProperty;function yn(t,e,n){var r=t[e];sa.call(t,e)&&$e(r,n)&&(n!==void 0||e in t)||br(t,e,n)}function ur(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],c=void 0;c===void 0&&(c=t[a]),i?br(n,a,c):yn(n,a,c)}return n}var Jr=Math.max;function Pr(t,e){return ra((n=t,i=pe,r=Jr((r=e)===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Jr(o.length-r,0),c=Array(a);++s<a;)c[s]=o[r+s];s=-1;for(var u=Array(r+1);++s<r;)u[s]=o[s];return u[r]=i(c),function(l,h,I){switch(I.length){case 0:return l.call(h);case 1:return l.call(h,I[0]);case 2:return l.call(h,I[0],I[1]);case 3:return l.call(h,I[0],I[1],I[2])}return l.apply(h,I)}(n,this,u)}),t+"");var n,r,i}function wr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function Mt(t){return t!=null&&wr(t.length)&&!Yt(t)}function Uo(t,e,n){if(!Rt(n))return!1;var r=typeof e;return!!(r=="number"?Mt(n)&&Nn(e,n.length):r=="string"&&e in n)&&$e(n[e],t)}var aa=Object.prototype;function We(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||aa)}function ti(t){return Ot(t)&&Qt(t)=="[object Arguments]"}var Fo=Object.prototype,ca=Fo.hasOwnProperty,ua=Fo.propertyIsEnumerable,vn=ti(function(){return arguments}())?ti:function(t){return Ot(t)&&ca.call(t,"callee")&&!ua.call(t,"callee")},Do=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ei=Do&&typeof module=="object"&&module&&!module.nodeType&&module,ni=ei&&ei.exports===Do?wt.Buffer:void 0,we=(ni?ni.isBuffer:void 0)||function(){return!1},z={};function On(t){return function(e){return t(e)}}z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,xe=jo&&typeof module=="object"&&module&&!module.nodeType&&module,Un=xe&&xe.exports===jo&&Co.process,qt=function(){try{return xe&&xe.require&&xe.require("util").types||Un&&Un.binding&&Un.binding("util")}catch{}}(),ri=qt&&qt.isTypedArray,Mr=ri?On(ri):function(t){return Ot(t)&&wr(t.length)&&!!z[Qt(t)]},la=Object.prototype.hasOwnProperty;function Bo(t,e){var n=B(t),r=!n&&vn(t),i=!n&&!r&&we(t),o=!n&&!r&&!i&&Mr(t),s=n||r||i||o,a=s?function(l,h){for(var I=-1,v=Array(l);++I<l;)v[I]=h(I);return v}(t.length,String):[],c=a.length;for(var u in t)!e&&!la.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Nn(u,c))||a.push(u);return a}function $o(t,e){return function(n){return t(e(n))}}var ha=$o(Object.keys,Object),fa=Object.prototype.hasOwnProperty;function Wo(t){if(!We(t))return ha(t);var e=[];for(var n in Object(t))fa.call(t,n)&&n!="constructor"&&e.push(n);return e}function Nt(t){return Mt(t)?Bo(t):Wo(t)}var Fn,da=Object.prototype.hasOwnProperty,dt=(Fn=function(t,e){if(We(e)||Mt(e))ur(e,Nt(e),t);else for(var n in e)da.call(e,n)&&yn(t,n,e[n])},Pr(function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=Fn.length>3&&typeof i=="function"?(r--,i):void 0,o&&Uo(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Fn(t,s)}return t})),pa=Object.prototype.hasOwnProperty;function Go(t){return Mt(t)?Bo(t,!0):function(e){if(!Rt(e))return function(o){var s=[];if(o!=null)for(var a in Object(o))s.push(a);return s}(e);var n=We(e),r=[];for(var i in e)(i!="constructor"||!n&&pa.call(e,i))&&r.push(i);return r}(t)}var ma=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ea=/^\w*$/;function lr(t,e){if(B(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!An(t))||Ea.test(t)||!ma.test(t)||e!=null&&t in Object(e)}var Re=se(Object,"create"),ga=Object.prototype.hasOwnProperty,Ta=Object.prototype.hasOwnProperty;function ne(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ke(t,e){for(var n=t.length;n--;)if($e(t[n][0],e))return n;return-1}ne.prototype.clear=function(){this.__data__=Re?Re(null):{},this.size=0},ne.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ne.prototype.get=function(t){var e=this.__data__;if(Re){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return ga.call(e,t)?e[t]:void 0},ne.prototype.has=function(t){var e=this.__data__;return Re?e[t]!==void 0:Ta.call(e,t)},ne.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Re&&e===void 0?"__lodash_hash_undefined__":e,this};var Aa=Array.prototype.splice;function Vt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Vt.prototype.clear=function(){this.__data__=[],this.size=0},Vt.prototype.delete=function(t){var e=this.__data__,n=Ke(e,t);return!(n<0||(n==e.length-1?e.pop():Aa.call(e,n,1),--this.size,0))},Vt.prototype.get=function(t){var e=this.__data__,n=Ke(e,t);return n<0?void 0:e[n][1]},Vt.prototype.has=function(t){return Ke(this.__data__,t)>-1},Vt.prototype.set=function(t,e){var n=this.__data__,r=Ke(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var Me=se(wt,"Map");function ze(t,e){var n,r,i=t.__data__;return((r=typeof(n=e))=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null)?i[typeof e=="string"?"string":"hash"]:i.map}function Gt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ur(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ur.Cache||Gt),n}Gt.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(Me||Vt),string:new ne}},Gt.prototype.delete=function(t){var e=ze(this,t).delete(t);return this.size-=e?1:0,e},Gt.prototype.get=function(t){return ze(this,t).get(t)},Gt.prototype.has=function(t){return ze(this,t).has(t)},Gt.prototype.set=function(t,e){var n=ze(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ur.Cache=Gt;var Dn,jn,Ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ra=/\\(\\)?/g,Na=(Dn=Ur(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Ia,function(n,r,i,o){e.push(i?o.replace(Ra,"$1"):r||n)}),e},function(t){return jn.size===500&&jn.clear(),t}),jn=Dn.cache,Dn);function Sn(t,e){return B(t)?t:lr(t,e)?[t]:Na((n=t)==null?"":bo(n));var n}function Ue(t){if(typeof t=="string"||An(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function hr(t,e){for(var n=0,r=(e=Sn(e,t)).length;t!=null&&n<r;)t=t[Ue(e[n++])];return n&&n==r?t:void 0}function Fr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ii=It?It.isConcatSpreadable:void 0;function ya(t){return B(t)||vn(t)||!!(ii&&t&&t[ii])}function Dr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=ya),i||(i=[]);++o<s;){var a=t[o];n(a)?Fr(i,a):r||(i[i.length]=a)}return i}function yt(t){return t!=null&&t.length?Dr(t):[]}var Ko=$o(Object.getPrototypeOf,Object);function zo(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function va(t,e,n,r){var i=-1,o=t==null?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function bt(t){var e=this.__data__=new Vt(t);this.size=e.size}bt.prototype.clear=function(){this.__data__=new Vt,this.size=0},bt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},bt.prototype.get=function(t){return this.__data__.get(t)},bt.prototype.has=function(t){return this.__data__.has(t)},bt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Vt){var r=n.__data__;if(!Me||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gt(r)}return n.set(t,e),this.size=n.size,this};var Vo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,oi=Vo&&typeof module=="object"&&module&&!module.nodeType&&module,si=oi&&oi.exports===Vo?wt.Buffer:void 0,ai=si?si.allocUnsafe:void 0;function jr(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Ho(){return[]}var Oa=Object.prototype.propertyIsEnumerable,ci=Object.getOwnPropertySymbols,Br=ci?function(t){return t==null?[]:(t=Object(t),jr(ci(t),function(e){return Oa.call(t,e)}))}:Ho,Sa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Fr(e,Br(t)),t=Ko(t);return e}:Ho;function Yo(t,e,n){var r=e(t);return B(t)?r:Fr(r,n(t))}function fr(t){return Yo(t,Nt,Br)}var dr=se(wt,"DataView"),pr=se(wt,"Promise"),fe=se(wt,"Set"),ui="[object Map]",li="[object Promise]",hi="[object Set]",fi="[object WeakMap]",di="[object DataView]",_a=oe(dr),La=oe(Me),xa=oe(pr),Ca=oe(fe),ka=oe(cr),At=Qt;(dr&&At(new dr(new ArrayBuffer(1)))!=di||Me&&At(new Me)!=ui||pr&&At(pr.resolve())!=li||fe&&At(new fe)!=hi||cr&&At(new cr)!=fi)&&(At=function(t){var e=Qt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?oe(n):"";if(r)switch(r){case _a:return di;case La:return ui;case xa:return li;case Ca:return hi;case ka:return fi}return e});var ba=Object.prototype.hasOwnProperty,un=wt.Uint8Array,Pa=/\w*$/,pi=It?It.prototype:void 0,mi=pi?pi.valueOf:void 0,Ei=qt&&qt.isMap,wa=Ei?On(Ei):function(t){return Ot(t)&&At(t)=="[object Map]"},gi=qt&&qt.isSet,Ma=gi?On(gi):function(t){return Ot(t)&&At(t)=="[object Set]"},Xo="[object Arguments]",qo="[object Function]",Zo="[object Object]",G={};function Je(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!Rt(t))return t;var a,c,u,l=B(t);if(l)return c=(a=t).length,u=new a.constructor(c),c&&typeof a[0]=="string"&&ba.call(a,"index")&&(u.index=a.index,u.input=a.input),function(g,d){var A=-1,N=g.length;for(d||(d=Array(N));++A<N;)d[A]=g[A];return d}(t,s=u);var h,I,v,O=At(t),x=O==qo||O=="[object GeneratorFunction]";if(we(t))return I=(h=t).length,v=ai?ai(I):new h.constructor(I),h.copy(v),v;if(O==Zo||O==Xo||x&&!i)return s=x?{}:function(g){return typeof g.constructor!="function"||We(g)?{}:ta(Ko(g))}(t),function(g,d){return ur(g,Br(g),d)}(t,function(g,d){return g&&ur(d,Nt(d),g)}(s,t));if(!G[O])return i?t:{};s=function(g,d){var A,N,f,m,p,E,R,P,L,y=g.constructor;switch(d){case"[object ArrayBuffer]":return p=new(m=g).constructor(m.byteLength),new un(p).set(new un(m)),p;case"[object Boolean]":case"[object Date]":return new y(+g);case"[object DataView]":return f=(N=g).buffer,new N.constructor(f,N.byteOffset,N.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return R=(E=g).buffer,new E.constructor(R,E.byteOffset,E.length);case"[object Map]":case"[object Set]":return new y;case"[object Number]":case"[object String]":return new y(g);case"[object RegExp]":return(L=new(P=g).constructor(P.source,Pa.exec(P))).lastIndex=P.lastIndex,L;case"[object Symbol]":return A=g,mi?Object(mi.call(A)):{}}}(t,O),o||(o=new bt);var _=o.get(t);if(_)return _;o.set(t,s),Ma(t)?t.forEach(function(g){s.add(Je(g,e,n,g,t,o))}):wa(t)&&t.forEach(function(g,d){s.set(d,Je(g,e,n,d,t,o))});var T=l?void 0:fr(t);return Po(T||t,function(g,d){T&&(g=t[d=g]),yn(s,d,Je(g,e,n,d,t,o))}),s}function et(t){return Je(t,4)}function Fe(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function de(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Gt;++e<n;)this.add(t[e])}function Qo(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function $r(t,e){return t.has(e)}function Ti(t,e,n,r,i,o){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var h=-1,I=!0,v=2&n?new de:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var O=t[h],x=e[h];if(r)var _=s?r(x,O,h,e,t,o):r(O,x,h,t,e,o);if(_!==void 0){if(_)continue;I=!1;break}if(v){if(!Qo(e,function(T,g){if(!$r(v,g)&&(O===T||i(O,T,n,r,o)))return v.push(g)})){I=!1;break}}else if(O!==x&&!i(O,x,n,r,o)){I=!1;break}}return o.delete(t),o.delete(e),I}function Ua(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Wr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}G[Xo]=G["[object Array]"]=G["[object ArrayBuffer]"]=G["[object DataView]"]=G["[object Boolean]"]=G["[object Date]"]=G["[object Float32Array]"]=G["[object Float64Array]"]=G["[object Int8Array]"]=G["[object Int16Array]"]=G["[object Int32Array]"]=G["[object Map]"]=G["[object Number]"]=G[Zo]=G["[object RegExp]"]=G["[object Set]"]=G["[object String]"]=G["[object Symbol]"]=G["[object Uint8Array]"]=G["[object Uint8ClampedArray]"]=G["[object Uint16Array]"]=G["[object Uint32Array]"]=!0,G["[object Error]"]=G[qo]=G["[object WeakMap]"]=!1,de.prototype.add=de.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},de.prototype.has=function(t){return this.__data__.has(t)};var Ai=It?It.prototype:void 0,Bn=Ai?Ai.valueOf:void 0,Fa=Object.prototype.hasOwnProperty,Ii="[object Arguments]",Ri="[object Array]",Ve="[object Object]",Ni=Object.prototype.hasOwnProperty;function mr(t,e,n,r,i){return t===e||(t==null||e==null||!Ot(t)&&!Ot(e)?t!=t&&e!=e:function(o,s,a,c,u,l){var h=B(o),I=B(s),v=h?Ri:At(o),O=I?Ri:At(s),x=(v=v==Ii?Ve:v)==Ve,_=(O=O==Ii?Ve:O)==Ve,T=v==O;if(T&&we(o)){if(!we(s))return!1;h=!0,x=!1}if(T&&!x)return l||(l=new bt),h||Mr(o)?Ti(o,s,a,c,u,l):function(f,m,p,E,R,P,L){switch(p){case"[object DataView]":if(f.byteLength!=m.byteLength||f.byteOffset!=m.byteOffset)return!1;f=f.buffer,m=m.buffer;case"[object ArrayBuffer]":return!(f.byteLength!=m.byteLength||!P(new un(f),new un(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return $e(+f,+m);case"[object Error]":return f.name==m.name&&f.message==m.message;case"[object RegExp]":case"[object String]":return f==m+"";case"[object Map]":var y=Ua;case"[object Set]":var M=1&E;if(y||(y=Wr),f.size!=m.size&&!M)return!1;var C=L.get(f);if(C)return C==m;E|=2,L.set(f,m);var k=Ti(y(f),y(m),E,R,P,L);return L.delete(f),k;case"[object Symbol]":if(Bn)return Bn.call(f)==Bn.call(m)}return!1}(o,s,v,a,c,u,l);if(!(1&a)){var g=x&&Ni.call(o,"__wrapped__"),d=_&&Ni.call(s,"__wrapped__");if(g||d){var A=g?o.value():o,N=d?s.value():s;return l||(l=new bt),u(A,N,a,c,l)}}return!!T&&(l||(l=new bt),function(f,m,p,E,R,P){var L=1&p,y=fr(f),M=y.length;if(M!=fr(m).length&&!L)return!1;for(var C=M;C--;){var k=y[C];if(!(L?k in m:Fa.call(m,k)))return!1}var $=P.get(f),X=P.get(m);if($&&X)return $==m&&X==f;var W=!0;P.set(f,m),P.set(m,f);for(var rt=L;++C<M;){var mt=f[k=y[C]],Ct=m[k];if(E)var Ae=L?E(Ct,mt,k,m,f,P):E(mt,Ct,k,f,m,P);if(!(Ae===void 0?mt===Ct||R(mt,Ct,p,E,P):Ae)){W=!1;break}rt||(rt=k=="constructor")}if(W&&!rt){var nt=f.constructor,Jt=m.constructor;nt==Jt||!("constructor"in f)||!("constructor"in m)||typeof nt=="function"&&nt instanceof nt&&typeof Jt=="function"&&Jt instanceof Jt||(W=!1)}return P.delete(f),P.delete(m),W}(o,s,a,c,u,l))}(t,e,n,r,mr,i))}function yi(t){return t==t&&!Rt(t)}function vi(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function Da(t,e){return t!=null&&e in Object(t)}function Jo(t,e,n){for(var r=-1,i=(e=Sn(e,t)).length,o=!1;++r<i;){var s=Ue(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&wr(i)&&Nn(s,i)&&(B(t)||vn(t))}function Pt(t){return typeof t=="function"?t:t==null?pe:typeof t=="object"?B(t)?(e=t[0],n=t[1],lr(e)&&yi(n)?vi(Ue(e),n):function(r){var i,o,s,a,c=(o=(i=r)==null?void 0:hr(i,e))===void 0?void 0:o;return c===void 0&&c===n?(a=e,(s=r)!=null&&Jo(s,a,Da)):mr(n,c,3)}):function(r){var i=function(o){for(var s=Nt(o),a=s.length;a--;){var c=s[a],u=o[c];s[a]=[c,u,yi(u)]}return s}(r);return i.length==1&&i[0][2]?vi(i[0][0],i[0][1]):function(o){return o===r||function(s,a,c){var u=c.length,l=u;if(s==null)return!l;for(s=Object(s);u--;){var h=c[u];if(h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++u<l;){var I=(h=c[u])[0],v=s[I],O=h[1];if(h[2]){if(v===void 0&&!(I in s))return!1}else if(!mr(O,v,3,void 0,new bt))return!1}return!0}(o,0,i)}}(t):function(r){return lr(r)?(i=Ue(r),function(o){return o?.[i]}):function(o){return function(s){return hr(s,o)}}(r);var i}(t);var e,n}function ja(t,e,n,r){for(var i=-1,o=t==null?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}var Oi,ae=(Oi=function(t,e){return t&&function(n,r,i){for(var o=-1,s=Object(n),a=i(n),c=a.length;c--;){var u=a[++o];if(r(s[u],u,s)===!1)break}return n}(t,e,Nt)},function(t,e){if(t==null)return t;if(!Mt(t))return Oi(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Ba(t,e,n,r){return ae(t,function(i,o,s){e(r,i,n(i),s)}),r}var ts=Object.prototype,$a=ts.hasOwnProperty,Er=Pr(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&Uo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=Go(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||$e(l,ts[u])&&!$a.call(t,u))&&(t[u]=o[u])}return t});function Si(t){return Ot(t)&&Mt(t)}var ln=Pr(function(t,e){return Si(t)?function(n,r){var i=-1,o=Mo,s=!0,a=n.length,c=[],u=r.length;if(!a)return c;r.length>=200&&(o=$r,s=!1,r=new de(r));t:for(;++i<a;){var l=n[i],h=l;if(l=l!==0?l:0,s&&h==h){for(var I=u;I--;)if(r[I]===h)continue t;c.push(l)}else o(r,h,void 0)||c.push(l)}return c}(t,Dr(e,0,Si,!0)):[]});function me(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function tt(t,e,n){var r=t==null?0:t.length;return r?zo(t,(e=e===void 0?1:Rn(e))<0?0:e,r):[]}function De(t,e,n){var r=t==null?0:t.length;return r?zo(t,0,(e=r-(e=e===void 0?1:Rn(e)))<0?0:e):[]}function U(t,e){var n;return(B(t)?Po:ae)(t,typeof(n=e)=="function"?n:pe)}function Wa(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ga(t,e){var n=!0;return ae(t,function(r,i,o){return n=!!e(r,i,o)}),n}function vt(t,e,n){return(B(t)?Wa:Ga)(t,Pt(e))}function es(t,e){var n=[];return ae(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function gt(t,e){return(B(t)?jr:es)(t,Pt(e))}var _i,Ka=Math.max,Ee=(_i=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:Rn(n);return i<0&&(i=Ka(r+i,0)),wo(t,Pt(e),i)},function(t,e,n){var r=Object(t);if(!Mt(t)){var i=Pt(e);t=Nt(t),e=function(s){return i(r[s],s,r)}}var o=_i(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function St(t){return t&&t.length?t[0]:void 0}function za(t,e){var n=-1,r=Mt(t)?Array(t.length):[];return ae(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function b(t,e){return(B(t)?In:za)(t,Pt(e))}function Tt(t,e){return Dr(b(t,e))}var Li,Va=Object.prototype.hasOwnProperty,Ha=(Li=function(t,e,n){Va.call(t,n)?t[n].push(e):br(t,n,[e])},function(t,e){return(B(t)?ja:Ba)(t,Li,Pt(e),{})}),Ya=Object.prototype.hasOwnProperty;function Xa(t,e){return t!=null&&Ya.call(t,e)}function w(t,e){return t!=null&&Jo(t,e,Xa)}function ut(t){return typeof t=="string"||!B(t)&&Ot(t)&&Qt(t)=="[object String]"}function Q(t){return t==null?[]:(e=t,In(Nt(t),function(n){return e[n]}));var e}var qa=Math.max;function at(t,e,n,r){t=Mt(t)?t:Q(t),n=n?Rn(n):0;var i=t.length;return n<0&&(n=qa(i+n,0)),ut(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&kr(t,e,n)>-1}function xi(t,e,n){return t!=null&&t.length?kr(t,e,0):-1}var Za=Object.prototype.hasOwnProperty;function K(t){if(t==null)return!0;if(Mt(t)&&(B(t)||typeof t=="string"||typeof t.splice=="function"||we(t)||Mr(t)||vn(t)))return!t.length;var e=At(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(We(t))return!Wo(t).length;for(var n in t)if(Za.call(t,n))return!1;return!0}var Ci=qt&&qt.isRegExp,Kt=Ci?On(Ci):function(t){return Ot(t)&&Qt(t)=="[object RegExp]"};function Ht(t){return t===void 0}function Qa(t,e,n,r){if(!Rt(t))return t;for(var i=-1,o=(e=Sn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=Ue(e[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(i!=s){var l=a[c];(u=void 0)==null&&(u=Rt(l)?l:Nn(e[i+1])?[]:{})}yn(a,c,u),a=a[c]}return t}function _t(t,e){if(t==null)return{};var n=In(Yo(t,Go,Sa),function(r){return[r]});return e=Pt(e),function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=hr(r,u);o(l,u)&&Qa(c,Sn(u,r),l)}return c}(t,n,function(r,i){return e(r,i[0])})}function Ja(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function ft(t,e,n){var r=B(t)?va:Ja,i=arguments.length<3;return r(t,Pt(e),n,i,ae)}function tn(t,e){return(B(t)?jr:es)(t,function(n){if(typeof n!="function")throw new TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}(Pt(e)))}function tc(t,e){var n;return ae(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function ns(t,e,n){return(B(t)?Qo:tc)(t,Pt(e))}var ec=fe&&1/Wr(new fe([,-0]))[1]==1/0?function(t){return new fe(t)}:Z;function gr(t){return t&&t.length?function(e){var n=-1,r=Mo,i=e.length,o=!0,s=[],a=s;if(i>=200){var c=ec(e);if(c)return Wr(c);o=!1,r=$r,a=new de}else a=s;t:for(;++n<i;){var u=e[n],l=u;if(u=u!==0?u:0,o&&l==l){for(var h=a.length;h--;)if(a[h]===l)continue t;s.push(u)}else r(a,l,void 0)||(a!==s&&a.push(l),s.push(u))}return s}(t):[]}function Tr(t){console&&console.error&&console.error(`Error: ${t}`)}function rs(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function is(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function os(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function nc(t){return ut((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class Ut{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),U(this.definition,n=>{n.accept(e)})}}class pt extends Ut{constructor(e){super([]),this.idx=1,dt(this,_t(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class ge extends Ut{constructor(e){super(e.definition),this.orgText="",dt(this,_t(e,n=>n!==void 0))}}class ht extends Ut{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,dt(this,_t(e,n=>n!==void 0))}}class lt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Ft extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Dt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class J extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class Lt extends Ut{constructor(e){super(e.definition),this.idx=1,dt(this,_t(e,n=>n!==void 0))}}class xt extends Ut{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,dt(this,_t(e,n=>n!==void 0))}}class V{constructor(e){this.idx=1,dt(this,_t(e,n=>n!==void 0))}accept(e){e.visit(this)}}function en(t){function e(n){return b(n,en)}if(t instanceof pt){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return ut(t.label)&&(n.label=t.label),n}if(t instanceof ht)return{type:"Alternative",definition:e(t.definition)};if(t instanceof lt)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Ft)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Dt)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:en(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Lt)return{type:"RepetitionWithSeparator",idx:t.idx,separator:en(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof J)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof xt)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof V){const n={type:"Terminal",name:t.terminalType.name,label:nc(t.terminalType),idx:t.idx};ut(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Kt(r)?r.source:r),n}if(t instanceof ge)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Te{visit(e){const n=e;switch(n.constructor){case pt:return this.visitNonTerminal(n);case ht:return this.visitAlternative(n);case lt:return this.visitOption(n);case Ft:return this.visitRepetitionMandatory(n);case Dt:return this.visitRepetitionMandatoryWithSeparator(n);case Lt:return this.visitRepetitionWithSeparator(n);case J:return this.visitRepetition(n);case xt:return this.visitAlternation(n);case V:return this.visitTerminal(n);case ge:return this.visitRule(n);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function hn(t,e=[]){return t instanceof lt||t instanceof J||t instanceof Lt||(t instanceof xt?ns(t.definition,n=>hn(n,e)):!(t instanceof pt&&at(e,t))&&t instanceof Ut&&(t instanceof pt&&e.push(t),vt(t.definition,n=>hn(n,e))))}function kt(t){if(t instanceof pt)return"SUBRULE";if(t instanceof lt)return"OPTION";if(t instanceof xt)return"OR";if(t instanceof Ft)return"AT_LEAST_ONE";if(t instanceof Dt)return"AT_LEAST_ONE_SEP";if(t instanceof Lt)return"MANY_SEP";if(t instanceof J)return"MANY";if(t instanceof V)return"CONSUME";throw Error("non exhaustive match")}class _n{walk(e,n=[]){U(e.definition,(r,i)=>{const o=tt(e.definition,i+1);if(r instanceof pt)this.walkProdRef(r,o,n);else if(r instanceof V)this.walkTerminal(r,o,n);else if(r instanceof ht)this.walkFlat(r,o,n);else if(r instanceof lt)this.walkOption(r,o,n);else if(r instanceof Ft)this.walkAtLeastOne(r,o,n);else if(r instanceof Dt)this.walkAtLeastOneSep(r,o,n);else if(r instanceof Lt)this.walkManySep(r,o,n);else if(r instanceof J)this.walkMany(r,o,n);else{if(!(r instanceof xt))throw Error("non exhaustive match");this.walkOr(r,o,n)}})}walkTerminal(e,n,r){}walkProdRef(e,n,r){}walkFlat(e,n,r){const i=n.concat(r);this.walk(e,i)}walkOption(e,n,r){const i=n.concat(r);this.walk(e,i)}walkAtLeastOne(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=ki(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=ki(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);U(e.definition,o=>{const s=new ht({definition:[o]});this.walk(s,i)})}}function ki(t,e,n){return[new lt({definition:[new V({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Ce(t){if(t instanceof pt)return Ce(t.referencedRule);if(t instanceof V)return[t.terminalType];if((e=t)instanceof ht||e instanceof lt||e instanceof J||e instanceof Ft||e instanceof Dt||e instanceof Lt||e instanceof V||e instanceof ge)return function(n){let r=[];const i=n.definition;let o,s=0,a=i.length>s,c=!0;for(;a&&c;)o=i[s],c=hn(o),r=r.concat(Ce(o)),s+=1,a=i.length>s;return gr(r)}(t);var e;if(function(n){return n instanceof xt}(t))return function(n){return gr(yt(b(n.definition,r=>Ce(r))))}(t);throw Error("non exhaustive match")}const ss="_~IN~_";class rc extends _n{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,n,r){}walkProdRef(e,n,r){const i=(o=e.referencedRule,s=e.idx,o.name+s+ss+this.topProd.name);var o,s;const a=n.concat(r),c=Ce(new ht({definition:a}));this.follows[i]=c}}function F(t){return t.charCodeAt(0)}function $n(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Ne(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function ce(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function bi(t){return t.type==="Character"}const fn=[];for(let t=F("0");t<=F("9");t++)fn.push(t);const dn=[F("_")].concat(fn);for(let t=F("a");t<=F("z");t++)dn.push(t);for(let t=F("A");t<=F("Z");t++)dn.push(t);const Pi=[F(" "),F("\f"),F(`
7
7
  `),F("\r"),F(" "),F("\v"),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F(" "),F("\u2028"),F("\u2029"),F(" "),F(" "),F(" "),F("\uFEFF")],ic=/[0-9a-fA-F]/,He=/[0-9]/,oc=/[1-9]/;class Ar{visitChildren(e){for(const n in e){const r=e[n];e.hasOwnProperty(n)&&(r.type!==void 0?this.visit(r):Array.isArray(r)&&r.forEach(i=>{this.visit(i)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}let nn={};const sc=new class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(t){this.idx=t.idx,this.input=t.input,this.groupIdx=t.groupIdx}pattern(t){this.idx=0,this.input=t,this.groupIdx=0,this.consumeChar("/");const e=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:t.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Ne(n,"global");break;case"i":Ne(n,"ignoreCase");break;case"m":Ne(n,"multiLine");break;case"u":Ne(n,"unicode");break;case"y":Ne(n,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:e,loc:this.loc(0)}}disjunction(){const t=[],e=this.idx;for(t.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),t.push(this.alternative());return{type:"Disjunction",value:t,loc:this.loc(e)}}alternative(){const t=[],e=this.idx;for(;this.isTerm();)t.push(this.term());return{type:"Alternative",value:t,loc:this.loc(e)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const t=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(t)};case"$":return{type:"EndAnchor",loc:this.loc(t)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(t)};case"B":return{type:"NonWordBoundary",loc:this.loc(t)}}throw Error("Invalid Assertion Escape");case"(":let e;switch(this.consumeChar("?"),this.popChar()){case"=":e="Lookahead";break;case"!":e="NegativeLookahead"}ce(e);const n=this.disjunction();return this.consumeChar(")"),{type:e,value:n,loc:this.loc(t)}}return function(){throw Error("Internal Error - Should never get here!")}()}quantifier(t=!1){let e;const n=this.idx;switch(this.popChar()){case"*":e={atLeast:0,atMost:1/0};break;case"+":e={atLeast:1,atMost:1/0};break;case"?":e={atLeast:0,atMost:1};break;case"{":const r=this.integerIncludingZero();switch(this.popChar()){case"}":e={atLeast:r,atMost:r};break;case",":let i;this.isDigit()?(i=this.integerIncludingZero(),e={atLeast:r,atMost:i}):e={atLeast:r,atMost:1/0},this.consumeChar("}")}if(t===!0&&e===void 0)return;ce(e)}if(t!==!0||e!==void 0)return ce(e)?(this.peekChar(0)==="?"?(this.consumeChar("?"),e.greedy=!1):e.greedy=!0,e.type="Quantifier",e.loc=this.loc(n),e):void 0}atom(){let t;const e=this.idx;switch(this.peekChar()){case".":t=this.dotAll();break;case"\\":t=this.atomEscape();break;case"[":t=this.characterClass();break;case"(":t=this.group()}if(t===void 0&&this.isPatternCharacter()&&(t=this.patternCharacter()),ce(t))return t.loc=this.loc(e),this.isQuantifier()&&(t.quantifier=this.quantifier()),t}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[F(`
8
8
  `),F("\r"),F("\u2028"),F("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let t,e=!1;switch(this.popChar()){case"d":t=fn;break;case"D":t=fn,e=!0;break;case"s":t=Pi;break;case"S":t=Pi,e=!0;break;case"w":t=dn;break;case"W":t=dn,e=!0}if(ce(t))return{type:"Set",value:t,complement:e}}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=F("\f");break;case"n":t=F(`
9
9
  `);break;case"r":t=F("\r");break;case"t":t=F(" ");break;case"v":t=F("\v")}if(ce(t))return{type:"Character",value:t}}controlLetterEscapeAtom(){this.consumeChar("c");const t=this.popChar();if(/[a-zA-Z]/.test(t)===!1)throw Error("Invalid ");return{type:"Character",value:t.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:F("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:F(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case`
@@ -1,10 +1,10 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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
6
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const i=new Error(r.message);i.stack=r.stack,r.cause&&(i.cause=r.cause),o.reject(i)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
7
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.3.1
7
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.3.2
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -223,7 +223,7 @@ var v;
223
223
  return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
224
224
  }, v.getBuiltInById = (e) => Te.get(e) || Et;
225
225
  /**
226
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.3.1
226
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.3.2
227
227
  *
228
228
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
229
229
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1498,4 +1498,4 @@ var or = /* @__PURE__ */ Object.freeze({
1498
1498
  __proto__: null,
1499
1499
  initialize: nr
1500
1500
  });
1501
- `,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./dDk7hLjpihmO5-cX.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
1501
+ `,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./Cx2rTk-O7yQO7-q6.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.2
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.