mongoku 2.3.0 → 2.4.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 (341) hide show
  1. package/README.md +20 -0
  2. package/build/client/_app/immutable/assets/0.C-Y-CVnr.css +1 -0
  3. package/build/client/_app/immutable/assets/0.C-Y-CVnr.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.C-Y-CVnr.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/12.I1sSDJ6i.css +1 -0
  6. package/build/client/_app/immutable/assets/12.I1sSDJ6i.css.br +0 -0
  7. package/build/client/_app/immutable/assets/12.I1sSDJ6i.css.gz +0 -0
  8. package/build/client/_app/immutable/chunks/0oUK0vJa.js +1 -0
  9. package/build/client/_app/immutable/chunks/0oUK0vJa.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/0oUK0vJa.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/B336udpc.js +16 -0
  12. package/build/client/_app/immutable/chunks/B336udpc.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/B336udpc.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/BGXqurs_.js +1 -0
  15. package/build/client/_app/immutable/chunks/BGXqurs_.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/BGXqurs_.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/BJkfZNY-.js +1 -0
  18. package/build/client/_app/immutable/chunks/BJkfZNY-.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/BJkfZNY-.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/BPbCnJEo.js +1 -0
  21. package/build/client/_app/immutable/chunks/BPbCnJEo.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/BPbCnJEo.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/BUNBmrEa.js +14 -0
  24. package/build/client/_app/immutable/chunks/BUNBmrEa.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/BUNBmrEa.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/BXUq66wC.js +1 -0
  27. package/build/client/_app/immutable/chunks/BXUq66wC.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/BXUq66wC.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/{BgGFWTC8.js → BvPcQZK2.js} +1 -1
  30. package/build/client/_app/immutable/chunks/BvPcQZK2.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/BvPcQZK2.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/{Dt2qaq8g.js → BxoAxRg6.js} +1 -1
  33. package/build/client/_app/immutable/chunks/BxoAxRg6.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/BxoAxRg6.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/ByCRZ7zS.js +2 -0
  36. package/build/client/_app/immutable/chunks/ByCRZ7zS.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/ByCRZ7zS.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/C9h8aqyH.js +1 -0
  39. package/build/client/_app/immutable/chunks/C9h8aqyH.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/C9h8aqyH.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/{C6AfvKtU.js → CGy3kP11.js} +1 -1
  42. package/build/client/_app/immutable/chunks/CGy3kP11.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/CGy3kP11.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/{BXaawuvz.js → DIw4Wyr4.js} +1 -1
  45. package/build/client/_app/immutable/chunks/DIw4Wyr4.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/DIw4Wyr4.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/Dn0_-jEe.js +1 -0
  48. package/build/client/_app/immutable/chunks/Dn0_-jEe.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/Dn0_-jEe.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/UJuWD2W4.js +1 -0
  51. package/build/client/_app/immutable/chunks/UJuWD2W4.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/UJuWD2W4.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/XQ9Icqyt.js +24 -0
  54. package/build/client/_app/immutable/chunks/XQ9Icqyt.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/XQ9Icqyt.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/_kKBJjiB.js +1 -0
  57. package/build/client/_app/immutable/chunks/_kKBJjiB.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/_kKBJjiB.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/dPlEUW2X.js +4 -0
  60. package/build/client/_app/immutable/chunks/dPlEUW2X.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/dPlEUW2X.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/{BrrIPcne.js → reNJcONQ.js} +1 -1
  63. package/build/client/_app/immutable/chunks/reNJcONQ.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/reNJcONQ.js.gz +0 -0
  65. package/build/client/_app/immutable/entry/app.nk8EiZNw.js +2 -0
  66. package/build/client/_app/immutable/entry/app.nk8EiZNw.js.br +0 -0
  67. package/build/client/_app/immutable/entry/app.nk8EiZNw.js.gz +0 -0
  68. package/build/client/_app/immutable/entry/start.CtQkz2o7.js +1 -0
  69. package/build/client/_app/immutable/entry/start.CtQkz2o7.js.br +2 -0
  70. package/build/client/_app/immutable/entry/start.CtQkz2o7.js.gz +0 -0
  71. package/build/client/_app/immutable/nodes/0.Dk5SPGHx.js +1 -0
  72. package/build/client/_app/immutable/nodes/0.Dk5SPGHx.js.br +0 -0
  73. package/build/client/_app/immutable/nodes/0.Dk5SPGHx.js.gz +0 -0
  74. package/build/client/_app/immutable/nodes/1.PFRD-ICI.js +1 -0
  75. package/build/client/_app/immutable/nodes/1.PFRD-ICI.js.br +2 -0
  76. package/build/client/_app/immutable/nodes/1.PFRD-ICI.js.gz +0 -0
  77. package/build/client/_app/immutable/nodes/10.CmUfyDgF.js +1 -0
  78. package/build/client/_app/immutable/nodes/10.CmUfyDgF.js.br +0 -0
  79. package/build/client/_app/immutable/nodes/10.CmUfyDgF.js.gz +0 -0
  80. package/build/client/_app/immutable/nodes/11.bPUdes8_.js +1 -0
  81. package/build/client/_app/immutable/nodes/11.bPUdes8_.js.br +0 -0
  82. package/build/client/_app/immutable/nodes/11.bPUdes8_.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/12.D4G-13Kx.js +1 -0
  84. package/build/client/_app/immutable/nodes/12.D4G-13Kx.js.br +0 -0
  85. package/build/client/_app/immutable/nodes/12.D4G-13Kx.js.gz +0 -0
  86. package/build/client/_app/immutable/nodes/13.DqOFG2LC.js +66 -0
  87. package/build/client/_app/immutable/nodes/13.DqOFG2LC.js.br +0 -0
  88. package/build/client/_app/immutable/nodes/13.DqOFG2LC.js.gz +0 -0
  89. package/build/client/_app/immutable/nodes/{2.tuhqPc6d.js → 2.DqvBb3C7.js} +1 -1
  90. package/build/client/_app/immutable/nodes/2.DqvBb3C7.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/2.DqvBb3C7.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/{3.304xAIC7.js → 3.27swwcG4.js} +1 -1
  93. package/build/client/_app/immutable/nodes/3.27swwcG4.js.br +0 -0
  94. package/build/client/_app/immutable/nodes/3.27swwcG4.js.gz +0 -0
  95. package/build/client/_app/immutable/nodes/{4.CRm68VfX.js → 4.CcholrFe.js} +1 -1
  96. package/build/client/_app/immutable/nodes/4.CcholrFe.js.br +0 -0
  97. package/build/client/_app/immutable/nodes/4.CcholrFe.js.gz +0 -0
  98. package/build/client/_app/immutable/nodes/{5.DfCi7Z5N.js → 5.CzudN9q-.js} +1 -1
  99. package/build/client/_app/immutable/nodes/5.CzudN9q-.js.br +0 -0
  100. package/build/client/_app/immutable/nodes/5.CzudN9q-.js.gz +0 -0
  101. package/build/client/_app/immutable/nodes/7.BwFVjS8J.js +1 -0
  102. package/build/client/_app/immutable/nodes/7.BwFVjS8J.js.br +0 -0
  103. package/build/client/_app/immutable/nodes/7.BwFVjS8J.js.gz +0 -0
  104. package/build/client/_app/immutable/nodes/8.CTYR8b2l.js +1 -0
  105. package/build/client/_app/immutable/nodes/8.CTYR8b2l.js.br +0 -0
  106. package/build/client/_app/immutable/nodes/8.CTYR8b2l.js.gz +0 -0
  107. package/build/client/_app/immutable/nodes/9.BwIl1L5J.js +2 -0
  108. package/build/client/_app/immutable/nodes/9.BwIl1L5J.js.br +0 -0
  109. package/build/client/_app/immutable/nodes/9.BwIl1L5J.js.gz +0 -0
  110. package/build/client/_app/version.json +1 -1
  111. package/build/client/_app/version.json.br +0 -0
  112. package/build/client/_app/version.json.gz +0 -0
  113. package/build/server/chunks/0-NdTEY04A.js +22 -0
  114. package/build/server/chunks/0-NdTEY04A.js.map +1 -0
  115. package/build/server/chunks/1-DJmPi__e.js +9 -0
  116. package/build/server/chunks/1-DJmPi__e.js.map +1 -0
  117. package/build/server/chunks/{10-srcxgYum.js → 10-CfUKqMGG.js} +5 -4
  118. package/build/server/chunks/10-CfUKqMGG.js.map +1 -0
  119. package/build/server/chunks/{11-Do6XJz0l.js → 11-DHnP9YEg.js} +5 -4
  120. package/build/server/chunks/11-DHnP9YEg.js.map +1 -0
  121. package/build/server/chunks/{12-zP_nvSCU.js → 12-BjyHnNbM.js} +14 -13
  122. package/build/server/chunks/12-BjyHnNbM.js.map +1 -0
  123. package/build/server/chunks/{13-Df-9cdO7.js → 13-ByZTMiOH.js} +5 -4
  124. package/build/server/chunks/{13-Df-9cdO7.js.map → 13-ByZTMiOH.js.map} +1 -1
  125. package/build/server/chunks/{2-CEvLemXF.js → 2-BheEgghx.js} +2 -2
  126. package/build/server/chunks/{2-CEvLemXF.js.map → 2-BheEgghx.js.map} +1 -1
  127. package/build/server/chunks/{3-C8wnnjW_.js → 3-BwrTscBH.js} +2 -2
  128. package/build/server/chunks/{3-C8wnnjW_.js.map → 3-BwrTscBH.js.map} +1 -1
  129. package/build/server/chunks/{4-CFsHQHNr.js → 4-D28kbpdN.js} +2 -2
  130. package/build/server/chunks/{4-CFsHQHNr.js.map → 4-D28kbpdN.js.map} +1 -1
  131. package/build/server/chunks/{5-BHNZukuO.js → 5--wY8V1OC.js} +2 -2
  132. package/build/server/chunks/{5-BHNZukuO.js.map → 5--wY8V1OC.js.map} +1 -1
  133. package/build/server/chunks/{7-_mc0fkA5.js → 7-IqBEEnPj.js} +5 -4
  134. package/build/server/chunks/7-IqBEEnPj.js.map +1 -0
  135. package/build/server/chunks/{8-CgCyM--7.js → 8-B-f4_kZD.js} +6 -5
  136. package/build/server/chunks/8-B-f4_kZD.js.map +1 -0
  137. package/build/server/chunks/{9-CrztPNtK.js → 9-BiDcE7hd.js} +5 -4
  138. package/build/server/chunks/9-BiDcE7hd.js.map +1 -0
  139. package/build/server/chunks/{JsonValue-BUoddLqM.js → JsonValue-DiECF6Zd.js} +2 -2
  140. package/build/server/chunks/{JsonValue-BUoddLqM.js.map → JsonValue-DiECF6Zd.js.map} +1 -1
  141. package/build/server/chunks/{PrettyJson-5I-m1T9H.js → PrettyJson-ElzPxPF4.js} +4 -4
  142. package/build/server/chunks/{PrettyJson-5I-m1T9H.js.map → PrettyJson-ElzPxPF4.js.map} +1 -1
  143. package/build/server/chunks/{_layout.svelte-CLgSVnvV.js → _layout.svelte-CCi6mq1k.js} +10 -11
  144. package/build/server/chunks/_layout.svelte-CCi6mq1k.js.map +1 -0
  145. package/build/server/chunks/{_page.svelte-BORdYQFx.js → _page.svelte-B4BL5PJR.js} +7 -7
  146. package/build/server/chunks/{_page.svelte-BORdYQFx.js.map → _page.svelte-B4BL5PJR.js.map} +1 -1
  147. package/build/server/chunks/{_page.svelte-CRBjbDDt.js → _page.svelte-BUheieJ5.js} +19 -9
  148. package/build/server/chunks/_page.svelte-BUheieJ5.js.map +1 -0
  149. package/build/server/chunks/{_page.svelte-C9l9vy6P.js → _page.svelte-Bj297hp1.js} +9 -9
  150. package/build/server/chunks/_page.svelte-Bj297hp1.js.map +1 -0
  151. package/build/server/chunks/{_page.svelte-C8zstZ7b.js → _page.svelte-BvjNfjgw.js} +11 -11
  152. package/build/server/chunks/{_page.svelte-C8zstZ7b.js.map → _page.svelte-BvjNfjgw.js.map} +1 -1
  153. package/build/server/chunks/_page.svelte-DDe4hyAB.js +387 -0
  154. package/build/server/chunks/_page.svelte-DDe4hyAB.js.map +1 -0
  155. package/build/server/chunks/{_page.svelte-TuuvQq-s.js → _page.svelte-DEe2Kbbw.js} +66 -7
  156. package/build/server/chunks/_page.svelte-DEe2Kbbw.js.map +1 -0
  157. package/build/server/chunks/{_page.svelte-B4-xrCHW.js → _page.svelte-DJFPwyij.js} +35 -23
  158. package/build/server/chunks/_page.svelte-DJFPwyij.js.map +1 -0
  159. package/build/server/chunks/client-Cp5ag8tA.js +7 -0
  160. package/build/server/chunks/{client-BFlyU7ZU.js.map → client-Cp5ag8tA.js.map} +1 -1
  161. package/build/server/chunks/{client2-DYaMKWrc.js → client2-Dos6p_Xm.js} +3 -4
  162. package/build/server/chunks/{client2-DYaMKWrc.js.map → client2-Dos6p_Xm.js.map} +1 -1
  163. package/build/server/chunks/{error.svelte-BENdaVOT.js → error.svelte-BBEhCLUJ.js} +6 -7
  164. package/build/server/chunks/{error.svelte-BENdaVOT.js.map → error.svelte-BBEhCLUJ.js.map} +1 -1
  165. package/build/server/chunks/{index3-CoOO2o9t.js → index3-DANRthiW.js} +2 -2
  166. package/build/server/chunks/{index3-CoOO2o9t.js.map → index3-DANRthiW.js.map} +1 -1
  167. package/build/server/chunks/{mongo-Db8Vgimy.js → mongo-BHk5yAj9.js} +90 -19
  168. package/build/server/chunks/mongo-BHk5yAj9.js.map +1 -0
  169. package/build/server/chunks/{remote-xxtqbu-AjxdDZZ_.js → remote-xxtqbu-DBe3CqEJ.js} +6 -6
  170. package/build/server/chunks/remote-xxtqbu-DBe3CqEJ.js.map +1 -0
  171. package/build/server/chunks/{server2-_mGVuBoG.js → server2-YmCaJGWy.js} +2 -2
  172. package/build/server/chunks/{server2-_mGVuBoG.js.map → server2-YmCaJGWy.js.map} +1 -1
  173. package/build/server/chunks/{servers.remote-DrkuAWHP.js → servers.remote-HDmNH7n4.js} +245 -15
  174. package/build/server/chunks/servers.remote-HDmNH7n4.js.map +1 -0
  175. package/build/server/chunks/{shared-Buki-xt5.js → shared-CQd3A1I4.js} +2 -2
  176. package/build/server/chunks/{shared-Buki-xt5.js.map → shared-CQd3A1I4.js.map} +1 -1
  177. package/build/server/chunks/{state.svelte-C8IWmp_n.js → state.svelte-Dm0prnTp.js} +2 -2
  178. package/build/server/chunks/{state.svelte-C8IWmp_n.js.map → state.svelte-Dm0prnTp.js.map} +1 -1
  179. package/build/server/chunks/{event-DVH-6ISX.js → utils-D1ahxout.js} +39 -2
  180. package/build/server/chunks/utils-D1ahxout.js.map +1 -0
  181. package/build/server/index.js +3 -4
  182. package/build/server/index.js.map +1 -1
  183. package/build/server/manifest.js +15 -15
  184. package/build/server/manifest.js.map +1 -1
  185. package/package.json +3 -2
  186. package/src/api/servers.remote.ts +275 -11
  187. package/src/app.css +17 -1
  188. package/src/lib/actions/portal.ts +14 -0
  189. package/src/lib/components/Notifications.svelte +2 -1
  190. package/src/lib/components/PageSwitcher.svelte +2 -0
  191. package/src/lib/components/PrettyJson.svelte +1 -47
  192. package/src/lib/components/ReplicaSetSelector.svelte +144 -0
  193. package/src/lib/server/mongo.ts +129 -26
  194. package/src/lib/utils/formatSignificantDigits.ts +30 -0
  195. package/src/lib/utils/formatTimeAgo.ts +20 -0
  196. package/src/lib/utils/hostnames.ts +86 -0
  197. package/src/lib/utils/jsonParser.ts +50 -0
  198. package/src/lib/utils/longestCommonSuffix.ts +47 -0
  199. package/src/lib/utils/sum.ts +10 -0
  200. package/src/routes/+layout.svelte +2 -2
  201. package/src/routes/servers/+page.svelte +5 -6
  202. package/src/routes/servers/[server]/databases/+page.svelte +71 -2
  203. package/src/routes/servers/[server]/databases/[database]/collections/+page.svelte +13 -3
  204. package/src/routes/servers/[server]/databases/[database]/collections/[collection]/documents/+page.svelte +237 -39
  205. package/src/routes/servers/[server]/databases/[database]/collections/[collection]/indexes/+page.server.ts +8 -8
  206. package/src/routes/servers/[server]/databases/[database]/collections/[collection]/indexes/+page.svelte +602 -102
  207. package/build/client/_app/immutable/assets/0.BXOUh4Q1.css +0 -1
  208. package/build/client/_app/immutable/assets/0.BXOUh4Q1.css.br +0 -0
  209. package/build/client/_app/immutable/assets/0.BXOUh4Q1.css.gz +0 -0
  210. package/build/client/_app/immutable/assets/12.B90SyvCO.css +0 -1
  211. package/build/client/_app/immutable/assets/12.B90SyvCO.css.br +0 -0
  212. package/build/client/_app/immutable/assets/12.B90SyvCO.css.gz +0 -0
  213. package/build/client/_app/immutable/chunks/AIOqEo5H.js +0 -1
  214. package/build/client/_app/immutable/chunks/AIOqEo5H.js.br +0 -0
  215. package/build/client/_app/immutable/chunks/AIOqEo5H.js.gz +0 -0
  216. package/build/client/_app/immutable/chunks/BEYqxaXI.js +0 -1
  217. package/build/client/_app/immutable/chunks/BEYqxaXI.js.br +0 -0
  218. package/build/client/_app/immutable/chunks/BEYqxaXI.js.gz +0 -0
  219. package/build/client/_app/immutable/chunks/BJqoLy3B.js +0 -2
  220. package/build/client/_app/immutable/chunks/BJqoLy3B.js.br +0 -0
  221. package/build/client/_app/immutable/chunks/BJqoLy3B.js.gz +0 -0
  222. package/build/client/_app/immutable/chunks/BXaawuvz.js.br +0 -2
  223. package/build/client/_app/immutable/chunks/BXaawuvz.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/BgGFWTC8.js.br +0 -0
  225. package/build/client/_app/immutable/chunks/BgGFWTC8.js.gz +0 -0
  226. package/build/client/_app/immutable/chunks/Bpmh7lVJ.js +0 -1
  227. package/build/client/_app/immutable/chunks/Bpmh7lVJ.js.br +0 -6
  228. package/build/client/_app/immutable/chunks/Bpmh7lVJ.js.gz +0 -0
  229. package/build/client/_app/immutable/chunks/BrrIPcne.js.br +0 -0
  230. package/build/client/_app/immutable/chunks/BrrIPcne.js.gz +0 -0
  231. package/build/client/_app/immutable/chunks/ByHQcyQR.js +0 -1
  232. package/build/client/_app/immutable/chunks/ByHQcyQR.js.br +0 -0
  233. package/build/client/_app/immutable/chunks/ByHQcyQR.js.gz +0 -0
  234. package/build/client/_app/immutable/chunks/C6AfvKtU.js.br +0 -0
  235. package/build/client/_app/immutable/chunks/C6AfvKtU.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/COPDkxhL.js +0 -29
  237. package/build/client/_app/immutable/chunks/COPDkxhL.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/COPDkxhL.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/CTHGUrxr.js +0 -2
  240. package/build/client/_app/immutable/chunks/CTHGUrxr.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/CTHGUrxr.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/Cotvfu8-.js +0 -1
  243. package/build/client/_app/immutable/chunks/Cotvfu8-.js.br +0 -0
  244. package/build/client/_app/immutable/chunks/Cotvfu8-.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/DQ-rgtMu.js +0 -1
  246. package/build/client/_app/immutable/chunks/DQ-rgtMu.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/DQ-rgtMu.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/DR2XDb5m.js +0 -4
  249. package/build/client/_app/immutable/chunks/DR2XDb5m.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/DR2XDb5m.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/DUjc2RFp.js +0 -1
  252. package/build/client/_app/immutable/chunks/DUjc2RFp.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/DUjc2RFp.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/DaTUpm_7.js +0 -1
  255. package/build/client/_app/immutable/chunks/DaTUpm_7.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/DaTUpm_7.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/DnwC6gcO.js +0 -23
  258. package/build/client/_app/immutable/chunks/DnwC6gcO.js.br +0 -0
  259. package/build/client/_app/immutable/chunks/DnwC6gcO.js.gz +0 -0
  260. package/build/client/_app/immutable/chunks/Dt2qaq8g.js.br +0 -0
  261. package/build/client/_app/immutable/chunks/Dt2qaq8g.js.gz +0 -0
  262. package/build/client/_app/immutable/chunks/EUN-td6X.js +0 -1
  263. package/build/client/_app/immutable/chunks/EUN-td6X.js.br +0 -0
  264. package/build/client/_app/immutable/chunks/EUN-td6X.js.gz +0 -0
  265. package/build/client/_app/immutable/chunks/EbSISJZg.js +0 -1
  266. package/build/client/_app/immutable/chunks/EbSISJZg.js.br +0 -0
  267. package/build/client/_app/immutable/chunks/EbSISJZg.js.gz +0 -0
  268. package/build/client/_app/immutable/chunks/f0NSiE2-.js +0 -1
  269. package/build/client/_app/immutable/chunks/f0NSiE2-.js.br +0 -0
  270. package/build/client/_app/immutable/chunks/f0NSiE2-.js.gz +0 -0
  271. package/build/client/_app/immutable/chunks/qhxgM-U4.js +0 -1
  272. package/build/client/_app/immutable/chunks/qhxgM-U4.js.br +0 -0
  273. package/build/client/_app/immutable/chunks/qhxgM-U4.js.gz +0 -0
  274. package/build/client/_app/immutable/chunks/zJxs36IQ.js +0 -1
  275. package/build/client/_app/immutable/chunks/zJxs36IQ.js.br +0 -0
  276. package/build/client/_app/immutable/chunks/zJxs36IQ.js.gz +0 -0
  277. package/build/client/_app/immutable/entry/app.Cu4hmll6.js +0 -2
  278. package/build/client/_app/immutable/entry/app.Cu4hmll6.js.br +0 -0
  279. package/build/client/_app/immutable/entry/app.Cu4hmll6.js.gz +0 -0
  280. package/build/client/_app/immutable/entry/start.CWodO31h.js +0 -1
  281. package/build/client/_app/immutable/entry/start.CWodO31h.js.br +0 -2
  282. package/build/client/_app/immutable/entry/start.CWodO31h.js.gz +0 -0
  283. package/build/client/_app/immutable/nodes/0.CA_MMU1Y.js +0 -1
  284. package/build/client/_app/immutable/nodes/0.CA_MMU1Y.js.br +0 -0
  285. package/build/client/_app/immutable/nodes/0.CA_MMU1Y.js.gz +0 -0
  286. package/build/client/_app/immutable/nodes/1.RRRMvoTM.js +0 -1
  287. package/build/client/_app/immutable/nodes/1.RRRMvoTM.js.br +0 -1
  288. package/build/client/_app/immutable/nodes/1.RRRMvoTM.js.gz +0 -0
  289. package/build/client/_app/immutable/nodes/10.SPSTrllh.js +0 -1
  290. package/build/client/_app/immutable/nodes/10.SPSTrllh.js.br +0 -0
  291. package/build/client/_app/immutable/nodes/10.SPSTrllh.js.gz +0 -0
  292. package/build/client/_app/immutable/nodes/11.C4Wc3Kw8.js +0 -1
  293. package/build/client/_app/immutable/nodes/11.C4Wc3Kw8.js.br +0 -0
  294. package/build/client/_app/immutable/nodes/11.C4Wc3Kw8.js.gz +0 -0
  295. package/build/client/_app/immutable/nodes/12.CWkEGtcM.js +0 -1
  296. package/build/client/_app/immutable/nodes/12.CWkEGtcM.js.br +0 -0
  297. package/build/client/_app/immutable/nodes/12.CWkEGtcM.js.gz +0 -0
  298. package/build/client/_app/immutable/nodes/13.CHTpks4Z.js +0 -66
  299. package/build/client/_app/immutable/nodes/13.CHTpks4Z.js.br +0 -0
  300. package/build/client/_app/immutable/nodes/13.CHTpks4Z.js.gz +0 -0
  301. package/build/client/_app/immutable/nodes/2.tuhqPc6d.js.br +0 -0
  302. package/build/client/_app/immutable/nodes/2.tuhqPc6d.js.gz +0 -0
  303. package/build/client/_app/immutable/nodes/3.304xAIC7.js.br +0 -0
  304. package/build/client/_app/immutable/nodes/3.304xAIC7.js.gz +0 -0
  305. package/build/client/_app/immutable/nodes/4.CRm68VfX.js.br +0 -0
  306. package/build/client/_app/immutable/nodes/4.CRm68VfX.js.gz +0 -0
  307. package/build/client/_app/immutable/nodes/5.DfCi7Z5N.js.br +0 -0
  308. package/build/client/_app/immutable/nodes/5.DfCi7Z5N.js.gz +0 -0
  309. package/build/client/_app/immutable/nodes/7.COdDrqa5.js +0 -1
  310. package/build/client/_app/immutable/nodes/7.COdDrqa5.js.br +0 -0
  311. package/build/client/_app/immutable/nodes/7.COdDrqa5.js.gz +0 -0
  312. package/build/client/_app/immutable/nodes/8.COLtCRaa.js +0 -1
  313. package/build/client/_app/immutable/nodes/8.COLtCRaa.js.br +0 -0
  314. package/build/client/_app/immutable/nodes/8.COLtCRaa.js.gz +0 -0
  315. package/build/client/_app/immutable/nodes/9.DGHjsSV7.js +0 -2
  316. package/build/client/_app/immutable/nodes/9.DGHjsSV7.js.br +0 -0
  317. package/build/client/_app/immutable/nodes/9.DGHjsSV7.js.gz +0 -0
  318. package/build/server/chunks/0-QaXL5dxl.js +0 -22
  319. package/build/server/chunks/0-QaXL5dxl.js.map +0 -1
  320. package/build/server/chunks/1-lbtVyJzb.js +0 -9
  321. package/build/server/chunks/1-lbtVyJzb.js.map +0 -1
  322. package/build/server/chunks/10-srcxgYum.js.map +0 -1
  323. package/build/server/chunks/11-Do6XJz0l.js.map +0 -1
  324. package/build/server/chunks/12-zP_nvSCU.js.map +0 -1
  325. package/build/server/chunks/7-_mc0fkA5.js.map +0 -1
  326. package/build/server/chunks/8-CgCyM--7.js.map +0 -1
  327. package/build/server/chunks/9-CrztPNtK.js.map +0 -1
  328. package/build/server/chunks/_layout.svelte-CLgSVnvV.js.map +0 -1
  329. package/build/server/chunks/_page.svelte-B4-xrCHW.js.map +0 -1
  330. package/build/server/chunks/_page.svelte-C9l9vy6P.js.map +0 -1
  331. package/build/server/chunks/_page.svelte-CRBjbDDt.js.map +0 -1
  332. package/build/server/chunks/_page.svelte-CiIXCzlp.js +0 -210
  333. package/build/server/chunks/_page.svelte-CiIXCzlp.js.map +0 -1
  334. package/build/server/chunks/_page.svelte-TuuvQq-s.js.map +0 -1
  335. package/build/server/chunks/client-BFlyU7ZU.js +0 -7
  336. package/build/server/chunks/event-DVH-6ISX.js.map +0 -1
  337. package/build/server/chunks/mongo-Db8Vgimy.js.map +0 -1
  338. package/build/server/chunks/remote-xxtqbu-AjxdDZZ_.js.map +0 -1
  339. package/build/server/chunks/servers.remote-DrkuAWHP.js.map +0 -1
  340. package/build/server/chunks/utils-kjxf7BZO.js +0 -39
  341. package/build/server/chunks/utils-kjxf7BZO.js.map +0 -1
@@ -0,0 +1,14 @@
1
+ import"./BPbCnJEo.js";import{p as et,B as he,h as M,i as $,j as R,f as _,a as ae,d as z,r as O,s as V,b as W,u as ue,am as tt,_ as it,c as rt,e as le,t as ce}from"./reNJcONQ.js";import{d as st,s as pe}from"./ByCRZ7zS.js";import{i as Q}from"./0oUK0vJa.js";import{a as nt}from"./BXUq66wC.js";import{r as de,n as oe,s as at}from"./XQ9Icqyt.js";import{b as ut}from"./UJuWD2W4.js";import{p as fe,b as me}from"./BGXqurs_.js";import{P as ot,f as ht}from"./C9h8aqyH.js";import{J as lt,j as ct}from"./B336udpc.js";var ee={exports:{}},pt=ee.exports,xe;function dt(){return xe||(xe=1,(function(k,F){(function(c,A){k.exports=A()})(pt,function(){return(function(w){var c={};function A(l){if(c[l])return c[l].exports;var C=c[l]={exports:{},id:l,loaded:!1};return w[l].call(C.exports,C,C.exports,A),C.loaded=!0,C.exports}return A.m=w,A.c=c,A.p="",A(0)})([function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(1),C=A(3),d=A(8),h=A(15);function g(s,e,t){var i=null,r=function(T,I){t&&t(T,I),i&&i.visit(T,I)},a=typeof t=="function"?r:null,u=!1;if(e){u=typeof e.comment=="boolean"&&e.comment;var m=typeof e.attachComment=="boolean"&&e.attachComment;(u||m)&&(i=new l.CommentHandler,i.attach=m,e.comment=!0,a=r)}var x=!1;e&&typeof e.sourceType=="string"&&(x=e.sourceType==="module");var E;e&&typeof e.jsx=="boolean"&&e.jsx?E=new C.JSXParser(s,e,a):E=new d.Parser(s,e,a);var S=x?E.parseModule():E.parseScript(),b=S;return u&&i&&(b.comments=i.comments),E.config.tokens&&(b.tokens=E.tokens),E.config.tolerant&&(b.errors=E.errorHandler.errors),b}c.parse=g;function D(s,e,t){var i=e||{};return i.sourceType="module",g(s,i,t)}c.parseModule=D;function v(s,e,t){var i=e||{};return i.sourceType="script",g(s,i,t)}c.parseScript=v;function n(s,e,t){var i=new h.Tokenizer(s,e),r;r=[];try{for(;;){var a=i.getNextToken();if(!a)break;t&&(a=t(a)),r.push(a)}}catch(u){i.errorHandler.tolerate(u)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r}c.tokenize=n;var o=A(2);c.Syntax=o.Syntax,c.version="4.0.1"},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(2),C=(function(){function d(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return d.prototype.insertInnerComments=function(h,g){if(h.type===l.Syntax.BlockStatement&&h.body.length===0){for(var D=[],v=this.leading.length-1;v>=0;--v){var n=this.leading[v];g.end.offset>=n.start&&(D.unshift(n.comment),this.leading.splice(v,1),this.trailing.splice(v,1))}D.length&&(h.innerComments=D)}},d.prototype.findTrailingComments=function(h){var g=[];if(this.trailing.length>0){for(var D=this.trailing.length-1;D>=0;--D){var v=this.trailing[D];v.start>=h.end.offset&&g.unshift(v.comment)}return this.trailing.length=0,g}var n=this.stack[this.stack.length-1];if(n&&n.node.trailingComments){var o=n.node.trailingComments[0];o&&o.range[0]>=h.end.offset&&(g=n.node.trailingComments,delete n.node.trailingComments)}return g},d.prototype.findLeadingComments=function(h){for(var g=[],D;this.stack.length>0;){var v=this.stack[this.stack.length-1];if(v&&v.start>=h.start.offset)D=v.node,this.stack.pop();else break}if(D){for(var n=D.leadingComments?D.leadingComments.length:0,o=n-1;o>=0;--o){var s=D.leadingComments[o];s.range[1]<=h.start.offset&&(g.unshift(s),D.leadingComments.splice(o,1))}return D.leadingComments&&D.leadingComments.length===0&&delete D.leadingComments,g}for(var o=this.leading.length-1;o>=0;--o){var v=this.leading[o];v.start<=h.start.offset&&(g.unshift(v.comment),this.leading.splice(o,1))}return g},d.prototype.visitNode=function(h,g){if(!(h.type===l.Syntax.Program&&h.body.length>0)){this.insertInnerComments(h,g);var D=this.findTrailingComments(g),v=this.findLeadingComments(g);v.length>0&&(h.leadingComments=v),D.length>0&&(h.trailingComments=D),this.stack.push({node:h,start:g.start.offset})}},d.prototype.visitComment=function(h,g){var D=h.type[0]==="L"?"Line":"Block",v={type:D,value:h.value};if(h.range&&(v.range=h.range),h.loc&&(v.loc=h.loc),this.comments.push(v),this.attach){var n={comment:{type:D,value:h.value,range:[g.start.offset,g.end.offset]},start:g.start.offset};h.loc&&(n.comment.loc=h.loc),h.type=D,this.leading.push(n),this.trailing.push(n)}},d.prototype.visit=function(h,g){h.type==="LineComment"?this.visitComment(h,g):h.type==="BlockComment"?this.visitComment(h,g):this.attach&&this.visitNode(h,g)},d})();c.CommentHandler=C},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(w,c,A){var l=this&&this.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])};return function(t,i){e(t,i);function r(){this.constructor=t}t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}})();Object.defineProperty(c,"__esModule",{value:!0});var C=A(4),d=A(5),h=A(6),g=A(7),D=A(8),v=A(13),n=A(14);v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";function o(e){var t;switch(e.type){case h.JSXSyntax.JSXIdentifier:var i=e;t=i.name;break;case h.JSXSyntax.JSXNamespacedName:var r=e;t=o(r.namespace)+":"+o(r.name);break;case h.JSXSyntax.JSXMemberExpression:var a=e;t=o(a.object)+"."+o(a.property);break}return t}var s=(function(e){l(t,e);function t(i,r,a){return e.call(this,i,r,a)||this}return t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(i){for(var r="&",a=!0,u=!1,m=!1,x=!1;!this.scanner.eof()&&a&&!u;){var E=this.scanner.source[this.scanner.index];if(E===i)break;if(u=E===";",r+=E,++this.scanner.index,!u)switch(r.length){case 2:m=E==="#";break;case 3:m&&(x=E==="x",a=x||C.Character.isDecimalDigit(E.charCodeAt(0)),m=m&&!x);break;default:a=a&&!(m&&!C.Character.isDecimalDigit(E.charCodeAt(0))),a=a&&!(x&&!C.Character.isHexDigit(E.charCodeAt(0)));break}}if(a&&u&&r.length>2){var S=r.substr(1,r.length-2);m&&S.length>1?r=String.fromCharCode(parseInt(S.substr(1),10)):x&&S.length>2?r=String.fromCharCode(parseInt("0"+S.substr(1),16)):!m&&!x&&n.XHTMLEntities[S]&&(r=n.XHTMLEntities[S])}return r},t.prototype.lexJSX=function(){var i=this.scanner.source.charCodeAt(this.scanner.index);if(i===60||i===62||i===47||i===58||i===61||i===123||i===125){var r=this.scanner.source[this.scanner.index++];return{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(i===34||i===39){for(var a=this.scanner.index,u=this.scanner.source[this.scanner.index++],m="";!this.scanner.eof();){var x=this.scanner.source[this.scanner.index++];if(x===u)break;x==="&"?m+=this.scanXHTMLEntity(u):m+=x}return{type:8,value:m,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===46){var E=this.scanner.source.charCodeAt(this.scanner.index+1),S=this.scanner.source.charCodeAt(this.scanner.index+2),r=E===46&&S===46?"...":".",a=this.scanner.index;return this.scanner.index+=r.length,{type:7,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}if(i===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(C.Character.isIdentifierStart(i)&&i!==92){var a=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var x=this.scanner.source.charCodeAt(this.scanner.index);if(C.Character.isIdentifierPart(x)&&x!==92)++this.scanner.index;else if(x===45)++this.scanner.index;else break}var b=this.scanner.source.slice(a,this.scanner.index);return{type:100,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:a,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var i=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(i)),i},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var i=this.scanner.index,r="";!this.scanner.eof();){var a=this.scanner.source[this.scanner.index];if(a==="{"||a==="<")break;++this.scanner.index,r+=a,C.Character.isLineTerminator(a.charCodeAt(0))&&(++this.scanner.lineNumber,a==="\r"&&this.scanner.source[this.scanner.index]===`
2
+ `&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var u={type:101,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:i,end:this.scanner.index};return r.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(u)),u},t.prototype.peekJSXToken=function(){var i=this.scanner.saveState();this.scanner.scanComments();var r=this.lexJSX();return this.scanner.restoreState(i),r},t.prototype.expectJSX=function(i){var r=this.nextJSXToken();(r.type!==7||r.value!==i)&&this.throwUnexpectedToken(r)},t.prototype.matchJSX=function(i){var r=this.peekJSXToken();return r.type===7&&r.value===i},t.prototype.parseJSXIdentifier=function(){var i=this.createJSXNode(),r=this.nextJSXToken();return r.type!==100&&this.throwUnexpectedToken(r),this.finalize(i,new d.JSXIdentifier(r.value))},t.prototype.parseJSXElementName=function(){var i=this.createJSXNode(),r=this.parseJSXIdentifier();if(this.matchJSX(":")){var a=r;this.expectJSX(":");var u=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXNamespacedName(a,u))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var m=r;this.expectJSX(".");var x=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXMemberExpression(m,x))}return r},t.prototype.parseJSXAttributeName=function(){var i=this.createJSXNode(),r,a=this.parseJSXIdentifier();if(this.matchJSX(":")){var u=a;this.expectJSX(":");var m=this.parseJSXIdentifier();r=this.finalize(i,new d.JSXNamespacedName(u,m))}else r=a;return r},t.prototype.parseJSXStringLiteralAttribute=function(){var i=this.createJSXNode(),r=this.nextJSXToken();r.type!==8&&this.throwUnexpectedToken(r);var a=this.getTokenRaw(r);return this.finalize(i,new g.Literal(r.value,a))},t.prototype.parseJSXExpressionAttribute=function(){var i=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(i,new d.JSXExpressionContainer(r))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var i=this.createJSXNode(),r=this.parseJSXAttributeName(),a=null;return this.matchJSX("=")&&(this.expectJSX("="),a=this.parseJSXAttributeValue()),this.finalize(i,new d.JSXAttribute(r,a))},t.prototype.parseJSXSpreadAttribute=function(){var i=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(i,new d.JSXSpreadAttribute(r))},t.prototype.parseJSXAttributes=function(){for(var i=[];!this.matchJSX("/")&&!this.matchJSX(">");){var r=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();i.push(r)}return i},t.prototype.parseJSXOpeningElement=function(){var i=this.createJSXNode();this.expectJSX("<");var r=this.parseJSXElementName(),a=this.parseJSXAttributes(),u=this.matchJSX("/");return u&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(i,new d.JSXOpeningElement(r,u,a))},t.prototype.parseJSXBoundaryElement=function(){var i=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var r=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(i,new d.JSXClosingElement(r))}var a=this.parseJSXElementName(),u=this.parseJSXAttributes(),m=this.matchJSX("/");return m&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(i,new d.JSXOpeningElement(a,m,u))},t.prototype.parseJSXEmptyExpression=function(){var i=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(i,new d.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var i=this.createJSXNode();this.expectJSX("{");var r;return this.matchJSX("}")?(r=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),r=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(i,new d.JSXExpressionContainer(r))},t.prototype.parseJSXChildren=function(){for(var i=[];!this.scanner.eof();){var r=this.createJSXChildNode(),a=this.nextJSXText();if(a.start<a.end){var u=this.getTokenRaw(a),m=this.finalize(r,new d.JSXText(a.value,u));i.push(m)}if(this.scanner.source[this.scanner.index]==="{"){var x=this.parseJSXExpressionContainer();i.push(x)}else break}return i},t.prototype.parseComplexJSXElement=function(i){for(var r=[];!this.scanner.eof();){i.children=i.children.concat(this.parseJSXChildren());var a=this.createJSXChildNode(),u=this.parseJSXBoundaryElement();if(u.type===h.JSXSyntax.JSXOpeningElement){var m=u;if(m.selfClosing){var x=this.finalize(a,new d.JSXElement(m,[],null));i.children.push(x)}else r.push(i),i={node:a,opening:m,closing:null,children:[]}}if(u.type===h.JSXSyntax.JSXClosingElement){i.closing=u;var E=o(i.opening.name),S=o(i.closing.name);if(E!==S&&this.tolerateError("Expected corresponding JSX closing tag for %0",E),r.length>0){var x=this.finalize(i.node,new d.JSXElement(i.opening,i.children,i.closing));i=r[r.length-1],i.children.push(x),r.pop()}else break}}return i},t.prototype.parseJSXElement=function(){var i=this.createJSXNode(),r=this.parseJSXOpeningElement(),a=[],u=null;if(!r.selfClosing){var m=this.parseComplexJSXElement({node:i,opening:r,closing:u,children:a});a=m.children,u=m.closing}return this.finalize(i,new d.JSXElement(r,a,u))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var i=this.parseJSXElement();return this.finishJSX(),i},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t})(D.Parser);c.JSXParser=s},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});var A={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};c.Character={fromCodePoint:function(l){return l<65536?String.fromCharCode(l):String.fromCharCode(55296+(l-65536>>10))+String.fromCharCode(56320+(l-65536&1023))},isWhiteSpace:function(l){return l===32||l===9||l===11||l===12||l===160||l>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(l)>=0},isLineTerminator:function(l){return l===10||l===13||l===8232||l===8233},isIdentifierStart:function(l){return l===36||l===95||l>=65&&l<=90||l>=97&&l<=122||l===92||l>=128&&A.NonAsciiIdentifierStart.test(c.Character.fromCodePoint(l))},isIdentifierPart:function(l){return l===36||l===95||l>=65&&l<=90||l>=97&&l<=122||l>=48&&l<=57||l===92||l>=128&&A.NonAsciiIdentifierPart.test(c.Character.fromCodePoint(l))},isDecimalDigit:function(l){return l>=48&&l<=57},isHexDigit:function(l){return l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102},isOctalDigit:function(l){return l>=48&&l<=55}}},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(6),C=(function(){function i(r){this.type=l.JSXSyntax.JSXClosingElement,this.name=r}return i})();c.JSXClosingElement=C;var d=(function(){function i(r,a,u){this.type=l.JSXSyntax.JSXElement,this.openingElement=r,this.children=a,this.closingElement=u}return i})();c.JSXElement=d;var h=(function(){function i(){this.type=l.JSXSyntax.JSXEmptyExpression}return i})();c.JSXEmptyExpression=h;var g=(function(){function i(r){this.type=l.JSXSyntax.JSXExpressionContainer,this.expression=r}return i})();c.JSXExpressionContainer=g;var D=(function(){function i(r){this.type=l.JSXSyntax.JSXIdentifier,this.name=r}return i})();c.JSXIdentifier=D;var v=(function(){function i(r,a){this.type=l.JSXSyntax.JSXMemberExpression,this.object=r,this.property=a}return i})();c.JSXMemberExpression=v;var n=(function(){function i(r,a){this.type=l.JSXSyntax.JSXAttribute,this.name=r,this.value=a}return i})();c.JSXAttribute=n;var o=(function(){function i(r,a){this.type=l.JSXSyntax.JSXNamespacedName,this.namespace=r,this.name=a}return i})();c.JSXNamespacedName=o;var s=(function(){function i(r,a,u){this.type=l.JSXSyntax.JSXOpeningElement,this.name=r,this.selfClosing=a,this.attributes=u}return i})();c.JSXOpeningElement=s;var e=(function(){function i(r){this.type=l.JSXSyntax.JSXSpreadAttribute,this.argument=r}return i})();c.JSXSpreadAttribute=e;var t=(function(){function i(r,a){this.type=l.JSXSyntax.JSXText,this.value=r,this.raw=a}return i})();c.JSXText=t},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(2),C=(function(){function p(f){this.type=l.Syntax.ArrayExpression,this.elements=f}return p})();c.ArrayExpression=C;var d=(function(){function p(f){this.type=l.Syntax.ArrayPattern,this.elements=f}return p})();c.ArrayPattern=d;var h=(function(){function p(f,y,B){this.type=l.Syntax.ArrowFunctionExpression,this.id=null,this.params=f,this.body=y,this.generator=!1,this.expression=B,this.async=!1}return p})();c.ArrowFunctionExpression=h;var g=(function(){function p(f,y,B){this.type=l.Syntax.AssignmentExpression,this.operator=f,this.left=y,this.right=B}return p})();c.AssignmentExpression=g;var D=(function(){function p(f,y){this.type=l.Syntax.AssignmentPattern,this.left=f,this.right=y}return p})();c.AssignmentPattern=D;var v=(function(){function p(f,y,B){this.type=l.Syntax.ArrowFunctionExpression,this.id=null,this.params=f,this.body=y,this.generator=!1,this.expression=B,this.async=!0}return p})();c.AsyncArrowFunctionExpression=v;var n=(function(){function p(f,y,B){this.type=l.Syntax.FunctionDeclaration,this.id=f,this.params=y,this.body=B,this.generator=!1,this.expression=!1,this.async=!0}return p})();c.AsyncFunctionDeclaration=n;var o=(function(){function p(f,y,B){this.type=l.Syntax.FunctionExpression,this.id=f,this.params=y,this.body=B,this.generator=!1,this.expression=!1,this.async=!0}return p})();c.AsyncFunctionExpression=o;var s=(function(){function p(f){this.type=l.Syntax.AwaitExpression,this.argument=f}return p})();c.AwaitExpression=s;var e=(function(){function p(f,y,B){var L=f==="||"||f==="&&";this.type=L?l.Syntax.LogicalExpression:l.Syntax.BinaryExpression,this.operator=f,this.left=y,this.right=B}return p})();c.BinaryExpression=e;var t=(function(){function p(f){this.type=l.Syntax.BlockStatement,this.body=f}return p})();c.BlockStatement=t;var i=(function(){function p(f){this.type=l.Syntax.BreakStatement,this.label=f}return p})();c.BreakStatement=i;var r=(function(){function p(f,y){this.type=l.Syntax.CallExpression,this.callee=f,this.arguments=y}return p})();c.CallExpression=r;var a=(function(){function p(f,y){this.type=l.Syntax.CatchClause,this.param=f,this.body=y}return p})();c.CatchClause=a;var u=(function(){function p(f){this.type=l.Syntax.ClassBody,this.body=f}return p})();c.ClassBody=u;var m=(function(){function p(f,y,B){this.type=l.Syntax.ClassDeclaration,this.id=f,this.superClass=y,this.body=B}return p})();c.ClassDeclaration=m;var x=(function(){function p(f,y,B){this.type=l.Syntax.ClassExpression,this.id=f,this.superClass=y,this.body=B}return p})();c.ClassExpression=x;var E=(function(){function p(f,y){this.type=l.Syntax.MemberExpression,this.computed=!0,this.object=f,this.property=y}return p})();c.ComputedMemberExpression=E;var S=(function(){function p(f,y,B){this.type=l.Syntax.ConditionalExpression,this.test=f,this.consequent=y,this.alternate=B}return p})();c.ConditionalExpression=S;var b=(function(){function p(f){this.type=l.Syntax.ContinueStatement,this.label=f}return p})();c.ContinueStatement=b;var T=(function(){function p(){this.type=l.Syntax.DebuggerStatement}return p})();c.DebuggerStatement=T;var I=(function(){function p(f,y){this.type=l.Syntax.ExpressionStatement,this.expression=f,this.directive=y}return p})();c.Directive=I;var N=(function(){function p(f,y){this.type=l.Syntax.DoWhileStatement,this.body=f,this.test=y}return p})();c.DoWhileStatement=N;var P=(function(){function p(){this.type=l.Syntax.EmptyStatement}return p})();c.EmptyStatement=P;var j=(function(){function p(f){this.type=l.Syntax.ExportAllDeclaration,this.source=f}return p})();c.ExportAllDeclaration=j;var J=(function(){function p(f){this.type=l.Syntax.ExportDefaultDeclaration,this.declaration=f}return p})();c.ExportDefaultDeclaration=J;var X=(function(){function p(f,y,B){this.type=l.Syntax.ExportNamedDeclaration,this.declaration=f,this.specifiers=y,this.source=B}return p})();c.ExportNamedDeclaration=X;var U=(function(){function p(f,y){this.type=l.Syntax.ExportSpecifier,this.exported=y,this.local=f}return p})();c.ExportSpecifier=U;var H=(function(){function p(f){this.type=l.Syntax.ExpressionStatement,this.expression=f}return p})();c.ExpressionStatement=H;var G=(function(){function p(f,y,B){this.type=l.Syntax.ForInStatement,this.left=f,this.right=y,this.body=B,this.each=!1}return p})();c.ForInStatement=G;var Y=(function(){function p(f,y,B){this.type=l.Syntax.ForOfStatement,this.left=f,this.right=y,this.body=B}return p})();c.ForOfStatement=Y;var K=(function(){function p(f,y,B,L){this.type=l.Syntax.ForStatement,this.init=f,this.test=y,this.update=B,this.body=L}return p})();c.ForStatement=K;var q=(function(){function p(f,y,B,L){this.type=l.Syntax.FunctionDeclaration,this.id=f,this.params=y,this.body=B,this.generator=L,this.expression=!1,this.async=!1}return p})();c.FunctionDeclaration=q;var ie=(function(){function p(f,y,B,L){this.type=l.Syntax.FunctionExpression,this.id=f,this.params=y,this.body=B,this.generator=L,this.expression=!1,this.async=!1}return p})();c.FunctionExpression=ie;var re=(function(){function p(f){this.type=l.Syntax.Identifier,this.name=f}return p})();c.Identifier=re;var se=(function(){function p(f,y,B){this.type=l.Syntax.IfStatement,this.test=f,this.consequent=y,this.alternate=B}return p})();c.IfStatement=se;var De=(function(){function p(f,y){this.type=l.Syntax.ImportDeclaration,this.specifiers=f,this.source=y}return p})();c.ImportDeclaration=De;var ve=(function(){function p(f){this.type=l.Syntax.ImportDefaultSpecifier,this.local=f}return p})();c.ImportDefaultSpecifier=ve;var Ee=(function(){function p(f){this.type=l.Syntax.ImportNamespaceSpecifier,this.local=f}return p})();c.ImportNamespaceSpecifier=Ee;var ye=(function(){function p(f,y){this.type=l.Syntax.ImportSpecifier,this.local=f,this.imported=y}return p})();c.ImportSpecifier=ye;var Ce=(function(){function p(f,y){this.type=l.Syntax.LabeledStatement,this.label=f,this.body=y}return p})();c.LabeledStatement=Ce;var Ae=(function(){function p(f,y){this.type=l.Syntax.Literal,this.value=f,this.raw=y}return p})();c.Literal=Ae;var Se=(function(){function p(f,y){this.type=l.Syntax.MetaProperty,this.meta=f,this.property=y}return p})();c.MetaProperty=Se;var ge=(function(){function p(f,y,B,L,ne){this.type=l.Syntax.MethodDefinition,this.key=f,this.computed=y,this.value=B,this.kind=L,this.static=ne}return p})();c.MethodDefinition=ge;var Fe=(function(){function p(f){this.type=l.Syntax.Program,this.body=f,this.sourceType="module"}return p})();c.Module=Fe;var we=(function(){function p(f,y){this.type=l.Syntax.NewExpression,this.callee=f,this.arguments=y}return p})();c.NewExpression=we;var ke=(function(){function p(f){this.type=l.Syntax.ObjectExpression,this.properties=f}return p})();c.ObjectExpression=ke;var be=(function(){function p(f){this.type=l.Syntax.ObjectPattern,this.properties=f}return p})();c.ObjectPattern=be;var Be=(function(){function p(f,y,B,L,ne,Ze){this.type=l.Syntax.Property,this.key=y,this.computed=B,this.value=L,this.kind=f,this.method=ne,this.shorthand=Ze}return p})();c.Property=Be;var Te=(function(){function p(f,y,B,L){this.type=l.Syntax.Literal,this.value=f,this.raw=y,this.regex={pattern:B,flags:L}}return p})();c.RegexLiteral=Te;var Ie=(function(){function p(f){this.type=l.Syntax.RestElement,this.argument=f}return p})();c.RestElement=Ie;var Ne=(function(){function p(f){this.type=l.Syntax.ReturnStatement,this.argument=f}return p})();c.ReturnStatement=Ne;var Me=(function(){function p(f){this.type=l.Syntax.Program,this.body=f,this.sourceType="script"}return p})();c.Script=Me;var Pe=(function(){function p(f){this.type=l.Syntax.SequenceExpression,this.expressions=f}return p})();c.SequenceExpression=Pe;var Je=(function(){function p(f){this.type=l.Syntax.SpreadElement,this.argument=f}return p})();c.SpreadElement=Je;var Xe=(function(){function p(f,y){this.type=l.Syntax.MemberExpression,this.computed=!1,this.object=f,this.property=y}return p})();c.StaticMemberExpression=Xe;var Ue=(function(){function p(){this.type=l.Syntax.Super}return p})();c.Super=Ue;var Le=(function(){function p(f,y){this.type=l.Syntax.SwitchCase,this.test=f,this.consequent=y}return p})();c.SwitchCase=Le;var ze=(function(){function p(f,y){this.type=l.Syntax.SwitchStatement,this.discriminant=f,this.cases=y}return p})();c.SwitchStatement=ze;var Oe=(function(){function p(f,y){this.type=l.Syntax.TaggedTemplateExpression,this.tag=f,this.quasi=y}return p})();c.TaggedTemplateExpression=Oe;var Re=(function(){function p(f,y){this.type=l.Syntax.TemplateElement,this.value=f,this.tail=y}return p})();c.TemplateElement=Re;var Ke=(function(){function p(f,y){this.type=l.Syntax.TemplateLiteral,this.quasis=f,this.expressions=y}return p})();c.TemplateLiteral=Ke;var je=(function(){function p(){this.type=l.Syntax.ThisExpression}return p})();c.ThisExpression=je;var He=(function(){function p(f){this.type=l.Syntax.ThrowStatement,this.argument=f}return p})();c.ThrowStatement=He;var We=(function(){function p(f,y,B){this.type=l.Syntax.TryStatement,this.block=f,this.handler=y,this.finalizer=B}return p})();c.TryStatement=We;var Ge=(function(){function p(f,y){this.type=l.Syntax.UnaryExpression,this.operator=f,this.argument=y,this.prefix=!0}return p})();c.UnaryExpression=Ge;var Ve=(function(){function p(f,y,B){this.type=l.Syntax.UpdateExpression,this.operator=f,this.argument=y,this.prefix=B}return p})();c.UpdateExpression=Ve;var _e=(function(){function p(f,y){this.type=l.Syntax.VariableDeclaration,this.declarations=f,this.kind=y}return p})();c.VariableDeclaration=_e;var Ye=(function(){function p(f,y){this.type=l.Syntax.VariableDeclarator,this.id=f,this.init=y}return p})();c.VariableDeclarator=Ye;var qe=(function(){function p(f,y){this.type=l.Syntax.WhileStatement,this.test=f,this.body=y}return p})();c.WhileStatement=qe;var $e=(function(){function p(f,y){this.type=l.Syntax.WithStatement,this.object=f,this.body=y}return p})();c.WithStatement=$e;var Qe=(function(){function p(f,y){this.type=l.Syntax.YieldExpression,this.argument=f,this.delegate=y}return p})();c.YieldExpression=Qe},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(9),C=A(10),d=A(11),h=A(7),g=A(12),D=A(2),v=A(13),n="ArrowParameterPlaceHolder",o=(function(){function s(e,t,i){t===void 0&&(t={}),this.config={range:typeof t.range=="boolean"&&t.range,loc:typeof t.loc=="boolean"&&t.loc,source:null,tokens:typeof t.tokens=="boolean"&&t.tokens,comment:typeof t.comment=="boolean"&&t.comment,tolerant:typeof t.tolerant=="boolean"&&t.tolerant},this.config.loc&&t.source&&t.source!==null&&(this.config.source=String(t.source)),this.delegate=i,this.errorHandler=new C.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new g.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return s.prototype.throwError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(m,x){return l.assert(x<t.length,"Message reference must be in range"),t[x]}),r=this.lastMarker.index,a=this.lastMarker.line,u=this.lastMarker.column+1;throw this.errorHandler.createError(r,a,u,i)},s.prototype.tolerateError=function(e){var t=Array.prototype.slice.call(arguments,1),i=e.replace(/%(\d)/g,function(m,x){return l.assert(x<t.length,"Message reference must be in range"),t[x]}),r=this.lastMarker.index,a=this.scanner.lineNumber,u=this.lastMarker.column+1;this.errorHandler.tolerateError(r,a,u,i)},s.prototype.unexpectedTokenError=function(e,t){var i=t||d.Messages.UnexpectedToken,r;if(e?(t||(i=e.type===2?d.Messages.UnexpectedEOS:e.type===3?d.Messages.UnexpectedIdentifier:e.type===6?d.Messages.UnexpectedNumber:e.type===8?d.Messages.UnexpectedString:e.type===10?d.Messages.UnexpectedTemplate:d.Messages.UnexpectedToken,e.type===4&&(this.scanner.isFutureReservedWord(e.value)?i=d.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(i=d.Messages.StrictReservedWord))),r=e.value):r="ILLEGAL",i=i.replace("%0",r),e&&typeof e.lineNumber=="number"){var a=e.start,u=e.lineNumber,m=this.lastMarker.index-this.lastMarker.column,x=e.start-m+1;return this.errorHandler.createError(a,u,x,i)}else{var a=this.lastMarker.index,u=this.lastMarker.line,x=this.lastMarker.column+1;return this.errorHandler.createError(a,u,x,i)}},s.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},s.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},s.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var i=e[t],r=void 0;r={type:i.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(i.slice[0],i.slice[1])},this.config.range&&(r.range=i.range),this.config.loc&&(r.loc=i.loc);var a={start:{line:i.loc.start.line,column:i.loc.start.column,offset:i.range[0]},end:{line:i.loc.end.line,column:i.loc.end.column,offset:i.range[1]}};this.delegate(r,a)}}},s.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},s.prototype.convertToken=function(e){var t={type:v.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),e.type===9){var i=e.pattern,r=e.flags;t.regex={pattern:i,flags:r}}return t},s.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&t.type===3&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&t.type!==2&&this.tokens.push(this.convertToken(t)),e},s.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},s.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},s.prototype.startNode=function(e,t){t===void 0&&(t=0);var i=e.start-e.lineStart,r=e.lineNumber;return i<0&&(i+=t,r--),{index:e.start,line:r,column:i}},s.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var i={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,i)}return t},s.prototype.expect=function(e){var t=this.nextToken();(t.type!==7||t.value!==e)&&this.throwUnexpectedToken(t)},s.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;e.type===7&&e.value===","?this.nextToken():e.type===7&&e.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,d.Messages.UnexpectedToken)}else this.expect(",")},s.prototype.expectKeyword=function(e){var t=this.nextToken();(t.type!==4||t.value!==e)&&this.throwUnexpectedToken(t)},s.prototype.match=function(e){return this.lookahead.type===7&&this.lookahead.value===e},s.prototype.matchKeyword=function(e){return this.lookahead.type===4&&this.lookahead.value===e},s.prototype.matchContextualKeyword=function(e){return this.lookahead.type===3&&this.lookahead.value===e},s.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var e=this.lookahead.value;return e==="="||e==="*="||e==="**="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|="},s.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=r,a},s.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,i=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var a=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,a},s.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},s.prototype.parsePrimaryExpression=function(){var e=this.createNode(),t,i,r;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(e,new h.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,d.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new h.Literal(i.value,r));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new h.Literal(i.value==="true",r));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,i=this.nextToken(),r=this.getTokenRaw(i),t=this.finalize(e,new h.Literal(null,r));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,i=this.nextRegexToken(),r=this.getTokenRaw(i),t=this.finalize(e,new h.RegexLiteral(i.regex,r,i.pattern,i.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(e,new h.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(e,new h.ThisExpression)):this.matchKeyword("class")?t=this.parseClassExpression():t=this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},s.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new h.SpreadElement(t))},s.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(i)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new h.ArrayExpression(t))},s.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=i,r},s.prototype.parsePropertyMethodFunction=function(){var e=!1,t=this.createNode(),i=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters(),a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(t,new h.FunctionExpression(null,r.params,a,e))},s.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var r=this.parseFormalParameters(),a=this.parsePropertyMethod(r);return this.context.allowYield=t,this.context.await=i,this.finalize(e,new h.AsyncFunctionExpression(null,r.params,a))},s.prototype.parseObjectPropertyKey=function(){var e=this.createNode(),t=this.nextToken(),i;switch(t.type){case 8:case 6:this.context.strict&&t.octal&&this.tolerateUnexpectedToken(t,d.Messages.StrictOctalLiteral);var r=this.getTokenRaw(t);i=this.finalize(e,new h.Literal(t.value,r));break;case 3:case 1:case 5:case 4:i=this.finalize(e,new h.Identifier(t.value));break;case 7:t.value==="["?(i=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):i=this.throwUnexpectedToken(t);break;default:i=this.throwUnexpectedToken(t)}return i},s.prototype.isPropertyKey=function(e,t){return e.type===D.Syntax.Identifier&&e.name===t||e.type===D.Syntax.Literal&&e.value===t},s.prototype.parseObjectProperty=function(e){var t=this.createNode(),i=this.lookahead,r,a=null,u=null,m=!1,x=!1,E=!1,S=!1;if(i.type===3){var b=i.value;this.nextToken(),m=this.match("["),S=!this.hasLineTerminator&&b==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),a=S?this.parseObjectPropertyKey():this.finalize(t,new h.Identifier(b))}else this.match("*")?this.nextToken():(m=this.match("["),a=this.parseObjectPropertyKey());var T=this.qualifiedPropertyName(this.lookahead);if(i.type===3&&!S&&i.value==="get"&&T)r="get",m=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,u=this.parseGetterMethod();else if(i.type===3&&!S&&i.value==="set"&&T)r="set",m=this.match("["),a=this.parseObjectPropertyKey(),u=this.parseSetterMethod();else if(i.type===7&&i.value==="*"&&T)r="init",m=this.match("["),a=this.parseObjectPropertyKey(),u=this.parseGeneratorMethod(),x=!0;else if(a||this.throwUnexpectedToken(this.lookahead),r="init",this.match(":")&&!S)!m&&this.isPropertyKey(a,"__proto__")&&(e.value&&this.tolerateError(d.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),u=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))u=S?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),x=!0;else if(i.type===3){var b=this.finalize(t,new h.Identifier(i.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),E=!0;var I=this.isolateCoverGrammar(this.parseAssignmentExpression);u=this.finalize(t,new h.AssignmentPattern(b,I))}else E=!0,u=b}else this.throwUnexpectedToken(this.nextToken());return this.finalize(t,new h.Property(r,a,m,u,x,E))},s.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],i={value:!1};!this.match("}");)t.push(this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new h.ObjectExpression(t))},s.prototype.parseTemplateHead=function(){l.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),i=t.value,r=t.cooked;return this.finalize(e,new h.TemplateElement({raw:i,cooked:r},t.tail))},s.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),i=t.value,r=t.cooked;return this.finalize(e,new h.TemplateElement({raw:i,cooked:r},t.tail))},s.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],i=[],r=this.parseTemplateHead();for(i.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),i.push(r);return this.finalize(e,new h.TemplateLiteral(i,t))},s.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case D.Syntax.Identifier:case D.Syntax.MemberExpression:case D.Syntax.RestElement:case D.Syntax.AssignmentPattern:break;case D.Syntax.SpreadElement:e.type=D.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case D.Syntax.ArrayExpression:e.type=D.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)e.elements[t]!==null&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case D.Syntax.ObjectExpression:e.type=D.Syntax.ObjectPattern;for(var t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case D.Syntax.AssignmentExpression:e.type=D.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left);break}},s.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:n,params:[],async:!1};else{var t=this.lookahead,i=[];if(this.match("..."))e=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:n,params:[e],async:!1};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var a=[];for(this.context.isAssignmentTarget=!1,a.push(e);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var u=0;u<a.length;u++)this.reinterpretExpressionAsPattern(a[u]);r=!0,e={type:n,params:a,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),a.push(this.parseRestElement(i)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var u=0;u<a.length;u++)this.reinterpretExpressionAsPattern(a[u]);r=!0,e={type:n,params:a,async:!1}}else a.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(r)break}r||(e=this.finalize(this.startNode(t),new h.SequenceExpression(a)))}if(!r){if(this.expect(")"),this.match("=>")&&(e.type===D.Syntax.Identifier&&e.name==="yield"&&(r=!0,e={type:n,params:[e],async:!1}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===D.Syntax.SequenceExpression)for(var u=0;u<e.expressions.length;u++)this.reinterpretExpressionAsPattern(e.expressions[u]);else this.reinterpretExpressionAsPattern(e);var m=e.type===D.Syntax.SequenceExpression?e.expressions:[e];e={type:n,params:m,async:!1}}this.context.isBindingElement=!1}}}return e},s.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},s.prototype.isIdentifierName=function(e){return e.type===3||e.type===4||e.type===1||e.type===5},s.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new h.Identifier(t.value))},s.prototype.parseNewExpression=function(){var e=this.createNode(),t=this.parseIdentifierName();l.assert(t.name==="new","New expression must start with `new`");var i;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var r=this.parseIdentifierName();i=new h.MetaProperty(t,r)}else this.throwUnexpectedToken(this.lookahead);else{var a=this.isolateCoverGrammar(this.parseLeftHandSideExpression),u=this.match("(")?this.parseArguments():[];i=new h.NewExpression(a,u),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(e,i)},s.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},s.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),e},s.prototype.parseLeftHandSideExpressionAllowCall=function(){var e=this.lookahead,t=this.matchContextualKeyword("async"),i=this.context.allowIn;this.context.allowIn=!0;var r;for(this.matchKeyword("super")&&this.context.inFunctionBody?(r=this.createNode(),this.nextToken(),r=this.finalize(r,new h.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):r=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var a=this.parseIdentifierName();r=this.finalize(this.startNode(e),new h.StaticMemberExpression(r,a))}else if(this.match("(")){var u=t&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var m=u?this.parseAsyncArguments():this.parseArguments();if(r=this.finalize(this.startNode(e),new h.CallExpression(r,m)),u&&this.match("=>")){for(var x=0;x<m.length;++x)this.reinterpretExpressionAsPattern(m[x]);r={type:n,params:m,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var a=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),r=this.finalize(this.startNode(e),new h.ComputedMemberExpression(r,a))}else if(this.lookahead.type===10&&this.lookahead.head){var E=this.parseTemplateLiteral();r=this.finalize(this.startNode(e),new h.TaggedTemplateExpression(r,E))}else break;return this.context.allowIn=i,r},s.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(e,new h.Super)},s.prototype.parseLeftHandSideExpression=function(){l.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var i=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new h.ComputedMemberExpression(t,i))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var i=this.parseIdentifierName();t=this.finalize(e,new h.StaticMemberExpression(t,i))}else if(this.lookahead.type===10&&this.lookahead.head){var r=this.parseTemplateLiteral();t=this.finalize(e,new h.TaggedTemplateExpression(t,r))}else break;return t},s.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var i=this.startNode(t),r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===D.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(d.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment);var a=!0;e=this.finalize(i,new h.UpdateExpression(r.value,e,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===D.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(d.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var u=this.nextToken().value,a=!1;e=this.finalize(this.startNode(t),new h.UpdateExpression(u,e,a))}return e},s.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new h.AwaitExpression(t))},s.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),i=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new h.UnaryExpression(i.value,e)),this.context.strict&&e.operator==="delete"&&e.argument.type===D.Syntax.Identifier&&this.tolerateError(d.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?e=this.parseAwaitExpression():e=this.parseUpdateExpression();return e},s.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==D.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=t,r=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new h.BinaryExpression("**",i,r))}return t},s.prototype.binaryPrecedence=function(e){var t=e.value,i;return e.type===7?i=this.operatorPrecedence[t]||0:e.type===4?i=t==="instanceof"||this.context.allowIn&&t==="in"?7:0:i=0,i},s.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),i=this.lookahead,r=this.binaryPrecedence(i);if(r>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var a=[e,this.lookahead],u=t,m=this.isolateCoverGrammar(this.parseExponentiationExpression),x=[u,i.value,m],E=[r];r=this.binaryPrecedence(this.lookahead),!(r<=0);){for(;x.length>2&&r<=E[E.length-1];){m=x.pop();var S=x.pop();E.pop(),u=x.pop(),a.pop();var b=this.startNode(a[a.length-1]);x.push(this.finalize(b,new h.BinaryExpression(S,u,m)))}x.push(this.nextToken().value),E.push(r),a.push(this.lookahead),x.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var T=x.length-1;t=x[T];for(var I=a.pop();T>1;){var N=a.pop(),P=I&&I.lineStart,b=this.startNode(N,P),S=x[T-1];t=this.finalize(b,new h.BinaryExpression(S,x[T-2],t)),T-=2,I=N}}return t},s.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var a=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new h.ConditionalExpression(t,r,a)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},s.prototype.checkPatternParam=function(e,t){switch(t.type){case D.Syntax.Identifier:this.validateParam(e,t,t.name);break;case D.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case D.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case D.Syntax.ArrayPattern:for(var i=0;i<t.elements.length;i++)t.elements[i]!==null&&this.checkPatternParam(e,t.elements[i]);break;case D.Syntax.ObjectPattern:for(var i=0;i<t.properties.length;i++)this.checkPatternParam(e,t.properties[i].value);break}e.simple=e.simple&&t instanceof h.Identifier},s.prototype.reinterpretAsCoverFormalsList=function(e){var t=[e],i,r=!1;switch(e.type){case D.Syntax.Identifier:break;case n:t=e.params,r=e.async;break;default:return null}i={simple:!0,paramSet:{}};for(var a=0;a<t.length;++a){var u=t[a];u.type===D.Syntax.AssignmentPattern?u.right.type===D.Syntax.YieldExpression&&(u.right.argument&&this.throwUnexpectedToken(this.lookahead),u.right.type=D.Syntax.Identifier,u.right.name="yield",delete u.right.argument,delete u.right.delegate):r&&u.type===D.Syntax.Identifier&&u.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(i,u),t[a]=u}if(this.context.strict||!this.context.allowYield)for(var a=0;a<t.length;++a){var u=t[a];u.type===D.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(i.message===d.Messages.StrictParamDupe){var m=this.context.strict?i.stricted:i.firstRestricted;this.throwUnexpectedToken(m,i.message)}return{simple:i.simple,params:t,stricted:i.stricted,firstRestricted:i.firstRestricted,message:i.message}},s.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,i=t;if(e=this.parseConditionalExpression(),i.type===3&&i.lineNumber===this.lookahead.lineNumber&&i.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var r=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(r),e={type:n,params:[r],async:!0}}if(e.type===n||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var a=e.async,u=this.reinterpretAsCoverFormalsList(e);if(u){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var m=this.context.strict,x=this.context.allowStrictDirective;this.context.allowStrictDirective=u.simple;var E=this.context.allowYield,S=this.context.await;this.context.allowYield=!0,this.context.await=a;var b=this.startNode(t);this.expect("=>");var T=void 0;if(this.match("{")){var I=this.context.allowIn;this.context.allowIn=!0,T=this.parseFunctionSourceElements(),this.context.allowIn=I}else T=this.isolateCoverGrammar(this.parseAssignmentExpression);var N=T.type!==D.Syntax.BlockStatement;this.context.strict&&u.firstRestricted&&this.throwUnexpectedToken(u.firstRestricted,u.message),this.context.strict&&u.stricted&&this.tolerateUnexpectedToken(u.stricted,u.message),e=a?this.finalize(b,new h.AsyncArrowFunctionExpression(u.params,T,N)):this.finalize(b,new h.ArrowFunctionExpression(u.params,T,N)),this.context.strict=m,this.context.allowStrictDirective=x,this.context.allowYield=E,this.context.await=S}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(d.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===D.Syntax.Identifier){var P=e;this.scanner.isRestrictedWord(P.name)&&this.tolerateUnexpectedToken(i,d.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(P.name)&&this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),i=this.nextToken();var j=i.value,J=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new h.AssignmentExpression(j,e,J)),this.context.firstCoverInitializedNameError=null}}return e},s.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(t);this.lookahead.type!==2&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new h.SequenceExpression(i))}return t},s.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,d.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,d.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement();break}else e=this.parseStatement();return e},s.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new h.BlockStatement(t))},s.prototype.parseLexicalBinding=function(e,t){var i=this.createNode(),r=[],a=this.parsePattern(r,e);this.context.strict&&a.type===D.Syntax.Identifier&&this.scanner.isRestrictedWord(a.name)&&this.tolerateError(d.Messages.StrictVarName);var u=null;return e==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),u=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(d.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&a.type!==D.Syntax.Identifier||this.match("="))&&(this.expect("="),u=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new h.VariableDeclarator(a,u))},s.prototype.parseBindingList=function(e,t){for(var i=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(e,t));return i},s.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),t.type===3||t.type===7&&t.value==="["||t.type===7&&t.value==="{"||t.type===4&&t.value==="let"||t.type===4&&t.value==="yield"},s.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),i=this.nextToken().value;l.assert(i==="let"||i==="const","Lexical declaration must be either let or const");var r=this.parseBindingList(i,e);return this.consumeSemicolon(),this.finalize(t,new h.VariableDeclaration(r,i))},s.prototype.parseBindingRestElement=function(e,t){var i=this.createNode();this.expect("...");var r=this.parsePattern(e,t);return this.finalize(i,new h.RestElement(r))},s.prototype.parseArrayPattern=function(e,t){var i=this.createNode();this.expect("[");for(var r=[];!this.match("]");)if(this.match(","))this.nextToken(),r.push(null);else{if(this.match("...")){r.push(this.parseBindingRestElement(e,t));break}else r.push(this.parsePatternWithDefault(e,t));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new h.ArrayPattern(r))},s.prototype.parsePropertyPattern=function(e,t){var i=this.createNode(),r=!1,a=!1,u=!1,m,x;if(this.lookahead.type===3){var E=this.lookahead;m=this.parseVariableIdentifier();var S=this.finalize(i,new h.Identifier(E.value));if(this.match("=")){e.push(E),a=!0,this.nextToken();var b=this.parseAssignmentExpression();x=this.finalize(this.startNode(E),new h.AssignmentPattern(S,b))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(e,t)):(e.push(E),a=!0,x=S)}else r=this.match("["),m=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(e,t);return this.finalize(i,new h.Property("init",m,r,x,u,a))},s.prototype.parseObjectPattern=function(e,t){var i=this.createNode(),r=[];for(this.expect("{");!this.match("}");)r.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new h.ObjectPattern(r))},s.prototype.parsePattern=function(e,t){var i;return this.match("[")?i=this.parseArrayPattern(e,t):this.match("{")?i=this.parseObjectPattern(e,t):(this.matchKeyword("let")&&(t==="const"||t==="let")&&this.tolerateUnexpectedToken(this.lookahead,d.Messages.LetInLexicalBinding),e.push(this.lookahead),i=this.parseVariableIdentifier(t)),i},s.prototype.parsePatternWithDefault=function(e,t){var i=this.lookahead,r=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var a=this.context.allowYield;this.context.allowYield=!0;var u=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=a,r=this.finalize(this.startNode(i),new h.AssignmentPattern(r,u))}return r},s.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),i=this.nextToken();return i.type===4&&i.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(i):i.type!==3?this.context.strict&&i.type===4&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,d.Messages.StrictReservedWord):(this.context.strict||i.value!=="let"||e!=="var")&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&i.type===3&&i.value==="await"&&this.tolerateUnexpectedToken(i),this.finalize(t,new h.Identifier(i.value))},s.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),i=[],r=this.parsePattern(i,"var");this.context.strict&&r.type===D.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(d.Messages.StrictVarName);var a=null;return this.match("=")?(this.nextToken(),a=this.isolateCoverGrammar(this.parseAssignmentExpression)):r.type!==D.Syntax.Identifier&&!e.inFor&&this.expect("="),this.finalize(t,new h.VariableDeclarator(r,a))},s.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},i=[];for(i.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(t));return i},s.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new h.VariableDeclaration(t,"var"))},s.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new h.EmptyStatement)},s.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new h.ExpressionStatement(t))},s.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(d.Messages.StrictFunction),this.parseStatement()},s.prototype.parseIfStatement=function(){var e=this.createNode(),t,i=null;this.expectKeyword("if"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new h.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(e,new h.IfStatement(r,t,i))},s.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new h.DoWhileStatement(i,r))},s.prototype.parseWhileStatement=function(){var e=this.createNode(),t;this.expectKeyword("while"),this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new h.EmptyStatement);else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=r}return this.finalize(e,new h.WhileStatement(i,t))},s.prototype.parseForStatement=function(){var e=null,t=null,i=null,r=!0,a,u,m=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){e=this.createNode(),this.nextToken();var x=this.context.allowIn;this.context.allowIn=!1;var E=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=x,E.length===1&&this.matchKeyword("in")){var S=E[0];S.init&&(S.id.type===D.Syntax.ArrayPattern||S.id.type===D.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(d.Messages.ForInOfLoopInitializer,"for-in"),e=this.finalize(e,new h.VariableDeclaration(E,"var")),this.nextToken(),a=e,u=this.parseExpression(),e=null}else E.length===1&&E[0].init===null&&this.matchContextualKeyword("of")?(e=this.finalize(e,new h.VariableDeclaration(E,"var")),this.nextToken(),a=e,u=this.parseAssignmentExpression(),e=null,r=!1):(e=this.finalize(e,new h.VariableDeclaration(E,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){e=this.createNode();var b=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")e=this.finalize(e,new h.Identifier(b)),this.nextToken(),a=e,u=this.parseExpression(),e=null;else{var x=this.context.allowIn;this.context.allowIn=!1;var E=this.parseBindingList(b,{inFor:!0});this.context.allowIn=x,E.length===1&&E[0].init===null&&this.matchKeyword("in")?(e=this.finalize(e,new h.VariableDeclaration(E,b)),this.nextToken(),a=e,u=this.parseExpression(),e=null):E.length===1&&E[0].init===null&&this.matchContextualKeyword("of")?(e=this.finalize(e,new h.VariableDeclaration(E,b)),this.nextToken(),a=e,u=this.parseAssignmentExpression(),e=null,r=!1):(this.consumeSemicolon(),e=this.finalize(e,new h.VariableDeclaration(E,b)))}}else{var T=this.lookahead,x=this.context.allowIn;if(this.context.allowIn=!1,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=x,this.matchKeyword("in"))(!this.context.isAssignmentTarget||e.type===D.Syntax.AssignmentExpression)&&this.tolerateError(d.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(e),a=e,u=this.parseExpression(),e=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||e.type===D.Syntax.AssignmentExpression)&&this.tolerateError(d.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(e),a=e,u=this.parseAssignmentExpression(),e=null,r=!1;else{if(this.match(",")){for(var I=[e];this.match(",");)this.nextToken(),I.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(T),new h.SequenceExpression(I))}this.expect(";")}}typeof a>"u"&&(this.match(";")||(t=this.parseExpression()),this.expect(";"),this.match(")")||(i=this.parseExpression()));var N;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),N=this.finalize(this.createNode(),new h.EmptyStatement);else{this.expect(")");var P=this.context.inIteration;this.context.inIteration=!0,N=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=P}return typeof a>"u"?this.finalize(m,new h.ForStatement(e,t,i,N)):r?this.finalize(m,new h.ForInStatement(a,u,N)):this.finalize(m,new h.ForOfStatement(a,u,N))},s.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();t=i;var r="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(d.Messages.UnknownLabel,i.name)}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&this.throwError(d.Messages.IllegalContinue),this.finalize(e,new h.ContinueStatement(t))},s.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),r="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(d.Messages.UnknownLabel,i.name),t=i}return this.consumeSemicolon(),t===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(d.Messages.IllegalBreak),this.finalize(e,new h.BreakStatement(t))},s.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(d.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,i=t?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(e,new h.ReturnStatement(i))},s.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(d.Messages.StrictModeWith);var e=this.createNode(),t;this.expectKeyword("with"),this.expect("(");var i=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new h.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new h.WithStatement(i,t))},s.prototype.parseSwitchCase=function(){var e=this.createNode(),t;this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var i=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)i.push(this.parseStatementListItem());return this.finalize(e,new h.SwitchCase(t,i))},s.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var r=[],a=!1;for(this.expect("{");!this.match("}");){var u=this.parseSwitchCase();u.test===null&&(a&&this.throwError(d.Messages.MultipleDefaultsInSwitch),a=!0),r.push(u)}return this.expect("}"),this.context.inSwitch=i,this.finalize(e,new h.SwitchStatement(t,r))},s.prototype.parseLabelledStatement=function(){var e=this.createNode(),t=this.parseExpression(),i;if(t.type===D.Syntax.Identifier&&this.match(":")){this.nextToken();var r=t,a="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)&&this.throwError(d.Messages.Redeclaration,"Label",r.name),this.context.labelSet[a]=!0;var u=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),u=this.parseClassDeclaration();else if(this.matchKeyword("function")){var m=this.lookahead,x=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(m,d.Messages.StrictFunction):x.generator&&this.tolerateUnexpectedToken(m,d.Messages.GeneratorInLegacyContext),u=x}else u=this.parseStatement();delete this.context.labelSet[a],i=new h.LabeledStatement(r,u)}else this.consumeSemicolon(),i=new h.ExpressionStatement(t);return this.finalize(e,i)},s.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(d.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new h.ThrowStatement(t))},s.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],i=this.parsePattern(t),r={},a=0;a<t.length;a++){var u="$"+t[a].value;Object.prototype.hasOwnProperty.call(r,u)&&this.tolerateError(d.Messages.DuplicateBinding,t[a].value),r[u]=!0}this.context.strict&&i.type===D.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(d.Messages.StrictCatchVariable),this.expect(")");var m=this.parseBlock();return this.finalize(e,new h.CatchClause(i,m))},s.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},s.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),i=this.matchKeyword("catch")?this.parseCatchClause():null,r=this.matchKeyword("finally")?this.parseFinallyClause():null;return!i&&!r&&this.throwError(d.Messages.NoCatchOrFinally),this.finalize(e,new h.TryStatement(t,i,r))},s.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new h.DebuggerStatement)},s.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;t==="{"?e=this.parseBlock():t==="("?e=this.parseExpressionStatement():t===";"?e=this.parseEmptyStatement():e=this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement();break}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},s.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),i=this.context.labelSet,r=this.context.inIteration,a=this.context.inSwitch,u=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=i,this.context.inIteration=r,this.context.inSwitch=a,this.context.inFunctionBody=u,this.finalize(e,new h.BlockStatement(t))},s.prototype.validateParam=function(e,t,i){var r="$"+i;this.context.strict?(this.scanner.isRestrictedWord(i)&&(e.stricted=t,e.message=d.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=d.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(i)?(e.firstRestricted=t,e.message=d.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(i)?(e.firstRestricted=t,e.message=d.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=d.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(e.paramSet,r,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[r]=!0},s.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var i=this.parsePattern(e);return this.match("=")&&this.throwError(d.Messages.DefaultRestParameter),this.match(")")||this.throwError(d.Messages.ParameterAfterRestParameter),this.finalize(t,new h.RestElement(i))},s.prototype.parseFormalParameter=function(e){for(var t=[],i=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),r=0;r<t.length;r++)this.validateParam(e,t[r],t[r].value);e.simple=e.simple&&i instanceof h.Identifier,e.params.push(i)},s.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(t),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},s.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var i=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===i.lineNumber&&i.type===4&&i.value==="function"}return e},s.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),i=this.matchContextualKeyword("async");i&&this.nextToken(),this.expectKeyword("function");var r=i?!1:this.match("*");r&&this.nextToken();var a,u=null,m=null;if(!e||!this.match("(")){var x=this.lookahead;u=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(x.value)&&this.tolerateUnexpectedToken(x,d.Messages.StrictFunctionName):this.scanner.isRestrictedWord(x.value)?(m=x,a=d.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(x.value)&&(m=x,a=d.Messages.StrictReservedWord)}var E=this.context.await,S=this.context.allowYield;this.context.await=i,this.context.allowYield=!r;var b=this.parseFormalParameters(m),T=b.params,I=b.stricted;m=b.firstRestricted,b.message&&(a=b.message);var N=this.context.strict,P=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var j=this.parseFunctionSourceElements();return this.context.strict&&m&&this.throwUnexpectedToken(m,a),this.context.strict&&I&&this.tolerateUnexpectedToken(I,a),this.context.strict=N,this.context.allowStrictDirective=P,this.context.await=E,this.context.allowYield=S,i?this.finalize(t,new h.AsyncFunctionDeclaration(u,T,j)):this.finalize(t,new h.FunctionDeclaration(u,T,j,r))},s.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var i=t?!1:this.match("*");i&&this.nextToken();var r,a=null,u,m=this.context.await,x=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!i,!this.match("(")){var E=this.lookahead;a=!this.context.strict&&!i&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(E.value)&&this.tolerateUnexpectedToken(E,d.Messages.StrictFunctionName):this.scanner.isRestrictedWord(E.value)?(u=E,r=d.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(E.value)&&(u=E,r=d.Messages.StrictReservedWord)}var S=this.parseFormalParameters(u),b=S.params,T=S.stricted;u=S.firstRestricted,S.message&&(r=S.message);var I=this.context.strict,N=this.context.allowStrictDirective;this.context.allowStrictDirective=S.simple;var P=this.parseFunctionSourceElements();return this.context.strict&&u&&this.throwUnexpectedToken(u,r),this.context.strict&&T&&this.tolerateUnexpectedToken(T,r),this.context.strict=I,this.context.allowStrictDirective=N,this.context.await=m,this.context.allowYield=x,t?this.finalize(e,new h.AsyncFunctionExpression(a,b,P)):this.finalize(e,new h.FunctionExpression(a,b,P,i))},s.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),i=this.parseExpression(),r=i.type===D.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,r?new h.Directive(i,r):new h.ExpressionStatement(i))},s.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var i=this.lookahead;if(i.type!==8)break;var r=this.parseDirective();t.push(r);var a=r.directive;if(typeof a!="string")break;a==="use strict"?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,d.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(i,d.Messages.IllegalLanguageModeDirective)):!e&&i.octal&&(e=i)}return t},s.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return e.value==="["}return!1},s.prototype.parseGetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length>0&&this.tolerateError(d.Messages.BadGetterArity);var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new h.FunctionExpression(null,r.params,a,t))},s.prototype.parseSetterMethod=function(){var e=this.createNode(),t=!1,i=this.context.allowYield;this.context.allowYield=!t;var r=this.parseFormalParameters();r.params.length!==1?this.tolerateError(d.Messages.BadSetterArity):r.params[0]instanceof h.RestElement&&this.tolerateError(d.Messages.BadSetterRestParameter);var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new h.FunctionExpression(null,r.params,a,t))},s.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=!0,i=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();this.context.allowYield=!1;var a=this.parsePropertyMethod(r);return this.context.allowYield=i,this.finalize(e,new h.FunctionExpression(null,r.params,a,t))},s.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e=t==="["||t==="("||t==="{"||t==="+"||t==="-"||t==="!"||t==="~"||t==="++"||t==="--"||t==="/"||t==="/=";break;case 4:e=t==="class"||t==="delete"||t==="function"||t==="let"||t==="new"||t==="super"||t==="this"||t==="typeof"||t==="void"||t==="yield";break}return e},s.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,i=!1;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=!1,i=this.match("*"),i?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=r}return this.finalize(e,new h.YieldExpression(t,i))},s.prototype.parseClassElement=function(e){var t=this.lookahead,i=this.createNode(),r="",a=null,u=null,m=!1,x=!1,E=!1,S=!1;if(this.match("*"))this.nextToken();else{m=this.match("["),a=this.parseObjectPropertyKey();var b=a;if(b.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,E=!0,m=this.match("["),this.match("*")?this.nextToken():a=this.parseObjectPropertyKey()),t.type===3&&!this.hasLineTerminator&&t.value==="async"){var T=this.lookahead.value;T!==":"&&T!=="("&&T!=="*"&&(S=!0,t=this.lookahead,a=this.parseObjectPropertyKey(),t.type===3&&t.value==="constructor"&&this.tolerateUnexpectedToken(t,d.Messages.ConstructorIsAsync))}}var I=this.qualifiedPropertyName(this.lookahead);return t.type===3?t.value==="get"&&I?(r="get",m=this.match("["),a=this.parseObjectPropertyKey(),this.context.allowYield=!1,u=this.parseGetterMethod()):t.value==="set"&&I&&(r="set",m=this.match("["),a=this.parseObjectPropertyKey(),u=this.parseSetterMethod()):t.type===7&&t.value==="*"&&I&&(r="init",m=this.match("["),a=this.parseObjectPropertyKey(),u=this.parseGeneratorMethod(),x=!0),!r&&a&&this.match("(")&&(r="init",u=S?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),x=!0),r||this.throwUnexpectedToken(this.lookahead),r==="init"&&(r="method"),m||(E&&this.isPropertyKey(a,"prototype")&&this.throwUnexpectedToken(t,d.Messages.StaticPrototype),!E&&this.isPropertyKey(a,"constructor")&&((r!=="method"||!x||u&&u.generator)&&this.throwUnexpectedToken(t,d.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,d.Messages.DuplicateConstructor):e.value=!0,r="constructor")),this.finalize(i,new h.MethodDefinition(a,m,u,r,E))},s.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},s.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new h.ClassBody(t))},s.prototype.parseClassDeclaration=function(e){var t=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=e&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),a=null;this.matchKeyword("extends")&&(this.nextToken(),a=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var u=this.parseClassBody();return this.context.strict=i,this.finalize(t,new h.ClassDeclaration(r,a,u))},s.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=this.lookahead.type===3?this.parseVariableIdentifier():null,r=null;this.matchKeyword("extends")&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var a=this.parseClassBody();return this.context.strict=t,this.finalize(e,new h.ClassExpression(i,r,a))},s.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new h.Module(t))},s.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();this.lookahead.type!==2;)t.push(this.parseStatementListItem());return this.finalize(e,new h.Script(t))},s.prototype.parseModuleSpecifier=function(){var e=this.createNode();this.lookahead.type!==8&&this.throwError(d.Messages.InvalidModuleSpecifier);var t=this.nextToken(),i=this.getTokenRaw(t);return this.finalize(e,new h.Literal(t.value,i))},s.prototype.parseImportSpecifier=function(){var e=this.createNode(),t,i;return this.lookahead.type===3?(t=this.parseVariableIdentifier(),i=t,this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseVariableIdentifier())):(t=this.parseIdentifierName(),i=t,this.matchContextualKeyword("as")?(this.nextToken(),i=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(e,new h.ImportSpecifier(i,t))},s.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},s.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new h.ImportDefaultSpecifier(t))},s.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(d.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new h.ImportNamespaceSpecifier(t))},s.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(d.Messages.IllegalImportDeclaration);var e=this.createNode();this.expectKeyword("import");var t,i=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?i=i.concat(this.parseNamedImports()):this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(i.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.match("{")?i=i.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new h.ImportDeclaration(i,t))},s.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),i=t;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(e,new h.ExportSpecifier(t,i))},s.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(d.Messages.IllegalExportDeclaration);var e=this.createNode();this.expectKeyword("export");var t;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);t=this.finalize(e,new h.ExportDefaultDeclaration(i))}else if(this.matchKeyword("class")){var i=this.parseClassDeclaration(!0);t=this.finalize(e,new h.ExportDefaultDeclaration(i))}else if(this.matchContextualKeyword("async")){var i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();t=this.finalize(e,new h.ExportDefaultDeclaration(i))}else{this.matchContextualKeyword("from")&&this.throwError(d.Messages.UnexpectedToken,this.lookahead.value);var i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),t=this.finalize(e,new h.ExportDefaultDeclaration(i))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var a=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new h.ExportAllDeclaration(a))}else if(this.lookahead.type===4){var i=void 0;switch(this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new h.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction()){var i=this.parseFunctionDeclaration();t=this.finalize(e,new h.ExportNamedDeclaration(i,[],null))}else{var u=[],m=null,x=!1;for(this.expect("{");!this.match("}");)x=x||this.matchKeyword("default"),u.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),m=this.parseModuleSpecifier(),this.consumeSemicolon();else if(x){var r=this.lookahead.value?d.Messages.UnexpectedToken:d.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}else this.consumeSemicolon();t=this.finalize(e,new h.ExportNamedDeclaration(null,u,m))}return t},s})();c.Parser=o},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});function A(l,C){if(!l)throw new Error("ASSERT: "+C)}c.assert=A},function(w,c){Object.defineProperty(c,"__esModule",{value:!0});var A=(function(){function l(){this.errors=[],this.tolerant=!1}return l.prototype.recordError=function(C){this.errors.push(C)},l.prototype.tolerate=function(C){if(this.tolerant)this.recordError(C);else throw C},l.prototype.constructError=function(C,d){var h=new Error(C);try{throw h}catch(g){Object.create&&Object.defineProperty&&(h=Object.create(g),Object.defineProperty(h,"column",{value:d}))}return h},l.prototype.createError=function(C,d,h,g){var D="Line "+d+": "+g,v=this.constructError(D,h);return v.index=C,v.lineNumber=d,v.description=g,v},l.prototype.throwError=function(C,d,h,g){throw this.createError(C,d,h,g)},l.prototype.tolerateError=function(C,d,h,g){var D=this.createError(C,d,h,g);if(this.tolerant)this.recordError(D);else throw D},l})();c.ErrorHandler=A},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(9),C=A(4),d=A(11);function h(v){return"0123456789abcdef".indexOf(v.toLowerCase())}function g(v){return"01234567".indexOf(v)}var D=(function(){function v(n,o){this.source=n,this.errorHandler=o,this.trackComment=!1,this.isModule=!1,this.length=n.length,this.index=0,this.lineNumber=n.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return v.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},v.prototype.restoreState=function(n){this.index=n.index,this.lineNumber=n.lineNumber,this.lineStart=n.lineStart},v.prototype.eof=function(){return this.index>=this.length},v.prototype.throwUnexpectedToken=function(n){return n===void 0&&(n=d.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,n)},v.prototype.tolerateUnexpectedToken=function(n){n===void 0&&(n=d.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,n)},v.prototype.skipSingleLineComment=function(n){var o=[],s,e;for(this.trackComment&&(o=[],s=this.index-n,e={start:{line:this.lineNumber,column:this.index-this.lineStart-n},end:{}});!this.eof();){var t=this.source.charCodeAt(this.index);if(++this.index,C.Character.isLineTerminator(t)){if(this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart-1};var i={multiLine:!1,slice:[s+n,this.index-1],range:[s,this.index-1],loc:e};o.push(i)}return t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,o}}if(this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart};var i={multiLine:!1,slice:[s+n,this.index],range:[s,this.index],loc:e};o.push(i)}return o},v.prototype.skipMultiLineComment=function(){var n=[],o,s;for(this.trackComment&&(n=[],o=this.index-2,s={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(C.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){s.end={line:this.lineNumber,column:this.index-this.lineStart};var t={multiLine:!0,slice:[o+2,this.index-2],range:[o,this.index],loc:s};n.push(t)}return n}++this.index}else++this.index}if(this.trackComment){s.end={line:this.lineNumber,column:this.index-this.lineStart};var t={multiLine:!0,slice:[o+2,this.index],range:[o,this.index],loc:s};n.push(t)}return this.tolerateUnexpectedToken(),n},v.prototype.scanComments=function(){var n;this.trackComment&&(n=[]);for(var o=this.index===0;!this.eof();){var s=this.source.charCodeAt(this.index);if(C.Character.isWhiteSpace(s))++this.index;else if(C.Character.isLineTerminator(s))++this.index,s===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,o=!0;else if(s===47)if(s=this.source.charCodeAt(this.index+1),s===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(n=n.concat(e)),o=!0}else if(s===42){this.index+=2;var e=this.skipMultiLineComment();this.trackComment&&(n=n.concat(e))}else break;else if(o&&s===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var e=this.skipSingleLineComment(3);this.trackComment&&(n=n.concat(e))}else break;else if(s===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var e=this.skipSingleLineComment(4);this.trackComment&&(n=n.concat(e))}else break;else break}return n},v.prototype.isFutureReservedWord=function(n){switch(n){case"enum":case"export":case"import":case"super":return!0;default:return!1}},v.prototype.isStrictModeReservedWord=function(n){switch(n){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},v.prototype.isRestrictedWord=function(n){return n==="eval"||n==="arguments"},v.prototype.isKeyword=function(n){switch(n.length){case 2:return n==="if"||n==="in"||n==="do";case 3:return n==="var"||n==="for"||n==="new"||n==="try"||n==="let";case 4:return n==="this"||n==="else"||n==="case"||n==="void"||n==="with"||n==="enum";case 5:return n==="while"||n==="break"||n==="catch"||n==="throw"||n==="const"||n==="yield"||n==="class"||n==="super";case 6:return n==="return"||n==="typeof"||n==="delete"||n==="switch"||n==="export"||n==="import";case 7:return n==="default"||n==="finally"||n==="extends";case 8:return n==="function"||n==="continue"||n==="debugger";case 10:return n==="instanceof";default:return!1}},v.prototype.codePointAt=function(n){var o=this.source.charCodeAt(n);if(o>=55296&&o<=56319){var s=this.source.charCodeAt(n+1);if(s>=56320&&s<=57343){var e=o;o=(e-55296)*1024+s-56320+65536}}return o},v.prototype.scanHexEscape=function(n){for(var o=n==="u"?4:2,s=0,e=0;e<o;++e)if(!this.eof()&&C.Character.isHexDigit(this.source.charCodeAt(this.index)))s=s*16+h(this.source[this.index++]);else return null;return String.fromCharCode(s)},v.prototype.scanUnicodeCodePointEscape=function(){var n=this.source[this.index],o=0;for(n==="}"&&this.throwUnexpectedToken();!this.eof()&&(n=this.source[this.index++],!!C.Character.isHexDigit(n.charCodeAt(0)));)o=o*16+h(n);return(o>1114111||n!=="}")&&this.throwUnexpectedToken(),C.Character.fromCodePoint(o)},v.prototype.getIdentifier=function(){for(var n=this.index++;!this.eof();){var o=this.source.charCodeAt(this.index);if(o===92)return this.index=n,this.getComplexIdentifier();if(o>=55296&&o<57343)return this.index=n,this.getComplexIdentifier();if(C.Character.isIdentifierPart(o))++this.index;else break}return this.source.slice(n,this.index)},v.prototype.getComplexIdentifier=function(){var n=this.codePointAt(this.index),o=C.Character.fromCodePoint(n);this.index+=o.length;var s;for(n===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,s=this.scanUnicodeCodePointEscape()):(s=this.scanHexEscape("u"),(s===null||s==="\\"||!C.Character.isIdentifierStart(s.charCodeAt(0)))&&this.throwUnexpectedToken()),o=s);!this.eof()&&(n=this.codePointAt(this.index),!!C.Character.isIdentifierPart(n));)s=C.Character.fromCodePoint(n),o+=s,this.index+=s.length,n===92&&(o=o.substr(0,o.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,s=this.scanUnicodeCodePointEscape()):(s=this.scanHexEscape("u"),(s===null||s==="\\"||!C.Character.isIdentifierPart(s.charCodeAt(0)))&&this.throwUnexpectedToken()),o+=s);return o},v.prototype.octalToDecimal=function(n){var o=n!=="0",s=g(n);return!this.eof()&&C.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(o=!0,s=s*8+g(this.source[this.index++]),"0123".indexOf(n)>=0&&!this.eof()&&C.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(s=s*8+g(this.source[this.index++]))),{code:s,octal:o}},v.prototype.scanIdentifier=function(){var n,o=this.index,s=this.source.charCodeAt(o)===92?this.getComplexIdentifier():this.getIdentifier();if(s.length===1?n=3:this.isKeyword(s)?n=4:s==="null"?n=5:s==="true"||s==="false"?n=1:n=3,n!==3&&o+s.length!==this.index){var e=this.index;this.index=o,this.tolerateUnexpectedToken(d.Messages.InvalidEscapedReservedWord),this.index=e}return{type:n,value:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:o,end:this.index}},v.prototype.scanPunctuator=function(){var n=this.index,o=this.source[this.index];switch(o){case"(":case"{":o==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,o="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:o=this.source.substr(this.index,4),o===">>>="?this.index+=4:(o=o.substr(0,3),o==="==="||o==="!=="||o===">>>"||o==="<<="||o===">>="||o==="**="?this.index+=3:(o=o.substr(0,2),o==="&&"||o==="||"||o==="=="||o==="!="||o==="+="||o==="-="||o==="*="||o==="/="||o==="++"||o==="--"||o==="<<"||o===">>"||o==="&="||o==="|="||o==="^="||o==="%="||o==="<="||o===">="||o==="=>"||o==="**"?this.index+=2:(o=this.source[this.index],"<>=!+-*%&|^/".indexOf(o)>=0&&++this.index)))}return this.index===n&&this.throwUnexpectedToken(),{type:7,value:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.scanHexLiteral=function(n){for(var o="";!this.eof()&&C.Character.isHexDigit(this.source.charCodeAt(this.index));)o+=this.source[this.index++];return o.length===0&&this.throwUnexpectedToken(),C.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+o,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.scanBinaryLiteral=function(n){for(var o="",s;!this.eof()&&(s=this.source[this.index],!(s!=="0"&&s!=="1"));)o+=this.source[this.index++];return o.length===0&&this.throwUnexpectedToken(),this.eof()||(s=this.source.charCodeAt(this.index),(C.Character.isIdentifierStart(s)||C.Character.isDecimalDigit(s))&&this.throwUnexpectedToken()),{type:6,value:parseInt(o,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.scanOctalLiteral=function(n,o){var s="",e=!1;for(C.Character.isOctalDigit(n.charCodeAt(0))?(e=!0,s="0"+this.source[this.index++]):++this.index;!this.eof()&&C.Character.isOctalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];return!e&&s.length===0&&this.throwUnexpectedToken(),(C.Character.isIdentifierStart(this.source.charCodeAt(this.index))||C.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(s,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:o,end:this.index}},v.prototype.isImplicitOctalLiteral=function(){for(var n=this.index+1;n<this.length;++n){var o=this.source[n];if(o==="8"||o==="9")return!1;if(!C.Character.isOctalDigit(o.charCodeAt(0)))return!0}return!0},v.prototype.scanNumericLiteral=function(){var n=this.index,o=this.source[n];l.assert(C.Character.isDecimalDigit(o.charCodeAt(0))||o===".","Numeric literal must start with a decimal digit or a decimal point");var s="";if(o!=="."){if(s=this.source[this.index++],o=this.source[this.index],s==="0"){if(o==="x"||o==="X")return++this.index,this.scanHexLiteral(n);if(o==="b"||o==="B")return++this.index,this.scanBinaryLiteral(n);if(o==="o"||o==="O")return this.scanOctalLiteral(o,n);if(o&&C.Character.isOctalDigit(o.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(o,n)}for(;C.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];o=this.source[this.index]}if(o==="."){for(s+=this.source[this.index++];C.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];o=this.source[this.index]}if(o==="e"||o==="E")if(s+=this.source[this.index++],o=this.source[this.index],(o==="+"||o==="-")&&(s+=this.source[this.index++]),C.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;C.Character.isDecimalDigit(this.source.charCodeAt(this.index));)s+=this.source[this.index++];else this.throwUnexpectedToken();return C.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(s),lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.scanStringLiteral=function(){var n=this.index,o=this.source[n];l.assert(o==="'"||o==='"',"String literal must starts with a quote"),++this.index;for(var s=!1,e="";!this.eof();){var t=this.source[this.index++];if(t===o){o="";break}else if(t==="\\")if(t=this.source[this.index++],!t||!C.Character.isLineTerminator(t.charCodeAt(0)))switch(t){case"u":if(this.source[this.index]==="{")++this.index,e+=this.scanUnicodeCodePointEscape();else{var i=this.scanHexEscape(t);i===null&&this.throwUnexpectedToken(),e+=i}break;case"x":var r=this.scanHexEscape(t);r===null&&this.throwUnexpectedToken(d.Messages.InvalidHexEscapeSequence),e+=r;break;case"n":e+=`
3
+ `;break;case"r":e+="\r";break;case"t":e+=" ";break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;case"8":case"9":e+=t,this.tolerateUnexpectedToken();break;default:if(t&&C.Character.isOctalDigit(t.charCodeAt(0))){var a=this.octalToDecimal(t);s=a.octal||s,e+=String.fromCharCode(a.code)}else e+=t;break}else++this.lineNumber,t==="\r"&&this.source[this.index]===`
4
+ `&&++this.index,this.lineStart=this.index;else{if(C.Character.isLineTerminator(t.charCodeAt(0)))break;e+=t}}return o!==""&&(this.index=n,this.throwUnexpectedToken()),{type:8,value:e,octal:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.scanTemplate=function(){var n="",o=!1,s=this.index,e=this.source[s]==="`",t=!1,i=2;for(++this.index;!this.eof();){var r=this.source[this.index++];if(r==="`"){i=1,t=!0,o=!0;break}else if(r==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,o=!0;break}n+=r}else if(r==="\\")if(r=this.source[this.index++],C.Character.isLineTerminator(r.charCodeAt(0)))++this.lineNumber,r==="\r"&&this.source[this.index]===`
5
+ `&&++this.index,this.lineStart=this.index;else switch(r){case"n":n+=`
6
+ `;break;case"r":n+="\r";break;case"t":n+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,n+=this.scanUnicodeCodePointEscape();else{var a=this.index,u=this.scanHexEscape(r);u!==null?n+=u:(this.index=a,n+=r)}break;case"x":var m=this.scanHexEscape(r);m===null&&this.throwUnexpectedToken(d.Messages.InvalidHexEscapeSequence),n+=m;break;case"b":n+="\b";break;case"f":n+="\f";break;case"v":n+="\v";break;default:r==="0"?(C.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(d.Messages.TemplateOctalLiteral),n+="\0"):C.Character.isOctalDigit(r.charCodeAt(0))?this.throwUnexpectedToken(d.Messages.TemplateOctalLiteral):n+=r;break}else C.Character.isLineTerminator(r.charCodeAt(0))?(++this.lineNumber,r==="\r"&&this.source[this.index]===`
7
+ `&&++this.index,this.lineStart=this.index,n+=`
8
+ `):n+=r}return o||this.throwUnexpectedToken(),e||this.curlyStack.pop(),{type:10,value:this.source.slice(s+1,this.index-i),cooked:n,head:e,tail:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:s,end:this.index}},v.prototype.testRegExp=function(n,o){var s="￿",e=n,t=this;o.indexOf("u")>=0&&(e=e.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(i,r,a){var u=parseInt(r||a,16);return u>1114111&&t.throwUnexpectedToken(d.Messages.InvalidRegExp),u<=65535?String.fromCharCode(u):s}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s));try{RegExp(e)}catch{this.throwUnexpectedToken(d.Messages.InvalidRegExp)}try{return new RegExp(n,o)}catch{return null}},v.prototype.scanRegExpBody=function(){var n=this.source[this.index];l.assert(n==="/","Regular expression literal must start with a slash");for(var o=this.source[this.index++],s=!1,e=!1;!this.eof();)if(n=this.source[this.index++],o+=n,n==="\\")n=this.source[this.index++],C.Character.isLineTerminator(n.charCodeAt(0))&&this.throwUnexpectedToken(d.Messages.UnterminatedRegExp),o+=n;else if(C.Character.isLineTerminator(n.charCodeAt(0)))this.throwUnexpectedToken(d.Messages.UnterminatedRegExp);else if(s)n==="]"&&(s=!1);else if(n==="/"){e=!0;break}else n==="["&&(s=!0);return e||this.throwUnexpectedToken(d.Messages.UnterminatedRegExp),o.substr(1,o.length-2)},v.prototype.scanRegExpFlags=function(){for(var n="",o="";!this.eof();){var s=this.source[this.index];if(!C.Character.isIdentifierPart(s.charCodeAt(0)))break;if(++this.index,s==="\\"&&!this.eof())if(s=this.source[this.index],s==="u"){++this.index;var e=this.index,t=this.scanHexEscape("u");if(t!==null)for(o+=t,n+="\\u";e<this.index;++e)n+=this.source[e];else this.index=e,o+="u",n+="\\u";this.tolerateUnexpectedToken()}else n+="\\",this.tolerateUnexpectedToken();else o+=s,n+=s}return o},v.prototype.scanRegExp=function(){var n=this.index,o=this.scanRegExpBody(),s=this.scanRegExpFlags(),e=this.testRegExp(o,s);return{type:9,value:"",pattern:o,flags:s,regex:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},v.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var n=this.source.charCodeAt(this.index);return C.Character.isIdentifierStart(n)?this.scanIdentifier():n===40||n===41||n===59?this.scanPunctuator():n===39||n===34?this.scanStringLiteral():n===46?C.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():C.Character.isDecimalDigit(n)?this.scanNumericLiteral():n===96||n===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():n>=55296&&n<57343&&C.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},v})();c.Scanner=D},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.TokenName={},c.TokenName[1]="Boolean",c.TokenName[2]="<end>",c.TokenName[3]="Identifier",c.TokenName[4]="Keyword",c.TokenName[5]="Null",c.TokenName[6]="Numeric",c.TokenName[7]="Punctuator",c.TokenName[8]="String",c.TokenName[9]="RegularExpression",c.TokenName[10]="Template"},function(w,c){Object.defineProperty(c,"__esModule",{value:!0}),c.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(w,c,A){Object.defineProperty(c,"__esModule",{value:!0});var l=A(10),C=A(12),d=A(13),h=(function(){function D(){this.values=[],this.curly=this.paren=-1}return D.prototype.beforeFunctionExpression=function(v){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(v)>=0},D.prototype.isRegexStart=function(){var v=this.values[this.values.length-1],n=v!==null;switch(v){case"this":case"]":n=!1;break;case")":var o=this.values[this.paren-1];n=o==="if"||o==="while"||o==="for"||o==="with";break;case"}":if(n=!1,this.values[this.curly-3]==="function"){var s=this.values[this.curly-4];n=s?!this.beforeFunctionExpression(s):!1}else if(this.values[this.curly-4]==="function"){var s=this.values[this.curly-5];n=s?!this.beforeFunctionExpression(s):!0}break}return n},D.prototype.push=function(v){v.type===7||v.type===4?(v.value==="{"?this.curly=this.values.length:v.value==="("&&(this.paren=this.values.length),this.values.push(v.value)):this.values.push(null)},D})(),g=(function(){function D(v,n){this.errorHandler=new l.ErrorHandler,this.errorHandler.tolerant=n?typeof n.tolerant=="boolean"&&n.tolerant:!1,this.scanner=new C.Scanner(v,this.errorHandler),this.scanner.trackComment=n?typeof n.comment=="boolean"&&n.comment:!1,this.trackRange=n?typeof n.range=="boolean"&&n.range:!1,this.trackLoc=n?typeof n.loc=="boolean"&&n.loc:!1,this.buffer=[],this.reader=new h}return D.prototype.errors=function(){return this.errorHandler.errors},D.prototype.getNextToken=function(){if(this.buffer.length===0){var v=this.scanner.scanComments();if(this.scanner.trackComment)for(var n=0;n<v.length;++n){var o=v[n],s=this.scanner.source.slice(o.slice[0],o.slice[1]),e={type:o.multiLine?"BlockComment":"LineComment",value:s};this.trackRange&&(e.range=o.range),this.trackLoc&&(e.loc=o.loc),this.buffer.push(e)}if(!this.scanner.eof()){var t=void 0;this.trackLoc&&(t={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var i=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),r=i?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(r);var a={type:d.TokenName[r.type],value:this.scanner.source.slice(r.start,r.end)};if(this.trackRange&&(a.range=[r.start,r.end]),this.trackLoc&&(t.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},a.loc=t),r.type===9){var u=r.pattern,m=r.flags;a.regex={pattern:u,flags:m}}this.buffer.push(a)}}return this.buffer.shift()},D})();c.Tokenizer=g}])})})(ee)),ee.exports}var ft=dt();function Z(k){switch(k.type){case"ObjectExpression":{const F={};for(const w of k.properties){let c;if(w.type==="SpreadElement")throw new Error(`Expected "Property" but received: ${w.type}`);if(w.key.type==="Identifier")c=w.key.name;else if(w.key.type==="Literal"){if(w.key.value instanceof RegExp||typeof w.key.value=="bigint"||w.key.value===!1||w.key.value===null||w.key.value===!0||w.key.value===void 0)throw new Error(`Expected "Identifier" for object key but received: ${w.key.type}`);c=w.key.value}else throw new Error(`Expected "Identifier" but received: ${w.key.type}`);F[c]=Z(w.value)}return F}case"ArrayExpression":{const F=[];for(const w of k.elements){if(w===null)throw new Error(`Expected "Expression" but received: ${w}`);F.push(Z(w))}return F}case"Literal":return k.value instanceof RegExp?{$type:"RegExp",$value:{$pattern:k.value.source,$flags:k.value.flags}}:k.value;case"UnaryExpression":{if(k.operator==="-"&&k.argument.type==="Literal"&&typeof k.argument.value=="number")return-k.argument.value;throw new Error(`${k.type} are not authorized`)}case"NewExpression":case"CallExpression":{const F=["ObjectId","Date","RegExp","BinData"],w=k.callee.type==="Identifier"?k.callee.name:null;if(w&&F.includes(w)){if(w==="RegExp"){const[c,A]=k.arguments.map(l=>Z(l));return{$type:"RegExp",$value:{$pattern:c,$flags:A}}}if(w==="BinData"){const[c,A]=k.arguments.map(l=>Z(l));return{$type:"Binary",$value:A,$subType:c}}return{$type:w,$value:Z(k.arguments[0])}}else throw new Error(`Unknown ${k.type}: ${w}`)}case"Identifier":{if(k.name==="undefined")return;if(k.name==="Infinity")return 1/0;throw`Unknown identifier: ${k.name}`}default:throw new Error(`Sorry but ${k.type} are not authorized`)}}function mt(k,F){const c=ft.parseScript(`var __JSON__ = ${k};`,{tolerant:!0}).body[0];if(c.type!=="VariableDeclaration")throw new Error("Expected VariableDeclaration but received: "+c.type);const A=c.declarations[0].init;if(A?.type!=="ObjectExpression")throw new Error("Expected ObjectExpression but received: "+A?.type);return Z(A)}function te(k,F=0){const w=" ".repeat(F),c=" ".repeat(F+1);if(k===null)return"null";if(k===void 0)return"undefined";if(typeof k=="string")return JSON.stringify(k);if(typeof k=="number"||typeof k=="boolean")return k.toString();if(Array.isArray(k))return k.length===0?"[]":`[
9
+ ${k.map(l=>`${c}${te(l,F+1)}`).join(`,
10
+ `)}
11
+ ${w}]`;if(typeof k=="object"){if(k.$type==="ObjectId")return`new ObjectId("${k.$value}")`;if(k.$type==="Date")return`new Date("${k.$value}")`;if(k.$type==="RegExp")return`new RegExp("${k.$value.$pattern}", "${k.$value.$flags}")`;const A=Object.keys(k);return A.length===0?"{}":`{
12
+ ${A.map(C=>{const d=te(k[C],F+1);return`${c}${JSON.stringify(C)}: ${d}`}).join(`,
13
+ `)}
14
+ ${w}}`}return JSON.stringify(k)}function xt(k,F){R(F,!0)}function Dt(k,F){R(F,!1)}function vt(k,F){F.onremove?.()}async function Et(k,F){try{const w=te(F.json);await navigator.clipboard.writeText(w),oe.notifySuccess("Document copied to clipboard")}catch(w){oe.notifyError(w,"Failed to copy to clipboard")}}var yt=_('<p class="text-xs" style="color: var(--text-secondary);"> </p>'),Ct=_('<div class="flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 min-w-0 flex-1"><h2 class="truncate"><a class="text-[15px] sm:text-base font-semibold hover:underline no-underline" style="color: var(--text); text-decoration-color: var(--link);"> </a></h2> <!></div>'),At=_('<button class="px-3 py-1 rounded-lg border border-[var(--border-color)] bg-[var(--light-background)] hover:bg-[var(--color-3)] text-[13px] transition cursor-pointer" style="color: var(--text);">Edit</button>'),St=_('<button class="px-3 py-1 rounded-lg border border-red-200 hover:bg-red-50 text-[13px] transition cursor-pointer" style="color: var(--button-danger);">Delete</button>'),gt=_('<div class="hidden group-hover:flex items-center gap-2 -my-2"><button class="px-3 py-1 rounded-lg border border-[var(--border-color)] bg-[var(--light-background)] hover:bg-[var(--color-3)] text-[13px] transition cursor-pointer" style="color: var(--text);">Copy</button> <!> <!></div>'),Ft=_('<div class="absolute z-10 top-0 left-0 w-full h-full rounded-2xl backdrop-blur-sm flex items-center justify-center" style="background-color: rgba(0, 0, 0, 0.4);"><div class="bg-[var(--light-background)] rounded-2xl p-6 shadow-xl border border-[var(--border-color)] max-w-sm mx-4"><p class="text-lg font-semibold mb-4" style="color: var(--text);">Delete this document?</p> <p class="text-sm mb-6" style="color: var(--text-secondary);">This action cannot be undone.</p> <div class="flex gap-3"><button class="btn btn-danger flex-1">Delete</button> <button class="btn btn-default flex-1">Cancel</button></div></div></div>'),wt=_('<div class="absolute inset-0 z-[100] bg-[var(--light-background)]"><textarea class="w-full h-full font-mono text-[13px] sm:text-[14px] leading-relaxed p-4 border-0 bg-[var(--color-3)] focus:outline-none focus:ring-0" style="color: var(--text);"></textarea> <div class="absolute top-3 right-3 flex items-center gap-2"><button class="btn btn-success">Save</button> <button class="btn btn-default">Cancel</button></div></div>'),kt=_('<div class="relative p-4 sm:p-6"><div class="font-mono text-[13px] sm:text-[14px] leading-relaxed whitespace-pre-wrap break-words overflow-x-auto"><!></div> <!></div> <!>',1);function Lt(k,F){et(F,!0);const w=u=>{var m=le(),x=ae(m);{var E=S=>{const b=ue(()=>F.json._id.$value??F.json._id);var T=Ct(),I=z(T),N=z(I),P=z(N,!0);O(N),O(I);var j=V(I,2);{var J=X=>{const U=ue(()=>t(F.json._id.$value));var H=le(),G=ae(H);{var Y=K=>{var q=yt(),ie=z(q);O(q),ce((re,se)=>pe(ie,`Created on ${re??""} · ${se??""}`),[()=>M(U).toLocaleDateString(),()=>M(U).toLocaleTimeString()]),W(K,q)};Q(G,K=>{M(U)&&K(Y)})}W(X,H)};Q(j,X=>{F.json._id.$value&&X(J)})}O(T),ce(X=>{at(N,"href",X),pe(P,M(b))},[()=>de(`/servers/${encodeURIComponent(F.server)}/databases/${encodeURIComponent(F.database)}/collections/${encodeURIComponent(F.collection)}/documents/${M(b)}`)]),W(S,T)};Q(x,S=>{F.json._id&&S(E)})}W(u,m)},c=u=>{var m=gt(),x=z(m);x.__click=[Et,F];var E=V(x,2);{var S=I=>{var N=At();N.__click=i,W(I,N)};Q(E,I=>{F.onedit&&I(S)})}var b=V(E,2);{var T=I=>{var N=St();N.__click=[xt,v],W(I,N)};Q(b,I=>{F.onremove&&I(T)})}O(m),W(u,m)};let A=fe(F,"autoCollapse",3,!1),l=fe(F,"startInEditMode",3,!1);function C(u){return u==null?null:typeof u=="string"||typeof u=="number"?String(u):u.$type==="ObjectId"&&u.$value?u.$value:null}function d(u){return!!F.mappings?.[u]&&(Array.isArray(F.mappings[u])?F.mappings[u].length>0:!0)}async function h(u,m){if(!F.mappings||!F.mappings[u]||Array.isArray(F.mappings[u])&&F.mappings[u].length===0)return{document:null,url:null,collection:null};const x=C(m);if(!x)return{document:null,url:null,collection:null};try{const E=await ht({server:F.server,database:F.database,mappings:Array.isArray(F.mappings[u])?F.mappings[u]:[F.mappings[u]],value:m});if(E.error||!E.data||!E.collection)return{document:null,url:null,collection:null};const S=de(`/servers/${encodeURIComponent(F.server)}/databases/${encodeURIComponent(F.database)}/collections/${encodeURIComponent(E.collection)}/documents/${encodeURIComponent(x)}`);return{document:E.data,url:S,collection:E.collection}}catch{return{document:null,url:null,collection:null}}}let g=$(!1),D=$(""),v=$(!1),n=$(void 0),o=$(void 0),s=$(void 0),e=$(0);function t(u){try{const m=parseInt(u.substring(0,8),16);return new Date(m*1e3)}catch{return null}}function i(){R(D,te(F.json),!0),R(g,!0)}he(()=>{l()&&!M(g)&&M(n)&&i()}),he(()=>{if(!M(o)||!M(s)||!M(g))return;const u=new ResizeObserver(m=>{for(const x of m){const E=x.borderBoxSize[0].blockSize;if(E>0&&Math.abs(E-M(e))>1){const S=E;R(e,E,!0),M(s)&&(M(s).style.minHeight=`${S}px`)}}});return u.observe(M(o)),()=>{u.disconnect()}});function r(){R(g,!1),R(D,""),R(e,0),M(s)&&(M(s).style.minHeight="")}function a(){try{const u=mt(M(D));r(),F.onedit?.(u)}catch(u){oe.notifyError(u,"Invalid JSON")}}{let u=ue(()=>F.json._id?w:void 0);ot(k,{class:"group relative",get title(){return M(u)},get actions(){return c},get ref(){return M(s)},set ref(m){R(s,m,!0)},children:(m,x)=>{var E=kt(),S=ae(E),b=z(S),T=z(b);lt(T,{get value(){return F.json},get autoCollapse(){return A()},collapsed:!1,isKeyMapped:d,fetchMappedDocument:h}),O(b);var I=V(b,2);{var N=J=>{var X=Ft(),U=z(X),H=V(z(U),4),G=z(H);G.__click=[vt,F];var Y=V(G,2);Y.__click=[Dt,v],O(H),O(U),O(X),W(J,X)};Q(I,J=>{M(v)&&J(N)})}O(S),me(S,J=>R(n,J),()=>M(n));var P=V(S,2);{var j=J=>{var X=wt(),U=z(X);tt(U),me(U,K=>R(o,K),()=>M(o)),it(()=>ut(U,()=>M(D),K=>R(D,K))),nt(U,(K,q)=>ct?.(K,q),()=>({onsubmit:a,onescape:r}));var H=V(U,2),G=z(H);G.__click=a;var Y=V(G,2);Y.__click=r,O(H),O(X),W(J,X)};Q(P,J=>{M(g)&&J(j)})}W(m,E)},$$slots:{default:!0}})}rt()}st(["click"]);export{Lt as P,mt as p,te as s};
@@ -0,0 +1 @@
1
+ import{_ as u,v as c,w as i,E as p,a0 as d,q as h}from"./reNJcONQ.js";function y(a,e,t){u(()=>{var r=c(()=>e(a,t?.())||{});if(t&&r?.update){var n=!1,f={};i(()=>{var s=t();p(s),n&&d(f,s)&&(f=s,r.update(s))}),n=!0}if(r?.destroy)return()=>r.destroy()})}const o=new Map;function m(a,e="default"){const t=`$$portal.${e}`;if(o.has(t))throw`duplicate portal key "${e}"`;return o.set(t,a),{destroy:o.delete.bind(o,t)}}function l(a,e){if(!o.has(e))throw`unknown portal ${e}`;const t=o.get(e);return t.insertBefore(a,null),()=>t.contains(a)&&t.removeChild(a)}function w(a,e="default"){let t;const r=`$$portal.${e}`;return o.has(r)?t=l(a,r):h().then(()=>{t=l(a,r)}),{destroy:()=>t?.()}}export{y as a,m as c,w as p};
@@ -1 +1 @@
1
- import{s as t,p as r}from"./DR2XDb5m.js";const e={get data(){return r.data},get error(){return r.error},get params(){return r.params},get status(){return r.status},get url(){return r.url}};t.updated.check;const s=e;export{s as p};
1
+ import{s as t,p as r}from"./dPlEUW2X.js";const e={get data(){return r.data},get error(){return r.error},get params(){return r.params},get status(){return r.status},get url(){return r.url}};t.updated.check;const s=e;export{s as p};
@@ -1 +1 @@
1
- import"./AIOqEo5H.js";import{p as E,e as K,a as O,b as d,c as P,$ as j,f as _,d as t,s as p,g as y,l as q,r as i,t as z}from"./BrrIPcne.js";import{d as A,e as B,s as F}from"./CTHGUrxr.js";import{i as f}from"./BEYqxaXI.js";import{p as G}from"./DaTUpm_7.js";function H(l,a){a.onclose()}var I=l=>l.stopPropagation(),J=_('<div class="modal-header svelte-ta60gp"><h3 style="color: var(--text);" class="svelte-ta60gp"> </h3></div>'),L=_('<div class="modal-footer"><!></div>'),N=_('<div class="modal-overlay"><div class="modal"><!> <div class="modal-body" style="color: var(--text);"><!></div> <!></div></div>');function V(l,a){E(a,!0);let m=G(a,"show",3,!1);function g(r){r.key==="Escape"&&m()&&a.onclose()}var h=K();B("keydown",j,g);var u=O(h);{var w=r=>{var s=N();s.__click=[H,a];var c=t(s);c.__click=[I];var k=t(c);{var x=e=>{var o=J(),v=t(o),D=t(v,!0);i(v),i(o),z(()=>F(D,a.title)),d(e,o)};f(k,e=>{a.title&&e(x)})}var n=p(k,2),b=t(n);y(b,()=>a.children??q),i(n);var M=p(n,2);{var C=e=>{var o=L(),v=t(o);y(v,()=>a.footer),i(o),d(e,o)};f(M,e=>{a.footer&&e(C)})}i(c),i(s),d(r,s)};f(u,r=>{m()&&r(w)})}d(l,h),P()}A(["click"]);export{V as M};
1
+ import"./BPbCnJEo.js";import{p as E,e as K,a as O,b as d,c as P,$ as j,f as _,d as t,s as p,g as y,l as q,r as i,t as z}from"./reNJcONQ.js";import{d as A,e as B,s as F}from"./ByCRZ7zS.js";import{i as f}from"./0oUK0vJa.js";import{p as G}from"./BGXqurs_.js";function H(l,a){a.onclose()}var I=l=>l.stopPropagation(),J=_('<div class="modal-header svelte-ta60gp"><h3 style="color: var(--text);" class="svelte-ta60gp"> </h3></div>'),L=_('<div class="modal-footer"><!></div>'),N=_('<div class="modal-overlay"><div class="modal"><!> <div class="modal-body" style="color: var(--text);"><!></div> <!></div></div>');function V(l,a){E(a,!0);let m=G(a,"show",3,!1);function g(r){r.key==="Escape"&&m()&&a.onclose()}var h=K();B("keydown",j,g);var u=O(h);{var w=r=>{var s=N();s.__click=[H,a];var c=t(s);c.__click=[I];var k=t(c);{var x=e=>{var o=J(),v=t(o),D=t(v,!0);i(v),i(o),z(()=>F(D,a.title)),d(e,o)};f(k,e=>{a.title&&e(x)})}var n=p(k,2),b=t(n);y(b,()=>a.children??q),i(n);var M=p(n,2);{var C=e=>{var o=L(),v=t(o);y(v,()=>a.footer),i(o),d(e,o)};f(M,e=>{a.footer&&e(C)})}i(c),i(s),d(r,s)};f(u,r=>{m()&&r(w)})}d(l,h),P()}A(["click"]);export{V as M};
@@ -0,0 +1,2 @@
1
+ import{ar as le,h as z,S as J,w as oe,v as k,a2 as W,Q as D,as as p,x as d,R as fe,ad as R,I as Q,J as ue,at as F,L as ce,au as v,av as N,aw as M,ax as O,ay as w,az as $,aA as he,aB as x,z as f,aC as de,aD as _e,aE as P,M as T,n as pe,N as ge,aF as U,aG as ve,ao as ye,aH as be,aI as Ee,aJ as we,a6 as me,aK as Te,aq as Se,a3 as X,aL as G,aM as Re,aN as K,aO as B,O as m,aP as Z,aQ as H,aR as I,aS as xe,aT as Ce,aU as Ae,aV as Ne,p as De,aW as Oe,aX as ke,aY as Fe,c as Le,aZ as C,B as Me,a_ as Pe,a$ as ee,ag as Be,b0 as He,b1 as Ie,X as Ve,b2 as Ye,b3 as qe,b4 as We,b5 as $e,b6 as Ue,q as je}from"./reNJcONQ.js";function ze(t){let e=0,s=J(0),a;return()=>{le()&&(z(s),oe(()=>(e===0&&(a=k(()=>t(()=>W(s)))),e+=1,()=>{D(()=>{e-=1,e===0&&(a?.(),a=void 0,W(s))})})))}}var Je=ye|be|Ee;function Qe(t,e,s){new Xe(t,e,s)}class Xe{parent;#s=!1;#t;#p=d?p:null;#a;#u;#r;#n=null;#e=null;#i=null;#l=null;#c=0;#o=0;#h=!1;#f=null;#v=()=>{this.#f&&fe(this.#f,this.#c)};#y=ze(()=>(this.#f=J(this.#c),()=>{this.#f=null}));constructor(e,s,a){this.#t=e,this.#a=s,this.#u=a,this.parent=R.b,this.#s=!!this.#a.pending,this.#r=Q(()=>{if(R.b=this,d){const r=this.#p;ue(),r.nodeType===F&&r.data===ce?this.#E():this.#b()}else{try{this.#n=v(()=>a(this.#t))}catch(r){this.error(r)}this.#o>0?this.#_():this.#s=!1}},Je),d&&(this.#t=p)}#b(){try{this.#n=v(()=>this.#u(this.#t))}catch(e){this.error(e)}this.#s=!1}#E(){const e=this.#a.pending;e&&(this.#e=v(()=>e(this.#t)),N.enqueue(()=>{this.#n=this.#d(()=>(N.ensure(),v(()=>this.#u(this.#t)))),this.#o>0?this.#_():(M(this.#e,()=>{this.#e=null}),this.#s=!1)}))}is_pending(){return this.#s||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#a.pending}#d(e){var s=R,a=x,r=f;O(this.#r),w(this.#r),$(this.#r.ctx);try{return e()}catch(n){return he(n),null}finally{O(s),w(a),$(r)}}#_(){const e=this.#a.pending;this.#n!==null&&(this.#l=document.createDocumentFragment(),de(this.#n,this.#l)),this.#e===null&&(this.#e=v(()=>e(this.#t)))}#g(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(e);return}this.#o+=e,this.#o===0&&(this.#s=!1,this.#e&&M(this.#e,()=>{this.#e=null}),this.#l&&(this.#t.before(this.#l),this.#l=null),D(()=>{N.ensure().flush()}))}update_pending_count(e){this.#g(e),this.#c+=e,_e.add(this.#v)}get_effect_pending(){return this.#y(),z(this.#f)}error(e){var s=this.#a.onerror;let a=this.#a.failed;if(this.#h||!s&&!a)throw e;this.#n&&(P(this.#n),this.#n=null),this.#e&&(P(this.#e),this.#e=null),this.#i&&(P(this.#i),this.#i=null),d&&(T(this.#p),pe(),T(ge()));var r=!1,n=!1;const i=()=>{if(r){we();return}r=!0,n&&ve(),N.ensure(),this.#c=0,this.#i!==null&&M(this.#i,()=>{this.#i=null}),this.#s=this.has_pending_snippet(),this.#n=this.#d(()=>(this.#h=!1,v(()=>this.#u(this.#t)))),this.#o>0?this.#_():this.#s=!1};var u=x;try{w(null),n=!0,s?.(e,i),n=!1}catch(h){U(h,this.#r&&this.#r.parent)}finally{w(u)}a&&D(()=>{this.#i=this.#d(()=>{this.#h=!0;try{return v(()=>{a(this.#t,()=>e,()=>i)})}catch(h){return U(h,this.#r.parent),null}finally{this.#h=!1}})})}}const Ge=["touchstart","touchmove"];function Ke(t){return Ge.includes(t)}const te=new Set,V=new Set;function Ze(t,e,s,a={}){function r(n){if(a.capture||S.call(e,n),!n.cancelBubble)return Te(()=>s?.call(this,n))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?D(()=>{e.addEventListener(t,r,a)}):e.addEventListener(t,r,a),r}function ut(t,e,s,a,r){var n={capture:a,passive:r},i=Ze(t,e,s,n);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&me(()=>{e.removeEventListener(t,i,n)})}function ct(t){for(var e=0;e<t.length;e++)te.add(t[e]);for(var s of V)s(t)}let j=null;function S(t){var e=this,s=e.ownerDocument,a=t.type,r=t.composedPath?.()||[],n=r[0]||t.target;j=t;var i=0,u=j===t&&t.__root;if(u){var h=r.indexOf(u);if(h!==-1&&(e===document||e===window)){t.__root=e;return}var y=r.indexOf(e);if(y===-1)return;h<=y&&(i=h)}if(n=r[i]||t.target,n!==e){Se(t,"currentTarget",{configurable:!0,get(){return n||s}});var L=x,_=R;w(null),O(null);try{for(var l,o=[];n!==null;){var b=n.assignedSlot||n.parentNode||n.host||null;try{var g=n["__"+a];if(g!=null&&(!n.disabled||t.target===n))if(X(g)){var[re,...ie]=g;re.apply(n,[t,...ie])}else g.call(n,t)}catch(A){l?o.push(A):l=A}if(t.cancelBubble||b===e||b===null)break;n=b}if(l){for(let A of o)queueMicrotask(()=>{throw A});throw l}}finally{t.__root=e,delete t.currentTarget,w(L),O(_)}}}let c;function et(){c=void 0}function ht(t){let e=null,s=d;var a;if(d){for(e=p,c===void 0&&(c=Z(document.head));c!==null&&(c.nodeType!==F||c.data!==K);)c=B(c);c===null?m(!1):c=T(B(c))}d||(a=document.head.appendChild(G()));try{Q(()=>t(a),Re)}finally{s&&(m(!0),c=p,T(e))}}function dt(t,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(t.__t??=t.nodeValue)&&(t.__t=s,t.nodeValue=s+"")}function ne(t,e){return se(t,e)}function tt(t,e){H(),e.intro=e.intro??!1;const s=e.target,a=d,r=p;try{for(var n=Z(s);n&&(n.nodeType!==F||n.data!==K);)n=B(n);if(!n)throw I;m(!0),T(n);const i=se(t,{...e,anchor:n});return m(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(u=>u.startsWith("https://svelte.dev/e/")))throw i;return i!==I&&console.warn("Failed to hydrate: ",i),e.recover===!1&&xe(),H(),Ce(s),m(!1),ne(t,e)}finally{m(a),T(r),et()}}const E=new Map;function se(t,{target:e,anchor:s,props:a={},events:r,context:n,intro:i=!0}){H();var u=new Set,h=_=>{for(var l=0;l<_.length;l++){var o=_[l];if(!u.has(o)){u.add(o);var b=Ke(o);e.addEventListener(o,S,{passive:b});var g=E.get(o);g===void 0?(document.addEventListener(o,S,{passive:b}),E.set(o,1)):E.set(o,g+1)}}};h(Ae(te)),V.add(h);var y=void 0,L=Ne(()=>{var _=s??e.appendChild(G());return Qe(_,{pending:()=>{}},l=>{if(n){De({});var o=f;o.c=n}if(r&&(a.$$events=r),d&&Oe(l,null),y=t(l,a)||{},d&&(R.nodes_end=p,p===null||p.nodeType!==F||p.data!==ke))throw Fe(),I;n&&Le()}),()=>{for(var l of u){e.removeEventListener(l,S);var o=E.get(l);--o===0?(document.removeEventListener(l,S),E.delete(l)):E.set(l,o)}V.delete(h),_!==s&&_.parentNode?.removeChild(_)}});return Y.set(y,L),y}let Y=new WeakMap;function nt(t,e){const s=Y.get(t);return s?(Y.delete(t),s(e)):Promise.resolve()}function st(){return x===null&&Pe(),(x.ac??=new AbortController).signal}function ae(t){f===null&&C(),Be&&f.l!==null?q(f).m.push(t):Me(()=>{const e=k(t);if(typeof e=="function")return e})}function at(t){f===null&&C(),ae(()=>()=>k(t))}function rt(t,e,{bubbles:s=!1,cancelable:a=!1}={}){return new CustomEvent(t,{detail:e,bubbles:s,cancelable:a})}function it(){const t=f;return t===null&&C(),(e,s,a)=>{const r=t.s.$$events?.[e];if(r){const n=X(r)?r.slice():[r],i=rt(e,s,a);for(const u of n)u.call(t.x,i);return!i.defaultPrevented}return!0}}function lt(t){f===null&&C(),f.l===null&&ee(),q(f).b.push(t)}function ot(t){f===null&&C(),f.l===null&&ee(),q(f).a.push(t)}function q(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}const _t=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:ot,beforeUpdate:lt,createContext:He,createEventDispatcher:it,createRawSnippet:Ie,flushSync:Ve,getAbortSignal:st,getAllContexts:Ye,getContext:qe,hasContext:We,hydrate:tt,mount:ne,onDestroy:at,onMount:ae,setContext:$e,settled:Ue,tick:je,unmount:nt,untrack:k},Symbol.toStringTag,{value:"Module"}));export{ht as a,_t as b,ct as d,ut as e,tt as h,ne as m,ae as o,dt as s,nt as u};
@@ -0,0 +1 @@
1
+ import{A as Z,q as I,an as E,i as p,h as i,Z as B,u as F,j as d,p as G,f as q,g as D,t as j,b as v,c as L,s as M,d as y,l as U,r as _,e as V,a as X}from"./reNJcONQ.js";import{b as A,c as b,q as m,d as Y,r as k,e as N,H as C,g as $,R as ee,f as H,h as T,v as te}from"./dPlEUW2X.js";import"./BPbCnJEo.js";import{s as re}from"./ByCRZ7zS.js";import{i as O}from"./0oUK0vJa.js";import{a as P}from"./XQ9Icqyt.js";import{p as se,b as ne}from"./BGXqurs_.js";async function ae(a){const e=await fetch(a,{headers:{"x-sveltekit-pathname":location.pathname,"x-sveltekit-search":location.search}});if(!e.ok)throw new C(500,"Failed to execute remote function");const t=await e.json();if(t.type==="redirect")throw await $(t.location),new ee(307,t.location);if(t.type==="error")throw new C(t.status??500,t.error);return N(t.result,b.decoders)}function oe(a,e){return t=>{const o=A(t,b.hooks.transport),r=Y(a,o);let s=m.get(r),c=!0;try{Z(()=>(s&&s.count++,()=>{const h=m.get(r);h&&(h.count--,I().then(()=>{!h.count&&h===m.get(r)&&(m.delete(r),delete k[r])}))}))}catch{c=!1}let n=s?.resource;return n||(n=e(r,o),Object.defineProperty(n,"_key",{value:r}),m.set(r,s={count:c?1:0,resource:n}),n.then(()=>{I().then(()=>{!s.count&&s===m.get(r)&&m.delete(r)})}).catch(()=>{m.delete(r)})),n}}function S(a){for(const e of a)"release"in e&&e.release()}function ie(a,e=[]){const t=Object.entries(N(a,b.decoders));for(const[o,r]of t){const s=e.find(n=>n._key===o);s&&"release"in s&&s.release(),m.get(o)?.resource.set(r)}}function u(a){let e=p(0);const t=o=>{let r=[];E(e);const s=(async()=>{try{await Promise.resolve();const c=await fetch(`${H}/${T}/remote/${a}`,{method:"POST",body:JSON.stringify({payload:A(o,b.hooks.transport),refreshes:r.map(h=>h._key)}),headers:{"Content-Type":"application/json","x-sveltekit-pathname":location.pathname,"x-sveltekit-search":location.search}});if(!c.ok)throw S(r),new Error("Failed to execute remote function");const n=await c.json();if(n.type==="redirect")throw S(r),new Error("Redirects are not allowed in commands. Return a result instead and use goto on the client");if(n.type==="error")throw S(r),new C(n.status??500,n.error);return n.refreshes&&ie(n.refreshes,r),N(n.result,b.decoders)}finally{E(e,-1)}})();return s.updates=(...c)=>(r=c,delete s.updates,s),s};return Object.defineProperty(t,"pending",{get:()=>i(e)}),t}const R=`sveltekit:${te}`;let ce;(async()=>{if(typeof caches<"u")try{ce=await caches.open(R);const a=await caches.keys();for(const e of a)e.startsWith("sveltekit:")&&e!==R&&await caches.delete(e)}catch(a){console.warn("Failed to initialize SvelteKit cache:",a)}})();function g(a){return oe(a,(e,t)=>new de(e,async()=>{if(Object.hasOwn(k,e))return k[e];const o=`${H}/${T}/remote/${a}${t?`?payload=${t}`:""}`;return await ae(o)}))}class de{_key;#c=!1;#d;#e=p(!0);#t=[];#n=p(!1);#i=p();#a;#r=p(B([]));#u=F(()=>{if(i(this.#n))return i(this.#r).reduce((e,t)=>t(e),i(this.#i))});#o=p(void 0);#s=F(()=>{const e=i(this.#a);return i(this.#r).length,async(t,o)=>{try{await e,await I(),t?.(i(this.#u))}catch(r){o?.(r)}}});constructor(e,t){this._key=e,this.#d=t,this.#a=p(this.#h())}#h(){this.#c?d(this.#e,!0):this.#c=!0;let e,t;const o=new Promise((r,s)=>{e=r,t=s});return this.#t.push(e),Promise.resolve(this.#d()).then(r=>{const s=this.#t.indexOf(e);s!==-1&&(this.#t.splice(0,s).forEach(c=>c()),d(this.#n,!0),d(this.#e,!1),d(this.#i,r),d(this.#o,void 0),e())}).catch(r=>{const s=this.#t.indexOf(e);s!==-1&&(this.#t.splice(0,s).forEach(c=>c()),d(this.#o,r),d(this.#e,!1),t(r))}),o}get then(){return i(this.#s)}get catch(){return i(this.#s),e=>i(this.#s)(void 0,e)}get finally(){return i(this.#s),e=>i(this.#s)(()=>e(),()=>e())}get current(){return i(this.#u)}get error(){return i(this.#o)}get loading(){return i(this.#e)}get ready(){return i(this.#n)}refresh(){return delete k[this._key],d(this.#a,this.#h())}set(e){d(this.#n,!0),d(this.#e,!1),d(this.#o,void 0),d(this.#i,e),d(this.#a,Promise.resolve())}withOverride(e){return i(this.#r).push(e),{_key:this._key,release:()=>{const t=i(this.#r).indexOf(e);t!==-1&&i(this.#r).splice(t,1)}}}}const ge=u("xxtqbu/addServer"),we=u("xxtqbu/createIndex"),ke=u("xxtqbu/deleteDocument"),qe=g("xxtqbu/detectPrimaryNode"),De=u("xxtqbu/dropCollection"),je=u("xxtqbu/dropDatabase"),Oe=u("xxtqbu/dropIndex"),Pe=g("xxtqbu/fetchMappedDocument"),Se=g("xxtqbu/getIndexStatsFromNodes"),Ie=g("xxtqbu/getServerNodes"),Ce=u("xxtqbu/hideIndex"),Ne=u("xxtqbu/insertDocument"),Ee=g("xxtqbu/loadDocuments"),Fe=u("xxtqbu/removeServer"),Me=u("xxtqbu/retryConnection"),Re=u("xxtqbu/unhideIndex"),Ae=u("xxtqbu/updateDocument"),He=u("xxtqbu/updateMany");var ue=q("<span> </span>"),he=q('<div class="flex gap-2 items-center"><!></div>'),le=q('<div><div style="color: var(--text);"><!></div> <!></div>'),fe=q("<div><!> <!></div>");function Te(a,e){G(e,!0);let t=se(e,"ref",15);var o=fe(),r=y(o);{var s=n=>{var h=le(),w=y(h),z=y(w);{var J=l=>{var f=ue(),x=y(f,!0);_(f),j(()=>re(x,e.title)),v(l,f)},K=l=>{var f=V(),x=X(f);D(x,()=>e.title),v(l,f)};O(z,l=>{typeof e.title=="string"?l(J):l(K,!1)})}_(w);var Q=M(w,2);{var W=l=>{var f=he(),x=y(f);D(x,()=>e.actions),_(f),v(l,f)};O(Q,l=>{e.actions&&l(W)})}_(h),j(()=>{P(h,1,`px-3 sm:px-4 py-2 flex justify-between items-center ${e.children?"border-b border-[var(--border-color)]":""}`),P(w,1,`text-sm font-medium ${e.titleClass??""}`)}),v(n,h)};O(r,n=>{e.title&&n(s)})}var c=M(r,2);D(c,()=>e.children??U),_(o),ne(o,n=>t(n),()=>t()),j(()=>P(o,1,`rounded-2xl border border-[var(--border-color)] bg-[var(--light-background)]/70 shadow-sm ${e.class??""}`)),v(a,o),L()}export{Te as P,De as a,ke as b,ge as c,je as d,Fe as e,Pe as f,He as g,Ie as h,Ne as i,qe as j,Se as k,Ee as l,Oe as m,we as n,Re as o,Ce as p,Me as r,Ae as u};
@@ -1 +1 @@
1
- import"./AIOqEo5H.js";import{i as t,j as A,f as n,d as f,g as B,l as D,r as a,b as l,s as F,t as w,k as T}from"./BrrIPcne.js";import{e as k,s as M}from"./CTHGUrxr.js";import{i as G}from"./BEYqxaXI.js";import{e as u,i as m,a as j}from"./BJqoLy3B.js";import{T as I}from"./DQ-rgtMu.js";var J=n('<button class="dotted text-center"><!></button>'),K=n("<th> </th>"),N=n("<thead><tr></tr></thead>"),O=n("<td> </td>"),P=n("<tr></tr>"),Q=n('<table class="w-full border-collapse text-base font-medium"><!><tbody></tbody></table>');function $(C,i){let h=A(!1);function E(){T(h,!0)}function H(){T(h,!1)}I(C,{get show(){return t(h)},tooltipClass:"p-0 whitespace-nowrap",trigger:p=>{var r=J(),g=f(r);B(g,()=>i.children??D),a(r),k("mouseenter",r,E),k("mouseleave",r,H),l(p,r)},content:p=>{var r=Q(),g=f(r);{var L=d=>{var v=N(),o=f(v);u(o,21,()=>i.columns,m,(x,e)=>{var b=K();let _;var s=f(b,!0);a(b),w(c=>{_=j(b,1,"px-2 py-1 border-b border-[var(--color-3)] bg-[var(--color-4)] font-bold",null,_,c),M(s,t(e).header)},[()=>({"text-left":t(e).align==="left"||!t(e).align,"text-right":t(e).align==="right","text-center":t(e).align==="center"})]),l(x,b)}),a(o),a(v),l(d,v)};G(g,d=>{i.hideHeader||d(L)})}var y=F(g);u(y,21,()=>i.rows,m,(d,v)=>{var o=P();u(o,21,()=>i.columns,m,(x,e,b,_)=>{var s=O();let c;var q=f(s,!0);a(s),w(z=>{c=j(s,1,"px-2 py-1 border-b border-[var(--color-3)]",null,c,z),M(q,t(v)[t(e).key])},[()=>({"text-left":t(e).align==="left"||!t(e).align,"text-right":t(e).align==="right","text-center":t(e).align==="center"})]),l(x,s)}),a(o),l(d,o)}),a(y),a(r),l(p,r)},$$slots:{trigger:!0,content:!0}})}export{$ as T};
1
+ import"./BPbCnJEo.js";import{h as t,i as A,f as n,d as f,g as B,l as D,r as a,b as l,s as F,t as w,j as T}from"./reNJcONQ.js";import{e as k,s as M}from"./ByCRZ7zS.js";import{i as G}from"./0oUK0vJa.js";import{e as u,i as m,a as j}from"./XQ9Icqyt.js";import{T as I}from"./BJkfZNY-.js";var J=n('<button class="dotted text-center"><!></button>'),K=n("<th> </th>"),N=n("<thead><tr></tr></thead>"),O=n("<td> </td>"),P=n("<tr></tr>"),Q=n('<table class="w-full border-collapse text-base font-medium"><!><tbody></tbody></table>');function $(C,i){let h=A(!1);function E(){T(h,!0)}function H(){T(h,!1)}I(C,{get show(){return t(h)},tooltipClass:"p-0 whitespace-nowrap",trigger:p=>{var r=J(),g=f(r);B(g,()=>i.children??D),a(r),k("mouseenter",r,E),k("mouseleave",r,H),l(p,r)},content:p=>{var r=Q(),g=f(r);{var L=d=>{var v=N(),o=f(v);u(o,21,()=>i.columns,m,(x,e)=>{var b=K();let _;var s=f(b,!0);a(b),w(c=>{_=j(b,1,"px-2 py-1 border-b border-[var(--color-3)] bg-[var(--color-4)] font-bold",null,_,c),M(s,t(e).header)},[()=>({"text-left":t(e).align==="left"||!t(e).align,"text-right":t(e).align==="right","text-center":t(e).align==="center"})]),l(x,b)}),a(o),a(v),l(d,v)};G(g,d=>{i.hideHeader||d(L)})}var y=F(g);u(y,21,()=>i.rows,m,(d,v)=>{var o=P();u(o,21,()=>i.columns,m,(x,e,b,_)=>{var s=O();let c;var q=f(s,!0);a(s),w(z=>{c=j(s,1,"px-2 py-1 border-b border-[var(--color-3)]",null,c,z),M(q,t(v)[t(e).key])},[()=>({"text-left":t(e).align==="left"||!t(e).align,"text-right":t(e).align==="right","text-center":t(e).align==="center"})]),l(x,s)}),a(o),l(d,o)}),a(y),a(r),l(p,r)},$$slots:{trigger:!0,content:!0}})}export{$ as T};
@@ -1 +1 @@
1
- import{I as d,J as g,K as c,w as m,L as i,M as b,i as p,N as v,O as h,P as k}from"./BrrIPcne.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let f=()=>v(s.s);if(n){let a=0,t={};const _=h(()=>{let l=!1;const r=s.s;for(const o in r)r[o]!==t[o]&&(t[o]=r[o],l=!0);return l&&a++,a});f=()=>p(_)}e.b.length&&g(()=>{u(s,f),i(e.b)}),c(()=>{const a=m(()=>e.m.map(b));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,f),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}k();export{x as i};
1
+ import{z as d,A as g,B as c,v as m,C as i,D as b,h as p,E as v,F as h,G as k}from"./reNJcONQ.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let f=()=>v(s.s);if(n){let a=0,t={};const _=h(()=>{let l=!1;const r=s.s;for(const o in r)r[o]!==t[o]&&(t[o]=r[o],l=!0);return l&&a++,a});f=()=>p(_)}e.b.length&&g(()=>{u(s,f),i(e.b)}),c(()=>{const a=m(()=>e.m.map(b));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,f),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}k();export{x as i};
@@ -0,0 +1 @@
1
+ import{H as L,I as S,x as o,J as w,K as T,L as F,M as R,N as A,O as v,P as D,Q as H,R as d,S as g,T as k,U as M,V as U,W,X as y,Y as G}from"./reNJcONQ.js";const p=0,_=1;function P(r,h,m,t,f){o&&w();var N=L(),i=G,u=N?g(i):k(i,!1,!1),l=N?g(i):k(i,!1,!1),e=new D(r);S(()=>{var n=h(),x=!1;let B=o&&T(n)===(r.data===F);if(B&&(R(A()),v(!1)),T(n)){var E=M(),I=!1;const s=a=>{if(!x){I=!0,E(),o&&v(!1);try{a()}finally{U(),W||y()}}};n.then(a=>{s(()=>{d(u,a),e.ensure(_,t&&(c=>t(c,u)))})},a=>{s(()=>{if(d(l,a),e.ensure(_,f&&(c=>f(c,l))),!f)throw l.v})}),o?e.ensure(p,m):H(()=>{I||s(()=>{e.ensure(p,m)})})}else d(u,n),e.ensure(_,t&&(s=>t(s,u)));return B&&v(!0),()=>{x=!0}})}function Y(r){return r===0?"0 B":r<1e3?r+" B":r<1e6?(r/1e3).toFixed(2)+" kB":r<1e9?(r/1e6).toFixed(2)+" MB":r<1e12?(r/1e9).toFixed(2)+" GB":(r/1e12).toFixed(2)+" TB"}function q(r){return r.toLocaleString()}function J(r){if(r.startsWith("mongodb://")||r.startsWith("mongodb+srv://"))try{return new URL(r).hostname}catch{return r}return r}export{P as a,q as b,Y as f,J as s};
@@ -0,0 +1 @@
1
+ import{m as k,o as f,q as m,v as t,w as _,x as b,y}from"./reNJcONQ.js";function E(e,a,v=a){var c=new WeakSet;k(e,"input",async r=>{var l=r?e.defaultValue:e.value;if(l=s(e)?u(l):l,v(l),f!==null&&c.add(f),await m(),l!==(l=a())){var h=e.selectionStart,d=e.selectionEnd,n=e.value.length;if(e.value=l??"",d!==null){var o=e.value.length;h===d&&d===n&&o>n?(e.selectionStart=o,e.selectionEnd=o):(e.selectionStart=h,e.selectionEnd=Math.min(d,o))}}}),(b&&e.defaultValue!==e.value||t(a)==null&&e.value)&&(v(s(e)?u(e.value):e.value),f!==null&&c.add(f)),_(()=>{var r=a();if(e===document.activeElement){var l=y??f;if(c.has(l))return}s(e)&&r===u(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function S(e,a,v=a){k(e,"change",c=>{var r=c?e.defaultChecked:e.checked;v(r)}),(b&&e.defaultChecked!==e.checked||t(a)==null)&&v(e.checked),_(()=>{var c=a();e.checked=!!c})}function s(e){var a=e.type;return a==="number"||a==="range"}function u(e){return e===""?null:+e}export{S as a,E as b};