@sheetxl/studio-vanilla 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/LICENSE.md +11 -11
  2. package/README.md +97 -97
  3. package/browser/cjs/{CU_BzP7b4cIkOp0W.cjs → B29HyGkvyTaqtIuC.cjs} +2 -2
  4. package/browser/cjs/B8iSa6r3JrD4vHjL.cjs +6 -0
  5. package/browser/cjs/{D1F49z1BTQNLc001.cjs → BCwQKO-V-abKxWJ_.cjs} +2 -2
  6. package/browser/cjs/BF4_gTBFjNLsAuPo.cjs +12 -0
  7. package/browser/cjs/{heo8nWRKxUNJeEc8.cjs → BIhAYujRx9pHZ67U.cjs} +2 -2
  8. package/browser/cjs/BRQNzdFmQ9PNvWfV.cjs +6 -0
  9. package/browser/cjs/{BdCoE_M8e0hB71qX.cjs → B_9pnEZ3P5dxBLVz.cjs} +1 -1
  10. package/browser/cjs/BgGqhWOYof8HtKvS.cjs +6 -0
  11. package/browser/cjs/{CFIXzpjjBJD9Ssfu.cjs → BnWGeUEXNoVAHA9V.cjs} +1 -17
  12. package/browser/cjs/{VjVwC7Tg9iSVxZ_e.cjs → C3cZA4YXXR0nGmiX.cjs} +2 -2
  13. package/browser/cjs/{99Nzn-PICRpNSUxm.cjs → C4u2p0WIEc0W5hox.cjs} +1 -1
  14. package/browser/cjs/{DdAp7pgJ74tC2bXc.cjs → C5x7lcJ4jXraEzwd.cjs} +1 -1
  15. package/browser/cjs/{C5jc-Y-Hgl0f-Bdo.cjs → C7OrIlP5y8YNBUSH.cjs} +1 -1
  16. package/browser/cjs/{Br9jR9D1r5-o3MNY.cjs → C8SAbjqWtcbByYiY.cjs} +3 -3
  17. package/browser/cjs/{cXKpamD3YJ7T7UIy.cjs → C8hd-STurhDiTimj.cjs} +2 -12
  18. package/browser/cjs/{BzHjhROODDie_GcY.cjs → CBJAarKn0X6M88pE.cjs} +1 -1
  19. package/browser/cjs/CDO0e018-e_cnUym.cjs +15 -0
  20. package/browser/cjs/{B6YGJGvRNGuQ9_gp.cjs → CFfzGa0ejQ07wxHV.cjs} +1 -1
  21. package/browser/cjs/{DIh6OO396kZjKhj2.cjs → CHT-XlD5pCRxYb1o.cjs} +9 -29
  22. package/browser/cjs/CN7DAGeuWAMsmRhb.cjs +11 -0
  23. package/browser/cjs/{D6JdKwLNWc3ioSMm.cjs → CU_R48ZMXIyABak8.cjs} +2 -2
  24. package/browser/cjs/{Du3dcmxNI2FligcT.cjs → CV8cwUmZBb2eYPim.cjs} +1 -1
  25. package/browser/cjs/{DAEWVQt08NYEEiDp.cjs → CabhMyhLi9hYK9FO.cjs} +1 -1
  26. package/browser/cjs/{3QL6_jTFdiirmbvL.cjs → Ciie7NCkasQUFTqv.cjs} +1 -1
  27. package/browser/cjs/{BgcoRkkmbBckGLPB.cjs → Cl4uI7uL1nugyAcD.cjs} +1 -1
  28. package/browser/cjs/{jspcRaFi7FlNoOCi.cjs → ClXPeqKnCdO5VQd1.cjs} +2 -2
  29. package/browser/cjs/CxEt88bduUlmhV5K.cjs +7 -0
  30. package/browser/cjs/{DE8l2rQfo2VVUkcB.cjs → Cy3k3rXLi24oJPm-.cjs} +38 -48
  31. package/browser/cjs/{DVziX7RxofEvjdaZ.cjs → CzHenNm5o19h9rNf.cjs} +1 -6
  32. package/browser/cjs/{Dy8SVjsVQet5vLuM.cjs → D-ca3kpTC3bPbYMY.cjs} +1 -1
  33. package/browser/cjs/D9PapZZefCMRgdbF.cjs +6 -0
  34. package/browser/cjs/DFoejjkymKumh6SJ.cjs +7 -0
  35. package/browser/cjs/{7_gN0Iu07E3GI7B1.cjs → DGZ-53usY93Q9LZJ.cjs} +1 -1
  36. package/browser/cjs/{C0s5F1POfARzrKP5.cjs → DK7XNv54M-Rj1fg6.cjs} +8 -8
  37. package/browser/cjs/DMJ4JoGWQ1NWhoNM.cjs +13 -0
  38. package/browser/cjs/{BeR1ChCVTFwB5yHv.cjs → DO9ZaMqU-TGY63RK.cjs} +3 -13
  39. package/browser/cjs/{pXJLtwMuQqVtfxDh.cjs → DOgxIZ6SD7AX7tN7.cjs} +1 -1
  40. package/browser/cjs/DSNepPmduhFJYvxi.cjs +15 -0
  41. package/browser/cjs/{Cq6nKXJncTvIPDs0.cjs → DWrbdNR6TNLNKinN.cjs} +3 -25
  42. package/browser/cjs/{DOfe_n57c-AmDBXL.cjs → DcQYUHhq5WoB1QxG.cjs} +1 -1
  43. package/browser/cjs/DdWNj_URRJBkxSgW.cjs +6 -0
  44. package/browser/cjs/{Dqytj5avvhy0OfcQ.cjs → Dj5Aixw77uvtuMcZ.cjs} +3 -3
  45. package/browser/cjs/{BFjFhtH4OqOirVjz.cjs → DjrGUr-awhOmDtrE.cjs} +70 -142
  46. package/browser/cjs/{Bjus8Eiw4cFgUHkk.cjs → DnvWyFlaRONdjoOF.cjs} +1 -1
  47. package/browser/cjs/Do0vp6vAs3RSV-Wj.cjs +12 -0
  48. package/browser/cjs/{CMsqJV9uPQCkxjr1.cjs → DoVq0lqvAcxtM1Q9.cjs} +2 -2
  49. package/browser/cjs/{CPy6BZgWgaukH2wr.cjs → Dy4AAvOJQs8TKfi3.cjs} +1 -1
  50. package/browser/cjs/{s-6Dp8AeCjfET6lC.cjs → DzvuCPwdW59TYNeg.cjs} +1 -1
  51. package/browser/cjs/{BBRsvQi2qwf1nduI.cjs → J_OG6N-DJrUW5gl6.cjs} +1 -1
  52. package/browser/cjs/{Cpw1pytHjcWHlrs5.cjs → MSWIE9Rd2oZbZuZB.cjs} +1 -1
  53. package/browser/cjs/{733JB7rykyRwGt4E.cjs → OhHbe4dM7GBzMzB9.cjs} +1 -1
  54. package/browser/cjs/{8igELOAHTBTibdxC.cjs → VqhUjfIqtv4hC74q.cjs} +1 -1
  55. package/browser/cjs/{BXfPkTrM6foeVPwk.cjs → Y2adlqLM2N2Vzjg9.cjs} +2 -51
  56. package/browser/cjs/YWP5pMacbGbLcEZn.cjs +6 -0
  57. package/browser/cjs/{UaNxxw6ywOxwUm2P.cjs → cwVi8FCIym0yZxmX.cjs} +1 -1
  58. package/browser/cjs/{BFLfq3S9KpGbl7Sg.cjs → dDk7hLjpihmO5-cX.cjs} +4 -24
  59. package/browser/cjs/index.cjs +2 -2
  60. package/browser/cjs/{mQf_DGFtPLC3XOGK.cjs → oeYUTiYZNPC7s8k1.cjs} +1 -1
  61. package/browser/cjs/{C7zut22tCoRegV_d.cjs → qhNuYY2km30jEjYq.cjs} +2 -2
  62. package/{cdn/assets/D6iCivbxJB9YAHRy.js → browser/esm/-GyxMlVRTAiygfTi.mjs} +2 -14
  63. package/browser/esm/{DhVke7KHq6lbQPZg.mjs → 7LvL2PwFxo4tRjtC.mjs} +1 -13
  64. package/browser/esm/{iC6qNNMVatdQ7tzG.mjs → B9y2dkVuJJxTR6Cu.mjs} +1 -13
  65. package/browser/esm/{D8I1NKgZQBM1OlB_.mjs → BAmbFIYJN2lFgCcK.mjs} +1 -13
  66. package/browser/esm/{Dbr6KB-IYBe-9CSb.mjs → BFMayN3xlOUqRI_o.mjs} +2 -2
  67. package/browser/esm/{D_mjyyaB1h7KHEAu.mjs → BGTzGVKBHhjSJDwD.mjs} +1 -13
  68. package/browser/esm/BGjWX_kSxlX68bbv.mjs +10 -0
  69. package/{cdn/assets/gu3uSTwzxG-Hq3Tn.js → browser/esm/BI0TtNjq7VHPYLFi.mjs} +2 -8
  70. package/browser/esm/{DE5GJPPKB9akZnOl.mjs → BR58mmeGHPieLgMd.mjs} +1 -13
  71. package/browser/esm/{DbbapxCRGpFogl_Q.mjs → BT81je-vUgJM770Z.mjs} +1 -13
  72. package/browser/esm/{Cow5a04f6LqFGoQZ.mjs → BZzMRDxX8W3pn7y9.mjs} +1 -13
  73. package/browser/esm/{DeZqllxB8Fy4CjwJ.mjs → Bai9y7ZvJNafZXkG.mjs} +1 -20
  74. package/{cdn/assets/Bqjg7PBsD1qpWapS.js → browser/esm/BfLOMcpVLb78_pS5.mjs} +1 -13
  75. package/browser/esm/BhUrSLzqiTM2hBhI.mjs +41 -0
  76. package/browser/esm/Bhhrqsmqp91hJqxG.mjs +12 -0
  77. package/browser/esm/{BeFmG8d-eHZsiUqR.mjs → BiH9xaAzVGhk_0Qd.mjs} +5 -11
  78. package/browser/esm/{CxaMQw-I5c8XLq_x.mjs → Bk0J-4CfOjaMoUjW.mjs} +16 -16
  79. package/{cdn/assets/D6CGsM4vcM8GtGg4.js → browser/esm/Bn7Uxz6sXrXta-rf.mjs} +2 -8
  80. package/{cdn/assets/B7MrO9H4Wh3DRVKy.js → browser/esm/BuyGJm1GNrHBofAV.mjs} +3 -27
  81. package/{cdn/assets/CC2fNxNRteCEEFhk.js → browser/esm/By7CDTFXYiSCNGfD.mjs} +2 -20
  82. package/browser/esm/{Cfp-IQYhF8wI3U8j.mjs → C0uV2sp4PwEuNpbn.mjs} +1 -13
  83. package/browser/esm/C70QesBx8A7k3kJu.mjs +10 -0
  84. package/browser/esm/{ako9wmFN1XdkwSc1.mjs → CBmA6m_MD-T3IhT-.mjs} +1 -19
  85. package/{cdn/assets/0KJ23PTXKNiflMEW.js → browser/esm/CJG5baH0nxhKQDUu.mjs} +9 -15
  86. package/browser/esm/CNM_6Ekj85ca8CMj.mjs +29 -0
  87. package/{cdn/assets/vhG_0swcLosZTyyb.js → browser/esm/COWqzRwRuDK_Bdic.mjs} +8 -14
  88. package/{cdn/assets/3Oauro-m0-iFcqzH.js → browser/esm/CQeoE2w94fROIlBe.mjs} +163 -163
  89. package/browser/esm/{DMc9rEXgTnQiUhVu.mjs → CQqb_o_4QHZmqlml.mjs} +1 -13
  90. package/browser/esm/CRkdWAFwM0QqPkBl.mjs +10 -0
  91. package/browser/esm/{B3SIwz6UDnshg1xz.mjs → CUny7mPoyQiagYdd.mjs} +1 -15
  92. package/{cdn/assets/C9pcd-6v0BwN-Nrg.js → browser/esm/CXufcwWBSTc0ufnJ.mjs} +6 -12
  93. package/browser/esm/{tUcACmQVgT_vQZRd.mjs → CbAbkQUb6oMbznUI.mjs} +1 -13
  94. package/browser/esm/{Xxw0Y9hXxIwKKGPq.mjs → CdXVTrxlfpdxLJIW.mjs} +1 -13
  95. package/{cdn/assets/pf0juu-OwjVx8NfT.js → browser/esm/Cj_b4SBU9OExCjrq.mjs} +12 -16
  96. package/{cdn/assets/CGCghKS4Jl7fGewC.js → browser/esm/Ct4edmJJhlsaXjWT.mjs} +1 -13
  97. package/browser/esm/{vBbdzr5TIj8oCBOQ.mjs → Cuy_iWJUt-DZPu_m.mjs} +1 -13
  98. package/{cdn/assets/DYZMXz31j3qNRh0f.js → browser/esm/D1i7jbpYgGHdUBHI.mjs} +3 -15
  99. package/{cdn/assets/CVXeIfSHxFnpUSYz.js → browser/esm/DI31ljXqecIkfzC_.mjs} +1 -13
  100. package/browser/esm/{sXwOwWbIPvtOcCOv.mjs → DIhOwgfJ-KW70dVG.mjs} +1 -13
  101. package/{cdn/assets/D7dirdQd4_w5Kf3O.js → browser/esm/DY-wznfI02TzBooB.mjs} +6373 -6290
  102. package/browser/esm/{CB7PEr_-y0BQWtqs.mjs → DeFkwgSUXcAL-4MI.mjs} +13 -25
  103. package/browser/esm/{BieQsUFphd-4Dl2o.mjs → DeRdpzXPAT-NTuGX.mjs} +2 -14
  104. package/browser/esm/{BjJVmzUi3VgBwYWL.mjs → DjWavLHPu3GKEzTU.mjs} +1 -13
  105. package/{cdn/assets/DRNhrLbNn_6nGCEJ.js → browser/esm/DrCAbGKUtU3dQxf1.mjs} +12 -18
  106. package/{cdn/assets/CKJke70LtH4vX8Yy.js → browser/esm/DxxYtl4yGitwPRVP.mjs} +1 -13
  107. package/browser/esm/ESh2pnYgW_hn_Y4g.mjs +24 -0
  108. package/browser/esm/{CRSV-894QtiDUmtJ.mjs → ILxB2ghS7La7VXBi.mjs} +8 -31
  109. package/browser/esm/{DwdX0RUFwrRrBtRA.mjs → QuHaOall6bLwODh8.mjs} +2 -8
  110. package/browser/esm/{OGU71t0PDjtl3-M4.mjs → TTzsQrEYYCtjJ_aM.mjs} +1 -13
  111. package/browser/esm/ZVFMnXncU5v2xxQj.mjs +21 -0
  112. package/{cdn/assets/Jv_Qhh-WUFMrxoID.js → browser/esm/ZozmNU1fZz0rIwnM.mjs} +7 -77
  113. package/browser/esm/{TTYba_o2v8b2WWvm.mjs → _JHuVqxt7gNsoWn-.mjs} +6 -32
  114. package/browser/esm/{BGHKmUXsDDoutTYQ.mjs → fwoCYLInyLSFnSZQ.mjs} +1 -7
  115. package/{cdn/assets/CwpligBAfWbwjv90.js → browser/esm/gkLlKpramCNBfTs7.mjs} +1 -13
  116. package/browser/esm/index.mjs +2 -2
  117. package/{cdn/assets/Bn5K2xW-LDe4UKiG.js → browser/esm/m6vgp5BteyB5mur7.mjs} +1 -13
  118. package/browser/esm/{rBWM2hNaaS5ELSY5.mjs → md8aPMcWKEZYJq3K.mjs} +39 -45
  119. package/browser/esm/{BqvvewQdU3dKato4.mjs → uQZVXIPp9jLPfqko.mjs} +4 -28
  120. package/browser/esm/uxqyDXIaFmgmll6p.mjs +10 -0
  121. package/cdn/assets/{DhVke7KHq6lbQPZg.js → 7LvL2PwFxo4tRjtC.js} +1 -13
  122. package/{browser/esm/dYh86bRPKzI8ASeR.mjs → cdn/assets/B7pTGz0qoUEf5oRZ.js} +8 -14
  123. package/cdn/assets/{iC6qNNMVatdQ7tzG.js → B9y2dkVuJJxTR6Cu.js} +1 -13
  124. package/cdn/assets/{D8I1NKgZQBM1OlB_.js → BAmbFIYJN2lFgCcK.js} +1 -13
  125. package/cdn/assets/{D_mjyyaB1h7KHEAu.js → BGTzGVKBHhjSJDwD.js} +1 -13
  126. package/cdn/assets/BGjWX_kSxlX68bbv.js +10 -0
  127. package/cdn/assets/{DDVokEjcl6-19dbU.js → BHQY35m5ZsNLGx4s.js} +6 -32
  128. package/{browser/esm/HiDBwKQDu71n9dYT.mjs → cdn/assets/BIUc5ppdovF97mnI.js} +3 -15
  129. package/cdn/assets/{DE5GJPPKB9akZnOl.js → BR58mmeGHPieLgMd.js} +1 -13
  130. package/cdn/assets/{DSaJvKGEG6fH2UFL.js → BSAajMR-86LIB0Wr.js} +2 -14
  131. package/cdn/assets/{DbbapxCRGpFogl_Q.js → BT81je-vUgJM770Z.js} +1 -13
  132. package/{browser/esm/DmwBpm4ERYyxSyyJ.mjs → cdn/assets/BUBhf8MVk-zzMvIn.js} +2 -14
  133. package/{browser/esm/CsKXDEU_EhKwgwa2.mjs → cdn/assets/BXoIUikm6MxpGehl.js} +2 -8
  134. package/cdn/assets/{Cow5a04f6LqFGoQZ.js → BZzMRDxX8W3pn7y9.js} +1 -13
  135. package/cdn/assets/{DeZqllxB8Fy4CjwJ.js → Bai9y7ZvJNafZXkG.js} +1 -20
  136. package/{browser/esm/Bqjg7PBsD1qpWapS.mjs → cdn/assets/BfLOMcpVLb78_pS5.js} +1 -13
  137. package/cdn/assets/Bhhrqsmqp91hJqxG.js +12 -0
  138. package/{browser/esm/Cbs-rx1iLGiLCCUn.mjs → cdn/assets/BjtNxCPTeumKQNaW.js} +4799 -5022
  139. package/{browser/esm/BF4cNyvUhV9e9yfu.mjs → cdn/assets/BnEAWPtKX5CgVKkp.js} +6 -12
  140. package/cdn/assets/{BzLOGtjuaZ3Mji-F.js → BrOXBqkeDvOBK9Fc.js} +39 -45
  141. package/{browser/esm/BaOp0-PqOpggAmtp.mjs → cdn/assets/Bs1BVe17rehcBW3a.js} +9 -15
  142. package/cdn/assets/{Cfp-IQYhF8wI3U8j.js → C0uV2sp4PwEuNpbn.js} +1 -13
  143. package/cdn/assets/{DTaAiRRU2uWbT8Fc.js → C1-crlw6ThhTeBjo.js} +2 -8
  144. package/cdn/assets/C70QesBx8A7k3kJu.js +10 -0
  145. package/cdn/assets/{ako9wmFN1XdkwSc1.js → CBmA6m_MD-T3IhT-.js} +1 -19
  146. package/cdn/assets/{DMc9rEXgTnQiUhVu.js → CQqb_o_4QHZmqlml.js} +1 -13
  147. package/cdn/assets/CRkdWAFwM0QqPkBl.js +10 -0
  148. package/cdn/assets/{B3SIwz6UDnshg1xz.js → CUny7mPoyQiagYdd.js} +1 -15
  149. package/cdn/assets/{tUcACmQVgT_vQZRd.js → CbAbkQUb6oMbznUI.js} +1 -13
  150. package/cdn/assets/{Xxw0Y9hXxIwKKGPq.js → CdXVTrxlfpdxLJIW.js} +1 -13
  151. package/{browser/esm/CYszs6SwCHoEdnWR.mjs → cdn/assets/CqgEiFyDq2dBshfr.js} +12 -18
  152. package/cdn/assets/{CGc5eC8iV73B-vAE.js → CsNx7C_i1iOqmV3n.js} +2 -2
  153. package/{browser/esm/CGCghKS4Jl7fGewC.mjs → cdn/assets/Ct4edmJJhlsaXjWT.js} +1 -13
  154. package/{browser/esm/CZfsDeVlXP4VI0uK.mjs → cdn/assets/Cu0RUSPX2LvwFQ6U.js} +12 -16
  155. package/cdn/assets/{vBbdzr5TIj8oCBOQ.js → Cuy_iWJUt-DZPu_m.js} +1 -13
  156. package/cdn/assets/CzPqPp4BsLzOooEG.js +29 -0
  157. package/cdn/assets/{CVOFtLS3D3hpykUP.js → D0LTvhKDv_AaR2AJ.js} +8 -31
  158. package/cdn/assets/{DQCWbcueShZFNwmV.js → D0lIj4chgObzK66x.js} +16 -16
  159. package/{browser/esm/Cz7ockkCtKQwddun.mjs → cdn/assets/DGyubEhwYpXIK9_t.js} +3 -27
  160. package/{browser/esm/CVXeIfSHxFnpUSYz.mjs → cdn/assets/DI31ljXqecIkfzC_.js} +1 -13
  161. package/cdn/assets/{sXwOwWbIPvtOcCOv.js → DIhOwgfJ-KW70dVG.js} +1 -13
  162. package/{browser/esm/DpDIV4Iz_niumLpB.mjs → cdn/assets/DK-NdTpBC0eQBgZV.js} +2 -8
  163. package/cdn/assets/{D_PCdhiJi26hHS-8.js → DK1bSVHKRKH0lHUk.js} +5 -11
  164. package/cdn/assets/DLrEolIaGLyUO3dd.js +41 -0
  165. package/cdn/assets/{BRJtUnAFvJgElG8C.js → DXG92ERB-BJo0KZb.js} +13 -25
  166. package/cdn/assets/{BjJVmzUi3VgBwYWL.js → DjWavLHPu3GKEzTU.js} +1 -13
  167. package/{browser/esm/DXky7q8UrsTfgOl6.mjs → cdn/assets/Ds4qf07Q_SexJRqj.js} +2 -20
  168. package/{browser/esm/CKJke70LtH4vX8Yy.mjs → cdn/assets/DxxYtl4yGitwPRVP.js} +1 -13
  169. package/cdn/assets/ESh2pnYgW_hn_Y4g.js +24 -0
  170. package/cdn/assets/{OGU71t0PDjtl3-M4.js → TTzsQrEYYCtjJ_aM.js} +1 -13
  171. package/cdn/assets/ZVFMnXncU5v2xxQj.js +21 -0
  172. package/{browser/esm/Jv_Qhh-WUFMrxoID.mjs → cdn/assets/ZozmNU1fZz0rIwnM.js} +7 -77
  173. package/cdn/assets/{BGHKmUXsDDoutTYQ.js → fwoCYLInyLSFnSZQ.js} +1 -7
  174. package/{browser/esm/CwpligBAfWbwjv90.mjs → cdn/assets/gkLlKpramCNBfTs7.js} +1 -13
  175. package/{browser/esm/Bn5K2xW-LDe4UKiG.mjs → cdn/assets/m6vgp5BteyB5mur7.js} +1 -13
  176. package/{browser/esm/CYvdymNohZi87Vmf.mjs → cdn/assets/mGs6ZnI3Kp7ca3V9.js} +64 -64
  177. package/cdn/assets/uxqyDXIaFmgmll6p.js +10 -0
  178. package/cdn/assets/{DwOLxNWTgpajuVoq.js → wVem_Fk0Cp-sFmAO.js} +4 -28
  179. package/cdn/index.js +2 -2
  180. package/cdn/loader.js +1 -1
  181. package/package.json +5 -10
  182. package/browser/cjs/B4tuWKTrIZsK5so4.cjs +0 -30
  183. package/browser/cjs/B5_w23_mUAW0fmJf.cjs +0 -6
  184. package/browser/cjs/BBXoDmENVubxlArs.cjs +0 -16
  185. package/browser/cjs/BlYWr2BKhS18L5sc.cjs +0 -21
  186. package/browser/cjs/Bqucdx31CZbbWECx.cjs +0 -22
  187. package/browser/cjs/ByAzlBbjSnhZyx7J.cjs +0 -17
  188. package/browser/cjs/Cd5lC1p9vwmY8bXk.cjs +0 -30
  189. package/browser/cjs/Cw23_9oAnZq0oGKM.cjs +0 -17
  190. package/browser/cjs/D0RwDzLW2tAOaOgp.cjs +0 -21
  191. package/browser/cjs/D3jW9_q5k1lOmEQd.cjs +0 -17
  192. package/browser/cjs/DVih-qsORYLFDJ00.cjs +0 -6
  193. package/browser/cjs/DW3yV3bFjBYU9FNp.cjs +0 -33
  194. package/browser/cjs/Dg-_EjDMveR9eAsS.cjs +0 -21
  195. package/browser/cjs/wHFkNUwHgS4n79oY.cjs +0 -16
  196. package/browser/esm/B0bFoOwu-SXqZdUA.mjs +0 -22
  197. package/browser/esm/C53n3eOUOu4IDUnv.mjs +0 -24
  198. package/browser/esm/CDdRITGs1_hk1Kax.mjs +0 -42
  199. package/browser/esm/CPlfXwZn952WQ8tu.mjs +0 -22
  200. package/browser/esm/CUR7HVbE-MYKeGoV.mjs +0 -47
  201. package/browser/esm/CZj7MpGmmgaB8lkL.mjs +0 -40
  202. package/browser/esm/CnShx-cVURfKpVVG.mjs +0 -22
  203. package/browser/esm/D2GULUblN-TF8TA3.mjs +0 -22
  204. package/browser/esm/Dakx8EXKki7IUQWD.mjs +0 -53
  205. package/cdn/assets/B0bFoOwu-SXqZdUA.js +0 -22
  206. package/cdn/assets/C53n3eOUOu4IDUnv.js +0 -24
  207. package/cdn/assets/CDdRITGs1_hk1Kax.js +0 -42
  208. package/cdn/assets/CPlfXwZn952WQ8tu.js +0 -22
  209. package/cdn/assets/CZj7MpGmmgaB8lkL.js +0 -40
  210. package/cdn/assets/CnShx-cVURfKpVVG.js +0 -22
  211. package/cdn/assets/D2GULUblN-TF8TA3.js +0 -22
  212. package/cdn/assets/DotQ8xRWqk7D6hez.js +0 -47
  213. package/cdn/assets/S1pQULnXsDtSBJpY.js +0 -53
@@ -1,16 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./BFjFhtH4OqOirVjz.cjs"),g=require("./Cq6nKXJncTvIPDs0.cjs");/**
7
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
8
- *
9
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
- * License: The license can be found at https://www.sheetxl.com/license.
11
- *//**
12
- * @license @sheetxl/io - IO - Import/Export Libraries for SheetXL. - v0.3.0
13
- *
14
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
- * License: The license can be found at https://www.sheetxl.com/license.
16
- */class z{constructor(t){this.list=t}get length(){return this.list.length}item(t){return this.list[t]}forEach(t,e){for(let s=0;s<this.list.length;s++)t(this.list[s],s,this)}}const G=u=>u===!0||u==="1"||u==="on"||u==="true"||u!==!1&&u!=="0"&&u!=="off"&&u!=="false"&&null,W=u=>{const t=parseInt(u);return isNaN(t)?null:t},X=u=>{const t=parseFloat(u);return isNaN(t)?null:t},$=new Map;class S{constructor(t,e,s,r,o,i=null,n){const l=(c,h,d)=>n?.getRef?.(c,h,d,n?.parsedRefs),a=c=>n?.getRefs?.(c,n?.parsedRefs);this._parent=t,this.sharedShared=e,this.currentPath=s,this.elemRoot=r,this.jsonRoot=o,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs):(i&&(this._fileLocation=i),l&&a&&(this._getRef=l),a&&(this._getRefs=a),this._onWarning=n?.onWarning,this._addPerson=n?.addPerson)}getRef(t,e=!1){return this._getRef?.(t,this._fileLocation,e)??null}getRelationships(){return this._getRefs(this._fileLocation)??$}getPath(){return this.currentPath}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(t){this._onWarning?this._onWarning(t):this._parent?this._parent?.warn?.(t):console.warn(t)}addPerson(t){return this._addPerson?this._addPerson(t):this._parent?this._parent?._addPerson?.(t):null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(t,e){if(!t)return e;let s=[e];const r=t.split("/");for(let o=0;o<r.length;o++){const i=r[o];if(i===""||i===".")continue;let n=[];for(let l=0;l<s.length;l++){const a=s[l],c=a.childNodes;for(let h=0;c&&h<c.length;h++){const d=a.childNodes[h];d.localName!==i&&i!=="*"||n.push(d)}}s=n}return s.length===1?s[0]:s.length===0?null:new z(s)}getFromPath(t,e){return p.dn.getFromPath(t,e)}setToPath(t,e,s){return p.dn.setToPath(t,e,s)}getValAttrAsString(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?s.getAttribute("val")??null:null}getValAttrAsBoolean(t,e,s=!1){let r=this.evaluate(t,e);if(!r)return null;const o=r.hasAttribute("val")?r.getAttribute("val"):void 0;return o==null?s:o==="1"||o==="on"||o==="true"||o!=="0"&&o!=="off"&&o!=="false"&&s}getValAttrAsInteger(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?parseInt(s.getAttribute("val"))??null:null}getValAttrAsFloat(t,e){let s=this.evaluate(t,e);return s&&s.hasAttribute("val")?parseFloat(s.getAttribute("val"))??null:null}get BOOLEAN_COPY(){return G}get INT_COPY(){return W}get FLOAT_COPY(){return X}copyFromAttribute(t,e,s,r=e,o=null){if(!t||!s||!t.hasAttribute(e))return;let i=t.getAttribute(e);if(o){if(Array.isArray(o)){for(let n=0;n<o.length;n++)if(i==null||(i=o[n](i),i==null))return}else if(i==null||(i=o(i),i==null))return}this.setToPath(s,r,i)}}class V{constructor(t){this.jsonKey=t}visit(t,e,s){const r={};return s[this.jsonKey]=r,r}}class K{visit(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);i.nodeType===1&&i.localName==="Relationship"&&this.processRelationship(t,i,s)}return s}processRelationship(t,e,s){const r={};t.copyFromAttribute(e,"Target",r,"target"),t.copyFromAttribute(e,"Type",r,"type"),t.copyFromAttribute(e,"TargetMode",r,"targetMode"),s[e.getAttribute("Id")]=r}}const D=(u,t)=>{if(u||!u.hasAttribute("rot"))return;const e=u.getAttribute("rot"),s=p.dn.roundAccurately(g.p(e),2);s!==-1e3&&(t.rotation=s)},f=(u,t,e,s,r)=>{const o=u.getValAttrAsString(s,t);o!==null&&(e[r]=o)},A=(u,t,e,s,r=s,o=null)=>{const i=u.getValAttrAsBoolean(s,t,o);i!==null&&(e[r]=i)},C=(u,t,e,s,r)=>{const o=u.getValAttrAsInteger(s,t);o!==null&&(e[r]=o)},y=(u,t,e,s,r,o=1)=>{const i=u.getValAttrAsFloat(s,t);i!==null&&(e[r]=i*o)};class q{visit(t,e,s){return A(t,e,s,"roundedCorners","roundedCorners"),C(t,e,s,".//AlternateContent/Fallback/style","styleId"),s.range=null,s}afterVisit(t,e,s){let r={};s.types=r;let o={},i=0,n={},l=0,a=t.getVisitorParamsState().get("axes");const c=t.getVisitorParamsState().get("types");for(let m=0;m<c.length;m++){const b=c[m];if(b.xAxisId){const v=b.xAxisId,P=a.get(v);o[m+""]=P,b.offsetXAxis=m,delete b.xAxisId,s.xAxes=o,o.length=++i}if(b.yAxisId){const v=b.yAxisId,P=a.get(v);n[m+""]=P,b.offsetYAxis=m,delete b.yAxisId,s.yAxes=n,n.length=++l}r[m+""]=b}r.length=c.length;const h=t.getVisitorParamsState().get("series");if(!h||h.length===0)return;const d={};s.series=d;for(let m=0;m<h.length;m++)d[m+""]=h[m];d.length=h.length}}class H{visit(t,e,s){return A(t,e,s,"plotVisOnly","plotVisOnly"),f(t,e,s,"dispBlanksAs","dispBlanksAs"),A(t,e,s,".//extLst/ext/dataDisplayOptions16/dispNaAsBlank","dispNaAsBlank"),A(t,e,s,"showDLblsOverMax","showDLblsOverMax"),s}afterVisit(t,e,s){try{const r=t.getValAttrAsBoolean("autoTitleDeleted",e),o=t.evaluate("title",e);t.setToPath(s,"title.shown",!(r===!0||!o));const i=t.evaluate("legend",e);t.setToPath(s,"legend.shown",i!==null)}catch(r){throw new Error("Unexpected Error parsing Chart: "+r)}}}class J{visit(t,e,s){let r={};return s.plotArea=r,r}}class O{EnumMappings(){}static fromOoxmlGradientType(t){return t==="circle"?"radial":t}static fromOoxmlLineCap(t){if(t==="rnd")return"round";if(t==="flat")return"butt";if(t==="sq")return"square";throw new Error("Invalid lineCap type: "+t)}static fromOoxmlCompound(t){return t==="sng"?"single":t}static fromOoxmlAlignment(t){return t==="ctr"?"center":t}}class Y{visit(t,e,s){}processStroke(t,e,s){const r={},o=t.evaluate("ln",e);if(o){o.hasAttribute("algn")&&(r.align=O.fromOoxmlAlignment(o.getAttribute("algn"))),o.hasAttribute("cap")&&(r.lineCap=O.fromOoxmlLineCap(o.getAttribute("cap"))),o.hasAttribute("cmpd")&&(r.compound=O.fromOoxmlCompound(o.getAttribute("cmpd"))),o.hasAttribute("w")&&(r.width=g.t(o.getAttribute("w")));const i=t.evaluate("miter",o);i&&(r.lineJoin="miter",i.hasAttribute("lim")&&(r.miter=parseFloat(i.getAttribute("lim")))),t.evaluate("bevel",o)&&(r.lineJoin="bevel"),t.evaluate("round",o)&&(r.lineJoin="round");const n=t.evaluate("custDash",o);if(n){const c=t.evaluate("ds",n);if(c&&c.length>0){let h="";for(let d=0;d<c.length;d++){const m=c.item(d);h+=g.a(m.getAttribute("d"))+","+g.a(m.getAttribute("sp"))}r.dash=h}}const l=t.evaluate("prstDash",o);l&&l.hasAttribute("val")&&(r.dash=l.getAttribute("val")),this.parseEndElement(t,o,r,"headEnd","head"),this.parseEndElement(t,o,r,"tailEnd","tail");const a=this.processFill(t,o,s);r.fill=a}return r}parseEndElement(t,e,s,r,o){const i=t.evaluate(r,e);if(i&&(i.hasAttribute("type")&&(s[o+"Type"]=i.getAttribute("type")),i.hasAttribute("len")||i.hasAttribute("w"))){const n=i.getAttribute("len")?i.getAttribute("len"):"med",l=i.getAttribute("w")?i.getAttribute("w"):"med";s[o+"Size"]=n+"-"+l}}processFill(t,e,s){const r={};if(t.evaluate("noFill",e))return r.none=!0,r;const o=t.evaluate("solidFill",e);if(o){const a=this.processAdjColor(t,o);return a&&(r.solid=a),r}const i=t.evaluate("gradFill",e);if(i){i.hasAttribute("rotWithShape")&&(r.isRotated=i.getAttribute("rotWithShape")==="1");const a=this.processGradFill(t,i);return r.gradient=a,r}const n=t.evaluate("pattFill",e);if(n){const a=this.processPatternFill(t,n);return r.pattern=a,r}const l=t.evaluate("blipFill",e);if(l){l.hasAttribute("rotWithShape")&&(r.isRotated=g.b(l.getAttribute("rotWithShape"))),l.hasAttribute("dpi")&&(r.dpi=l.getAttribute("dpi"));const a=this.processImageFill(t,l);return r.image=a,r}return r.none=!0,r}processGradFill(t,e){const s={},r=t.evaluate("lin",e);if(r){if(s.type="linear",r.hasAttribute("ang")){const c=g.p(r.getAttribute("ang"));s.angle=c}if(r.hasAttribute("scaled")){const c=g.b(r.getAttribute("scaled"));s.scaled=c}}const o={};e.hasAttribute("flip")&&(o.mirror=e.getAttribute("flip")),Object.keys(o).length>0&&(s.tile=o);const i=t.evaluate("path",e);if(i){i.hasAttribute("path")&&(s.type=O.fromOoxmlGradientType(i.getAttribute("path")));const c=t.evaluate("fillToRect",i);c&&(s.fillTo=this.getRect(c))}const n=t.evaluate("tileRect",e);n&&(s.tile.bounds=this.getRect(n));const l=[],a=t.evaluate("gsLst/gs",e);for(let c=0;a&&c<a.length;c++){const h=a.item(c),d={offset:g.a(h.getAttribute("pos")),color:this.processAdjColor(t,h)};l.push(d)}return l.length>0&&(s.stops=l),s}getRect(t){const e={};return t.hasAttribute("t")&&(e.t=g.a(t.getAttribute("t"))),t.hasAttribute("l")&&(e.l=g.a(t.getAttribute("l"))),t.hasAttribute("b")&&(e.b=g.a(t.getAttribute("b"))),t.hasAttribute("r")&&(e.r=g.a(t.getAttribute("r"))),Object.keys(e).length===0?null:e}processImageFill(t,e){return{ref:"https://cdn.sheetxl.com/public/logo-color-square-onwhite.png",tile:!1}}processPatternFill(t,e){const s={},r=e.getAttribute("prst");s.type=r;const o=t.evaluate("bgClr",e);if(o){const n=this.processAdjColor(t,o);n&&(s.background=n)}const i=t.evaluate("fgClr",e);if(i){let n=this.processAdjColor(t,i);n&&(s.foreground=n)}return s}processAdjColor(t,e){const s=t.evaluate("hslClr",e);if(s)return this.processHslClr(t,s);const r=t.evaluate("prstClr",e);if(r)return this.processClrWithValAttribute(t,r);const o=t.evaluate("schemeClr",e);if(o)return this.processClrWithValAttribute(t,o);const i=t.evaluate("sysClr",e);if(i)return this.processClrWithValAttribute(t,i);const n=t.evaluate("scrgbClr",e);if(n)return this.processScrgbClrElement(t,n);const l=t.evaluate("srgbClr",e);return l?this.processSrgbClrElement(t,l):null}processScrgbClrElement(t,e){let s="lrgba("+g.a(e.getAttribute("r"))+","+g.a(e.getAttribute("g"))+","+g.a(e.getAttribute("b"))+")";return s+=this.processAdjustments(t,e),s}processSrgbClrElement(t,e){let s=e.getAttribute("val");return s+=this.processAdjustments(t,e),s}processHslClr(t,e){let s="hsl("+g.p(e.getAttribute("hue"))+","+g.a(e.getAttribute("sat"))+","+g.a(e.getAttribute("lum"))+")";return s+=this.processAdjustments(t,e),s}processClrWithValAttribute(t,e){const s=e.getAttribute("val");if(!s)return;let r=s;return r+=this.processAdjustments(t,e),r}processAdjustments(t,e){let s="";const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1){let n=i.localName;s+=n==="hue"||n==="hueOff"||n==="hueMod"?this.processAdjustmentElement(t,e,n,6e4):n==="gray"||n==="comp"||n==="inv"||n==="gamma"||n==="invGamma"?this.processAdjustmentElement(t,e,n,1):this.processAdjustmentElement(t,e,n)}}return s}processAdjustmentElement(t,e,s,r=1e3){const o=t.evaluate(s,e);if(!o)return"";const i=o.getAttribute("val");return i?` ${s} ${!i||parseFloat(i)/r}`:` ${s}`}}class L extends Y{visit(t,e,s){try{const r=t.evaluate("xfrm",e);if(r){D(r,s);const l={x:0,y:0,width:0,height:0},a=t.evaluate("off",r);a&&(l.x=g.c(a.getAttribute("x"))??0,l.y=g.c(a.getAttribute("y"))??0);const c=t.evaluate("ext",r);a&&(l.width=g.c(c.getAttribute("cx"))??0,l.height=g.c(c.getAttribute("cy"))??0),s.bounds=l}const o=t.evaluate("prstGeom",e);o?.hasAttribute("prst")?s.geometry=o?.getAttribute("prst"):t.evaluate("customGeom",e)&&console.warn("customGeom not supported yet");const i=this.processFill(t,e,s);i&&Object.keys(i).length>0&&(s.fill=i);const n=this.processStroke(t,e,s);return n&&Object.keys(n).length>0&&(s.stroke=n),s}catch(r){throw console.warn(r),new Error("Unexpected Error parsing Shape Properties element")}}}class N{visit(t,e,s){let r={};if(f(t,e,r,"grouping","grouping"),A(t,e,r,"varyColors","varyColors"),y(t,e,r,"gapWidth","gapWidth",.01),y(t,e,r,"overlap","overlap",.01),this.parseType(t,e,r),C(t,e,r,"bubbleScale","bubbleScale"),A(t,e,r,"showNegBubbles","showNegativeBubbleValues"),A(t,e,r,"sizeRepresents","bubbleSizeRepresentsWidth"),C(t,e,r,"firstSliceAng","startAngle"),C(t,e,r,"holeSize","holeSize"),f(t,e,r,"scatterStyle","scatterStyle"),this.parseAxisIds(t,e,r),Object.keys(r).length>0){let o=t.getVisitorParamsState().get("types");o||(o=[],t.getVisitorParamsState().set("types",o)),o.push(r)}return r}parseType(t,e,s){switch(e.localName){case"areaChart":s.type="area";break;case"bubbleChart":s.type="bubble";break;case"doughnutChart":case"ofPieType":case"pieChart":s.type="pie";break;case"lineChart":s.type="line";break;case"scatterChart":s.type="scatter"}}parseAxisIds(t,e,s){const r=t.evaluate("axId",e);if(r.length===0)return;const o=r.item(0).getAttribute("val");s.xAxisId=o;const i=r.item(1).getAttribute("val");s.yAxisId=i}}class Q extends N{parseType(t,e,s){const r=t.getValAttrAsString("barDir",e);r&&(s.type=r==="col"?"column":"bar")}}class w{constructor(t){this.jsonKey=t}visit(t,e,s){let r={},o=r,i=t.getValAttrAsString("idx",e);i!==null&&(o={},o[i]=r);const n=t.getValAttrAsBoolean("delete",e);this.parseNumFormat(t,e,r),n===!0?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(A(t,e,r,"showBubbleSize","showBubbleSize"),A(t,e,r,"showCatName","showCatName"),A(t,e,r,"showLeaderLines","showLeaderLines"),A(t,e,r,"showPercent","showPercentage"),A(t,e,r,"showSerName","showSerName"),A(t,e,r,"showVal","showVal"),A(t,e,r,"showLegendKey","showLegendKey"));const l=t.evaluate("separator",e);return l!==null&&(r.separator=l.textContent),f(t,e,r,"dLblPos","position"),s[this.jsonKey]=o,r}parseNumFormat(t,e,s){const r=t.evaluate("numFmt",e);if(r){const o=r.getAttribute("formatCode");s.formatCode=o,r.hasAttribute("sourceLinked")&&(s.sourceLinked=r.getAttribute("sourceLinked")==="1")}}}const M=(u,t,e)=>{if(u.getValAttrAsBoolean("invertIfNegative",t)===!0)if(u.evaluate("extLst/ext/invertSolidFillFmt",t)){if(e.fill&&e.fillNegative){const s=u.getFromPath(e,"fill.solid.adjs");s&&u.setToPath(e,"fillNegative.solid.adjs",s)}}else{const s={val:"FFFFFF"},r={};r.solid=s,e.fillNegative=r;const o={val:"000000"},i={};i.solid=o;const n={};n.fill=i,e.strokeNegative=n}};class Z{visit(t,e,s){const r={};C(t,e,r,"explosion","explosion");let o=t.evaluate("cat/*/f",e);o||(o=t.evaluate("xVal/*/f",e));let i=null;o!==null&&o.firstChild!==null&&(i=o.firstChild.nodeValue),o||(o=t.evaluate("cat/strLit",e),o||(o=t.evaluate("cat/numLit",e)),o&&(i=this.parsePointsAsString(t,o))),i!==null&&(r.xRange=i);let n=t.evaluate("val/*/f",e);n||(n=t.evaluate("yVal/*/f",e));let l=null;n&&n.firstChild&&(l=n.firstChild.nodeValue),n||(n=t.evaluate("val/numLit",e),n!==null&&(l=this.parsePointsAsString(t,n))),l!==null&&(r.valRange=l),this.parseTitleRangeOrValue(t,e,r),C(t,e,r,"idx","idx"),A(t,e,r,"smooth","smooth");const a=t.getVisitorParamsState().get("types").length-1;r.offsetChart=a;let c=t.getVisitorParamsState().get("series");return c||(c=[],t.getVisitorParamsState().set("series",c)),c.push(r),r}parseTitleRangeOrValue(t,e,s){const r=t.evaluate("tx/strRef/f",e);if(r!==null){const o=r.firstChild.nodeValue;t.setToPath(s,"title.range",o)}else{const o=t.evaluate("tx/v",e);o!==null&&t.setToPath(s,"title.text.simpleRun",o.firstChild.nodeValue)}}parsePointsAsString(t,e){let s="{";const r=t.getValAttrAsInteger("ptCount",e),o=t.evaluate("pt",e),i=[];for(let n=0;o&&r&&n<r;n++){let l=null,a=t.evaluate("pt[@idx='"+n+"']/v",e);a instanceof Node&&(l=a.textContent),i[n]=l}for(let n=0;n<i.length;n++)n>0&&(s+=","),i[n]!==void 0&&(s+=i[n]);return s+="}",s}afterVisit(t,e,s){M(t,e,s);let r=t.getFromPath(s,"points");if(r){const o=Object.keys(r);for(let i=0;i<o.length;i++){const n=o[i],l=t.getFromPath(r,n);if(!l)continue;let a=t.getFromPath(l,"markers");a&&(t.setToPath(s,"markers.points."+n,a),delete l.markers)}}}}class tt{DataPointVisitor(){}visit(t,e,s){let r=t.getFromPath(s,"points"),o=null;r?o=r:(o={},t.setToPath(s,"points",o));let i={},n=t.getValAttrAsString("idx",e);return n!==null&&(o[n]=i),A(t,e,i,"bubble3D","bubble3D"),C(t,e,i,"explosion","explosion"),M(t,e,i),i}}class et{visit(t,e,s){const r=e.parentNode.localName;if(r==="ser"||r==="dPt"){const o={},i=t.getValAttrAsString("size",e);i!==null&&(o.size=i);const n=t.getValAttrAsString("symbol",e);return n&&(o.type=n),s.markers=o,o}return null}}class k{visit(t,e,s){let r={};this.parseScaling(t,e,r),y(t,e,r,"majorUnit","majorUnits"),y(t,e,r,"minorUnit","minorUnits"),A(t,e,r,"delete","shown"),this.parseOrientation(t,e,r),this.parseNumFormat(t,e,r),f(t,e,r,"majorTickMark","majorTickMarks"),f(t,e,r,"minorTickMark","minorTickMarks"),f(t,e,r,"crosses","crosses"),y(t,e,r,"crossesAt","crosses"),f(t,e,r,"crossBetween","crossBetween"),this.parseLabelAlign(t,e,r),C(t,e,r,"lblOffset","labelOffset"),f(t,e,r,"tickLblPos","labelPosition");const o=t.getValAttrAsInteger("noMultiLvlLbl",e);r.labelMultiLevel=o!==null&&o===0,C(t,e,r,"tickMarkSkip","tickMarkSkip"),C(t,e,r,"tickLblSkip","labelInterval"),this.parseDisplayCustOrBuiltInUnit(e,t,r),this.parseTimeUnits(t,e,r,"majorUnitDates","majorTimeUnit","majorUnit"),this.parseTimeUnits(t,e,r,"minorUnitDates","minorTimeUnit","minorUnit"),f(t,e,r,"baseTimeUnit","baseUnitDates"),t.getVisitorParamsState().get("axes")||t.getVisitorParamsState().set("axes",new Map);const i=t.getValAttrAsString("axId",e);return t.getVisitorParamsState().get("axes").set(i,r),r}parseTimeUnits(t,e,s,r,o,i){const n={};let l=t.getValAttrAsString(o,e);if(l!==null){n.dem=l;let a=t.getValAttrAsString(i,e);n.amt=a}Object.keys(n).length>0&&(s[r]=n)}parseDisplayCustOrBuiltInUnit(t,e,s){let r=e.getValAttrAsString("dispUnits/builtInUnit",t);r||(r=e.getValAttrAsString("dispUnits/custUnit",t)),r&&(s.displayUnits=r)}parseLabelAlign(t,e,s){let r=t.getValAttrAsString("lblAlgn",e);r!==null&&(r==="ctr"?s.labelAlign="center":r==="l"?s.labelAlign="left":r==="r"&&(s.labelAlign="right"))}parseOrientation(t,e,s){const r=t.getValAttrAsString("AxPos",e);r!==null&&(r==="b"?s.orientation="bottom":r==="l"?s.orientation="left":r==="r"?s.orientation="right":r==="t"&&(s.orientation="top"))}parseNumFormat(t,e,s){const r={},o=t.evaluate("numFmt",e);o!==null&&(o.hasAttribute("formatCode")&&(r.formatCode=o.getAttribute("formatCode")),o.hasAttribute("sourceLinked")&&(r.sourceLinked=o.getAttribute("sourceLinked")==="1")),Object.keys(r).length>0&&(s.labels=r)}parseScaling(t,e,s){const r=t.getValAttrAsString("scaling/orientation",e);r!==null&&(s.inverted=r!=="minMax");const o=t.getValAttrAsFloat("scaling/logBase",e);o!==null&&(s.logBase=o,s.scaleType="log"),y(t,e,s,"scaling/max","max"),y(t,e,s,"scaling/min","min")}afterVisit(t,e,s){s.fill&&s.labels&&(s.labels.fill=s.fill,delete s.fill);let r=t.getValAttrAsBoolean("delete",e);r!==null&&(t.setToPath(s,"labels.shown",r!==!0),t.setToPath(s,"shown",r!==!0));const o=t.getFromPath(s,"dispUnits.displayUnitsLabel");o&&(t.setToPath(s,"displayUnitsLabel",o),delete s.dispUnits);const i=t.evaluate("title",e);t.setToPath(s,"title.shown",i!==null);const n=t.evaluate("minorGridlines",e);t.setToPath(s,"gridLinesMinor.shown",n!==null);const l=t.evaluate("majorGridlines",e);t.setToPath(s,"gridLinesMajor.shown",l!==null)}}class F{constructor(t="text"){this._jsonKey=t}getTextPath(){return this._jsonKey}visit(t,e,s){let r=t.getFromPath(s,this.getTextPath());return r||(r={}),this.parseTextElement(t,e,r,!1),Object.keys(r).length>0&&t.setToPath(s,this.getTextPath(),r),s}parseTextElement(t,e,s,r){const o=t.evaluate("p/pPr/defRPr",e)??t.evaluate("defRPr",e);o&&(this.parseTextProperties(t,o,s),new L().visit(t,o,s));let i=[],n=t.evaluate("p/r",e)??t.evaluate("r",e);const l=c=>{const h={};let d=t.evaluate("t",c);const m=t.evaluate("rPr",c);m&&this.parseTextProperties(t,m,h),d?h.text=d.firstChild.textContent??"":c.textContent&&(h.text=c.textContent??""),i.push(h)};if(n?.length!==void 0)for(let c=0;n&&c<n.length;c++)l(n.item(c));else l(n||e);i.length>0&&(s.runs=i);const a=t.evaluate("bodyPr",e);a&&D(a,s)}parseTextProperties(t,e,s){if(!e)return;e.hasAttribute("sz")&&(s.size=parseFloat(e.getAttribute("sz"))/100),e.hasAttribute("b")&&(s.weight=e.getAttribute("b")==="1"?700:400),e.hasAttribute("i")&&(s.italic=e.getAttribute("i")==="1"),e.hasAttribute("u")&&(s.underline=e.getAttribute("u")),e.hasAttribute("strike")&&(s.strike=e.getAttribute("strike"));const r=t.evaluate("latin",e);if(r&&!r.getAttribute("typeface").startsWith("+")){const o=s.font??{};if(r.hasAttribute("typeface")&&(o.family=r.getAttribute("typeface")),r.hasAttribute("panose")){const i=r.getAttribute("panose");i&&(o.fallbacks=[p.ct.getPanoseFallback(i)])}r.hasAttribute("pitchFamily")&&(o.pitch=r.getAttribute("pitchFamily")),r.hasAttribute("charset")&&(o.charset=r.getAttribute("charset")),Object.keys(o).length>0&&(s.font=o)}}}class rt{visit(t,e,s){let r=t.getVisitorParamsState().get("series")[t.getValAttrAsInteger("idx",e)];if(r){let o=t.getFromPath(r,"title");o||(o={},t.setToPath(r,"title",o));let i=o,n=t.getValAttrAsBoolean("delete",e);return n!==null&&(i.shown=!n),i}return s}}class st{visit(t,e,s){const r={};return A(t,e,r,"overlay","overlay"),f(t,e,r,"legendPos","position"),s.legend=r,r}}class ot extends L{visit(t,e,s){const r=this.processFill(t,e,s);Object.keys(r).length>0&&(s.fillNegative=r);const o=this.processStroke(t,e,s);return Object.keys(o).length>0&&(s.strokeNegative=o),s}}class E extends F{constructor(t="title"){super(t)}parseTitleRangeOrValue(t,e,s){let r=t.evaluate("tx/strRef/f",e)??null;if(r){const o=r.firstElementChild.nodeValue;t.setToPath(s,"range",o)}}visit(t,e,s){const r={};A(t,e,r,"overlay","overlay"),s[this._jsonKey]=r;let o=t.getFromPath(r,this.getTextPath());o||(o={}),this.parseTitleRangeOrValue(t,e,r);const i=t.evaluate("txPr",e);i&&this.parseTextElement(t,i,o,!1);const n=t.evaluate("tx/rich",e);return n&&this.parseTextElement(t,n,o,!0),Object.keys(o).length>0&&t.setToPath(r,this.getTextPath(),o),r}afterVisit(t,e,s){if(s?.text){const r=s.text?.rotation??null;r!==null&&(s.rotation=parseInt(r),delete s.title.rotation)}}}class it{visit(t,e,s){const r=t.evaluate("manualLayout",e);if(r){let o={};y(t,r,o,"x","x"),y(t,r,o,"y","y"),y(t,r,o,"w","w"),y(t,r,o,"h","h"),f(t,r,o,"xMode","xMode"),f(t,r,o,"yMode","yMode"),f(t,r,o,"wMode","wMode"),f(t,r,o,"hMode","hMode"),Object.keys(o).length>0&&(s.manualLayout=o)}return s}}class nt{visit(t,e,s){return s.name=e.getAttribute("name"),s}}class lt extends Y{visit(t,e,s){const r={};r.name=e.getAttribute("name");const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1){let l=n.localName;const a=t.evaluate(l,e),c=this.processAdjColor(t,a);r[l]=c}}return Object.keys(r).length>0&&(s.colors=r),r}}class at{visit(t,e,s){const r={};r.name=e.getAttribute("name");const o=t.evaluate("majorFont",e),i=this.processFontElement(t,o,{});r.majorFont=i.family,i.fallbacks&&(r.majorFallbacks=i.fallbacks);const n=t.evaluate("minorFont",e),l=this.processFontElement(t,n,{});return r.minorFont=l.family,i.fallbacks&&(r.minorFallbacks=l.fallbacks),s.fonts=r,r}processFontElement(t,e,s){if(!e)return;const r=t.evaluate("latin",e);if(!r)return;const o=r.getAttribute("typeface");o&&(s.family=o);const i=r.getAttribute("panose");return i&&(s.fallbacks=[p.ct.getPanoseFallback(i)]),s}}class ct{visit(t,e,s){if(!e)return;const r={},o=e.getAttribute("r:id");if(o){const i=t.getRef(o);typeof i=="string"&&(r.address=i)}return t.copyFromAttribute(e,"tooltip",r),t.copyFromAttribute(e,"history",r,"history",t.BOOLEAN_COPY),t.copyFromAttribute(e,"tgtFrame",r,"target"),s.hyperlink=r,r}}class ut{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"ref",r),this.processFilterColumns(t,e,r),Object.keys(r).length>0&&(s.filter=r),r}processColorFilter(t,e){const s={type:p.iy.Type.Color};return t.copyFromAttribute(e,"cellColor",s,"cellColor",t.BOOLEAN_COPY),t.copyFromAttribute(e,"dxfId",s,"styleId",t.INT_COPY),s}processCustomFilter(t,e){const s={};return t.copyFromAttribute(e,"operator",s,"operator",t.BOOLEAN_COPY),t.copyFromAttribute(e,"val",s,"val"),s}processCustomFilters(t,e){const s={type:p.iy.Type.Custom};t.copyFromAttribute(e,"and",s,"and",t.BOOLEAN_COPY);const r=e.childNodes;s.filters=[];for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType!==1)continue;let n=null;i.localName==="customFilter"&&(n=this.processCustomFilter(t,i)),n&&s.filters.push(n)}return s}processDynamicFilter(t,e){const s={type:p.iy.Type.Dynamic};return t.copyFromAttribute(e,"type",s,"dynamicType"),t.copyFromAttribute(e,"val",s,"val",t.INT_COPY),t.copyFromAttribute(e,"maxVal",s,"maxVal",t.INT_COPY),s}processDateGroupItem(t,e){const s={};return t.copyFromAttribute(e,"dateTimeGrouping",s,"group"),t.copyFromAttribute(e,"day",s,"day",t.INT_COPY),t.copyFromAttribute(e,"hour",s,"hour",t.INT_COPY),t.copyFromAttribute(e,"minute",s,"minute",t.INT_COPY),t.copyFromAttribute(e,"month",s,"month",t.INT_COPY),t.copyFromAttribute(e,"second",s,"second",t.INT_COPY),t.copyFromAttribute(e,"year",s,"year",t.INT_COPY),s}processFilterItem(t,e){if(e.hasAttribute("val"))return e.getAttribute("val")}processFilters(t,e){const s={type:p.iy.Type.Items};t.copyFromAttribute(e,"blank",s,"blank",t.BOOLEAN_COPY),t.copyFromAttribute(e,"calendarType",s,"calendarType");let r=[],o=[];const i=e.childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1){if(l.localName==="dateGroupItem"){const a=this.processDateGroupItem(t,l);a&&r.push(a)}else if(l.localName==="filter"){const a=this.processFilterItem(t,l);a!==void 0&&o.push(a)}}}return r.length>0&&(s.dateGroups=r),o.length>0&&(s.items=o),s}processIcon(t,e){const s={type:p.iy.Type.Icon};return t.copyFromAttribute(e,"iconId",s,"iconId",t.INT_COPY),t.copyFromAttribute(e,"iconSet",s),s}processTop10(t,e){const s={type:p.iy.Type.Top10};return t.copyFromAttribute(e,"filterVal",s,"filterVal",t.FLOAT_COPY),t.copyFromAttribute(e,"percent",s,"percent",t.BOOLEAN_COPY),t.copyFromAttribute(e,"top",s,"top",t.BOOLEAN_COPY),t.copyFromAttribute(e,"val",s,"val",t.FLOAT_COPY),s}processFilterCriteria(t,e,s){if(!e)return;const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType!==1)continue;let l=null;n.localName==="colorFilter"?l=this.processColorFilter(t,n):n.localName==="customFilters"?l=this.processCustomFilters(t,n):n.localName==="dynamicFilter"?l=this.processDynamicFilter(t,n):n.localName==="filters"?l=this.processFilters(t,n):n.localName==="iconFilter"?l=this.processIcon(t,n):n.localName==="top10"&&(l=this.processTop10(t,n)),l&&o.push(l)}return o.length>0&&(s.criteria=o),o}processFilterColumn(t,e){if(!e)return null;const s={};if(!e.hasAttribute("colId"))return;s.offset=parseInt(e.getAttribute("colId"));let r=!1;return e.hasAttribute("hiddenButton")&&(r=g.b(e.getAttribute("hiddenButton"))),r&&(s.hiddenButton=!0),e.hasAttribute("showButton")&&(s.showButton=g.b(e.getAttribute("showButton"))),this.processFilterCriteria(t,e,s),s}processFilterColumns(t,e,s){if(!e)return;const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType===1&&n.localName==="filterColumn"){const l=this.processFilterColumn(t,n);l&&o.push(l)}}return o.length>0&&(s.fields=o),o}}class ht{visit(t,e,s){if(!e)return;const r={};if(t.copyFromAttribute(e,"ref",r),e.hasAttribute("caseSensitive")){const n=g.b(e.getAttribute("caseSensitive"));r.collatorOptions=n?p.pc.CaseSensitiveOptions:p.pc.CaseInsensitiveOptions}const o=e.getAttribute("sortMethod");o!=null&&o!=="none"&&(o==="stroke"?r.collatorOptions={...r.collatorOptions,collation:"stroke"}:o==="pinYin"&&(r.collatorOptions={...r.collatorOptions,collation:"pinyin"})),e.hasAttribute("columnSort")&&g.b(e.getAttribute("columnSort"))&&(r.orientation=p.q.Orientation.Column);const i=p.Sc.fastStringToRange(r.ref);return this.processSortConditions(t,e,r,i),Object.keys(r).length>0&&(s.sort=r),r}processSortCondition(t,e,s){if(!e)return null;const r={};if(e.hasAttribute("ref")){if(e.hasAttribute("ref")){const o=e.getAttribute("ref"),i=p.Sc.fastStringToRange(o);r.offset=s?i.colStart-s.colStart:i.colStart}return r.reverse=!1,e.hasAttribute("descending")&&(r.reverse=g.b(e.getAttribute("descending"))),t.copyFromAttribute(e,"sortBy",r,"sortOn"),t.copyFromAttribute(e,"dxfId",r),t.copyFromAttribute(e,"iconSet",r),t.copyFromAttribute(e,"customList",r),r}console.warn("no ref for sort conditional",t.getPath())}processSortConditions(t,e,s,r){if(!e)return;const o=e.childNodes,i=[];for(let n=0;n<o.length;n++){const l=o.item(n);if(l.nodeType===1&&l.localName==="sortCondition"){const a=this.processSortCondition(t,l,r);a&&i.push(a)}}return i.length>0&&(s.fields=i),i}}class U{visit(t,e,s){}processDataBarColor(t,e,s,r,o="dk1"){if(!e)return;const i=g.d(n=>e.getAttribute(n),o);return i&&(s[r]=i),s}processFonts(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;i<r.length;i++){const n=r.item(i);if(n.nodeType===1&&n.localName==="font"){const l={};this.processFont(t,n,l),s[o++]=l}}return s}processFont(t,e,s){t.getValAttrAsBoolean("b",e,!0)&&(s.weight=700),t.getValAttrAsBoolean("i",e,!0)&&(s.style=p.ct.Style.Italic),t.getValAttrAsBoolean("strike",e,!0)&&(s.strike=!0);const r=t.evaluate("u",e);if(r){const n=r.getAttribute("val");s.underline=n||p.ct.UnderlineStyle.Single}f(t,e,s,"vertAlign","verticalAlign"),s.verticalAlign==="superscript"?s.verticalAlign=p.ct.VerticalAlignment.Super:s.verticalAlign==="subscript"&&(s.verticalAlign=p.ct.VerticalAlignment.Sub),y(t,e,s,"sz","size");const o=t.evaluate("color",e);this.processDataBarColor(t,o,s,"fill"),s.fill||(s.fill="dk1"),f(t,e,s,"name","family"),f(t,e,s,"rFont","family");const i=t.evaluate("family",e);if(i){const n=i.getAttribute("val");if(n)switch(n){case"1":s.fallbacks=["serif"];break;case"2":s.fallbacks=["sans-serif"];break;case"3":s.fallbacks=["monospace"];break;case"4":s.fallbacks=["cursive"];break;case"5":s.fallbacks=["fantasy"]}}return f(t,e,s,"scheme","scheme"),A(t,e,s,"shadow","shadow",!0),A(t,e,s,"outline","outline",!0),t.getValAttrAsBoolean("condense",e,!0)&&(s.letterSpacing=-1),t.getValAttrAsBoolean("extend",e,!0)&&(s.letterSpacing=1),f(t,e,s,"charset","charset"),s}processFills(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="fill"&&this.processFill(t,n,s,o++)}return s}processFill(t,e,s,r){const o={type:p.Et.Type.None},i=e.childNodes;let n=!1;for(let l=0;!n&&l<i.length;l++){const a=i.item(l);a.nodeType===1&&(a.localName==="gradientFill"?(this.processGradientFill(t,a,o),n=!0):a.localName==="patternFill"&&(this.processPatternFill(t,a,o),n=!0))}return s[r]=o,s}processGradientFill(t,e,s){if(!e)return;s.type=p.Et.Type.Gradient;const r=[];s.stops=r,s.angle=90+(e.hasAttribute("degree")?parseFloat(e.getAttribute("degree")):0);const o=e.getAttribute("type");o&&(s.gradientType=o);const i=l=>{if(!l)return 0;const a=parseFloat(l);return isNaN(a)?0:a};(e.hasAttribute("left")||e.hasAttribute("top")||e.hasAttribute("right")||e.hasAttribute("bottom"))&&(s.fillTo={left:i(e.getAttribute("left")),top:i(e.getAttribute("top")),right:i(e.getAttribute("right")),bottom:i(e.getAttribute("bottom"))});const n=e.childNodes;for(let l=0;l<n.length;l++){const a=n.item(l);if(a.nodeType===1&&a.localName==="stop"){const c={};r.push(c);const h=parseFloat(a.getAttribute("position"));c.offset=h;const d=t.evaluate("color",a);this.processDataBarColor(t,d,c,"color")}}return s}processPatternFill(t,e,s){if(!e)return;const r=t.getVisitorParamsState().get("processingDXFs"),o=e.getAttribute("patternType")||(r?p.Et.BuiltInSheetPattern.Solid:p.Et.BuiltInSheetPattern.None);if(o===p.Et.BuiltInSheetPattern.None)return{none:!0};s.type=p.Et.Type.Pattern,o&&(s.patternType=o);let i,n="foreground",l="background";const a=s.patternType===p.Et.BuiltInSheetPattern.Solid&&r;if(a){i="lt1";const d=n;n=l,l=d}const c=t.evaluate("fgColor",e);this.processDataBarColor(t,c,s,n,i);const h=t.evaluate("bgColor",e);return this.processDataBarColor(t,h,s,l,i),a&&!s.foreground&&(s.foreground=i),s}processBorders(t,e,s,r){if(!e)return;const o=e.childNodes;let i=0;for(let n=0;n<o.length;n++){const l=o.item(n);l.nodeType===1&&l.localName==="border"&&this.processBorder(t,l,s,i++,r)}return s}processBorder(t,e,s,r,o){if(!e)return;const i={};return this.processBorderStroke(t,e,i,p.De.Edge.Left),this.processBorderStroke(t,e,i,p.De.Edge.Right),o?(i.right||i.left)&&(i.right?i.vertical={...i.right}:i.vertical={...i.left}):this.processBorderStroke(t,e,i,p.De.Edge.Vertical),this.processBorderStroke(t,e,i,p.De.Edge.Top),this.processBorderStroke(t,e,i,p.De.Edge.Bottom),o?(i.bottom||i.top)&&(i.right?i.horizontal={...i.bottom}:i.horizontal={...i.top}):this.processBorderStroke(t,e,i,p.De.Edge.Horizontal),s[r]=i,s}processBorderStroke(t,e,s,r){if(!e)return;const o=t.evaluate(r,e);if(!o)return;const i={};o.hasAttribute("style")&&(i.style=o.getAttribute("style"));const n=t.evaluate("color",o);return n&&this.processDataBarColor(t,n,i,"color"),Object.keys(i).length>0?s[r]=i:null}}class pt extends U{visit(t,e,s){this.processNumFmts(t,t.evaluate("numFmts",e),null),t.getVisitorParamsState().set("colorsToProcess",new Set);const r={fills:{},fonts:{},borders:{}};this.processFonts(t,t.evaluate("fonts",e),r.fonts),this.processFills(t,t.evaluate("fills",e),r.fills),this.processBorders(t,t.evaluate("borders",e),r.borders,!0),r.fills[0]={type:p.Et.Type.None},r.fills[1]={type:p.Et.Type.Pattern,patternType:p.Et.BuiltInSheetPattern.Gray125},r.borders[0]={};const o=[];this.processXFs(t,t.evaluate("cellStyleXfs",e),o,r,null,!1);const i=new Map;if(o.length>0){const a=[];this.processCellStyles(t,t.evaluate("cellStyles",e),a,o,i),s.named=a}const n=[];this.processXFs(t,t.evaluate("cellXfs",e),n,r,i),Object.keys(n).length>0&&(s.direct=n);const l=[];return this.processDXFs(t,t.evaluate("dxfs",e),l),this.processTableStyles(t,t.evaluate("tableStyles",e),s,l),this.processIndexColors(t,t.evaluate("colors/indexedColors",e),s),this.processMruColors(t,t.evaluate("colors/mruColors",e),s),s}processIndexColors(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="rgbColor"){const l={color:null};this.processDataBarColor(t,n,l,"color"),l.color&&r.push(l.color)}}s.indexedColors=r}processMruColors(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="color"){const l={color:null};this.processDataBarColor(t,n,l,"color"),l.color&&r.push(l.color)}}r.length>0&&(s.mruColors=r)}processNumFmts(t,e,s){if(!e)return;const r=new Map;if(t.getVisitorParamsState().set("numFmts",r),!e)return;const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="numFmt"){const l=n.getAttribute("numFmtId"),a=n.getAttribute("formatCode");if(l&&a){const c=a.replace(/\\(.)/g,"$1");r.set(parseInt(l),c)}}}}processXFs(t,e,s,r,o=null,i=!0){if(!e)return;const n=e.childNodes;for(let l=0;l<n.length;l++){const a=n.item(l);if(a.nodeType===1&&a.localName==="xf"){const c={};this.processXF(t,a,c,r,o,i),s.push(c)}}}processXF(t,e,s,r,o,i){if(!e)return;const n=e.getAttribute("xfId");if(n&&o){const c=o.get(parseInt(n));c&&c!==p.dt.BuiltInName.Normal&&(s.named=c)}const l=c=>!(!i&&e.hasAttribute(c))||g.b(e.getAttribute("applyFont"));if(l("applyFont")){const c=r.fonts[e.getAttribute("fontId")];c&&(s.font=c)}if(l("applyFill")){const c=r.fills[e.getAttribute("fillId")];c&&Object.keys(c).length>0&&(s.fill=c)}if(l("applyBorder")){const c=r.borders[e.getAttribute("borderId")];c&&Object.keys(c).length>0&&(s.border=c)}if(l("applyNumberFormat")){const c=e.getAttribute("numFmtId");if(c){const h=parseInt(c);let d;const m=t.getVisitorParamsState();if(m){const b=m.get("numFmts");b&&(d=b.get(h)),s.numberFormat=d??h}else console.warn("no visitor params state")}}l("applyAlignment")&&this.processAlignment(t,t.evaluate("alignment",e),s),l("applyProtection")&&this.processProtection(t,t.evaluate("protection",e),s);const a=g.b(e.getAttribute("quotePrefix"));a&&(s.quotePrefix=a)}processAlignment(t,e,s){const r={};if(e?.hasAttribute("horizontal")?r.horizontal=e.getAttribute("horizontal"):r.horizontal=p.Ae.HorizontalAlignment.General,e?.hasAttribute("vertical")?r.vertical=e.getAttribute("vertical"):r.vertical=p.Ae.VerticalAlignment.Bottom,e?.hasAttribute("indent")?r.indent=parseInt(e.getAttribute("indent")):r.indent=0,e?.hasAttribute("relativeIndent")?r.relativeIndent=parseInt(e.getAttribute("relativeIndent")):r.relativeIndent=0,g.b(e?.getAttribute("wrapText"))?r.overflow=p.Ae.Overflow.Wrap:r.overflow=p.Ae.Overflow.Visible,g.b(e?.getAttribute("shrinkToFit"))&&(r.overflow=p.Ae.Overflow.Shrink),e?.hasAttribute("textRotation")){let i=parseFloat(e.getAttribute("textRotation"));i>0&&i<=90?i=360-i:i>90&&i<=180?i-=90:i===255&&(i=0,r.stacked=!0),r.rotation=i}else r.rotation=0;e?.hasAttribute("justifyLastLine")&&(r.justifyLastLine=g.b(e.getAttribute("justifyLastLine")));const o=e?.getAttribute("readingOrder");return o&&(o==="0"?r.readingDirection=p.Ae.ReadingDirection.Auto:o==="1"?r.readingDirection=p.Ae.ReadingDirection.LeftToRight:o==="2"?r.readingDirection=p.Ae.ReadingDirection.RightToLeft:console.warn(`invalid readingOrder: ${o}`)),Object.keys(r).length>0&&(s.alignment=r),s}processProtection(t,e,s){if(!e)return;const r={},o=e.getAttribute("locked");o&&!g.b(o)&&(r.edit=!0);const i=e.getAttribute("hidden");return i&&g.b(i)&&(r.formulaHidden=!0),Object.keys(r).length>0&&(s.protection=r),s}processDXF(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="font"){const n={};this.processFont(t,i,n),s.font=n}else if(i.nodeType===1&&i.localName==="fill"){const n=[];this.processFill(t,i,n,0),n.length>0&&n[0]&&(s.fill=n[0])}else if(i.nodeType===1&&i.localName==="border"){const n=[];this.processBorder(t,i,n,0,!1),n.length>0&&n[0]&&(s.border=n[0])}}}processDXFs(t,e,s){if(!e)return;t.getVisitorParamsState().set("processingDXFs",!0);const r=new Map;t.getVisitorParamsState().set("dxfs",r);const o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="dxf"){const l={};this.processDXF(t,n,l);const a=s.length;r.set(a,l),s.push(l)}}t.getVisitorParamsState().delete("processingDXFs")}processTableStyle(t,e,s,r,o=!1){const i=e.getAttribute("name"),n={name:i};e.hasAttribute("table")&&(n.table=g.b(e.getAttribute("table"))),e.hasAttribute("pivot")&&(n.pivot=g.b(e.getAttribute("pivot"))),o&&!n.pivot&&r.unshift(null);const l=e.childNodes;for(let a=0;a<l.length;a++){const c=l.item(a);if(c.nodeType===1&&c.localName==="tableStyleElement"){const h=c.getAttribute("type"),d=c.getAttribute("dxfId");let m=r?.[d];m||(console.warn("invalid dfx id",d),m={}),n[h]=m;let b=null;c.hasAttribute("size")&&(b=parseInt(c.getAttribute("size"))),b&&!isNaN(b)&&(m.size=b)}}delete n.name,s[i]=n}processTableStyles(t,e,s,r,o){if(!e)return;const i={},n=e.getAttribute("defaultTableStyle");n&&(i.defaultTableStyle=n);const l=e.getAttribute("defaultPivotStyle");l&&(i.defaultPivotStyle=l);const a=e.childNodes,c={};for(let h=0;h<a.length;h++){const d=a.item(h);d.nodeType===1&&d.localName==="tableStyle"&&this.processTableStyle(t,d,c,r,o)}return Object.keys(c).length>0&&(i.styles=c),Object.keys(i).length>0&&(s.tables=i),s}processCellStyles(t,e,s,r,o){if(!e)return;const i=e.childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1&&l.localName==="cellStyle"){const a=parseInt(l.getAttribute("xfId")),c=l.getAttribute("name");if(o.set(a,c),!r[a])continue;const h={name:c,style:r[a]};l.getAttribute("hidden")&&(h.hidden=g.b(l.getAttribute("hidden"))),l.getAttribute("iLevel")&&(h.iLevel=parseInt(l.getAttribute("iLevel"))),s.push(h)}}}afterVisit(t,e,s){}}class gt extends U{visit(t,e,s){return this.processSheetRefs(t,t.evaluate("sheets",e),s),this.processBookViews(t,t.evaluate("bookViews",e),s),this.processDefinedNames(t,t.evaluate("definedNames",e),s),this.processCalcPr(t,t.evaluate("calcPr",e),s),this.processWorkbookProtection(t,t.evaluate("workbookProtection",e),s),this.processWorkbookPr(t,t.evaluate("workbookPr",e),s),s}processPassword(t,e,s,r="password"){if(!e)return;const o={};t.copyFromAttribute(e,"algorithmName",o,"algorithmName"),t.copyFromAttribute(e,"hashValue",o,"hashValue"),t.copyFromAttribute(e,"saltValue",o,"saltValue",t.BOOLEAN_COPY),t.copyFromAttribute(e,"spinCount",o,"spinCount",t.INT_COPY),Object.keys(o).length>0&&(s[r]=o)}processWorkbookProtection(t,e,s){if(!e)return;const r={};this.processPassword(t,t.evaluate("workbookPassword",e),r),this.processPassword(t,t.evaluate("revisionsPassword",e),r,"revisionsPassword");const o=i=>i!==!0&&i!=="1"&&i!=="on"&&i!=="true"&&(i===!1||i==="0"||i==="off"||i==="false"||null);return t.copyFromAttribute(e,"lockStructure",r,"structure",o),t.copyFromAttribute(e,"lockWindows",r,"windows",o),t.copyFromAttribute(e,"lockRevision",r,"revision",o),s.protection=r,s}processCalcPr(t,e,s){e&&(s.calc={})}processSheetRefs(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);n.nodeType===1&&n.localName==="sheet"&&this.processSheetRef(t,n,r)}s.sheets=r}processSheetRef(t,e,s){const r={};t.copyFromAttribute(e,"name",r,"name"),t.copyFromAttribute(e,"state",r,"visibility");const o=e.getAttribute("r:id"),i=t.getRef(o);i&&(r.sheet=i),s.push(r)}processBookViews(t,e,s){if(!e)return;const r=e.childNodes;let o=0;for(let i=0;o<1&&i<e.childNodes.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="workbookView"&&(this.processWorkbookView(t,n,s),o++)}}processWorkbookView(t,e,s){if(!e)return;const r={};t.copyFromAttribute(e,"activeTab",r,"activeSheetId",[t.INT_COPY,o=>o+1]),e.hasAttribute("activeTab")||(r.activeSheetId=1),t.copyFromAttribute(e,"showHorizontalScroll",r,"showHorizontalScrollbar",t.BOOLEAN_COPY),t.copyFromAttribute(e,"showVerticalScroll",r,"showVerticalScrollbar",t.BOOLEAN_COPY),t.copyFromAttribute(e,"showSheetTabs",r,"showTabs",t.BOOLEAN_COPY),t.copyFromAttribute(e,"tabRatio",r,"tabRatio",[t.FLOAT_COPY,o=>o]),Object.keys(r).length>0&&(s.view=r)}processDefineName(t,e,s,r){if(!e)return;const o={},i=e.firstChild;if(i&&i.nodeType===3&&(o.ref=i.textContent),t.copyFromAttribute(e,"name",o),t.copyFromAttribute(e,"comment",o),t.copyFromAttribute(e,"hidden",o,"hidden",t.BOOLEAN_COPY),e.hasAttribute("localSheetId")){const n=e.getAttribute("localSheetId");if(!r[n]?.name)return void console.warn(`Defined name '${e.getAttribute("name")}' references a sheet with localSheetId '${n}' which does not exist.`);o.scope=r[n].name}t.copyFromAttribute(e,"customMenu",o),t.copyFromAttribute(e,"description",o),t.copyFromAttribute(e,"statusBar",o),t.copyFromAttribute(e,"help",o),t.copyFromAttribute(e,"shortcutKey",o),t.copyFromAttribute(e,"function",o,"function",t.BOOLEAN_COPY),t.copyFromAttribute(e,"functionGroupId",o,"functionGroupId",t.INT_COPY),t.copyFromAttribute(e,"publishToServer",o,"publishToServer",t.BOOLEAN_COPY),t.copyFromAttribute(e,"vbProcedure",o,"vbProcedure",t.BOOLEAN_COPY),t.copyFromAttribute(e,"xlm",o,"xlm",t.BOOLEAN_COPY),Object.keys(o).length>0&&s.push(o)}processDefinedNames(t,e,s){if(!e)return;const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);n.nodeType===1&&n.localName==="definedName"&&this.processDefineName(t,n,r,s.sheets)}r.length>0&&(s.names=r)}processWorkbookPr(t,e,s){e&&t.copyFromAttribute(e,"date1904",s,"date1904",t.BOOLEAN_COPY)}afterVisit(t,e,s){}}class dt{visit(t,e,s){return t.copyFromAttribute(e,"name",s),t.copyFromAttribute(e,"displayName",s),t.copyFromAttribute(e,"ref",s),t.copyFromAttribute(e,"headerRowCount",s,"headerRowCount",t.INT_COPY),t.copyFromAttribute(e,"totalsRowCount",s,"totalsRowCount",t.INT_COPY),this.processTableColumns(t,e,s),this.processTableStyleInfo(t,e,s),s}processTableStyleInfo(t,e,s){if(!e)return;const r=e.childNodes,o={};for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="tableStyleInfo"&&(t.copyFromAttribute(n,"name",o),t.copyFromAttribute(n,"showColumnStripes",o,"showColumnStripes",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showFirstColumn",o,"showFirstColumn",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showLastColumn",o,"showLastColumn",t.BOOLEAN_COPY),t.copyFromAttribute(n,"showRowStripes",o,"showRowStripes",t.BOOLEAN_COPY))}Object.keys(o).length>0&&(s.styleOptions=o)}processTableColumn(t,e,s){if(!e)return null;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="tableColumn"){const n={};t.copyFromAttribute(i,"name",n),t.copyFromAttribute(i,"uniqueName",n),s.push(n)}}return s}processTableColumns(t,e,s){const r=e.childNodes,o=[];for(let i=0;i<r.length;i++){const n=r.item(i);n.nodeType===1&&n.localName==="tableColumns"&&this.processTableColumn(t,n,o)}o.length>0&&(s.columns=o)}}class mt{visit(t,e,s){return s}}class x{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"editAs",r,"anchorType"),r.anchor={},this.processOffsetCoord(t,t.evaluate("from",e),r.anchor,"from"),this.processOffsetCoord(t,t.evaluate("to",e),r.anchor,"to"),s.movables||(s.movables=[]),s.movables.push(r),r}processOffsetCoord(t,e,s,r){if(!e)return;const o={c:0,r:0,x:0,y:0};return t.evaluate("col",e)&&(o.c=parseInt(t.evaluate("col",e).textContent)),t.evaluate("row",e)&&(o.r=parseInt(t.evaluate("row",e).textContent)),t.evaluate("colOff",e)&&(o.x=g.c(t.evaluate("colOff",e).textContent)),t.evaluate("rowOff",e)&&(o.y=g.c(t.evaluate("rowOff",e).textContent)),r==="from"?s.tl=o:s.br=o,s}}class I{visit(t,e,s){if(!e)return;const r=t.evaluate("*/cNvPr",e);return r&&(t.copyFromAttribute(r,"name",s),t.copyFromAttribute(r,"desc",s),t.copyFromAttribute(r,"hidden",s,"hidden",t.BOOLEAN_COPY),t.copyFromAttribute(r,"id",s)),s}}class bt extends I{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvGraphicFramePr/cNvGraphicFramePr",e);if(r){const n=t.evaluate("graphicFrameLocks",r);if(n){n.hasAttribute("noChangeAspect")&&(s.lockAspect=n.getAttribute("noChangeAspect")==="1");const l={};Object.keys(l).length>0&&(s.locks=l)}}let o={type:"graphicFrame",json:{}};const i=t.evaluate("graphic/graphicData",e).childNodes;for(let n=0;n<i.length;n++){const l=i.item(n);if(l.nodeType===1)try{let a=l.localName;a==="chart"&&(a="chart"),o.type=a;const c=l.getAttribute("r:id");c&&(o.json=t.getRef(c))}catch(a){console.warn("Unable to parse graphicFrame",a)}}return o&&(s.content=o),o}}class B extends I{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvSpPr/cNvSpPr",e);if(r){const i=t.evaluate("spLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', shapes are not supported.`);const o={};return s.content={type:"sp",json:o},o}}class At extends I{visit(t,e,s){if(!e)return;const r=super.visit(t,e,s),o=t.evaluate("nvPicPr/cNvPicPr",e);if(o){t.copyFromAttribute(e,"preferRelativeResize",r,"preferRelativeResize",t.BOOLEAN_COPY);const a=t.evaluate("picLocks",o);if(a){a.hasAttribute("noChangeAspect")&&(r.lockAspect=a.getAttribute("noChangeAspect")==="1");const c={};t.copyFromAttribute(a,"noChangeArrowheads",r,"noChangeArrowheads",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noChangeShapeType",r,"noChangeShapeType",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noEditPoints",r,"noEditPoints",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noAdjustHandles",r,"noAdjustHandles",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noCrop",r,"noCrop",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noGrp",r,"noGrp",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noMove",r,"noMove",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noResize",r,"noResize",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noRot",r,"noRot",t.BOOLEAN_COPY),t.copyFromAttribute(a,"noSelect",r,"noSelect",t.BOOLEAN_COPY),Object.keys(c).length>0&&(r.locks=c)}}const i=t.evaluate("blipFill/blip",e);let n;if(i){const a=i.getAttribute("r:embed")??i.getAttribute("embed");if(!a)return void console.warn("no rId found for blip",i);n=t.getRef(a,!0)}const l={resId:n};return s.content={type:"picture",json:l},r}}class ft extends B{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvGrpSpPr/cNvGrpSpPr",e);if(r){const i=t.evaluate("grpSpLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', group shapes are not supported.`);const o={};return s.content={type:"grpSp",json:o},o}}class yt extends B{visit(t,e,s){if(!e)return;s=super.visit(t,e,s);const r=t.evaluate("nvCxnSpPr/cNvCxnSpPr",e);if(r){const i=t.evaluate("cxnSpLocks",r);if(i){i.hasAttribute("noChangeAspect")&&(s.lockAspect=i.getAttribute("noChangeAspect")==="1");const n={};Object.keys(n).length>0&&(s.locks=n)}}t.warn(`Unable to import '${s.name}', connection shapes are not supported.`);const o={};return s.content={type:"cxnSp",json:o},o}}const _="richTypes";class vt{visit(t,e,s){let r=t.getVisitorParamsState().get(_);r||(r=[],t.getVisitorParamsState().set(_,r));const o=e.childNodes,i=o.length;for(let n=0;n<i;n++){const l=o.item(n);if(l.nodeType===1&&l.localName==="s"){const a={type:l.getAttribute("t")??"n",keys:[]};this.processKeys(t,l,a),r.push(a)}}return s.richTypes=r,r}processKeys(t,e,s){const r=e.childNodes,o=r.length,i=s.keys;for(let n=0;n<o;n++){const l=r.item(n);if(l.nodeType===1&&l.localName==="k"){const a=l.getAttribute("n"),c=l.getAttribute("t");i.push([a,c])}}}}const j="richData";class Ft{visit(t,e,s){let r=t.getVisitorParamsState().get("richTypes");if(!r)return void t.warn("RichValueFound but not type.");let o=t.getVisitorParamsState().get(j);o||(o=[],t.getVisitorParamsState().set(j,o));const i=e.childNodes,n=i.length;for(let l=0;l<n;l++){const a=i.item(l);if(a.nodeType===1&&a.localName==="rv"){const c=r[a.getAttribute("s")],h={type:c.type};this.processValues(t,a,h,c);const d=this.mapType(t,h);o.push(d)}}return s.richData=o,o}mapType(t,e){if(e.type==="_error"){const s=e.errorType;if(s)try{e=p.Mt.getBuiltInById(s+1)}catch{}}return e}processValues(t,e,s,r){const o=e.childNodes,i=o.length;r.type;const n=r.keys;for(let l=0;l<i;l++){const a=o.item(l);if(a.nodeType===1&&a.localName==="v"){const c=n[l];if(!c)return void t.warn("Invalid richData");const h=c[0],d=c[1];let m=a.textContent;d==="i"&&(m=Number(m)),s[h]=m}}}}class Ct{visit(t,e,s){if(!e)return;const r=[];return this.processAuthors(t,t.evaluate("authors",e),r),r.length>0&&(s.authors=r),s.comments=[],s}processAuthors(t,e,s){if(!e)return;const r=e.childNodes;for(let o=0;o<r.length;o++){const i=r.item(o);if(i.nodeType===1&&i.localName==="author"){const n=i.firstChild;n&&n.nodeType===3&&s.push(n.textContent)}}}}class wt{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"ref",r),t.copyFromAttribute(e,"authorId",r,"authorId",t.INT_COPY),r.asNote=!0,s.comments||(s.comments=[]),s.comments.push(r),r}}class Pt{visit(t,e,s){if(!e)return;const r=[];return s.comments=r,r}}class Nt{visit(t,e,s){if(!e)return;const r={};return t.copyFromAttribute(e,"id",r,"id",g.r),t.copyFromAttribute(e,"personId",r,"personId",g.r),t.copyFromAttribute(e,"ref",r),t.copyFromAttribute(e,"parentId",r,"parentId",g.r),t.copyFromAttribute(e,"dT",r),e.hasAttribute("done")&&(r.done=g.b(e.getAttribute("done"))),s.push(r),r}}class Ot{visit(t,e,s){const r=[],o=e.childNodes;for(let i=0;i<o.length;i++){const n=o.item(i);if(n.nodeType===1&&n.localName==="person"){const l={};t.copyFromAttribute(n,"id",l,"id",g.r),t.copyFromAttribute(n,"displayName",l),t.copyFromAttribute(n,"userId",l,"userId",g.r),t.copyFromAttribute(n,"providerId",l),r.push(l)}}return r.length>0&&(s.persons=r),r}}const Tt={};class St{constructor(t,e){this.path=t,this.visitor=e}}class R{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor("Relationships",new K),this.registerVisitor("spPr",new L),this.registerVisitor("txBody",new F),this.registerVisitor("txPr",new F),this.registerVisitor("c:chartSpace",new q),this.registerVisitor("c:chartSpace",new H,"chart"),this.registerVisitor("c:plotArea",new J),this.registerVisitor("c:barChart",new Q),this.registerVisitor("c:doughnutChart",new N),this.registerVisitor("c:lineChart",new N),this.registerVisitor("c:ofPieType",new N),this.registerVisitor("c:pieChart",new N),this.registerVisitor("c:scatterChart",new N),this.registerVisitor("c:barChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:doughnutChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:lineChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:ofPieType",new w("dataLabels"),"dLbls"),this.registerVisitor("c:pieChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:scatterChart",new w("dataLabels"),"dLbls"),this.registerVisitor("c:ser",new Z),this.registerVisitor("c:dPt",new tt),this.registerVisitor("c:marker",new et),this.registerVisitor("c:catAx",new k),this.registerVisitor("c:valAx",new k),this.registerVisitor("c:dateAx",new k),this.registerVisitor("c:majorGridlines",new V("gridLinesMajor")),this.registerVisitor("c:minorGridlines",new V("gridLinesMinor")),this.registerVisitor("c:chartSpace",null,"txPr"),this.registerVisitor("c:catAx",new F("labels.text"),"txPr"),this.registerVisitor("c:valAx",new F("labels.text"),"txPr"),this.registerVisitor("c:dateAx",new F("labels.text"),"txPr"),this.registerVisitor("c:legend",new st),this.registerVisitor("c:legend",new F("labels.text"),"txPr"),this.registerVisitor("c:legendEntry",new rt),this.registerVisitor("c:ser",new ot,"extLst/ext/invertSolidFillFmt/spPr"),this.registerVisitor("c:ser",new w("labels"),"dLbls"),this.registerVisitor("c:dLbl",new w("points")),this.registerVisitor("c:title",new E),this.registerVisitor("c:title",null,"tx/rich"),this.registerVisitor("c:title",null,"txPr"),this.registerVisitor("c:layout",new it),this.registerVisitor("c:dispUnits",new V("dispUnits")),this.registerVisitor("c:dispUnitsLbl",new E("displayUnitsLabel")),this.registerVisitor("c:dispUnitsLbl",new F,"tx/rich"),this.registerVisitor("a:theme",new nt),this.registerVisitor("a:theme",new lt,"themeElements/clrScheme"),this.registerVisitor("a:theme",new at,"themeElements/fontScheme"),this.registerVisitor("autoFilter",new ut),this.registerVisitor("sortState",new ht),this.registerVisitor("s:workbook",new gt),this.registerVisitor("styleSheet",new pt),this.registerVisitor("table",new dt),this.registerVisitor("hlinkClick",new ct),this.registerVisitor("wsDr",new mt),this.registerVisitor("twoCellAnchor",new x),this.registerVisitor("oneCellAnchor",new x),this.registerVisitor("absoluteAnchor",new x),this.registerVisitor("graphicFrame",new bt),this.registerVisitor("sp",new B),this.registerVisitor("grpSp",new ft),this.registerVisitor("cxnSp",new yt),this.registerVisitor("pic",new At),this.registerVisitor("rvStructures",new vt),this.registerVisitor("rvData",new Ft),this.registerVisitor("comments",new Ct),this.registerVisitor("commentList",new wt,"comment"),this.registerVisitor("comment",new F("content"),"text"),this.registerVisitor("ThreadedComments",new Pt),this.registerVisitor("threadedComment",new Nt),this.registerVisitor("threadedComment",new F("content"),"text"),this.registerVisitor("personList",new Ot)}registerVisitor(t,e,s=null){t.indexOf(":")===-1&&(t="*:"+t);const r=t.split(":"),o=r.length>1?r[1]:r[0];if(!s)return this.visitorsByXmlTagName.set(o,e),void this.visitorsByXmlTagName.set(t,e);let i=this.scopedVisitorsByXmlTagName.get(o);i||(i=[],this.scopedVisitorsByXmlTagName.set(o,i),this.scopedVisitorsByXmlTagName.set(t,i)),i.push(new St(s,e))}getVisitorParamsState(){return this.visitorParamsState}convert(t,e,s=Tt){const r=t.documentElement;this.visitorParamsState&&!s?.paramMap||(this.visitorParamsState=s?.paramMap??new Map);const o={};let i=this.visitorsByXmlTagName.get(r.nodeName);if(i||(i=this.visitorsByXmlTagName.get(r.localName)),!i)throw new Error(`A visitor for the root element: '${r.nodeName}' or '${r.localName}' must be registered.`);const n="/"+r.localName,l=new S(null,this,n,r,o,e,s),a=[];this._doWalk(i,l,a,r,o,e,s);for(let c=0;c<a.length;c++){const h=a[c];try{h.visitor?.afterVisit?.(h.context,h.elemParent,h.jsonParent)}catch(d){console.warn(`Error in afterVisit: ${h.context.getPath()}`,d)}}return o}_walkScoped(t,e,s,r,o,i,n){const l=this.scopedVisitorsByXmlTagName.get(t);for(let a=0;l&&a<l.length;a++){const c=l[a];let h=null;try{h=e.evaluate(c.path,r)}catch{console.warn(`"Invalid path '${c.path}' for '${t}'.`)}if(!h)continue;const d=m=>{let b=m.localName,v=m.parentNode;for(;v&&v!==r;)b=v.localName+"/"+b,v=v.parentNode;const P=e.getPath()+"/"+b;if(c.visitor){const T=new S(e,this,P,e.getElemRoot(),e.getJsonRoot(),i,n);this._doWalk(c.visitor,T,s,m,o,i,n)}};if(h.length>0){const m=h;for(let b=0;b<m.length;b++)d(m.item(b))}else d(h)}}_doWalk(t,e,s,r,o,i,n){let l=null;t&&(s.push({visitor:t,context:e,elemParent:r,jsonParent:o}),l=t.visit(e,r,o)),l||(l=o);const a=r.localName;this._walkScoped(a,e,s,r,l,i,n);const c=r.childNodes;for(let h=0;h<c.length;h++){const d=c.item(h);if(d.nodeType===1){const m=d,b=m.localName,v=this.visitorsByXmlTagName.get(b),P=e.getPath()+"/"+b,T=new S(e,this,P,e.getElemRoot(),e.getJsonRoot(),i,n);this._doWalk(v,T,s,m,l??o,i,n)}}return l}}exports.FromOOXMLConverter=R,exports.default=R;
@@ -1,21 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/**
7
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
8
- *
9
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
- * License: The license can be found at https://www.sheetxl.com/license.
11
- *//**
12
- * @license @sheetxl/io - IO - Import/Export Libraries for SheetXL. - v0.3.0
13
- *
14
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
- * License: The license can be found at https://www.sheetxl.com/license.
16
- */var nr,L={},ne={};function ze(){if(nr)return ne;function A(i,m){return m===void 0&&(m=Object),m&&typeof m.getOwnPropertyDescriptors=="function"&&(i=m.create(null,m.getOwnPropertyDescriptors(i))),m&&typeof m.freeze=="function"?m.freeze(i):i}function O(i,m){return Object.prototype.hasOwnProperty.call(i,m)}nr=1;var D=A({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),P=A({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),g=A({script:!1,style:!1,textarea:!0,title:!0});function h(i){return i===Q.HTML}var Q=A({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),ee=Object.keys(Q).map(function(i){return Q[i]}),$=A({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return ne.assign=function(i,m){if(i===null||typeof i!="object")throw new TypeError("target is not an object");for(var u in m)O(m,u)&&(i[u]=m[u]);return i},ne.find=function(i,m,u){if(u===void 0&&(u=Array.prototype),i&&typeof u.find=="function")return u.find.call(i,m);for(var ie=0;ie<i.length;ie++)if(O(i,ie)){var U=i[ie];if(m.call(void 0,U,ie,i))return U}},ne.freeze=A,ne.HTML_BOOLEAN_ATTRIBUTES=D,ne.HTML_RAW_TEXT_ELEMENTS=g,ne.HTML_VOID_ELEMENTS=P,ne.hasDefaultHTMLNamespace=function(i){return h(i)||i===Q.XML_XHTML_APPLICATION},ne.hasOwn=O,ne.isHTMLBooleanAttribute=function(i){return O(D,i.toLowerCase())},ne.isHTMLRawTextElement=function(i){var m=i.toLowerCase();return O(g,m)&&!g[m]},ne.isHTMLEscapableRawTextElement=function(i){var m=i.toLowerCase();return O(g,m)&&g[m]},ne.isHTMLMimeType=h,ne.isHTMLVoidElement=function(i){return O(P,i.toLowerCase())},ne.isValidMimeType=function(i){return ee.indexOf(i)>-1},ne.MIME_TYPE=Q,ne.NAMESPACE=$,ne}var or,Xe={};function er(){if(or)return Xe;function A(i,m){i.prototype=Object.create(Error.prototype,{constructor:{value:i},name:{value:i.name,enumerable:!0,writable:m}})}or=1;var O=ze().freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),D=Object.keys(O);function P(i){return typeof i=="number"&&i>=1&&i<=25}function g(i,m){var u;P(i)?(this.name=D[i],this.message=m||""):(this.message=i,this.name=typeof(u=m)=="string"&&u.substring(u.length-O.Error.length)===O.Error?m:O.Error),Error.captureStackTrace&&Error.captureStackTrace(this,g)}A(g,!0),Object.defineProperties(g.prototype,{code:{enumerable:!0,get:function(){var i=D.indexOf(this.name);return P(i)?i:0}}});for(var h={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},Q=Object.entries(h),ee=0;ee<Q.length;ee++)g[Q[ee][0]]=Q[ee][1];function $(i,m){this.message=i,this.locator=m,Error.captureStackTrace&&Error.captureStackTrace(this,$)}return A($),Xe.DOMException=g,Xe.DOMExceptionName=O,Xe.ExceptionCode=h,Xe.ParseError=$,Xe}var ar,ir,z={},C={};function fr(){if(ar)return C;function A(I){try{typeof I!="function"&&(I=RegExp);var R=new I("𝌆","u").exec("𝌆");return!!R&&R[0].length===2}catch{}return!1}ar=1;var O=A();function D(I){if(I.source[0]!=="[")throw new Error(I+" can not be used with chars");return I.source.slice(1,I.source.lastIndexOf("]"))}function P(I,R){if(I.source[0]!=="[")throw new Error("/"+I.source+"/ can not be used with chars_without");if(!R||typeof R!="string")throw new Error(JSON.stringify(R)+" is not a valid search");if(I.source.indexOf(R)===-1)throw new Error('"'+R+'" is not is /'+I.source+"/");if(R==="-"&&I.source.indexOf(R)!==1)throw new Error('"'+R+'" is not at the first postion of /'+I.source+"/");return new RegExp(I.source.replace(R,""),O?"u":"")}function g(I){var R=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(ce){var ye=typeof ce=="string";if(ye&&R===void 0&&ce==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return ye?ce:ce.source}).join(""),O?"mu":"m")}function h(I){if(arguments.length===0)throw new Error("no parameters provided");return g.apply(h,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var Q=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;O&&(Q=g("[",D(Q),"\\u{10000}-\\u{10FFFF}","]"));var ee=/[\x20\x09\x0D\x0A]/,$=D(ee),i=g(ee,"+"),m=g(ee,"*"),u=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;O&&(u=g("[",D(u),"\\u{10000}-\\u{10FFFF}","]"));var ie=g("[",D(u),D(/[-.0-9\xB7]/),D(/[\u0300-\u036F\u203F-\u2040]/),"]"),U=g(u,ie,"*"),J=g(ie,"+"),He=g("&",U,";"),Ve=h(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),ue=h(He,"|",Ve),se=g("%",U,";"),be=h(g('"',h(/[^%&"]/,"|",se,"|",ue),"*",'"'),"|",g("'",h(/[^%&']/,"|",se,"|",ue),"*","'")),pe=h('"',h(/[^<&"]/,"|",ue),"*",'"',"|","'",h(/[^<&']/,"|",ue),"*","'"),a=g(P(u,":"),P(ie,":"),"*"),s=g(a,h(":",a),"?"),S=g("^",s,"$"),k=g("(",s,")"),B=h(/"[^"]*"|'[^']*'/),W=g(/^<\?/,"(",U,")",h(i,"(",Q,"*?)"),"?",/\?>/),le=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,X=h('"',le,'*"',"|","'",P(le,"'"),"*'"),we="<!--",ge=g(we,h(P(Q,"-"),"|",g("-",P(Q,"-"))),"*","-->"),Ne="#PCDATA",Ae=h(g(/\(/,m,Ne,h(m,/\|/,m,s),"*",m,/\)\*/),"|",g(/\(/,m,Ne,m,/\)/)),de=h("EMPTY","|","ANY","|",Ae,"|",g(/\([^>]+\)/,/[?*+]?/)),Qe=g("<!ELEMENT",i,h(s,"|",se),i,h(de,"|",se),m,">"),H=g("NOTATION",i,/\(/,m,U,h(m,/\|/,m,U),"*",m,/\)/),Be=g(/\(/,m,J,h(m,/\|/,m,J),"*",m,/\)/),_e=h(H,"|",Be),F=h(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",_e),he=h(/#REQUIRED|#IMPLIED/,"|",h(h("#FIXED",i),"?",pe)),Oe=g("<!ATTLIST",i,U,h(i,U,i,F,i,he),"*",m,">"),fe="about:legacy-compat",c=h('"'+fe+'"',"|","'"+fe+"'"),f="SYSTEM",N="PUBLIC",l=h(h(f,i,B),"|",h(N,i,X,i,B)),y=g("^",h(h(f,i,"(?<SystemLiteralOnly>",B,")"),"|",h(N,i,"(?<PubidLiteral>",X,")",i,"(?<SystemLiteral>",B,")"))),d=h(i,"NDATA",i,U),T="<!ENTITY",b=g(T,i,U,i,h(be,"|",h(l,d,"?")),m,">"),w=h(be,"|",l),v=h(b,"|",g(T,i,"%",i,U,i,w,m,">")),p=g(N,i,X),q=g("<!NOTATION",i,U,i,h(l,"|",p),m,">"),x=g(m,"=",m),K=/1[.]\d+/,me=g(i,"version",x,h("'",K,"'","|",'"',K,'"')),ve=/[A-Za-z][-A-Za-z0-9._]*/,G=g(/^<\?xml/,me,h(i,"encoding",x,h('"',ve,'"',"|","'",ve,"'")),"?",h(i,"standalone",x,h("'",h("yes","|","no"),"'","|",'"',h("yes","|","no"),'"')),"?",m,/\?>/),oe=g(Q,"*?",/\]\]>/),Z=g(/<!\[CDATA\[/,oe);return C.chars=D,C.chars_without=P,C.detectUnicodeSupport=A,C.reg=g,C.regg=h,C.ABOUT_LEGACY_COMPAT=fe,C.ABOUT_LEGACY_COMPAT_SystemLiteral=c,C.AttlistDecl=Oe,C.CDATA_START="<![CDATA[",C.CDATA_END="]]>",C.CDSect=Z,C.Char=Q,C.Comment=ge,C.COMMENT_START=we,C.COMMENT_END="-->",C.DOCTYPE_DECL_START="<!DOCTYPE",C.elementdecl=Qe,C.EntityDecl=v,C.EntityValue=be,C.ExternalID=l,C.ExternalID_match=y,C.Name=U,C.NotationDecl=q,C.Reference=ue,C.PEReference=se,C.PI=W,C.PUBLIC=N,C.PubidLiteral=X,C.QName=s,C.QName_exact=S,C.QName_group=k,C.S=i,C.SChar_s=$,C.S_OPT=m,C.SYSTEM=f,C.SystemLiteral=B,C.UNICODE_REPLACEMENT_CHARACTER="�",C.UNICODE_SUPPORT=O,C.XMLDecl=G,C}function hr(){if(ir)return z;ir=1;var A=ze(),O=A.find,D=A.hasDefaultHTMLNamespace,P=A.hasOwn,g=A.isHTMLMimeType,h=A.isHTMLRawTextElement,Q=A.isHTMLVoidElement,ee=A.MIME_TYPE,$=A.NAMESPACE,i=Symbol(),m=er(),u=m.DOMException,ie=m.DOMExceptionName,U=fr();function J(e){if(e!==i)throw new TypeError("Illegal constructor")}function He(e){return e!==""}function Ve(e,r){return P(e,r)||(e[r]=!0),e}function ue(e){if(!e)return[];var r,t=(r=e)?r.split(/[\t\n\f\r ]+/).filter(He):[];return Object.keys(t.reduce(Ve,{}))}function se(e){if(!U.QName_exact.test(e))throw new u(u.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function be(e,r){se(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var o=r.split(":");t=o[0],n=o[1]}if(t!==null&&e===null)throw new u(u.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==A.NAMESPACE.XML)throw new u(u.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==A.NAMESPACE.XMLNS)throw new u(u.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===A.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new u(u.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[e,t,n]}function pe(e,r){for(var t in e)P(e,t)&&(r[t]=e[t])}function a(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,pe(t,n=new n),e.prototype=t=n}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e)}var s={},S=s.ELEMENT_NODE=1,k=s.ATTRIBUTE_NODE=2,B=s.TEXT_NODE=3,W=s.CDATA_SECTION_NODE=4,le=s.ENTITY_REFERENCE_NODE=5,X=s.ENTITY_NODE=6,we=s.PROCESSING_INSTRUCTION_NODE=7,ge=s.COMMENT_NODE=8,Ne=s.DOCUMENT_NODE=9,Ae=s.DOCUMENT_TYPE_NODE=10,de=s.DOCUMENT_FRAGMENT_NODE=11,Qe=s.NOTATION_NODE=12,H=A.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function Be(e,r){if(r.length<e.length)return Be(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n]}return t}function _e(e){return e.guid||(e.guid=Math.random()),e.guid}function F(){}function he(e,r){this._node=e,this._refresh=r,Oe(this)}function Oe(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(Ze(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)P(e,n)&&delete e[n];pe(t,e),e._inc=r}}function fe(){}function c(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++}}function f(e,r,t){var n=c(r,t);if(n>=0){for(var o=r.length-1;n<=o;)r[n]=r[++n];if(r.length=o,e){var E=e.ownerDocument;E&&b(E,e,t),t.ownerElement=null}}}function N(){}function l(e){J(e)}function y(e){return(e=="<"?"&lt;":e==">"&&"&gt;")||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}function d(e,r){if(r(e))return!0;if(e=e.firstChild)do if(d(e,r))return!0;while(e=e.nextSibling)}function T(e,r){J(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||ee.XML_APPLICATION,this.type=g(this.contentType)?"html":"xml"}function b(e,r,t,n){e&&e._inc++,t.namespaceURI===$.XMLNS&&delete r._nsMap[t.prefix?t.localName:""]}function w(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else{for(var o=r.firstChild,E=0;o;)n[E++]=o,o=o.nextSibling;n.length=E,delete n[n.length]}}}function v(e,r){if(e!==r.parentNode)throw new u(u.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,w(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function p(e){return e&&e.nodeType===l.DOCUMENT_TYPE_NODE}function q(e){return e&&e.nodeType===l.ELEMENT_NODE}function x(e){return e&&e.nodeType===l.TEXT_NODE}function K(e,r){var t=e.childNodes||[];if(O(t,q)||p(r))return!1;var n=O(t,p);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function me(e,r){var t=e.childNodes||[];if(O(t,function(o){return q(o)&&o!==r}))return!1;var n=O(t,p);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function ve(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===l.DOCUMENT_FRAGMENT_NODE){var E=o.filter(q);if(E.length>1||O(o,x))throw new u(u.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(E.length===1&&!K(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(q(r)&&!K(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(p(r)){if(O(n,p))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var M=O(n,q);if(t&&n.indexOf(M)<n.indexOf(t))throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&M)throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function G(e,r,t){var n=e.childNodes||[],o=r.childNodes||[];if(r.nodeType===l.DOCUMENT_FRAGMENT_NODE){var E=o.filter(q);if(E.length>1||O(o,x))throw new u(u.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(E.length===1&&!me(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(q(r)&&!me(e,t))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(p(r)){if(O(n,function(_){return p(_)&&_!==t}))throw new u(u.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var M=O(n,q);if(t&&n.indexOf(M)<n.indexOf(t))throw new u(u.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function oe(e,r,t,n){(function(V,j,Y){if(!(Ee=V)||Ee.nodeType!==l.DOCUMENT_NODE&&Ee.nodeType!==l.DOCUMENT_FRAGMENT_NODE&&Ee.nodeType!==l.ELEMENT_NODE)throw new u(u.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+V.nodeType);var Ee,te;if(Y&&Y.parentNode!==V)throw new u(u.NOT_FOUND_ERR,"child not in parent");if(!(te=j)||te.nodeType!==l.CDATA_SECTION_NODE&&te.nodeType!==l.COMMENT_NODE&&te.nodeType!==l.DOCUMENT_FRAGMENT_NODE&&te.nodeType!==l.DOCUMENT_TYPE_NODE&&te.nodeType!==l.ELEMENT_NODE&&te.nodeType!==l.PROCESSING_INSTRUCTION_NODE&&te.nodeType!==l.TEXT_NODE||p(j)&&V.nodeType!==l.DOCUMENT_NODE)throw new u(u.HIERARCHY_REQUEST_ERR,"Unexpected node type "+j.nodeType+" for parent node type "+V.nodeType)})(e,r,t),e.nodeType===l.DOCUMENT_NODE&&(n||ve)(e,r,t);var o=r.parentNode;if(o&&o.removeChild(r),r.nodeType===de){var E=r.firstChild;if(E==null)return r;var M=r.lastChild}else E=M=r;var _=t?t.previousSibling:e.lastChild;E.previousSibling=_,M.nextSibling=t,_?_.nextSibling=E:e.firstChild=E,t==null?e.lastChild=M:t.previousSibling=M;do E.parentNode=e;while(E!==M&&(E=E.nextSibling));return w(e.ownerDocument||e,e,r),r.nodeType==de&&(r.firstChild=r.lastChild=null),r}function Z(e){J(e),this._nsMap=Object.create(null)}function I(e){J(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function R(e){J(e)}function ce(e){J(e)}function ye(e){J(e)}function Ce(e){J(e)}function re(e){J(e)}function xe(e){J(e)}function Le(e){J(e)}function De(e){J(e)}function Me(e){J(e)}function Re(e){J(e)}function Fe(){}function We(e){var r=[],t=this.nodeType===Ne&&this.documentElement||this,n=t.prefix,o=t.namespaceURI;if(o&&n==null&&(n=t.lookupPrefix(o))==null)var E=[{namespace:o,prefix:null}];return Se(this,r,e,E),r.join("")}function ae(e,r,t){var n=e.prefix||"",o=e.namespaceURI;if(!o||n==="xml"&&o===$.XML||o===$.XMLNS)return!1;for(var E=t.length;E--;){var M=t[E];if(M.prefix===n)return M.namespace!==o}return!0}function qe(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,y),'"')}function Se(e,r,t,n){n||(n=[]);var o=(e.nodeType===Ne?e:e.ownerDocument).type==="html";if(t){if(!(e=t(e)))return;if(typeof e=="string")return void r.push(e)}switch(e.nodeType){case S:var E=e.attributes,M=E.length,_=e.firstChild,V=e.tagName,j=V;if(!o&&!e.prefix&&e.namespaceURI){for(var Y,Ee=0;Ee<E.length;Ee++)if(E.item(Ee).name==="xmlns"){Y=E.item(Ee).value;break}if(!Y){for(var te=n.length-1;te>=0;te--)if((Te=n[te]).prefix===""&&Te.namespace===e.namespaceURI){Y=Te.namespace;break}}if(Y!==e.namespaceURI)for(te=n.length-1;te>=0;te--){var Te;if((Te=n[te]).namespace===e.namespaceURI){Te.prefix&&(j=Te.prefix+":"+V);break}}}r.push("<",j);for(var Ue=0;Ue<M;Ue++)(Ie=E.item(Ue)).prefix=="xmlns"?n.push({prefix:Ie.localName,namespace:Ie.value}):Ie.nodeName=="xmlns"&&n.push({prefix:"",namespace:Ie.value});for(Ue=0;Ue<M;Ue++){var Ie,Ge,Ke;ae(Ie=E.item(Ue),0,n)&&(qe(r,(Ge=Ie.prefix||"")?"xmlns:"+Ge:"xmlns",Ke=Ie.namespaceURI),n.push({prefix:Ge,namespace:Ke})),Se(Ie,r,t,n)}V===j&&ae(e,0,n)&&(qe(r,(Ge=e.prefix||"")?"xmlns:"+Ge:"xmlns",Ke=e.namespaceURI),n.push({prefix:Ge,namespace:Ke}));var rr=!_;if(rr&&(o||e.namespaceURI===$.HTML)&&(rr=Q(V)),rr)r.push("/>");else{if(r.push(">"),o&&h(V))for(;_;)_.data?r.push(_.data):Se(_,r,t,n.slice()),_=_.nextSibling;else for(;_;)Se(_,r,t,n.slice()),_=_.nextSibling;r.push("</",j,">")}return;case Ne:case de:for(_=e.firstChild;_;)Se(_,r,t,n.slice()),_=_.nextSibling;return;case k:return qe(r,e.name,e.value);case B:return r.push(e.data.replace(/[<&>]/g,y));case W:return r.push(U.CDATA_START,e.data,U.CDATA_END);case ge:return r.push(U.COMMENT_START,e.data,U.COMMENT_END);case Ae:var tr=e.publicId,Ye=e.systemId;return r.push(U.DOCTYPE_DECL_START," ",e.name),tr?(r.push(" ",U.PUBLIC," ",tr),Ye&&Ye!=="."&&r.push(" ",Ye)):Ye&&Ye!=="."&&r.push(" ",U.SYSTEM," ",Ye),e.internalSubset&&r.push(" [",e.internalSubset,"]"),void r.push(">");case we:return r.push("<?",e.target," ",e.data,"?>");case le:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName)}}function Je(e,r,t){var n;switch(r.nodeType){case S:(n=r.cloneNode(!1)).ownerDocument=e;case de:break;case k:t=!0}if(n||(n=r.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,t)for(var o=r.firstChild;o;)n.appendChild(Je(e,o,t)),o=o.nextSibling;return n}function Pe(e,r,t){var n=new r.constructor(i);for(var o in r)if(P(r,o)){var E=r[o];typeof E!="object"&&E!=n[o]&&(n[o]=E)}switch(r.childNodes&&(n.childNodes=new F),n.ownerDocument=e,n.nodeType){case S:var M=r.attributes,_=n.attributes=new fe,V=M.length;_._ownerElement=n;for(var j=0;j<V;j++)n.setAttributeNode(Pe(e,M.item(j),!0));break;case k:t=!0}if(t)for(var Y=r.firstChild;Y;)n.appendChild(Pe(e,Y,t)),Y=Y.nextSibling;return n}function Ze(e,r,t){e[r]=t}F.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)Se(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},F.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},he.prototype.item=function(e){return Oe(this),this[e]||null},a(he,F),fe.prototype={length:0,item:F.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new u(u.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(function(n,o,E,M){if(M?o[c(o,M)]=E:(o[o.length]=E,o.length++),n){E.ownerElement=n;var _=n.ownerDocument;_&&(M&&b(_,n,M),j=n,Y=E,(V=_)&&V._inc++,Y.namespaceURI===$.XMLNS&&(j._nsMap[Y.prefix?Y.localName:""]=Y.value))}var V,j,Y}(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new u(u.NOT_FOUND_ERR,e);return f(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new u(u.NOT_FOUND_ERR,e?e+" : "+r:r);return f(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){e||(e=null);for(var t=0;t<this.length;){var n=this[t];if(n.localName===r&&n.namespaceURI===e)return n;t++}return null}},fe.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},N.prototype={hasFeature:function(e,r){return!0},createDocument:function(e,r,t){var n=ee.XML_APPLICATION;e===$.HTML?n=ee.XML_XHTML_APPLICATION:e===$.SVG&&(n=ee.XML_SVG_IMAGE);var o=new T(i,{contentType:n});if(o.implementation=this,o.childNodes=new F,o.doctype=t||null,t&&o.appendChild(t),r){var E=o.createElementNS(e,r);o.appendChild(E)}return o},createDocumentType:function(e,r,t,n){se(e);var o=new re(i);return o.name=e,o.nodeName=e,o.publicId=r||"",o.systemId=t||"",o.internalSubset=n||"",o.childNodes=new F,o},createHTMLDocument:function(e){var r=new T(i,{contentType:ee.HTML});if(r.implementation=this,r.childNodes=new F,e!==!1){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var o=r.createElement("title");o.appendChild(r.createTextNode(e)),n.appendChild(o)}t.appendChild(r.createElement("body"))}return r}},l.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var r=e;do{if(this===r)return!0;r=e.parentNode}while(r);return!1},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return!1;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return!1;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return!1;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return!1}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return!1;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return!1;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return!1}if(this.childNodes.length!==e.childNodes.length)return!1;for(r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return!1;return!0},isSameNode:function(e){return this===e},insertBefore:function(e,r){return oe(this,e,r)},replaceChild:function(e,r){oe(this,e,r,G),r&&this.removeChild(r)},removeChild:function(e){return v(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Pe(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==B&&e.nodeType==B?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r)}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(P(t,n)&&t[n]===e)return n}r=r.nodeType==k?r.ownerDocument:r.parentNode}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&P(t,e))return t[e];r=r.nodeType==k?r.ownerDocument:r.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,o=null;if(r instanceof I&&(r=(n=r).ownerElement),t instanceof I&&(t=(o=t).ownerElement,n&&r&&t===r))for(var E,M=0;E=t.attributes[M];M++){if(E===n)return H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+H.DOCUMENT_POSITION_PRECEDING;if(E===o)return H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+H.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return H.DOCUMENT_POSITION_DISCONNECTED+H.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(_e(t.ownerDocument)>_e(r.ownerDocument)?H.DOCUMENT_POSITION_FOLLOWING:H.DOCUMENT_POSITION_PRECEDING);if(o&&r===t)return H.DOCUMENT_POSITION_CONTAINS+H.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return H.DOCUMENT_POSITION_CONTAINED_BY+H.DOCUMENT_POSITION_FOLLOWING;for(var _=[],V=r.parentNode;V;){if(!o&&V===t)return H.DOCUMENT_POSITION_CONTAINED_BY+H.DOCUMENT_POSITION_FOLLOWING;_.push(V),V=V.parentNode}_.reverse();for(var j=[],Y=t.parentNode;Y;){if(!n&&Y===r)return H.DOCUMENT_POSITION_CONTAINS+H.DOCUMENT_POSITION_PRECEDING;j.push(Y),Y=Y.parentNode}j.reverse();var Ee=Be(_,j);for(var te in Ee.childNodes){var Te=Ee.childNodes[te];if(Te===t)return H.DOCUMENT_POSITION_FOLLOWING;if(Te===r)return H.DOCUMENT_POSITION_PRECEDING;if(j.indexOf(Te)>=0)return H.DOCUMENT_POSITION_FOLLOWING;if(_.indexOf(Te)>=0)return H.DOCUMENT_POSITION_PRECEDING}return 0}},pe(s,l),pe(s,l.prototype),pe(H,l),pe(H,l.prototype),T.prototype={implementation:null,nodeName:"#document",nodeType:Ne,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===de){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n}return e}return oe(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===S&&(this.documentElement=e),e},removeChild:function(e){var r=v(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){oe(this,e,r,G),e.ownerDocument=this,r&&this.removeChild(r),q(e)&&(this.documentElement=e)},importNode:function(e,r){return Je(this,e,r)},getElementById:function(e){var r=null;return d(this.documentElement,function(t){if(t.nodeType==S&&t.getAttribute("id")==e)return r=t,!0}),r},createElement:function(e){var r=new Z(i);return r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),D(this.contentType)&&(r.namespaceURI=$.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new F,(r.attributes=new fe)._ownerElement=r,r},createDocumentFragment:function(){var e=new Me(i);return e.ownerDocument=this,e.childNodes=new F,e},createTextNode:function(e){var r=new ce(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createComment:function(e){var r=new ye(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createCDATASection:function(e){var r=new Ce(i);return r.ownerDocument=this,r.childNodes=new F,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Re(i);return t.ownerDocument=this,t.childNodes=new F,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!U.QName_exact.test(e))throw new u(u.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new I(i);return r.ownerDocument=this,r.childNodes=new F,r.name=e,r.nodeName=e,r.localName=e,r.specified=!0,r},createEntityReference:function(e){if(!U.Name.test(e))throw new u(u.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new u("document is an html document",ie.NotSupportedError);var r=new De(i);return r.ownerDocument=this,r.childNodes=new F,r.nodeName=e,r},createElementNS:function(e,r){var t=be(e,r),n=new Z(i),o=n.attributes=new fe;return n.childNodes=new F,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],o._ownerElement=n,n},createAttributeNS:function(e,r){var t=be(e,r),n=new I(i);return n.ownerDocument=this,n.childNodes=new F,n.nodeName=r,n.name=r,n.specified=!0,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}},a(T,l),Z.prototype={nodeType:S,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===$.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:((t=this.ownerDocument._createAttribute(e)).value=t.nodeValue=""+r,this.setAttributeNode(t))},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=be(e,r)[2],o=this.getAttributeNodeNS(e,n);o?o.value=o.nodeValue=""+t:((o=this.ownerDocument.createAttributeNS(e,r)).value=o.nodeValue=""+t,this.setAttributeNode(o))},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=ue(e);return new he(this,function(t){var n=[];return r.length>0&&d(t,function(o){if(o!==t&&o.nodeType===S){var E=o.getAttribute("class");if(E){var M=e===E;if(!M){var _=ue(E);M=r.every((V=_,function(j){return V&&V.indexOf(j)!==-1}))}M&&n.push(o)}}var V}),n})},getElementsByTagName:function(e){var r=(this.nodeType===Ne?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new he(this,function(n){var o=[];return d(n,function(E){E!==n&&E.nodeType===S&&(e==="*"||E.getQualifiedName()===(r&&E.namespaceURI===$.HTML?t:e))&&o.push(E)}),o})},getElementsByTagNameNS:function(e,r){return new he(this,function(t){var n=[];return d(t,function(o){o===t||o.nodeType!==S||e!=="*"&&o.namespaceURI!==e||r!=="*"&&o.localName!=r||n.push(o)}),n})}},T.prototype.getElementsByClassName=Z.prototype.getElementsByClassName,T.prototype.getElementsByTagName=Z.prototype.getElementsByTagName,T.prototype.getElementsByTagNameNS=Z.prototype.getElementsByTagNameNS,a(Z,l),I.prototype.nodeType=k,a(I,l),R.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,r){this.replaceData(e,0,r)},deleteData:function(e,r){this.replaceData(e,r,"")},replaceData:function(e,r,t){t=this.data.substring(0,e)+t+this.data.substring(e+r),this.nodeValue=this.data=t,this.length=t.length}},a(R,l),ce.prototype={nodeName:"#text",nodeType:B,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},a(ce,R),ye.prototype={nodeName:"#comment",nodeType:ge},a(ye,R),Ce.prototype={nodeName:"#cdata-section",nodeType:W},a(Ce,ce),re.prototype.nodeType=Ae,a(re,l),xe.prototype.nodeType=Qe,a(xe,l),Le.prototype.nodeType=X,a(Le,l),De.prototype.nodeType=le,a(De,l),Me.prototype.nodeName="#document-fragment",Me.prototype.nodeType=de,a(Me,l),Re.prototype.nodeType=we,a(Re,R),Fe.prototype.serializeToString=function(e,r){return We.call(e,r)},l.prototype.toString=We;try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case S:case de:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(he.prototype,"length",{get:function(){return Oe(this),this.$$length}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case S:case de:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r}}}),Ze=function(r,t,n){r["$$"+t]=n}}}catch{}return z._updateLiveList=Oe,z.Attr=I,z.CDATASection=Ce,z.CharacterData=R,z.Comment=ye,z.Document=T,z.DocumentFragment=Me,z.DocumentType=re,z.DOMImplementation=N,z.Element=Z,z.Entity=Le,z.EntityReference=De,z.LiveNodeList=he,z.NamedNodeMap=fe,z.Node=l,z.NodeList=F,z.Notation=xe,z.Text=ce,z.ProcessingInstruction=Re,z.XMLSerializer=Fe,z}var sr,lr,cr,ur,ke={},pr={},$e={};function mr(){if(cr)return ke;cr=1;var A,O,D=ze(),P=hr(),g=er(),h=(sr||(sr=1,A=pr,O=ze().freeze,A.XML_ENTITIES=O({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),A.HTML_ENTITIES=O({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
17
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),A.entityMap=A.HTML_ENTITIES),pr),Q=function(){if(lr)return $e;lr=1;var a=ze(),s=fr(),S=er(),k=a.isHTMLEscapableRawTextElement,B=a.isHTMLMimeType,W=a.isHTMLRawTextElement,le=a.hasOwn,X=a.NAMESPACE,we=S.ParseError,ge=S.DOMException;function Ne(){}Ne.prototype={parse:function(c,f,N){var l=this.domBuilder;l.startDocument(),_e(f,f=Object.create(null)),function(y,d,T,b,w){var v=B(b.mimeType);function p(e){var r=e[e.length-1]===";"?e:e+";";if(!v&&r!==e)return w.error("EntityRef: expecting ;"),e;var t=s.Reference.exec(r);if(!t||t[0].length!==r.length)return w.error("entity not matching Reference production: "+e),e;var n=r.slice(1,-1);return le(T,n)?T[n]:n.charAt(0)==="#"?function(o){if(o>65535){var E=55296+((o-=65536)>>10),M=56320+(1023&o);return String.fromCharCode(E,M)}return String.fromCharCode(o)}(parseInt(n.substr(1).replace("x","0x"))):(w.error("entity not found:"+e),e)}function q(e){if(e>I){var r=y.substring(I,e).replace(Ae,p);G&&x(I),b.characters(r,0,e-I),I=e}}function x(e,r){for(;e>=me&&(r=ve.exec(y));)K=r.index,me=K+r[0].length,G.lineNumber++;G.columnNumber=e-K+1}y.indexOf(s.UNICODE_REPLACEMENT_CHARACTER)>=0&&w.warning("Unicode replacement character detected, source encoding issues?");for(var K=0,me=0,ve=/.*(?:\r\n?|\n)|.*$/g,G=b.locator,oe=[{currentNSMap:d}],Z=[],I=0;;){try{var R=y.indexOf("<",I);if(R<0){if(!v&&Z.length>0)return w.fatalError("unclosed xml tag(s): "+Z.join(", "));if(!y.substring(I).match(/^\s*$/)){var ce=b.doc,ye=ce.createTextNode(y.substr(I));if(ce.documentElement)return w.error("Extra content at the end of the document");ce.appendChild(ye),b.currentElement=ye}return}if(R>I){var Ce=y.substring(I,R);v||Z.length!==0||(Ce=Ce.replace(new RegExp(s.S_OPT.source,"g"),""))&&w.error("Unexpected content outside root element: '"+Ce+"'"),q(R)}switch(y.charAt(R+1)){case"/":var re=y.indexOf(">",R+2),xe=y.substring(R+2,re>0?re:void 0);if(!xe)return w.fatalError("end tag name missing");var Le=re>0&&s.reg("^",s.QName_group,s.S_OPT,"$").exec(xe);if(!Le)return w.fatalError('end tag name contains invalid characters: "'+xe+'"');if(!b.currentElement&&!b.doc.documentElement)return;var De=Z[Z.length-1]||b.currentElement.tagName||b.doc.documentElement.tagName||"";if(De!==Le[1]){var Me=Le[1].toLowerCase();if(!v||De.toLowerCase()!==Me)return w.fatalError('Opening and ending tag mismatch: "'+De+'" != "'+xe+'"')}var Re=oe.pop();Z.pop();var Fe=Re.localNSMap;if(b.endElement(Re.uri,Re.localName,De),Fe)for(var We in Fe)le(Fe,We)&&b.endPrefixMapping(We);re++;break;case"?":G&&x(R),re=Oe(y,R,b,w);break;case"!":G&&x(R),re=he(y,R,b,w,v);break;default:G&&x(R);var ae=new fe,qe=oe[oe.length-1].currentNSMap,Se=(re=Qe(y,R,ae,qe,p,w,v),ae.length);if(ae.closed||(v&&a.isHTMLVoidElement(ae.tagName)?ae.closed=!0:Z.push(ae.tagName)),G&&Se){for(var Je=de(G,{}),Pe=0;Pe<Se;Pe++){var Ze=ae[Pe];x(Ze.offset),Ze.locator=de(G,{})}b.locator=Je,H(ae,b,qe)&&oe.push(ae),b.locator=G}else H(ae,b,qe)&&oe.push(ae);v&&!ae.closed?re=Be(y,re,ae.tagName,p,b):re++}}catch(e){if(e instanceof we)throw e;if(e instanceof ge)throw new we(e.name+": "+e.message,b.locator,e);w.error("element parse error: "+e),re=-1}re>I?I=re:q(Math.max(R,I)+1)}}(c,f,N,l,this.errorHandler),l.endDocument()}};var Ae=/&#?\w+;?/g;function de(c,f){return f.lineNumber=c.lineNumber,f.columnNumber=c.columnNumber,f}function Qe(c,f,N,l,y,d,T){function b(K,me,ve){return le(N.attributeNames,K)?d.fatalError("Attribute "+K+" redefined"):!T&&me.indexOf("<")>=0?d.fatalError("Unescaped '<' not allowed in attributes values"):void N.addValue(K,me.replace(/[\t\n\r]/g," ").replace(Ae,y),ve)}for(var w,v=++f,p=0;;){var q=c.charAt(v);switch(q){case"=":if(p===1)w=c.slice(f,v),p=3;else{if(p!==2)throw new Error("attribute equal must after attrName");p=3}break;case"'":case'"':if(p===3||p===1){if(p===1&&(d.warning('attribute value must after "="'),w=c.slice(f,v)),f=v+1,!((v=c.indexOf(q,f))>0))throw new Error("attribute value no end '"+q+"' match");b(w,x=c.slice(f,v),f-1),p=5}else{if(p!=4)throw new Error('attribute value must after "="');b(w,x=c.slice(f,v),f),d.warning('attribute "'+w+'" missed start quot('+q+")!!"),f=v+1,p=5}break;case"/":switch(p){case 0:N.setTagName(c.slice(f,v));case 5:case 6:case 7:p=7,N.closed=!0;case 4:case 1:break;case 2:N.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return d.error("unexpected end of input"),p==0&&N.setTagName(c.slice(f,v)),v;case">":switch(p){case 0:N.setTagName(c.slice(f,v));case 5:case 6:case 7:break;case 4:case 1:(x=c.slice(f,v)).slice(-1)==="/"&&(N.closed=!0,x=x.slice(0,-1));case 2:p===2&&(x=w),p==4?(d.warning('attribute "'+x+'" missed quot(")!'),b(w,x,f)):(T||d.warning('attribute "'+x+'" missed value!! "'+x+'" instead!!'),b(x,x,f));break;case 3:if(!T)return d.fatalError(`AttValue: ' or " expected`)}return v;case"€":q=" ";default:if(q<=" ")switch(p){case 0:N.setTagName(c.slice(f,v)),p=6;break;case 1:w=c.slice(f,v),p=2;break;case 4:var x=c.slice(f,v);d.warning('attribute "'+x+'" missed quot(")!!'),b(w,x,f);case 5:p=6}else switch(p){case 2:T||d.warning('attribute "'+w+'" missed value!! "'+w+'" instead2!!'),b(w,w,f),f=v,p=1;break;case 5:d.warning('attribute space is required"'+w+'"!!');case 6:p=1,f=v;break;case 3:p=4,f=v;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}v++}}function H(c,f,N){for(var l=c.tagName,y=null,d=c.length;d--;){var T=c[d],b=T.qName,w=T.value;if((x=b.indexOf(":"))>0)var v=T.prefix=b.slice(0,x),p=b.slice(x+1),q=v==="xmlns"&&p;else p=b,v=null,q=b==="xmlns"&&"";T.localName=p,q!==!1&&(y==null&&(y=Object.create(null),_e(N,N=Object.create(null))),N[q]=y[q]=w,T.uri=X.XMLNS,f.startPrefixMapping(q,w))}for(d=c.length;d--;)(T=c[d]).prefix&&(T.prefix==="xml"&&(T.uri=X.XML),T.prefix!=="xmlns"&&(T.uri=N[T.prefix]));var x;(x=l.indexOf(":"))>0?(v=c.prefix=l.slice(0,x),p=c.localName=l.slice(x+1)):(v=null,p=c.localName=l);var K=c.uri=N[v||""];if(f.startElement(K,p,l,c),!c.closed)return c.currentNSMap=N,c.localNSMap=y,!0;if(f.endElement(K,p,l),y)for(v in y)le(y,v)&&f.endPrefixMapping(v)}function Be(c,f,N,l,y){var d=k(N);if(d||W(N)){var T=c.indexOf("</"+N+">",f),b=c.substring(f+1,T);return d&&(b=b.replace(Ae,l)),y.characters(b,0,b.length),T}return f+1}function _e(c,f){for(var N in c)le(c,N)&&(f[N]=c[N])}function F(c,f){var N=f;function l(T){return T=T||0,c.charAt(N+T)}function y(T){N+=T=T||1}function d(){return c.substring(N)}return{char:l,getIndex:function(){return N},getMatch:function(T){var b=s.reg("^",T).exec(d());return b?(y(b[0].length),b[0]):null},getSource:function(){return c},skip:y,skipBlanks:function(){for(var T=0;N<c.length;){var b=l();if(b!==" "&&b!==`
18
- `&&b!==" "&&b!=="\r")return T;T++,y()}return-1},substringFromIndex:d,substringStartsWith:function(T){return c.substring(N,N+T.length)===T},substringStartsWithCaseInsensitive:function(T){return c.substring(N,N+T.length).toUpperCase()===T.toUpperCase()}}}function he(c,f,N,l,y){var d=F(c,f);switch(y?d.char(2).toUpperCase():d.char(2)){case"-":var T=d.getMatch(s.Comment);return T?(N.comment(T,s.COMMENT_START.length,T.length-s.COMMENT_START.length-s.COMMENT_END.length),d.getIndex()):l.fatalError("comment is not well-formed at position "+d.getIndex());case"[":var b=d.getMatch(s.CDSect);return b?y||N.currentElement?(N.startCDATA(),N.characters(b,s.CDATA_START.length,b.length-s.CDATA_START.length-s.CDATA_END.length),N.endCDATA(),d.getIndex()):l.fatalError("CDATA outside of element"):l.fatalError("Invalid CDATA starting at position "+f);case"D":if(N.doc&&N.doc.documentElement)return l.fatalError("Doctype not allowed inside or after documentElement at position "+d.getIndex());if(y?!d.substringStartsWithCaseInsensitive(s.DOCTYPE_DECL_START):!d.substringStartsWith(s.DOCTYPE_DECL_START))return l.fatalError("Expected "+s.DOCTYPE_DECL_START+" at position "+d.getIndex());if(d.skip(s.DOCTYPE_DECL_START.length),d.skipBlanks()<1)return l.fatalError("Expected whitespace after "+s.DOCTYPE_DECL_START+" at position "+d.getIndex());var w={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(w.name=d.getMatch(s.Name),!w.name)return l.fatalError("doctype name missing or contains unexpected characters at position "+d.getIndex());if(y&&w.name.toLowerCase()!=="html"&&l.warning("Unexpected DOCTYPE in HTML document at position "+d.getIndex()),d.skipBlanks(),d.substringStartsWith(s.PUBLIC)||d.substringStartsWith(s.SYSTEM)){var v=s.ExternalID_match.exec(d.substringFromIndex());if(!v)return l.fatalError("doctype external id is not well-formed at position "+d.getIndex());v.groups.SystemLiteralOnly!==void 0?w.systemId=v.groups.SystemLiteralOnly:(w.systemId=v.groups.SystemLiteral,w.publicId=v.groups.PubidLiteral),d.skip(v[0].length)}else if(y&&d.substringStartsWithCaseInsensitive(s.SYSTEM)){if(d.skip(s.SYSTEM.length),d.skipBlanks()<1)return l.fatalError("Expected whitespace after "+s.SYSTEM+" at position "+d.getIndex());if(w.systemId=d.getMatch(s.ABOUT_LEGACY_COMPAT_SystemLiteral),!w.systemId)return l.fatalError("Expected "+s.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+s.SYSTEM+" at position "+d.getIndex())}return y&&w.systemId&&!s.ABOUT_LEGACY_COMPAT_SystemLiteral.test(w.systemId)&&l.warning("Unexpected doctype.systemId in HTML document at position "+d.getIndex()),y||(d.skipBlanks(),w.internalSubset=function(p,q){function x(oe,Z){var I=s.PI.exec(oe.substringFromIndex());return I?I[1].toLowerCase()==="xml"?Z.fatalError("xml declaration is only allowed at the start of the document, but found at position "+oe.getIndex()):(oe.skip(I[0].length),I[0]):Z.fatalError("processing instruction is not well-formed at position "+oe.getIndex())}var K=p.getSource();if(p.char()==="["){p.skip(1);for(var me=p.getIndex();p.getIndex()<K.length;){if(p.skipBlanks(),p.char()==="]"){var ve=K.substring(me,p.getIndex());return p.skip(1),ve}var G=null;if(p.char()==="<"&&p.char(1)==="!")switch(p.char(2)){case"E":p.char(3)==="L"?G=p.getMatch(s.elementdecl):p.char(3)==="N"&&(G=p.getMatch(s.EntityDecl));break;case"A":G=p.getMatch(s.AttlistDecl);break;case"N":G=p.getMatch(s.NotationDecl);break;case"-":G=p.getMatch(s.Comment)}else if(p.char()==="<"&&p.char(1)==="?")G=x(p,q);else{if(p.char()!=="%")return q.fatalError("Error detected in Markup declaration");G=p.getMatch(s.PEReference)}if(!G)return q.fatalError("Error in internal subset at position "+p.getIndex())}return q.fatalError("doctype internal subset is not well-formed, missing ]")}}(d,l)),d.skipBlanks(),d.char()!==">"?l.fatalError("doctype not terminated with > at position "+d.getIndex()):(d.skip(1),N.startDTD(w.name,w.publicId,w.systemId,w.internalSubset),N.endDTD(),d.getIndex());default:return l.fatalError('Not well-formed XML starting with "<!" at position '+f)}}function Oe(c,f,N,l){var y=c.substring(f).match(s.PI);if(!y)return l.fatalError("Invalid processing instruction starting at position "+f);if(y[1].toLowerCase()==="xml"){if(f>0)return l.fatalError("processing instruction at position "+f+" is an xml declaration which is only at the start of the document");if(!s.XMLDecl.test(c.substring(f)))return l.fatalError("xml declaration is not well-formed")}return N.processingInstruction(y[1],y[2]),f+y[0].length}function fe(){this.attributeNames=Object.create(null)}return fe.prototype={setTagName:function(c){if(!s.QName_exact.test(c))throw new Error("invalid tagName:"+c);this.tagName=c},addValue:function(c,f,N){if(!s.QName_exact.test(c))throw new Error("invalid attribute:"+c);this.attributeNames[c]=this.length,this[this.length++]={qName:c,value:f,offset:N}},length:0,getLocalName:function(c){return this[c].localName},getLocator:function(c){return this[c].locator},getQName:function(c){return this[c].qName},getURI:function(c){return this[c].uri},getValue:function(c){return this[c].value}},$e.XMLReader=Ne,$e.parseUtils=F,$e.parseDoctypeCommentOrCData=he,$e}(),ee=P.DOMImplementation,$=D.hasDefaultHTMLNamespace,i=D.isHTMLMimeType,m=D.isValidMimeType,u=D.MIME_TYPE,ie=D.NAMESPACE,U=g.ParseError,J=Q.XMLReader;function He(a){return a.replace(/\r[\n\u0085]/g,`
19
- `).replace(/[\r\u0085\u2028]/g,`
20
- `)}function Ve(a){if((a=a||{}).locator===void 0&&(a.locator=!0),this.assign=a.assign||D.assign,this.domHandler=a.domHandler||ue,this.onError=a.onError||a.errorHandler,a.errorHandler&&typeof a.errorHandler!="function")throw new TypeError("errorHandler object is no longer supported, switch to onError!");a.errorHandler&&a.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=a.normalizeLineEndings||He,this.locator=!!a.locator,this.xmlns=this.assign(Object.create(null),a.xmlns)}function ue(a){var s=a||{};this.mimeType=s.mimeType||u.XML_APPLICATION,this.defaultNamespace=s.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=s.onError}function se(a,s){s.lineNumber=a.lineNumber,s.columnNumber=a.columnNumber}function be(a,s,S){return typeof a=="string"?a.substr(s,S):a.length>=s+S||s?new java.lang.String(a,s,S)+"":a}function pe(a,s){a.currentElement?a.currentElement.appendChild(s):a.doc.appendChild(s)}return Ve.prototype.parseFromString=function(a,s){if(!m(s))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+s+'" is not valid.');var S=this.assign(Object.create(null),this.xmlns),k=h.XML_ENTITIES,B=S[""]||null;$(s)?(k=h.HTML_ENTITIES,B=ie.HTML):s===u.XML_SVG_IMAGE&&(B=ie.SVG),S[""]=B,S.xml=S.xml||ie.XML;var W=new this.domHandler({mimeType:s,defaultNamespace:B,onError:this.onError}),le=this.locator?{}:void 0;this.locator&&W.setDocumentLocator(le);var X=new J;return X.errorHandler=W,X.domBuilder=W,!D.isHTMLMimeType(s)&&typeof a!="string"&&X.errorHandler.fatalError("source is not a string"),X.parse(this.normalizeLineEndings(String(a)),S,k),W.doc.documentElement||X.errorHandler.fatalError("missing root element"),W.doc},ue.prototype={startDocument:function(){var a=new ee;this.doc=i(this.mimeType)?a.createHTMLDocument(!1):a.createDocument(this.defaultNamespace,"")},startElement:function(a,s,S,k){var B=this.doc,W=B.createElementNS(a,S||s),le=k.length;pe(this,W),this.currentElement=W,this.locator&&se(this.locator,W);for(var X=0;X<le;X++){a=k.getURI(X);var we=k.getValue(X),ge=(S=k.getQName(X),B.createAttributeNS(a,S));this.locator&&se(k.getLocator(X),ge),ge.value=ge.nodeValue=we,W.setAttributeNode(ge)}},endElement:function(a,s,S){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(a,s){},endPrefixMapping:function(a){},processingInstruction:function(a,s){var S=this.doc.createProcessingInstruction(a,s);this.locator&&se(this.locator,S),pe(this,S)},ignorableWhitespace:function(a,s,S){},characters:function(a,s,S){if(a=be.apply(this,arguments)){if(this.cdata)var k=this.doc.createCDATASection(a);else k=this.doc.createTextNode(a);this.currentElement?this.currentElement.appendChild(k):/^\s*$/.test(a)&&this.doc.appendChild(k),this.locator&&se(this.locator,k)}},skippedEntity:function(a){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(a){a&&(a.lineNumber=0),this.locator=a},comment:function(a,s,S){a=be.apply(this,arguments);var k=this.doc.createComment(a);this.locator&&se(this.locator,k),pe(this,k)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(a,s,S,k){var B=this.doc.implementation;if(B&&B.createDocumentType){var W=B.createDocumentType(a,s,S,k);this.locator&&se(this.locator,W),pe(this,W),this.doc.doctype=W}},reportError:function(a,s){if(typeof this.onError=="function")try{this.onError(a,s,this)}catch(S){throw new U("Reporting "+a+' "'+s+'" caused '+S,this.locator)}else console.error("[xmldom "+a+"] "+s,function(S){if(S)return`
21
- @#[line:`+S.lineNumber+",col:"+S.columnNumber+"]"}(this.locator))},warning:function(a){this.reportError("warning",a)},error:function(a){this.reportError("error",a)},fatalError:function(a){throw this.reportError("fatalError",a),new U(a,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(a){ue.prototype[a]=function(){return null}}),ke.__DOMHandler=ue,ke.DOMParser=Ve,ke.normalizeLineEndings=He,ke.onErrorStopParsing=function(a){if(a==="error")throw"onErrorStopParsing"},ke.onWarningStopParsing=function(){throw"onWarningStopParsing"},ke}var dr=function(){if(ur)return L;ur=1;var A=ze();L.assign=A.assign,L.hasDefaultHTMLNamespace=A.hasDefaultHTMLNamespace,L.isHTMLMimeType=A.isHTMLMimeType,L.isValidMimeType=A.isValidMimeType,L.MIME_TYPE=A.MIME_TYPE,L.NAMESPACE=A.NAMESPACE;var O=er();L.DOMException=O.DOMException,L.DOMExceptionName=O.DOMExceptionName,L.ExceptionCode=O.ExceptionCode,L.ParseError=O.ParseError;var D=hr();L.Attr=D.Attr,L.CDATASection=D.CDATASection,L.CharacterData=D.CharacterData,L.Comment=D.Comment,L.Document=D.Document,L.DocumentFragment=D.DocumentFragment,L.DocumentType=D.DocumentType,L.DOMImplementation=D.DOMImplementation,L.Element=D.Element,L.Entity=D.Entity,L.EntityReference=D.EntityReference,L.LiveNodeList=D.LiveNodeList,L.NamedNodeMap=D.NamedNodeMap,L.Node=D.Node,L.NodeList=D.NodeList,L.Notation=D.Notation,L.ProcessingInstruction=D.ProcessingInstruction,L.Text=D.Text,L.XMLSerializer=D.XMLSerializer;var P=mr();return L.DOMParser=P.DOMParser,L.onErrorStopParsing=P.onErrorStopParsing,L.onWarningStopParsing=P.onWarningStopParsing,L}();const Er=function(A,O){for(var D=0;D<O.length;D++){const P=O[D];if(typeof P!="string"&&!Array.isArray(P)){for(const g in P)if(g!=="default"&&!(g in A)){const h=Object.getOwnPropertyDescriptor(P,g);h&&Object.defineProperty(A,g,h.get?h:{enumerable:!0,get:()=>P[g]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:(je=dr,je&&je.__esModule&&Object.prototype.hasOwnProperty.call(je,"default")?je.default:je)},[dr]);var je;exports.i=Er;
@@ -1,22 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.0
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("./BFjFhtH4OqOirVjz.cjs");/**
7
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.3.0
8
- *
9
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
- * License: The license can be found at https://www.sheetxl.com/license.
11
- *//**
12
- * @license @sheetxl/io - IO - Import/Export Libraries for SheetXL. - v0.3.0
13
- *
14
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
- * License: The license can be found at https://www.sheetxl.com/license.
16
- */exports.fromBufferJSON=async(g,y)=>{let i=g;(function(s){if(s.byteLength<4)return!1;const u=new Uint8Array(s),c={gzip:[31,139],zip:[80,75,3,4],bz2:[66,90,104],br:[206,178,207,129]},r=Object.keys(c);for(let n=0;n<r.length;n++){const o=r[n],e=c[o];let a=!0;for(let t=0;t<e.length;t++)if(u[t]!==e[t]){a=!1;break}if(a)return o}return!1})(i)&&(i=await async function(s,u="gzip"){const c=new Blob([s]).stream(),r=new DecompressionStream(u),n=c.pipeThrough(r);return(await new Response(n).blob()).arrayBuffer()}(i));let b=new TextDecoder().decode(i);const w=JSON.parse(b),p={...y?.constructorOptions??{},json:w};return new j.bL(p)},exports.toBufferJSON=async(g,y)=>{const i=await g.toJSON(),b=y?.whiteSpace??0;let w;y?.beforeWrite?.(g,i),w=b===0?JSON.stringify(i):function(u,c=2){const r=[];function n(o){const e=c*o;return r[e]===void 0&&(r[e]=" ".repeat(e)),r[e]}return function o(e,a,t,N){if(e==null||typeof e!="object")return JSON.stringify(e);const h=n(a),m=n(a+1);if(Array.isArray(e)){const f=e.length;if(f===0)return"[]";if(t!==0)return JSON.stringify(e);let l=`[
17
- `;for(let O=0;O<f;O++)l+=m+o(e[O],a+1,t+1,!0),O<f-1&&(l+=`,
18
- `);return l+=`
19
- `+h+"]",l}const J=Object.keys(e),d=J.length;if(d===0)return"{}";if(!(t<2))return JSON.stringify(e);let S=`{
20
- `;N||(t=0);for(let f=0;f<d;f++){const l=J[f];S+=m+JSON.stringify(l)+": "+o(e[l],a+1,t,!1),f<d-1&&(S+=`,
21
- `)}return S+=`
22
- `+h+"}",S}(u,0,0,!1)}(i,b);let p=new TextEncoder().encode(w);const s=y?.compress??!0;return s&&(p=await async function(u,c="gzip"){const r=new ReadableStream({start(e){e.enqueue(u),e.close()}}),n=new CompressionStream(c),o=r.pipeThrough(n);return(await new Response(o).blob()).arrayBuffer()}(p,typeof s=="string"?s:void 0)),p};