18s 0.1.4 → 0.2.9

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 (318) hide show
  1. package/-3Uh.woff2 +0 -0
  2. package/-XyM.woff2 +0 -0
  3. package/-cMN.woff2 +0 -0
  4. package/-cdB.woff2 +0 -0
  5. package/0T_u.woff2 +0 -0
  6. package/0iJj.woff2 +0 -0
  7. package/0ztE.woff2 +0 -0
  8. package/15pB.woff2 +0 -0
  9. package/18RQ.woff2 +0 -0
  10. package/1EtS.woff2 +0 -0
  11. package/1pzg.woff2 +0 -0
  12. package/2-pP.woff2 +0 -0
  13. package/2EmK.woff2 +0 -0
  14. package/2_ZR.woff2 +0 -0
  15. package/2iUm.woff2 +0 -0
  16. package/33Hv.woff2 +0 -0
  17. package/3bVl.woff2 +0 -0
  18. package/46Sm.woff2 +0 -0
  19. package/46TS.woff2 +0 -0
  20. package/4l5w.woff2 +0 -0
  21. package/58Db.woff2 +0 -0
  22. package/5Dkj.woff2 +0 -0
  23. package/5JBo.woff2 +0 -0
  24. package/5SiX.woff2 +0 -0
  25. package/5TIG.woff2 +0 -0
  26. package/5nIn.woff2 +0 -0
  27. package/6CEg.woff2 +0 -0
  28. package/6Gnc.woff2 +0 -0
  29. package/6kAt.woff2 +0 -0
  30. package/7LPF.woff2 +0 -0
  31. package/7_8i.woff2 +0 -0
  32. package/8Ppr.woff2 +0 -0
  33. package/8QJX.woff2 +0 -0
  34. package/8X-F.woff2 +0 -0
  35. package/8iHl.woff2 +0 -0
  36. package/8kLc.woff2 +0 -0
  37. package/8xAn.woff2 +0 -0
  38. package/8xnu.woff2 +0 -0
  39. package/8yhR.woff2 +0 -0
  40. package/9Gj4.woff2 +0 -0
  41. package/9MPt.woff2 +0 -0
  42. package/9XT7.woff2 +0 -0
  43. package/9dxL.woff2 +0 -0
  44. package/9xYe.woff2 +0 -0
  45. package/A5sX.woff2 +0 -0
  46. package/AOae.woff2 +0 -0
  47. package/AnL6.woff2 +0 -0
  48. package/B7XM.woff2 +0 -0
  49. package/BAum.woff2 +0 -0
  50. package/BNuK.woff2 +0 -0
  51. package/BQVW.woff2 +0 -0
  52. package/BVL8.woff2 +0 -0
  53. package/BWvz.woff2 +0 -0
  54. package/B_Ks.woff2 +0 -0
  55. package/BbU7.woff2 +0 -0
  56. package/CZfI.woff2 +0 -0
  57. package/Cjb5.woff2 +0 -0
  58. package/CmJA.woff2 +0 -0
  59. package/CsUQ.woff2 +0 -0
  60. package/Cyzz.woff2 +0 -0
  61. package/DDOv.woff2 +0 -0
  62. package/DMt7.woff2 +0 -0
  63. package/DNLy.woff2 +0 -0
  64. package/DR27.woff2 +0 -0
  65. package/DZ7Q.woff2 +0 -0
  66. package/DnzW.woff2 +0 -0
  67. package/E4sy.woff2 +0 -0
  68. package/EUtD.woff2 +0 -0
  69. package/Eboz.woff2 +0 -0
  70. package/EmoS.woff2 +0 -0
  71. package/ExsS.woff2 +0 -0
  72. package/F175.woff2 +0 -0
  73. package/F7SA.woff2 +0 -0
  74. package/FT7_.woff2 +0 -0
  75. package/FaFd.woff2 +0 -0
  76. package/FsCw.woff2 +0 -0
  77. package/G3Kg.woff2 +0 -0
  78. package/G6Pj.woff2 +0 -0
  79. package/G8EN.woff2 +0 -0
  80. package/GMIu.woff2 +0 -0
  81. package/GOEl.woff2 +0 -0
  82. package/GrzI.woff2 +0 -0
  83. package/Gy2k.woff2 +0 -0
  84. package/Gz2v.woff2 +0 -0
  85. package/HCa9.woff2 +0 -0
  86. package/HRGc.woff2 +0 -0
  87. package/Hant.woff2 +0 -0
  88. package/HcYk.woff2 +0 -0
  89. package/IUKD.woff2 +0 -0
  90. package/J-rp.woff2 +0 -0
  91. package/J2_Z.woff2 +0 -0
  92. package/JBr8.woff2 +0 -0
  93. package/JzDj.woff2 +0 -0
  94. package/KBhF.woff2 +0 -0
  95. package/KCyu.woff2 +0 -0
  96. package/KH3S.woff2 +0 -0
  97. package/KUfc.woff2 +0 -0
  98. package/KWeL.woff2 +0 -0
  99. package/KbZ1.woff2 +0 -0
  100. package/KhUK.woff2 +0 -0
  101. package/LC3T.woff2 +0 -0
  102. package/LI5G.woff2 +0 -0
  103. package/LSlb.woff2 +0 -0
  104. package/LfwY.woff2 +0 -0
  105. package/Lj__.woff2 +0 -0
  106. package/M0BG.woff2 +0 -0
  107. package/MGzp.woff2 +0 -0
  108. package/MO_W.woff2 +0 -0
  109. package/MQdW.woff2 +0 -0
  110. package/MY7O.woff2 +0 -0
  111. package/Mbb7.woff2 +0 -0
  112. package/NDjQ.woff2 +0 -0
  113. package/NLeq.woff2 +0 -0
  114. package/NMlK.woff2 +0 -0
  115. package/NWxh.woff2 +0 -0
  116. package/Nf88.woff2 +0 -0
  117. package/Nx68.woff2 +0 -0
  118. package/Nxcy.woff2 +0 -0
  119. package/Ny-z.woff2 +0 -0
  120. package/OiPo.woff2 +0 -0
  121. package/OlDi.woff2 +0 -0
  122. package/Or-w.woff2 +0 -0
  123. package/OsBq.woff2 +0 -0
  124. package/PCtq.woff2 +0 -0
  125. package/PDd_.woff2 +0 -0
  126. package/Pe_P.woff2 +0 -0
  127. package/Pf-f.woff2 +0 -0
  128. package/PqJg.woff2 +0 -0
  129. package/QAxi.woff2 +0 -0
  130. package/QUNT.woff2 +0 -0
  131. package/QVyZ.woff2 +0 -0
  132. package/Qjcg.woff2 +0 -0
  133. package/Qo6Y.woff2 +0 -0
  134. package/RCbC.woff2 +0 -0
  135. package/README.md +221 -3
  136. package/RLNy.woff2 +0 -0
  137. package/RPwS.woff2 +0 -0
  138. package/RdOM.woff2 +0 -0
  139. package/RiLH.woff2 +0 -0
  140. package/RmLy.woff2 +0 -0
  141. package/Slgl.woff2 +0 -0
  142. package/SmUX.woff2 +0 -0
  143. package/T4Oo.woff2 +0 -0
  144. package/TR3D.woff2 +0 -0
  145. package/U0dX.woff2 +0 -0
  146. package/U1td.woff2 +0 -0
  147. package/U4KI.woff2 +0 -0
  148. package/UBEX.woff2 +0 -0
  149. package/UZOR.woff2 +0 -0
  150. package/UnJd.woff2 +0 -0
  151. package/V3y3.woff2 +0 -0
  152. package/V6v-.woff2 +0 -0
  153. package/VILN.woff2 +0 -0
  154. package/VPQT.woff2 +0 -0
  155. package/VWrT.woff2 +0 -0
  156. package/WQtc.woff2 +0 -0
  157. package/WwNi.woff2 +0 -0
  158. package/X0EV.woff2 +0 -0
  159. package/XLH2.woff2 +0 -0
  160. package/XO3j.woff2 +0 -0
  161. package/XcYc.woff2 +0 -0
  162. package/Xrko.woff2 +0 -0
  163. package/XsTQ.woff2 +0 -0
  164. package/Y0Aq.woff2 +0 -0
  165. package/YM8k.woff2 +0 -0
  166. package/YS7S.woff2 +0 -0
  167. package/YWWb.woff2 +0 -0
  168. package/YgHp.woff2 +0 -0
  169. package/YjQg.woff2 +0 -0
  170. package/Yxa9.woff2 +0 -0
  171. package/Z8iw.woff2 +0 -0
  172. package/ZJqm.woff2 +0 -0
  173. package/ZK_d.woff2 +0 -0
  174. package/ZX1B.woff2 +0 -0
  175. package/ZaAT.woff2 +0 -0
  176. package/Zpnf.woff2 +0 -0
  177. package/_.css +2 -0
  178. package/_EKX.woff2 +0 -0
  179. package/_MND.woff2 +0 -0
  180. package/_YMO.woff2 +0 -0
  181. package/ajo4.woff2 +0 -0
  182. package/azpT.woff2 +0 -0
  183. package/b-Pf.woff2 +0 -0
  184. package/bFGB.woff2 +0 -0
  185. package/bGIE.woff2 +0 -0
  186. package/bKcl.woff2 +0 -0
  187. package/bsyu.woff2 +0 -0
  188. package/bzA-.woff2 +0 -0
  189. package/c-gP.woff2 +0 -0
  190. package/c.css +1 -0
  191. package/c0t0.woff2 +0 -0
  192. package/c0vP.woff2 +0 -0
  193. package/c978.woff2 +0 -0
  194. package/cOnJ.woff2 +0 -0
  195. package/cR5u.woff2 +0 -0
  196. package/c_zx.woff2 +0 -0
  197. package/cvXG.woff2 +0 -0
  198. package/d7D5.woff2 +0 -0
  199. package/dsMI.woff2 +0 -0
  200. package/dtyD.woff2 +0 -0
  201. package/e-1b.woff2 +0 -0
  202. package/eDmS.woff2 +0 -0
  203. package/eivr.woff2 +0 -0
  204. package/eySP.woff2 +0 -0
  205. package/f1mD.woff2 +0 -0
  206. package/fEE1.woff2 +0 -0
  207. package/fQyD.woff2 +0 -0
  208. package/fSg2.woff2 +0 -0
  209. package/fleI.woff2 +0 -0
  210. package/ftah.woff2 +0 -0
  211. package/gCUE.woff2 +0 -0
  212. package/gNVS.woff2 +0 -0
  213. package/gbx7.woff2 +0 -0
  214. package/gjfn.woff2 +0 -0
  215. package/gnEg.woff2 +0 -0
  216. package/gwUy.woff2 +0 -0
  217. package/h9gv.woff2 +0 -0
  218. package/hWwS.woff2 +0 -0
  219. package/hh-l.woff2 +0 -0
  220. package/hhR6.woff2 +0 -0
  221. package/hwE7.woff2 +0 -0
  222. package/iP-U.woff2 +0 -0
  223. package/idYt.woff2 +0 -0
  224. package/ie2e.woff2 +0 -0
  225. package/istW.woff2 +0 -0
  226. package/iySI.woff2 +0 -0
  227. package/j2Ix.woff2 +0 -0
  228. package/j9It.woff2 +0 -0
  229. package/jC_7.woff2 +0 -0
  230. package/jNTq.woff2 +0 -0
  231. package/jqLk.woff2 +0 -0
  232. package/k0-i.woff2 +0 -0
  233. package/k8cB.woff2 +0 -0
  234. package/kNq4.woff2 +0 -0
  235. package/kc0f.woff2 +0 -0
  236. package/ks3H.woff2 +0 -0
  237. package/kvtB.woff2 +0 -0
  238. package/l096.woff2 +0 -0
  239. package/l6xJ.woff2 +0 -0
  240. package/l9Sk.woff2 +0 -0
  241. package/lMaK.woff2 +0 -0
  242. package/lPzz.woff2 +0 -0
  243. package/lZ7T.woff2 +0 -0
  244. package/lfc_.woff2 +0 -0
  245. package/lkAp.woff2 +0 -0
  246. package/lqz_.woff2 +0 -0
  247. package/m8fe.woff2 +0 -0
  248. package/mThg.woff2 +0 -0
  249. package/mmow.woff2 +0 -0
  250. package/mv3H.woff2 +0 -0
  251. package/n-Hs.woff2 +0 -0
  252. package/nBhF.woff2 +0 -0
  253. package/nH_q.woff2 +0 -0
  254. package/nOaG.woff2 +0 -0
  255. package/nUkR.woff2 +0 -0
  256. package/nYed.woff2 +0 -0
  257. package/nu5b.woff2 +0 -0
  258. package/oq9D.woff2 +0 -0
  259. package/p5EI.woff2 +0 -0
  260. package/pCBa.woff2 +0 -0
  261. package/pZwL.woff2 +0 -0
  262. package/package.json +24 -1
  263. package/pdlV.woff2 +0 -0
  264. package/q0a9.woff2 +0 -0
  265. package/q7FU.woff2 +0 -0
  266. package/q7zs.woff2 +0 -0
  267. package/qCOQ.woff2 +0 -0
  268. package/qFqQ.woff2 +0 -0
  269. package/qOem.woff2 +0 -0
  270. package/qWlm.woff2 +0 -0
  271. package/qn7_.woff2 +0 -0
  272. package/qwhx.woff2 +0 -0
  273. package/r-OT.woff2 +0 -0
  274. package/rDsB.woff2 +0 -0
  275. package/rFOk.woff2 +0 -0
  276. package/rLiZ.woff2 +0 -0
  277. package/rMMd.woff2 +0 -0
  278. package/rSp-.woff2 +0 -0
  279. package/rcpk.woff2 +0 -0
  280. package/rlvg.woff2 +0 -0
  281. package/s0qq.woff2 +0 -0
  282. package/sH1v.woff2 +0 -0
  283. package/sLHc.woff2 +0 -0
  284. package/suuy.woff2 +0 -0
  285. package/syw0.woff2 +0 -0
  286. package/szA5.woff2 +0 -0
  287. package/t.css +1 -0
  288. package/t0U3.woff2 +0 -0
  289. package/t612.woff2 +0 -0
  290. package/tE5M.woff2 +0 -0
  291. package/tdmZ.woff2 +0 -0
  292. package/u5Sv.woff2 +0 -0
  293. package/ugvG.woff2 +0 -0
  294. package/ulKx.woff2 +0 -0
  295. package/uqrW.woff2 +0 -0
  296. package/vqlJ.woff2 +0 -0
  297. package/vus4.woff2 +0 -0
  298. package/wMTF.woff2 +0 -0
  299. package/wTua.woff2 +0 -0
  300. package/wYch.woff2 +0 -0
  301. package/wg6F.woff2 +0 -0
  302. package/wkD_.woff2 +0 -0
  303. package/x9_w.woff2 +0 -0
  304. package/xQaz.woff2 +0 -0
  305. package/yV2w.woff2 +0 -0
  306. package/yYCf.woff2 +0 -0
  307. package/yYYx.woff2 +0 -0
  308. package/ydvJ.woff2 +0 -0
  309. package/ytVL.woff2 +0 -0
  310. package/zZdA.woff2 +0 -0
  311. package/0.css +0 -1
  312. package/0.js +0 -1
  313. package/1.css +0 -1
  314. package/1.js +0 -16
  315. package/2.js +0 -1
  316. package/3.js +0 -16
  317. package/4.js +0 -1
  318. package/_.js +0 -1
package/1.js DELETED
@@ -1,16 +0,0 @@
1
- const __vite__fileDeps=["0.js","2.js","0.css","3.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
- import"x/a.js";import pu from"x/bintxt.js";import hu from"x/langHook.js";import{fBin as _u}from"x/f.js";import Ee from"x/On.js";import{fMd as dn,fJson as bi,USE as ki,NAV as wi}from"x/_.js";import tr from"x/setUrl.js";import gu from"x/selfA.js";import du from"x/xBox.js";import We from"x/pbox.js";import bu from"x/fBinPrefix.js";import ku from"x/Box.js";import wu from"x/htmBox.js";import{onSet as bn,set as $i}from"x/lang.js";import{hook as $u,send as yu}from"x/BC.js";import{send as yi,hook as Su}from"x/share.js";import Tu,{URLLI as Si,Path as Ti,i18nReset as Lu}from"x/Match.js";import Mu from"x/utf8d.js";import Cu from"x/goto.js";import Eu from"x/forceGoto.js";import Au from"x/langSite.js";import vu from"x/route.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();const Iu="modulepreload",Nu=function(t){return _SITE+'@0.1.4/'+t},nr={},kn=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),u=l?.nonce||l?.getAttribute("nonce");i=Promise.all(n.map(s=>{if(s=Nu(s),s in nr)return;nr[s]=!0;const o=s.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;const f=document.createElement("link");if(f.rel=o?"stylesheet":Iu,o||(f.as="script",f.crossOrigin=""),f.href=s,u&&f.setAttribute("nonce",u),document.head.appendChild(f),o)return new Promise((c,p)=>{f.addEventListener("load",c),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return i.then(()=>e()).catch(l=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l})};function H(){}function Ut(t,e){for(const n in e)t[n]=e[n];return t}function Li(t){return t()}function rr(){return Object.create(null)}function Le(t){t.forEach(Li)}function Z(t){return typeof t=="function"}function U(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Fu(t){return Object.keys(t).length===0}function $e(t,e,n,r){if(t){const i=Mi(t,e,n,r);return t[0](i)}}function Mi(t,e,n,r){return t[1]&&r?Ut(n.ctx.slice(),t[1](r(e))):n.ctx}function ye(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const l=[],u=Math.max(e.dirty.length,i.length);for(let s=0;s<u;s+=1)l[s]=e.dirty[s]|i[s];return l}return e.dirty|i}return e.dirty}function Se(t,e,n,r,i,l){if(i){const u=Mi(e,n,r,l);t.p(u,i)}}function Te(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let r=0;r<n;r++)e[r]=-1;return e}return-1}function Hu(t){const e={};for(const n in t)n[0]!=="$"&&(e[n]=t[n]);return e}function ir(t,e){const n={};e=new Set(e);for(const r in t)!e.has(r)&&r[0]!=="$"&&(n[r]=t[r]);return n}function T(t,e){t.appendChild(e)}function E(t,e,n){t.insertBefore(e,n||null)}function C(t){t.parentNode&&t.parentNode.removeChild(t)}function He(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function d(t){return document.createElement(t)}function zu(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t){return document.createTextNode(t)}function Pe(){return X(" ")}function x(){return X("")}function Q(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function tt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function _(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const Du=["width","height"];function lr(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const r in e)e[r]==null?t.removeAttribute(r):r==="style"?t.style.cssText=e[r]:r==="__value"?t.value=t[r]=e[r]:n[r]&&n[r].set&&Du.indexOf(r)===-1?t[r]=e[r]:_(t,r,e[r])}function Ye(t,e,n){const r=e.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:_(t,e,n)}function Ou(t){let e;return{p(...n){e=n,e.forEach(r=>t.push(r))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function Ci(t){return t===""?null:+t}function Bu(t){return Array.from(t.childNodes)}function K(t,e){e=""+e,t.data!==e&&(t.data=e)}function me(t,e){t.value=e??""}function m_(t,e,n,r){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function Ce(t,e,n){t.classList.toggle(e,!!n)}class _e{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,r=null){this.e||(this.is_svg?this.e=zu(n.nodeName):this.e=d(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(r)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n<this.n.length;n+=1)E(this.t,this.n[n],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(C)}}function xe(t,e){return new t(e)}let Et;function Tt(t){Et=t}function Pu(){if(!Et)throw new Error("Function called outside component initialization");return Et}function R(t){Pu().$$.on_mount.push(t)}const at=[],le=[];let pt=[];const ur=[],Ei=Promise.resolve();let tn=!1;function Ai(){tn||(tn=!0,Ei.then(vi))}function Xe(){return Ai(),Ei}function nn(t){pt.push(t)}const Xt=new Set;let ot=0;function vi(){if(ot!==0)return;const t=Et;do{try{for(;ot<at.length;){const e=at[ot];ot++,Tt(e),ju(e.$$)}}catch(e){throw at.length=0,ot=0,e}for(Tt(null),at.length=0,ot=0;le.length;)le.pop()();for(let e=0;e<pt.length;e+=1){const n=pt[e];Xt.has(n)||(Xt.add(n),n())}pt.length=0}while(at.length);for(;ur.length;)ur.pop()();tn=!1,Xt.clear(),Tt(t)}function ju(t){if(t.fragment!==null){t.update(),Le(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(nn)}}function qu(t){const e=[],n=[];pt.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),pt=e}const Ot=new Set;let rt;function te(){rt={r:0,c:[],p:rt}}function ne(){rt.r||Le(rt.c),rt=rt.p}function M(t,e){t&&t.i&&(Ot.delete(t),t.i(e))}function A(t,e,n,r){if(t&&t.o){if(Ot.has(t))return;Ot.add(t),rt.c.push(()=>{Ot.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}function fe(t){return t?.length!==void 0?t:Array.from(t)}function Ru(t,e){const n={},r={},i={$$scope:1};let l=t.length;for(;l--;){const u=t[l],s=e[l];if(s){for(const o in u)o in s||(r[o]=1);for(const o in s)i[o]||(n[o]=s[o],i[o]=1);t[l]=s}else for(const o in u)i[o]=1}for(const u in r)u in n||(n[u]=void 0);return n}function j(t){t&&t.c()}function D(t,e,n){const{fragment:r,after_update:i}=t.$$;r&&r.m(e,n),nn(()=>{const l=t.$$.on_mount.map(Li).filter(Z);t.$$.on_destroy?t.$$.on_destroy.push(...l):Le(l),t.$$.on_mount=[]}),i.forEach(nn)}function O(t,e){const n=t.$$;n.fragment!==null&&(qu(n.after_update),Le(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Uu(t,e){t.$$.dirty[0]===-1&&(at.push(t),Ai(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function V(t,e,n,r,i,l,u=null,s=[-1]){const o=Et;Tt(t);const a=t.$$={fragment:null,ctx:[],props:l,update:H,not_equal:i,bound:rr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(o?o.$$.context:[])),callbacks:rr(),dirty:s,skip_bound:!1,root:e.target||o.$$.root};u&&u(a.root);let f=!1;if(a.ctx=n?n(t,e.props||{},(c,p,...m)=>{const h=m.length?m[0]:p;return a.ctx&&i(a.ctx[c],a.ctx[c]=h)&&(!a.skip_bound&&a.bound[c]&&a.bound[c](h),f&&Uu(t,c)),p}):[],a.update(),f=!0,Le(a.before_update),a.fragment=r?r(a.ctx):!1,e.target){if(e.hydrate){const c=Bu(e.target);a.fragment&&a.fragment.l(c),c.forEach(C)}else a.fragment&&a.fragment.c();e.intro&&M(t.$$.fragment),D(t,e.target,e.anchor),vi()}Tt(o)}class W{$$=void 0;$$set=void 0;$destroy(){O(this,1),this.$destroy=H}$on(e,n){if(!Z(n))return H;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!Fu(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Vu="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Vu);function Wu(t){let e,n;const r=t[1].default,i=$e(r,t,t[0],null);return{c(){e=d("main"),i&&i.c(),_(e,"class","_1baf7xy")},m(l,u){E(l,e,u),i&&i.m(e,null),n=!0},p(l,[u]){i&&i.p&&(!n||u&1)&&Se(i,r,l,l[0],n?ye(r,l[0],u,null):Te(l[0]),null)},i(l){n||(M(i,l),n=!0)},o(l){A(i,l),n=!1},d(l){l&&C(e),i&&i.d(l)}}}function Qu(t,e,n){let{$$slots:r={},$$scope:i}=e;return t.$$set=l=>{"$$scope"in l&&n(0,i=l.$$scope)},[i,r]}class wn extends W{constructor(e){super(),V(this,e,Qu,Wu,U,{})}}const $n=t=>()=>{var e;return t().then(n=>{e?typeof n=="function"&&n():e=n}),()=>{e?e():e=1}},Wt=(t,e)=>t.getElementsByTagName(e)[0],rn=t=>{document.title=t||location.host},Gu=t=>{var e;if(e=document.title,t)return rn(t),()=>{rn(e)}},Yu=t=>{var e;return Gu((e=t.getElementsByTagName("h1")[0])!=null?e.innerText:void 0)},sr=document.createElement("i");function Ii(t){const e="&"+t+";";sr.innerHTML=e;const n=sr.textContent;return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function Je(t,e,n,r){const i=t.length;let l=0,u;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(e,n),t.splice(...u);else for(n&&t.splice(e,n);l<r.length;)u=r.slice(l,l+1e4),u.unshift(e,0),t.splice(...u),l+=1e4,e+=1e4}function Me(t,e){return t.length>0?(Je(t,t.length,0,e),t):e}const ln={}.hasOwnProperty;function Ju(t){const e={};let n=-1;for(;++n<t.length;)Xu(e,t[n]);return e}function Xu(t,e){let n;for(n in e){const i=(ln.call(t,n)?t[n]:void 0)||(t[n]={}),l=e[n];let u;if(l)for(u in l){ln.call(i,u)||(i[u]=[]);const s=l[u];Zu(i[u],Array.isArray(s)?s:s?[s]:[])}}}function Zu(t,e){let n=-1;const r=[];for(;++n<e.length;)(e[n].add==="after"?t:r).push(e[n]);Je(t,0,0,r)}function Ku(t){const e={};let n=-1;for(;++n<t.length;)xu(e,t[n]);return e}function xu(t,e){let n;for(n in e){const i=(ln.call(t,n)?t[n]:void 0)||(t[n]={}),l=e[n];let u;if(l)for(u in l)i[u]=l[u]}}function es(t,e){const n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}const ts={'"':"quot","&":"amp","<":"lt",">":"gt"};function Ni(t){return t.replace(/["&<>]/g,e);function e(n){return"&"+ts[n]+";"}}function Qe(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ve=nt(/[A-Za-z]/),Ne=nt(/[\dA-Za-z]/),ns=nt(/[#-'*+\--9=?A-Z^-~]/);function un(t){return t!==null&&(t<32||t===127)}const sn=nt(/\d/),rs=nt(/[\dA-Fa-f]/),is=nt(/[!-/:-@[-`{-~]/);function Y(t){return t!==null&&t<-2}function de(t){return t!==null&&(t<0||t===32)}function ie(t){return t===-2||t===-1||t===32}const ls=nt(/\p{P}|\p{S}/u),us=nt(/\s/);function nt(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function mt(t,e){const n=Ni(ss(t||""));if(!e)return n;const r=n.indexOf(":"),i=n.indexOf("?"),l=n.indexOf("#"),u=n.indexOf("/");return r<0||u>-1&&r>u||i>-1&&r>i||l>-1&&r>l||e.test(n.slice(0,r))?n:""}function ss(t){const e=[];let n=-1,r=0,i=0;for(;++n<t.length;){const l=t.charCodeAt(n);let u="";if(l===37&&Ne(t.charCodeAt(n+1))&&Ne(t.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(u=String.fromCharCode(l));else if(l>55295&&l<57344){const s=t.charCodeAt(n+1);l<56320&&s>56319&&s<57344?(u=String.fromCharCode(l,s),i=1):u="�"}else u=String.fromCharCode(l);u&&(e.push(t.slice(r,n),encodeURIComponent(u)),r=n+i+1,u=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}const or={}.hasOwnProperty,ar=/^(https?|ircs?|mailto|xmpp)$/i,os=/^https?$/i;function as(t){const e=t||{};let n=!0;const r={},i=[[]],l=[],u=[],o=Ku([{enter:{blockQuote:re,codeFenced:pe,codeFencedFenceInfo:k,codeFencedFenceMeta:k,codeIndented:ge,codeText:lu,content:Gl,definition:ql,definitionDestinationString:Ul,definitionLabelString:k,definitionTitleString:k,emphasis:ru,htmlFlow:nu,htmlText:Xn,image:ze,label:k,link:lt,listItemMarker:P,listItemValue:N,listOrdered:B,listUnordered:J,paragraph:be,reference:k,resource:ut,resourceDestinationString:st,resourceTitleString:k,setextHeading:Jl,strong:iu},exit:{atxHeading:Zl,atxHeadingSequence:Yl,autolinkEmail:mu,autolinkProtocol:cu,blockQuote:ke,characterEscapeValue:wt,characterReferenceMarkerHexadecimal:Zn,characterReferenceMarkerNumeric:Zn,characterReferenceValue:fu,codeFenced:y,codeFencedFence:he,codeFencedFenceInfo:$,codeFencedFenceMeta:F,codeFlowValue:tu,codeIndented:y,codeText:uu,codeTextData:wt,data:wt,definition:Ql,definitionDestinationString:Vl,definitionLabelString:Rl,definitionTitleString:Wl,emphasis:su,hardBreakEscape:Yn,hardBreakTrailing:Yn,htmlFlow:Jn,htmlFlowData:wt,htmlText:Jn,htmlTextData:wt,image:Gn,label:kt,labelText:we,lineEnding:eu,link:Gn,listOrdered:q,listUnordered:ee,paragraph:ae,reference:F,referenceString:Ze,resource:F,resourceDestinationString:Jt,resourceTitleString:jl,setextHeading:xl,setextHeadingLineSequence:Kl,setextHeadingText:Xl,strong:ou,thematicBreak:au}}].concat(e.htmlExtensions||[])),a={tightStack:u,definitions:r},f={lineEndingIfNeeded:S,options:e,encode:L,raw:I,tag:w,buffer:k,resume:g,setData:h,getData:b};let c=e.defaultLineEnding;return p;function p(z){let G=-1,Ae=0;const De=[];let Re=[],Ge=[];for(;++G<z.length;)!c&&(z[G][1].type==="lineEnding"||z[G][1].type==="lineEndingBlank")&&(c=z[G][2].sliceSerialize(z[G][1])),(z[G][1].type==="listOrdered"||z[G][1].type==="listUnordered")&&(z[G][0]==="enter"?De.push(G):m(z.slice(De.pop(),G))),z[G][1].type==="definition"&&(z[G][0]==="enter"?(Ge=Me(Ge,z.slice(Ae,G)),Ae=G):(Re=Me(Re,z.slice(Ae,G+1)),Ae=G+1));Re=Me(Re,Ge),Re=Me(Re,z.slice(Ae)),G=-1;const Ue=Re;for(o.enter.null&&o.enter.null.call(f);++G<z.length;){const Kn=o[Ue[G][0]],xn=Ue[G][1].type,er=Kn[xn];or.call(Kn,xn)&&er&&er.call(Object.assign({sliceSerialize:Ue[G][2].sliceSerialize},f),Ue[G][1])}return o.exit.null&&o.exit.null.call(f),i[0].join("")}function m(z){const G=z.length;let Ae=0,De=0,Re=!1,Ge;for(;++Ae<G;){const Ue=z[Ae];if(Ue[1]._container)Ge=void 0,Ue[0]==="enter"?De++:De--;else switch(Ue[1].type){case"listItemPrefix":{Ue[0]==="exit"&&(Ge=!0);break}case"linePrefix":break;case"lineEndingBlank":{Ue[0]==="enter"&&!De&&(Ge?Ge=void 0:Re=!0);break}default:Ge=void 0}}z[0][1]._loose=Re}function h(z,G){a[z]=G}function b(z){return a[z]}function k(){i.push([])}function g(){return i.pop().join("")}function w(z){n&&(h("lastWasTag",!0),i[i.length-1].push(z))}function I(z){h("lastWasTag"),i[i.length-1].push(z)}function v(){I(c||`
3
- `)}function S(){const z=i[i.length-1],G=z[z.length-1],Ae=G?G.charCodeAt(G.length-1):null;Ae===10||Ae===13||Ae===null||v()}function L(z){return b("ignoreEncode")?z:Ni(z)}function F(){g()}function B(z){u.push(!z._loose),S(),w("<ol"),h("expectFirstItem",!0)}function J(z){u.push(!z._loose),S(),w("<ul"),h("expectFirstItem",!0)}function N(z){if(b("expectFirstItem")){const G=Number.parseInt(this.sliceSerialize(z),10);G!==1&&w(' start="'+L(String(G))+'"')}}function P(){b("expectFirstItem")?w(">"):ue(),S(),w("<li>"),h("expectFirstItem"),h("lastWasTag")}function q(){ue(),u.pop(),v(),w("</ol>")}function ee(){ue(),u.pop(),v(),w("</ul>")}function ue(){b("lastWasTag")&&!b("slurpAllLineEndings")&&S(),w("</li>"),h("slurpAllLineEndings")}function re(){u.push(!1),S(),w("<blockquote>")}function ke(){u.pop(),S(),w("</blockquote>"),h("slurpAllLineEndings")}function be(){u[u.length-1]||(S(),w("<p>")),h("slurpAllLineEndings")}function ae(){u[u.length-1]?h("slurpAllLineEndings",!0):w("</p>")}function pe(){S(),w("<pre><code"),h("fencesCount",0)}function $(){const z=g();w(' class="language-'+z+'"')}function he(){const z=b("fencesCount")||0;z||(w(">"),h("slurpOneLineEnding",!0)),h("fencesCount",z+1)}function ge(){S(),w("<pre><code>")}function y(){const z=b("fencesCount");z!==void 0&&z<2&&a.tightStack.length>0&&!b("lastWasTag")&&v(),b("flowCodeSeenData")&&S(),w("</code></pre>"),z!==void 0&&z<2&&S(),h("flowCodeSeenData"),h("fencesCount"),h("slurpOneLineEnding")}function ze(){l.push({image:!0}),n=void 0}function lt(){l.push({})}function we(z){l[l.length-1].labelId=this.sliceSerialize(z)}function kt(){l[l.length-1].label=g()}function Ze(z){l[l.length-1].referenceId=this.sliceSerialize(z)}function ut(){k(),l[l.length-1].destination=""}function st(){k(),h("ignoreEncode",!0)}function Jt(){l[l.length-1].destination=g(),h("ignoreEncode")}function jl(){l[l.length-1].title=g()}function Gn(){let z=l.length-1;const G=l[z],Ae=G.referenceId||G.labelId,De=G.destination===void 0?r[Qe(Ae)]:G;for(n=!0;z--;)if(l[z].image){n=void 0;break}G.image?(w('<img src="'+mt(De.destination,e.allowDangerousProtocol?void 0:os)+'" alt="'),I(G.label),w('"')):w('<a href="'+mt(De.destination,e.allowDangerousProtocol?void 0:ar)+'"'),w(De.title?' title="'+De.title+'"':""),G.image?w(" />"):(w(">"),I(G.label),w("</a>")),l.pop()}function ql(){k(),l.push({})}function Rl(z){g(),l[l.length-1].labelId=this.sliceSerialize(z)}function Ul(){k(),h("ignoreEncode",!0)}function Vl(){l[l.length-1].destination=g(),h("ignoreEncode")}function Wl(){l[l.length-1].title=g()}function Ql(){const z=l[l.length-1],G=Qe(z.labelId);g(),or.call(r,G)||(r[G]=l[l.length-1]),l.pop()}function Gl(){h("slurpAllLineEndings",!0)}function Yl(z){b("headingRank")||(h("headingRank",this.sliceSerialize(z).length),S(),w("<h"+b("headingRank")+">"))}function Jl(){k(),h("slurpAllLineEndings")}function Xl(){h("slurpAllLineEndings",!0)}function Zl(){w("</h"+b("headingRank")+">"),h("headingRank")}function Kl(z){h("headingRank",this.sliceSerialize(z).charCodeAt(0)===61?1:2)}function xl(){const z=g();S(),w("<h"+b("headingRank")+">"),I(z),w("</h"+b("headingRank")+">"),h("slurpAllLineEndings"),h("headingRank")}function wt(z){I(L(this.sliceSerialize(z)))}function eu(z){if(!b("slurpAllLineEndings")){if(b("slurpOneLineEnding")){h("slurpOneLineEnding");return}if(b("inCodeText")){I(" ");return}I(L(this.sliceSerialize(z)))}}function tu(z){I(L(this.sliceSerialize(z))),h("flowCodeSeenData",!0)}function Yn(){w("<br />")}function nu(){S(),Xn()}function Jn(){h("ignoreEncode")}function Xn(){e.allowDangerousHtml&&h("ignoreEncode",!0)}function ru(){w("<em>")}function iu(){w("<strong>")}function lu(){h("inCodeText",!0),w("<code>")}function uu(){h("inCodeText"),w("</code>")}function su(){w("</em>")}function ou(){w("</strong>")}function au(){S(),w("<hr />")}function Zn(z){h("characterReferenceType",z.type)}function fu(z){let G=this.sliceSerialize(z);G=b("characterReferenceType")?es(G,b("characterReferenceType")==="characterReferenceMarkerNumeric"?10:16):Ii(G),I(L(G)),h("characterReferenceType")}function cu(z){const G=this.sliceSerialize(z);w('<a href="'+mt(G,e.allowDangerousProtocol?void 0:ar)+'">'),I(L(G)),w("</a>")}function mu(z){const G=this.sliceSerialize(z);w('<a href="'+mt("mailto:"+G)+'">'),I(L(G)),w("</a>")}}function se(t,e,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return u;function u(o){return ie(o)?(t.enter(n),s(o)):e(o)}function s(o){return ie(o)&&l++<i?(t.consume(o),s):(t.exit(n),e(o))}}const fs={tokenize:cs};function cs(t){const e=t.attempt(this.parser.constructs.contentInitial,r,i);let n;return e;function r(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),se(t,e,"linePrefix")}function i(s){return t.enter("paragraph"),l(s)}function l(s){const o=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,u(s)}function u(s){if(s===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(s);return}return Y(s)?(t.consume(s),t.exit("chunkText"),l):(t.consume(s),u)}}const ms={tokenize:ps},fr={tokenize:hs};function ps(t){const e=this,n=[];let r=0,i,l,u;return s;function s(I){if(r<n.length){const v=n[r];return e.containerState=v[1],t.attempt(v[0].continuation,o,a)(I)}return a(I)}function o(I){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&w();const v=e.events.length;let S=v,L;for(;S--;)if(e.events[S][0]==="exit"&&e.events[S][1].type==="chunkFlow"){L=e.events[S][1].end;break}g(r);let F=v;for(;F<e.events.length;)e.events[F][1].end=Object.assign({},L),F++;return Je(e.events,S+1,0,e.events.slice(v)),e.events.length=F,a(I)}return s(I)}function a(I){if(r===n.length){if(!i)return p(I);if(i.currentConstruct&&i.currentConstruct.concrete)return h(I);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(fr,f,c)(I)}function f(I){return i&&w(),g(r),p(I)}function c(I){return e.parser.lazy[e.now().line]=r!==n.length,u=e.now().offset,h(I)}function p(I){return e.containerState={},t.attempt(fr,m,h)(I)}function m(I){return r++,n.push([e.currentConstruct,e.containerState]),p(I)}function h(I){if(I===null){i&&w(),g(0),t.consume(I);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:l,_tokenizer:i}),b(I)}function b(I){if(I===null){k(t.exit("chunkFlow"),!0),g(0),t.consume(I);return}return Y(I)?(t.consume(I),k(t.exit("chunkFlow")),r=0,e.interrupt=void 0,s):(t.consume(I),b)}function k(I,v){const S=e.sliceStream(I);if(v&&S.push(null),I.previous=l,l&&(l.next=I),l=I,i.defineSkip(I.start),i.write(S),e.parser.lazy[I.start.line]){let L=i.events.length;for(;L--;)if(i.events[L][1].start.offset<u&&(!i.events[L][1].end||i.events[L][1].end.offset>u))return;const F=e.events.length;let B=F,J,N;for(;B--;)if(e.events[B][0]==="exit"&&e.events[B][1].type==="chunkFlow"){if(J){N=e.events[B][1].end;break}J=!0}for(g(r),L=F;L<e.events.length;)e.events[L][1].end=Object.assign({},N),L++;Je(e.events,B+1,0,e.events.slice(F)),e.events.length=L}}function g(I){let v=n.length;for(;v-- >I;){const S=n[v];e.containerState=S[1],S[0].exit.call(e,t)}n.length=I}function w(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function hs(t,e,n){return se(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function cr(t){if(t===null||de(t)||us(t))return 1;if(ls(t))return 2}function yn(t,e,n){const r=[];let i=-1;for(;++i<t.length;){const l=t[i].resolveAll;l&&!r.includes(l)&&(e=l(e,n),r.push(l))}return e}const on={name:"attention",tokenize:gs,resolveAll:_s};function _s(t,e){let n=-1,r,i,l,u,s,o,a,f;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(r=n;r--;)if(t[r][0]==="exit"&&t[r][1].type==="attentionSequence"&&t[r][1]._open&&e.sliceSerialize(t[r][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[r][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[r][1].end.offset-t[r][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;o=t[r][1].end.offset-t[r][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const c=Object.assign({},t[r][1].end),p=Object.assign({},t[n][1].start);mr(c,-o),mr(p,o),u={type:o>1?"strongSequence":"emphasisSequence",start:c,end:Object.assign({},t[r][1].end)},s={type:o>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:p},l={type:o>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:o>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},u.start),t[n][1].start=Object.assign({},s.end),a=[],t[r][1].end.offset-t[r][1].start.offset&&(a=Me(a,[["enter",t[r][1],e],["exit",t[r][1],e]])),a=Me(a,[["enter",i,e],["enter",u,e],["exit",u,e],["enter",l,e]]),a=Me(a,yn(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),a=Me(a,[["exit",l,e],["enter",s,e],["exit",s,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(f=2,a=Me(a,[["enter",t[n][1],e],["exit",t[n][1],e]])):f=0,Je(t,r-1,n-r+3,a),n=r+a.length-f-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function gs(t,e){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=cr(r);let l;return u;function u(o){return l=o,t.enter("attentionSequence"),s(o)}function s(o){if(o===l)return t.consume(o),s;const a=t.exit("attentionSequence"),f=cr(o),c=!f||f===2&&i||n.includes(o),p=!i||i===2&&f||n.includes(r);return a._open=!!(l===42?c:c&&(i||!p)),a._close=!!(l===42?p:p&&(f||!c)),e(o)}}function mr(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const ds={name:"autolink",tokenize:bs};function bs(t,e,n){let r=0;return i;function i(m){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(m),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),l}function l(m){return Ve(m)?(t.consume(m),u):m===64?n(m):a(m)}function u(m){return m===43||m===45||m===46||Ne(m)?(r=1,s(m)):a(m)}function s(m){return m===58?(t.consume(m),r=0,o):(m===43||m===45||m===46||Ne(m))&&r++<32?(t.consume(m),s):(r=0,a(m))}function o(m){return m===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(m),t.exit("autolinkMarker"),t.exit("autolink"),e):m===null||m===32||m===60||un(m)?n(m):(t.consume(m),o)}function a(m){return m===64?(t.consume(m),f):ns(m)?(t.consume(m),a):n(m)}function f(m){return Ne(m)?c(m):n(m)}function c(m){return m===46?(t.consume(m),r=0,f):m===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(m),t.exit("autolinkMarker"),t.exit("autolink"),e):p(m)}function p(m){if((m===45||Ne(m))&&r++<63){const h=m===45?p:c;return t.consume(m),h}return n(m)}}const It={tokenize:ks,partial:!0};function ks(t,e,n){return r;function r(l){return ie(l)?se(t,i,"linePrefix")(l):i(l)}function i(l){return l===null||Y(l)?e(l):n(l)}}const Fi={name:"blockQuote",tokenize:ws,continuation:{tokenize:$s},exit:ys};function ws(t,e,n){const r=this;return i;function i(u){if(u===62){const s=r.containerState;return s.open||(t.enter("blockQuote",{_container:!0}),s.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(u),t.exit("blockQuoteMarker"),l}return n(u)}function l(u){return ie(u)?(t.enter("blockQuotePrefixWhitespace"),t.consume(u),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(u))}}function $s(t,e,n){const r=this;return i;function i(u){return ie(u)?se(t,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):l(u)}function l(u){return t.attempt(Fi,e,n)(u)}}function ys(t){t.exit("blockQuote")}const Hi={name:"characterEscape",tokenize:Ss};function Ss(t,e,n){return r;function r(l){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(l),t.exit("escapeMarker"),i}function i(l){return is(l)?(t.enter("characterEscapeValue"),t.consume(l),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(l)}}const zi={name:"characterReference",tokenize:Ts};function Ts(t,e,n){const r=this;let i=0,l,u;return s;function s(c){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(c),t.exit("characterReferenceMarker"),o}function o(c){return c===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(c),t.exit("characterReferenceMarkerNumeric"),a):(t.enter("characterReferenceValue"),l=31,u=Ne,f(c))}function a(c){return c===88||c===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(c),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),l=6,u=rs,f):(t.enter("characterReferenceValue"),l=7,u=sn,f(c))}function f(c){if(c===59&&i){const p=t.exit("characterReferenceValue");return u===Ne&&!Ii(r.sliceSerialize(p))?n(c):(t.enter("characterReferenceMarker"),t.consume(c),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return u(c)&&i++<l?(t.consume(c),f):n(c)}}const pr={tokenize:Ms,partial:!0},hr={name:"codeFenced",tokenize:Ls,concrete:!0};function Ls(t,e,n){const r=this,i={tokenize:S,partial:!0};let l=0,u=0,s;return o;function o(L){return a(L)}function a(L){const F=r.events[r.events.length-1];return l=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[1],!0).length:0,s=L,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),f(L)}function f(L){return L===s?(u++,t.consume(L),f):u<3?n(L):(t.exit("codeFencedFenceSequence"),ie(L)?se(t,c,"whitespace")(L):c(L))}function c(L){return L===null||Y(L)?(t.exit("codeFencedFence"),r.interrupt?e(L):t.check(pr,b,v)(L)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),p(L))}function p(L){return L===null||Y(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),c(L)):ie(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),se(t,m,"whitespace")(L)):L===96&&L===s?n(L):(t.consume(L),p)}function m(L){return L===null||Y(L)?c(L):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),h(L))}function h(L){return L===null||Y(L)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),c(L)):L===96&&L===s?n(L):(t.consume(L),h)}function b(L){return t.attempt(i,v,k)(L)}function k(L){return t.enter("lineEnding"),t.consume(L),t.exit("lineEnding"),g}function g(L){return l>0&&ie(L)?se(t,w,"linePrefix",l+1)(L):w(L)}function w(L){return L===null||Y(L)?t.check(pr,b,v)(L):(t.enter("codeFlowValue"),I(L))}function I(L){return L===null||Y(L)?(t.exit("codeFlowValue"),w(L)):(t.consume(L),I)}function v(L){return t.exit("codeFenced"),e(L)}function S(L,F,B){let J=0;return N;function N(re){return L.enter("lineEnding"),L.consume(re),L.exit("lineEnding"),P}function P(re){return L.enter("codeFencedFence"),ie(re)?se(L,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):q(re)}function q(re){return re===s?(L.enter("codeFencedFenceSequence"),ee(re)):B(re)}function ee(re){return re===s?(J++,L.consume(re),ee):J>=u?(L.exit("codeFencedFenceSequence"),ie(re)?se(L,ue,"whitespace")(re):ue(re)):B(re)}function ue(re){return re===null||Y(re)?(L.exit("codeFencedFence"),F(re)):B(re)}}}function Ms(t,e,n){const r=this;return i;function i(u){return u===null?n(u):(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),l)}function l(u){return r.parser.lazy[r.now().line]?n(u):e(u)}}const Zt={name:"codeIndented",tokenize:Es},Cs={tokenize:As,partial:!0};function Es(t,e,n){const r=this;return i;function i(a){return t.enter("codeIndented"),se(t,l,"linePrefix",5)(a)}function l(a){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?u(a):n(a)}function u(a){return a===null?o(a):Y(a)?t.attempt(Cs,u,o)(a):(t.enter("codeFlowValue"),s(a))}function s(a){return a===null||Y(a)?(t.exit("codeFlowValue"),u(a)):(t.consume(a),s)}function o(a){return t.exit("codeIndented"),e(a)}}function As(t,e,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):Y(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),i):se(t,l,"linePrefix",5)(u)}function l(u){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(u):Y(u)?i(u):n(u)}}const vs={name:"codeText",tokenize:Fs,resolve:Is,previous:Ns};function Is(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)i===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(i=r):(r===e||t[r][1].type==="lineEnding")&&(t[i][1].type="codeTextData",r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return t}function Ns(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Fs(t,e,n){let r=0,i,l;return u;function u(c){return t.enter("codeText"),t.enter("codeTextSequence"),s(c)}function s(c){return c===96?(t.consume(c),r++,s):(t.exit("codeTextSequence"),o(c))}function o(c){return c===null?n(c):c===32?(t.enter("space"),t.consume(c),t.exit("space"),o):c===96?(l=t.enter("codeTextSequence"),i=0,f(c)):Y(c)?(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),o):(t.enter("codeTextData"),a(c))}function a(c){return c===null||c===32||c===96||Y(c)?(t.exit("codeTextData"),o(c)):(t.consume(c),a)}function f(c){return c===96?(t.consume(c),i++,f):i===r?(t.exit("codeTextSequence"),t.exit("codeText"),e(c)):(l.type="codeTextData",a(c))}}class Hs{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,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,n,r){const i=n||0;this.setCursor(Math.trunc(e));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&$t(this.left,r),l.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),$t(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),$t(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);$t(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);$t(this.left,n.reverse())}}}function $t(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function Di(t){const e={};let n=-1,r,i,l,u,s,o,a;const f=new Hs(t);for(;++n<f.length;){for(;n in e;)n=e[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(o=r[1]._tokenizer.events,l=0,l<o.length&&o[l][1].type==="lineEndingBlank"&&(l+=2),l<o.length&&o[l][1].type==="content"))for(;++l<o.length&&o[l][1].type!=="content";)o[l][1].type==="chunkText"&&(o[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,zs(f,n)),n=e[n],a=!0);else if(r[1]._container){for(l=n,i=void 0;l--&&(u=f.get(l),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=l);i&&(r[1].end=Object.assign({},f.get(i)[1].start),s=f.slice(i,n),s.unshift(r),f.splice(i,n-i+1,s))}}return Je(t,0,Number.POSITIVE_INFINITY,f.slice(0)),!a}function zs(t,e){const n=t.get(e)[1],r=t.get(e)[2];let i=e-1;const l=[],u=n._tokenizer||r.parser[n.contentType](n.start),s=u.events,o=[],a={};let f,c,p=-1,m=n,h=0,b=0;const k=[b];for(;m;){for(;t.get(++i)[1]!==m;);l.push(i),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),c&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(f),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),c=m,m=m.next}for(m=n;++p<s.length;)s[p][0]==="exit"&&s[p-1][0]==="enter"&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(b=p+1,k.push(b),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):k.pop(),p=k.length;p--;){const g=s.slice(k[p],k[p+1]),w=l.pop();o.push([w,w+g.length-1]),t.splice(w,2,g)}for(o.reverse(),p=-1;++p<o.length;)a[h+o[p][0]]=h+o[p][1],h+=o[p][1]-o[p][0]-1;return a}const Ds={tokenize:Ps,resolve:Bs},Os={tokenize:js,partial:!0};function Bs(t){return Di(t),t}function Ps(t,e){let n;return r;function r(s){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?l(s):Y(s)?t.check(Os,u,l)(s):(t.consume(s),i)}function l(s){return t.exit("chunkContent"),t.exit("content"),e(s)}function u(s){return t.consume(s),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function js(t,e,n){const r=this;return i;function i(u){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),se(t,l,"linePrefix")}function l(u){if(u===null||Y(u))return n(u);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(u):t.interrupt(r.parser.constructs.flow,n,e)(u)}}function Oi(t,e,n,r,i,l,u,s,o){const a=o||Number.POSITIVE_INFINITY;let f=0;return c;function c(g){return g===60?(t.enter(r),t.enter(i),t.enter(l),t.consume(g),t.exit(l),p):g===null||g===32||g===41||un(g)?n(g):(t.enter(r),t.enter(u),t.enter(s),t.enter("chunkString",{contentType:"string"}),b(g))}function p(g){return g===62?(t.enter(l),t.consume(g),t.exit(l),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===62?(t.exit("chunkString"),t.exit(s),p(g)):g===null||g===60||Y(g)?n(g):(t.consume(g),g===92?h:m)}function h(g){return g===60||g===62||g===92?(t.consume(g),m):m(g)}function b(g){return!f&&(g===null||g===41||de(g))?(t.exit("chunkString"),t.exit(s),t.exit(u),t.exit(r),e(g)):f<a&&g===40?(t.consume(g),f++,b):g===41?(t.consume(g),f--,b):g===null||g===32||g===40||un(g)?n(g):(t.consume(g),g===92?k:b)}function k(g){return g===40||g===41||g===92?(t.consume(g),b):b(g)}}function Bi(t,e,n,r,i,l){const u=this;let s=0,o;return a;function a(m){return t.enter(r),t.enter(i),t.consume(m),t.exit(i),t.enter(l),f}function f(m){return s>999||m===null||m===91||m===93&&!o||m===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(t.exit(l),t.enter(i),t.consume(m),t.exit(i),t.exit(r),e):Y(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),f):(t.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===null||m===91||m===93||Y(m)||s++>999?(t.exit("chunkString"),f(m)):(t.consume(m),o||(o=!ie(m)),m===92?p:c)}function p(m){return m===91||m===92||m===93?(t.consume(m),s++,c):c(m)}}function Pi(t,e,n,r,i,l){let u;return s;function s(p){return p===34||p===39||p===40?(t.enter(r),t.enter(i),t.consume(p),t.exit(i),u=p===40?41:p,o):n(p)}function o(p){return p===u?(t.enter(i),t.consume(p),t.exit(i),t.exit(r),e):(t.enter(l),a(p))}function a(p){return p===u?(t.exit(l),o(u)):p===null?n(p):Y(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),se(t,a,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===u||p===null||Y(p)?(t.exit("chunkString"),a(p)):(t.consume(p),p===92?c:f)}function c(p){return p===u||p===92?(t.consume(p),f):f(p)}}function Lt(t,e){let n;return r;function r(i){return Y(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):ie(i)?se(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}const qs={name:"definition",tokenize:Us},Rs={tokenize:Vs,partial:!0};function Us(t,e,n){const r=this;let i;return l;function l(m){return t.enter("definition"),u(m)}function u(m){return Bi.call(r,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=Qe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(t.enter("definitionMarker"),t.consume(m),t.exit("definitionMarker"),o):n(m)}function o(m){return de(m)?Lt(t,a)(m):a(m)}function a(m){return Oi(t,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return t.attempt(Rs,c,c)(m)}function c(m){return ie(m)?se(t,p,"whitespace")(m):p(m)}function p(m){return m===null||Y(m)?(t.exit("definition"),r.parser.defined.push(i),e(m)):n(m)}}function Vs(t,e,n){return r;function r(s){return de(s)?Lt(t,i)(s):n(s)}function i(s){return Pi(t,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function l(s){return ie(s)?se(t,u,"whitespace")(s):u(s)}function u(s){return s===null||Y(s)?e(s):n(s)}}const Ws={name:"hardBreakEscape",tokenize:Qs};function Qs(t,e,n){return r;function r(l){return t.enter("hardBreakEscape"),t.consume(l),i}function i(l){return Y(l)?(t.exit("hardBreakEscape"),e(l)):n(l)}}const Gs={name:"headingAtx",tokenize:Js,resolve:Ys};function Ys(t,e){let n=t.length-2,r=3,i,l;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},l={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},Je(t,r,n-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),t}function Js(t,e,n){let r=0;return i;function i(f){return t.enter("atxHeading"),l(f)}function l(f){return t.enter("atxHeadingSequence"),u(f)}function u(f){return f===35&&r++<6?(t.consume(f),u):f===null||de(f)?(t.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(t.enter("atxHeadingSequence"),o(f)):f===null||Y(f)?(t.exit("atxHeading"),e(f)):ie(f)?se(t,s,"whitespace")(f):(t.enter("atxHeadingText"),a(f))}function o(f){return f===35?(t.consume(f),o):(t.exit("atxHeadingSequence"),s(f))}function a(f){return f===null||f===35||de(f)?(t.exit("atxHeadingText"),s(f)):(t.consume(f),a)}}const Xs=["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"],_r=["pre","script","style","textarea"],Zs={name:"htmlFlow",tokenize:to,resolveTo:eo,concrete:!0},Ks={tokenize:ro,partial:!0},xs={tokenize:no,partial:!0};function eo(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function to(t,e,n){const r=this;let i,l,u,s,o;return a;function a(y){return f(y)}function f(y){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(y),c}function c(y){return y===33?(t.consume(y),p):y===47?(t.consume(y),l=!0,b):y===63?(t.consume(y),i=3,r.interrupt?e:$):Ve(y)?(t.consume(y),u=String.fromCharCode(y),k):n(y)}function p(y){return y===45?(t.consume(y),i=2,m):y===91?(t.consume(y),i=5,s=0,h):Ve(y)?(t.consume(y),i=4,r.interrupt?e:$):n(y)}function m(y){return y===45?(t.consume(y),r.interrupt?e:$):n(y)}function h(y){const ze="CDATA[";return y===ze.charCodeAt(s++)?(t.consume(y),s===ze.length?r.interrupt?e:q:h):n(y)}function b(y){return Ve(y)?(t.consume(y),u=String.fromCharCode(y),k):n(y)}function k(y){if(y===null||y===47||y===62||de(y)){const ze=y===47,lt=u.toLowerCase();return!ze&&!l&&_r.includes(lt)?(i=1,r.interrupt?e(y):q(y)):Xs.includes(u.toLowerCase())?(i=6,ze?(t.consume(y),g):r.interrupt?e(y):q(y)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):l?w(y):I(y))}return y===45||Ne(y)?(t.consume(y),u+=String.fromCharCode(y),k):n(y)}function g(y){return y===62?(t.consume(y),r.interrupt?e:q):n(y)}function w(y){return ie(y)?(t.consume(y),w):N(y)}function I(y){return y===47?(t.consume(y),N):y===58||y===95||Ve(y)?(t.consume(y),v):ie(y)?(t.consume(y),I):N(y)}function v(y){return y===45||y===46||y===58||y===95||Ne(y)?(t.consume(y),v):S(y)}function S(y){return y===61?(t.consume(y),L):ie(y)?(t.consume(y),S):I(y)}function L(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(t.consume(y),o=y,F):ie(y)?(t.consume(y),L):B(y)}function F(y){return y===o?(t.consume(y),o=null,J):y===null||Y(y)?n(y):(t.consume(y),F)}function B(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||de(y)?S(y):(t.consume(y),B)}function J(y){return y===47||y===62||ie(y)?I(y):n(y)}function N(y){return y===62?(t.consume(y),P):n(y)}function P(y){return y===null||Y(y)?q(y):ie(y)?(t.consume(y),P):n(y)}function q(y){return y===45&&i===2?(t.consume(y),ke):y===60&&i===1?(t.consume(y),be):y===62&&i===4?(t.consume(y),he):y===63&&i===3?(t.consume(y),$):y===93&&i===5?(t.consume(y),pe):Y(y)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(Ks,ge,ee)(y)):y===null||Y(y)?(t.exit("htmlFlowData"),ee(y)):(t.consume(y),q)}function ee(y){return t.check(xs,ue,ge)(y)}function ue(y){return t.enter("lineEnding"),t.consume(y),t.exit("lineEnding"),re}function re(y){return y===null||Y(y)?ee(y):(t.enter("htmlFlowData"),q(y))}function ke(y){return y===45?(t.consume(y),$):q(y)}function be(y){return y===47?(t.consume(y),u="",ae):q(y)}function ae(y){if(y===62){const ze=u.toLowerCase();return _r.includes(ze)?(t.consume(y),he):q(y)}return Ve(y)&&u.length<8?(t.consume(y),u+=String.fromCharCode(y),ae):q(y)}function pe(y){return y===93?(t.consume(y),$):q(y)}function $(y){return y===62?(t.consume(y),he):y===45&&i===2?(t.consume(y),$):q(y)}function he(y){return y===null||Y(y)?(t.exit("htmlFlowData"),ge(y)):(t.consume(y),he)}function ge(y){return t.exit("htmlFlow"),e(y)}}function no(t,e,n){const r=this;return i;function i(u){return Y(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),l):n(u)}function l(u){return r.parser.lazy[r.now().line]?n(u):e(u)}}function ro(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(It,e,n)}}const io={name:"htmlText",tokenize:lo};function lo(t,e,n){const r=this;let i,l,u;return s;function s($){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume($),o}function o($){return $===33?(t.consume($),a):$===47?(t.consume($),S):$===63?(t.consume($),I):Ve($)?(t.consume($),B):n($)}function a($){return $===45?(t.consume($),f):$===91?(t.consume($),l=0,h):Ve($)?(t.consume($),w):n($)}function f($){return $===45?(t.consume($),m):n($)}function c($){return $===null?n($):$===45?(t.consume($),p):Y($)?(u=c,be($)):(t.consume($),c)}function p($){return $===45?(t.consume($),m):c($)}function m($){return $===62?ke($):$===45?p($):c($)}function h($){const he="CDATA[";return $===he.charCodeAt(l++)?(t.consume($),l===he.length?b:h):n($)}function b($){return $===null?n($):$===93?(t.consume($),k):Y($)?(u=b,be($)):(t.consume($),b)}function k($){return $===93?(t.consume($),g):b($)}function g($){return $===62?ke($):$===93?(t.consume($),g):b($)}function w($){return $===null||$===62?ke($):Y($)?(u=w,be($)):(t.consume($),w)}function I($){return $===null?n($):$===63?(t.consume($),v):Y($)?(u=I,be($)):(t.consume($),I)}function v($){return $===62?ke($):I($)}function S($){return Ve($)?(t.consume($),L):n($)}function L($){return $===45||Ne($)?(t.consume($),L):F($)}function F($){return Y($)?(u=F,be($)):ie($)?(t.consume($),F):ke($)}function B($){return $===45||Ne($)?(t.consume($),B):$===47||$===62||de($)?J($):n($)}function J($){return $===47?(t.consume($),ke):$===58||$===95||Ve($)?(t.consume($),N):Y($)?(u=J,be($)):ie($)?(t.consume($),J):ke($)}function N($){return $===45||$===46||$===58||$===95||Ne($)?(t.consume($),N):P($)}function P($){return $===61?(t.consume($),q):Y($)?(u=P,be($)):ie($)?(t.consume($),P):J($)}function q($){return $===null||$===60||$===61||$===62||$===96?n($):$===34||$===39?(t.consume($),i=$,ee):Y($)?(u=q,be($)):ie($)?(t.consume($),q):(t.consume($),ue)}function ee($){return $===i?(t.consume($),i=void 0,re):$===null?n($):Y($)?(u=ee,be($)):(t.consume($),ee)}function ue($){return $===null||$===34||$===39||$===60||$===61||$===96?n($):$===47||$===62||de($)?J($):(t.consume($),ue)}function re($){return $===47||$===62||de($)?J($):n($)}function ke($){return $===62?(t.consume($),t.exit("htmlTextData"),t.exit("htmlText"),e):n($)}function be($){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),ae}function ae($){return ie($)?se(t,pe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):pe($)}function pe($){return t.enter("htmlTextData"),u($)}}const Sn={name:"labelEnd",tokenize:co,resolveTo:fo,resolveAll:ao},uo={tokenize:mo},so={tokenize:po},oo={tokenize:ho};function ao(t){let e=-1;for(;++e<t.length;){const n=t[e][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(t.splice(e+1,n.type==="labelImage"?4:2),n.type="data",e++)}return t}function fo(t,e){let n=t.length,r=0,i,l,u,s;for(;n--;)if(i=t[n][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(t[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const o={type:t[l][1].type==="labelLink"?"link":"image",start:Object.assign({},t[l][1].start),end:Object.assign({},t[t.length-1][1].end)},a={type:"label",start:Object.assign({},t[l][1].start),end:Object.assign({},t[u][1].end)},f={type:"labelText",start:Object.assign({},t[l+r+2][1].end),end:Object.assign({},t[u-2][1].start)};return s=[["enter",o,e],["enter",a,e]],s=Me(s,t.slice(l+1,l+r+3)),s=Me(s,[["enter",f,e]]),s=Me(s,yn(e.parser.constructs.insideSpan.null,t.slice(l+r+4,u-3),e)),s=Me(s,[["exit",f,e],t[u-2],t[u-1],["exit",a,e]]),s=Me(s,t.slice(u+1)),s=Me(s,[["exit",o,e]]),Je(t,l,t.length,s),t}function co(t,e,n){const r=this;let i=r.events.length,l,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return s;function s(p){return l?l._inactive?c(p):(u=r.parser.defined.includes(Qe(r.sliceSerialize({start:l.end,end:r.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(p),t.exit("labelMarker"),t.exit("labelEnd"),o):n(p)}function o(p){return p===40?t.attempt(uo,f,u?f:c)(p):p===91?t.attempt(so,f,u?a:c)(p):u?f(p):c(p)}function a(p){return t.attempt(oo,f,c)(p)}function f(p){return e(p)}function c(p){return l._balanced=!0,n(p)}}function mo(t,e,n){return r;function r(c){return t.enter("resource"),t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),i}function i(c){return de(c)?Lt(t,l)(c):l(c)}function l(c){return c===41?f(c):Oi(t,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function u(c){return de(c)?Lt(t,o)(c):f(c)}function s(c){return n(c)}function o(c){return c===34||c===39||c===40?Pi(t,a,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function a(c){return de(c)?Lt(t,f)(c):f(c)}function f(c){return c===41?(t.enter("resourceMarker"),t.consume(c),t.exit("resourceMarker"),t.exit("resource"),e):n(c)}}function po(t,e,n){const r=this;return i;function i(s){return Bi.call(r,t,l,u,"reference","referenceMarker","referenceString")(s)}function l(s){return r.parser.defined.includes(Qe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(s):n(s)}function u(s){return n(s)}}function ho(t,e,n){return r;function r(l){return t.enter("reference"),t.enter("referenceMarker"),t.consume(l),t.exit("referenceMarker"),i}function i(l){return l===93?(t.enter("referenceMarker"),t.consume(l),t.exit("referenceMarker"),t.exit("reference"),e):n(l)}}const _o={name:"labelStartImage",tokenize:go,resolveAll:Sn.resolveAll};function go(t,e,n){const r=this;return i;function i(s){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(s),t.exit("labelImageMarker"),l}function l(s){return s===91?(t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelImage"),u):n(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):e(s)}}const bo={name:"labelStartLink",tokenize:ko,resolveAll:Sn.resolveAll};function ko(t,e,n){const r=this;return i;function i(u){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(u),t.exit("labelMarker"),t.exit("labelLink"),l}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):e(u)}}const Kt={name:"lineEnding",tokenize:wo};function wo(t,e){return n;function n(r){return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),se(t,e,"linePrefix")}}const Bt={name:"thematicBreak",tokenize:$o};function $o(t,e,n){let r=0,i;return l;function l(a){return t.enter("thematicBreak"),u(a)}function u(a){return i=a,s(a)}function s(a){return a===i?(t.enter("thematicBreakSequence"),o(a)):r>=3&&(a===null||Y(a))?(t.exit("thematicBreak"),e(a)):n(a)}function o(a){return a===i?(t.consume(a),r++,o):(t.exit("thematicBreakSequence"),ie(a)?se(t,s,"whitespace")(a):s(a))}}const ve={name:"list",tokenize:To,continuation:{tokenize:Lo},exit:Co},yo={tokenize:Eo,partial:!0},So={tokenize:Mo,partial:!0};function To(t,e,n){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return s;function s(m){const h=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:sn(m)){if(r.containerState.type||(r.containerState.type=h,t.enter(h,{_container:!0})),h==="listUnordered")return t.enter("listItemPrefix"),m===42||m===45?t.check(Bt,n,a)(m):a(m);if(!r.interrupt||m===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),o(m)}return n(m)}function o(m){return sn(m)&&++u<10?(t.consume(m),o):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(t.exit("listItemValue"),a(m)):n(m)}function a(m){return t.enter("listItemMarker"),t.consume(m),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,t.check(It,r.interrupt?n:f,t.attempt(yo,p,c))}function f(m){return r.containerState.initialBlankLine=!0,l++,p(m)}function c(m){return ie(m)?(t.enter("listItemPrefixWhitespace"),t.consume(m),t.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=l+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(m)}}function Lo(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(It,i,l);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,se(t,e,"listItemIndent",r.containerState.size+1)(s)}function l(s){return r.containerState.furtherBlankLines||!ie(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(So,e,u)(s))}function u(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,se(t,t.attempt(ve,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Mo(t,e,n){const r=this;return se(t,i,"listItemIndent",r.containerState.size+1);function i(l){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?e(l):n(l)}}function Co(t){t.exit(this.containerState.type)}function Eo(t,e,n){const r=this;return se(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const u=r.events[r.events.length-1];return!ie(l)&&u&&u[1].type==="listItemPrefixWhitespace"?e(l):n(l)}}const gr={name:"setextUnderline",tokenize:vo,resolveTo:Ao};function Ao(t,e){let n=t.length,r,i,l;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!l&&t[n][1].type==="definition"&&(l=n);const u={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",l?(t.splice(i,0,["enter",u,e]),t.splice(l+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[l][1].end)):t[r][1]=u,t.push(["exit",u,e]),t}function vo(t,e,n){const r=this;let i;return l;function l(a){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(t.enter("setextHeadingLine"),i=a,u(a)):n(a)}function u(a){return t.enter("setextHeadingLineSequence"),s(a)}function s(a){return a===i?(t.consume(a),s):(t.exit("setextHeadingLineSequence"),ie(a)?se(t,o,"lineSuffix")(a):o(a))}function o(a){return a===null||Y(a)?(t.exit("setextHeadingLine"),e(a)):n(a)}}const Io={tokenize:No};function No(t){const e=this,n=t.attempt(It,r,t.attempt(this.parser.constructs.flowInitial,i,se(t,t.attempt(this.parser.constructs.flow,i,t.attempt(Ds,i)),"linePrefix")));return n;function r(l){if(l===null){t.consume(l);return}return t.enter("lineEndingBlank"),t.consume(l),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(l){if(l===null){t.consume(l);return}return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const Fo={resolveAll:qi()},Ho=ji("string"),zo=ji("text");function ji(t){return{tokenize:e,resolveAll:qi(t==="text"?Do:void 0)};function e(n){const r=this,i=this.parser.constructs[t],l=n.attempt(i,u,s);return u;function u(f){return a(f)?l(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),o}function o(f){return a(f)?(n.exit("data"),l(f)):(n.consume(f),o)}function a(f){if(f===null)return!0;const c=i[f];let p=-1;if(c)for(;++p<c.length;){const m=c[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function qi(t){return e;function e(n,r){let i=-1,l;for(;++i<=n.length;)l===void 0?n[i]&&n[i][1].type==="data"&&(l=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==l+2&&(n[l][1].end=n[i-1][1].end,n.splice(l+2,i-l-2),i=l+2),l=void 0);return t?t(n,r):n}}function Do(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){const r=t[n-1][1],i=e.sliceStream(r);let l=i.length,u=-1,s=0,o;for(;l--;){const a=i[l];if(typeof a=="string"){for(u=a.length;a.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(a===-2)o=!0,s++;else if(a!==-1){l++;break}}if(s){const a={type:n===t.length||o||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+l,_bufferIndex:l?u:r.start._bufferIndex+u},end:Object.assign({},r.end)};r.end=Object.assign({},a.start),r.start.offset===r.end.offset?Object.assign(r,a):(t.splice(n,0,["enter",a,e],["exit",a,e]),n+=2)}n++}return t}function Oo(t,e,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},l=[];let u=[],s=[];const o={consume:w,enter:I,exit:v,attempt:F(S),check:F(L),interrupt:F(L,{interrupt:!0})},a={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:m,sliceSerialize:p,now:h,defineSkip:b,write:c};let f=e.tokenize.call(a,o);return e.resolveAll&&l.push(e),a;function c(P){return u=Me(u,P),k(),u[u.length-1]!==null?[]:(B(e,0),a.events=yn(l,a.events,a),a.events)}function p(P,q){return Po(m(P),q)}function m(P){return Bo(u,P)}function h(){const{line:P,column:q,offset:ee,_index:ue,_bufferIndex:re}=r;return{line:P,column:q,offset:ee,_index:ue,_bufferIndex:re}}function b(P){i[P.line]=P.column,N()}function k(){let P;for(;r._index<u.length;){const q=u[r._index];if(typeof q=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<q.length;)g(q.charCodeAt(r._bufferIndex));else g(q)}}function g(P){f=f(P)}function w(P){Y(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,N()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),a.previous=P}function I(P,q){const ee=q||{};return ee.type=P,ee.start=h(),a.events.push(["enter",ee,a]),s.push(ee),ee}function v(P){const q=s.pop();return q.end=h(),a.events.push(["exit",q,a]),q}function S(P,q){B(P,q.from)}function L(P,q){q.restore()}function F(P,q){return ee;function ee(ue,re,ke){let be,ae,pe,$;return Array.isArray(ue)?ge(ue):"tokenize"in ue?ge([ue]):he(ue);function he(we){return kt;function kt(Ze){const ut=Ze!==null&&we[Ze],st=Ze!==null&&we.null,Jt=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(st)?st:st?[st]:[]];return ge(Jt)(Ze)}}function ge(we){return be=we,ae=0,we.length===0?ke:y(we[ae])}function y(we){return kt;function kt(Ze){return $=J(),pe=we,we.partial||(a.currentConstruct=we),we.name&&a.parser.constructs.disable.null.includes(we.name)?lt():we.tokenize.call(q?Object.assign(Object.create(a),q):a,o,ze,lt)(Ze)}}function ze(we){return P(pe,$),re}function lt(we){return $.restore(),++ae<be.length?y(be[ae]):ke}}}function B(P,q){P.resolveAll&&!l.includes(P)&&l.push(P),P.resolve&&Je(a.events,q,a.events.length-q,P.resolve(a.events.slice(q),a)),P.resolveTo&&(a.events=P.resolveTo(a.events,a))}function J(){const P=h(),q=a.previous,ee=a.currentConstruct,ue=a.events.length,re=Array.from(s);return{restore:ke,from:ue};function ke(){r=P,a.previous=q,a.currentConstruct=ee,a.events.length=ue,s=re,N()}}function N(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Bo(t,e){const n=e.start._index,r=e.start._bufferIndex,i=e.end._index,l=e.end._bufferIndex;let u;if(n===i)u=[t[n].slice(r,l)];else{if(u=t.slice(n,i),r>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(r):u.shift()}l>0&&u.push(t[i].slice(0,l))}return u}function Po(t,e){let n=-1;const r=[];let i;for(;++n<t.length;){const l=t[n];let u;if(typeof l=="string")u=l;else switch(l){case-5:{u="\r";break}case-4:{u=`
4
- `;break}case-3:{u=`\r
5
- `;break}case-2:{u=e?" ":" ";break}case-1:{if(!e&&i)continue;u=" ";break}default:u=String.fromCharCode(l)}i=l===-2,r.push(u)}return r.join("")}const jo={42:ve,43:ve,45:ve,48:ve,49:ve,50:ve,51:ve,52:ve,53:ve,54:ve,55:ve,56:ve,57:ve,62:Fi},qo={91:qs},Ro={[-2]:Zt,[-1]:Zt,32:Zt},Uo={35:Gs,42:Bt,45:[gr,Bt],60:Zs,61:gr,95:Bt,96:hr,126:hr},Vo={38:zi,92:Hi},Wo={[-5]:Kt,[-4]:Kt,[-3]:Kt,33:_o,38:zi,42:on,60:[ds,io],91:bo,92:[Ws,Hi],93:Sn,95:on,96:vs},Qo={null:[on,Fo]},Go={null:[42,95]},Yo={null:[]},Jo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Go,contentInitial:qo,disable:Yo,document:jo,flow:Uo,flowInitial:Ro,insideSpan:Qo,string:Vo,text:Wo},Symbol.toStringTag,{value:"Module"}));function Xo(t){const n=Ju([Jo,...(t||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(fs),document:i(ms),flow:i(Io),string:i(Ho),text:i(zo)};return r;function i(l){return u;function u(s){return Oo(r,l,s)}}}function Zo(t){for(;!Di(t););return t}const dr=/[\0\t\n\r]/g;function Ko(){let t=1,e="",n=!0,r;return i;function i(l,u,s){const o=[];let a,f,c,p,m;for(l=e+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),c=0,e="",n&&(l.charCodeAt(0)===65279&&c++,n=void 0);c<l.length;){if(dr.lastIndex=c,a=dr.exec(l),p=a&&a.index!==void 0?a.index:l.length,m=l.charCodeAt(p),!a){e=l.slice(c);break}if(m===10&&c===p&&r)o.push(-3),r=void 0;else switch(r&&(o.push(-5),r=void 0),c<p&&(o.push(l.slice(c,p)),t+=p-c),m){case 0:{o.push(65533),t++;break}case 9:{for(f=Math.ceil(t/4)*4,o.push(-2);t++<f;)o.push(-1);break}case 10:{o.push(-4),t=1;break}default:r=!0,t=1}c=p+1}return s&&(r&&o.push(-5),e&&o.push(e),o.push(null)),o}}function xo(t,e,n){return typeof e!="string"&&(n=e,e=void 0),as(n)(Zo(Xo(n).document().write(Ko()(t,e,!0))))}const ea={tokenize:oa,partial:!0};function ta(){return{document:{91:{tokenize:la,continuation:{tokenize:ua},exit:sa}},text:{91:{tokenize:ia},93:{add:"after",tokenize:na,resolveTo:ra}}}}function na(t,e,n){const r=this;let i=r.events.length;const l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;i--;){const o=r.events[i][1];if(o.type==="labelImage"){u=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return s;function s(o){if(!u||!u._balanced)return n(o);const a=Qe(r.sliceSerialize({start:u.end,end:r.now()}));return a.codePointAt(0)!==94||!l.includes(a.slice(1))?n(o):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),e(o))}}function ra(t,e){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},t[t.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},s=[t[n+1],t[n+2],["enter",r,e],t[n+3],t[n+4],["enter",i,e],["exit",i,e],["enter",l,e],["enter",u,e],["exit",u,e],["exit",l,e],t[t.length-2],t[t.length-1],["exit",r,e]];return t.splice(n,t.length-n+1,...s),t}function ia(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l=0,u;return s;function s(c){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),o}function o(c){return c!==94?n(c):(t.enter("gfmFootnoteCallMarker"),t.consume(c),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",a)}function a(c){if(l>999||c===93&&!u||c===null||c===91||de(c))return n(c);if(c===93){t.exit("chunkString");const p=t.exit("gfmFootnoteCallString");return i.includes(Qe(r.sliceSerialize(p)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(c),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(c)}return de(c)||(u=!0),l++,t.consume(c),c===92?f:a}function f(c){return c===91||c===92||c===93?(t.consume(c),l++,a):a(c)}}function la(t,e,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l,u=0,s;return o;function o(h){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionLabelMarker"),a}function a(h){return h===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",f):n(h)}function f(h){if(u>999||h===93&&!s||h===null||h===91||de(h))return n(h);if(h===93){t.exit("chunkString");const b=t.exit("gfmFootnoteDefinitionLabelString");return l=Qe(r.sliceSerialize(b)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),p}return de(h)||(s=!0),u++,t.consume(h),h===92?c:f}function c(h){return h===91||h===92||h===93?(t.consume(h),u++,f):f(h)}function p(h){return h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),i.includes(l)||i.push(l),se(t,m,"gfmFootnoteDefinitionWhitespace")):n(h)}function m(h){return e(h)}}function ua(t,e,n){return t.check(It,e,t.attempt(ea,e,n))}function sa(t){t.exit("gfmFootnoteDefinition")}function oa(t,e,n){const r=this;return se(t,i,"gfmFootnoteDefinitionIndent",5);function i(l){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?e(l):n(l)}}const aa={}.hasOwnProperty,fa={};function ca(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function ma(t){const e=fa,n=e.label||"Footnotes",r=e.labelTagName||"h2",i=e.labelAttributes===null||e.labelAttributes===void 0?'class="sr-only"':e.labelAttributes,l=e.backLabel||ca,u=e.clobberPrefix===null||e.clobberPrefix===void 0?"user-content-":e.clobberPrefix;return{enter:{gfmFootnoteDefinition(){this.getData("tightStack").push(!1)},gfmFootnoteDefinitionLabelString(){this.buffer()},gfmFootnoteCallString(){this.buffer()}},exit:{gfmFootnoteDefinition(){let s=this.getData("gfmFootnoteDefinitions");const o=this.getData("gfmFootnoteDefinitionStack"),a=this.getData("tightStack"),f=o.pop(),c=this.resume();s||this.setData("gfmFootnoteDefinitions",s={}),aa.call(s,f)||(s[f]=c),a.pop(),this.setData("slurpOneLineEnding",!0),this.setData("lastWasTag")},gfmFootnoteDefinitionLabelString(s){let o=this.getData("gfmFootnoteDefinitionStack");o||this.setData("gfmFootnoteDefinitionStack",o=[]),o.push(Qe(this.sliceSerialize(s))),this.resume(),this.buffer()},gfmFootnoteCallString(s){let o=this.getData("gfmFootnoteCallOrder"),a=this.getData("gfmFootnoteCallCounts");const f=Qe(this.sliceSerialize(s));let c;this.resume(),o||this.setData("gfmFootnoteCallOrder",o=[]),a||this.setData("gfmFootnoteCallCounts",a={});const p=o.indexOf(f),m=mt(f.toLowerCase());p===-1?(o.push(f),a[f]=1,c=o.length):(a[f]++,c=p+1);const h=a[f];this.tag('<sup><a href="#'+u+"fn-"+m+'" id="'+u+"fnref-"+m+(h>1?"-"+h:"")+'" data-footnote-ref="" aria-describedby="footnote-label">'+String(c)+"</a></sup>")},null(){const s=this.getData("gfmFootnoteCallOrder")||[],o=this.getData("gfmFootnoteCallCounts")||{},a=this.getData("gfmFootnoteDefinitions")||{};let f=-1;for(s.length>0&&(this.lineEndingIfNeeded(),this.tag('<section data-footnotes="" class="footnotes"><'+r+' id="footnote-label"'+(i?" "+i:"")+">"),this.raw(this.encode(n)),this.tag("</"+r+">"),this.lineEndingIfNeeded(),this.tag("<ol>"));++f<s.length;){const c=s[f],p=mt(c.toLowerCase());let m=0;const h=[];for(;++m<=o[c];)h.push('<a href="#'+u+"fnref-"+p+(m>1?"-"+m:"")+'" data-footnote-backref="" aria-label="'+this.encode(typeof l=="string"?l:l(f,m))+'" class="data-footnote-backref">↩'+(m>1?"<sup>"+m+"</sup>":"")+"</a>");const b=h.join(" ");let k=!1;this.lineEndingIfNeeded(),this.tag('<li id="'+u+"fn-"+p+'">'),this.lineEndingIfNeeded(),this.tag(a[c].replace(/<\/p>(?:\r?\n|\r)?$/,function(g){return k=!0," "+b+g})),k||(this.lineEndingIfNeeded(),this.tag(b)),this.lineEndingIfNeeded(),this.tag("</li>")}s.length>0&&(this.lineEndingIfNeeded(),this.tag("</ol>"),this.lineEndingIfNeeded(),this.tag("</section>"))}}}}const xt={none:"",left:' align="left"',right:' align="right"',center:' align="center"'};function pa(){return{enter:{table(t){const e=t._align;this.lineEndingIfNeeded(),this.tag("<table>"),this.setData("tableAlign",e)},tableBody(){this.tag("<tbody>")},tableData(){const t=this.getData("tableAlign"),e=this.getData("tableColumn"),n=xt[t[e]];n===void 0?this.buffer():(this.lineEndingIfNeeded(),this.tag("<td"+n+">"))},tableHead(){this.lineEndingIfNeeded(),this.tag("<thead>")},tableHeader(){const t=this.getData("tableAlign"),e=this.getData("tableColumn"),n=xt[t[e]];this.lineEndingIfNeeded(),this.tag("<th"+n+">")},tableRow(){this.setData("tableColumn",0),this.lineEndingIfNeeded(),this.tag("<tr>")}},exit:{codeTextData(t){let e=this.sliceSerialize(t);this.getData("tableAlign")&&(e=e.replace(/\\([\\|])/g,ha)),this.raw(this.encode(e))},table(){this.setData("tableAlign"),this.setData("slurpAllLineEndings"),this.lineEndingIfNeeded(),this.tag("</table>")},tableBody(){this.lineEndingIfNeeded(),this.tag("</tbody>")},tableData(){const t=this.getData("tableAlign"),e=this.getData("tableColumn");e in t?(this.tag("</td>"),this.setData("tableColumn",e+1)):this.resume()},tableHead(){this.lineEndingIfNeeded(),this.tag("</thead>")},tableHeader(){const t=this.getData("tableColumn");this.tag("</th>"),this.setData("tableColumn",t+1)},tableRow(){const t=this.getData("tableAlign");let e=this.getData("tableColumn");for(;e<t.length;)this.lineEndingIfNeeded(),this.tag("<td"+xt[t[e]]+"></td>"),e++;this.setData("tableColumn",e),this.lineEndingIfNeeded(),this.tag("</tr>")}}}}function ha(t,e){return e==="|"?e:t}class _a{constructor(){this.map=[]}add(e,n,r){ga(this,e,n,r)}consume(e){if(this.map.sort(function(l,u){return l[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push([...e]),e.length=0;let i=r.pop();for(;i;)e.push(...i),i=r.pop();this.map.length=0}}function ga(t,e,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...r);return}i+=1}t.map.push([e,n,r])}}function da(t,e){let n=!1;const r=[];for(;e<t.length;){const i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const l=r.length-1;r[l]=r[l]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function ba(){return{flow:{null:{tokenize:ka,resolveAll:wa}}}}function ka(t,e,n){const r=this;let i=0,l=0,u;return s;function s(N){let P=r.events.length-1;for(;P>-1;){const ue=r.events[P][1].type;if(ue==="lineEnding"||ue==="linePrefix")P--;else break}const q=P>-1?r.events[P][1].type:null,ee=q==="tableHead"||q==="tableRow"?L:o;return ee===L&&r.parser.lazy[r.now().line]?n(N):ee(N)}function o(N){return t.enter("tableHead"),t.enter("tableRow"),a(N)}function a(N){return N===124||(u=!0,l+=1),f(N)}function f(N){return N===null?n(N):Y(N)?l>1?(l=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(N),t.exit("lineEnding"),m):n(N):ie(N)?se(t,f,"whitespace")(N):(l+=1,u&&(u=!1,i+=1),N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),u=!0,f):(t.enter("data"),c(N)))}function c(N){return N===null||N===124||de(N)?(t.exit("data"),f(N)):(t.consume(N),N===92?p:c)}function p(N){return N===92||N===124?(t.consume(N),c):c(N)}function m(N){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(N):(t.enter("tableDelimiterRow"),u=!1,ie(N)?se(t,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):h(N))}function h(N){return N===45||N===58?k(N):N===124?(u=!0,t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),b):S(N)}function b(N){return ie(N)?se(t,k,"whitespace")(N):k(N)}function k(N){return N===58?(l+=1,u=!0,t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),g):N===45?(l+=1,g(N)):N===null||Y(N)?v(N):S(N)}function g(N){return N===45?(t.enter("tableDelimiterFiller"),w(N)):S(N)}function w(N){return N===45?(t.consume(N),w):N===58?(u=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(N),t.exit("tableDelimiterMarker"),I):(t.exit("tableDelimiterFiller"),I(N))}function I(N){return ie(N)?se(t,v,"whitespace")(N):v(N)}function v(N){return N===124?h(N):N===null||Y(N)?!u||i!==l?S(N):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(N)):S(N)}function S(N){return n(N)}function L(N){return t.enter("tableRow"),F(N)}function F(N){return N===124?(t.enter("tableCellDivider"),t.consume(N),t.exit("tableCellDivider"),F):N===null||Y(N)?(t.exit("tableRow"),e(N)):ie(N)?se(t,F,"whitespace")(N):(t.enter("data"),B(N))}function B(N){return N===null||N===124||de(N)?(t.exit("data"),F(N)):(t.consume(N),N===92?J:B)}function J(N){return N===92||N===124?(t.consume(N),B):B(N)}}function wa(t,e){let n=-1,r=!0,i=0,l=[0,0,0,0],u=[0,0,0,0],s=!1,o=0,a,f,c;const p=new _a;for(;++n<t.length;){const m=t[n],h=m[1];m[0]==="enter"?h.type==="tableHead"?(s=!1,o!==0&&(br(p,e,o,a,f),f=void 0,o=0),a={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",a,e]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(r=!0,c=void 0,l=[0,0,0,0],u=[0,n+1,0,0],s&&(s=!1,f={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",f,e]])),i=h.type==="tableDelimiterRow"?2:f?3:1):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(l[1]!==0&&(u[0]=u[1],c=Ht(p,e,l,i,void 0,c),l=[0,0,0,0]),u[2]=n)):h.type==="tableCellDivider"&&(r?r=!1:(l[1]!==0&&(u[0]=u[1],c=Ht(p,e,l,i,void 0,c)),l=u,u=[l[1],n,0,0])):h.type==="tableHead"?(s=!0,o=n):h.type==="tableRow"||h.type==="tableDelimiterRow"?(o=n,l[1]!==0?(u[0]=u[1],c=Ht(p,e,l,i,n,c)):u[1]!==0&&(c=Ht(p,e,u,i,n,c)),i=0):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(u[3]=n)}for(o!==0&&br(p,e,o,a,f),p.consume(e.events),n=-1;++n<e.events.length;){const m=e.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=da(e.events,n))}return t}function Ht(t,e,n,r,i,l){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(l.end=Object.assign({},ft(e.events,n[0])),t.add(n[0],0,[["exit",l,e]]));const o=ft(e.events,n[1]);if(l={type:u,start:Object.assign({},o),end:Object.assign({},o)},t.add(n[1],0,[["enter",l,e]]),n[2]!==0){const a=ft(e.events,n[2]),f=ft(e.events,n[3]),c={type:s,start:Object.assign({},a),end:Object.assign({},f)};if(t.add(n[2],0,[["enter",c,e]]),r!==2){const p=e.events[n[2]],m=e.events[n[3]];if(p[1].end=Object.assign({},m[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const h=n[2]+1,b=n[3]-n[2]-1;t.add(h,b,[])}}t.add(n[3]+1,0,[["exit",c,e]])}return i!==void 0&&(l.end=Object.assign({},ft(e.events,i)),t.add(i,0,[["exit",l,e]]),l=void 0),l}function br(t,e,n,r,i){const l=[],u=ft(e.events,n);i&&(i.end=Object.assign({},u),l.push(["exit",i,e])),r.end=Object.assign({},u),l.push(["exit",r,e]),t.add(n+1,0,l)}function ft(t,e){const n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}function $a(){return{enter:{taskListCheck(){this.tag('<input type="checkbox" disabled="" ')}},exit:{taskListCheck(){this.tag("/>")},taskListCheckValueChecked(){this.tag('checked="" ')}}}}const ya={tokenize:Ta};function Sa(){return{text:{91:ya}}}function Ta(t,e,n){const r=this;return i;function i(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(o):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),l)}function l(o){return de(o)?(t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),u):o===88||o===120?(t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),u):n(o)}function u(o){return o===93?(t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):n(o)}function s(o){return Y(o)?e(o):ie(o)?t.check({tokenize:La},e,n)(o):n(o)}}function La(t,e,n){return se(t,r,"whitespace");function r(i){return i===null?n(i):e(i)}}var Ma={allowDangerousHtml:!0,allowDangerousProtocol:!0,extensions:[ta(),Sa(),ba()],htmlExtensions:[$a(),ma(),pa()]};const Ca=t=>xo(t,Ma);function Ea(t){let e;return{c(){e=d("b"),_(e,"class","w _1s86zdk")},m(n,r){E(n,e,r)},p:H,i:H,o:H,d(n){n&&C(e)}}}class Fe extends W{constructor(e){super(),V(this,e,null,Ea,U,{})}}const Aa=hu(async t=>pu(await _u(_I18N+"@0.1.12/"+t+".js")))[0],oe=t=>()=>Aa(t),Tn=document,Mt=Tn.documentElement;function va(t){let e,n,r,i,l,u,s,o,a,f,c,p,m,h;return{c(){e=d("div"),n=d("h1"),r=d("div"),i=d("div"),l=d("div"),u=d("div"),s=d("div"),o=d("div"),a=d("div"),f=d("div"),c=d("div"),p=d("div"),p.innerHTML='<div class="box__eye-left _s6tbcc"></div><div class="box__eye-right _s6tbcc"></div>',m=d("div"),m.innerHTML='<div class="_s6tbcc"></div><div class="_s6tbcc"></div><div class="_s6tbcc"></div><div class="_s6tbcc"></div><div class="_s6tbcc"></div>',h=d("div"),_(n,"class","_s6tbcc"),_(l,"class","symbol _s6tbcc"),_(u,"class","symbol _s6tbcc"),_(s,"class","symbol _s6tbcc"),_(o,"class","symbol _s6tbcc"),_(a,"class","symbol _s6tbcc"),_(f,"class","symbol _s6tbcc"),_(p,"class","box__ghost-eyes _s6tbcc"),_(m,"class","box__ghost-bottom _s6tbcc"),_(c,"class","box__ghost-container _s6tbcc"),_(h,"class","box__ghost-shadow _s6tbcc"),_(i,"class","box__ghost _s6tbcc"),_(r,"class","box _s6tbcc"),_(e,"class","W _s6tbcc")},m(b,k){E(b,e,k),T(e,n),n.innerHTML=t[1],T(e,r),T(r,i),T(i,l),T(i,u),T(i,s),T(i,o),T(i,a),T(i,f),T(i,c),T(c,p),t[2](p),T(c,m),T(i,h)},p(b,[k]){k&2&&(n.innerHTML=b[1])},i:H,o:H,d(b){b&&C(e),t[2](null)}}}function Ia(t,e,n){var r,i;i="",R(oe(function(){n(1,i=this[39])})),R(()=>{var u,s,o,a;return rn(i),o=Mt.offsetWidth,a=Mt.offsetHeight,s=0,u=0,Ee(Mt,{mousemove:f=>{var c,p;s=f.pageY,u=f.pageX/-o,p=-(a/2-s)/a*400-100,c=-u*100-100,n(0,r.style=`transform:translate(${c}%,${p}%)`,r)}})});function l(u){le[u?"unshift":"push"](()=>{r=u,n(0,r)})}return[r,i,l]}class Ln extends W{constructor(e){super(),V(this,e,Ia,va,U,{})}}function Na(t){let e;return{c(){e=d("b"),_(e,"class","m _1cxs0kn")},m(n,r){E(n,e,r),e.innerHTML=t[0],t[2](e)},p(n,r){r&1&&(e.innerHTML=n[0])},i:H,o:H,d(n){n&&C(e),t[2](null)}}}function Fa(t){let e,n;return e=new Ln({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Ha(t){let e,n,r,i;const l=[Fa,Na],u=[];function s(o,a){return o[0]===0?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function za(t,e,n){var r;let{md:i}=e;R($n(async()=>{if(i!==0)return n(0,i=Ca(i)),await Xe(),Yu(r)}));function l(u){le[u?"unshift":"push"](()=>{r=u,n(1,r)})}return t.$$set=u=>{"md"in u&&n(0,i=u.md)},[i,r,l]}class Mn extends W{constructor(e){super(),V(this,e,za,Ha,U,{md:0})}}function Da(t){let e,n;return e=new Mn({props:{md:t[0]}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&1&&(l.md=r[0]),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Oa(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Ba(t){let e,n,r,i;const l=[Oa,Da],u=[];function s(o,a){return o[0]==null?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Pa(t,e,n){var r;let{url:i}=e;return R(async()=>{n(0,r=await dn(i))}),t.$$set=l=>{"url"in l&&n(1,i=l.url)},[r,i]}class Ri extends W{constructor(e){super(),V(this,e,Pa,Ba,U,{url:1})}}const Ui=!matchMedia("(any-hover:none)").matches;function kr(t){let e,n,r;var i=t[2];function l(u,s){return{props:{b:u[0],m:u[1]}}}return i&&(e=xe(i,l(t))),{c(){e&&j(e.$$.fragment),n=x()},m(u,s){e&&D(e,u,s),E(u,n,s),r=!0},p(u,s){if(s&4&&i!==(i=u[2])){if(e){te();const o=e;A(o.$$.fragment,1,0,()=>{O(o,1)}),ne()}i?(e=xe(i,l(u)),j(e.$$.fragment),M(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}else if(i){const o={};s&1&&(o.b=u[0]),s&2&&(o.m=u[1]),e.$set(o)}},i(u){r||(e&&M(e.$$.fragment,u),r=!0)},o(u){e&&A(e.$$.fragment,u),r=!1},d(u){u&&C(n),e&&O(e,u)}}}function ja(t){let e,n,r,i;const l=t[4].default,u=$e(l,t,t[3],null);let s=t[2]&&kr(t);return{c(){e=d("b"),n=d("div"),r=d("div"),u&&u.c(),s&&s.c(),_(r,"class","m _1na9mh7"),_(n,"class","_1na9mh7"),_(e,"class","scroll _1na9mh7")},m(o,a){E(o,e,a),T(e,n),T(n,r),u&&u.m(r,null),t[5](r),s&&s.m(e,null),t[6](e),i=!0},p(o,[a]){u&&u.p&&(!i||a&8)&&Se(u,l,o,o[3],i?ye(l,o[3],a,null):Te(o[3]),null),o[2]?s?(s.p(o,a),a&4&&M(s,1)):(s=kr(o),s.c(),M(s,1),s.m(e,null)):s&&(te(),A(s,1,1,()=>{s=null}),ne())},i(o){i||(M(u,o),M(s),i=!0)},o(o){A(u,o),A(s),i=!1},d(o){o&&C(e),u&&u.d(o),t[5](null),s&&s.d(),t[6](null)}}}function qa(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;let{root:u,main:s}=e;R(async()=>{Ui&&n(2,l=(await kn(()=>import("./0.js"),__vite__mapDeps([0,1,2]))).default)});function o(f){le[f?"unshift":"push"](()=>{s=f,n(1,s)})}function a(f){le[f?"unshift":"push"](()=>{u=f,n(0,u)})}return t.$$set=f=>{"root"in f&&n(0,u=f.root),"main"in f&&n(1,s=f.main),"$$scope"in f&&n(3,i=f.$$scope)},[u,s,l,i,r,o,a]}class Vi extends W{constructor(e){super(),V(this,e,qa,ja,U,{root:0,main:1})}}function Ra(t){let e,n,r,i;const l=t[1].default,u=$e(l,t,t[3],null);return{c(){e=d("i"),n=d("b"),u&&u.c(),r=d("i-h"),r.textContent="foot",_(n,"class","_dxnsmy"),Ye(r,"class","F"),_(e,"class","_dxnsmy")},m(s,o){E(s,e,o),T(e,n),u&&u.m(n,null),T(e,r),i=!0},p(s,o){u&&u.p&&(!i||o&8)&&Se(u,l,s,s[3],i?ye(l,s[3],o,null):Te(s[3]),null)},i(s){i||(M(u,s),i=!0)},o(s){A(u,s),i=!1},d(s){s&&C(e),u&&u.d(s)}}}function Ua(t){let e,n,r={$$slots:{default:[Ra]},$$scope:{ctx:t}};return e=new Vi({props:r}),t[2](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,[l]){const u={};l&8&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[2](null),O(e,i)}}}function Va(t,e,n){let{$$slots:r={},$$scope:i}=e,{scroll:l}=e;function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"scroll"in s&&n(0,l=s.scroll),"$$scope"in s&&n(3,i=s.$$scope)},[l,r,u,i]}class Wi extends W{constructor(e){super(),V(this,e,Va,Ua,U,{scroll:0})}}const Qi=t=>Tn.getElementById(t),Wa=t=>()=>{t.map(e=>{e()})},Nt=(...t)=>Wa(t),Cn=t=>{var e,n,r,i,l,u,s,o,a;return{$$:e}=t.$$.ctx[0],{props:u,ctx:n}=e,o=n[u.root],l=n[u.main],a=f=>{var c;if(c=Qi(f),c)return o.scrollTop=c.getBoundingClientRect().y-l.getBoundingClientRect().y-18,1},i=location.hash.slice(1),i&&(s=new ResizeObserver(async()=>{var f;for(f=3;--f;)await Xe();a(i)&&s.disconnect()}),s.observe(l),setTimeout(()=>{s.disconnect()},5e3)),r={hashchange:()=>{i=location.hash.slice(1),i&&a(i)}},Nt(Ee(window,r),()=>{s?.disconnect()})};function Qa(t){let e;const n=t[1].default,r=$e(n,t,t[3],null);return{c(){r&&r.c()},m(i,l){r&&r.m(i,l),e=!0},p(i,l){r&&r.p&&(!e||l&8)&&Se(r,n,i,i[3],e?ye(n,i[3],l,null):Te(i[3]),null)},i(i){e||(M(r,i),e=!0)},o(i){A(r,i),e=!1},d(i){r&&r.d(i)}}}function Ga(t){let e,n,r={$$slots:{default:[Qa]},$$scope:{ctx:t}};return e=new Wi({props:r}),t[2](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,[l]){const u={};l&8&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[2](null),O(e,i)}}}function Ya(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;R(()=>Cn(l));function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"$$scope"in s&&n(3,i=s.$$scope)},[l,r,u,i]}class Ja extends W{constructor(e){super(),V(this,e,Ya,Ga,U,{})}}var an,ct,fn;ct="H";an="D";fn="N";const Xa=(t,e)=>{var n,r,i,l;return{classList:n}=t,l=0,i=0,r=t.offsetHeight+30,Ee(e,{scroll:()=>{var u,s,o,a;if({scrollTop:a}=e,n.contains(ct)){l=a;return}if(a!==l&&(s=a-l,Math.abs(s)>20)){if(l=a,u=o=void 0,s>0&&i<=0){if(a<r)return;u=ct,o=an}else s<0&&i>0&&(u=an,o=ct,n.remove(fn));u&&(n.remove(o),n.add(u),setTimeout(()=>{n.contains(ct)&&(n.remove(ct),n.add(fn))},300)),i=s}}})};var Gi;const Za=t=>Xa(Gi,t),Ka=t=>{Gi=t},En=t=>{var e;for({$$:e}=t;e;)t=e.ctx[0],{$$:e}=t;return Za(t)};function xa(t){let e;const n=t[1].default,r=$e(n,t,t[3],null);return{c(){r&&r.c()},m(i,l){r&&r.m(i,l),e=!0},p(i,l){r&&r.p&&(!e||l&8)&&Se(r,n,i,i[3],e?ye(n,i[3],l,null):Te(i[3]),null)},i(i){e||(M(r,i),e=!0)},o(i){A(r,i),e=!1},d(i){r&&r.d(i)}}}function ef(t){let e,n,r={$$slots:{default:[xa]},$$scope:{ctx:t}};return e=new Ja({props:r}),t[2](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,[l]){const u={};l&8&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[2](null),O(e,i)}}}function tf(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;R(()=>En(l));function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"$$scope"in s&&n(3,i=s.$$scope)},[l,r,u,i]}class nf extends W{constructor(e){super(),V(this,e,tf,ef,U,{})}}function rf(t){let e,n;return e=new Ri({props:{url:t[0]}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&1&&(l.url=r[0]),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function lf(t){let e,n;return e=new wn({props:{$$slots:{default:[rf]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&3&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function uf(t){let e,n;return e=new nf({props:{$$slots:{default:[lf]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&3&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function sf(t,e,n){var r;return r=location.pathname.slice(1),[r]}class of extends W{constructor(e){super(),V(this,e,sf,uf,U,{})}}function wr(t,e,n){const r=t.slice();return r[1]=e[n],r}function af(t){let e,n,r=t[1][0]+"",i,l;return{c(){e=d("b"),n=d("a"),i=X(r),_(n,"href",l="#"+t[1][1]),_(n,"class","_2iim4m"),_(e,"class","_2iim4m")},m(u,s){E(u,e,s),T(e,n),T(n,i)},p(u,s){s&1&&r!==(r=u[1][0]+"")&&K(i,r),s&1&&l!==(l="#"+u[1][1])&&_(n,"href",l)},i:H,o:H,d(u){u&&C(e)}}}function ff(t){let e,n,r,i=t[1][0][0]+"",l,u,s,o,a;return o=new An({props:{A:t[1][1]}}),{c(){e=d("b"),n=d("i"),r=d("a"),l=X(i),s=d("li"),j(o.$$.fragment),_(r,"href",u="#"+t[1][0][1]),_(r,"class","_2iim4m"),_(n,"class","_2iim4m"),_(s,"class","_2iim4m"),_(e,"class","_2iim4m")},m(f,c){E(f,e,c),T(e,n),T(n,r),T(r,l),T(e,s),D(o,s,null),a=!0},p(f,c){(!a||c&1)&&i!==(i=f[1][0][0]+"")&&K(l,i),(!a||c&1&&u!==(u="#"+f[1][0][1]))&&_(r,"href",u);const p={};c&1&&(p.A=f[1][1]),o.$set(p)},i(f){a||(M(o.$$.fragment,f),a=!0)},o(f){A(o.$$.fragment,f),a=!1},d(f){f&&C(e),O(o)}}}function $r(t){let e,n,r,i,l;const u=[ff,af],s=[];function o(a,f){return f&1&&(e=null),e==null&&(e=!!Array.isArray(a[1][1])),e?0:1}return n=o(t,-1),r=s[n]=u[n](t),{c(){r.c(),i=x()},m(a,f){s[n].m(a,f),E(a,i,f),l=!0},p(a,f){let c=n;n=o(a,f),n===c?s[n].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),r=s[n],r?r.p(a,f):(r=s[n]=u[n](a),r.c()),M(r,1),r.m(i.parentNode,i))},i(a){l||(M(r),l=!0)},o(a){A(r),l=!1},d(a){a&&C(i),s[n].d(a)}}}function cf(t){let e,n,r=fe(t[0]),i=[];for(let u=0;u<r.length;u+=1)i[u]=$r(wr(t,r,u));const l=u=>A(i[u],1,1,()=>{i[u]=null});return{c(){for(let u=0;u<i.length;u+=1)i[u].c();e=x()},m(u,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(u,s);E(u,e,s),n=!0},p(u,[s]){if(s&1){r=fe(u[0]);let o;for(o=0;o<r.length;o+=1){const a=wr(u,r,o);i[o]?(i[o].p(a,s),M(i[o],1)):(i[o]=$r(a),i[o].c(),M(i[o],1),i[o].m(e.parentNode,e))}for(te(),o=r.length;o<i.length;o+=1)l(o);ne()}},i(u){if(!n){for(let s=0;s<r.length;s+=1)M(i[s]);n=!0}},o(u){i=i.filter(Boolean);for(let s=0;s<i.length;s+=1)A(i[s]);n=!1},d(u){u&&C(e),He(i,u)}}}function mf(t,e,n){let{A:r}=e;return t.$$set=i=>{"A"in i&&n(0,r=i.A)},[r]}let An=class extends W{constructor(e){super(),V(this,e,mf,cf,U,{A:0})}};function pf(t){let e;const n=t[1].default,r=$e(n,t,t[3],null);return{c(){r&&r.c()},m(i,l){r&&r.m(i,l),e=!0},p(i,l){r&&r.p&&(!e||l&8)&&Se(r,n,i,i[3],e?ye(n,i[3],l,null):Te(i[3]),null)},i(i){e||(M(r,i),e=!0)},o(i){A(r,i),e=!1},d(i){r&&r.d(i)}}}function hf(t){let e,n,r={$$slots:{default:[pf]},$$scope:{ctx:t}};return e=new Vi({props:r}),t[2](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,[l]){const u={};l&8&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[2](null),O(e,i)}}}function _f(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;R(()=>En(l));function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"$$scope"in s&&n(3,i=s.$$scope)},[l,r,u,i]}class Qt extends W{constructor(e){super(),V(this,e,_f,hf,U,{})}}function gf(t,e){var n,r,i;for(n=0,i=t.length-1;n<i;)r=Math.floor((n+i)/2),t[r]<e?n=r+1:i=r;return n>0&&Math.abs(t[n]-e)>Math.abs(t[n-1]-e)?n-1:n}var Pt;Pt="A";const Yi=(t,e,n,r)=>{var i,l,u,s,o,a,f;if(t)return l=c=>{u&&u.remove(Pt),c.classList.add(Pt),u=c.classList},a=t.parentNode.parentNode.parentNode,o=()=>{var c,p;f=[],p=r.getBoundingClientRect().top+24,c=m=>{var h,b,k;for(k of m)b=k[1],Array.isArray(b)&&(c(b),b=k[0][1]),h=Qi(b),h&&f.push(Math.round(h.getBoundingClientRect().top-p))},c(n),f.sort((m,h)=>m-h)},o(),s=new ResizeObserver(o),Nt(()=>{s.disconnect()},Ee(r,{scroll:()=>{var c,p,m,h,b,k,g;if(k=gf(f,r.scrollTop+20),k!==i){if(i=k,h=e[k],l(h),{top:g,height:b}=h.getBoundingClientRect(),{top:p,height:c}=a.getBoundingClientRect(),m=g-p,m<0)m-=6;else if(m+=b-c,m>0)m+=6;else return;a.scrollTop+=m}}}),Ee(t,{click:c=>{var p;({target:p}=c),p.tagName===Pt&&l(p)}}))};function df(t){let e,n,r;return n=new An({props:{A:t[0][0]}}),{c(){e=d("b"),j(n.$$.fragment),_(e,"class","_nbxn7t")},m(i,l){E(i,e,l),D(n,e,null),t[2](e),r=!0},p(i,l){const u={};l&1&&(u.A=i[0][0]),n.$set(u)},i(i){r||(M(n.$$.fragment,i),r=!0)},o(i){A(n.$$.fragment,i),r=!1},d(i){i&&C(e),O(n),t[2](null)}}}function bf(t){let e,n;return e=new Qt({props:{$$slots:{default:[df]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&11&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function kf(t,e,n){var r;let{A:i}=e;R(()=>Yi(r,r.getElementsByTagName("a"),...i));function l(u){le[u?"unshift":"push"](()=>{r=u,n(1,r)})}return t.$$set=u=>{"A"in u&&n(0,i=u.A)},[i,r,l]}let wf=class extends W{constructor(e){super(),V(this,e,kf,bf,U,{A:0})}};const Ji=Tn.body,_t=new Proxy({},{get:(t,e)=>document.createElement(e)}),$f=t=>{for(;t;){if(t.tagName==="A")return t;t=t.parentNode}},Xi=t=>$f(t.target);function yr(t){let e,n,r,i,l;const u=t[3].default,s=$e(u,t,t[2],null);return{c(){e=d("b"),n=d("i"),s&&s.c(),_(n,"class","_1s6dgbg"),_(e,"class","_1s6dgbg")},m(o,a){E(o,e,a),T(e,n),s&&s.m(e,null),r=!0,i||(l=Q(e,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),i=!0)},p(o,a){t=o,s&&s.p&&(!r||a&4)&&Se(s,u,t,t[2],r?ye(u,t[2],a,null):Te(t[2]),null)},i(o){r||(M(s,o),r=!0)},o(o){A(s,o),r=!1},d(o){o&&C(e),s&&s.d(o),i=!1,l()}}}function yf(t){let e,n,r=t[0]&&yr(t);return{c(){r&&r.c(),e=x()},m(i,l){r&&r.m(i,l),E(i,e,l),n=!0},p(i,[l]){i[0]?r?(r.p(i,l),l&1&&M(r,1)):(r=yr(i),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(te(),A(r,1,1,()=>{r=null}),ne())},i(i){n||(M(r),n=!0)},o(i){A(r),n=!1},d(i){i&&C(e),r&&r.d(i)}}}function Sf(t,e,n){let{$$slots:r={},$$scope:i}=e;var l,u,s,o,a,f;return s=1,u="R",f=()=>{var c;n(0,s=window.innerWidth>990),l&&({classList:c}=l,s?c.remove(u):c.add(u))},R(()=>{var c,p,m,h;for(h=Ji.children,p=0,m=h.length;p<m;p++)if(c=h[p],c.tagName==="NAV"){l=_t["m-c"],Object.assign(l,{className:"toc",onclick:()=>{n(0,s=!l.classList.toggle(u))}}),c.firstChild.prepend(l);break}return setTimeout(()=>{f()}),Nt(()=>{l?.remove()},Ee(window,{resize:f}))}),{pathname:a}=location,o=c=>{var p,m,h;if(p=Xi(c),p){window.innerWidth<=990&&(m=p.pathname,m&&(m!==a||!((h=p.nextSibling)!=null&&h.children.length))&&n(0,s=0)),a=p.pathname;return}},t.$$set=c=>{"$$scope"in c&&n(2,i=c.$$scope)},[s,o,i,r]}class Zi extends W{constructor(e){super(),V(this,e,Sf,yf,U,{})}}const Tf=t=>{var e,n,r,i,l,u,s,o,a,f,c,p,m;if(s=[],t){for(a=t.children,n=0,l=a.length;n<l;n++)if(e=a[n],{tagName:p}=e,p[0]==="H"&&p.length===2&&(o=p[1]-0,o&&(m=e.innerText,m))){if(c=[o,m],{id:r}=e,r)c.push(r);else for(f=e.children,i=0,u=f.length;i<u;i++)if({id:r}=f[i],r){c.push(r);break}c.length===2&&(e.id="H"+s.length),s.push(c)}}return s},Lf=t=>{var e,n,r,i,l,u,s,o,a,f,c,p;if(t.length){e=t.shift(),l=e[0],r=[[e[1],e[2]||"H0"]],s=r,c=[],i=0;for(p of t){if([n,a,u]=p,++i,f=[a,u||"H"+i],n<l){for(;o=c.pop(),!(!o||([o,r]=o,o<=n)););r.push(f)}else n>l?(r.push([r.pop(),o=[f]]),c.push([l,r]),r=o):r.push(f);l=n}if(s.length>1||Array.isArray(s[0][0]))return s}},Ki=(t,e)=>{var n,r,i;i=e.$$.ctx;for(r of i)if(r instanceof HTMLElement){if(n=Lf(Tf(r)),n)return[n,t.$$.ctx[0].$$.ctx[0]];break}};function Mf(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Cf(t){let e,n,r={$$slots:{default:[vf]},$$scope:{ctx:t}};return e=new Qt({props:r}),t[5](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,l){const u={};l&75&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[5](null),O(e,i)}}}function Sr(t){let e,n;return e=new Zi({props:{$$slots:{default:[Ef]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&65&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Ef(t){let e,n;return e=new wf({props:{A:t[0]}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&1&&(l.A=r[0]),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Af(t){let e,n,r={md:t[3]};return e=new Mn({props:r}),t[4](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,l){const u={};l&8&&(u.md=i[3]),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[4](null),O(e,i)}}}function vf(t){let e,n,r,i,l=t[0]&&Sr(t);return n=new wn({props:{$$slots:{default:[Af]},$$scope:{ctx:t}}}),{c(){l&&l.c(),e=d("b"),j(n.$$.fragment),r=d("i-h"),r.textContent="foot",Ye(r,"class","F"),_(e,"class","_1lxsi8b")},m(u,s){l&&l.m(u,s),E(u,e,s),D(n,e,null),T(e,r),i=!0},p(u,s){u[0]?l?(l.p(u,s),s&1&&M(l,1)):(l=Sr(u),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(te(),A(l,1,1,()=>{l=null}),ne());const o={};s&74&&(o.$$scope={dirty:s,ctx:u}),n.$set(o)},i(u){i||(M(l),M(n.$$.fragment,u),i=!0)},o(u){A(l),A(n.$$.fragment,u),i=!1},d(u){u&&C(e),l&&l.d(u),O(n)}}}function If(t){let e,n,r,i;const l=[Cf,Mf],u=[];function s(o,a){return o[3]!=null?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Nf(t,e,n){var r,i,l,u;R($n(async()=>(n(3,u=await dn(location.pathname.slice(1))),await Xe(),n(0,r=Ki(l,i)),Cn(l))));function s(a){le[a?"unshift":"push"](()=>{i=a,n(1,i)})}function o(a){le[a?"unshift":"push"](()=>{l=a,n(2,l)})}return[r,i,l,u,s,o]}class Ff extends W{constructor(e){super(),V(this,e,Nf,If,U,{})}}function Tr(t,e,n){const r=t.slice();return r[1]=e[n],r}function Hf(t){let e,n=t[1]+"",r;return{c(){e=d("b"),r=X(n),_(e,"class","_djvgg9")},m(i,l){E(i,e,l),T(e,r)},p(i,l){l&1&&n!==(n=i[1]+"")&&K(r,n)},i:H,o:H,d(i){i&&C(e)}}}function zf(t){let e,n,r,i,l;const u=[Of,Df],s=[];function o(a,f){return f&1&&(e=null),e==null&&(e=!!Array.isArray(a[1][1])),e?0:1}return n=o(t,-1),r=s[n]=u[n](t),{c(){r.c(),i=x()},m(a,f){s[n].m(a,f),E(a,i,f),l=!0},p(a,f){let c=n;n=o(a,f),n===c?s[n].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),r=s[n],r?r.p(a,f):(r=s[n]=u[n](a),r.c()),M(r,1),r.m(i.parentNode,i))},i(a){l||(M(r),l=!0)},o(a){A(r),l=!1},d(a){a&&C(i),s[n].d(a)}}}function Df(t){let e,n,r,i=t[1][0]+"",l,u,s;return{c(){e=d("b"),n=d("a"),r=d("b"),l=X(i),u=d("i"),_(r,"class","_djvgg9"),_(u,"class","_djvgg9"),_(n,"href",s=t[1][1]),_(n,"class","_djvgg9"),_(e,"class","_djvgg9")},m(o,a){E(o,e,a),T(e,n),T(n,r),T(r,l),T(n,u)},p(o,a){a&1&&i!==(i=o[1][0]+"")&&K(l,i),a&1&&s!==(s=o[1][1])&&_(n,"href",s)},i:H,o:H,d(o){o&&C(e)}}}function Of(t){let e,n,r,i,l;function u(a,f){return f&1&&(n=null),n==null&&(n=!!Array.isArray(a[1][0])),n?Pf:Bf}let s=u(t,-1),o=s(t);return i=new xi({props:{A:t[1][1]}}),{c(){e=d("b"),o.c(),r=d("li"),j(i.$$.fragment),_(r,"class","_djvgg9"),_(e,"class","_djvgg9")},m(a,f){E(a,e,f),o.m(e,null),T(e,r),D(i,r,null),l=!0},p(a,f){s===(s=u(a,f))&&o?o.p(a,f):(o.d(1),o=s(a),o&&(o.c(),o.m(e,r)));const c={};f&1&&(c.A=a[1][1]),i.$set(c)},i(a){l||(M(i.$$.fragment,a),l=!0)},o(a){A(i.$$.fragment,a),l=!1},d(a){a&&C(e),o.d(),O(i)}}}function Bf(t){let e,n=t[1][0]+"",r;return{c(){e=d("b"),r=X(n),_(e,"class","_djvgg9")},m(i,l){E(i,e,l),T(e,r)},p(i,l){l&1&&n!==(n=i[1][0]+"")&&K(r,n)},d(i){i&&C(e)}}}function Pf(t){let e,n,r=t[1][0]+"",i,l,u;return{c(){e=d("a"),n=d("b"),i=X(r),l=d("i"),_(n,"class","_djvgg9"),_(l,"class","_djvgg9"),_(e,"href",u=t[1][1]),_(e,"class","_djvgg9")},m(s,o){E(s,e,o),T(e,n),T(n,i),T(e,l)},p(s,o){o&1&&r!==(r=s[1][0]+"")&&K(i,r),o&1&&u!==(u=s[1][1])&&_(e,"href",u)},d(s){s&&C(e)}}}function Lr(t){let e,n,r,i,l;const u=[zf,Hf],s=[];function o(a,f){return f&1&&(e=null),e==null&&(e=!!Array.isArray(a[1])),e?0:1}return n=o(t,-1),r=s[n]=u[n](t),{c(){r.c(),i=x()},m(a,f){s[n].m(a,f),E(a,i,f),l=!0},p(a,f){let c=n;n=o(a,f),n===c?s[n].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),r=s[n],r?r.p(a,f):(r=s[n]=u[n](a),r.c()),M(r,1),r.m(i.parentNode,i))},i(a){l||(M(r),l=!0)},o(a){A(r),l=!1},d(a){a&&C(i),s[n].d(a)}}}function jf(t){let e,n,r=fe(t[0]),i=[];for(let u=0;u<r.length;u+=1)i[u]=Lr(Tr(t,r,u));const l=u=>A(i[u],1,1,()=>{i[u]=null});return{c(){for(let u=0;u<i.length;u+=1)i[u].c();e=x()},m(u,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(u,s);E(u,e,s),n=!0},p(u,[s]){if(s&1){r=fe(u[0]);let o;for(o=0;o<r.length;o+=1){const a=Tr(u,r,o);i[o]?(i[o].p(a,s),M(i[o],1)):(i[o]=Lr(a),i[o].c(),M(i[o],1),i[o].m(e.parentNode,e))}for(te(),o=r.length;o<i.length;o+=1)l(o);ne()}},i(u){if(!n){for(let s=0;s<r.length;s+=1)M(i[s]);n=!0}},o(u){i=i.filter(Boolean);for(let s=0;s<i.length;s+=1)A(i[s]);n=!1},d(u){u&&C(e),He(i,u)}}}function qf(t,e,n){let{A:r}=e;return t.$$set=i=>{"A"in i&&n(0,r=i.A)},[r]}class xi extends W{constructor(e){super(),V(this,e,qf,jf,U,{A:0})}}const el=t=>{var e,n;return e=t.indexOf(":"),e>0&&(n=t.slice(e+2).trim(),t=t.slice(0,e).trim()),[t,n]},gt=(t,e,n)=>{var r;return r={target:e},n&&(r.props=n),new t(r)},Gt=(t,e)=>t?e===t||e.startsWith(t+"/"):1;function Rf(t){let e;return{c(){e=X(t[4])},m(n,r){E(n,e,r)},p(n,r){r&16&&K(e,n[4])},d(n){n&&C(e)}}}function Uf(t){let e,n;return{c(){e=d("a"),n=X(t[4]),_(e,"href",t[2]),_(e,"class","_6rmmbb")},m(r,i){E(r,e,i),T(e,n)},p(r,i){i&16&&K(n,r[4]),i&4&&_(e,"href",r[2])},d(r){r&&C(e)}}}function Mr(t){let e,n;return{c(){e=d("i"),n=X(t[3]),_(e,"class","_6rmmbb")},m(r,i){E(r,e,i),T(e,n)},p(r,i){i&8&&K(n,r[3])},d(r){r&&C(e)}}}function Cr(t){let e,n;return{c(){e=d("i"),n=X(t[6]),_(e,"class","_6rmmbb")},m(r,i){E(r,e,i),T(e,n)},p(r,i){i&64&&K(n,r[6])},d(r){r&&C(e)}}}function Vf(t){let e,n,r,i,l,u,s,o,a;function f(b,k){return b[2]?Uf:Rf}let c=f(t),p=c(t),m=t[3]&&Mr(t),h=t[6]&&Cr(t);return u=new xi({props:{A:t[5].slice(1)}}),{c(){e=d("main"),n=d("h1"),r=d("i"),p.c(),i=x(),m&&m.c(),h&&h.c(),l=d("b"),j(u.$$.fragment),_(r,"class","_6rmmbb"),_(n,"class","_6rmmbb"),_(l,"class","_6rmmbb"),_(e,"class","_6rmmbb")},m(b,k){E(b,e,k),T(e,n),T(n,r),p.m(r,null),T(r,i),m&&m.m(r,null),h&&h.m(n,null),T(e,l),D(u,l,null),t[8](e),s=!0,o||(a=Q(e,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),o=!0)},p(b,[k]){t=b,c===(c=f(t))&&p?p.p(t,k):(p.d(1),p=c(t),p&&(p.c(),p.m(r,i))),t[3]?m?m.p(t,k):(m=Mr(t),m.c(),m.m(r,null)):m&&(m.d(1),m=null),t[6]?h?h.p(t,k):(h=Cr(t),h.c(),h.m(n,null)):h&&(h.d(1),h=null);const g={};k&32&&(g.A=t[5].slice(1)),u.$set(g)},i(b){s||(M(u.$$.fragment,b),s=!0)},o(b){A(u.$$.fragment,b),s=!1},d(b){b&&C(e),p.d(),m&&m.d(),h&&h.d(),O(u),t[8](null),o=!1,a()}}}function Wf(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h,b,k,g;i="N",s="W",u="S",l=[i,s];let{A:w}=e;[c,b,g]=w,R($n(async()=>{var v,S;return n(4,h=b[0]),Array.isArray(h)&&n(4,[h,a]=h,h,n(2,a)),n(4,[h,m]=el(h),h,n(3,m)),await Xe(),v=()=>{var L,F,B,J;J=location.pathname.slice(1),L=r.getElementsByTagName("a");for(F of L)if(F.pathname==="/"+J)return[J,F];for(F of L)if(B=F.pathname.slice(1),Gt(J,B))return tr(B),[B,F]},S=v(),S?Cn(await p(...S)):c(0),()=>{typeof k=="function"&&k()}})),p=async(v,S)=>{var L,F,B,J,N,P,q,ee;c(void 0),P=S.parentNode.tagName!=="I";for(B of l)S.classList.add(B);if(k&&(k(),k=void 0),f?.remove(),P&&({b:F}=_t,S.after(F),f=F),N=await dn(v).finally(()=>{S.classList.remove(s)}),[q,J]=ee=await c(N),P&&f===F){if(J&&(L=Ki(...ee),L))return gt(An,F,{A:L[0][0][1]}),k=Yi(r,[S,...F.getElementsByTagName("a")],...L),q;f.remove()}return q},o=v=>{var S,L,F,B;for(F=location.pathname.slice(1),L=v.target;L;){if(L.nodeName==="A"){L.href&&(B=gu(L,v),B&&({hash:S}=L,tr(B),S&&(B=B.slice(0,-S.length)),B!==F?(r.querySelectorAll("a."+i).forEach(J=>{var N,P;P=[u,...l];for(N of P)J.classList.remove(N)}),p(B,L)):S?location.hash=S:L.classList.toggle("S")));break}L=L.parentNode}};function I(v){le[v?"unshift":"push"](()=>{r=v,n(0,r)})}return t.$$set=v=>{"A"in v&&n(7,w=v.A)},[r,o,a,m,h,b,g,w,I]}class Qf extends W{constructor(e){super(),V(this,e,Wf,Vf,U,{A:7})}}function Gf(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Yf(t){let e,n,r,i;const l=[Xf,Jf],u=[];function s(o,a){return o[0]?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,a){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Jf(t){let e,n;return e=new Ln({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Xf(t){let e,n,r={$$slots:{default:[nc]},$$scope:{ctx:t}};return e=new Qt({props:r}),t[5](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,l){const u={};l&139&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[5](null),O(e,i)}}}function Zf(t){let e,n;return e=new Qf({props:{A:t[0]}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&1&&(l.A=r[0]),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Kf(t){let e,n;return e=new Qt({props:{$$slots:{default:[Zf]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&129&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function xf(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function ec(t){let e,n,r={md:t[3]};return e=new Mn({props:r}),t[4](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,l){const u={};l&8&&(u.md=i[3]),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[4](null),O(e,i)}}}function tc(t){let e,n,r,i;const l=[ec,xf],u=[];function s(o,a){return o[3]!=null?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,a){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function nc(t){let e,n,r,i,l;return e=new Zi({props:{$$slots:{default:[Kf]},$$scope:{ctx:t}}}),r=new wn({props:{$$slots:{default:[tc]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment),n=d("b"),j(r.$$.fragment),i=d("i-h"),i.textContent="foot",Ye(i,"class","F"),_(n,"class","_1lxsi8b")},m(u,s){D(e,u,s),E(u,n,s),D(r,n,null),T(n,i),l=!0},p(u,s){const o={};s&129&&(o.$$scope={dirty:s,ctx:u}),e.$set(o);const a={};s&138&&(a.$$scope={dirty:s,ctx:u}),r.$set(a)},i(u){l||(M(e.$$.fragment,u),M(r.$$.fragment,u),l=!0)},o(u){A(e.$$.fragment,u),A(r.$$.fragment,u),l=!1},d(u){u&&C(n),O(e,u),O(r)}}}function rc(t){let e,n,r,i;const l=[Yf,Gf],u=[];function s(o,a){return o[0]!=null?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function ic(t,e,n){var r,i,l,u,s;u=_fp("md"),R(()=>{var f,c,p,m,h,b;p=location.pathname.slice(1);for(b of _MNT)if([m,f,c]=b,Gt(m,p)){h=c;break}(async()=>{var k,g;if(!m)for(h=0,k=p.split("/"),m="";k.length&&(g=k.join("/"),await u(g)||await u(g+"/README"));)m=g,k.pop();n(0,r=[async w=>(n(3,s=w),await Xe(),[l,i]),await bi(m+"/_"),h])})()});function o(f){le[f?"unshift":"push"](()=>{i=f,n(1,i)})}function a(f){le[f?"unshift":"push"](()=>{l=f,n(2,l)})}return[r,i,l,s,o,a]}class lc extends W{constructor(e){super(),V(this,e,ic,rc,U,{})}}Object.assign(ki,{Md:of,Toc:Ff,Doc:lc});const uc=(t,e)=>{var n;return function(){var r,i;return i=this.parentNode,n||({b:n}=_t,n.className="menu",r=t.call(this,n),i.append(n),setTimeout(()=>{var l;l=Ee(document.body,{click:()=>{e(r),setTimeout(()=>{i.removeChild(n),n=void 0}),l()}})})),n}},At=(t,e)=>uc(function(n){return gt(t,n,e)},n=>{n.$destroy()});function Er(t,e,n){const r=t.slice();return r[3]=e[n],r[5]=n,r}function sc(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function oc(t){let e,n;function r(u,s){return s&1&&(e=null),e==null&&(e=!!Array.isArray(u[0][u[5]])),e?fc:ac}let i=r(t,-1),l=i(t);return{c(){l.c(),n=x()},m(u,s){l.m(u,s),E(u,n,s)},p(u,s){i===(i=r(u,s))&&l?l.p(u,s):(l.d(1),l=i(u),l&&(l.c(),l.m(n.parentNode,n)))},i:H,o:H,d(u){u&&C(n),l.d(u)}}}function ac(t){let e=t[0][t[5]]+"",n;return{c(){n=X(e)},m(r,i){E(r,n,i)},p(r,i){i&1&&e!==(e=r[0][r[5]]+"")&&K(n,e)},d(r){r&&C(n)}}}function fc(t){let e=t[0][t[5]][0]+"",n,r,i=t[0][t[5]][1]+"",l;return{c(){n=X(e),r=d("i"),l=X(i),_(r,"class","_anym2a")},m(u,s){E(u,n,s),E(u,r,s),T(r,l)},p(u,s){s&1&&e!==(e=u[0][u[5]][0]+"")&&K(n,e),s&1&&i!==(i=u[0][u[5]][1]+"")&&K(l,i)},d(u){u&&(C(n),C(r))}}}function Ar(t){let e,n,r,i,l;const u=[oc,sc],s=[];function o(a,f){return a[0]?0:1}return n=o(t),r=s[n]=u[n](t),{c(){e=d("a"),r.c(),_(e,"href",i=t[3]),_(e,"class","_anym2a")},m(a,f){E(a,e,f),s[n].m(e,null),l=!0},p(a,f){let c=n;n=o(a),n===c?s[n].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),r=s[n],r?r.p(a,f):(r=s[n]=u[n](a),r.c()),M(r,1),r.m(e,null)),(!l||f&2&&i!==(i=a[3]))&&_(e,"href",i)},i(a){l||(M(r),l=!0)},o(a){A(r),l=!1},d(a){a&&C(e),s[n].d()}}}function cc(t){let e,n,r=fe(t[1]),i=[];for(let u=0;u<r.length;u+=1)i[u]=Ar(Er(t,r,u));const l=u=>A(i[u],1,1,()=>{i[u]=null});return{c(){for(let u=0;u<i.length;u+=1)i[u].c();e=x()},m(u,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(u,s);E(u,e,s),n=!0},p(u,[s]){if(s&3){r=fe(u[1]);let o;for(o=0;o<r.length;o+=1){const a=Er(u,r,o);i[o]?(i[o].p(a,s),M(i[o],1)):(i[o]=Ar(a),i[o].c(),M(i[o],1),i[o].m(e.parentNode,e))}for(te(),o=r.length;o<i.length;o+=1)l(o);ne()}},i(u){if(!n){for(let s=0;s<r.length;s+=1)M(i[s]);n=!0}},o(u){i=i.filter(Boolean);for(let s=0;s<i.length;s+=1)A(i[s]);n=!1},d(u){u&&C(e),He(i,u)}}}function mc(t,e,n){var r,i;let{A:l}=e;return i=l[1].split(",").map(u=>"/"+l[0]+"/"+u),R(async()=>{n(0,r=(await bi(l[0]+"/_")).map(el))}),t.$$set=u=>{"A"in u&&n(2,l=u.A)},[r,i,l]}let pc=class extends W{constructor(e){super(),V(this,e,mc,cc,U,{A:2})}};function hc(t){let e,n,r=t[0][0]+"",i,l,u,s;return{c(){e=d("b"),n=d("a"),i=X(r),_(n,"rev",l=t[0][1]),_(n,"class","_bei9ps"),_(e,"class","_bei9ps")},m(o,a){E(o,e,a),T(e,n),T(n,i),u||(s=Q(n,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),u=!0)},p(o,[a]){t=o,a&1&&r!==(r=t[0][0]+"")&&K(i,r),a&1&&l!==(l=t[0][1])&&_(n,"rev",l)},i:H,o:H,d(o){o&&C(e),u=!1,s()}}}function _c(t,e,n){var r;let{A:i}=e;return r=At(pc,{A:i.slice(1)}),t.$$set=l=>{"A"in l&&n(0,i=l.A)},[i,r]}class gc extends W{constructor(e){super(),V(this,e,_c,hc,U,{A:0})}}Object.assign(wi,{NB:gc});const Ft=(t,e)=>{var n;return n=du(),[n,gt(t,n,e)]},vn=t=>{var e,n,r,i;r=t.getElementsByTagName("input");for(n of r)if(["text","password","email"].includes(n.type)){if(n.disabled)continue;if(i=n.value.trim(),!i){n.value=i,n.focus();return}e||(e=n)}e?.focus()},et=(t,e)=>{var n;return n=Ft(t,e),setTimeout(()=>{vn(n[0])}),n};var cn;cn="ing";const mn=async(t,e)=>{var n;n=t.classList,n.add(cn);try{return await e}finally{n.remove(cn)}};var tl,In,vt,Nn,nl,pn,Fn;vt="E";In="."+vt;tl="change";Nn=[tl,"keydown"];Fn=t=>{var e,n;t.classList.remove(vt),n=t.querySelectorAll(In);for(e of n)e.remove()};pn=function(){var t,e;e=this.parentNode,Fn(e);for(t of Nn)this.removeEventListener(t,pn)};nl=["INPUT","TEXTAREA"];const rl=t=>{var e,n;n=t.querySelectorAll("u"+In);for(e of n)Fn(e)},dt=async(t,e)=>{var n,r,i,l,u,s,o,a,f;rl(t);try{return await mn(t,e)}catch(c){if(r=c,r!==void 0)if(Array.isArray(r)){for(f of r)if([s,a]=f,u=t.querySelector("#"+s),u&&({b:n}=_t,n.className=vt,n.innerHTML=a,o=u.parentNode,o.classList.add(vt),o.appendChild(n),nl.includes(u.tagName))){for(i of Nn)u.addEventListener(i,pn);l||(l=1,u.focus(),u.select())}}else throw r;else vn(t)}return null};function dc(t){let e,n,r,i,l;const u=t[3].default,s=$e(u,t,t[2],null);return{c(){e=d("u"),n=d("label"),s&&s.c(),r=d("a"),i=X(t[0]),_(r,"href",t[1]),_(r,"tabindex","-1"),_(r,"class","_tu3hoe"),_(e,"class","_tu3hoe")},m(o,a){E(o,e,a),T(e,n),s&&s.m(n,null),T(e,r),T(r,i),l=!0},p(o,[a]){s&&s.p&&(!l||a&4)&&Se(s,u,o,o[2],l?ye(u,o[2],a,null):Te(o[2]),null),(!l||a&1)&&K(i,o[0]),(!l||a&2)&&_(r,"href",o[1])},i(o){l||(M(s,o),l=!0)},o(o){A(s,o),l=!1},d(o){o&&C(e),s&&s.d(o)}}}function bc(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;let{mail:u}=e;return R(()=>{n(1,l="//"+u.split("@").pop())}),t.$$set=s=>{"mail"in s&&n(0,u=s.mail),"$$scope"in s&&n(2,i=s.$$scope)},[u,l,i,r]}let Hn=class extends W{constructor(e){super(),V(this,e,bc,dc,U,{mail:0})}};function vr(t){let e,n,r,i,l=t[0]==1&&Ir(t);return{c(){e=d("b"),l&&l.c(),n=d("a"),_(n,"class","_1qgo9af"),_(e,"class","_1qgo9af")},m(u,s){E(u,e,s),l&&l.m(e,null),T(e,n),n.innerHTML=t[3],r||(i=Q(n,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),r=!0)},p(u,s){t=u,t[0]==1?l?l.p(t,s):(l=Ir(t),l.c(),l.m(e,n)):l&&(l.d(1),l=null),s&8&&(n.innerHTML=t[3])},d(u){u&&C(e),l&&l.d(),r=!1,i()}}}function Ir(t){let e;return{c(){e=d("b"),_(e,"class","_1qgo9af")},m(n,r){E(n,e,r),e.innerHTML=t[2]},p(n,r){r&4&&(e.innerHTML=n[2])},d(n){n&&C(e)}}}function kc(t){let e,n=t[0]&&vr(t);return{c(){n&&n.c(),e=x()},m(r,i){n&&n.m(r,i),E(r,e,i)},p(r,[i]){r[0]?n?n.p(r,i):(n=vr(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:H,o:H,d(r){r&&C(e),n&&n.d(r)}}}function wc(t,e,n){var r,i,l,u,s;i=l="",R(oe(function(){n(2,i=this[40]),n(3,l=this[48])}));let{send:o}=e,{state:a=0}=e;return s=()=>{n(5,u=setTimeout(()=>{n(0,a=1)},3e4))},R(()=>{s()}),r=()=>{n(0,a=0),s(),o()},t.$$set=f=>{"send"in f&&n(4,o=f.send),"state"in f&&n(0,a=f.state)},t.$$.update=()=>{t.$$.dirty&33&&a===2&&clearTimeout(u)},[a,r,i,l,o,u]}class il extends W{constructor(e){super(),V(this,e,wc,kc,U,{send:4,state:0})}}const ll=async(t,e)=>{var n;await t(),n=Wt(e,"input"),n.focus(),n.select()},zn=async()=>(await kn(()=>import("./4.js"),[])).default;function $c(t){let e,n;return{c(){e=new _e(!1),n=x(),e.a=n},m(r,i){e.m(t[6],r,i),E(r,n,i)},p(r,i){i&64&&e.p(r[6])},d(r){r&&(C(n),e.d())}}}function yc(t){let e,n,r,i,l,u,s,o,a,f,c,p,m;r=new Hn({props:{mail:t[0][0],$$slots:{default:[$c]},$$scope:{ctx:t}}});let h={send:t[8]};f=new il({props:h}),t[15](f);const b=t[13].default,k=$e(b,t,t[17],null);return{c(){e=d("form"),n=d("h1"),n.textContent=`${_NAME}`,j(r.$$.fragment),i=d("b"),l=d("u"),u=d("input"),s=d("label"),o=d("i"),a=d("i"),j(f.$$.fragment),k&&k.c(),_(n,"class","_xt4vhk"),_(i,"class","_xt4vhk"),_(u,"placeholder"," "),_(u,"id","code"),_(u,"autocomplete","off"),u.required=!0,_(u,"type","text"),_(s,"for","code"),_(a,"class","_xt4vhk"),_(o,"class","_xt4vhk"),_(e,"class","_xt4vhk")},m(g,w){E(g,e,w),T(e,n),D(r,e,null),T(e,i),i.innerHTML=t[4],T(e,l),T(l,u),me(u,t[2]),T(l,s),s.innerHTML=t[3],T(e,o),T(o,a),a.innerHTML=t[1],D(f,o,null),k&&k.m(e,null),t[16](e),c=!0,p||(m=[Q(u,"input",t[14]),Q(e,"submit",tt(function(){Z(t[7])&&t[7].apply(this,arguments)}))],p=!0)},p(g,[w]){t=g;const I={};w&1&&(I.mail=t[0][0]),w&131136&&(I.$$scope={dirty:w,ctx:t}),r.$set(I),(!c||w&16)&&(i.innerHTML=t[4]),w&4&&u.value!==t[2]&&me(u,t[2]),(!c||w&8)&&(s.innerHTML=t[3]),(!c||w&2)&&(a.innerHTML=t[1]);const v={};w&256&&(v.send=t[8]),f.$set(v),k&&k.p&&(!c||w&131072)&&Se(k,b,t,t[17],c?ye(b,t[17],w,null):Te(t[17]),null)},i(g){c||(M(r.$$.fragment,g),M(f.$$.fragment,g),M(k,g),c=!0)},o(g){A(r.$$.fragment,g),A(f.$$.fragment,g),A(k,g),c=!1},d(g){g&&C(e),O(r),t[15](null),O(f),k&&k.d(g),t[16](null),p=!1,Le(m)}}}function Sc(t,e,n){let{$$slots:r={},$$scope:i}=e;var l,u,s,o,a,f,c,p,m;f=o=s=l="",R(oe(function(){n(6,f=this[33]),n(4,o=this[25]),n(3,s=this[17]),n(1,l=this[14])}));let{done:h}=e,{li:b}=e,{resend:k}=e,{submit:g}=e;p=()=>{ll(k,a)},u="",c=async()=>{var S;S=await dt(a,g(await zn(),...b,u)),S!==null?(h(S),We(a).close()):m.$set({state:2})};function w(){u=this.value,n(2,u)}function I(S){le[S?"unshift":"push"](()=>{m=S,n(9,m)})}function v(S){le[S?"unshift":"push"](()=>{a=S,n(5,a)})}return t.$$set=S=>{"done"in S&&n(10,h=S.done),"li"in S&&n(0,b=S.li),"resend"in S&&n(11,k=S.resend),"submit"in S&&n(12,g=S.submit),"$$scope"in S&&n(17,i=S.$$scope)},[b,l,u,s,o,a,f,c,p,m,h,k,g,r,w,I,v,i]}class ul extends W{constructor(e){super(),V(this,e,Sc,yc,U,{done:10,li:0,resend:11,submit:12})}}const Tc=()=>Mt.lang;var sl;const Lc=(...t)=>sl(...t),Mc=t=>{sl=t},Cc=bu(_API),Dn=async(t,e)=>{e.method=e.method||"POST",e.headers=e.headers||{},e.headers["Accept-Language"]=Tc(),e.credentials="include";try{return await Cc(t,e)}catch(n){const{status:r}=n;if(r)switch(r){case 417:try{n=await n.json()}catch(i){n=i;break}throw n;case 401:return new Promise((i,l)=>{Lc(()=>Dn(t,e).then(i,l))});case 412:return hl(t,e.body,new Uint8Array(await n.arrayBuffer()))}throw n}},ce=new Proxy({},{get:(t,e)=>async(...n)=>{const r={},{length:i}=n;return i&&(r.body=JSON.stringify(i>1?n:n[0])),Dn(e,r)}});var ol;ol=(t,...e)=>new Function(...e,`return \`${t}\``);String.prototype.render=function(...t){var e;return e=t[0],e instanceof Object?ol(this,...Object.keys(e))(...Object.values(e)):this.replace(/\${(\d+)}/g,(n,r)=>t[r])};const Ec={0:Yt,1:Ic,2:vc,5:Nc};function Ac(t,e=0){const[n,r]=Yt(t,e),i=Number(n),l=i&7,u=i>>3;return[{wireType:l,fieldNumber:u},r]}function Yt(t,e=0){let n=e,r=0n,i=0n;for(;t[n]&128;)r|=BigInt(t[n++]&127)<<i,i+=7n;return r|=BigInt(t[n++]&127)<<i,[r,n-e]}function vc(t,e=0){const[n,r]=Yt(t,e);return[t.subarray(e+r,e+r+Number(n)),r+Number(n)]}function Ic(t,e=0){return[t.subarray(e,e+8),8]}function Nc(t,e=0){return[t.subarray(e,e+4),4]}function Fc(t){for(var e=[],n=t.length,r=0,i,l;r<n;)[i,l]=Yt(t,r),e.push(i),r+=l;return e}function Hc(t){return function(e){return Fc(e).map(t)}}function*On(t,e=0,n=t.byteLength){let r=e;const i=e+n;for(;r<i;){const[{wireType:l,fieldNumber:u},s]=Ac(t,r),o=r;r+=s;const[a,f]=Ec[l](t,r);r+=f,yield[u,{tagOffset:o,tagLen:s,fieldNumber:u,wireType:l,len:f,data:a}]}}const qe=(t,e)=>{const n=[],r=[];e.forEach((l,u)=>{l==1?n.push(u):l==3&&r.push(u)});const i=al(t,n,r);return l=>{if(l.length){let u;return l.length===1?u=[]:u=i(l),e.forEach((s,o)=>{o in u?u[o]===void 0&&(u[o]=s):(n.includes(o)&&(s=[]),u[o]=s)}),u}}},Bn=t=>e=>{if(e.length){const n=[];if(e.length>1)for(const r of On(e))n.push(t(r[1].data));return n}},al=(t,e,n=[])=>r=>{if(r.length){let i,l,u,s=[];for(l of e)s[l]=[];for(l of n)s[l]={};if(r.length>1)for([l,{data:u}]of On(r)){const o=t[--l];n.includes(l)?o(s[l],u):(i=o(u),e.includes(l)?s[l].push(i):s[l]=i)}return s}};var hn;hn=new TextDecoder;const zc=hn.decode.bind(hn),{MAX_SAFE_INTEGER:fl,MIN_SAFE_INTEGER:Dc}=Number,Ie=t=>{let e=BigInt.asUintN(64,t);return e<=fl&&(e=Number(e)),e},it=t=>Number(BigInt.asUintN(32,t)),Oc=t=>t<=fl&&t>=Dc?Number(t):t,cl=t=>t!==0n,Bc=t=>t,ml=t=>Number(BigInt.asIntN(32,t)),pl=t=>Oc(BigInt.asIntN(64,t)),je=zc,Pc=Hc(ml),jc=al([Ie,Bc,je],[2]);function qc(t){let e,n,r;return{c(){e=d("h5"),n=new _e(!1),r=X(" ···"),n.a=r,_(e,"class","_sy721k")},m(i,l){E(i,e,l),n.m(t[2],e),T(e,r)},p(i,l){l&4&&n.p(i[2])},d(i){i&&C(e)}}}function Rc(t){let e,n,r,i;return{c(){e=d("h5"),n=d("a"),_(e,"class","_sy721k"),_(n,"title",t[4]),_(n,"class","_sy721k")},m(l,u){E(l,e,u),e.innerHTML=t[1],E(l,n,u),r||(i=Q(n,"click",function(){Z(t[3])&&t[3].apply(this,arguments)}),r=!0)},p(l,u){t=l,u&2&&(e.innerHTML=t[1]),u&16&&_(n,"title",t[4])},d(l){l&&(C(e),C(n)),r=!1,i()}}}function Uc(t){let e,n;function r(u,s){return u[1]?Rc:qc}let i=r(t),l=i(t);return{c(){e=d("i"),l.c(),n=d("b"),_(e,"class","_sy721k"),_(n,"class","_sy721k")},m(u,s){E(u,e,s),l.m(e,null),E(u,n,s),t[9](n)},p(u,[s]){i===(i=r(u))&&l?l.p(u,s):(l.d(1),l=i(u),l&&(l.c(),l.m(e,null)))},i:H,o:H,d(u){u&&(C(e),C(n)),l.d(),t[9](null)}}}function Vc(t,e,n){var r,i,l,u,s,o,a,f;l=a=s="",R(oe(function(){l=this[15],n(4,a=this[47]),n(2,s=this[32])}));let{req:c}=e,{reject:p}=e,{bin:m}=e;i=()=>{n(0,r.innerHTML="",r),n(0,r.style="",r),n(1,u=0),n(0,r.onclick=()=>{},r)};const h=k=>{var g,w,I,v,S;[g,I,v]=jc(k),n(1,u=l.render(v.map((L,F)=>{var B;return F===2?B="0 8px 0 8px":B="0 0 0 8px",`<svg style="width:16px;margin:${B}" viewBox="0 0 1024 1024"><path d="${L}"></path></svg>`}).join(""))),n(0,r.innerHTML="",r),n(0,r.style.background='url("'+URL.createObjectURL(new Blob([new Uint8Array(I)])).toString()+'") 0 0 / 420px no-repeat',r),w=new Set([1,2]),S=[],n(0,r.onclick=async L=>{var F,B,J,N,P,q,ee,ue;if({target:ue}=L,ue.tagName==="I"){w.add(+ue.innerHTML),ue.remove();return}if({layerY:J,layerX:B}=L,{size:ee}=w,N=ee?Math.min(...w):3,P=(N-1)*2,S[P]=B,S[1+P]=J,ee)w.delete(N),{i:F}=_t,F.innerHTML=N,F.style=`top:${J-15}px;left:${B-15}px`,r.appendChild(F);else{i();try{await c([Number.parseInt(g),...S])}catch(re){q=re,p(q)}}},r)};f=async()=>{var k;try{h(await ce.captcha())}catch(g){k=g,p(k)}},o=()=>{i(),f()},R(()=>{m?(h(m),n(5,m=void 0)):f()});function b(k){le[k?"unshift":"push"](()=>{r=k,n(0,r)})}return t.$$set=k=>{"req"in k&&n(6,c=k.req),"reject"in k&&n(7,p=k.reject),"bin"in k&&n(5,m=k.bin)},[r,u,s,o,a,m,c,p,h,b]}class Wc extends W{constructor(e){super(),V(this,e,Vc,Uc,U,{req:6,reject:7,bin:5,set:8})}get set(){return this.$$.ctx[8]}}var yt;const hl=(t,e,n)=>{var r,i;return yt?(n&&yt[0].set(n),yt[1]):(r=new Promise((l,u)=>{var s,o;[s,i]=Ft(Wc,{bin:n,req:async a=>{var f;f={headers:{"Content-Type":JSON.stringify(a)}},e!==void 0&&(f.body=e),l(await Dn(t,f)),s.close()},reject:a=>{o=a,s.close()}}),s.onclose=()=>{yt=void 0,u(o)}}),yt=[i,r],r)},Pn=new Proxy({},{get:(t,e)=>(...n)=>{var r;return n.length&&(r=JSON.stringify(n)),hl(e,r)}}),_l=(t,e)=>n=>{if(n.length){if(n.length>1)for(const r of On(n))return t(r[1].data);return e}},Qc=_l(Ie,0),jn=_l(je),bt=qe([Ie,Ie,it,je],[0,0,0,""]),Gc=qe([Ie,je,je,cl],[0,"","",!1]),Yc=Bn(Gc),Jc=async t=>jn(await ce.authConfMeta(t)),Xc=async t=>bt(await ce.authExit(t)),Zc=async()=>Yc(await ce.authLi()),Kc=async()=>bt(await ce.authMe()),xc=(t,e)=>ce.authName(t,e),gl=async(t,e)=>jn(await Pn.authNewMail(t,e)),em=async(t,e,n,r)=>bt(await ce.authPasswd(t,e,n,r)),dl=(t,e)=>Pn.authReset(t,e),tm=async t=>bt(await ce.authRm(t)),nm=async t=>bt(await ce.authSet(t)),rm=(t,e,n,r)=>ce.authSetMail(t,e,n,r),im=async(t,e,n,r,i)=>Qc(await ce.authSignUp(t,e,n,r,i)),bl=async(t,e,n,r)=>bt(await Pn.auth(t,e,n,r)),{authExitAll:lm,authLang:d_}=ce;function um(t){let e,n,r,i;return{c(){e=d("b"),n=d("button"),_(e,"class","_1ao917z"),_(n,"class","_1ao917z")},m(l,u){E(l,e,u),e.innerHTML=t[0],E(l,n,u),n.innerHTML=t[1],r||(i=Q(n,"click",function(){Z(t[2])&&t[2].apply(this,arguments)}),r=!0)},p(l,[u]){t=l,u&1&&(e.innerHTML=t[0]),u&2&&(n.innerHTML=t[1])},i:H,o:H,d(l){l&&(C(e),C(n)),r=!1,i()}}}function sm(t,e,n){var r,i,l;i="",R(oe(function(){n(1,i=this[42])})),r="";let{gen:u}=e;return R(oe(async function(){var s;s=await u.call(this),s.startsWith("<")||(s=`<h2>${s}</h2>`),n(0,r=s)})),l=function(){this.parentNode.close()},t.$$set=s=>{"gen"in s&&n(3,u=s.gen)},[r,i,l,u]}class om extends W{constructor(e){super(),V(this,e,sm,um,U,{gen:3})}}const kl=t=>{var e;return e=ku(),gt(om,e,{gen:t})},am=9,fm=13,cm=20,mm=27,pm=34,hm=54,_m=59,gm=63,dm=64;function bm(t){let e,n,r,i,l,u;return{c(){e=d("u"),n=d("input"),r=d("label"),i=d("button"),_(n,"placeholder"," "),_(n,"id","name"),_(n,"autocomplete","off"),n.required=!0,_(n,"type","text"),_(r,"for","name"),_(i,"type","submit")},m(s,o){E(s,e,o),T(e,n),me(n,t[2]),T(e,r),r.innerHTML=t[3],E(s,i,o),i.innerHTML=t[5],l||(u=Q(n,"input",t[7]),l=!0)},p(s,o){o&4&&n.value!==s[2]&&me(n,s[2]),o&8&&(r.innerHTML=s[3]),o&32&&(i.innerHTML=s[5])},d(s){s&&(C(e),C(i)),l=!1,u()}}}function km(t){let e,n;return e=new ul({props:{done:t[1],li:t[0],resend:t[4],submit:t[6],$$slots:{default:[bm]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&2&&(l.done=r[1]),i&1&&(l.li=r[0]),i&16&&(l.resend=r[4]),i&64&&(l.submit=r[6]),i&300&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function wm(t,e,n){var r,i,l,u,s,o;l=s="",R(oe(function(){n(3,l=this[35]),n(5,s=this[57])}));let{li:a}=e;i="",u=async()=>bl(await zn(),0,...a),r=c=>{Oe([c,0,,i]),kl(function(){return this[cm]})},o=(...c)=>im(...c,i);function f(){i=this.value,n(2,i)}return t.$$set=c=>{"li"in c&&n(0,a=c.li)},[a,r,i,l,u,s,o,f]}class $m extends W{constructor(e){super(),V(this,e,wm,km,U,{li:0})}}const wl=()=>kl(function(){return this[hm]});function ym(t){let e;return{c(){e=d("button"),_(e,"type","submit")},m(n,r){E(n,e,r),e.innerHTML=t[3]},p(n,r){r&8&&(e.innerHTML=n[3])},d(n){n&&C(e)}}}function Sm(t){let e,n;return e=new ul({props:{done:t[1],li:t[0],resend:t[2],submit:em,$$slots:{default:[ym]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&2&&(l.done=r[1]),i&1&&(l.li=r[0]),i&4&&(l.resend=r[2]),i&24&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Tm(t,e,n){var r,i,l;l="",R(oe(function(){n(3,l=this[55])}));let{li:u}=e;return i=()=>dl(...u),r=s=>{Oe(s),wl()},t.$$set=s=>{"li"in s&&n(0,u=s.li)},[u,r,i,l]}class Lm extends W{constructor(e){super(),V(this,e,Tm,Sm,U,{li:0})}}const $l=async t=>{await dl(...t),et(Lm,{li:t})};function Mm(t){let e,n,r,i,l,u,s,o,a,f;return{c(){e=d("form"),n=d("u"),r=d("input"),i=d("label"),l=d("u"),u=d("input"),s=d("label"),o=d("button"),_(r,"placeholder"," "),_(r,"id","account"),_(r,"autocomplete","username"),r.required=!0,_(r,"type","text"),_(i,"for","account"),_(u,"placeholder"," "),_(u,"id","password"),_(u,"autocomplete","off"),_(u,"minlength","6"),u.required=!0,_(u,"type","password"),_(s,"for","password"),_(o,"type","submit"),_(o,"class","_1t65l74"),_(e,"class","_1t65l74")},m(c,p){E(c,e,p),T(e,n),T(n,r),me(r,t[0]),T(n,i),i.innerHTML=t[2],T(e,l),T(l,u),T(l,s),s.innerHTML=t[4],T(e,o),o.innerHTML=t[3],t[7](e),a||(f=[Q(r,"input",t[6]),Q(e,"submit",tt(function(){Z(t[5])&&t[5].apply(this,arguments)}))],a=!0)},p(c,[p]){t=c,p&1&&r.value!==t[0]&&me(r,t[0]),p&4&&(i.innerHTML=t[2]),p&16&&(s.innerHTML=t[4]),p&8&&(o.innerHTML=t[3])},i:H,o:H,d(c){c&&C(e),t[7](null),a=!1,Le(f)}}}function Cm(t,e,n){var r,i,l,u,s;i=u=l="",R(oe(function(){n(2,i=this[33]),n(4,u=this[55]),n(3,l=this[49])}));let{account:o}=e;s=async()=>{var c;c=[...r.getElementsByTagName("input")].map(p=>p.value),await dt(r,$l(c))!==null&&We(r).close()};function a(){o=this.value,n(0,o)}function f(c){le[c?"unshift":"push"](()=>{r=c,n(1,r)})}return t.$$set=c=>{"account"in c&&n(0,o=c.account)},[o,r,i,l,u,s,a,f]}class Em extends W{constructor(e){super(),V(this,e,Cm,Mm,U,{account:0})}}function Nr(t=""){var e;return(e=We(this))!=null&&e.close(),et(Em,{account:t})}const Am=t=>{var e;return e=wu('<style>.uBox>div>b.w{margin-top:24px}</style><div style="max-height:calc(100vh - 128px);padding:0 24px 24px"></div>'),e.style="max-width:750px",gt(Ri,e.childNodes[2],{url:t})};function vm(t){let e,n,r,i,l,u,s,o,a,f,c,p,m,h,b,k,g,w,I,v,S;return{c(){e=d("form"),n=d("button"),r=d("h1"),r.textContent=`${_NAME}`,i=d("u"),l=d("input"),u=d("label"),s=d("u"),o=d("input"),a=d("label"),f=X(t[6]),c=d("b"),p=d("button"),m=d("button"),h=d("footer"),b=d("b"),k=d("input"),g=d("label"),w=d("a"),I=d("a"),_(n,"type","submit"),_(n,"class","_1g7soy9"),_(r,"class","_1g7soy9"),_(l,"placeholder"," "),_(l,"id","account"),_(l,"autocomplete",t[2]),l.required=!0,_(l,"type","text"),_(u,"for","account"),_(o,"placeholder"," "),_(o,"id","password"),_(o,"autocomplete","current-password"),_(o,"minlength","6"),o.required=!0,_(o,"type","password"),_(a,"for","password"),_(p,"type","submit"),_(p,"class","_1g7soy9"),_(m,"type","submit"),_(m,"class","_1g7soy9"),_(c,"class","_1g7soy9"),Ce(c,"d",!t[1]),_(k,"id","uAuthAgree"),_(k,"type","checkbox"),_(k,"class","_1g7soy9"),_(g,"for","uAuthAgree"),_(g,"class","_1g7soy9"),_(w,"class","_1g7soy9"),_(b,"class","_1g7soy9"),_(I,"class","_1g7soy9"),_(h,"class","_1g7soy9"),_(e,"class","_1g7soy9")},m(L,F){E(L,e,F),T(e,n),T(e,r),T(e,i),T(i,l),T(i,u),u.innerHTML=t[5],T(e,s),T(s,o),T(s,a),T(a,f),T(e,c),T(c,p),p.innerHTML=t[9],T(c,m),m.innerHTML=t[8],T(e,h),T(h,b),T(b,k),k.checked=t[1],T(b,g),g.innerHTML=t[0],T(b,w),w.innerHTML=t[12],T(h,I),I.innerHTML=t[7],t[18](e),v||(S=[Q(k,"change",t[17]),Q(w,"click",function(){Z(t[11])&&t[11].apply(this,arguments)}),Q(I,"click",function(){Z(Nr.call(this,t[4][0].value))&&Nr.call(this,t[4][0].value).apply(this,arguments)}),Q(e,"submit",tt(function(){Z(t[10])&&t[10].apply(this,arguments)}))],v=!0)},p(L,[F]){t=L,F&4&&_(l,"autocomplete",t[2]),F&32&&(u.innerHTML=t[5]),F&64&&K(f,t[6]),F&512&&(p.innerHTML=t[9]),F&256&&(m.innerHTML=t[8]),F&2&&Ce(c,"d",!t[1]),F&2&&(k.checked=t[1]),F&1&&(g.innerHTML=t[0]),F&4096&&(w.innerHTML=t[12]),F&128&&(I.innerHTML=t[7])},i:H,o:H,d(L){L&&C(e),t[18](null),v=!1,Le(S)}}}function Im(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h,b,k,g,w;c=m=a=b=h=i=w=p="",R(oe(function(){n(15,c=this[43]),n(16,m=this[55]),n(5,a=this[33]),n(9,b=this[57]),n(8,h=this[56]),n(0,i=this[6]),n(12,w=this[65]),n(7,p=this[49])}));let{n:I=1}=e,{account:v=localStorage.account||""}=e;r="n",l=!0,g=Am.bind(null,"UA"),R(()=>{var F,B;n(4,o=[...s.getElementsByTagName("input")].slice(0,2)),n(4,o[0].value=v,o),F=[...s.getElementsByTagName("button")].slice(1,3);for(B of F)B.onclick=function(J){var N,P,q;for(rl(s),q=N=0,P=F.length;N<P;q=++N){if(B=F[q],B===this){if(n(13,I=q),B.classList.contains(r)&&(J.preventDefault(),B.classList.remove(r),I===0))for(B of o)B.value=""}else B.classList.add(r);vn(s)}};F[(I+1)%2].classList.add(r)}),k=async()=>{var F,B,J;l&&(F=o.map(N=>N.value),J=await dt(s,bl(await zn(),I,...F)),J!==null&&(J?(localStorage.account=o[0].value,Oe(J)):et($m,{li:F}),(B=We(s))!=null&&B.close()))};function S(){l=this.checked,n(1,l)}function L(F){le[F?"unshift":"push"](()=>{s=F,n(3,s)})}return t.$$set=F=>{"n"in F&&n(13,I=F.n),"account"in F&&n(14,v=F.account)},t.$$.update=()=>{t.$$.dirty&106496&&(I?(n(2,u="username"),n(6,f=c)):(n(2,u="off"),n(6,f=m)))},[i,l,u,s,o,a,f,p,h,b,k,g,w,I,v,c,m,S,L]}let Vt=class extends W{constructor(e){super(),V(this,e,Im,vm,U,{n:13,account:14})}};var qn;qn=t=>{et(Vt,{n:t})};const Nm=()=>qn(0),Rn=()=>qn(1);var jt;const yl=(t,e)=>{var n,r;n=new Date,r=+n,n.setTime(r+e),document.cookie=t+";expires="+n.toUTCString()+";domain="+jt},Fm=()=>{var t,e,n,r,i;if(!jt)for(t=0,n=document.domain.split("."),r=+new Date,e="_"+r,i=e+"="+r;t<n.length-1&&document.cookie.indexOf(i)===-1;)jt=n.slice(-1-++t).join("."),yl(i,1e3);return jt};Fm();const Hm=(t,e,n)=>{n||(n=e?1e11:0),yl(t+"="+e,n)},zm=t=>new Proxy({},{get:(e,n)=>{var r,i,l;if(i=n+"=",l=t.indexOf(i),~l)return l+=i.length,r=t.indexOf(";",l),r<0&&(r=t.length),t.slice(l,r)}}),Dm="en;zh;es;fr;de;ja;it;ko;ru;pt;sq;ar;am;as;az;ee;ay;ga;et;or;om;eu;be;bm;bg;is;pl;bs;fa;bho;af;tt;da;dv;ti;sa;fil;fi;fy;km;ka;gu;gn;kk;ht;ha;nl;ky;gl;ca;cs;kn;co;hr;qu;ku;la;lv;lo;lt;ln;lg;lb;rw;ro;mg;mt;mr;ml;ms;mk;mai;mi;mn;bn;my;hmn;xh;zu;ne;no;pa;ps;ny;ak;sv;sm;si;eo;sk;sl;sw;ceb;so;tg;te;ta;th;tr;tk;cy;ur;uz;he;el;haw;sd;hu;sn;hy;ig;ilo;yi;hi;su;id;jv;yo;vi;zh-TW;ts".split(";");var ht,Ct,Be,Ke,Un,Sl;ht=new Set;({V:Ke}=zm(document.cookie));Ke=Ke?parseInt(Ke,36):0;Sl=()=>{var t;t=[Ke],Be?t.push(...Be):t.push(Be),localStorage.U=JSON.stringify(t)};bn(t=>{Ct!==t&&(Be&&Ct!==void 0&&ce.authLang(),Ct=t)});Un=t=>{var e;t?(e=t[2],e!==void 0&&(e=Dm[e],e!==Ct&&$i(Ct=e))):t=!1,Be=t,ht.forEach(n=>{n(t)})};const Oe=t=>{var e,n;if(!(t&&Be&&t.every((r,i)=>r===Be[i]))){Hm("V",(++Ke).toString(36)),Un(t),Sl(),n=[yu,yi];for(e of n)e(0,t)}};await(async()=>{var t;if(!Ke){Be=!1;return}if({U:t}=localStorage,t&&(t=JSON.parse(t),t[0]===Ke)){yi(0,Be=t[1]&&t.slice(1));return}Oe(await Kc())})();$u(0,Un);Su(0,Oe);const Vn=()=>Be,Tl=t=>(ht.add(t),t(Be),()=>{ht.delete(t)});Mc(t=>{var e;e=()=>{t().finally(()=>{ht.remove(e)})},ht.add(e),Rn()});function Om(t){let e,n,r;return n=new Vt({}),{c(){e=d("b"),j(n.$$.fragment),_(e,"class","_xy7h1h")},m(i,l){E(i,e,l),D(n,e,null),r=!0},p:H,i(i){r||(M(n.$$.fragment,i),r=!0)},o(i){A(n.$$.fragment,i),r=!1},d(i){i&&C(e),O(n)}}}function Bm(t){let e,n,r;var i=t[0];function l(u,s){return{}}return i&&(e=xe(i,l())),{c(){e&&j(e.$$.fragment),n=x()},m(u,s){e&&D(e,u,s),E(u,n,s),r=!0},p(u,s){if(s&1&&i!==(i=u[0])){if(e){te();const o=e;A(o.$$.fragment,1,0,()=>{O(o,1)}),ne()}i?(e=xe(i,l()),j(e.$$.fragment),M(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}},i(u){r||(e&&M(e.$$.fragment,u),r=!0)},o(u){e&&A(e.$$.fragment,u),r=!1},d(u){u&&C(n),e&&O(e,u)}}}function Pm(t){let e,n,r,i;const l=[Bm,Om],u=[];function s(o,a){return o[0]?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function jm(t,e,n){var r,i;let{s:l}=e;return Tl(async u=>{var s;u?([s]=u,(!i||i!==s)&&(i=s,n(0,r=Fe),await Xe()),n(0,r=l)):n(0,r=0)}),t.$$set=u=>{"s"in u&&n(1,l=u.s)},[r,l]}class qm extends W{constructor(e){super(),V(this,e,jm,Pm,U,{s:1})}}const Wn=t=>class extends qm{constructor(e){var n;({props:n}=e),n||(e.props=n={}),n.s=t,super(e)}},Rm=t=>({}),Fr=t=>({});function Um(t){let e,n,r,i,l,u,s;const o=t[9].t,a=$e(o,t,t[8],Fr),f=a||Wm(t);return{c(){e=d("b"),n=X(t[1]),r=d("i"),f&&f.c(),i=d("a"),_(e,"class","E _10t55pe"),_(r,"class","_10t55pe"),_(i,"class","E _10t55pe")},m(c,p){E(c,e,p),T(e,n),E(c,r,p),f&&f.m(r,null),E(c,i,p),l=!0,u||(s=Q(i,"click",t[2]),u=!0)},p(c,p){(!l||p&2)&&K(n,c[1]),a?a.p&&(!l||p&256)&&Se(a,o,c,c[8],l?ye(o,c[8],p,Rm):Te(c[8]),Fr):f&&f.p&&(!l||p&1)&&f.p(c,l?p:-1)},i(c){l||(M(f,c),l=!0)},o(c){A(f,c),l=!1},d(c){c&&(C(e),C(r),C(i)),f&&f.d(c),u=!1,s()}}}function Vm(t){let e,n,r,i,l,u,s;const o=t[9].default,a=$e(o,t,t[8],null);return{c(){e=d("form"),a&&a.c(),n=d("b"),r=d("a"),i=d("a"),_(r,"class","I Y _10t55pe"),_(i,"class","I N _10t55pe"),_(n,"class","_10t55pe"),_(e,"class","_10t55pe")},m(f,c){E(f,e,c),a&&a.m(e,null),T(e,n),T(n,r),T(n,i),t[10](e),l=!0,u||(s=[Q(r,"click",function(){Z(t[4])&&t[4].apply(this,arguments)}),Q(i,"click",function(){Z(t[3])&&t[3].apply(this,arguments)}),Q(e,"submit",tt(function(){Z(t[4])&&t[4].apply(this,arguments)}))],u=!0)},p(f,c){t=f,a&&a.p&&(!l||c&256)&&Se(a,o,t,t[8],l?ye(o,t[8],c,null):Te(t[8]),null)},i(f){l||(M(a,f),l=!0)},o(f){A(a,f),l=!1},d(f){f&&C(e),a&&a.d(f),t[10](null),u=!1,Le(s)}}}function Wm(t){let e;return{c(){e=X(t[0])},m(n,r){E(n,e,r)},p(n,r){r&1&&K(e,n[0])},d(n){n&&C(e)}}}function Qm(t){let e,n,r,i;const l=[Vm,Um],u=[];function s(o,a){return o[6]?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Gm(t,e,n){let{$$slots:r={},$$scope:i}=e;var l,u,s,o,a;let{val:f}=e,{name:c}=e,{y:p}=e;u=async()=>{await dt(o,p(s,f))!==null&&n(6,a=0)},l=()=>{n(0,f=s),n(6,a=0)};const m=async()=>{var b;s=f,n(6,a=1),await Xe(),b=Wt(o,"input"),b&&(b.focus(),b.select())};function h(b){le[b?"unshift":"push"](()=>{o=b,n(5,o)})}return t.$$set=b=>{"val"in b&&n(0,f=b.val),"name"in b&&n(1,c=b.name),"y"in b&&n(7,p=b.y),"$$scope"in b&&n(8,i=b.$$scope)},[f,c,m,l,u,o,a,p,i,r,h]}class en extends W{constructor(e){super(),V(this,e,Gm,Qm,U,{val:0,name:1,y:7,open:2})}get open(){return this.$$.ctx[2]}}function Hr(t){let e,n,r,i,l,u,s,o,a,f;return e=new Hn({props:{mail:t[0][0],$$slots:{default:[Ym]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment),n=d("u"),r=d("input"),i=d("label"),l=new _e(!1),u=Pe(),s=new _e(!1),_(r,"placeholder"," "),_(r,"id","now"),r.required=!0,_(r,"type","text"),l.a=u,s.a=null,_(i,"for","now")},m(c,p){D(e,c,p),E(c,n,p),T(n,r),me(r,t[9]),T(n,i),l.m(t[8],i),T(i,u),s.m(t[2],i),o=!0,a||(f=Q(r,"input",t[13]),a=!0)},p(c,p){const m={};p&1&&(m.mail=c[0][0]),p&131328&&(m.$$scope={dirty:p,ctx:c}),e.$set(m),p&512&&r.value!==c[9]&&me(r,c[9]),(!o||p&256)&&l.p(c[8]),(!o||p&4)&&s.p(c[2])},i(c){o||(M(e.$$.fragment,c),o=!0)},o(c){A(e.$$.fragment,c),o=!1},d(c){c&&C(n),O(e,c),a=!1,f()}}}function Ym(t){let e,n;return{c(){e=new _e(!1),n=x(),e.a=n},m(r,i){e.m(t[8],r,i),E(r,n,i)},p(r,i){i&256&&e.p(r[8])},d(r){r&&(C(n),e.d())}}}function Jm(t){let e,n;return{c(){e=new _e(!1),n=x(),e.a=n},m(r,i){e.m(t[6],r,i),E(r,n,i)},p(r,i){i&64&&e.p(r[6])},d(r){r&&(C(n),e.d())}}}function Xm(t){let e,n,r,i,l,u,s,o,a,f,c,p,m,h,b,k,g,w=t[0][0]&&Hr(t);u=new Hn({props:{mail:t[0][2],$$slots:{default:[Jm]},$$scope:{ctx:t}}});let I={send:t[10]};return m=new il({props:I}),t[15](m),{c(){e=d("form"),n=d("h5"),r=d("p"),i=d("b"),w&&w.c(),l=x(),j(u.$$.fragment),s=d("u"),o=d("input"),a=d("label"),f=new _e(!1),c=Pe(),p=new _e(!1),j(m.$$.fragment),h=d("button"),_(r,"class","_1ij7b2f"),_(i,"class","_1ij7b2f"),_(n,"class","_1ij7b2f"),_(o,"placeholder"," "),_(o,"id","mail"),o.required=!0,_(o,"type","text"),f.a=c,p.a=null,_(a,"for","mail"),_(h,"type","submit"),_(h,"class","_1ij7b2f"),_(e,"class","_1ij7b2f")},m(v,S){E(v,e,S),T(e,n),T(n,r),r.innerHTML=t[4],T(n,i),i.innerHTML=t[1],w&&w.m(e,null),T(e,l),D(u,e,null),T(e,s),T(s,o),me(o,t[7]),T(s,a),f.m(t[6],a),T(a,c),p.m(t[2],a),D(m,e,null),T(e,h),h.innerHTML=t[3],t[16](e),b=!0,k||(g=[Q(o,"input",t[14]),Q(e,"submit",tt(function(){Z(t[12])&&t[12].apply(this,arguments)}))],k=!0)},p(v,[S]){t=v,(!b||S&16)&&(r.innerHTML=t[4]),(!b||S&2)&&(i.innerHTML=t[1]),t[0][0]?w?(w.p(t,S),S&1&&M(w,1)):(w=Hr(t),w.c(),M(w,1),w.m(e,l)):w&&(te(),A(w,1,1,()=>{w=null}),ne());const L={};S&1&&(L.mail=t[0][2]),S&131136&&(L.$$scope={dirty:S,ctx:t}),u.$set(L),S&128&&o.value!==t[7]&&me(o,t[7]),(!b||S&64)&&f.p(t[6]),(!b||S&4)&&p.p(t[2]);const F={};S&1024&&(F.send=t[10]),m.$set(F),(!b||S&8)&&(h.innerHTML=t[3])},i(v){b||(M(w),M(u.$$.fragment,v),M(m.$$.fragment,v),b=!0)},o(v){A(w),A(u.$$.fragment,v),A(m.$$.fragment,v),b=!1},d(v){v&&C(e),w&&w.d(),O(u),t[15](null),O(m),t[16](null),k=!1,Le(g)}}}function Zm(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h;u=r=f=i=o=l="",R(oe(function(){n(4,u=this[25]),n(1,r=this[14]),n(8,f=this[41]),n(2,i=this[17]),n(6,o=this[38]),n(3,l=this[18])}));let{li:b}=e;p=()=>{ll(async()=>{n(0,b[0]=await gl(...b.slice(1)),b)},s)},h=async()=>{await dt(s,rm(...b.slice(1),c,a))!==null?(wl(),We(s).close()):m.$set({state:2})};function k(){c=this.value,n(9,c)}function g(){a=this.value,n(7,a)}function w(v){le[v?"unshift":"push"](()=>{m=v,n(11,m)})}function I(v){le[v?"unshift":"push"](()=>{s=v,n(5,s)})}return t.$$set=v=>{"li"in v&&n(0,b=v.li)},[b,r,i,l,u,s,o,a,f,c,p,m,h,k,g,w,I]}class Km extends W{constructor(e){super(),V(this,e,Zm,Xm,U,{li:0})}}function xm(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function ep(t){let e,n,r,i,l;n=new en({props:{name:t[4],val:t[0][1],y:t[11],$$slots:{default:[tp]},$$scope:{ctx:t}}}),r=new en({props:{name:t[2],val:t[1],y:t[10],$$slots:{default:[np]},$$scope:{ctx:t}}});let u={name:t[8],val:t[5],y:t[12],$$slots:{t:[ip],default:[rp]},$$scope:{ctx:t}};return i=new en({props:u}),t[16](i),{c(){e=d("main"),j(n.$$.fragment),j(r.$$.fragment),j(i.$$.fragment),_(e,"class","_6q0785")},m(s,o){E(s,e,o),D(n,e,null),D(r,e,null),D(i,e,null),t[17](e),l=!0},p(s,o){const a={};o&16&&(a.name=s[4]),o&1&&(a.val=s[0][1]),o&2048&&(a.y=s[11]),o&262161&&(a.$$scope={dirty:o,ctx:s}),n.$set(a);const f={};o&4&&(f.name=s[2]),o&2&&(f.val=s[1]),o&1024&&(f.y=s[10]),o&262150&&(f.$$scope={dirty:o,ctx:s}),r.$set(f);const c={};o&256&&(c.name=s[8]),o&32&&(c.val=s[5]),o&4096&&(c.y=s[12]),o&263072&&(c.$$scope={dirty:o,ctx:s}),i.$set(c)},i(s){l||(M(n.$$.fragment,s),M(r.$$.fragment,s),M(i.$$.fragment,s),l=!0)},o(s){A(n.$$.fragment,s),A(r.$$.fragment,s),A(i.$$.fragment,s),l=!1},d(s){s&&C(e),O(n),O(r),t[16](null),O(i),t[17](null)}}}function tp(t){let e,n,r,i,l;return{c(){e=d("u"),n=d("input"),r=d("label"),_(n,"placeholder"," "),_(n,"id","name"),_(n,"autocomplete","off"),n.required=!0,_(n,"type","text"),_(r,"for","name")},m(u,s){E(u,e,s),T(e,n),me(n,t[0][1]),T(e,r),r.innerHTML=t[4],i||(l=Q(n,"input",t[13]),i=!0)},p(u,s){s&1&&n.value!==u[0][1]&&me(n,u[0][1]),s&16&&(r.innerHTML=u[4])},d(u){u&&C(e),i=!1,l()}}}function np(t){let e,n,r,i,l;return{c(){e=d("u"),n=d("input"),r=d("label"),_(n,"placeholder"," "),_(n,"id","mail"),_(n,"autocomplete","off"),n.required=!0,_(n,"type","email"),_(r,"for","mail")},m(u,s){E(u,e,s),T(e,n),me(n,t[1]),T(e,r),r.innerHTML=t[2],i||(l=Q(n,"input",t[14]),i=!0)},p(u,s){s&2&&n.value!==u[1]&&me(n,u[1]),s&4&&(r.innerHTML=u[2])},d(u){u&&C(e),i=!1,l()}}}function rp(t){let e,n,r,i,l;return{c(){e=d("u"),n=d("input"),r=d("label"),_(n,"placeholder"," "),_(n,"id","passwd"),_(n,"autocomplete","off"),_(n,"minlength","6"),n.required=!0,_(n,"type","password"),_(r,"for","passwd")},m(u,s){E(u,e,s),T(e,n),me(n,t[5]),T(e,r),r.innerHTML=t[8],i||(l=Q(n,"input",t[15]),i=!0)},p(u,s){s&32&&n.value!==u[5]&&me(n,u[5]),s&256&&(r.innerHTML=u[8])},d(u){u&&C(e),i=!1,l()}}}function ip(t){let e,n,r;return{c(){e=d("a"),_(e,"slot","t")},m(i,l){E(i,e,l),e.innerHTML=t[9],n||(r=Q(e,"click",function(){Z(t[7])&&t[7].apply(this,arguments)}),n=!0)},p(i,l){t=i,l&512&&(e.innerHTML=t[9])},d(i){i&&C(e),n=!1,r()}}}function lp(t){let e,n,r,i;const l=[ep,xm],u=[];function s(o,a){return o[1]!=null?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function up(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h;u=i=f=c="",R(oe(function(){n(4,u=this[35]),n(2,i=this[33]),n(8,f=this[43]),n(9,c=this[49])}));let{li:b}=e;a=()=>{o.open()},R(async()=>{var S;[S]=b,n(1,r=await Jc(S)||"")}),h=()=>(s&&$l([r,s]),1),m=async()=>{var S,L;return await xc(...b),L=Vn(),L&&L[0]===b[0]&&(S=[...L],++S[1],S[3]=b[1],Oe(S)),1},p=async S=>{var L,F,B;if(F=r.trim(),F.toLowerCase()===S.toLowerCase())return n(1,r=F),1;[L]=b,B=await gl(L,F),et(Km,{li:[B,L,F]}),We(l).close()};function k(){b[1]=this.value,n(0,b)}function g(){r=this.value,n(1,r)}function w(){s=this.value,n(5,s)}function I(S){le[S?"unshift":"push"](()=>{o=S,n(6,o)})}function v(S){le[S?"unshift":"push"](()=>{l=S,n(3,l)})}return t.$$set=S=>{"li"in S&&n(0,b=S.li)},[b,r,i,l,u,s,o,a,f,c,p,m,h,k,g,w,I,v]}class sp extends W{constructor(e){super(),V(this,e,up,lp,U,{li:0})}}function op(t){let e,n,r,i;return{c(){e=d("a"),n=d("a")},m(l,u){E(l,e,u),e.innerHTML=t[2],E(l,n,u),n.innerHTML=t[3],r||(i=[Q(e,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),Q(n,"click",function(){Z(t[0])&&t[0].apply(this,arguments)})],r=!0)},p(l,[u]){t=l,u&4&&(e.innerHTML=t[2]),u&8&&(n.innerHTML=t[3])},i:H,o:H,d(l){l&&(C(e),C(n)),r=!1,Le(i)}}}function ap(t,e,n){var r,i;r=i="",R(oe(function(){n(2,r=this[18]),n(3,i=this[27])}));let{exit:l}=e,{config:u}=e;return t.$$set=s=>{"exit"in s&&n(0,l=s.exit),"config"in s&&n(1,u=s.config)},[l,u,r,i]}let fp=class extends W{constructor(e){super(),V(this,e,ap,op,U,{exit:0,config:1})}};function cp(t){let e,n,r,i;return{c(){e=d("a"),n=d("a")},m(l,u){E(l,e,u),e.innerHTML=t[3],E(l,n,u),n.innerHTML=t[2],r||(i=[Q(e,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),Q(n,"click",function(){Z(t[0])&&t[0].apply(this,arguments)})],r=!0)},p(l,[u]){t=l,u&8&&(e.innerHTML=t[3]),u&4&&(n.innerHTML=t[2])},i:H,o:H,d(l){l&&(C(e),C(n)),r=!1,Le(i)}}}function mp(t,e,n){var r,i;i=r="",R(oe(function(){n(3,i=this[56]),n(2,r=this[50])}));let{rm:l}=e,{signIn:u}=e;return t.$$set=s=>{"rm"in s&&n(0,l=s.rm),"signIn"in s&&n(1,u=s.signIn)},[l,u,r,i]}class pp extends W{constructor(e){super(),V(this,e,mp,cp,U,{rm:0,signIn:1})}}const Ll=async t=>(Oe(t?await Xc(t):!1),Vn());function zr(t,e,n){const r=t.slice();return r[10]=e[n][0],r[11]=e[n][1],r[12]=e[n][2],r[13]=e[n][3],r[14]=e[n][4],r}function hp(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function _p(t){let e,n,r,i,l,u=fe(t[5]),s=[];for(let o=0;o<u.length;o+=1)s[o]=Dr(zr(t,u,o));return{c(){for(let o=0;o<s.length;o+=1)s[o].c();e=d("i"),n=d("a"),r=d("a"),_(n,"class","_nct0fo"),_(r,"class","_nct0fo"),_(e,"class","_nct0fo")},m(o,a){for(let f=0;f<s.length;f+=1)s[f]&&s[f].m(o,a);E(o,e,a),T(e,n),n.innerHTML=t[1],T(e,r),r.innerHTML=t[4],i||(l=[Q(n,"click",function(){Z(t[0])&&t[0].apply(this,arguments)}),Q(r,"click",function(){Z(t[3])&&t[3].apply(this,arguments)})],i=!0)},p(o,a){if(t=o,a&100){u=fe(t[5]);let f;for(f=0;f<u.length;f+=1){const c=zr(t,u,f);s[f]?s[f].p(c,a):(s[f]=Dr(c),s[f].c(),s[f].m(e.parentNode,e))}for(;f<s.length;f+=1)s[f].d(1);s.length=u.length}a&2&&(n.innerHTML=t[1]),a&16&&(r.innerHTML=t[4])},i:H,o:H,d(o){o&&C(e),He(s,o),i=!1,Le(l)}}}function Dr(t){let e,n,r,i=t[11]+"",l,u,s=t[12]+"",o,a,f,c,p;return{c(){e=d("u"),n=d("i"),r=d("b"),l=X(i),u=d("b"),o=X(s),a=d("a"),_(u,"class","_nct0fo"),_(r,"class","_nct0fo"),_(n,"class","_nct0fo"),Ce(n,"n",t[14]),_(a,"rel",f=t[10]),_(a,"class","_nct0fo"),_(e,"class","_nct0fo"),Ce(e,"e",t[13])},m(m,h){E(m,e,h),T(e,n),T(n,r),T(r,l),T(r,u),T(u,o),T(e,a),c||(p=[Q(n,"click",function(){Z(t[6].call(this,t[10]))&&t[6].call(this,t[10]).apply(this,arguments)}),Q(a,"click",function(){Z(t[2])&&t[2].apply(this,arguments)})],c=!0)},p(m,h){t=m,h&32&&i!==(i=t[11]+"")&&K(l,i),h&32&&s!==(s=t[12]+"")&&K(o,s),h&32&&Ce(n,"n",t[14]),h&32&&f!==(f=t[10])&&_(a,"rel",f),h&32&&Ce(e,"e",t[13])},d(m){m&&C(e),c=!1,Le(p)}}}function gp(t){let e,n,r,i;const l=[_p,hp],u=[];function s(o,a){return o[5]?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,[a]){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function dp(t,e,n){var r,i,l,u,s,o,a,f,c,p;return l=o="",R(oe(function(){n(1,l=this[3]),n(4,o=this[28])})),r=m=>function(){m.call(this,+this.parentNode.previousSibling.rel)},p=async function(m){var h,b,k,g,w,I,v;g=We(this),I=1;for(v of f)if([b,h,k,w]=v,w){if(m===b){et(Vt,{account:k}),g.close();return}}else{if(m===b&&I)return;I=0}n(5,f=0),Oe(await nm(m)),g.close()},c=At(pp,{signIn:r(p),rm:r(async m=>{var h,b,k,g,w;for(w=f,n(5,f=0),Oe(await tm(m)),g=b=0,k=w.length;b<k;g=++b)if(h=w[g],h[0]===m){w.splice(g,1);break}n(5,f=w)})}),a=At(fp,{config:r(function(m){var h;for(h of f)h[0]===m&&(Ft(sp,{li:h.slice(0,2)}),We(this).close())}),exit:r(async m=>{var h,b,k,g,w,I,v,S;for(S=f,n(5,f=0),I=await Ll(m),v=b=0,g=S.length;b<g;v=++b)if(h=S[v],m===h[0]){h.length===5&&h.pop(),h[3]=!0;break}if(I){for(v=k=0,w=S.length;k<w;v=++k)if(h=S[v],h[0]===I[0]){h.push(1);break}}n(5,f=S)})}),u=function(){var m,h,b,k,g,w;for(h=+this.rel,w=b=0,k=f.length;b<k;w=++b)if(m=f[w],m[0]===h){m[3]?g=c:g=a,g.call(this);break}},s=async function(){var m;m=We(this),n(5,f=0),await lm(),Oe(!1),m.close()},i=function(){et(Vt,{account:""}),We(this).close()},R(async()=>{var m,h,b,k;if(k=await Zc(),!k){Oe(!1),Rn();return}h=[],b=[];for(m of k)m[3]?k=b:k=h,k.push(m);h.length&&(h.reverse(),h[0].push(1)),n(5,f=h.concat(b))}),[i,l,u,s,o,f,p]}class bp extends W{constructor(e){super(),V(this,e,dp,gp,U,{})}}const Ml=[[dm,()=>{Ft(bp)}],[mm,()=>{var t;Ll((t=Vn())!=null?t[0]:void 0)}]],kp=(t,e,n)=>{Ml.unshift([e,"/"+t]),Si.push(Ti[t](n))},wp=t=>()=>{let e;return{c:H,m:(n,r)=>{D(e=new t({target:n}),n,r)},d:n=>{n&&C(e)},l:H}};function $p(t){let e;const n=t[1].default,r=$e(n,t,t[3],null);return{c(){r&&r.c()},m(i,l){r&&r.m(i,l),e=!0},p(i,l){r&&r.p&&(!e||l&8)&&Se(r,n,i,i[3],e?ye(n,i[3],l,null):Te(i[3]),null)},i(i){e||(M(r,i),e=!0)},o(i){A(r,i),e=!1},d(i){r&&r.d(i)}}}function yp(t){let e,n,r={$$slots:{default:[$p]},$$scope:{ctx:t}};return e=new Wi({props:r}),t[2](e),{c(){j(e.$$.fragment)},m(i,l){D(e,i,l),n=!0},p(i,[l]){const u={};l&8&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){n||(M(e.$$.fragment,i),n=!0)},o(i){A(e.$$.fragment,i),n=!1},d(i){t[2](null),O(e,i)}}}function Sp(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;R(()=>En(l));function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"$$scope"in s&&n(3,i=s.$$scope)},[l,r,u,i]}class Tp extends W{constructor(e){super(),V(this,e,Sp,yp,U,{})}}const Cl=t=>class extends Tp{constructor(e){let{props:n}=e;n||(e.props=n={}),n.$$scope={},n.$$slots={default:[wp(t)]},super(e)}},El=new Proxy({},{get:(t,e)=>(n,r)=>kp(e,n,Cl(r))}),Lp=t=>new Uint8Array(t),Mp=Lp([1]),Al=qe([it,Ie,Ie,ml,pl],[0,0,0,0,0]),Cp=Bn(Al),Ep=qe([Ie,Ie],[0,0]),Ap=qe([Ie,it,it,it,je],[0,0,0,0,""]),vp=qe([it,je],[0,""]),_n=qe([je,je],["",""]),Ip=qe([Ie,Ie,it],[0,0,0]),Np=qe([Ap,vp,_n,Ie],[1,1,_n(Mp),0]),Fp=qe([pl,Al,Pc,Ep],[0,1,2,1]),Hp=async t=>Cp(await ce.payBill(t)),zp=async()=>_n(await ce.payBind()),Dp=async t=>Np(await ce.payLi(t)),Op=t=>ce.payRm(t),Bp=t=>ce.paySetDefault(t),Pp=async(t,e)=>Ip(await ce.payTopup(t,e)),jp=async()=>Fp(await ce.pay()),vl=t=>[Math.floor(1970+--t/12),t%12+1],Or=t=>{var e,n;return[n,e]=vl(t),n+"-"+(e+"").padStart(2,"0")},qp=t=>new Date(t*864e5).toISOString().slice(5,10);function Rp(t){let e,n,r,i,l,u;return{c(){e=d("a"),n=new _e(!1),r=d("b"),i=new _e(!1),l=Pe(),u=X(_MAIL_HELP),n.a=r,i.a=l,_(r,"class","_iqaaeq"),_(e,"href","mailto:"+_MAIL_HELP),_(e,"class","_iqaaeq")},m(s,o){E(s,e,o),n.m(t[0],e),T(e,r),i.m(t[1],r),T(r,l),T(r,u)},p(s,[o]){o&1&&n.p(s[0]),o&2&&i.p(s[1])},i:H,o:H,d(s){s&&C(e)}}}function Up(t,e,n){var r,i;return r=i="",R(oe(function(){n(0,r=this[36]),n(1,i=this[45])})),[r,i]}class Qn extends W{constructor(e){super(),V(this,e,Up,Rp,U,{})}}function Vp(t){let e,n;const r=t[1].default,i=$e(r,t,t[0],null);return{c(){e=d("main"),i&&i.c(),_(e,"class","_1al6d6l")},m(l,u){E(l,e,u),i&&i.m(e,null),n=!0},p(l,[u]){i&&i.p&&(!n||u&1)&&Se(i,r,l,l[0],n?ye(r,l[0],u,null):Te(l[0]),null)},i(l){n||(M(i,l),n=!0)},o(l){A(i,l),n=!1},d(l){l&&C(e),i&&i.d(l)}}}function Wp(t,e,n){let{$$slots:r={},$$scope:i}=e;return t.$$set=l=>{"$$scope"in l&&n(0,i=l.$$scope)},[i,r]}class Il extends W{constructor(e){super(),V(this,e,Wp,Vp,U,{})}}function Qp(t){let e,n;const r=t[1].default,i=$e(r,t,t[0],null);return{c(){e=d("h3"),i&&i.c(),_(e,"class","_1k3zrdx")},m(l,u){E(l,e,u),i&&i.m(e,null),n=!0},p(l,[u]){i&&i.p&&(!n||u&1)&&Se(i,r,l,l[0],n?ye(r,l[0],u,null):Te(l[0]),null)},i(l){n||(M(i,l),n=!0)},o(l){A(i,l),n=!1},d(l){l&&C(e),i&&i.d(l)}}}function Gp(t,e,n){let{$$slots:r={},$$scope:i}=e;return t.$$set=l=>{"$$scope"in l&&n(0,i=l.$$scope)},[i,r]}let Nl=class extends W{constructor(e){super(),V(this,e,Gp,Qp,U,{})}};function qt(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qt=function(e){return typeof e}:qt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qt(t)}var Fl="https://js.stripe.com/v3",Yp=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Br="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Jp=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Fl,'"]')),n=0;n<e.length;n++){var r=e[n];if(Yp.test(r.src))return r}return null},Pr=function(e){var n=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",r=document.createElement("script");r.src="".concat(Fl).concat(n);var i=document.head||document.body;if(!i)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(r),r},Xp=function(e,n){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"3.4.0",startTime:n})},St=null,zt=null,Dt=null,Zp=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},Kp=function(e,n){return function(){window.Stripe?e(window.Stripe):n(new Error("Stripe.js not available"))}},xp=function(e){return St!==null?St:(St=new Promise(function(n,r){if(typeof window>"u"||typeof document>"u"){n(null);return}if(window.Stripe&&e&&console.warn(Br),window.Stripe){n(window.Stripe);return}try{var i=Jp();if(i&&e)console.warn(Br);else if(!i)i=Pr(e);else if(i&&Dt!==null&&zt!==null){var l;i.removeEventListener("load",Dt),i.removeEventListener("error",zt),(l=i.parentNode)===null||l===void 0||l.removeChild(i),i=Pr(e)}Dt=Kp(n,r),zt=Zp(r),i.addEventListener("load",Dt),i.addEventListener("error",zt)}catch(u){r(u);return}}),St.catch(function(n){return St=null,Promise.reject(n)}))},eh=function(e,n,r){if(e===null)return null;var i=e.apply(void 0,n);return Xp(i,r),i},jr=function(e){var n=`invalid load parameters; expected object of shape
6
-
7
- {advancedFraudSignals: boolean}
8
-
9
- but received
10
-
11
- `.concat(JSON.stringify(e),`
12
- `);if(e===null||qt(e)!=="object")throw new Error(n);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(n)},Rt,gn=!1,Hl=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];gn=!0;var i=Date.now();return xp(Rt).then(function(l){return eh(l,n,i)})};Hl.setLoadParameters=function(t){if(gn&&Rt){var e=jr(t),n=Object.keys(e),r=n.reduce(function(i,l){var u;return i&&t[l]===((u=Rt)===null||u===void 0?void 0:u[l])},!0);if(r)return}if(gn)throw new Error("You cannot change load parameters after calling loadStripe");Rt=jr(t)};const th=t=>({}),qr=t=>({});function nh(t){let e,n,r,i;const l=t[2].default,u=$e(l,t,t[1],null),s=t[2].t,o=$e(s,t,t[1],qr);return{c(){e=d("i"),n=d("b"),u&&u.c(),r=d("i"),o&&o.c(),_(n,"class","_1114kj0"),_(r,"class","_1114kj0"),_(e,"class","_1114kj0")},m(a,f){E(a,e,f),T(e,n),u&&u.m(n,null),t[3](n),T(e,r),o&&o.m(r,null),i=!0},p(a,[f]){u&&u.p&&(!i||f&2)&&Se(u,l,a,a[1],i?ye(l,a[1],f,null):Te(a[1]),null),o&&o.p&&(!i||f&2)&&Se(o,s,a,a[1],i?ye(s,a[1],f,th):Te(a[1]),qr)},i(a){i||(M(u,a),M(o,a),i=!0)},o(a){A(u,a),A(o,a),i=!1},d(a){a&&C(e),u&&u.d(a),t[3](null),o&&o.d(a)}}}function rh(t,e,n){let{$$slots:r={},$$scope:i}=e;var l;R(()=>Ee(l,{click:()=>{n(0,l.nextElementSibling.style.display="block",l),setTimeout(()=>{var s;s=Ee(document,{click:()=>{l.nextElementSibling.removeAttribute("style"),s()}})})}}));function u(s){le[s?"unshift":"push"](()=>{l=s,n(0,l)})}return t.$$set=s=>{"$$scope"in s&&n(1,i=s.$$scope)},[l,i,r,u]}class ih extends W{constructor(e){super(),V(this,e,rh,nh,U,{})}}function lh(t){let e;return{c(){e=d("i"),e.textContent="?",_(e,"class","_xifvss")},m(n,r){E(n,e,r)},p:H,d(n){n&&C(e)}}}function uh(t){let e,n;return{c(){e=d("b"),n=d("b"),_(n,"class","_xifvss"),_(e,"class","p _xifvss"),_(e,"slot","t")},m(r,i){E(r,e,i),T(e,n),n.innerHTML=t[0]},p(r,i){i&1&&(n.innerHTML=r[0])},d(r){r&&C(e)}}}function sh(t){let e,n,r,i;return r=new ih({props:{$$slots:{t:[uh],default:[lh]},$$scope:{ctx:t}}}),{c(){e=d("p"),n=d("b"),j(r.$$.fragment),_(n,"class","_xifvss"),_(e,"class","_xifvss")},m(l,u){E(l,e,u),T(e,n),n.innerHTML=t[1],D(r,e,null),i=!0},p(l,[u]){(!i||u&2)&&(n.innerHTML=l[1]);const s={};u&5&&(s.$$scope={dirty:u,ctx:l}),r.$set(s)},i(l){i||(M(r.$$.fragment,l),i=!0)},o(l){A(r.$$.fragment,l),i=!1},d(l){l&&C(e),O(r)}}}function oh(t,e,n){var r,i;return i=r="",R(oe(function(){n(1,i=this[12]),n(0,r=this[11])})),[r,i]}class zl extends W{constructor(e){super(),V(this,e,oh,sh,U,{})}}function ah(t){let e,n;return{c(){e=d("h2"),n=X(t[0])},m(r,i){E(r,e,i),T(e,n)},p(r,i){i&1&&K(n,r[0])},i:H,o:H,d(r){r&&C(e)}}}function fh(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Rr(t){let e,n,r,i,l=t[3]&&Ur(t);return n=new zl({}),{c(){l&&l.c(),e=x(),j(n.$$.fragment),r=d("button"),_(r,"type","submit"),_(r,"class","_169q5z")},m(u,s){l&&l.m(u,s),E(u,e,s),D(n,u,s),E(u,r,s),r.innerHTML=t[2],i=!0},p(u,s){u[3]?l?l.p(u,s):(l=Ur(u),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!i||s&4)&&(r.innerHTML=u[2])},i(u){i||(M(n.$$.fragment,u),i=!0)},o(u){A(n.$$.fragment,u),i=!1},d(u){u&&(C(e),C(r)),l&&l.d(u),O(n,u)}}}function Ur(t){let e,n;return{c(){e=d("b"),n=X(t[3]),_(e,"class","err _169q5z")},m(r,i){E(r,e,i),T(e,n)},p(r,i){i&8&&K(n,r[3])},d(r){r&&C(e)}}}function ch(t){let e,n,r,i,l,u,s;const o=[fh,ah],a=[];function f(p,m){return p[3]==0?0:p[0]?1:-1}~(n=f(t))&&(r=a[n]=o[n](t));let c=t[3]!=0&&Rr(t);return{c(){e=d("form"),r&&r.c(),i=d("i"),c&&c.c(),_(i,"class","_169q5z"),_(e,"class","_169q5z")},m(p,m){E(p,e,m),~n&&a[n].m(e,null),T(e,i),t[7](i),c&&c.m(e,null),t[8](e),l=!0,u||(s=Q(e,"submit",tt(function(){Z(t[5])&&t[5].apply(this,arguments)})),u=!0)},p(p,[m]){t=p;let h=n;n=f(t),n===h?~n&&a[n].p(t,m):(r&&(te(),A(a[h],1,1,()=>{a[h]=null}),ne()),~n?(r=a[n],r?r.p(t,m):(r=a[n]=o[n](t),r.c()),M(r,1),r.m(e,i)):r=null),t[3]!=0?c?(c.p(t,m),m&8&&M(c,1)):(c=Rr(t),c.c(),M(c,1),c.m(e,null)):c&&(te(),A(c,1,1,()=>{c=null}),ne())},i(p){l||(M(r),M(c),l=!0)},o(p){A(r),A(c),l=!1},d(p){p&&C(e),~n&&a[n].d(),t[7](null),c&&c.d(),t[8](null),u=!1,s()}}}function mh(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h,b;l="",R(oe(function(){n(2,l=this[4])}));let{h:k=0}=e;s=0,f=v=>v.endsWith("_pay"),o=v=>{var S;if({error:S}=v,S){n(3,s=S.message);return}return 1},R(()=>b);let{A:g=0}=e;bn(async v=>{var S,L,F,B;if(u){u.update({locale:v});return}[S,B]=g||await zp(),p=await Hl(B),u=p.elements({locale:v,currency:"eur",mode:"setup",loader:"never",appearance:{labels:"floating",rules:{".Label--floating":{paddingBottom:"12px"}},variables:{spacingUnit:"4px",colorBackground:"#fff",colorPrimary:"#333",borderRadius:0}}}),F={layout:{type:"accordion",visibleAccordionItemsCount:0,radios:!1}},S&&(F.defaultValues={billingDetails:{email:S}}),c=u.create("payment",F).on("change",J=>{o(J)&&({type:h}=J.value,f(h)&&m())}),b=()=>{L.disconnect()},L=new ResizeObserver(()=>{r.clientHeight>4&&n(3,s=b())}),L.observe(r),c.mount(r)}),i="ing",m=async()=>{a.classList.add(i);try{if(o(await u.submit()))o(await p.confirmSetup({elements:u,clientSecret:"seti_"+Mu(await ce.paySetup()),confirmParams:{return_url:"https://"+location.host+"/pay"}}));else if(f(h)){c.collapse();return}}finally{a.classList.remove(i)}};function w(v){le[v?"unshift":"push"](()=>{r=v,n(1,r)})}function I(v){le[v?"unshift":"push"](()=>{a=v,n(4,a)})}return t.$$set=v=>{"h"in v&&n(0,k=v.h),"A"in v&&n(6,g=v.A)},[k,r,l,s,a,m,g,w,I]}class Dl extends W{constructor(e){super(),V(this,e,mh,ch,U,{h:0,A:6})}}function ph(t){let e,n,r;return n=new Dl({}),{c(){e=d("b"),j(n.$$.fragment),_(e,"class","_1w7ubyv")},m(i,l){E(i,e,l),D(n,e,null),r=!0},p:H,i(i){r||(M(n.$$.fragment,i),r=!0)},o(i){A(n.$$.fragment,i),r=!1},d(i){i&&C(e),O(n)}}}class hh extends W{constructor(e){super(),V(this,e,null,ph,U,{})}}function _h(t){let e,n,r,i=[t[1]],l={};for(let u=0;u<i.length;u+=1)l=Ut(l,i[u]);return{c(){e=d("a"),lr(e,l),Ce(e,"_9l8fx2",!0)},m(u,s){E(u,e,s),n||(r=Q(e,"click",function(){Z(t[0])&&t[0].apply(this,arguments)}),n=!0)},p(u,[s]){t=u,lr(e,l=Ru(i,[s&2&&t[1]])),Ce(e,"_9l8fx2",!0)},i:H,o:H,d(u){u&&C(e),n=!1,r()}}}function gh(t,e,n){const r=["A"];let i=ir(e,r);var l;let{A:u}=e;return l=At(...u),t.$$set=s=>{e=Ut(Ut({},e),Hu(s)),n(1,i=ir(e,r)),"A"in s&&n(2,u=s.A)},[l,i,u]}class Ol extends W{constructor(e){super(),V(this,e,gh,_h,U,{A:2})}}function Vr(t){let e,n,r;return{c(){e=d("a")},m(i,l){E(i,e,l),e.innerHTML=t[6],n||(r=Q(e,"click",function(){Z(t[0](t[4],t[3]))&&t[0](t[4],t[3]).apply(this,arguments)}),n=!0)},p(i,l){t=i,l&64&&(e.innerHTML=t[6])},d(i){i&&C(e),n=!1,r()}}}function dh(t){let e,n,r,i=t[0]&&Vr(t);return{c(){i&&i.c(),e=d("a")},m(l,u){i&&i.m(l,u),E(l,e,u),e.innerHTML=t[5],t[7](e),n||(r=Q(e,"click",function(){Z(t[1](t[4],t[3]))&&t[1](t[4],t[3]).apply(this,arguments)}),n=!0)},p(l,[u]){t=l,t[0]?i?i.p(t,u):(i=Vr(t),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null),u&32&&(e.innerHTML=t[5])},i:H,o:H,d(l){l&&C(e),i&&i.d(l),t[7](null),n=!1,r()}}}function bh(t,e,n){var r,i,l,u,s;s=u="",R(oe(function(){n(6,s=this[53]),n(5,u=this[50])}));let{rm:o}=e,{setDefault:a}=e;R(()=>{var c;c=r.parentNode,setTimeout(()=>{for(var p;;)if(c=c.previousSibling,{value:p}=c,p){n(3,i=+p),n(4,l=c.parentNode),l.previousSibling.tagName!==l.tagName&&n(0,a=0);break}})});function f(c){le[c?"unshift":"push"](()=>{r=c,n(2,r)})}return t.$$set=c=>{"rm"in c&&n(1,o=c.rm),"setDefault"in c&&n(0,a=c.setDefault)},[a,o,r,i,l,u,s,f]}class kh extends W{constructor(e){super(),V(this,e,bh,dh,U,{rm:1,setDefault:0})}}function Wr(t,e,n){const r=t.slice();return r[32]=e[n],r}function wh(t){let e,n,r;return n=new Fe({}),{c(){e=d("b"),j(n.$$.fragment),_(e,"class","_18b2kqr")},m(i,l){E(i,e,l),D(n,e,null),r=!0},p:H,i(i){r||(M(n.$$.fragment,i),r=!0)},o(i){A(n.$$.fragment,i),r=!1},d(i){i&&C(e),O(n)}}}function $h(t){let e,n,r,i;const l=[Sh,yh],u=[];function s(o,a){return o[8].length?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,a){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function yh(t){let e,n,r;return e=new Dl({props:{A:t[20],h:t[0]}}),n=new Qn({}),{c(){j(e.$$.fragment),j(n.$$.fragment)},m(i,l){D(e,i,l),D(n,i,l),r=!0},p(i,l){const u={};l[0]&1048576&&(u.A=i[20]),l[0]&1&&(u.h=i[0]),e.$set(u)},i(i){r||(M(e.$$.fragment,i),M(n.$$.fragment,i),r=!0)},o(i){A(e.$$.fragment,i),A(n.$$.fragment,i),r=!1},d(i){O(e,i),O(n,i)}}}function Sh(t){let e,n,r,i,l,u,s,o;const a=[Lh,Th],f=[];function c(p,m){return p[10]==1?0:1}return n=c(t),r=f[n]=a[n](t),l=new Qn({}),{c(){e=d("form"),r.c(),i=x(),j(l.$$.fragment),_(e,"class","_18b2kqr"),Ce(e,"d",t[10])},m(p,m){E(p,e,m),f[n].m(e,null),T(e,i),D(l,e,null),t[30](e),u=!0,s||(o=Q(e,"submit",tt(function(){Z(t[21])&&t[21].apply(this,arguments)})),s=!0)},p(p,m){t=p;let h=n;n=c(t),n===h?f[n].p(t,m):(te(),A(f[h],1,1,()=>{f[h]=null}),ne(),r=f[n],r?r.p(t,m):(r=f[n]=a[n](t),r.c()),M(r,1),r.m(e,i)),(!u||m[0]&1024)&&Ce(e,"d",t[10])},i(p){u||(M(r),M(l.$$.fragment,p),u=!0)},o(p){A(r),A(l.$$.fragment,p),u=!1},d(p){p&&C(e),f[n].d(),O(l),t[30](null),s=!1,o()}}}function Th(t){let e,n,r,i,l,u,s,o,a=t[18].toFixed(6)+"",f,c,p,m,h;function b(S,L){return S[10]?Ch:Mh}let k=b(t),g=k(t);const w=[Ah,Eh],I=[];function v(S,L){return S[10]?0:1}return c=v(t),p=I[c]=w[c](t),{c(){g.c(),e=d("p"),n=d("i"),r=new _e(!1),i=X(`
13
-
14
-
15
-
16
- `),l=new _e(!1),u=d("a"),s=new _e(!1),o=Pe(),f=X(a),p.c(),m=x(),r.a=i,l.a=null,_(n,"class","_18b2kqr"),s.a=o,_(u,"href","//www.mastercard.us/en-us/personal/get-support/convert-currency.html"),_(e,"class","_18b2kqr")},m(S,L){g.m(S,L),E(S,e,L),T(e,n),r.m(t[3],n),T(n,i),l.m(t[2],n),T(e,u),s.m(t[11],u),T(u,o),T(u,f),I[c].m(S,L),E(S,m,L),h=!0},p(S,L){k===(k=b(S))&&g?g.p(S,L):(g.d(1),g=k(S),g&&(g.c(),g.m(e.parentNode,e))),(!h||L[0]&8)&&r.p(S[3]),(!h||L[0]&4)&&l.p(S[2]),(!h||L[0]&2048)&&s.p(S[11]),(!h||L[0]&262144)&&a!==(a=S[18].toFixed(6)+"")&&K(f,a);let F=c;c=v(S),c===F?I[c].p(S,L):(te(),A(I[F],1,1,()=>{I[F]=null}),ne(),p=I[c],p?p.p(S,L):(p=I[c]=w[c](S),p.c()),M(p,1),p.m(m.parentNode,m))},i(S){h||(M(p),h=!0)},o(S){A(p),h=!1},d(S){S&&(C(e),C(m)),g.d(S),I[c].d(S)}}}function Lh(t){let e,n;return{c(){e=d("p"),n=d("button"),_(e,"class","s _18b2kqr"),_(n,"class","_18b2kqr")},m(r,i){E(r,e,i),e.innerHTML=t[22],E(r,n,i),n.innerHTML=t[19]},p(r,i){i[0]&4194304&&(e.innerHTML=r[22]),i[0]&524288&&(n.innerHTML=r[19])},i:H,o:H,d(r){r&&(C(e),C(n))}}}function Mh(t){let e,n,r,i,l,u,s=t[0]&&Qr(t);return{c(){s&&s.c(),e=d("u"),n=d("label"),r=d("input"),i=d("label"),_(n,"for","n"),_(n,"class","_18b2kqr"),_(r,"id","n"),_(r,"placeholder",t[6]),_(r,"autocomplete","off"),_(r,"max",t[14]),_(r,"min","10"),_(r,"step","0.01"),_(r,"type","number"),_(r,"class","_18b2kqr"),_(i,"for","topUpV"),_(i,"class","_18b2kqr"),_(e,"class","_18b2kqr")},m(o,a){s&&s.m(o,a),E(o,e,a),T(e,n),n.innerHTML=t[24],T(e,r),me(r,t[1]),T(e,i),i.innerHTML=t[3],l||(u=Q(r,"input",t[27]),l=!0)},p(o,a){o[0]?s?s.p(o,a):(s=Qr(o),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),a[0]&16777216&&(n.innerHTML=o[24]),a[0]&64&&_(r,"placeholder",o[6]),a[0]&16384&&_(r,"max",o[14]),a[0]&2&&Ci(r.value)!==o[1]&&me(r,o[1]),a[0]&8&&(i.innerHTML=o[3])},d(o){o&&C(e),s&&s.d(o),l=!1,u()}}}function Ch(t){let e,n,r,i,l=(Math.floor(t[10][0]/t[18])/100).toFixed(2)+"",u,s,o;return{c(){e=d("p"),n=d("i"),r=new _e(!1),i=Pe(),u=X(l),s=Pe(),o=new _e(!1),r.a=i,o.a=null,_(n,"class","_18b2kqr"),_(e,"class","_18b2kqr")},m(a,f){E(a,e,f),T(e,n),r.m(t[23],n),T(n,i),T(n,u),T(n,s),o.m(t[3],n)},p(a,f){f[0]&8388608&&r.p(a[23]),f[0]&263168&&l!==(l=(Math.floor(a[10][0]/a[18])/100).toFixed(2)+"")&&K(u,l),f[0]&8&&o.p(a[3])},d(a){a&&C(e)}}}function Qr(t){let e,n;return{c(){e=d("h2"),n=X(t[0])},m(r,i){E(r,e,i),T(e,n)},p(r,i){i[0]&1&&K(n,r[0])},d(r){r&&C(e)}}}function Eh(t){let e,n,r,i,l,u,s,o,a,f,c,p;s=new zl({});let m=fe(t[8]),h=[];for(let k=0;k<m.length;k+=1)h[k]=Jr(Wr(t,m,k));const b=k=>A(h[k],1,1,()=>{h[k]=null});return{c(){e=d("button"),n=new _e(!1),r=Pe(),i=X(t[17]),l=Pe(),u=new _e(!1),j(s.$$.fragment);for(let k=0;k<h.length;k+=1)h[k].c();o=d("i"),a=d("a"),n.a=r,u.a=null,_(e,"class","_18b2kqr"),_(a,"class","_18b2kqr"),_(o,"class","_18b2kqr")},m(k,g){E(k,e,g),n.m(t[16],e),T(e,r),T(e,i),T(e,l),u.m(t[2],e),D(s,k,g);for(let w=0;w<h.length;w+=1)h[w]&&h[w].m(k,g);E(k,o,g),T(o,a),a.innerHTML=t[5],f=!0,c||(p=Q(a,"click",function(){Z(t[4])&&t[4].apply(this,arguments)}),c=!0)},p(k,g){if(t=k,(!f||g[0]&65536)&&n.p(t[16]),(!f||g[0]&131072)&&K(i,t[17]),(!f||g[0]&4)&&u.p(t[2]),g[0]&4992){m=fe(t[8]);let w;for(w=0;w<m.length;w+=1){const I=Wr(t,m,w);h[w]?(h[w].p(I,g),M(h[w],1)):(h[w]=Jr(I),h[w].c(),M(h[w],1),h[w].m(o.parentNode,o))}for(te(),w=m.length;w<h.length;w+=1)b(w);ne()}(!f||g[0]&32)&&(a.innerHTML=t[5])},i(k){if(!f){M(s.$$.fragment,k);for(let g=0;g<m.length;g+=1)M(h[g]);f=!0}},o(k){A(s.$$.fragment,k),h=h.filter(Boolean);for(let g=0;g<h.length;g+=1)A(h[g]);f=!1},d(k){k&&(C(e),C(o)),O(s,k),He(h,k),c=!1,p()}}}function Ah(t){let e,n,r=(t[10][0]/100).toFixed(2)+"",i,l,u,s,o;function a(p,m){return p[10][2]==6?Ih:vh}let f=a(t),c=f(t);return{c(){e=d("p"),n=d("i"),i=X(r),l=Pe(),u=new _e(!1),s=d("p"),c.c(),o=d("button"),_(n,"class","_18b2kqr"),u.a=null,_(e,"class","_18b2kqr"),_(s,"class","s _18b2kqr"),_(o,"class","_18b2kqr")},m(p,m){E(p,e,m),T(e,n),n.innerHTML=t[16],T(e,i),T(e,l),u.m(t[2],e),E(p,s,m),c.m(s,null),E(p,o,m),o.innerHTML=t[15]},p(p,m){m[0]&65536&&(n.innerHTML=p[16]),m[0]&1024&&r!==(r=(p[10][0]/100).toFixed(2)+"")&&K(i,r),m[0]&4&&u.p(p[2]),f===(f=a(p))&&c?c.p(p,m):(c.d(1),c=f(p),c&&(c.c(),c.m(s,null))),m[0]&32768&&(o.innerHTML=p[15])},i:H,o:H,d(p){p&&(C(e),C(s),C(o)),c.d()}}}function Gr(t){let e,n,r,i=t[32][2][0]+"",l,u,s=(t[32][2][1]+"").padStart(2,"0")+"",o;return{c(){e=d("i"),n=d("i"),r=d("b"),l=X(i),u=d("b"),o=X(s),_(n,"class","_18b2kqr"),_(r,"class","_18b2kqr"),_(u,"class","_18b2kqr"),_(e,"class","_18b2kqr")},m(a,f){E(a,e,f),T(e,n),n.innerHTML=t[12],T(e,r),T(r,l),T(e,u),T(u,o)},p(a,f){f[0]&4096&&(n.innerHTML=a[12]),f[0]&256&&i!==(i=a[32][2][0]+"")&&K(l,i),f[0]&256&&s!==(s=(a[32][2][1]+"").padStart(2,"0")+"")&&K(o,s)},d(a){a&&C(e)}}}function Yr(t){let e,n=t[32][3]+"",r;return{c(){e=d("b"),r=X(n),_(e,"class","_18b2kqr")},m(i,l){E(i,e,l),T(e,r)},p(i,l){l[0]&256&&n!==(n=i[32][3]+"")&&K(r,n)},d(i){i&&C(e)}}}function Jr(t){let e,n,r,i,l=!1,u,s,o=t[32][1]+"",a,f,c=t[32][4]+"",p,m,h,b,k,g,w,I,v=t[32][2]&&Gr(t),S=t[32][3]!=5&&Yr(t);return b=new Ol({props:{A:t[9]}}),g=Ou(t[29][0]),{c(){e=d("i"),n=d("input"),u=d("label"),s=d("b"),a=X(o),f=Pe(),p=X(c),v&&v.c(),m=x(),S&&S.c(),j(b.$$.fragment),_(n,"id",r="card"+t[32][0]),_(n,"name","i"),_(n,"type","radio"),n.__value=i=t[32][0],me(n,n.__value),_(s,"class","_18b2kqr"),_(u,"for",h="card"+t[32][0]),_(u,"class","_18b2kqr"),_(e,"class","_18b2kqr"),g.p(n)},m(L,F){E(L,e,F),T(e,n),n.checked=n.__value===t[7],T(e,u),T(u,s),T(s,a),T(s,f),T(s,p),v&&v.m(u,null),T(u,m),S&&S.m(u,null),D(b,e,null),k=!0,w||(I=Q(n,"change",t[28]),w=!0)},p(L,F){(!k||F[0]&256&&r!==(r="card"+L[32][0]))&&_(n,"id",r),(!k||F[0]&256&&i!==(i=L[32][0]))&&(n.__value=i,me(n,n.__value),l=!0),(l||F[0]&384)&&(n.checked=n.__value===L[7]),(!k||F[0]&256)&&o!==(o=L[32][1]+"")&&K(a,o),(!k||F[0]&256)&&c!==(c=L[32][4]+"")&&K(p,c),L[32][2]?v?v.p(L,F):(v=Gr(L),v.c(),v.m(u,m)):v&&(v.d(1),v=null),L[32][3]!=5?S?S.p(L,F):(S=Yr(L),S.c(),S.m(u,null)):S&&(S.d(1),S=null),(!k||F[0]&256&&h!==(h="card"+L[32][0]))&&_(u,"for",h);const B={};F[0]&512&&(B.A=L[9]),b.$set(B)},i(L){k||(M(b.$$.fragment,L),k=!0)},o(L){A(b.$$.fragment,L),k=!1},d(L){L&&C(e),v&&v.d(),S&&S.d(),O(b),g.r(),w=!1,I()}}}function vh(t){let e,n,r,i;return{c(){e=d("b"),e.textContent="扣费申请已提交",n=d("b"),n.textContent="等待到账中",r=d("b"),r.textContent="当充值到账时",i=d("b"),i.textContent="将邮件通知您",_(e,"class","_18b2kqr"),_(n,"class","_18b2kqr"),_(r,"class","_18b2kqr"),_(i,"class","_18b2kqr")},m(l,u){E(l,e,u),E(l,n,u),E(l,r,u),E(l,i,u)},p:H,d(l){l&&(C(e),C(n),C(r),C(i))}}}function Ih(t){let e,n;return{c(){e=new _e(!1),n=x(),e.a=n},m(r,i){e.m(t[25],r,i),E(r,n,i)},p(r,i){i[0]&33554432&&e.p(r[25])},d(r){r&&(C(n),e.d())}}}function Nh(t){let e,n,r,i;const l=[$h,wh],u=[];function s(o,a){return o[8]?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,a){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Fh(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h,b,k,g,w,I,v,S,L,F,B,J,N,P,q;J=L=N=i=P=s=r=m=I=q=w=h=u="",R(oe(function(){n(22,J=this[58]),n(19,L=this[51]),n(23,N=this[59]),n(3,i=this[1]),n(24,P=this[60]),n(6,s=this[7]),n(2,r=this[0]),n(11,m=this[26]),n(16,I=this[44]),n(25,q=this[61]),n(15,w=this[42]),n(12,h=this[29]),n(5,u=this[5])}));let{h:ee=0}=e;f=ae=>Math.ceil(ae*S*100),R(async()=>{var ae,pe,$,he;({search:he,pathname:$}=location),n(8,[a,ae,F,S]=await Dp(+!he),a,n(20,F),n(18,S)),n(18,S/=1e6),n(1,g=10),n(14,k=Math.floor(1e4/S)),F[1]||(n(20,F=0),n(7,o=a[0][0]),pe=new Map(ae),a.forEach(ge=>{ge[1]=pe.get(ge[1]),ge[2]&&(ge[2]=vl(ge[2]))})),he&&Cu($),a.length&&setTimeout(()=>{Wt(b,"input").focus()})}),c=[kh,{setDefault:async(ae,pe)=>{var $,he,ge,y;for(await mn(ae,Bp(pe)),y=he=0,ge=a.length;he<ge;y=++he)$=a[y],$[0]===pe&&(a.splice(y,1),a.unshift($),n(8,a));n(7,o=pe)},rm:async(ae,pe)=>{var $,he,ge,y;for(await mn(ae,Op(pe)),y=he=0,ge=a.length;he<ge;y=++he)if($=a[y],$[0]===pe){a.splice(y,1),a.length&&n(7,o=(a[y]||a[y-1])[0]),n(8,a);return}}}],l=()=>{var ae,pe;[ae]=Ft(hh),pe=_t.style,pe.innerHTML="dialog>b>form>p{padding:16px!important;box-sizing:border-box}.__PrivateStripeElement{width:calc(100% + 4px);}dialog>b>form>b.err{margin:16px 16px 0;}",ae.appendChild(pe)},B=async()=>{if(p){p===1?n(10,p=0):Eu("payBill");return}n(10,p=await dt(b,Pp(f(g),o))),p&&([1,6].includes(p[2])?n(18,S=p[1]/1e6):n(10,p=1))};const ue=[[]];function re(){g=Ci(this.value),n(1,g)}function ke(){o=this.__value,n(7,o)}function be(ae){le[ae?"unshift":"push"](()=>{b=ae,n(13,b)})}return t.$$set=ae=>{"h"in ae&&n(0,ee=ae.h)},t.$$.update=()=>{t.$$.dirty[0]&67108866&&n(17,v=(f(g)/100).toFixed(2))},[ee,g,r,i,l,u,s,o,a,c,p,m,h,b,k,w,I,v,S,L,F,B,J,N,P,q,f,re,ke,ue,be]}class Bl extends W{constructor(e){super(),V(this,e,Fh,Nh,U,{h:0},null,[-1,-1])}}function Xr(t,e,n){const r=t.slice();return r[15]=e[n],r}function Zr(t,e,n){const r=t.slice();return r[18]=e[n],r}function Kr(t,e,n){const r=t.slice();return r[21]=e[n],r}function xr(t,e,n){const r=t.slice();return r[15]=e[n],r}function ei(t){let e,n,r,i;const l=[zh,Hh],u=[];function s(o,a){return o[6].length?0:1}return e=s(t),n=u[e]=l[e](t),{c(){n.c(),r=x()},m(o,a){u[e].m(o,a),E(o,r,a),i=!0},p(o,a){let f=e;e=s(o),e===f?u[e].p(o,a):(te(),A(u[f],1,1,()=>{u[f]=null}),ne(),n=u[e],n?n.p(o,a):(n=u[e]=l[e](o),n.c()),M(n,1),n.m(r.parentNode,r))},i(o){i||(M(n),i=!0)},o(o){A(n),i=!1},d(o){o&&C(r),u[e].d(o)}}}function Hh(t){let e,n;return e=new Bl({props:{h:t[8]}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,i){const l={};i&256&&(l.h=r[8]),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function zh(t){let e,n,r,i,l,u,s,o,a,f,c;e=new Nl({props:{$$slots:{default:[Dh]},$$scope:{ctx:t}}});let p=t[5].length&&ti(t),m=t[7].length&&ri(t),h=t[6].length>1&&li(t),b=fe(t[6]),k=[];for(let g=0;g<b.length;g+=1)k[g]=si(Xr(t,b,g));return f=new Qn({}),{c(){j(e.$$.fragment),p&&p.c(),n=d("h4"),m&&m.c(),r=d("i"),i=new _e(!1),l=d("i"),u=X(t[3]),s=d("b"),o=d("table"),h&&h.c(),a=x();for(let g=0;g<k.length;g+=1)k[g].c();j(f.$$.fragment),i.a=l,_(l,"class","_11dxrwl"),_(r,"class","_11dxrwl"),_(n,"class","_11dxrwl"),_(o,"class","_11dxrwl"),_(s,"class","_11dxrwl")},m(g,w){D(e,g,w),p&&p.m(g,w),E(g,n,w),m&&m.m(n,null),T(n,r),i.m(t[1],r),T(r,l),T(l,u),E(g,s,w),T(s,o),h&&h.m(o,null),T(o,a);for(let I=0;I<k.length;I+=1)k[I]&&k[I].m(o,null);D(f,g,w),c=!0},p(g,w){const I={};if(w&67109892&&(I.$$scope={dirty:w,ctx:g}),e.$set(I),g[5].length?p?p.p(g,w):(p=ti(g),p.c(),p.m(n.parentNode,n)):p&&(p.d(1),p=null),g[7].length?m?m.p(g,w):(m=ri(g),m.c(),m.m(n,r)):m&&(m.d(1),m=null),(!c||w&2)&&i.p(g[1]),(!c||w&8)&&K(u,g[3]),g[6].length>1?h?h.p(g,w):(h=li(g),h.c(),h.m(o,a)):h&&(h.d(1),h=null),w&64){b=fe(g[6]);let v;for(v=0;v<b.length;v+=1){const S=Xr(g,b,v);k[v]?k[v].p(S,w):(k[v]=si(S),k[v].c(),k[v].m(o,null))}for(;v<k.length;v+=1)k[v].d(1);k.length=b.length}},i(g){c||(M(e.$$.fragment,g),M(f.$$.fragment,g),c=!0)},o(g){A(e.$$.fragment,g),A(f.$$.fragment,g),c=!1},d(g){g&&(C(n),C(s)),O(e,g),p&&p.d(g),m&&m.d(),h&&h.d(),He(k,g),O(f,g)}}}function Dh(t){let e,n,r;return{c(){e=d("i"),n=d("a"),r=d("a"),_(n,"class","n"),_(e,"class","_11dxrwl"),_(r,"href","/pay")},m(i,l){E(i,e,l),T(e,n),n.innerHTML=t[2],E(i,r,l),r.innerHTML=t[10]},p(i,l){l&4&&(n.innerHTML=i[2]),l&1024&&(r.innerHTML=i[10])},d(i){i&&(C(e),C(r))}}}function ti(t){let e,n=t[5].length+"",r,i,l,u,s=fe(t[5]),o=[];for(let a=0;a<s.length;a+=1)o[a]=ni(xr(t,s,a));return{c(){e=d("u"),r=X(n),i=Pe(),l=new _e(!1),u=d("i");for(let a=0;a<o.length;a+=1)o[a].c();l.a=u,_(u,"class","_11dxrwl"),_(e,"class","_11dxrwl")},m(a,f){E(a,e,f),T(e,r),T(e,i),l.m(t[11],e),T(e,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(u,null)},p(a,f){if(f&32&&n!==(n=a[5].length+"")&&K(r,n),f&2048&&l.p(a[11]),f&32){s=fe(a[5]);let c;for(c=0;c<s.length;c+=1){const p=xr(a,s,c);o[c]?o[c].p(p,f):(o[c]=ni(p),o[c].c(),o[c].m(u,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=s.length}},d(a){a&&C(e),He(o,a)}}}function ni(t){let e,n=(t[15][1]/100).toFixed(2)+"",r,i;return{c(){e=d("i"),r=X(n),i=X(" EUR"),_(e,"class","_11dxrwl")},m(l,u){E(l,e,u),T(e,r),T(e,i)},p(l,u){u&32&&n!==(n=(l[15][1]/100).toFixed(2)+"")&&K(r,n)},d(l){l&&C(e)}}}function ri(t){let e,n,r,i=fe(t[7]),l=[];for(let u=0;u<i.length;u+=1)l[u]=ii(Kr(t,i,u));return{c(){e=d("select");for(let u=0;u<l.length;u+=1)l[u].c();_(e,"class","_11dxrwl")},m(u,s){E(u,e,s);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(e,null);n||(r=Q(e,"change",function(){Z(t[4])&&t[4].apply(this,arguments)}),n=!0)},p(u,s){if(t=u,s&128){i=fe(t[7]);let o;for(o=0;o<i.length;o+=1){const a=Kr(t,i,o);l[o]?l[o].p(a,s):(l[o]=ii(a),l[o].c(),l[o].m(e,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=i.length}},d(u){u&&C(e),He(l,u),n=!1,r()}}}function ii(t){let e,n=Or(t[21])+"",r,i;return{c(){e=d("option"),r=X(n),e.__value=i=t[21],me(e,e.__value)},m(l,u){E(l,e,u),T(e,r)},p(l,u){u&128&&n!==(n=Or(l[21])+"")&&K(r,n),u&128&&i!==(i=l[21])&&(e.__value=i,me(e,e.__value))},d(l){l&&C(e)}}}function li(t){let e,n,r,i;return{c(){e=d("tr"),n=d("th"),r=d("th"),i=X(t[9]),_(n,"colspan","3"),_(n,"class","_11dxrwl"),_(r,"class","_11dxrwl"),_(e,"class","_11dxrwl")},m(l,u){E(l,e,u),T(e,n),n.innerHTML=t[0],T(e,r),T(r,i)},p(l,u){u&1&&(n.innerHTML=l[0]),u&512&&K(i,l[9])},d(l){l&&C(e)}}}function ui(t){let e,n=t[18]+"",r;return{c(){e=d("td"),r=X(n),_(e,"class","_11dxrwl")},m(i,l){E(i,e,l),T(e,r)},p(i,l){l&64&&n!==(n=i[18]+"")&&K(r,n)},d(i){i&&C(e)}}}function si(t){let e,n=fe(t[15]),r=[];for(let i=0;i<n.length;i+=1)r[i]=ui(Zr(t,n,i));return{c(){e=d("tr");for(let i=0;i<r.length;i+=1)r[i].c();_(e,"class","_11dxrwl")},m(i,l){E(i,e,l);for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(e,null)},p(i,l){if(l&64){n=fe(i[15]);let u;for(u=0;u<n.length;u+=1){const s=Zr(i,n,u);r[u]?r[u].p(s,l):(r[u]=ui(s),r[u].c(),r[u].m(e,null))}for(;u<r.length;u+=1)r[u].d(1);r.length=n.length}},d(i){i&&C(e),He(r,i)}}}function Oh(t){let e,n,r=t[6]&&ei(t);return{c(){r&&r.c(),e=x()},m(i,l){r&&r.m(i,l),E(i,e,l),n=!0},p(i,l){i[6]?r?(r.p(i,l),l&64&&M(r,1)):(r=ei(i),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(te(),A(r,1,1,()=>{r=null}),ne())},i(i){n||(M(r),n=!0)},o(i){A(r),n=!1},d(i){i&&C(e),r&&r.d(i)}}}function Bh(t){let e,n;return e=new Il({props:{$$slots:{default:[Oh]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&67112959&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Ph(t,e,n){var r,i,l,u,s,o,a,f,c,p,m,h,b,k,g;return u=k=g=l=i=m="",R(oe(function(){n(2,u=this[13]),n(10,k=this[59]),n(11,g=this[62]),n(1,l=this[10]),n(0,i=this[8]),n(8,m=this[37])})),R(oe(function(){var w;w=[I=>[this[_m],this[[pm][I]]||""],(I,v)=>[this[gm],""]],r=w})),h=w=>(w=w/100,w>0&&(w="+"+w),w),c=w=>{var I,v,S,L,F,B,J,N,P,q;w.sort(function(ee,ue){return ue[2]-ee[2]}),I=0,P=[];for(q of w)[v,L,N,S,F]=q,I+=F,J===S?S="":(J=S,S=qp(S)),B=r[v](L,N),P.push([S,...B,h(F)]);n(6,f=P),n(9,b=h(I))},R(async()=>{var w;n(3,[s,w,p,a]=await jp(),s,n(7,p),n(5,a)),n(3,s/=100),c(w)}),o=async function(){c(await Hp(+this.value))},[i,l,u,s,o,a,f,p,m,b,k,g]}class jh extends W{constructor(e){super(),V(this,e,Ph,Bh,U,{})}}function qh(t){let e,n,r;return{c(){e=d("i"),n=d("a"),r=d("a"),_(n,"class","n"),_(r,"href","/payBill")},m(i,l){E(i,e,l),T(e,n),n.innerHTML=t[1],E(i,r,l),r.innerHTML=t[0]},p(i,l){l&2&&(n.innerHTML=i[1]),l&1&&(r.innerHTML=i[0])},d(i){i&&(C(e),C(r))}}}function Rh(t){let e,n,r;return e=new Nl({props:{$$slots:{default:[qh]},$$scope:{ctx:t}}}),n=new Bl({}),{c(){j(e.$$.fragment),j(n.$$.fragment)},m(i,l){D(e,i,l),D(n,i,l),r=!0},p(i,l){const u={};l&7&&(u.$$scope={dirty:l,ctx:i}),e.$set(u)},i(i){r||(M(e.$$.fragment,i),M(n.$$.fragment,i),r=!0)},o(i){A(e.$$.fragment,i),A(n.$$.fragment,i),r=!1},d(i){O(e,i),O(n,i)}}}function Uh(t){let e,n;return e=new Il({props:{$$slots:{default:[Rh]},$$scope:{ctx:t}}}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p(r,[i]){const l={};i&7&&(l.$$scope={dirty:i,ctx:r}),e.$set(l)},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function Vh(t,e,n){var r,i;return i=r="",R(oe(function(){n(1,i=this[59]),n(0,r=this[13])})),[r,i]}class Wh extends W{constructor(e){super(),V(this,e,Vh,Uh,U,{})}}El.payBill(fm,Wn(jh));Si.push(Ti.pay(Cl(Wn(Wh))));function Qh(t){let e,n,r;return{c(){e=d("a")},m(i,l){E(i,e,l),e.innerHTML=t[5],t[11](e),n||(r=Q(e,"click",function(){Z(t[9](1))&&t[9](1).apply(this,arguments)}),n=!0)},p(i,l){t=i,l&32&&(e.innerHTML=t[5])},d(i){i&&C(e),t[11](null),n=!1,r()}}}function Gh(t){let e,n,r;return{c(){e=d("a")},m(i,l){E(i,e,l),e.innerHTML=t[3],n||(r=Q(e,"click",function(){Z(t[9](0))&&t[9](0).apply(this,arguments)}),n=!0)},p(i,l){t=i,l&8&&(e.innerHTML=t[3])},d(i){i&&C(e),n=!1,r()}}}function Yh(t){let e,n,r,i;function l(o,a){return o[4]?Gh:Qh}let u=l(t),s=u(t);return{c(){s.c(),e=d("a"),n=d("a")},m(o,a){s.m(o,a),E(o,e,a),e.innerHTML=t[7],E(o,n,a),n.innerHTML=t[8],r||(i=[Q(e,"click",function(){Z(t[1](t[6]))&&t[1](t[6]).apply(this,arguments)}),Q(n,"click",function(){Z(t[0](t[6]))&&t[0](t[6]).apply(this,arguments)})],r=!0)},p(o,[a]){t=o,u===(u=l(t))&&s?s.p(t,a):(s.d(1),s=u(t),s&&(s.c(),s.m(e.parentNode,e))),a&128&&(e.innerHTML=t[7]),a&256&&(n.innerHTML=t[8])},i:H,o:H,d(o){o&&(C(e),C(n)),s.d(o),r=!1,Le(i)}}}function Jh(t,e,n){var r,i,l,u,s,o,a,f;i=u=o=a="",R(oe(function(){n(3,i=this[23]),n(5,u=this[24]),n(7,o=this[47]),n(8,a=this[50])}));let{turn:c}=e,{rm:p}=e,{refresh:m}=e;R(()=>{setTimeout(()=>{var b,k;for(b=r.parentNode;;)if(b=b.previousSibling,{rel:k}=b,k){n(6,s=+k),n(4,l=b.parentNode.parentNode.classList.contains("e"));break}})}),f=b=>{c(s,b)};function h(b){le[b?"unshift":"push"](()=>{r=b,n(2,r)})}return t.$$set=b=>{"turn"in b&&n(10,c=b.turn),"rm"in b&&n(0,p=b.rm),"refresh"in b&&n(1,m=b.refresh)},[p,m,r,i,l,u,s,o,a,f,c,h]}class Xh extends W{constructor(e){super(),V(this,e,Jh,Yh,U,{turn:10,rm:0,refresh:1})}}function Zh(t){let e,n,r,i,l,u,s,o;return{c(){e=d("form"),n=d("h2"),r=d("u"),i=d("input"),l=d("label"),u=d("button"),_(i,"placeholder"," "),i.required=!0,_(i,"type","text"),_(u,"type","submit"),_(u,"class","_1f78m98")},m(a,f){E(a,e,f),T(e,n),n.innerHTML=t[0],T(e,r),T(r,i),me(i,t[5]),T(r,l),l.innerHTML=t[3],T(e,u),u.innerHTML=t[1],t[8](e),s||(o=[Q(i,"input",t[7]),Q(e,"submit",tt(function(){Z(t[4])&&t[4].apply(this,arguments)}))],s=!0)},p(a,[f]){t=a,f&1&&(n.innerHTML=t[0]),f&32&&i.value!==t[5]&&me(i,t[5]),f&8&&(l.innerHTML=t[3]),f&2&&(u.innerHTML=t[1])},i:H,o:H,d(a){a&&C(e),t[8](null),s=!1,Le(o)}}}function Kh(t,e,n){var r,i,l,u,s,o;r=u=i="",R(oe(function(){n(0,r=this[9]),n(3,u=this[35]),n(1,i=this[19])}));let{add:a}=e;s=()=>{a(o.trim()),l.parentNode.close()};function f(){o=this.value,n(5,o)}function c(p){le[p?"unshift":"push"](()=>{l=p,n(2,l)})}return t.$$set=p=>{"add"in p&&n(6,a=p.add)},[r,i,l,u,s,o,a,f,c]}class xh extends W{constructor(e){super(),V(this,e,Kh,Zh,U,{add:6})}}const e1=t=>navigator.clipboard.writeText(t),Pl=qe([Ie,je,je,cl],[0,"","",!1]),t1=Bn(Pl),n1=async t=>Pl(await ce.tokenNew(t)),r1=async t=>jn(await ce.tokenRefresh(t)),i1=t=>ce.tokenRm(t),l1=(t,e)=>ce.tokenTurn(t,e),oi=async()=>t1(await ce.token());function ai(t,e,n){const r=t.slice();return r[7]=e[n][0],r[8]=e[n][1],r[9]=e[n][2],r[10]=e[n][3],r}function u1(t){let e,n;return e=new Fe({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},p:H,i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function s1(t){let e,n,r,i,l,u=fe(t[6]),s=[];for(let a=0;a<u.length;a+=1)s[a]=fi(ai(t,u,a));const o=a=>A(s[a],1,1,()=>{s[a]=null});return{c(){e=d("b");for(let a=0;a<s.length;a+=1)s[a].c();n=d("button"),_(e,"class","_gbaq0n"),_(n,"class","_gbaq0n")},m(a,f){E(a,e,f);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(e,null);E(a,n,f),n.innerHTML=t[3],r=!0,i||(l=Q(n,"click",function(){Z(t[2])&&t[2].apply(this,arguments)}),i=!0)},p(a,f){if(t=a,f&114){u=fe(t[6]);let c;for(c=0;c<u.length;c+=1){const p=ai(t,u,c);s[c]?(s[c].p(p,f),M(s[c],1)):(s[c]=fi(p),s[c].c(),M(s[c],1),s[c].m(e,null))}for(te(),c=u.length;c<s.length;c+=1)o(c);ne()}(!r||f&8)&&(n.innerHTML=t[3])},i(a){if(!r){for(let f=0;f<u.length;f+=1)M(s[f]);r=!0}},o(a){s=s.filter(Boolean);for(let f=0;f<s.length;f+=1)A(s[f]);r=!1},d(a){a&&(C(e),C(n)),He(s,a),i=!1,l()}}}function o1(t){let e,n;return{c(){e=new _e(!1),n=x(),e.a=n},m(r,i){e.m(t[4],r,i),E(r,n,i)},p(r,i){i&16&&e.p(r[4])},d(r){r&&(C(n),e.d())}}}function a1(t){let e=t[8]+"",n;return{c(){n=X(e)},m(r,i){E(r,n,i)},p(r,i){i&64&&e!==(e=r[8]+"")&&K(n,e)},d(r){r&&C(n)}}}function fi(t){let e,n,r,i,l,u,s=t[9]+"",o,a,f,c,p;function m(k,g){return k[8]?a1:o1}let h=m(t),b=h(t);return i=new Ol({props:{A:t[5],rel:t[7]}}),{c(){e=d("b"),n=d("b"),r=d("b"),b.c(),j(i.$$.fragment),l=d("i"),u=d("i"),o=X(s),a=d("a"),_(r,"class","_gbaq0n"),_(n,"class","_gbaq0n"),_(u,"class","_gbaq0n"),_(a,"class","_gbaq0n"),_(l,"class","_gbaq0n"),_(e,"class","_gbaq0n"),Ce(e,"e",t[10])},m(k,g){E(k,e,g),T(e,n),T(n,r),b.m(r,null),D(i,n,null),T(e,l),T(l,u),T(u,o),T(l,a),f=!0,c||(p=Q(a,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),c=!0)},p(k,g){t=k,h===(h=m(t))&&b?b.p(t,g):(b.d(1),b=h(t),b&&(b.c(),b.m(r,null)));const w={};g&32&&(w.A=t[5]),g&64&&(w.rel=t[7]),i.$set(w),(!f||g&64)&&s!==(s=t[9]+"")&&K(o,s),(!f||g&64)&&Ce(e,"e",t[10])},i(k){f||(M(i.$$.fragment,k),f=!0)},o(k){A(i.$$.fragment,k),f=!1},d(k){k&&C(e),b.d(),O(i),c=!1,p()}}}function f1(t){let e,n,r,i,l;const u=[s1,u1],s=[];function o(a,f){return a[6]?0:1}return r=o(t),i=s[r]=u[r](t),{c(){e=d("main"),n=d("h1"),i.c(),_(n,"class","_gbaq0n"),_(e,"class","_gbaq0n")},m(a,f){E(a,e,f),T(e,n),n.innerHTML=t[0],s[r].m(e,null),l=!0},p(a,[f]){(!l||f&1)&&(n.innerHTML=a[0]);let c=r;r=o(a),r===c?s[r].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),i=s[r],i?i.p(a,f):(i=s[r]=u[r](a),i.c()),M(i,1),i.m(e,null))},i(a){l||(M(i),l=!0)},o(a){A(i),l=!1},d(a){a&&C(e),s[r].d()}}}function c1(t,e,n){var r,i,l,u,s,o,a;return r=s=u="",R(oe(function(){n(0,r=this[9]),n(4,s=this[22]),n(3,u=this[19])})),l=()=>{et(xh,{add:async f=>{n(6,a=[await n1(f)].concat(a))}})},o=[Xh,{refresh:async f=>{var c,p,m,h,b;if(b=await r1(f),b){for(h=p=0,m=a.length;p<m;h=++p)if(c=a[h],c[0]===f){n(6,a[h][2]=b,a);break}}},rm:async f=>{var c,p,m,h;for(h=p=0,m=a.length;p<m;h=++p)if(c=a[h],c[0]===f){a.splice(h,1);break}await i1(f),n(6,a=a.length?a:await oi())},turn:async(f,c)=>{var p,m,h,b;for(b=m=0,h=a.length;m<h;b=++m)if(p=a[b],p[0]===f){p[3]=c,n(6,a[b]=p,a);break}await l1(f,c)}}],R(async()=>{n(6,a=await oi())}),i=function(){var f;f="d",this.classList.add(f),setTimeout(()=>this.classList.remove(f),2e3),e1("token: "+Wt(this.parentNode,"i").innerText)},[r,i,l,u,s,o,a]}class m1 extends W{constructor(e){super(),V(this,e,c1,f1,U,{})}}El.token(am,Wn(m1));const p1=([t,e])=>(t.endsWith("/")&&(t=t.slice(0,-1)),(n,r)=>{if(Gt(t,n))return r(e),1});(()=>{const t=_NAV.map(([e,n])=>[e==="/"?"":e,ki[n]]);t.sort((e,n)=>n[0].length-e[0].length),Lu(t.map(p1))})();function ci(t,e,n){const r=t.slice();return r[9]=e[n],r}function h1(t){let e;return{c(){e=d("i"),_(e,"class","w _njienv")},m(n,r){E(n,e,r)},p:H,i:H,o:H,d(n){n&&C(e)}}}function _1(t){let e,n,r=fe(t[0]),i=[];for(let u=0;u<r.length;u+=1)i[u]=mi(ci(t,r,u));const l=u=>A(i[u],1,1,()=>{i[u]=null});return{c(){for(let u=0;u<i.length;u+=1)i[u].c();e=x()},m(u,s){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(u,s);E(u,e,s),n=!0},p(u,s){if(s&1){r=fe(u[0]);let o;for(o=0;o<r.length;o+=1){const a=ci(u,r,o);i[o]?(i[o].p(a,s),M(i[o],1)):(i[o]=mi(a),i[o].c(),M(i[o],1),i[o].m(e.parentNode,e))}for(te(),o=r.length;o<i.length;o+=1)l(o);ne()}},i(u){if(!n){for(let s=0;s<r.length;s+=1)M(i[s]);n=!0}},o(u){i=i.filter(Boolean);for(let s=0;s<i.length;s+=1)A(i[s]);n=!1},d(u){u&&C(e),He(i,u)}}}function g1(t){let e,n=t[9][0]+"",r,i;return{c(){e=d("a"),r=X(n),_(e,"href",i=t[9][1]),_(e,"class","_njienv")},m(l,u){E(l,e,u),T(e,r)},p(l,u){u&1&&n!==(n=l[9][0]+"")&&K(r,n),u&1&&i!==(i=l[9][1])&&_(e,"href",i)},i:H,o:H,d(l){l&&C(e)}}}function d1(t){let e,n,r;var i=t[9][0];function l(u,s){return{props:{A:u[9][1]}}}return i&&(e=xe(i,l(t))),{c(){e&&j(e.$$.fragment),n=x()},m(u,s){e&&D(e,u,s),E(u,n,s),r=!0},p(u,s){if(s&1&&i!==(i=u[9][0])){if(e){te();const o=e;A(o.$$.fragment,1,0,()=>{O(o,1)}),ne()}i?(e=xe(i,l(u)),j(e.$$.fragment),M(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}else if(i){const o={};s&1&&(o.A=u[9][1]),e.$set(o)}},i(u){r||(e&&M(e.$$.fragment,u),r=!0)},o(u){e&&A(e.$$.fragment,u),r=!1},d(u){u&&C(n),e&&O(e,u)}}}function mi(t){let e,n,r,i,l;const u=[d1,g1],s=[];function o(a,f){return f&1&&(e=null),e==null&&(e=!!Array.isArray(a[9][1])),e?0:1}return n=o(t,-1),r=s[n]=u[n](t),{c(){r.c(),i=x()},m(a,f){s[n].m(a,f),E(a,i,f),l=!0},p(a,f){let c=n;n=o(a,f),n===c?s[n].p(a,f):(te(),A(s[c],1,1,()=>{s[c]=null}),ne(),r=s[n],r?r.p(a,f):(r=s[n]=u[n](a),r.c()),M(r,1),r.m(i.parentNode,i))},i(a){l||(M(r),l=!0)},o(a){A(r),l=!1},d(a){a&&C(i),s[n].d(a)}}}function b1(t){let e,n,r,i,l,u,s,o,a,f,c;const p=[_1,h1],m=[];function h(g,w){return g[0]?0:1}u=h(t),s=m[u]=p[u](t);const b=t[4].default,k=$e(b,t,t[3],null);return{c(){e=d("nav"),n=d("b"),r=d("i"),i=d("b"),l=d("b"),s.c(),o=d("b"),k&&k.c(),_(r,"class","_njienv"),_(l,"class","_njienv"),_(o,"class","_njienv"),_(i,"class","_njienv"),_(e,"class","_njienv")},m(g,w){E(g,e,w),T(e,n),T(e,r),T(e,i),T(i,l),m[u].m(l,null),T(i,o),k&&k.m(o,null),t[5](e),a=!0,f||(c=Q(r,"click",function(){Z(t[1])&&t[1].apply(this,arguments)}),f=!0)},p(g,[w]){t=g;let I=u;u=h(t),u===I?m[u].p(t,w):(te(),A(m[I],1,1,()=>{m[I]=null}),ne(),s=m[u],s?s.p(t,w):(s=m[u]=p[u](t),s.c()),M(s,1),s.m(l,null)),k&&k.p&&(!a||w&8)&&Se(k,b,t,t[3],a?ye(b,t[3],w,null):Te(t[3]),null)},i(g){a||(M(s),M(k,g),a=!0)},o(g){A(s),A(k,g),a=!1},d(g){g&&C(e),m[u].d(),k&&k.d(g),t[5](null),f=!1,c()}}}function k1(t,e,n){let{$$slots:r={},$$scope:i}=e;var l,u,s,o,a,f;o=function(){var p,m;p="S",this.classList.toggle(p)?(m=location.pathname,s=Ee(this.nextSibling,{click:h=>{var b;h=Xi(h),h&&(b=h.pathname,b&&b!==m&&(s(),this.classList.remove(p)))}})):s()},a=()=>{var p,m,h,b,k,g,w,I,v;for(g="n",k=[...l],{pathname:I}=location,w=h=0,b=k.length;h<b;w=++h)if(m=k[w],m.pathname===I){m.classList.add(g),k.splice(w,1);for(m of k)m.classList.remove(g);return}for(;m=k.pop(),!!m;){if({pathname:w,rev:v,classList:p}=m,w=w||"/"+v,w&&Gt(w,I)){p.add(g);break}p.remove(g)}for(m of k)m.classList.remove(g)},R(()=>(Ka(f),Nt(Au(()=>{n(0,u=_NAV.map(([p,m,h],b)=>{var k,g,w;return g=_L[b],h?(k=[g,p],w=h.indexOf(" "),~w&&(k.push(h.slice(w+1)),h=h.slice(0,w)),[wi[h],k]):(p[0]!=="/"&&(p="/"+p),[g,p])})),setTimeout(()=>{var p;p=f.children,l=[...p[p.length-1].firstChild.getElementsByTagName("a")],a()})}),Ee(window,{hashchange:a}))));function c(p){le[p?"unshift":"push"](()=>{f=p,n(2,f)})}return t.$$set=p=>{"$$scope"in p&&n(3,i=p.$$scope)},[u,o,f,i,r,c]}class w1 extends W{constructor(e){super(),V(this,e,k1,b1,U,{})}}function $1(t){let e,n,r;return{c(){e=d("m-c"),Ye(e,"title",t[2]),Ye(e,"class","_10lqara"),Ce(e,"f",t[1])},m(i,l){E(i,e,l),n||(r=Q(e,"click",function(){Z(t[0])&&t[0].apply(this,arguments)}),n=!0)},p(i,[l]){t=i,l&4&&Ye(e,"title",t[2]),l&2&&Ce(e,"f",t[1])},i:H,o:H,d(i){i&&C(e),n=!1,r()}}}function y1(t,e,n){var r,i,l;return l="",R(oe(function(){n(2,l=this[30])})),r=()=>{document.fullscreenElement?document.exitFullscreen():document.body.requestFullscreen({navigationUI:"hide"})},R(()=>Ee(document,{fullscreenchange:()=>{n(1,i=document.fullscreenElement)}})),[r,i,l]}class S1 extends W{constructor(e){super(),V(this,e,y1,$1,U,{})}}const T1=t=>{var e,n,r,i;for({clientWidth:e,clientHeight:r}=t,i=e,n=128;i>12;){if(n>e){n/=2;continue}if(r===t.clientHeight)i-=n,t.style.width=i+"px";else if(n===1){++i;break}else i+=n,t.style.width=i+"px",n/=2}return i};function pi(t,e,n){const r=t.slice();return r[9]=e[n],r}function hi(t){let e,n=fe(_LANG),r=[];for(let i=0;i<n.length;i+=1)r[i]=_i(pi(t,n,i));return{c(){e=d("b");for(let i=0;i<r.length;i+=1)r[i].c();_(e,"class","_t5j6l7")},m(i,l){E(i,e,l);for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(e,null);t[7](e)},p(i,l){if(l&5){n=fe(_LANG);let u;for(u=0;u<n.length;u+=1){const s=pi(i,n,u);r[u]?r[u].p(s,l):(r[u]=_i(s),r[u].c(),r[u].m(e,null))}for(;u<r.length;u+=1)r[u].d(1);r.length=n.length}},d(i){i&&C(e),He(r,i),t[7](null)}}}function _i(t){let e,n,r;return{c(){e=d("a"),e.textContent=`${t[9][0]}`,_(e,"class","_t5j6l7"),Ce(e,"n",t[9][1]==t[0])},m(i,l){E(i,e,l),n||(r=Q(e,"click",function(){Z(t[2](t[9][1]))&&t[2](t[9][1]).apply(this,arguments)}),n=!0)},p(i,l){t=i,l&1&&Ce(e,"n",t[9][1]==t[0])},d(i){i&&C(e),n=!1,r()}}}function L1(t){let e,n,r=t[3]&&hi(t);return{c(){e=d("i"),n=d("m-c"),r&&r.c(),Ye(n,"class","w _t5j6l7"),Ye(n,"title",t[5]),_(e,"class","_t5j6l7")},m(i,l){E(i,e,l),T(e,n),t[6](n),r&&r.m(e,null)},p(i,[l]){l&32&&Ye(n,"title",i[5]),i[3]?r?r.p(i,l):(r=hi(i),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},i:H,o:H,d(i){i&&C(e),t[6](null),r&&r.d()}}}function M1(t,e,n){var r,i,l,u,s,o,a;a="",R(oe(function(){n(5,a=this[31])})),i="w",r=Mt.lang,R(()=>{var p,m;return o.classList.remove(i),p=()=>{typeof m=="function"&&m(),s&&n(3,s=0)},Nt(Ee(window,{resize:p}),bn(h=>{n(0,r=h)}),Ee(o,{click:async()=>{var h,b,k,g,w,I,v,S;if(n(3,s=!s),s&&(setTimeout(()=>{typeof m=="function"&&m(),m=Ee(document.body,{click:p})}),await Xe(),g=document.body.clientHeight*.7-23,I=l.getBoundingClientRect(),I.height>g)){v=0,w=0,h=l.getElementsByTagName("a");for(k of h)v+=k.clientWidth,++w;b=(v+7*(w-1))*(7+h[0].clientHeight),S=Math.min(I.right,Math.round(Math.max(Math.sqrt(b)+70,b/g))),n(1,l.style=`width:${S}px;flex-wrap:wrap;flex-direction:row-reverse;z-index:1`,l),n(1,l.style.width=T1(l)+2+"px",l)}}}))}),u=p=>{o.classList.add(i),n(0,r=p),$i(p),o.classList.remove(i)};function f(p){le[p?"unshift":"push"](()=>{o=p,n(4,o)})}function c(p){le[p?"unshift":"push"](()=>{l=p,n(1,l)})}return[r,l,u,s,o,a,f,c]}class C1 extends W{constructor(e){super(),V(this,e,M1,L1,U,{})}}function gi(t,e,n){const r=t.slice();return r[1]=e[n][0],r[2]=e[n][1],r}function E1(t){let e,n=t[1]+"",r,i,l;return{c(){e=d("a"),r=X(n)},m(u,s){E(u,e,s),T(e,r),i||(l=Q(e,"click",function(){Z(t[2])&&t[2].apply(this,arguments)}),i=!0)},p(u,s){t=u,s&1&&n!==(n=t[1]+"")&&K(r,n)},d(u){u&&C(e),i=!1,l()}}}function A1(t){let e,n=t[1]+"",r,i;return{c(){e=d("a"),r=X(n),_(e,"href",i=t[2])},m(l,u){E(l,e,u),T(e,r)},p(l,u){u&1&&n!==(n=l[1]+"")&&K(r,n),u&1&&i!==(i=l[2])&&_(e,"href",i)},d(l){l&&C(e)}}}function di(t){let e;function n(l,u){return l[2].constructor==String?A1:E1}let r=n(t),i=r(t);return{c(){i.c(),e=x()},m(l,u){i.m(l,u),E(l,e,u)},p(l,u){r===(r=n(l))&&i?i.p(l,u):(i.d(1),i=r(l),i&&(i.c(),i.m(e.parentNode,e)))},d(l){l&&C(e),i.d(l)}}}function v1(t){let e,n=fe(t[0]),r=[];for(let i=0;i<n.length;i+=1)r[i]=di(gi(t,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=x()},m(i,l){for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(i,l);E(i,e,l)},p(i,[l]){if(l&1){n=fe(i[0]);let u;for(u=0;u<n.length;u+=1){const s=gi(i,n,u);r[u]?r[u].p(s,l):(r[u]=di(s),r[u].c(),r[u].m(e.parentNode,e))}for(;u<r.length;u+=1)r[u].d(1);r.length=n.length}},i:H,o:H,d(i){i&&C(e),He(r,i)}}}function I1(t,e,n){var r;return r=[],R(oe(function(){n(0,r=Ml.map(i=>[this[i[0]],...i.slice(1)]))})),[r]}class N1 extends W{constructor(e){super(),V(this,e,I1,v1,U,{})}}function F1(t){let e,n,r,i,l,u;return{c(){e=d("i"),n=d("a"),r=X("⧸"),i=d("a"),_(n,"class","_90g3ni"),_(i,"class","_90g3ni"),_(e,"class","_90g3ni")},m(s,o){E(s,e,o),T(e,n),n.innerHTML=t[2],T(e,r),T(e,i),i.innerHTML=t[1],l||(u=[Q(n,"click",Nm),Q(i,"click",Rn)],l=!0)},p(s,o){o&4&&(n.innerHTML=s[2]),o&2&&(i.innerHTML=s[1])},d(s){s&&C(e),l=!1,Le(u)}}}function H1(t){let e,n,r=t[3][3]+"",i,l,u;return{c(){e=d("b"),n=d("a"),i=X(r),_(n,"class","u _90g3ni"),_(e,"class","_90g3ni")},m(s,o){E(s,e,o),T(e,n),T(n,i),l||(u=Q(n,"click",function(){Z(t[0])&&t[0].apply(this,arguments)}),l=!0)},p(s,o){t=s,o&8&&r!==(r=t[3][3]+"")&&K(i,r)},d(s){s&&C(e),l=!1,u()}}}function z1(t){let e;function n(l,u){return l[3]?H1:F1}let r=n(t),i=r(t);return{c(){i.c(),e=x()},m(l,u){i.m(l,u),E(l,e,u)},p(l,[u]){r===(r=n(l))&&i?i.p(l,u):(i.d(1),i=r(l),i&&(i.c(),i.m(e.parentNode,e)))},i:H,o:H,d(l){l&&C(e),i.d(l)}}}function D1(t,e,n){var r,i,l,u;return l=i="",R(oe(function(){n(2,l=this[57]),n(1,i=this[56])})),Tl(s=>{n(3,u=s)}),r=At(N1),[r,i,l,u]}class O1 extends W{constructor(e){super(),V(this,e,D1,z1,U,{})}}function B1(t){let e,n,r,i;return e=new C1({}),n=new S1({}),r=new O1({}),{c(){j(e.$$.fragment),j(n.$$.fragment),j(r.$$.fragment)},m(l,u){D(e,l,u),D(n,l,u),D(r,l,u),i=!0},p:H,i(l){i||(M(e.$$.fragment,l),M(n.$$.fragment,l),M(r.$$.fragment,l),i=!0)},o(l){A(e.$$.fragment,l),A(n.$$.fragment,l),A(r.$$.fragment,l),i=!1},d(l){O(e,l),O(n,l),O(r,l)}}}class P1 extends W{constructor(e){super(),V(this,e,null,B1,U,{})}}function j1(t){let e,n;return e=new P1({}),{c(){j(e.$$.fragment)},m(r,i){D(e,r,i),n=!0},i(r){n||(M(e.$$.fragment,r),n=!0)},o(r){A(e.$$.fragment,r),n=!1},d(r){O(e,r)}}}function q1(t){let e,n,r,i;e=new w1({props:{$$slots:{default:[j1]},$$scope:{ctx:t}}});var l=t[0];function u(s,o){return{}}return l&&(n=xe(l,u())),{c(){j(e.$$.fragment),n&&j(n.$$.fragment),r=x()},m(s,o){D(e,s,o),n&&D(n,s,o),E(s,r,o),i=!0},p(s,[o]){const a={};if(o&8&&(a.$$scope={dirty:o,ctx:s}),e.$set(a),o&1&&l!==(l=s[0])){if(n){te();const f=n;A(f.$$.fragment,1,0,()=>{O(f,1)}),ne()}l?(n=xe(l,u()),j(n.$$.fragment),M(n.$$.fragment,1),D(n,r.parentNode,r)):n=null}},i(s){i||(M(e.$$.fragment,s),n&&M(n.$$.fragment,s),i=!0)},o(s){A(e.$$.fragment,s),n&&A(n.$$.fragment,s),i=!1},d(s){s&&C(r),O(e,s),n&&O(n,s)}}}function R1(t,e,n){var r,i,l;return r=Fe,l=async u=>{n(0,r=Fe),await Xe(),n(0,r=u)},i=Tu(l,()=>{n(0,r=Ln)}),vu(u=>{i(u)}),R(oe(()=>{i(location.pathname.slice(1))})),[r]}class U1 extends W{constructor(e){super(),V(this,e,R1,q1,U,{})}}gt(U1,Ji);Ui&&setTimeout(async()=>{(await kn(()=>import("./3.js"),__vite__mapDeps([3,1]))).default()});export{_t as N,W as S,_ as a,m_ as b,E as c,C as d,d as e,le as f,T as g,Z as h,V as i,Xe as j,Q as l,H as n,R as o,Le as r,U as s,Ce as t};
package/2.js DELETED
@@ -1 +0,0 @@
1
- function O(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}var M=typeof global=="object"&&global&&global.Object===Object&&global,R=typeof self=="object"&&self&&self.Object===Object&&self,W=M||R||Function("return this")(),S=function(){return W.Date.now()},B=/\s/;function F(e){for(var n=e.length;n--&&B.test(e.charAt(n)););return n}var w=/^\s+/;function G(e){return e&&e.slice(0,F(e)+1).replace(w,"")}var T=W.Symbol,L=Object.prototype,U=L.hasOwnProperty,_=L.toString,g=T?T.toStringTag:void 0;function D(e){var n=U.call(e,g),i=e[g];try{e[g]=void 0;var o=!0}catch{}var f=_.call(e);return o&&(n?e[g]=i:delete e[g]),f}var H=Object.prototype,X=H.toString;function q(e){return X.call(e)}var z="[object Null]",J="[object Undefined]",E=T?T.toStringTag:void 0;function K(e){return e==null?e===void 0?J:z:E&&E in Object(e)?D(e):q(e)}function Q(e){return e!=null&&typeof e=="object"}var V="[object Symbol]";function Y(e){return typeof e=="symbol"||Q(e)&&K(e)==V}var k=NaN,Z=/^[-+]0x[0-9a-f]+$/i,ee=/^0b[01]+$/i,ne=/^0o[0-7]+$/i,te=parseInt;function $(e){if(typeof e=="number")return e;if(Y(e))return k;if(O(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=O(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=G(e);var i=ee.test(e);return i||ne.test(e)?te(e.slice(2),i?2:8):Z.test(e)?k:+e}var re="Expected a function",ie=Math.max,oe=Math.min;function ae(e,n,i){var o,f,s,u,r,c,d=0,v=!1,l=!1,y=!0;if(typeof e!="function")throw new TypeError(re);n=$(n)||0,O(i)&&(v=!!i.leading,l="maxWait"in i,s=l?ie($(i.maxWait)||0,n):s,y="trailing"in i?!!i.trailing:y);function j(t){var a=o,b=f;return o=f=void 0,d=t,u=e.apply(b,a),u}function N(t){return d=t,r=setTimeout(m,n),v?j(t):u}function P(t){var a=t-c,b=t-d,I=n-a;return l?oe(I,s-b):I}function h(t){var a=t-c,b=t-d;return c===void 0||a>=n||a<0||l&&b>=s}function m(){var t=S();if(h(t))return x(t);r=setTimeout(m,P(t))}function x(t){return r=void 0,y&&o?j(t):(o=f=void 0,u)}function A(){r!==void 0&&clearTimeout(r),d=0,o=c=f=r=void 0}function C(){return r===void 0?u:x(S())}function p(){var t=S(),a=h(t);if(o=arguments,f=this,c=t,a){if(r===void 0)return N(c);if(l)return clearTimeout(r),r=setTimeout(m,n),j(c)}return r===void 0&&(r=setTimeout(m,n)),u}return p.cancel=A,p.flush=C,p}export{ae as d,O as i};