@jesec/flood 0.0.0-master.83e789c → 0.0.0-master.84305da

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 (440) hide show
  1. package/CHANGELOG.md +710 -103
  2. package/README.md +126 -46
  3. package/SECURITY.md +27 -0
  4. package/dist/assets/icon_128x128.png +0 -0
  5. package/dist/assets/icon_192x192.png +0 -0
  6. package/dist/assets/icon_256x256.png +0 -0
  7. package/dist/assets/icon_384x384.png +0 -0
  8. package/dist/assets/icon_512x512.png +0 -0
  9. package/dist/assets/icon_96x96.png +0 -0
  10. package/dist/assets/icon_maskable.png +0 -0
  11. package/dist/assets/icon_maskable_180x180.png +0 -0
  12. package/dist/assets/index.html +1 -1
  13. package/dist/assets/manifest.json +35 -7
  14. package/dist/assets/static/css/main.968c780bfc4b52a705a5.css +2 -0
  15. package/dist/assets/static/css/main.968c780bfc4b52a705a5.css.map +1 -0
  16. package/dist/assets/static/js/179.43c61c39.chunk.js +2 -0
  17. package/dist/assets/static/js/179.43c61c39.chunk.js.map +1 -0
  18. package/dist/assets/static/js/525.57b74c72.chunk.js +2 -0
  19. package/dist/assets/static/js/525.57b74c72.chunk.js.map +1 -0
  20. package/dist/assets/static/js/579.c74a7ebb.chunk.js +2 -0
  21. package/dist/assets/static/js/579.c74a7ebb.chunk.js.map +1 -0
  22. package/dist/assets/static/js/704.2754d905.chunk.js +2 -0
  23. package/dist/assets/static/js/704.2754d905.chunk.js.map +1 -0
  24. package/dist/assets/static/js/flag0.390f4d80.chunk.js +2 -0
  25. package/dist/assets/static/js/flag0.390f4d80.chunk.js.map +1 -0
  26. package/dist/assets/static/js/flag1.c2493006.chunk.js +1 -0
  27. package/dist/assets/static/js/flag2.55e1234c.chunk.js +1 -0
  28. package/dist/assets/static/js/flag3.f007a894.chunk.js +1 -0
  29. package/dist/assets/static/js/i18n0.ec6ce9de.chunk.js +2 -0
  30. package/dist/assets/static/js/i18n0.ec6ce9de.chunk.js.map +1 -0
  31. package/dist/assets/static/js/i18n1.024a1e0a.chunk.js +2 -0
  32. package/dist/assets/static/js/i18n1.024a1e0a.chunk.js.map +1 -0
  33. package/dist/assets/static/js/i18n10.b180a8fe.chunk.js +2 -0
  34. package/dist/assets/static/js/i18n10.b180a8fe.chunk.js.map +1 -0
  35. package/dist/assets/static/js/i18n11.cc9e4457.chunk.js +2 -0
  36. package/dist/assets/static/js/i18n11.cc9e4457.chunk.js.map +1 -0
  37. package/dist/assets/static/js/i18n12.434bfc84.chunk.js +2 -0
  38. package/dist/assets/static/js/i18n12.434bfc84.chunk.js.map +1 -0
  39. package/dist/assets/static/js/i18n13.4e1bcc7d.chunk.js +2 -0
  40. package/dist/assets/static/js/i18n13.4e1bcc7d.chunk.js.map +1 -0
  41. package/dist/assets/static/js/i18n14.bd0e0339.chunk.js +2 -0
  42. package/dist/assets/static/js/i18n14.bd0e0339.chunk.js.map +1 -0
  43. package/dist/assets/static/js/i18n15.9bccd290.chunk.js +2 -0
  44. package/dist/assets/static/js/i18n15.9bccd290.chunk.js.map +1 -0
  45. package/dist/assets/static/js/i18n16.72597f50.chunk.js +2 -0
  46. package/dist/assets/static/js/i18n16.72597f50.chunk.js.map +1 -0
  47. package/dist/assets/static/js/i18n17.a512a8ea.chunk.js +2 -0
  48. package/dist/assets/static/js/i18n17.a512a8ea.chunk.js.map +1 -0
  49. package/dist/assets/static/js/i18n18.7f743233.chunk.js +2 -0
  50. package/dist/assets/static/js/i18n18.7f743233.chunk.js.map +1 -0
  51. package/dist/assets/static/js/i18n19.39cd469a.chunk.js +2 -0
  52. package/dist/assets/static/js/i18n19.39cd469a.chunk.js.map +1 -0
  53. package/dist/assets/static/js/i18n2.79e0d92e.chunk.js +2 -0
  54. package/dist/assets/static/js/i18n2.79e0d92e.chunk.js.map +1 -0
  55. package/dist/assets/static/js/i18n20.3abdb6e8.chunk.js +2 -0
  56. package/dist/assets/static/js/i18n20.3abdb6e8.chunk.js.map +1 -0
  57. package/dist/assets/static/js/i18n21.50abaf1d.chunk.js +2 -0
  58. package/dist/assets/static/js/i18n21.50abaf1d.chunk.js.map +1 -0
  59. package/dist/assets/static/js/i18n22.1b255305.chunk.js +2 -0
  60. package/dist/assets/static/js/i18n22.1b255305.chunk.js.map +1 -0
  61. package/dist/assets/static/js/i18n23.bed06736.chunk.js +2 -0
  62. package/dist/assets/static/js/i18n23.bed06736.chunk.js.map +1 -0
  63. package/dist/assets/static/js/i18n24.3c9dd350.chunk.js +2 -0
  64. package/dist/assets/static/js/i18n24.3c9dd350.chunk.js.map +1 -0
  65. package/dist/assets/static/js/i18n25.bd8904ad.chunk.js +2 -0
  66. package/dist/assets/static/js/i18n25.bd8904ad.chunk.js.map +1 -0
  67. package/dist/assets/static/js/i18n26.6b4d29ff.chunk.js +2 -0
  68. package/dist/assets/static/js/i18n26.6b4d29ff.chunk.js.map +1 -0
  69. package/dist/assets/static/js/i18n27.aef61718.chunk.js +2 -0
  70. package/dist/assets/static/js/i18n27.aef61718.chunk.js.map +1 -0
  71. package/dist/assets/static/js/i18n28.c7adecad.chunk.js +2 -0
  72. package/dist/assets/static/js/i18n28.c7adecad.chunk.js.map +1 -0
  73. package/dist/assets/static/js/i18n3.0dd26c81.chunk.js +2 -0
  74. package/dist/assets/static/js/i18n3.0dd26c81.chunk.js.map +1 -0
  75. package/dist/assets/static/js/i18n4.aa48660a.chunk.js +2 -0
  76. package/dist/assets/static/js/i18n4.aa48660a.chunk.js.map +1 -0
  77. package/dist/assets/static/js/i18n5.5d0467c6.chunk.js +2 -0
  78. package/dist/assets/static/js/i18n5.5d0467c6.chunk.js.map +1 -0
  79. package/dist/assets/static/js/i18n6.95586fce.chunk.js +2 -0
  80. package/dist/assets/static/js/i18n6.95586fce.chunk.js.map +1 -0
  81. package/dist/assets/static/js/i18n8.c41df595.chunk.js +2 -0
  82. package/dist/assets/static/js/i18n8.c41df595.chunk.js.map +1 -0
  83. package/dist/assets/static/js/i18n9.7a446f59.chunk.js +2 -0
  84. package/dist/assets/static/js/i18n9.7a446f59.chunk.js.map +1 -0
  85. package/dist/assets/static/js/main.8378636b.js +2 -0
  86. package/dist/assets/static/js/main.8378636b.js.map +1 -0
  87. package/dist/assets/static/media/ad.1b24595d.png +0 -0
  88. package/dist/assets/static/media/ae.4dd8f55e.png +0 -0
  89. package/dist/assets/static/media/af.4ce660eb.png +0 -0
  90. package/dist/assets/static/media/ag.fd9409e4.png +0 -0
  91. package/dist/assets/static/media/al.a297aacf.png +0 -0
  92. package/dist/assets/static/media/am.c84ee0cf.png +0 -0
  93. package/dist/assets/static/media/ao.a7c9214e.png +0 -0
  94. package/dist/assets/static/media/ar.7e57ef92.png +0 -0
  95. package/dist/assets/static/media/at.5aa9728a.png +0 -0
  96. package/dist/assets/static/media/au.155b51d8.png +0 -0
  97. package/dist/assets/static/media/az.63afef5b.png +0 -0
  98. package/dist/assets/static/media/ba.5ce8f273.png +0 -0
  99. package/dist/assets/static/media/bb.f369fc62.png +0 -0
  100. package/dist/assets/static/media/bd.516278fc.png +0 -0
  101. package/dist/assets/static/media/be.08ec4a8d.png +0 -0
  102. package/dist/assets/static/media/bf.50bfcb31.png +0 -0
  103. package/dist/assets/static/media/bg.d9346b96.png +0 -0
  104. package/dist/assets/static/media/bh.f06d5914.png +0 -0
  105. package/dist/assets/static/media/bi.4923e3a3.png +0 -0
  106. package/dist/assets/static/media/bj.019fa79b.png +0 -0
  107. package/dist/assets/static/media/bn.077671e2.png +0 -0
  108. package/dist/assets/static/media/bo.8fb15fc6.png +0 -0
  109. package/dist/assets/static/media/br.ec051f0c.png +0 -0
  110. package/dist/assets/static/media/bs.a74a126f.png +0 -0
  111. package/dist/assets/static/media/bt.4217b804.png +0 -0
  112. package/dist/assets/static/media/bw.21fe1567.png +0 -0
  113. package/dist/assets/static/media/by.d247fe16.png +0 -0
  114. package/dist/assets/static/media/bz.98ec59f6.png +0 -0
  115. package/dist/assets/static/media/ca.25743e11.png +0 -0
  116. package/dist/assets/static/media/cd.a5bfda53.png +0 -0
  117. package/dist/assets/static/media/cf.de7d5d92.png +0 -0
  118. package/dist/assets/static/media/cg.a47b626b.png +0 -0
  119. package/dist/assets/static/media/ch.445f47a1.png +0 -0
  120. package/dist/assets/static/media/ci.a6009c5b.png +0 -0
  121. package/dist/assets/static/media/cl.de1d715e.png +0 -0
  122. package/dist/assets/static/media/cm.3ce8a86a.png +0 -0
  123. package/dist/assets/static/media/cn.e6a26073.png +0 -0
  124. package/dist/assets/static/media/co.e9244faa.png +0 -0
  125. package/dist/assets/static/media/cr.c895e035.png +0 -0
  126. package/dist/assets/static/media/cu.e486c055.png +0 -0
  127. package/dist/assets/static/media/cv.a9585acf.png +0 -0
  128. package/dist/assets/static/media/cw.df13039d.png +0 -0
  129. package/dist/assets/static/media/cy.b31f43a9.png +0 -0
  130. package/dist/assets/static/media/cz.8ec5948b.png +0 -0
  131. package/dist/assets/static/media/de.d12f391a.png +0 -0
  132. package/dist/assets/static/media/dj.154c3580.png +0 -0
  133. package/dist/assets/static/media/dk.da382fe2.png +0 -0
  134. package/dist/assets/static/media/dm.f452e6cd.png +0 -0
  135. package/dist/assets/static/media/do.c6bd7637.png +0 -0
  136. package/dist/assets/static/media/dz.672a69c0.png +0 -0
  137. package/dist/assets/static/media/ec.349d9bd7.png +0 -0
  138. package/dist/assets/static/media/ee.2396205f.png +0 -0
  139. package/dist/assets/static/media/eg.ccbf3f45.png +0 -0
  140. package/dist/assets/static/media/eh.af65674a.png +0 -0
  141. package/dist/assets/static/media/er.21afb638.png +0 -0
  142. package/dist/assets/static/media/es.2a6eaee4.png +0 -0
  143. package/dist/assets/static/media/et.8beb65c8.png +0 -0
  144. package/dist/assets/static/media/fi.331f70fd.png +0 -0
  145. package/dist/assets/static/media/fj.7724d800.png +0 -0
  146. package/dist/assets/static/media/fm.eeaf71e9.png +0 -0
  147. package/dist/assets/static/media/fr.5d5ab008.png +0 -0
  148. package/dist/assets/static/media/ga.77ed474c.png +0 -0
  149. package/dist/assets/static/media/gb.e00065bf.png +0 -0
  150. package/dist/assets/static/media/gd.b4522267.png +0 -0
  151. package/dist/assets/static/media/ge.91a7654d.png +0 -0
  152. package/dist/assets/static/media/gh.4759f92f.png +0 -0
  153. package/dist/assets/static/media/gm.81cd9f75.png +0 -0
  154. package/dist/assets/static/media/gn.9f3d376e.png +0 -0
  155. package/dist/assets/static/media/gq.e8ad58be.png +0 -0
  156. package/dist/assets/static/media/gr.26f3ac0b.png +0 -0
  157. package/dist/assets/static/media/gt.9d81c52e.png +0 -0
  158. package/dist/assets/static/media/gw.dc906982.png +0 -0
  159. package/dist/assets/static/media/gy.a4f62b6c.png +0 -0
  160. package/dist/assets/static/media/hk.56555c3f.png +0 -0
  161. package/dist/assets/static/media/hn.64ee6aad.png +0 -0
  162. package/dist/assets/static/media/hr.93ebecd3.png +0 -0
  163. package/dist/assets/static/media/ht.42ca1596.png +0 -0
  164. package/dist/assets/static/media/hu.bb30f05d.png +0 -0
  165. package/dist/assets/static/media/id.2cb49f2d.png +0 -0
  166. package/dist/assets/static/media/ie.b4dd1f19.png +0 -0
  167. package/dist/assets/static/media/il.cd1d1faf.png +0 -0
  168. package/dist/assets/static/media/in.2df03847.png +0 -0
  169. package/dist/assets/static/media/iq.a9b670ab.png +0 -0
  170. package/dist/assets/static/media/ir.9a3de085.png +0 -0
  171. package/dist/assets/static/media/is.d88f4fc9.png +0 -0
  172. package/dist/assets/static/media/it.b73713e3.png +0 -0
  173. package/dist/assets/static/media/je.0353f56a.png +0 -0
  174. package/dist/assets/static/media/jm.20330ef4.png +0 -0
  175. package/dist/assets/static/media/jo.eb66f1d1.png +0 -0
  176. package/dist/assets/static/media/jp.63e382ae.png +0 -0
  177. package/dist/assets/static/media/ke.ab2e43b8.png +0 -0
  178. package/dist/assets/static/media/kg.2c47c2af.png +0 -0
  179. package/dist/assets/static/media/kh.4732c810.png +0 -0
  180. package/dist/assets/static/media/ki.5fba09fd.png +0 -0
  181. package/dist/assets/static/media/km.7bbed3e9.png +0 -0
  182. package/dist/assets/static/media/kn.a9595a16.png +0 -0
  183. package/dist/assets/static/media/kp.8a4dc30a.png +0 -0
  184. package/dist/assets/static/media/kr.5273be1d.png +0 -0
  185. package/dist/assets/static/media/ks.99f78645.png +0 -0
  186. package/dist/assets/static/media/kw.af3521bc.png +0 -0
  187. package/dist/assets/static/media/kz.ea47ef79.png +0 -0
  188. package/dist/assets/static/media/la.78a598d7.png +0 -0
  189. package/dist/assets/static/media/lb.7a7c15a9.png +0 -0
  190. package/dist/assets/static/media/lc.6083a4ff.png +0 -0
  191. package/dist/assets/static/media/li.61c564a4.png +0 -0
  192. package/dist/assets/static/media/lk.6fa85802.png +0 -0
  193. package/dist/assets/static/media/lr.8063f7db.png +0 -0
  194. package/dist/assets/static/media/ls.901ddb71.png +0 -0
  195. package/dist/assets/static/media/lt.9209ace3.png +0 -0
  196. package/dist/assets/static/media/lu.c9872bc1.png +0 -0
  197. package/dist/assets/static/media/lv.7bcacf0a.png +0 -0
  198. package/dist/assets/static/media/ly.2830aa63.png +0 -0
  199. package/dist/assets/static/media/ma.ce5f697b.png +0 -0
  200. package/dist/assets/static/media/mc.4bd5d57a.png +0 -0
  201. package/dist/assets/static/media/md.fb4b5bdf.png +0 -0
  202. package/dist/assets/static/media/me.1f1d1772.png +0 -0
  203. package/dist/assets/static/media/mg.89101bd2.png +0 -0
  204. package/dist/assets/static/media/mh.ff11dff7.png +0 -0
  205. package/dist/assets/static/media/mk.8420e604.png +0 -0
  206. package/dist/assets/static/media/ml.4db47c66.png +0 -0
  207. package/dist/assets/static/media/mm.8e4ac30a.png +0 -0
  208. package/dist/assets/static/media/mn.dc1daa04.png +0 -0
  209. package/dist/assets/static/media/mr.7cbca6d0.png +0 -0
  210. package/dist/assets/static/media/mt.28a4b863.png +0 -0
  211. package/dist/assets/static/media/mu.d93db6c7.png +0 -0
  212. package/dist/assets/static/media/mv.7d026bf1.png +0 -0
  213. package/dist/assets/static/media/mw.960cd4fb.png +0 -0
  214. package/dist/assets/static/media/mx.39b78eb2.png +0 -0
  215. package/dist/assets/static/media/my.916a8392.png +0 -0
  216. package/dist/assets/static/media/mz.facb4ea3.png +0 -0
  217. package/dist/assets/static/media/na.472666a9.png +0 -0
  218. package/dist/assets/static/media/ne.d774701f.png +0 -0
  219. package/dist/assets/static/media/ng.7b06a49f.png +0 -0
  220. package/dist/assets/static/media/ni.7140131c.png +0 -0
  221. package/dist/assets/static/media/nl.4c04aa96.png +0 -0
  222. package/dist/assets/static/media/no.c19eb00d.png +0 -0
  223. package/dist/assets/static/media/np.54fb4f2f.png +0 -0
  224. package/dist/assets/static/media/nr.7527cc38.png +0 -0
  225. package/dist/assets/static/media/nz.738be05b.png +0 -0
  226. package/dist/assets/static/media/om.b25e0a17.png +0 -0
  227. package/dist/assets/static/media/pa.b28a9059.png +0 -0
  228. package/dist/assets/static/media/pe.c1fc1d96.png +0 -0
  229. package/dist/assets/static/media/pg.380115db.png +0 -0
  230. package/dist/assets/static/media/ph.02199ddc.png +0 -0
  231. package/dist/assets/static/media/pk.094f9517.png +0 -0
  232. package/dist/assets/static/media/pl.41521283.png +0 -0
  233. package/dist/assets/static/media/pt.1f82dc04.png +0 -0
  234. package/dist/assets/static/media/pw.a26c2316.png +0 -0
  235. package/dist/assets/static/media/py.926c65ed.png +0 -0
  236. package/dist/assets/static/media/qa.c6a3c20e.png +0 -0
  237. package/dist/assets/static/media/ro.a36876c9.png +0 -0
  238. package/dist/assets/static/media/rs.c6629de8.png +0 -0
  239. package/dist/assets/static/media/ru.a9b948c1.png +0 -0
  240. package/dist/assets/static/media/rw.e8aecba0.png +0 -0
  241. package/dist/assets/static/media/sa.859049c8.png +0 -0
  242. package/dist/assets/static/media/sb.4ad27b27.png +0 -0
  243. package/dist/assets/static/media/sc.3293efde.png +0 -0
  244. package/dist/assets/static/media/sd.19c94faa.png +0 -0
  245. package/dist/assets/static/media/se.195b3f93.png +0 -0
  246. package/dist/assets/static/media/sg.19d81907.png +0 -0
  247. package/dist/assets/static/media/si.367c5443.png +0 -0
  248. package/dist/assets/static/media/sk.4e5b8a39.png +0 -0
  249. package/dist/assets/static/media/sl.4b174b1c.png +0 -0
  250. package/dist/assets/static/media/sm.2cba3dac.png +0 -0
  251. package/dist/assets/static/media/sn.a4c1041d.png +0 -0
  252. package/dist/assets/static/media/so.b455e3bf.png +0 -0
  253. package/dist/assets/static/media/sr.5adc1c00.png +0 -0
  254. package/dist/assets/static/media/st.5ae44155.png +0 -0
  255. package/dist/assets/static/media/sv.43aa6cdf.png +0 -0
  256. package/dist/assets/static/media/sy.0fbd24f7.png +0 -0
  257. package/dist/assets/static/media/sz.ff204912.png +0 -0
  258. package/dist/assets/static/media/td.c7aa2a4e.png +0 -0
  259. package/dist/assets/static/media/tg.857c3bec.png +0 -0
  260. package/dist/assets/static/media/th.683600c7.png +0 -0
  261. package/dist/assets/static/media/tj.d20c5570.png +0 -0
  262. package/dist/assets/static/media/tl.5edd8ea7.png +0 -0
  263. package/dist/assets/static/media/tm.15960215.png +0 -0
  264. package/dist/assets/static/media/tn.40df718e.png +0 -0
  265. package/dist/assets/static/media/to.c3b054df.png +0 -0
  266. package/dist/assets/static/media/tr.adeace6d.png +0 -0
  267. package/dist/assets/static/media/tt.839bd7f1.png +0 -0
  268. package/dist/assets/static/media/tv.628cae3e.png +0 -0
  269. package/dist/assets/static/media/tw.4e885914.png +0 -0
  270. package/dist/assets/static/media/tz.b2f0dc37.png +0 -0
  271. package/dist/assets/static/media/ua.6b103313.png +0 -0
  272. package/dist/assets/static/media/ug.c84042fc.png +0 -0
  273. package/dist/assets/static/media/us.8523c31d.png +0 -0
  274. package/dist/assets/static/media/uy.a943f85e.png +0 -0
  275. package/dist/assets/static/media/uz.25552673.png +0 -0
  276. package/dist/assets/static/media/va.a29e1b53.png +0 -0
  277. package/dist/assets/static/media/vc.7480bd37.png +0 -0
  278. package/dist/assets/static/media/ve.fd4273c2.png +0 -0
  279. package/dist/assets/static/media/vn.7d2eff1b.png +0 -0
  280. package/dist/assets/static/media/vu.48b64cf3.png +0 -0
  281. package/dist/assets/static/media/ws.f3d9202f.png +0 -0
  282. package/dist/assets/static/media/ye.311a0e50.png +0 -0
  283. package/dist/assets/static/media/za.090a856f.png +0 -0
  284. package/dist/assets/static/media/zm.8371e197.png +0 -0
  285. package/dist/assets/static/media/zw.a6809447.png +0 -0
  286. package/dist/index.js +131685 -0
  287. package/package.json +222 -151
  288. package/dist/assets/android-chrome-192x192.png +0 -0
  289. package/dist/assets/android-chrome-512x512.png +0 -0
  290. package/dist/assets/apple-touch-icon.png +0 -0
  291. package/dist/assets/asset-manifest.json +0 -57
  292. package/dist/assets/browserconfig.xml +0 -9
  293. package/dist/assets/favicon-16x16.png +0 -0
  294. package/dist/assets/favicon-32x32.png +0 -0
  295. package/dist/assets/mstile-144x144.png +0 -0
  296. package/dist/assets/mstile-150x150.png +0 -0
  297. package/dist/assets/mstile-310x150.png +0 -0
  298. package/dist/assets/mstile-310x310.png +0 -0
  299. package/dist/assets/mstile-70x70.png +0 -0
  300. package/dist/assets/static/css/main.e5c088b6b6f679087a82.css +0 -1
  301. package/dist/assets/static/js/0.0a556a75.chunk.js +0 -1
  302. package/dist/assets/static/js/1.14dd2d0c.chunk.js +0 -1
  303. package/dist/assets/static/js/10.d4eef924.chunk.js +0 -1
  304. package/dist/assets/static/js/11.53cd515d.chunk.js +0 -1
  305. package/dist/assets/static/js/12.ce0f8a4e.chunk.js +0 -1
  306. package/dist/assets/static/js/13.9ca96920.chunk.js +0 -1
  307. package/dist/assets/static/js/14.588e3d0c.chunk.js +0 -1
  308. package/dist/assets/static/js/15.f28d64ab.chunk.js +0 -1
  309. package/dist/assets/static/js/16.53dd87df.chunk.js +0 -1
  310. package/dist/assets/static/js/17.b764e125.chunk.js +0 -1
  311. package/dist/assets/static/js/18.9b7e5575.chunk.js +0 -1
  312. package/dist/assets/static/js/2.8fafb9ff.chunk.js +0 -1
  313. package/dist/assets/static/js/20.64809e35.chunk.js +0 -1
  314. package/dist/assets/static/js/21.f3058669.chunk.js +0 -1
  315. package/dist/assets/static/js/22.dcfb4883.chunk.js +0 -1
  316. package/dist/assets/static/js/23.840a4201.chunk.js +0 -1
  317. package/dist/assets/static/js/24.0a173a0d.chunk.js +0 -1
  318. package/dist/assets/static/js/25.e4c2217e.chunk.js +0 -1
  319. package/dist/assets/static/js/26.5f03f1a3.chunk.js +0 -1
  320. package/dist/assets/static/js/27.5127408d.chunk.js +0 -1
  321. package/dist/assets/static/js/28.ebac4379.chunk.js +0 -1
  322. package/dist/assets/static/js/29.de46849d.chunk.js +0 -1
  323. package/dist/assets/static/js/3.c219b8a8.chunk.js +0 -1
  324. package/dist/assets/static/js/30.ff543e93.chunk.js +0 -1
  325. package/dist/assets/static/js/31.1f1ad44f.chunk.js +0 -1
  326. package/dist/assets/static/js/32.b4c28098.chunk.js +0 -1
  327. package/dist/assets/static/js/33.3febffaf.chunk.js +0 -1
  328. package/dist/assets/static/js/34.2e764e96.chunk.js +0 -1
  329. package/dist/assets/static/js/35.92c40bb9.chunk.js +0 -1
  330. package/dist/assets/static/js/36.27afe215.chunk.js +0 -1
  331. package/dist/assets/static/js/37.6d94e34b.chunk.js +0 -1
  332. package/dist/assets/static/js/38.107b5aa9.chunk.js +0 -1
  333. package/dist/assets/static/js/39.112b724b.chunk.js +0 -1
  334. package/dist/assets/static/js/4.19d26f13.chunk.js +0 -1
  335. package/dist/assets/static/js/40.44aa79f5.chunk.js +0 -1
  336. package/dist/assets/static/js/41.fb69cc30.chunk.js +0 -1
  337. package/dist/assets/static/js/42.906cc1ff.chunk.js +0 -1
  338. package/dist/assets/static/js/43.135e1560.chunk.js +0 -1
  339. package/dist/assets/static/js/44.a3d23bab.chunk.js +0 -1
  340. package/dist/assets/static/js/45.f025dffe.chunk.js +0 -1
  341. package/dist/assets/static/js/46.3ea25c9e.chunk.js +0 -1
  342. package/dist/assets/static/js/47.5a213255.chunk.js +0 -1
  343. package/dist/assets/static/js/48.ce4bfe23.chunk.js +0 -1
  344. package/dist/assets/static/js/49.857650de.chunk.js +0 -1
  345. package/dist/assets/static/js/5.dc5232a2.chunk.js +0 -1
  346. package/dist/assets/static/js/50.2a5fd558.chunk.js +0 -1
  347. package/dist/assets/static/js/6.210f5d48.chunk.js +0 -1
  348. package/dist/assets/static/js/7.29af7904.chunk.js +0 -1
  349. package/dist/assets/static/js/8.efcd70d8.chunk.js +0 -1
  350. package/dist/assets/static/js/9.23e24017.chunk.js +0 -1
  351. package/dist/assets/static/js/main.c8ce60de.js +0 -1
  352. package/dist/assets/static/media/ABOUT.d02918c9.md +0 -13
  353. package/dist/assets/static/media/Roboto-500.64e69384.woff +0 -0
  354. package/dist/assets/static/media/Roboto-500.7f8f0146.eot +0 -0
  355. package/dist/assets/static/media/Roboto-500.916656a2.ttf +0 -0
  356. package/dist/assets/static/media/Roboto-500.abd255e8.svg +0 -305
  357. package/dist/assets/static/media/Roboto-700.8d11d1e1.ttf +0 -0
  358. package/dist/assets/static/media/Roboto-700.9c9c164e.svg +0 -310
  359. package/dist/assets/static/media/Roboto-700.c65552c8.eot +0 -0
  360. package/dist/assets/static/media/Roboto-700.ee82bda2.woff +0 -0
  361. package/dist/assets/static/media/Roboto-700italic.1dc5bfed.eot +0 -0
  362. package/dist/assets/static/media/Roboto-700italic.686da014.woff +0 -0
  363. package/dist/assets/static/media/Roboto-700italic.896656dc.ttf +0 -0
  364. package/dist/assets/static/media/Roboto-700italic.cacb9681.svg +0 -325
  365. package/dist/assets/static/media/Roboto-italic.09ed2f27.svg +0 -323
  366. package/dist/assets/static/media/Roboto-italic.c1421604.woff +0 -0
  367. package/dist/assets/static/media/Roboto-italic.c38ecad2.ttf +0 -0
  368. package/dist/assets/static/media/Roboto-italic.f7677a07.eot +0 -0
  369. package/dist/assets/static/media/Roboto-regular.5107f918.eot +0 -0
  370. package/dist/assets/static/media/Roboto-regular.6a307cf2.woff +0 -0
  371. package/dist/assets/static/media/Roboto-regular.81dc9b21.ttf +0 -0
  372. package/dist/assets/static/media/Roboto-regular.bcf2ba9e.svg +0 -308
  373. package/dist/config.js +0 -173
  374. package/dist/server/app.js +0 -79
  375. package/dist/server/bin/enforce-prerequisites.js +0 -55
  376. package/dist/server/bin/migrations/fix-is-admin-flag.js +0 -41
  377. package/dist/server/bin/migrations/per-user-rtorrent-instances.js +0 -67
  378. package/dist/server/bin/migrations/run.js +0 -10
  379. package/dist/server/bin/start.js +0 -18
  380. package/dist/server/bin/web-server.js +0 -94
  381. package/dist/server/config/passport.js +0 -32
  382. package/dist/server/constants/clientGatewayServiceEvents.js +0 -15
  383. package/dist/server/constants/diskUsageServiceEvents.js +0 -8
  384. package/dist/server/constants/fileListPropMap.js +0 -29
  385. package/dist/server/constants/historyServiceEvents.js +0 -18
  386. package/dist/server/constants/notificationServiceEvents.js +0 -8
  387. package/dist/server/constants/taxonomyServiceEvents.js +0 -8
  388. package/dist/server/constants/torrentListPropMap.js +0 -200
  389. package/dist/server/constants/torrentServiceEvents.js +0 -8
  390. package/dist/server/constants/transferSummaryPropMap.js +0 -28
  391. package/dist/server/middleware/appendUserServices.js +0 -10
  392. package/dist/server/middleware/booleanCoerce.js +0 -9
  393. package/dist/server/middleware/clientActivityStream.js +0 -124
  394. package/dist/server/middleware/eventStream.js +0 -25
  395. package/dist/server/middleware/requireAdmin.js +0 -8
  396. package/dist/server/models/ClientRequest.js +0 -310
  397. package/dist/server/models/Feed.js +0 -65
  398. package/dist/server/models/Filesystem.js +0 -44
  399. package/dist/server/models/HistoryEra.js +0 -168
  400. package/dist/server/models/ServerEvent.js +0 -27
  401. package/dist/server/models/TemporaryStorage.js +0 -20
  402. package/dist/server/models/Users.js +0 -160
  403. package/dist/server/models/client.js +0 -363
  404. package/dist/server/models/settings.js +0 -119
  405. package/dist/server/routes/api.js +0 -69
  406. package/dist/server/routes/auth.js +0 -184
  407. package/dist/server/routes/client.js +0 -101
  408. package/dist/server/services/BaseService.js +0 -24
  409. package/dist/server/services/clientGatewayService.js +0 -220
  410. package/dist/server/services/clientRequestManager.js +0 -76
  411. package/dist/server/services/diskUsageService.js +0 -133
  412. package/dist/server/services/feedService.js +0 -290
  413. package/dist/server/services/historyService.js +0 -181
  414. package/dist/server/services/index.js +0 -108
  415. package/dist/server/services/notificationService.js +0 -109
  416. package/dist/server/services/taxonomyService.js +0 -107
  417. package/dist/server/services/torrentService.js +0 -235
  418. package/dist/server/util/ajaxUtil.js +0 -19
  419. package/dist/server/util/clientResponseUtil.js +0 -99
  420. package/dist/server/util/fileUtil.js +0 -45
  421. package/dist/server/util/mediainfo.js +0 -34
  422. package/dist/server/util/methodCallUtil.js +0 -22
  423. package/dist/server/util/numberUtils.js +0 -7
  424. package/dist/server/util/rTorrentDeserializer.js +0 -104
  425. package/dist/server/util/rTorrentPropMap.js +0 -13
  426. package/dist/server/util/scgiUtil.js +0 -36
  427. package/dist/server/util/torrentFileUtil.js +0 -23
  428. package/dist/shared/config/paths.js +0 -41
  429. package/dist/shared/constants/clientSettingsMap.js +0 -53
  430. package/dist/shared/constants/diffActionTypes.js +0 -6
  431. package/dist/shared/constants/historySnapshotTypes.js +0 -11
  432. package/dist/shared/constants/serverEventTypes.js +0 -18
  433. package/dist/shared/constants/torrentFilePropsMap.js +0 -6
  434. package/dist/shared/constants/torrentPeerPropsMap.js +0 -32
  435. package/dist/shared/constants/torrentStatusMap.js +0 -17
  436. package/dist/shared/constants/torrentTrackerPropsMap.js +0 -6
  437. package/dist/shared/util/formatUtil.js +0 -33
  438. package/dist/shared/util/objectUtil.js +0 -56
  439. package/dist/shared/util/regEx.js +0 -7
  440. /package/dist/assets/{safari-pinned-tab.svg → icon.svg} +0 -0
@@ -0,0 +1,2 @@
1
+ (globalThis.webpackChunk_jesec_flood=globalThis.webpackChunk_jesec_flood||[]).push([[525],{124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},940:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);const o=function(e,t){var n=(0,r.useRef)(function(){});(0,r.useEffect)(function(){n.current=e}),(0,r.useEffect)(function(){if(null!==t){var e=setInterval(function(){return n.current()},t||0);return function(){return clearInterval(e)}}},[t])}},1133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}}),n};var o=r(n(9788))},1800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},2849:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},l=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(o=s(t,n))&&(h&&o&&(l(o)||(c=i(o)))?(c?(c=!1,u=r&&i(r)?r:[]):u=r&&l(r)?r:{},a(d,{name:n,newValue:e(h,u,o)})):void 0!==o&&a(d,{name:n,newValue:o}));return d}},3375:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>_e,vL:()=>Y,uN:()=>G,cA:()=>ie,IG:()=>ae,Sj:()=>E,fF:()=>Ve,PM:()=>He,zM:()=>Ye,MS:()=>g});var r=n(6540),o=n(961),i=n(4979);const l={display:"none"};function a(e){let{id:t,value:n}=e;return r.createElement("div",{id:t,style:l},n)}function s(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;return r.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},n)}const c=(0,r.createContext)(null);const u={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},d={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function f(e){let{announcements:t=d,container:n,hiddenTextDescribedById:l,screenReaderInstructions:f=u}=e;const{announce:p,announcement:h}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),g=(0,i.YG)("DndLiveRegion"),[m,v]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{v(!0)},[]),function(e){const t=(0,r.useContext)(c);(0,r.useEffect)(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,r.useMemo)(()=>({onDragStart(e){let{active:n}=e;p(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&p(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;p(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;p(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;p(t.onDragCancel({active:n,over:r}))}}),[p,t])),!m)return null;const y=r.createElement(r.Fragment,null,r.createElement(a,{id:l,value:f.draggable}),r.createElement(s,{id:g,announcement:h}));return n?(0,o.createPortal)(y,n):y}var p;function h(){}function g(e,t){return(0,r.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(p||(p={}));const m=Object.freeze({x:0,y:0});function v(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function y(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),l=o-r,a=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=l*a;return Number((o/(n+r-o)).toFixed(4))}return 0}const x=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=y(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(v)};function b(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:m}function k(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}const w=k(1);function S(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const C={ignoreTransform:!1};function E(e,t){void 0===t&&(t=C);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,i.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=S(t);if(!r)return e;const{scaleX:o,scaleY:i,x:l,y:a}=r,s=e.left-l-(1-o)*parseFloat(n),c=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s}}(n,t,r))}const{top:r,left:o,width:l,height:a,bottom:s,right:c}=n;return{top:r,left:o,width:l,height:a,bottom:s,right:c}}function I(e){return E(e,{ignoreTransform:!0})}function D(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.wz)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.sb)(o)||(0,i.xZ)(o))return n;if(n.includes(o))return n;const l=(0,i.zk)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.zk)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{const r=t[e];return"string"==typeof r&&n.test(r)})}(o,l)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.zk)(e).getComputedStyle(e)),"fixed"===t.position}(o,l)?n:r(o.parentNode)}(e):n}function T(e){const[t]=D(e,1);return null!=t?t:null}function R(e){return i.Sw&&e?(0,i.l6)(e)?e:(0,i.Ll)(e)?(0,i.wz)(e)||e===(0,i.TW)(e).scrollingElement?window:(0,i.sb)(e)?e:null:null:null}function A(e){return(0,i.l6)(e)?e.scrollX:e.scrollLeft}function P(e){return(0,i.l6)(e)?e.scrollY:e.scrollTop}function M(e){return{x:A(e),y:P(e)}}var N;function L(e){return!(!i.Sw||!e)&&e===document.scrollingElement}function O(e){const t={x:0,y:0},n=L(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(N||(N={}));const z={x:.2,y:.2};function F(e,t,n,r,o){let{top:i,left:l,right:a,bottom:s}=n;void 0===r&&(r=10),void 0===o&&(o=z);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=O(e),p={x:0,y:0},h={x:0,y:0},g=t.height*o.y,m=t.width*o.x;return!c&&i<=t.top+g?(p.y=N.Backward,h.y=r*Math.abs((t.top+g-i)/g)):!u&&s>=t.bottom-g&&(p.y=N.Forward,h.y=r*Math.abs((t.bottom-g-s)/g)),!f&&a>=t.right-m?(p.x=N.Forward,h.x=r*Math.abs((t.right-m-a)/m)):!d&&l<=t.left+m&&(p.x=N.Backward,h.x=r*Math.abs((t.left+m-l)/m)),{direction:p,speed:h}}function _(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function B(e){return e.reduce((e,t)=>(0,i.WQ)(e,M(t)),m)}function j(e,t){if(void 0===t&&(t=E),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);T(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const U=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+A(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+P(t),0)}]];class H{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=D(t),r=B(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of U)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),l=r[e]-t;return this.rect[i]+l},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class V{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function q(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var W,Y;function K(e){e.preventDefault()}function X(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(W||(W={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"}(Y||(Y={}));const Q={start:[Y.Space,Y.Enter],cancel:[Y.Esc],end:[Y.Space,Y.Enter,Y.Tab]},$=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Y.Right:return{...n,x:n.x+25};case Y.Left:return{...n,x:n.x-25};case Y.Down:return{...n,y:n.y+25};case Y.Up:return{...n,y:n.y-25}}};class G{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new V((0,i.TW)(t)),this.windowListeners=new V((0,i.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(W.Resize,this.handleCancel),this.windowListeners.add(W.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(W.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&j(n),t(m)}handleKeyDown(e){if((0,i.kx)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=Q,coordinateGetter:l=$,scrollBehavior:a="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:m;this.referenceCoordinates||(this.referenceCoordinates=u);const d=l(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,i.Re)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:l,isLeft:s,isBottom:c,maxScroll:u,minScroll:f}=O(n),p=_(n),h={x:Math.min(o===Y.Right?p.right-p.width/2:p.right,Math.max(o===Y.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(o===Y.Down?p.bottom-p.height/2:p.bottom,Math.max(o===Y.Down?p.top:p.top+p.height/2,d.y))},g=o===Y.Right&&!l||o===Y.Left&&!s,m=o===Y.Down&&!c||o===Y.Up&&!i;if(g&&h.x!==d.x){const e=n.scrollLeft+t.x,i=o===Y.Right&&e<=u.x||o===Y.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:a});r.x=i?n.scrollLeft-e:o===Y.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(m&&h.y!==d.y){const e=n.scrollTop+t.y,i=o===Y.Down&&e<=u.y||o===Y.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:a});r.y=i?n.scrollTop-e:o===Y.Down?n.scrollTop-u.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,(0,i.WQ)((0,i.Re)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function J(e){return Boolean(e&&"distance"in e)}function Z(e){return Boolean(e&&"delay"in e)}G.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=Q,onActivation:o}=t,{active:i}=n;const{code:l}=e.nativeEvent;if(r.start.includes(l)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class ee{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.zk)(e);return e instanceof t?e:(0,i.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:l}=o;this.props=e,this.events=t,this.document=(0,i.TW)(l),this.documentListeners=new V(this.document),this.listeners=new V(n),this.windowListeners=new V((0,i.zk)(l)),this.initialCoordinates=null!=(r=(0,i.e_)(o))?r:m,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(W.Resize,this.handleCancel),this.windowListeners.add(W.DragStart,K),this.windowListeners.add(W.VisibilityChange,this.handleCancel),this.windowListeners.add(W.ContextMenu,K),this.documentListeners.add(W.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Z(t))return this.timeoutId=setTimeout(this.handleStart,t.delay),void this.handlePending(t);if(J(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(W.Click,X,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(W.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:l,options:{activationConstraint:a}}=o;if(!r)return;const s=null!=(t=(0,i.e_)(e))?t:m,c=(0,i.Re)(r,s);if(!n&&a){if(J(a)){if(null!=a.tolerance&&q(c,a.tolerance))return this.handleCancel();if(q(c,a.distance))return this.handleStart()}return Z(a)&&q(c,a.tolerance)?this.handleCancel():void this.handlePending(a,c)}e.cancelable&&e.preventDefault(),l(s)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===Y.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const te={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ne extends ee{constructor(e){const{event:t}=e,n=(0,i.TW)(t.target);super(e,te,n)}}ne.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button)&&(null==r||r({event:n}),!0)}}];const re={move:{name:"mousemove"},end:{name:"mouseup"}};var oe;!function(e){e[e.RightClick=2]="RightClick"}(oe||(oe={}));class ie extends ee{constructor(e){super(e,re,(0,i.TW)(e.event.target))}}ie.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==oe.RightClick&&(null==r||r({event:n}),!0)}}];const le={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ae extends ee{constructor(e){super(e,le)}static setup(){return window.addEventListener(le.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(le.move.name,e)};function e(){}}}var se,ce;function ue(e){let{acceleration:t,activator:n=se.Pointer,canScroll:o,draggingRect:l,enabled:a,interval:s=5,order:c=ce.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:p,threshold:h}=e;const g=function(e){let{delta:t,disabled:n}=e;const r=(0,i.ZC)(t);return(0,i.KG)(e=>{if(n||!r||!e)return de;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[N.Backward]:e.x[N.Backward]||-1===o.x,[N.Forward]:e.x[N.Forward]||1===o.x},y:{[N.Backward]:e.y[N.Backward]||-1===o.y,[N.Forward]:e.y[N.Forward]||1===o.y}}},[n,t,r])}({delta:p,disabled:!a}),[m,v]=(0,i.$$)(),y=(0,r.useRef)({x:0,y:0}),x=(0,r.useRef)({x:0,y:0}),b=(0,r.useMemo)(()=>{switch(n){case se.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case se.DraggableRect:return l}},[n,l,u]),k=(0,r.useRef)(null),w=(0,r.useCallback)(()=>{const e=k.current;if(!e)return;const t=y.current.x*x.current.x,n=y.current.y*x.current.y;e.scrollBy(t,n)},[]),S=(0,r.useMemo)(()=>c===ce.TreeOrder?[...d].reverse():d,[c,d]);(0,r.useEffect)(()=>{if(a&&d.length&&b){for(const e of S){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:i,speed:l}=F(e,r,b,t,h);for(const e of["x","y"])g[e][i[e]]||(l[e]=0,i[e]=0);if(l.x>0||l.y>0)return v(),k.current=e,m(w,s),y.current=l,void(x.current=i)}y.current={x:0,y:0},x.current={x:0,y:0},v()}else v()},[t,w,o,v,a,s,JSON.stringify(b),JSON.stringify(g),m,d,S,f,JSON.stringify(h)])}ae.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(se||(se={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(ce||(ce={}));const de={x:{[N.Backward]:!1,[N.Forward]:!1},y:{[N.Backward]:!1,[N.Forward]:!1}};var fe,pe;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(fe||(fe={})),function(e){e.Optimized="optimized"}(pe||(pe={}));const he=new Map;function ge(e,t){return(0,i.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function me(e){let{callback:t,disabled:n}=e;const o=(0,i._q)(t),l=(0,r.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)},[n]);return(0,r.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}function ve(e){return new H(E(e),e)}function ye(e,t,n){void 0===t&&(t=ve);const[o,l]=(0,r.useState)(null);function a(){l(r=>{if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}const s=function(e){let{callback:t,disabled:n}=e;const o=(0,i._q)(t),l=(0,r.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)},[o,n]);return(0,r.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),c=me({callback:a});return(0,i.Es)(()=>{a(),e?(null==c||c.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==c||c.disconnect(),null==s||s.disconnect())},[e]),o}const xe=[];function be(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{n.current=null},t),(0,r.useEffect)(()=>{const t=e!==m;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,i.Re)(e,n.current):m}function ke(e){return(0,r.useMemo)(()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}const we=[];function Se(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.sb)(t)?t:e}const Ce=[{sensor:ne,options:{}},{sensor:G,options:{}}],Ee={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:fe.WhileDragging,frequency:pe.Optimized},dragOverlay:{measure:E}};class De extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Te={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new De,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:h},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:h,windowRect:null,measuringScheduled:!1},Re={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:h,draggableNodes:new Map,over:null,measureDroppableContainers:h},Ae=(0,r.createContext)(Re),Pe=(0,r.createContext)(Te);function Me(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new De}}}function Ne(e,t){switch(t.type){case p.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case p.DragMove:return null==e.draggable.active?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case p.DragEnd:case p.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case p.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new De(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case p.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const l=new De(e.droppable.containers);return l.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:l}}}case p.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new De(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Le(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:l}=(0,r.useContext)(Ae),a=(0,i.ZC)(o),s=(0,i.ZC)(null==n?void 0:n.id);return(0,r.useEffect)(()=>{if(!t&&!o&&a&&null!=s){if(!(0,i.kx)(a))return;if(document.activeElement===a.target)return;const e=l.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.ag)(e);if(t){t.focus();break}}})}},[o,t,l,s,a]),null}function Oe(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}const ze=(0,r.createContext)({...m,scaleX:1,scaleY:1});var Fe;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Fe||(Fe={}));const _e=(0,r.memo)(function(e){var t,n,l,a;let{id:s,accessibility:u,autoScroll:d=!0,children:h,sensors:g=Ce,collisionDetection:v=x,measuring:y,modifiers:k,...S}=e;const C=(0,r.useReducer)(Ne,void 0,Me),[I,A]=C,[P,N]=function(){const[e]=(0,r.useState)(()=>new Set),t=(0,r.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,r.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[O,z]=(0,r.useState)(Fe.Uninitialized),F=O===Fe.Initialized,{draggable:{active:_,nodes:j,translate:U},droppable:{containers:V}}=I,q=null!=_?j.get(_):null,W=(0,r.useRef)({initial:null,translated:null}),Y=(0,r.useMemo)(()=>{var e;return null!=_?{id:_,data:null!=(e=null==q?void 0:q.data)?e:Ee,rect:W}:null},[_,q]),K=(0,r.useRef)(null),[X,Q]=(0,r.useState)(null),[$,G]=(0,r.useState)(null),J=(0,i.YN)(S,Object.values(S)),Z=(0,i.YG)("DndDescribedBy",s),ee=(0,r.useMemo)(()=>V.getEnabled(),[V]),te=(ne=y,(0,r.useMemo)(()=>({draggable:{...Ie.draggable,...null==ne?void 0:ne.draggable},droppable:{...Ie.droppable,...null==ne?void 0:ne.droppable},dragOverlay:{...Ie.dragOverlay,...null==ne?void 0:ne.dragOverlay}}),[null==ne?void 0:ne.draggable,null==ne?void 0:ne.droppable,null==ne?void 0:ne.dragOverlay]));var ne;const{droppableRects:re,measureDroppableContainers:oe,measuringScheduled:ie}=function(e,t){let{dragging:n,dependencies:o,config:l}=t;const[a,s]=(0,r.useState)(null),{frequency:c,measure:u,strategy:d}=l,f=(0,r.useRef)(e),p=function(){switch(d){case fe.Always:return!1;case fe.BeforeDragging:return n;default:return!n}}(),h=(0,i.YN)(p),g=(0,r.useCallback)(function(e){void 0===e&&(e=[]),h.current||s(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[h]),m=(0,r.useRef)(null),v=(0,i.KG)(t=>{if(p&&!n)return he;if(!t||t===he||f.current!==e||null!=a){const t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new H(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,p,u]);return(0,r.useEffect)(()=>{f.current=e},[e]),(0,r.useEffect)(()=>{p||g()},[n,p]),(0,r.useEffect)(()=>{a&&a.length>0&&s(null)},[JSON.stringify(a)]),(0,r.useEffect)(()=>{p||"number"!=typeof c||null!==m.current||(m.current=setTimeout(()=>{g(),m.current=null},c))},[c,p,g,...o]),{droppableRects:v,measureDroppableContainers:g,measuringScheduled:null!=a}}(ee,{dragging:F,dependencies:[U.x,U.y],config:te.droppable}),le=function(e,t){const n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.KG)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(j,_),ae=(0,r.useMemo)(()=>$?(0,i.e_)($):null,[$]),se=function(){const e=!1===(null==X?void 0:X.autoScrollEnabled),t="object"==typeof d?!1===d.enabled:!1===d,n=F&&!e&&!t;if("object"==typeof d)return{...d,enabled:n};return{enabled:n}}(),ce=function(e,t){return ge(e,t)}(le,te.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:l=!0}=e;const a=(0,r.useRef)(!1),{x:s,y:c}="boolean"==typeof l?{x:l,y:l}:l;(0,i.Es)(()=>{if(!s&&!c||!t)return void(a.current=!1);if(a.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=b(n(e),o);if(s||(r.x=0),c||(r.y=0),a.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=T(e);t&&t.scrollBy({top:r.y,left:r.x})}},[t,s,c,o,n])}({activeNode:null!=_?j.get(_):null,config:se.layoutShiftCompensation,initialRect:ce,measure:te.draggable.measure});const de=ye(le,te.draggable.measure,ce),pe=ye(le?le.parentElement:null),ve=(0,r.useRef)({activatorEvent:null,active:null,activeNode:le,collisionRect:null,collisions:null,droppableRects:re,draggableNodes:j,draggingNode:null,draggingNodeRect:null,droppableContainers:V,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),De=V.getNodeFor(null==(t=ve.current.over)?void 0:t.id),Te=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),l=me({callback:(0,r.useCallback)(e=>{for(const{target:n}of e)if((0,i.sb)(n)){o(e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),a=(0,r.useCallback)(e=>{const n=Se(e);null==l||l.disconnect(),n&&(null==l||l.observe(n)),o(n?t(n):null)},[t,l]),[s,c]=(0,i.lk)(a);return(0,r.useMemo)(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}({measure:te.dragOverlay.measure}),Re=null!=(n=Te.nodeRef.current)?n:le,_e=F?null!=(l=Te.rect)?l:de:null,Be=Boolean(Te.nodeRef.current&&Te.rect),je=b(Ue=Be?null:de,ge(Ue));var Ue;const He=ke(Re?(0,i.zk)(Re):null),Ve=function(e){const t=(0,r.useRef)(e),n=(0,i.KG)(n=>e?n&&n!==xe&&e&&t.current&&e.parentNode===t.current.parentNode?n:D(e):xe,[e]);return(0,r.useEffect)(()=>{t.current=e},[e]),n}(F?null!=De?De:le:null),qe=function(e,t){void 0===t&&(t=E);const[n]=e,o=ke(n?(0,i.zk)(n):null),[l,a]=(0,r.useState)(we);function s(){a(()=>e.length?e.map(e=>L(e)?o:new H(t(e),e)):we)}const c=me({callback:s});return(0,i.Es)(()=>{null==c||c.disconnect(),s(),e.forEach(e=>null==c?void 0:c.observe(e))},[e]),l}(Ve),We=Oe(k,{transform:{x:U.x-je.x,y:U.y-je.y,scaleX:1,scaleY:1},activatorEvent:$,active:Y,activeNodeRect:de,containerNodeRect:pe,draggingNodeRect:_e,over:ve.current.over,overlayNodeRect:Te.rect,scrollableAncestors:Ve,scrollableAncestorRects:qe,windowRect:He}),Ye=ae?(0,i.WQ)(ae,U):null,Ke=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),l=(0,r.useCallback)(e=>{const t=R(e.target);t&&n(e=>e?(e.set(t,M(t)),new Map(e)):null)},[]);return(0,r.useEffect)(()=>{const t=o.current;if(e!==t){r(t);const i=e.map(e=>{const t=R(e);return t?(t.addEventListener("scroll",l,{passive:!0}),[t,M(t)]):null}).filter(e=>null!=e);n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach(e=>{const t=R(e);null==t||t.removeEventListener("scroll",l)})}},[l,e]),(0,r.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,i.WQ)(e,t),m):B(e):m,[e,t])}(Ve),Xe=be(Ke),Qe=be(Ke,[de]),$e=(0,i.WQ)(We,Xe),Ge=_e?w(_e,We):null,Je=Y&&Ge?v({active:Y,collisionRect:Ge,droppableRects:re,droppableContainers:ee,pointerCoordinates:Ye}):null,Ze=function(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}(Je,"id"),[et,tt]=(0,r.useState)(null),nt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(Be?We:(0,i.WQ)(We,Qe),null!=(a=null==et?void 0:et.rect)?a:null,de),rt=(0,r.useRef)(null),ot=(0,r.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==K.current)return;const i=j.get(K.current);if(!i)return;const l=e.nativeEvent,a=new n({active:K.current,activeNode:i,event:l,options:r,context:ve,onAbort(e){if(!j.get(e))return;const{onDragAbort:t}=J.current,n={id:e};null==t||t(n),P({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!j.get(e))return;const{onDragPending:o}=J.current,i={id:e,constraint:t,initialCoordinates:n,offset:r};null==o||o(i),P({type:"onDragPending",event:i})},onStart(e){const t=K.current;if(null==t)return;const n=j.get(t);if(!n)return;const{onDragStart:r}=J.current,i={activatorEvent:l,active:{id:t,data:n.data,rect:W}};(0,o.unstable_batchedUpdates)(()=>{null==r||r(i),z(Fe.Initializing),A({type:p.DragStart,initialCoordinates:e,active:t}),P({type:"onDragStart",event:i}),Q(rt.current),G(l)})},onMove(e){A({type:p.DragMove,coordinates:e})},onEnd:s(p.DragEnd),onCancel:s(p.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ve.current;let a=null;if(t&&i){const{cancelDrop:o}=J.current;if(a={activatorEvent:l,active:t,collisions:n,delta:i,over:r},e===p.DragEnd&&"function"==typeof o){await Promise.resolve(o(a))&&(e=p.DragCancel)}}K.current=null,(0,o.unstable_batchedUpdates)(()=>{A({type:e}),z(Fe.Uninitialized),tt(null),Q(null),G(null),rt.current=null;const t=e===p.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=J.current[t];null==e||e(a),P({type:t,event:a})}})}}rt.current=a},[j]),it=(0,r.useCallback)((e,t)=>(n,r)=>{const o=n.nativeEvent,i=j.get(r);if(null!==K.current||!i||o.dndKit||o.defaultPrevented)return;const l={active:i};!0===e(n,t.options,l)&&(o.dndKit={capturedBy:t.sensor},K.current=r,ot(n,t))},[j,ot]),lt=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}))]},[]),[e,t])}(g,it);!function(e){(0,r.useEffect)(()=>{if(!i.Sw)return;const t=e.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(const e of t)null==e||e()}},e.map(e=>{let{sensor:t}=e;return t}))}(g),(0,i.Es)(()=>{de&&O===Fe.Initializing&&z(Fe.Initialized)},[de,O]),(0,r.useEffect)(()=>{const{onDragMove:e}=J.current,{active:t,activatorEvent:n,collisions:r,over:i}=ve.current;if(!t||!n)return;const l={active:t,activatorEvent:n,collisions:r,delta:{x:$e.x,y:$e.y},over:i};(0,o.unstable_batchedUpdates)(()=>{null==e||e(l),P({type:"onDragMove",event:l})})},[$e.x,$e.y]),(0,r.useEffect)(()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ve.current;if(!e||null==K.current||!t||!i)return;const{onDragOver:l}=J.current,a=r.get(Ze),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,o.unstable_batchedUpdates)(()=>{tt(s),null==l||l(c),P({type:"onDragOver",event:c})})},[Ze]),(0,i.Es)(()=>{ve.current={activatorEvent:$,active:Y,activeNode:le,collisionRect:Ge,collisions:Je,droppableRects:re,draggableNodes:j,draggingNode:Re,draggingNodeRect:_e,droppableContainers:V,over:et,scrollableAncestors:Ve,scrollAdjustedTranslate:$e},W.current={initial:_e,translated:Ge}},[Y,le,Je,Ge,j,Re,_e,re,V,et,Ve,$e]),ue({...se,delta:U,draggingRect:Ge,pointerCoordinates:Ye,scrollableAncestors:Ve,scrollableAncestorRects:qe});const at=(0,r.useMemo)(()=>({active:Y,activeNode:le,activeNodeRect:de,activatorEvent:$,collisions:Je,containerNodeRect:pe,dragOverlay:Te,draggableNodes:j,droppableContainers:V,droppableRects:re,over:et,measureDroppableContainers:oe,scrollableAncestors:Ve,scrollableAncestorRects:qe,measuringConfiguration:te,measuringScheduled:ie,windowRect:He}),[Y,le,de,$,Je,pe,Te,j,V,re,et,oe,Ve,qe,te,ie,He]),st=(0,r.useMemo)(()=>({activatorEvent:$,activators:lt,active:Y,activeNodeRect:de,ariaDescribedById:{draggable:Z},dispatch:A,draggableNodes:j,over:et,measureDroppableContainers:oe}),[$,lt,Y,de,A,Z,j,et,oe]);return r.createElement(c.Provider,{value:N},r.createElement(Ae.Provider,{value:st},r.createElement(Pe.Provider,{value:at},r.createElement(ze.Provider,{value:nt},h)),r.createElement(Le,{disabled:!1===(null==u?void 0:u.restoreFocus)})),r.createElement(f,{...u,hiddenTextDescribedById:Z}))}),Be=(0,r.createContext)(null),je="button",Ue="Draggable";function He(e){let{id:t,data:n,disabled:o=!1,attributes:l}=e;const a=(0,i.YG)(Ue),{activators:s,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:p,over:h}=(0,r.useContext)(Ae),{role:g=je,roleDescription:m="draggable",tabIndex:v=0}=null!=l?l:{},y=(null==u?void 0:u.id)===t,x=(0,r.useContext)(y?ze:Be),[b,k]=(0,i.lk)(),[w,S]=(0,i.lk)(),C=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e},{}),[e,t])}(s,t),E=(0,i.YN)(n);(0,i.Es)(()=>(p.set(t,{id:t,key:a,node:b,activatorNode:w,data:E}),()=>{const e=p.get(t);e&&e.key===a&&p.delete(t)}),[p,t]);return{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)(()=>({role:g,tabIndex:v,"aria-disabled":o,"aria-pressed":!(!y||g!==je)||void 0,"aria-roledescription":m,"aria-describedby":f.draggable}),[o,g,v,y,m,f.draggable]),isDragging:y,listeners:o?void 0:C,node:b,over:h,setNodeRef:k,setActivatorNodeRef:S,transform:x}}function Ve(){return(0,r.useContext)(Pe)}const qe="Droppable",We={timeout:25};function Ye(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:l}=e;const a=(0,i.YG)(qe),{active:s,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(Ae),f=(0,r.useRef)({disabled:n}),h=(0,r.useRef)(!1),g=(0,r.useRef)(null),m=(0,r.useRef)(null),{disabled:v,updateMeasurementsFor:y,timeout:x}={...We,...l},b=(0,i.YN)(null!=y?y:o),k=me({callback:(0,r.useCallback)(()=>{h.current?(null!=m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{d(Array.isArray(b.current)?b.current:[b.current]),m.current=null},x)):h.current=!0},[x]),disabled:v||!s}),w=(0,r.useCallback)((e,t)=>{k&&(t&&(k.unobserve(t),h.current=!1),e&&k.observe(e))},[k]),[S,C]=(0,i.lk)(w),E=(0,i.YN)(t);return(0,r.useEffect)(()=>{k&&S.current&&(k.disconnect(),h.current=!1,k.observe(S.current))},[S,k]),(0,r.useEffect)(()=>(c({type:p.RegisterDroppable,element:{id:o,key:a,disabled:n,node:S,rect:g,data:E}}),()=>c({type:p.UnregisterDroppable,key:a,id:o})),[o]),(0,r.useEffect)(()=>{n!==f.current.disabled&&(c({type:p.SetDroppableDisabled,id:o,key:a,disabled:n}),f.current.disabled=n)},[o,a,n,c]),{active:s,rect:g,isOver:(null==u?void 0:u.id)===o,node:S,over:u,setNodeRef:C}}},3627:(e,t,n)=>{"use strict";n.d(t,{_G:()=>d,be:()=>l,gB:()=>h,gl:()=>k});var r=n(6540),o=n(3375),i=n(4979);function l(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e},Array(e.length))}function s(e){return null!==e&&e>=0}const c=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=l(t,r,n),a=t[o],s=i[o];return s&&a?{x:s.left-a.left,y:s.top-a.top,scaleX:s.width/a.width,scaleY:s.height/a.height}:null},u={scaleX:1,scaleY:1},d=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:l}=e;const a=null!=(t=i[n])?t:r;if(!a)return null;if(o===n){const e=i[l];return e?{x:0,y:n<l?e.top+e.height-(a.top+a.height):e.top-a.top,...u}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];if(!r)return 0;if(n<t)return o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0;return i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0}(i,o,n);return o>n&&o<=l?{x:0,y:-a.height-s,...u}:o<n&&o>=l?{x:0,y:a.height+s,...u}:{x:0,y:0,...u}};const f="Sortable",p=r.createContext({activeIndex:-1,containerId:f,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:t,id:n,items:l,strategy:s=c,disabled:u=!1}=e;const{active:d,dragOverlay:h,droppableRects:g,over:m,measureDroppableContainers:v}=(0,o.fF)(),y=(0,i.YG)(f,n),x=Boolean(null!==h.rect),b=(0,r.useMemo)(()=>l.map(e=>"object"==typeof e&&"id"in e?e.id:e),[l]),k=null!=d,w=d?b.indexOf(d.id):-1,S=m?b.indexOf(m.id):-1,C=(0,r.useRef)(b),E=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(b,C.current),I=-1!==S&&-1===w||E,D=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(u);(0,i.Es)(()=>{E&&k&&v(b)},[E,b,k,v]),(0,r.useEffect)(()=>{C.current=b},[b]);const T=(0,r.useMemo)(()=>({activeIndex:w,containerId:y,disabled:D,disableTransforms:I,items:b,overIndex:S,useDragOverlay:x,sortedRects:a(b,g),strategy:s}),[w,y,D.draggable,D.droppable,I,b,S,g,x,s]);return r.createElement(p.Provider,{value:T},t)}const g=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return l(n,r,o).indexOf(t)},m=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:l,previousItems:a,previousContainerId:s,transition:c}=e;return!(!c||!r)&&((a===i||o!==l)&&(!!n||l!==o&&t===s))},v={duration:200,easing:"ease"},y="transform",x=i.Ks.Transition.toString({property:y,duration:0,easing:"linear"}),b={roleDescription:"sortable"};function k(e){let{animateLayoutChanges:t=m,attributes:n,disabled:l,data:a,getNewIndex:c=g,id:u,strategy:d,resizeObserverConfig:f,transition:h=v}=e;const{items:k,containerId:w,activeIndex:S,disabled:C,disableTransforms:E,sortedRects:I,overIndex:D,useDragOverlay:T,strategy:R}=(0,r.useContext)(p),A=function(e,t){var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(l,C),P=k.indexOf(u),M=(0,r.useMemo)(()=>({sortable:{containerId:w,index:P,items:k},...a}),[w,a,P,k]),N=(0,r.useMemo)(()=>k.slice(k.indexOf(u)),[k,u]),{rect:L,node:O,isOver:z,setNodeRef:F}=(0,o.zM)({id:u,data:M,disabled:A.droppable,resizeObserverConfig:{updateMeasurementsFor:N,...f}}),{active:_,activatorEvent:B,activeNodeRect:j,attributes:U,setNodeRef:H,listeners:V,isDragging:q,over:W,setActivatorNodeRef:Y,transform:K}=(0,o.PM)({id:u,data:M,attributes:{...b,...n},disabled:A.draggable}),X=(0,i.jn)(F,H),Q=Boolean(_),$=Q&&!E&&s(S)&&s(D),G=!T&&q,J=G&&$?K:null,Z=$?null!=J?J:(null!=d?d:R)({rects:I,activeNodeRect:j,activeIndex:S,overIndex:D,index:P}):null,ee=s(S)&&s(D)?c({id:u,items:k,activeIndex:S,overIndex:D}):P,te=null==_?void 0:_.id,ne=(0,r.useRef)({activeId:te,items:k,newIndex:ee,containerId:w}),re=k!==ne.current.items,oe=t({active:_,containerId:w,isDragging:q,isSorting:Q,id:u,index:P,items:k,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:h,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:l,rect:a}=e;const[s,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,i.Es)(()=>{if(!t&&n!==u.current&&l.current){const e=a.current;if(e){const t=(0,o.Sj)(l.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&c(n)}}n!==u.current&&(u.current=n)},[t,n,l,a]),(0,r.useEffect)(()=>{s&&c(null)},[s]),s}({disabled:!oe,index:P,node:O,rect:L});return(0,r.useEffect)(()=>{Q&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),w!==ne.current.containerId&&(ne.current.containerId=w),k!==ne.current.items&&(ne.current.items=k)},[Q,ee,w,k]),(0,r.useEffect)(()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout(()=>{ne.current.activeId=te},50);return()=>clearTimeout(e)},[te]),{active:_,activeIndex:S,attributes:U,data:M,rect:L,index:P,newIndex:ee,items:k,isOver:z,isSorting:Q,isDragging:q,listeners:V,node:O,overIndex:D,over:W,setNodeRef:X,setActivatorNodeRef:Y,setDroppableNodeRef:F,setDraggableNodeRef:H,transform:null!=ie?ie:Z,transition:function(){if(ie||re&&ne.current.newIndex===P)return x;if(G&&!(0,i.kx)(B)||!h)return;if(Q||oe)return i.Ks.Transition.toString({...h,property:y});return}()}}o.vL.Down,o.vL.Right,o.vL.Up,o.vL.Left},3805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4128:(e,t,n)=>{var r=n(1800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},4979:(e,t,n)=>{"use strict";n.d(t,{$$:()=>g,Es:()=>p,KG:()=>v,Ks:()=>D,Ll:()=>a,Re:()=>C,Sw:()=>i,TW:()=>f,WQ:()=>S,YG:()=>k,YN:()=>m,ZC:()=>x,_q:()=>h,ag:()=>R,e_:()=>I,jn:()=>o,kx:()=>E,l6:()=>l,lk:()=>y,sb:()=>u,wz:()=>c,xZ:()=>d,zk:()=>s});var r=n(6540);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function l(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function a(e){return"nodeType"in e}function s(e){var t,n;return e?l(e)?e:a(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=s(e);return e instanceof t}function u(e){return!l(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function f(e){return e?l(e)?e.document:a(e)?c(e)?e:u(e)||d(e)?e.ownerDocument:document:document:document}const p=i?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(e);return p(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function g(){const e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return p(()=>{n.current!==e&&(n.current=e)},t),n}function v(e,t){const n=(0,r.useRef)();return(0,r.useMemo)(()=>{const t=e(n.current);return n.current=t,t},[...t])}function y(e){const t=h(e),n=(0,r.useRef)(null),o=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,o]}function x(e){const t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let b={};function k(e,t){return(0,r.useMemo)(()=>{if(t)return t;const n=null==b[e]?0:b[e]+1;return b[e]=n,e+"-"+n},[e,t])}function w(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t},{...t})}}const S=w(1),C=w(-1);function E(e){if(!e)return!1;const{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function I(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const D=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[D.Translate.toString(e),D.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),T="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function R(e){return e.matches(T)?e:e.querySelector(T)}},5229:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(1133)),o=n(8917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n):n}i.default=i,e.exports=i},8221:(e,t,n)=>{var r=n(3805),o=n(124),i=n(9374),l=Math.max,a=Math.min;e.exports=function(e,t,n){var s,c,u,d,f,p,h=0,g=!1,m=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,h=t,d=e.apply(r,n)}function x(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-h>=u}function b(){var e=o();if(x(e))return k(e);f=setTimeout(b,function(e){var n=t-(e-p);return m?a(n,u-(e-h)):n}(e))}function k(e){return f=void 0,v&&s?y(e):(s=c=void 0,d)}function w(){var e=o(),n=x(e);if(s=arguments,c=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(b,t),g?y(e):d}(p);if(m)return clearTimeout(f),f=setTimeout(b,t),y(p)}return void 0===f&&(f=setTimeout(b,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,u=(m="maxWait"in n)?l(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=c=f=void 0},w.flush=function(){return void 0===f?d:k(o())},w}},8334:(e,t,n)=>{"use strict";n.d(t,{oz:()=>Ir});var r={};n.r(r),n.d(r,{boolean:()=>y,booleanish:()=>x,commaOrSpaceSeparated:()=>C,commaSeparated:()=>S,number:()=>k,overloadedBoolean:()=>b,spaceSeparated:()=>w});var o={};function i(){}function l(){}n.r(o),n.d(o,{attentionMarkers:()=>Zt,contentInitial:()=>Kt,disable:()=>en,document:()=>Yt,flow:()=>Qt,flowInitial:()=>Xt,insideSpan:()=>Jt,string:()=>$t,text:()=>Gt});const a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,c={};function u(e,t){return((t||c).jsx?s:a).test(e)}const d=/[ \t\n\f\r]/g;function f(e){return""===e.replace(d,"")}class p{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function h(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new p(n,r,t)}function g(e){return e.toLowerCase()}p.prototype.normal={},p.prototype.property={},p.prototype.space=void 0;class m{constructor(e,t){this.attribute=t,this.property=e}}m.prototype.attribute="",m.prototype.booleanish=!1,m.prototype.boolean=!1,m.prototype.commaOrSpaceSeparated=!1,m.prototype.commaSeparated=!1,m.prototype.defined=!1,m.prototype.mustUseProperty=!1,m.prototype.number=!1,m.prototype.overloadedBoolean=!1,m.prototype.property="",m.prototype.spaceSeparated=!1,m.prototype.space=void 0;let v=0;const y=E(),x=E(),b=E(),k=E(),w=E(),S=E(),C=E();function E(){return 2**++v}const I=Object.keys(r);class D extends m{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<I.length;){const e=I[i];T(this,I[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}function R(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new D(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[g(r)]=r,n[g(i.attribute)]=r}return new p(t,n,e.space)}D.prototype.defined=!0;const A=R({properties:{ariaActiveDescendant:null,ariaAtomic:x,ariaAutoComplete:null,ariaBusy:x,ariaChecked:x,ariaColCount:k,ariaColIndex:k,ariaColSpan:k,ariaControls:w,ariaCurrent:null,ariaDescribedBy:w,ariaDetails:null,ariaDisabled:x,ariaDropEffect:w,ariaErrorMessage:null,ariaExpanded:x,ariaFlowTo:w,ariaGrabbed:x,ariaHasPopup:null,ariaHidden:x,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:w,ariaLevel:k,ariaLive:null,ariaModal:x,ariaMultiLine:x,ariaMultiSelectable:x,ariaOrientation:null,ariaOwns:w,ariaPlaceholder:null,ariaPosInSet:k,ariaPressed:x,ariaReadOnly:x,ariaRelevant:null,ariaRequired:x,ariaRoleDescription:w,ariaRowCount:k,ariaRowIndex:k,ariaRowSpan:k,ariaSelected:x,ariaSetSize:k,ariaSort:null,ariaValueMax:k,ariaValueMin:k,ariaValueNow:k,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function P(e,t){return t in e?e[t]:t}function M(e,t){return P(e,t.toLowerCase())}const N=R({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:S,acceptCharset:w,accessKey:w,action:null,allow:null,allowFullScreen:y,allowPaymentRequest:y,allowUserMedia:y,alt:null,as:null,async:y,autoCapitalize:null,autoComplete:w,autoFocus:y,autoPlay:y,blocking:w,capture:null,charSet:null,checked:y,cite:null,className:w,cols:k,colSpan:null,content:null,contentEditable:x,controls:y,controlsList:w,coords:k|S,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y,defer:y,dir:null,dirName:null,disabled:y,download:b,draggable:x,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y,formTarget:null,headers:w,height:k,hidden:b,high:k,href:null,hrefLang:null,htmlFor:w,httpEquiv:w,id:null,imageSizes:null,imageSrcSet:null,inert:y,inputMode:null,integrity:null,is:null,isMap:y,itemId:null,itemProp:w,itemRef:w,itemScope:y,itemType:w,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y,low:k,manifest:null,max:null,maxLength:k,media:null,method:null,min:null,minLength:k,multiple:y,muted:y,name:null,nonce:null,noModule:y,noValidate:y,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y,optimum:k,pattern:null,ping:w,placeholder:null,playsInline:y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y,referrerPolicy:null,rel:w,required:y,reversed:y,rows:k,rowSpan:k,sandbox:w,scope:null,scoped:y,seamless:y,selected:y,shadowRootClonable:y,shadowRootDelegatesFocus:y,shadowRootMode:null,shape:null,size:k,sizes:null,slot:null,span:k,spellCheck:x,src:null,srcDoc:null,srcLang:null,srcSet:null,start:k,step:null,style:null,tabIndex:k,target:null,title:null,translate:null,type:null,typeMustMatch:y,useMap:null,value:x,width:k,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:w,axis:null,background:null,bgColor:null,border:k,borderColor:null,bottomMargin:k,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y,declare:y,event:null,face:null,frame:null,frameBorder:null,hSpace:k,leftMargin:k,link:null,longDesc:null,lowSrc:null,marginHeight:k,marginWidth:k,noResize:y,noHref:y,noShade:y,noWrap:y,object:null,profile:null,prompt:null,rev:null,rightMargin:k,rules:null,scheme:null,scrolling:x,standby:null,summary:null,text:null,topMargin:k,valueType:null,version:null,vAlign:null,vLink:null,vSpace:k,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y,disableRemotePlayback:y,prefix:null,property:null,results:k,security:null,unselectable:null},space:"html",transform:M}),L=R({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:C,accentHeight:k,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:k,amplitude:k,arabicForm:null,ascent:k,attributeName:null,attributeType:null,azimuth:k,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:k,by:null,calcMode:null,capHeight:k,className:w,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:k,diffuseConstant:k,direction:null,display:null,dur:null,divisor:k,dominantBaseline:null,download:y,dx:null,dy:null,edgeMode:null,editable:null,elevation:k,enableBackground:null,end:null,event:null,exponent:k,externalResourcesRequired:null,fill:null,fillOpacity:k,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:S,g2:S,glyphName:S,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:k,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:k,horizOriginX:k,horizOriginY:k,id:null,ideographic:k,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:k,k,k1:k,k2:k,k3:k,k4:k,kernelMatrix:C,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:k,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:k,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:k,overlineThickness:k,paintOrder:null,panose1:null,path:null,pathLength:k,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:w,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:k,pointsAtY:k,pointsAtZ:k,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:C,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:C,rev:C,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:C,requiredFeatures:C,requiredFonts:C,requiredFormats:C,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:k,specularExponent:k,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:k,strikethroughThickness:k,string:null,stroke:null,strokeDashArray:C,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:k,strokeOpacity:k,strokeWidth:null,style:null,surfaceScale:k,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:C,tabIndex:k,tableValues:null,target:null,targetX:k,targetY:k,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:C,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:k,underlineThickness:k,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:k,values:null,vAlphabetic:k,vMathematical:k,vectorEffect:null,vHanging:k,vIdeographic:k,version:null,vertAdvY:k,vertOriginX:k,vertOriginY:k,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:k,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:P}),O=R({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),z=R({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),F=R({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),_=h([A,N,O,z,F],"html"),B=h([A,L,O,z,F],"svg"),j=/[A-Z]/g,U=/-[a-z]/g,H=/^data[-\w.:]+$/i;function V(e){return"-"+e.toLowerCase()}function q(e){return e.charAt(1).toUpperCase()}const W={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Y=n(5229);const K=Q("end"),X=Q("start");function Q(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function $(e){return e&&"object"==typeof e?"position"in e||"type"in e?J(e.position):"start"in e||"end"in e?J(e):"line"in e||"column"in e?G(e):"":""}function G(e){return Z(e&&e.line)+":"+Z(e&&e.column)}function J(e){return G(e&&e.start)+"-"+G(e&&e.end)}function Z(e){return e&&"number"==typeof e?e:1}class ee extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=l?l.line:void 0,this.name=$(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ee.prototype.file="",ee.prototype.name="",ee.prototype.reason="",ee.prototype.message="",ee.prototype.stack="",ee.prototype.column=void 0,ee.prototype.line=void 0,ee.prototype.ancestors=void 0,ee.prototype.cause=void 0,ee.prototype.fatal=void 0,ee.prototype.place=void 0,ee.prototype.ruleId=void 0,ee.prototype.source=void 0;const te={}.hasOwnProperty,ne=new Map,re=/[A-Z]/g,oe=new Set(["table","tbody","thead","tfoot","tr"]),ie=new Set(["td","th"]),le="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ae(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const l=Array.isArray(o.children),a=X(n);return t(r,o,i,l,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const l=Array.isArray(o.children)?n:t;return i?l(r,o,i):l(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?B:_,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=se(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function se(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=B,e.schema=o);e.ancestors.push(t);const i=pe(e,t.tagName,!1),l=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&te.call(t.properties,o)){const i=fe(e,o,t.properties[o]);if(i){const[o,l]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof l&&ie.has(t.tagName)?r=l:n[o]=l}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=de(e,t);oe.has(t.tagName)&&(a=a.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&f(t.value):f(t));var t}));return ce(e,l,i,t),ue(l,a),e.ancestors.pop(),e.schema=r,e.create(t,i,l,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}he(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=B,e.schema=o);e.ancestors.push(t);const l=null===t.name?e.Fragment:pe(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];i(t.type);const o=t.expression;i(o.type);const l=o.properties[0];i(l.type),Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else he(e,t.position);else{const o=r.name;let l;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];i(t.type),l=e.evaluater.evaluateExpression(t.expression)}else he(e,t.position);else l=null===r.value||r.value;n[o]=l}return n}(e,t),s=de(e,t);return ce(e,a,l,t),ue(a,s),e.ancestors.pop(),e.schema=r,e.create(t,l,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);he(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return ue(r,de(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function ce(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ue(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function de(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:ne;for(;++r<t.children.length;){const i=t.children[r];let l;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;l=e+"-"+t,o.set(e,t+1)}}const a=se(e,i,l);void 0!==a&&n.push(a)}return n}function fe(e,t,n){const r=function(e,t){const n=g(t);let r=t,o=m;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&H.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(U,q);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!U.test(e)){let n=e.replace(j,V);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=D}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return Y(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=le+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)te.call(e,n)&&(t[ge(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?W[r.property]||r.property:r.attribute,n]}}function pe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=u(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=u(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return te.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);he(e)}function he(e,t){const n=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=le+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ge(e){let t=e.replace(re,me);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function me(e){return"-"+e.toLowerCase()}const ve={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ye=n(4848);n(6540);const xe={};function be(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ke(e.children,t,n)}return Array.isArray(e)?ke(e,t,n):""}function ke(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=be(e[o],t,n);return r.join("")}function we(e,t,n,r){const o=e.length;let i,l=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)i=r.slice(l,l+1e4),i.unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function Se(e,t){return e.length>0?(we(e,e.length,0,t),e):t}class Ce{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Ee(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Ee(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Ee(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Ee(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Ee(this.left,t.reverse())}}}function Ee(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ie(e){const t={};let n,r,o,i,l,a,s,c=-1;const u=new Ce(e);for(;++c<u.length;){for(;c in t;)c=t[c];if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,De(u,c)),c=t[c],s=!0);else if(n[1]._container){for(o=c,r=void 0;o--;)if(i=u.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...u.get(r)[1].start},l=u.slice(r,c),l.unshift(n),u.splice(r,c-r+1,l))}}return we(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!s}function De(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,s=[],c={};let u,d,f=-1,p=n,h=0,g=0;const m=[g];for(;p;){for(;e.get(++o)[1]!==p;);i.push(o),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(u),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<a.length;)"exit"===a[f][0]&&"enter"===a[f-1][0]&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(g=f+1,m.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){const t=a.slice(m[f],m[f+1]),n=i.pop();s.push([n,n+t.length-1]),e.splice(n,2,t)}for(s.reverse(),f=-1;++f<s.length;)c[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return c}const Te={}.hasOwnProperty;function Re(e,t){let n;for(n in t){const r=(Te.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Te.call(r,i)||(r[i]=[]);const e=o[i];Ae(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Ae(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);we(e,0,0,r)}const Pe=Ve(/[A-Za-z]/),Me=Ve(/[\dA-Za-z]/),Ne=Ve(/[#-'*+\--9=?A-Z^-~]/);function Le(e){return null!==e&&(e<32||127===e)}const Oe=Ve(/\d/),ze=Ve(/[\dA-Fa-f]/),Fe=Ve(/[!-/:-@[-`{-~]/);function _e(e){return null!==e&&e<-2}function Be(e){return null!==e&&(e<0||32===e)}function je(e){return-2===e||-1===e||32===e}const Ue=Ve(/\p{P}|\p{S}/u),He=Ve(/\s/);function Ve(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function qe(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(je(r))return e.enter(n),l(r);return t(r)};function l(r){return je(r)&&i++<o?(e.consume(r),l):(e.exit(n),t(r))}}const We={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null===n)return void e.consume(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),qe(e,t,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):_e(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};const Ye={tokenize:function(e){const t=this,n=[];let r,o,i,l=0;return a;function a(r){if(l<n.length){const o=n[l];return t.containerState=o[1],e.attempt(o[0].continuation,s,c)(r)}return c(r)}function s(e){if(l++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}v(l);let a=n;for(;a<t.events.length;)t.events[a][1].end={...o},a++;return we(t.events,i+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(o){if(l===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ke,u,d)(o)}function u(e){return r&&y(),v(l),f(e)}function d(e){return t.parser.lazy[t.now().line]=l!==n.length,i=t.now().offset,h(e)}function f(n){return t.containerState={},e.attempt(Ke,p,h)(n)}function p(e){return l++,n.push([t.currentConstruct,t.containerState]),f(e)}function h(n){return null===n?(r&&y(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),g(n))}function g(n){return null===n?(m(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):_e(n)?(e.consume(n),m(e.exit("chunkFlow")),l=0,t.interrupt=void 0,a):(e.consume(n),g)}function m(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){if(o){a=t.events[s][1].end;break}o=!0}for(v(l),e=n;e<t.events.length;)t.events[e][1].end={...a},e++;we(t.events,s+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Ke={tokenize:function(e,t,n){return qe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Xe={partial:!0,tokenize:function(e,t,n){return function(t){return je(t)?qe(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||_e(e)?t(e):n(e)}}};const Qe={resolve:function(e){return Ie(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):_e(t)?e.check($e,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},$e={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qe(e,o,"linePrefix")};function o(o){if(null===o||_e(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};const Ge={tokenize:function(e){const t=this,n=e.attempt(Xe,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,qe(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Qe,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Je={resolveAll:nt()},Ze=tt("string"),et=tt("text");function tt(e){return{resolveAll:nt("text"===e?rt:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,l);return i;function i(e){return s(e)?o(e):l(e)}function l(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function s(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function nt(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function rt(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,l=o.length,a=-1,s=0;for(;l--;){const e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===e)i=!0,s++;else if(-1!==e){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const o={type:n===e.length||i||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:r.start._bufferIndex+a,_index:r.start._index+l,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const ot={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),l(i)):o>=3&&(null===i||_e(i))?(e.exit("thematicBreak"),t(i)):n(i)}function l(t){return t===r?(e.consume(t),o++,l):(e.exit("thematicBreakSequence"),je(t)?qe(e,i,"whitespace")(t):i(t))}}};const it={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Xe,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,qe(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!je(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(at,t,l)(n))}function l(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,qe(e,e.attempt(it,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,l=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Oe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(ot,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Oe(t)&&++l<10?(e.consume(t),a):(!r.interrupt||l<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Xe,r.interrupt?n:c,e.attempt(lt,d,u))}function c(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function u(t){return je(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},lt={partial:!0,tokenize:function(e,t,n){const r=this;return qe(e,function(e){const o=r.events[r.events.length-1];return!je(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},at={partial:!0,tokenize:function(e,t,n){const r=this;return qe(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}};const st={continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(je(t))return qe(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(st,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return je(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function ct(e,t,n,r,o,i,l,a,s){const c=s||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d;if(null===t||32===t||41===t||Le(t))return n(t);return e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t)};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||_e(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(o){return u||null!==o&&41!==o&&!Be(o)?u<c&&40===o?(e.consume(o),u++,h):41===o?(e.consume(o),u--,h):null===o||32===o||40===o||Le(o)?n(o):(e.consume(o),92===o?g:h):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(o))}function g(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function ut(e,t,n,r,o,i){const l=this;let a,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(d){return s>999||null===d||91===d||93===d&&!a||94===d&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):_e(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||_e(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!je(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function dt(e,t,n,r,o,i){let l;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),l=40===t?41:t,a;return n(t)};function a(n){return n===l?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===l?(e.exit(i),a(l)):null===t?n(t):_e(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qe(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===l||null===t||_e(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===l||92===t?(e.consume(t),c):c(t)}}function ft(e,t){let n;return function r(o){if(_e(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(je(o))return qe(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function pt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ht={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return ut.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=pt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return Be(t)?ft(e,a)(t):a(t)}function a(t){return ct(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(gt,c,c)(t)}function c(t){return je(t)?qe(e,u,"whitespace")(t):u(t)}function u(i){return null===i||_e(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},gt={partial:!0,tokenize:function(e,t,n){return function(t){return Be(t)?ft(e,r)(t):n(t)};function r(t){return dt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return je(t)?qe(e,i,"whitespace")(t):i(t)}function i(e){return null===e||_e(e)?t(e):n(e)}}};const mt={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),qe(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):_e(t)?e.attempt(vt,i,a)(t):(e.enter("codeFlowValue"),l(t))}function l(t){return null===t||_e(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),l)}function a(n){return e.exit("codeIndented"),t(n)}}},vt={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):_e(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):qe(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):_e(e)?o(e):n(e)}}};const yt={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},we(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Be(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),l(n)):null===n||_e(n)?(e.exit("atxHeading"),t(n)):je(n)?qe(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||Be(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}}};const xt={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=l;return e.push(["exit",l,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let l,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){l="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||l))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),je(t)?qe(e,l,"lineSuffix")(t):l(t))}function l(r){return null===r||_e(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};const bt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],kt=["pre","script","style","textarea"],wt={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},tokenize:function(e,t,n){const r=this;let o,i,l,a,s;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,p):63===a?(e.consume(a),o=3,r.interrupt?t:L):Pe(a)?(e.consume(a),l=String.fromCharCode(a),h):n(a)}function u(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,a=0,f):Pe(i)?(e.consume(i),o=4,r.interrupt?t:L):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:L):n(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:I:f):n(o)}function p(t){return Pe(t)?(e.consume(t),l=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||Be(a)){const s=47===a,c=l.toLowerCase();return s||i||!kt.includes(c)?bt.includes(l.toLowerCase())?(o=6,s?(e.consume(a),g):r.interrupt?t(a):I(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?m(a):v(a)):(o=1,r.interrupt?t(a):I(a))}return 45===a||Me(a)?(e.consume(a),l+=String.fromCharCode(a),h):n(a)}function g(o){return 62===o?(e.consume(o),r.interrupt?t:I):n(o)}function m(t){return je(t)?(e.consume(t),m):C(t)}function v(t){return 47===t?(e.consume(t),C):58===t||95===t||Pe(t)?(e.consume(t),y):je(t)?(e.consume(t),v):C(t)}function y(t){return 45===t||46===t||58===t||95===t||Me(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),b):je(t)?(e.consume(t),x):v(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,k):je(t)?(e.consume(t),b):w(t)}function k(t){return t===s?(e.consume(t),s=null,S):null===t||_e(t)?n(t):(e.consume(t),k)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Be(t)?x(t):(e.consume(t),w)}function S(e){return 47===e||62===e||je(e)?v(e):n(e)}function C(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||_e(t)?I(t):je(t)?(e.consume(t),E):n(t)}function I(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),O):63===t&&3===o?(e.consume(t),L):93===t&&5===o?(e.consume(t),N):!_e(t)||6!==o&&7!==o?null===t||_e(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),I):(e.exit("htmlFlowData"),e.check(St,z,D)(t))}function D(t){return e.check(Ct,T,z)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return null===t||_e(t)?D(t):(e.enter("htmlFlowData"),I(t))}function A(t){return 45===t?(e.consume(t),L):I(t)}function P(t){return 47===t?(e.consume(t),l="",M):I(t)}function M(t){if(62===t){const n=l.toLowerCase();return kt.includes(n)?(e.consume(t),O):I(t)}return Pe(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),M):I(t)}function N(t){return 93===t?(e.consume(t),L):I(t)}function L(t){return 62===t?(e.consume(t),O):45===t&&2===o?(e.consume(t),L):I(t)}function O(t){return null===t||_e(t)?(e.exit("htmlFlowData"),z(t)):(e.consume(t),O)}function z(n){return e.exit("htmlFlow"),t(n)}}},St={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Xe,t,n)}}},Ct={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(_e(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}};const Et={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},It={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return l;function l(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s}function s(t){return e.enter("codeFencedFence"),je(t)?qe(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=a?(e.exit("codeFencedFenceSequence"),je(t)?qe(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||_e(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,l=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return l=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}(t)};function s(t){return t===i?(a++,e.consume(t),s):a<3?n(t):(e.exit("codeFencedFenceSequence"),je(t)?qe(e,c,"whitespace")(t):c(t))}function c(n){return null===n||_e(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Et,p,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||_e(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),qe(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function d(t){return null===t||_e(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||_e(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),f)}function p(t){return e.attempt(o,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return l>0&&je(t)?qe(e,m,"linePrefix",l+1)(t):m(t)}function m(t){return null===t||_e(t)?e.check(Et,p,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||_e(t)?(e.exit("codeFlowValue"),m(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}}};const Dt=document.createElement("i");function Tt(e){const t="&"+e+";";Dt.innerHTML=t;const n=Dt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const Rt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Me,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=ze,c):(e.enter("characterReferenceValue"),o=7,i=Oe,c(t))}function c(a){if(59===a&&l){const o=e.exit("characterReferenceValue");return i!==Me||Tt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++<o?(e.consume(a),c):n(a)}}};const At={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return Fe(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};const Pt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),qe(e,t,"linePrefix")}}};function Mt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Nt={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}e.length!==n.length&&we(e,0,e.length,n);return e},resolveTo:function(e,t){let n,r,o,i,l=e.length,a=0;for(;l--;)if(n=e[l][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[l][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[l][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=l,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=l);const s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[o-2][1].start}};return i=[["enter",s,t],["enter",c,t]],i=Se(i,e.slice(r+1,r+a+3)),i=Se(i,[["enter",u,t]]),i=Se(i,Mt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=Se(i,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),i=Se(i,e.slice(o+1)),i=Se(i,[["exit",s,t]]),we(e,r,e.length,i),e},tokenize:function(e,t,n){const r=this;let o,i,l=r.events.length;for(;l--;)if(("labelImage"===r.events[l][1].type||"labelLink"===r.events[l][1].type)&&!r.events[l][1]._balanced){o=r.events[l][1];break}return function(t){if(!o)return n(t);if(o._inactive)return u(t);return i=r.parser.defined.includes(pt(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(Lt,c,i?c:u)(t):91===t?e.attempt(Ot,c,i?s:u)(t):i?c(t):u(t)}function s(t){return e.attempt(zt,c,u)(t)}function c(e){return t(e)}function u(e){return o._balanced=!0,n(e)}}},Lt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Be(t)?ft(e,o)(t):o(t)}function o(t){return 41===t?c(t):ct(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Be(t)?ft(e,a)(t):c(t)}function l(e){return n(e)}function a(t){return 34===t||39===t||40===t?dt(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function s(t){return Be(t)?ft(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Ot={tokenize:function(e,t,n){const r=this;return function(t){return ut.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(pt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},zt={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};const Ft={name:"labelStartImage",resolveAll:Nt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function _t(e){return null===e||Be(e)||He(e)?1:Ue(e)?2:void 0}const Bt={name:"attention",resolveAll:function(e,t){let n,r,o,i,l,a,s,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d={...e[n][1].end},f={...e[u][1].start};jt(d,-a),jt(f,a),i={type:a>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},l={type:a>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:f},o={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:a>1?"strong":"emphasis",start:{...i.start},end:{...l.end}},e[n][1].end={...i.start},e[u][1].start={...l.end},s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=Se(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=Se(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),s=Se(s,Mt(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),s=Se(s,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=Se(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,we(e,n-1,u-n+3,s),u=n+s.length-c-2;break}u=-1;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=_t(r);let i;return function(t){return i=t,e.enter("attentionSequence"),l(t)};function l(a){if(a===i)return e.consume(a),l;const s=e.exit("attentionSequence"),c=_t(a),u=!c||2===c&&o||n.includes(a),d=!o||2===o&&c||n.includes(r);return s._open=Boolean(42===i?u:u&&(o||!d)),s._close=Boolean(42===i?d:d&&(c||!u)),t(a)}}};function jt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ut={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Pe(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(e){return 43===e||45===e||46===e||Me(e)?(r=1,l(e)):s(e)}function l(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||Me(t))&&r++<32?(e.consume(t),l):(r=0,s(t))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Le(r)?n(r):(e.consume(r),a)}function s(t){return 64===t?(e.consume(t),c):Ne(t)?(e.consume(t),s):n(t)}function c(e){return Me(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Me(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}};const Ht={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,l;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),b):63===t?(e.consume(t),y):Pe(t)?(e.consume(t),S):n(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,p):Pe(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):_e(t)?(l=u,M(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),f):u(t)}function f(e){return 62===e?P(e):45===e?d(e):u(e)}function p(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),g):_e(t)?(l=h,M(t)):(e.consume(t),h)}function g(t){return 93===t?(e.consume(t),m):h(t)}function m(t){return 62===t?P(t):93===t?(e.consume(t),m):h(t)}function v(t){return null===t||62===t?P(t):_e(t)?(l=v,M(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),x):_e(t)?(l=y,M(t)):(e.consume(t),y)}function x(e){return 62===e?P(e):y(e)}function b(t){return Pe(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||Me(t)?(e.consume(t),k):w(t)}function w(t){return _e(t)?(l=w,M(t)):je(t)?(e.consume(t),w):P(t)}function S(t){return 45===t||Me(t)?(e.consume(t),S):47===t||62===t||Be(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),P):58===t||95===t||Pe(t)?(e.consume(t),E):_e(t)?(l=C,M(t)):je(t)?(e.consume(t),C):P(t)}function E(t){return 45===t||46===t||58===t||95===t||Me(t)?(e.consume(t),E):I(t)}function I(t){return 61===t?(e.consume(t),D):_e(t)?(l=I,M(t)):je(t)?(e.consume(t),I):C(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,T):_e(t)?(l=D,M(t)):je(t)?(e.consume(t),D):(e.consume(t),R)}function T(t){return t===o?(e.consume(t),o=void 0,A):null===t?n(t):_e(t)?(l=T,M(t)):(e.consume(t),T)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Be(t)?C(t):(e.consume(t),R)}function A(e){return 47===e||62===e||Be(e)?C(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return je(t)?qe(e,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),l(t)}}};const Vt={name:"labelStartLink",resolveAll:Nt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};const qt={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return _e(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const Wt={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),l(t)};function l(t){return 96===t?(e.consume(t),i++,l):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):_e(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||_e(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}}};const Yt={42:it,43:it,45:it,48:it,49:it,50:it,51:it,52:it,53:it,54:it,55:it,56:it,57:it,62:st},Kt={91:ht},Xt={[-2]:mt,[-1]:mt,32:mt},Qt={35:yt,42:ot,45:[xt,ot],60:wt,61:xt,95:ot,96:It,126:It},$t={38:Rt,92:At},Gt={[-5]:Pt,[-4]:Pt,[-3]:Pt,33:Ft,38:Rt,42:Bt,60:[Ut,Ht],91:Vt,92:[qt,At],93:Nt,95:Bt,96:Wt},Jt={null:[Bt,Je]},Zt={null:[42,95]},en={null:[]};function tn(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let l=[],a=[],s=!0;const c={attempt:y(function(e,t){x(e,t.from)}),check:y(v),consume:function(e){_e(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++));u.previous=e,s=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=h(),u.events.push(["exit",t,u]),t},interrupt:y(v,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,b()},events:[],now:h,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let l;if("string"==typeof i)l=i;else switch(i){case-5:l="\r";break;case-4:l="\n";break;case-3:l="\r\n";break;case-2:l=t?" ":"\t";break;case-1:if(!t&&o)continue;l=" ";break;default:l=String.fromCharCode(i)}o=-2===i,r.push(l)}return r.join("")}(p(e),t)},sliceStream:p,write:function(e){if(l=Se(l,e),g(),null!==l[l.length-1])return[];return x(t,0),u.events=Mt(i,u.events,u),u.events}};let d,f=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function p(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let l;if(n===o)l=[e[n].slice(r,i)];else{if(l=e.slice(n,o),r>-1){const e=l[0];"string"==typeof e?l[0]=e.slice(r):l.shift()}i>0&&l.push(e[o].slice(0,i))}return l}(l,e)}function h(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function g(){let e;for(;r._index<l.length;){const t=l[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}function m(e){s=void 0,d=e,f=f(e)}function v(e,t){t.restore()}function y(e,t){return function(n,o,i){let l,d,f,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(e){return t;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function g(e){return l=e,d=0,0===e.length?i:m(e[d])}function m(e){return function(n){p=function(){const e=h(),t=u.previous,n=u.currentConstruct,o=u.events.length,i=Array.from(a);return{from:o,restore:l};function l(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,a=i,b()}}(),f=e,e.partial||(u.currentConstruct=e);if(e.name&&u.parser.constructs.disable.null.includes(e.name))return y(n);return e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,v,y)(n)}}function v(t){return s=!0,e(f,p),o}function y(e){return s=!0,p.restore(),++d<l.length?m(l[d]):i}}}function x(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&we(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function nn(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Re(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={constructs:t,content:r(We),defined:[],document:r(Ye),flow:r(Ge),lazy:{},string:r(Ze),text:r(et)};return n;function r(e){return function(t){return tn(n,e,t)}}}const rn=/[\0\t\n\r]/g;function on(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const ln=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function an(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return on(n.slice(t?2:1),t?16:10)}return Tt(n)||e}const sn={}.hasOwnProperty;function cn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ne),autolinkProtocol:E,autolinkEmail:E,atxHeading:i(J),blockQuote:i(Y),characterEscape:E,characterReference:E,codeFenced:i(K),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(K,l),codeText:i(X,l),codeTextData:E,data:E,codeFlowValue:E,definition:i(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(G),hardBreakEscape:i(Z),hardBreakTrailing:i(Z),htmlFlow:i(ee,l),htmlFlowData:E,htmlText:i(ee,l),htmlTextData:E,image:i(te),label:l,link:i(ne),listItem:i(oe),listItemValue:f,listOrdered:i(re,d),listUnordered:i(re),paragraph:i(ie),reference:B,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(J),strong:i(le),thematicBreak:i(se)},exit:{atxHeading:s(),atxHeadingSequence:k,autolink:s(),autolinkEmail:W,autolinkProtocol:q,blockQuote:s(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:U,characterReferenceMarkerNumeric:U,characterReferenceValue:H,characterReference:V,codeFenced:s(m),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:I,codeIndented:s(v),codeText:s(P),codeTextData:I,data:I,definition:s(),definitionDestinationString:b,definitionLabelString:y,definitionTitleString:x,emphasis:s(),hardBreakEscape:s(T),hardBreakTrailing:s(T),htmlFlow:s(R),htmlFlowData:I,htmlText:s(A),htmlTextData:I,image:s(N),label:O,labelText:L,lineEnding:D,link:s(M),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:j,resourceDestinationString:z,resourceTitleString:F,resource:_,setextHeading:s(C),setextHeadingLineSequence:S,setextHeadingText:w,strong:s(),thematicBreak:s()}};dn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:l,resume:u,data:n},s=[];let d=-1;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])s.push(d);else{d=o(e,s.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]];sn.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},i),e[d][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||pn).call(i,void 0,e[0])}for(r.position={start:un(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:un(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function o(e,t,n){let r,o,i,l,a=t-1,s=-1,c=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||s||i||(i=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=a;for(o=void 0;l--;){const t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=l}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,l=!0}}}return e[t][1]._spread=c,n}function i(e,t){return n;function n(n){a.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:un(t.start),end:void 0}}function s(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+$({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{(r[1]||pn).call(this,e,r[0])}n.position.end=un(e.end)}function u(){return function(e,t){const n=t||xe;return be(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function h(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function m(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function y(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=pt(this.sliceSerialize(e)).toLowerCase()}function x(){const e=this.resume();this.stack[this.stack.length-1].title=e}function b(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function S(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function C(){this.data.setextHeadingSlurpLineEnding=void 0}function E(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n=ae(),n.position={start:un(e.start),end:void 0},t.push(n)),this.stack.push(n)}function I(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=un(e.end)}function D(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){return n.children[n.children.length-1].position.end=un(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(E.call(this,e),I.call(this,e))}function T(){this.data.atHardBreak=!0}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function A(){const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){const e=this.resume();this.stack[this.stack.length-1].value=e}function M(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function L(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(ln,an)}(t),n.identifier=pt(t).toLowerCase()}function O(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t}function z(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(){const e=this.resume();this.stack[this.stack.length-1].title=e}function _(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function j(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=pt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function U(e){this.data.characterReferenceType=e.type}function H(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;if(n)r=on(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0;else{r=Tt(t)}this.stack[this.stack.length-1].value+=r}function V(e){this.stack.pop().position.end=un(e.end)}function q(e){I.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function W(e){I.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Y(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function X(){return{type:"inlineCode",value:""}}function Q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function G(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:0,children:[]}}function Z(){return{type:"break"}}function ee(){return{type:"html",value:""}}function te(){return{type:"image",title:null,url:"",alt:null}}function ne(){return{type:"link",title:null,url:"",children:[]}}function re(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ie(){return{type:"paragraph",children:[]}}function le(){return{type:"strong",children:[]}}function ae(){return{type:"text",value:""}}function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!Ie(e););return e}(nn(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,l){const a=[];let s,c,u,d,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(rn.lastIndex=u,s=rn.exec(o),d=s&&void 0!==s.index?s.index:o.length,f=o.charCodeAt(d),!s){n=o.slice(u);break}if(10===f&&u===d&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),u<d&&(a.push(o.slice(u,d)),t+=d-u),f){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return l&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function un(e){return{line:e.line,column:e.column,offset:e.offset}}function dn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?dn(e,r):fn(e,r)}}function fn(e,t){let n;for(n in t)if(sn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function pn(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+$({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+$({start:t.start,end:t.end})+") is still open")}function hn(e){const t=this;t.parser=function(n){return cn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const gn="object"==typeof self?self:globalThis,mn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,l]=t[o];switch(i){case 0:case-1:return n(l,o);case 1:{const e=n([],o);for(const t of l)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of l)e[r(t)]=r(n);return e}case 3:return n(new Date(l),o);case 4:{const{source:e,flags:t}=l;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of l)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of l)e.add(r(t));return e}case 7:{const{name:e,message:t}=l;return n(new gn[e](t),o)}case 8:return n(BigInt(l),o);case"BigInt":return n(Object(BigInt(l)),o);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:e}=new Uint8Array(l);return n(new DataView(e),l)}}return n(new gn[i](l),o)};return r})(new Map,e)(0),vn="",{toString:yn}={},{keys:xn}=Object,bn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=yn.call(e).slice(8,-1);switch(n){case"Array":return[1,vn];case"Object":return[2,vn];case"Date":return[3,vn];case"RegExp":return[4,vn];case"Map":return[5,vn];case"Set":return[6,vn];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},kn=([e,t])=>0===e&&("function"===t||"symbol"===t),wn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[l,a]=bn(r);switch(l){case 0:{let t=r;switch(a){case"bigint":l=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([l,t],r)}case 1:{if(a){let e=r;return"DataView"===a?e=new Uint8Array(r.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(r)),o([a,[...e]],r)}const e=[],t=o([l,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],s=o([l,n],r);for(const t of xn(r))!e&&kn(bn(r[t]))||n.push([i(t),i(r[t])]);return s}case 3:return o([l,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([l,{source:e,flags:t}],r)}case 5:{const t=[],n=o([l,t],r);for(const[n,o]of r)(e||!kn(bn(n))&&!kn(bn(o)))&&t.push([i(n),i(o)]);return n}case 6:{const t=[],n=o([l,t],r);for(const n of r)!e&&kn(bn(n))||t.push(i(n));return n}}const{message:s}=r;return o([l,{name:a,message:s}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Sn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?mn(wn(e,t)):structuredClone(e):(e,t)=>mn(wn(e,t));function Cn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let l="";if(37===i&&Me(e.charCodeAt(n+1))&&Me(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(l=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(l=String.fromCharCode(i,t),o=1):l="�"}else l=String.fromCharCode(i);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+o+1,l=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function En(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function In(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Dn=function(e){if(null==e)return Rn;if("function"==typeof e)return Tn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Dn(e[n]);return Tn(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){const t=e;return Tn(n);function n(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Tn(t);function t(t){return t&&t.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Tn(e){return function(t,n,r){return Boolean(An(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Rn(){return!0}function An(e){return null!==e&&"object"==typeof e&&"type"in e}const Pn=[],Mn=!0,Nn=!1,Ln="skip";function On(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Dn(o),l=r?-1:1;!function e(o,a,s){const c=o&&"object"==typeof o?o:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,f=Pn;if((!t||i(o,a,s[s.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Mn,e];return null==e?Pn:[e]}(n(o,s)),f[0]===Nn))return f;if("children"in o&&o.children){const t=o;if(t.children&&f[0]!==Ln)for(u=(r?t.children.length:-1)+l,d=s.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),c[0]===Nn)return c;u="number"==typeof c[1]?c[1]:u+l}}return f}}(e,void 0,[])()}function zn(e,t,n,r){let o,i,l;"function"==typeof t&&"function"!=typeof n?(i=void 0,l=t,o=n):(i=t,l=n,o=r),On(e,i,function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return l(e,r,n)},o)}function Fn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push({type:"text",value:r}),o}function _n(e){const t=e.spread;return null==t?e.children.length>1:t}function Bn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(jn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(jn(t.slice(o),o>0,!1)),i.join("")}function jn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Un={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Cn(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=i+1,a+=1,e.footnoteCounts.set(r,a);const s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,s);const c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Fn(e,t);const o={src:Cn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Cn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Fn(e,t);const o={href:Cn(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Cn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=_n(n[r])}return t}(n):_n(t),i={},l=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?l.push(e):l.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&l.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:l};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=X(t.children[1]),l=K(t.children[t.children.length-1]);i&&l&&(r.position={start:i,end:l}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,l=i?i.length:t.children.length;let a=-1;const s=[];for(;++a<l;){const n=t.children[a],r={},l=i?i[a]:void 0;l&&(r.align=l);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),s.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:Bn(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Hn,yaml:Hn,definition:Hn,footnoteDefinition:Hn};function Hn(){}const Vn={}.hasOwnProperty,qn={};function Wn(e,t){e.position&&(t.position=function(e){const t=X(e),n=K(e);if(t&&n)return{start:t,end:n}}(e))}function Yn(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&o&&Object.assign(n.properties,Sn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Kn(e,t){const n=t.data||{},r=!("value"in t)||Vn.call(n,"hProperties")||Vn.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Xn(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Qn(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function $n(e,t){const n=function(e,t){const n=t||qn,r=new Map,o=new Map,i=new Map,l={...Un,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Qn(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Qn(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:Yn,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:l,one:function(e,t){const n=e.type,r=a.handlers[n];if(Vn.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Sn(n);return r.children=a.all(e),r}return Sn(e)}return(a.options.unknownHandler||Kn)(a,e,t)},options:n,patch:Wn,wrap:Xn};return zn(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||En,r=e.options.footnoteBackLabel||In,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const i=e.all(o),l=String(o.identifier).toUpperCase(),c=Cn(l.toLowerCase());let u=0;const d=[],f=e.footnoteCounts.get(l);for(;void 0!==f&&++u<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const p=i[i.length-1];if(p&&"element"===p.type&&"p"===p.tagName){const e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else i.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Sn(l),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Gn(e,t){return e&&"run"in e?async function(n,r){const o=$n(n,{file:r,...t});await e.run(o,r)}:function(n,r){return $n(n,{file:r,...e||t})}}function Jn(e){if(e)throw e}var Zn=n(2849);function er(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function tr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...l){const a=e[++n];let s=-1;if(i)r(i);else{for(;++s<t.length;)null!==l[s]&&void 0!==l[s]||(l[s]=t[s]);t=l,a?function(e,t){let n;return r;function r(...t){const r=e.length>t.length;let l;r&&t.push(o);try{l=e.apply(this,t)}catch(e){if(r&&n)throw e;return o(e)}r||(l&&l.then&&"function"==typeof l.then?l.then(i,o):l instanceof Error?o(l):i(l))}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}}(a,o)(...l):r(null,...l)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const nr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');rr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let l=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else l<0&&(n=!0,l=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(rr(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){rr(e);let t,n=e.length,r=-1,o=0,i=-1,l=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==l&&(l=1):i>-1&&(l=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)rr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){rr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,l=-1,a=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else{if(47===n)break;n=47}if(47===n){if(l===s-1||1===a);else if(l!==s-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=s,a=0;continue}}else if(o.length>0){o="",i=0,l=s,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,s):o=e.slice(l+1,s),i=s-l-1;l=s,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function rr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const or={cwd:function(){return"/"}};function ir(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function lr(e){if("string"==typeof e)e=new URL(e);else if(!ir(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const ar=["history","path","basename","stem","extname","dirname"];class sr{constructor(e){let t;t=e?ir(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":or.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<ar.length;){const e=ar[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)ar.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nr.basename(this.path):void 0}set basename(e){ur(e,"basename"),cr(e,"basename"),this.path=nr.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nr.dirname(this.path):void 0}set dirname(e){dr(this.basename,"dirname"),this.path=nr.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?nr.extname(this.path):void 0}set extname(e){if(cr(e,"extname"),dr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=nr.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){ir(e)&&(e=lr(e)),ur(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nr.basename(this.path,this.extname):void 0}set stem(e){ur(e,"stem"),cr(e,"stem"),this.path=nr.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new ee(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function cr(e,t){if(e&&e.includes(nr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nr.sep+"`")}function ur(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function dr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const fr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},pr={}.hasOwnProperty;class hr extends fr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=tr()}copy(){const e=new hr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(Zn(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(yr("data",this.frozen),this.namespace[e]=t,this):pr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(yr("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=kr(e),n=this.parser||this.Parser;return mr("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),mr("process",this.parser||this.Parser),vr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=kr(e),l=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(l,i,function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var l;"string"==typeof(l=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(l)?r.value=i:r.result=i,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),mr("processSync",this.parser||this.Parser),vr("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,Jn(e),t=r}),br("processSync","process",n),t}run(e,t,n){xr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const l=kr(t);r.run(e,l,function(t,r,l){const a=r||e;t?i(t):o?o(a):n(void 0,a,l)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){Jn(e),n=t,r=!0}),br("runSync","run",r),n}stringify(e,t){this.freeze();const n=kr(t),r=this.compiler||this.Compiler;return vr("stringify",r),xr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(yr("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(r.settings=Zn(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const l=n[o][1];er(l)&&er(r)&&(r=Zn(!0,l,r)),n[o]=[e,r,...i]}}}}const gr=(new hr).freeze();function mr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function vr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function yr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xr(e){if(!er(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function br(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function kr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new sr(e)}const wr=[],Sr={allowDangerousHtml:!0},Cr=/^(https?|ircs?|mailto|xmpp)$/i,Er=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ir(e){const t=Dr(e),n=Tr(e);return Rr(t.runSync(t.parse(n),n),e)}function Dr(e){const t=e.rehypePlugins||wr,n=e.remarkPlugins||wr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Sr}:Sr;return gr().use(hn).use(n).use(Gn,r).use(t)}function Tr(e){const t=e.children||"",n=new sr;return"string"==typeof t&&(n.value=t),n}function Rr(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||Ar;for(const e of Er)Object.hasOwn(t,e.from)&&l((e.from,e.to&&e.to,e.id));return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),zn(e,function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return a?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ve)if(Object.hasOwn(ve,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=ve[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let l=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!l&&r&&"number"==typeof t&&(l=!r(e,t,o)),l&&o&&"number"==typeof t)return s&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}}),ae(e,{Fragment:ye.Fragment,components:o,ignoreInvalidStyle:!0,jsx:ye.jsx,jsxs:ye.jsxs,passKeys:!0,passNode:!0})}function Ar(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||Cr.test(e.slice(0,t))?e:""}},8831:(e,t,n)=>{"use strict";n.d(t,{FN:()=>i,gj:()=>o});n(4979);function r(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}const o=e=>{let{containerNodeRect:t,draggingNodeRect:n,transform:o}=e;return n&&t?r(o,n,t):o},i=e=>{let{transform:t}=e;return{...t,x:0}}},8917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,s):e.replace(i,s)).replace(r,a))}},9374:(e,t,n)=>{var r=n(4128),o=n(3805),i=n(4394),l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||s.test(e)?c(e.slice(2),n?2:8):l.test(e)?NaN:+e}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(s,c):c}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new g(e),x(),t}}function g(e){this.start=e,this.end={line:d,column:f},this.source=s.source}g.prototype.content=e;var m=[];function v(t){var n=new Error(s.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=d,n.column=f,n.source=e,!s.silent)throw n;m.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function x(){y(r)}function b(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(o);if(n){if(k(),!y(i))return v("property missing ':'");var r=y(l),s=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(a),s}}return x(),function(){var e,t=[];for(b(t);e=w();)!1!==e&&(t.push(e),b(t));return t}()}}}]);
2
+ //# sourceMappingURL=525.57b74c72.chunk.js.map